query_id
stringlengths 32
32
| query
stringlengths 7
129k
| positive_passages
listlengths 1
1
| negative_passages
listlengths 88
101
|
---|---|---|---|
50371ff4044c3ac6936195914a7e3022 | JUnit4 Test Setup Code | [
{
"docid": "1dd2a572aa702687e2e45203fe681f01",
"score": "0.0",
"text": "@BeforeClass\n\tpublic static void setUpBeforeClass() throws Exception {\n\t\t//System.out.println( CustomerTest.class.getSimpleName() + \".setUpBeforeClass() called.\" );\n\t}",
"title": ""
}
] | [
{
"docid": "1fbf26953d1d9b1786a5a0d0edb1b028",
"score": "0.80596715",
"text": "public void setUp() {\n }",
"title": ""
},
{
"docid": "63a60a05194d83e4fc019392c259ed45",
"score": "0.8034218",
"text": "protected void setUp() {\n }",
"title": ""
},
{
"docid": "757f709fb857b47a1ea41d8e07ed64b9",
"score": "0.80245256",
"text": "@BeforeTest\r\n\tpublic void setup(){\n\t\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "6ca6ac7d65833cd54a0674eed9b369f2",
"score": "0.7995679",
"text": "protected void setUp() {\n }",
"title": ""
},
{
"docid": "66293b758119c7dbca2d53f746642bd0",
"score": "0.7956495",
"text": "protected void setUp() {\n\n }",
"title": ""
},
{
"docid": "66293b758119c7dbca2d53f746642bd0",
"score": "0.7956495",
"text": "protected void setUp() {\n\n }",
"title": ""
},
{
"docid": "66293b758119c7dbca2d53f746642bd0",
"score": "0.7956495",
"text": "protected void setUp() {\n\n }",
"title": ""
},
{
"docid": "fc775b7feab5dad5b1e6ec28c5d345a7",
"score": "0.79228467",
"text": "public void setUp()\n {\n //TODO: Create method.\n }",
"title": ""
},
{
"docid": "e0d0678d16d98b1ceeb983e283d3f81e",
"score": "0.7891731",
"text": "@Override\n protected void setUp()\n {\n }",
"title": ""
},
{
"docid": "0594211377b0d3ddb72067dbed7c13ba",
"score": "0.7869061",
"text": "protected void setUp() {\n\t}",
"title": ""
},
{
"docid": "0157e80c929ddaea13d35480045ea69a",
"score": "0.78530127",
"text": "@Override\n public void setupBeforeTest() {\n }",
"title": ""
},
{
"docid": "6f421f3af14b04f086f33ec77f9416c7",
"score": "0.78388184",
"text": "@BeforeSuite\n\tprivate void setup() {\n\t\tSystem.out.println(\"set up\");\n\t}",
"title": ""
},
{
"docid": "543826cfdb91888969c12c49c2f711e0",
"score": "0.7831761",
"text": "@Override\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "8404e64d14e26891793df53da3f623ca",
"score": "0.7824216",
"text": "@BeforeClass\n\t public static void setUp() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "90d9e282db5d9c05788646a3e33003ae",
"score": "0.7811572",
"text": "@Override\n @Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "7486b3b8ea4e851e9a36fd9a4e07eaf1",
"score": "0.77850705",
"text": "@Override\n\tpublic void setUp() {\n\n\t}",
"title": ""
},
{
"docid": "48033c235a9d2b23ec48a2255683339e",
"score": "0.7778997",
"text": "protected void setUpTest() throws Exception\n {\n }",
"title": ""
},
{
"docid": "dee1a51ab9ab88176c6b5778ea4c04ae",
"score": "0.77539676",
"text": "@Before public void setUp() {\n }",
"title": ""
},
{
"docid": "dee1a51ab9ab88176c6b5778ea4c04ae",
"score": "0.77539676",
"text": "@Before public void setUp() {\n }",
"title": ""
},
{
"docid": "dee1a51ab9ab88176c6b5778ea4c04ae",
"score": "0.77539676",
"text": "@Before public void setUp() {\n }",
"title": ""
},
{
"docid": "dee1a51ab9ab88176c6b5778ea4c04ae",
"score": "0.77539676",
"text": "@Before public void setUp() {\n }",
"title": ""
},
{
"docid": "21f1d38b7f390dcafbeef0a0c6bd1d15",
"score": "0.7740247",
"text": "@Before\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "21f1d38b7f390dcafbeef0a0c6bd1d15",
"score": "0.7740247",
"text": "@Before\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "21f1d38b7f390dcafbeef0a0c6bd1d15",
"score": "0.7740247",
"text": "@Before\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "b33b8308a84fac9255b3f894b5d0967d",
"score": "0.7739078",
"text": "@Before\r\n public void setUp()\r\n {\r\n }",
"title": ""
},
{
"docid": "6034865c03d86f41bf7455c7936bd03e",
"score": "0.7733543",
"text": "@BeforeClass\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "6034865c03d86f41bf7455c7936bd03e",
"score": "0.7733543",
"text": "@BeforeClass\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "fbf11c52d4deab1304aa8ee8a5a82689",
"score": "0.7721362",
"text": "@Before\n public void setUp();",
"title": ""
},
{
"docid": "e5522b1e826fd740587a82ff3e80543d",
"score": "0.7711829",
"text": "@Before\n\tpublic void setUp()\n\t{\n\t}",
"title": ""
},
{
"docid": "a15f9119e72e5ec08f8d7b6000bfb9f8",
"score": "0.76992804",
"text": "public void setUp() {\r\n // Nothing Here\r\n }",
"title": ""
},
{
"docid": "70db7ef630183e837a2a903031257d15",
"score": "0.76937807",
"text": "@Test\r\n public void testSetup() {\r\n System.out.println(\"setup\");\r\n JUnitTest instance = new JUnitTest();\r\n instance.setup();\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "3d383bdb5747db3b68d53b9ebaa77469",
"score": "0.76903415",
"text": "@Before\n public void setUp()\n {\n }",
"title": ""
},
{
"docid": "a171f643794b0bde9b7d2e3fe22ac736",
"score": "0.76871955",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "a171f643794b0bde9b7d2e3fe22ac736",
"score": "0.76871955",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "a171f643794b0bde9b7d2e3fe22ac736",
"score": "0.76871955",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "a171f643794b0bde9b7d2e3fe22ac736",
"score": "0.76871955",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "a171f643794b0bde9b7d2e3fe22ac736",
"score": "0.76871955",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "a2a6482949b9bb26f955082fb5e579cc",
"score": "0.76854026",
"text": "@Before\r\n public void setUp() {\r\n }",
"title": ""
},
{
"docid": "6173dac07b5d36cf276d95a2f9719d5e",
"score": "0.7675151",
"text": "protected void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "d748593a15720887295cd745e4d46664",
"score": "0.76597416",
"text": "@BeforeMethod\n\tpublic void setUp(){}",
"title": ""
},
{
"docid": "7c7aed9a807a19ca63a03cbc33016da9",
"score": "0.76498604",
"text": "@Before\r\n public void setUp(){\r\n }",
"title": ""
},
{
"docid": "b2c7935ba3d3d9097e7ca4b7ec24c603",
"score": "0.76279956",
"text": "@BeforeClass\n @Override\n public void setup() throws Exception {\n super.setup();\n }",
"title": ""
},
{
"docid": "5570f24ebca39a86b43938d363a9a296",
"score": "0.7622268",
"text": "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t}",
"title": ""
},
{
"docid": "1eadcf9754e3f4ce5f3de17e8f7b9975",
"score": "0.7608769",
"text": "void setUp ();",
"title": ""
},
{
"docid": "3b194e474048a6316f188670eb3ba2b9",
"score": "0.7608189",
"text": "@Before\n public void setUp()\n {\n \n }",
"title": ""
},
{
"docid": "0b26b19fd1cb22e0be62143941dd59e3",
"score": "0.7601783",
"text": "@BeforeClass\r\n public static void setUpClass()\r\n {\r\n }",
"title": ""
},
{
"docid": "93c7709373cd77bec65ef9dc9bf11ac1",
"score": "0.7578394",
"text": "@Before\n\tpublic void setup() {\n\n\t}",
"title": ""
},
{
"docid": "9325a6c08aa09064fc55907ba7ede711",
"score": "0.757453",
"text": "@Override\n @Before\n public void setup() {\n }",
"title": ""
},
{
"docid": "bc0cef97838a95fb1bce9b865894a34c",
"score": "0.757067",
"text": "@Test\n public void setupCheck() throws Exception {\n }",
"title": ""
},
{
"docid": "57b1603f217316706bebcf33f28dc07a",
"score": "0.7562797",
"text": "@Before\n public void setUp(){\n }",
"title": ""
},
{
"docid": "98bc62e07fd51a1909abd8fddcd30738",
"score": "0.7558296",
"text": "@Before\n\tpublic void setup(){\n\t}",
"title": ""
},
{
"docid": "2ac94976223af0bee892bdb746476861",
"score": "0.755715",
"text": "@Before\n public void setUp () throws Exception {\n }",
"title": ""
},
{
"docid": "80b194b5ce786a9c40e7b838d2a5a64a",
"score": "0.75564295",
"text": "@Before\n public void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "80b194b5ce786a9c40e7b838d2a5a64a",
"score": "0.75564295",
"text": "@Before\n public void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "80b194b5ce786a9c40e7b838d2a5a64a",
"score": "0.75564295",
"text": "@Before\n public void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "80b194b5ce786a9c40e7b838d2a5a64a",
"score": "0.75564295",
"text": "@Before\n public void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "80b194b5ce786a9c40e7b838d2a5a64a",
"score": "0.75564295",
"text": "@Before\n public void setUp() throws Exception {\n }",
"title": ""
},
{
"docid": "6b6ba2cdeaee2d9326ee504d13dfff09",
"score": "0.755589",
"text": "@Before\n\tpublic void setup()\n\t{\n\t}",
"title": ""
},
{
"docid": "4d2f1ea634a366536306fdf4b814ecb9",
"score": "0.7553722",
"text": "@Before\n\tpublic void setUp() throws Exception {\n\t }",
"title": ""
},
{
"docid": "8809a19681e82fff6d34a4347b0fc7a7",
"score": "0.75517565",
"text": "@Before\n public void setUp() {\n }",
"title": ""
},
{
"docid": "2ad67566a77d4295b38fbb5b0ed88f57",
"score": "0.75436103",
"text": "@Before\n\tpublic void setUp() throws Exception {\n\t}",
"title": ""
},
{
"docid": "877752b989f10c672a8c183e76be683e",
"score": "0.75419986",
"text": "protected void setUp() {\n \tSystem.err.println(\"Testcase: \" + getName());\n \thandle = coordinator.createTransaction();\n \ttxn = handle.getTransaction();\n }",
"title": ""
},
{
"docid": "b3f14e7a3890fc151a4e7ebd9a91688c",
"score": "0.7540753",
"text": "@Before\n\tpublic void setUp() {\n\t\t// nothing to initialize\n\t}",
"title": ""
},
{
"docid": "e3cb7768855304836887a6ff49b9c79d",
"score": "0.75394905",
"text": "@BeforeClass\n public static void setUpClass() {\n }",
"title": ""
},
{
"docid": "d2d2d8bf97f06ed0461d30b22da20589",
"score": "0.75377876",
"text": "@Before\n public void setup() {\n }",
"title": ""
},
{
"docid": "ce2ce4abd2617fa3fdb20339c4cf603d",
"score": "0.7531786",
"text": "@BeforeClass\n public static void setUp() {\n setUp(\n \"Standard Flow: Retain Funding ECheck for OpayWeb in Lookup Payment Option Flow\",\n \"Oleg Ilyin\", true);\n }",
"title": ""
},
{
"docid": "031df9d570a7259e81d21da01f1fe1ad",
"score": "0.75281864",
"text": "public abstract void setUp();",
"title": ""
},
{
"docid": "b10697d3c092427752374265a3dc6ba0",
"score": "0.7522944",
"text": "@Before\n public void setUp() throws Exception {\n\n }",
"title": ""
},
{
"docid": "ad213619b488d7e451b5bf99324d9940",
"score": "0.75210935",
"text": "@Before\n public void initTest() {\n }",
"title": ""
},
{
"docid": "711e52ab2027de89be6fa158ac72e928",
"score": "0.7499447",
"text": "@BeforeTest\n\tpublic void setup(){\n\t\t\n\t\tdataProvider = TestDataProvider.getInstance(); \n\t\ttry{\n\t\t\tCONFIG = dataProvider.loadProperties(basePath + File.separator + \n\t\t\t\t\t\"src\" + File.separator + \"main\" + File.separator + \"resources\" +\n\t\t\t\t\tFile.separator + \"config.properties\");\n\t\t}catch(Exception exception){\n\t\t\treport.debug(\"File not found\" + exception.getMessage());\n\t\t\tthrow new IllegalStateException();\n\t\t}\n\t\tLogManager.setLogLevel(LogLevel.INFO);\n\t\t\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "6764b17bf05c825e80e5fa42e8d1056e",
"score": "0.7489333",
"text": "@BeforeClass \n public static void oneTimeSetUp()\n {\n Junit.configure();\n }",
"title": ""
},
{
"docid": "bc663d9bdfe487d3667f68c00ebae219",
"score": "0.74871284",
"text": "@Before\n public void setup() {\n\n }",
"title": ""
},
{
"docid": "d215dafbe2f76df7f6bddef72ec0bff3",
"score": "0.74841225",
"text": "@Override\r\n\tprotected void setUp() throws Exception {\n\t\tsuper.setUp();\r\n\t}",
"title": ""
},
{
"docid": "d215dafbe2f76df7f6bddef72ec0bff3",
"score": "0.74841225",
"text": "@Override\r\n\tprotected void setUp() throws Exception {\n\t\tsuper.setUp();\r\n\t}",
"title": ""
},
{
"docid": "582534f6e85788b9eb60bd6988adfc1d",
"score": "0.7480069",
"text": "@BeforeMethod\n\tpublic void setUp(){\n\t}",
"title": ""
},
{
"docid": "eeec7102c62fad92528770a4a984902d",
"score": "0.7459768",
"text": "@Override\r\n protected void setUp() throws Exception {\r\n super.setUp();\r\n }",
"title": ""
},
{
"docid": "cffea8ec32807da666178aabfc37d629",
"score": "0.7442913",
"text": "protected void setUp() throws Exception {\r\n TestHelper.loadConfig();\r\n }",
"title": ""
},
{
"docid": "53855995c62d02fe6b40a89dfef628cd",
"score": "0.74240506",
"text": "@BeforeClass\n public static void setUpClass() throws Exception \n {\n }",
"title": ""
},
{
"docid": "523f4ef000753a24db3260310ddde727",
"score": "0.7412966",
"text": "@Override\n\tprotected void setUp() throws Exception {\n\t\tsuper.setUp();\n\t\tsetExpression();\n\t\tsetExpressionFormatter();\n\t\tmain = new Main();\n\t}",
"title": ""
},
{
"docid": "794cab814a3cd3abce923dc26e8dffb8",
"score": "0.7398129",
"text": "@SuppressWarnings(\"unchecked\")\n\t@Before\n\tpublic void setUp() {\n\t}",
"title": ""
},
{
"docid": "8ed8b47f7bea3e59284ba1437138b2fb",
"score": "0.73977274",
"text": "@Override\n protected void setUp() throws Exception {\n super.setUp();\n\n }",
"title": ""
},
{
"docid": "0b39efa3d2ae03048c68724c13e64d2a",
"score": "0.73955226",
"text": "@Override\n public void setUp() throws Exception {\n super.setUp();\n }",
"title": ""
},
{
"docid": "d53ab3433ce0eab065eb02b70048620b",
"score": "0.7392842",
"text": "public void setUp() throws SetupException {\n\t}",
"title": ""
},
{
"docid": "0db2aec347ca421e639a930118fbb4a2",
"score": "0.73927104",
"text": "@BeforeTest\n public void setupTests() throws URISyntaxException, AiravataAPIInvocationException {\n setGatewayProperties();\n\n //get the Airavata API\n PasswordCallback passwordCallback = new PasswordCallbackImpl();\n this.airavataAPI = AiravataAPIFactory.getAPI(new URI(getRegistryURL()), getGatewayName(), getUserName(),\n passwordCallback);\n this.applicationManager = airavataAPI.getApplicationManager();\n\n log(\"Setting Up Tests: Complete ...\");\n\n }",
"title": ""
},
{
"docid": "8dfd8c7a80e5fce534c918e34af08508",
"score": "0.737528",
"text": "@BeforeClass\n public static void setUp() throws Exception {\n setUp(\"MyBills Flow: Do Not Retain Funding\", \"Konstantin Sharapov\", true);\n }",
"title": ""
},
{
"docid": "771829a70e0b1505832820fdd38849f5",
"score": "0.73647535",
"text": "@Before\n public final void setUp() {\n mTestSetup = new DefaultTestSetup();\n mBag = new PegasusBag();\n mTestSetup.setInputDirectory(this.getClass());\n System.out.println(\"Input Test Dir is \" + mTestSetup.getInputDirectory());\n\n mProps = mTestSetup.loadPropertiesFromFile(PROPERTIES_BASENAME, new LinkedList());\n\n // set some properties required to set up the test\n mProps.setProperty(PegasusProperties.PEGASUS_SITE_CATALOG_PROPERTY, \"YAML\");\n mProps.setProperty(\n PegasusProperties.PEGASUS_SITE_CATALOG_FILE_PROPERTY,\n new File(mTestSetup.getInputDirectory(), \"sites.yml\").getAbsolutePath());\n\n mLogger = mTestSetup.loadLogger(mProps);\n mLogger.setLevel(LogManager.INFO_MESSAGE_LEVEL);\n mLogger.logEventStart(\"test.catalog.site.impl.YAML\", \"setup\", \"0\");\n mBag.add(PegasusBag.PEGASUS_LOGMANAGER, mLogger);\n mBag.add(PegasusBag.PEGASUS_PROPERTIES, mProps);\n\n // mBag.add( PegasusBag.PLANNER_OPTIONS, mTestSetup.loadPlannerOptions() );\n // load the site catalog backend\n mCatalog = SiteFactory.loadInstance(mBag);\n List l = new LinkedList();\n l.add(\"*\");\n mCatalog.load(l);\n mLogger.logEventCompletion();\n }",
"title": ""
},
{
"docid": "0b4950290c2bec486c7ee2ec06a2c89c",
"score": "0.7359276",
"text": "@Before\n public void setUp() throws Exception {\n super.setUp();\n }",
"title": ""
},
{
"docid": "8a702d122766c67df93cc587239dc9ac",
"score": "0.7356978",
"text": "@BeforeAll\n void setup() {\n }",
"title": ""
},
{
"docid": "a378c38158d531caabec9c8de9ab2498",
"score": "0.7352798",
"text": "@Before\n public void setup() throws Exception {\n // n/a\n }",
"title": ""
}
] |
dcf087215ed0892b54c3d5e608854992 | Creating a HashSet of elements Copy builder | [
{
"docid": "740ccaf5d17078093a4af4a653ec56bc",
"score": "0.0",
"text": "public Layer(HashSet<GIS_element> hs) {\r\n\t\tthis.hs=hs;\r\n\t}",
"title": ""
}
] | [
{
"docid": "7d11645e351a3c2f28b89370e6160a71",
"score": "0.67080945",
"text": "public void copyValues(){\n System.out.println(\"Removing Values into List\");\n HashSet<String> hash_Set = new HashSet<String>();\n hash_Set.add(\"Java\");\n hash_Set.add(\"C\");\n hash_Set.add(\"C++\");\n hash_Set.add(\"Python\");\n hash_Set.add(\"Java\");\n hash_Set.add(\"Pearl\");\n System.out.println(\"First Set is:\" + hash_Set);\n\n HashSet<String> hash_Sets = new HashSet<String>();\n hash_Sets.add(\"Java\");\n hash_Sets.add(\"Brunda\");\n hash_Sets.add(\"C++\");\n hash_Sets.add(\"Darshan\");\n hash_Sets.add(\"Sowmya\");\n hash_Sets.add(\"Pearl\");\n System.out.println(\"Second Set is:\" + hash_Sets);\n\n hash_Set.addAll(hash_Sets);\n System.out.println(\"Contents of both Sets are:\" + hash_Sets);\n }",
"title": ""
},
{
"docid": "af39dfbe13ed7be0c0a658c7427c4050",
"score": "0.6698079",
"text": "public HashSetFlowSet<D> copy()\n {\n return new HashSetFlowSet<D>(Sets.newHashSet(set));\n }",
"title": ""
},
{
"docid": "7ee1a678628175c54f42fcbd698db955",
"score": "0.66416276",
"text": "default HashSet<T> asHashSet() {\n final HashSet<T> map = new HashSet<>((int)Math.ceil(size() / 0.75), 0.75f);\n // faster than new HashSet(this) O(n) vs O(n * log32(n))\n forEach(map::add);\n return map;\n }",
"title": ""
},
{
"docid": "ae51baaabb77ec52290595aa52be1c01",
"score": "0.6516501",
"text": "MutableSet<T> toSet();",
"title": ""
},
{
"docid": "2cbf785b609dc3ee6c22bca18b575a6f",
"score": "0.6424345",
"text": "public Set<T> toSet() {\r\n\t\tHashSet<T> l = new HashSet<T>();\r\n\t\tif (allImmutable)\r\n\t\t\tfor (T e: data)\r\n\t\t\t\tl.add(e);\r\n\t\telse\r\n\t\t\tfor (T e: data)\r\n\t\t\t\tl.add(ImmutableHelper.handleValue(\"set element\", e));\r\n\t\treturn l;\r\n\t}",
"title": ""
},
{
"docid": "9de7b89c82ea12b43b349587617a79e6",
"score": "0.6213278",
"text": "public HashSetFlowSet(){\n set = Sets.newHashSet();\n }",
"title": ""
},
{
"docid": "09ae4259e048bf360c8450d275c33afa",
"score": "0.6199727",
"text": "public static final <T> Set<T> buildSet() {\n return new LinkedHashSet<>();\n }",
"title": ""
},
{
"docid": "f5da4a94dc1ca1782acf1f6d07059256",
"score": "0.61690146",
"text": "public Set union(Set s)\n {\n int j;\n int i;\n ArrayList<String> result = new ArrayList<String>();\n for (i=0;i<this.cardinality();i++)\n result.add(this.elements.get(i));\n for(j=0;j<s.cardinality();j++)\n \n {\n if (!this.isElement(s.elements.get(j)))\n result.add(s.elements.get(j));\n }\n \n return new Set(result); \n \n }",
"title": ""
},
{
"docid": "4bc72a12442d41eb9afb79da8639229f",
"score": "0.6162524",
"text": "public static void main(String[] args) {\r\n\t\tHashSet h1=new HashSet();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\th1.add(3);\r\n\t\th1.add(7); //Homogeous \r\n\t\th1.add(3.7);//hetrogeous\r\n\t\th1.add(\"Hello\");\r\n\t\th1.add(null);\r\n\t\th1.add(7);\r\n\t\t\r\n\t\tHashSet h2=new HashSet();\r\n\t\th2=(HashSet)h1.clone();\r\n\t\t\r\n\t\tSystem.out.println(h2);\r\n\t\t\r\n\t \r\n\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "09b2fec674674f0a23bc200e19e6ae75",
"score": "0.61061734",
"text": "public static void main(String args[]) \n{\nProducto pan = new Producto(\"Pan\", 6); \nProducto leche = new Producto(\"Leche\", 2); \nProducto manzanas = new Producto(\"Manzanas\", 5); \nProducto brocoli = new Producto(\"Brocoli\", 2); \nProducto carne = new Producto(\"Carne\", 2); \nProducto res = new Producto(\"Carne\", 3); \n\n// Definir un HashSet \nHashSet<Producto> lista = new HashSet<Producto>(); \nlista.add(pan); \nlista.add(leche); \nlista.add(manzanas); \nlista.add(brocoli); \nlista.add(carne); \nlista.add(res); \nlista.add(new Producto (\"Brocoli\", 33));\n\n// Imprimir contenido de HashSet \n// Aunque son insertados 7 elementos, el HashSet solo contiene 5 \n// Se debe a que un Set no permite elementos duplicados. \n\nSystem.out.println(\" Lista del mercado con \" + lista.size() + \n\" productos\"); \n\n// Definir Iterator para extraer e imprimir valores \n\nfor( Iterator<Producto> it = lista.iterator(); it.hasNext(); ) {\n Producto producto = it.next();\nSystem.out.println(producto);\n} \n\n// No es posible eliminar elementos por indice \n// En un HashSet solo se elimina por valor de Objeto \n\nlista.remove(manzanas); \nSystem.out.println(\" Lista del mercado con \" + lista.size() + \n\" productos\"); \n\nfor( Iterator<Producto> it = lista.iterator(); it.hasNext(); ) {\n\t Producto producto = it.next();\n\t\n\t System.out.println(producto);\n\t} \n\n// Eliminar todos los valores \nlista.clear(); \nSystem.out.println(\" Lista del mercado con \" + lista.size() + \n\" productos\");\n}",
"title": ""
},
{
"docid": "674cdd7f66cd6786d1e054b78042bcec",
"score": "0.60383826",
"text": "public static void main(String[] args) {\n\t\tString[] str= {\"Jaipur\",\"Cochin\",\"Luknow\"};\nHashSet<String> s=new HashSet<String>();\n\n\tSystem.out.println(\"hi I am here\");\ns.add(\"Delhi\");\ns.add(\"Chennai\");\ns.add(null);\ns.add(\"Pune\");\ns.add(null);\ns.add(\"Bombay\");\ns.add(\"Kanpur\");\ns.add(\"Delhi\");\n\nSystem.out.println(\"Using add method\");\nSystem.out.println(s);\nCollections.addAll(s, str);\nSystem.out.println(\"Using addAll method\");\nSystem.out.println(s);\ns.remove(\"Delhi\");\nSystem.out.println(\"Delhi is removed \");\nSystem.out.println(s);\ns.remove(\"lucknow\");\nSystem.out.println(\"Lunknow is Not removed \");\nSystem.out.println(s);\nSystem.out.println(s.contains(\"Pune\"));\n//s.clear();\n//Creating a new cloned set \nHashSet<String> clonedSet = new HashSet<String>(); \n//Clone the HashSet \nclonedSet = (HashSet)s.clone(); \n//Displaying the new Set after Cloning; \nSystem.out.println(\"The new clone set elements: \" + clonedSet);\nif(s.isEmpty())\n{\n\tSystem.out.println(\"hi i have cleared all elements from Hashset\");\n\t}\n\n\n}",
"title": ""
},
{
"docid": "48dc9a2a85d788f6639b10cef0635d54",
"score": "0.601709",
"text": "private static Set createSet(Object[] values) {\n\t\tSet result = new LinkedHashSet();\n\t\tfor(int i=0; i<values.length; i++) {\n\t\t\tresult.add(values[i]);\n\t\t}\n\t\treturn result;\n\t}",
"title": ""
},
{
"docid": "d9a059e804e4c9918eed9882b044ab56",
"score": "0.5981553",
"text": "public MyHashSet4() {\n\n }",
"title": ""
},
{
"docid": "30c36aaf0e0680bf8fdfff1b552916fc",
"score": "0.5973515",
"text": "private IBuildConfiguration[] copyAndRemoveDuplicates(IBuildConfiguration[] values) {\n \t\tSet set = new LinkedHashSet();\n \t\tset.addAll(Arrays.asList(values));\n \t\treturn (IBuildConfiguration[]) set.toArray(new IBuildConfiguration[set.size()]);\n \t}",
"title": ""
},
{
"docid": "e8318f65c0e1dca90f647640ad242ea0",
"score": "0.5963807",
"text": "@SuppressWarnings(\"unchecked\")\n public static <T> LinkedHashSet<T> ofAll(Iterable<? extends T> elements) {\n Objects.requireNonNull(elements, \"elements is null\");\n if (elements instanceof LinkedHashSet) {\n return (LinkedHashSet<T>) elements;\n } else {\n final LinkedHashMap<T, Object> mao = addAll(LinkedHashMap.empty(), elements);\n return mao.isEmpty() ? empty() : new LinkedHashSet<>(mao);\n }\n }",
"title": ""
},
{
"docid": "dc95abd31868f16f8b555c05cabe84a8",
"score": "0.5953218",
"text": "public MathSet<E> copy() {\r\n final MathSet<E> clone = new MathSet<>(m_Size);\r\n clone.addAll(this);\r\n return clone;\r\n }",
"title": ""
},
{
"docid": "dce20f3114ee80498a4444f60a513f37",
"score": "0.59496737",
"text": "public static Set hashSetFactory() {\n return new HashSet();\n }",
"title": ""
},
{
"docid": "5563d5a581bdb0a5cb6f8803a2d2aa2e",
"score": "0.59346074",
"text": "public MyHashSet() {\n\n }",
"title": ""
},
{
"docid": "b8d8bd2841d7064839f22edec0899032",
"score": "0.5930621",
"text": "public static void main(String[] args) {\n\t\tcloneHashSet();\n\t}",
"title": ""
},
{
"docid": "131768dd4ef9f09ef4ace4d11aadb2d6",
"score": "0.59227955",
"text": "Set<V> createUnmodifiableEmptyCollection() {\n/* 51 */ return ImmutableSet.of();\n/* */ }",
"title": ""
},
{
"docid": "06afb27f1666eba3e90966020687d6ff",
"score": "0.59151316",
"text": "public static void main(String[] args) {\n\t\t\n\t\tList<String>alist=new ArrayList<>();\n\t\talist.add(\"John\");\n\t\talist.add(\"Jane\");\n\t\talist.add(\"James\");\n\t\talist.add(\"Jasmine\");\n\t\talist.add(\"Jane\");\n\t\talist.add(\"James\");\n\t\t\n\t\t Set<String> setArray = new LinkedHashSet<>(); \n\t\t setArray.addAll(alist);\n\t\t System.out.println(setArray);\n\t\t alist.clear();\n\n}",
"title": ""
},
{
"docid": "0b07314c0ff6ffd923d264d47dac8723",
"score": "0.59061843",
"text": "private static Multiset toSet(HNSubSet subset, int[] duplicatesMapping,\n\t\t\tLogEvents le) {\n\t\tMultiset ms = new HashMultiset();\n\t\tfor (int i = 0; i < subset.size(); i++) {\n\t\t\tString element = null;\n\t\t\ttry {\n\t\t\t\telement = le.getEvent(duplicatesMapping[subset.get(i)])\n\t\t\t\t\t\t.getModelElementName()\n\t\t\t\t\t\t+ \" \"\n\t\t\t\t\t\t+ le.getEvent(duplicatesMapping[subset.get(i)])\n\t\t\t\t\t\t\t\t.getEventType();\n\t\t\t} catch (ArrayIndexOutOfBoundsException exc) {\n\t\t\t\t// the task is in the net, but not in the event log\n\t\t\t\t// this may happen when the net is connected to a log that has\n\t\t\t\t// fewer events than the net\n\t\t\t\telement = subset.toString() + \" \" + i; // we just use some\n\t\t\t\t// string to count as an\n\t\t\t\t// enabled event!\n\t\t\t}\n\t\t\tif (!ms.contains(element)) {\n\t\t\t\tms.add(element);\n\t\t\t}\n\t\t}\n\n\t\treturn ms;\n\n\t}",
"title": ""
},
{
"docid": "5d9517d8d53ff1f18743d4d07b2ed0d6",
"score": "0.5888961",
"text": "public HashSet() {\n buckets = new Node[bucket_size];\n }",
"title": ""
},
{
"docid": "932243ce898167f0006478fa33a4d6f7",
"score": "0.5881026",
"text": "public MyHashSet() {\n set = (List<Integer>[])new ArrayList[MAX_LEN];\n }",
"title": ""
},
{
"docid": "7aff587c3d001171478efb5f6f5d7bf3",
"score": "0.5849551",
"text": "public MyHashSet() {\n int n = 103;\n arr = new ArrayList[n];\n for (int i = 0; i < n; i++) { \n arr[i] = new ArrayList<Integer>(); \n }\n }",
"title": ""
},
{
"docid": "18ed376574dbcde586b90c1fd450400c",
"score": "0.58218336",
"text": "public static void main(String[] args) {\n\n\n HashSet<Integer> integerSet = new HashSet<>();\n\n integerSet.addAll(Arrays.asList(10, 20, 30, 40, 50, 60));\n\n System.out.println(\"integerSet = \" + integerSet);\n\n HashSet cloned_set = new HashSet();\n\n cloned_set = (HashSet) integerSet.clone();\n \n\n\n if (integerSet.contains(40)) {\n System.out.println(\"integerSet contains 40\");\n } else {\n System.out.println(\"integerSet does not contain 40\");\n }\n\n\n\n\n for (Integer i : integerSet) {\n System.out.println(\"i = \" + i);\n }\n\n Iterator iterator = integerSet.iterator();\n\n while (iterator.hasNext()) {\n System.out.println(\"iterator.next() = \" + iterator.next());\n }\n\n\n\n\n// System.out.println(\"iterator.next() = \" + iterator.next());\n//\n// System.out.println(\"iterator.next() = \" + iterator.next());\n\n // System.out.println(\"integerSet = \" + integerSet);\n\n\n\n\n\n\n }",
"title": ""
},
{
"docid": "9d5a97811cf98a1298d7e5aa3e5d8865",
"score": "0.58075446",
"text": "private Set<LookupKey> writeCacheKeySetCopy() {\n if (writeCache != null) {\n return new HashSet<>(writeCache.keySet());\n } else {\n return Collections.emptySet();\n }\n }",
"title": ""
},
{
"docid": "6ccb9bfb77a89547bd9a97a017fde655",
"score": "0.57970625",
"text": "default ImmutableSet<T> keepAll(final Collection<? extends T> elements) {\n final Set set;\n // if input is not a set, make a copy so contains check if O(1)\n if (elements instanceof Set) {\n set = (Set)elements;\n } else {\n set = new HashSet<>(elements);\n }\n return this.filter(set::contains);\n }",
"title": ""
},
{
"docid": "f3c36788e42d43d5c1fccc5999cb1b05",
"score": "0.5788962",
"text": "private HashSet<String> concatenateSet(HashSet<String> s1, HashSet<String> s2){\n\n HashSet<String> set = new HashSet<>();\n\n if (!(s1.size() == 0 || s2.size() == 0)) {\n \n for (String string : s1) {\n \n for (String string2 : s2) {\n \n set.add(string+string2);\n\n }\n }\n }\n\n return set;\n\n }",
"title": ""
},
{
"docid": "9c37f5591794d09b3e309e9d0a72776e",
"score": "0.5772436",
"text": "public HashSet<K> union(HashSet<K> other){\n HashSet<K> union=new HashSet(totalSize,incrementSize,loadFactor);\n for(int i=0;i<totalSize;i++){\n if(hashItems[i]!=null)\n union.add((K)hashItems[i].getKey());\n }\n for(int in=0;in<other.totalSize;in++){\n if(other.hashItems[in]!=null && !contains((K)other.hashItems[in].getKey()))\n union.add((K)other.hashItems[in].getKey());\n }\n return union;\n }",
"title": ""
},
{
"docid": "f5ba5702f9c1b8db9d2aba68f3a8f890",
"score": "0.5770766",
"text": "public Set<T> asSet() {\r\n return (asSet(this));\r\n }",
"title": ""
},
{
"docid": "964b2d00cb37a84d1be43cd858ea4fd5",
"score": "0.57523257",
"text": "public HashSet makeExpected(Object[] expected)\n {\n return new HashSet(Arrays.asList(expected));\n }",
"title": ""
},
{
"docid": "298d32b2dbe9c66fb9d3f7aa1594ec67",
"score": "0.57094437",
"text": "ESet createESet();",
"title": ""
},
{
"docid": "681d25993913b84b33ff85d989b1ac4e",
"score": "0.5683796",
"text": "public static void main(String[] args) {\n\t\t\r\n\t\tHashSet<Demo> hs= new HashSet<>();\r\n\t\t\r\n\t\r\n\t\tDemo d1=new Demo(2222, \"pqr\");\r\n\t\tDemo d2=new Demo(3333, \"aaa\");\r\n\t\tDemo d3=new Demo(4444, \"bbb\");\r\n\t\tDemo d4=new Demo(1111, \"abc\");\r\n\t\tDemo d5=new Demo(1111, \"xyz\");\r\n\t\t\r\n\t\tDemo d6=d2;\r\n\t\tDemo d7=new Demo(3333, \"aaa\");\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\ths.add(d1);\r\n\t\ths.add(d2);\r\n\t\ths.add(d3);\r\n\t\ths.add(d4);\r\n\t\ths.add(d5);\r\n\t\ths.add(d6);\r\n\t\ths.add(d7);\r\n\t\t\r\n\r\n\t\tSystem.out.println(hs);\r\n\t\t\r\n\t\tSystem.out.println(d1.hashCode());\r\n\t\tSystem.out.println(d2.hashCode());\r\n\t\tSystem.out.println(d3.hashCode());\r\n\t\tSystem.out.println(d4.hashCode());\r\n\t\tSystem.out.println(d5.hashCode());\r\n\t\tSystem.out.println(d6.hashCode());\r\n\t\tSystem.out.println(d7.hashCode());\r\n\t\t\r\n\t\tSystem.out.println(\"==============================================\");\r\n\t\r\n\t}",
"title": ""
},
{
"docid": "c4d691ca0d52ba467a26470e93d05ee8",
"score": "0.5667659",
"text": "public void addValues(){\n System.out.println(\"Adding Values into List\");\n HashSet<String> hash_Set = new HashSet<String>();\n hash_Set.add(\"Java\");\n hash_Set.add(\"C\");\n hash_Set.add(\"C++\");\n hash_Set.add(\"Python\");\n hash_Set.add(\"Java\");\n hash_Set.add(\"Pearl\");\n hash_Set.add(\"Java\");\n hash_Set.add(\"Python\");\n hash_Set.add(\"Example\");\n hash_Set.add(\"Set\");\n\n //Set output without the duplicates\n System.out.println(hash_Set);\n }",
"title": ""
},
{
"docid": "efee19c06dd45cfa2d6879b11d3ffd0d",
"score": "0.5662554",
"text": "public final Set<Type> asSet() { return new HashSet<>(items); }",
"title": ""
},
{
"docid": "b27278bd5f35650b80b490117d313f6c",
"score": "0.5661346",
"text": "public RandomisedSetWithDuplicates() {\n\tarr = new int[10];\n\tmap = new HashMap<>();\n\tr = new Random();\n }",
"title": ""
},
{
"docid": "a5a670d3793a8744afc58e5cbff29c62",
"score": "0.56538093",
"text": "public static <T> HashSet<T> hashSet() {\r\n return new HashSet<T>();\r\n }",
"title": ""
},
{
"docid": "8023b6a9c10fdffafbc448771c074678",
"score": "0.5653673",
"text": "public HashSet fill_elementaries(){\n \n HashSet<String> elementaries = new HashSet();\n elementaries.add(\"sin\");\n elementaries.add(\"cos\");\n elementaries.add(\"tan\");\n elementaries.add(\"csc\");\n elementaries.add(\"sec\");\n elementaries.add(\"cot\");\n elementaries.add(\"arcsin\");\n elementaries.add(\"arccos\");\n elementaries.add(\"arctan\");\n elementaries.add(\"sinh\");\n elementaries.add(\"cosh\");\n elementaries.add(\"ln\");\n elementaries.add(\"log\");\n elementaries.add(\"^\");\n \n return elementaries;\n \n }",
"title": ""
},
{
"docid": "e8fae13dcb8752e4f7dbace9af4aae1e",
"score": "0.5642575",
"text": "public void setJobs(HashSet<Job> temp){ this.jobs=temp; }",
"title": ""
},
{
"docid": "8c044f0ce7de5a9da26df18f3aeee9c6",
"score": "0.56398636",
"text": "Set entrySet();",
"title": ""
},
{
"docid": "1fcb02f91b6dab3839ec98e1037e77e6",
"score": "0.56176686",
"text": "public static void main(String[] args) {\n\r\n\t\tHashSet<Integer> a1 = new HashSet<>();\r\n\t\ta1.add(9);\r\n\t\ta1.add(10);\r\n\t\ta1.add(8);\r\n\t\ta1.add(6);\r\n\t\ta1.add(2);\r\n\t\ta1.add(7);\r\n\t\tSystem.out.println(a1.size());\r\n\r\n\t\tHashSet<Integer> a2 = new HashSet<>();\r\n\t\ta2.add(20);\r\n\t\ta2.add(10);\r\n\t\ta2.add(8);\r\n\t\ta2.add(5);\r\n\r\n\t\tSystem.out.println(a2.size());\r\n\r\n\t\tSystem.out.println(a1.retainAll(a2));\r\n\r\n\t\tSystem.out.println(\"Elements in iterator are: \" + a1);\r\n\t\tSystem.out.println(\"Elements in iterator are: \" + a2);\r\n\r\n\t}",
"title": ""
},
{
"docid": "242524642adfc4a9750be3ec59d86c7a",
"score": "0.56128484",
"text": "public MyHashSet() {\n range = 1001;\n buckets = new HashBucket[range];\n for(int i = 0; i < range; i++)\n {\n buckets[i] = new HashBucket();\n }\n }",
"title": ""
},
{
"docid": "7f30d6e5208c59ad8f555f71178e8225",
"score": "0.56023496",
"text": "protected void saveCopy(HashSet<K> copy) {\n\t\ttable = copy.table;\n\t\tthreshold = copy.threshold;\n\t\tsize = copy.size;\n\t}",
"title": ""
},
{
"docid": "e77aac6191063114142176476207f355",
"score": "0.5602185",
"text": "public RandomizedSet() {\n this.hashSet = new HashSet<>();\n }",
"title": ""
},
{
"docid": "c8a54788ea97fad1c7e8d4f7caaa3c0e",
"score": "0.55956376",
"text": "public static void main(String[] args)\n\t{\n\t\tLinkedHashSet lset =new LinkedHashSet();\n\t\tlset.add(\"Shankey\");\n\t\t//Duplicated would be alllowed but not be printed in final result\n\t\tlset.add(\"Shankey\");\n\t\tlset.add(123);\n\t\tlset.add(2.5);\n\t\tlset.add('a');\n\t\tlset.add(null);\n\t\tlset.add(true);\n\t\tlset.add(123);\n\t\tSystem.out.println(lset); //[Shankey, 123, 2.5, a, null, true]\n\t\t\n\t}",
"title": ""
},
{
"docid": "6d5d3fd3b3800d8ea1ee8bbdacdf26f8",
"score": "0.5593036",
"text": "@Test\n public void testCombiner()\n {\n final Collector<String, ImmutableSet.Builder<String>, ImmutableSet<String>> collector = toImmutableSet();\n\n final ImmutableSet.Builder<String> b1 = ImmutableSet.builder();\n b1.add(\"b1.one\");\n b1.add(\"b1.two\");\n\n final ImmutableSet.Builder<String> b2 = ImmutableSet.builder();\n b2.add(\"b2.one\");\n b2.add(\"b2.two\");\n\n final ImmutableSet.Builder<String> combined = collector.combiner().apply(b1, b2);\n\n assertThat(combined.build(), is(ImmutableSet.of(\"b1.one\", \"b1.two\", \"b2.one\", \"b2.two\")));\n }",
"title": ""
},
{
"docid": "b510afe5791f9e216d79884df6741b71",
"score": "0.5591707",
"text": "@SafeVarargs\n\tpublic static <T> Set<T> newSet(T... values) {\n\t\tHashSet<T> set = new HashSet<>(values.length);\n\t\tfor(T element : values) {\n\t\t\tset.add(element);\n\t\t}\n\t\t\n\t\treturn set;\n\t}",
"title": ""
},
{
"docid": "dfcede11509bb916970b1ba9bebb2afa",
"score": "0.5545467",
"text": "public ArrayList<String> elementSet() {\r\n ArrayList<String> set = new ArrayList<String>();\r\n for (int i = 0; i < capacity; i++) {\r\n if (data[i] != null) {\r\n set.add(data[i]);\r\n }\r\n }\r\n return set;\r\n\r\n }",
"title": ""
},
{
"docid": "d0accdd1fcf3fa4e0a931289e3534650",
"score": "0.5539258",
"text": "public ClosedHashSet(){\r\n super();\r\n }",
"title": ""
},
{
"docid": "66f850d17457f0bd0ba7140711e17e31",
"score": "0.5535611",
"text": "public Set<T> select()\n\t{\n\t\tSet<T> result=new Set();\n\t\t\n\t\tint i=0;\n\t\twhile (i<elements.size()||i<10)\n\t\t{\n\t\t\tresult.addElements(elements.get(i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn result;\n\t}",
"title": ""
},
{
"docid": "4c7d86017516b33d71d989e37311c56e",
"score": "0.5530997",
"text": "public static void main(String[] args) {\n \n Set<Integer> A = new LinkedHashSet<>();\n A.add(1);\n A.add(2);\n A.add(3);\n A.add(4);\n System.out.println(\"A : \" + A);\n \n Set<Integer> B = new LinkedHashSet<>();\n B.add(2);\n B.add(4);\n B.add(6);\n B.add(8);\n System.out.println(\"B : \" + B);\n \n Set<Integer> C = new LinkedHashSet<>();\n C.addAll(A);\n C.addAll(B);\n System.out.println(C);\n \n Set<Integer> D = new LinkedHashSet<>();\n D.addAll(A);\n D.retainAll(B);\n System.out.println(D);\n \n Set<Integer> E = new LinkedHashSet<>();\n E.addAll(A);\n E.removeAll(B);\n System.out.println(E);\n /*\n Set<Integer> C = new LinkedHashSet<>();\n C.addAll(A);\n C.addAll(B);\n System.out.println(C);\n \n Set<Integer> D = new LinkedHashSet<>();\n D.addAll(A);\n D.retainAll(B);\n System.out.println(D);\n \n Set<Integer> E = new LinkedHashSet<>();\n E.addAll(A);\n E.removeAll(B);\n System.out.println(E);\n*/\n }",
"title": ""
},
{
"docid": "2241a39ba61853cfcd9b3109575d22a9",
"score": "0.55236614",
"text": "public static <T> HashSet<T> hashSet(Collection<T> c) {\r\n return new HashSet<T>(c);\r\n }",
"title": ""
},
{
"docid": "a574ede024805e8bc603656651b9c8b7",
"score": "0.552002",
"text": "public HashSetFlowSet( HashSet<D> set){\n this.set = set;\n }",
"title": ""
},
{
"docid": "39cc6dc0a029dde88addf32fefe72101",
"score": "0.5516653",
"text": "public MySet<T> getSubset()\n {\n\tcurrentSubset = new MySet<T>();\n // I recommend that you convert the bit configuration of the counter\n // to a local Gray code 'ArrayList' and then copy the local code\n // to your running Gray code so you will have the \"old\" version.\n // Comparing the old against the new will let you know what to \n // add or what to remove.\n ArrayList<Integer> localCode = new ArrayList<Integer>();\n\n //We first copy the array of bits to the 'grayCode' variable\n for(int i = 0; i < bits.size() - 1; ++i){\n if(bits.get(i) < bits.get(i+1)|| bits.get(i) > bits.get(i + 1)){\n localCode.add(1);\n }\n else{\n localCode.add(0);\n }\n\t }\n\t localCode.add(bits.get(bits.size() -1));\n \n \n // We copy the local to the running list so as to have the \"old\" list\n // for next time around.\n for(int i = 0; i < setCard; ++i)\n grayCode.set(i, localCode.get(i));\n \n for(int i = 0; i< grayCode.size() ; i++)\n {\n \tif(grayCode.get(i) == 1)\n \t{\n \t\tcurrentSubset.addToSet(getByID(i));\n \t}\n }\n /* for(int i = 0; i< 2 ; i++)\n {\n \tif(grayCode.get(i) == 1)\n \t{\n \t\tcurrentSubset.addToSet(getByID(i));\n \t}\n }*/\n return currentSubset;\n }",
"title": ""
},
{
"docid": "5398219701c81a5ac3a3df73e7a55b86",
"score": "0.5508509",
"text": "public MyHashSetOld() {\n\t \t ar = new int[256];\n\t }",
"title": ""
},
{
"docid": "a7512e84f1f8242ff8464e975e8083ab",
"score": "0.5493979",
"text": "public Set diff(Set s)\n {\n ArrayList<String> result = new ArrayList<String>();\n int i;\n for(i=0;i<s.cardinality();i++)\n { if (!this.isElement(s.elements.get(i)))\n result.add(s.elements.get(i));\n }\n \n return new Set(result); \n \n \n }",
"title": ""
},
{
"docid": "5d7d3c43a39298407eca166337f95654",
"score": "0.5484532",
"text": "public Set<E> union(AbstractSet<E> setA);",
"title": ""
},
{
"docid": "ef21a9108657b269be08e5c549e6780b",
"score": "0.54806614",
"text": "public ImmutableSet(Collection<T> initialData) {\r\n\t\tif (initialData == null)\r\n\t\t\tthrow new IllegalArgumentException(\"Argument was null\");\r\n\t\tboolean allImmutable = true;\r\n\t\tthis.data = new HashSet<T>();\r\n\t\tfor (T element: initialData) {\r\n\t\t\tif (element != null ){\r\n\t\t\t\tif (allImmutable) {\r\n\t\t\t\t\tif (ImmutableHelper.isImmutableType(element.getClass()))\r\n\t\t\t\t\t\tthis.data.add(element);\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tallImmutable = false;\r\n\t\t\t\t}\r\n\t\t\t\tif (!allImmutable)\r\n\t\t\t\t\tthis.data.add(ImmutableHelper.handleValue(\"Array element\", element));\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tthis.data.add(null);\r\n\t\t}\r\n\t\tthis.allImmutable = allImmutable;\r\n\t}",
"title": ""
},
{
"docid": "c29ce69b7b15fe7e63c39378f400a82f",
"score": "0.5473269",
"text": "public Set intersect(Set s)\n {\n int i;\n ArrayList<String> result = new ArrayList<String>();\n for (i=0;i<s.cardinality();i++)\n if (this.isElement(s.elements.get(i)))\n result.add(s.elements.get(i));\n return new Set(result); \n }",
"title": ""
},
{
"docid": "aa16be45cdd523eea27fd04a2f43821d",
"score": "0.5466958",
"text": "public Set<String> toStringSet() {\n Set<String> result = new HashSet<>();\n for (Object element : this) {\n result.add((String) element);\n }\n// Android doesn't like lambdas as of 9-16\n// this.stream().forEach((element) -> {\n// result.add((String) element);\n// });\n return result;\n }",
"title": ""
},
{
"docid": "75ce2b95e0bf536bf1b52e2138779532",
"score": "0.5446725",
"text": "public static Set<ItemSet> aprioriGen(Set<ItemSet> prev, Set<Item> first){\n\t\tSet<ItemSet> next=new HashSet<ItemSet>();\n\t\t\n\t\t// join step, add all possible itemSet\n\t\tfor(ItemSet set:prev){\n\t\t\tSet<Item> items=set.items;\n\t\t\tfor(Item item:first){\n\t\t\t\tItemSet nItemSet=new ItemSet();\n\t\t\t\tnItemSet.items.addAll(items);\n\t\t\t\tnItemSet.items.add(item);\n\t\t\t\t\n\t\t\t\t// Insert into C_k \n\t\t\t\tif(nItemSet.items.size()==(set.items.size()+1)){\n\t\t\t\t\tnext.add(nItemSet);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t// prune step, delete all itemsets where some (k-1) subset of c is not in prev (L_k-1)\n\t\tIterator<ItemSet> itr=next.iterator();\n\t\twhile(itr.hasNext()){\n\t\t\tItemSet iSet=itr.next();\n\t\t\tif(subsetNotIn(iSet, prev)){\n\t\t\t\titr.remove();\n\t\t\t}\t\t\n\t\t}\n\t\treturn next;\n\t}",
"title": ""
},
{
"docid": "8feda3e9bf829d080dec5b891b97d46f",
"score": "0.5438687",
"text": "public static MySet<Student> createStudentsSet() {\n MySet<Student> myStudentSet = new MySet<>();\n myStudentSet.add(new Student(\"Sargis\", \"Sargsyan\", 20));\n myStudentSet.add(new Student(\"Ani\", \"Sargsyan\", 80));\n myStudentSet.add(new Student(\"Ani\", \"Sargsyan\", 27));\n myStudentSet.add(new Student(\"Poghos\", \"Poghosyan\", 21));\n myStudentSet.add(new Student(\"Poghos\", \"Poghosyan\", 21));\n myStudentSet.add(new Student(\"Sargis\", \"Meloyan\", 25));\n myStudentSet.add(new Student(\"Anna\", \"Mnoyan\", 30));\n return myStudentSet;\n }",
"title": ""
},
{
"docid": "0dfe67501efc64416dc1e04d32aaff93",
"score": "0.5437038",
"text": "public static LinkedHashSet<Short> ofAll(short... elements) {\n Objects.requireNonNull(elements, \"elements is null\");\n return LinkedHashSet.ofAll(Iterator.ofAll(elements));\n }",
"title": ""
},
{
"docid": "095dd7e2eaf77ccc1f568efb5f522661",
"score": "0.54341036",
"text": "public RandomizedSet() {\n hashMap = new HashMap<Integer, Integer>();\n results = new ArrayList<Integer>();\n }",
"title": ""
},
{
"docid": "29f62863b805faa5cad02d51378d4d91",
"score": "0.5430659",
"text": "public Set complement(Set s) {\n Set tmp = new Set(10);//TODO; Why are we setting the capacity to 10?\n for (int x = 0; x < size; x++) {\n if (!s.contains(set[x])) {//set[x] refers to the items in the array of the variable that called the method.\n tmp.add(set[x]);\n }\n }\n return tmp;\n }",
"title": ""
},
{
"docid": "512e22d953d0347a7eaf8073bc566d84",
"score": "0.54282594",
"text": "public Set asSet() {\n if (isCollectionOfValues) {\n return (Set)value;\n }\n // wrap the value into a set\n Set set;\n set = new LinkedHashSet();\n set.add(value);\n return set;\n }",
"title": ""
},
{
"docid": "ca0dabb85b94cfaccb7d32c00bd39e29",
"score": "0.5427547",
"text": "public ProbingHashSet(){\n this(ProbeMode.QUADRATIC);\n }",
"title": ""
},
{
"docid": "6127a00c65ccdc8d8fa4e6497d1a950b",
"score": "0.54219943",
"text": "public Set union(Set s) {//problem study this, s address.\n Set tmp = new Set(10);//TODO; why was p+ an error?\n for (int x = 0; x < size; x++) {\n tmp.add(set[x]);\n }\n for (int x = 0; x < s.size; x++) {\n tmp.add(s.set[x]);\n }\n return tmp;\n }",
"title": ""
},
{
"docid": "3c04bf8761abf985e5698f19186ea3b6",
"score": "0.5421597",
"text": "private static Set<String> buildSetStrings() {\n\t\tfinal Set<String> strings = new HashSet<String>();\n\t\tstrings.add(\"Java\");\n\t\tstrings.add(\"Groovy\");\n\t\tstrings.add(\"Jython\");\n\t\tstrings.add(\"JRuby\");\n\t\tstrings.add(\"Python\");\n\t\tstrings.add(\"Ruby\");\n\t\tstrings.add(\"Perl\");\n\t\tstrings.add(\"C\");\n\t\tstrings.add(\"C++\");\n\t\tstrings.add(\"C#\");\n\t\tstrings.add(\"Pascal\");\n\t\tstrings.add(\"Fortran\");\n\t\tstrings.add(\"Cobol\");\n\t\tstrings.add(\"Scala\");\n\t\tstrings.add(\"Clojure\");\n\t\tstrings.add(\"Basic\");\n\t\tstrings.add(\"PHP\");\n\t\tstrings.add(\"Flex/ActionScript\");\n\t\tstrings.add(\"JOVIAL\");\n\t\treturn strings;\n\t}",
"title": ""
},
{
"docid": "60ddd6b3004ce54208b599dfdda7ccad",
"score": "0.54205465",
"text": "public abstract Set<String> mo4890Z();",
"title": ""
},
{
"docid": "34c19348996088b5f1704cff819c20eb",
"score": "0.54201174",
"text": "public ConcurrentHashSet() {\n\t\t// had some really weird NPEs with Java's ConcurrentHashMap (i.e. got a\n\t\t// NPE at size()), now trying witrh Guava instead\n\t\tdelegate = mapMaker.makeMap();\n\t}",
"title": ""
},
{
"docid": "5257b53667dfb882cc89473378ea693f",
"score": "0.54191655",
"text": "@Test\n public void testAddToEmptySet() {\n \t\tSet<String> s = createFromArgsTest();\n \t\tSet<String> sExpected = createFromArgsRef(\"JS\");\n \t\t\n \t\ts.add(\"JS\");\n \t\t\n \t\tassertEquals(s, sExpected);\n }",
"title": ""
},
{
"docid": "f111facece604962c37677f3e5172cac",
"score": "0.5412934",
"text": "public static Set<Long> copy(Set<Long> l) {\n\t\tSet<Long> l2 = new HashSet<Long>();\n\t\tfor (Long lo : l) {\n\t\t\tl2.add(lo);\n\t\t}\n\t\treturn l2;\n\t}",
"title": ""
},
{
"docid": "9188dc32d275959bc593f546de24f9cf",
"score": "0.5412231",
"text": "public static void main(String[] args){\n SetInterface<String> testSet = new Set<>();\n String[] toAdd = new String[]{\"Andrew\",\"Matthew\",\"Christina\",\"Andrew\",\"Dad\"};\n SetInterface<String> testSet2 = new Set<>(toAdd); //Should not have any duplicates\n SetInterface<Object> emptySet = new Set<>();\n\n int howmany = testSet2.getCurrentSize();\n //Should print out 4, since Andrew is a repeat val\n System.out.println(howmany);\n //Should be true\n System.out.println(emptySet.isEmpty());\n\n Object[] inset = testSet2.toArray();\n String[] inset2 = new String[inset.length];\n\n for(int i = 0;i<inset.length;i++){\n inset2[i] = (String) inset[i];\n System.out.println(inset2[i]);\n }\n\n\n //Should print out 4 entries\n\n\n try {\n testSet2.add(\"Henry\");\n }\n catch(SetFullException e){\n System.out.println(\"THIS SHOULD NOT BE HAPPENING\");\n }\n\n System.out.println(testSet2.contains(\"Dad\"));\n\n System.out.println(\"Removed: \" + testSet2.remove());\n\n\n //testSet2.clear();\n\n Object[] inset3 = testSet2.toArray();\n String[] inset4 = new String[inset3.length];\n\n for(int i = 0;i<inset3.length;i++){\n inset4[i] = (String) inset3[i];\n System.out.println(inset4[i]);\n }\n\n\n\n }",
"title": ""
},
{
"docid": "5b6c15310d8dc868a78f8d9df1a72851",
"score": "0.54073817",
"text": "public static void main(String[] args) {\n\n\t\tLinkedHashSet<Customer> set = new LinkedHashSet<Customer>();\n\t\t\n\t\tset.add(new Customer(\"Jack\", 021));\n\t\t \n\t\tset.add(new Customer(\"Peter\", 105));\n\t\t \n\t\tset.add(new Customer(\"Ramesh\", 415)); \n\t\t \n\t\tset.add(new Customer(\"Julian\", 814));\n\t\t \n\t\tset.add(new Customer(\"Peter\", 105)); //Duplicate Element\n\t\t \n\t\tset.add(new Customer(\"Sapna\", 879));\n\t\t \n\t\tset.add(new Customer(\"John\", 546));\n\t\t \n\t\tset.add(new Customer(\"Moni\", 254));\n\t\t \n\t\tset.add(new Customer(\"Ravi\", 105)); //Duplicate Element\n\t\t\n\t\tIterator<Customer> it = set.iterator();\n\t\t \n\t\twhile (it.hasNext())\n\t\t{\n\t\t Customer customer = (Customer) it.next();\n\t\t \n\t\t System.out.println(customer);\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "47714aace735417afefbf6784bc4588f",
"score": "0.5402755",
"text": "public Builder(){\n correspondences = new HashSet<>();\n }",
"title": ""
},
{
"docid": "8bdc161c5acf1cdca518abcd0905a046",
"score": "0.53965765",
"text": "public Set<D> getSet()\n {\n return Sets.newHashSet(set);\n }",
"title": ""
},
{
"docid": "31ec2ee61bfa60a6c85c72095371e98d",
"score": "0.5394371",
"text": "public java.util.Set<BandEntry<String, Band>> entrySet();",
"title": ""
},
{
"docid": "22780d203f7383ee7885e252ac811e32",
"score": "0.5390703",
"text": "public Set xProduct(Set s)\n {\n int j;\n int i;\n ArrayList<String> results = new ArrayList<String>();\n for(i=0; i<this.cardinality();i++)\n {\n for(j=0; j<this.cardinality(); j++)\n {\n results.add(\"(\" + this.elements.get(i) + \",\" + s.elements.get(j) + \")\");\n }\n }\n return new Set(results);\n \n }",
"title": ""
},
{
"docid": "f40c24efb783688ff8cb13f25479b5e0",
"score": "0.53889996",
"text": "public static void main(String[] args) \r\n {\n Set<Integer> hash_Set = new HashSet<>(); \r\n hash_Set.add(15); \r\n hash_Set.add(15); \r\n hash_Set.add(1); \r\n hash_Set.add(6); \r\n hash_Set.add(4); \r\n System.out.print(\"Set output without the duplicates\"); \r\n \r\n System.out.println(hash_Set); \r\n \r\n // Set deonstration using TreeSet \r\n System.out.print(\"Sorted Set after passing into TreeSet\"); \r\n Set<Integer> tree_Set = new TreeSet<>(hash_Set); \r\n System.out.println(tree_Set); \r\n }",
"title": ""
},
{
"docid": "c855f14093040c1981594208ad8d8435",
"score": "0.53877026",
"text": "@Test\n public void test1() {\n// primarySources.add(\"3\");\n// primarySources.add(\"4\");\n// primarySources.add(\"1\");\n// primarySources.add(\"2\");\n\n String[] primarySources = new String[]{\"1\", \"2\", \"1\"};\n\n Set<String> list = new LinkedHashSet<>(Arrays.asList(primarySources));\n }",
"title": ""
},
{
"docid": "003fd48742fc7f664bd7b29ddbf15287",
"score": "0.53848594",
"text": "@SuppressWarnings({ \"unchecked\" })\r\n\tprivate static <T> ImmutableSet<T> emptySet() {\r\n\t\tImmutableSet<T> emptySet = (ImmutableSet<T>) EMPTY_SET;\r\n\t\treturn emptySet;\r\n\t}",
"title": ""
},
{
"docid": "be7bce7ccb56f14941494ae0b8fa7cce",
"score": "0.5373356",
"text": "public Builder makeCopy() {\n return new Builder().include(this.properties);\n }",
"title": ""
},
{
"docid": "06cb6875e89651d1b3660defef310cf9",
"score": "0.5352818",
"text": "public HashMapSet() {\n map=new HashMap();\n \n }",
"title": ""
},
{
"docid": "d51104ea60d230c541ebf2d72d3b6635",
"score": "0.5341708",
"text": "public RandomizedSet() {\n\t\t\tkeyMap = new HashMap<Integer, Integer>();\n\t\t\tvalueMap = new HashMap<Integer, Integer>();\n\t\t}",
"title": ""
},
{
"docid": "d890e070327f774130a25bff86f606da",
"score": "0.5340324",
"text": "public MyHashSet() {\n\t \t ar = new boolean[1000000+1];\n\t }",
"title": ""
},
{
"docid": "341f257a263cf2bc6fcf793e6ef35272",
"score": "0.53400356",
"text": "private HashSet<Vertex> buildVertSet() {\n\t\tIterator<Edge> itr = incidentEdges.iterator();\n\t\tHashSet<Vertex> vertSet = new HashSet<Vertex>();\n\t\tvertSet.add(this);\n\t\twhile (itr.hasNext()) {\n\t\t\tEdge e = itr.next();\n\t\t\tVertex v = null;\n\t\t\tif (e.origin() == this) {\n\t\t\t\tv = e.destination();\n\t\t\t} else {\n\t\t\t\tv = e.origin();\n\t\t\t}\n\t\t\tvertSet.add(v);\n\t\t}\n\t\t\n\t\treturn vertSet;\n\t}",
"title": ""
},
{
"docid": "60fc21ced3a307ba50a27dba4f6a2420",
"score": "0.53369313",
"text": "public static Set<Set<Integer>> powerSet(Collection<Integer> input) {\n int powerSetSize = Double.valueOf(Math.pow(2., Integer.valueOf(input.size()).doubleValue())).intValue();\n Integer[] inputArray = input.toArray(new Integer[input.size()]); // transform into array for fast access by position\n\n // create power set\n Set<Set<Integer>> powerSet = new HashSet<>();\n for (int i = 0; i < powerSetSize; i++) {\n // transform into binary, all elements with 1 are added to subset\n String binary = Integer.toBinaryString(i);\n int binarySize = binary.length();\n Set<Integer> subSet = new HashSet<>();\n for (int j = 0; j < binary.length(); j++) {\n if (binary.charAt(binarySize - j - 1) == '1') {\n subSet.add(inputArray[j]);\n }\n }\n powerSet.add(subSet); // add subset to power set\n }\n return powerSet;\n }",
"title": ""
},
{
"docid": "a9e59712c99a1abfe6f3db4c54fb0130",
"score": "0.53297114",
"text": "public IInSet createInSet();",
"title": ""
},
{
"docid": "3c12f332035ef3e35afdbd6d97df0335",
"score": "0.53264153",
"text": "public static void main(String[] args) {\n\t\tSet c =new HashSet();\n\t\tc.add(1);\n\t\tc.add(3);\n\t\tc.add(6);\n\t\tc.add(2);\n\t\tc.add(\"aarti\");\n\t\tc.add(2);\n\tc.add(\"3\");\n\t\tSystem.out.println(c);\n\n\t}",
"title": ""
},
{
"docid": "670a9d37c7d72964d32cafc4a799ca07",
"score": "0.5323238",
"text": "public Builder copy() {\n\t\treturn new Builder(this);\n\t}",
"title": ""
},
{
"docid": "6e91df07cb3c811e67f3bd2aca551895",
"score": "0.53231996",
"text": "default F2<Set<A>, Set<B>, Set<C>> setM(final Ord<C> o) {\n return (as, bs) -> {\n Set<C> cs = Set.empty(o);\n for (final A a : as)\n for (final B b : bs)\n cs = cs.insert(f(a, b));\n return cs;\n };\n }",
"title": ""
},
{
"docid": "61965079d7f38ed77a46a5e726e9075d",
"score": "0.53226256",
"text": "public java.util.HashSet getSelectHash() {\n this.selectHash.clear();\n CollectionUtil.copy(this.selectHash, selectList);\n// Iterator iter = selectHash.iterator();\n// while (iter.hasNext()) {\n// String col = (String)iter.next();\n// logger.debug(\"getSelectHash, contents are: \" + col);\n// }\n\n return selectHash;\n }",
"title": ""
},
{
"docid": "3fbe8c5582cac765fcbb4397ffc10df8",
"score": "0.53170735",
"text": "public Set symDiff(Set s)\n {\n ArrayList<String> result = new ArrayList<String>();\n int j;\n int i;\n for(i=0;i<s.cardinality();i++)\n {\n if (!this.isElement(s.elements.get(i)))\n result.add(s.elements.get(i));\n }\n for(j=0;j<this.cardinality();j++)\n {\n if (!s.isElement(this.elements.get(j)))\n result.add(this.elements.get(j));\n }\n return new Set(result); \n \n }",
"title": ""
},
{
"docid": "cd72590be571341ca1265b638840170b",
"score": "0.5308912",
"text": "public RandomizedSet() {\n al = new ArrayList();\n hm = new HashMap();\n rand = new Random();\n \n }",
"title": ""
},
{
"docid": "91dd54907fb6eb07b2f9a9e7dd34d72b",
"score": "0.53076994",
"text": "public Set<T> createFrequencyBasedSet() {\n Set<Map.Entry<T, Integer>> s = new TreeSet(new FrequencyComparator());\n for (Map.Entry<T, Integer> entry : entrySet()) {\n s.add(entry);\n }\n\n Set<T> l = new LinkedHashSet<T>();\n for (Map.Entry<T, Integer> e : s) {\n l.add(e.getKey());\n }\n \n return java.util.Collections.unmodifiableSet(l);\n }",
"title": ""
},
{
"docid": "301f6db4f45e08e5411c117100e03f83",
"score": "0.5306657",
"text": "static final CouponHashSet heapifySet(final Memory mem) {\n final int lgConfigK = extractLgK(mem);\n final TgtHllType tgtHllType = extractTgtHllType(mem);\n\n final CurMode curMode = extractCurMode(mem);\n final int memArrStart = (curMode == CurMode.LIST) ? LIST_INT_ARR_START : HASH_SET_INT_ARR_START;\n final CouponHashSet set = new CouponHashSet(lgConfigK, tgtHllType);\n final boolean memIsCompact = extractCompactFlag(mem);\n final int couponCount = extractHashSetCount(mem);\n int lgCouponArrInts = extractLgArr(mem);\n if (lgCouponArrInts < LG_INIT_SET_SIZE) {\n lgCouponArrInts = computeLgArr(mem, couponCount, lgConfigK);\n }\n if (memIsCompact) {\n for (int i = 0; i < couponCount; i++) {\n set.couponUpdate(extractInt(mem, memArrStart + (i << 2)));\n }\n } else { //updatable\n set.couponCount = couponCount;\n set.lgCouponArrInts = lgCouponArrInts;\n final int couponArrInts = 1 << lgCouponArrInts;\n set.couponIntArr = new int[couponArrInts];\n mem.getIntArray(HASH_SET_INT_ARR_START, set.couponIntArr, 0, couponArrInts);\n }\n return set;\n }",
"title": ""
},
{
"docid": "bedb75565c805d8a4180994578052f7f",
"score": "0.5305604",
"text": "public static void main(String[] mains) {\n H_HashSet<Integer> set = new H_HashSet<>();\n for (int i = 0; i < 32; i++) {\n set.add(i);\n set.add(i);\n }\n System.out.println(set);\n \n for (int elem : set) \n System.out.print(elem + \" \");\n \n System.out.println(set.contains(6));\n System.out.println(set.contains(32));\n \n }",
"title": ""
},
{
"docid": "ea254c35ae270e32a18562334f645939",
"score": "0.53008705",
"text": "IBlueprint unique();",
"title": ""
},
{
"docid": "af95ade3307c6b0e31d365a1abdcfcba",
"score": "0.52980995",
"text": "public Registers copy() {\n Registers set = new Registers(validRegistersStarts, null, null, null);\n\n for (int i = 0; i < registers.length; i++) {\n set.registers[i] = registers[i] == null ? null : registers[i].copy(set);\n }\n for (int i = 0; i < coprocessor0Registers.length; i++) {\n set.coprocessor0Registers[i] = new Register[coprocessor0Registers[i].length];\n for (int i1 = 0; i1 < coprocessor0Registers[i].length; i1++) {\n set.coprocessor0Registers[i][i1] = coprocessor0Registers[i][i1] == null ? null : coprocessor0Registers[i][i1].copy(set);\n }\n }\n for (int i = 0; i < coprocessor1Registers.length; i++) {\n set.coprocessor1Registers[i] = coprocessor1Registers[i] == null ? null : coprocessor1Registers[i].copy(set);\n }\n\n set.programCounter = programCounter.copy(set);\n\n set.eventCallsEnabled = eventCallsEnabled;\n return set;\n }",
"title": ""
}
] |
8f26dbe1ffe3bc4c9661c12e4f126460 | Returns all of the activities that are in the DB | [
{
"docid": "53ecde8f82af16d7922367ab8578a361",
"score": "0.75580084",
"text": "public ArrayList<String> getAllActivities() {\n SQLiteDatabase db = this.getReadableDatabase();\n cursor = db.rawQuery(GET_ALL_ACTIVITIES, null);\n int birdActivityColumnIndex = cursor.getColumnIndex(BIRD_ACTIVITY);\n ArrayList<String> allActivities = new ArrayList<String>();\n if (cursor != null && cursor.moveToFirst()) {\n do {\n allActivities.add(cursor.getString(birdActivityColumnIndex));\n } while (cursor.moveToNext());\n }\n db.close();\n return allActivities;\n\n }",
"title": ""
}
] | [
{
"docid": "ca8fea1c979d97cb9787468df144b4b4",
"score": "0.76565003",
"text": "public List<Activity> viewAllActivities() {\r\n\t\tConnectionPoolManager con = new ConnectionPoolManager();\r\n\t\tList<Activity> activitys = new ArrayList<Activity>();\r\n\t\tactivitys = ActivitysDBManager.getInstance().getAllClientsActivitys(\r\n\t\t\t\tcon.getConnectionFromPool());\r\n\t\tfor (Activity c : activitys) {\r\n\t\t\tSystem.out.println(c);\r\n\t\t}\r\n\t\treturn activitys;\r\n\t}",
"title": ""
},
{
"docid": "6628546c16cfc969f73f98bbca4797e7",
"score": "0.7358945",
"text": "public Cursor getAllActivities(){\n SQLiteDatabase db = this.getReadableDatabase();\n\n Log.e(\"LocationService\", \"ActivityDBHelper : Request = \"+\"Select * from activity;\");\n\n Cursor cursor = db.rawQuery(\"Select * from activity;\", null);\n\n return cursor;\n }",
"title": ""
},
{
"docid": "4875ecfada476286d27d5933d52c6fbb",
"score": "0.71583545",
"text": "List<Activity> getActivities() throws Exception;",
"title": ""
},
{
"docid": "47362619a4a3945f527764b0de372e6a",
"score": "0.69688743",
"text": "@GetMapping(value = \"/\")\n\tpublic List<ActivityResponse> getAllActivities() {\n\t\tlog.info(\"Received GET request to fetch all activities\");\n\t\tList<ActivityResponse> activityResponseList = null;\n\t\tList<Activity> activities = activityService.getAllActivities();\n\t\tactivityResponseList = activities.stream().map(activity -> {\n\t\t\treturn ActivityResponse.creteActivityResponse(activity);\n\t\t}).collect(Collectors.toList());\n\t\tlog.info(\"Request to fetch all activities executed successfully\");\n\t\treturn activityResponseList;\n\t}",
"title": ""
},
{
"docid": "042554341e3569c5bb194dc81425544a",
"score": "0.67164373",
"text": "public Cursor getAll() {\n return db.query(DATABASE_TABLE, new String[]{\n KEY_ROWID,\n KEY_PROJECT,\n KEY_STATUS,\n KEY_TIMESPENT,\n KEY_LASTACTIVATED},\n null,\n null,\n null,\n null,\n null);\n }",
"title": ""
},
{
"docid": "279dbb6dec8168e93e581620b537ac8c",
"score": "0.6627214",
"text": "@Override\n\tpublic List<Activity> selectactivity() {\n\t\tList<Activity> selectfind = activity.selectfind();\n\t\t for (Activity activity : selectfind) {\n\t\t\tSystem.out.println(activity);\n\t\t}\n\t\treturn selectfind;\n\t\t\n\t}",
"title": ""
},
{
"docid": "f0e61995774f6d54d0103d8ed7ad6ca1",
"score": "0.65344214",
"text": "public ArrayList<RPGuActivity> getAllDailies() {\n return getActivities(ActivitiesAdapter.ActivityType.Daily);\n }",
"title": ""
},
{
"docid": "d874ecc40d4ec999578c0e7e58dd018f",
"score": "0.64633965",
"text": "private ArrayList<RPGuActivity> getActivities(ActivitiesAdapter.ActivityType type) {\n String tableName = TABLE_DAILIES;\n switch (type) {\n case Daily:\n tableName = TABLE_DAILIES;\n break;\n case Weekly:\n tableName = TABLE_WEEKLIES;\n break;\n case Monthly:\n tableName = TABLE_MONTHLIES;\n break;\n }\n\n ArrayList<RPGuActivity> activities = new ArrayList<RPGuActivity>();\n\n String selectQuery = \"SELECT * FROM \" + tableName;\n\n SQLiteDatabase db = this.getReadableDatabase();\n try {\n Cursor cursor = db.rawQuery(selectQuery, null);\n try {\n if(cursor.moveToFirst()){\n do {\n int quantityToDo = cursor.getInt(1);\n int quantityDone = cursor.getInt(2);\n String label = cursor.getString(3);\n String description = cursor.getString(4);\n int xp = cursor.getInt(5);\n String categoryLabel = cursor.getString(6);\n ActivitiesAdapter.ActivityType activityType = type;\n String stringID = cursor.getString(7);\n\n RPGuActivity activity =\n new RPGuActivity(quantityToDo,\n quantityDone,\n label,\n description,\n xp,\n categoryLabel,\n activityType,\n stringID);\n\n activities.add(activity);\n } while(cursor.moveToNext());\n }\n } finally {\n try { cursor.close(); }catch (Exception e){}\n }\n } finally {\n try { db.close(); }catch (Exception e){}\n }\n\n return activities;\n }",
"title": ""
},
{
"docid": "e4fa960b6aed0c1a300084a5dd1c0dc6",
"score": "0.6419716",
"text": "public List<ActividadEntity> findAll() {\n LOGGER.log(Level.INFO, \"Consultando todas las actividades\");\n // Se crea un query para buscar todas las actividades en la base de datos.\n TypedQuery query = em.createQuery(\"select u from ActividadEntity u\", ActividadEntity.class);\n // Note que en el query se hace uso del método getResultList() que obtiene una lista de actvidades.\n return query.getResultList();\n }",
"title": ""
},
{
"docid": "6a009780be8fb5915149079979422680",
"score": "0.6386122",
"text": "private static ObservableList<Activity> getActivityList(ResultSet rs) throws SQLException {\r\n\t\tObservableList<Activity> activityList = FXCollections.observableArrayList();\t\t\r\n\r\n\t\twhile (rs.next()) {\r\n\t\t\tActivity activity = new Activity();\r\n\t\t\tactivity.setActivityId(rs.getInt(\"ACTIVITY_ID\"));\r\n\t\t\tactivity.setEmployeeId(rs.getInt(\"EMPLOYEE_ID\"));\r\n\t\t\tactivity.setDateAndTime(rs.getString(\"DATE\"));\r\n\t\t\tactivity.setActivity(rs.getString(\"ACTIVITY\"));\r\n\t\t\t// Add to observable list\r\n\t\t\tactivityList.add(activity);\r\n\t\t}\r\n\t\treturn activityList;\r\n\t}",
"title": ""
},
{
"docid": "ab39d607757f4b851855856908b8c6f2",
"score": "0.63471216",
"text": "List<AgentInfo> getAllActive();",
"title": ""
},
{
"docid": "0f83817b6c37c1afa1c0ddba2e16f20f",
"score": "0.63381803",
"text": "List<T> findAllActive();",
"title": ""
},
{
"docid": "d679edb01df481097c1180d938fe700e",
"score": "0.63262486",
"text": "public ActivitysInner activitys() {\n return this.activitys;\n }",
"title": ""
},
{
"docid": "701317ff57cd1f8a94bef42032de29fc",
"score": "0.62792724",
"text": "public String getActivities() {\n return activities;\n }",
"title": ""
},
{
"docid": "83695c838f63214c6ecb198e9bca9988",
"score": "0.6272323",
"text": "public String allActivites() {\n\t\tString[] alphaArray = new String[activitiesBackup.size()];\n\t\tfor(int i=0; i<activitiesBackup.size(); i++) {\n\t\t\talphaArray[i] = activitiesBackup.get(i).printNode();\n\t\t}\n\t\tArrays.sort(alphaArray);\n\t\t\n\t\tfor(int i=0; i<alphaArray.length; i++) {\n\t\t\tNode temp = findNode(alphaArray[i], root);\n\t\t\t\n\t\t\tactivitiesList += \"Activity Name:\t\" + temp.activityName + \"\tActivity Duration:\t\" + temp.duration;\n\t\t\t\n\t\t\tif(i != alphaArray.length-1) {\n\t\t\t\tactivitiesList += \"\\n\";\t// Displays Each Activity on a New Line\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn activitiesList;\n\t}",
"title": ""
},
{
"docid": "debcee20e421fff3e03c93f1ed5e3f35",
"score": "0.62135774",
"text": "@Override\r\n\tpublic List<ActivityNoticeBean> getAll() {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n//\t\tSession session = DefaultFactory.getSessionFactory().openSession();\t\t//Hibernate\r\n//\t\tTransaction tx = session.beginTransaction();\r\n\t\ttry {\r\n\t\t\tQuery query = session\r\n\t\t\t\t\t.createQuery(\"from ActivityNoticeBean ActivityNotice\");\r\n\t\t\tList<ActivityNoticeBean> nots = query.list();\r\n\t\t\treturn nots;\r\n\t\t} catch (Exception ex) {\t\t\t\r\n\t\t\tex.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "d7e822558f6059081a2ee07b0845e027",
"score": "0.6133321",
"text": "public List getActivitySets()\n throws TorqueException\n {\n List result = null;\n Object obj = ScarabCache.get(this, GET_TRANSACTIONS);\n if (obj == null)\n {\n Criteria crit = new Criteria();\n crit.add(ActivityPeer.ISSUE_ID, getIssueId());\n crit.addJoin(ActivitySetPeer.TRANSACTION_ID, ActivityPeer.TRANSACTION_ID);\n crit.setDistinct();\n result = ActivitySetPeer.doSelect(crit);\n ScarabCache.put(result, this, GET_TRANSACTIONS);\n }\n else\n {\n result = (List)obj;\n }\n return result;\n }",
"title": ""
},
{
"docid": "597f1db629888db8a6dc76aeded30e47",
"score": "0.6132992",
"text": "@Override\n\tpublic List<Activity> searchActivityFromNow() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "0a11d4abcdb397b3307e909e3e4a20ef",
"score": "0.6084298",
"text": "private void getConversationListFromDB(){\n\t\tdao.open();\n\t\tconversations = dao.getAllOpenConversationsList(controller.getCurrentUser().getMail());\n\t\tdao.close();\n\t}",
"title": ""
},
{
"docid": "3a2ba774c9d08aad817285202dd03e22",
"score": "0.60842663",
"text": "public List<CourseReport> getAllActiveCourseDetails();",
"title": ""
},
{
"docid": "ec3db95522e5fcbd30cb75eac540c689",
"score": "0.60461223",
"text": "@Test\n public void getActivitiesTest() throws ApiException {\n Integer id = null;\n Integer startAt = null;\n Integer maxResults = null;\n List<String> include = null;\n ActivityDataListWrapper response = api.getActivities(id, startAt, maxResults, include);\n\n // TODO: test validations\n }",
"title": ""
},
{
"docid": "faf767aea1407a87e02d61a11da6e7f9",
"score": "0.60315925",
"text": "public List<Course> getAllActiveCourses();",
"title": ""
},
{
"docid": "9ccf7bea077544e66c18b2540e755ef1",
"score": "0.6031261",
"text": "List<EquipmentActivityDTO> findAll();",
"title": ""
},
{
"docid": "748845415f0510bddbf1919885b0327d",
"score": "0.5997153",
"text": "@Query(\"SELECT * FROM task_table WHERE status_column = 1\")\n LiveData<List<Task>> getActiveTasks();",
"title": ""
},
{
"docid": "2cf8fb69e90dd9934e69eda982814809",
"score": "0.5992027",
"text": "@Override\n\tpublic List<Announcement> getAllSessionAnnouncements(){\n\t\treturn executeTransaction(new Transaction<List<Announcement>>() {\n\t\t\t@Override\n\t\t\tpublic List<Announcement> execute(Connection conn) throws SQLException {\n\t\t\t\tPreparedStatement stmt = null;\n\t\t\t\tResultSet resultSet = null;\n\t\t\t\tList<Announcement> result;\n\t\t\t\ttry {\n\t\t\t\t\tstmt = conn.prepareStatement(\n\t\t\t\t\t\t\"select announcements.* \"+\n\t\t\t\t\t\t\"from Announcements \"+\n\t\t\t\t\t\t\"where announcementType = ?\" +\n\t\t\t\t\t\t\"order by Announcements.date asc \"\n\t\t\t\t\t);\n\t\t\t\t\tstmt.setInt(1, 1);\n\t\t\t\t\tresultSet = stmt.executeQuery();\n\t\t\t\t\tresult = new ArrayList<Announcement>();\n\t\t\t\t\t\t\t\n\t\t\t\t\twhile(resultSet.next()) {\n\t\t\t\t\t\tAnnouncement announcement = new Announcement();\n\t\t\t\t\t\tloadAnnouncement(announcement, resultSet, 1);\n\t\t\t\t\t\tresult.add(announcement);\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t\tfinally {\n\t\t\t\t\tDBUtil.closeQuietly(stmt);\n\t\t\t\t\tDBUtil.closeQuietly(resultSet);\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t});\n\t}",
"title": ""
},
{
"docid": "71fb516975d90eb8e43f0df477b5d3f2",
"score": "0.59520227",
"text": "public Cursor getAllEntries()\n {\n SQLiteDatabase db = this.getWritableDatabase();\n return db.query(TABLE_NAME, // table\n new String[] {\n KEY_ROWID,\n //KEY_UUID,\n KEY_URLADDRESS,\n KEY_URLTITLE,\n KEY_LEARNING,\n KEY_TIMESTAMP,\n KEY_TIMESPENT}, // columns\n null, // selection\n null, // selectionArgs\n null, // groupBy\n null, // having\n KEY_ROWID +\" DESC\" // orderBy\n );\n\n }",
"title": ""
},
{
"docid": "18f8fa51a1e506dbd83a8d27284dcb54",
"score": "0.59444696",
"text": "public List<ActivityEntity> GetAllPlans(String activity);",
"title": ""
},
{
"docid": "188ecbc5c16e402a41ec0067627da3c6",
"score": "0.59311",
"text": "public List<OrcidHistory> findAll(Context context) throws SQLException;",
"title": ""
},
{
"docid": "e448973253b16153d9c26cf1553ff146",
"score": "0.5914187",
"text": "public List<Activity> findUserActivities(Integer userID) {\n List<Activity> activities = em.createNamedQuery(\"Activity.findActivitiesByUserID\")\n .setParameter(\"userID\", userID)\n .getResultList();\n\n return activities; \n }",
"title": ""
},
{
"docid": "75f236927882af7dc4d0c8d50de8d11a",
"score": "0.5906434",
"text": "public Cursor getAll() {\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor res = db.rawQuery(\"SELECT \" + TASKS_COLUMN_NAME + \" FROM \" + TASKS_TABLE_NAME, null);\n return res;\n }",
"title": ""
},
{
"docid": "509d9fe071cdaec43f697dbe58b79d0f",
"score": "0.5879374",
"text": "private Cursor getEvents() {\n SQLiteDatabase db = events.getReadableDatabase();\n Cursor cursor = db.query(TABLE_NAME, FROM, null, null, null, null, ORDER_BY);\n return cursor;\n }",
"title": ""
},
{
"docid": "4f56a883b6a5816c78b3b2ed1ff7b81e",
"score": "0.58735824",
"text": "public static List<Result> getAllResultsFromDb (MainActivity activity) {\n Cursor c = activity.getDb().rawQuery(\"SELECT * FROM \" + MainActivity.TABLE_NAME +\" ORDER BY date desc LIMIT 20\", null);\n\n int dateColumn = c.getColumnIndex(\"date\");\n int levelColumn = c.getColumnIndex(\"level\");\n int scoreColumn = c.getColumnIndex(\"score\");\n\n List<Result> results = null;\n\n // Check if our result was valid.\n c.moveToFirst();\n if (c.getCount() != 0) {\n results = new ArrayList<>();\n // Loop through all Results\n do {\n results.add(new Result(c.getString(dateColumn), c.getInt(levelColumn), c.getInt(scoreColumn)));\n }while(c.moveToNext());\n }\n return results;\n }",
"title": ""
},
{
"docid": "eb1bad5502024692294db27459a70aeb",
"score": "0.5859349",
"text": "@Override\n\t\t@Transactional\n\t\tpublic List<Appointment> findAll() {\n\t\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\t\n\t\t\t// create a query\n\t\t\tQuery<Appointment> theQuery =\n\t\t\t\t\tcurrentSession.createQuery(\"from Appointment\", Appointment.class);\n\t\t\t\n\t\t\t// execute query and get result list\n\t\t\tList<Appointment> appointments = theQuery.getResultList();\n\t\t\t\n\t\t\t// return the results\t\t\n\t\t\treturn appointments;\n\t\t}",
"title": ""
},
{
"docid": "573a703a2120ed27b3475097340184d9",
"score": "0.585843",
"text": "@Transactional(readOnly = true)\n public List<Appointment> findAll() {\n log.debug(\"Request to get all Appointments\");\n return appointmentRepository.findAll();\n }",
"title": ""
},
{
"docid": "c40e5167f2f86770a6e514960d15603a",
"score": "0.5857692",
"text": "Collection<ActivityRecoveryDAO> getActivityRecoveries();",
"title": ""
},
{
"docid": "9691a1769be2663638f233e61f098850",
"score": "0.5857273",
"text": "@Override\n\tpublic List<Announcement> getAllAnnouncements(){\n\t\treturn executeTransaction(new Transaction<List<Announcement>>() {\n\t\t\t@Override\n\t\t\tpublic List<Announcement> execute(Connection conn) throws SQLException {\n\t\t\t\tPreparedStatement stmt = null;\n\t\t\t\tResultSet resultSet = null;\n\t\t\t\tList<Announcement> result;\n\t\t\t\ttry {\n\t\t\t\t\tstmt = conn.prepareStatement(\n\t\t\t\t\t\t\"select announcements.* \"+\n\t\t\t\t\t\"from Announcements \"+\n\t\t\t\t\t\"order by Announcements.date asc \"\n\t\t\t\t\t);\n\t\t\t\t\t\n\t\t\t\t\tresultSet = stmt.executeQuery();\n\t\t\t\t\tresult = new ArrayList<Announcement>();\n\t\t\t\t\n\t\t\t\t\twhile(resultSet.next()) {\n\t\t\t\t\t\tAnnouncement announcement = new Announcement();\n\t\t\t\t\t\tloadAnnouncement(announcement, resultSet, 1);\n\t\t\t\t\t\tresult.add(announcement);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tfinally {\n\t\t\t\t\tDBUtil.closeQuietly(stmt);\n\t\t\t\t\tDBUtil.closeQuietly(resultSet);\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t});\n\t}",
"title": ""
},
{
"docid": "e249f699c684f86a765219c95c811181",
"score": "0.5851372",
"text": "@Override\n public Collection<Gym> getGymsActivitiesById(int g_id) {\n final String sql = \"SELECT gym.G_id, group_concat(activities.activity separator ', ') as activity from gym \" +\n \"JOIN gym_activity on gym.g_id=gym_activity.g_id \" +\n \"JOIN activities on gym_activity.a_id=activities.a_id \" +\n \"where gym.g_id=? \" +\n \"group by gym.G_id\";\n\n List<Gym> gym = jdbcTemplate.query(sql, new RowMapper<Gym>() {\n @Override\n public Gym mapRow(ResultSet rs, int i) throws SQLException {\n Gym gym = new Gym();\n\n gym.setG_id(rs.getInt(\"g_id\"));\n\n gym.setActivity(rs.getString(\"activity\"));\n return gym;\n }\n }, g_id);\n\n return gym;\n }",
"title": ""
},
{
"docid": "46da04463a2d553c199f94f3b02f9a1c",
"score": "0.5840306",
"text": "public Activity getAllActivities(String selectQuery ){\n SQLiteDatabase db = this.getReadableDatabase();\n\n Log.e(\"LocationService\", \"ActivityDBHelper : getAllActivities : Request = \"+selectQuery);\n\n Cursor cursor = db.rawQuery(selectQuery, null);\n\n Activity activity = new Activity();\n // 2. if we got results get the first one\n if( cursor != null && cursor.moveToFirst() ){\n\n Log.e(\"LocationService\", \"Voila ce qui est recupe : \"+cursor.isNull(0));\n // 3. build book object\n cursor.getInt(cursor.getColumnIndex(\"_id\"));\n\n /* activity.setActivityId(cursor.getInt(cursor.getColumnIndex(\"activity_id\")));\n activity.setLatitude(cursor.getDouble(cursor.getColumnIndex(\"latitude\")));\n activity.setLongitude(cursor.getDouble(cursor.getColumnIndex(\"longitude\")));\n activity.setRegion(cursor.getInt(cursor.getColumnIndex(\"region\")));\n activity.setActivityName(cursor.getString(cursor.getColumnIndex(\"activity_name\")));\n activity.setStartTime(cursor.getString(cursor.getColumnIndex(\"start_time\")));\n activity.setStartTime(cursor.getString(cursor.getColumnIndex(\"end_time\")));\n activity.setTime(cursor.getString(cursor.getColumnIndex(\"time\")));\n activity.setDistance(cursor.getDouble(cursor.getColumnIndex(\"distance\")));\n activity.setElevation(cursor.getDouble(cursor.getColumnIndex(\"elevation\")));*/\n }\n\n\n\n\n cursor.close();\n// db.close();\n return activity;\n }",
"title": ""
},
{
"docid": "0af5748921868c8a88b5d05e08712b9b",
"score": "0.58289284",
"text": "public List<Activity> showActivities() throws Exception {\n if (activities.isEmpty()) {\n throw new Exception(\"You are assigned to no activities\");\n } else {\n return activities;\n }\n }",
"title": ""
},
{
"docid": "8f1c6368f9bf1fa69a6af18eab468384",
"score": "0.5828349",
"text": "public List<Counter> getActiveCounters() {\n\t\tSQLiteDatabase db = this.getReadableDatabase();\n\n\t\tCursor cursor = db.rawQuery(SQL_GET_ACTIVE, null);\n\n\t\treturn list(cursor);\n\t}",
"title": ""
},
{
"docid": "d63c524c81b1381f75e0b8ac604ad71c",
"score": "0.5818498",
"text": "public List<AudittrailVO> getAll();",
"title": ""
},
{
"docid": "1a64265b9d18c85190df0ecc06d66b30",
"score": "0.58138204",
"text": "public List<DbQuery> getAll(){\n //return savedQueries;\n List<DbQuery> dbQueries = new ArrayList<>();\n dbQueryRepository.findAll().forEach(dbQueries::add);\n return dbQueries;\n }",
"title": ""
},
{
"docid": "b8eb733230d5602c37f5d48351aaf1a3",
"score": "0.58136475",
"text": "public ArrayList<ExerciseEntry> queryAll() {\n ArrayList<ExerciseEntry> arrayList = new ArrayList<ExerciseEntry>();\n Cursor cursor = mDatabase.query(\n MySQLOpenHelper.TABLE_NAME,\n allColumns,\n null, null, null, null, null);\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n ExerciseEntry entry = cursorToEntry(cursor);\n arrayList.add(entry);\n cursor.moveToNext();\n }\n return arrayList;\n }",
"title": ""
},
{
"docid": "bbd379a66ea84a27b687a64e387096fb",
"score": "0.58103704",
"text": "public Cursor selectAll(){\n SQLiteDatabase db = new DBHelper(context).getReadableDB();\n Cursor cursor = null;\n try{\n db.beginTransaction();\n String query = \"SELECT * FROM\" +\n \" \"+ Constants.config.TABLE_DISTRICT+\" ORDER BY \"+Constants.config.DISTRICT_NAME+\" ASC \";\n cursor = db.rawQuery(query,null);\n db.setTransactionSuccessful();\n }catch (Exception e){\n e.printStackTrace();\n }finally {\n db.endTransaction();\n }\n return cursor;\n }",
"title": ""
},
{
"docid": "a9fcd77fe1c03e6c8fd82e4cd63876c1",
"score": "0.57957625",
"text": "@RequestMapping(method = RequestMethod.GET)\n public Collection<ScheduledRetrieval> pending() {\n return accessLogRetriever.getAllRetrievals();\n }",
"title": ""
},
{
"docid": "e29f708dd20555417dcb753f48709501",
"score": "0.5792959",
"text": "List<Catelog> selectAll();",
"title": ""
},
{
"docid": "f4df3ebad8a57f263a1d3d29fc85cd9f",
"score": "0.578265",
"text": "List<UserThread> getAll();",
"title": ""
},
{
"docid": "99486cfa196598675eec6469fd076ef8",
"score": "0.5780488",
"text": "public List<Actividad> actividadesDisponibles(){\n\t\tList<Actividad> disponibles = new ArrayList<Actividad>();\n\t\tPasaje pasaje = pasajeDao.findById(pasajeId);\n\t\tDate ida = pasaje.getFechaPartida();\n\t\tDate vuelta = pasaje.getFechaRegreso();\n\t\tfor(Actividad a: actividades) {\n\t\t\tDate diaAct = a.getFechaActividad();\n\t\t\tif(diaAct.after(ida) && diaAct.before(vuelta)) {\n\t\t\t\tdisponibles.add(a);\n\t\t\t}\n\t\t}\n\t\treturn disponibles;\n\t}",
"title": ""
},
{
"docid": "e58493f9fc74c53a1fd203a30126fea4",
"score": "0.5774469",
"text": "@Query(\"SELECT * FROM task_table WHERE status_column = 0\")\n LiveData<List<Task>> getInactiveTasks();",
"title": ""
},
{
"docid": "3f4873baf36a38696f5116c27338954b",
"score": "0.5762318",
"text": "List<Serie> getAllInDatabase();",
"title": ""
},
{
"docid": "a497800c232b55ea53b3c5959afd6510",
"score": "0.5760248",
"text": "public List<java.lang.Object> getAll() {\n\t\tfinal List<java.lang.Object> entities = new ArrayList<java.lang.Object>();\n\t\texecuteInTransaction(new ICommand() {\n\t\t\t\n\t\t\tpublic void execute(IDBOperations operations) {\n\t\t\t\tentities.addAll(operations.getAllUsuarios());\n\t\t\t\tentities.addAll(operations.getAllLivros());\n\t\t\t\tentities.addAll(operations.getAllPaginas());\n\t\t\t\tentities.addAll(operations.getAllProcessos());\n\t\t\t\tentities.addAll(operations.getAllRequerentes());\n\t\t\t\tentities.addAll(operations.getAllRequeridos());\n\t\t\t\tentities.addAll(operations.getAllInqueritoSocials());\n\t\t\t\tentities.addAll(operations.getAllLogs());\n\t\t\t}\n\t\t});\n\t\treturn entities;\n\t}",
"title": ""
},
{
"docid": "e361f0062b7b8a8fb5a1102c4e12aa0f",
"score": "0.5760045",
"text": "private static ArrayList<ActivityTemp> findAllActivity (String name)\r\n {\r\n\r\n ArrayList<ActivityTemp> result = new ArrayList<ActivityTemp>();\r\n\r\n for (int i = 0; i < tempActivities.size(); i++)\r\n if (tempActivities.get(i).getName().contains(name))\r\n result.add(tempActivities.get(i));\r\n\r\n return result;\r\n }",
"title": ""
},
{
"docid": "08e4095921bb87f81480c6843555019b",
"score": "0.5752709",
"text": "public ArrayList<ToDo1> getDBTasks()\n\t{\n\t\tlogger.info(\"# of tasks {}\", taskRepository.count());\n\t\t\n\t\tIterable <ToDo1> todoTasks = taskRepository.findAll();\n\t\tIterator <ToDo1> iterator = todoTasks.iterator();\n\t\tArrayList<ToDo1> todoList = new ArrayList<ToDo1>();\n\t\twhile (iterator.hasNext())\n\t\t{\n\t\t\t//gives the info in the console of the iterable list from the task table in mysql\n\t\t\t//logger.info(\"{}\", iterator.next().toString());\n\t\t\t//logger.info(\"# of tasks {}\", taskRepository.count());\n\t\t\ttodoList.add(iterator.next());\n\t\t\t\n\t\t}\n\t\t//returns todoList from mysql task table\t\t\t\n\t\treturn todoList;\n\t}",
"title": ""
},
{
"docid": "37d4bf757c14e664e54c27b0c2e2ec1e",
"score": "0.5751494",
"text": "public Cursor fetchAllEntriesBasic() {\n\t\treturn ourDatabase.query(DATABASE_TABLE, new String[] { KEY_ROWID,\n\t\t\t\tKEY_DATE, KEY_ACTIVITY, KEY_DISTANCE, KEY_COMMENTS }, null,\n\t\t\t\tnull, null, null, null);\n\t}",
"title": ""
},
{
"docid": "9c5a66651cebc32bcc75772c356128b5",
"score": "0.5742335",
"text": "@java.lang.Override\n public java.util.List<FollowersPlus.PBTaskContentFetchAccountActivities.Activity> getActivitiesList() {\n return activities_;\n }",
"title": ""
},
{
"docid": "c642cf802bd81159788c787e4cfef748",
"score": "0.5740575",
"text": "public List<T> getAllData(Integer isActive) {\r\n Criteria criteria = getCurrentSession().createCriteria(getEntityClass());\r\n criteria.add(Restrictions.isNotNull(\"id\"));\r\n cekIsActive(criteria, isActive);\r\n return (List<T>) criteria.list();\r\n }",
"title": ""
},
{
"docid": "62170d86424266ddeaed38311623e57f",
"score": "0.5738835",
"text": "public ArrayList<Appointment> dbAllAppointments() {\n // create the list\n ArrayList<Appointment> appointments = new ArrayList();\n \n try{\n // connect to the database\n Connection connection = DBConnection.getConnection();\n Statement statement = connection.createStatement();\n // sql string to execute\n String sql = \"Select appointmentId, customerId, customerName, userId, type, start, end, contact, location\"\n + \" FROM appointment INNER JOIN customer Using (customerId) ORDER BY start\";\n // query results\n ResultSet results = statement.executeQuery(sql);\n // create appointment objects and add to the list\n while(results.next()){\n \n Appointment appointment = new Appointment();\n appointment.setCustomerName(results.getString(\"customerName\"));\n appointment.setAppointmentId(results.getInt(\"appointmentId\"));\n appointment.setCustomerId(results.getInt(\"customerId\"));\n appointment.setUserId(results.getInt(\"userId\"));\n appointment.setType(results.getString(\"type\"));\n String convertedTime = appointmentZonedTimeFromUtc(results.getString(\"start\"));\n appointment.setLocation(results.getString(\"location\"));\n appointment.setStart(convertedTime);\n String convertedEndTime = appointmentZonedTimeFromUtc(results.getString(\"end\"));\n appointment.setEnd(convertedEndTime);\n appointment.setContact(results.getString(\"contact\"));\n // add the appointment to the list\n appointments.add(appointment); \n }\n // catch sql exception and alert the user of an error \n }catch(SQLException e){\n Alert alert = new Alert(Alert.AlertType.ERROR, \"Error retrieving appoinments\");\n alert.showAndWait();\n }\n return appointments;\n }",
"title": ""
},
{
"docid": "96795fe4e783089a5d6d13a38a38506b",
"score": "0.5738606",
"text": "List<Campaign> getAllCampaigns();",
"title": ""
},
{
"docid": "77ec82f768480719b16bddc63ae512b9",
"score": "0.57352644",
"text": "public List<Object> getAll(){\r\n return iDAO.getAll();\r\n }",
"title": ""
},
{
"docid": "193573ef805c6deb2ed70b5be3aebea3",
"score": "0.572941",
"text": "public Cursor getAllData() {\n return myDataBase.query(\"beachList.db\", null, null, null, null, null, null);\n }",
"title": ""
},
{
"docid": "c4f5c8833f1eeba6853ceb78e51394ea",
"score": "0.5729321",
"text": "public ArrayList<Recording> fetchRecordings() {\n //get readable database\n SQLiteDatabase database = this.getReadableDatabase();\n\n ArrayList<Recording> alarms = new ArrayList<Recording>();\n\n //get a cursor for the table\n Cursor cursor = database.query(this.ENTRIES,\n this.totalColumns, null, null, null, null, null);\n\n //move the cursor over the items starting at the top\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n //for each item create a new recording\n Recording tempRecording = getRecordingFromCursor(cursor);\n alarms.add(tempRecording);\n cursor.moveToNext();\n }\n // close the cursor and database\n cursor.close();\n database.close();\n return alarms;\n }",
"title": ""
},
{
"docid": "58452f5dbb5bc41438e778e654aef9f0",
"score": "0.5729006",
"text": "public ArrayList<String> getActiveNames() {\n SQLiteDatabase db = this.getReadableDatabase();\n ArrayList<String> taskNames = new ArrayList<String>();\n Cursor res = db.rawQuery(\"SELECT \" + TASKS_COLUMN_NAME + \" FROM \" + TASKS_TABLE_NAME + \" WHERE \" + TASKS_COLUMN_ACTIVE + \" = 1\", null);\n for (int i = 0; i < res.getCount(); i++) {\n res.moveToPosition(i);\n String string = res.getString(res.getColumnIndex(\"name\"));\n taskNames.add(string);\n }\n return taskNames;\n }",
"title": ""
},
{
"docid": "e0d84917ab308d3ceb0e66d08c378c68",
"score": "0.5718696",
"text": "public ObservableList<Activity> getObservableActivityList() {\n return this.observableActivityList;\n }",
"title": ""
},
{
"docid": "1b70c6703d641f7b5d9deefd96848baf",
"score": "0.5706226",
"text": "public Set<Film> getAll() {\n\n // Create connection with database\n Connection connection = databaseConnector.getConnection();\n Set<Film> films = new HashSet<>();\n\n try {\n // Form SQL query to search for films\n String query = \"SELECT *\\n\" +\n \"FROM Film\\n\" +\n \"JOIN Program ON Film.programId = Program.programId;\";\n\n // Create statement used to execute the query\n Statement statement = connection.createStatement();\n\n // Execute the query. After executing a Resultset will be stored in this variable\n ResultSet resultSet = statement.executeQuery(query);\n\n while (resultSet.next()) {\n int filmId = resultSet.getInt(\"filmId\");\n int programId = resultSet.getInt(\"programId\");\n String title = resultSet.getString(\"title\");\n double duration = resultSet.getInt(\"duration\");\n String genre = resultSet.getString(\"genre\");\n String languae = resultSet.getString(\"filmLanguage\");\n int age = resultSet.getInt(\"age\");\n\n films.add(new Film(filmId, programId, title, duration, genre, languae, age));\n }\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (connection != null) try {\n connection.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n return films;\n }",
"title": ""
},
{
"docid": "7c5f7483caba6e65a618ffd8c0a7c0a3",
"score": "0.5686746",
"text": "public List getActivity() throws TorqueException \n {\n return getActivity(false, getHistoryLimit());\n }",
"title": ""
},
{
"docid": "9fead7ec7788094c45c8438ce1de6810",
"score": "0.5684305",
"text": "@Override\r\n\tpublic List<Appointment> getAllAppointments() {\r\n\t\t\tList<Appointment> appointmentlist=entityManager.createQuery(\"Select appointment From Appointment appointment\",Appointment.class).getResultList();\r\n\t\treturn appointmentlist;\r\n\t}",
"title": ""
},
{
"docid": "7052a9e84958078119e169300fd42151",
"score": "0.56782115",
"text": "public static LiveData<List<Task>> getAllTasks() {\n return taskDao.getAll();\n }",
"title": ""
},
{
"docid": "e1a76d43047b466f09d173f2cc8a2cc4",
"score": "0.5677511",
"text": "@Override\r\n\tpublic ArrayList<Community> getAll() {\n\t\tdao = sqlSession.getMapper(CommDao.class);\r\n\t\treturn dao.selectAll();\r\n\t}",
"title": ""
},
{
"docid": "4ef14dc229793266d4624f8f4035f72e",
"score": "0.5666514",
"text": "public Cursor fetchAllEntries() {\n \tString[] projection = new String[] {KEY_FEED_ROWID, RSS_ID, FEED_TITLE, FEED_DATE, FEED_DESCRIPTION, FEED_LINK, FEED_IMAGE_LINK1};\n \tString restrict = null; // Get all entries\n return db.query(DATABASE_FEED_TABLE, projection, restrict, null, null, null, null);\n }",
"title": ""
},
{
"docid": "d3ff8b3a45bbc813059fb6ff63322fc6",
"score": "0.56625956",
"text": "@java.lang.Override\n public java.util.List<FollowersPlus.PBTaskContentFetchAccountActivities.Activity> getActivitiesList() {\n return java.util.Collections.unmodifiableList(\n instance.getActivitiesList());\n }",
"title": ""
},
{
"docid": "3a156a6968e30c357247e8611d289485",
"score": "0.566047",
"text": "List<Project> findAllActive();",
"title": ""
},
{
"docid": "2d35117534a57d66bc2f35ccb8d56df3",
"score": "0.5656089",
"text": "private void loadInfoFromDatabase(SQLiteDatabase db) {\n String querySelection = DnemDatabase.Activity.T_NAME + \".\" + DnemDatabase.Activity._ID + \" = ?\";\n String[] querySelectionArgs = {\n \"\" + id\n };\n Cursor cursor = db.query(\n DnemDbHelper.activitiesJoinTable,\n DnemDbHelper.activitiesProjection,\n querySelection,\n querySelectionArgs,\n DnemDbHelper.activitiesGroupBy,\n null,\n DnemDbHelper.activitiesOrderBy\n );\n\n cursor.moveToNext();\n\n int labelIndex = cursor.getColumnIndex(DnemDatabase.Activity.C_LABEL);\n int detailsIndex = cursor.getColumnIndex(DnemDatabase.Activity.C_DETAILS);\n int isActiveIndex = cursor.getColumnIndex(DnemDatabase.Schedule.C_IS_ACTIVE);\n int allowStarsIndex = cursor.getColumnIndex(DnemDatabase.Schedule.C_ALLOW_STARS);\n int weekendsOnIndex = cursor.getColumnIndex(DnemDatabase.Schedule.C_WEEKENDS_ON);\n\n this.label = cursor.getString(labelIndex);\n this.details = cursor.getString(detailsIndex);\n this.isActive = cursor.getInt(isActiveIndex) > 0;\n this.allowStars = cursor.getInt(allowStarsIndex) > 0;\n this.weekendsOn = cursor.getInt(weekendsOnIndex) > 0;\n\n cursor.close();\n }",
"title": ""
},
{
"docid": "d4710ee934422092fb2d705b0d2807f6",
"score": "0.56555855",
"text": "@java.lang.Override\n public FollowersPlus.PBTaskContentFetchAccountActivities.Activity getActivities(int index) {\n return activities_.get(index);\n }",
"title": ""
},
{
"docid": "83323df86df922f6d8fff348d492a4eb",
"score": "0.5644502",
"text": "private List getActivity(boolean fullHistory, int limit) throws TorqueException \n {\n List result = null;\n Boolean fullHistoryObj = fullHistory ? Boolean.TRUE : Boolean.FALSE;\n Object obj = getCachedObject(GET_ACTIVITY, fullHistoryObj,\n new Integer(limit)); \n if (obj == null)\n {\n Criteria crit = new Criteria()\n .add(ActivityPeer.ISSUE_ID, getIssueId())\n .addAscendingOrderByColumn(ActivityPeer.TRANSACTION_ID);\n if (!fullHistory)\n {\n crit.setLimit(limit);\n }\n result = ActivityPeer.doSelect(crit);\n putCachedObject(result, GET_ACTIVITY, \n fullHistoryObj, new Integer(limit));\n }\n else \n {\n result = (List)obj;\n }\n return result;\n }",
"title": ""
},
{
"docid": "90400487e109788744851251a993f5dc",
"score": "0.5641112",
"text": "List<ActivityResponse> getAllActivityByClient(Client client) throws BaseException;",
"title": ""
},
{
"docid": "593d64a956d1b7f9028277c810aa27b1",
"score": "0.56382143",
"text": "public ArrayList<ABET> getAllCurrentABET() {\r\n\t\tArrayList<ABET> ABETList = new ArrayList<>();\r\n\t\ttry {\r\n\t\t\tResultSet RS = db.getAllCurrentABET();\r\n\t\t\twhile (RS.next()) {\r\n\t\t\t\tABET newABET = builder.buildABET(RS);\r\n\t\t\t\tABETList.add(newABET);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn ABETList;\r\n\t}",
"title": ""
},
{
"docid": "a750bc99747cfcefd320a2451155cf8a",
"score": "0.5635448",
"text": "@Override\r\n\tpublic List<Visite> getAllVisite() {\r\n\t\tSession s=sf.getCurrentSession();\r\n\t\tString req=\"from Visite\";\r\n\t\tQuery query=s.createQuery(req);\r\n\t\treturn query.list();\r\n\t}",
"title": ""
},
{
"docid": "6931cb59843be2ade37dae5e5278f7c4",
"score": "0.5634401",
"text": "@java.lang.Override\n public int getActivitiesCount() {\n return activities_.size();\n }",
"title": ""
},
{
"docid": "99400df35e596bc8c5d978340c73c58e",
"score": "0.56326944",
"text": "java.util.List<FollowersPlus.PBTaskContentFetchAccountActivities.Activity> \n getActivitiesList();",
"title": ""
},
{
"docid": "65ef4aef3e94d621ebc16925315b611b",
"score": "0.5628789",
"text": "public Integer findByAll(ActivityVo activityVo){\n try {\n return ((ActivityService)service).findByAll(activityVo, em);\n } finally {\n if (em != null) {\n em.clear();\n em.close();\n }\n }\n }",
"title": ""
},
{
"docid": "4f5136afc87ceafb6fa012d7b7ec9d0e",
"score": "0.56279576",
"text": "public List<Account> loadAccounts() {\n final TypedQuery<Account> accountQuery = entityManager.createQuery(\"from \" + Account.class.getSimpleName() + \" where active = \" + AccountActive.ACTIVE, Account.class);\n return accountQuery.getResultList();\n }",
"title": ""
},
{
"docid": "223d587dcb805a8da3180caee1be8b67",
"score": "0.56238997",
"text": "@GetMapping(\"/intentions\")\n @Timed\n public List<IntentionDTO> getAllIntentions() {\n log.debug(\"REST request to get all Intentions\");\n return intentionService.findAll();\n }",
"title": ""
},
{
"docid": "2ea6f63fae01d9aeac020f03936384d8",
"score": "0.56193197",
"text": "public List<T> getAllEntries() {\n List<T> entries = new ArrayList<T>();\n Cursor cursor = database.query(tableName, allColumns, null, null, null, null, null);\n\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n T entry = cursorToEntry(cursor);\n entries.add(entry);\n cursor.moveToNext();\n }\n cursor.close();\n return entries;\n }",
"title": ""
},
{
"docid": "3aba985da832cd0323bde1062b9dce16",
"score": "0.5615984",
"text": "public Collection<Activity> getGoalActivities() {\n\t\tCollection<Activity> activities = new ArrayList<>();\n\t\tfor (Goal g : goals) {\n\t\t\tactivities.add(g.getGoalActivity());\n\t\t}\n\t\treturn activities;\n\t}",
"title": ""
},
{
"docid": "750ba8449f0f614446c99c757d62e4ea",
"score": "0.56056726",
"text": "@GetMapping(\"/attractions\")\n @Timed\n public List<Attraction> getAllAttractions() {\n log.debug(\"REST request to get all Attractions\");\n return attractionService.findAll();\n }",
"title": ""
},
{
"docid": "7eae63d7bc2d820f2d91ce45c770b93f",
"score": "0.5604174",
"text": "public Cursor fetchAllEcgRecords() {\n SQLiteDatabase db = this.getWritableDatabase();\n\n Cursor mCursor = db.query(TABLE_ECG_RECORDING, new String[]{KEY_ECG_ID,\n KEY_ECG_USER_ID, KEY_ECG_NAME, KEY_ECG_TIME, KEY_ECG_URL},\n null, null, null, null, null);\n\n if (mCursor != null) {\n mCursor.moveToFirst();\n }\n return mCursor;\n }",
"title": ""
},
{
"docid": "a6992755165f04ec9ccb225ee91ef979",
"score": "0.56016",
"text": "public List<ActividadesEspecificas> getActividadesList() {\n if(!carga){\n carga = true;\n HttpSession session = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false);\n actividadesList = actividadesFacade.findByGrupo((String)session.getAttribute(\"paso1\"));\n }\n return actividadesList;\n }",
"title": ""
},
{
"docid": "ef3cc8c67d198417ed0cbba968f921f9",
"score": "0.55941856",
"text": "public List<Activity> getByUserId(int userId) {\n Query query = currentSession.createQuery(\"FROM Activity where user_id=:userId\");\n query.setParameter(\"userId\", userId);\n return selectList(query);\n }",
"title": ""
},
{
"docid": "dbcb88f50036766475cc5b22e10144ef",
"score": "0.55927074",
"text": "public ArrayList<Movie> getAllTrackingMovies() {\n\t\tArrayList<Movie> movies = new ArrayList<Movie>();\n\t Cursor cursor = database.query(DATABASE_TABLE, columns, KEY_TRACKED + \" = 1\", null, null, null, null);\n\t cursor.moveToFirst();\n\t while (!cursor.isAfterLast()) {\n\t\t\tMovie movie = cursorToMovie(cursor);\n\t\t\tmovies.add(movie);\n\t\t\tcursor.moveToNext();\n\t }\n\t cursor.close();\n\t //System.out.println(\"returning tracked movies\");\n\t return movies;\n\t }",
"title": ""
},
{
"docid": "1a1a2a04cfa478f9f4c2a3db148f8820",
"score": "0.55902547",
"text": "@SuppressWarnings(\"unchecked\")\n\tpublic List<Encounter> getAll() {\n try {\n List<Encounter> instance = (List<Encounter>) entityManager.createQuery(\"SELECT a FROM Encounter a\").getResultList();\n log.debug(\"get successful\");\n return instance;\n } catch (RuntimeException re) {\n log.error(\"get failed\", re);\n throw re;\n }\n }",
"title": ""
},
{
"docid": "63f7968759df92896252c5cef57363ea",
"score": "0.5585114",
"text": "public List<String> getListaIdNodosActivos(){\t\t\t\t\n\t\treturn(this.motor.getRuntimeService().getActiveActivityIds(this.processInstance.getProcessInstanceId()));\n\t}",
"title": ""
},
{
"docid": "6e56bbf5e36cc436497aeb3f619048e5",
"score": "0.5580115",
"text": "public static List<TasksLog> retrieveTasksLog() {\n Connection conn = null;\n PreparedStatement stmt = null;\n ResultSet rs = null;\n List<TasksLog> results = new ArrayList<>();\n\n try {\n conn = ConnectionManager.getConnection();\n\n String sql = \"SELECT taskLogID, taskID, taskDate, taskOwner, priority, orderID, taskDeadline, taskProcessStatus, taskDescription, taskComments, actionType, userType, username, timestamp FROM \" + TBLNAME;\n stmt = conn.prepareStatement(sql);\n\n rs = stmt.executeQuery();\n\n while (rs.next()) {\n //Retrieve by column name\n String taskLogID = rs.getString(\"taskLogID\");\n String taskID = rs.getString(\"taskID\");\n Date taskDate = rs.getDate(\"taskDate\");\n String taskOwner = rs.getString(\"taskOwner\");\n String taskPriority = rs.getString(\"priority\");\n String orderID = rs.getString(\"orderID\");\n Date taskDeadline = rs.getDate(\"taskDeadline\");\n String taskProcessStatus = rs.getString(\"taskProcessStatus\");\n String taskDescription = rs.getString(\"taskDescription\");\n String taskComments = rs.getString(\"taskComments\");\n String actionType = rs.getString(\"actionType\");\n String userType = rs.getString(\"userType\");\n String username = rs.getString(\"username\");\n Timestamp timestamp = rs.getTimestamp(\"timestamp\");\n\n TasksLog obj = new TasksLog(taskLogID, taskID, taskDate, taskOwner, taskPriority, orderID, taskDeadline, taskProcessStatus, taskDescription, taskComments, actionType, userType, username, timestamp);\n results.add(obj);\n }\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n } finally {\n ConnectionManager.close(conn, stmt, rs);\n\n }\n return results;\n }",
"title": ""
},
{
"docid": "275965781db7fe96ad5b69e4632a978c",
"score": "0.5579106",
"text": "public ArrayList<Task> getTasks(Context context) {\n dbManager = createDbManager(context);\n ArrayList<Task> result = new ArrayList<>();\n SQLiteDatabase db = dbManager.getReadableDatabase();\n\n Cursor cursor = db.query(\n DbStatements.TABLE_NAME_TASK,\n getProjection(DbStatements.COLUMN_NAME_TITLE, DbStatements._ID),\n null,\n null,\n null,\n null,\n getSortOrder(DbStatements.COLUMN_NAME_TITLE, DbStatements.ASC)\n );\n\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n Task task = Task.fromCursor(cursor);\n populateTaskWithRecords(context, task);\n result.add(task);\n cursor.moveToNext();\n }\n cursor.close();\n db.close();\n\n return result;\n }",
"title": ""
},
{
"docid": "67734adc8c247c6a3cea7a4721852174",
"score": "0.5577638",
"text": "private List getActiveCancerActivities(HttpServletRequest request) {\n \t String cancerActivity = null;\r\n \t List mList = (List) request.getAttribute(ACTIVE_CANCER_ACTIVITIES);\r\n \t if(mList == null) {\r\n CancerActivitiesServiceImpl mCancerActivitiesServiceImpl = new CancerActivitiesServiceImpl(mApplicationContext);\r\n \t mList = mCancerActivitiesServiceImpl.getActiveCancerActivities();\r\n\t request.setAttribute(ACTIVE_CANCER_ACTIVITIES, mList);\r\n\t }\r\n return mList;\r\n }",
"title": ""
},
{
"docid": "077a79069c1cfc4b2f248b821b4d5eba",
"score": "0.5576123",
"text": "public List<com.kylin.activity.databases.tables.pojos.Activity> fetchByStartTime(Timestamp... values) {\n return fetch(Activity.ACTIVITY.START_TIME, values);\n }",
"title": ""
},
{
"docid": "7f1fe8d96d81cd3cb82c5dfe0da00721",
"score": "0.55759376",
"text": "@Override\r\n\tpublic ArrayList<ActivityBooking> getAllActivityBookings(boolean retrieveAssociation) {\r\n\t\treturn miscWhere(\"\", retrieveAssociation);\r\n\t}",
"title": ""
},
{
"docid": "b5bfa2c2f45c33e0e09f3094755724a8",
"score": "0.5573159",
"text": "public List<T> getAllData() {\r\n Criteria criteria = getCurrentSession().createCriteria(getEntityClass());\r\n criteria.add(Restrictions.isNotNull(\"id\"));\r\n return (List<T>) criteria.list();\r\n }",
"title": ""
},
{
"docid": "56ca8fe0c5b3c763469a825a17d04d9b",
"score": "0.5569106",
"text": "public List<com.kylin.activity.databases.tables.pojos.Activity> fetchById(Integer... values) {\n return fetch(Activity.ACTIVITY.ID, values);\n }",
"title": ""
},
{
"docid": "cad21b85d47ddd18f75407de9ab5b37a",
"score": "0.5566867",
"text": "List<ExerciseVisited> findAll();",
"title": ""
},
{
"docid": "cc88a213884d7058814aaf8678a344a6",
"score": "0.55657524",
"text": "TaskActivityGraph getTaskActivities();",
"title": ""
}
] |
c65894cf81e21e16d3239e837f5e56cf | $ANTLR end "rule__ETimeInterval__Group__0__Impl" $ANTLR start "rule__ETimeInterval__Group__1" InternalAADMParser.g:10374:1: rule__ETimeInterval__Group__1 : rule__ETimeInterval__Group__1__Impl ; | [
{
"docid": "17f6222e1eea6a669a4daf1cc08673ba",
"score": "0.79824847",
"text": "public final void rule__ETimeInterval__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10378:1: ( rule__ETimeInterval__Group__1__Impl )\n // InternalAADMParser.g:10379:2: rule__ETimeInterval__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "1ea870fec499cbec0b31f4e65b5f9147",
"score": "0.8011528",
"text": "public final void rule__ETimeInterval__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10389:1: ( ( ( rule__ETimeInterval__Group_1__0 ) ) )\n // InternalAADMParser.g:10390:1: ( ( rule__ETimeInterval__Group_1__0 ) )\n {\n // InternalAADMParser.g:10390:1: ( ( rule__ETimeInterval__Group_1__0 ) )\n // InternalAADMParser.g:10391:2: ( rule__ETimeInterval__Group_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getGroup_1()); \n }\n // InternalAADMParser.g:10392:2: ( rule__ETimeInterval__Group_1__0 )\n // InternalAADMParser.g:10392:3: rule__ETimeInterval__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__Group_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().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": "a32fd5535f9d6e898448382575c2fd38",
"score": "0.7923612",
"text": "public final void rule__ETimeInterval__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10486:1: ( rule__ETimeInterval__Group_1__1__Impl )\n // InternalAADMParser.g:10487:2: rule__ETimeInterval__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "0a788fd3aed17658c24426b68cb55ed6",
"score": "0.7825069",
"text": "public final void rule__ETimeInterval__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10432:1: ( rule__ETimeInterval__Group_0__1__Impl )\n // InternalAADMParser.g:10433:2: rule__ETimeInterval__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "012140595fde952b8e9d0bba232260f3",
"score": "0.7682366",
"text": "public final void rule__ETimeInterval__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10459:1: ( rule__ETimeInterval__Group_1__0__Impl rule__ETimeInterval__Group_1__1 )\n // InternalAADMParser.g:10460:2: rule__ETimeInterval__Group_1__0__Impl rule__ETimeInterval__Group_1__1\n {\n pushFollow(FOLLOW_3);\n rule__ETimeInterval__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "4470eacc4bcebb40a81c24b7c25ad4d3",
"score": "0.75489354",
"text": "public final void rule__ETimeInterval__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10351:1: ( rule__ETimeInterval__Group__0__Impl rule__ETimeInterval__Group__1 )\n // InternalAADMParser.g:10352:2: rule__ETimeInterval__Group__0__Impl rule__ETimeInterval__Group__1\n {\n pushFollow(FOLLOW_38);\n rule__ETimeInterval__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "12f076a029e95bb058077e57818ccf2b",
"score": "0.75370973",
"text": "public final void rule__ETimeInterval__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10363:1: ( ( ( rule__ETimeInterval__Group_0__0 ) ) )\n // InternalAADMParser.g:10364:1: ( ( rule__ETimeInterval__Group_0__0 ) )\n {\n // InternalAADMParser.g:10364:1: ( ( rule__ETimeInterval__Group_0__0 ) )\n // InternalAADMParser.g:10365:2: ( rule__ETimeInterval__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getGroup_0()); \n }\n // InternalAADMParser.g:10366:2: ( rule__ETimeInterval__Group_0__0 )\n // InternalAADMParser.g:10366:3: rule__ETimeInterval__Group_0__0\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().getGroup_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "101031570400ac627bab0f8e30729bfe",
"score": "0.7411953",
"text": "public final void rule__ETimeInterval__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10405:1: ( rule__ETimeInterval__Group_0__0__Impl rule__ETimeInterval__Group_0__1 )\n // InternalAADMParser.g:10406:2: rule__ETimeInterval__Group_0__0__Impl rule__ETimeInterval__Group_0__1\n {\n pushFollow(FOLLOW_3);\n rule__ETimeInterval__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__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": "397a04f75015fb419144fc195b057164",
"score": "0.701821",
"text": "public final void rule__ETimeInterval__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10471:1: ( ( End_time ) )\n // InternalAADMParser.g:10472:1: ( End_time )\n {\n // InternalAADMParser.g:10472:1: ( End_time )\n // InternalAADMParser.g:10473:2: End_time\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getEnd_timeKeyword_1_0()); \n }\n match(input,End_time,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().getEnd_timeKeyword_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": "5d1e2936a5dca9f6869273c9c583d7fb",
"score": "0.69690263",
"text": "public final void ruleETimeInterval() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:1053:2: ( ( ( rule__ETimeInterval__Group__0 ) ) )\n // InternalAADMParser.g:1054:2: ( ( rule__ETimeInterval__Group__0 ) )\n {\n // InternalAADMParser.g:1054:2: ( ( rule__ETimeInterval__Group__0 ) )\n // InternalAADMParser.g:1055:3: ( rule__ETimeInterval__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getGroup()); \n }\n // InternalAADMParser.g:1056:3: ( rule__ETimeInterval__Group__0 )\n // InternalAADMParser.g:1056:4: rule__ETimeInterval__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().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": "17c384fbcf3af30d8b1be7744885915b",
"score": "0.6927921",
"text": "public final void rule__ETimeInterval__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10443:1: ( ( ( rule__ETimeInterval__Start_timeAssignment_0_1 ) ) )\n // InternalAADMParser.g:10444:1: ( ( rule__ETimeInterval__Start_timeAssignment_0_1 ) )\n {\n // InternalAADMParser.g:10444:1: ( ( rule__ETimeInterval__Start_timeAssignment_0_1 ) )\n // InternalAADMParser.g:10445:2: ( rule__ETimeInterval__Start_timeAssignment_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getStart_timeAssignment_0_1()); \n }\n // InternalAADMParser.g:10446:2: ( rule__ETimeInterval__Start_timeAssignment_0_1 )\n // InternalAADMParser.g:10446:3: rule__ETimeInterval__Start_timeAssignment_0_1\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__Start_timeAssignment_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().getStart_timeAssignment_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": "696b47f97b075c7000de3ebcc521ae67",
"score": "0.69270647",
"text": "public final void rule__ETimeInterval__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10497:1: ( ( ( rule__ETimeInterval__End_timeAssignment_1_1 ) ) )\n // InternalAADMParser.g:10498:1: ( ( rule__ETimeInterval__End_timeAssignment_1_1 ) )\n {\n // InternalAADMParser.g:10498:1: ( ( rule__ETimeInterval__End_timeAssignment_1_1 ) )\n // InternalAADMParser.g:10499:2: ( rule__ETimeInterval__End_timeAssignment_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getEnd_timeAssignment_1_1()); \n }\n // InternalAADMParser.g:10500:2: ( rule__ETimeInterval__End_timeAssignment_1_1 )\n // InternalAADMParser.g:10500:3: rule__ETimeInterval__End_timeAssignment_1_1\n {\n pushFollow(FOLLOW_2);\n rule__ETimeInterval__End_timeAssignment_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().getEnd_timeAssignment_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": "62760bba87201d3ad2480fef4a9783a1",
"score": "0.6748511",
"text": "public final void rule__ETimeInterval__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10417:1: ( ( Start_time ) )\n // InternalAADMParser.g:10418:1: ( Start_time )\n {\n // InternalAADMParser.g:10418:1: ( Start_time )\n // InternalAADMParser.g:10419:2: Start_time\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getETimeIntervalAccess().getStart_timeKeyword_0_0()); \n }\n match(input,Start_time,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getETimeIntervalAccess().getStart_timeKeyword_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": "5c4ab2dd89b25c7f6f7cae4c4df39234",
"score": "0.64604986",
"text": "public final void rule__DefaultPeriodicTimer__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4840:1: ( rule__DefaultPeriodicTimer__Group__1__Impl rule__DefaultPeriodicTimer__Group__2 )\n // InternalComponentDefinition.g:4841:2: rule__DefaultPeriodicTimer__Group__1__Impl rule__DefaultPeriodicTimer__Group__2\n {\n pushFollow(FOLLOW_32);\n rule__DefaultPeriodicTimer__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__DefaultPeriodicTimer__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": "a6bc3fe2b3b411d8968fd13079f1d61f",
"score": "0.64422625",
"text": "public final void rule__DefaultPeriodicTimer__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4867:1: ( rule__DefaultPeriodicTimer__Group__2__Impl )\n // InternalComponentDefinition.g:4868:2: rule__DefaultPeriodicTimer__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__DefaultPeriodicTimer__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": "ad1bed183ee71a59fd49e5983e545b25",
"score": "0.64009756",
"text": "public final void rule__ELessThan__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19383:1: ( rule__ELessThan__Group__1__Impl )\n // InternalAADMParser.g:19384:2: rule__ELessThan__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ELessThan__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": "82628bedfcac331f6b2a2d3194266b2f",
"score": "0.6365119",
"text": "public final void rule__EValidTargetTypes__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:13416:1: ( rule__EValidTargetTypes__Group__1__Impl )\n // InternalAADMParser.g:13417:2: rule__EValidTargetTypes__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EValidTargetTypes__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": "c4f587c3a7ff388a8b36e2a69592e2eb",
"score": "0.63621217",
"text": "public final void rule__EValidTargetTypes__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:13470:1: ( rule__EValidTargetTypes__Group_1__1__Impl )\n // InternalAADMParser.g:13471:2: rule__EValidTargetTypes__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EValidTargetTypes__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": "ffc3d8dd02a27c195de79672cf4f3741",
"score": "0.62590104",
"text": "public final void rule__RTCTL__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:17637:1: ( rule__RTCTL__Group_1__1__Impl )\n // InternalDsl.g:17638:2: rule__RTCTL__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RTCTL__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": "6d198d1391d97d5b9708128aefa839cd",
"score": "0.6248379",
"text": "public final void rule__End__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10576:1: ( rule__End__Group__1__Impl rule__End__Group__2 )\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10577:2: rule__End__Group__1__Impl rule__End__Group__2\r\n {\r\n pushFollow(FOLLOW_rule__End__Group__1__Impl_in_rule__End__Group__121872);\r\n rule__End__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_rule__End__Group__2_in_rule__End__Group__121875);\r\n rule__End__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": "227cdce12e07f5d349c0189e3292c50d",
"score": "0.621987",
"text": "public final void rule__SchedulerDef__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:19689:1: ( rule__SchedulerDef__Group__1__Impl rule__SchedulerDef__Group__2 )\n // InternalDsl.g:19690:2: rule__SchedulerDef__Group__1__Impl rule__SchedulerDef__Group__2\n {\n pushFollow(FOLLOW_6);\n rule__SchedulerDef__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerDef__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": "dae5c6727da3928ea263f0479bbb5d84",
"score": "0.62197584",
"text": "public final void rule__Start__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10383:1: ( rule__Start__Group__1__Impl rule__Start__Group__2 )\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10384:2: rule__Start__Group__1__Impl rule__Start__Group__2\r\n {\r\n pushFollow(FOLLOW_rule__Start__Group__1__Impl_in_rule__Start__Group__121494);\r\n rule__Start__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_rule__Start__Group__2_in_rule__Start__Group__121497);\r\n rule__Start__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": "0aec72181ac2736c2a48ea09c8417927",
"score": "0.61977",
"text": "public final void rule__EEvenFilter__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10594:1: ( rule__EEvenFilter__Group_1__1__Impl )\n // InternalAADMParser.g:10595:2: rule__EEvenFilter__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EEvenFilter__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": "0f20425d7b323d2dafeadc3acb04fbb7",
"score": "0.6197548",
"text": "public final void rule__SchedulerDef__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:19662:1: ( rule__SchedulerDef__Group__0__Impl rule__SchedulerDef__Group__1 )\n // InternalDsl.g:19663:2: rule__SchedulerDef__Group__0__Impl rule__SchedulerDef__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__SchedulerDef__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerDef__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": "ef8b4a0e83429c7fce20d7d27da26e77",
"score": "0.61868095",
"text": "public final void rule__EventOpt__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:25764:1: ( rule__EventOpt__Group__1__Impl )\n // InternalDsl.g:25765:2: rule__EventOpt__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EventOpt__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": "29eeddf53906fce1007d71827a8ce8a8",
"score": "0.6184842",
"text": "public final void rule__EMinLength__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18816:1: ( rule__EMinLength__Group__1__Impl )\n // InternalAADMParser.g:18817:2: rule__EMinLength__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EMinLength__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": "93832473701ef87e120b4d9b84e0d9ae",
"score": "0.61840844",
"text": "public final void rule__DefaultPeriodicTimer__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4813:1: ( rule__DefaultPeriodicTimer__Group__0__Impl rule__DefaultPeriodicTimer__Group__1 )\n // InternalComponentDefinition.g:4814:2: rule__DefaultPeriodicTimer__Group__0__Impl rule__DefaultPeriodicTimer__Group__1\n {\n pushFollow(FOLLOW_31);\n rule__DefaultPeriodicTimer__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__DefaultPeriodicTimer__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": "20930f259e24831a4480d9ccbda11ee3",
"score": "0.6166383",
"text": "public final void rule__EventStm__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:25926:1: ( rule__EventStm__Group__1__Impl )\n // InternalDsl.g:25927:2: rule__EventStm__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EventStm__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": "68cd0379a338cbc902c8e19876f61d06",
"score": "0.6160862",
"text": "public final void rule__Exprs__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalWhdsl.g:2100:1: ( rule__Exprs__Group__1__Impl )\n // InternalWhdsl.g:2101:2: rule__Exprs__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Exprs__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": "e36da7a3d5c64d5dbf189fd150693b87",
"score": "0.6146713",
"text": "public final void rule__Rules__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:8538:1: ( rule__Rules__Group__1__Impl rule__Rules__Group__2 )\n // InternalDsl.g:8539:2: rule__Rules__Group__1__Impl rule__Rules__Group__2\n {\n pushFollow(FOLLOW_11);\n rule__Rules__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Rules__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": "ac4d2f29c3e8399128afe4c04b7e1377",
"score": "0.61354107",
"text": "public final void rule__EGreaterThan__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19491:1: ( rule__EGreaterThan__Group__1__Impl )\n // InternalAADMParser.g:19492:2: rule__EGreaterThan__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EGreaterThan__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": "b7d371b2621deb35053e6344fa8d280f",
"score": "0.6124137",
"text": "public final void rule__EOperations__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:15063:1: ( rule__EOperations__Group__1__Impl )\n // InternalAADMParser.g:15064:2: rule__EOperations__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EOperations__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": "b8d20d89f993eafa01539b91433a0a41",
"score": "0.6121472",
"text": "public final void rule__SchedulerDSL__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:17259:1: ( rule__SchedulerDSL__Group__0__Impl rule__SchedulerDSL__Group__1 )\n // InternalDsl.g:17260:2: rule__SchedulerDSL__Group__0__Impl rule__SchedulerDSL__Group__1\n {\n pushFollow(FOLLOW_101);\n rule__SchedulerDSL__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerDSL__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": "f42a5f94ded42942660168c9e6855b59",
"score": "0.6116861",
"text": "public final void rule__LTE__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:18501:1: ( rule__LTE__Group__1__Impl )\n // InternalDsl.g:18502:2: rule__LTE__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__LTE__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": "c6cbaaae28036d0bc6f82837a4c9042f",
"score": "0.61119026",
"text": "public final void rule__EEvenFilter__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10540:1: ( rule__EEvenFilter__Group_0__1__Impl )\n // InternalAADMParser.g:10541:2: rule__EEvenFilter__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EEvenFilter__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": "6bf5892e3c27cc1153ec96aff9425916",
"score": "0.61097026",
"text": "public final void rule__ELength__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18870:1: ( rule__ELength__Group__1__Impl )\n // InternalAADMParser.g:18871:2: rule__ELength__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ELength__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": "3ea32349e5c35c4987d42ff6e72fe441",
"score": "0.61010647",
"text": "public final void rule__SchedulerPropertyDef__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:21876:1: ( rule__SchedulerPropertyDef__Group_2__1__Impl )\n // InternalDsl.g:21877:2: rule__SchedulerPropertyDef__Group_2__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__SchedulerPropertyDef__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": "f7b0e1d8a7ca7903a0cb0e174f2e2004",
"score": "0.60983217",
"text": "public final void rule__Exprs__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalWhdsl.g:2154:1: ( rule__Exprs__Group_1__1__Impl )\n // InternalWhdsl.g:2155:2: rule__Exprs__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Exprs__Group_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": "fa41c749fae5194d74157dec851882ec",
"score": "0.60958624",
"text": "public final void rule__Start__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10352:1: ( rule__Start__Group__0__Impl rule__Start__Group__1 )\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10353:2: rule__Start__Group__0__Impl rule__Start__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__Start__Group__0__Impl_in_rule__Start__Group__021432);\r\n rule__Start__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_rule__Start__Group__1_in_rule__Start__Group__021435);\r\n rule__Start__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": "b524fa8212e46672860366f7ae5e6436",
"score": "0.60859275",
"text": "public final void rule__LExpr__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalWhdsl.g:2208:1: ( rule__LExpr__Group__1__Impl )\n // InternalWhdsl.g:2209:2: rule__LExpr__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__LExpr__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": "d449839fe859b276f67c41da87a74438",
"score": "0.60789645",
"text": "public final void rule__EventTemplate__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:24858:1: ( ( ( rule__EventTemplate__Group_1__0 )? ) )\n // InternalDsl.g:24859:1: ( ( rule__EventTemplate__Group_1__0 )? )\n {\n // InternalDsl.g:24859:1: ( ( rule__EventTemplate__Group_1__0 )? )\n // InternalDsl.g:24860:2: ( rule__EventTemplate__Group_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEventTemplateAccess().getGroup_1()); \n }\n // InternalDsl.g:24861:2: ( rule__EventTemplate__Group_1__0 )?\n int alt182=2;\n int LA182_0 = input.LA(1);\n\n if ( ((LA182_0>=RULE_ID && LA182_0<=RULE_CHAR_SEQUENCE)||LA182_0==RULE_STRING||(LA182_0>=13 && LA182_0<=14)||LA182_0==61||(LA182_0>=166 && LA182_0<=168)||LA182_0==172||LA182_0==179||(LA182_0>=198 && LA182_0<=208)) ) {\n alt182=1;\n }\n switch (alt182) {\n case 1 :\n // InternalDsl.g:24861:3: rule__EventTemplate__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__EventTemplate__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.getEventTemplateAccess().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": "aa1446e8b819b4b94caeea35d844fba8",
"score": "0.607629",
"text": "public final void rule__PlusOrMinus__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTym.g:2774:1: ( rule__PlusOrMinus__Group_1_0_0__1__Impl )\n // InternalTym.g:2775:2: rule__PlusOrMinus__Group_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__Group_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": "1ba8d8239b75849c14b10cd0b31ef6e3",
"score": "0.6063469",
"text": "public final void rule__End__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10545:1: ( rule__End__Group__0__Impl rule__End__Group__1 )\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10546:2: rule__End__Group__0__Impl rule__End__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__End__Group__0__Impl_in_rule__End__Group__021810);\r\n rule__End__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_rule__End__Group__1_in_rule__End__Group__021813);\r\n rule__End__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": "05f3fd66cf530e62b4b70fb03eb4e695",
"score": "0.6060718",
"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": "3a9ec90e3fcfe5db67c2544ebca81728",
"score": "0.6056678",
"text": "public final void rule__ETriggers__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:9325:1: ( rule__ETriggers__Group__1__Impl )\n // InternalAADMParser.g:9326:2: rule__ETriggers__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETriggers__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": "afb3068203dc2deb882a8306945ff0bd",
"score": "0.6052223",
"text": "public final void rule__EActivityDefinitions__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10054:1: ( rule__EActivityDefinitions__Group__1__Impl )\n // InternalAADMParser.g:10055:2: rule__EActivityDefinitions__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EActivityDefinitions__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": "8c6d2b66c49b803b7eb0e1a3fcf3e291",
"score": "0.60511357",
"text": "public final void rule__PlusOrMinus__Group_1_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTym.g:2828:1: ( rule__PlusOrMinus__Group_1_0_1__1__Impl )\n // InternalTym.g:2829:2: rule__PlusOrMinus__Group_1_0_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__Group_1_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": "270998d22f83bc6d3e25604c3b315a6a",
"score": "0.6046041",
"text": "public final void rule__EMAP__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19599:1: ( rule__EMAP__Group__1__Impl rule__EMAP__Group__2 )\n // InternalAADMParser.g:19600:2: rule__EMAP__Group__1__Impl rule__EMAP__Group__2\n {\n pushFollow(FOLLOW_6);\n rule__EMAP__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EMAP__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": "cb22e68a04e4a69da481c66ce8ea4b5d",
"score": "0.6039603",
"text": "public final void rule__Arithmetic_expression__Group_2__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2795:1: ( rule__Arithmetic_expression__Group_2__1__Impl )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2796:2: rule__Arithmetic_expression__Group_2__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Arithmetic_expression__Group_2__1__Impl_in_rule__Arithmetic_expression__Group_2__15809);\r\n rule__Arithmetic_expression__Group_2__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": "ab1c034a5c8de8ccb8d35859e1767b34",
"score": "0.6032232",
"text": "public final void rule__GEqualityExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:6790:1: ( rule__GEqualityExpression__Group__1__Impl )\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:6791:2: rule__GEqualityExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__GEqualityExpression__Group__1__Impl_in_rule__GEqualityExpression__Group__113678);\n rule__GEqualityExpression__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": "e75174f7cbeb06fd3871940c66f8b9b8",
"score": "0.6032074",
"text": "public final void rule__EValidTargetTypes__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:13427:1: ( ( ( rule__EValidTargetTypes__Group_1__0 )* ) )\n // InternalAADMParser.g:13428:1: ( ( rule__EValidTargetTypes__Group_1__0 )* )\n {\n // InternalAADMParser.g:13428:1: ( ( rule__EValidTargetTypes__Group_1__0 )* )\n // InternalAADMParser.g:13429:2: ( rule__EValidTargetTypes__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEValidTargetTypesAccess().getGroup_1()); \n }\n // InternalAADMParser.g:13430:2: ( rule__EValidTargetTypes__Group_1__0 )*\n loop35:\n do {\n int alt35=2;\n int LA35_0 = input.LA(1);\n\n if ( (LA35_0==Comma) ) {\n alt35=1;\n }\n\n\n switch (alt35) {\n \tcase 1 :\n \t // InternalAADMParser.g:13430:3: rule__EValidTargetTypes__Group_1__0\n \t {\n \t pushFollow(FOLLOW_20);\n \t rule__EValidTargetTypes__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 loop35;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEValidTargetTypesAccess().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": "401c9b79120fe5450a87d16c41efb771",
"score": "0.6031964",
"text": "public final void rule__ETarget__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6313:1: ( rule__ETarget__Group_1__1__Impl )\n // InternalAADMParser.g:6314:2: rule__ETarget__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETarget__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": "cd2546ea4a8b1fab58cf53bb146ff203",
"score": "0.60305274",
"text": "public final void rule__SchedulerPropertyDef__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:21714:1: ( rule__SchedulerPropertyDef__Group__0__Impl rule__SchedulerPropertyDef__Group__1 )\n // InternalDsl.g:21715:2: rule__SchedulerPropertyDef__Group__0__Impl rule__SchedulerPropertyDef__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__SchedulerPropertyDef__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerPropertyDef__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": "d1b98cbd21099324cc105c34acce02d8",
"score": "0.60264504",
"text": "public final void rule__ASTNode__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:594:1: ( rule__ASTNode__Group_2_1__1__Impl )\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:595:2: rule__ASTNode__Group_2_1__1__Impl\n {\n pushFollow(FOLLOW_rule__ASTNode__Group_2_1__1__Impl_in_rule__ASTNode__Group_2_1__11182);\n rule__ASTNode__Group_2_1__1__Impl();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "8bbbce9ade2a1bc0ffe56e23b46fb6f3",
"score": "0.602533",
"text": "public final void rule__GAdditionExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:7100:1: ( rule__GAdditionExpression__Group__1__Impl )\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:7101:2: rule__GAdditionExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__GAdditionExpression__Group__1__Impl_in_rule__GAdditionExpression__Group__114288);\n rule__GAdditionExpression__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": "0a1c816037a511a424998554a3e28f0d",
"score": "0.6022648",
"text": "public final void rule__Rules__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:8511:1: ( rule__Rules__Group__0__Impl rule__Rules__Group__1 )\n // InternalDsl.g:8512:2: rule__Rules__Group__0__Impl rule__Rules__Group__1\n {\n pushFollow(FOLLOW_32);\n rule__Rules__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Rules__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": "239f4f799002b979145027456e22049c",
"score": "0.6022636",
"text": "public final void rule__Range__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:14478:1: ( rule__Range__Group__0__Impl rule__Range__Group__1 )\n // InternalDsl.g:14479:2: rule__Range__Group__0__Impl rule__Range__Group__1\n {\n pushFollow(FOLLOW_84);\n rule__Range__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Range__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": "3934b0a7b126d385a36e5a9243b88a03",
"score": "0.60197484",
"text": "public final void rule__Start__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10412:1: ( rule__Start__Group__2__Impl rule__Start__Group__3 )\r\n // ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:10413:2: rule__Start__Group__2__Impl rule__Start__Group__3\r\n {\r\n pushFollow(FOLLOW_rule__Start__Group__2__Impl_in_rule__Start__Group__221554);\r\n rule__Start__Group__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_rule__Start__Group__3_in_rule__Start__Group__221557);\r\n rule__Start__Group__3();\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": "af0cd8f579f2ccab0cd9aaaf6be6df4e",
"score": "0.60178715",
"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 // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2917:1: ( rule__Term__Group_1__1__Impl )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2918:2: rule__Term__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1__1__Impl_in_rule__Term__Group_1__16051);\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": "028b9d9796e325911bd60ae9292b1212",
"score": "0.6017861",
"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": "34f9962ac2581e55d2892969f49e8714",
"score": "0.60010606",
"text": "public final void rule__KeyAST__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4164:1: ( rule__KeyAST__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4165:2: rule__KeyAST__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__KeyAST__Group__1__Impl_in_rule__KeyAST__Group__18977);\n rule__KeyAST__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": "f8a27172f1446cb310b3e9e8793820ad",
"score": "0.6000271",
"text": "public final void rule__EventTemplate__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:24981:1: ( rule__EventTemplate__Group_1__1__Impl )\n // InternalDsl.g:24982:2: rule__EventTemplate__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EventTemplate__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": "bbb85798a544bcd50e4bdca7f40718cb",
"score": "0.599791",
"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 // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2856:1: ( rule__Term__Group__1__Impl )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contentassist/antlr/internal/InternalModeleditor.g:2857:2: rule__Term__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group__1__Impl_in_rule__Term__Group__15929);\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": "9a1bd7d2c70678b1bf0b257820399f47",
"score": "0.59971994",
"text": "public final void rule__EImplementation__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:15576:1: ( rule__EImplementation__Group__1__Impl )\n // InternalAADMParser.g:15577:2: rule__EImplementation__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EImplementation__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": "74cbba160eb45794b28dd49fdab818ba",
"score": "0.59942216",
"text": "public final void rule__PlusOrMinus__Group_1_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:30732:1: ( rule__PlusOrMinus__Group_1_0_1__1__Impl )\n // InternalDsl.g:30733:2: rule__PlusOrMinus__Group_1_0_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__Group_1_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": "802bf0dc8ee42350b373913102dc8e1b",
"score": "0.5989887",
"text": "public final void rule__RTCTL__Group_7__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:18069:1: ( rule__RTCTL__Group_7__1__Impl )\n // InternalDsl.g:18070:2: rule__RTCTL__Group_7__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RTCTL__Group_7__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": "2227e578c29b6c7d2c28c1531d2313b2",
"score": "0.59897375",
"text": "public final void rule__Event__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:10563:1: ( rule__Event__Group__1__Impl rule__Event__Group__2 )\n // InternalDsl.g:10564:2: rule__Event__Group__1__Impl rule__Event__Group__2\n {\n pushFollow(FOLLOW_11);\n rule__Event__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Event__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": "6e52f1bab2bfba0d1ede5c75f7a8773b",
"score": "0.5988935",
"text": "public final void rule__SchedulerDataDef__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:21444:1: ( rule__SchedulerDataDef__Group__1__Impl rule__SchedulerDataDef__Group__2 )\n // InternalDsl.g:21445:2: rule__SchedulerDataDef__Group__1__Impl rule__SchedulerDataDef__Group__2\n {\n pushFollow(FOLLOW_11);\n rule__SchedulerDataDef__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerDataDef__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": "f109e69d1bc1e515f43d72fb41c624b1",
"score": "0.598491",
"text": "public final void rule__SchedulerDSL__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:17286:1: ( rule__SchedulerDSL__Group__1__Impl rule__SchedulerDSL__Group__2 )\n // InternalDsl.g:17287:2: rule__SchedulerDSL__Group__1__Impl rule__SchedulerDSL__Group__2\n {\n pushFollow(FOLLOW_102);\n rule__SchedulerDSL__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SchedulerDSL__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": "bcd07061234a78a1b847f19aea9975e9",
"score": "0.59777576",
"text": "public final void rule__PlusOrMinus__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:30678:1: ( rule__PlusOrMinus__Group_1_0_0__1__Impl )\n // InternalDsl.g:30679:2: rule__PlusOrMinus__Group_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__Group_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": "d85254c92f27d6729e3d99e5668a2762",
"score": "0.5976509",
"text": "public final void rule__Event__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:10536:1: ( rule__Event__Group__0__Impl rule__Event__Group__1 )\n // InternalDsl.g:10537:2: rule__Event__Group__0__Impl rule__Event__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__Event__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Event__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": "ff64991813fcf1fcea1fca382270e555",
"score": "0.5969637",
"text": "public final void rule__ASTNode__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:404:1: ( rule__ASTNode__Group__1__Impl rule__ASTNode__Group__2 )\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:405:2: rule__ASTNode__Group__1__Impl rule__ASTNode__Group__2\n {\n pushFollow(FOLLOW_rule__ASTNode__Group__1__Impl_in_rule__ASTNode__Group__1808);\n rule__ASTNode__Group__1__Impl();\n _fsp--;\n\n pushFollow(FOLLOW_rule__ASTNode__Group__2_in_rule__ASTNode__Group__1811);\n rule__ASTNode__Group__2();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "42ad388aa44be26d57ee5dc59cf3f491",
"score": "0.5968147",
"text": "public final void rule__GEqualityExpression__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:6882:1: ( rule__GEqualityExpression__Group_1__2__Impl )\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:6883:2: rule__GEqualityExpression__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__GEqualityExpression__Group_1__2__Impl_in_rule__GEqualityExpression__Group_1__213861);\n rule__GEqualityExpression__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": ""
},
{
"docid": "2c1fdd52e4de808225a5ddfbcbae194b",
"score": "0.5967211",
"text": "public final void rule__EMAP__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19572:1: ( rule__EMAP__Group__0__Impl rule__EMAP__Group__1 )\n // InternalAADMParser.g:19573:2: rule__EMAP__Group__0__Impl rule__EMAP__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__EMAP__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EMAP__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": "b91e0ae15f28f5d678a72b7e02ef58c0",
"score": "0.5966938",
"text": "public final void rule__PlusOrMinus__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:30624:1: ( rule__PlusOrMinus__Group_1__1__Impl )\n // InternalDsl.g:30625:2: rule__PlusOrMinus__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__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": "707066c7f507b9d51cf3051292007236",
"score": "0.5965895",
"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": "d5213623b7e899a472cc17a4ffe4fe97",
"score": "0.59652805",
"text": "public final void rule__ETarget__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6259:1: ( rule__ETarget__Group__1__Impl )\n // InternalAADMParser.g:6260:2: rule__ETarget__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ETarget__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": "0df828e2c23240214200b8b83834ba16",
"score": "0.5963967",
"text": "public final void rule__PlusOrMinus__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:30570:1: ( rule__PlusOrMinus__Group__1__Impl )\n // InternalDsl.g:30571:2: rule__PlusOrMinus__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__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": "c866caadb3dd46102b150e6bdb909273",
"score": "0.59614867",
"text": "public final void rule__Evaluations__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.blasedef.onpa.ONPA.ui/src-gen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3721:1: ( rule__Evaluations__Group_0__1__Impl rule__Evaluations__Group_0__2 )\n // ../com.blasedef.onpa.ONPA.ui/src-gen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3722:2: rule__Evaluations__Group_0__1__Impl rule__Evaluations__Group_0__2\n {\n pushFollow(FOLLOW_rule__Evaluations__Group_0__1__Impl_in_rule__Evaluations__Group_0__17344);\n rule__Evaluations__Group_0__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Evaluations__Group_0__2_in_rule__Evaluations__Group_0__17347);\n rule__Evaluations__Group_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": "1cb6ca61e676306a0857a813077398e0",
"score": "0.5959201",
"text": "public final void rule__EPolicyTypes__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:8562:1: ( rule__EPolicyTypes__Group__1__Impl )\n // InternalAADMParser.g:8563:2: rule__EPolicyTypes__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EPolicyTypes__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": "f2be91e8443c8c75b13f53d40d44fae9",
"score": "0.5953356",
"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": "8931c4839f8c10a3483ded717c59cc6a",
"score": "0.59476143",
"text": "public final void rule__EMAP__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19644:1: ( ( RULE_END ) )\n // InternalAADMParser.g:19645:1: ( RULE_END )\n {\n // InternalAADMParser.g:19645:1: ( RULE_END )\n // InternalAADMParser.g:19646:2: RULE_END\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEMAPAccess().getENDTerminalRuleCall_2()); \n }\n match(input,RULE_END,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEMAPAccess().getENDTerminalRuleCall_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": "c5cd00af9926533c1af6378ca2de8ace",
"score": "0.59476",
"text": "public final void rule__EPREFIX_TYPE__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:19822:1: ( rule__EPREFIX_TYPE__Group_0__1__Impl )\n // InternalAADMParser.g:19823:2: rule__EPREFIX_TYPE__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EPREFIX_TYPE__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": "76c0d60f81d761a09f29ed7c183f604b",
"score": "0.5942273",
"text": "public final void rule__EPolicyTypeBody__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:8893:1: ( rule__EPolicyTypeBody__Group_1_0__1__Impl )\n // InternalAADMParser.g:8894:2: rule__EPolicyTypeBody__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EPolicyTypeBody__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": "d14410591a2dd7fce21da2bb6d2933ad",
"score": "0.5940843",
"text": "public final void rule__PlusOrMinus__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTym.g:2720:1: ( rule__PlusOrMinus__Group_1__1__Impl )\n // InternalTym.g:2721:2: rule__PlusOrMinus__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__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": "94baeae7b17bc98f65b0831d237aa676",
"score": "0.5940466",
"text": "public final void rule__Evaluations__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.blasedef.onpa.ONPA.ui/src-gen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3826:1: ( rule__Evaluations__Group_1__0__Impl rule__Evaluations__Group_1__1 )\n // ../com.blasedef.onpa.ONPA.ui/src-gen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3827:2: rule__Evaluations__Group_1__0__Impl rule__Evaluations__Group_1__1\n {\n pushFollow(FOLLOW_rule__Evaluations__Group_1__0__Impl_in_rule__Evaluations__Group_1__07549);\n rule__Evaluations__Group_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Evaluations__Group_1__1_in_rule__Evaluations__Group_1__07552);\n rule__Evaluations__Group_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": "b5faf2184b06f597b3e8c8b8486adbe6",
"score": "0.5940013",
"text": "public final void rule__EclEvent__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:5823:1: ( rule__EclEvent__Group__1__Impl )\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:5824:2: rule__EclEvent__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__EclEvent__Group__1__Impl_in_rule__EclEvent__Group__111779);\n rule__EclEvent__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": "530fbf12b3a6665c4993a96accc5e4cb",
"score": "0.5935751",
"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.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6274:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6275: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__113124);\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": "2eeea65b8429862bfa509a72a20b3454",
"score": "0.59327906",
"text": "public final void rule__GAdditionExpression__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:7192:1: ( rule__GAdditionExpression__Group_1__2__Impl )\n // ../org.gemoc.gel.xtext.ui/src-gen/org/gemoc/gel/ui/contentassist/antlr/internal/InternalGEL.g:7193:2: rule__GAdditionExpression__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__GAdditionExpression__Group_1__2__Impl_in_rule__GAdditionExpression__Group_1__214471);\n rule__GAdditionExpression__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": ""
},
{
"docid": "0bdcc3310f321de9b53a9889b447fd26",
"score": "0.59299403",
"text": "public final void rule__ASTNode__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:531:1: ( rule__ASTNode__Group_2__1__Impl )\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:532:2: rule__ASTNode__Group_2__1__Impl\n {\n pushFollow(FOLLOW_rule__ASTNode__Group_2__1__Impl_in_rule__ASTNode__Group_2__11058);\n rule__ASTNode__Group_2__1__Impl();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "34d97833276d5d9b2b7fa9de1d47f7a5",
"score": "0.59267074",
"text": "public final void rule__PlusOrMinus__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTym.g:2666:1: ( rule__PlusOrMinus__Group__1__Impl )\n // InternalTym.g:2667:2: rule__PlusOrMinus__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PlusOrMinus__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": "125e815830b2e840eff15b209271dda2",
"score": "0.591945",
"text": "public final void rule__Exprs__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalWhdsl.g:2111:1: ( ( ( rule__Exprs__Group_1__0 )* ) )\n // InternalWhdsl.g:2112:1: ( ( rule__Exprs__Group_1__0 )* )\n {\n // InternalWhdsl.g:2112:1: ( ( rule__Exprs__Group_1__0 )* )\n // InternalWhdsl.g:2113:2: ( rule__Exprs__Group_1__0 )*\n {\n before(grammarAccess.getExprsAccess().getGroup_1()); \n // InternalWhdsl.g:2114:2: ( rule__Exprs__Group_1__0 )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0==19) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalWhdsl.g:2114:3: rule__Exprs__Group_1__0\n \t {\n \t pushFollow(FOLLOW_12);\n \t rule__Exprs__Group_1__0();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n after(grammarAccess.getExprsAccess().getGroup_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": "06bbb15f717b779acf60ed3586d1fd5c",
"score": "0.59188914",
"text": "public final void rule__DefaultPeriodicTimer__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4878:1: ( ( 'Hz' ) )\n // InternalComponentDefinition.g:4879:1: ( 'Hz' )\n {\n // InternalComponentDefinition.g:4879:1: ( 'Hz' )\n // InternalComponentDefinition.g:4880:2: 'Hz'\n {\n before(grammarAccess.getDefaultPeriodicTimerAccess().getHzKeyword_2()); \n match(input,40,FOLLOW_2); \n after(grammarAccess.getDefaultPeriodicTimerAccess().getHzKeyword_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": "aba5ddd3658100f8fbd4048d7ff30016",
"score": "0.59187424",
"text": "public final void rule__Rule__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:8646:1: ( rule__Rule__Group__0__Impl rule__Rule__Group__1 )\n // InternalDsl.g:8647:2: rule__Rule__Group__0__Impl rule__Rule__Group__1\n {\n pushFollow(FOLLOW_11);\n rule__Rule__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Rule__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": "e11b170afc2f0e110b131bb8e9f06ce5",
"score": "0.59170383",
"text": "public final void rule__Constraint__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12993:1: ( rule__Constraint__Group__1__Impl )\n // InternalDsl.g:12994:2: rule__Constraint__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Constraint__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": "8de6d757eff6a863e30a9817d4d6d50b",
"score": "0.59161097",
"text": "public final void rule__ASTNode__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:375:1: ( rule__ASTNode__Group__0__Impl rule__ASTNode__Group__1 )\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:376:2: rule__ASTNode__Group__0__Impl rule__ASTNode__Group__1\n {\n pushFollow(FOLLOW_rule__ASTNode__Group__0__Impl_in_rule__ASTNode__Group__0748);\n rule__ASTNode__Group__0__Impl();\n _fsp--;\n\n pushFollow(FOLLOW_rule__ASTNode__Group__1_in_rule__ASTNode__Group__0751);\n rule__ASTNode__Group__1();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "c8b55b3b33a59eb403705c194282d293",
"score": "0.59134835",
"text": "public final void rule__ASTNode__Group_2_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:563:1: ( rule__ASTNode__Group_2_1__0__Impl rule__ASTNode__Group_2_1__1 )\n // ../fr.irisa.cairn.model.mathematica.xtext.ui/src-gen/fr/irisa/cairn/model/ui/contentassist/antlr/internal/InternalMathematica.g:564:2: rule__ASTNode__Group_2_1__0__Impl rule__ASTNode__Group_2_1__1\n {\n pushFollow(FOLLOW_rule__ASTNode__Group_2_1__0__Impl_in_rule__ASTNode__Group_2_1__01120);\n rule__ASTNode__Group_2_1__0__Impl();\n _fsp--;\n\n pushFollow(FOLLOW_rule__ASTNode__Group_2_1__1_in_rule__ASTNode__Group_2_1__01123);\n rule__ASTNode__Group_2_1__1();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "332d2d257f5c2f1b49a5f2c7780e45f9",
"score": "0.59132314",
"text": "public final void rule__EventDef__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:25521:1: ( rule__EventDef__Group__1__Impl rule__EventDef__Group__2 )\n // InternalDsl.g:25522:2: rule__EventDef__Group__1__Impl rule__EventDef__Group__2\n {\n pushFollow(FOLLOW_154);\n rule__EventDef__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EventDef__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": "0812390761ba02726dd30176222da265",
"score": "0.59115845",
"text": "public final void rule__EOperationDefinitionBody__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:15306:1: ( rule__EOperationDefinitionBody__Group_1_0__1__Impl )\n // InternalAADMParser.g:15307:2: rule__EOperationDefinitionBody__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EOperationDefinitionBody__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": "471c1774fdd4daa0fd57810886413845",
"score": "0.59114075",
"text": "public final void rule__EValid_Values__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18924:1: ( rule__EValid_Values__Group__1__Impl )\n // InternalAADMParser.g:18925:2: rule__EValid_Values__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EValid_Values__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": "93c03634e998963ed1dc8a6dace1a2ad",
"score": "0.5909059",
"text": "public final void rule__EImplementation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:15549:1: ( rule__EImplementation__Group__0__Impl rule__EImplementation__Group__1 )\n // InternalAADMParser.g:15550:2: rule__EImplementation__Group__0__Impl rule__EImplementation__Group__1\n {\n pushFollow(FOLLOW_48);\n rule__EImplementation__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EImplementation__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": ""
}
] |
514bdb7da8fb061e19725fa9cfd4a835 | Method which carries out tasks which should run before deleting a claim. | [
{
"docid": "b63e24ae53f9d41d3e514a4474f4aac6",
"score": "0.6866323",
"text": "boolean doPreDeleteClaim(String claimUri, String tenantDomain) throws ClaimMetadataException;",
"title": ""
}
] | [
{
"docid": "1552338b870e442b54aa7161829d9bc9",
"score": "0.66235423",
"text": "@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)\r\n \t\tprivate void onClaimDeleted(ClaimDeletedEvent e) {\n \t\t\tnew GriefPreventionClaim78(e.getClaim().getID()).remove();\r\n \t\t}",
"title": ""
},
{
"docid": "76584cdc19e667591efae96b8fd0c372",
"score": "0.65041614",
"text": "protected Future<Void> deletePersistentClaims() {\n return pvcOperator.listAsync(reconciliation.namespace(), kafka.getSelectorLabels())\n .compose(pvcs -> {\n List<String> maybeDeletePvcs = pvcs.stream().map(pvc -> pvc.getMetadata().getName()).collect(Collectors.toList());\n List<String> desiredPvcs = kafka.generatePersistentVolumeClaims(kafka.getStorage()).stream().map(pvc -> pvc.getMetadata().getName()).collect(Collectors.toList());\n\n return new PvcReconciler(reconciliation, pvcOperator, storageClassOperator)\n .deletePersistentClaims(maybeDeletePvcs, desiredPvcs);\n });\n }",
"title": ""
},
{
"docid": "25324a48ac7cfc317c6d623eb72f0d11",
"score": "0.6334478",
"text": "@Override\n public void deleteClaimFromSecondaryStorage(GPClaim claim) {\n try {\n Files.delete(claim.getClaimStorage().filePath);\n if (claim.getClaimStorage().folderPath.toFile().listFiles().length == 0) {\n Files.delete(claim.getClaimStorage().folderPath);\n }\n } catch (IOException e) {\n e.printStackTrace();\n GriefPreventionPlugin.addLogEntry(\"Error: Unable to delete claim file \\\"\" + claim.getClaimStorage().filePath + \"\\\".\");\n }\n }",
"title": ""
},
{
"docid": "2bdd2ad2c0e2a7b7ad226badaa830fbb",
"score": "0.625834",
"text": "boolean doPostDeleteClaim(String claimUri, String tenantDomain) throws ClaimMetadataException;",
"title": ""
},
{
"docid": "65a75c81cb8bc13b6d6ddfaf65634e53",
"score": "0.6103167",
"text": "@Override\n void deleteClaimFromSecondaryStorage(Claim claim) {\n claimConfig.set(claim.getUUID().toString(), null);\n }",
"title": ""
},
{
"docid": "d5048d2d7ebc6bd1b20f2c54076c16c1",
"score": "0.6016437",
"text": "public void deleteClaim(int claimId){\n\t\tClaimMapper mapper = new ClaimMapper(ClaimApplication.getContext());\n\t\tmapper.deleteClaim(claimId);\n\t}",
"title": ""
},
{
"docid": "1dc41934d7629df6e98a6cec476a9e33",
"score": "0.59405273",
"text": "@Override\n public void doTask() {\n // deleted\n }",
"title": ""
},
{
"docid": "1dc41934d7629df6e98a6cec476a9e33",
"score": "0.59405273",
"text": "@Override\n public void doTask() {\n // deleted\n }",
"title": ""
},
{
"docid": "e27b776717fd55b70d624ec79e442ed8",
"score": "0.5817393",
"text": "public void deleteProvisioing() {\n\t\tnew Thread(new Runnable() {\n\t\t\tpublic void run() {\n\n\t\t\t\t// perform any operation\n\t\t\t\tSystem.out.println(\"Performing operation in Asynchronous Task\");\n\n\t\t\t\t// check if listener is registered.\n\t\t\t\tif (deployerListner != null) {\n\n\t\t\t\t\t// invoke the callback method of class A\n\t\t\t\t\tdeployerListner.deleteDeployment(usersData,id);\n\t\t\t\t}\n\t\t\t}\n\t\t}).start();\n\t}",
"title": ""
},
{
"docid": "dede7a90c6d5a9c6b6144235b472154e",
"score": "0.57829046",
"text": "boolean needReclaim();",
"title": ""
},
{
"docid": "9295567a2c5fca8aa929655400ac7bc4",
"score": "0.57413423",
"text": "protected boolean claim() {\n return false;\n }",
"title": ""
},
{
"docid": "e44819bb36a5e8b4eeb8cab101ffba04",
"score": "0.5727132",
"text": "public void deleteTask(Tasks task){}",
"title": ""
},
{
"docid": "7af5eef49b627877e501708b813de82a",
"score": "0.5683256",
"text": "public void deleteAssure(int code);",
"title": ""
},
{
"docid": "d7821774686b689548dd64aca4a06a12",
"score": "0.56512487",
"text": "@Test\n public void testDelete() throws Exception {\n List<Task> taskList = taskMaster.queryAndOwn(\"YSG\", \"Test\", 10, 50, 3 /* 3s */);\n // can't delete the tasks that you not own.\n taskMaster.delete(\"AHAHA\", taskList);\n assertEquals(taskMaster.getTotalTaskSize(), 200);\n taskMaster.delete(\"YSG\", taskList);\n }",
"title": ""
},
{
"docid": "e138ac6ef8b2d3b36b8150f5edd2eea4",
"score": "0.5594147",
"text": "public void delete(Task task);",
"title": ""
},
{
"docid": "27f2d3906a6209a99aacdd0895602be9",
"score": "0.5561985",
"text": "public void unsetClaimcheck()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(CLAIMCHECK$0, 0);\n }\n }",
"title": ""
},
{
"docid": "ba8b36c2677a2bc2e30330640a437050",
"score": "0.5531287",
"text": "public void beforeDeletion() {\n }",
"title": ""
},
{
"docid": "1bb4aa7533a03e88a7740f8eb48606cc",
"score": "0.54865867",
"text": "private void beforeDelete() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "c41a424ac19d37467c294ff95de52577",
"score": "0.5466094",
"text": "public synchronized void validateClaimIDReferBack(String claimId) {\n\t\ttry {\n\t\t\tdriver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS);\n\t\t\tboolean claimIDRemovedStatus = isClaimRemovedStatus(claimId);\n\t\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\t\tif (claimIDRemovedStatus) {\n\t\t\t\tWebActionUtil.info(\"Claim is removed from Pending action page \");\n\t\t\t\tWebActionUtil.pass(\"Claim is removed from Pending action page \");\n\t\t\t} else {\n\t\t\t\tWebActionUtil.error(\"Claim is not removed from Pending action page \");\n\t\t\t\tWebActionUtil.fail(\"Claim is not removed from Pending action page \");\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.fail(\"Claim is not removed from Pending action page \");\n\t\t\tAssert.fail(\"Claim is not removed from Pending action page \");\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "9a68021f639e85186caa0e124c51d19f",
"score": "0.54587317",
"text": "public interface ClaimMetadataMgtListener {\n\n /**\n * Get the execution order identifier for this listener.\n *\n * @return The execution order identifier integer value.\n */\n int getExecutionOrderId();\n\n /**\n * Get the default order identifier for this listener.\n *\n * @return Default order id.\n */\n int getDefaultOrderId();\n\n /**\n * Check whether the listener is enabled or not.\n *\n * @return True if enabled.\n */\n boolean isEnable();\n\n /**\n * Method which carries out tasks which should run before deleting a claim.\n *\n * @param claimUri Claim URI.\n * @param tenantDomain Tenant domain.\n * @return True if method executes successfully.\n * @throws ClaimMetadataException ClaimMetadataException error.\n */\n boolean doPreDeleteClaim(String claimUri, String tenantDomain) throws ClaimMetadataException;\n\n /**\n * Method which carries out tasks which should run after deleting a claim.\n *\n * @param claimUri Claim URI.\n * @param tenantDomain Tenant domain.\n * @return True if method executes successfully.\n * @throws ClaimMetadataException ClaimMetadataException error.\n */\n boolean doPostDeleteClaim(String claimUri, String tenantDomain) throws ClaimMetadataException;\n}",
"title": ""
},
{
"docid": "968f88f42abcf7806ec128042569e49e",
"score": "0.54292923",
"text": "private boolean deletePrescriptionAwaitingVerification(Medication precriptionToDelete) {\n\t\tint findPrescriptionResult = findPrescription(precriptionToDelete);\n\t\tint j = 0;\n\t\tif (findPrescriptionResult >= 0) {\n\t\t\tprescriptionsAwaitingVerification[findPrescriptionResult] = null;\n\t\t\tfor (int i = 0; i < prescriptionsAwaitingVerification.length; i++) {\n\t\t\t\tif ((prescriptionsAwaitingVerification[i] != null) && !(prescriptionsAwaitingVerification[i].getName().equalsIgnoreCase(\"\"))) {\n\t\t\t\t\tprescriptionsAwaitingVerification[j] = prescriptionsAwaitingVerification[i];\n\t\t\t\t\tj++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tnumOfPrescriptionsAwaitingVerification = j;\n\t\t\tfor (int k = j; k < prescriptionsAwaitingVerification.length; k++) {\n\t\t\t\tprescriptionsAwaitingVerification[k] = null;\n\t\t\t}\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "3029942b1746ff454381cfc65a47f75e",
"score": "0.5420355",
"text": "@Override\r\n\tpublic void deleteRequisitionItem(RequisitionItem requisitionItem) throws Exception{\n\t}",
"title": ""
},
{
"docid": "ef11e293699116580e17b24cbe5964f2",
"score": "0.5348645",
"text": "public void removeClaim(int claimId){\n\t\tif (new Claim(claimId).getCanEdit()) {\n\t\t\tint removePosition = -1;\n\t\t\t\n\t\t\tfor (int i = 0; i < claims.size(); i++){\n\t\t\t\tif (claimId == claims.get(i).getId()){\n\t\t\t\t\tremovePosition = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (removePosition > -1){\n\t\t\t\tclaims.remove(removePosition);\n\t\t\t}\n\t\t\tnotifyViews();\n\t\t}\t\t\n\t}",
"title": ""
},
{
"docid": "e8e93c78c1351133955f8c8ad49748c0",
"score": "0.53240323",
"text": "@Override\r\n\tprotected void executeDelete(ClientReminder object) {\n\r\n\t}",
"title": ""
},
{
"docid": "1414ba23af50096a71b7257025a46737",
"score": "0.53023744",
"text": "@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)\r\n \t\tprivate void onResidenceDelete(ResidenceDeleteEvent e) {\n \t\t\tnew ResidenceClaimedResidence(e.getResidence().getName()).remove();\r\n \t\t}",
"title": ""
},
{
"docid": "98a7fe0b240a5af3011a9dc93be8a153",
"score": "0.5261278",
"text": "void deleteBasicRequirement(BasicRequirement basicRequirement);",
"title": ""
},
{
"docid": "1bf6b17691e5bc4d4798767a2e2ed627",
"score": "0.52605706",
"text": "ClaimStatusResponse processClaimRequest(ClaimDetails aClaimDetails) throws IOException;",
"title": ""
},
{
"docid": "eed35ac1ab9ab1e8000eb0ce5371e27c",
"score": "0.5245169",
"text": "public synchronized void validateClaimID(String claimId) {\n\t\ttry {\n\t\t\tdriver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS);\n\t\t\tboolean claimIDRemovedStatus = isClaimRemovedStatus(claimId);\n\t\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\t\tif (claimIDRemovedStatus) {\n\t\t\t\tWebActionUtil\n\t\t\t\t\t\t.info(\"Claim is removed from the Pending Actions page and moved to next level for approval\");\n\t\t\t\tWebActionUtil\n\t\t\t\t\t\t.pass(\"Claim is removed from the Pending Actions page and moved to next level for approval\");\n\t\t\t} else {\n\t\t\t\tWebActionUtil.error(\"Claim is not removed from the Pending Actions page\");\n\t\t\t\tWebActionUtil.fail(\"Claim is not removed from the Pending Actions page\");\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil\n\t\t\t\t\t.fail(\"Claim is not removed from the Pending Actions Page\");\n\t\t\tAssert.fail(\"Claim is not removed from the Pending Actions Page\");\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "98a918e33769f903948a1db46e0941e2",
"score": "0.5232119",
"text": "boolean claim() throws IOException;",
"title": ""
},
{
"docid": "28efe429a9f9bc99d229a8143d37a358",
"score": "0.5231382",
"text": "protected void deleteItemConfirmed() {\n\t}",
"title": ""
},
{
"docid": "953a0835e52b59473d1159fe365dac14",
"score": "0.5188239",
"text": "public void afterDeletion() {\n }",
"title": ""
},
{
"docid": "3cc9d2be4f93c58ab2c1451d4265e7f4",
"score": "0.51605684",
"text": "void deleteToken();",
"title": ""
},
{
"docid": "c2180c61ca22a85c6d7a6412e5286d23",
"score": "0.5152164",
"text": "@Override\n public void cleanUpPendingTask(String workflowExtRef) throws WorkflowException {\n String errorMsg = null;\n super.cleanUpPendingTask(workflowExtRef);\n if (log.isDebugEnabled()) {\n log.debug(\"Starting cleanup task for SubscriptionCreationApprovalWorkflowExecutor for :\" + workflowExtRef);\n }\n try {\n ApiMgtDAO apiMgtDAO = ApiMgtDAO.getInstance();\n apiMgtDAO.deleteWorkflowRequest(workflowExtRef);\n } catch (APIManagementException axisFault) {\n errorMsg = \"Error sending out cancel pending subscription approval process message. cause: \" + axisFault\n .getMessage();\n throw new WorkflowException(errorMsg, axisFault);\n }\n }",
"title": ""
},
{
"docid": "eb78ab179d54ea03acd894e8a7ae3bc8",
"score": "0.5146524",
"text": "public boolean delete (int idPromocion);",
"title": ""
},
{
"docid": "b0918befdd74fcef217d20588cdc0935",
"score": "0.51287556",
"text": "private OMRequest doPreExecute(OMRequest originalOmRequest) throws Exception {\n\n OMKeyDeleteRequest omKeyDeleteRequest =\n getOmKeyDeleteRequest(originalOmRequest);\n\n OMRequest modifiedOmRequest = omKeyDeleteRequest.preExecute(ozoneManager);\n\n // Will not be equal, as UserInfo will be set.\n Assert.assertNotEquals(originalOmRequest, modifiedOmRequest);\n\n return modifiedOmRequest;\n }",
"title": ""
},
{
"docid": "54e255aef89e95916fe55c756e0e44df",
"score": "0.5124722",
"text": "@Override\n\tpublic void deleteTask(Long taskId) {\n\n\t}",
"title": ""
},
{
"docid": "5c690081eac3303a819c74b00f228e60",
"score": "0.5119687",
"text": "Completable deleteAsync(String fabricName, String protectionContainerName, String migrationItemName);",
"title": ""
},
{
"docid": "8bd3e88d30eca8da565a3eeb49faa2de",
"score": "0.50836766",
"text": "@Override\n\tpublic void delete_valid() throws Exception {\n\t\tassumeTrue(JavastravaApplicationConfig.STRAVA_ALLOWS_ACTIVITY_DELETE);\n\n\t\tsuper.delete_valid();\n\t}",
"title": ""
},
{
"docid": "7ecad652612cd119de781fc7a7937be8",
"score": "0.507955",
"text": "@HandleBeforeDelete\n public void handleBeforeDelete(final Contributor contributor) {\n this.contributorService.deleteAssociations(contributor);\n }",
"title": ""
},
{
"docid": "7f5291b48a2473a1445aaa8b64924f85",
"score": "0.5062448",
"text": "public int deleteAssurance(int id);",
"title": ""
},
{
"docid": "03de650fe87d43c2865c8bf834981795",
"score": "0.50598305",
"text": "@Override\n public void execute() {\n intake.purgeIntake(); // Drive the intake at full speed\n }",
"title": ""
},
{
"docid": "1712e4e9489e3a4ede28f0e1483ac078",
"score": "0.5024469",
"text": "public void run() {\n try {\n\tEnumeration<RequestID> e = null;\n\tRequestID task = null;\n\n\twhile (true) {\n\t// Sleep until the next phase\n\t Thread.sleep(GC_TIMEOUT);\n\t \n\t // Remove everything scheduled for the current phase\n\t for (e=nextRemoval.keys(); e.hasMoreElements(); ) {\n\t task = e.nextElement();\n\t requestMap.remove(task);\n\t }\n\n\t // Reset and copy all expired IDs for removal in the next phase\n\t nextRemoval.clear();\n\t for (e=requestMap.keys(); e.hasMoreElements(); ) {\n\t task = e.nextElement();\n\t nextRemoval.put(task, task);\n\t }\n\n\t}\n } catch (Throwable e) {\n\t// Any error conditions will probably kill this thread so as a \n\t// default we always tell our manager to restart us if we die\n\t// for some strange reason. We also print out the reason for\n\t// dying.\n//\tLog.println(\"Cleanup thread died because of: \" + e);\n\tstartCleanup();\n }\n }",
"title": ""
},
{
"docid": "91eb019d214fe2bbb8a70764123735b1",
"score": "0.5024302",
"text": "@Test\n public void testRemoveAllGeofenceTC3() {\n\n List<String> ctGeofenceIds = Arrays.asList(\"111\", \"222\");\n GoogleGeofenceAdapter geofenceAdapter = new GoogleGeofenceAdapter(application);\n when(geofencingClient.removeGeofences(ctGeofenceIds)).thenReturn(task);\n geofenceAdapter.removeAllGeofence(ctGeofenceIds, onSuccessListener);\n\n try {\n verifyStatic(Tasks.class);\n Tasks.await(task);\n\n verify(onSuccessListener).onSuccess(null);\n } catch (ExecutionException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n }",
"title": ""
},
{
"docid": "df36a811e41a8d20e945ef8355698225",
"score": "0.50061476",
"text": "private void deleteCTask(CompletedTodo task){\n try {\n EntityManager manager = managerFactory.createEntityManager();\n manager.getTransaction().begin();\n manager.remove(manager.contains(task) ? task : manager.merge(task));\n manager.getTransaction().commit();\n manager.close();\n } catch (Exception e){\n e.printStackTrace(System.out);\n }\n }",
"title": ""
},
{
"docid": "42f14a860b794e82fe3cb549fb51d1c7",
"score": "0.49995393",
"text": "@Test\n void removeTask() {\n }",
"title": ""
},
{
"docid": "85035bfd2117e5182a1b7b68bbfde423",
"score": "0.49899873",
"text": "public void beforeDelete1439( )\n {\n }",
"title": ""
},
{
"docid": "3a05f2333fd9428ba8db33430043cc87",
"score": "0.49848825",
"text": "@Test\r\n\tpublic void delete_account_and_try_login() {\r\n\t}",
"title": ""
},
{
"docid": "cd57c83002232149f068af5866ab1fbc",
"score": "0.49657977",
"text": "@Override\n\tpublic void delete(long memberCode, long talkAlarmCode) {\n\n\t}",
"title": ""
},
{
"docid": "fe4c126c157be653a07ff6f084cdb803",
"score": "0.4961349",
"text": "void deleteInvoice(int invoiceId);",
"title": ""
},
{
"docid": "16b010382f1968afdbf2c8017dcd2d03",
"score": "0.49604955",
"text": "@Override\n\t\tpublic void delete(Profesor item) {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "2174216339fe4f4c63657a72bbb51128",
"score": "0.4959453",
"text": "@Test\t\r\n\tpublic void doDeletionEnquiry()\r\n\t{\n\t\t\t\tassertNotNull(\"Test if there is valid enquiry arraylist to retrieve item\", enquiryList);\r\n\t\t\t\t\r\n\t\t\t\t//Test if enquiry ID can be removed -Normal\r\n\t\t\t\tC206_CaseStudy.addNewEnquiry(enquiryList, en1);\r\n\t\t\t\tBoolean check = C206_CaseStudy.doDeletionEnquiry(enquiryList, 1);\r\n\t\t\t\tassertTrue(\"Test if an enquiry is ok to be deleted?\", check);\r\n\t\t\t\t\r\n\t\t\t\t//Test if same enquiry ID can be removed again -Error\r\n\t\t\t\tcheck = C206_CaseStudy.doDeletionEnquiry(enquiryList, 1);\r\n\t\t\t\tassertFalse(\"Test that the same enquiry is NOT ok to be deleted again?\",check);\r\n\t\t\t\t\r\n\t\t\t\t//Test if enquiry ID can be removed -Normal\r\n\t\t\t\tC206_CaseStudy.addNewEnquiry(enquiryList, en2);\r\n\t\t\t\tcheck = C206_CaseStudy.doDeletionEnquiry(enquiryList, 2);\r\n\t\t\t\tassertTrue(\"Test if an enquiry is ok to be deleted?\", check);\r\n\t\t\t\t\r\n\t\t\t\t//Test if same enquiry ID can be removed again -Error\r\n\t\t\t\tcheck = C206_CaseStudy.doDeletionEnquiry(enquiryList, 2);\r\n\t\t\t\tassertFalse(\"Test that the same enquiry is NOT ok to be deleted again?\",check);\r\n\t\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "4aff0cc5d3b8f1e49564e3a134424d64",
"score": "0.49394885",
"text": "abstract boolean remove(Task task);",
"title": ""
},
{
"docid": "468371ecb1204f0ab4a57d8f4df91b46",
"score": "0.49105343",
"text": "public void delete() {\n deleteAction.perform(this);\n }",
"title": ""
},
{
"docid": "5f2dd601e98d1d4704f964d4ba8a8501",
"score": "0.49053627",
"text": "@Override\n public StepResult undoStep(FlightContext flightContext) throws InterruptedException {\n String projectId =\n flightContext.getWorkingMap().get(WorkspaceFlightMapKeys.GCP_PROJECT_ID, String.class);\n if (projectId != null) {\n // WSM should only attempt to delete the buckets it created, so it does nothing if the bucket\n // exists outside the current project. We can guarantee another flight did not create this\n // bucket because uniqueness within the project is already verified in WSM's DB earlier in\n // this\n // flight.\n Optional<Bucket> existingBucket = getBucket(resource.getBucketName());\n if (existingBucket.isPresent() && bucketInProject(existingBucket.get(), projectId)) {\n final StorageCow storageCow = crlService.createStorageCow(projectId);\n storageCow.delete(resource.getBucketName());\n }\n }\n return StepResult.getStepResultSuccess();\n }",
"title": ""
},
{
"docid": "692c6d3aa1331a18a33435863edced00",
"score": "0.4901295",
"text": "public void deletePreCourse(Course cos);",
"title": ""
},
{
"docid": "e5ba75682493d213bdcda8d603a5f5e4",
"score": "0.4900917",
"text": "int deleteByExample(TTaskExample example);",
"title": ""
},
{
"docid": "38a2bbf40fdc54947bd866cd9621f381",
"score": "0.48952612",
"text": "@Override\r\n public Response execute() {\r\n Task deletedTask = this.taskCollection.delete(this.taskId);\r\n return this.respond(deletedTask);\r\n }",
"title": ""
},
{
"docid": "ee9677a2aa1ccc832afdfc897fc1cdcf",
"score": "0.4892248",
"text": "public ListenableFuture<Void> delete() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"title": ""
},
{
"docid": "f6fdab1333a66d357af72db0a4d2c3b7",
"score": "0.48873267",
"text": "public void tryAcceptRemovalRequest() {\n \n String accountID = theView.getSelectedFlaggedPatient().split(\" \")[0];\n \n boolean successfullyDeleted = theModel.deleteAccount(accountID);\n \n if (successfullyDeleted)\n {\n updateAllPatientData();\n }\n else \n {\n theView.displayErrorMessage(\"Error encountered when accepting removal request.\");\n }\n \n }",
"title": ""
},
{
"docid": "e0a5808f8bd4dba48977651a0ea548e3",
"score": "0.4884573",
"text": "@Override\n @Transactional\n @PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n void delete(Long id);",
"title": ""
},
{
"docid": "8788e8d971026444c55fcadcfdba69b5",
"score": "0.48819485",
"text": "@After\n public void tearDown() {\n PlannerTask task = testBase.graphClient.getPlanner().getTasks(planTask.id).buildRequest().get();\n IPlannerTaskRequest taskReq = testBase.graphClient.getPlanner().getTasks(planTask.id).buildRequest();\n taskReq.addHeader(\"If-Match\", getEtag(task.getRawObject()));\n taskReq.delete();\n\n PlannerBucket bucket = testBase.graphClient.getPlanner().getBuckets(planBucket.id).buildRequest().get();\n IPlannerBucketRequest bucketReq = testBase.graphClient.getPlanner().getBuckets(planBucket.id).buildRequest();\n bucketReq.addHeader(\"If-Match\", getEtag(bucket.getRawObject()));\n bucketReq.delete();\n\n //Fails with 403 Forbidden\n // PlannerPlan plan = testBase.graphClient.getPlanner().getPlans(planId).buildRequest().get();\n // IPlannerPlanRequest planReq = testBase.graphClient.getPlanner().getPlans(planId).buildRequest();\n // planReq.addHeader(\"If-Match\", getEtag(plan.getRawObject()));\n // planReq.delete();\n }",
"title": ""
},
{
"docid": "676fa7759de4807555be370bcb543662",
"score": "0.48810342",
"text": "@Test\r\n\tpublic void doDeleteStudentAcc() {\n\t\tassertNotNull(\"Test if there is valid StudentList arraylist to delete for\", StudentList);\r\n\r\n\t\t\r\n\t\tC206_CaseStudy.registerStudentAccount(StudentList, sa1);\r\n\t\tC206_CaseStudy.registerStudentAccount(StudentList, sa2);\r\n\t\t\r\n\t\t//Test for the sa1's name can be retrieve and test to delete sa1's name\r\n\t\tString name = sa1.getName();\r\n\t\t\r\n\t\t\r\n\t\t//normal condition\r\n\t\tBoolean isdeleted = C206_CaseStudy.doDeleteStudentAcc(StudentList, name);\r\n\t\tassertTrue(\"Test if this name is deleted\", isdeleted);\r\n\t\t\r\n\t\t\r\n\t\t//error condition\r\n\t\tisdeleted = C206_CaseStudy.doDeleteStudentAcc(StudentList, name);\r\n\t\tassertFalse(\"Test that the student is fail to delete\", isdeleted);\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "4be8846112d7e079a0cc1624357e8e6d",
"score": "0.48790264",
"text": "int deleteApprovals(int idStage, String cdTask);",
"title": ""
},
{
"docid": "db47633d4231b580484ec42a7d314eed",
"score": "0.48771343",
"text": "Completable deleteAsync(String resourceGroupName, String profileName, String customDomainName);",
"title": ""
},
{
"docid": "4d82fda7abf5efd741215222be3bb897",
"score": "0.48767802",
"text": "private void deleteMonster() {\n Log.d(\"***** mondetailview\", \"attempting to delete monster async\");\n GenericCallback cb = new DelMonCallback(this);\n String key = currentMon.encoded_key;\n client.delete_monster_async(key, cb);\n\n //will this work??\n NavUtils.navigateUpFromSameTask(this);\n }",
"title": ""
},
{
"docid": "03fe74b2fbe97f31d2fe845243800511",
"score": "0.48747635",
"text": "int deleteByExample(THTaskExample example);",
"title": ""
},
{
"docid": "68e365e78f3edffa951dcf30b74a8b08",
"score": "0.48742735",
"text": "@Override\n public Void then(Task<IBMDataObject> task) throws Exception {\n if (task.isCancelled()) {\n Log.e(CLASS_NAME, \"Exception : Task \" + task.toString() + \" was cancelled.\");\n }\n\n // Log error message, if the delete task fails.\n else if (task.isFaulted()) {\n Log.e(CLASS_NAME, \"Exception : \" + task.getError().getMessage());\n }\n\n // If the result succeeds, reload the list.\n else {\n// lvArrayAdapter.notifyDataSetChanged();\n //success\n Log.d(CLASS_NAME, \"Delete success.\");\n }\n return null;\n }",
"title": ""
},
{
"docid": "70c529238dd24952b9f0feb2d569d3c8",
"score": "0.48730826",
"text": "public static void deleteCoupons() {\n\n MainTest.sleep();\n System.out.println(\"Auto-deleting a single company - Should run smoothly (press enter to continue): \");\n scan.nextLine();\n System.out.println();\n\n // Trying to delete coupon2\n Coupon coupon = null;\n\n try {\n coupon = service.getCoupons().get(2);\n System.out.println(\"Trying to delete Coupon3\");\n service.deleteCoupon(coupon.getId());\n System.out.println(\"Coupon3 was deleted successfully\");\n } catch (CouponSystemException e) {\n e.printStackTrace();\n }\n\n MainTest.space();\n }",
"title": ""
},
{
"docid": "a5d37472e7bf8b025dc48c733d25634b",
"score": "0.48688346",
"text": "private void removeGift() {\n\t\tif (userManager.isAuthorized())\n\t\t{\n\t\t\tif (currentGift.getUserName().equals(userManager.getAuthUser().getName()))\n\t\t\t{\n\t\t\t\tCallableTask.invoke(new Callable<GiftEntity>(){\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic GiftEntity call() throws Exception {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\n\t\t\t\t\t\treturn giftService.removeGift(currentGift.getId());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}, new TaskCallback<GiftEntity>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void success(GiftEntity result) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t//Remove\t\t\t\t\t\n\t\t\t\t\t\tif (currentGift.isParent())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\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}\n\t}",
"title": ""
},
{
"docid": "22c686d6d14af88f8da7d7cb2d5123cd",
"score": "0.486384",
"text": "@Override\n\tprotected void executeRemove(String requestId, DSRequest request, DSResponse response) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "f8cc5962373c1646ff59e7d6a9c5063f",
"score": "0.48633808",
"text": "default void deleteIdPs(String tenantDomain) throws IdentityProviderManagementException {\n\n }",
"title": ""
},
{
"docid": "d94e8f21f55d6a01a90398562561848a",
"score": "0.48609805",
"text": "@Override\r\n\tpublic int delete(long postUUID) {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "97dace85eee05a64d178c35934a74a83",
"score": "0.48596352",
"text": "private void deleteTask() {\n Assert.assertNotNull(taskId);\n \n // Delete the test task\n taskService.deleteTask(taskId, true);\n \n // Check if task does not longer exist\n Task task = taskService.getTask(taskId);\n Assert.assertNull(task);\n }",
"title": ""
},
{
"docid": "83da10942044bbc355b0f4b55a6fdcb6",
"score": "0.48593292",
"text": "public void verifyPrescription(Medication prescriptionAwaitingVerification) {\n\t\tactivePrescriptionsVerified[numOfPrescriptionsVerified++] = prescriptionAwaitingVerification;\n\t\tdeletePrescriptionAwaitingVerification(prescriptionAwaitingVerification);\n\t}",
"title": ""
},
{
"docid": "84514ec3c8daaacf8e4f2cb6bc13f0cd",
"score": "0.48591587",
"text": "private void discardDraft() {\n Executor myExecutor = Executors.newSingleThreadExecutor();\n myExecutor.execute(() -> {\n journalEntryDao.delete(journalEntry);\n });\n }",
"title": ""
},
{
"docid": "60046fa4c715decb4e86538ab236aa0d",
"score": "0.48560938",
"text": "public void deleteTestcase(Testcase testcase_1);",
"title": ""
},
{
"docid": "d80c2cbf213f647daca8e1996ea884e3",
"score": "0.48538914",
"text": "@Override\n\tpublic void delete(String act_id) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "11c60933a7803ef30718fea7c4d85746",
"score": "0.48531663",
"text": "public void delete() {\n\t\tgetDbHelper().removeTask(this);\n\t}",
"title": ""
},
{
"docid": "82d5256f46f359f2a923c0145a36821a",
"score": "0.4850039",
"text": "void deleteTask(ReadOnlyTask target) throws UniqueTaskList.TaskNotFoundException;",
"title": ""
},
{
"docid": "82d5256f46f359f2a923c0145a36821a",
"score": "0.4850039",
"text": "void deleteTask(ReadOnlyTask target) throws UniqueTaskList.TaskNotFoundException;",
"title": ""
},
{
"docid": "13dd2e7a99acb4abb999bed9588de696",
"score": "0.48397115",
"text": "public synchronized void referBackClaim(String claimid) {\n\t\ttry {\n\t\t\tWebActionUtil.waitForElement(getReferBack(claimid), \"Action Refer back icon\");\n\t\t\tWebActionUtil.clickOnElement(getReferBack(claimid), \"Action Refer back icon\",\n\t\t\t\t\t\"Unable to click on Refer back icon\");\n\t\t} catch (Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.fail(\"Unable to click on the action refer back according to claim id : \" + claimid);\n\t\t\tAssert.fail(\"Unable to click on the action refer back according to claim id\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "74ed01e61334a5eef097575d114ef386",
"score": "0.48336688",
"text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void deleteFailed(\r\n\t\t\t\t\t\t\t\t\t\tAccounterException caught) {\n\r\n\t\t\t\t\t\t\t\t}",
"title": ""
},
{
"docid": "219b2bb4ff92507c8e289007970f8bf4",
"score": "0.48323563",
"text": "protected void invokeInternal(WorkflowContext context, ProgressMonitor monitor, Issues issues) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._ylbdEAXGEeKdMrzRF_vTbg) ENABLED START */\r\n\t\tpreFileTreeWalker.walkFileTree();\r\n\t\tsuper.invokeInternal(context, monitor, issues);\r\n\t\tfileDeletion.delete();\r\n\t\tpostFileTreeWalker.walkFileTree();\r\n\t\tfolderDeletion.delete();\r\n\t\t/* PROTECTED REGION END */\r\n\t}",
"title": ""
},
{
"docid": "9566ed58950ea96117a797262af941a2",
"score": "0.48279238",
"text": "@Transactional\n public void deleteTask(Long id, Principal principal) throws IllegalAccessException, NotFoundException {\n if (null == id) {\n throw new IllegalAccessException(\"The task with id\" + id + \" does not exist!\");\n }\n\n Optional<Task> taskOptional = taskRepository.findById(id);\n if (!taskOptional.isPresent()) {\n throw new NotFoundException(\"The task with id \" + id + \" was not found!\");\n }\n\n //check it the principal is manager in order to delete the task\n if (Boolean.FALSE.equals(checkForManager(taskOptional.get(), principal.getName()))) {\n throw new IllegalAccessException(\"You can not delete this task because you are not a manager\");\n }\n\n Set<Assignee> assignees = taskOptional.get().getAssignedUsers();\n Set<Long> assigneeIds = assignees.stream().map(Assignee::getId).collect(toSet());\n Set<Long> assigneeMembers = assignees.stream().map(Assignee::getAssigneeMemberSet)\n .flatMap(list -> list.stream())\n .map(AssigneeMember::getId)\n .collect(Collectors.toSet());\n\n assigneeMemberRepository.deleteAllByIdIn(assigneeMembers);\n assigneeRepository.deleteAllByIdIn(assigneeIds);\n taskRepository.delete(taskOptional.get());\n\n }",
"title": ""
},
{
"docid": "034244c0f74f709e58aea0ba7fe6aa5e",
"score": "0.48206338",
"text": "@Override\r\n\t\t\t\t\tpublic void onGranted() {\n\t\t\t\t\t\tmGranted = true;\r\n\t\t\t\t\t\tmGrantSemaphore.release();\r\n\t\t\t\t\t\tLog.d( \"Permission of writing external storage is granted. \"\r\n\t\t\t\t\t\t\t\t+ \"Read process starts: \",\r\n\t\t\t\t\t\t\t mFileTraqnsferInfo.mFileName );\r\n\t\t\t\t\t}",
"title": ""
},
{
"docid": "5ac575b281421eb9a59bf35df50110f5",
"score": "0.4812068",
"text": "void preDelete(ENTITY entity, PreDeleteContext<ENTITY> context);",
"title": ""
},
{
"docid": "c367401bb5ca097d4e3419d5a578f8a4",
"score": "0.48113072",
"text": "@OnClick(R.id.btn_removeAccount)\n void delete() {\n DeleteAccountTask deleteAccountTask = new DeleteAccountTask(this);\n deleteAccountTask.execute();\n }",
"title": ""
},
{
"docid": "4e2e392eb0db4f93d22606393d1ab3e7",
"score": "0.48087227",
"text": "@Override\n public void redo() {\n task.removePerson(person);\n }",
"title": ""
},
{
"docid": "6daa2da4e3d57a06c4cf9b6b26443393",
"score": "0.48051733",
"text": "@Test\n public void deletePreSharedKeyTest() {\n String endpointName = null;\n // Void response = api.deletePreSharedKey(endpointName);\n\n // TODO: test validations\n }",
"title": ""
},
{
"docid": "b6b9b70818834218e06581400fa2a9fd",
"score": "0.4803369",
"text": "public synchronized void referApproveClaim(String claimid) {\n\t\ttry {\n\t\t\tWebActionUtil.waitForElement(selectApprove(claimid), \"Action Approve icon\");\n\t\t\tWebActionUtil.clickOnElement(selectApprove(claimid), \"Action Approve icon\",\n\t\t\t\t\t\"Unable to click on action Approve icon\");\n\t\t\tWebActionUtil.waitForAngularPageload();\n\t\t} catch (Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.fail(\"Unable to click on action Approve icon according to claim id : \" + claimid);\n\t\t\tAssert.fail(\"Unable to click on action Approve icon according to claim id\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "02cc9602f8473e4c0747b98e8dc72fb7",
"score": "0.47956178",
"text": "public void deleteTask(int taskId)\n\t{\n\t}",
"title": ""
},
{
"docid": "775372e8608a1f347ad272a1b9848e21",
"score": "0.47918177",
"text": "public void doDeleteQuotationRequest() {\n\t\tassertNotNull(\"Check that there is a valid arrayList to delete from: \", QuotationRequestList);\r\n\n\t\t//Given after adding two items\r\n\t\tC206_CaseStudy.addQuotationRequest(QuotationRequestList, qr1);\r\n\t\tC206_CaseStudy.addQuotationRequest(QuotationRequestList, qr2);\r\n\t\t//Test that when a request deleted, the size of the Quotation Request List is 0.\r\n\t\tC206_CaseStudy.deleteQuotationRequest(QuotationRequestList, qr1.getRequestName());\r\n\t\tassertEquals(\"Check that the QuotationRequestList size is 1: \", 1, QuotationRequestList.size());\r\n\t\t\r\n\t\t//Test that the Quotation Request List is empty but not null after removing all the requests\r\n\t\tC206_CaseStudy.deleteQuotationRequest(QuotationRequestList, qr2.getRequestName());\r\n\t\tassertTrue(\"Check that QuotationRequestList is empty after deleting all requests: \", QuotationRequestList.isEmpty());\r\n\t\tassertEquals(\"Check that the QuotationRequestList size is 0: \", 0, QuotationRequestList.size());\r\n\t\t\r\n\t\t//Test that when the request name entered is found in array list.\r\n\t\tC206_CaseStudy.addQuotationRequest(QuotationRequestList, qr1);\r\n\t\tboolean isDeleted = C206_CaseStudy.deleteQuotationRequest(QuotationRequestList, \"1\") ;\r\n\t\tassertTrue(\"Check that when request name is deleted - true \", isDeleted);\t\r\n\t\t\r\n\t\t//Test when the request name entered is not found in Quotation Request List.\r\n\t\tC206_CaseStudy.addQuotationRequest(QuotationRequestList, qr1);\r\n\t\tisDeleted = C206_CaseStudy.deleteQuotationRequest(QuotationRequestList, \"7\") ;\r\n\t\tassertFalse(\"Check that when request name is deleted - false \", isDeleted);\r\n\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "518b5f32402223313b0715afeb273647",
"score": "0.47881082",
"text": "void undoneTask(ReadOnlyTask target) throws UniqueTaskList.TaskNotFoundException;",
"title": ""
},
{
"docid": "71fbdda51bea02c1813cc80dd5e15c10",
"score": "0.47847807",
"text": "Agent delete(String token);",
"title": ""
},
{
"docid": "0ef5fbae4ea71799f662c998dd3abd1e",
"score": "0.47831088",
"text": "public void deleteInfluence(final RoutingContext routingContext) {\n\t\t Thread t=new Thread() {\n\t\t public void run() { \n\t\t\t deleteInfluenceBlocking(routingContext);\n\t\t }\n\t\t };\n\t\t t.setDaemon(true);\n\t\t t.start();\n\t\t }",
"title": ""
},
{
"docid": "425fc953ecfa4864a007593c99d0a230",
"score": "0.47710717",
"text": "public void deletePR( EAIMMCtxtIfc theCtxt) throws EAIException {\r\n\r\n super.deletePR( theCtxt);\r\n\r\n \r\n\r\n \r\n // When deleting : unlink related InverseOFmetaNodeMgr\r\n com.dosmil_e.m3.traversal.ifc.M3NodeConfigIfc[] someInverseOFmetaNodeMgr = getInverseOFmetaNodeMgr( theCtxt);\r\n if( someInverseOFmetaNodeMgr != null) {\r\n int aInverseOFmetaNodeMgrLength = someInverseOFmetaNodeMgr.length;\r\n for( int anIndex = 0 ; anIndex < aInverseOFmetaNodeMgrLength ; anIndex++) {\r\n com.dosmil_e.m3.traversal.ifc.M3NodeConfigIfc aInverseOFmetaNodeMgr = someInverseOFmetaNodeMgr[ anIndex];\r\n if( aInverseOFmetaNodeMgr != null) {\r\n removeInverseOFmetaNodeMgr( theCtxt, aInverseOFmetaNodeMgr);\r\n }\r\n }\r\n }\r\n\r\n\r\n // When deleting unlink related TraversalConfig\r\n setTraversalConfig( theCtxt, null);\r\n\r\n\r\n\r\n }",
"title": ""
},
{
"docid": "ddf780931a78c5ab9da5e986ef8283fd",
"score": "0.47709802",
"text": "@Test\n public void forceSubClaimsTest() {\n // TODO: test forceSubClaims\n }",
"title": ""
},
{
"docid": "1c62b5586700f60ef77f7ac9f36f5c00",
"score": "0.47704208",
"text": "public void deleteTask(String username, String name);",
"title": ""
},
{
"docid": "690ab3a7983080b4a84f390625e8f66f",
"score": "0.4770415",
"text": "void onDequeuedLocked() {\n }",
"title": ""
},
{
"docid": "f25ecfa72237d300f526a8772acc3ddd",
"score": "0.4762917",
"text": "boolean removeTask(PolicyDeploymentTask argument, boolean updateDeployStatusOnSuccess);",
"title": ""
}
] |
190b9c24591dd09d18b40344c56005a6 | .msggamedata.MsgClanFestivalData my_clan_festival_data = 1; | [
{
"docid": "9e90b904378bf96f89bbec0067631af4",
"score": "0.0",
"text": "public boolean hasMyClanFestivalData() {\n return myClanFestivalData_ != null;\n }",
"title": ""
}
] | [
{
"docid": "0f3fdf449c8a54f54f08e91a45e4649d",
"score": "0.690518",
"text": "com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData getMyClanFestivalData();",
"title": ""
},
{
"docid": "d70a110f5ba11c840ed31c7377799096",
"score": "0.64611214",
"text": "com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalDataOrBuilder getMyClanFestivalDataOrBuilder();",
"title": ""
},
{
"docid": "f468e8a597ce6e4035d5ff82cee52f2f",
"score": "0.608547",
"text": "public com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData getMyClanFestivalData() {\n if (myClanFestivalDataBuilder_ == null) {\n return myClanFestivalData_ == null ? com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.getDefaultInstance() : myClanFestivalData_;\n } else {\n return myClanFestivalDataBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "aac06da3c27c942526a6549d8b66b25d",
"score": "0.59525913",
"text": "public com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalDataOrBuilder getMyClanFestivalDataOrBuilder() {\n if (myClanFestivalDataBuilder_ != null) {\n return myClanFestivalDataBuilder_.getMessageOrBuilder();\n } else {\n return myClanFestivalData_ == null ?\n com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.getDefaultInstance() : myClanFestivalData_;\n }\n }",
"title": ""
},
{
"docid": "42c5f88e69ca25dded5a613ab38cb101",
"score": "0.59125084",
"text": "public Builder setMyClanFestivalData(com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData value) {\n if (myClanFestivalDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n myClanFestivalData_ = value;\n onChanged();\n } else {\n myClanFestivalDataBuilder_.setMessage(value);\n }\n\n return this;\n }",
"title": ""
},
{
"docid": "8d4d0dd49abc53d5092dbc405551738f",
"score": "0.59097505",
"text": "public com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData getMyClanFestivalData() {\n return myClanFestivalData_ == null ? com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.getDefaultInstance() : myClanFestivalData_;\n }",
"title": ""
},
{
"docid": "52e76a15c675ea6c38927f849d5b7901",
"score": "0.58647764",
"text": "com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData getClanMemberFestivalData(int index);",
"title": ""
},
{
"docid": "0ad9665f7c07c2b27f227150740c39ec",
"score": "0.585478",
"text": "public com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalDataOrBuilder getMyClanFestivalDataOrBuilder() {\n return getMyClanFestivalData();\n }",
"title": ""
},
{
"docid": "cd516b33b5e354fbe82f8fb269fdf14f",
"score": "0.567382",
"text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData, com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.Builder, com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalDataOrBuilder> \n getMyClanFestivalDataFieldBuilder() {\n if (myClanFestivalDataBuilder_ == null) {\n myClanFestivalDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData, com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.Builder, com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalDataOrBuilder>(\n getMyClanFestivalData(),\n getParentForChildren(),\n isClean());\n myClanFestivalData_ = null;\n }\n return myClanFestivalDataBuilder_;\n }",
"title": ""
},
{
"docid": "9cac7bfbe35e0979dac5e0b14743a60d",
"score": "0.5557901",
"text": "public Builder addClanMemberFestivalData(com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData value) {\n if (clanMemberFestivalDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClanMemberFestivalDataIsMutable();\n clanMemberFestivalData_.add(value);\n onChanged();\n } else {\n clanMemberFestivalDataBuilder_.addMessage(value);\n }\n return this;\n }",
"title": ""
},
{
"docid": "741db75f7b1288c2fded56b68d2fb196",
"score": "0.55271065",
"text": "com.lwl.netty.protobuf.MyDataInfo.Cat getCat();",
"title": ""
},
{
"docid": "ab7ea38b79470c31d68778284ae39a8e",
"score": "0.5441507",
"text": "public com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData getClanMemberFestivalData(int index) {\n if (clanMemberFestivalDataBuilder_ == null) {\n return clanMemberFestivalData_.get(index);\n } else {\n return clanMemberFestivalDataBuilder_.getMessage(index);\n }\n }",
"title": ""
},
{
"docid": "6426027f71428df9b6cedbe672ed6701",
"score": "0.54342645",
"text": "easemob.pb.Conferencebody.ConferenceBody.Status getStatus();",
"title": ""
},
{
"docid": "3f8e8b6a647e76d24f22e5f6472e8b4b",
"score": "0.54278785",
"text": "public InternalGameData(Game game){\r\n this.game = game;\r\n }",
"title": ""
},
{
"docid": "f89b4ebf54808b48dfe2a0b87d1d72a7",
"score": "0.5406275",
"text": "public com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData getClanMemberFestivalData(int index) {\n return clanMemberFestivalData_.get(index);\n }",
"title": ""
},
{
"docid": "d12a8714a6f26ae6b71a4e9dd0338077",
"score": "0.53941464",
"text": "com.felania.msldb.MsgUserMonsterOuterClass.MsgUserMonster getUserMonster();",
"title": ""
},
{
"docid": "266351cadaf6d51091e82ef394708d0d",
"score": "0.53183055",
"text": "MsgGCClient.CMsgCreateTourneyPhase.Swiss getSwiss();",
"title": ""
},
{
"docid": "b3d68aea0bf2dae5dc28adc0535b4c56",
"score": "0.53029156",
"text": "void mo44595a(Peer lhVar);",
"title": ""
},
{
"docid": "a8b2a7d744187173448405f99e22395c",
"score": "0.5254835",
"text": "public com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendDataOrBuilder getClanMemberFestivalDataOrBuilder(\n int index) {\n if (clanMemberFestivalDataBuilder_ == null) {\n return clanMemberFestivalData_.get(index); } else {\n return clanMemberFestivalDataBuilder_.getMessageOrBuilder(index);\n }\n }",
"title": ""
},
{
"docid": "f6ab4ed106ea9aad1179fb8905d8d70d",
"score": "0.5225233",
"text": "com.lwl.netty.protobuf.MyDataInfo.Dog getDog();",
"title": ""
},
{
"docid": "9b1e2646040094488a93dc54e2c37aa9",
"score": "0.52074033",
"text": "public com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.Builder getMyClanFestivalDataBuilder() {\n \n onChanged();\n return getMyClanFestivalDataFieldBuilder().getBuilder();\n }",
"title": ""
},
{
"docid": "9a8f7feab036b9de87eea4280afb9c6c",
"score": "0.5202057",
"text": "public Builder setClanMemberFestivalData(\n int index, com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData value) {\n if (clanMemberFestivalDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClanMemberFestivalDataIsMutable();\n clanMemberFestivalData_.set(index, value);\n onChanged();\n } else {\n clanMemberFestivalDataBuilder_.setMessage(index, value);\n }\n return this;\n }",
"title": ""
},
{
"docid": "454e65aa6fc611378dcada2eca8a1f3b",
"score": "0.5182317",
"text": "public com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendDataOrBuilder getClanMemberFestivalDataOrBuilder(\n int index) {\n return clanMemberFestivalData_.get(index);\n }",
"title": ""
},
{
"docid": "a062ad1a2110ffda612165a86be0b7da",
"score": "0.518003",
"text": "private void setMessage(String msg, float ct) {\n\t\tmessage = msg;\n\t}",
"title": ""
},
{
"docid": "6179d8d243e6e0f20bcf12b3216f38b0",
"score": "0.5142826",
"text": "public Builder addClanMemberFestivalData(\n com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData.Builder builderForValue) {\n if (clanMemberFestivalDataBuilder_ == null) {\n ensureClanMemberFestivalDataIsMutable();\n clanMemberFestivalData_.add(builderForValue.build());\n onChanged();\n } else {\n clanMemberFestivalDataBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"title": ""
},
{
"docid": "6393aabb8e03b24c9711b17a3c1c5e74",
"score": "0.5140513",
"text": "public Builder addClanMemberFestivalData(\n int index, com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData value) {\n if (clanMemberFestivalDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClanMemberFestivalDataIsMutable();\n clanMemberFestivalData_.add(index, value);\n onChanged();\n } else {\n clanMemberFestivalDataBuilder_.addMessage(index, value);\n }\n return this;\n }",
"title": ""
},
{
"docid": "6d1e93666d69ad8faf4adfdd9a2692d5",
"score": "0.5134223",
"text": "public com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData.Builder addClanMemberFestivalDataBuilder() {\n return getClanMemberFestivalDataFieldBuilder().addBuilder(\n com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData.getDefaultInstance());\n }",
"title": ""
},
{
"docid": "814e99a161783b5c5fad6abba9765ed7",
"score": "0.51187253",
"text": "public PlayerVisibleData getPlayerVisibleData(){return this.playerVisibleData;}",
"title": ""
},
{
"docid": "e85a9e0c665d8385607fe6068d03c533",
"score": "0.5117946",
"text": "public int getMessageType(){\n return this.msgType; \n }",
"title": ""
},
{
"docid": "27037771c9eac6970a5a01451fe5f9e1",
"score": "0.5116621",
"text": "public java.lang.String getMieAct(){\r\n return localMieAct;\r\n }",
"title": ""
},
{
"docid": "bb8d6e569ba776fe27c7396dc6508bf8",
"score": "0.51006854",
"text": "easemob.pb.Conferencebody.ConferenceBody.Type getType();",
"title": ""
},
{
"docid": "229d5b7bead5010adcbb1c64aab10211",
"score": "0.5084153",
"text": "public java.lang.String getMes(){\r\n return localMes;\r\n }",
"title": ""
},
{
"docid": "2726e872f7b56e15884d83faf1bd2d36",
"score": "0.50719815",
"text": "public java.lang.String getVieAct(){\r\n return localVieAct;\r\n }",
"title": ""
},
{
"docid": "4e215c13b24d139ef4d0ecdd25c5917a",
"score": "0.5071557",
"text": "boolean hasMyClanFestivalData();",
"title": ""
},
{
"docid": "3a55b1e37d538e7dfb13321e8952deac",
"score": "0.50669277",
"text": "private void initNewTeamData() {\n\n mTeamData = new SparseIntArray();\n mTeamData.append(Constants.RecordDataType.YOUR_TEAM_TOTAL_SCORE, 0);\n mTeamData.append(Constants.RecordDataType.OPPONENT_TEAM_TOTAL_SCORE, 0);\n mTeamData.append(Constants.RecordDataType.YOUR_TEAM_FOUL, 0);\n mTeamData.append(Constants.RecordDataType.OPPONENT_TEAM_FOUL, 0);\n mTeamData.append(Constants.RecordDataType.QUARTER, 1);\n\n //TODO 或許可以捨去整個TeamData SparseArray 全部改用SharedPreferences\n SharedPreferenceHelper.write(SharedPreferenceHelper.YOUR_TEAM_FOUL, 0);\n SharedPreferenceHelper.write(SharedPreferenceHelper.OPPONENT_TEAM_FOUL, 0);\n SharedPreferenceHelper.write(SharedPreferenceHelper.YOUR_TEAM_TOTAL_SCORE, 0);\n SharedPreferenceHelper.write(SharedPreferenceHelper.OPPONENT_TEAM_TOTAL_SCORE, 0);\n SharedPreferenceHelper.write(SharedPreferenceHelper.QUARTER, 1);\n\n }",
"title": ""
},
{
"docid": "262c19c0d6863db02eb1ae5b2658aefd",
"score": "0.5061901",
"text": "private void m111970f() {\n ClubNotification clubNotification = (ClubNotification) mo108896M();\n if (!(clubNotification.content == null || clubNotification.content.url == null || clubNotification.content.url.equals(\"\"))) {\n ZRouter.m72975c(clubNotification.content.url).mo76346a(mo108898O());\n SemanticZa.m111427c(this.f80067a.getZuiZaEventImpl(), clubNotification.content.url, clubNotification.attachInfo);\n }\n ClubZa.f79523a.mo101253b(C6969H.m41409d(\"G6F82DE1FAA22A773A9419344E7E7FCD96697DC1CB633AA3DEF019E\"), clubNotification.attachInfo);\n }",
"title": ""
},
{
"docid": "e42d8b998aadd19995deb30f5cf875b5",
"score": "0.506175",
"text": "public void mo35856a() {\n this.f24883g.mo35882a();\n C7355ao aoVar = this.f24883g;\n aoVar.sendMessage(aoVar.obtainMessage(0));\n }",
"title": ""
},
{
"docid": "fafb46e0cf864e7910fb23c1c16af04f",
"score": "0.50501883",
"text": "public PlayerData() {\r\n\t\tthis.team = 9;\r\n\t\tthis.number = 0;\r\n\t\tthis.throwCount = 1;\r\n\t\tthis.finish = 0;\r\n\t}",
"title": ""
},
{
"docid": "67b7ce3ea078e424c39aefc4994a95de",
"score": "0.5044906",
"text": "public java.util.List<? extends com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendDataOrBuilder> \n getClanMemberFestivalDataOrBuilderList() {\n return clanMemberFestivalData_;\n }",
"title": ""
},
{
"docid": "8d698254c69d8494665c9f26488c0524",
"score": "0.5044229",
"text": "public Builder setMyClanFestivalData(\n com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.Builder builderForValue) {\n if (myClanFestivalDataBuilder_ == null) {\n myClanFestivalData_ = builderForValue.build();\n onChanged();\n } else {\n myClanFestivalDataBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"title": ""
},
{
"docid": "493a793e7abea9f9eec8ad26d3191b0b",
"score": "0.5035616",
"text": "private void setData(Message msg) {\n\t\ttry {\n\t\t\tString mess=(String) msg.obj;\n//\t\t\tLog.e(\"平均时间\", mess);\n\t\t\tGlkcTime glkcbean=gson.fromJson(new JSONObject(mess).getJSONObject(\"data\").toString(), GlkcTime.class);\n\t\t\ttv_kcsj.setText(\"*库存数据更新于:\"+glkcbean.getRepertoryUpdateTime());\n\t\t\ttv_qksj.setText(\"*潜客/成交数据更新于:\"+glkcbean.getReceptionUpdateTime());\n\t\t\ttv_lrsj.setText(\"*利润数据更新于:\"+glkcbean.getProfitUpdateTime());\n\t\t\ttv_dqkc.setText(glkcbean.getStorageDaysNum()+\"台\");\n\t\t\ttv_pjkc.setText(glkcbean.getAvgStorageDays()+\"天\");\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": "24cbc45588d506e49edb6eac900a6fac",
"score": "0.502746",
"text": "com.felania.msldb.MsgUserMonsterOuterClass.MsgUserMonsterOrBuilder getUserMonsterOrBuilder();",
"title": ""
},
{
"docid": "b772eea80adbcde7372b49c7ad00bb61",
"score": "0.5010011",
"text": "com.lwl.netty.protobuf.MyDataInfo.MyMessage.DataType getDataType();",
"title": ""
},
{
"docid": "f52310231223375b2d423d6bf488a351",
"score": "0.49843922",
"text": "public void setFeCierre(java.lang.String param){\r\n localFeCierreTracker = true;\r\n \r\n this.localFeCierre=param;\r\n \r\n\r\n }",
"title": ""
},
{
"docid": "596ce3c9013d0dbdf4871980fce39e95",
"score": "0.49824443",
"text": "public void onBitfieldMessage (BitfieldMessage msg);",
"title": ""
},
{
"docid": "9b0aa649f6d588bf6504ef3d188cd483",
"score": "0.49760932",
"text": "java.util.List<com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData> \n getClanMemberFestivalDataList();",
"title": ""
},
{
"docid": "ad2cd6f219876b0e6c761fd52be19fd7",
"score": "0.49710587",
"text": "com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendDataOrBuilder getClanMemberFestivalDataOrBuilder(\n int index);",
"title": ""
},
{
"docid": "b9c95dc167d75ab83ac995bb08d427a0",
"score": "0.49571693",
"text": "public java.lang.String getReceivingdescription(){\n return localReceivingdescription;\n }",
"title": ""
},
{
"docid": "b9c95dc167d75ab83ac995bb08d427a0",
"score": "0.49571693",
"text": "public java.lang.String getReceivingdescription(){\n return localReceivingdescription;\n }",
"title": ""
},
{
"docid": "b9c95dc167d75ab83ac995bb08d427a0",
"score": "0.49571693",
"text": "public java.lang.String getReceivingdescription(){\n return localReceivingdescription;\n }",
"title": ""
},
{
"docid": "b9c95dc167d75ab83ac995bb08d427a0",
"score": "0.49571693",
"text": "public java.lang.String getReceivingdescription(){\n return localReceivingdescription;\n }",
"title": ""
},
{
"docid": "816b0e7ea6cf5c0c886b8948ae090930",
"score": "0.49494106",
"text": "void setGameMessage(String message);",
"title": ""
},
{
"docid": "ecb716d3aff1b6b3fb54db13e4d16f5f",
"score": "0.49395472",
"text": "public void setFrog(Case frog){ this.frog = frog; }",
"title": ""
},
{
"docid": "1dc2479156d23b35985625078b40fcf9",
"score": "0.4938019",
"text": "@Override\n\t\tpublic IMessage onMessage(PlayerHealthStatMessage message, MessageContext ctx) {\n\t\t\tmain.data = message.data;\n\t\t\treturn null;\n\t\t}",
"title": ""
},
{
"docid": "1ec81a2cad32c551745bfb8a943709c3",
"score": "0.4927632",
"text": "private RspGetClanFestivalData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"title": ""
},
{
"docid": "eaca0ab0366ef0feb52994a003202a23",
"score": "0.4927365",
"text": "public interface Protocol {\n int deviceID=0;\n String ack=\"ACK\";\n String dataType=\"Video\";\n}",
"title": ""
},
{
"docid": "2353a64b823220aa4dc00b03a7801848",
"score": "0.49186814",
"text": "public java.lang.String getFeCierre(){\r\n return localFeCierre;\r\n }",
"title": ""
},
{
"docid": "a73bcb0604e4c235159baccf6ae9043f",
"score": "0.4912757",
"text": "private void m97370a(C11585f fVar) {\n C7573i.m23587b(fVar, \"$receiver\");\n ((DmtStatusView) this.f78168a.mo60553a((int) R.id.dav)).mo25942f();\n }",
"title": ""
},
{
"docid": "bfa45901a34e3927ce14987ef568d082",
"score": "0.49110332",
"text": "public Builder mergeMyClanFestivalData(com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData value) {\n if (myClanFestivalDataBuilder_ == null) {\n if (myClanFestivalData_ != null) {\n myClanFestivalData_ =\n com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData.newBuilder(myClanFestivalData_).mergeFrom(value).buildPartial();\n } else {\n myClanFestivalData_ = value;\n }\n onChanged();\n } else {\n myClanFestivalDataBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"title": ""
},
{
"docid": "928827c99a91d14cb50d1873417e5b94",
"score": "0.49043322",
"text": "public java.util.List<? extends com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendDataOrBuilder> \n getClanMemberFestivalDataOrBuilderList() {\n if (clanMemberFestivalDataBuilder_ != null) {\n return clanMemberFestivalDataBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(clanMemberFestivalData_);\n }\n }",
"title": ""
},
{
"docid": "25f4367f5532aa09ff45c3750a1ccfac",
"score": "0.49004057",
"text": "MsgGCCommon.CMsgMatchData getMatchData();",
"title": ""
},
{
"docid": "746605e3bdb2e615945666c6b60739d4",
"score": "0.4892008",
"text": "void mo14969a(C2296c cVar);",
"title": ""
},
{
"docid": "e2d47a3a88397ac04bc03f75861fe1b0",
"score": "0.48909694",
"text": "public java.util.List<com.felania.msldb.MsgClanFestivalGiftSendDataOuterClass.MsgClanFestivalGiftSendData> getClanMemberFestivalDataList() {\n return clanMemberFestivalData_;\n }",
"title": ""
},
{
"docid": "431d57c60c0dd495ecdaf955ef33f933",
"score": "0.48821104",
"text": "public void setMsg(String msg)\n/* */ {\n/* 85 */ this.msg = msg;\n/* */ }",
"title": ""
},
{
"docid": "fe7746a6904064cb7acbf7e0f9f55695",
"score": "0.48711613",
"text": "public void mo2062a(C0639fl flVar) {\n flVar.mo4188e(this, invitationId);\n }",
"title": ""
},
{
"docid": "1da9898c5f30e5dacc7783d7e2d65326",
"score": "0.48632196",
"text": "public CaptureTheFlag() {\n super();\n this.mGameName = \"Capture the Flag\";\n flag1 = new Flag(1);\n flag2 = new Flag(2);\n }",
"title": ""
},
{
"docid": "00d1a99a0b0111a9685c5514fcc55f8c",
"score": "0.48595178",
"text": "public java.lang.String getSendingdescription(){\n return localSendingdescription;\n }",
"title": ""
},
{
"docid": "00d1a99a0b0111a9685c5514fcc55f8c",
"score": "0.48595178",
"text": "public java.lang.String getSendingdescription(){\n return localSendingdescription;\n }",
"title": ""
},
{
"docid": "00d1a99a0b0111a9685c5514fcc55f8c",
"score": "0.48595178",
"text": "public java.lang.String getSendingdescription(){\n return localSendingdescription;\n }",
"title": ""
},
{
"docid": "00d1a99a0b0111a9685c5514fcc55f8c",
"score": "0.48595178",
"text": "public java.lang.String getSendingdescription(){\n return localSendingdescription;\n }",
"title": ""
},
{
"docid": "a248b67d5a35eb483c564fcf52fed742",
"score": "0.48578772",
"text": "public Mes[] getMes(){\r\n return localMes;\r\n }",
"title": ""
},
{
"docid": "9f28b556d97733d467995e7637ad8bbd",
"score": "0.48563343",
"text": "SteamMsgGC.CMsgClientPingData getPingData();",
"title": ""
},
{
"docid": "9f28b556d97733d467995e7637ad8bbd",
"score": "0.48563343",
"text": "SteamMsgGC.CMsgClientPingData getPingData();",
"title": ""
},
{
"docid": "d6c88adad684e4db6a0c19635d87ee76",
"score": "0.485622",
"text": "public void setMes(java.lang.String param){\r\n \r\n this.localMes=param;\r\n \r\n\r\n }",
"title": ""
},
{
"docid": "dd6eb3050549252b1fa130056e93e464",
"score": "0.48531976",
"text": "public void PutData(){\n System.out.println(\" Jersy Number : \"+jerNo+\"\\n Player Name : \"+name+\"\\n Player Runs : \"+runs+\"\\n Player Innings : \"+inn+\"\\n Player Not Out For : \"+notOut+\" matches\");\n }",
"title": ""
},
{
"docid": "631222c0920ab81be1d55e94a5eeed40",
"score": "0.48475638",
"text": "public java.lang.String getDescZona(){\r\n return localDescZona;\r\n }",
"title": ""
},
{
"docid": "631222c0920ab81be1d55e94a5eeed40",
"score": "0.48475638",
"text": "public java.lang.String getDescZona(){\r\n return localDescZona;\r\n }",
"title": ""
},
{
"docid": "631222c0920ab81be1d55e94a5eeed40",
"score": "0.48475638",
"text": "public java.lang.String getDescZona(){\r\n return localDescZona;\r\n }",
"title": ""
},
{
"docid": "631222c0920ab81be1d55e94a5eeed40",
"score": "0.48475638",
"text": "public java.lang.String getDescZona(){\r\n return localDescZona;\r\n }",
"title": ""
},
{
"docid": "1581fa019b74877b2a7c57d3212f23e6",
"score": "0.48462054",
"text": "@Override\r\n public void GAME_CHEAT_FOUND(IoSession session, FightLandlordGameMessage message, EchoMessage echoMessage) throws Exception {\n\r\n }",
"title": ""
},
{
"docid": "47fd00c191acd44d61c5a9d89c8fd0b2",
"score": "0.4837015",
"text": "private void processPacket(DatagramPacket packet) {\n\t\tbyte[] data = packet.getData();\n\t\tswitch (data[0]) {\n\t\tcase 1:\n\t\t\tint id = data[2];\n\t\t\tint x = ((data[4] & 0xff) << 8) | (data[3] & 0xff);\n\t\t\tgame.getPlayer(id).setX(x);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tint bx = ((data[3] & 0xff) << 8) | (data[2] & 0xff);\n\t\t\tint by = ((data[5] & 0xff) << 8) | (data[4] & 0xff);\n\t\t\tint xVector = data[6];\n\t\t\tint yVector = data[7];\n\t\t\tgame.getBall(0).setX(bx);\n\t\t\tgame.getBall(0).setY(by);\n\t\t\tgame.getBall(0).setXVector(xVector);\n\t\t\tgame.getBall(0).setYVector(yVector);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tint s1 = ((data[3] & 0xff) << 8) | (data[2] & 0xff);\n\t\t\tint s2 = ((data[5] & 0xff) << 8) | (data[4] & 0xff);\n\t\t\tgame.getPlayer(0).setScore(s1);\n\t\t\tgame.getPlayer(1).setScore(s2);\n\t\t\tbreak;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "7152028c8512bb46fbc657cf0888a547",
"score": "0.4835886",
"text": "UndergroundPassage(){\n this.name = null;\n for(int i = 0; i < 4; i++){\n NSWE[i] = null;\n }\n }",
"title": ""
},
{
"docid": "bd8073d7bc3766c339e7431cd55a35ce",
"score": "0.4820237",
"text": "public void setdata(String data){\n this.data = data;\n }",
"title": ""
},
{
"docid": "7b98eac0e24f00aa85cee24ffdeae9e0",
"score": "0.48163757",
"text": "public GameObserver(Flyweight newFlyweight) {\n flyweight = newFlyweight;\n tabla = new Hashtable<String,String>();\n tabla.put(\"SD\", \"Score discount emitted.\");\n tabla.put(\"ES\", \"Extra score bonus emitted.\");\n tabla.put(\"HD\", \"Heart discount emitted.\");\n tabla.put(\"EH\", \"Extra heart bonus emitted.\");\n tabla.put(\"SOB\", \"Soft brick destroyed and gained 10 points.\");\n tabla.put(\"STB\", \"Stone brick destroyed and gained 50 points.\");\n\n }",
"title": ""
},
{
"docid": "68083d5c9f6ec92f9b2bbb4e5b0c2507",
"score": "0.48094967",
"text": "public void onPieceMessage (PieceMessage msg);",
"title": ""
},
{
"docid": "293184870605f9af71a7d8c23e39a3f2",
"score": "0.48066413",
"text": "public Message getMessageValue(){\n return msg;\n }",
"title": ""
},
{
"docid": "0bd2ddc87092f1b8411d0fd896a87456",
"score": "0.48007864",
"text": "public int getTeamID(){\n return localTeamID;\n }",
"title": ""
},
{
"docid": "c71701b3ebc5f5f09a64d4ce25ff7104",
"score": "0.47956803",
"text": "private void m111971g() {\n ClubNotification clubNotification = (ClubNotification) mo108896M();\n if (!(clubNotification.target == null || clubNotification.target.url == null || clubNotification.content.url.equals(\"\"))) {\n ZRouter.m72975c(clubNotification.target.url).mo76346a(mo108898O());\n }\n ClubZa.f79523a.mo101253b(C6969H.m41409d(\"G6F82DE1FAA22A773A9419344E7E7FCD96697DC1CB633AA3DEF019E\"), clubNotification.attachInfo);\n }",
"title": ""
},
{
"docid": "3904a340902b4514650645415797062d",
"score": "0.47947678",
"text": "public void mo6131a() {\n C2331d.m10129c((Activity) MainBrowserActivity.this, C2328a.ON_DMS_RECEIVING, (int) R.id.text, (int) R.string.cmn_msg_now_regist_image);\n }",
"title": ""
},
{
"docid": "2bfaff66d8b70115ca6c79d58af6838e",
"score": "0.478664",
"text": "com.lwl.netty.protobuf.MyDataInfo.CatOrBuilder getCatOrBuilder();",
"title": ""
},
{
"docid": "ba2dd42c13591f9129712fe0f6296d50",
"score": "0.47861335",
"text": "int getYellowAmmo() { return yellowAmmo; }",
"title": ""
},
{
"docid": "40dd76429e60ed244b133a95eea2eb06",
"score": "0.47860458",
"text": "void mo5553a(C1906g c1906g);",
"title": ""
},
{
"docid": "3047c41130b0e11c85258e193d5c0a1e",
"score": "0.47856525",
"text": "public void mo6131a() {\n C2331d.m10129c((Activity) MainBrowserActivity.this, C2328a.ON_DMS_RECEIVING, (int) R.id.text, (int) R.string.cmn_msg_now_regist_image);\n }",
"title": ""
},
{
"docid": "8a35829d922b725a151e811d553f0f06",
"score": "0.47795117",
"text": "void NoTakeTaxi(){ this.ifTakeTaxi=NOT_WILLING;}",
"title": ""
},
{
"docid": "599ec3efaf00eec70795333cfe69b4ab",
"score": "0.47727114",
"text": "private static void loadTestweise() {\n\t\tpreifx = ChatColor.GOLD + \"ClanPLugin >> \" + ChatColor.GRAY;\n\t\t\n\t\tInviteAccept = \"Invite akzptiert\";\n\t\tInviteAlready = \"Bereits eingeladen\";\n\t\tInviteDeny = \"Einladung abgelehnt\";\n\t\tInviteIsInClan = \"Bereits in nem Clan\";\n\t\tInviteInvited = \"Eingeladen\";\n\t\tInviteNewInvite = \"Du wurdest in eien clan eingeladen\";\n\t\tInviteNoInvites = \"Keine einladungen\";\n\t\t\n\t\tclanAlrdyexist = \"Clan existiert bereits\";\n\t\tclanSuzessDelete = \"Clan gelöscht\";\n\t\tClanAddNewPlayer = \"Neuer Spieler dabei\";\n\t\tClanRemovePlayer = \"Spieler aus clan raus\";\n\t\t\n\t\talreadyInvited = \"Bereits eingeladen\";\n\t\t\n\t\tnoOwner = \"Du bist nicht Clanowner\";\n\t\tnoPerm = \"Keine Rechte- Machtlos\";\n\t\tnotInClan = \"In keinem Clan\";\n\t\tnotinthisClan = \"Ist nich in diesem Clan\";\n\t\tnotOnline = \"target is nich online\";\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "ed080418c440d56937640d76b4d3b2d8",
"score": "0.4770106",
"text": "MsgGCClient.CMsgCreateTourneyPhase.SwissOrBuilder getSwissOrBuilder();",
"title": ""
},
{
"docid": "626f9a00085ab06a73119170f4d7b3ec",
"score": "0.47634763",
"text": "void mo37818a(C12019c cVar);",
"title": ""
},
{
"docid": "e2993639b8ba017a65198cfb533df6bd",
"score": "0.47594535",
"text": "public PlayerData(String name) {\n this.name = name;\n infractions = new LinkedList<Infraction>();\n moderations = new LinkedList<Infraction>();\n donations = new HashMap<String, Integer>();\n }",
"title": ""
},
{
"docid": "eaebefc51b811201314e6ad26c3954d9",
"score": "0.47568512",
"text": "SteamMsgGC.CMsgAddItemToSocketResponse.EAddGem getResponse();",
"title": ""
},
{
"docid": "e5d4507310d70af539981531b01ae984",
"score": "0.47498816",
"text": "public void setMessageID(int param){\n \n this.localMessageID=param;\n \n\n }",
"title": ""
},
{
"docid": "282d6e093f1d70f301639b98902594b7",
"score": "0.474751",
"text": "public void setMsg(String msg)\n/* 26: */ {\n/* 27:31 */ this.msg = msg;\n/* 28: */ }",
"title": ""
}
] |
30615aa4a4e3a2f28570de59941ae614 | Helper macros to build the effective address EA = zero page address | [
{
"docid": "31c1675b2d7a4eb74ba755c3c6e6383e",
"score": "0.0",
"text": "public static void EA_ZPG() {\n m6502.zp.SetL(RDOPARG());\n m6502.ea.SetD(m6502.zp.D);\n }",
"title": ""
}
] | [
{
"docid": "3a6d059ebdc8703f5320a51faea620f5",
"score": "0.5893704",
"text": "@Override\r\n\tpublic int createAddress(Address address) {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "c793ee5e2e4f65f410e9b1d5dd844557",
"score": "0.55938715",
"text": "long address();",
"title": ""
},
{
"docid": "8067b69c8b70e7d60366fad156c5573c",
"score": "0.5565096",
"text": "private static Field m48169h() {\n if (awg.m47418a()) {\n Field a = m48134a(Buffer.class, \"effectiveDirectAddress\");\n if (a != null) {\n return a;\n }\n }\n Field a2 = m48134a(Buffer.class, \"address\");\n if (a2 == null || a2.getType() != Long.TYPE) {\n return null;\n }\n return a2;\n }",
"title": ""
},
{
"docid": "1bec9dcc2ada0c49290f4e9112058999",
"score": "0.5481645",
"text": "public static void EA_IDX() {\n m6502.zp.SetL(RDOPARG() + m6502.u8_x);\n m6502.ea.SetL(RDMEM(m6502.zp.D));\n m6502.zp.AddL(1);\n m6502.ea.SetH(RDMEM(m6502.zp.D));\n }",
"title": ""
},
{
"docid": "5f67bb48620ba35d87fd24627ead5f35",
"score": "0.54453844",
"text": "public Address() {\n\t\tthis(0, null, null, null, null);\n\t}",
"title": ""
},
{
"docid": "efa7bd5c87a4003f0e54e8e658eee373",
"score": "0.54103357",
"text": "private long makeAddress() throws NoSuchMethodException, SecurityException, IllegalAccessException,\n IllegalArgumentException, InvocationTargetException {\n Method addM = buf.getClass().getMethod(\"address\");\n addM.setAccessible(true);\n return (long) addM.invoke(buf);\n }",
"title": ""
},
{
"docid": "b12f562da6c3ee1b75865f60765ff10f",
"score": "0.5370024",
"text": "public String getAbsoluteAddress() {\n StringBuffer sb = new StringBuffer(\"R\");\n sb.append(r);\n sb.append(\"C\");\n sb.append(c);\n return sb.toString();\n }",
"title": ""
},
{
"docid": "92653eda6044d98ee90099677fcee98f",
"score": "0.5319629",
"text": "java.lang.String getAddressHomeAptNum();",
"title": ""
},
{
"docid": "f8a9d69050911bc9575faef16b7314fc",
"score": "0.5269451",
"text": "com.google.protobuf.ByteString\n getAddressHomeFloorBytes();",
"title": ""
},
{
"docid": "eb326ba6c5a44b3d9e63414d4b7020d2",
"score": "0.5243575",
"text": "com.google.protobuf.ByteString\n getAddressHomeAptNumBytes();",
"title": ""
},
{
"docid": "8bde1c51c8989ef102784d24a29b31e2",
"score": "0.5242495",
"text": "public void calculateAddress(DataSpace dsp) {\n\t\tif ((address.type & Op.MEM) != 0) {\n\t\t\tcAddress = new CalculatedAddress(dsp);\n\t\t\tcAddress.readFromString(arg);\n\t\t\taddress.address = cAddress.calculateEffectiveAddress(true);\n\t\t\tusedLabels.addAll(cAddress.usedLabels);\n\t\t}\n\t\tif ((address.type & Op.FPUREG) != 0) {\n\t\t\taddress.address = dsp.fpu.getAddress(arg);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e8d8fd2aa97fcca3b62e9ec16d5e6a0a",
"score": "0.52392036",
"text": "public static Address getAddress() {\n return null;\n }",
"title": ""
},
{
"docid": "e8d8fd2aa97fcca3b62e9ec16d5e6a0a",
"score": "0.52392036",
"text": "public static Address getAddress() {\n return null;\n }",
"title": ""
},
{
"docid": "1513a89eba8be924fabdc4dd36cb1261",
"score": "0.5231657",
"text": "public int getStartAddress() {\n\t\treturn 0;\n\t}",
"title": ""
},
{
"docid": "a75e705eddc6be025b5eabe42c88d5ed",
"score": "0.5200741",
"text": "java.lang.String getAddressHomeStreetAddress();",
"title": ""
},
{
"docid": "9ba64e792d9d3fe6cb2ac43dd96acdba",
"score": "0.5178871",
"text": "TraceGuestPlatformMappedRange addMappedRegisterRange() throws AddressOverflowException;",
"title": ""
},
{
"docid": "a68a99394886fdbd9f04368749343030",
"score": "0.5164583",
"text": "public String internalise(String address);",
"title": ""
},
{
"docid": "1187cab2bbc506163e74863f47579240",
"score": "0.515947",
"text": "public static void EA_IND() {\n EA_ABS();\n int tmp = RDMEM(m6502.ea.D);\n m6502.ea.AddL(1);\n m6502.ea.SetH(RDMEM(m6502.ea.D));\n m6502.ea.SetL(tmp);\n }",
"title": ""
},
{
"docid": "c687030e75d5f9b3b2dfdc4dc03183c1",
"score": "0.5149919",
"text": "public LocalAddress localAddress()\r\n/* 115: */ {\r\n/* 116:127 */ return (LocalAddress)super.localAddress();\r\n/* 117: */ }",
"title": ""
},
{
"docid": "dd05e9ff486a6998b49d0eed1d818d3d",
"score": "0.51486593",
"text": "private static final String m6520a(Address address) {\n StringBuilder stringBuilder = new StringBuilder();\n int maxAddressLineIndex = address.getMaxAddressLineIndex();\n for (int i = 0; i <= maxAddressLineIndex; i++) {\n if (i > 0) {\n try {\n stringBuilder.append(f2501z[18]);\n } catch (ActivityNotFoundException e) {\n throw e;\n }\n }\n stringBuilder.append(address.getAddressLine(i));\n }\n String countryName = address.getCountryName();\n if (countryName != null) {\n try {\n if (!stringBuilder.toString().endsWith(countryName)) {\n if (stringBuilder.length() > 0) {\n stringBuilder.append(f2501z[18]);\n }\n stringBuilder.append(countryName);\n }\n } catch (ActivityNotFoundException e2) {\n throw e2;\n } catch (ActivityNotFoundException e22) {\n throw e22;\n }\n }\n return stringBuilder.toString();\n }",
"title": ""
},
{
"docid": "b9effd2eabad1ac9d753bc0d38348621",
"score": "0.5148425",
"text": "public Address getAddress() {\n return new Address(m_breakpoint.getAddress().getAddress().getAddress().toBigInteger());\n }",
"title": ""
},
{
"docid": "16a8fdd265ab7adca8646c5f0d26fedc",
"score": "0.514676",
"text": "BaseAddressType1 getBaseAddress();",
"title": ""
},
{
"docid": "4ed33c27a6d535e884f35efe64e87f82",
"score": "0.51420724",
"text": "java.lang.String getAddressHomeFloor();",
"title": ""
},
{
"docid": "a45b043cc25720b2b7d21f8e518506a6",
"score": "0.51305544",
"text": "public Address getCurrentAddress();",
"title": ""
},
{
"docid": "b4ee9385ebaba4e344a227f5c177b6e5",
"score": "0.5126448",
"text": "public static void EA_ABS() {\n m6502.ea.SetL(RDOPARG());\n m6502.ea.SetH(RDOPARG());\n }",
"title": ""
},
{
"docid": "b688a5c1870c48f384fc2370d55435e2",
"score": "0.5116719",
"text": "static native Address getAddressOfBitmapWordFor(Address ea);",
"title": ""
},
{
"docid": "98334b1aae347e34e4d95c23c38a62e6",
"score": "0.5085938",
"text": "void setNilAddress2();",
"title": ""
},
{
"docid": "bf971e9573e171c99eefe2ede88b2f39",
"score": "0.507668",
"text": "java.lang.String getAddressHomeLine2();",
"title": ""
},
{
"docid": "d436e8f15aa0cd8ba333ed105114de88",
"score": "0.506784",
"text": "public long getNumericalAddress() {\r\n \t\treturn address;\r\n \t}",
"title": ""
},
{
"docid": "bf64c62ee510cf61c219165750e87bfa",
"score": "0.50669587",
"text": "java.lang.String getAddressHomeLine1();",
"title": ""
},
{
"docid": "7e8735ea49878f422d053da70c0b21bb",
"score": "0.5063156",
"text": "public static Address readDefaultBillAddress() {\r\n\t\tString query = readBillAddressSql();\r\n\t\tAddress addr = null;\r\n\t\ttry {\r\n\t\t\tstmt = acctCon.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\t \r\n if(rs.next()) {\r\n \r\n String street = rs.getString(\"street1\") + rs.getString(\"street2\");\r\n String city = rs.getString(\"city\");\r\n String state = rs.getString(\"state\");\r\n String zip = rs.getString(\"zip\");\r\n \r\n \r\n addr = CustomerSubsystemFacade.createAddress(street,city,state,zip,true,true);\r\n } \r\n stmt.close();\r\n\t\t}\r\n\t\tcatch(SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t\r\n\t\t}\r\n\t\treturn addr;\r\n\t}",
"title": ""
},
{
"docid": "4af3974856a8fafd7cf50d5606e0aad3",
"score": "0.50395167",
"text": "public void setAddress(int a) {\r\n address = a;\r\n }",
"title": ""
},
{
"docid": "f211b0b6b99eeccec76cdde583b49e8d",
"score": "0.5028418",
"text": "private void clearAddress() {\n \n address_ = getDefaultInstance().getAddress();\n }",
"title": ""
},
{
"docid": "d2bc5d2881b0a4bcfba5c76b69c904dd",
"score": "0.50005406",
"text": "@Override\n public PhysicalAddress getDefaultPhysicalAddress() {\n return null;\n }",
"title": ""
},
{
"docid": "236a09872e9421e13efc7cc3dae13561",
"score": "0.49922127",
"text": "default String getAdditionalAddress() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "c75487cbe5c795a58581cfef288aa368",
"score": "0.49657047",
"text": "private Address evaluateAddress(CLeftHandSide pExp) {\n return pExp.accept(addressVisitor);\n }",
"title": ""
},
{
"docid": "438009fd31cdfb20ee620d58c9f1602c",
"score": "0.49557576",
"text": "public byte[] getAddress() {\n return null;\n }",
"title": ""
},
{
"docid": "29dd234a59089ab901b57d702d789314",
"score": "0.4920395",
"text": "public abstract void buildStreetAddress();",
"title": ""
},
{
"docid": "6fa700db2748666d74cb4a5c77338c2e",
"score": "0.490217",
"text": "void setNilAddress1();",
"title": ""
},
{
"docid": "eb5294c2b99b4cda7d78b945114dfbba",
"score": "0.4901845",
"text": "void unsetAddress2();",
"title": ""
},
{
"docid": "0e367122486c556a6a6cb53727b55adb",
"score": "0.4895622",
"text": "static Address getBase() {\n return base;\n }",
"title": ""
},
{
"docid": "89c54d0bdacddfd78693bded64ab6db2",
"score": "0.4891597",
"text": "Address getAddress();",
"title": ""
},
{
"docid": "89c54d0bdacddfd78693bded64ab6db2",
"score": "0.4891597",
"text": "Address getAddress();",
"title": ""
},
{
"docid": "c77db30627127549e5e473b2bf81b599",
"score": "0.4889495",
"text": "private ObjectFile fixAddressing(ObjectFile module) {\n\t\tInteger moduleOffset = module.getBinaryOffset();\n\t\t\n\t\t//OffsetTableElement[] offsetTable = module.getOffsetTable();\n\t\t//offsetTable = this.fixOffsetTable(offsetTable, moduleOffset);\n\t\t\n\t\t//module.setOffsetTable(offsetTable);\n\t\t\n\t\tFixupTableElement[] fixupTable = module.getFixupTable();\n\t\tfixupTable = this.fixFixupTable(fixupTable, moduleOffset);\n\t\t\n\t\tmodule.setFixupTable(fixupTable);\n\t\t\n\t\treturn module;\t\t\n\t}",
"title": ""
},
{
"docid": "bf4d94d7aded2812fba2d38170146bd1",
"score": "0.48801923",
"text": "public long getVirtualAddress() {\r\n return peFile.readDWord(baseOffset, 12);\r\n }",
"title": ""
},
{
"docid": "6a5877f82033cc5f6bb0e2418ddc3e9f",
"score": "0.48711592",
"text": "private X86ReferencedAddress(final int sequence) {\n this(sequence, null);\n }",
"title": ""
},
{
"docid": "265fc66dad527fc91ccebe6fa98ed112",
"score": "0.48615158",
"text": "public String getAddressAsString() {\n return String.format(\"0x%08X\", getAddress());\n }",
"title": ""
},
{
"docid": "eab34c025d9f571a0a0ce79250d8325e",
"score": "0.48608878",
"text": "private int getVarOffset(int accountOffset00Account3) {\n return 0;\r\n }",
"title": ""
},
{
"docid": "8e3a2f06d824c7443f92f8ce73aa75a0",
"score": "0.48569682",
"text": "public AddressIF getLocalAddress();",
"title": ""
},
{
"docid": "387636ac2bb2cbd224cd6bb034ae2f8e",
"score": "0.48551106",
"text": "void unsetAddress1();",
"title": ""
},
{
"docid": "f0ab04e1b5c9c019dc0ddc48534e931a",
"score": "0.48536754",
"text": "public int getCurrentByteAddress();",
"title": ""
},
{
"docid": "4013a0a0f56f113ddfb5c041be842f8e",
"score": "0.4841577",
"text": "public String getAddress() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "a2c0f605e9ecc0ad0a5bc49e473767e0",
"score": "0.4834974",
"text": "public abstract UnsignedLong getVmaddr();",
"title": ""
},
{
"docid": "7facb0987fb836b878106f1f91b58eaa",
"score": "0.4831769",
"text": "public static Address readDefaultShipAddress() {\r\n\t\tString query = readShipAddressSql();\r\n\t\tAddress addr = null;\r\n\t\ttry {\r\n\t\t\tstmt = acctCon.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\t \r\n if(rs.next()) {\r\n \r\n String street = rs.getString(\"street1\") + rs.getString(\"street2\");\r\n String city = rs.getString(\"city\");\r\n String state = rs.getString(\"state\");\r\n String zip = rs.getString(\"zip\");\r\n \r\n \r\n addr = CustomerSubsystemFacade.createAddress(street,city,state,zip,true,true);\r\n } \r\n stmt.close();\r\n\t\t}\r\n\t\tcatch(SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t\r\n\t\t}\r\n\t\treturn addr;\r\n\t}",
"title": ""
},
{
"docid": "906175b58f59d1463cbc64f58554d074",
"score": "0.48132873",
"text": "IAddress getAddress();",
"title": ""
},
{
"docid": "12c754b29112fa4ccb69745f49e72d27",
"score": "0.4808903",
"text": "public int eot(int offset);",
"title": ""
},
{
"docid": "9af1f2681214ef5ad0c91c9f67b2bb55",
"score": "0.47895396",
"text": "public java.lang.String getAddress(){\n return localAddress;\n }",
"title": ""
},
{
"docid": "964b52d5608c4ea7e557e254809362ef",
"score": "0.4784972",
"text": "public void setStartAddress(Address address);",
"title": ""
},
{
"docid": "88b4b27d616e35631fc7b720c764fe24",
"score": "0.4782441",
"text": "BigInteger getAddressUnitBits();",
"title": ""
},
{
"docid": "b1916af2ca952950c0a3d056c6e461f7",
"score": "0.47650972",
"text": "public int allocTempAddr()\r\n {\r\n int val = 0;\r\n if (level == 0) { varmax++; val = varmax + 2000; }\r\n else if (level == 1)\r\n {\r\n localmax--; val = localmax;\r\n if (localmax < localtempsmax) { localtempsmax = localmax; }\r\n }\r\n return val;\r\n }",
"title": ""
},
{
"docid": "ebe1591f05e43731e798a6d99632fe88",
"score": "0.4761155",
"text": "abstract public Vector2 addressOfPosition(Vector2 address,float x,float y);",
"title": ""
},
{
"docid": "8aff6d7f370b378465f34b373e70ff89",
"score": "0.47596958",
"text": "@Override\r\n\tpublic Address getAddress(long id) {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "cda9fce231bea4aa2bf632ffab1ad445",
"score": "0.47572827",
"text": "public com.fretron.Model.Consignment.Builder clearAddress() {\n address = null;\n fieldSetFlags()[16] = false;\n return this;\n }",
"title": ""
},
{
"docid": "2704ff320294e33d128ea9a70262556e",
"score": "0.47569358",
"text": "static native Address getAddressForBitmapWord(Address bitmapWordAddress);",
"title": ""
},
{
"docid": "0f4b637d492a28d33a48501fcf55d030",
"score": "0.47548965",
"text": "public int mo4339e(C0788a0 a0Var) {\n return 0;\n }",
"title": ""
},
{
"docid": "fbcd12c92240f4137aba06762eef2000",
"score": "0.4748897",
"text": "com.google.protobuf.ByteString\n getAddressHomeStreetAddressBytes();",
"title": ""
},
{
"docid": "3cbd28839648c8fae59106f1f1b599e0",
"score": "0.47375134",
"text": "public\n\tvoid setAddress(int addr)\n\t{\n\t\tthis.addr = addr;\t\t\n\t}",
"title": ""
},
{
"docid": "5ed90d33fdf2823148d23f1992638288",
"score": "0.47338066",
"text": "public void dumpCanAddrTable() {\n mContext = this.getContext();\n mResolver = mContext.getContentResolver();\n Uri uri = Uri.parse(\"content://mms-sms/canonical-addresses\");\n uri = MmsSms.CONTENT_URI.buildUpon().appendPath(\"canonical-addresses\").build();\n dumpUri(uri);\n }",
"title": ""
},
{
"docid": "f7fdb5b07edb4afdbabdd6cbff1e9d1f",
"score": "0.47288895",
"text": "public long getAddress() {\n return fAddress;\n }",
"title": ""
},
{
"docid": "343f96258f5df91f7527637eb23229bc",
"score": "0.4727914",
"text": "public static String generateRandomAddress () {\n\t\t return generateNumericString(4) + \" \" + generateAlphaString(15) + \" st.\";\n\t }",
"title": ""
},
{
"docid": "d2fddc39ba84ca2ea809accbb9f2a1d8",
"score": "0.47265816",
"text": "public AddrCont() {\n\t\tsuper();\n\t}",
"title": ""
},
{
"docid": "5fedf6c6e6be457d7a823a9af3ead87f",
"score": "0.47248203",
"text": "public static void EA_ZPX() {\n m6502.zp.SetL(RDOPARG() + m6502.u8_x);\n m6502.ea.SetD(m6502.zp.D);\n }",
"title": ""
},
{
"docid": "589d64b39bccc6c8d55b019d1bbee8cf",
"score": "0.47113612",
"text": "@Override\n public int getLogicalAddress() {\n return getAddress();\n }",
"title": ""
},
{
"docid": "76ed87ae294a44dcbe76347925c1062c",
"score": "0.4704172",
"text": "String getAddressSpaceRef1();",
"title": ""
},
{
"docid": "c9ca439c9d9197f036a2a5d7416f12b2",
"score": "0.4697634",
"text": "public OptionalLong getAddress() {\n if (byteInterval == null)\n return OptionalLong.empty();\n OptionalLong biAddress = byteInterval.getAddress();\n if (!biAddress.isPresent())\n return OptionalLong.empty();\n return OptionalLong.of(biAddress.getAsLong() + offset);\n }",
"title": ""
},
{
"docid": "5504349b94cc524195cde083ab676d9c",
"score": "0.46930474",
"text": "static void reserveAddressSpaceInZygote() {\n System.loadLibrary(\"webviewchromium_loader\");\n long addressSpaceToReserve =\n SystemProperties.getLong(WebViewFactory.CHROMIUM_WEBVIEW_VMSIZE_SIZE_PROPERTY,\n CHROMIUM_WEBVIEW_DEFAULT_VMSIZE_BYTES);\n sAddressSpaceReserved = nativeReserveAddressSpace(addressSpaceToReserve);\n\n if (sAddressSpaceReserved) {\n if (DEBUG) {\n Log.v(LOGTAG, \"address space reserved: \" + addressSpaceToReserve + \" bytes\");\n }\n } else {\n Log.e(LOGTAG, \"reserving \" + addressSpaceToReserve + \" bytes of address space failed\");\n }\n }",
"title": ""
},
{
"docid": "d74350c6a0643caa1e470b91f139c3c3",
"score": "0.4690308",
"text": "private void checkAddressing(Instruction instruction) {\n if (! usesAddressing()) {\n if ( instruction.addressing() != 9) {\n throw new FatalMachineError(\"Geen adressering verwacht in \" + this + \" bij \" + instruction);\n }\n } else {\n\n switch (instruction.addressing()) {\n\n case 0:\n\n case 5:\n\n case 6:\n\n case 7:\n\n case 8:\n\n case 9:\n throw new FatalMachineError( \"Ongeldige adressering in \" + this + \" bij \" + instruction);\n }\n\n }\n\n }",
"title": ""
},
{
"docid": "f2c1737397b361433ea624db03a000ce",
"score": "0.46887782",
"text": "public static final String getIeeeAddressHex(Address address) {\n\t\tif (address == null)\n\t\t\treturn null;\n\n\t\tif (address.getIeeeAddress() != null) {\n\t\t\tString ieee = address.getIeeeAddress().toString(16).toUpperCase();\n\t\t\tieee = Utils.padding[ieee.length()] + ieee;\n\t\t\treturn ieee;\n\t\t} else\n\t\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "b4929c6106f9094c345d7bd4d1c666ae",
"score": "0.46853992",
"text": "IndirectBoundaries(int[] startce, int[] limitce)\n/* */ {\n/* 367 */ this.m_startCE_ = startce[0];\n/* 368 */ this.m_startContCE_ = startce[1];\n/* 369 */ if (limitce != null) {\n/* 370 */ this.m_limitCE_ = limitce[0];\n/* 371 */ this.m_limitContCE_ = limitce[1];\n/* */ }\n/* */ else {\n/* 374 */ this.m_limitCE_ = 0;\n/* 375 */ this.m_limitContCE_ = 0;\n/* */ }\n/* */ }",
"title": ""
},
{
"docid": "65f317a45a6ede67e6b69bdb4945ceba",
"score": "0.46810034",
"text": "public int mo4332b(C0788a0 a0Var) {\n return 0;\n }",
"title": ""
},
{
"docid": "29459ca8fb11e2ee15dc3524ec2eaa29",
"score": "0.46759322",
"text": "long getAddressValue(Oop obj) {\n return vm.saVM.getDebugger().getAddressValue(obj.getHandle());\n }",
"title": ""
},
{
"docid": "87a360a5b7404b8d03d4324a7e0adbf1",
"score": "0.46710762",
"text": "public abstract byte[] getAddress();",
"title": ""
},
{
"docid": "cffea1b77788872ecac8bd4e42040cf7",
"score": "0.4661706",
"text": "private void setMDCurrentLocation(int startAddress){\n\t\twriteToDBFile(Constants.METADATA_CURRENT_POINTER, ByteBuffer.allocate(4).putInt(startAddress).array());\n\t}",
"title": ""
},
{
"docid": "f5bac943c9b23fae84d8134dfb577434",
"score": "0.46582904",
"text": "AddressPurpose getAddressPurpose();",
"title": ""
},
{
"docid": "8befd151952e09115c1f40df51e298cf",
"score": "0.46464777",
"text": "Boolean getNoFixedAddressIndicator();",
"title": ""
},
{
"docid": "9582f78d6af307e087c57897584c32e0",
"score": "0.46424806",
"text": "public void setImprisonmentAddress(String imprisonmentAddress)\n/* */ {\n/* 257 */ this.imprisonmentAddress = imprisonmentAddress;\n/* */ }",
"title": ""
},
{
"docid": "966af7918e4ff93094cfdc5775f26056",
"score": "0.46406576",
"text": "int addressACustomer();",
"title": ""
},
{
"docid": "e5078458794539baee074adb7015182d",
"score": "0.46406463",
"text": "public long getAddress() {\n return address;\n }",
"title": ""
},
{
"docid": "1827b8e714f7d3c6b543aa2492d7918a",
"score": "0.46338755",
"text": "public NativeAddress getAddress()\n {\n return addr;\n }",
"title": ""
},
{
"docid": "311caf13620a0cd622b8163e13a0c79e",
"score": "0.46317387",
"text": "@Override\r\n\tpublic void anchor(){\r\n\t\ttry {\r\n\t\t\tanchor1 = fc.position() - 4096;\r\n\t\t\tanchor2 = index - length*4;\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "7fcffff03944bede0ca57f3ea377073d",
"score": "0.46263894",
"text": "public int getAddress()\n {\n return m_nAddr;\n }",
"title": ""
},
{
"docid": "db1d981daf2dbb56a150e772aaccd2a7",
"score": "0.46257147",
"text": "public Vector2 addressOfPosition(Vector2 address,Vector2 position){\n return addressOfPosition(address,position.x,position.y);\n }",
"title": ""
},
{
"docid": "784bcc8930f90e46157729ffefa0231f",
"score": "0.46235803",
"text": "@Override\r\n\tpublic int modifierAdresse(Adresse a) {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "75d34a40066a3fe620a6b6b5350269eb",
"score": "0.46231186",
"text": "private\n\tPC(int maxPC)\n\t{\n\t\tthis.maxPC = maxPC;\n\t\taddr = 0;\n\t}",
"title": ""
},
{
"docid": "cfaf94a3c4b509c22a01b7b3a3433057",
"score": "0.4622714",
"text": "com.google.protobuf.ByteString\n getAddressHomeThoroughfareNumberBytes();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
},
{
"docid": "6c5b635b56354e0898fac3c10345edce",
"score": "0.4621679",
"text": "java.lang.String getAddress();",
"title": ""
}
] |
5e65fbc3511a95f6df89803851dfdcc4 | Returns the response that created this object. | [
{
"docid": "fe72e9ca32b254a80c93f3d94f2c787a",
"score": "0.72037655",
"text": "public RestResponse response() {\n\t\treturn response;\n\t}",
"title": ""
}
] | [
{
"docid": "5a1b9af15b7740aee24f473222b0157d",
"score": "0.77501994",
"text": "public Object GetResponse() {\n\t\treturn response;\n\t}",
"title": ""
},
{
"docid": "ecf4108ec688a4a4a5922df2f35cd0e7",
"score": "0.74566096",
"text": "Response createResponse();",
"title": ""
},
{
"docid": "a9898b8bcae51f0a4a344177aad91de9",
"score": "0.73860866",
"text": "public T getResponse() {\n\t\treturn response;\n\t}",
"title": ""
},
{
"docid": "20412d13fc234ce73cdec0300fefd5af",
"score": "0.7333728",
"text": "public Response getResponse();",
"title": ""
},
{
"docid": "9019dda04b5b93ff76fda4dd6438ea6d",
"score": "0.73267204",
"text": "public Object getResponse() {\n return response;\n }",
"title": ""
},
{
"docid": "3538e4c1fb3ebc2867ed85a5ada07cdb",
"score": "0.73050165",
"text": "@Override\r\n\tpublic Object getResponseObject() {\n\t\treturn this.response;\r\n\t}",
"title": ""
},
{
"docid": "060021db9d8694149f3a26231b9b4b19",
"score": "0.7288667",
"text": "public final Object getResponse() {\n\t\treturn response;\n\t}",
"title": ""
},
{
"docid": "0dd914fc5071d1de72e9986224368a97",
"score": "0.72270393",
"text": "public Response response() {\n return new Response.Builder().request(new Request.Builder().url(this.url).method(this.requestMethod, RequestBody.create(MediaType.parse(\"application/json; charset=utf-8\"), \"\")).headers(this.varyHeaders).build()).protocol(this.protocol).code(this.code).message(this.message).headers(this.responseHeaders).handshake(this.handshake).sentRequestAtMillis(this.sentRequestMillis).receivedResponseAtMillis(this.receivedResponseMillis).build();\n }",
"title": ""
},
{
"docid": "4a5f76398e09819ac2accaba6446467e",
"score": "0.7182835",
"text": "@Override\n\tpublic BaseHttpResponse createResponse() {\n\t\treturn new FeedBackJsonResponse();\n\t}",
"title": ""
},
{
"docid": "13961865929ced4e8acec7d1369e7c18",
"score": "0.71264863",
"text": "@Nonnull\n Response getResponse();",
"title": ""
},
{
"docid": "876eebe903d77bc62f4f311a1be988e7",
"score": "0.7124413",
"text": "public Response getResponse() {\n return getDefaultResponse();\n }",
"title": ""
},
{
"docid": "28dc467b345d4b04bcb9fc6d425e9478",
"score": "0.7090982",
"text": "@Override\n\tpublic MDResponse createResponse() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "224c01b1564e0dc03ee537f11e3ee1e1",
"score": "0.7083948",
"text": "public Message createResponse()\n\t{\n\t\tMessage response = MessageService.getInstance().newMessage();\n\n\t\t// copy the transaction ID over to the response\n\t\tresponse.setTransactionId(transactionId);\n\n\t\treturn response;\n\t}",
"title": ""
},
{
"docid": "4ea651103ae09c3622043a9c05d453d1",
"score": "0.6862792",
"text": "@Override\n\tpublic BaseHttpResponse createResponse() {\n\t\treturn new ResponseAddAttention();\n\t}",
"title": ""
},
{
"docid": "f4bac5929438fd699a1948050bba146c",
"score": "0.6843754",
"text": "public String getResponse() {\n return response;\n }",
"title": ""
},
{
"docid": "73fd725e21bbf7d160a8d55096c279f1",
"score": "0.6713525",
"text": "public HttpServletResponse getResponse()\n {\n return response;\n }",
"title": ""
},
{
"docid": "afc1cc3e6e980659a516f2f0d0411056",
"score": "0.67078865",
"text": "public HttpServletResponse getResponse() {\r\n return response;\r\n }",
"title": ""
},
{
"docid": "d5716b79e6557afd61d3ea0f325620cc",
"score": "0.6681614",
"text": "public net.iGap.proto.ProtoResponse.Response getResponse() {\n return instance.getResponse();\n }",
"title": ""
},
{
"docid": "d5716b79e6557afd61d3ea0f325620cc",
"score": "0.6681614",
"text": "public net.iGap.proto.ProtoResponse.Response getResponse() {\n return instance.getResponse();\n }",
"title": ""
},
{
"docid": "368a0655090896b6d73a3010b2e98d3a",
"score": "0.6679077",
"text": "public HttpServletResponse getResponse() {\n return response;\n }",
"title": ""
},
{
"docid": "a935678515731cb27e9ad276e45c8863",
"score": "0.6636436",
"text": "public static Response getResponse() {\n return get(path);\n }",
"title": ""
},
{
"docid": "e7c9d0994e6587a2969b45e7abaa64cf",
"score": "0.6593591",
"text": "StructureResponse createStructureResponse();",
"title": ""
},
{
"docid": "a6ee75f005029a328f5dde775a6be7d7",
"score": "0.6578969",
"text": "ReturnItemResponse createReturnItemResponse();",
"title": ""
},
{
"docid": "9583e2a2fc5f89359d6931127b26531f",
"score": "0.65545326",
"text": "public HttpServletResponse getResponse() {\n\t\treturn res;\n\t}",
"title": ""
},
{
"docid": "720e690dbe19109ba4eaa77aa2e72f7f",
"score": "0.64708924",
"text": "public TransactionResultResponse build() {\r\n return transactionResultResponse;\r\n }",
"title": ""
},
{
"docid": "8ce3138918c1e2bd27353d1ef6897d6b",
"score": "0.64348346",
"text": "public DeliverSmResp createResponse() {\n DeliverSmResp resp = new DeliverSmResp();\n resp.setSequenceNumber(getSequenceNumber());\n return resp;\n }",
"title": ""
},
{
"docid": "0abe27cbe069453d47cd26f49c185ec0",
"score": "0.63974655",
"text": "EnrollmentResponse createEnrollmentResponse();",
"title": ""
},
{
"docid": "e06f348b173038f33bcaec21e38d2a35",
"score": "0.63968277",
"text": "public static Response createCreatePermissionResponse() {\n\t\tResponse permissionSuccessResponse = new Response();\n\n\t\tpermissionSuccessResponse.setMessageType(Message.CREATEPERMISSION_RESPONSE);\n\n\t\treturn permissionSuccessResponse;\n\t}",
"title": ""
},
{
"docid": "8941c0228cf887005232c26d4a22809c",
"score": "0.6395451",
"text": "public Object apiResponse() {\n HttpResponse<JsonNode> response = jsonResponse(controller);\n JSONObject jsonObject = response.getBody().getObject();\n Gson gson = new Gson();\n Object javaObject = convertJsonResponseToJava(gson, jsonObject);\n Unirest.shutDown();\n return javaObject;\n }",
"title": ""
},
{
"docid": "6bd92547bad95a463b0b7fb2eca25b9b",
"score": "0.6390988",
"text": "public Object getRequestResponseRecord() {\n return requestResponseRecord;\n }",
"title": ""
},
{
"docid": "224d47f612eb68fd2529862521e02e9a",
"score": "0.6370134",
"text": "@Override\r\n public Response getResponse() {\n return null;\r\n }",
"title": ""
},
{
"docid": "7f94c4ca8a6e6b8d6108b13a635c5b53",
"score": "0.63651615",
"text": "protected HttpServletResponse getResponse() {\r\n\t\treturn FacesUtils.getResponse();\r\n\t}",
"title": ""
},
{
"docid": "69e80b667eeec0b4218f581732c23c9e",
"score": "0.636048",
"text": "QuestionnaireResponse createQuestionnaireResponse();",
"title": ""
},
{
"docid": "d576a60cb41f806e74c7cb416eebc2b1",
"score": "0.63218755",
"text": "@Override\n\tpublic EasyResponse get() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "a385b3123907050db7cbea633972f098",
"score": "0.630863",
"text": "public HttpServletResponseWrapper getResponseMessage() {\n return responseWrapper;\n }",
"title": ""
},
{
"docid": "58894aec703ece9c26bb2d894121f917",
"score": "0.6291106",
"text": "@Override\r\n\tpublic Class<?> getResponseClazz() {\n\t\treturn Response.class;\r\n\t}",
"title": ""
},
{
"docid": "bdf961e6ae69295ae6fa26ffd8b12e4c",
"score": "0.628856",
"text": "public static UpdateResponse createUpdateResponse()\n {\n return new UpdateResponse();\n }",
"title": ""
},
{
"docid": "e93dcad55532fa018b9bf0548e9c4a6e",
"score": "0.6288119",
"text": "public Response() {\n super();\n }",
"title": ""
},
{
"docid": "99980df81d218234675c9aa3210f2243",
"score": "0.62846386",
"text": "BundleResponse createBundleResponse();",
"title": ""
},
{
"docid": "c3f7aebd5e3dc0f68f9906b4c0d5d6b7",
"score": "0.62721115",
"text": "private CreateToonResponse() {\n initFields();\n }",
"title": ""
},
{
"docid": "84185f0eadb8f4d18e0c8fd9cb2ffdad",
"score": "0.62562686",
"text": "GuidanceResponse createGuidanceResponse();",
"title": ""
},
{
"docid": "3da5f965656219ae63990e58853c64dc",
"score": "0.6249534",
"text": "public ServletResponse getResponse() {\n return response;\n }",
"title": ""
},
{
"docid": "432ea05f0f15d3de8d8710d01ec9638d",
"score": "0.6222162",
"text": "AppointmentResponse createAppointmentResponse();",
"title": ""
},
{
"docid": "65cbe9944b4aced5805965e2fac56375",
"score": "0.6214491",
"text": "public Element getResponse()\r\n {\r\n return m_eResponse;\r\n }",
"title": ""
},
{
"docid": "0d2117405c78ec9c9e9bcb6f86ddaef8",
"score": "0.6193431",
"text": "@java.lang.Override\n public net.iGap.proto.ProtoResponse.Response getResponse() {\n return response_ == null ? net.iGap.proto.ProtoResponse.Response.getDefaultInstance() : response_;\n }",
"title": ""
},
{
"docid": "0d2117405c78ec9c9e9bcb6f86ddaef8",
"score": "0.6193431",
"text": "@java.lang.Override\n public net.iGap.proto.ProtoResponse.Response getResponse() {\n return response_ == null ? net.iGap.proto.ProtoResponse.Response.getDefaultInstance() : response_;\n }",
"title": ""
},
{
"docid": "383efd519b0650e8bcd78d5dc3441d52",
"score": "0.6170015",
"text": "public OneResponse info()\n {\n OneResponse response = info(client, id);\n super.processInfo(response);\n return response;\n }",
"title": ""
},
{
"docid": "bbb67c516a2d3f8da482c6cc8abe3479",
"score": "0.6168307",
"text": "protected ClassicHttpResponse getRawResp() {\n\t\treturn (response != null ? response : this);\n\t}",
"title": ""
},
{
"docid": "4de2371e1c2bb91c7bf98cc89b832ce6",
"score": "0.61576366",
"text": "protected ResponseFlow responseFlow(){\n\t\treturn new ResponseFlow(getResponseType());\n\t}",
"title": ""
},
{
"docid": "7520f6afa84318b687273c04dd132a9d",
"score": "0.61532587",
"text": "ClaimResponse createClaimResponse();",
"title": ""
},
{
"docid": "943713fd98f5b92dd8708672a3b7acdd",
"score": "0.6149217",
"text": "public MicrosoftGraphResponseType response() {\n return this.response;\n }",
"title": ""
},
{
"docid": "ee197be4baef8eee62b340720ce219df",
"score": "0.6149112",
"text": "Response() {\n\n }",
"title": ""
},
{
"docid": "48af5f19a6c5c3b97dbbe7ec560048d1",
"score": "0.61272556",
"text": "public RestResponse getRestResponse() {\n\t\treturn response; \n\t}",
"title": ""
},
{
"docid": "3f1239b56923fba0dd282f4388311837",
"score": "0.6089438",
"text": "MessageHeaderResponse createMessageHeaderResponse();",
"title": ""
},
{
"docid": "39d5bdd22a97d9206a1673546489c346",
"score": "0.60891104",
"text": "private Response() {\n initFields();\n }",
"title": ""
},
{
"docid": "cff75f3d768f4adf89cca177ec1c4d31",
"score": "0.6079774",
"text": "public AbstractResponse() {\r\n super();\r\n }",
"title": ""
},
{
"docid": "62f2cbf0533b7daecbf6b7e58ef86fa8",
"score": "0.6076081",
"text": "private ClientResponse() {\n initFields();\n }",
"title": ""
},
{
"docid": "d1be8f0a2c5b4a143d17e565b4abcdb8",
"score": "0.6074665",
"text": "@java.lang.Override\n public net.iGap.proto.ProtoResponse.ResponseOrBuilder getResponseOrBuilder() {\n return getResponse();\n }",
"title": ""
},
{
"docid": "d1be8f0a2c5b4a143d17e565b4abcdb8",
"score": "0.6074665",
"text": "@java.lang.Override\n public net.iGap.proto.ProtoResponse.ResponseOrBuilder getResponseOrBuilder() {\n return getResponse();\n }",
"title": ""
},
{
"docid": "b4c160892da3dacf8818c08895ea627f",
"score": "0.60598385",
"text": "public HttpServletResponse getResponse() {\n\t\treturn servletWebContext().getResponse();\n\t}",
"title": ""
},
{
"docid": "96b1107720acbedeee9e4e47bcc1e9a7",
"score": "0.60540026",
"text": "private Response() {\n initFields();\n }",
"title": ""
},
{
"docid": "c99e20f6a393ecb1b6dbd636b189d697",
"score": "0.6049034",
"text": "public JSONObject getResponse() {\n\t\treturn this.responseJsonObject;\n\t}",
"title": ""
},
{
"docid": "affad62247787457c728dc78697ee9a0",
"score": "0.604786",
"text": "private HttpServletResponse getResponse() {\n\n\t\treturn (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse();\n\t}",
"title": ""
},
{
"docid": "256cfa9102a7e85fcc941238314827bf",
"score": "0.6047156",
"text": "public byte[] getResponseData() {\r\n return response; \r\n }",
"title": ""
},
{
"docid": "e6e69ade4ac18ac631e8661fcef402b7",
"score": "0.601777",
"text": "StringResponse createStringResponse();",
"title": ""
},
{
"docid": "d1d4a4d70e3c1754dc635d7ada560aba",
"score": "0.6012558",
"text": "public Response getOuterResponse() {\n return outerResponse;\n }",
"title": ""
},
{
"docid": "1f3e7478af095f8102c9f66e9411fc86",
"score": "0.60074085",
"text": "public static HttpServletResponse getResponse() {\r\n return servletResponse.get();\r\n }",
"title": ""
},
{
"docid": "ed5eb5ffa614684eb533a4247247391e",
"score": "0.6007078",
"text": "@Override\n\tpublic byte[] constructResponseInBytes() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "4c70045da63d40df0861ac68007e25ab",
"score": "0.6000739",
"text": "public boolean getResponse() {\n return response_;\n }",
"title": ""
},
{
"docid": "dd307e24652e8dc3bfc378f6b8884838",
"score": "0.59868926",
"text": "private Response() {}",
"title": ""
},
{
"docid": "57579400462a313a9b459ab745787656",
"score": "0.5982498",
"text": "String getResponse();",
"title": ""
},
{
"docid": "12621cb306c422b047b0afdedcf7e0a7",
"score": "0.59824634",
"text": "public boolean getResponse() {\n return response_;\n }",
"title": ""
},
{
"docid": "2f29b021e66b96e15339efb86ac6abf3",
"score": "0.59719074",
"text": "public Optional<ScimObjectNode> getResponse()\n {\n return getStringAttribute(AttributeNames.RFC7643.RESPONSE).map(value -> {\n return JsonHelper.readJsonDocument(value, ScimObjectNode.class);\n });\n }",
"title": ""
},
{
"docid": "ab03ecbfcba824a9bffd23aa4297eb8d",
"score": "0.5954158",
"text": "public String getRawResponse(){\n return rawResponse;\n }",
"title": ""
},
{
"docid": "38ee1860d5833d3f7efaba2f24ac5f3b",
"score": "0.595415",
"text": "public net.iGap.proto.ProtoResponse.Response.Builder getResponseBuilder() {\n \n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }",
"title": ""
},
{
"docid": "38ee1860d5833d3f7efaba2f24ac5f3b",
"score": "0.595415",
"text": "public net.iGap.proto.ProtoResponse.Response.Builder getResponseBuilder() {\n \n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }",
"title": ""
},
{
"docid": "d34211adaea48accae8439f585788eaa",
"score": "0.5942628",
"text": "protected CloseableHttpResponse getWrappedResponse() {\n return wrappedResponse;\n }",
"title": ""
},
{
"docid": "a81f4c207432d9e8a683f98fcb2f453a",
"score": "0.5938899",
"text": "public net.iGap.proto.ProtoResponse.Response getResponse() {\n if (responseBuilder_ == null) {\n return response_ == null ? net.iGap.proto.ProtoResponse.Response.getDefaultInstance() : response_;\n } else {\n return responseBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "a81f4c207432d9e8a683f98fcb2f453a",
"score": "0.5938899",
"text": "public net.iGap.proto.ProtoResponse.Response getResponse() {\n if (responseBuilder_ == null) {\n return response_ == null ? net.iGap.proto.ProtoResponse.Response.getDefaultInstance() : response_;\n } else {\n return responseBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "2be44fa97f11ee69e20bdfabc2f7d036",
"score": "0.59279984",
"text": "public HttpServletResponse res() {\n\t\t\treturn res;\n\t\t}",
"title": ""
},
{
"docid": "e7cc3124aa0964922df00274aaa76f0f",
"score": "0.5918036",
"text": "private Response() {\n\t\t\tinitFields();\n\t\t}",
"title": ""
},
{
"docid": "8ea3872cb02eaefced348e16fac3134d",
"score": "0.58897024",
"text": "protected Response() {\n super(Type.RESPONSE_BASIC);\n }",
"title": ""
},
{
"docid": "bc2b270bec999331a033b97d0859ac1c",
"score": "0.5862565",
"text": "public HttpServletResponse getHttpResponse() {\n\t\treturn httpResponse;\n\t}",
"title": ""
},
{
"docid": "9f7d14cf44f9bd7502141a7a50fa9ee6",
"score": "0.5861579",
"text": "com.alibaba.maxgraph.proto.Response getResp();",
"title": ""
},
{
"docid": "7df32d038829b812127ddb2bf9cde58b",
"score": "0.5847594",
"text": "public T create() {\n return create(Twilio.getRestClient());\n }",
"title": ""
},
{
"docid": "8d13c240a591a50b0bbfddb87bfc556d",
"score": "0.5832286",
"text": "public GetInfoResponseBody getGetInfoResponse() {\n return localGetInfoResponse;\n }",
"title": ""
},
{
"docid": "8253fa806ef4b001817ec12c02dac591",
"score": "0.582444",
"text": "public GetPixBankAccountResponse build() {\r\n return getPixBankAccountResponse;\r\n }",
"title": ""
},
{
"docid": "07aac390a0e5765f667408a71cc1f39d",
"score": "0.5821791",
"text": "public Response() {\n }",
"title": ""
},
{
"docid": "07aac390a0e5765f667408a71cc1f39d",
"score": "0.5821791",
"text": "public Response() {\n }",
"title": ""
},
{
"docid": "747f7ba6113873f4fb035e16627a3522",
"score": "0.5810649",
"text": "public static RequestResponse createResponse( JSONObject o ) {\r\n\t\treturn new RequestResponse(o.toJSONString());\r\n\t}",
"title": ""
},
{
"docid": "0e721103bc04cdf8c7c0cd19650caae4",
"score": "0.58069694",
"text": "CollectionResponse createCollectionResponse();",
"title": ""
},
{
"docid": "b1ea0fa99c12dabd6c1f70fd6b5de570",
"score": "0.5781715",
"text": "public StringBuffer getResponseString() {\n\t\treturn responseString;\n\t}",
"title": ""
},
{
"docid": "57fd3fb35e61b8d8dff223b1816563e1",
"score": "0.5778597",
"text": "public ResponseInfo.Builder getLastResponseInfoBuilder() {\n return lastResponseInfo;\n }",
"title": ""
},
{
"docid": "90a71ca12f3b5cf6eb282b6a52ab4cc1",
"score": "0.5778072",
"text": "@Override\n\tprotected ServiceObjectSchema getSchema() {\n\t\treturn ResponseObjectSchema.Instance;\n\t}",
"title": ""
},
{
"docid": "4ede807500137f38aab4ee73ca2fb3f8",
"score": "0.57687765",
"text": "public Response() {\n\t}",
"title": ""
},
{
"docid": "b39289cf2d769184afa43f18d63c2efb",
"score": "0.57635015",
"text": "Token createResponse(Token aInToken);",
"title": ""
},
{
"docid": "105858878e528dcc15b784793f740fcb",
"score": "0.57544005",
"text": "public UUID getResponseId() {\n\t\treturn responseId;\n\t}",
"title": ""
},
{
"docid": "3a80bdf1f462da3e2b343e65a13b897c",
"score": "0.5752506",
"text": "protected Response createResponse(Object paymentResponse) {\n\t\tGsonBuilder gsonBuilder = GsonBuilderUtil.getDefaultBuild();\n\t\tgsonBuilder.excludeFieldsWithoutExposeAnnotation();\n\t\tgsonBuilder.serializeNulls();\n\t\t//Creating parameters\n\t\tGson gson = gsonBuilder.create();\n\t\tString response = gson.toJson(paymentResponse);\n\t\t\n\t\tResponseBuilder builder = Response.ok(response);\n\t\tCacheControl cacheControl = new CacheControl();\n\t\tcacheControl.setNoCache(true);\n\t\tbuilder.cacheControl(cacheControl);\n\t\t\n\t\tResponse resposta = builder.build();\n\t\treturn resposta;\n\t}",
"title": ""
},
{
"docid": "b37d7fc7bb2199d218b6e71a699a46cd",
"score": "0.57524514",
"text": "public io.webfolder.cdp.type.constant.AuthChallengeResponse getResponse() {\n return response;\n }",
"title": ""
},
{
"docid": "e1ad8ca305c2810b12dad33201658556",
"score": "0.5751495",
"text": "public ApplicationsGETResponse() {\n }",
"title": ""
}
] |
58802306497ff7e3805473a11b4e57b3 | Returns the number of assesses where uuid = &63; and companyId = &63;. | [
{
"docid": "600442cbfc6483d927a9312267f234a9",
"score": "0.68519247",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
}
] | [
{
"docid": "a40e7d84445755a41543eb58577413f4",
"score": "0.8129674",
"text": "public int countByUuid_C(String uuid, long companyId);",
"title": ""
},
{
"docid": "a40e7d84445755a41543eb58577413f4",
"score": "0.8129674",
"text": "public int countByUuid_C(String uuid, long companyId);",
"title": ""
},
{
"docid": "a40e7d84445755a41543eb58577413f4",
"score": "0.8129674",
"text": "public int countByUuid_C(String uuid, long companyId);",
"title": ""
},
{
"docid": "a40e7d84445755a41543eb58577413f4",
"score": "0.8129674",
"text": "public int countByUuid_C(String uuid, long companyId);",
"title": ""
},
{
"docid": "798e8e4fa52fef02659fd6f162e4e049",
"score": "0.8069639",
"text": "public int countByUuid_C(java.lang.String uuid, long companyId);",
"title": ""
},
{
"docid": "fa32de5174c1861040a2579947b310da",
"score": "0.74532235",
"text": "@Override\n\tpublic int countByUuid_C(String uuid, long companyId) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid_C;\n\n\t\tObject[] finderArgs = new Object[] {uuid, companyId};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(3);\n\n\t\t\tquery.append(_SQL_COUNT_ASSIGNMENT_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_2);\n\t\t\t}\n\n\t\t\tquery.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tqPos.add(companyId);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "390c60b4ede1e3aef2d437de497f3655",
"score": "0.7360154",
"text": "public static int countByUuid_C(String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "390c60b4ede1e3aef2d437de497f3655",
"score": "0.7360154",
"text": "public static int countByUuid_C(String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "5f33a52f1af16094e54d94f5e9545d5c",
"score": "0.73179257",
"text": "@Override\n\tpublic int countByUuid_C(String uuid, long companyId) {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C;\n\n\t\tObject[] finderArgs = new Object[] { uuid, companyId };\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(3);\n\n\t\t\tquery.append(_SQL_COUNT_SAMPLETHING_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_1);\n\t\t\t}\n\t\t\telse if (uuid.equals(StringPool.BLANK)) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_2);\n\t\t\t}\n\n\t\t\tquery.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tqPos.add(companyId);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "90a6ccc0895411c64bdae367c00ca2f8",
"score": "0.7301787",
"text": "@Override\n\tpublic int countByUuid_C(String uuid, long companyId)\n\t\tthrows SystemException {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C;\n\n\t\tObject[] finderArgs = new Object[] { uuid, companyId };\n\n\t\tLong count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs,\n\t\t\t\tthis);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(3);\n\n\t\t\tquery.append(_SQL_COUNT_ESFFORNITURETYPE_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_1);\n\t\t\t}\n\t\t\telse if (uuid.equals(StringPool.BLANK)) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_2);\n\t\t\t}\n\n\t\t\tquery.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tqPos.add(companyId);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tFinderCacheUtil.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tFinderCacheUtil.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "0be72dc4464263efa0ee34728d68b4a7",
"score": "0.7241415",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "0be72dc4464263efa0ee34728d68b4a7",
"score": "0.7241415",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "0be72dc4464263efa0ee34728d68b4a7",
"score": "0.7241415",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "0be72dc4464263efa0ee34728d68b4a7",
"score": "0.7241415",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "0be72dc4464263efa0ee34728d68b4a7",
"score": "0.7241415",
"text": "public static int countByUuid_C(java.lang.String uuid, long companyId) {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}",
"title": ""
},
{
"docid": "7aaa3a64a72a5dcfcaa82d2131e7767e",
"score": "0.72345364",
"text": "@Override\n\tpublic int countByUuid_C(String uuid, long companyId) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid_C;\n\n\t\tObject[] finderArgs = new Object[] {uuid, companyId};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler sb = new StringBundler(3);\n\n\t\t\tsb.append(_SQL_COUNT_RECOGNITION_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_C_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_C_UUID_2);\n\t\t\t}\n\n\t\t\tsb.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\n\n\t\t\tString sql = sb.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery query = session.createQuery(sql);\n\n\t\t\t\tQueryPos queryPos = QueryPos.getInstance(query);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqueryPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tqueryPos.add(companyId);\n\n\t\t\t\tcount = (Long)query.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception exception) {\n\t\t\t\tthrow processException(exception);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "7614db36e964c750b6f7da9519603950",
"score": "0.70702446",
"text": "@Override\n\tpublic int countByUuid_C(String uuid, long companyId) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid_C;\n\n\t\tObject[] finderArgs = new Object[] {uuid, companyId};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler sb = new StringBundler(3);\n\n\t\t\tsb.append(_SQL_COUNT_FORMSENDRECORDFIELDSIGNALEMENT_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_C_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_C_UUID_2);\n\t\t\t}\n\n\t\t\tsb.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\n\n\t\t\tString sql = sb.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery query = session.createQuery(sql);\n\n\t\t\t\tQueryPos queryPos = QueryPos.getInstance(query);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqueryPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tqueryPos.add(companyId);\n\n\t\t\t\tcount = (Long)query.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception exception) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(exception);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "191c314569339c6e469a79417c340fe5",
"score": "0.6815119",
"text": "public int countByUuid(String uuid);",
"title": ""
},
{
"docid": "74121110c6b372f2e1809647cfae33d5",
"score": "0.6685519",
"text": "public int countByUuid(java.lang.String uuid);",
"title": ""
},
{
"docid": "3b2435c7f5481e573e9a131d427b119a",
"score": "0.6232814",
"text": "@Override\n public int countByUuid(String uuid) throws SystemException {\n FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID;\n\n Object[] finderArgs = new Object[] { uuid };\n\n Long count = (Long) FinderCacheUtil.getResult(finderPath, finderArgs,\n this);\n\n if (count == null) {\n StringBundler query = new StringBundler(2);\n\n query.append(_SQL_COUNT_CONTACT_WHERE);\n\n boolean bindUuid = false;\n\n if (uuid == null) {\n query.append(_FINDER_COLUMN_UUID_UUID_1);\n } else if (uuid.equals(StringPool.BLANK)) {\n query.append(_FINDER_COLUMN_UUID_UUID_3);\n } else {\n bindUuid = true;\n\n query.append(_FINDER_COLUMN_UUID_UUID_2);\n }\n\n String sql = query.toString();\n\n Session session = null;\n\n try {\n session = openSession();\n\n Query q = session.createQuery(sql);\n\n QueryPos qPos = QueryPos.getInstance(q);\n\n if (bindUuid) {\n qPos.add(uuid);\n }\n\n count = (Long) q.uniqueResult();\n\n FinderCacheUtil.putResult(finderPath, finderArgs, count);\n } catch (Exception e) {\n FinderCacheUtil.removeResult(finderPath, finderArgs);\n\n throw processException(e);\n } finally {\n closeSession(session);\n }\n }\n\n return count.intValue();\n }",
"title": ""
},
{
"docid": "8d62ba463ed0ce9fc03465ad965190a9",
"score": "0.6231347",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid;\n\n\t\tObject[] finderArgs = new Object[] {uuid};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_ASSIGNMENT_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "be15017187824244b3b4f4c893c03cab",
"score": "0.60904706",
"text": "public int getEntityCount(String codingSchemeUId);",
"title": ""
},
{
"docid": "2bb3dfb10bd41bae3f70bd167d5e36aa",
"score": "0.6073995",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid;\n\n\t\tObject[] finderArgs = new Object[] {uuid};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_SHORTLINKENTRY_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "8f326d1ac47dbd3bc5b7a4893994d343",
"score": "0.6025423",
"text": "int getFromAccountsCount();",
"title": ""
},
{
"docid": "08a47d325ae4ca57d3e24bb9153d5214",
"score": "0.5984067",
"text": "Long countByAssayAccession(String assayAccession);",
"title": ""
},
{
"docid": "404d85c87d46139cf07cd135d75961b1",
"score": "0.59769225",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_UUID;\n\n\t\tObject[] finderArgs = new Object[] { uuid };\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_SAMPLETHING_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_1);\n\t\t\t}\n\t\t\telse if (uuid.equals(StringPool.BLANK)) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "5469a698fc0c4a8639e63f7ada15236f",
"score": "0.59750336",
"text": "public static int countByUuid(String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "5469a698fc0c4a8639e63f7ada15236f",
"score": "0.59750336",
"text": "public static int countByUuid(String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "5469a698fc0c4a8639e63f7ada15236f",
"score": "0.59750336",
"text": "public static int countByUuid(String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "20a13740e4a782ee2b5d716afc36bb81",
"score": "0.59444964",
"text": "@Override\n\tpublic int countByUuid(String uuid) throws SystemException {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_UUID;\n\n\t\tObject[] finderArgs = new Object[] { uuid };\n\n\t\tLong count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs,\n\t\t\t\tthis);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_ESFFORNITURETYPE_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_1);\n\t\t\t}\n\t\t\telse if (uuid.equals(StringPool.BLANK)) {\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tFinderCacheUtil.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tFinderCacheUtil.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "e375b6e0b2db34631613c1fc59b1d32e",
"score": "0.59293336",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid;\n\n\t\tObject[] finderArgs = new Object[] {uuid};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler sb = new StringBundler(2);\n\n\t\t\tsb.append(_SQL_COUNT_RECOGNITION_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = sb.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery query = session.createQuery(sql);\n\n\t\t\t\tQueryPos queryPos = QueryPos.getInstance(query);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqueryPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)query.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception exception) {\n\t\t\t\tthrow processException(exception);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "7c75e824d133d6e6590df9fb7916ee07",
"score": "0.58832437",
"text": "public int getCount() {\n return companyId.size();\n }",
"title": ""
},
{
"docid": "ebf611d278707920dce6bfc192633bee",
"score": "0.5857064",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid;\n\n\t\tObject[] finderArgs = new Object[] {uuid};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler sb = new StringBundler(2);\n\n\t\t\tsb.append(_SQL_COUNT_FORMSENDRECORDFIELDSIGNALEMENT_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = sb.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery query = session.createQuery(sql);\n\n\t\t\t\tQueryPos queryPos = QueryPos.getInstance(query);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqueryPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)query.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception exception) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(exception);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "57a52c29ebf421dbaf010c040f610df5",
"score": "0.57844836",
"text": "public static int countByUuid(java.lang.String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "57a52c29ebf421dbaf010c040f610df5",
"score": "0.57844836",
"text": "public static int countByUuid(java.lang.String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "57a52c29ebf421dbaf010c040f610df5",
"score": "0.57844836",
"text": "public static int countByUuid(java.lang.String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "57a52c29ebf421dbaf010c040f610df5",
"score": "0.57844836",
"text": "public static int countByUuid(java.lang.String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "57a52c29ebf421dbaf010c040f610df5",
"score": "0.57844836",
"text": "public static int countByUuid(java.lang.String uuid) {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "10fa3757ff409b600606754be1ab9e86",
"score": "0.57830155",
"text": "int countByCozinhaId(Long cozinha);",
"title": ""
},
{
"docid": "dd9930bc521d11d4ece176e325e53e2b",
"score": "0.5742556",
"text": "@Override\n\tpublic int countByUuid(String uuid) {\n\t\tuuid = Objects.toString(uuid, \"\");\n\n\t\tFinderPath finderPath = _finderPathCountByUuid;\n\n\t\tObject[] finderArgs = new Object[] {uuid};\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler sb = new StringBundler(2);\n\n\t\t\tsb.append(_SQL_COUNT_FEEDBACK_WHERE);\n\n\t\t\tboolean bindUuid = false;\n\n\t\t\tif (uuid.isEmpty()) {\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindUuid = true;\n\n\t\t\t\tsb.append(_FINDER_COLUMN_UUID_UUID_2);\n\t\t\t}\n\n\t\t\tString sql = sb.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery query = session.createQuery(sql);\n\n\t\t\t\tQueryPos queryPos = QueryPos.getInstance(query);\n\n\t\t\t\tif (bindUuid) {\n\t\t\t\t\tqueryPos.add(uuid);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)query.uniqueResult();\n\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception exception) {\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(exception);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}",
"title": ""
},
{
"docid": "837b6836e52f35b338b30ef7f8aa3087",
"score": "0.57396024",
"text": "int getArmyIdCount();",
"title": ""
},
{
"docid": "837b6836e52f35b338b30ef7f8aa3087",
"score": "0.57396024",
"text": "int getArmyIdCount();",
"title": ""
},
{
"docid": "5740e1cd42386aea75dbb6ea2a254c4f",
"score": "0.571186",
"text": "int getAccountIdCount();",
"title": ""
},
{
"docid": "c540404b16ad911e1429ad1f34aa8c53",
"score": "0.5644552",
"text": "public int countByUUID_G(String uuid, long groupId);",
"title": ""
},
{
"docid": "c540404b16ad911e1429ad1f34aa8c53",
"score": "0.5644552",
"text": "public int countByUUID_G(String uuid, long groupId);",
"title": ""
},
{
"docid": "c540404b16ad911e1429ad1f34aa8c53",
"score": "0.5644552",
"text": "public int countByUUID_G(String uuid, long groupId);",
"title": ""
},
{
"docid": "c540404b16ad911e1429ad1f34aa8c53",
"score": "0.5644552",
"text": "public int countByUUID_G(String uuid, long groupId);",
"title": ""
},
{
"docid": "81bb9f65ec45019c5d987ab4fbf03ee1",
"score": "0.56227046",
"text": "int getToAccountsCount();",
"title": ""
},
{
"docid": "ef64b983cd69cec2e34c255d8fc80d09",
"score": "0.5593208",
"text": "int countByExample(SportMProductSkuExample example);",
"title": ""
},
{
"docid": "cb069df858e7618c3dc84c9572ac602a",
"score": "0.5571039",
"text": "public int countByUUID_G(java.lang.String uuid, long groupId);",
"title": ""
},
{
"docid": "9ca122c084585b5800bde735df5817fa",
"score": "0.5565742",
"text": "@Override\n public long count(Specification<Company> arg0) {\n return 0;\n }",
"title": ""
},
{
"docid": "80ccdfd404908929fb998868a1b0e9f0",
"score": "0.5473196",
"text": "int countByExample(TdxCompanyExecutorExample example);",
"title": ""
},
{
"docid": "448d414ec87639c83bee5cfa765256b7",
"score": "0.54638463",
"text": "@GetMapping(\"/environnements/count\")\n public ResponseEntity<Long> countEnvironnements(EnvironnementCriteria criteria) {\n log.debug(\"REST request to count Environnements by criteria: {}\", criteria);\n return ResponseEntity.ok().body(environnementQueryService.countByCriteria(criteria));\n }",
"title": ""
},
{
"docid": "fe3f397e0e532874619128efcd24d9d0",
"score": "0.5460998",
"text": "int countByTenantId(@Param(\"tenantId\") Long tenantId);",
"title": ""
},
{
"docid": "2151c2a46284bab4272cc58c602014b7",
"score": "0.5437776",
"text": "int getAssetCount();",
"title": ""
},
{
"docid": "6b8d29fa73c7054fa542254533346388",
"score": "0.5422838",
"text": "int skitCount(int userId);",
"title": ""
},
{
"docid": "bcc3ebdc2d205dcc7225140947d33151",
"score": "0.5404065",
"text": "public int countByCompanyId(long companyId)\n throws com.liferay.portal.kernel.exception.SystemException;",
"title": ""
},
{
"docid": "79dd46de7224b626fe48c3ce76468dfc",
"score": "0.5400266",
"text": "long countByExample(AssetRouterExample example);",
"title": ""
},
{
"docid": "59df5b322ab14d1cbff75f4432f43c79",
"score": "0.539529",
"text": "private static int getTypeCount(String indexName, String type) {\n try {\n Response response = invokeAPI(\"GET\", indexName + \"/\" + type + \"/_count?filter_path=count\",\n \"{\\\"query\\\":{ \\\"match\\\":{\\\"latest\\\":true}}}\");\n String rspJson = EntityUtils.toString(response.getEntity());\n return new ObjectMapper().readTree(rspJson).at(\"/count\").asInt();\n } catch (IOException e) {\n LOGGER.error(\"Error in getTypeCount\",e);\n }\n return 0;\n }",
"title": ""
},
{
"docid": "c15774833d3f3384699a08e32237dcbe",
"score": "0.5394157",
"text": "@Transactional(readOnly = true)\n public long countByCriteria(BuckleArrestorHistCriteria criteria) {\n log.debug(\"count by criteria : {}\", criteria);\n final Specification<BuckleArrestorHist> specification = createSpecification(criteria);\n return buckleArrestorHistRepository.count(specification);\n }",
"title": ""
},
{
"docid": "45698d00810b2136430ed963f850f0ae",
"score": "0.53915274",
"text": "public int countByPersonId(long person_id);",
"title": ""
},
{
"docid": "47e9b8a3cc51e6853d50592a73eaed7e",
"score": "0.5382339",
"text": "@Test\r\n\tpublic void countAccomodations() {\r\n\t\tInteger response = null;\r\n\t\tresponse = service.countAccomodations();\r\n\t\t// TODO: JUnit - Add assertions to test outputs of operation: countAccomodations\r\n\t}",
"title": ""
},
{
"docid": "2db1e5fb5fc33f35fdc2d23103c33773",
"score": "0.5377895",
"text": "@Transactional(readOnly = true)\n public long countByCriteria(CommercialPaymentInfoCriteria criteria) {\n log.debug(\"count by criteria : {}\", criteria);\n final Specification<CommercialPaymentInfo> specification = createSpecification(criteria);\n return commercialPaymentInfoRepository.count(specification);\n }",
"title": ""
},
{
"docid": "c9728844037a5ebc2cde8c5c6e3e06f9",
"score": "0.5369065",
"text": "public static long counter(String tenantName) {\n\t\tSession session = null;\n\t\tboolean ret = false;\n\t\tlong startTime = System.currentTimeMillis();\n\t\tsession = HibernateUtil.getInstance().getInstance().getSessionFactory(tenantName).openSession();\n\t\tString query = \"Select count(c) from CrmAccount c\";\n\t\tlong count = (Long) session.createQuery(query).uniqueResult();\n\n\t\treturn count;\n\n\t}",
"title": ""
},
{
"docid": "bf7242d92306e32660e934cf30cbd4e8",
"score": "0.53578615",
"text": "@Override\n\tpublic int getCount(Vendor a) {\n\t\tint count=0;\n\t\tConnection con=null;\n\t\ttry\n\t\t{\n\t\t\tcon=JdbcConnection.getConnection();\n\t\t\tPreparedStatement ps=con.prepareStatement(\"select count from vendor where userid=?\");\n\t\t\tps.setInt(1,a.getUserid());\n\t\t\tResultSet rs=ps.executeQuery();\n\t\t\tif(rs.next())\n\t\t\t{\n\t\t\t\tcount=rs.getInt(1);\n\t\t\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\treturn count;\n\t}",
"title": ""
},
{
"docid": "273405eacdf65dafc7807ecdd4e460c5",
"score": "0.5356389",
"text": "long getAddressCountByPerson(String personCode);",
"title": ""
},
{
"docid": "29f745adb61a2584c705ea0aeb4d2dbc",
"score": "0.5351755",
"text": "Long countByEmailId(String emailId);",
"title": ""
},
{
"docid": "9dbf618ae78e75dd86f3d70de5839292",
"score": "0.5345177",
"text": "public int countByEmployeeId(long empId);",
"title": ""
},
{
"docid": "3ef851b58918203449e2a6fc375f8388",
"score": "0.53273916",
"text": "@Test\n public void testCount() {\n long initialCount = impl.count(new Company());\n Company company = new Company(\"This is a test company sjfaksjaksfkjskfsfa\",\n SubscriptionType.FREE_SUBSCRIPTION);\n company.setCompanyIdentifyingString(UUID.randomUUID().toString());\n impl.insert(company);\n\n long countAfterInsert = impl.count(new Company());\n assertEquals(initialCount + 1, countAfterInsert);\n\n impl.remove(company);\n\n long finalCount = impl.count(new Company());\n assertEquals(initialCount, finalCount);\n }",
"title": ""
},
{
"docid": "f0d5f3a766dacf2cb2b0945c9175ddf9",
"score": "0.53253305",
"text": "int getFromIdCount();",
"title": ""
},
{
"docid": "415305138a72cdffd1373646ece6d690",
"score": "0.5323286",
"text": "int getSeatCount();",
"title": ""
},
{
"docid": "415305138a72cdffd1373646ece6d690",
"score": "0.5323286",
"text": "int getSeatCount();",
"title": ""
},
{
"docid": "47fdc0fb3335c4116840a22a08ddc974",
"score": "0.5321109",
"text": "protected short getCount()\n {\n synchronized (UUIDUtils.class)\n {\n if (counter < 0)\n counter = 0;\n return counter++;\n }\n }",
"title": ""
},
{
"docid": "dd4c53b3f63a5f67639f31dbf3491824",
"score": "0.53200984",
"text": "@Transactional(readOnly = true)\n public long countByCriteria(AnvaeKhodroCriteria criteria) {\n log.debug(\"count by criteria : {}\", criteria);\n final Specification<AnvaeKhodro> specification = createSpecification(criteria);\n return anvaeKhodroRepository.count(specification);\n }",
"title": ""
},
{
"docid": "1ea1187684b59390749c790f4f431d3c",
"score": "0.531867",
"text": "private int getNumCountDistinctCall(Aggregate hiveAggregate) {\n int cnt = 0;\n for (AggregateCall aggCall : hiveAggregate.getAggCallList()) {\n if (aggCall.isDistinct() && (aggCall.getAggregation().getName().equalsIgnoreCase(\"count\"))) {\n cnt++;\n }\n }\n return cnt;\n }",
"title": ""
},
{
"docid": "0bbb653591f93cf14de429c550d3c3f4",
"score": "0.53160614",
"text": "@GetMapping(\"/design-niazsanjis/count\")\n @Timed\n public ResponseEntity<Long> countDesignNiazsanjis(DesignNiazsanjiCriteria criteria) {\n log.debug(\"REST request to count DesignNiazsanjis by criteria: {}\", criteria);\n return ResponseEntity.ok().body(designNiazsanjiQueryService.countByCriteria(criteria));\n }",
"title": ""
},
{
"docid": "6ff05e2ae7e40c406ae65eb5b7a09dcc",
"score": "0.5312453",
"text": "private int getNbAccountForHost(String host)\n {\n ProtocolProviderFactory factory =\n DictAccRegWizzActivator.getDictProtocolProviderFactory();\n\n ArrayList<AccountID> registeredAccounts \n = factory.getRegisteredAccounts();\n int total = 0;\n\n for (int i = 0; i < registeredAccounts.size(); i++)\n {\n AccountID accountID = registeredAccounts.get(i);\n\n // The host is always stored at the start\n if (accountID.getUserID().startsWith(host.toLowerCase()))\n {\n total++;\n }\n }\n return total;\n }",
"title": ""
},
{
"docid": "4bf07643db3567723dd2751a1d24b139",
"score": "0.53072894",
"text": "int getCandyAwardedCount();",
"title": ""
},
{
"docid": "b537e17cb738355590b9382db7d7caaf",
"score": "0.52890813",
"text": "@GetMapping(\"/forexrates/count\")\n @Timed\n public ResponseEntity<Long> countForexrates(ForexratesCriteria criteria) {\n log.debug(\"REST request to count Forexrates by criteria: {}\", criteria);\n return ResponseEntity.ok().body(forexratesQueryService.countByCriteria(criteria));\n }",
"title": ""
},
{
"docid": "c5b2612c58a64ead466d3e5930079e90",
"score": "0.52842015",
"text": "@Override\n\tpublic long countPeople() {\n\t\tsql =\"SELECT COUNT(*) inscripcionequipo\";\n\t\treturn this.jdbc.queryForLong(sql, new Object[] {}, BeanPropertyRowMapper.newInstance(InscripcionEquipo.class));\n\t}",
"title": ""
},
{
"docid": "26e438d41048d1761e155f1d61f9e9c3",
"score": "0.52831113",
"text": "public int getTotalNumsByQuery(TeamAssetQuery query);",
"title": ""
},
{
"docid": "fa0e8ed0bb706f80044d83c450e29624",
"score": "0.5281399",
"text": "public static int NumberOfaccounts() {\n System.out.println(\"number of accounts \" + countOfaccount);\n return countOfaccount;\n }",
"title": ""
},
{
"docid": "59e7ee3a338eedb3b2bd492a9d65dd92",
"score": "0.52743524",
"text": "public int getNumberReservedByAccount(String accountId) throws Exception{\n List<RentalVideo> list = new ArrayList();\n Connection conn = ConnectionPool.getInstance().get();\n \n PreparedStatement stmt = conn.prepareStatement(\"SELECT COUNT(*) AS recordcount FROM rentalvideo WHERE reservetime > ? AND reserveacct = ?\");\n stmt.setLong(1, Calendar.getInstance().getTimeInMillis() - 3600000);\n stmt.setString(2, accountId);\n ResultSet rs = stmt.executeQuery();\n \n rs.next();\n return rs.getInt(\"recordcount\");\n }",
"title": ""
},
{
"docid": "81781cdb1dd1e07da9140fcc6b801ed7",
"score": "0.5264635",
"text": "Long countByProjectAccession(String projectAccession);",
"title": ""
},
{
"docid": "0617ab7972b3a47a2086205ad21ae13f",
"score": "0.5260136",
"text": "public Long countAccPackage(String crmAccountID, String tenantName) throws Exception {\n\t\tSession session = HibernateUtil.getInstance().getSessionFactory(tenantName).openSession();\n\t\tString queryCrmAccount = \"Select d.username from CrmAccount d where d.crmaccountid = '\" + crmAccountID + \"'\";\n\t\tLong userId = (Long) session.createQuery(queryCrmAccount).uniqueResult();\n\t\tString query = \"select count(a.compId.username) from AccountProduct a where a.compId.username = \" + userId;\n\t\tLong num = (Long) session.createQuery(query).uniqueResult();\n\t\tHibernateUtil.getInstance().getSessionFactory(tenantName).close();\n\t\treturn num;\n\t}",
"title": ""
},
{
"docid": "7a5acd201b9f8f3f73445e0c475c8d55",
"score": "0.52495044",
"text": "int getXlCandyAwardedCount();",
"title": ""
},
{
"docid": "8881f30d2ec681f0c683dfb57d521a0e",
"score": "0.5243179",
"text": "int getTrusteeCount(Long charityId);",
"title": ""
},
{
"docid": "51232bb0db1e2e868a316bbe74a49688",
"score": "0.5242216",
"text": "int countByExample(SysMerchantInfoExample example);",
"title": ""
},
{
"docid": "2fae6eac91b46db715f9fc40efbe2f25",
"score": "0.5230372",
"text": "int countByQuery(DaasSalesQuery query);",
"title": ""
},
{
"docid": "452a25457ef787d18f652235bdda6d9c",
"score": "0.52303267",
"text": "long countByExample(GoodsPackAffiliatedExample example);",
"title": ""
},
{
"docid": "268c7c336f1906948656efe8c8a26367",
"score": "0.5224168",
"text": "long getActiveCount();",
"title": ""
},
{
"docid": "896033e00df1a3d2f9e78501d604f219",
"score": "0.5214858",
"text": "int getContractCount();",
"title": ""
},
{
"docid": "cc61869784782f050a5d00214753f018",
"score": "0.52111274",
"text": "public static int countByUuid(java.lang.String uuid)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().countByUuid(uuid);\n\t}",
"title": ""
},
{
"docid": "decbc00ff79cd79667e68117545b54c1",
"score": "0.5210989",
"text": "int getAddressesCount();",
"title": ""
},
{
"docid": "c1e46432a5e5d454411f6cc05c8c67be",
"score": "0.52108854",
"text": "@Query(\"select count(authorId) from AuthorsEntity\")\n int aaa();",
"title": ""
}
] |
01a7c08aae0911d251af7ea15f222c97 | Method when button clicked runs moonshine/Option 2 command Depending on the room option gives different command | [
{
"docid": "b74e0336920ce459f2eb6ff959c7d14a",
"score": "0.7305121",
"text": "private void moonshine1 (MouseEvent evt) \n {\n if (player.getCurrentRoom() == exploreAmerica)\n {\n \n command = new Command(\"go\", \"moonshine\");\n \n processCommand(command);\n }\n if (player.getCurrentRoom() == nertiRamusis)\n {\n command = new Command(\"keliauti\", \"kovoti\");\n }\n if (player.getCurrentRoom() == divePacific)\n {\n command = new Command(\"go\", \"fight\");\n }\n if (player.getCurrentRoom() == nertiAtlanta)\n {\n command = new Command(\"keliauti\", \"plaukiant\");\n }\n if (player.getCurrentRoom() == aplankytiAmerika)\n {\n command = new Command(\"keliauti\", \"prigerti\");\n }\n if (player.getCurrentRoom() == diveAtlantic)\n {\n \n command = new Command(\"go\", \"dive\");\n \n \n }\n if (player.getCurrentRoom() == exploreEurope)\n {\n command = new Command(\"go\", \"france\");\n }\n if (player.getCurrentRoom() == aplankytiEuropa)\n {\n command = new Command(\"keliauti\", \"prancuzijon\");\n }\n if (player.getCurrentRoom() == exploreAsia)\n {\n command = new Command(\"go\", \"wall\");\n }\n if (player.getCurrentRoom() == aplankytiAzija)\n {\n command = new Command(\"keliauti\", \"prie-sienos\");\n }\n if (player.getCurrentRoom() == exploreAustralia)\n {\n command = new Command(\"go\", \"swamps\");\n }\n if (player.getCurrentRoom() == aplankytiAustralija)\n {\n command = new Command(\"keliauti\", \"per-pelkes\");\n }\n if (player.getCurrentRoom() == exploreAfrica)\n {\n command = new Command(\"go\", \"egypt\");\n }\n if (player.getCurrentRoom() == aplankytiAfrika)\n {\n command = new Command(\"keliauti\", \"egiptas\");\n }\n if (player.getCurrentRoom() == exploreIndia)\n {\n command = new Command(\"go\", \"shiny\");\n }\n if (player.getCurrentRoom() == aplankytiIndija)\n {\n command = new Command(\"keliauti\", \"prie-blizgucio\");\n }\n take1.setVisible(true);\n eat1.setVisible(false);\n moonshine1.setVisible(false);\n mudding1.setVisible(false);\n continue1.setVisible(true); \n processCommand(command);\n \n }",
"title": ""
}
] | [
{
"docid": "051ade7115433607276057413ef91840",
"score": "0.6900119",
"text": "private void mudding1 (MouseEvent evt) \n {\n if (player.getCurrentRoom() == exploreAmerica)\n {\n command = new Command(\"go\", \"mudding\");\n }\n if (player.getCurrentRoom() == diveAtlantic)\n {\n \n command = new Command(\"go\", \"climb\");\n \n }\n if (player.getCurrentRoom() == divePacific)\n {\n \n command = new Command(\"go\", \"diversion\");\n \n }\n if (player.getCurrentRoom() == nertiRamusis)\n {\n command = new Command(\"keliauti\", \"diversija\");\n }\n if (player.getCurrentRoom() == nertiAtlanta)\n {\n command = new Command(\"keliauti\", \"lipti\");\n }\n if (player.getCurrentRoom() == aplankytiAmerika)\n {\n command = new Command(\"keliauti\", \"murzintis\");\n }\n if (player.getCurrentRoom() == exploreEurope)\n {\n command = new Command(\"go\", \"russia\");\n }\n if (player.getCurrentRoom() == aplankytiEuropa)\n {\n command = new Command(\"keliauti\", \"rusijon\");\n }\n if (player.getCurrentRoom() == exploreAsia)\n {\n command = new Command(\"go\", \"bathroom\");\n }\n if (player.getCurrentRoom() == aplankytiAzija)\n {\n command = new Command(\"keliauti\", \"tuoleta\");\n }\n if (player.getCurrentRoom() == exploreAustralia)\n {\n command = new Command(\"go\", \"box\");\n }\n if (player.getCurrentRoom() == aplankytiAustralija)\n {\n command = new Command(\"keliauti\", \"boksuotis\");\n }\n if (player.getCurrentRoom() == exploreAfrica)\n {\n command = new Command(\"go\", \"desert\");\n }\n if (player.getCurrentRoom() == aplankytiAfrika)\n {\n command = new Command(\"keliauti\", \"per-dykuma\");\n }\n if (player.getCurrentRoom() == aplankytiIndija)\n {\n command = new Command(\"keliauti\", \"laivan\");\n }\n if (player.getCurrentRoom() == exploreIndia)\n {\n command = new Command(\"go\", \"boat\");\n }\n take1.setVisible(true);\n eat1.setVisible(false);\n moonshine1.setVisible(false);\n mudding1.setVisible(false);\n continue1.setVisible(true);\n take1.setVisible(true);\n processCommand(command);\n \n }",
"title": ""
},
{
"docid": "5d39e39c34734b9d02ae1bd33a71d577",
"score": "0.6475506",
"text": "private void eat1 (MouseEvent evt) \n {\n if (player.getCurrentRoom() == exploreAmerica)\n {\n \n command = new Command(\"go\", \"eat\");\n processCommand(command);\n }\n if (player.getCurrentRoom() == diveAtlantic)\n {\n \n command = new Command(\"go\", \"swim\");\n \n processCommand(command);\n }\n take1.setVisible(true);\n eat1.setVisible(false);\n moonshine1.setVisible(false);\n mudding1.setVisible(false);\n continue1.setVisible(true);\n }",
"title": ""
},
{
"docid": "f0214abeca927410cb704581773c6684",
"score": "0.6359222",
"text": "public void actionPerformed(ActionEvent event) {\n String command = event.getActionCommand();\n if (command.startsWith(Unit.getXMLElementTagName())) {\n String unitId = null;\n \n try {\n unitId = command.substring(Unit.getXMLElementTagName().length());\n } catch (IndexOutOfBoundsException e) {\n e.printStackTrace();\n }\n \n gui.setActiveUnit((Unit) freeColClient.getGame().getFreeColGameObject(unitId));\n } else if (command.equals(Colony.getXMLElementTagName())) {\n canvas.showColonyPanel((Colony) tile.getSettlement());\n } else if (command.equals(IndianSettlement.getXMLElementTagName())) {\n canvas.showIndianSettlementPanel((IndianSettlement) tile.getSettlement());\n } else if (command.equals(Tile.getXMLElementTagName())) {\n canvas.showTilePanel(tile);\n // START DEBUG\n } else if (command.startsWith(\"TL\" + Unit.getXMLElementTagName())) {\n String unitID = command.substring((\"TL\"+Unit.getXMLElementTagName()).length());\n AIUnit au = (AIUnit) freeColClient.getFreeColServer().getAIMain().getAIObject(unitID);\n canvas.showInformationMessage(au.getMission().toString());\n } else if (command.startsWith(\"TO\")) {\n String id = command.substring((\"TO\").length());\n Ownable o = (Ownable) freeColClient.getFreeColServer().getGame().getFreeColGameObject(id);\n Player mp = (Player) freeColClient.getFreeColServer().getGame().getFreeColGameObject(freeColClient.getMyPlayer().getID());\n o.setOwner(mp);\n if (o instanceof Unit) {\n Iterator<Unit> it = ((Unit) o).getUnitIterator();\n while (it.hasNext()) {\n it.next().setOwner(mp);\n }\n }\n if (o instanceof Location) {\n freeColClient.getFreeColServer().getModelController().update(((Location) o).getTile());\n } else if (o instanceof Locatable) {\n freeColClient.getFreeColServer().getModelController().update(((Locatable) o).getTile());\n }\n // END DEBUG\n } else if (command.startsWith(\"GOTO\")) {\n String tileID = command.substring((\"GOTO\").length());\n Tile gotoTile = (Tile) freeColClient.getGame().getFreeColGameObject(tileID);\n if (gotoTile != null && gui.getActiveUnit() != null) {\n freeColClient.getInGameController().setDestination(gui.getActiveUnit(), gotoTile);\n if (freeColClient.getGame().getCurrentPlayer() == freeColClient.getMyPlayer()) {\n freeColClient.getInGameController().moveToDestination(gui.getActiveUnit());\n }\n }\n } else {\n logger.warning(\"Invalid actioncommand.\");\n }\n }",
"title": ""
},
{
"docid": "5a87d6abad6f02270effe7a7c1b08434",
"score": "0.63504916",
"text": "private void goRoom (Command command)\n {\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = currentRoom.getExit(direction);\n\n if (nextRoom == null) {\n myFrame.getTerminalTextArea().append(\"\\nThere is no door!\");\n } else {\n currentRoom = nextRoom;\n myFrame.getTerminalTextArea().append(currentRoom.getBiomaLongDescription() + currentRoom.getItemString() + currentRoom.getExitString());\n }\n }",
"title": ""
},
{
"docid": "2a456087a804ac5e21b18104be928227",
"score": "0.6312456",
"text": "private void openGate(Command command)\n {\n if(english == true)\n {\n \n String direction = command.getSecondWord();\n \n Room nextRoom = player.getCurrentRoom().getExit(direction);\n if (command.getSecondWord().equals(\"gate\")) \n {\n if (player.getKey() == true)\n {\n if (player.getCurrentRoom() == golden)\n {\n nextRoom = atlantis;\n player.setRoom(nextRoom);\n textarea1.append(\" You are \" + player.getCurrentRoom().getDescription()+\"\\n\") ;\n \n textarea1.append(\"You have \" + turns + \" turns left!\");\n \n }\n }\n }\n else\n {\n textarea1.append(\"I told you already, \"+\"\\n\"+\"you need a key to open the gate. \"+\"\\n\"+\"Are you listening to me!?\");\n }\n }\n else \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n textarea1.append(\"Atidaryti ką?\" );\n return;\n }\n String direction = command.getSecondWord();\n \n // Try to leave current room.\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n if (command.getSecondWord().equals(\"vartus\")) \n {\n if (player.getKey() == true)\n {\n if (player.getCurrentRoom() == auksinis)\n {\n nextRoom = atlantida;\n player.setRoom(nextRoom);\n textarea1.append(\"Tu esi \" + player.getCurrentRoom().getDescription()+\"\\n\") ;\n \n textarea1.append(\"Tau liko \" + turns + \" ėjimai!\");\n \n }\n }\n }\n else\n {\n textarea1.append(\"Juk jau sakiau tau,\"+\"\\n\"+\"jog turi turėti raktą kad atidarytum vartus!?\");\n }\n }\n }",
"title": ""
},
{
"docid": "ddad5edcc0674eb524d900e68c95d6f2",
"score": "0.6292627",
"text": "private void goRoom(Command command) \n {\n if(english == true)\n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n textarea1.append(\"Go where?\" +\"\\n\");\n return;\n }\n \n String direction = command.getSecondWord();\n \n // Try to leave current room.\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n \n if (nextRoom == null) {\n textarea1.append(command.getSecondWord() + \" is not a direction\"+\"\\n\");\n }\n else if (command.getSecondWord().equals(\"home\"))\n {\n nextRoom = home;\n textarea1.append(\"You have \" + turns + \" turns left!\"+\"\\n\");\n }\n else {\n player.setRoom(nextRoom);\n textarea1.append(\"You have \" + turns + \" turns left!\"+\"\\n\");\n textarea1.append(\" You are \" + player.getCurrentRoom().getDescription()+\"\\n\");\n look();\n \n } \n }\n else\n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n textarea1.append(\"Kur eiti?\" );\n return;\n }\n \n String direction = command.getSecondWord();\n \n // Try to leave current room.\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n \n if (nextRoom == null) {\n textarea1.append(command.getSecondWord() + \" nėra pusė\"+\"\\n\");\n }\n else if (command.getSecondWord().equals(\"namai\"))\n {\n nextRoom = namai;\n textarea1.append(\"Tau liko \" + turns + \" ėjimai!\"+\"\\n\");\n }\n else {\n player.setRoom(nextRoom);\n textarea1.append(\"Tau liko \" + turns + \" ėjimai!\"+\"\\n\");\n textarea1.append(\"Tu esi \" + player.getCurrentRoom().getDescription()+\"\\n\");\n look();\n \n } \n }\n }",
"title": ""
},
{
"docid": "f6483d3a724b84a9536b8ee724d485b4",
"score": "0.6271914",
"text": "public void actionPerformed(ActionEvent e)\n\t \t{\n\t\t String command = ((JButton) e.getSource()).getActionCommand();\n\t\t \t//Initialize Specific room dialogue this will return true or false depending on consensus.\n\t\t \tinitializeDialogue(true, robots[selectedRobot].getRoomNumber(), Integer.parseInt(command));\n\t\t \t//If consensus was reached, send the robot.\n\t\t \tif(consensus) {\n\t\t \t\tsendRobot(r, selectedRobot,Integer.parseInt(command)-1);\n\t\t \t\trobots[selectedRobot].setTraveling(true);\n\t\t \t\tblockButtons();\n\t\t \t}\n\t \t}",
"title": ""
},
{
"docid": "edd9d1df804709c87b5bebe4dfab0997",
"score": "0.6262718",
"text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tJMenuItem m = (JMenuItem)e.getSource();\n\t\t\n\t\tif (m.getText().equals(\"Make Suggestion\")){\n\t\t\tPerson p = game.getCurPlayer();\n\t\t\tSystem.out.println(p==null);\n\t\t\tTile t = board.tileAt(p.getX(), p.getY());\n\t\t\t\n\t\t\tif (!(t instanceof Room)){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tRoom r = (Room) t;\n\t\t\t\t\n\t\t\tString[] sug = rumorWindow.makeRumor(r, window);\n\t\t\tif (sug.length==3){\n\t\t\t\tgame.makeSuggestion(new Card(sug[0], null, Card.Type.WEAPON),\n\t\t\t\t\t\tnew Card(sug[1], null, Card.Type.ROOM),\n\t\t\t\t\t\tnew Card(sug[2], null, Card.Type.PERSON));\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} else if (m.getText().equals(\"Make Accusation\")){\n\t\t\tPerson p = game.getCurPlayer();\n\t\t\tSystem.out.println(p==null);\n\t\t\tTile t = board.tileAt(p.getX(), p.getY());\n\t\t\t\n\t\t\tif (!(t instanceof Room)){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tRoom r = (Room) t;\n\t\t\t\t\n\t\t\tString[] sug = rumorWindow.makeRumor(r, window);\n\t\t\tif (sug.length==3){\n\t\t\t\tgame.MakeAcusation(new Card(sug[0], null, Card.Type.WEAPON),\n\t\t\t\t\t\tnew Card(sug[1], null, Card.Type.ROOM),\n\t\t\t\t\t\tnew Card(sug[2], null, Card.Type.PERSON));\n\t\t\t}\n\t\t} else if (m.getText().equals(\"New Game\")){\n\t\t\tInteger s=null;\n\t\t\twhile ((s= (Integer)JOptionPane.showInputDialog(\n\t\t\t window,\n\t\t\t \"How many Players in the game?\",\n\t\t\t \"Customized Dialog\",\n\t\t\t JOptionPane.PLAIN_MESSAGE,\n\t\t\t null,\n\t\t\t possibilities,\n\t\t\t 1))==null);\n\t\t\twindow.setEnabled(false);\n\t\t\tgame = new Game(s);\n\t\t\twindow.setEnabled(true);\n\t\t} else if (m.getText().equals(\"Exit\")){\n\t\t\tSystem.exit(0);\n\t\t} else if (m.getText().equals(\"End Turn\")){\n\t\t\tgame.endTurn();\n\t\t}\n\t\t\n\t\tout.println(m.getText());\n\t\tcanvas.repaint();\n\t}",
"title": ""
},
{
"docid": "072d693283d2cf6f01d34d15ab5a9f88",
"score": "0.62578124",
"text": "@FXML\n public void selectedExtraDepotMarble2(){\n pressedButton(sel2ExtraDepot);\n clearButtonSelection(sel2Depot1);\n clearButtonSelection(sel2Depot2);\n clearButtonSelection(sel2Depot3);\n clearButtonSelection(discard2);\n marble2Choice = MarbleDestination.EXTRA;\n showOkButton();\n }",
"title": ""
},
{
"docid": "f0f7880685175f347b545f855a425408",
"score": "0.6250491",
"text": "private void goRoom(Command command) \n {\n if(!command.hasSecondWord()) \n {\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n\n Room nextRoom = currentRoom.getExit(direction);\n if (nextRoom == null) \n {\n System.out.println(\"There is no door!\");\n }\n else \n {\n currentRoom = nextRoom;\n\n if (player.getHealth() >= 10) {\n player.move();\n player.print();\n System.out.println(currentRoom.getLongDescription()); \n if (nextRoom.hasSecurity()) {\n System.out.println(\"Security caught you. Game over.\");\n finished = true;\n }\n }else {\n System.out.println(\"You died of exhaustion. Game over.\");\n finished = true;\n }\n\n if (player.hasTreasure()) {\n if(currentRoom.getName().equals(\"Outside\")) {\n System.out.println(\"You have successfully found treasure and escaped.\");\n finished = true;\n }\n }\n }\n }",
"title": ""
},
{
"docid": "ab84f989689804ed8d054b22b503e2e2",
"score": "0.62466353",
"text": "@FXML\n public void selectedDepot2Marble1(){\n pressedButton(sel1Depot2);\n clearButtonSelection(sel1Depot1);\n clearButtonSelection(sel1Depot3);\n clearButtonSelection(sel1ExtraDepot);\n clearButtonSelection(discard1);\n marble1Choice = MarbleDestination.DEPOT2;\n showOkButton();\n }",
"title": ""
},
{
"docid": "883cb7ca3f19e5008583875f56ec48f3",
"score": "0.6232135",
"text": "public void actionPerformed(ActionEvent evt)\n {\n String command = evt.getActionCommand();\n\n if(command.equals(\"Level Select\"))\n {\n card.getLayoutOfCards().show(card, \"Level Select\");\n card.getLevelSelectInstance().requestTheFocus();\n }\n else if(command.equals(\"Timed Trials\"))\n {\n //timedTrialsInstance.startTheTimer();\n card.getLayoutOfCards().show(card, \"Timed Trials\");\n card.getTimedTrialsInstance().requestTheFocus();\n card.getTimedTrialsInstance().getDrawGame().startTimer();\n }\n else if(command.equals(\"Endless\"))\n {\n card.getLayoutOfCards().show(card, \"Difficulty Select\");\n card.getDifficultySelectInstance().requestTheFocus();\n }\n else if(command.equals(\"Instructions\"))\n {\n card.getLayoutOfCards().show(card, \"Instructions\");\n card.getInstructionsInstance().requestTheFocus();\n }\n\n }",
"title": ""
},
{
"docid": "657138b60711e31f9c6da0c7e272ca93",
"score": "0.6229732",
"text": "@FXML\n private void handleButtonAction(ActionEvent event) throws Exception {\n String toAppend = \"\";\n \n roomInventory.getItems().clear(); \n if (event.getSource() == northButton) {\n textOutArea.clear();\n String secondWord = \"north\"; // string\n toAppend = logic.goRoom(secondWord); // room description (hvad go room returner)\n logic.monsterTravel();\n roomChange();\n minimapAction();\n }\n else if (event.getSource() == eastButton) {\n textOutArea.clear();\n String secondWord = \"east\";\n toAppend = logic.goRoom(secondWord);\n logic.monsterTravel();\n roomChange();\n minimapAction();\n }\n else if (event.getSource() == westButton) {\n textOutArea.clear();\n String secondWord = \"west\";\n toAppend = logic.goRoom(secondWord);\n logic.monsterTravel();\n roomChange();\n minimapAction();\n }\n else if (event.getSource() == southButton) {\n textOutArea.clear();\n String secondWord = \"south\";\n toAppend = logic.goRoom(secondWord);\n logic.monsterTravel();\n roomChange();\n minimapAction();\n }\n else if (event.getSource() == helpButton){\n textOutArea.clear();\n toAppend = helpText();\n }\n toAppend += System.lineSeparator();\n textOutArea.appendText(toAppend);\n monsterAttack();\n hpBarAction();\n AirBarAction();\n }",
"title": ""
},
{
"docid": "93886a5d2646c1a9ec41f972d29d51c9",
"score": "0.62213224",
"text": "private void goRoom(Command command) //the amount of words the user can type\n {\n \n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n \n // Try to leave current room.\n Room nextRoom = currentRoom.getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"Please try something else!\");\n }\n else {\n currentRoom = nextRoom;\n System.out.println(currentRoom.getLongDescription());\n }\n }",
"title": ""
},
{
"docid": "d6a4da5604c26b2573a0e600207bc40a",
"score": "0.6208832",
"text": "@FXML\n public void selectedExtraDepotMarble1(){\n pressedButton(sel1ExtraDepot);\n clearButtonSelection(sel1Depot1);\n clearButtonSelection(sel1Depot2);\n clearButtonSelection(sel1Depot3);\n clearButtonSelection(discard1);\n marble1Choice = MarbleDestination.EXTRA;\n showOkButton();\n }",
"title": ""
},
{
"docid": "7b5863530ac4c7fff8df7ed9c568fab5",
"score": "0.61805093",
"text": "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n // commands to enter each action\n CommandWord commandWord = command.getCommandWord();\n\n switch (commandWord) { // case are used so user can go from room to room.\n case UNKNOWN:\n System.out.println(\"I don't know what you mean...\");\n break;\n\n case HELP:\n printHelp();\n break;\n \n case LOOK:\n look();\n break; \n\n case GO:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case ENTER:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case FIGHT:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case READ:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case SEARCH:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n case GRAB:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n case HEAD:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n case CHOOSE:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case PICK:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n \n case KILL:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n case SIDE:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n case ADVANCE:\n System.out.println();\n System.out.println();\n goRoom(command);\n break;\n\n case QUIT:\n wantToQuit = quit(command);\n break;\n \n \n }\n return wantToQuit;\n }",
"title": ""
},
{
"docid": "735e2822fd84891a6dcc38c890b4f569",
"score": "0.6168406",
"text": "@FXML\n public void selectedDepot2Marble2(){\n pressedButton(sel2Depot2);\n clearButtonSelection(sel2Depot1);\n clearButtonSelection(sel2Depot3);\n clearButtonSelection(sel2ExtraDepot);\n clearButtonSelection(discard2);\n marble2Choice = MarbleDestination.DEPOT2;\n showOkButton();\n }",
"title": ""
},
{
"docid": "0ca5e123dfb7705499dd0701bef1766d",
"score": "0.6155291",
"text": "@Override public void doAction(int option)\n {\n switch(option)\n {\n case 1://what are the goals of the game?\n viewGoals();\n break;\n case 2://How do I view the map?\n viewMapHelp();\n break;\n case 3://How do I move to another Location?\n viewMoveHelp();\n case 4://How do I display a list of animals, provisions and tools the in the ciy storehouse?\n viewListHelp();\n break;\n case 5:\n System.out.println(menu);\n break;\n \n }\n }",
"title": ""
},
{
"docid": "23cf01e9f81da7c73d0395e6fec62a51",
"score": "0.6154751",
"text": "@FXML\n public void selectedDepot2Marble3(){\n pressedButton(sel3Depot2);\n clearButtonSelection(sel3Depot1);\n clearButtonSelection(sel3Depot3);\n clearButtonSelection(sel3ExtraDepot);\n clearButtonSelection(discard3);\n marble3Choice = MarbleDestination.DEPOT2;\n showOkButton();\n }",
"title": ""
},
{
"docid": "75782240f69f4753f85999fca438677c",
"score": "0.6144299",
"text": "@FXML\n public void selectedDepot3Marble2(){\n pressedButton(sel2Depot3);\n clearButtonSelection(sel2Depot1);\n clearButtonSelection(sel2Depot2);\n clearButtonSelection(sel2ExtraDepot);\n clearButtonSelection(discard2);\n marble2Choice = MarbleDestination.DEPOT3;\n showOkButton();\n }",
"title": ""
},
{
"docid": "e3dc5b988e99dbf3462698892f25e6e6",
"score": "0.6136203",
"text": "@FXML\n public void selectedDepot1Marble2(){\n pressedButton(sel2Depot1);\n clearButtonSelection(sel2Depot2);\n clearButtonSelection(sel2Depot3);\n clearButtonSelection(sel2ExtraDepot);\n clearButtonSelection(discard2);\n marble2Choice = MarbleDestination.DEPOT1;\n showOkButton();\n }",
"title": ""
},
{
"docid": "19ab74907226a5f7012f3300079d872b",
"score": "0.61093664",
"text": "@FXML\n public void selectedExtraDepotMarble3(){\n pressedButton(sel3ExtraDepot);\n clearButtonSelection(sel3Depot1);\n clearButtonSelection(sel3Depot2);\n clearButtonSelection(sel3Depot3);\n clearButtonSelection(discard3);\n marble3Choice = MarbleDestination.EXTRA;\n showOkButton();\n }",
"title": ""
},
{
"docid": "94d749565c77a298d78b9d387f8c929f",
"score": "0.6096443",
"text": "@Override\n public void run() {\n if (KoLCharacter.getLimitMode().limitClan()) {\n return;\n }\n\n switch (this.action) {\n case SEARCH:\n this.addFormField(\"action\", \"click\");\n this.addFormField(\"spot\", \"7\");\n break;\n\n case MUSCLE:\n // If we can do inside Degrassi Knoll use the gym.\n if (KoLCharacter.knollAvailable() && !KoLCharacter.inZombiecore()) {\n // First load the choice adventure page\n RequestThread.postRequest(new PlaceRequest(\"knoll_friendly\", \"dk_gym\"));\n this.constructURLString(\"choice.php\");\n this.addFormField(\"whichchoice\", \"792\");\n this.addFormField(\"option\", \"1\");\n }\n // Otherwise, use the one in our clan - if we're in one.\n else {\n if (!ClanManager.getClanRumpus().contains(\"Hobo-Flex Workout System\")) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"You don't have access to a clan muscle gym.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"gym\");\n this.addFormField(\"whichgym\", \"3\");\n }\n break;\n\n case MYST:\n // If we can go to Little Canadia, use the gym.\n if (KoLCharacter.canadiaAvailable()) {\n // First load the choice adventure page\n RequestThread.postRequest(new PlaceRequest(\"canadia\", \"lc_institute\"));\n this.constructURLString(\"choice.php\");\n this.addFormField(\"whichchoice\", \"770\");\n this.addFormField(\"option\", \"1\");\n }\n // Otherwise, use the one in our clan - if we're in one.\n else {\n if (!ClanManager.getClanRumpus().contains(\"Collection of Arcane Tomes and Whatnot\")) {\n KoLmafia.updateDisplay(\n MafiaState.ERROR, \"You don't have access to a clan mysticality gym.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"gym\");\n this.addFormField(\"whichgym\", \"1\");\n }\n break;\n\n case MOXIE:\n // If we can go to the Gnomish Gnomads Camp, use the gym\n if (KoLCharacter.gnomadsAvailable()) {\n this.constructURLString(\"gnomes.php\");\n this.addFormField(\"action\", \"train\");\n }\n // Otherwise, use the one in our clan - if we're in one.\n else {\n if (!ClanManager.getClanRumpus().contains(\"Tan-U-Lots Tanning Bed\")) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"You don't have access to a clan moxie gym.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"gym\");\n this.addFormField(\"whichgym\", \"2\");\n }\n break;\n\n case SOFA:\n if (!ClanManager.getClanRumpus().contains(\"Comfy Sofa\")) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"Your clan doesn't have a sofa.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"nap\");\n break;\n\n case CHIPS:\n if (!ClanManager.getClanRumpus().contains(\"Snack Machine\")) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"Your clan doesn't have a Snack Machine.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"buychips\");\n this.addFormField(\"whichbag\", String.valueOf(this.option));\n break;\n\n case BALLS:\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"ballpit\");\n break;\n\n case JUKEBOX:\n if (!ClanManager.getClanRumpus().contains(\"Jukebox\")) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"Your clan doesn't have a Jukebox.\");\n return;\n }\n this.constructURLString(\"clan_rumpus.php\");\n this.addFormField(\"preaction\", \"jukebox\");\n this.addFormField(\"whichsong\", String.valueOf(this.option));\n break;\n\n default:\n break;\n }\n\n if (this.turnCount > 0) {\n this.addFormField(\"numturns\", String.valueOf(this.turnCount));\n\n if (KoLCharacter.getAdventuresLeft() < this.turnCount) {\n KoLmafia.updateDisplay(MafiaState.ERROR, \"Insufficient adventures.\");\n return;\n }\n } else if (this.action == RequestType.SOFA) {\n return;\n }\n\n if (this.action != RequestType.SEARCH) {\n KoLmafia.updateDisplay(\"Executing request...\");\n }\n\n super.run();\n }",
"title": ""
},
{
"docid": "eabd6b7b98f7a07678e478624bc15092",
"score": "0.6076075",
"text": "public boolean onCommand(CommandSender sender, Command command, String label, String[] args)\n\t{\n \tString cmd = command.getName().toLowerCase();\n \t// if player send a minenion (mm) command\n \t\tif (cmd.equals(\"mn\") && sender instanceof Player)\n \t\t{ \t\n \t\t\tif(multiverse == true && args[0].toLowerCase().equals(\"multiverse\"))\n \t\t\t{\n \t\t\t\tloadPointsPos();\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\tif(multiverse == true && (args.length >= 0))\n \t\t\t{\n \t\t\t\terror((Player)sender, ChatColor.RED + \"Do /mn multiverse to reload the plugin with multiverse\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t// ***********************\n \t\t\t// HELP command\n \t\t\t// ***********************\n \t\t\tif(args.length == 0 || args[0].toLowerCase().equals(\"help\"))\n \t\t\t{\n \t\t\t\t// write command help in the console\n \t\t\t\terror((Player)sender, ChatColor.YELLOW + \"Available commands\", false);\n \t\t\t\tif(light == true)\n \t\t\t\t{\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn join <team> : \" + ChatColor.WHITE + \"Join the game.\", false);\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <team> : \" + ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" or \" + ChatColor.DARK_PURPLE + \"PURPLE\", false);\n \t\t\t\t}\n \t\t\t\telse\n \t\t\t\t{\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn join <team> <class> : \" + ChatColor.WHITE + \"Join the game.\", false);\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <team> : \" + ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" or \" + ChatColor.DARK_PURPLE + \"PURPLE\", false);\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <class> : \" + ChatColor.WHITE + \"Archer, Swordsman, Tank, Ucker\", false);\n \t\t\t\t}\n \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn quit : \" + ChatColor.WHITE + \"Quit the current game.\", false);\n \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn start : \" + ChatColor.WHITE + \"Start the current game.\", false);\n \t\t\t\t\n \t\t\t\t// if the player is a server operator, more commands\n \t\t\t\tif(sender.isOp())\n \t\t\t\t{\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn fstart : \" + ChatColor.WHITE + \"Force the game to start.\", false);\n \t \t\t\t\terror((Player)sender, ChatColor.YELLOW + \" /mn stp : \" + ChatColor.WHITE + \"Stop the current game and reset the players list.\", false);\n \t\t\t\t}\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t\n \t\t\t// ***********************\n \t\t\t// JOIN command\n \t\t\t// ***********************\n \t\t\tif(args[0].toLowerCase().equals(\"join\"))\n \t\t\t{\n \t\t\t\t// if game is started\n \t\t\t\tif(start == false)\n \t\t\t\t{\n \t\t\t\t\t// if the command sender is already in the player list\n \t\t\t\t\tif(playerList.contains((Player)sender) == true)\n \t\t\t\t\t{\n \t\t\t\t\t\terror((Player) sender, ChatColor.RED + \"You already joined the game.\", false);\n \t\t\t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\t// check if the arguments to join are correct\n \t\t\t\t\tif(light == false && (args.length < 3 || !(args[1].toLowerCase().equals(\"blue\") || args[1].toLowerCase().equals(\"purple\")) || !(args[2].toLowerCase().equals(\"archer\") || args[2].toLowerCase().equals(\"swordsman\") || args[2].toLowerCase().equals(\"tank\") || args[2].toLowerCase().equals(\"ucker\"))))\n \t\t\t\t\t{\n \t\t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \"/mn join <team> <class> : \" + ChatColor.WHITE + \"Join the game.\", false);\n \t\t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <team> : \" + ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" or \" + ChatColor.DARK_PURPLE + \"PURPLE\", false);\n \t\t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <class> : \" + ChatColor.WHITE + \"Archer, Swordsman, Tank, Ucker\", false);\n \t\t\t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\tif(light == true && (args.length < 2 || !(args[1].toLowerCase().equals(\"blue\") || args[1].toLowerCase().equals(\"purple\"))))\n \t\t\t\t\t{\n \t\t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \"/mn join <team> <class> : \" + ChatColor.WHITE + \"Join the game.\", false);\n \t\t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \" <team> : \" + ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" or \" + ChatColor.DARK_PURPLE + \"PURPLE\", false);\n \t\t\t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\t// team selection\n \t\t\t\t\tint team = 0;\n \t\t\t\t\tif(args[1].toLowerCase().equals(\"blue\")) \n \t\t\t\t\t{\n \t\t\t\t\t\tteam = BLUE_TEAM;\n \t\t\t\t\t}\n \t\t\t\t\tif(args[1].toLowerCase().equals(\"purple\"))\n \t\t\t\t\t{\n \t\t\t\t\t\tteam = PURPLE_TEAM;\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\tString error;\n \t\t\t\t\t\n \t\t\t\t\t// check if still slot in the team\n \t\t\t\t\tif(countPlayerTeam(team) < 5)\n \t\t\t\t\t{\n \t\t\t\t\t\t// add player in the team\n \t\t\t\t\t\tPlayer player = (Player)sender;\n \t\t\t\t\t\tplayerList.add(player);\n \t\t\t\t\t\tplayerTeam.put(player, team);\n \t\t\t\t\t\t\n \t\t\t\t\t\terror = ChatColor.BLUE + sender.getName() + \" has join the \" + args[1] + \" team !\";\n \t\t\t\t\t\t\n \t\t\t\t\t\tif(light == false)\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\t// check the class of the player and set it\n \t\t\t\t\t\t\tif(args[2].toLowerCase().equals(\"archer\"))\n \t\t\t\t\t\t\t{\n \t\t\t\t\t\t\t\tsetclass(player, \"archer\");\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tif(args[2].toLowerCase().equals(\"swordsman\"))\n \t\t\t\t\t\t\t{\n \t\t\t\t\t\t\t\tsetclass(player, \"swordsman\");\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tif(args[2].toLowerCase().equals(\"tank\"))\n \t\t\t\t\t\t\t{\n \t\t\t\t\t\t\t\tsetclass(player, \"tank\");\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tif(args[2].toLowerCase().equals(\"ucker\"))\n \t\t\t\t\t\t\t{\n \t\t\t\t\t\t\t\tsetclass(player, \"ucker\");\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n \t\t\t\t\t\t\terror = ChatColor.BLUE + sender.getName() + \" has join the \" + args[1] + \" team as \" + args[2] + \" !\";\n \t\t\t\t\t\t}\n \t\t\t\t\t\terror((Player)sender, error, true);\n \t\t\t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t\t// there is no more space in the team\n \t\t\t\t\terror((Player)sender, ChatColor.RED + \"The Team is full !\", false);\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\t// the game has already started\n \t\t\t\terror((Player)sender, ChatColor.RED + \"The game is already started, you can't join now ! =(\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t\n \t\t\t// ***********************\n \t\t\t// QUIT command\n \t\t\t// ***********************\n \t\t\tif(args[0].toLowerCase().equals(\"quit\"))\n \t\t\t{\n \t\t\t\t// if game is started\n \t\t\t\tif(start == false)\n \t\t\t\t{\n \t\t\t\t\t// remove player from the game\n \t\t\t\t\tPlayer player = (Player)sender;\n \t\t\t\t\t// if the command sender is not in the player list\n \t\t\t\t\tif(playerList.contains(player))\n \t\t\t\t\t{\n \t \t\t\t\t\tplayerList.remove(player);\n \t \t\t\t\t\tplayerTeam.remove(player);\n \t\t \t\t\t\terror((Player)sender, ChatColor.DARK_PURPLE + sender.getName() + \" has quit the game !\", true);\n \t\t \t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t\telse\n \t\t\t\t\t{\n \t\t\t\t\t\terror(player, ChatColor.RED + \"You aren't listed.\", false);\n \t\t\t\t\t\treturn true;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t// the game has already started\n \t\t\t\terror((Player)sender, ChatColor.RED + \"The game is already started, you can't quit now ! D=\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t\n \t\t\t// ***********************\n \t\t\t// START command\n \t\t\t// ***********************\n \t\t\tif(args[0].toLowerCase().equals(\"start\"))\n \t\t\t{\n \t\t\t\t// if there is 2 team of 5 players and the game not already started \n \t\t\t\tif((countPlayerTeam(1) + countPlayerTeam(2)) == 10 && start == false)\n \t\t\t\t{\n \t\t\t\t\t// start game\n \t\t\t\t\tstart = true;\n \t\t\t\t\tif(logging == true) mineLog(gameStartTime + \" - The game has started at : \" + getDateTime());\n \t\t\t for(int i = 1; i <= 5; i++)\n \t\t\t {\n \t\t\t playerOnTower.put(i, null);\n \t\t\t teamControlledTower.put(i, 0);\n \t\t\t playerTowerTime.put(i, 0);\n \t\t\t ColorTower(i, 0, false);\n \t\t\t ColorTower(i, 0, true);\n \t\t\t }\n \t\t\t playerScore.put(1, 500);\n \t\t\t playerScore.put(2, 500);\n \t\t\t\t\tsetupPlayers();\n \t\t\t\t\tsetupGame();\n \t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \"The game is started !\", true);\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\t// the game is already started or incomplete team\n \t\t\t\terror((Player)sender, ChatColor.RED + \"The teams are not complete OR the game is already started!\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t\n \t\t\t// ***************************************************\n \t\t\t// FSTART forced start command only for game operator\n \t\t\t// ***************************************************\n \t\t\tif(args[0].toLowerCase().equals(\"fstart\") && sender.isOp() && playerList.contains((Player)sender))\n \t\t\t{\n \t\t\t\t// if game is started\n \t\t\t\tif(start == false)\n \t\t\t\t{\n \t\t\t\t\t// start the game\n \t\t\t\t\tstart = true;\n \t\t\t\t\tif(logging == true) mineLog(gameStartTime + \" - The game has being forced to start at : \" + getDateTime() + \" WITH \" + countPlayerTeam(BLUE_TEAM) + \" blue players AND \" + countPlayerTeam(PURPLE_TEAM) + \" purple players\");\n \t\t\t for(int i = 1; i <= 5; i++)\n \t\t\t {\n \t\t\t playerOnTower.put(i, null);\n \t\t\t teamControlledTower.put(i, 0);\n \t\t\t playerTowerTime.put(i, 0);\n \t\t\t ColorTower(i, 0, false);\n \t\t\t ColorTower(i, 0, true);\n \t\t\t }\n \t\t\t playerScore.put(1, 500);\n \t\t\t playerScore.put(2, 500);\n \t\t\t\t\tsetupPlayers();\n \t\t\t\t\tsetupGame();\n \t\t\t\t\terror((Player)sender, ChatColor.YELLOW + \"The game is started !\", true);\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\t// the game is already started\n \t\t\t\terror((Player)sender, ChatColor.RED + \"The game is already started!\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t\n \t\t\t// *****************************************\n \t\t\t// CHECK command for testing coordinates\n \t\t\t// *****************************************\n \t\t\tif(args[0].toLowerCase().equals(\"check\"))\n \t\t\t{\t\t\t\n \t\t\t\tif(check == false)\n \t\t\t\t{\n \t\t\t\t\tcheck = true;\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\telse\n \t\t\t\t{\n \t\t\t\t\tcheck = false;\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t// ************************************\n \t\t\t// STOP command only for game operator\n \t\t\t// ************************************\n \t\t\tif(args[0].toLowerCase().equals(\"stop\") && sender.isOp())\n \t\t\t{\n \t\t\t\t// if game is started\n \t\t\t\tif(start == true)\n \t\t\t\t{\n \t\t\t\t\t// generate the final score\n \t\t\t\t\tif(logging == true)\n \t\t\t\t\t{\n \t\t\t\t\t\tGenerateScore();\n \t \t\t\t\t\tplayersclass.clear();\n \t \t\t\t\t\tplayerclassskill.clear();\n \t \t\t\t\t\tplayerclasslevel.clear();\n \t\t\t\t\t}\n \t\t\t\t\t// clear players\n \t\t\t\t\tplayerList.clear();\n \t\t\t\t\tplayerTeam.clear();\n \t\t\t\t\t// remove thread task of minennion\n \t\t\t\t\tgetServer().getScheduler().cancelTask(taskId);\n \t\t\t\t\t// messageing the players\n \t\t\t\t\tif(logging == true) mineLog(gameStartTime + \" - The game has stopped at : \" + getDateTime());\n \t\t\t\t\tif(logging == true) mineLog(\"-------------------------\");\n \t\t\t\t\terror((Player)sender, ChatColor.RED + \"The game has been stop ! =(\", true);\n \t\t\t\t\tstart = false;\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\t// the game is not started\n \t\t\t\terror((Player)sender, ChatColor.RED + \"The game isn't started !\", false);\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\treturn true;\n \t\t}\n \t\t// unknown command\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "b440ac4d54cb625f3a695b841c24ca38",
"score": "0.60732186",
"text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tmainFrame.changeRoom(new Chap2Panel(mf));\n\n\t\t\t}",
"title": ""
},
{
"docid": "61ff459fdc0bec26e2f9d59efae8ff28",
"score": "0.6072235",
"text": "public void commandChangeView() {\t\t\n\t\tmain.setScene();\n\t\tif(presPlacement.getEtatCourant().equals(presPlacement.getEtatSleeping())) {\n\t\t\tpresPlacement.leadToPlayer1();;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "9b04baf83934b16bfe64bebfec6c79d0",
"score": "0.6066079",
"text": "private void goRoom(Command command) \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = currentRoom.getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"Sorry, but the wanted direction is not available right now. please type another direction\");\n }\n else {\n currentRoom = nextRoom;\n printLocationInfo();\n }\n }",
"title": ""
},
{
"docid": "237018e9db9511a5fc3c9aaf2a5bde36",
"score": "0.60611165",
"text": "@FXML\n public void selectedDepot1Marble1(){\n pressedButton(sel1Depot1);\n clearButtonSelection(sel1Depot2);\n clearButtonSelection(sel1Depot3);\n clearButtonSelection(sel1ExtraDepot);\n clearButtonSelection(discard1);\n marble1Choice = MarbleDestination.DEPOT1;\n showOkButton();\n }",
"title": ""
},
{
"docid": "e97f0a143a93a683bf2f8422a48cb367",
"score": "0.60547954",
"text": "@Override public void doAction(int option) {\n switch (option) {\n case 1:\n viewMap();\n break;\n case 2:\n viewList();\n break;\n case 3:\n moveToNewLocation();\n break;\n case 4:\n manageCrops();\n break;\n case 5:\n // return to main menu\n return;\n }\n return;\n }",
"title": ""
},
{
"docid": "f9e5304a7b817e23545649da6901fb51",
"score": "0.6047271",
"text": "private void goRoom(Command command) {\r\n\t\tmusic.playClip(\"dark_world.wav\");\r\n\r\n\t\tif (!command.hasSecondWord()) {\r\n\t\t\t// if there is no second word, we don't know where to go...\r\n\t\t\tSystem.out.println(\"Walk where?\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tString direction = command.getSecondWord();\r\n\r\n\t\t// Try to leave current room.\r\n\t\tRoom nextRoom = currentRoom.nextRoom(direction);\r\n\r\n\t\tif (nextRoom == null)\r\n\t\t\tSystem.out.println(\"There is no door!\");\r\n\t\telse if(nextRoom.getRoomName().equalsIgnoreCase(\"Room 101\")) {\r\n\t\t\tcurrentRoom = nextRoom;\r\n\t\t\tmusic.playClip(\"Strange_atmosphere.wav\");\r\n\t\t\tSystem.out.println(currentRoom.shortDescription());\r\n\t\t}else if(nextRoom.getRoomName().equalsIgnoreCase(\"Shrine\")) {\r\n\t\t\tcurrentRoom = nextRoom;\r\n\t\t\tmusic.playClip(\"nightmare_returns.wav\");\r\n\t\t\tSystem.out.println(currentRoom.shortDescription());\r\n\t\t}else if(nextRoom.getRoomName().equalsIgnoreCase(\"Secret Room\")) {\r\n\t\t\tcurrentRoom = nextRoom;\r\n\t\t\tmusic.playClip(\"SecretRoom.wav\");\r\n\t\t\tSystem.out.println(currentRoom.shortDescription());\r\n\t\t}\r\n\t\telse {\r\n\t\t\tcurrentRoom = nextRoom;\r\n\t\t\tSystem.out.println(currentRoom.longDescription());\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "427ada1bbf6aa58c50d745eade457250",
"score": "0.6043766",
"text": "@FXML\n public void selectedDepot3Marble1(){\n pressedButton(sel1Depot3);\n clearButtonSelection(sel1Depot1);\n clearButtonSelection(sel1Depot2);\n clearButtonSelection(sel1ExtraDepot);\n clearButtonSelection(discard1);\n marble1Choice = MarbleDestination.DEPOT3;\n showOkButton();\n }",
"title": ""
},
{
"docid": "b9f310b058f00c76cfe18bc4a096e99d",
"score": "0.6027776",
"text": "@Override\n public void onClick(View v) {\n Toast.makeText(ScumRoomActivity.this, \"Roomname: \"+btn.getText(), Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(ScumRoomActivity.this, ScumIndividualRoom.class);\n intent.putExtra(\"choice\", btn.getText());\n startActivity(intent);\n\n }",
"title": ""
},
{
"docid": "f91476f9380f491de6141e321ddeb121",
"score": "0.6027635",
"text": "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n String commandWord = command.getCommandWord();\n textarea1.setText(null);\n if (english == true)\n {\n if(command.isUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n \n \n if (commandWord.equals(\"help\")) {\n printHelp();\n }\n else if (commandWord.equals(\"go\")) {\n if (player.getCurrentRoom() != golden)\n { \n if (player.getCurrentRoom() != antarctica)\n {\n \n \n if (turns > 0)\n {\n --turns;\n goRoom(command);\n }\n else \n {\n --turns;\n }\n \n }\n else \n {\n textarea1.append(\"You are trapped, you cannot go back!\"+\"\\n\");\n }\n }\n }\n else if (commandWord.equals(\"quit\")) {\n wantToQuit = quit(command);\n }\n else if (commandWord.equals(\"look\")) {\n look();\n }\n else if (commandWord.equals(\"grab\")) {\n //grabArtifact(command);\n textarea1.append(\"\\n\");\n textarea1.append(\"So far in you inventory you have \" + player.seeInventory() +\"\\n\");\n }\n else if (commandWord.equals(\"drop\")) {\n dropArtifact (command);\n textarea1.append(\"\\n\");\n textarea1.append(\"Your inventory still contains \" + player.seeInventory()+\"\\n\");\n }\n else if (commandWord.equals(\"back\")) {\n if (player.getCurrentRoom() != antarctica)\n {\n \n if (turns > 0)\n {\n \n --turns;\n player.goBack();\n textarea1.append(\"You are \" + player.getCurrentRoom().getDescription()+\"\\n\");\n look();\n \n }\n else\n {\n --turns;\n }\n }\n else\n {\n textarea1.append(\"You are trapped, you cannot go back!\"+\"\\n\");\n }\n }\n else if (commandWord.equals(\"eat\")) {\n eatCookie(command);\n }\n else if (commandWord.equals(\"save\")) {\n charge();\n }\n else if (commandWord.equals(\"load\")) {\n fire();\n }\n else if (commandWord.equals(\"open\")) {\n openGate(command);\n }\n }\n \n //Lithuanian\n else \n {\n if(command.isUnknown()) {\n System.out.println(\"Nesuprantu ką tu turi omenyje...\");\n \n look();\n return false;\n }\n \n \n if (commandWord.equals(\"pagalba\")) {\n printHelp();\n }\n else if (commandWord.equals(\"keliauti\")) {\n if (player.getCurrentRoom() != auksinis)\n {\n if (player.getCurrentRoom() != antarktida)\n {\n \n \n if (turns > 0)\n {\n --turns;\n goRoom(command);\n }\n else \n {\n --turns;\n }\n \n }\n else \n {\n textarea1.append(\"Tu įstriges, negali pajudėt\"+\"\\n\");\n }\n }\n }\n else if (commandWord.equals(\"baigti\")) {\n wantToQuit = quit(command);\n }\n else if (commandWord.equals(\"ziureti\")) {\n look();\n }\n else if (commandWord.equals(\"paimti\")) {\n //grabArtifact(command);\n textarea1.append(\"\\n\");\n textarea1.append(\"Kurpinei tu turi \" + player.seeInventory() +\"\\n\" );\n }\n else if (commandWord.equals(\"padeti\")) {\n dropArtifact (command);\n textarea1.append(\"\\n\");\n textarea1.append(\"Tavo kuprinei vis dar turi \" + player.seeInventory()+\"\\n\");\n }\n else if (commandWord.equals(\"atgal\")) {\n if (player.getCurrentRoom() != antarktida)\n {\n \n if (turns > 0)\n {\n \n --turns;\n player.goBack();\n textarea1.append(\"Tu esi \" + player.getCurrentRoom().getDescription()+\"\\n\");\n look();\n \n }\n else\n {\n --turns;\n }\n }\n else\n {\n textarea1.append(\"Tu įstriges, negali pajudėt!\"+\"\\n\");\n }\n }\n else if (commandWord.equals(\"valgyti\")) {\n eatCookie(command);\n }\n else if (commandWord.equals(\"ikrauti\")) {\n charge();\n }\n else if (commandWord.equals(\"iskrauti\")) {\n fire();\n }\n else if (commandWord.equals(\"atidaryti\")) {\n openGate(command);\n }\n }\n if (commandWord.equals(\"english\")) {\n player = new Player(\"Default\");\n player.setStarting(home);\n english = true;\n printWelcome();\n \n }\n else if (commandWord.equals(\"lietuviu\")) {\n player = new Player(\"Paprastas\");\n player.setStarting(namai);\n english = false;\n printLabas();\n \n }\n \n \n return wantToQuit;\n }",
"title": ""
},
{
"docid": "5f083c309fc17db7fe4f91ea62a551b0",
"score": "0.6018323",
"text": "private boolean goRoom(Command command) \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return false;\n }\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = currentRoom.getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door!\");\n }\n else {\n \n if(currentRoom.getLockedStatus()== true){// door is locked\n System.out.println(\"The door is locked, you need to find key\");\n System.out.println(currentRoom.getLongDescription());\n }\n else {\n currentRoom = nextRoom; \n boolean decision = countMove(); \n \n System.out.println(currentRoom.getLongDescription());\n }\n if(currentRoom== carPark){\n System.out.println(\"You Win\");\n return true;\n }\n \n }\n return false;\n}",
"title": ""
},
{
"docid": "05d7fa2753997e2624b7c4711cff69b4",
"score": "0.59974736",
"text": "@Override public void doAction(int option) {\r\n switch (option) {\r\n case 1: // create and start a new game\r\n startNewGame();\r\n break;\r\n case 2: // get and start a saved game\r\n startSavedGame();\r\n break;\r\n case 3: // get help menu\r\n displayHelpMenuView();\r\n break;\r\n case 4: // save game\r\n saveGame();\r\n break;\r\n case 5:\r\n System.out.println(\"Thanks for playing ... goodbye.\");\r\n break;\r\n }\r\n }",
"title": ""
},
{
"docid": "baa3184b1b5ff0592ef5cf7afeec0213",
"score": "0.5996327",
"text": "private void goRoom(Command command) \r\n\t{\r\n\t\tif(!command.hasSecondWord()) {\r\n\t\t // if there is no second word, we don't know where to go...\r\n\t\t printStream.println(\"Go where?\");\r\n\t\t return;\r\n\t\t}\r\n\t\r\n\t\tString direction = command.getSecondWord();\r\n\t\r\n\t\t// Try to leave current room\r\n\t\tRoom nextRoom = currentRoom.getExit(direction);\r\n\t\r\n\t\tif (nextRoom == null) {\r\n\t\t printStream.println(\"There is no door!\");\r\n\t\t}\r\n\t\telse {\r\n\t\t currentRoom = nextRoom;\r\n\t\t printStream.println(currentRoom.getLongDescription());\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "2189b4c43f77c123daf4c68711b67a46",
"score": "0.5984732",
"text": "private void handleChoices(ExtendableCommand command) {\n if (command.getCommand().name().contains(\"go\"))\n command.onCommand(this,\n this.currentRoom.getExits().get(new Random().nextInt(this.currentRoom.getExits().size())).getName()\n );\n else\n command.onCommand(this,\n this.currentRoom.getItems().get(new Random().nextInt(this.currentRoom.getItems().size())).getName()\n );\n }",
"title": ""
},
{
"docid": "e0910b00be83ddf5cd4f74f993a0b7a8",
"score": "0.5981278",
"text": "private void roomChange() throws IOException{\n String roomName = logic.getCurrentRoomName();\n if (roomName.equalsIgnoreCase(\"medbay\")) {\n armory.setVisible(false);\n keyRoom.setVisible(false);\n medbay.setVisible(true);\n hallway.setVisible(false);\n airlock.setVisible(false);\n }\n else if (roomName.equalsIgnoreCase(\"keyRoom\")) {\n armory.setVisible(false);\n keyRoom.setVisible(true);\n medbay.setVisible(false);\n hallway.setVisible(false);\n airlock.setVisible(false); \n if (flagcheck == false) {\n logic.awakenMonster();\n textOutArea.appendText(\"\\n\" + logic.awakenMonster());\n flagcheck = true;\n }\n }\n else if (roomName.equalsIgnoreCase(\"armoury\")) {\n armory.setVisible(true);\n keyRoom.setVisible(false);\n medbay.setVisible(false);\n hallway.setVisible(false);\n airlock.setVisible(false); \n }\n else if (roomName.equalsIgnoreCase(\"hallway\")) {\n armory.setVisible(false);\n keyRoom.setVisible(false);\n medbay.setVisible(false); \n hallway.setVisible(true);\n airlock.setVisible(false);\n }\n else if (roomName.equalsIgnoreCase(\"airlock\")) {\n armory.setVisible(false);\n keyRoom.setVisible(false);\n medbay.setVisible(false); \n hallway.setVisible(false);\n airlock.setVisible(true);\n }\n else if (roomName.equalsIgnoreCase(\"communicationRoom\")) {\n armory.setVisible(false);\n keyRoom.setVisible(false);\n medbay.setVisible(false); \n hallway.setVisible(false);\n airlock.setVisible(false); \n communicationRoom.setVisible(true);\n }\n logic.roomLogic();\n }",
"title": ""
},
{
"docid": "f0513ae14cfaf9f8e3a698bbf29641d5",
"score": "0.5965916",
"text": "@FXML\n public void selectedDepot2Marble4(){\n pressedButton(sel4Depot2);\n clearButtonSelection(sel4Depot1);\n clearButtonSelection(sel4Depot3);\n clearButtonSelection(sel4ExtraDepot);\n clearButtonSelection(discard4);\n marble4Choice = MarbleDestination.DEPOT2;\n showOkButton();\n }",
"title": ""
},
{
"docid": "78eb16fb8ae1bb79ce4b41241480ab46",
"score": "0.5964855",
"text": "@FXML\n public void selectedDepot1Marble3(){\n pressedButton(sel3Depot1);\n clearButtonSelection(sel3Depot2);\n clearButtonSelection(sel3Depot3);\n clearButtonSelection(sel3ExtraDepot);\n clearButtonSelection(discard3);\n marble3Choice = MarbleDestination.DEPOT1;\n showOkButton();\n }",
"title": ""
},
{
"docid": "39fa73c9795ea8815f4cf697a7d2e00c",
"score": "0.59421176",
"text": "private void goRoom(Command command) {\n if (!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = this.currentRoom.getExit(direction);\n\n\n if (nextRoom == null) {\n System.out.println(\"There is no door!\");\n } else {\n currentRoom = nextRoom;\n printRoomInformation();\n System.out.println();\n }\n }",
"title": ""
},
{
"docid": "7786fedb3ef1bd58cea7fa47ebfdbb93",
"score": "0.5941452",
"text": "public void optionFormation(ActionEvent e){\n if (sol.equals(e.getActionCommand())){\n\n b3.setEnabled(true);\n score = score + 10;\n flags = 1;\n if(j1.isSelected())\n {\n sound1.play();\n }\n updateValue(e.getActionCommand());\n //b3.doClick();\n\n }else {\n if(j1.isSelected())\n {\n sound2.play();\n }\n score = score - 5;\n flags = 2;\n updateValue(e.getActionCommand());\n }\n\n delay();\n int i = Integer.parseInt(e.getActionCommand());\n b[i].setBackground(Color.cyan);\n b3.doClick();\n }",
"title": ""
},
{
"docid": "793f96e357c047923a94d79e8025e924",
"score": "0.59393746",
"text": "private void goRoom(Command command) \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = player.getRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door!\");\n }\n else {\n\n player.setRoom(nextRoom);\n System.out.println(player.getRoom().getLongDescription());\n\n if (!nextRoom.getKeyroom()){\n currentRoom = nextRoom;\n System.out.println(currentRoom.getLongDescription());\n }\n else \n {\n \n }\n }\n \n }",
"title": ""
},
{
"docid": "01ef7727509ec9975322cb87d8e1ebdb",
"score": "0.59325224",
"text": "@FXML\n public void selectedExtraDepotMarble4(){\n pressedButton(sel4ExtraDepot);\n clearButtonSelection(sel4Depot1);\n clearButtonSelection(sel4Depot2);\n clearButtonSelection(sel4Depot3);\n clearButtonSelection(discard4);\n marble4Choice = MarbleDestination.EXTRA;\n showOkButton();\n }",
"title": ""
},
{
"docid": "dc617a357069ae61e6392d4fe0e7ac54",
"score": "0.59297365",
"text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tUpdate();\n\t\t\n\t\tString selectAnswer[] = {\"いいえ\",\"はい\"};\n\t\tString selectValues[] = { \"RoomD\", \"RoomC\", \"RoomB\", \"RoomA\" };\n\t\tint selectNumber = -1;\n\n\t\tif (e.getSource() == buttonMente) {\n\t\t\t\n\t\t\tint answerChose = JOptionPane.showOptionDialog(this, \"不具合は発生していないですか?\", \"不具合の確認\", JOptionPane.YES_NO_OPTION,\n\t\t\t\t\tJOptionPane.QUESTION_MESSAGE, null, selectAnswer, selectAnswer[0]);\n\t\t\tif (answerChose != JOptionPane.CLOSED_OPTION && selectAnswer[answerChose].equals(\"はい\")) {\n\t\t\t\t\n\t\t\t\tint select = JOptionPane.showOptionDialog(this, \"どの部屋のメンテナンスをしましたか?\", \"部屋メンテナンス\", JOptionPane.YES_NO_OPTION,\n\t\t\t\t\t\tJOptionPane.QUESTION_MESSAGE, null, selectValues, selectValues[0]);\n\t\t\t\tif (select != JOptionPane.CLOSED_OPTION) {\n\t\t\t\t\tselectNumber = select;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (selectNumber != -1) {\n\t\t\tTreeMap<String, ArrayList<String>> moveHereMap = o.getCompMoveHereMap();\n\t\t\tTreeMap<String, ArrayList<String>> moveToSomewhereMap = o.getCompMoveToSomewhereMap();\n\t\t\t\n\t\t\tJLabel label;\n\t\t\t\n\t\t\tif (selectValues[selectNumber].equals(\"RoomA\")) {\n\t\t\t\tif(moveHereMap.get(\"RoomA\") == null && moveToSomewhereMap.get(\"RoomA\") == null){\n\t\t\t\t\tWriteMentenanceDate wrd = new WriteMentenanceDate(\"RoomA\");\n\t\t\t\t\tlabel = new JLabel(\"メンテナンス終了\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}else{\n\t\t\t\t\tlabel = new JLabel(\"不具合があります\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}\n\t\t\t} else if (selectValues[selectNumber].equals(\"RoomB\")) {\n\t\t\t\tif(moveHereMap.get(\"RoomB\") == null && moveToSomewhereMap.get(\"RoomB\") == null){\n\t\t\t\t\tWriteMentenanceDate wrd = new WriteMentenanceDate(\"RoomB\");\n\t\t\t\t\tlabel = new JLabel(\"メンテナンス終了\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}else{\n\t\t\t\t\tlabel = new JLabel(\"不具合があります\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}\n\t\t\t} else if (selectValues[selectNumber].equals(\"RoomC\")) {\n\t\t\t\tif(moveHereMap.get(\"RoomC\") == null && moveToSomewhereMap.get(\"RoomC\") == null){\n\t\t\t\t\tWriteMentenanceDate wrd = new WriteMentenanceDate(\"RoomC\");\n\t\t\t\t\tlabel = new JLabel(\"メンテナンス終了\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}else{\n\t\t\t\t\tlabel = new JLabel(\"不具合があります\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}\n\t\t\t} else if (selectValues[selectNumber].equals(\"RoomD\")) {\n\t\t\t\tif(moveHereMap.get(\"RoomD\") == null && moveToSomewhereMap.get(\"RoomD\") == null){\n\t\t\t\t\tWriteMentenanceDate wrd = new WriteMentenanceDate(\"RoomD\");\n\t\t\t\t\tlabel = new JLabel(\"メンテナンス終了\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}else{\n\t\t\t\t\tlabel = new JLabel(\"不具合があります\");\n\t\t\t\t\tJOptionPane.showMessageDialog(this, label);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "87e1acd77d50519161e1ba412454a0da",
"score": "0.592815",
"text": "public void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable) {\r\n if (displayable == ldlCholesterolForm) {\r\n if (command == backCommand1) {\r\n// For adding user code into this block, select \"Design | Screens | ldlCholesterolForm [Form] | Assigned Commands | backCommand1\" item in the inspector and invoke property editor on Action property in Properties window.\r\n javax.microedition.lcdui.Display.getDisplay(this).setCurrent(null);\r\n destroyApp(true);\r\n notifyDestroyed();\r\n } else if (command == saveCommand) {\r\n// For adding user code into this block, select \"Design | Screens | ldlCholesterolForm [Form] | Assigned Commands | saveCommand\" item in the inspector and invoke property editor on Action property in Properties window.\r\n Persistence.PatientSuiteDispatcher.invoke(this, get_ldlCholesterolForm(), get_formulaValue());\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "bfc05213e25de56d06cf69c8cfec2e46",
"score": "0.591249",
"text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\tmainFrame.changeRoom(new DecisionTree(mf, id3));\n\t\t\t}",
"title": ""
},
{
"docid": "ec99af66b28d6d451ed3bb3fb93c892d",
"score": "0.59094936",
"text": "public void docommand() {\n\t\t\tSystem.out.println(\"1. Start a new game \\n\");\n\t\t\tSystem.out.println(\"2. End a game \\n\");\n\t\t\tSystem.out.println(\"3. continue\");\n\t\t}",
"title": ""
},
{
"docid": "70ab0d8e0c54f33e5471bc983613667b",
"score": "0.59076726",
"text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(\"hpet 켜기\")){\n\t\t\trunCommandAsAdmin(\"bcdedit /set useplatformclock true\");\n\t\t}else if(e.getActionCommand().equals(\"hpet 끄기\")){\n\t\t\trunCommandAsAdmin(\"bcdedit /set useplatformclock false\");\n\t\t}else if(e.getActionCommand().equals(\"hpet이란?\")){\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"확인\")){\n\t\t\tdispose();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "9535c67b2d91a2d803b0bf24db1c1168",
"score": "0.59068394",
"text": "@Override\n public void actionPerformed(ActionEvent e) {\n String actionCommand = e.getActionCommand();\n AV_MENU_ITEMS i = new EnumMaster<AV_MENU_ITEMS>().retrieveEnumConst(AV_MENU_ITEMS.class,actionCommand);\n String[] args = null;\n switch (i) {\n case TOGGLE_SIM -> {\n AvManager.toggle();\n }\n case SAVE -> {\n }\n case COMMIT -> {\n AV2.getVersionHandler().commitVersion();\n }\n case BACKUP -> {\n AV2.getSaveHandler().fullBackUp(null );\n }\n case RELOAD -> {\n }\n case ADD_TAB -> {\n Av2_Xml.addTab();\n }\n case SAVE_ALL -> {\n AvSaveHandler.saveAll();\n }\n case CUSTOM_FILTER -> {\n }\n case NEW_FILTER -> {\n }\n case FIND_TYPE -> {\n AV2.getModelHandler().findType();\n }\n\n\n case FILTER_WORKSPACE_VIEW -> {\n }\n case ADD_TO_WORKSPACE -> {\n AvModelHandler.addToWorkspace();\n }\n case ADD_TO_CUSTOM_WORKSPACE -> {\n\n AV2.getWorkspaceHandler().addToCustomWorkspace();\n }\n case LOAD_WORKSPACE -> {\n AV2.getWorkspaceManager().loadWorkspace();\n }\n case SAVE_WORKSPACE -> {\n AV2.getWorkspaceManager().save();\n }\n case SAVE_WORKSPACE_AS -> {\n AV2.getWorkspaceManager().save();\n }\n case DELETE_WORKSPACE -> {\n AV2.getWorkspaceHandler().removeWorkspace();\n }\n // case RENAME_WORKSPACE -> {\n // AV2.getWorkspaceManager().loadWorkspace();\n // }\n case GROUPING -> {\n }\n case SORT_WORKSPACE -> {\n }\n }\n\n }",
"title": ""
},
{
"docid": "3765252e1d4ae5c678edf9aeaa2f1baa",
"score": "0.59007674",
"text": "private void play() {\r\n\t\tLabel myLabel=new Label(\"Enter a Command:\");\r\n\t\tthis.addComponent(myLabel);\r\n\t\tfinal TextField myTextField=new TextField();\r\n\t\tthis.addComponent(myTextField);\r\n\t\tthis.show();\r\n\t\tmyTextField.addActionListener(new ActionListener(){\r\n\t\t\tpublic void actionPerformed(ActionEvent evt) {\r\n\t\t\t\tString sCommand=myTextField.getText().toString();\r\n\t\t\t\tmyTextField.clear();\r\n\t\t\t\tif(sCommand.length() != 0)\r\n\t\t\t\t\tswitch (sCommand.charAt(0)) {\r\n\t\t\t\t\t\tcase 'a':\r\n\t\t\t\t\t\t\tgw.accelerate(); \r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'b':\r\n\t\t\t\t\t\t\tgw.brake();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'l':\r\n\t\t\t\t\t\t\tgw.turnLeftAnt();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'r':\r\n\t\t\t\t\t\t\tgw.turnRightAnt();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t// Case 1 -9\r\n\t\t\t\t\t\tcase '1':\r\n\t\t\t\t\t\t\tgw.collisonFlag(1);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '2':\r\n\t\t\t\t\t\t\tgw.collisonFlag(2);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '3':\r\n\t\t\t\t\t\t\tgw.collisonFlag(3);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '4':\r\n\t\t\t\t\t\t\tgw.collisonFlag(4);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '5':\r\n\t\t\t\t\t\t\tgw.collisonFlag(5);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '6':\r\n\t\t\t\t\t\t\tgw.collisonFlag(6);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '7':\r\n\t\t\t\t\t\t\tgw.collisonFlag(7);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '8':\r\n\t\t\t\t\t\t\tgw.collisonFlag(8);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase '9':\r\n\t\t\t\t\t\t\tgw.collisonFlag(9);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'f':\r\n\t\t\t\t\t\t\tgw.collisionFoodStation();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'g':\r\n\t\t\t\t\t\t\tgw.collisionSpider();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 't':\r\n\t\t\t\t\t\t\tgw.gameTick();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'd':\r\n\t\t\t\t\t\t\tgw.printCurrent();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'm':\r\n\t\t\t\t\t\t\tgw.printMap();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'x':\r\n\t\t\t\t\t\t\tsetKey(sCommand.charAt(0));\r\n\t\t\t\t\t\t\tSystem.out.println(\"Are you sure to exit game?\");\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'y':\r\n\t\t\t\t\t\t\tif(getKey() == 'x')\r\n\t\t\t\t\t\t\t\tgw.exit();\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Invalid input\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'n':\r\n\t\t\t\t\t\t\tif(getKey() == 'x') \r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Game continue\");\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Invalid input\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tSystem.out.println(\"\\nYour Input is invalid.Please enter valid command!!!\\n\");\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t} //switch\r\n\t\t\t\t} //actionPerformed\r\n\t\t\t} //new ActionListener()\r\n\t\t); //addActionListener\r\n\t}",
"title": ""
},
{
"docid": "01647234962e5eb5d7c5bffa1f319d2b",
"score": "0.58988374",
"text": "public void mainOption() {\n this.presenter.promptCommand();\n String choice = this.scanner.nextLine();\n switch (choice) {\n case \"1\":\n this.signUpOption();\n break;\n case \"2\":\n this.cancelOption();\n break;\n case \"0\":\n this.goToPreviousScreenController();\n break;\n case \"3\":\n this.getUserEvents();\n break;\n default:\n this.presenter.printErrorMessage();\n this.mainOption();\n }\n\n }",
"title": ""
},
{
"docid": "9a7ea05a21d7f8c8507f1a23d4efa32a",
"score": "0.58936465",
"text": "public void actionPerformed(ActionEvent e) {\n \t\t\n \tif (Main.returnGlobal().getMode() == 4 || Main.returnGlobal().getMode() == 5)\n \t\t{\n \t\tMain.newSim();\n \t\tMain.readySim();\n \t\t}\n \telse\n \t{\n \t\tMain.readyGame();\n \t}\n \t\n }",
"title": ""
},
{
"docid": "5842624c44f5dbe7ea988e29e43f6da7",
"score": "0.5891691",
"text": "public void goRoom(Command command) \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n String direction = command.getSecondWord();\n Room nextRoom = currentRoom.getExit(direction);\n if (nextRoom == null) {\n System.out.println(\"There is no door!\");\n }\n else {\n historialUbicaciones.push(currentRoom);\n currentRoom = nextRoom;\n look();\n }\n }",
"title": ""
},
{
"docid": "0a1c598c653a49512f6e6fbcef119e33",
"score": "0.5883874",
"text": "@FXML\n public void selectedDepot3Marble3(){\n pressedButton(sel3Depot3);\n clearButtonSelection(sel3Depot1);\n clearButtonSelection(sel3Depot2);\n clearButtonSelection(sel3ExtraDepot);\n clearButtonSelection(discard3);\n marble3Choice = MarbleDestination.DEPOT3;\n showOkButton();\n }",
"title": ""
},
{
"docid": "1e9574991e144f7158eef39997f7d938",
"score": "0.58728445",
"text": "public void changeRoom(String exit){\n \t//TODO create method body\n }",
"title": ""
},
{
"docid": "0a3d5b383a8d3c02f37bf84037282e58",
"score": "0.5871984",
"text": "public void sideActionPerformed(ActionEvent e) {\n if (\"help\".equals(e.getActionCommand())){\n flagh =1;\n score = score - 5;\n updateValue(sol);\n delay();\n b3.doClick();\n } else if (\"next\".equals(e.getActionCommand())){\n seqence = seqence+1;\n b[kans].setBackground(Color.cyan);\n checkLevel(seqence);\n if (seqence < 10){\n play(seqence);}\n\n } else if (\"reset\".equals(e.getActionCommand())){\n j3.setText(\"you r r\");\n System.out.println(\"reset button\");\n\n }\n }",
"title": ""
},
{
"docid": "49663192e413a859e5f279764e002d33",
"score": "0.5868921",
"text": "public void buttonPress(String action)\n {\n System.out.println(\"Debug action: \" + action);\n if (action.equalsIgnoreCase(\"Toggle Fog\"))\n {\n cell.toggleFog();\n render.render();\n }\n if (action.equalsIgnoreCase(\"Set Biome\"))\n {\n\n }\n if (action.equalsIgnoreCase(\"Print Citizens\"))\n {\n citizens.printCitizens();\n }\n if (action.equalsIgnoreCase(\"Update GUI\"))\n {\n new UpdateGUI().update();\n }\n //more if statements here\n }",
"title": ""
},
{
"docid": "71dcab17d753b883b10c47c0a4430fda",
"score": "0.5858153",
"text": "private void goRoom(Command command) \n {\n if(!command.hasSecondWord()) {\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where?\");\n return;\n }\n\n String direction = command.getSecondWord();\n\n // Try to leave current room.\n Room nextRoom = currentRoom.getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door!\");\n }\n else {\n prevRoom = currentRoom;\n roomStack.push (prevRoom); \n currentRoom = nextRoom;\n System.out.println(currentRoom.getLongDescription());\n }\n }",
"title": ""
},
{
"docid": "40b1bb0fc346e5dfec1449d00eb27105",
"score": "0.58510935",
"text": "private boolean selectOption(int option){\n switch (option){\n case 1:\n return displayMoves();\n case 2:\n return displaySwitch(); //Needs Work\n case 3:\n return displayBag();//Needs work\n case 4:\n return displayRun();\n default:\n return true;\n }\n }",
"title": ""
},
{
"docid": "6357ad7f2d77c518727fc95db75c767f",
"score": "0.5850875",
"text": "@Override\r\n public Command runCommand()\r\n {\n boolean set = this.msg.length == 4 && this.msg[1].equals(\"set\") && isNumeric(2) && isNumeric(3);\r\n //p!team add number\r\n boolean add = this.msg.length == 3 && this.msg[1].equals(\"add\") && isNumeric(2);\r\n //p!team remove index\r\n boolean remove = this.msg.length == 3 && this.msg[1].equals(\"remove\") && isNumeric(2);\r\n //p!team swap index index\r\n boolean swap = this.msg.length == 4 && this.msg[1].equals(\"swap\") && isNumeric(2) && isNumeric(3);\r\n //p!team clear\r\n boolean clear = this.msg.length == 2 && this.msg[1].equals(\"clear\");\r\n\r\n if(set || add)\r\n {\r\n int teamIndex = add ? MAX_TEAM_SIZE : this.getInt(2);\r\n int pokemonIndex = this.getInt(add ? 2 : 3);\r\n\r\n if((teamIndex < 1 || (set && teamIndex > MAX_TEAM_SIZE)) || (pokemonIndex < 1 || pokemonIndex > this.playerData.getPokemonList().size()))\r\n {\r\n this.embed.setDescription(CommandInvalid.getShort());\r\n return this;\r\n }\r\n else if(add && this.playerData.getTeam().size() == MAX_TEAM_SIZE)\r\n {\r\n this.embed.setDescription(\"Your team is full! Use p!team set to change certain slots!\");\r\n return this;\r\n }\r\n\r\n String UUID = this.playerData.getPokemonList().get(pokemonIndex - 1);\r\n\r\n if(this.playerData.getTeam().contains(UUID))\r\n {\r\n this.embed.setDescription(\"This Pokemon is already in your team!\");\r\n return this;\r\n }\r\n\r\n this.playerData.addPokemonToTeam(UUID, teamIndex);\r\n\r\n Pokemon p = Pokemon.buildCore(UUID, pokemonIndex);\r\n this.embed.setDescription(\"Added \" + p.getName() + \" to your team!\");\r\n }\r\n else if(remove)\r\n {\r\n int teamIndex = this.getInt(2);\r\n\r\n if(teamIndex < 1 || teamIndex > MAX_TEAM_SIZE || teamIndex > this.playerData.getTeam().size())\r\n {\r\n this.embed.setDescription(CommandInvalid.getShort());\r\n return this;\r\n }\r\n\r\n Pokemon p = Pokemon.buildCore(this.playerData.getTeam().get(teamIndex - 1), -1);\r\n\r\n this.playerData.removePokemonFromTeam(teamIndex);\r\n\r\n this.embed.setDescription(\"Removed \" + p.getName() + \" from your team!\");\r\n }\r\n else if(swap)\r\n {\r\n int fromIndex = this.getInt(2);\r\n int toIndex = this.getInt(3);\r\n\r\n if(fromIndex < 1 || fromIndex > this.playerData.getTeam().size() || toIndex < 1 || toIndex > this.playerData.getTeam().size())\r\n {\r\n this.embed.setDescription(CommandInvalid.getShort());\r\n return this;\r\n }\r\n\r\n this.playerData.swapPokemonInTeam(fromIndex, toIndex);\r\n\r\n this.embed.setDescription(\"Swapped pokemon number \" + fromIndex + \" and \" + toIndex + \" in your team!\");\r\n }\r\n else if(clear)\r\n {\r\n this.playerData.clearTeam();\r\n\r\n this.event.getChannel().sendMessage(this.playerData.getMention() + \": Your team was successfully cleared!\").queue();\r\n this.embed = null;\r\n return this;\r\n }\r\n else\r\n {\r\n if(this.playerData.getTeam() == null)\r\n {\r\n this.embed.setDescription(\"You don't have any Pokemon in your team!\");\r\n return this;\r\n }\r\n\r\n StringBuilder team = new StringBuilder();\r\n\r\n if(DuelHelper.isInDuel(this.player.getId()))\r\n {\r\n Duel d = DuelHelper.instance(this.player.getId());\r\n List<Pokemon> teamPokemon = d.getPlayers()[d.indexOf(this.player.getId())].team;\r\n\r\n for(int i = 0; i < teamPokemon.size(); i++)\r\n {\r\n team.append(i + 1).append(\": \").append(teamPokemon.get(i).getName()).append(teamPokemon.get(i).isFainted() ? \" (Fainted)\" : \" (\" + teamPokemon.get(i).getHealth() + \" / \" + teamPokemon.get(i).getStat(Stat.HP) + \" HP)\").append(\"\\n\");\r\n }\r\n }\r\n else\r\n {\r\n List<String> teamUUIDs = List.copyOf(this.playerData.getTeam());\r\n\r\n ListPokemon p;\r\n for(int i = 0; i < MAX_TEAM_SIZE; i++)\r\n {\r\n team.append(i + 1).append(\": \");\r\n\r\n if(i < teamUUIDs.size())\r\n {\r\n p = new ListPokemon(teamUUIDs.get(i), -1);\r\n team.append(\"Level \").append(p.getLevel()).append(\" \").append(p.getName()).append(this.getTag(p.getName()));\r\n }\r\n else team.append(\"None\");\r\n\r\n team.append(\"\\n\");\r\n }\r\n }\r\n\r\n this.embed.setDescription(team.toString());\r\n this.embed.setTitle(this.player.getName() + \"'s Pokemon Team\");\r\n }\r\n return this;\r\n }",
"title": ""
},
{
"docid": "07547de0b93236ee8248bc379129c1a9",
"score": "0.5850852",
"text": "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tthis.setVisible(false);\n String command = arg0.getActionCommand();\n \n switch (command){\n case \"Dig\":\n DigMap.process(mapNode);\n break;\n case \"Scan with Magnetometer\":\n ScanMap.process(mapNode, 1);\n break;\n case \"Scan with MetalDetector\":\n ScanMap.process(mapNode, 2);\n break;\n \n }\n\t}",
"title": ""
},
{
"docid": "0fa8df8fc21855a80499cff5f58c06bf",
"score": "0.58313465",
"text": "private void south1 (MouseEvent evt) \n {\n if(english == true)\n {\n command = new Command(\"go\", \"south\");\n }\n else\n {\n command = new Command(\"keliauti\", \"pietus\");\n }\n \n processCommand(command);\n }",
"title": ""
},
{
"docid": "2db15ef9659424539b6dc2711b96aa0c",
"score": "0.58256",
"text": "public void onClick(View v) {\n switch (layer) {\n case 0: //Join\n\n Intent serverIntent = new Intent(context, DeviceListActivity.class);\n startActivityForResult(serverIntent, REQUEST_CONNECT_DEVICE_SECURE);\n break;\n case 1: //Story point 2\n if(story < maxStorySize - 1) {\n story++;\n mainImage.setImageResource(storyImages.get(story));\n }\n else if(button2.getText().equals(\"Decline\"))\n {\n stories.setChoiceMade(false);\n startActivity(1);\n }\n else {\n // reset the story\n story = 0;\n Log.d(LOG, messageRead);\n if (singlePlayer == false) {\n sendMsg(\"STORYPOINT2\"); //Tell other device you chose an option.\n button2.setBackgroundColor(Color.LTGRAY);//Imitate a toggle button.\n button1.setBackgroundColor(Color.DKGRAY);\n button1.setEnabled(false);\n button2.setEnabled(false);\n\n if (messageRead.equals(\"STORYPOINT2\")) { //Did you read in a message(did the other player pick?){\n messageRead = \"\";\n Log.d(LOG, messageRead);\n button1.setBackgroundColor(Color.LTGRAY);\n bossChosen = \"Robot\";\n button1.setEnabled(true);\n button2.setEnabled(true);\n startActivity(1); //Start event Activity\n sendMsg(\"start2\"); //Make sure the other device is on the same activity.\n } else if (messageRead.equals(\"STORYPOINT1\")) {\n messageRead = \"\";\n button1.setBackgroundColor(Color.LTGRAY);\n button1.setEnabled(true);\n button2.setEnabled(true);\n startActivity(1); //Start event activity\n bossChosen = \"Squiggle\";\n sendMsg(\"start2\"); //Make sure the other device is on the same activity.\n }\n //startActivity(1);\n }\n else {\n startActivity(1);\n }\n }\n break;\n\n case 2: //Ability\n // Get button text\n String currentText = ((TextView)v).getText().toString();\n\n // Ability action - click to choose\n if(currentText.equals(\"ABILITY\")){\n Log.i(LOG, \"ABILITY\");\n\n loadAbilities();\n }\n // Ability option - click to choose\n else if(moveNames.contains(currentText)){\n moveSelected = currentText;\n loadTargets();\n }\n // Target option - click to choose\n else{\n targetName = currentText;\n loadDefaultButtons();\n // Activate button color\n }\n break;\n }\n\n }",
"title": ""
},
{
"docid": "eac67bf14554da9eec998dc5237d776a",
"score": "0.5825252",
"text": "private void runAwayDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n\n builder.setTitle(\"Run away?\");\n\n builder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton)\n {\n\n Toast toast = Toast.makeText(getApplicationContext(), \"Ran away!\", Toast.LENGTH_SHORT);\n toast.show();\n\n //Save the humon's state\n saveHumons();\n\n //tell enemy you ran away\n mServerConnection.sendMessage(getString(R.string.ServerCommandBattleAction) +\n \":{\\\"commandType\\\":\"+ RUN_TYPE + \"}\");\n\n mServerConnection.sendMessage(getString(R.string.ServerCommandBattleEnd) +\n \":{}\");\n\n //return to the menu\n finish();\n\n }\n });\n\n //End the battle\n builder.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton)\n {\n\n }\n });\n\n //display the dialog\n final AlertDialog runAwayDialog = builder.create();\n runAwayDialog.show();\n }",
"title": ""
},
{
"docid": "cc5d94c80022b7528ed4d38921803ba0",
"score": "0.5820682",
"text": "public void operatorControl() {\n if(joy2.getRawButton(1))\n {\n elevator.rehome();\n }\n\n System.out.println(\"Operator Control!\");\n elevator.setUserCommandMode();\n wrist.setUserCommandMode();\n drives.setUserCommandMode();\n }",
"title": ""
},
{
"docid": "8f8a4a4b47073ca20bdee944c569312e",
"score": "0.5809004",
"text": "public void commandAction(Command c, Displayable s) {\n if (c == toggleCommand) {\n if (canvas.isPaused()) {\n canvas.start();\n } else {\n canvas.pause();\n }\n } else if (c == helpCommand) {\n canvas.pause();\n showHelp();\n } else if (c == exitCommand) {\n try {\n destroyApp(false);\n notifyDestroyed();\n } catch (MIDletStateChangeException ex) {\n }\n } \n }",
"title": ""
},
{
"docid": "3da429e02fb9cf53b1adca72863c55eb",
"score": "0.58016187",
"text": "@Override public void doAction(int option)\r\n {\r\n switch(option)\r\n {\r\n case 1: // view goals\r\n viewGoals();\r\n break;\r\n \r\n case 2: // view map help\r\n viewMapHelp();\r\n break;\r\n \r\n \r\n case 3: // view map help\r\n viewMapHelp();\r\n break;\r\n \r\n case 4: // view move help\r\n viewMoveHelp();\r\n break;\r\n \r\n case 5: // view list help\r\n viewListHelp();\r\n \r\n case 6: // return to main menu\r\n return;\r\n }\r\n }",
"title": ""
},
{
"docid": "88992f0556e213df2bac918e2ee7ad37",
"score": "0.579803",
"text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry{\n\t\t\t\t\tMain.getController().getBoard().getActivePlayer().switchMonsterMode(monsterButton.getMonster());\n\t\t\t\t\tif(monsterButton.getMonster().getMode()==Mode.ATTACK){\n\t\t\t\t\t\tmonsterButton.setAttack();\n\t\t\t\t\t}\n\t\t\t\t\telse monsterButton.setDefense();\n\t\t\t\t}\n\t\t\t\tcatch(WrongPhaseException e3){\n\t\t\t\t\tJOptionPane.showMessageDialog(Main.getGameBoard(), \"In Wrong Phase!\");\n\t\t\t\t}\n\t\t\t}",
"title": ""
},
{
"docid": "d1fa5db6243993f84cebabcbdd0f5cf3",
"score": "0.57896",
"text": "@FXML\n public void selectedDepot1Marble4(){\n pressedButton(sel4Depot1);\n clearButtonSelection(sel4Depot2);\n clearButtonSelection(sel4Depot3);\n clearButtonSelection(sel4ExtraDepot);\n clearButtonSelection(discard4);\n marble4Choice = MarbleDestination.DEPOT1;\n showOkButton();\n }",
"title": ""
},
{
"docid": "0aa124562506484edf863778cacbf8d2",
"score": "0.57859874",
"text": "@Override\n public void actionPerformed(java.awt.event.ActionEvent e) {\n int action = Integer.parseInt(e.getActionCommand()); \n \n switch (action) {\n case 1:\n Application.launch();\n break;\n case 2:\n \n break; \n case 3:\n \n break;\n default:\n System.out.print(\"\\nInvalid option!!!\");\n }\n }",
"title": ""
},
{
"docid": "5ee9a0342aabf2a4ba12834978e5b4b4",
"score": "0.5785904",
"text": "public void onClick(View arg0) {\n\t\tIntent init = new Intent(this, DynamicPots.class);\n\t\tswitch(arg0.getId()){\n\t\tcase R.id.beefpots:\n\t\t\tinit.putExtra(\"menu\", \"beefpots\");\n\t\t\tbreak;\n\t\tcase R.id.seafoodpots:\n\t\t\tinit.putExtra(\"menu\", \"seafoodpots\");\n\t\t\tbreak;\n\t\tcase R.id.doogolepots:\n\t\t\tinit.putExtra(\"menu\", \"doogolepots\");\n\t\t\tbreak;\n\t\tcase R.id.gaegookpots:\n\t\t\tinit.putExtra(\"menu\", \"gaegookpots\");\n\t\t\tbreak;\n\t\tcase R.id.mushroompots:\n\t\t\tinit.putExtra(\"menu\", \"mushroompots\");\n\t\t\tbreak;\n\t\tcase R.id.fishcakepots:\n\t\t\tinit.putExtra(\"menu\", \"fishcakepots\");\n\t\t\tbreak;\n\t\tcase R.id.ribpots:\n\t\t\tinit.putExtra(\"menu\", \"ribpots\");\n\t\t\tbreak;\n\t\tcase R.id.musselpots:\n\t\t\tinit.putExtra(\"menu\", \"musselpots\");\n\t\t\tbreak;\n\t\t\t}\n\t\tstartActivity(init);\n\t}",
"title": ""
},
{
"docid": "91b28ae841c339fd02018c72e74d3668",
"score": "0.5782266",
"text": "private void doCommand(String command) {\n\t\tif (command.equals(\"clear\")) {\n\t\t\t// clear the GUI window\n\t\t\tapp.clear();\n\t\t} else if (command.equals(\"quit\")) {\n\t\t\t// quit the application\n\t\t\tthis.dispose(); // close the GUI\n\t\t\tSystem.exit(0); // and exit.\n\t\t} else if (command.equals(\"auto\")) {\n\t\t\tapp.autoDraw();\n\t\t} else if (command.equals(\"save\")) {\n\t\t\tdoSaveImage();\n\t\t} else if (command.equals(\"txtSave\")) {\n\t\t\tdoSaveText();\n\t\t} else if (command.equals(\"txtRead\")) {\n\t\t\tdoReadText();\n\t\t} else if (command.equals(\"undo\")) {\n\t\t\tapp.undo();\n\t\t} else if (command.equals(\"redo\")) {\n\t\t\tapp.redo();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "dad738112cafd5a0fd8c77599b882387",
"score": "0.57730854",
"text": "public void commandAction(Command c, Displayable s)\n\t\t{\n///System.out.println(\"Command \" +c);\n if(c == linkCommand)\n\t\t\t {\n\t\t\t\t\t canvas.type = ViewerCanvas.TYPE_LINK;\n\t\t\t }\n\n\t\t\t else if(c == panCommand)\n\t\t\t {\n\t\t\t\t\t canvas.type = ViewerCanvas.TYPE_PAN;\n\t\t\t }\n\n\t\t\t else if(c == zoomCommand)\n\t\t\t {\n\t\t\t\t\t canvas.type = ViewerCanvas.TYPE_ZOOM;\n\t\t\t }\n\n\t\t\t else if(c == origViewCommand)\n\t\t\t {\n\t\t\t\t\t canvas.type = ViewerCanvas.TYPE_LINK;\n \t\t\t canvas.origView();\n\t\t\t }\n\n\t\t\t else if(c == helpCommand)\n\t\t\t {\n display.setCurrent(helpScreen);\n\t\t\t }\n\n else if(c == exitCommand)\n\t\t\t {\n\t\t\t\t\t destroyApp(true);\n\t notifyDestroyed();\n\t\t\t }\n else if (c == helpBackCommand)\n\t\t\t {\n display.setCurrent(canvas);\n\t\t\t\t\t canvas.repaint();\n\t\t\t }\n\t\t}",
"title": ""
},
{
"docid": "4bee0fb8668b03eb768b52977a2782f9",
"score": "0.5767479",
"text": "@Override\r\n public void actionPerformed(ActionEvent e) {\r\n if(OPCION_1.equals(e.getActionCommand())){\r\n System.out.println(\"Imprime Boton 1\");\r\n }\r\n else if (OPCION_2.equals(e.getActionCommand())){\r\n System.out.println(\"Imprime Boton 2\");\r\n }\r\n }",
"title": ""
},
{
"docid": "90e6900dc3b93f8cb04323651ece52d8",
"score": "0.5767048",
"text": "public void buttonPressed(ActionEvent e) {\n\t\tString s = e.getActionCommand();\n\t\tSystem.out.println(s);\n\t\t\n\t\tswitch(s){\n\t\tcase \"Roll Dice\":\n\t\t\tthis.roll = game.diceRoll();\n\t\t\tthis.rolled = true;\n\t\t\tthis.getOptions().getTextArea().append(\"You rolled a: \" + roll + \"\\n\");\n\t\t\tbreak;\n\t\tcase \"Suggest\":\n\t\t\tif(game.getCurrentPlayer().getRoom() == null){\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tString[] suggestion = createGuessGUI(false);\n\t\t\tif(suggestion == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tgame.makeSuggestion(suggestion[0], null, suggestion[1]);\n\t\t\toptions.suggestionEnabled(false);\n\t\t\tbreak;\n\t\tcase \"Accuse\":\n\t\t\tString[] accuse = createGuessGUI(true);\n\t\t\tif(accuse == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tgame.makeAccusation(accuse[0], accuse[1], accuse[2]);\n\t\t\tbreak;\n\t\tcase \"End Turn\":\n\t\t\tendTurn();\n\t\t\tbreak;\n\t\tcase \"Use Stairs\":\n\t\t\tbreak;\n\t\t}\n\t\trequestFocus();\n\t}",
"title": ""
},
{
"docid": "0daf1685fd6a83874eed5c3c6c7bfc98",
"score": "0.5741872",
"text": "public void run(int choice) {\n\t\tswitch(choice) {\n\t\tcase 0:\n\t\t\tthis.intent(new ShowtimesListUI());\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tthis.intent(new ShowtimesCRUDUI());\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tthis.goBack();\n\t\t\tbreak;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "955c1acecbd4b6c58060f99be9ef4472",
"score": "0.57327735",
"text": "public void actionPerformed (ActionEvent e) {\n \n int selected = dropDown.getSelectedIndex();\n if (e.getSource() == startButton) {\n if (selected == 0) cardLayout.show(cardPanel, \"schi\");\n if (selected == 1) cardLayout.show(cardPanel, \"dep\");\n }\n else if ((e.getSource() == schizophreniaPanel.bExitYes) ||\n (e.getSource() == schizophreniaPanel.bExitNo) ||\n (e.getSource() == majdepressivePanel.bExitYes) ||\n (e.getSource() == majdepressivePanel.bExitNo)) {\n cardLayout.first(cardPanel);\n }\n }",
"title": ""
},
{
"docid": "38a0a4b9522464ea35504c6971438ed9",
"score": "0.5732691",
"text": "public void onClick(View v) {\n switch (layer) {\n case 0: //find devices\n makeDiscoverable();\n break;\n case 1: //Story point 1(The previous button)\n if(story != 0) {\n story--;\n mainImage.setImageResource(storyImages.get(story));\n }\n // the user made a decision\n else if(button1.getText().equals(\"Accept\"))\n {\n stories.setChoiceMade(true);\n startActivity(1);\n }\n else if(story == 0) {\n // do nothing\n }\n else { //Makes the button send the user to the next activity.\n story = 0;\n Log.d(LOG, \"READ\");\n if (singlePlayer == false) {\n button1.setBackgroundColor(Color.LTGRAY);//Imitate a toggle button.\n button2.setBackgroundColor(Color.DKGRAY);\n button1.setEnabled(false);\n button2.setEnabled(true);\n sendMsg(\"STORYPOINT1\"); //Tell other device you chose an option.\n if (messageRead.equals(\"STORYPOINT1\")) { //Did you read in a message(did the other player pick?)\n messageRead = \"\";\n Log.d(LOG, messageRead);\n button2.setBackgroundColor(Color.LTGRAY);\n button1.setEnabled(true);\n button2.setEnabled(true);\n startActivity(1); //Start event Activity\n\n } else //(messageRead.equals(\"STORYPOINT2\")) { //You both disagree, just start the first option.\n {\n messageRead = \"\";\n button2.setBackgroundColor(Color.LTGRAY);\n button1.setEnabled(true);\n button2.setEnabled(true);\n startActivity(1);\n }\n }\n else {\n startActivity(1);\n }\n }\n break;\n case 2: //Attack\n // Get button text\n String currentText = ((TextView)v).getText().toString();\n\n // Attack action - click to choose\n if(currentText.equals(\"Attack\")){\n Log.i(LOG, \"ATTACK\");\n moveSelected = \"Attack\";\n loadTargets();\n }\n // Ability option - click to choose\n else if(moveNames.contains(currentText)){\n moveSelected = currentText;\n loadTargets();\n }\n // Target option - click to choose\n else{\n targetName = currentText;\n loadDefaultButtons();\n // Activate button color\n }\n break;\n\n }\n }",
"title": ""
},
{
"docid": "a9cd1ce4f1b086268766280f403e35b3",
"score": "0.57315475",
"text": "@FXML\n public void selectedDepot3Marble4(){\n pressedButton(sel4Depot3);\n clearButtonSelection(sel4Depot1);\n clearButtonSelection(sel4Depot2);\n clearButtonSelection(sel4ExtraDepot);\n clearButtonSelection(discard4);\n marble4Choice = MarbleDestination.DEPOT3;\n showOkButton();\n }",
"title": ""
},
{
"docid": "621882941e541b63da770eaf782cff05",
"score": "0.5729778",
"text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(btn_srv2.isChecked()){\n\t\t\t\t\tMainActivity.SendCmd(\"USR,2,MOVP,\" + String.valueOf(s2p));\n\t\t\t\t}else{\n\t\t\t\t\tMainActivity.SendCmd(\"USR,2,MOVP,\" + String.valueOf(s2n));\n\t\t\t\t}\n\t\t\t}",
"title": ""
},
{
"docid": "2709db74a88d7fd5b024cf25ee29495d",
"score": "0.57128155",
"text": "@Override\n public void actionPerformed (ActionEvent e)\n {\n String command = e.getActionCommand();\n if (command == \"New Game\")\n {\n newGame();\n }\n if (command == \"Manual Mode\")\n {\n if (manualMode)\n {\n manualMode = false;\n }\n else if (!manualMode)\n {\n manualMode = true;\n }\n }\n }",
"title": ""
},
{
"docid": "4c06e4383008e34cda5ea3f809a365fd",
"score": "0.5708574",
"text": "@Override\n public boolean doAction(String value) {\n Player player = new Player();\n player.setName(\"Bree\");\n try {\n player.setExperience(20);\n } catch (ExperienceControlException ex) {\n Logger.getLogger(FairiesEncounterView.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (value.toUpperCase().equals(\"W\")) {\n this.displayMessage = \"\\n*******************************************\"\n + \"\\n* There are many people who need help *\"\n + \"\\n* today. What would you like to do? *\"\n + \"\\n*******************************************\"\n + \"\\n* B- work for the blacksmith *\"\n + \"\\n* S- work in the stables *\"\n + \"\\n* C- collect materials *\"\n + \"\\n*******************************************\"\n + \"\\nPlease enter a choice: \";\n String getAnswer = this.getInput();\n if (getAnswer.toUpperCase().equals(\"B\")) {\n //Working as a blacksmith will take 5 energy points and earn 5 gold coins.\n double currentEnergy = player.getEnergy();\n player.setEnergy(currentEnergy - 5);\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney + 5);\n this.console.println(\"\\n The black smith has payed you 5 gold coins. \"\n + \"\\n*Be sure to watch your energy! Doing work can be taxing.*\");\n return true;\n } else if (getAnswer.toUpperCase().equals(\"S\")) {\n //Working in the stables will take 3 energy points and earn 3 gold coins.\n double currentEnergy = player.getEnergy();\n player.setEnergy(currentEnergy - 3);\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney + 3);\n this.console.println(\"\\n You have been payed 3 gold coins. \"\n + \"\\n*Be sure to watch your energy! Doing work can be taxing.*\");\n return true;\n } else if (getAnswer.toUpperCase().equals(\"C\")) {\n //Collecting materials will take 7 energy points and earn 10 gold coins.\n double currentEnergy = player.getEnergy();\n player.setEnergy(currentEnergy - 7);\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney + 10);\n this.console.println(\"\\n You have been payed 10 gold coins. \"\n + \"\\n*Be sure to watch your energy! Doing work can be taxing.*\");\n return true;\n } else {\n this.console.println(\"\\nInvalid answer. You must enter either 'B', 'S', or 'C'.\");\n return false;\n }\n } else if (value.toUpperCase().equals(\"B\")) {\n \n this.displayMessage = \"\\n*******************************************\"\n + \"\\n* Welcome to the market! *\"\n + \"\\n* What would you like to buy? *\"\n + \"\\n*******************************************\"\n + \"\\n* K- knife (10 coins) *\"\n + \"\\n* S- sword (20 coins) *\"\n + \"\\n* A- armor (30 coins) *\"\n + \"\\n*******************************************\"\n + \"\\nPlease enter a choice: \";\n String getAnswer = this.getInput();\n if (getAnswer.toUpperCase().equals(\"K\")) {\n //kife costs 10 coins.\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney - 10);\n this.console.println(\"\\n You have bought a knife for 10 gold coins\");\n return true;\n } else if (getAnswer.toUpperCase().equals(\"S\")) {\n //sword costs 20 coins.\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney - 20);\n this.console.println(\"\\n You have bought a sword for 20 gold coins. \");\n return true;\n } else if (getAnswer.toUpperCase().equals(\"A\")) {\n //armor costs 30 coins.\n double currentMoney = player.getMoney();\n player.setMoney(currentMoney - 30);\n this.console.println(\"\\n You have bought armor for 30 gold coins. \");\n return true;\n } else {\n this.console.println(\"\\nInvalid answer. You must enter either 'K', 'S', or 'A'.\");\n return false;\n }\n } else {\n this.console.println(\"\\nInvalid answer. You must enter either 'W' or 'B'.\");\n return false;\n }\n }",
"title": ""
},
{
"docid": "4f9a97e3fc6cf41acf914e0dacc13711",
"score": "0.5701493",
"text": "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n if(command.isUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n String commandWord = command.getCommandWord();\n if (commandWord.equals(\"help\")) {\n printHelp();\n }\n else if (commandWord.equals(\"inventory\")) {\n printInventory();\n }\n else if (commandWord.equals(\"go\")) {\n wantToQuit=goRoom(command);\n }\n else if (commandWord.equals(\"take\")) {\n takeItem(command);\n }\n else if (commandWord.equals(\"drop\")) {\n dropItem(command);\n }\n else if (commandWord.equals(\"use\")) {\n useItem(command);\n }else if (commandWord.equals(\"inspect\")) {\n //lookItem(command);\n }\n else if (commandWord.equals(\"quit\")) {\n wantToQuit = quit(command);\n } else if (commandWord.equals(\"look\")){ // gives the real time situation of room\n System.out.println(currentRoom.getLongDescription());\n }\n // else command not recognised.\n return wantToQuit;\n }",
"title": ""
},
{
"docid": "3b4581eb4a61eaceefbfece5d779ceca",
"score": "0.56983066",
"text": "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n if(command.isUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n Option commandWord = command.getCommandWord();\n switch(commandWord){\n case HELP:\n printHelp();\n break;\n\n case GO:\n jugador.goRoom(command);\n guardiaSeguridad.movimientoAleatorio();\n turnos--;\n if (jugador.getCurrentRoom() == guardiaSeguridad.getCurrentRoom() && !jugador.puedeSalir()){\n System.out.println(\"Has encontrado al guardia de seguridad\");\n System.out.println(\"Puedes pedirle las llaves con el comando '\" + Option.ASK + \"'\\n\");\n }\n if (jugador.getEnergiaRestante() > 0){\n System.out.println(\"La energía está al \" + jugador.getEnergiaRestante() * 10 + \"%\");\n }\n break;\n\n case QUIT:\n wantToQuit = quit(command);\n break;\n\n case LOOK:\n jugador.printLocationInfo();\n break;\n\n case EAT:\n guardiaSeguridad.movimientoAleatorio();\n turnos--;\n jugador.comer();\n System.out.println(\"La energía está al \" + jugador.getEnergiaRestante() * 10 + \"%\");\n break;\n\n case BACK:\n jugador.backLastRoom();\n guardiaSeguridad.movimientoAleatorio();\n turnos--;\n break;\n\n case TAKE:\n jugador.takeItem(command.getSecondWord());\n break;\n\n case DROP:\n jugador.dropItem(command.getSecondWord());\n break;\n\n case ITEMS:\n jugador.muestraInventario();\n break;\n\n case ASK:\n guardiaSeguridad.dropItem(\"llaves\");\n jugador.takeItem(\"llaves\");\n guardiaSeguridad.movimientoAleatorio();\n System.out.println(\"Ya tienes las llaves, ahora puedes salir\\n\");\n turnos--;\n break;\n\n default:\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n return wantToQuit;\n }",
"title": ""
},
{
"docid": "6e75e94405a3d8a65af17ee70fa9db0f",
"score": "0.56978697",
"text": "public static void processShowCommand() {\r\n\t\tSystem.out.print(\"Enter number of place to Show: \");\r\n\t\tint showInt = input.nextInt();\r\n\t\tif (validChoice(showInt)) {\r\n\t\t\tplaceList.showPlace(showInt);\r\n\t\t\tSystem.out.print(\"Press Enter to continue.\");\r\n\t\t\tinput.nextLine();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "e99dc23cabfbf61b267e9b2228dacf69",
"score": "0.56922454",
"text": "public OI() {\n boolean actualMatch = (DriverStation.getInstance().getMatchType() != MatchType.None);\n\n if (actualMatch || controller1.getName().length() > 0) {\n b = new JoystickButton(controller1, 2);\n x = new JoystickButton(controller1, 3);\n y = new JoystickButton(controller1, 4);\n start = new JoystickButton(controller1, 8);\n back = new JoystickButton(controller1, 7);\n a = new JoystickButton(controller1, 1); \n\n // y.whileHeld(new WinchUp());\n // b.whileHeld(new WinchDown());\n \n //x.whenPressed(new Eject());\n start.whenPressed(new TeleopAutomagic());\n back.whenPressed(new CancelTeleopAutomagic());\n //a.whenPressed(new CalibrateWinch());\n }\n\n // if (actualMatch || controller2.getName().length() > 0) {\n // b2 = new JoystickButton(controller2, 2);\n // x2 = new JoystickButton(controller2, 3);\n // a2 = new JoystickButton(controller2, 1);\n // y2 = new JoystickButton(controller2, 4);\n\n povUPL = new POVButton(controller2, 315);\n povUP = new POVButton(controller2, 0);\n povUPR = new POVButton(controller2, 45);\n povDNR = new POVButton(controller2, 135);\n povDN = new POVButton(controller2, 180);\n povDNL = new POVButton(controller2, 225);\n\n // x2.whenPressed(new PanelIn());\n // a2.whenPressed(new PanelOut());\n // b2.whenPressed(new MitchLow());\n // y2.whenPressed(new MitchHigh());\n \n povUP.whileHeld(new WinchUp());\n povUPL.whileHeld(new WinchUp());\n povUPR.whileHeld(new WinchUp());\n povDN.whileHeld(new WinchDown());\n povDNL.whileHeld(new WinchDown());\n povDNR.whileHeld(new WinchDown());\n // }\n }",
"title": ""
},
{
"docid": "6ebb00705ff0244cc212e50ba89a0d45",
"score": "0.5691387",
"text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(RETURN)) {\n\t\t\tthis.setVisible(false);\n\t\t}else if(e.getActionCommand().equals(SHOOT)) {\n\n\t\t\ttry {\n\t\t\t\tmain.viewListWeapon();\n//\t\t\t\tactual.shootPlayer();\n\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null,\"Seleccione el jugador\");\n\t\t\t}\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(ADDWEAPON)) {\n\t\t\tString type=JOptionPane.showInputDialog(null,\"Dijite el tipo de arma: \");\n\t\t\tString numBullets=JOptionPane.showInputDialog(null,\"Dijite numero de balas: \");\n//\t\t\tactual.addWeapon(type, Integer.parseInt(numBullets));\n\t\t\tmain.viewListWeapon();\n\t\t\t\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "2d7a1f6a89cbe2e6536366bf2235e954",
"score": "0.56906843",
"text": "public void buttonClick(GameWorld gameWorld) {\n if (currentState == state.TOWER) { //tower is showing so upgrade button was hit\r\n towerUpgrade(gameWorld);\r\n } else { //cancel placement button so hide state\r\n hideInfo();\r\n\r\n }\r\n\r\n }",
"title": ""
},
{
"docid": "4fd7bdb2f2f324afe66cd26506d0311e",
"score": "0.569032",
"text": "protected void execute() {\r\n if(button.get()) command.start();\r\n }",
"title": ""
},
{
"docid": "d4b208001c60b8a8d33dd219edf52cdd",
"score": "0.568799",
"text": "public void handleAlanVoiceCommand(JSONObject alanCommand) {\n try {\n if (alanCommand != null) {\n String cmd = alanCommand.getString(\"command\");\n switch (cmd) {\n case \"employee_name\":\n this.employeeName.setText(alanCommand.getString(\"name\"));\n this.temperature.setFocusableInTouchMode(true);\n this.temperature.requestFocus();\n break;\n case \"temperature\":\n this.temperature.setText(alanCommand.getString(\"temp\"));\n this.fever.setFocusableInTouchMode(true);\n this.fever.requestFocus();\n break;\n case \"symptoms\":\n String symptom = alanCommand.getString(\"symptom\");\n\n if(symptom.equalsIgnoreCase(\"fever\")){\n this.fever.setFocusableInTouchMode(true);\n this.fever.requestFocus();\n if(!this.fever.isChecked()) {\n this.fever.setChecked(true);\n } else {\n this.fever.setChecked(false);\n }\n } else if(symptom.equalsIgnoreCase(\"coughing\")){\n this.coughing.setFocusableInTouchMode(true);\n this.coughing.requestFocus();\n\n if(!this.coughing.isChecked()){\n this.coughing.setChecked(true);\n } else {\n this.coughing.setChecked(false);\n }\n } else if(symptom.equalsIgnoreCase(\"vomiting\")){\n this.vomiting.setFocusableInTouchMode(true);\n this.vomiting.requestFocus();\n if(!this.vomiting.isChecked()){\n this.vomiting.setChecked(true);\n } else {\n this.vomiting.setChecked(false);\n }\n } else if(symptom.equalsIgnoreCase(\"none\")){\n this.noSymptoms.setFocusableInTouchMode(true);\n this.noSymptoms.requestFocus();\n if(!this.noSymptoms.isChecked()){\n this.noSymptoms.setChecked(true);\n } else {\n this.noSymptoms.setChecked(false);\n }\n } else if(symptom.equalsIgnoreCase(\"none of above\")){\n this.noOfAbove.setFocusableInTouchMode(true);\n this.noOfAbove.requestFocus();\n if(!this.noOfAbove.isChecked()){\n this.noOfAbove.setChecked(true);\n } else {\n this.noOfAbove.setChecked(false);\n }\n }\n\n this.submit.setFocusableInTouchMode(true);\n this.submit.setBackgroundColor(ResourcesCompat.getColor(getResources(), R.color.colorPrimaryDark, null)); this.submit.requestFocus();\n break;\n case \"submit\":\n isSubmitted = Boolean.TRUE;\n break;\n case \"back\":\n previousScreen = alanCommand.getString(\"screen\");\n showSubmittedData();\n break;\n }\n } else {\n Alan.getInstance().playText(Msgs.INVALID_RESPONSE);\n }\n } catch(Exception e){\n // Alan.getInstance().playText(\"JSON Exception\");\n e.printStackTrace();;\n }\n }",
"title": ""
},
{
"docid": "799455c98326be3b8d3e5a37cc8a9a5d",
"score": "0.5686686",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t case R.id.add_slot_a:\r\n\t addBoatA();\r\n\t return true;\r\n\t case R.id.add_slot_b:\r\n\t addBoatB();\r\n\t return true;\r\n\t case R.id.change_view:\r\n\t \tintent = new Intent(this, WhoAreYouActivity.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t return true;\r\n\t default:\r\n\t return super.onOptionsItemSelected(item);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "214bc956ddd6e21495232fa07b587348",
"score": "0.56842077",
"text": "private void minimapAction() {\n String roomName = logic.getCurrentRoomName();\n if (roomName.equalsIgnoreCase(\"medbay\")) {\n playerDot.setLayoutX(68);\n playerDot.setLayoutY(175);\n }\n else if (roomName.equalsIgnoreCase(\"keyRoom\")) {\n playerDot.setLayoutX(78);\n playerDot.setLayoutY(129);\n }\n else if (roomName.equalsIgnoreCase(\"armoury\")) {\n playerDot.setLayoutX(120);\n playerDot.setLayoutY(129); \n }\n else if (roomName.equalsIgnoreCase(\"hallway\")) {\n playerDot.setLayoutX(79);\n playerDot.setLayoutY(85); \n }\n else if (roomName.equalsIgnoreCase(\"airlock\")) {\n playerDot.setLayoutX(79);\n playerDot.setLayoutY(41); \n }\n else if (roomName.equalsIgnoreCase(\"communicationRoom\")) {\n playerDot.setLayoutX(105);\n playerDot.setLayoutY(86); \n } \n if (logic.getRoomNPCList(\"keyRoom\").contains(keyMonster)) {\n monsterDot.setLayoutX(59);\n monsterDot.setLayoutY(129); \n if (monsterDefeatCheck == true) {\n keyRoomMonster.setVisible(true);\n }\n }\n else if (logic.getRoomNPCList(\"armoury\").contains(keyMonster)) {\n monsterDot.setLayoutX(105);\n monsterDot.setLayoutY(130);\n armouryMonster.setVisible(true);\n } \n else if (logic.getRoomNPCList(\"hallway\").contains(keyMonster)) {\n monsterDot.setLayoutX(59);\n monsterDot.setLayoutY(85);\n hallwayMonster.setVisible(true);\n } \n else if (logic.getRoomNPCList(\"airlock\").contains(keyMonster)) {\n monsterDot.setLayoutX(59);\n monsterDot.setLayoutY(40);\n airlockMonster.setVisible(true);\n } \n if (!logic.getRoomNPCList(\"keyRoom\").contains(keyMonster)) {\n keyRoomMonster.setVisible(false);\n }\n if (!logic.getRoomNPCList(\"armoury\").contains(keyMonster)) {\n armouryMonster.setVisible(false);\n } \n if (!logic.getRoomNPCList(\"hallway\").contains(keyMonster)) {\n hallwayMonster.setVisible(false);\n }\n if (!logic.getRoomNPCList(\"airlock\").contains(keyMonster)) {\n airlockMonster.setVisible(false);\n }\n }",
"title": ""
},
{
"docid": "32a2921255005eccadc0c46f3154f6af",
"score": "0.5676118",
"text": "@Override\n public void onGuestScienceCustomCmd(String command) {\n /* Inform the Guest Science Manager (GSM) and the Ground Data System (GDS)\n * that this app received a command. */\n sendReceivedCustomCommand(\"info\");\n\n try {\n JSONObject obj = new JSONObject(command);\n String commandStr = obj.getString(\"name\");\n\n String commandVal = new String(\"\");\n if (obj.has(\"value\")) {\n commandVal = obj.getString(\"value\");\n }\n\n JSONObject jResponse = new JSONObject();\n \n switch (commandStr) {\n case \"takeSinglePicture\":\n Intent intent1 = new Intent();\n intent1.setAction(SciCamImage.TAKE_SINGLE_PICTURE);\n sendBroadcast(intent1);\n jResponse.put(\"Summary\", \"Command to take a single picture sent.\");\n break;\n case \"turnOnContinuousPictureTaking\":\n Intent intent2 = new Intent();\n intent2.setAction(SciCamImage.TURN_ON_CONTINUOUS_PICTURE_TAKING);\n sendBroadcast(intent2);\n jResponse.put(\"Summary\", \"Command to turn on continuous picture taking sent.\");\n break;\n case \"turnOffContinuousPictureTaking\":\n Intent intent3 = new Intent();\n intent3.setAction(SciCamImage.TURN_OFF_CONTINUOUS_PICTURE_TAKING);\n sendBroadcast(intent3);\n jResponse.put(\"Summary\", \"Command to turn off continuous picture taking sent.\");\n break;\n case \"turnOnSavingPicturesToDisk\":\n Intent intent4 = new Intent();\n intent4.setAction(SciCamImage.TURN_ON_SAVING_PICTURES_TO_DISK);\n sendBroadcast(intent4);\n jResponse.put(\"Summary\", \"Command to turn on saving pictures to disk sent.\");\n break;\n case \"turnOffSavingPicturesToDisk\":\n Intent intent5 = new Intent();\n intent5.setAction(SciCamImage.TURN_OFF_SAVING_PICTURES_TO_DISK);\n sendBroadcast(intent5);\n jResponse.put(\"Summary\", \"Command to turn off saving pictures to disk sent.\");\n break;\n case \"setPreviewImageWidth\":\n Intent intent6 = new Intent();\n intent6.setAction(SciCamImage.SET_PREVIEW_IMAGE_WIDTH);\n intent6.putExtra(\"preview_image_width\", commandVal);\n sendBroadcast(intent6);\n jResponse.put(\"Summary\", \"Command to set the preview image width to \" + commandVal\n + \" sent.\");\n break;\n case \"setFocusDistance\":\n Intent intent7 = new Intent();\n intent7.setAction(SciCamImage.SET_FOCUS_DISTANCE);\n intent7.putExtra(\"focus_distance\", commandVal);\n sendBroadcast(intent7);\n jResponse.put(\"Summary\", \"Command to set the focus distance to \" + commandVal\n + \" sent.\");\n break;\n case \"setFocusMode\":\n Intent intent8 = new Intent();\n intent8.setAction(SciCamImage.SET_FOCUS_MODE);\n intent8.putExtra(\"focus_mode\", commandVal);\n sendBroadcast(intent8);\n jResponse.put(\"Summary\", \"Command to set the focus mode to \" + commandVal\n + \" sent.\");\n break;\n case \"setImageType\":\n Intent intent9 = new Intent();\n intent9.setAction(SciCamImage.SET_IMAGE_TYPE);\n intent9.putExtra(\"image_type\", commandVal);\n sendBroadcast(intent9);\n jResponse.put(\"Summary\", \"Command to set the image type to \" + commandVal\n + \" sent.\");\n break;\n default:\n jResponse.put(\"Summary\", \"ERROR: Command not found.\");\n break;\n }\n \n sendData(MessageType.JSON, \"data\", jResponse.toString());\n\n } catch (JSONException e) {\n sendData(MessageType.JSON, \"data\", \"{\\\"Summary\\\": \\\"Error parsing JSON:(\\\"}\");\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "057cd8413a382e7440d9b5db1dc7888b",
"score": "0.5671936",
"text": "public void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable) {\r\n if (displayable == bmiForm) {\r\n if (command == backCommand1) {\r\n// For adding user code into this block, select \"Design | Screens | bmiForm [Form] | Assigned Commands | backCommand1\" item in the inspector and invoke property editor on Action property in Properties window.\r\n javax.microedition.lcdui.Display.getDisplay(this).setCurrent(null);\r\n destroyApp(true);\r\n notifyDestroyed();\r\n } else if (command == saveCommand) {\r\n// For adding user code into this block, select \"Design | Screens | bmiForm [Form] | Assigned Commands | saveCommand\" item in the inspector and invoke property editor on Action property in Properties window.\r\n Persistence.PatientSuiteDispatcher.invoke(this, get_bmiForm(), get_formulaValue());\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "70bef03c9b2f8d048aa3732dcf610574",
"score": "0.56662536",
"text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(btn_srv1.isChecked()){\n\t\t\t\t\tMainActivity.SendCmd(\"USR,1,MOVP,\" + String.valueOf(s1p));\n\t\t\t\t}else{\n\t\t\t\t\tMainActivity.SendCmd(\"USR,1,MOVP,\" + String.valueOf(s1n));\n\t\t\t\t}\n\t\t\t}",
"title": ""
},
{
"docid": "3a91c1851cac866a0576f31107356f0b",
"score": "0.56641924",
"text": "public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {\n InventoryManager im = new InventoryManager();\n if (sender instanceof Player) {\n Player player = (Player) sender;\n if (args.length <= 0) {\n StringBuilder list = new StringBuilder();\n for (String s : ConfigurationManager.getInstance().getShopConfiguration().getKeys(false)) {\n list.append(s).append(\", \");\n }\n String message = list.substring(0, list.length() - 2);\n player.sendMessage(ChatColor.GREEN + \"Shops: \" + ChatColor.GOLD + message);\n } else if (args.length == 1) {\n if (testName(player, args[0]) != null) {\n im.openInventory(testName(player, args[0]), player);\n } else {\n player.sendMessage(ChatColor.GOLD + args[0] + ChatColor.RED + \" is not a valid shop! Do /shop to see a list!\");\n }\n } else if (args.length == 3) {\n if (testName(player, args[0]) != null) {\n String shopName = testName(player, args[0]);\n if (args[1].equalsIgnoreCase(\"sell\")) {\n try {\n int id = Integer.parseInt(args[2]);\n if (itemInShop(id, shopName) != null) {\n PlayerInventoryEvents.sellItem(player, itemInShop(id, shopName));\n } else {\n player.sendMessage(ChatColor.translateAlternateColorCodes('&', ConfigurationManager.getInstance().getMainConfiguration().getConfigurationSection(Strings.CONFIG_SHOP_SECTION).getString(Strings.CONFIG_SHOP_NOT_IN_SHOP)));\n }\n } catch (NumberFormatException e) {\n player.sendMessage(ChatColor.RED + \"Please make sure you have used a id number!\");\n }\n } else if (args[1].equalsIgnoreCase(\"buy\")) {\n try {\n int id = Integer.parseInt(args[2]);\n if (itemInShop(id, shopName) != null) {\n PlayerInventoryEvents.buyItem(player, itemInShop(id, shopName));\n } else {\n player.sendMessage(ChatColor.RED + \"That item is not in the shop!\");\n }\n } catch (NumberFormatException e) {\n player.sendMessage(ChatColor.RED + \"Please make sure you have used an ID number!\");\n }\n } else {\n player.sendMessage(ChatColor.RED + \"Format: /shop <shopname> <buy|sell> <id>(Do /id to find an item's ID)\");\n }\n } else {\n player.sendMessage(ChatColor.GOLD + args[0] + ChatColor.RED + \" is not a valid shop! Do /shop to see a list!\");\n }\n } else {\n player.sendMessage(ChatColor.RED + \"please use /shop\");\n }\n } else {\n sender.sendMessage(ChatColor.RED + \"Only players can user the /shop command\");\n }\n return true;\n }",
"title": ""
},
{
"docid": "448b899673175e9adcf8834c1bc1b862",
"score": "0.5662673",
"text": "public MilitaryMenu() {\n aBtn = new Button(\"Attack\");\n mBtn = new Button(\"Move\");\n addMenuItem(aBtn);\n addMenuItem(mBtn);\n Alert err = new Alert(AlertType.ERROR);\n\n TerrainTile lTile = GameController.getLastClicked().getTile();\n\n aBtn.setOnAction(e -> {\n GameController.attacking();\n GameScreen.getResources().update();\n\n\n });\n\n mBtn.setOnAction(e -> {\n // if (!lTile.isEmpty()) {\n // err.setContentText(\"Not an empty tile!\");\n // err.setTitle(\"Tile not empty!\");\n // err.showAndWait();\n // } else {\n GameController.moving();\n\n //}\n\n });\n\n }",
"title": ""
},
{
"docid": "d10a61d3f33373669d064bc9b758f875",
"score": "0.5661779",
"text": "private void play() {\r\n\t\t\r\n\t\tLabel myLabel = new Label(\"Enter a command: \");\r\n\t\tthis.addComponent(myLabel);\r\n\t\tfinal TextField myTextField = new TextField();\r\n\t\tthis.addComponent(myTextField);\r\n\t\tthis.show();\r\n\t\t\r\n\t\tmyTextField.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent evt) {\r\n\t\t\t\tString sCommand=myTextField.getText().toString();\r\n\t\t\t\tmyTextField.clear();\r\n\t\t\t\tif(sCommand.length()!=0) {\r\n\t\t\t\t\t//if player want to exit game ask for y/n to perform action accordingly.\r\n\t\t\t\t\tif(requestExit) {\r\n\t\t\t\t\t\tswitch(sCommand.charAt(0)) {\r\n\t\t\t\t\t\tcase 'y':\r\n\t\t\t\t\t\t\tSystem.out.println(\"You have exited the game!\");\r\n\t\t\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'n':\r\n\t\t\t\t\t\t\tSystem.out.println(\"Yoh have returned to the game!\\n\");\r\n\t\t\t\t\t\t\trequestExit = false;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tSystem.out.println(\"Select [y] to exit the game OR Select [n] to return to the game.\\n\");\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//or else choose any of the below command to play further.\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tswitch (sCommand.charAt(0)) {\r\n\t\t\t\t\t\tcase'a':\r\n\t\t\t\t\t\t\tgameWorld.aCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'b':\r\n\t\t\t\t\t\t\tgameWorld.bCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'l':\r\n\t\t\t\t\t\t\tgameWorld.lCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'r':\r\n\t\t\t\t\t\t\tgameWorld.rCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'1':\r\n\t\t\t\t\t\tcase'2':\r\n\t\t\t\t\t\tcase'3':\r\n\t\t\t\t\t\tcase'4':\r\n\t\t\t\t\t\tcase'5':\r\n\t\t\t\t\t\tcase'6':\r\n\t\t\t\t\t\tcase'7':\r\n\t\t\t\t\t\tcase'8':\r\n\t\t\t\t\t\tcase'9':\r\n\t\t\t\t\t\t\tgameWorld.nCommand(Integer.parseInt(String.valueOf(sCommand.charAt(0))));\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'f':\r\n\t\t\t\t\t\t\tgameWorld.fCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'g':\r\n\t\t\t\t\t\t\tgameWorld.gCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase't':\r\n\t\t\t\t\t\t\tgameWorld.tCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'd':\r\n\t\t\t\t\t\t\tgameWorld.dCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'm':\r\n\t\t\t\t\t\t\tgameWorld.mCommand();\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase'x':\r\n\t\t\t\t\t\t\tSystem.out.println(\"Select [y] tp exit the game OR Select [n] to return to the game.\\n\");\r\n\t\t\t\t\t\t\trequestExit = true;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t default:\r\n\t\t\t\t\t \tbreak;\r\n\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});\r\n\t}",
"title": ""
},
{
"docid": "04f55e75c13cf104f98ab3ed43736781",
"score": "0.5654894",
"text": "public boolean action(Event e, Object arg)\r\n {\r\n if ((e.target == btnRunStop) || (e.target == itmRunStop))\r\n {\r\n if (mjb.caThread != null)\r\n mjb.stop();\r\n else\r\n mjb.start();\r\n }\r\n else if ((e.target == btnStep) || (e.target == itmStep))\r\n {\r\n mjb.SingleStep();\r\n }\r\n else if (e.target == itmRewind)\r\n {\r\n mjb.RestoreBackup();\r\n }\r\n else if (e.target == itmRefreshStep1)\r\n {\r\n SetRefreshStep(1);\r\n }\r\n else if (e.target == itmRefreshStep10)\r\n {\r\n SetRefreshStep(10);\r\n }\r\n else if (e.target == itmRefreshStep20)\r\n {\r\n SetRefreshStep(20);\r\n }\r\n else if (e.target == itmRefreshStep100)\r\n {\r\n SetRefreshStep(100);\r\n }\r\n else if (e.target == itmRefreshStepPage)\r\n {\r\n SetRefreshStep(-1);\r\n }\r\n else if ((e.target == btnOpen) || (e.target == itmOpen)) // patterns list\r\n {\r\n PatDlg.setVisible(true);\r\n PatDlg.requestFocus();\r\n }\r\n else if ((e.target == btnFav) || (e.target == itmFav))// favourite patterns\r\n {\r\n FavDlg.setVisible(true);\r\n FavDlg.requestFocus();\r\n }\r\n else if ((e.target == btnSlower) || (e.target == itmSlower))\r\n {\r\n RunSlower();\r\n }\r\n else if ((e.target == btnFaster) || (e.target == itmFaster))\r\n {\r\n RunFaster();\r\n }\r\n else if ((e.target == btnRand) || (e.target == itmRand))\r\n {\r\n mjb.Randomize(cmbRandT.getText(), mjb.RAND_VIEW);\r\n }\r\n else if ((e.target == btnSeed) || (e.target == itmSeed))\r\n {\r\n mjb.Seed(cmbSeed.getSelectedItem());\r\n }\r\n else if ((e.target == chkWrap) || (e.target == itmWrap))\r\n {\r\n SetWrapping(!mjb.WrapAtEdges);\r\n }\r\n else if ((e.target == chkGrid) || (e.target == itmGrid))\r\n {\r\n SetGridVisibility(!mjb.DrawGrid);\r\n }\r\n else if (e.target == itmRefresh)\r\n {\r\n mjb.RedrawBoard(true);\r\n }\r\n else if (e.target == itmViewControls)\r\n {\r\n pnlLeft.setVisible(!pnlLeft.isVisible());\r\n this.doLayout();\r\n pnlLeft.doLayout();\r\n }\r\n else if (e.target == itmViewSeed)\r\n {\r\n pnlBotm.setVisible(!pnlBotm.isVisible());\r\n this.doLayout();\r\n pnlBotm.doLayout();\r\n }\r\n else if ((e.target == btnClear) || (e.target == itmClear))\r\n {\r\n mjb.Clear(true);\r\n }\r\n else if (e.target == itmExit)\r\n {\r\n mjb.stop();\r\n setVisible(false);\r\n removeAll();\r\n }\r\n else if (e.target == cmbGames) // one of games selected\r\n {\r\n \tInitRules();\r\n }\r\n else if (e.target == cmbRules) // one of rules selected\r\n {\r\n SendActiveRule();\r\n }\r\n else if ((e.target == chkMon) || (e.target == chkUni))\r\n {\r\n UpdateRandomizingUI();\r\n }\r\n else if (e.target == itmBoardFit) // fit the pattern\r\n mjb.Fit(true);\r\n else if (e.target == itmCellsBigger) // Zoom in\r\n mjb.CellsBigger();\r\n else if (e.target == itmCellsSmaller) // Zoom out\r\n mjb.CellsSmaller();\r\n else if (e.target == itmBoard80x60)\r\n mjb.InitBoard(80, 60, mjb.CellSize);\r\n else if (e.target == itmBoard100x100)\r\n mjb.InitBoard(100, 100, mjb.CellSize);\r\n else if (e.target == itmBoard120x120)\r\n mjb.InitBoard(120, 120, mjb.CellSize);\r\n else if (e.target == itmBoard160x120)\r\n mjb.InitBoard(160, 120, mjb.CellSize);\r\n else if (e.target == itmBoard200x150)\r\n mjb.InitBoard(200, 150, mjb.CellSize);\r\n else if (e.target == itmBoard200x200)\r\n mjb.InitBoard(200, 200, mjb.CellSize);\r\n else if (e.target == itmBoard320x240)\r\n mjb.InitBoard(320, 240, mjb.CellSize);\r\n else if (e.target == itmBoard400x300)\r\n mjb.InitBoard(400, 300, mjb.CellSize);\r\n else if (e.target == itmBoard500x500)\r\n mjb.InitBoard(500, 500, mjb.CellSize);\r\n else if (e.target == itmBoard800x600)\r\n mjb.InitBoard(800, 600, mjb.CellSize);\r\n else if (e.target == itmBoardAnySize)\r\n InputBoardSize();\r\n else if (e.target == itmCloStatesCnt)\r\n InputCountOfStates();\r\n else if (e.target == itmCloCrrState)\r\n InputActiveState();\r\n else if (e.target == itmCloNextState)\r\n mjb.SetCrrState(mjb.CrrState+1);\r\n else if (e.target == itmCloPrevState)\r\n mjb.SetCrrState(mjb.CrrState-1);\r\n else if (e.target == itmCloMtdStd) // standard coloring\r\n SetColoringMethod(1);\r\n else if (e.target == itmCloMtdAlt) // alternate coloring\r\n SetColoringMethod(2);\r\n else if (e.target == itmCPlMjcStd) // \"MJCell Standard\"\r\n SetColorPalette(\"MJCell Standard\");\r\n else if (e.target == itmCPl8Color) // \"8 colors\"\r\n SetColorPalette(\"8 colors\");\r\n else if (e.target == itmCPlRedWht) // \"Red & blue\"\r\n SetColorPalette(\"Red & blue\");\r\n else if (e.target == itmCPlBlu) // \"Dolphin\"\r\n SetColorPalette(\"Dolphin\");\r\n else if (e.target == itmCPlTst) // \"Milky way\"\r\n SetColorPalette(\"Milky way\");\r\n else if (e.target == itmAbout)\r\n {\r\n DialogAbout();\r\n }\r\n else if (e.target == itmInfo) // show Info\r\n {\r\n DialogInfo();\r\n }\r\n else if ((e.target == itmDesc) || (e.target == btnDesc)) // show pattern description\r\n {\r\n DialogDesc();\r\n }\r\n else if ((e.target == btnUserRule) || (e.target == itmUserRule))\r\n {\r\n DefineUserRules();\r\n }\r\n\r\n UpdateUI(); // update dynamic elements of the UI\r\n return true;\r\n }",
"title": ""
}
] |
5e3f5edbaf530663826388dadb2b1ea6 | this label will be used together with a running number for all objects (that are to be tested) to identify them in the output | [
{
"docid": "d79c51d7d3f9f72c7ab1a6f9c495bad1",
"score": "0.5819186",
"text": "public String getObjectsLabel()\r\n {\r\n return objectsLabel;\r\n }",
"title": ""
}
] | [
{
"docid": "e43c4d1624a2f01c3ed773b2162c213f",
"score": "0.64256185",
"text": "void updateIterationsLabel()\r\n {\r\n int numberOfIterations = this.parentUIElement.getGameInstance().getNumberOfIterations();\r\n this.numberOfIterationsLabel.setText(\"\" + numberOfIterations);\r\n }",
"title": ""
},
{
"docid": "b8d5fc37355a69b9c3cb7ffe5554a9d7",
"score": "0.6241094",
"text": "private void analyseObjectsLabels() {\n\t\tSet<Integer> labelsValues = new HashSet<Integer>();\n\t\tfor (int i = 0; i < id.length; i++) {\n\t\t\tif (id[i] != -1) {\n\t\t\t\tlabelsValues.add(id[i]);\n\t\t\t}\n\t\t}\n\t\tlabels = new ArrayList<Integer>();\n\t\tIterator<Integer> iter = labelsValues.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\tlabels.add((Integer) iter.next());\n\t\t}\n\t}",
"title": ""
},
{
"docid": "7abdd2314e1ecdc6054f68bd18126a82",
"score": "0.62011033",
"text": "@Override\n public void run(String... args) {\n if( this.labelRepository.count() == 0 ) {\n // Mock Labels\n List<LabelBO> labels = new ArrayList<>();\n labels.add(new LabelBO(\"ICD_10 ICD_10_Description\"));\n labels.add(new LabelBO(\"A09 Infectious gastroenteritis and colitis\"));\n labels.add(new LabelBO(\"A64 Unspecified sexually transmitted disease\"));\n labels.add(new LabelBO(\"B300 Keratoconjunctivitis due to adenovirus\"));\n labels.add(new LabelBO(\"B302 Viral pharyngoconjunctivitis\"));\n labels.add(new LabelBO(\"B308 Other viral conjunctivitis\"));\n labels.add(new LabelBO(\"B309 Viral conjunctivitis\"));\n labels.add(new LabelBO(\"B373 Candidiasis of vulva and vagina\"));\n labels.add(new LabelBO(\"B9789 Other viral agents as the cause of diseases classified elsewhere\"));\n labels.add(new LabelBO(\"E860 Dehydration\"));\n labels.add(new LabelBO(\"F340 Cyclothymic disorder\"));\n labels.add(new LabelBO(\"F341 Dysthymic disorder\"));\n labels.add(new LabelBO(\"F39 Unspecified mood [affective] disorder\"));\n labels.add(new LabelBO(\"F411 Generalized anxiety disorder\"));\n labels.add(new LabelBO(\"F418 Other specified anxiety disorders\"));\n labels.add(new LabelBO(\"F419 Anxiety disorder\"));\n labels.add(new LabelBO(\"F4321 Adjustment disorder with depressed mood\"));\n labels.add(new LabelBO(\"G43001 Migraine without aura\"));\n labels.add(new LabelBO(\"G43009 Migraine without aura\"));\n labels.add(new LabelBO(\"G43019 Migraine without aura\"));\n labels.add(new LabelBO(\"G43501 Persistent migraine aura without cerebral infarction\"));\n labels.add(new LabelBO(\"G43509 Persistent migraine aura without cerebral infarction\"));\n labels.add(new LabelBO(\"G43519 Persistent migraine aura without cerebral infarction\"));\n labels.add(new LabelBO(\"G43701 Chronic migraine without aura\"));\n labels.add(new LabelBO(\"G43709 Chronic migraine without aura\"));\n labels.add(new LabelBO(\"G43711 Chronic migraine without aura\"));\n labels.add(new LabelBO(\"G43719 Chronic migraine without aura\"));\n labels.add(new LabelBO(\"G43809 Other migraine\"));\n labels.add(new LabelBO(\"G43811 Other migraine\"));\n labels.add(new LabelBO(\"G43819 Other migraine\"));\n labels.add(new LabelBO(\"G43829 Menstrual migraine\"));\n labels.add(new LabelBO(\"G43909 Migraine\"));\n labels.add(new LabelBO(\"G43911 Migraine\"));\n labels.add(new LabelBO(\"G43919 Migraine\"));\n labels.add(new LabelBO(\"G44209 Tension-type headache\"));\n labels.add(new LabelBO(\"G44219 Episodic tension-type headache\"));\n labels.add(new LabelBO(\"G4700 Insomnia\"));\n labels.add(new LabelBO(\"G4701 Insomnia due to medical condition\"));\n labels.add(new LabelBO(\"G5600 Carpal tunnel syndrome\"));\n labels.add(new LabelBO(\"H10029 Other mucopurulent conjunctivitis\"));\n labels.add(new LabelBO(\"H1033 Unspecified acute conjunctivitis\"));\n labels.add(new LabelBO(\"H1044 Vernal conjunctivitis\"));\n labels.add(new LabelBO(\"H1045 Other chronic allergic conjunctivitis\"));\n labels.add(new LabelBO(\"H10509 Unspecified blepharoconjunctivitis\"));\n labels.add(new LabelBO(\"H10819 Pingueculitis\"));\n labels.add(new LabelBO(\"H1089 Other conjunctivitis\"));\n labels.add(new LabelBO(\"H109 Unspecified conjunctivitis\"));\n labels.add(new LabelBO(\"H6020 Malignant otitis externa\"));\n labels.add(new LabelBO(\"H60339 Swimmer's ear\"));\n labels.add(new LabelBO(\"H60399 Other infective otitis externa\"));\n labels.add(new LabelBO(\"H6500 Acute serous otitis media\"));\n labels.add(new LabelBO(\"H65119 Acute and subacute allergic otitis media (mucoid) (sanguinous) (serous)\"));\n labels.add(new LabelBO(\"H65199 Other acute nonsuppurative otitis media\"));\n labels.add(new LabelBO(\"H6520 Chronic serous otitis media\"));\n labels.add(new LabelBO(\"H65499 Other chronic nonsuppurative otitis media\"));\n labels.add(new LabelBO(\"H6590 Unspecified nonsuppurative otitis media\"));\n labels.add(new LabelBO(\"H66009 Acute suppurative otitis media without spontaneous rupture of ear drum\"));\n labels.add(new LabelBO(\"H66019 Acute suppurative otitis media with spontaneous rupture of ear drum\"));\n labels.add(new LabelBO(\"H663X9 Other chronic suppurative otitis media\"));\n labels.add(new LabelBO(\"H6640 Suppurative otitis media\"));\n labels.add(new LabelBO(\"H6690 Otitis media\"));\n labels.add(new LabelBO(\"J00 Acute nasopharyngitis [common cold]\"));\n labels.add(new LabelBO(\"J0100 Acute maxillary sinusitis\"));\n labels.add(new LabelBO(\"J0110 Acute frontal sinusitis\"));\n labels.add(new LabelBO(\"J0130 Acute sphenoidal sinusitis\"));\n labels.add(new LabelBO(\"J0140 Acute pansinusitis\"));\n labels.add(new LabelBO(\"J0190 Acute sinusitis\"));\n labels.add(new LabelBO(\"J029 Acute pharyngitis\"));\n labels.add(new LabelBO(\"J060 Acute laryngopharyngitis\"));\n this.labelRepository.saveAll(labels);\n }\n }",
"title": ""
},
{
"docid": "89c3ba707b2f0090e581784527d08017",
"score": "0.6190159",
"text": "protected GuiTestObject label_no() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_no\"));\n\t}",
"title": ""
},
{
"docid": "078840a2bb9bbe67c772469276239a00",
"score": "0.6060032",
"text": "private void name() {\n\t\tSystem.out.println(counter);\n\t}",
"title": ""
},
{
"docid": "b884e62a32d74e0dd250ff480c175919",
"score": "0.6057107",
"text": "String label();",
"title": ""
},
{
"docid": "b884e62a32d74e0dd250ff480c175919",
"score": "0.6057107",
"text": "String label();",
"title": ""
},
{
"docid": "2a4befca70d52afcbbea327128956625",
"score": "0.6032714",
"text": "public int getLabel() {\n\t\treturn ++labelIndex;\n\t}",
"title": ""
},
{
"docid": "63b7f42a6b00d3f2cfd2659922dff454",
"score": "0.6030912",
"text": "int getLabel();",
"title": ""
},
{
"docid": "f4daa823bd82e097210b6601eecd5eba",
"score": "0.60056275",
"text": "@Test public void getLabelTest() {\n IceCreamCone testCone = new IceCreamCone(\"Ex 1\", 1.0, 2.0);\n Assert.assertEquals(\"Ex 1\", testCone.getLabel());\n }",
"title": ""
},
{
"docid": "97b34acb1bca4fffbd3defdabb4ec7d9",
"score": "0.5893062",
"text": "public String getLabel(int i) {\n\t\treturn tones.get(i % tones.size()).getLabel();\n\t}",
"title": ""
},
{
"docid": "3743bc2134f27c9041a058c0c5241677",
"score": "0.5877273",
"text": "@Override\n\t\tpublic String toString() {\n\t\t\treturn label;\n\t\t}",
"title": ""
},
{
"docid": "3743bc2134f27c9041a058c0c5241677",
"score": "0.5877273",
"text": "@Override\n\t\tpublic String toString() {\n\t\t\treturn label;\n\t\t}",
"title": ""
},
{
"docid": "3743bc2134f27c9041a058c0c5241677",
"score": "0.5877273",
"text": "@Override\n\t\tpublic String toString() {\n\t\t\treturn label;\n\t\t}",
"title": ""
},
{
"docid": "1bf7e5e3ddad6164ec8a272d79a23f9e",
"score": "0.58510804",
"text": "@Test\n public void allureLabelTest() {\n //Custom Fields\n label(\"microservice\", \"Report\");\n label(\"env\", \"Stage\");\n\n //Test Layer\n label(\"layer\", \"Selenium\");\n label(\"layer\", \"API\");\n\n //Members\n label(\"author\", \"eroshenkoam\");\n label(\"author\", \"simple-elf\");\n }",
"title": ""
},
{
"docid": "2b9842f46a1966d7b2b26e870080402c",
"score": "0.5833831",
"text": "public String toString(){\n\t\treturn testCaseNumber+\"\";\n\t}",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "48f23f781bfdd4f5fc8a65d9eba43b08",
"score": "0.5829074",
"text": "String getLabel();",
"title": ""
},
{
"docid": "a40a9397e9eeb7d9404213e065e0e255",
"score": "0.58166105",
"text": "@Test\n\tpublic void testLabel() {\n\t\tText t1 = co1.getLabel();\n\t\tText t2 = co2.getLabel();\n\t\tText t3 = co3.getLabel();\n\t\tassertEquals(\"1\", t1.getText());\n\t\tassertEquals(\"2\", t2.getText());\n\t\tassertEquals(\"3\", t3.getText());\n\n\t}",
"title": ""
},
{
"docid": "e386d24ee95fea8b1990f53a542c2a6f",
"score": "0.575133",
"text": "label createlabel();",
"title": ""
},
{
"docid": "bf4a7577a87aac1c06c46e369efdf901",
"score": "0.57244784",
"text": "private int getLabel(GraphObject go)\r\n\t{\r\n\t\tif (!reachedCount.containsKey(go))\r\n\t\t{\r\n\t\t\t// Absence of label is interpreted as zero\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn reachedCount.get(go);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "63628d8d9a0ebef2aac749dc8693e4ea",
"score": "0.5721493",
"text": "java.lang.String getLabel();",
"title": ""
},
{
"docid": "63628d8d9a0ebef2aac749dc8693e4ea",
"score": "0.5721493",
"text": "java.lang.String getLabel();",
"title": ""
},
{
"docid": "323585ce194ad1ac2efd6c19d3f00a35",
"score": "0.56920344",
"text": "public int getLabel() {\n return label_;\n }",
"title": ""
},
{
"docid": "5c217d62598cf950d438fa1d10f30b10",
"score": "0.56653094",
"text": "String genCallLabel(String indexTerm)\n {\n return genCallMethod(\n \"this\",\n \"label\",\n codeEmitter.genCast( \n iNodeClass, \n genGetNthChild(indexTerm)\n )\n );\n }",
"title": ""
},
{
"docid": "70b77d712ce8cb85bc4fd30a43ce2030",
"score": "0.56517",
"text": "private String getNewLabel(String name) { return name +(_cur_label++); }",
"title": ""
},
{
"docid": "6813e3ce42c2f97219519652aae63f68",
"score": "0.5623332",
"text": "protected abstract String getLabel(Object object);",
"title": ""
},
{
"docid": "18f12d7d9ee952462a95fd59c0e652e6",
"score": "0.55962044",
"text": "private static void printLabel(String label)\n\t{\n\t\tSystem.out.println(label);\t\t\n\t}",
"title": ""
},
{
"docid": "f8fb7201b04e292ebdbca30dc29d8083",
"score": "0.5586921",
"text": "private void createLabels(){\n hostname = createBaseLabel(\"HOSTNAME (OTHER PLAYERS IP\");\n remotePort = createBaseLabel(\"REMOTE PORT\");\n localPort = createBaseLabel(\"LOCAL PORT\");\n }",
"title": ""
},
{
"docid": "0b79480503290bbac4aceb871efc4b9b",
"score": "0.5585023",
"text": "Label getLabel();",
"title": ""
},
{
"docid": "419a34399ad61963c5f15ee377dfe7d1",
"score": "0.557971",
"text": "public static Label generate(String debugName) {\n\t\treturn new Label(debugName+\"_\"+count++);\n\t}",
"title": ""
},
{
"docid": "b9cbf7406a8497b7cf976e930f737937",
"score": "0.5573567",
"text": "public String getLabel();",
"title": ""
},
{
"docid": "b9cbf7406a8497b7cf976e930f737937",
"score": "0.5573567",
"text": "public String getLabel();",
"title": ""
},
{
"docid": "b9cbf7406a8497b7cf976e930f737937",
"score": "0.5573567",
"text": "public String getLabel();",
"title": ""
},
{
"docid": "b9cbf7406a8497b7cf976e930f737937",
"score": "0.5573567",
"text": "public String getLabel();",
"title": ""
},
{
"docid": "8b040c693dab6306832aad84b26a180b",
"score": "0.55723673",
"text": "public String toString() {\n/* 86 */ return this.label;\n/* */ }",
"title": ""
},
{
"docid": "3b66736bd456372590df92ba194fa08f",
"score": "0.5564746",
"text": "@Override\n public void determineLabels() {\n// removeConflicts();\n// if (!stop && points.size()<10000) {\n// giveActiveLabel();\n// int totaldegree = 0;\n// for (Point p : points) {\n// for (Label l : p.possibleLabels) {\n// if (l.active) {\n// totaldegree += cD.getActDegree(l);\n// }\n// }\n// }\n// if (totaldegree < 100000) {\n//\n// while (!stop && changed) {\n// localSearch();\n// }\n// removeOverlap();\n// selectBestResult();\n// } else {\n// points.clear();\n// for (Point p : firstPoints) {\n// points.add(p);\n// }\n// numLabels = firstNumlabels;\n// }\n// }\n removeConflicts();\n giveActiveLabel();\n for (int i = 0; i < 5; i++) {\n localSearch();\n }\n numLabels = points.size();\n removeOverlap();\n //selectBestResult();\n }",
"title": ""
},
{
"docid": "b74b99b009c82efec47729dfee77ab0a",
"score": "0.5556607",
"text": "@Test public void setLabelTestTrue() {\n IceCreamCone testCone = new IceCreamCone(\"Ex 1\", 1.0, 2.0);\n Assert.assertTrue(testCone.setLabel(\"Eat Shit JAVA\")); \n }",
"title": ""
},
{
"docid": "dca5f820d85607315fd3ab41fd8b0cb2",
"score": "0.55443895",
"text": "public int getLabel() {\n return label_;\n }",
"title": ""
},
{
"docid": "29a3e53cce98fec5163122759feb5dfe",
"score": "0.5496575",
"text": "@Override\n public String toString() {\n return this.label;\n }",
"title": ""
},
{
"docid": "450cdcffeedd753ad5ab6a22f8b2543a",
"score": "0.5489044",
"text": "@Override\n public String toString( ) {\n return this.LABEL;\n }",
"title": ""
},
{
"docid": "a39d2dd66124191265ec94f8ee3b4a30",
"score": "0.5487456",
"text": "private void setLabel(GraphObject go, int label)\r\n\t{\r\n\t\treachedCount.put(go, label);\r\n\t}",
"title": ""
},
{
"docid": "622203f32551156ca41f1a0a9cb3758d",
"score": "0.54813987",
"text": "@Test(timeout = 4000)\n public void test109() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString();\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }",
"title": ""
},
{
"docid": "6e6f6a343d23426b14eb4952390435e5",
"score": "0.5460027",
"text": "public String getLabel() {\n/* 72 */ return this.label;\n/* */ }",
"title": ""
},
{
"docid": "5b2e2e40e30495685ddb8fb882a372a5",
"score": "0.54518753",
"text": "@Override\n\tpublic String getLabel() {\n\t\treturn label;\n\t}",
"title": ""
},
{
"docid": "f3dcf1e90ebf7862a3542e10ec58de95",
"score": "0.5440465",
"text": "private void calcLabel(double factorValue, double factorQe, double factorNumber, boolean withValue) {\n // parameter?? anz inputs(nicht verwendet)\n\n TreeMap<String, Label> allLabels = new TreeMap<String, Label>();\n double maxVal = 0;\n double maxQe = 0;\n int count = 0; // number of units containing inputs\n\n Label[] tmpLabels;// = new Label[5];\n for (GeneralUnitPNode unitNode : unitNodes) {\n int num = unitNode.getUnit().getNumberOfMappedInputs();\n if (num > 0) {\n count++;\n }\n tmpLabels = unitNode.getLabels(Unit.LABELSOM);// change if other types of Labels should also be used\n if (tmpLabels != null) {\n Label tmpLabel;\n for (Label tmpLabel2 : tmpLabels) {\n tmpLabel = new Label(tmpLabel2.getName(), tmpLabel2.getValue(), tmpLabel2.getQe());\n\n if (tmpLabel.getValue() > maxVal) {\n maxVal = tmpLabel.getValue();\n }\n if (tmpLabel.getQe() > maxQe) {\n maxQe = tmpLabel.getQe();\n }\n\n if (allLabels.containsKey(tmpLabel.getName())) {\n Label duplicate = allLabels.remove(tmpLabel.getName());\n tmpLabel = new Label(tmpLabel.getName(), (tmpLabel.getValue() + duplicate.getValue()),\n (tmpLabel.getQe() + duplicate.getQe()) / 2);\n }\n allLabels.put(tmpLabel.getName(), tmpLabel);\n }\n }\n }\n\n //\n // beruecksichigen? anz inputs oder anz units mit inputs\n\n TreeSet<ClusterLabel> tmp = new TreeSet<ClusterLabel>();\n\n for (Label l : allLabels.values()) {\n if (!withValue) {\n tmp.add(new ClusterLabel(l.getName(), l.getValue() / count, l.getQe() / count, 0 - (l.getValue()\n / (count * maxVal) * factorValue + (1 - l.getQe() / maxQe) * factorQe)));\n } else {\n tmp.add(new ClusterLabel(l.getName() + \"\\n\" + StringUtils.format(l.getValue() / count, 3), l.getValue()\n / count, l.getQe() / count, 0 - (l.getValue() * factorValue / (count * maxVal) + (1 - l.getQe()\n / maxQe)\n * factorQe)));\n }\n }\n\n this.labels = tmp.toArray(new ClusterLabel[tmp.size()]);\n }",
"title": ""
},
{
"docid": "783ac29cad3abab3bb658eabb93f2895",
"score": "0.5437184",
"text": "@Override\n\tpublic String getLabel()\n\t{\n\t\treturn label;\n\t}",
"title": ""
},
{
"docid": "36da04765ad00dbfdba6645b4eed3063",
"score": "0.54316753",
"text": "public static void main(String[] args) {\n\t\tint N = args.length;\n\t\tint[] dataset = new int[N];\n\t\tint[] count = new int[10];\n\t\t\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tdataset[i] = Integer.parseInt(args[i]);\n\t\t}\n\t\t\n\t\tfor (int j = 0; j < N; j++) {\n\t\t\tcount[dataset[j]]++;\n\t\t}\n\t\n\t\t for (int k = 0; k < 10; k++) {\n\t System.out.print(\"[\" + k + \"s: \" + count[k] + \"]\");\n\t if (count[k] > 0) {\n\t System.out.print(\" \");\n\t for (int m = 0; m < count[k]; m++) {\n\t System.out.print(\".\");\n\t }\n\t }\n\t \n\t System.out.print(\"\\n\");\n\t }\n\t\t\n\t\tint max_index = 0;\n\t\tfor (int n = 1; n < 10; n++) {\n\t\t\tif (count[n] > count[max_index]) max_index = n;\n\t\t}\n\t\tSystem.out.print(\"Mode: \" + max_index);\n\t}",
"title": ""
},
{
"docid": "feaba6e1c66a96dc317987ccf8e8ab3f",
"score": "0.54260486",
"text": "@Test(timeout = 4000)\n public void test034() throws Throwable {\n OneR oneR0 = new OneR();\n String string0 = Evaluation.getGlobalInfo(oneR0);\n assertEquals(\"\\nSynopsis for weka.classifiers.rules.OneR:\\n\\nClass for building and using a 1R classifier; in other words, uses the minimum-error attribute for prediction, discretizing numeric attributes. For more information, see:\\n\\nR.C. Holte (1993). Very simple classification rules perform well on most commonly used datasets. Machine Learning. 11:63-91.\", string0);\n }",
"title": ""
},
{
"docid": "3a7a29af5e85c926f98756078434d858",
"score": "0.5408998",
"text": "public String minNumObjTipText() {\n return \"The minimal number of observations at the terminal nodes (default 2).\";\n }",
"title": ""
},
{
"docid": "ff056635f0fa74fb6db7cef3899b7aba",
"score": "0.54023963",
"text": "private void increment(Label onesLabel, Label tensLabel, Label hundredsLabel) {\r\n\t\tb.addTime();\r\n\t\tint ones = b.getTime() % 10;\r\n\t\tint tens = b.getTime() / 10 % 10;\r\n\t\tint hundreds = b.getTime() / 100;\r\n\r\n\t\tonesLabel.setGraphic(new ImageView(new Image(\"res/digits/\" + ones + \".png\")));\r\n\t\ttensLabel.setGraphic(new ImageView(new Image(\"res/digits/\" + tens + \".png\")));\r\n\t\thundredsLabel.setGraphic(new ImageView(new Image(\"res/digits/\" + hundreds + \".png\")));\r\n\r\n\t}",
"title": ""
},
{
"docid": "b537af0df27ac7ea823d206da20a164e",
"score": "0.54012245",
"text": "protected GuiTestObject label_no(TestObject anchor, long flags) \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_no\"), anchor, flags);\n\t}",
"title": ""
},
{
"docid": "832a5d1575161a76e7b0e3de5e86b83b",
"score": "0.54002947",
"text": "public String getLabel() {\r\n \t\treturn label;\r\n \t}",
"title": ""
},
{
"docid": "768500677b5e80bca4a848cce1dfb3d8",
"score": "0.5386265",
"text": "@Test(timeout = 4000)\n public void test118() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\".bsi\", true);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(\".bsi\\nTotal Number of Instances 0 \\n\", string0);\n }",
"title": ""
},
{
"docid": "f124d4a7e1db739803a6db606a9f1e72",
"score": "0.53844565",
"text": "public void setObjectsLabel(String objectsLabel)\r\n {\r\n this.objectsLabel = objectsLabel;\r\n }",
"title": ""
},
{
"docid": "f2b92fc4ae12c1ebd18d258a2c5f2665",
"score": "0.53706723",
"text": "private void createInventoryLabels(Group root){\n int yOffset = 300;\n int xOffset = 200;\n LinkedList<String> context = new LinkedList<>();\n context.add(\"Name: \");\n context.add(\"Weight: \");\n context.add(\"Damage: \");\n context.add(\"Magic damage: \");\n context.add(\"State: \");\n for (int i = 0; i< controller.getInventory().size(); i++){\n LinkedList<String> stats = controller.getWeaponStats(i);\n for (int j = 0; j < stats.size(); j++){\n if(stats.size() == 4 && j == 3){\n createLabel(xOffset+140*i,yOffset + 30 * j,root,context.get(j+1)+ stats.get(j));\n }\n else{\n createLabel(xOffset+140*i,yOffset + 30 * j,root,context.get(j)+ stats.get(j));\n }\n }\n }\n }",
"title": ""
},
{
"docid": "23c8f7f441b645669407ddbeb8072e6f",
"score": "0.53696555",
"text": "public String toString() {\n String pattern = \"EfficientMarkovModel of order \";\n return pattern + n;\n }",
"title": ""
},
{
"docid": "904ec5eeb14056814a2a8e0085d75766",
"score": "0.5359724",
"text": "protected GuiTestObject label_rearSpoilerAerofoil() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_rearSpoilerAerofoil\"));\n\t}",
"title": ""
},
{
"docid": "94070d1d02ba81fac74336566c576763",
"score": "0.53577256",
"text": "protected GuiTestObject label_yes() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_yes\"));\n\t}",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "a5ba81d47e742bcec6303493f1c4414d",
"score": "0.5344516",
"text": "int getLabelsCount();",
"title": ""
},
{
"docid": "5cc63a7b950277f963d33891742e1bf4",
"score": "0.53420216",
"text": "public String getLabel()\r\n/* 26: */ {\r\n/* 27:80 */ return this.label;\r\n/* 28: */ }",
"title": ""
},
{
"docid": "3ed134a0213af4b210502b084879e0c8",
"score": "0.5340339",
"text": "private void splitLabels() {\n\t\tString yesString = \"Yes\";\n\t\tString noString = \"No\";\n\t\tint tmpLabel;\n\t\t\n\t\tfor(int i = 1; i < dataEntryList.size() ; i++) {\n\t\t\tdataEntryObj = dataEntryList.get(i);\n\t\t\ttmpLabel = Integer.parseInt(dataEntryObj.getLabel());\n\t\t\t\n\t\t\tif (tmpLabel >= labelThreshold) {\n\t\t\t\tdataEntryObj.setLabel(yesString);\n\t\t\t}\n\t\t\telse if (tmpLabel < labelThreshold) {\n\t\t\t\tdataEntryObj.setLabel(noString);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Error. Label value: \" + dataEntryObj.getLabel());\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "a26db73353a2812eb404df1edc5120b5",
"score": "0.53371584",
"text": "public T getLabel();",
"title": ""
},
{
"docid": "f06f4b4164c91f4657906d032f5b64f9",
"score": "0.53338563",
"text": "public void labelTestHelper(Boolean labelOption) throws ImageProcessingException {\n Map config = new LinkedHashMap<>();\n YoloProcessor ypImageSaver = new YoloProcessor();\n\n config.put(\"pbFile\", PB_FILE);\n config.put(\"metaFile\", META_FILE);\n config.put(\"outputDir\", OUTPUT_DIR);\n config.put(\"saveRate\", SAVE_RATE);\n config.put(\"saveImage\", \"local\");\n\n if (labelOption) {\n config.put(\"labelImage\", \"true\");\n } else {\n config.put(\"labelImage\", \"false\");\n }\n\n try {\n ypImageSaver.setupImageProcessing(config, SOURCE_NAME, MODEL_DIRECTORY, testAuthToken, testVantiqServer);\n } catch (Exception e) {\n fail(\"Could not setup the JSON YoloProcessor\");\n }\n File d = new File(OUTPUT_DIR);\n try {\n // Ensure no results from previous tests\n if (d.exists()) {\n deleteDirectory(OUTPUT_DIR);\n }\n\n NeuralNetResults results = ypImageSaver.processImage(getTestImage());\n assert results != null;\n assert results.getResults() != null;\n\n // Should save first image with timestamp\n assert d.exists();\n assert d.isDirectory();\n assert d.listFiles().length == 1;\n assert d.listFiles()[0].getName().matches(timestampPattern);\n\n try {\n // Converting original test image to buffered image, since this is how we save images\n BufferedImage tempOriginal = ImageIO.read(new ByteArrayInputStream(getTestImage()));\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n ImageIO.write(tempOriginal, \"jpg\", baos);\n baos.flush();\n\n // Getting both images as byte arrays and comparing them for equality\n byte[] originalImg = baos.toByteArray();\n byte[] savedImg = Files.readAllBytes(d.listFiles()[0].toPath());\n\n // Based on labelOption, check if they are equal or not equal\n if (labelOption) {\n assertFalse(\"Images should not be identical\", Arrays.equals(originalImg, savedImg));\n } else {\n assertTrue(\"Images should be identical\", Arrays.equals(originalImg, savedImg));\n }\n\n baos.close();\n } catch (IOException e) {\n fail(\"Should not catch exception when checking saved image vs. original.\");\n }\n } finally {\n // delete the directory even if the test fails\n if (d.exists()) {\n deleteDirectory(OUTPUT_DIR);\n }\n\n ypImageSaver.close();\n }\n }",
"title": ""
},
{
"docid": "155923f6c2f73682adde2ef888e6cf0d",
"score": "0.5333695",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "2358e5d252271874fb290be0f06a990d",
"score": "0.53325105",
"text": "public String KValueTipText() {\n return \"Sets the number of randomly chosen attributes. If 0, int(log_2(#predictors) + 1) is used.\";\n }",
"title": ""
},
{
"docid": "94455e9acae0ca5e5ef1ed3a02f236b8",
"score": "0.53220016",
"text": "public static void printnb(Object obj) {\n System.out.print(obj);\n }",
"title": ""
},
{
"docid": "94455e9acae0ca5e5ef1ed3a02f236b8",
"score": "0.53220016",
"text": "public static void printnb(Object obj) {\n System.out.print(obj);\n }",
"title": ""
},
{
"docid": "d1094b20ddb55bd09f747daa28ee3320",
"score": "0.53191555",
"text": "public String getLabel() {\r\n\t\treturn label;\r\n\t}",
"title": ""
},
{
"docid": "d1094b20ddb55bd09f747daa28ee3320",
"score": "0.53191555",
"text": "public String getLabel() {\r\n\t\treturn label;\r\n\t}",
"title": ""
},
{
"docid": "c7e66927a15ef9a97a62dd1c08eff66a",
"score": "0.5318808",
"text": "public String label() {\n return this.label;\n }",
"title": ""
},
{
"docid": "9b7eb58a3ae1804dd11456923257de3b",
"score": "0.5316262",
"text": "public double getLabel() {\r\n return myLabel;\r\n }",
"title": ""
},
{
"docid": "ae475d6a78ba6c1c9818c9b713a2a9ac",
"score": "0.5316002",
"text": "protected GuiTestObject label_alloyWheels() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_alloyWheels\"));\n\t}",
"title": ""
},
{
"docid": "664d450921b6c929af601292b095b642",
"score": "0.5308695",
"text": "@Override\n public void run() {\n for(int i = 0; i < 10; i++) {\n System.out.println(Thread.currentThread().getName() + i + \"YY\");\n }\n }",
"title": ""
},
{
"docid": "cfc4e642c31ac99ad1ba32426d338a9d",
"score": "0.53056836",
"text": "public String getLabel()\n {\n\treturn label;\n }",
"title": ""
},
{
"docid": "b7fa011b28778cd3f7e7829aa1823942",
"score": "0.5300011",
"text": "public abstract String getLabel();",
"title": ""
},
{
"docid": "96b693f8946cc20d9da107fd0a2ff87b",
"score": "0.5296583",
"text": "@Test\n public void test121() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n LabeledWord labeledWord0 = new LabeledWord();\n Label label0 = (Label)errorPage0.ins((Object) labeledWord0);\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n assertTrue(label0._isGeneratedId());\n }",
"title": ""
},
{
"docid": "b6917a043c96fdac2eda7d768ac153eb",
"score": "0.5296502",
"text": "protected GuiTestObject label_bullBars() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_bullBars\"));\n\t}",
"title": ""
},
{
"docid": "4289cd31e3aa6a7ef72b08a28af9231b",
"score": "0.5290254",
"text": "public double getLabel() {\n return this.label;\n }",
"title": ""
},
{
"docid": "972b3d0c54a5d84b71f44f0b1a6ba387",
"score": "0.5290142",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "972b3d0c54a5d84b71f44f0b1a6ba387",
"score": "0.5290142",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "972b3d0c54a5d84b71f44f0b1a6ba387",
"score": "0.5290142",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "972b3d0c54a5d84b71f44f0b1a6ba387",
"score": "0.5290142",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "972b3d0c54a5d84b71f44f0b1a6ba387",
"score": "0.5290142",
"text": "public String getLabel() {\n return label;\n }",
"title": ""
},
{
"docid": "67f844a7e0ab73b2c1c33eb6abbb91b5",
"score": "0.5289359",
"text": "protected GuiTestObject label_lockingWheelNuts() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"label_lockingWheelNuts\"));\n\t}",
"title": ""
},
{
"docid": "9b9579545f66782047fc00a95b9b1596",
"score": "0.5289077",
"text": "@Test\n public void test109() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Label label0 = (Label)errorPage0.legend((Object) \"]\\n[Near: { .h. \");\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n assertTrue(label0._isGeneratedId());\n }",
"title": ""
},
{
"docid": "bafae2984b5f659462a832aaf2959615",
"score": "0.52859867",
"text": "@Override\n public String toString(){\n\n return (\"Instance Size: \" + instanceSize\n + \"\\nComparisons: \" + comparisons\n + \"\\nMovements: \"+ movements\n + \"\\nTime: \"+time+ \" ms\");\n }",
"title": ""
}
] |
3916675b72ab123dc96261198da5630e | Create a task wrapper for callable tasks. | [
{
"docid": "7b6b4938ea55f215ad3142c910a11d69",
"score": "0.7970273",
"text": "public <V> ITaskWrapper newWrapper(Callable<V> task, ITaskResultProcessor<V> processor);",
"title": ""
}
] | [
{
"docid": "d7f5cef40d5b03a14fae65e01f0480c8",
"score": "0.8297425",
"text": "public <V> ITaskWrapper newWrapper(Callable<V> task);",
"title": ""
},
{
"docid": "e72c8f76be17a386f621c8f95b48a119",
"score": "0.7900394",
"text": "public interface ITaskWrapperFactory\n{\n /**\n * Create a task wrapper for callable tasks.\n * <p>\n * The result is discarded.\n *\n * @param task The task to wrap.\n * @return The task wrapper.\n */\n public <V> ITaskWrapper newWrapper(Callable<V> task);\n\n /**\n * Create a task wrapper for runnable tasks.\n * <p>\n * The result is discarded.\n *\n * @param task The task to wrap.\n * @return The task wrapper.\n */\n public ITaskWrapper newWrapper(Runnable task);\n\n /**\n * Create a task wrapper for callable tasks.\n *\n * @param task The task to wrap.\n * @param processor The result processor.\n * @return The task wrapper.\n */\n public <V> ITaskWrapper newWrapper(Callable<V> task, ITaskResultProcessor<V> processor);\n\n /**\n * Create a task wrapper for runnable tasks.\n *\n * @param task The task to wrap.\n * @param processor The result processor.\n * @return The task wrapper.\n */\n public ITaskWrapper newWrapper(Runnable task, ITaskResultProcessor<Void> processor);\n}",
"title": ""
},
{
"docid": "c014966de469e313a4f38dc6927d3b8a",
"score": "0.7697744",
"text": "public ITaskWrapper newWrapper(Runnable task);",
"title": ""
},
{
"docid": "c7754279a78d4d3332230700ead4698a",
"score": "0.75423384",
"text": "public ITaskWrapper newWrapper(Runnable task, ITaskResultProcessor<Void> processor);",
"title": ""
},
{
"docid": "67d551290baf5beafc00ff4bc83bae98",
"score": "0.7492466",
"text": "Task createTask();",
"title": ""
},
{
"docid": "656520b8d76155edc47007388b1c85af",
"score": "0.682257",
"text": "<T> Future<T> sendTask(final Callable<T> callable);",
"title": ""
},
{
"docid": "6a64c0f70f40c26cac96a8722e6e9c11",
"score": "0.6775367",
"text": "@Override\n\tprotected Task<Void> createTask() {\n\t\treturn new Task<Void>() {\n\n\t\t\t@Override\n\t\t\tprotected Void call() throws Exception {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\t\n\t\t};\n\t}",
"title": ""
},
{
"docid": "c572a88d6ed29481b5f806d1bef96acc",
"score": "0.6773482",
"text": "public final <T> RunnableFuture<T> newTaskFor(Callable<T> callable) {\n return new PromiseTask(this, callable);\n }",
"title": ""
},
{
"docid": "f6646c07c7a35647105384f60fc68b6f",
"score": "0.6694577",
"text": "public T createTask(I arg1, int mode);",
"title": ""
},
{
"docid": "b2dc02a50a07b6481d73e74e84904488",
"score": "0.6600689",
"text": "public T createTask(I arg1, K arg3);",
"title": ""
},
{
"docid": "6869f7e2097a8d9c737129dd1eb37f53",
"score": "0.6574646",
"text": "JobTask createTask();",
"title": ""
},
{
"docid": "d87db78baaec227eaf3594547d9d777e",
"score": "0.65418327",
"text": "Composable<T> thenExecute(SimpleTask task);",
"title": ""
},
{
"docid": "3890e2671b83c81b7377d28b998dca28",
"score": "0.65306705",
"text": "private Task(){}",
"title": ""
},
{
"docid": "dd6125c916943a4daf984dcb3954ddea",
"score": "0.65000534",
"text": "public Task() {}",
"title": ""
},
{
"docid": "dd6125c916943a4daf984dcb3954ddea",
"score": "0.65000534",
"text": "public Task() {}",
"title": ""
},
{
"docid": "62e7cc5b04eec12427f4bf353018dc8c",
"score": "0.6428469",
"text": "private interface Task {\n\t\tpublic void execute();\n\t}",
"title": ""
},
{
"docid": "648c67a641d8f6dbb52a4d31295d1b31",
"score": "0.63826764",
"text": "public interface Task<T> {\n\n /**\n * @return the task that should run at the moment.\n */\n T run();\n}",
"title": ""
},
{
"docid": "3b90f57024a00f3178e6d5acc95cc991",
"score": "0.63581264",
"text": "Task<?> getTask();",
"title": ""
},
{
"docid": "eb67e1db58f76f545a062745911d0979",
"score": "0.63547933",
"text": "public interface Task<T> {\r\n /**\r\n * The method runs the object.\r\n * @return the object.\r\n */\r\n T run();\r\n }",
"title": ""
},
{
"docid": "67a36efc6467f43be67a86ec316e8769",
"score": "0.6352668",
"text": "private static Callable<Date> createCallable() {\n\n // How to create a logic that runs on a separate thread\n Callable<Date> task =\n () -> {\n System.out.println(\n \"Callable.. thread starts .. name is === \"\n + Thread.currentThread().getName());\n MainThread.sleep(1);\n System.out.println(\n \"Callable.. thread ends.. name is === \"\n + Thread.currentThread().getName());\n return new Date();\n };\n\n return task;\n }",
"title": ""
},
{
"docid": "c1b78f8af05e4a48c099051a173a70d7",
"score": "0.63038975",
"text": "Task getToTask();",
"title": ""
},
{
"docid": "f3165dcf6d40d37ff8ee3648ed1ce4f7",
"score": "0.6252818",
"text": "public void createNewTask() {\n }",
"title": ""
},
{
"docid": "ab4450c65e5fb1893af06f844a9af0a4",
"score": "0.62280136",
"text": "Task getTask();",
"title": ""
},
{
"docid": "c2a0d0e6cacd82f7b4c1225a0f3816b2",
"score": "0.61895776",
"text": "public T createTask(S arg1, int mode, K arg3);",
"title": ""
},
{
"docid": "41720294e6e8960f8843295a57d5c88d",
"score": "0.6165526",
"text": "public interface Task {\n public <T> T execute();\n}",
"title": ""
},
{
"docid": "282c1883a54e2443c79df4e50c5b5f09",
"score": "0.6147459",
"text": "public interface ITaskFactory<S, I, K, T extends Task> {\n\t\n\t/**\n\t * Creates a new ITask object.\n\t *\n\t * @param arg1 the arg1\n\t * @param mode the mode\n\t * @param arg3 the arg3\n\t * @return the t\n\t */\n\tpublic T createTask(S arg1, int mode, K arg3);\t\n\t\n\t/**\n\t * Creates a new ITask object.\n\t *\n\t * @param arg1 the arg1\n\t * @param arg3 the arg3\n\t * @return the t\n\t */\n\tpublic T createTask(I arg1, K arg3);\t\n\t\n\t/**\n\t * Creates a new ITask object.\n\t *\n\t * @param arg1 the arg1\n\t * @param mode the mode\n\t * @return the t\n\t */\n\tpublic T createTask(I arg1, int mode);\t\n\t\n\t/**\n\t * Checks if is surport.\n\t *\n\t * @param task the task\n\t * @return true, if is surport\n\t */\n\tpublic boolean isSurport(T task);\t\n\t\n\t/**\n\t * Gets the type.\n\t *\n\t * @param task the task\n\t * @return the type\n\t */\n\tpublic byte getType(T task);\n}",
"title": ""
},
{
"docid": "ed9a3e7f69ef14dd28607e9f0baf4824",
"score": "0.61403275",
"text": "public Task() {\n\n\t}",
"title": ""
},
{
"docid": "c02ea756573f07f7d8977c850a33ad77",
"score": "0.612578",
"text": "public interface Task<T> {\n\n T execute();\n}",
"title": ""
},
{
"docid": "2b75a6ceae2f11e92f2c37adae7f9710",
"score": "0.6123541",
"text": "public Task createTask() {\r\n\t\taddFactoryDecision();\r\n\t\treturn Factory.buildTask(this.factoryDecision);\r\n\t}",
"title": ""
},
{
"docid": "708637b600cf916c3945a4ccb8ea7456",
"score": "0.61167014",
"text": "public Task create (Runnable run) {\n return new Task (run, 0, Thread.MIN_PRIORITY);\n }",
"title": ""
},
{
"docid": "784e612c15d2b6dc2d52d6d29018e75e",
"score": "0.60957336",
"text": "<T> Future<T> submit(Callable<T> task);",
"title": ""
},
{
"docid": "858a794eb4ea33f85c6bcedfa7ecbb0a",
"score": "0.60245395",
"text": "public interface TaskDelegate {\n void TaskCompleto(String s);\n}",
"title": ""
},
{
"docid": "278a404a14a8c828d133fa01b5152557",
"score": "0.6013414",
"text": "public Task() {\n\t}",
"title": ""
},
{
"docid": "4a7701fca1bef08ffaf74a93804c040d",
"score": "0.6013282",
"text": "public Task create(Task task) throws TaskSvcException{\n return factory.getTaskSvc().create(task);\n }",
"title": ""
},
{
"docid": "9d7bd367304ec2d225d59a1563f7efc9",
"score": "0.59888613",
"text": "public interface CreateTaskInterface {\n void taskCreated(Task.Priority priority);\n}",
"title": ""
},
{
"docid": "d93ec4979e5c67614272e1c6889b479c",
"score": "0.59810394",
"text": "Task createTask(PipelineContext pipelineContext, TransferFileGroup transferFileGroup, TaskGroup taskGroup);",
"title": ""
},
{
"docid": "35e09c577316915d451c945f33b89390",
"score": "0.59639645",
"text": "public interface TaskListener {\n\n TaskListener NULL = new TaskListener() {\n @Override\n public void act(String result, Task task, Exception e) {}\n };\n /**\n * this method will be called from RequestTask after his job getting done\n * @param result\n * @param task\n */\n void act(String result, Task task, Exception e);\n}",
"title": ""
},
{
"docid": "c5bf2cffc1863e3a2233066c621c075b",
"score": "0.59473103",
"text": "public static Task makeTask(\r\n\t\t\tString signature,\r\n\t\t\tString subsignature,\r\n\t\t\tString description,\r\n\t\t\tNamespace targetNamespace,\r\n\t\t\tEnvironment environment) throws Exception\r\n\t{\r\n\t\treturn CoreFactory.makeTask(signature, subsignature, description, targetNamespace, environment);\r\n\t}",
"title": ""
},
{
"docid": "5158f699fe65b70b9bb5720ef4ac8322",
"score": "0.59352297",
"text": "@Override\n\tprotected Task<EmailLoginResult> createTask() {\n\t\t\n\t\treturn new Task<EmailLoginResult>() {\n\t\t\t@Override\n\t\t\tprotected EmailLoginResult call() throws Exception {\n\t\t\t\t\n\t\t\t\treturn login();\n\t\t\t}\n\t\t};\n\t}",
"title": ""
},
{
"docid": "fa8b6d2e21d6ed5276bd769abed1d84c",
"score": "0.59134126",
"text": "public interface Task {\n /**\n * Returns current task number.\n *\n * @return task number value\n */\n int getTaskNumber();\n\n /**\n * Runs the task.\n */\n void run();\n\n /**\n * Returns a header generated to identify current task run.\n *\n * @return task header {@link String}\n */\n String getTaskHeader();\n}",
"title": ""
},
{
"docid": "7d35e03da66d8b693bc7fb245a5e4d5f",
"score": "0.5913379",
"text": "@Override\n protected Task createTask() {\n\n return new Task() {\n @Override\n protected Object call() throws Exception {\n System.out.println(\"Assembling started: \" + System.currentTimeMillis());\n moleculeAssembler = new MoleculeAssembler(atoms, sequenceLength);\n moleculeAssembler.assembleMolecules();\n\n return null;\n }\n };\n }",
"title": ""
},
{
"docid": "0d664691ad1782baf71b8ab9c83fa328",
"score": "0.5865542",
"text": "public Task getTask();",
"title": ""
},
{
"docid": "6ecba059cd91759a806f8c5de39becbc",
"score": "0.5864975",
"text": "public Task build() {\n return new Task(name, description, isCompleted);\n }",
"title": ""
},
{
"docid": "9740644ddb1aed2deec6d1d62484f319",
"score": "0.5849494",
"text": "public BasicCommandTaskExecutor() {\n this(BasicCommandTaskExecutor::getCommandLauncher);\n }",
"title": ""
},
{
"docid": "5d647b3675ed1666dc9421135038ce15",
"score": "0.58434886",
"text": "private CallXINSTask createCallXINSTask() {\n Project project = new Project();\n project.init();\n CallXINSTask callTask = new CallXINSTask();\n callTask.setProject(project);\n return callTask;\n }",
"title": ""
},
{
"docid": "4dc5af23d2a44a7a1e79e89e5e7bdff7",
"score": "0.5831076",
"text": "public abstract <T> Future<T> submitVMTask(Callable<T> task);",
"title": ""
},
{
"docid": "2cf7fda7d0fc2b902615e36a88ab1022",
"score": "0.58282065",
"text": "public interface TransferDelegate {\n\n /**\n * Initiates a transfer file group.\n *\n * @param transferFileGroup\n * the {@link TransferFileGroup} to initiate\n * @return the initiated {@link TransferFileGroup}\n */\n TransferFileGroup initiateTransferFileGroup(TransferFileGroup transferFileGroup);\n\n /**\n * Completes a transfer file group.\n *\n * @param transferFileGroup\n * the {@link TransferFileGroup} to complete\n * @param taskOutput\n * the output of the task that performed the transfer\n * @return the completed {@link TransferFileGroup}\n */\n TransferFileGroup completeTransferFileGroup(TransferFileGroup transferFileGroup, TaskOutput taskOutput);\n\n /**\n * Aborts a transfer.\n *\n * @param transferFileGroup\n * the {@link TransferFileGroup} to abort\n */\n void abortTransferFileGroup(TransferFileGroup transferFileGroup);\n\n /**\n * Updates the content repository.\n *\n * @param pipelineContext\n * the pipeline context\n * @param transfer\n * the transfer\n */\n void updateContentRepository(PipelineContext pipelineContext, Transfer transfer);\n\n /**\n * Cleans up the content repository.\n *\n * @param pipelineContext\n * the pipeline context\n */\n void cleanupContentRepository(PipelineContext pipelineContext);\n\n\n /**\n * Creates the task that will perform the transfer.\n *\n * @param pipelineContext\n * the pipeline context\n * @param transferFileGroup\n * the transferFileGroup\n * @param taskGroup\n * the task group the task belongs to\n * @return the created task.\n */\n Task createTask(PipelineContext pipelineContext, TransferFileGroup transferFileGroup, TaskGroup taskGroup);\n\n}",
"title": ""
},
{
"docid": "0098baefad6b36f074b9b2775e45a776",
"score": "0.58278775",
"text": "public MyScheduledTask(Runnable runnable, V result, RunnableScheduledFuture<V> task,\r\n ScheduledThreadPoolExecutor executor) {\r\n super(runnable, result);\r\n this.task = task;\r\n this.executor = executor;\r\n }",
"title": ""
},
{
"docid": "f18e542f1cca9c50327beac304a34dc5",
"score": "0.5824965",
"text": "public AbstractTask () {\n }",
"title": ""
},
{
"docid": "8e17fd889bc87b28a0d2c6462ce52e36",
"score": "0.5816929",
"text": "private static CalculationTask createTask(\n int rowIndex,\n int columnIndex,\n CalculationTarget target,\n Column column) {\n\n Measure measure = column.getMeasure(target);\n Optional<ConfiguredFunctionGroup> functionGroup = column.getPricingRules().functionGroup(target, measure);\n\n // Use the mappings from the market data rules, else create a set of mappings that cause a failure to\n // be returned in the market data with an error message saying the rules didn't match the target\n MarketDataMappings marketDataMappings =\n column.getMarketDataRules().mappings(target)\n .orElse(NoMatchingRuleMappings.INSTANCE);\n\n ReportingRules reportingRules = column.getReportingRules();\n\n FunctionConfig<?> functionConfig = functionGroup\n .map(group -> functionConfig(group, target, column))\n .orElse(FunctionConfig.missing());\n\n Map<String, Object> functionArguments = functionGroup\n .map(ConfiguredFunctionGroup::getArguments)\n .orElse(ImmutableMap.of());\n\n return CalculationTask.of(\n target,\n measure,\n rowIndex,\n columnIndex,\n functionConfig.createFunction(functionArguments),\n marketDataMappings,\n reportingRules);\n }",
"title": ""
},
{
"docid": "226bd781773ce4fa11adf5a1a8b465a8",
"score": "0.5814715",
"text": "private static Runnable createRunnable() {\n\n // How to create a logic that runs on a separate thread\n Runnable task =\n () -> {\n System.out.println(\n \"Runnable.. New thread starts .. name is === \"\n + Thread.currentThread().getName());\n MainThread.sleep(2);\n System.out.println(\n \"Runnable.. New thread ends.. name is === \"\n + Thread.currentThread().getName());\n };\n\n return task;\n }",
"title": ""
},
{
"docid": "19a31e3f22e77241cedb7784094da059",
"score": "0.5796524",
"text": "Task createTask( String applicationName ) throws UnknownApplicationException;",
"title": ""
},
{
"docid": "f7702e11a2b9538bbec1028415c40101",
"score": "0.577908",
"text": "public static Task createRequest (Runnable run) {\n return DEFAULT.create (run);\n }",
"title": ""
},
{
"docid": "f10506a7b8b762af7d70f8c0de44cc5f",
"score": "0.57773197",
"text": "public interface BuilderTask <M,N> extends Task {\n public void init(String id, String indexPath, CommClient localScedulerClient, CommClient dataHandlerClient, CommClient heartBeatClient);\n\n public HashMap<M,N> userFunction(LinkedList<String> input, HashMap<M,N> prevOutput);\n\n public List<Message.DataPair> convertMapToProtoBuf(HashMap<M,N> map);\n\n public HashMap<M,N> convertProtoBufToMap(List<Message.DataPair> dataPairList);\n}",
"title": ""
},
{
"docid": "3890f7e53f1efc2b2bc36cefd4138a40",
"score": "0.57719016",
"text": "public interface ITask {\n\n void execute();\n}",
"title": ""
},
{
"docid": "d66d75c55e9c56f8f8e6374d5b6bc804",
"score": "0.5764756",
"text": "@Inject(\n method = \"createTask\",\n at = @At(\"HEAD\"),\n cancellable = true\n )\n private void onCreateTask(Runnable runnable, CallbackInfoReturnable<Runnable> cir) {\n MinecraftClient this_ = (MinecraftClient) (Object) this;\n if (this_.isOnThread()) {\n if (CommonNetworkClient.getIsProcessingRedirectedMessage()) {\n ClientWorld currWorld = this_.world;\n Runnable newRunnable = () -> {\n CommonNetworkClient.withSwitchedWorld(currWorld, runnable);\n };\n cir.setReturnValue(newRunnable);\n }\n }\n }",
"title": ""
},
{
"docid": "2bdab5464f9e514d8621603713bc8d69",
"score": "0.57646024",
"text": "Composable<T> thenExecute(ConsumingTask<T> task);",
"title": ""
},
{
"docid": "4c53be3ce0652ee769bb4fda09326f52",
"score": "0.5737759",
"text": "<T> Future<T> sendTaskTo(final Server server, final Callable<T> callable);",
"title": ""
},
{
"docid": "87941a6b6948f42a9f84f8f45de13e38",
"score": "0.5715405",
"text": "static <I, O> ListenableFuture<O> create(ListenableFuture<I> input, AsyncFunction<? super I, ? extends O> function, Executor executor) {\n/* 48 */ Preconditions.checkNotNull(executor);\n/* 49 */ AsyncTransformFuture<I, O> output = new AsyncTransformFuture<>(input, function);\n/* 50 */ input.addListener(output, MoreExecutors.rejectionPropagatingExecutor(executor, output));\n/* 51 */ return output;\n/* */ }",
"title": ""
},
{
"docid": "c240d9bcbb9364a81c25f56fb5cfc768",
"score": "0.57136846",
"text": "public interface Task{\r\n\r\n\tString getId();\r\n /**\r\n * Set <code>TaskListener</code> to the task.\r\n * \r\n * @param listener\r\n * a <code>TaskListener</code> object\r\n * @see com.jinfonet.webreport.util.concurrent.TaskListener\r\n */\r\n void setTaskListener(TaskListener listener);\r\n\r\n /**\r\n * Set <code>TaskConext<code> to the task.\r\n * \r\n * @param context\r\n * a <code>TaskContext</code> object\r\n * @see com.jinfonet.webreport.util.concurrent.TaskContext\r\n */\r\n void setTaskContext(TaskContext context);\r\n\r\n /**\r\n * Execute the task.\r\n */\r\n void execute();\r\n\r\n}",
"title": ""
},
{
"docid": "22b7449fa369a4f47d4b51b1fee92220",
"score": "0.5713216",
"text": "public ImportantTask(TaskInterface task) {\n this.task = task;\n\n}",
"title": ""
},
{
"docid": "e3542251df65ceb7fbf691fe5df8a4d7",
"score": "0.57013726",
"text": "public interface ITaskExecutor {\n /**\n * 执行任务\n * @param param 传入的参数\n * @throws Exception 异常\n */\n public void exec(Object param) throws Exception;\n}",
"title": ""
},
{
"docid": "511dd2667761121662338a35f46b3693",
"score": "0.56813043",
"text": "interface Task extends Runnable,Comparable<AbstractTask>{\n\t\n\t/**\n\t * Get task name\n\t */\n\tString getName();\n\t\n\t/**\n\t * Get task id\n\t * @return\n\t */\n\tString getId();\n\t\n\t/**\n\t * Get task state\n\t * @return\n\t */\n\tcom.lenovo.priestsql.task.TaskState getTaskState();\n\t\n\t/**\n\t * Get task start time\n\t * @return\n\t */\n\tlong getStartTime();\n\t\n\t/**\n\t * Get task finish time\n\t * @return\n\t */\n\tlong getFinishTime();\n\t\n\t/**\n\t * Get task throws <code>Exception</code> or <code>Error</code> when task is running.\n\t * @return\n\t */\n\tThrowable getThrowable();\n\t\n\t/**\n\t * Run task\n\t */\n\tvoid run();\n}",
"title": ""
},
{
"docid": "8e2be27d9b2b801038aed7418520d3b0",
"score": "0.5652974",
"text": "Task createTask( String applicationName, String taskId ) throws UnknownApplicationException;",
"title": ""
},
{
"docid": "8cd3c42349db790f6f9bbc6721b2ee3e",
"score": "0.56431776",
"text": "@Deprecated\npublic interface Task {\n /**\n * Called every time the trigger is fired\n * @param task\n */\n void execute(TaskInfo task);\n}",
"title": ""
},
{
"docid": "0f7788a4f01a45d8c12c8b2c045207aa",
"score": "0.5642077",
"text": "interface TaskRunnableMethods {\n void setCurrentThread(Thread currentThread);\n Thread getCurrentThread();\n TaskRunnable getTaskRunnable();\n void completedJob();\n }",
"title": ""
},
{
"docid": "648b568653509a7b776d3a6c5324bbb2",
"score": "0.5633764",
"text": "Task createTask( String applicationName, boolean persistent ) throws UnknownApplicationException;",
"title": ""
},
{
"docid": "554d66cab24337c6504990df06129c51",
"score": "0.5632875",
"text": "<R> Composable<R> thenExecute(ProducingTask<R> task);",
"title": ""
},
{
"docid": "bff2cc6220f1a201351b31de7eb3deb7",
"score": "0.56247014",
"text": "public static TaskTokenBuilder of() {\n return new TaskTokenBuilder();\n }",
"title": ""
},
{
"docid": "e7afd34d2381b0ce7f3e033dfd0326ee",
"score": "0.5621627",
"text": "public Task() {\n this.audit = new Audit();\n }",
"title": ""
},
{
"docid": "dc9588dbd9d50818dc548a715294ee70",
"score": "0.56156147",
"text": "public static ConverterKernel makeConverter(Task task, ConverterTester tester)\r\n\t{\r\n\t\treturn CoreFactory.makeConverter(task, tester);\r\n\t}",
"title": ""
},
{
"docid": "bd934050af5959f20d180ed1886434d1",
"score": "0.56088763",
"text": "<T> List<Future<T>> sendTaskToAll(final Callable<T> callable);",
"title": ""
},
{
"docid": "66380e7171a8b7bae2b591e06dd6cdab",
"score": "0.56063277",
"text": "void execute(Runnable task);",
"title": ""
},
{
"docid": "37490ba6f7b79f3165e37b1cdc644729",
"score": "0.5589101",
"text": "void taskExecuted();",
"title": ""
},
{
"docid": "5daf0c8000b57ccb397a43f1ac5e2634",
"score": "0.5587855",
"text": "Future<?> submit(Runnable task);",
"title": ""
},
{
"docid": "c5594ff34bd7324fd327d0ffc94e67b6",
"score": "0.5587854",
"text": "public Tasks() {\n\t\t\n\n\t}",
"title": ""
},
{
"docid": "da536f5f5617f36dac033f3ccf390919",
"score": "0.55715835",
"text": "Composable<T> thenWaitFor(SimpleTask task);",
"title": ""
},
{
"docid": "30a0b5c1b28647ecab731b4c4d6718ef",
"score": "0.557011",
"text": "public interface CliTask {\n public void execute() throws Exception;\n}",
"title": ""
},
{
"docid": "541e1ea2c79f5842cba29023e3bb97a8",
"score": "0.55683273",
"text": "public <T> void execute(Task<T> t) throws RemoteException;",
"title": ""
},
{
"docid": "72c8332016c92653c82052324f562b03",
"score": "0.55485815",
"text": "@FunctionalInterface\n interface BridgeCallable<T> {\n T call() throws IOException;\n }",
"title": ""
},
{
"docid": "890be153a355ce1753aad25b3da06815",
"score": "0.5523113",
"text": "public final <T> RunnableFuture<T> newTaskFor(Runnable runnable, T t) {\n return new PromiseTask(this, runnable, t);\n }",
"title": ""
},
{
"docid": "354e535485d57a494b662251e35347b7",
"score": "0.5508671",
"text": "public interface ReturnToStartTask extends Task {\r\n}",
"title": ""
},
{
"docid": "e87c07d97266543d36d527bb87a5ae5a",
"score": "0.54916507",
"text": "public interface RealtimeExecutorFactory {\n\n ExecutorService create();\n}",
"title": ""
},
{
"docid": "704445d78ab778e02885b1dafbe45b84",
"score": "0.5489181",
"text": "public interface Task<R> extends Serializable {\n\n\t/**\n\t * Have all the inputs and conditions been met for this task to execute\n\t * @return true if task is ready for execution\n\t */\n\tboolean isReady();\n\t\n\t/**\n\t * Sets the target of the task in a DAG\n\t * @param targetUid UID of task to send output to\n\t * @param targetPort input slot of Target task to send output to\n\t */\n\tvoid setTarget(long targetUid, int targetPort);\n\n\t/**\n\t * Sets an input on this task\n\t * @param num slot\n\t * @param value to set to\n\t */\n\tvoid setInput(int num, Object value);\n\n\t/**\n\t * Sets the runtime of worst performing execution path to this task in DAG\n\t * @param timeInf runtime sum to this point\n\t */\n\tvoid addCriticalLengthOfParent(double timeInf);\n\t\n\t/**\n\t * Sets the Unique Idetifier of this space (called by Space)\n\t * @param uid to set\n\t */\n\tvoid setUid(long uid);\n\n\t/**\n\t * Gets the assigned Unique ID of this task\n\t * @return the UID\n\t */\n\tlong getUID();\n\n\t/**\n\t * Gets the UID of the target task that this task should send output to\n\t * @return\n\t */\n\tlong getTargetUid();\n\n\t/**\n\t * Get the target port this task will send output to\n\t * @return\n\t */\n\tint getTargetPort();\n\n\t/**\n\t * Called by Computer to execute this task\n\t * @param currentState at the time it is called (updated via UpdateState() method)\n\t * @param callback for sending partial results back to computer\n\t * @return a final Result back to the space\n\t */\n\tResult<R> call(SharedState currentState, ComputerCallback<R> callback);\n\t\n\t/**\n\t * Updates the known state in the executing task\n\t * @param updatedState\n\t */\n\tvoid updateState(SharedState updatedState);\n\t\n\t/**\n\t * Gets the priority of this Task\n\t * (Used by some schedulers to priorities execution)\n\t * @return priority (greater value is higher priority)\n\t */\n\tint getPriority();\n\t\n\t/**\n\t * Should this task be run on Space\n\t * (Only implemented on certain scheduleres)\n\t * @return true if runnable of the space\n\t */\n\tboolean isSpaceRunnable();\n\t\n\t/**\n\t * Gets the name of the task\n\t * Useful for tracing through the system\n\t * Ex: Add, Compare, TSP, Fibbinachi, Ramsey, etc..\n\t * @return the name\n\t */\n\tString getName();\n}",
"title": ""
},
{
"docid": "d29cb1dae36f8bf9ee4fd02f27ce326f",
"score": "0.54851484",
"text": "<R> Composable<R> thenExecute(TransformingTask<T, R> task);",
"title": ""
},
{
"docid": "45a5b8bb99adfb56ea2503ec5d3f7bf5",
"score": "0.5475142",
"text": "<E> E executeWithRetries(Callable<E> task);",
"title": ""
},
{
"docid": "c9f0cd2e196e3c35562e926808d60379",
"score": "0.54718804",
"text": "<V> Future<V> submit(int priority, Callable<V> task);",
"title": ""
},
{
"docid": "bc920314e3859cd5fa952b94a65d8287",
"score": "0.54450285",
"text": "Task<?> buildTask(Task<?> nextTask) {\n Task<Result> task = (result, context) -> {\n if (completionHandler != null) {\n completionHandler.handle(new TestResultImpl(name, result.beginTime, result.duration(), result.failure));\n }\n nextTask.execute(null, context);\n };\n for (int count = 0;count < repeat;count++) {\n task = runTask(task);\n }\n return task;\n }",
"title": ""
},
{
"docid": "0ed873540166c050db873c23bf6ca22d",
"score": "0.5431445",
"text": "public interface ScheduledTask extends Runnable, ConfigAware {\n\n\t/** Returns the initial delay of the scheduled task in number of ticks. */\n\tdefault int getInitialDelayInTicks() {\n\t\treturn 1;\n\t}\n\n\t/**\n\t * Returns the interval of the scheduled task in ticks (inclusive),\n\t * so an interval of 2 means it's executed every other tick (and not *skipping* 2 ticks).\n\t */\n\tdefault int getIntervalInTicks() {\n\t\treturn 1;\n\t}\n}",
"title": ""
},
{
"docid": "a0c85e9cbd231230d4d51f6f9e17fb1a",
"score": "0.5420119",
"text": "public void createTask(IListTask listTask) {\n listTask.add(taskFactory.createTask());\n }",
"title": ""
},
{
"docid": "3ac744ce3e344d6eb2dfe76ebf741131",
"score": "0.5412447",
"text": "public interface Task extends Runnable {\n public String getName();\n}",
"title": ""
},
{
"docid": "da72823abe851bc11f222d755dde0428",
"score": "0.54010826",
"text": "Task(String name) {\n this.isDone = false;\n this.name = name;\n }",
"title": ""
},
{
"docid": "af1aba0ca4013ba100bab72b835bb4e1",
"score": "0.5388535",
"text": "public ATTask(final Task task) {\n this.task = task;\n }",
"title": ""
},
{
"docid": "4789be699bd3fb5c8e6a7d2af3236d0f",
"score": "0.5370194",
"text": "public interface ICallable {\n void startCall(Call call);\n void stopCall(Call call);\n}",
"title": ""
},
{
"docid": "2ca1399fc16491ee898acd47c38d2098",
"score": "0.5363582",
"text": "public interface Composable<T> {\n\n /**\n * <p>Executes an asynchronous runnable task<p>\n *\n * @param task task which takes no input and returns no output\n * @return chained composable\n */\n Composable<T> thenExecute(SimpleTask task);\n\n /**\n * <p>Executes set of asynchronous runnable tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param tasks @return chained composable\n */\n Composable<T> thenExecuteTogether(SimpleTask... tasks);\n\n /**\n * <p>Synchronously executes a runnable task</p>\n *\n * @param task task which takes no input and returns no output\n * @return chained composable\n */\n Composable<T> thenWaitFor(SimpleTask task);\n\n /**\n * <p>Executes an asynchronous consumer task<p>\n *\n * @param task task which takes an input but returns no output\n * @return chained composable\n */\n Composable<T> thenExecute(ConsumingTask<T> task);\n\n /**\n * <p>Executes set of asynchronous consumer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param tasks supplier of tasks which takes an input but returns no output\n * @return chained composable\n */\n @SuppressWarnings(\"unchecked\")\n Composable<T> thenExecuteTogether(ConsumingTask<T>... tasks);\n\n /**\n * <p>Expands the upstream value to a collection, executes an asynchronous consumer task for each value in that collection concurrently and waits for all to complete</p>\n *\n * @param distributor function which takes upstream result as an input and returns a collection from it\n * @param task task to be run for each value in the collection returned from expander\n * @param <S> type of value to be consumed by task\n * @return chained composable\n */\n <S> Composable<T> thenExecuteForEach(Distributor<T, Collection<S>> distributor, ConsumingTask<S> task);\n\n /**\n * <p>Synchronously executes a consumer task</p>\n *\n * @param task task which takes an input but returns no output\n * @return chained composable\n */\n Composable<T> thenWaitFor(ConsumingTask<T> task);\n\n /**\n * <p>Executes an asynchronous producer task<p>\n *\n * @param task task which takes no input but returns an output\n * @param <R> type of task output\n * @return chained composable\n */\n <R> Composable<R> thenExecute(ProducingTask<R> task);\n\n /**\n * <p>Executes collection of asynchronous producer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n * <p>The order of results received to the collector is only guaranteed if the collection implementation for tasks provided is an order one, such as {@link java.util.LinkedHashSet}</p>\n *\n * @param <S> type of task output\n * @param <R> type of collector output\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param tasks task which takes no input but produces an output of type S\n * @return chained composable\n */\n @SuppressWarnings(\"unchecked\")\n <S, R> Composable<R> thenExecuteTogether(Collector<T, Set<S>, R> resultsCollector, ProducingTask<S>... tasks);\n\n /**\n * <p>Executes asynchronous producer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param task1 task which takes no input but returns an output of type S\n * @param task2 task which takes no input but returns an output of type U\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param <S> type of task1 output\n * @param <U> type of task2 output\n * @param <R> type of collector output\n * @return chained composable\n */\n <S, U, R> Composable<R> thenExecuteTogether(ProducingTask<S> task1, ProducingTask<U> task2, BiCollector<T, S, U, R> resultsCollector);\n\n /**\n * <p>Executes asynchronous producer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param task1 task which takes no input but returns an output of type S\n * @param task2 task which takes no input but returns an output of type U\n * @param task3 task which takes no input but returns an output of type V\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param <S> type of task1 output\n * @param <U> type of task2 output\n * @param <V> type of task2 output\n * @param <R> type of collector output\n * @return chained composable\n */\n <S, U, V, R> Composable<R> thenExecuteTogether(ProducingTask<S> task1, ProducingTask<U> task2, ProducingTask<V> task3, TriCollector<T, S, U, V, R> resultsCollector);\n\n /**\n * <p>Synchronously executes a producer task</p>\n *\n * @param task task which takes no input but returns an output\n * @param <R> type of task output\n * @return chained composable\n */\n <R> Composable<R> thenWaitFor(ProducingTask<R> task);\n\n /**\n * <p>Executes an asynchronous transformer task<p>\n *\n * @param task task which takes an input and transforms it into an output\n * @param <R> type of task output\n * @return chained composable\n */\n <R> Composable<R> thenExecute(TransformingTask<T, R> task);\n\n /**\n * <p>Executes collection of asynchronous transformer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n * <p>The order of results received to the collector is only guaranteed if the collection implementation for tasks provided is an order one, such as {@link java.util.LinkedHashSet}</p>\n *\n * @param <S> type of task output\n * @param <R> type of collector output\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param tasks task which takes an input and produce an output of type S\n * @return chained composable\n */\n @SuppressWarnings(\"unchecked\")\n <S, R> Composable<R> thenExecuteTogether(Collector<T, Set<S>, R> resultsCollector, TransformingTask<T, S>... tasks);\n\n /**\n * <p>Executes asynchronous transformer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param task1 task which takes an input and transforms it into an output of type S\n * @param task2 task which takes an input and transforms it into an output of type U\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param <S> type of task1 output\n * @param <U> type of task2 output\n * @param <R> type of collector output\n * @return chained composable\n */\n <S, U, R> Composable<R> thenExecuteTogether(TransformingTask<T, S> task1, TransformingTask<T, U> task2, BiCollector<T, S, U, R> resultsCollector);\n\n /**\n * <p>Executes asynchronous transformer tasks concurrently and waits for all to complete.</p>\n * <p>The order of execution is never guaranteed.</p>\n *\n * @param task1 task which takes an input and transforms it into an output of type S\n * @param task2 task which takes an input and transforms it into an output of type U\n * @param task3 task which takes an input and transforms it into an output of type V\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param <S> type of task1 output\n * @param <U> type of task2 output\n * @param <V> type of task3 output\n * @param <R> type of collector output\n * @return chained composable\n */\n <S, U, V, R> Composable<R> thenExecuteTogether(TransformingTask<T, S> task1, TransformingTask<T, U> task2, TransformingTask<T, V> task3, TriCollector<T, S, U, V, R> resultsCollector);\n\n /**\n * <p>Expands the upstream value to a collection, executes an asynchronous transformer task for each value in that collection concurrently and waits for all to complete</p>\n *\n * @param distributor function which takes upstream result as an input and returns a collection from it\n * @param task task to be run for each value in the collection returned from expander\n * @param resultsCollector function which takes results received from tasks as an input and collects them into a data structure/pojo\n * @param <S> type of value to be transformed by task\n * @param <U> type of task output\n * @param <R> type of collector output\n * @return chained composable\n */\n <S, U, R> Composable<R> thenExecuteForEach(Distributor<T, Collection<S>> distributor, TransformingTask<S, U> task, Collector<T, Set<Pair<S, U>>, R> resultsCollector);\n\n /**\n * <p>Synchronously executes a transformer task</p>\n *\n * @param task task which takes an input and transforms it into an output\n * @param <R> type of task output\n * @return chained composable\n */\n <R> Composable<R> thenWaitFor(TransformingTask<T, R> task);\n\n /**\n * <p>Applies specified condition and continues only if it returns true.</p>\n * <p>If condition returns false, you will receive {@link ComposerException} in the provided {@link ErrorStream}</p>\n *\n * @param validator function which provides condition to check\n * @return chained composable\n */\n Composable<T> thenContinueIf(Validator<T> validator);\n\n /**\n * <p>discontinues chaining of tasks and completes the awaiting task execution</p>\n */\n void thenFinish();\n\n /**\n * <p>discontinues chaining of tasks, completes the awaiting task execution and supplies the last producing task result</p>\n *\n * @param upstreamResultConsumer consumer receiving an output of the last producing task in the discontinued chain\n */\n void thenFinish(ConsumingTask<T> upstreamResultConsumer);\n}",
"title": ""
},
{
"docid": "5436e3ceea9291592db4d6be5c4cf234",
"score": "0.5354842",
"text": "public interface NetTask<T> {\n void execute(T data,LoadTasksCallBack callBack);\n}",
"title": ""
},
{
"docid": "927ed7b712be46ab5ec61d2680f292e4",
"score": "0.5346826",
"text": "void execute(TaskInfo task);",
"title": ""
},
{
"docid": "1eb65d14183d31d9aba37db6aef69542",
"score": "0.53408366",
"text": "void add(final Task task);",
"title": ""
},
{
"docid": "8ed24cb1b370c1c49f7fcd129628d393",
"score": "0.5336042",
"text": "static public ThreadCB do_create(TaskCB task)\r\n {\r\n \ttry {\r\n Thread threadcb = new Thread(task);\r\n if(threadcb > MAxThreadsPerTask) {\r\n \t readyList.addAll((Collection<? extends ThreadCB>) threadcb);\r\n threadcb.start(); \r\n }\r\n \t}\r\n \tcatch(Exception e) {\r\n \t\t\r\n \t}\r\n \t\r\n }",
"title": ""
},
{
"docid": "ae6230a1f337ccd11b7b1f0c80776152",
"score": "0.5334918",
"text": "public interface TaskConsumer<T> {\n\n /**\n * Handle task processing, i.e. consume the task.\n */\n void accept(T task) throws LpException;\n\n}",
"title": ""
}
] |
3cf719a85d5f4c241ba45e0bc852a26a | try to read an incomplete file | [
{
"docid": "6fc97e13752f3c1984c77e70398f60f3",
"score": "0.0",
"text": "@Test\n public void test_read_stl_19() {\n Mesh_3D shape = new Mesh_3D();\n String filename = \"test.stl\";\n List<String> content = new ArrayList<>();\n content.add(\"soliD incomplete\");\n content.add(\"facet normal 0 12.0 .12\");\n content.add(\"OuTeR LOOp\");\n content.add(\" vertex 2 2 -3\");\n content.add(\"\\t vertex 1 #1 1\");\n content.add(\"endsolid\");\n try {\n create_file(filename, content);\n } catch (IOException ex) {\n ex.printStackTrace();\n Assert.assertTrue(false);\n }\n StringBuilder comment = new StringBuilder();\n try {\n int num_facets = Stl.read_stl(shape, filename, comment);\n Assert.assertTrue(false); // it should throw an exception\n } catch (FileNotFoundException ex) {\n ex.printStackTrace();\n Assert.assertTrue(false);\n } catch (STLException ex) {\n // do nothing\n } catch (IOException ex) {\n ex.printStackTrace();\n Assert.assertTrue(false);\n }\n Assert.assertTrue(shape.isEmpty());\n }",
"title": ""
}
] | [
{
"docid": "6e44613be47ce50c6d2bd6c984d508ac",
"score": "0.6764886",
"text": "public void testReadEmptyMultipleEOF() throws Exception {\n final FileObject file = getReadFolder().resolveFile(\"empty.txt\");\n assertTrue(file.exists());\n\n // Start reading from the file\n try (InputStream instr = file.getContent().getInputStream()) {\n assertEquals(\"read() from empty file should return EOF\", -1, instr.read());\n\n for (int i = 0; i < 5; i++) {\n assertEquals(\"multiple read() at EOF should return EOF\", -1, instr.read());\n }\n }\n }",
"title": ""
},
{
"docid": "50dbc4269bdfd74612757dfacf6fe501",
"score": "0.625719",
"text": "boolean shouldReadFullFile() {\n Range<Long> readRange = getReadSize();\n if (readRange == null\n || (readRange.getLower() == readRange.getUpper() && (readRange\n .getUpper() == Long.MAX_VALUE))) {\n return true;\n }\n return false;\n }",
"title": ""
},
{
"docid": "d2ac196202ecd6c0d7bd260cb248dc26",
"score": "0.6246899",
"text": "@Test\r\n\tpublic void test_fileProperRead() {\r\n\t\ttry {\r\n\t\t\treader.readFile();\r\n\t\t\tassertEquals(reader.hasJunkData, false);\r\n\t\t} catch (FileNotFoundException |SharePriceReaderException e) {\r\n\t\t\tfail(\"Excepton : \" + e.getMessage());\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "51b75e92b1a3b3c180f86524eb6a965e",
"score": "0.61904407",
"text": "private void abortFileRead()\n {\n System.err.println(\"Unable to read supplied file. Please check you have supplied a valid, existing .txt file.\");\n Platform.exit();\n }",
"title": ""
},
{
"docid": "a5a3632e8cc78ab92744f80c6773d551",
"score": "0.6087696",
"text": "public void testReadFileEOFMultiple() throws Exception {\n final FileObject file = getReadFolder().resolveFile(\"file1.txt\");\n assertTrue(file.exists());\n assertEquals(\"Expecting 20 bytes test-data file1.txt\", 20, file.getContent().getSize());\n\n // Start reading from the file\n final InputStream instr = file.getContent().getInputStream();\n try {\n final byte[] buf = new byte[25];\n assertEquals(20, instr.read(buf));\n\n for (int i = 0; i < 5; i++) {\n assertEquals(\"multiple read(byte[]) at EOF should return EOF\", -1, instr.read(buf));\n }\n } finally {\n instr.close();\n }\n }",
"title": ""
},
{
"docid": "f2ca81fd2445a766be85f2843d6f6eba",
"score": "0.60116744",
"text": "private void read()\r\n {\r\n System.out.println(ONE_HUNDRED_MEGABYTE_FILE);\r\n File file = new File(ONE_HUNDRED_MEGABYTE_FILE);\r\n\r\n this.buffer = new byte[(int)file.length()];\r\n\r\n try\r\n {\r\n fileInputStream = new FileInputStream(ONE_HUNDRED_MEGABYTE_FILE);\r\n bufferedInputStream = new BufferedInputStream(fileInputStream);\r\n\r\n bufferedInputStream.read(this.buffer,0 , this.buffer.length);\r\n }\r\n catch (FileNotFoundException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n catch (IOException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n finally\r\n {\r\n try\r\n {\r\n if (bufferedInputStream != null) bufferedInputStream.close();\r\n }\r\n catch (IOException e)\r\n {\r\n\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "fd5348dc4d8ac0f6f82db2203926823d",
"score": "0.5949997",
"text": "public void startReadingFile(){\n\t\tString extension = FilenameUtils.getExtension(inputPath);\n\t\tif (extension.equalsIgnoreCase(\"\")) {\n\t\t\treadCompleteFolder(inputPath);\n\t\t} \n\t}",
"title": ""
},
{
"docid": "cf1e39d0bfb6068f33683cd9c2139978",
"score": "0.59203666",
"text": "protected void _loadMoreGuaranteed()\n/* */ throws IOException\n/* */ {\n/* 2404 */ if (!_loadMore()) { _reportInvalidEOF();\n/* */ }\n/* */ }",
"title": ""
},
{
"docid": "2355dd7e16308dc27ec23858c0fdb4bf",
"score": "0.5879302",
"text": "private boolean fill() throws IOException {\n int r;\n if (bStart < bEnd || empty && bStart == bEnd) {\n if (empty) {\n bStart = 0;\n bEnd = 0;\n }\n r = in.read(buffer, bEnd, BUFFER_SIZE - bEnd);\n } else if (bStart == bEnd) {\n throw new IllegalStateException();\n } else {\n r = in.read(buffer, bEnd, bStart - bEnd);\n }\n \n if (r <= 0) {\n logger.fine(\"Could not read data from stream.\");\n return false;\n }\n \n empty = false;\n \n bEnd += r;\n if (bEnd == BUFFER_SIZE) {\n bEnd = 0;\n }\n return true;\n }",
"title": ""
},
{
"docid": "ea1c432ee2ec2f22aaf9a1d35beee101",
"score": "0.58792794",
"text": "public void read(String file) throws Exception;",
"title": ""
},
{
"docid": "4f8979e9d2618ecfdcd38854a5f25b87",
"score": "0.58210844",
"text": "public boolean read_data_file() {\n return false;\n }",
"title": ""
},
{
"docid": "d13173ccfc335825edc83f02072795d8",
"score": "0.5777264",
"text": "void readFromFile(RandomAccessFile file) throws IOException;",
"title": ""
},
{
"docid": "25b3cc0c7fd808a44fdf64a66cb5a6b6",
"score": "0.5768543",
"text": "@Override\n public String readFromFile(File f) {\n return null;\n }",
"title": ""
},
{
"docid": "d14312740d772ccd0616bbdf66b6adb1",
"score": "0.5764915",
"text": "@Test\n public void readBadlyDistributedFileTest() throws Exception\n {\n HPCCFile file = new HPCCFile(datasets[1], connString , hpccUser, hpccPass);\n assertFalse(file.isTlkIndex());\n List<HPCCRecord> records = readFile(file, connTO, false);\n assertEquals(\"Not all records loaded\",expectedCounts[1], records.size());\n }",
"title": ""
},
{
"docid": "0607037dfb8b31df310131be781aa573",
"score": "0.5733195",
"text": "IGame readFile (File file) throws LoadErrorException;",
"title": ""
},
{
"docid": "4b58a3c7b1912de4c9655549da2da672",
"score": "0.56955767",
"text": "public synchronized void readFromFile(){\r\n\t\t\r\n\t\ttry {\r\n\t\t\tString str = dis.readUTF();\r\n\t\t\tLog.logIt(\"Success reading from: \"+getFileName());\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "da0db2776f7b7c6545b68042f5674875",
"score": "0.56473935",
"text": "private boolean isEmptyFile() throws IOException{\n\t\t\n\t\treturn getFileContents().isEmpty();\n\t}",
"title": ""
},
{
"docid": "3d81b1965b5f40e709b6fe7c5c71df0f",
"score": "0.56466854",
"text": "@Override\r\n\tpublic void readFromFile() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1d713febfc4755bf6d836d41163fe98c",
"score": "0.564178",
"text": "protected boolean readChunk() throws IOException {\n return readChunk(false);\n }",
"title": ""
},
{
"docid": "d68ef004cb2efb38dc00866356353edf",
"score": "0.56088275",
"text": "public boolean endOfInput() throws Exception {\n return ptr >= file.Length;\n }",
"title": ""
},
{
"docid": "ba7385a24bf54d86bf3ab3ad1a5b27da",
"score": "0.5605591",
"text": "static void checkFullFile(FileSystem fs, Path name, final long fileSize)\n throws IOException {\n // read in chunks of 128 MB\n final int readSize = pattern.length * 16 * 1024 * 1024;\n\n if (readSize > Integer.MAX_VALUE) {\n throw new IOException(\"A single read is too large \" + readSize);\n }\n\n byte[] b = new byte[readSize];\n long bytesToRead = fileSize;\n\n byte[] compb = new byte[readSize]; // buffer with correct data for comparison\n\n if (verifyData) {\n // initialize compare buffer\n for (int j = 0; j < readSize; j++) {\n compb[j] = pattern[j % pattern.length];\n }\n }\n\n FSDataInputStream stm = fs.open(name);\n\n while (bytesToRead > 0) {\n // how many bytes we are reading in this iteration\n int thisread = (int) Math.min(readSize, bytesToRead);\n\n stm.readFully(b, 0, thisread); \n \n if (verifyData) {\n // verify data read\n if (thisread == readSize) {\n assertTrue(\"file is corrupted at or after byte \" +\n (fileSize - bytesToRead), Arrays.equals(b, compb));\n } else {\n // b was only partially filled by last read\n for (int k = 0; k < thisread; k++) {\n assertTrue(\"file is corrupted at or after byte \" +\n (fileSize - bytesToRead), b[k] == compb[k]);\n }\n }\n }\n LOG.debug(\"Before update: to read: \" + bytesToRead +\n \"; read already: \"+ thisread);\n bytesToRead -= thisread;\n LOG.debug(\"After update: to read: \" + bytesToRead +\n \"; read already: \" + thisread);\n }\n stm.close();\n }",
"title": ""
},
{
"docid": "5e78f29b8ac89eabf6c3a2a4301fbe32",
"score": "0.5593575",
"text": "@Test\n public void testCorruptedFileHandler() throws Exception {\n final File testFile = new File(sourcesFolder, \"premature_end.bam\");\n Assert.assertTrue(testFile.exists(), \"Test file does not exists: \" + testFile);\n final ReadsSourceHandler handler = new SamSourceHandler(testFile.getAbsolutePath());\n handler.close();\n Assert.assertThrows(UserException.CouldNotReadInputFile.class,\n () -> handler.getQualityEncoding(RTDefaults.MAX_RECORDS_FOR_QUALITY));\n }",
"title": ""
},
{
"docid": "83e1451a98222c84e157a773133fbd32",
"score": "0.55885965",
"text": "protected T parseFileContents(InputStream in) throws IOException {\n return null;\n }",
"title": ""
},
{
"docid": "b4812981963e96b4022c012b318fffd3",
"score": "0.5585545",
"text": "private void readFully(FileInputStream fis, byte[] buffer) throws IOException\n {\n int offset = 0;\n int numRead = 0;\n\n while ((numRead = fis.read(buffer, offset, buffer.length)) >= 0)\n {\n offset += numRead;\n if (offset >= buffer.length)\n {\n break;\n }\n }\n }",
"title": ""
},
{
"docid": "58ac585af12bcc98a97edad5408754ce",
"score": "0.55625206",
"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": "4e376cae1e754877591c0440b93ea8eb",
"score": "0.55556417",
"text": "public boolean readData() {\n try {\n this.num = file.read(buffer);\n this.curr = 0;\n if (this.num == -1) {\n this.curr = -1;\n return false;\n }\n return true;\n }\n catch (IOException e) {\n return false;\n }\n\n }",
"title": ""
},
{
"docid": "025bd7b51090844e322bf95689444f80",
"score": "0.5518541",
"text": "protected void doBeforeReading() throws IOException {}",
"title": ""
},
{
"docid": "4050ed64151709e2e40ffb4413868e01",
"score": "0.5507963",
"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": "f21c30d9c36e2ebe09ebe196dd578458",
"score": "0.54984504",
"text": "private boolean isEof() {\r\n switch (sReaderType ) {\r\n case \"memory\": return (chNextMem < 0 || chNextMem == '\\0'); \r\n case \"file\": return (chNext<0);\r\n default: return true;\r\n } \r\n }",
"title": ""
},
{
"docid": "d9582a98c8e93c14bf4dbdd80edb8b0c",
"score": "0.5480515",
"text": "@Test\n public void testBehaviorWithEmptyFile() throws IOException {\n File f1 = new File(tmpDir.getAbsolutePath() + \"/file0\");\n Files.touch(f1);\n\n ReliableSpoolingFileEventReader parser = getParser();\n\n File f2 = new File(tmpDir.getAbsolutePath() + \"/file1\");\n Files.write(\"file1line1\\nfile1line2\\nfile1line3\\nfile1line4\\n\" +\n \"file1line5\\nfile1line6\\nfile1line7\\nfile1line8\\n\",\n f2, Charsets.UTF_8);\n\n // Expect to skip over first file\n List<String> out = bodiesAsStrings(parser.readEvents(8));\n\n parser.commit();\n assertEquals(8, out.size());\n\n assertTrue(out.contains(\"file1line1\"));\n assertTrue(out.contains(\"file1line2\"));\n assertTrue(out.contains(\"file1line3\"));\n assertTrue(out.contains(\"file1line4\"));\n assertTrue(out.contains(\"file1line5\"));\n assertTrue(out.contains(\"file1line6\"));\n assertTrue(out.contains(\"file1line7\"));\n assertTrue(out.contains(\"file1line8\"));\n\n assertNull(parser.readEvent());\n\n // Make sure original is deleted\n List<File> outFiles = Lists.newArrayList(tmpDir.listFiles(directoryFilter()));\n assertEquals(2, outFiles.size());\n assertTrue(\"Outfiles should have file0 & file1: \" + outFiles,\n outFiles.contains(new File(tmpDir + \"/file0\" + completedSuffix)));\n assertTrue(\"Outfiles should have file0 & file1: \" + outFiles,\n outFiles.contains(new File(tmpDir + \"/file1\" + completedSuffix)));\n }",
"title": ""
},
{
"docid": "4312bd9e4737daa4b89e011e05358896",
"score": "0.5479906",
"text": "@Test\n public void readFileWithoutSpaces() throws FileNotFoundException {\n LogData result = LogReader.readFile(new File(filename1));\n assertEquals(logData1, result);\n assertEquals(logData1.hashCode(), result.hashCode());\n assertEquals(map1, result.getData());\n assertFalse(result.isComplete());\n }",
"title": ""
},
{
"docid": "f9bceb163c99d7069104597b9ce2394d",
"score": "0.547035",
"text": "@Test\n\tpublic void testReadInvalidStudentRecords() {\n\t\tSortedList<Student> student;\n\t\ttry {\n\t\t\tstudent = StudentRecordIO.readStudentRecords(invalidTestFile);\n\t\t\tassertEquals(0, student.size());\n\t\t} catch (FileNotFoundException e) {\n\t\t\tfail(\"Unexpected FileNotFoundException\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "d2f350cf44e693e43cb44d0e25980bb2",
"score": "0.5439698",
"text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchASINFile((String) null, (String) null, (String) null, (String) null);\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "1185cb2108684d57900a782f60de8461",
"score": "0.5436575",
"text": "private void checkIntegrity() throws FileNotFoundException, DukeException {\n Scanner reader = new Scanner(file);\n while (reader.hasNext()) {\n if (!reader.nextLine().matches(\"\\\\[(T|E|D)]\\\\[(\\\\s|1)].*\")) {\n throw new DukeException(\"corrupted\", 5);\n }\n }\n }",
"title": ""
},
{
"docid": "e5493dcdb1fcb17f893e80e3f89a829b",
"score": "0.5435815",
"text": "@Test(expected = UncheckedIOException.class)\n public void readIsoBufferedWithStream() throws IOException {\n System.out.println(\">read ISO with buffered reader and stream.\");\n try (BufferedReader br = Files.newBufferedReader(getFile(\"iso.txt\").toPath())) {\n br.lines().forEach(this::print);\n }\n }",
"title": ""
},
{
"docid": "2c7b8da62bd7e56dcbad15345aa81caa",
"score": "0.5434795",
"text": "@Test (expected = IOException.class)\n public void deserializationWithEmptyFileThrowsException() throws Exception {\n File badsession = new File(\"emptyfile\");\n badsession.createNewFile();\n badsession.deleteOnExit();\n FTPSession session = FTPSessionSerializer.deserialize(badsession.getAbsolutePath());\n }",
"title": ""
},
{
"docid": "ba46c7c1d4ef716ac0529942fec73ed1",
"score": "0.54250306",
"text": "private void readFile() {\n\t\t\n\t\tFile f = new File(filename);\n\t\tFileInputStream fis = null;\n\t\t\n\t\ttry {\n\n\t\t\tfis = new FileInputStream(f);\n\t file_array = new byte[(int) f.length()];\n\t \n\t fis.read(file_array);\n\t file_length = f.length();\n\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\tSystem.out.println(\"Failed to read file. Quitting...\");\n\t\t\te.printStackTrace();\n\n\t\t} finally {\n\n\t\t\ttry {\n\t\t\t\t/*closing fileinputstream*/\n\t\t\t\tif (fis != null) {\n\t\t\t\t\t\n\t\t\t\t\tfis.close();\n\t\t\t\t\n\t\t\t\t}\t\n\t\t\t\t\n\t\t\t} catch (IOException ex) {\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Failed to close fileinputstream. Quitting...\");\n\t\t\t\tex.printStackTrace();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e4acb886f2efa96a762ecc0c7ffcfc59",
"score": "0.5413916",
"text": "private boolean populateBuffer() throws IOException {\r\n \t\tif (endOfStream) {\r\n \t\t\treturn false;\r\n \t\t}\r\n \t\t\r\n \t\tif (currentBufferOffset >= currentBufferByteCount) {\r\n \t\t\tcurrentBufferOffset = 0;\r\n \t\t\t\r\n \t\t\tif (currentBufferSize == 0) {\r\n \t\t\t\tcurrentBufferSize = initialBufferSize;\r\n \t\t\t} else {\r\n \t\t\t\tcurrentBufferSize = (int) (currentBufferSize * bufferIncreaseFactor);\r\n \t\t\t\tif (currentBufferSize > maxBufferSize) {\r\n \t\t\t\t\tcurrentBufferSize = maxBufferSize;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\tcurrentBufferByteCount = randomFile.read(buffer, 0, currentBufferSize);\r\n \t\t\t\r\n \t\t\tif (currentBufferByteCount < 0) {\r\n \t\t\t\tendOfStream = true;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\treturn !endOfStream;\r\n \t}",
"title": ""
},
{
"docid": "83192ca356dbec2ff16c43a04ed0fa4a",
"score": "0.54056716",
"text": "private void fetch_next_line()\n\t{\n\t\ttry {\n\t\t\tlast_line = input_file.readLine();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tlast_line = null; // error occurred - cannot read file\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0c98b99f63e83037295a04c4f8860fc5",
"score": "0.5404536",
"text": "abstract void readFromFile(String filename);",
"title": ""
},
{
"docid": "61ff02caf183157180937679e08624ff",
"score": "0.5397211",
"text": "public static byte[] readBytesFromFile(String completeFileName) throws IOException {\r\n\t\tFile file = new File(completeFileName);\r\n\t\tFileInputStream in = new FileInputStream(file);\r\n\t\tbyte[] buf = new byte[(int)file.length()];\r\n\t\tin.read(buf);\r\n\t\tin.close();\r\n\t\treturn buf;\r\n\t\t\r\n\t\t/* Se funcionasse com o o java.nio:\r\n\t\tPath path = Paths.get(completeFileName);\r\n\t\tbyte[] data = Files.readAllBytes(path);\r\n\t\treturn data;\r\n\t\t*/\r\n\t}",
"title": ""
},
{
"docid": "a62dc01c32a167d6eb9f03959ad43255",
"score": "0.5363645",
"text": "@Test(timeout = 4000)\n public void test44() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchASINFile(\"\", \"\", \"\", \"\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "8bcb056b7155cdd67b6ef7cf80fd5a45",
"score": "0.5359715",
"text": "@Test\n public void readIsoBufferedAsIso() throws IOException {\n System.out.println(\">read ISO with buffered reader as ISO.\");\n try (BufferedReader br = Files.newBufferedReader(getFile(\"iso.txt\").toPath(), StandardCharsets.ISO_8859_1)) {\n String line = null;\n while ((line = br.readLine()) != null) {\n print(line);\n }\n }\n }",
"title": ""
},
{
"docid": "3647dc56cfec799968e1e694bfa2ddb6",
"score": "0.5355232",
"text": "@Test(expected = ParseException.class)\n public void readingAEmptyJSONFile() throws IOException, ParseException {\n JSONObject jsonObject = (JSONObject) jsonUtils.read(\"./src/test/resources/input/empty-file.json\");\n assertNotNull(jsonObject);\n }",
"title": ""
},
{
"docid": "90ae2bffd1933943e12793ae2535e075",
"score": "0.5347464",
"text": "@Test\n public void testOpenInvalidFile() {\n try {\n JsonReader reader = new JsonReader(\"./data/someFile.json\");\n CourseList list = reader.read();\n fail(\"IOException was expected but not thrown\");\n } catch (IOException e) {\n // expected\n }\n }",
"title": ""
},
{
"docid": "222b219b7ef5db70d8b25bc62c8f38ed",
"score": "0.53466755",
"text": "CmfoodchainType readFile(File file);",
"title": ""
},
{
"docid": "1dde4ef0e4e3ca1f595058ddd818ca2f",
"score": "0.53335136",
"text": "@Test\n\tpublic void testReadFailFileNotFound()\n\t{\n\t\tWindowFrameCoupleArray.getInstance().readWindowFrameCouples(\"windowFrameCouplesTest.json\");\n\t\twindowFrameCouples = WindowFrameCoupleArray.getInstance().getList();\n\t\tAssert.assertEquals(12, windowFrameCouples.size());\n\n\t}",
"title": ""
},
{
"docid": "e8d534840275298fd19460771f262174",
"score": "0.5332349",
"text": "protected abstract String readFromFile();",
"title": ""
},
{
"docid": "5bfea872f714a7a6e92ce6a2c44b3ff8",
"score": "0.533095",
"text": "@Test\n\tpublic void testCheckedException() throws IOException, FileNotFoundException{\n\t\tFileInputStream fis = new FileInputStream(new File(\"\"));\n\t\tSystem.out.println(fis.read());\n\t\tfis.close();\n\t}",
"title": ""
},
{
"docid": "2a9d1456d45d74e739fdee5cc42a0d67",
"score": "0.53181225",
"text": "@SuppressWarnings(\"unchecked\")\r\n public void initialize() {\r\n fileRead();\r\n }",
"title": ""
},
{
"docid": "4952d9b032f343974b14e7c0ee9bf207",
"score": "0.5315262",
"text": "private static byte[] readFile(final File f)\n {\n try\n {\n final FileInputStream fis = new FileInputStream(f);\n try\n {\n final byte[] ar = new byte[(int)f.length()];\n fis.read(ar, 0, ar.length);\n return ar;\n }\n catch (IOException e)\n {\n Controller.sendMessage(Lang.EN_DEBUG_IO_EXCEPTION.concat(e.getMessage()));\n }\n finally\n {\n try\n {\n fis.close();\n }\n catch (IOException e)\n {\n Controller.sendMessage(Lang.EN_DEBUG_IO_EXCEPTION.concat(e.getMessage()));\n }\n }\n }\n catch (FileNotFoundException e)\n {\n Controller.sendMessage(Lang.EN_DEBUG_FILE_NOT_FOUND.concat(f.getName()));\n }\n\n return null;\n }",
"title": ""
},
{
"docid": "8037d2c839cf3a35ca70da4627ac2273",
"score": "0.53006965",
"text": "private boolean refillLogReadBuffer() {\n try {\n if (logFile.size() > 0 && readLSN % logFileSize == logFile.size()) {\n readLSN += logFileSize - (readLSN % logFileSize);\n getLogFile();\n }\n return fillLogReadBuffer();\n } catch (IOException e) {\n throw new ACIDException(e);\n }\n }",
"title": ""
},
{
"docid": "320a509a283a5580b221e0031793eeb9",
"score": "0.5288629",
"text": "String read(File file) throws IOException;",
"title": ""
},
{
"docid": "9c82f7d496a25b2d3a9abbc31610685d",
"score": "0.5284284",
"text": "public void readThroughClientNonExistentTest() throws IOException, AlluxioException {\n final int length = 10;\n FileSystemTestUtils.createByteFile(mFileSystem, \"/file\", WriteType.MUST_CACHE, length);\n BlockInfo block = getFirstBlockInfo(new AlluxioURI(\"/file\"));\n\n // Get the maximum block id, for use in determining a non-existent block id.\n URIStatus status = mFileSystem.getStatus(new AlluxioURI(\"/file\"));\n long maxBlockId = block.getBlockId();\n for (long blockId : status.getBlockIds()) {\n if (blockId > maxBlockId) {\n maxBlockId = blockId;\n }\n }\n\n RemoteBlockReader client =\n RemoteBlockReader.Factory.create(mWorkerConfiguration);\n block.setBlockId(maxBlockId + 1);\n ByteBuffer result = readRemotely(client, block, length);\n\n Assert.assertNull(result);\n }",
"title": ""
},
{
"docid": "179b027959df1e38cd2dc68434bac754",
"score": "0.5273664",
"text": "@Override\n\tpublic byte[] readFully() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "85983b68e20e150c5ce8d9ba8bf54a23",
"score": "0.52735525",
"text": "int readPartial(byte[] data, int offset, int len) throws Exception;",
"title": ""
},
{
"docid": "25e7a2080e45f4fc3010656169e902b6",
"score": "0.527039",
"text": "void readInit() throws IOException {\n \t\tassert chan != null;\n \n \t\tByteBuffer buf = ByteBuffer.allocate(512);\n \t\tbuf.order(ByteOrder.LITTLE_ENDIAN);\n \n \t\tDirent current = null;\n \t\tchan.position(startPos);\n \t\twhile ((chan.read(buf)) > 0) {\n \t\t\tbuf.flip();\n \n \t\t\tint used = buf.get(Dirent.OFF_FILE_USED);\n \t\t\tif (used != 1)\n \t\t\t\tcontinue;\n \n \t\t\tString name = Utils.bytesToString(buf, Dirent.OFF_NAME, Dirent.MAX_FILE_LEN);\n \t\t\tString ext = Utils.bytesToString(buf, Dirent.OFF_EXT, Dirent.MAX_EXT_LEN);\n \n \t\t\tlog.debug(\"readinit name\", name, ext);\n \n \t\t\tint part = buf.getChar(Dirent.OFF_FILE_PART);\n \n\t\t\tif (part == 0) {\n\t\t\t\tcurrent = create(name + '.' + ext, headerBlockManager);\n\t\t\t\tcurrent.initBlocks(buf);\n\t\t\t} else if ((part == 3 || part == 2) && current == null) {\n \t\t\t\tcurrent = (Dirent) entries.get(ImgFS.DIRECTORY_FILE_NAME);\n \t\t\t\tcurrent.initBlocks(buf);\n \t\t\t} else {\n \t\t\t\tassert current != null;\n \t\t\t\tcurrent.initBlocks(buf);\n \t\t\t}\n \t\t\tbuf.clear();\n \t\t}\n \t}",
"title": ""
},
{
"docid": "811c3386e79a7897bb77cc0441330890",
"score": "0.52688295",
"text": "@Test\n\tpublic void testReadFailFileWithError()\n\t{\n\t\tWindowFrameCoupleArray.getInstance().readWindowFrameCouples(\"src/test/windowFrameCouplesTest.json\");\n\t\twindowFrameCouples = WindowFrameCoupleArray.getInstance().getList();\n\t\tAssert.assertEquals(12, windowFrameCouples.size());\n\n\t}",
"title": ""
},
{
"docid": "f3c3ca3f6dc03720ecbec109228538a7",
"score": "0.52631795",
"text": "@Test(timeout = 4000)\n public void test39() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchBNFile(\"\", \"\", \"\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "e8745c9e415663843da3c8d149365ef9",
"score": "0.5262084",
"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": "62409c8cbc84a37b2f8356d0eb27703e",
"score": "0.52571326",
"text": "public boolean eof() {\n\t\t/*\n\t\t * If there is a read-ahead buffer active, then we are not at eof.\n\t\t */\n\t\tif (fReadAhead)\n\t\t\treturn false;\n\n\t\t/*\n\t\t * We'll have to read a line to see if we're at the end of file.\n\t\t */\n\n\t\tread();\n\n\t\t/*\n\t\t * If the buffer comes back empty, then we are at the end of the file.\n\t\t * In this case, return 'true' and we are done.\n\t\t */\n\t\tif (buffer == null)\n\t\t\treturn true;\n\n\t\t/*\n\t\t * Since we succeeded in reading a line, we are not at the end of the\n\t\t * file. In this case, leave the buffer alone, but mark that it is\n\t\t * active so the next read will not do another IO. Then tell the caller\n\t\t * that we are not at EOF.\n\t\t */\n\t\tfReadAhead = true;\n\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "2312edfa4f891509547616978ec5d58d",
"score": "0.52543",
"text": "protected boolean fillBufferIfNeeded() throws IOException {\n if (position >= length) {\n int readLength = 0;\n // a read from a network connection can return 0 bytes,\n // so we need to be prepared to handle a spin loop.\n while (readLength == 0) {\n readLength = in.read(buffer, 0, buffer.length);\n }\n // we may have hit the EOF. Indicate the read failure\n if (readLength == -1) {\n return false;\n }\n // set our new buffer positions.\n position = 0;\n length = readLength;\n }\n return true;\n }",
"title": ""
},
{
"docid": "48bf293ade45f5a25ab0ad088fa485cb",
"score": "0.5250771",
"text": "public void testReadOne() {\n\t\tList<Deck> deck = new ArrayList<Deck>();\n\t\tdeck = ReadFile.read(\"cards/full_deck.txt\");\n\t\tassertEquals(1, deck.size());\n\t\tassertEquals(52, deck.get(0).getSize());\n\t}",
"title": ""
},
{
"docid": "e7c8e3403b16ac8d9555d0c9c564831d",
"score": "0.52487695",
"text": "@Test\n @Ignore\n public void read() throws Exception {\n VMWareDisk disk = new VMWareDisk(diskFile);\n\n ByteBuffer data = IOUtils.allocate(IOHandler.SECTOR_SIZE * 100);\n disk.read(0, data);\n\n Assert.assertEquals(toString() + \": buffer should be filled\", 0, data.remaining());\n }",
"title": ""
},
{
"docid": "ba71713a202643aeafd83489caa3d9ad",
"score": "0.52467793",
"text": "@Test(timeout = 4000)\n public void test36() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchBlendedSearchFile((String) null, (String) null);\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "4037c0f12c3462024eff0cbb58ab0dd6",
"score": "0.52455604",
"text": "@Test(timeout = 4000)\n public void test37() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchBlendedSearchFile(\"\", \"\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "d24f7748a4723fd379eade1172e03cef",
"score": "0.5239002",
"text": "private static byte[] readFile(File file) throws IOException {\n\t\tInputStream is = new FileInputStream(file);\n\t\tlong length = file.length();\n\t\tbyte[] bytes = new byte[(int) length];\n\n\t\tint offset = 0;\n\t\tint numRead = 0;\n\t\twhile (offset < bytes.length\n\t\t\t\t&& (numRead = is.read(bytes, offset, bytes.length - offset)) >= 0) {\n\t\t\toffset += numRead;\n\t\t}\n\n\t\tif (offset < bytes.length) {\n\t\t\tLOG.error(\"Error reading file\");\n\t\t}\n\t\treturn bytes;\n\t}",
"title": ""
},
{
"docid": "da9ceb684b8d226d440d1b15cf967e65",
"score": "0.52374053",
"text": "public void openForRead() throws IOException;",
"title": ""
},
{
"docid": "c5f4e4baa17bb13479aa0bcd42e6b126",
"score": "0.52370816",
"text": "@Test(timeout = 4000)\n public void test38() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchBNFile((String) null, (String) null, (String) null);\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "b4932d847ffc27ea7905b34ba31be2cd",
"score": "0.5235134",
"text": "@Test(timeout = 4000)\n public void test86() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchASINFile(\"WQ2)P[NXnn5By\", \"qYY)}EBSbJ~=k|+\", \"]e+cQGp1Mn:RLU5:Q\", \"ChF<'\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "85532151040e2d1ed7e32a6482f79090",
"score": "0.5233818",
"text": "@Test(timeout = 4000)\n public void test219() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"org.xmlpull.v1.XmlPullParserFactory\");\n FileInput fileInput0 = new FileInput(xmlEntityRef0, \"org.mvel.conversion.LongCH$8\", \"~QZ^^4tZ/|N$d-\");\n // Undeclared exception!\n try { \n fileInput0.end((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n }\n }",
"title": ""
},
{
"docid": "29140e638be704d8981dff6d5d63e667",
"score": "0.5232988",
"text": "private String firstline(String fn) throws IOException{\r\n // pull file contents\r\n StringBuilder pull = new StringBuilder(); // initialize blank string builder\r\n\r\n // Attempting to read the target file might throw a File Not Found Exception.\r\n try{\r\n BufferedReader rfl = new BufferedReader(new FileReader(fn)); // rf: read file\r\n pull.append(rfl.readLine());\r\n }\r\n\r\n // The file that is being accessed is either absent or a directory.\r\n catch (FileNotFoundException ouch){\r\n // The read function cannot read a directory or empty space.\r\n return \"File not found! Searching oblivion is forbidden sucker! \" + ouch.getMessage();\r\n }\r\n return pull.toString(); // this is the first line\r\n }",
"title": ""
},
{
"docid": "885b9d3b170275dff1ef7ae9435c53b5",
"score": "0.5224478",
"text": "private JsonObject parseRecoverFile(JsonObject request, ObjectInputStream is, ObjectOutputStream os) {\n JsonObject reply;\n try {\n String pathstr = request.get(\"path\").getAsString();\n System.out.println(\"Recovering file in: \" + pathstr);\n if(!_files.containsKey(pathstr)) {\n throw new MissingFileException(pathstr);\n }\n\n sendAck(os);\n sendFileToSocket(_files.get(pathstr).getFile(), os);\n ackMessage(is);\n\n } catch (MissingFileException | IOException | ClassNotFoundException | MessageNotAckedException e) {\n e.printStackTrace();\n reply = JsonParser.parseString(\"{}\").getAsJsonObject();\n reply.addProperty(\"response\", \"NOK\" + e.getMessage());\n return reply;\n }\n return null;\n }",
"title": ""
},
{
"docid": "e29c798a110d0efe822b818c71509c4a",
"score": "0.52215004",
"text": "@Override\n\tpublic int read() throws IOException {\n\t\treturn 0;\n\t}",
"title": ""
},
{
"docid": "19a87062668e147620bc8f99ba7dbb2e",
"score": "0.52049893",
"text": "private void readObjectNoData() throws ObjectStreamException {}",
"title": ""
},
{
"docid": "19a87062668e147620bc8f99ba7dbb2e",
"score": "0.52049893",
"text": "private void readObjectNoData() throws ObjectStreamException {}",
"title": ""
},
{
"docid": "4c9e37dacd23d31c1f24f8d24205048d",
"score": "0.52019703",
"text": "@Override\r\n\tpublic Object read() throws Exception, UnexpectedInputException, ParseException, NonTransientResourceException {\n\t\tSystem.out.println(\"Reading starts Here..............\");\r\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "472b7f6ee734396e1fcfcffea567f8ed",
"score": "0.5196812",
"text": "public boolean isIncomplete();",
"title": ""
},
{
"docid": "f01b455db70771759a4d9efd70cb707b",
"score": "0.5196503",
"text": "@Test\n public void test_040_PositionedReadHugeFile() throws Throwable {\n assumeHugeFileExists();\n final String encryption = getConf().getTrimmed(SERVER_SIDE_ENCRYPTION_ALGORITHM);\n boolean encrypted = encryption != null;\n if (encrypted) {\n AbstractSTestS3AHugeFiles.LOG.info(\"File is encrypted with algorithm {}\", encryption);\n }\n String filetype = (encrypted) ? \"encrypted file\" : \"file\";\n describe(\"Positioned reads of %s %s\", filetype, hugefile);\n S3AFileSystem fs = getFileSystem();\n FileStatus status = fs.getFileStatus(hugefile);\n long size = status.getLen();\n int ops = 0;\n final int bufferSize = 8192;\n byte[] buffer = new byte[bufferSize];\n long eof = size - 1;\n ContractTestUtils.NanoTimer timer = new ContractTestUtils.NanoTimer();\n ContractTestUtils.NanoTimer readAtByte0;\n ContractTestUtils.NanoTimer readAtByte0Again;\n ContractTestUtils.NanoTimer readAtEOF;\n try (FSDataInputStream in = fs.open(hugefile, uploadBlockSize)) {\n readAtByte0 = new ContractTestUtils.NanoTimer();\n in.readFully(0, buffer);\n readAtByte0.end(\"time to read data at start of file\");\n ops++;\n readAtEOF = new ContractTestUtils.NanoTimer();\n in.readFully((eof - bufferSize), buffer);\n readAtEOF.end(\"time to read data at end of file\");\n ops++;\n readAtByte0Again = new ContractTestUtils.NanoTimer();\n in.readFully(0, buffer);\n readAtByte0Again.end(\"time to read data at start of file again\");\n ops++;\n AbstractSTestS3AHugeFiles.LOG.info(\"Final stream state: {}\", in);\n }\n long mb = Math.max((size / (S3AScaleTestBase._1MB)), 1);\n logFSState();\n timer.end(\"time to perform positioned reads of %s of %d MB \", filetype, mb);\n AbstractSTestS3AHugeFiles.LOG.info(\"Time per positioned read = {} nS\", toHuman(timer.nanosPerOperation(ops)));\n }",
"title": ""
},
{
"docid": "1d0ed673c5a5b5183a100697f38c31fc",
"score": "0.5195022",
"text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchGenericSearchFile(\"d&$qs*_J\", \"d&$qs*_J\", \"d&$qs*_J\", \"q=d?)|hFN\\\"caXy\\\"0$\", \"q=d?)|hFN\\\"caXy\\\"0$\", \"d&$qs*_J\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "dfa7cca07ad452eba3f198c4f3c5e34c",
"score": "0.5194139",
"text": "@Override\n\tpublic int read(byte[] b, int off, int len) throws IOException {\n\t\tFileInputStream fs = new FileInputStream(this.fname);\n\t\tfs.skip(fd);\n\t\tint ret = fs.read(b, off, len);\n\t\tfs.close();\n\n\t\tif (ret != -1)\n\t\t\tfd += ret;\n\n\t\treturn ret;\n\t}",
"title": ""
},
{
"docid": "7d83d3d3b7d609a577e239458eefcfe8",
"score": "0.5190193",
"text": "private void readObjectNoData() throws InvalidObjectException {\n\tthrow new InvalidObjectException(\"no data\");\n }",
"title": ""
},
{
"docid": "0a956c9a91b26a14d8d14e0494296138",
"score": "0.5185461",
"text": "@Test\n public void testReadNextStructuredField1() throws Exception {\n\n // carriage control (0x5A) delimits structured fields,\n // and control is handed to readStructuredField(DataInputStream)\n byte[][] goodInputStream = new byte[][]{\n new byte[]{CARRIAGE_CONTROL_CHAR}\n };\n\n for (byte[] b : goodInputStream) {\n try {\n new MODCAParser(new ByteArrayInputStream(b))\n .readNextStructuredField();\n fail(\"BAD SF should throw EOF: \" + byteArrayToString(b));\n } catch (EOFException eof) {\n //passed\n }\n }\n\n // EOFException thrown when reading the input stream are caught and\n // a null value is returned\n byte[][] badInputStream = new byte[][]{\n new byte[]{},\n new byte[]{CARRIAGE_RETURN},\n new byte[]{LINE_FEED}\n };\n\n for (byte[] b : badInputStream) {\n UnparsedStructuredField usf = new MODCAParser(new ByteArrayInputStream(b))\n .readNextStructuredField();\n assertNull(usf);\n }\n }",
"title": ""
},
{
"docid": "bd67d89691bda1cc46f591363916f2d9",
"score": "0.5185104",
"text": "@Test(timeout = 4000)\n public void test02() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchBlendedSearchFile((String) null, \"\");\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "e995c40f6c55157bbd88e100518e84b6",
"score": "0.5184083",
"text": "void readObjectFile(File object) throws IOException;",
"title": ""
},
{
"docid": "a8d212ecb391b385b242fe82de19a28a",
"score": "0.51778734",
"text": "public void read(RandomAccessFile in) throws IOException, EOFException {\n istGeloescht = in.readBoolean();\n autor = in.readUTF();\n link = in.readUTF();\n seiten = in.readUTF();\n titel = in.readUTF();\n verlag = in.readUTF();\n zeitschrift = in.readUTF();\n erscheinungsjahr = in.readInt();\n }",
"title": ""
},
{
"docid": "81c973490b0d5ada09b1d07d7bd81fe6",
"score": "0.51711255",
"text": "private byte[] readFile(String filename) {\n try {\n System.out.println(\"Path: \" + Paths.get(PATH + filename));\n return Files.readAllBytes(Paths.get(PATH + filename));\n } catch (Exception e) {\n System.out.println(\"Can't read file\");\n System.exit(-1);\n return null;\n }\n }",
"title": ""
},
{
"docid": "23ab7a71face7253cb193423832cce23",
"score": "0.51633954",
"text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n FileInputStream fileInputStream0 = fileUtil0.fetchGenericSearchFile((String) null, \"\\\"E!!OzS59dN$W*\", (String) null, (String) null, \"\\\"E!!OzS59dN$W*\", (String) null);\n assertNull(fileInputStream0);\n }",
"title": ""
},
{
"docid": "d010639dce879a3ccdc6e3e790d8b018",
"score": "0.5154855",
"text": "@Test (expected=NumberFormatException.class)\n\tpublic void test_readFile_invalid() {\n\t//This is an invalid File\n\tString invalidFile = \"src/test/resources/FileIo_InvalidTestFile.txt\";\n\t\t\n\t\tfi.readFile(invalidFile);\n\t}",
"title": ""
},
{
"docid": "708135b3c6b986047d822337ec828a96",
"score": "0.5154477",
"text": "byte[] read(int len) {\n \ttry {\n\t\t\tif (len <= 0 || !isOpen()) return null;\n\t\t\t\n\t\t\t//Set the length of data to the minimun of remainLength and len\n\t\t\tlong dataLength = remainLength < len ? remainLength : len;\n\t\t\tif (dataLength == 0) return null;\n\t\t\tbyte[] data = new byte[(int) dataLength];\n\t\t\tfileInputStream.read(data);\n\t\t\tremainLength -= dataLength;\n\t\t\t\n\t\t\t//If reach the end, close fileInputStream\n\t\t\tif (remainLength == 0) {\n\t\t\t\tfileInputStream.close();\n\t\t\t\tfile = null;\n\t\t\t}\n\t\t\treturn data;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n \treturn null;\n }",
"title": ""
},
{
"docid": "8718084e6910fded79747486d8e9b652",
"score": "0.5142154",
"text": "@Override\n\tpublic boolean reachedEnd() throws IOException {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "52927da21a2ba4442817895e5ce6be08",
"score": "0.5124905",
"text": "@Test(expected = MalformedInputException.class)\n public void readUtf8BufferedAsascii() throws IOException {\n System.out.println(\">read UTF-8 with buffered reader as ISO.\");\n try (BufferedReader br = Files.newBufferedReader(getFile(\"iso.txt\").toPath(), StandardCharsets.US_ASCII)) {\n String line = null;\n while ((line = br.readLine()) != null) {\n print(line);\n }\n }\n }",
"title": ""
},
{
"docid": "b2042775f3198f5bd38fe9950cd0433e",
"score": "0.5123629",
"text": "public void readFile() {\n try {\n datas = read.nextLine();\n } catch (NoSuchElementException e) {\n// System.out.println(\"You have no task in your list.Try to add some new tasks with todo/event/deadline keywords.\");\n }\n }",
"title": ""
},
{
"docid": "8d8ab8917731887120a32de9ffd7c6dd",
"score": "0.5120165",
"text": "private void init() throws GeneralCustomException {\n\t\t\n\t\ttry (BufferedReader br = new BufferedReader(new FileReader(\"./nonsensefile.txt\")); ) {\n\t\t\t// maybe some other exceptions can happen here so catch general Exception\n\t\t} catch (Exception ex) {\n\t\t\tthrow new GeneralCustomException(\"something is wrong here\", ex); // actual exception cause?\n\t\t}\n\t\tfinally {\n\t\t\t\n\t\t\t// avoid close method mess here\n\t\t}\n\t}",
"title": ""
},
{
"docid": "651501f1986113d23d5b4cd95f9435ab",
"score": "0.51102614",
"text": "private void openReadFile() {\r\n\t\tDataInputStream dIS;\r\n\t\tInputStreamReader inputSR;\r\n\r\n\t\ttry {\r\n\t\t\tdIS = new DataInputStream(new FileInputStream(dataFileName));\r\n\t\t\tinputSR = new InputStreamReader(dIS);\r\n\t\t\tinputFile = new LineNumberReader(inputSR);\r\n\t\t}\r\n\r\n\t\tcatch (IOException e) {\r\n\t\t\tSystem.err.println(\"input file not opened properly\\n\"\r\n\t\t\t\t\t+ e.toString());\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "3e351997ac732c945da41426c77c1fb7",
"score": "0.5105914",
"text": "byte[] readFileContents(String filename) throws IOException;",
"title": ""
},
{
"docid": "2f120cc34538ba7675f3e16d7e6a56d1",
"score": "0.51005214",
"text": "private void refillBuffer() throws IOException {\n count = in.read(buffer);\n position = 0;\n }",
"title": ""
},
{
"docid": "57f59fce650dcb1acdeb074cb5d3d2da",
"score": "0.50914985",
"text": "@SuppressWarnings(\"unused\")\r\n\tprivate void readObjectNoData() throws ObjectStreamException{}",
"title": ""
},
{
"docid": "e556fa63904a3de22c5014a3730ea199",
"score": "0.5089862",
"text": "public boolean hasFileHandle() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"title": ""
},
{
"docid": "e556fa63904a3de22c5014a3730ea199",
"score": "0.5089862",
"text": "public boolean hasFileHandle() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"title": ""
},
{
"docid": "83ba78dd980256ddc80c28c95f987d8d",
"score": "0.5088631",
"text": "@SuppressWarnings(\"unused\")\n private void loadHeader() throws IOException {\n final ByteBuffer header = ByteBuffer.allocate(32);\n header.order(ByteOrder.LITTLE_ENDIAN);\n if (Buffers.readAll(this.in, header) == 32) {\n final int version = header.get();\n final int y = header.get();\n final int m = header.get();\n final int d = header.get();\n // properties.put(new QName(\"date\"), new Date(y, m - 1, d));\n this.recordCount = header.getInt();\n final short headerSize = header.getShort();\n\n this.recordSize = header.getShort();\n } else {\n throw new RuntimeException(\"Invalid file:\" + this.resource);\n }\n }",
"title": ""
}
] |
82cbc107ab56f2b18009ef817e1cecfd | The context passed to the dynamic data hook that contains the info needed by the application to service the current operation. | [
{
"docid": "a4f96b3a917d9022c3c73ad3e33997ae",
"score": "0.73595977",
"text": "public interface Context {\n\n /** @return the operation being performed */\n public Operation getOperation();\n\n /**\n * @return the path where the dynamic data hook is registered.\n * All steps in the path before the final step are fully qualified,\n * i.e. steps for keyed list nodes have predicates for each of the keys\n * for the list and unkeyed list nodes have an index predicate.\n * The final step contains the predicates as specified in the operation\n * from the client. The hook code can use the predicate if it needs to\n * (or to optimize performance), but in most case the hook code will\n * ignore the predicates and let the core code handle evaluation of the\n * predicates to filter the results.\n */\n public LocationPathExpression getHookPath();\n\n /** @return the original query specified in the request from the client */\n public Query getQuery();\n\n /** @return the input data for update/replace mutation operations */\n public DataNode getMutationDataNode();\n\n /** @return the authentication context for the current operation */\n public AuthContext getAuthContext();\n\n /**\n * Request properties support sharing of state across multiple\n * invocations of dynamic data hooks servicing a single client\n * request. getRequestProperty returns a property value that was set\n * previously by another dynamic data hook.\n *\n * @return application-defined property value\n */\n public Object getRequestProperty(String name);\n\n /**\n * Request properties support sharing of state across multiple\n * invocations of dynamic data hooks servicing a single client request.\n * setRequestProperty sets a property value that becomes available to\n * subsequent dynamic data hooks that are called during processing of\n * the current client request.\n *\n * @param name name of the property.\n * @param value value of the property\n */\n public void setRequestProperty(String name, Object value);\n }",
"title": ""
}
] | [
{
"docid": "f3be73cf60fa58203addeb0188e858da",
"score": "0.7091268",
"text": "public interface DynamicDataHook {\n\n /**\n * The operation being performed that triggered the call to the dynamic\n * data hook. These correspond to the top-level treespace operations.\n */\n public enum Operation { QUERY, INSERT, REPLACE, UPDATE, DELETE };\n\n /**\n * The context passed to the dynamic data hook that contains the info\n * needed by the application to service the current operation.\n */\n public interface Context {\n\n /** @return the operation being performed */\n public Operation getOperation();\n\n /**\n * @return the path where the dynamic data hook is registered.\n * All steps in the path before the final step are fully qualified,\n * i.e. steps for keyed list nodes have predicates for each of the keys\n * for the list and unkeyed list nodes have an index predicate.\n * The final step contains the predicates as specified in the operation\n * from the client. The hook code can use the predicate if it needs to\n * (or to optimize performance), but in most case the hook code will\n * ignore the predicates and let the core code handle evaluation of the\n * predicates to filter the results.\n */\n public LocationPathExpression getHookPath();\n\n /** @return the original query specified in the request from the client */\n public Query getQuery();\n\n /** @return the input data for update/replace mutation operations */\n public DataNode getMutationDataNode();\n\n /** @return the authentication context for the current operation */\n public AuthContext getAuthContext();\n\n /**\n * Request properties support sharing of state across multiple\n * invocations of dynamic data hooks servicing a single client\n * request. getRequestProperty returns a property value that was set\n * previously by another dynamic data hook.\n *\n * @return application-defined property value\n */\n public Object getRequestProperty(String name);\n\n /**\n * Request properties support sharing of state across multiple\n * invocations of dynamic data hooks servicing a single client request.\n * setRequestProperty sets a property value that becomes available to\n * subsequent dynamic data hooks that are called during processing of\n * the current client request.\n *\n * @param name name of the property.\n * @param value value of the property\n */\n public void setRequestProperty(String name, Object value);\n }\n\n /**\n * Execute the dynamic data hook.\n *\n * @param context\n * the context the hook can query to get information about the\n * operation being performed.\n * @return an application object to be serialized to a BigDB data node\n */\n public Object doDynamicData(Context context) throws BigDBException;\n}",
"title": ""
},
{
"docid": "926769487a61d30ecba68254dd63ccac",
"score": "0.6166351",
"text": "public Object doDynamicData(Context context) throws BigDBException;",
"title": ""
},
{
"docid": "c4d64783626b4a7dcc9f882a5fc2ce12",
"score": "0.59993887",
"text": "@PublicApi\n public T getContextData()\n {\n return contextData;\n }",
"title": ""
},
{
"docid": "4e6194df31ba4e3b3194db9a0828447c",
"score": "0.59901184",
"text": "@Experimental(\"Request context to allow downstream operations to get insight into the request. Not covered by the specification. \"\n + \"Subject to change.\")\npublic interface Context {\n public static final String QUERY = \"query\";\n public static final String OPERATION_NAME = \"operationName\";\n public static final String VARIABLES = \"variables\";\n\n /**\n * Get the full body of the request.\n * This includes the query, variables and operation name\n *\n * @return JsonObject\n */\n public JsonObject getRequest();\n\n /**\n * Check if there is a request set\n *\n * @return\n */\n default boolean hasRequest() {\n JsonObject request = getRequest();\n return request != null;\n }\n\n /**\n * Get the query part of the request.\n * TODO: Consider creating a domain object for this (rather than String).\n *\n * @return raw string query\n */\n default String getQuery() {\n return getRequest().getString(QUERY, null);\n }\n\n /**\n * Get the operationName of the request.\n * Could be null (not set)\n *\n * @return the operation name if set\n */\n public Optional<String> getOperationName();\n\n /**\n * Check if the request contains an operation name\n *\n * @return true if it does\n */\n default boolean hasOperationName() {\n return getOperationName().isPresent();\n }\n\n /**\n * Get the variables of the request\n * Could be null (not set)\n *\n * @return\n */\n default Optional<Map<String, Object>> getVariables() {\n if (getRequest().containsKey(VARIABLES)\n && getRequest().get(VARIABLES) != null\n && !getRequest().get(VARIABLES).getValueType().equals(JsonValue.ValueType.NULL)) {\n JsonValue jsonValue = getRequest().get(VARIABLES);\n return VariablesParser.toMap(jsonValue);\n }\n return Optional.empty();\n }\n\n /**\n * Check if the request contains variables\n *\n * @return true if it does\n */\n default boolean hasVariables() {\n return getVariables().isPresent();\n }\n\n /**\n * Get the execution ID.\n *\n * @return the ID as a String\n */\n public String getExecutionId();\n\n /**\n * Get the field name\n *\n * @return name of the field\n */\n public String getFieldName();\n\n /**\n * Return true if the argument exist\n *\n * @param name the argument name\n * @return true if there\n */\n default <A> Boolean hasArgument(String name) {\n Map<String, A> arguments = getArguments();\n if (arguments != null) {\n return arguments.containsKey(name);\n }\n return null;\n }\n\n /**\n * Get the argument using a name\n * This return the argument instance if it exists\n *\n * @param name key\n * @return argument value\n */\n default <A> A getArgument(String name) {\n Map<String, A> arguments = getArguments();\n if (arguments != null) {\n return arguments.get(name);\n }\n return null;\n }\n\n /**\n * Same as above but with the option to do a default value\n *\n * @param name\n * @param defaultValue\n * @return the argument instance if it exists, else the provided default\n */\n default <A> A getArgumentOrDefault(String name, A defaultValue) {\n A arg = getArgument(name);\n if (arg == null)\n return defaultValue;\n return arg;\n }\n\n /**\n * Get all the arguments\n *\n * @return a map with name and instance of the argument\n */\n public <A> Map<String, A> getArguments();\n\n default boolean hasSource() {\n Object o = getSource();\n return o != null;\n }\n\n public <S> S getSource();\n\n /**\n * Return the current path\n *\n * @return the path as a String\n */\n public String getPath();\n\n /**\n * Return the fields selected in the request\n *\n * @return JsonArray of fields selected\n */\n public JsonArray getSelectedFields();\n\n /**\n * Return the fields and source fields in the request\n *\n * @return JsonArray of fields selected\n */\n public JsonArray getSelectedAndSourceFields();\n\n /**\n * Return the current type (Query, Mutation ext)\n * Current type means the type currently being executed.\n *\n * @return name of the operation type\n */\n public String getOperationType();\n\n /**\n * Return all the operation types requested (unique list)\n * A Request can contain more than one operation. This will return a unique list of types.\n * So if there is 2 Queries, it will only return one QUERY type, but if there is two\n * queries and a mutation, it will return QUERY,MUTATION\n *\n * @return\n */\n public List<String> getRequestedOperationTypes();\n\n /**\n * Return the type name of the parent (if any)\n *\n * @return the parent type name maybe\n */\n public Optional<String> getParentTypeName();\n\n /**\n * This leaky abstraction allows falling down to the underlying implementation\n *\n * @param <T> the implementation class\n * @param wrappedType the class type of T\n * @return instance of the implementation class\n */\n public <T> T unwrap(Class<T> wrappedType);\n\n /**\n * Help to parse the variables\n */\n class VariablesParser {\n\n public static Optional<Map<String, Object>> toMap(JsonValue jsonValue) {\n if (null != jsonValue\n && !JsonValue.NULL.equals(jsonValue)\n && !JsonValue.EMPTY_JSON_OBJECT.equals(jsonValue)\n && !JsonValue.EMPTY_JSON_ARRAY.equals(jsonValue)) {\n return Optional.of(toMap(jsonValue.asJsonObject()));\n }\n return Optional.empty();\n }\n\n private static Map<String, Object> toMap(JsonObject jo) {\n Map<String, Object> ro = new HashMap<>();\n if (jo != null) {\n Set<Map.Entry<String, JsonValue>> entrySet = jo.entrySet();\n for (Map.Entry<String, JsonValue> es : entrySet) {\n ro.put(es.getKey(), toObject(es.getValue()));\n }\n }\n return ro;\n }\n\n private static Object toObject(JsonValue jsonValue) {\n Object ret = null;\n JsonValue.ValueType typ = jsonValue.getValueType();\n if (null != typ)\n switch (typ) {\n case NUMBER:\n ret = ((JsonNumber) jsonValue).bigDecimalValue();\n break;\n case STRING:\n ret = ((JsonString) jsonValue).getString();\n break;\n case FALSE:\n ret = Boolean.FALSE;\n break;\n case TRUE:\n ret = Boolean.TRUE;\n break;\n case ARRAY:\n JsonArray arr = (JsonArray) jsonValue;\n List<Object> vals = new ArrayList<>();\n int sz = arr.size();\n for (int i = 0; i < sz; i++) {\n JsonValue v = arr.get(i);\n vals.add(toObject(v));\n }\n ret = vals;\n break;\n case OBJECT:\n ret = toMap((JsonObject) jsonValue);\n break;\n default:\n break;\n }\n return ret;\n }\n }\n}",
"title": ""
},
{
"docid": "0eb6dfc97722a3334c9493d77db0abb9",
"score": "0.5821095",
"text": "@Override\n public CommandContext getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "85381f22add70e3904f6fb686b7f3e23",
"score": "0.56850636",
"text": "protected abstract RuntimeContext getRuntimeContextFrom(Request request);",
"title": ""
},
{
"docid": "0658e29ee5650586b7f7f4596680178b",
"score": "0.56273234",
"text": "Dictionary getContext();",
"title": ""
},
{
"docid": "a4d6ff9688821e08cecaeab0f4f1454b",
"score": "0.56213933",
"text": "@Override\n public void addContextExecutionInfo(String templateName) {\n\n }",
"title": ""
},
{
"docid": "5258f95546e5e0941c918a62c64b82d0",
"score": "0.5621254",
"text": "@Updatable\n public String getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "ec477017298844f6284ea98f5a864c52",
"score": "0.5547107",
"text": "public String getContext() { return context; }",
"title": ""
},
{
"docid": "015708bf3427ffeceb96f97ccb5e8cd9",
"score": "0.5536697",
"text": "@Override\r\n\tpublic void proceed(IContext context) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "a482d4d4ede0ee3fb1068ccfc8d3afaa",
"score": "0.5533303",
"text": "Context getContext();",
"title": ""
},
{
"docid": "f3a111775a17837902e26b7bb884dd61",
"score": "0.5484421",
"text": "public java.util.Map<String, String> getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "c6a609f91312c8971beb707ced68bb49",
"score": "0.5455979",
"text": "public Object getData() {\n final ProcessInfoProvider pip = (ProcessInfoProvider)WebAppContextUtils.getCurrentWebApplicationContext().getBean(ProcessInfoProvider.ROLE);\n final Map objectModel = pip.getObjectModel();\n return objectModel.get(ApplicationManager.APPLICATION_DATA);\n }",
"title": ""
},
{
"docid": "92b1f828f9a5adce18dc238aac88f1b4",
"score": "0.5453461",
"text": "@Override\n public Map<String, String> supplyContextData() {\n Span currentSpan = TracingContextUtils.getCurrentSpan();\n if (!currentSpan.getContext().isValid()) {\n return Collections.emptyMap();\n }\n\n Map<String, String> contextData = new HashMap<>();\n SpanContext spanContext = currentSpan.getContext();\n contextData.put(TRACE_ID, spanContext.getTraceIdAsHexString());\n contextData.put(SPAN_ID, spanContext.getSpanIdAsHexString());\n if (spanContext.isSampled()) {\n contextData.put(SAMPLED, \"true\");\n }\n return contextData;\n }",
"title": ""
},
{
"docid": "7b26c414a47fb48a16eabc3a996aeb22",
"score": "0.5405536",
"text": "private Context getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "00eb472f0a9272dbd7962dd3b0d0cc48",
"score": "0.54011947",
"text": "public ISharedObjectContext getContext();",
"title": ""
},
{
"docid": "ed31677691b4284f7919374af6cf4747",
"score": "0.5358712",
"text": "public Context getAppContext(){\n return context;\n }",
"title": ""
},
{
"docid": "8d2d8073ee34b7e4ddc10d3103c66bdc",
"score": "0.5319603",
"text": "public String context() {\n return this.context;\n }",
"title": ""
},
{
"docid": "a7155ca6b8583a5325736018790a966a",
"score": "0.5319177",
"text": "protected Map<String, Object> getTemplateContext() {\n \n \tMap<String, Object> tplCtx = super.getTemplateContext();\n\n \ttplCtx.put(\"infofn\", infofn);\n \ttplCtx.put(\"props\", infofn.getMagnoliaProperties());\n\n return tplCtx;\n }",
"title": ""
},
{
"docid": "bb1d18e024a138259cd0b7f74aa438bd",
"score": "0.5312562",
"text": "public Map<String, Object> getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "fbc14b35a4d0b4a7e6b508a857e76f10",
"score": "0.5284923",
"text": "public interface Context {\n\n}",
"title": ""
},
{
"docid": "aea6d2a04aa4bc70d807c50183c75f14",
"score": "0.527827",
"text": "public abstract Context getContext(Object obj);",
"title": ""
},
{
"docid": "165e56f572972b21ad3e4625cbdb6354",
"score": "0.5270271",
"text": "@Override\n\tpublic void bindData(onecontext data) {\n rundata = data;\n\t}",
"title": ""
},
{
"docid": "c1b1525ba931388c8d391a94b11df314",
"score": "0.52549136",
"text": "protected Context getContext() {\r\n return context;\r\n }",
"title": ""
},
{
"docid": "8bcea776c82d230ce6f37a34701fc491",
"score": "0.52527916",
"text": "Context createContext();",
"title": ""
},
{
"docid": "8bcea776c82d230ce6f37a34701fc491",
"score": "0.52527916",
"text": "Context createContext();",
"title": ""
},
{
"docid": "f31dfc2132526de224893cac3c6178ab",
"score": "0.5250324",
"text": "@Override\n public void onContext() {\n }",
"title": ""
},
{
"docid": "0222f81f9d82594971045c6a956dd89a",
"score": "0.5244882",
"text": "private void doCustomData() {\n\t}",
"title": ""
},
{
"docid": "560689ce1ef891898036ae34a3486eff",
"score": "0.5230368",
"text": "public Context getContext();",
"title": ""
},
{
"docid": "a1c0544123a66cff095546bc6b3ecbc0",
"score": "0.5220099",
"text": "FhirService apply(Context context);",
"title": ""
},
{
"docid": "773e053734dc2094ce0ddbd3804923a0",
"score": "0.5218681",
"text": "public abstract void apply(Context context);",
"title": ""
},
{
"docid": "fd8433e316d97b1104e537d6163bb6f3",
"score": "0.52160215",
"text": "@Override\n\tpublic void injectData(Map<String, Object> data) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "98cfd1902bc45661281ef28554edd500",
"score": "0.5200553",
"text": "public ContextBo getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "0df90d902f03bf7eb3acba976dfdc9e8",
"score": "0.5186329",
"text": "public void saveContext() {\n rpc.saveContext();\n }",
"title": ""
},
{
"docid": "2e7fd7448e4ff46e2e6820706ee397fb",
"score": "0.51843375",
"text": "SampleContext getContext();",
"title": ""
},
{
"docid": "44c7bed4bb5c47187b4315b5937f8d65",
"score": "0.51841235",
"text": "private APICallContext(){\n\t\treset();\n\t}",
"title": ""
},
{
"docid": "e1a0948f7a1975d81beee7e048464efb",
"score": "0.51756686",
"text": "public XdmItem getContextItem() {\n return XdmItem.wrapItem(dynamicContext.getContextItem());\n }",
"title": ""
},
{
"docid": "c991948a357cf40b9a4fd1e50f642ae8",
"score": "0.51668024",
"text": "private void sendContextData(HttpContext<?> httpContext) {\n // Span creation is disabled. Therefore just extract the span context\n // from the currently active span and propagate.\n // If no active span, then nothing will be propagated.\n // Note that, this behavior can be confusing, because the downstream system, at\n // the other side will receive the contextual info, and it may treat\n // that as a followup span created by client. Therefore it is\n // essential to inject a special header \"no.span=true\" in order for\n // the vertx/other server to distinguish it easily.\n\n // The flag, -Dvertx.webclient.span should be set to false only if user \n // experiences a sudden influx of span.\n Span span = tracer.activeSpan();\n\n if (span != null) {\n tracer.inject(span.context()\n , Format.Builtin.TEXT_MAP_INJECT\n , new VertxMsgContextAdapter(httpContext.request().headers()));\n\n if (logger.isTraceEnabled()) {\n logger.trace(\"Span creation is disabled in vertx web client. Therefore propagating the\"\n + \" current contextual info from the span: {}\", span.context().toSpanId());\n }\n }\n else {\n if (logger.isTraceEnabled()) {\n logger.trace(\"No Active span exist. Context won't be propagated\");\n }\n }\n }",
"title": ""
},
{
"docid": "52dca76ef851504d586c6a5901a28bfc",
"score": "0.51527977",
"text": "@Override\n public String getContext() {\n return this.content;\n }",
"title": ""
},
{
"docid": "2d77193dccf227e49778bcf56f59dfe5",
"score": "0.51480764",
"text": "public void updateWorkflowStepContext(Object context) {\n WorkflowService.getInstance().storeStepData(getOpId(), context);\n _logger.info(\"Storing rollback context to op: \" + getOpId() + \" context: \" + context.toString());\n }",
"title": ""
},
{
"docid": "4afb7b5244e084878118605c22667c54",
"score": "0.5136908",
"text": "public interface ContextService<C> {\n\n /**\n * Gets entered context\n * @return entered context\n * @throws IllegalStateException if not within any context\n */\n C getContext();\n\n /**\n * Returns <code>true</code> if context is found.\n * @return <code>true</code> if context is found;\n * <code>false</code> otherwise\n */\n boolean isInContext();\n\n /**\n * Enters context to run with Runnable task\n * @param context the credentials to access the Cumulocity platform\n * @param task Runnable task\n */\n void runWithinContext(C context, Runnable task);\n\n /**\n * Enters context to run with Callable task\n * @param context the credentials to access the Cumulocity platform\n * @param task Callable task\n * @return the returned value from the Callable task\n */\n <V> V callWithinContext(C context, Callable<V> task);\n \n /**\n * Enters context to run with Runnable task and returns the task with context\n * @param context the credentials to access the Cumulocity platform\n * @param task Runnable task\n * @return Runnable task with context\n */\n Runnable withinContext(C context, Runnable task);\n \n /**\n * Enters context to run with Callable task and returns the task with context\n * @param context the credentials to access the Cumulocity platform\n * @param task Callable task\n * @return Callable task with context\n */\n <V> Callable<V> withinContext(C context, Callable<V> task);\n}",
"title": ""
},
{
"docid": "4e93a6d7a49884ec36d02238c8c3a7a1",
"score": "0.5132923",
"text": "public void receive_request_service_contexts( ServerRequestInfo ri ) throws ForwardRequest\r\n {\r\n }",
"title": ""
},
{
"docid": "77f555646964b6d5d81c3d75b63246a0",
"score": "0.51292366",
"text": "public String getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "77f555646964b6d5d81c3d75b63246a0",
"score": "0.51292366",
"text": "public String getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "aede1015a90d1c50c6a70c01ba58f67f",
"score": "0.51252764",
"text": "public abstract void mo33124a(Context context);",
"title": ""
},
{
"docid": "5403112b0256a24071ed188685f13b37",
"score": "0.51193047",
"text": "public abstract void onOperationUpdate();",
"title": ""
},
{
"docid": "66569dd8682b5f208a122f60ee529c99",
"score": "0.511374",
"text": "public String getContext()\n {\n return m_context;\n }",
"title": ""
},
{
"docid": "da776bcd5e469bc718b438ef43f9c15e",
"score": "0.5098279",
"text": "public interface ContextDataService {\n UniResult toWebService(ContextData contextData);\n}",
"title": ""
},
{
"docid": "5735996ce6d48d35edbf9bb91a91260a",
"score": "0.50924474",
"text": "protected Context getContext() {\n return (context);\n }",
"title": ""
},
{
"docid": "eb6a36d25ed529531c36fa87b01dce1e",
"score": "0.5089962",
"text": "@Override\n protected void beforeHookedMethod(MethodHookParam param) throws Throwable {\n XposedBridge.log(\"Context= \" );\n }",
"title": ""
},
{
"docid": "7efb9d3bc5d8b5fa39f8c7ba0296754e",
"score": "0.50810623",
"text": "public abstract void mo33125b(Context context);",
"title": ""
},
{
"docid": "c587c71dc337545ed8fe1ad145aab113",
"score": "0.5078966",
"text": "public void processCurrentRequest(VaadinRequest request,\n\t\t\tMap<String, Object> context);",
"title": ""
},
{
"docid": "1a19dc1256138370b90b302e53436937",
"score": "0.50781536",
"text": "@Override\n public void preGetLastOperation(Context ctx) {\n Path secretsWorkDir = getPaasSecret(ctx);\n\n //Need to retrieve operation request from context\n GetLastServiceOperationRequest operationRequest = (GetLastServiceOperationRequest)\n ctx.contextKeys.get(ProcessorChainServiceInstanceService.GET_LAST_SERVICE_OPERATION_REQUEST);\n\n //Get deployment execution status through response\n GetLastServiceOperationResponse operationResponse = this.tracker.getDeploymentExecStatus(secretsWorkDir, operationRequest.getServiceInstanceId(), operationRequest.getOperation(), operationRequest);\n\n //Put the response into context\n ctx.contextKeys.put(ProcessorChainServiceInstanceService.GET_LAST_SERVICE_OPERATION_RESPONSE, operationResponse);\n }",
"title": ""
},
{
"docid": "3c2f69f39f709e76885de62b69495360",
"score": "0.50717854",
"text": "@Override\r\n\tpublic void contextStarted()\r\n\t{\n\r\n\t}",
"title": ""
},
{
"docid": "b08a2b907c5b9516074e43699120f8d6",
"score": "0.506285",
"text": "ServiceObjectDescriptionReader(ecx_context context)\n {\n this.context = context;\n }",
"title": ""
},
{
"docid": "64d87b2e002f34245149251536c7858f",
"score": "0.50596225",
"text": "public String getData(BundleContext context, String mode, String[] options,\n\t\t\tString action);",
"title": ""
},
{
"docid": "8c2d95fa0a9730cdbe4e35093d7ad5e6",
"score": "0.505521",
"text": "public Context context() {\n return this.context;\n }",
"title": ""
},
{
"docid": "05a96cf2519497876cb3f64f86e91ae4",
"score": "0.5050342",
"text": "Data createDataWithContext(Document doc);",
"title": ""
},
{
"docid": "76a90eceb214220d199fd4e1d680b67f",
"score": "0.5042119",
"text": "@Override\n public void preBind(Context ctx) {\n Path secretsWorkDir = getPaasSecret(ctx);\n\n //retrieve request from context\n CreateServiceInstanceBindingRequest request = (CreateServiceInstanceBindingRequest) ctx.contextKeys.get(ProcessorChainServiceInstanceBindingService.CREATE_SERVICE_INSTANCE_BINDING_REQUEST);\n\n CreateServiceInstanceBindingResponse response = this.tracker.delegateBindRequest(secretsWorkDir, request);\n\n //Put the response into context\n ctx.contextKeys.put(ProcessorChainServiceInstanceBindingService.CREATE_SERVICE_INSTANCE_BINDING_RESPONSE, response);\n }",
"title": ""
},
{
"docid": "77858a0f438eb1d8e813c88859cdac08",
"score": "0.50397134",
"text": "public Context getInnerContext();",
"title": ""
},
{
"docid": "1bf8399b5fe684242d8561ea7bcc4013",
"score": "0.5036768",
"text": "protected abstract InvokableContext getContainer();",
"title": ""
},
{
"docid": "4050c86570cbb9f33e72d2cceb4225dc",
"score": "0.50354594",
"text": "public AbstractContext getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "81d831893055bee78de785e67b8e9292",
"score": "0.50338835",
"text": "public IbvContext getContext(){\n\t\treturn context;\n\t}",
"title": ""
},
{
"docid": "ddef0947098aa9fc257c4efc53121001",
"score": "0.50257194",
"text": "Frontend apply(Context context);",
"title": ""
},
{
"docid": "c9f22c2d46fc9f3eab2518f35dd38026",
"score": "0.5022409",
"text": "void mo48310dO(Context context);",
"title": ""
},
{
"docid": "72ca41c738a7eda035ea87b703477625",
"score": "0.5009051",
"text": "@PublicApi\n public void setContextData(T contextData)\n {\n this.contextData = contextData;\n }",
"title": ""
},
{
"docid": "4af6cb90ff0db6655b21e7e1d1fc111c",
"score": "0.50020504",
"text": "@Override\n public void enterProduct(ProductContext ctx) {\n \n }",
"title": ""
},
{
"docid": "3761685f1e642c93cbd4f6ad018072e5",
"score": "0.5001174",
"text": "public Context getContext() {\r\n\t\treturn context;\r\n\t}",
"title": ""
},
{
"docid": "50822c3d8fbac5a13d62f472b2dcc33a",
"score": "0.5000252",
"text": "public GetDataModule(Context context, g gVar) {\n super(context);\n j.b(context, \"context\");\n j.b(gVar, \"dataBridgeHandler\");\n this.dataBridgeHandler = gVar;\n }",
"title": ""
},
{
"docid": "0d4a293ed679ad9d7d7b68dcdf922682",
"score": "0.49865642",
"text": "GetDataCatalogResult getDataCatalog(GetDataCatalogRequest getDataCatalogRequest);",
"title": ""
},
{
"docid": "4c338dce0f33fbde4ad553beba53284b",
"score": "0.4984747",
"text": "@Override\n\tpublic Context buildContext(TaskContext taskContext,TranResultSet tranResultSet, BatchContext batchContext){\n\t\treturn inputPlugin.buildContext(taskContext,tranResultSet,batchContext);\n\t}",
"title": ""
},
{
"docid": "e93ece4616d7d671160210631d74dcf9",
"score": "0.49672776",
"text": "public void service(PageContext pContext) throws ServletException, IOException;",
"title": ""
},
{
"docid": "64286bc71811a1ba13d128ab72ec1f1d",
"score": "0.4966217",
"text": "@Override\n\tpublic ServiceInfo getInfo(String language) {\n\t\tServiceInfo info = new ServiceInfo(Type.plain, Content.data, false);\n\t\t\n\t\t//Should be available publicly or only for the developer? Set this when you are done with testing and want to release\n\t\t//info.makePublic();\n\t\t\n\t\t//Command\n\t\tinfo.setIntendedCommand(Sdk.getMyCommandName(this, CMD_NAME));\n\t\t\n\t\t//Direct-match trigger sentences in different languages:\n\t\tString EN = Language.EN.toValue();\n\t\tinfo.addCustomTriggerSentence(\"I'd like to reserve a table.\", EN);\n\t\t/* we will only support English in this demo ...\n\t\tString DE = Language.DE.toValue();\n\t\tinfo.addCustomTriggerSentence(\"Ich würde gerne einen Tisch reservieren.\", DE);\n\t\t*/\n\t\t\n\t\t//Regular expression triggers:\n\t\tinfo.setCustomTriggerRegX(\".*\\\\b((reserve|book)\\\\b.* table)\\\\b.*\", EN);\n\t\tinfo.setCustomTriggerRegXscoreBoost(5);\t\t//boost service a bit to increase priority over similar ones\n\t\t\n\t\t//Parameters:\n\t\t\n\t\t//This service has a number of required parameters (without them we can't complete the reservation).\n\t\t//Required parameters will be asked automatically by SEPIA using the defined question.\n\t\t\n\t\t//The first 2 are already available by default:\n\t\tParameter p1 = new Parameter(PARAMETERS.TIME)\n\t\t\t\t.setRequired(true)\n\t\t\t\t.setQuestion(askTimeAndDate); \t\t\t\t\n\t\t\t\t//NOTE: if you are looking for TIME and NUMBER use this parameter first to exclude dates in NUMBER\n\t\tParameter p2 = new Parameter(PARAMETERS.NUMBER)\n\t\t\t\t.setRequired(true)\n\t\t\t\t.setQuestion(askNumberOfPersons);\n\t\t\n\t\t//The 3rd is a custom parameter made for this service:\n\t\tParameter p3 = new Parameter(new ReservationName())\n\t\t\t\t.setRequired(true)\n\t\t\t\t.setQuestion(askReservationName);\n\t\t\n\t\tinfo.addParameter(p1).addParameter(p2).addParameter(p3);\n\t\t\n\t\t//Answers (these are the default answers, you can trigger a custom answer at any point in the module \n\t\t//with serviceBuilder.setCustomAnswer(..)):\n\t\tinfo.addSuccessAnswer(successAnswer)\n\t\t\t.addFailAnswer(failAnswer)\n\t\t\t.addOkayAnswer(okAnswer);\n\t\t\t//.addCustomAnswer(\"askTimeAndDate\", askTimeAndDate); \t//optional, just for info\n\t\t\n\t\t//Add answer parameters that are used to replace <1>, <2>, ... in your answers.\n\t\t//The name is arbitrary but you need to use the same one in getResult(...) later for api.resultInfoPut(...)\n\t\tinfo.addAnswerParameters(\"time\", \"number\", \"name\"); \t//<1>=time, <2>=number, ...\n\t\t\n\t\treturn info;\n\t}",
"title": ""
},
{
"docid": "6c52416d5fe65cfe81186763179aaac2",
"score": "0.4964841",
"text": "void addContext(Map<String, String> addedContext);",
"title": ""
},
{
"docid": "a3d0de07311b0590841a16aacf67bc5d",
"score": "0.4964315",
"text": "Context getContext() {\n\t\treturn ctx;\n\t}",
"title": ""
},
{
"docid": "0bb15bba1808234be5b225946a92bd5e",
"score": "0.49520677",
"text": "public void onProcess(OperationThirdParty operation);",
"title": ""
},
{
"docid": "98b9bd7f622e534d30a7ee17c7912350",
"score": "0.49412057",
"text": "public final CallContext getCallContext() { return context; }",
"title": ""
},
{
"docid": "cad39f7673ce477b2fffe95419da5535",
"score": "0.4938949",
"text": "@Override\n public void executeInternal(JobExecutionContext context){\n log.info(\"Sysout: \" + sampleService.sysout() + \" Add: \" + sampleService.add(1,2).toString() + \" Time: \" + dateFormat.format(new Date()));\n }",
"title": ""
},
{
"docid": "8f4a6832c78067a563182725de037b30",
"score": "0.49383232",
"text": "@Override\n\t\tprotected void loadMetaData(MetaDataContext<O, F> context) throws Exception {\n\t\t\tManagedObject instance = this.factory.get();\n\n\t\t\t// Provide meta-data\n\t\t\ttry {\n\t\t\t\tcontext.setManagedObjectClass(instance.getClass());\n\t\t\t\tcontext.setObjectClass(instance.getObject().getClass());\n\t\t\t} catch (Throwable ex) {\n\t\t\t\tthrow fail(ex);\n\t\t\t}\n\n\t\t\t// Configure the meta-data\n\t\t\tif (configurer != null) {\n\t\t\t\tconfigurer.accept(context);\n\t\t\t}\n\t\t}",
"title": ""
},
{
"docid": "67666c29a54ddc920ead2dceefc0c7fb",
"score": "0.49363986",
"text": "public ServiceContext getServiceContext()\n {\n try\n {\n serviceContext.proxy = getServiceProxy();\n }\n catch (Exception ignored)\n {\n }\n if (getError() != null)\n serviceContext.setProblem(getError());\n if (getState() == ControllerState.ERROR)\n serviceContext.state = ServiceContext.FAILED;\n return serviceContext;\n }",
"title": ""
},
{
"docid": "15c9c1ce5801aeab0d881d7065493df1",
"score": "0.4932657",
"text": "public Context getContext() {\n return context;\n }",
"title": ""
},
{
"docid": "d7ddfb64c75ac90498153538abb05ee7",
"score": "0.49283865",
"text": "public ResponseContext getResponseContext(){\r\n return localResponseContext;\r\n }",
"title": ""
},
{
"docid": "5eab6b8a6ec0f743475574730d4d0d1e",
"score": "0.49268165",
"text": "public void contextualize(Context context) throws ContextException {\n // retrieve the working directory, assuming that the index may reside there\n workDir = (File) context.get(Constants.CONTEXT_WORK_DIR);\n }",
"title": ""
},
{
"docid": "5eab6b8a6ec0f743475574730d4d0d1e",
"score": "0.49268165",
"text": "public void contextualize(Context context) throws ContextException {\n // retrieve the working directory, assuming that the index may reside there\n workDir = (File) context.get(Constants.CONTEXT_WORK_DIR);\n }",
"title": ""
},
{
"docid": "d1dd3db39c47cd25ac458335c881036c",
"score": "0.492647",
"text": "public interface PostProcessor<T> {\n T process(Context context, T data);\n }",
"title": ""
},
{
"docid": "88936d98d4b64757c8855be75776a3d8",
"score": "0.49229744",
"text": "public interface Context \n{\n /**\n * Fire a new {@link Event}.\n * \n * @param event The {@link Event} instance to fire\n */\n void fire(Event event); \n \n /**\n * Register a {@link EventHandler} for a specific {@link Event}.\n * \n * @param <K>\n * @param eventType The Type of {@link Event} to listen to\n * @param handler The receiver of the {@link Event}\n */\n <K extends Event> void register(Class<? extends K> eventType, EventHandler<? super K> handler);\n\n /**\n * Get the defined {@link ServiceLoader}\n * \n * @return A instance of {@link ServiceLoader}\n * @see #get(Class)\n */\n ServiceLoader getServiceLoader();\n \n /**\n * Get this contexts parent context.\n * \n * @return The parent context if any, null if this is the top context.\n */\n Context getParentContext();\n\n /**\n * Add a instance of B to the context.\n * \n * @param <B>\n * @param type The Type of the instance to add\n * @param instance The instance to add\n */\n <B> void add(Class<B> type, B instance);\n \n /**\n * Get a instance of B from the context.\n * \n * @param <B>\n * @param type Type to lookup\n * @return A instance of B or null if not found\n */\n <B> B get(Class<B> type);\n}",
"title": ""
},
{
"docid": "b18ed5f9ffd81d5bbcb6b81a9a202c66",
"score": "0.49219745",
"text": "public static Context gettheContext(){\n return contextOfApplication;\n }",
"title": ""
},
{
"docid": "8d13de2e85c01ae87c4101a4ce6aed11",
"score": "0.49177915",
"text": "void injectSelf(Context context);",
"title": ""
},
{
"docid": "1db6f41c47b1ee388dbe1fb3c52b3612",
"score": "0.4917142",
"text": "InvocationContext getInvocationContext();",
"title": ""
},
{
"docid": "0ca1369065c298bdd852368277be009e",
"score": "0.49168095",
"text": "public ProductCRUDServiceImpl(@Context ServletContext servletContext, @Context HttpServletRequest request) {\n logger.info(\"<constructor>: \" + servletContext + \"/\" + request);\n // read out the dataAccessorS\n this.productCRUD = (GenericCRUDExecutor<AbstractProduct>) servletContext.getAttribute(\"productCRUD\");\n\n logger.debug(\"read out the productCRUD from the servlet context: \" + this.productCRUD);\n }",
"title": ""
},
{
"docid": "d60921b23d4ed2b83b202865720d0036",
"score": "0.49159226",
"text": "private void getIntentData() {\n }",
"title": ""
},
{
"docid": "f79650571ff9a9144e2b95cf69af2fa7",
"score": "0.4914575",
"text": "protected abstract void createServiceContent( AxisService axisService, String operationName, AxisConfiguration axisConfiguration, ConfigurationContext context, OutputStream out ) throws Exception;",
"title": ""
},
{
"docid": "a494c0d8744527e80ee119d83d0ff3e3",
"score": "0.49115327",
"text": "void addContextFields(MethodContext innerContext) {\n HashMap<Integer, DependentFieldData> innerFields = innerContext.getDependentFields();\n HashMap<String, DependentFieldData> innerStaticFields = innerContext.getDependentStaticFields();\n\n for (Integer fieldHash : innerFields.keySet()) {\n DependentFieldData fieldData = innerFields.get(fieldHash);\n this.dependentFields.put(fieldHash, fieldData);\n }\n\n for (String fieldName : innerStaticFields.keySet()) {\n DependentFieldData fieldData = innerStaticFields.get(fieldName);\n this.dependentStaticFields.put(fieldName, fieldData);\n }\n }",
"title": ""
},
{
"docid": "80dcc70bcf275ac6082f0205355a36a0",
"score": "0.4901902",
"text": "Data createDataWithContext(RStack stack);",
"title": ""
},
{
"docid": "3686dbad0e324c0bb8bac3b47eb2b62a",
"score": "0.4900444",
"text": "@Override\n public void getData() {\n\n }",
"title": ""
},
{
"docid": "d3ecf85e733d11700d67cd4cb3723bc4",
"score": "0.48991072",
"text": "void service(HttpServletRequest request,\n HttpServletResponse response)\n throws IOException {\n \n // Determine diagnostic context ID\n String contextID = request.getParameter(\"_context\");\n \n // If there is no diagnostic context ID, then generate one.\n if ((contextID == null) || (contextID.length() < 1)) {\n contextID = generateContextID();\n }\n \n // Associate the context ID with this thread\n NDC.push(contextID);\n \n // Handle the request\n try {\n doService(request, response);\n \n // And disassociate the context ID from this thread\n } finally {\n NDC.pop();\n NDC.remove();\n }\n }",
"title": ""
},
{
"docid": "e9b508d04ca0ab6070db7a1d4bd072d8",
"score": "0.48935238",
"text": "@Override\n\t\t\tpublic IContextInformation getContextInformation() {\n\t\t\t\treturn null;\n\t\t\t}",
"title": ""
},
{
"docid": "f095a0450495b86e415e6b9a2bbcc20a",
"score": "0.4886059",
"text": "public D2WStatelessComponent(com.webobjects.appserver.WOContext aContext){\n //TODO codavaj!!\n }",
"title": ""
},
{
"docid": "6371a09565f9816dbf92a86d7d5d559e",
"score": "0.48847646",
"text": "public interface IContext\n{\n}",
"title": ""
}
] |
8761ad4092273a30e13f2607a415905f | test new sequence with clones associated with anonymous sources which will cause the given RawAttributes to collapse to an existing source record and the anonymous records are not used. | [
{
"docid": "3aa3d0396efd0765e2878342db3b9dc8",
"score": "0.59160835",
"text": "public void testNewSeqCloneAnnonSrc() throws Exception\n {\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"HeLa\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertEquals(new Integer(-40), ms.getMSKey());\n }",
"title": ""
}
] | [
{
"docid": "1ce5f50dfb0c2feab1dc4b60cb0c9417",
"score": "0.5796829",
"text": "public void testNewSeqNewNamedSrc() throws Exception\n {\n String accid = \"NOGOOD\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setLibraryName(\"name5\");\n raw.setCellLine(\"HeLa\");\n raw.setGender(\"Male\");\n raw.setOrganism(\"mouse, laboratory\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertTrue(ms.getMSKey().intValue() > 0); // a new key was created\n // cleanup new record\n sqlMgr.executeUpdate(\n \"delete prb_source where _source_key = \" + ms.getMSKey()\n );\n }",
"title": ""
},
{
"docid": "81bd67f8faba7ec41c5c87ee7ddcd35d",
"score": "0.5789152",
"text": "public void testNewSeqNewSrc() throws Exception\n {\n String accid = \"NOGOOD\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setGender(\"Male\");\n raw.setCellLine(\"HeLa\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertTrue(ms.getMSKey().intValue() > 0); // a new key was created\n // cleanup new record\n sqlMgr.executeUpdate(\n \"delete prb_source where _source_key = \" + ms.getMSKey()\n );\n }",
"title": ""
},
{
"docid": "b0ad991dc0e3ffb53ecf8fb2e436fff0",
"score": "0.5431416",
"text": "public void testNewSeqCloneNamedSrc() throws Exception\n {\n String accid = \"T00613\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertEquals(new Integer(-20), ms.getMSKey());\n }",
"title": ""
},
{
"docid": "99c763ac509bfeca0556c7871d6b0d69",
"score": "0.5102784",
"text": "public void testNewSeqNamedSrc() throws Exception\n {\n String accid = null;\n MSRawAttributes raw = new MSRawAttributes();\n raw.setLibraryName(\"name1\");\n raw.setOrganism(\"mouse, laboratory\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertEquals(new Integer(-20), ms.getMSKey());\n }",
"title": ""
},
{
"docid": "799c5acc51834364a123cb18679f2c7b",
"score": "0.5069205",
"text": "public void testExistingSeqWithChangedSrcCollapse() throws Exception\n {\n String sql = \"select _source_key from seq_source_assoc \" +\n \"where _assoc_key = -100\";\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"C57MG\");\n Integer seqKey = new Integer(-200);\n msProcessor.processExistingSeqSrc(accid, seqKey, null, raw);\n ResultsNavigator nav = sqlMgr.executeQuery(sql);\n nav.next();\n RowReference row = nav.getRowReference();\n assertEquals(new Integer(-90), row.getInt(1));\n }",
"title": ""
},
{
"docid": "a4a655582e9fd479a5941d54821e3da9",
"score": "0.50298274",
"text": "public void testExistingSeqWithoutSrc() throws Exception\n {\n String accid = null;\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n try\n {\n msProcessor.processExistingSeqSrc(\"NoAccid\",\n new Integer(-80) /* not in db */,\n null, raw);\n }\n catch (MGIException e)\n {\n assertEquals(e.getMessage(), \"Could not find molecular source \" +\n \"for existing sequence with accid = NoAccid and organism key = 1\");\n }\n }",
"title": ""
},
{
"docid": "8791b1129dc28771ca498f43936378f2",
"score": "0.48602942",
"text": "public void mo25055a(C8125j audioAttributes) {\n if (!this.f16628v.equals(audioAttributes)) {\n this.f16628v = audioAttributes;\n if (!this.f16607aa) {\n reset();\n this.f16605Y = 0;\n }\n }\n }",
"title": ""
},
{
"docid": "19548a1be8f1755b5920a3a823e87d71",
"score": "0.4696063",
"text": "public void testExistingSeqWithChangedNamedSrc() throws Exception\n {\n Integer C30 = this.cellLineLookup.lookup(\"C30\");\n String sql = \"select * from prb_source where _source_key \" +\n \"= -20 and _cellLine_key = \" + C30.toString();\n ResultsNavigator nav = sqlMgr.executeQuery(sql);\n assertTrue(!nav.next()); // assure no records found\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setLibraryName(\"name2\");\n raw.setCellLine(\"C30\");\n Integer seqKey = new Integer(-300);\n msProcessor.processExistingSeqSrc(accid, seqKey, \"oldRaw\", raw);\n nav = sqlMgr.executeQuery(sql);\n assertTrue(!nav.next()); // assure no records still not found\n // the association should have changed\n sql = \"select _source_key from seq_source_assoc where \" +\n \"_sequence_key = -300\";\n nav = sqlMgr.executeQuery(sql);\n nav.next();\n assertEquals(nav.getRowReference().getInt(1), new Integer(-30));\n }",
"title": ""
},
{
"docid": "2431ba60d55565fd1b6a3ae01e37200f",
"score": "0.45213673",
"text": "public void testExistingSeqWithChangedSrc() throws Exception\n {\n Integer C30 = this.cellLineLookup.lookup(\"C30\");\n String sql = \"select * from prb_source where _source_key \" +\n \"= -40 and _cellLine_key = \" + C30.toString();\n ResultsNavigator nav = sqlMgr.executeQuery(sql);\n assertTrue(!nav.next()); // assure no records found\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"C30\");\n Integer seqKey = new Integer(-200);\n msProcessor.processExistingSeqSrc(accid, seqKey, null, raw);\n nav = sqlMgr.executeQuery(sql);\n assertTrue(nav.next()); // assure a record was found\n }",
"title": ""
},
{
"docid": "6df6bddfeeecb2d18def873300494c4c",
"score": "0.44940108",
"text": "private void TCM__Object_clone__default() {\n final String attributeName = \"test\";\n final String attributeValue = \"value\";\n\n final Attribute attribute = new Attribute(attributeName, attributeValue);\n final Attribute clonedAttribute = attribute.clone();\n\n assertTrue(\"incorrect name in clone\", clonedAttribute.getName().equals(attributeName));\n assertTrue(\"incorrect value in clone\", clonedAttribute.getValue().equals(attributeValue));\n assertEquals(\"incoorect attribute type in clone\", clonedAttribute.getAttributeType(), Attribute.UNDECLARED_TYPE);\n }",
"title": ""
},
{
"docid": "0207d55f62c607eaf2fd165d15a82917",
"score": "0.44237527",
"text": "public void testNewSeqCloneNamedSrcConflict() throws Exception\n {\n String accid = \"T00513\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"HeLa\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertEquals(new Integer(-40), ms.getMSKey());\n // check qc tables\n String sql = \"select count(*) from QC_MS_NameConflict \" +\n \"where _jobstream_key = \" + jobkey;\n ResultsNavigator nav = radar.executeQuery(sql);\n RowReference row = nav.getRowReference();\n nav.next();\n assertEquals(new Integer(1), row.getInt(1));\n\n }",
"title": ""
},
{
"docid": "0b30d78af040c10e9517c15127e7ae4c",
"score": "0.43366364",
"text": "private SAMRecord uniqueAlignment(SAMRecord record) {\n\t\tSAMRecord toReturn;\n\t\t// this should not throw the error, but it is safer\n\t\ttry {\n\t\t\t// copy the record\n\t\t\ttoReturn = (SAMRecord)record.clone();\n\t\t} catch(Exception e) {\n\t\t\tthrow new RuntimeException(\"Unexpected exception when obtaining unique alignment from \"+record);\n\t\t}\n\t\ttoReturn.setAttribute(\"X0\", 1);\n\t\treturn toReturn;\n\t}",
"title": ""
},
{
"docid": "300b8986be550581f564ba27273e8287",
"score": "0.43336374",
"text": "public void testExistingSeqWithChangedSrcCuratorEdited() throws Exception\n {\n sqlMgr.executeUpdate(\"update prb_source set isCuratorEdited = 1 where _source_key = -40\");\n Integer C30 = this.cellLineLookup.lookup(\"C30\");\n String sql = \"select * from prb_source where _source_key \" +\n \"= -40 and _cellLine_key = \" + C30.toString();\n ResultsNavigator nav = sqlMgr.executeQuery(sql);\n assertTrue(!nav.next()); // assure no records found\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"C30\");\n Integer seqKey = new Integer(-200);\n msProcessor.processExistingSeqSrc(accid, seqKey, null, raw);\n nav = sqlMgr.executeQuery(sql);\n assertTrue(!nav.next()); // assure record was not edited\n // check qc tables\n sql = \"select count(*) from QC_MS_AttrEdit \" +\n \"where _jobstream_key = \" + jobkey;\n nav = radar.executeQuery(sql);\n RowReference row = nav.getRowReference();\n nav.next();\n assertEquals(new Integer(1), row.getInt(1));\n\n }",
"title": ""
},
{
"docid": "05a1ea9de5bea1ac5bba01033fb6a43d",
"score": "0.41894788",
"text": "protected void sequence_BasicSource(ISerializationContext context, BasicSource semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "d50777e5dffb8b98c3a97c4ed3eba45e",
"score": "0.41529113",
"text": "ASTNode clone0(AST target) {\r\n\t\tNewAnonymousClassExpression result = new NewAnonymousClassExpression(target);\r\n\t\tresult.setSourceRange(this.getStartPosition(), this.getLength());\r\n\tresult.setExpression((Expression) ASTNode.copySubtree(target, getExpression()));\r\n\t\tresult.newArguments.addAll(ASTNode.copySubtrees(target, newArguments()));\r\n\t\tresult.constructorArguments.addAll(ASTNode.copySubtrees(target, constructorArguments()));\r\n\t\tresult.baseClasses.addAll(ASTNode.copySubtrees(target, baseClasses()));\r\n\t\tresult.declarations.addAll(ASTNode.copySubtrees(target, declarations()));\r\n\t\treturn result;\r\n\t}",
"title": ""
},
{
"docid": "c58c2dde588476f1981f7dfa543adfa1",
"score": "0.41289827",
"text": "public void copyPose(Pose raw) {\n pose = raw;\n }",
"title": ""
},
{
"docid": "4e310872d0507ba6f014885abe12f0c6",
"score": "0.4113209",
"text": "public void testAnonymousType() throws JavaModelException {\n\t\tASTNode node = buildAST(\n\t\t\t\"public class X {\\n\" +\n\t\t\t\" Object foo() {\\n\" +\n\t\t\t\" return new Object() /*start*/{\\n\" +\n\t\t\t\" }/*end*/;\\n\" +\n\t\t\t\" }\\n\" +\n\t\t\t\"}\"\n\t\t);\n\t\tIBinding binding = ((AnonymousClassDeclaration) node).resolveBinding();\n\t\tassertNotNull(\"No binding\", binding);\n\t\tIJavaElement element = binding.getJavaElement();\n\t\tassertElementEquals(\n\t\t\t\"Unexpected Java element\",\n\t\t\t\"<anonymous #1> [in foo() [in X [in [Working copy] X.java [in <default> [in <project root> [in P]]]]]]\",\n\t\t\telement\n\t\t);\n\t\tassertTrue(\"Element should exist\", element.exists());\n\t}",
"title": ""
},
{
"docid": "111989a84911cf63cbaede594d55c7db",
"score": "0.41043836",
"text": "public static PacketSource makeDummy() {\n\treturn new DummySource();\n }",
"title": ""
},
{
"docid": "4df2ecaf7ba202bbc2320813b11f010c",
"score": "0.41036382",
"text": "@Test\n\tpublic void testConstructor()\n\t{\n\t\tfinal Object rawData = new Object();\n\t\tfinal String id = \"TestId\";\n\t\tfinal DataSeries ds = new DataSeries();\n\t\tfinal RawDataEvent testObj = new RawDataEvent(rawData, id, ds);\n\n\t\tassertEquals(ds, testObj.getDataSeries());\n\t\tassertEquals(id, testObj.getIdentifier());\n\t\tassertEquals(rawData, testObj.getRawDataSource());\n\t}",
"title": ""
},
{
"docid": "b8334871dc292b50d1c446557e9fa849",
"score": "0.40954867",
"text": "public SourceRecord() {\n super(Source.SOURCE);\n }",
"title": ""
},
{
"docid": "5b69c39e7cf6450772631cf2e50e80ca",
"score": "0.4042475",
"text": "private NodeTypeHolder(Attributes a)\r\n\t{\r\n\t this.attributes = a;\r\n\t}",
"title": ""
},
{
"docid": "616fcdc10b576cb5f29a9c04d56ddf63",
"score": "0.4023573",
"text": "private void createDummyData() {\n YangInstanceIdentifier yiid;\n // create 2 links (stored in waitingLinks)\n LeafNode<String> link1Source = ImmutableNodes.leafNode(TopologyQNames.LINK_SOURCE_NODE_QNAME,\n UNDERLAY_NODE_ID_1);\n LeafNode<String> link2Source = ImmutableNodes.leafNode(TopologyQNames.LINK_SOURCE_NODE_QNAME,\n UNDERLAY_NODE_ID_3);\n\n ContainerNode source1Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Source.QNAME)).withChild(link1Source).build();\n ContainerNode source2Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Source.QNAME)).withChild(link2Source).build();\n\n LeafNode<String> link1Dest = ImmutableNodes.leafNode(TopologyQNames.LINK_DEST_NODE_QNAME, UNDERLAY_NODE_ID_2);\n LeafNode<String> link2Dest = ImmutableNodes.leafNode(TopologyQNames.LINK_DEST_NODE_QNAME, UNDERLAY_NODE_ID_4);\n ContainerNode dest1Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Destination.QNAME)).withChild(link1Dest).build();\n ContainerNode dest2Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Destination.QNAME)).withChild(link2Dest).build();\n\n MapEntryNode link1 = ImmutableNodes.mapEntryBuilder(Link.QNAME, TopologyQNames.NETWORK_LINK_ID_QNAME, LINK_ID_1)\n .withChild(source1Container).withChild(dest1Container).build();\n MapEntryNode link2 = ImmutableNodes.mapEntryBuilder(Link.QNAME, TopologyQNames.NETWORK_LINK_ID_QNAME, LINK_ID_2)\n .withChild(source2Container).withChild(dest2Container).build();\n\n yiid = DUMMY_LINK_CREATOR.createNodeIdYiid(LINK_ID_1);\n UnderlayItem item = new UnderlayItem(link1, null, TOPOLOGY_ID, LINK_ID_1, CorrelationItemEnum.Link);\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n\n yiid = DUMMY_LINK_CREATOR.createNodeIdYiid(LINK_ID_2);\n item = new UnderlayItem(link2, null, TOPOLOGY_ID, LINK_ID_2, CorrelationItemEnum.Link);\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n\n // create 2 supporting nodes under two overlay nodes\n yiid = YangInstanceIdentifier.builder()\n .nodeWithKey(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_1).build();\n Map<QName, Object> suppNode1KeyValues = new HashMap<>();\n suppNode1KeyValues.put(TopologyQNames.TOPOLOGY_REF, TOPOLOGY_ID);\n suppNode1KeyValues.put(TopologyQNames.NODE_REF, UNDERLAY_NODE_ID_1);\n MapEntryNode menSuppNode1 = ImmutableNodes.mapEntryBuilder()\n .withNodeIdentifier(new NodeIdentifierWithPredicates(SupportingNode.QNAME, suppNode1KeyValues)).build();\n MapNode suppNode1List = ImmutableNodes.mapNodeBuilder(SupportingNode.QNAME).addChild(menSuppNode1).build();\n MapEntryNode overlayNode1 = ImmutableNodes\n .mapEntryBuilder(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_1)\n .addChild(suppNode1List).build();\n item = new UnderlayItem(overlayNode1, null, TOPOLOGY_ID, OVERLAY_NODE_ID_1, CorrelationItemEnum.Node);\n // overlayNode1 is created\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n\n yiid = YangInstanceIdentifier.builder()\n .nodeWithKey(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_2).build();\n Map<QName, Object> suppNode2KeyValues = new HashMap<>();\n suppNode2KeyValues.put(TopologyQNames.TOPOLOGY_REF, TOPOLOGY_ID);\n suppNode2KeyValues.put(TopologyQNames.NODE_REF, UNDERLAY_NODE_ID_2);\n MapEntryNode menSuppNode2 = ImmutableNodes.mapEntryBuilder()\n .withNodeIdentifier(new NodeIdentifierWithPredicates(SupportingNode.QNAME, suppNode2KeyValues)).build();\n MapNode suppNode2List = ImmutableNodes.mapNodeBuilder(SupportingNode.QNAME).addChild(menSuppNode2).build();\n MapEntryNode overlayNode2 = ImmutableNodes\n .mapEntryBuilder(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_2)\n .addChild(suppNode2List).build();\n item = new UnderlayItem(overlayNode2, null, TOPOLOGY_ID, OVERLAY_NODE_ID_2, CorrelationItemEnum.Node);\n // overlayNode2 is created and link:1 is matched\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n\n // create a third supporting node under a third overlay node\n yiid = YangInstanceIdentifier.builder()\n .nodeWithKey(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_3).build();\n Map<QName, Object> suppNode3KeyValues = new HashMap<>();\n suppNode3KeyValues.put(TopologyQNames.TOPOLOGY_REF, TOPOLOGY_ID);\n suppNode3KeyValues.put(TopologyQNames.NODE_REF, UNDERLAY_NODE_ID_3);\n MapEntryNode menSuppNode3 = ImmutableNodes.mapEntryBuilder()\n .withNodeIdentifier(new NodeIdentifierWithPredicates(SupportingNode.QNAME, suppNode3KeyValues)).build();\n MapNode suppNode3List = ImmutableNodes.mapNodeBuilder(SupportingNode.QNAME).addChild(menSuppNode3).build();\n MapEntryNode node3 = ImmutableNodes\n .mapEntryBuilder(Node.QNAME, TopologyQNames.NETWORK_NODE_ID_QNAME, OVERLAY_NODE_ID_3)\n .addChild(suppNode3List).build();\n item = new UnderlayItem(node3, null, TOPOLOGY_ID, OVERLAY_NODE_ID_3, CorrelationItemEnum.Node);\n\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n\n // create another matched link (link:3)\n LeafNode<String> link3Source = ImmutableNodes.leafNode(TopologyQNames.LINK_SOURCE_NODE_QNAME,\n UNDERLAY_NODE_ID_2);\n ContainerNode source3Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Source.QNAME)).withChild(link3Source).build();\n LeafNode<String> link3Dest = ImmutableNodes.leafNode(TopologyQNames.LINK_DEST_NODE_QNAME, UNDERLAY_NODE_ID_3);\n ContainerNode dest3Container = ImmutableContainerNodeBuilder\n .create(ImmutableNodes.containerNode(Destination.QNAME)).withChild(link3Dest).build();\n MapEntryNode link3 = ImmutableNodes.mapEntryBuilder(Link.QNAME, TopologyQNames.NETWORK_LINK_ID_QNAME, LINK_ID_3)\n .withChild(source3Container).withChild(dest3Container).build();\n yiid = DUMMY_LINK_CREATOR.createNodeIdYiid(LINK_ID_3);\n item = new UnderlayItem(link3, null, TOPOLOGY_ID, LINK_ID_3, CorrelationItemEnum.Link);\n ntLinkCalculator.processCreatedChanges(yiid, item, TOPOLOGY_ID);\n }",
"title": ""
},
{
"docid": "729a93ab13f147acb4ebdd4b3b52e662",
"score": "0.40108985",
"text": "private void assertIsolatedSnapshot(String source, String dest) {\n List<Row> expected = spark.sql(String.format(\"SELECT * FROM %s\", source)).collectAsList();\n\n List<SimpleRecord> extraData = Lists.newArrayList(new SimpleRecord(4, \"d\"));\n Dataset<Row> df = spark.createDataFrame(extraData, SimpleRecord.class);\n df.write().format(\"iceberg\").mode(\"append\").saveAsTable(dest);\n\n List<Row> result = spark.sql(String.format(\"SELECT * FROM %s\", source)).collectAsList();\n Assert.assertEquals(\n \"No additional rows should be added to the original table\", expected.size(), result.size());\n\n List<Row> snapshot =\n spark\n .sql(String.format(\"SELECT * FROM %s WHERE id = 4 AND data = 'd'\", dest))\n .collectAsList();\n Assert.assertEquals(\"Added row not found in snapshot\", 1, snapshot.size());\n }",
"title": ""
},
{
"docid": "b92cced4701a03aa76a82d9d98d200a9",
"score": "0.4001794",
"text": "public Builder clearSourceSnId() {\n \n sourceSnId_ = 0;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "67641c51b81726832be130ce947bafc3",
"score": "0.39933157",
"text": "@Test\n\tpublic void test_TCM__Object_clone() {\n TCM__Object_clone__default();\n\n TCM__Object_clone__attributeType(Attribute.UNDECLARED_TYPE);\n TCM__Object_clone__attributeType(Attribute.CDATA_TYPE);\n TCM__Object_clone__attributeType(Attribute.ID_TYPE);\n TCM__Object_clone__attributeType(Attribute.IDREF_TYPE);\n TCM__Object_clone__attributeType(Attribute.IDREFS_TYPE);\n TCM__Object_clone__attributeType(Attribute.ENTITY_TYPE);\n TCM__Object_clone__attributeType(Attribute.ENTITIES_TYPE);\n TCM__Object_clone__attributeType(Attribute.NMTOKEN_TYPE);\n TCM__Object_clone__attributeType(Attribute.NMTOKENS_TYPE);\n TCM__Object_clone__attributeType(Attribute.NOTATION_TYPE);\n TCM__Object_clone__attributeType(Attribute.ENUMERATED_TYPE);\n\n\n TCM__Object_clone__Namespace_default();\n\n TCM__Object_clone__Namespace_attributeType(Attribute.UNDECLARED_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.CDATA_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.ID_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.IDREF_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.IDREFS_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.ENTITY_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.ENTITIES_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.NMTOKEN_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.NMTOKENS_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.NOTATION_TYPE);\n TCM__Object_clone__Namespace_attributeType(Attribute.ENUMERATED_TYPE);\n\t}",
"title": ""
},
{
"docid": "3d22db48372a66edf81df5e75869d6f4",
"score": "0.39747593",
"text": "@Override\n public Collection<SimpleModel> mungee(Collection<MockData> src) {\n return src\n .stream()\n .filter(data -> data.getContent() != null)\n .map(SimpleModel::build)\n .collect(Collectors.toList());\n }",
"title": ""
},
{
"docid": "ce0ee565dadbb105a2602376894cc3c1",
"score": "0.39543808",
"text": "private void createMirrorAttributes() {\n for (NodeAttributeToPreserve attribute : nodeAttributesToPreserve) {\n assert (originalGraph.hasNodeAttribute(attribute.id)) : \"The node attribute to be mirrored does not exist in the original graph.\";\n mirrorGraph.newNodeAttribute(attribute.id, originalGraph.nodeAttribute(attribute.id).getDefault());\n }\n\n for (String attrId : edgeAttributesToPreserve) {\n assert (originalGraph.hasEdgeAttribute(attrId)) : \"The edge attribute to be mirrored does not exist in the original graph.\";\n mirrorGraph.newEdgeAttribute(attrId, originalGraph.edgeAttribute(attrId).getDefault());\n }\n }",
"title": ""
},
{
"docid": "ba7403c2a469f323aa637002527b6587",
"score": "0.3953857",
"text": "@Override\n protected Sequence newSequence(ResultSet sequenceMeta) throws SQLException {\n Sequence seq = super.newSequence(sequenceMeta);\n seq.setIdentifier(DBIdentifier.trim(seq.getIdentifier()));\n return seq;\n }",
"title": ""
},
{
"docid": "0db6ef91e6a08d183df3dc9d2acdd2a6",
"score": "0.3947452",
"text": "@Test\n public void cloneTestPuttingBlocks() {\n Playground orginal = new Playground(5, 0.0);\n\n //Place two blocks on empty fields\n if (!orginal.take(1, 1, 1, 2))\n fail();\n if (!orginal.take(1, 4, 2, 4))\n fail();\n\n Playground clone = orginal.clone();\n\n //Try to place block on empty spot\n if (!clone.take(0, 1, 4, 1))\n fail();\n //Try to place block on taken spot\n if (clone.take(1, 1, 1, 2))\n fail();\n }",
"title": ""
},
{
"docid": "50b96a9ae7761d57b8cc402272a4b6ec",
"score": "0.3941401",
"text": "@org.junit.Test(timeout = 10000)\n public void annotated_cf11() {\n com.squareup.javapoet.TypeName simpleString = com.squareup.javapoet.TypeName.get(java.lang.String.class);\n org.junit.Assert.assertFalse(simpleString.isAnnotated());\n org.junit.Assert.assertEquals(simpleString, com.squareup.javapoet.TypeName.get(java.lang.String.class));\n com.squareup.javapoet.TypeName annotated = simpleString.annotated(NEVER_NULL);\n org.junit.Assert.assertTrue(annotated.isAnnotated());\n // AssertGenerator replace invocation\n boolean o_annotated_cf11__11 = // StatementAdderMethod cloned existing statement\n annotated.isBoxedPrimitive();\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_annotated_cf11__11);\n org.junit.Assert.assertEquals(annotated, annotated.annotated());\n }",
"title": ""
},
{
"docid": "e7432825bddd954039833f42bab8d583",
"score": "0.39411327",
"text": "NewAnonymousClassExpression(AST ast) {\r\n\t\tsuper(ast);\r\n\t}",
"title": ""
},
{
"docid": "ba14d50b4c9c383a134889583bf71bb4",
"score": "0.3936589",
"text": "protected abstract boolean populateAttributes();",
"title": ""
},
{
"docid": "f726a6a8cdde15d1f922893aa0218221",
"score": "0.39327532",
"text": "protected void sequence_LogicalAbsentStatefulSource_NOT_SequenceSourceChain1(ISerializationContext context, NOT semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "433155c40887ec5437b4b9765b8fcfb4",
"score": "0.39289597",
"text": "@Test\n public void basicFieldsTestForClaimObjectTransformation() {\n claim.setClaimId(EXPECTED_CLAIM_ID);\n claim.setDcn(\"dcn\");\n claim.setSequenceNumber(42L);\n claim.setIntermediaryNb(\"12345\");\n claim.setHicNo(\"hicn\");\n claim.setDrgCd(\"drug\");\n claim.setGroupCode(\"to\");\n claim.setClmTypInd(\"1\");\n claim.setCurrStatus('M');\n claim.setCurrLoc1('M');\n claim.setCurrLoc2(\"9000\");\n claim.setMedaProvId(\"mpi\");\n claim.setMedaProv_6(\"mp_6\");\n claim.setTotalChargeAmount(new BigDecimal(\"1002.54\"));\n claim.setReceivedDate(LocalDate.of(2020, 1, 2));\n claim.setCurrTranDate(LocalDate.of(2021, 3, 4));\n claim.setAdmitDiagCode(\"1234567\");\n claim.setPrincipleDiag(\"7654321\");\n claim.setNpiNumber(\"npi-123456\");\n claim.setMbiRecord(\n new Mbi(\n 1L, \"12345678901\", \"3cf7b310f8fd6e7b275ddbdc6c3cd5b4eec0ea10bc9a504d471b086bd5d9b888\"));\n claim.setFedTaxNumber(\"1234567890\");\n claim.setPracLocAddr1(\"loc-address-1\");\n claim.setPracLocAddr2(\"loc-address-2\");\n claim.setPracLocCity(\"loc-city\");\n claim.setPracLocState(\"ls\");\n claim.setPracLocZip(\"123456789012345\");\n claim.setStmtCovFromDate(LocalDate.of(2020, 2, 3));\n claim.setStmtCovFromDateText(\"2020-02-03\");\n claim.setStmtCovToDate(LocalDate.of(2021, 4, 5));\n claim.setStmtCovToDateText(\"2021-04-05\");\n claim.setLobCd(\"1\");\n claim.setServTypeCd(\"6\");\n claim.setServTypeCdMapping(RdaFissClaim.ServTypeCdMapping.Clinic);\n claim.setFreqCd(\"G\");\n claim.setBillTypCd(\"ABC\");\n claim.setLastUpdated(clock.instant());\n claimBuilder\n .setRdaClaimKey(\"claim_id\")\n .setDcn(\"dcn\")\n .setHicNo(\"hicn\")\n .setIntermediaryNb(\"12345\")\n .setDrgCd(\"drug\")\n .setGroupCode(\"to\")\n .setClmTypIndEnum(FissClaimTypeIndicator.CLAIM_TYPE_INPATIENT)\n .setCurrStatusEnum(FissClaimStatus.CLAIM_STATUS_MOVE)\n .setCurrLoc1Enum(FissProcessingType.PROCESSING_TYPE_MANUAL)\n .setCurrLoc2Enum(FissCurrentLocation2.CURRENT_LOCATION_2_CABLE)\n .setMedaProvId(\"mpi\")\n .setMedaProv6(\"mp_6\")\n .setTotalChargeAmount(\"1002.54\")\n .setRecdDtCymd(\"2020-01-02\")\n .setCurrTranDtCymd(\"2021-03-04\")\n .setAdmDiagCode(\"1234567\")\n .setPrincipleDiag(\"7654321\")\n .setNpiNumber(\"npi-123456\")\n .setMbi(\"12345678901\")\n .setFedTaxNb(\"1234567890\")\n .setPracLocAddr1(\"loc-address-1\")\n .setPracLocAddr2(\"loc-address-2\")\n .setPracLocCity(\"loc-city\")\n .setPracLocState(\"ls\")\n .setPracLocZip(\"123456789012345\")\n .setStmtCovFromCymd(\"2020-02-03\")\n .setStmtCovFromCymdText(\"2020-02-03\")\n .setStmtCovToCymd(\"2021-04-05\")\n .setStmtCovToCymdText(\"2021-04-05\")\n .setLobCdEnum(FissBillFacilityType.BILL_FACILITY_TYPE_HOSPITAL)\n .setServTypeCdForClinicsEnum(\n FissBillClassificationForClinics\n .BILL_CLASSIFICATION_FOR_CLINICS_COMMUNITY_MENTAL_HEALTH_CENTER)\n .setFreqCdEnum(FissBillFrequency.BILL_FREQUENCY_ADJUSTMENT_CLAIM_G)\n .setBillTypCd(\"ABC\");\n changeBuilder\n .setSeq(42)\n .setChangeType(ChangeType.CHANGE_TYPE_UPDATE)\n .setClaim(claimBuilder.build())\n .setSource(\n RecordSource.newBuilder()\n .setPhase(\"P1\")\n .setPhaseSeqNum(0)\n .setExtractDate(\"1970-01-01\")\n .setTransmissionTimestamp(\"1970-01-01T00:00:00.000001Z\")\n .build());\n assertChangeMatches(RdaChange.Type.UPDATE);\n }",
"title": ""
},
{
"docid": "01081584f1671e37227b85dc8f29c4e7",
"score": "0.39231724",
"text": "protected void sequence_AnonymousStream_FROM_RETURN(ISerializationContext context, AnonymousStream semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "db79ebebcf4daad4c391c849d5d4e5fd",
"score": "0.39215016",
"text": "private boolean contactHasNoName(String[] attributes, int numAttributes) {\n if (attributes[0].matches(\"\")) {\n return true;\n }\n return false;\n }",
"title": ""
},
{
"docid": "68e4799918ac9ed88005855d07a6e502",
"score": "0.3919367",
"text": "private void processFrag(FastqPreprocessorAvroCompressed.FastqPreprocessorMapper mapper,\n OutputCollectorMock<AvroWrapper<CompressedRead>, NullWritable> collector_mock,\n Reporter reporter,\n String[] lines) {\n OutputCollector<AvroWrapper<CompressedRead>, NullWritable> collector = collector_mock;\n Text map_value = new Text();\n LongWritable key = new LongWritable();\n Alphabet dnaalphabet = DNAAlphabetFactory.create();\n\n for (int i = 0; i < 4; i++) {\n map_value.set(lines[i]);\n key.set(i);\n try {\n mapper.map(key, map_value, collector, reporter);\n }\n catch (java.io.IOException e) {\n fail (\"io exception in map:\" + e.getMessage());\n }\n }\n CompressedRead read = collector_mock.key.datum();\n\n // Compute what the id should be.\n String true_id = lines[0];\n true_id = true_id.replaceAll(\"[:#-.|/]\", \"_\");\n // chop the leading \"@\"\n true_id = true_id.substring(1);\n\n assertEquals(read.getId().toString(), true_id);\n\n // Make sure the array of packed bytes has the correct size.\n int buffer_size = read.dna.limit() - read.dna.arrayOffset();\n int expected_buffer_size = (int)Math.ceil((lines[1].length()* dnaalphabet.bitsPerLetter())/8.0);\n assertEquals(buffer_size, expected_buffer_size);\n\n Sequence sequence = new Sequence(dnaalphabet);\n sequence.readPackedBytes(read.dna.array(), read.length);\n\n assertEquals(lines[1].length(), sequence.size());\n\n for (int i=0; i < sequence.size(); i++) {\n assertEquals(sequence.at(i), lines[1].charAt(i));\n }\n }",
"title": ""
},
{
"docid": "9e13571b7a5cd05b41cddeb15b820fd2",
"score": "0.39180493",
"text": "private void TCM__Object_clone__Namespace_default() {\n final String prefix = \"prefx\";\n final String uri = \"http://some.other.place\";\n\n final Namespace namespace = Namespace.getNamespace(prefix, uri);\n\n final String attributeName = \"test\";\n final String attributeValue = \"value\";\n\n final Attribute attribute = new Attribute(attributeName, attributeValue, namespace);\n final Attribute clonedAttribute = attribute.clone();\n\n assertTrue(\"incorrect name in clone\", clonedAttribute.getName().equals(attributeName));\n assertTrue(\"incorrect value in clone\", clonedAttribute.getValue().equals(attributeValue));\n assertEquals(\"incoorect attribute type in clone\", clonedAttribute.getAttributeType(), Attribute.UNDECLARED_TYPE);\n\n assertTrue(\"incorrect prefix in clone\", clonedAttribute.getNamespacePrefix().equals(prefix));\n assertTrue(\"incorrect qualified name in clone\", clonedAttribute.getQualifiedName().equals(prefix + ':' + attributeName));\n assertTrue(\"incorrect Namespace URI in clone\", clonedAttribute.getNamespaceURI().equals(uri));\n }",
"title": ""
},
{
"docid": "513b02324756c67390ca6bf186ccf18a",
"score": "0.39172223",
"text": "@Test(timeout = 4000)\n public void test064() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(23);\n byte[] byteArray0 = classWriter0.toByteArray();\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, 2, \".JAR\", \".JAR\", \".JAR\", (String[]) null, false, false);\n Attribute attribute0 = new Attribute(\"LineNuEberTaFble\");\n attribute0.value = byteArray0;\n Object[] objectArray0 = new Object[5];\n objectArray0[0] = (Object) methodWriter0;\n objectArray0[1] = (Object) \"LineNuEberTaFble\";\n Object object0 = new Object();\n objectArray0[2] = object0;\n objectArray0[3] = (Object) \"LineNuEberTaFble\";\n objectArray0[4] = (Object) attribute0;\n methodWriter0.visitFrame(2, 23, objectArray0, 179, objectArray0);\n assertEquals(5, objectArray0.length);\n }",
"title": ""
},
{
"docid": "4db28c2ea77b2245e32911409be0ca99",
"score": "0.3916566",
"text": "protected UniqueID(UniqueID source) {\n this.mostSigBits = source.mostSigBits;\n this.leastSigBits = source.leastSigBits;\n }",
"title": ""
},
{
"docid": "1be717b84acc113403afef99976db565",
"score": "0.391159",
"text": "@Override\n public boolean includeSequence(Sequence sequence) {\n return false;\n }",
"title": ""
},
{
"docid": "37563c11ff1fe465e7e1f8c8ee803edc",
"score": "0.3904024",
"text": "private static SampleOwnerIdentifier continueParsingSampleOwner(String[] tokens,\r\n String originalText, DatabaseInstanceIdentifier dbIdent)\r\n {\r\n if (tokens.length == 1)\r\n {\r\n // case: originalText is e.g. \"db:/CP1\" or \"/CP1\"\r\n return new SampleOwnerIdentifier(dbIdent);\r\n } else if (tokens.length == 2)\r\n {\r\n // case: originalText is e.g. \"db:/group/CP1\" or \"/group/CP1\"\r\n String groupCode = tokens[1];\r\n return new SampleOwnerIdentifier(new GroupIdentifier(dbIdent,\r\n assertValidCode(groupCode)));\r\n } else\r\n throw createTooManyTokensExcp(originalText);\r\n }",
"title": ""
},
{
"docid": "307ef93137a7c0313fef82f218cca654",
"score": "0.3888508",
"text": "void test() {\n @Source(CAMERA) @Sink(INTERNET) byte @Source(CAMERA) @Sink(INTERNET) [] invariant = notCompleted;\n\n // This line used to issue an error but was fixed when transitioning to better type variables\n // check version history for more information if this line is failing\n flowCompleted = notCompleted;\n\n @Source(CAMERA) @Sink({FILESYSTEM, INTERNET}) byte @Source(CAMERA) @Sink({FILESYSTEM, INTERNET})[] a = null;\n @Source(CAMERA) @Sink({INTERNET, FILESYSTEM}) byte @Source(CAMERA) @Sink({FILESYSTEM, INTERNET})[] b = a;\n\n @Source(CAMERA) @Sink({INTERNET, FILESYSTEM}) byte @Source(CAMERA) @Sink({FILESYSTEM, INTERNET})[] aCorrect = null;\n @Source(CAMERA) @Sink({INTERNET, FILESYSTEM}) byte @Source(CAMERA) @Sink({FILESYSTEM, INTERNET})[] bCorrect = aCorrect;\n }",
"title": ""
},
{
"docid": "f2bf2f6ab4f2624741260a620023027d",
"score": "0.38692802",
"text": "RecordInfo clone();",
"title": ""
},
{
"docid": "35de7f8122ff2a496442b29874519b1f",
"score": "0.38671544",
"text": "public Builder clearSourceId() {\n bitField0_ = (bitField0_ & ~0x00000001);\n sourceId_ = 0L;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "4713954a501f7c328aaea358ae0df5c9",
"score": "0.38648686",
"text": "@Test\n\tpublic void testSingleSourceConstruct() throws Exception {\n\t\tprepareTest(Arrays.asList(\"/tests/basic/data01endpoint1.ttl\", \"/tests/basic/data01endpoint2.ttl\"));\n\t\texecute(\"/tests/basic/query_singleSource02.rq\", \"/tests/basic/query_singleSource02.ttl\", false);\n\t}",
"title": ""
},
{
"docid": "bd2edcd31f2579b640971018c543a659",
"score": "0.38605785",
"text": "public ExpressedConditionRecord clone() {\n ExpressedConditionRecord data = new ExpressedConditionRecord(this.person);\n data.sources.putAll(this.sources);\n return data;\n }",
"title": ""
},
{
"docid": "1bc777693e3c2e8bf2d9a4bf4dca8458",
"score": "0.3845066",
"text": "public static AttributeList cloneAttributeList(AttributeList source) throws IOException, DicomException {\r\n AttributeList dest = new AttributeList();\r\n \r\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\r\n DicomOutputStream dicomOutputStream = new DicomOutputStream(byteArrayOutputStream, TransferSyntax.ExplicitVRLittleEndian, TransferSyntax.ExplicitVRLittleEndian);\r\n source.write(dicomOutputStream);\r\n \r\n ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());\r\n dest.read(new DicomInputStream(byteArrayInputStream));\r\n \r\n return dest;\r\n }",
"title": ""
},
{
"docid": "20cb6ea1bf4102a7145bb6a65e314d63",
"score": "0.3841732",
"text": "public DataTrack cloneWithNewSources(ArrayList<DataSource> newsources) {\n DataTrack copy=new DataTrack(this.name, this.datatype, this.sourceSite, this.description); \n copy.directivesProtocol=this.directivesProtocol;\n for (DataSource source:newsources) {\n source.dataTrack=copy;\n copy.datasources.add(source);\n }\n return copy; \n }",
"title": ""
},
{
"docid": "ab1fbfef967941ec0cae88fa038c1107",
"score": "0.3841126",
"text": "DSGeneMarker deepCopy();",
"title": ""
},
{
"docid": "1bca77bda3c4138a9c4fe29faee2091a",
"score": "0.38305962",
"text": "public static LineAttributes clone(LineAttributes src) {\n float[] dashClone = null;\n if (src.dash != null) {\n dashClone = new float[src.dash.length];\n System.arraycopy(src.dash, 0, dashClone, 0, dashClone.length);\n }\n return new LineAttributes(src.width, src.cap, src.join, src.style,\n dashClone, src.dashOffset, src.miterLimit);\n }",
"title": ""
},
{
"docid": "3023cb6663519476f702fda7897e244a",
"score": "0.38247043",
"text": "@Test\n public void testCopyAttributesTable() throws SQLException {\n AlterTableUtils.testCopyAttributesTable(activity, geoPackage);\n }",
"title": ""
},
{
"docid": "7d34f0f788fa2bc3265630d440bdeacd",
"score": "0.38180488",
"text": "@Override\n public MetaprogramTargetNode deepCopy(BsjNodeFactory factory);",
"title": ""
},
{
"docid": "31c908bbf2c574c000b0d66112acaf0d",
"score": "0.38161984",
"text": "private void createCNAEIsNotFull() {\r\n createStudentList(new Student(\"Vasile Ana\", 10), new Student(\"Marin Alina\", 6), new Student(\"Ilie David\", 8), new Student(\"Gheorghe Alex\", 9));\r\n createSchoolList(new School(\"C.N.S.H.\", 0), new School(\"C.N.C.H.\", 0), new School(\"C.N.A.E.\", 10));\r\n createStudentPreferences(new LinkedList<>(Arrays.asList(schools[0], schools[1], schools[2])), new LinkedList<>(Arrays.asList(schools[0], schools[1], schools[2])), new LinkedList<>(Arrays.asList(schools[0], schools[1])), new LinkedList<>(Arrays.asList(schools[0], schools[2])));\r\n createSchoolPreferences(new LinkedList<>(Arrays.asList(students[3], students[0], students[1], students[2])), new LinkedList<>(Arrays.asList(students[0], students[2], students[1])), new LinkedList<>(Arrays.asList(students[0], students[1], students[3])));\r\n }",
"title": ""
},
{
"docid": "8f96c3a0400437f04ebac8e9d10abd41",
"score": "0.3803772",
"text": "private void constructSourceMetadata() throws Exception {\n final String masterTag = \"ifg\";\n final String slaveTag = \"dummy\";\n\n // get sourceMaster & sourceSlave MetadataElement\n final MetadataElement masterMeta = AbstractMetadata.getAbstractedMetadata(sourceProduct);\n final String slaveMetadataRoot = AbstractMetadata.SLAVE_METADATA_ROOT;\n\n /* organize metadata */\n\n // put sourceMaster metadata into the masterMap\n metaMapPut(masterTag, masterMeta, sourceProduct, masterMap);\n\n // pug sourceSlave metadata into slaveMap\n MetadataElement[] slaveRoot = sourceProduct.getMetadataRoot().getElement(slaveMetadataRoot).getElements();\n for (MetadataElement meta : slaveRoot) {\n metaMapPut(slaveTag, meta, sourceProduct, slaveMap);\n }\n\n }",
"title": ""
},
{
"docid": "136733e9ef2646e6efb7b66f1d28d9fb",
"score": "0.38028857",
"text": "private static StartTag constructWithAttributes(Source source, int begin, String name, SpecialTag specialTag) {\r\n\t\t// it is necessary to get the attributes so that we can be sure that the search on the closing \">\"\r\n\t\t// character doesn't pick up anything from the attribute values, which can legally contain\r\n\t\t// \">\" characters.\r\n\t\t// From the HTML 4.01 specification section 5.3.2 - Character Entity References:\r\n\t\t// Authors wishing to put the \"<\" character in text should use \"<\" (ASCII decimal 60) to avoid\r\n\t\t// possible confusion with the beginning of a tag (start tag open delimiter). Similarly, authors\r\n\t\t// should use \">\" (ASCII decimal 62) in text instead of \">\" to avoid problems with older user\r\n\t\t// agents that incorrectly perceive this as the end of a tag (tag close delimiter) when it appears\r\n\t\t// in quoted attribute values.\r\n\t\tByRefInt startTagEndDelimiterPos=new ByRefInt();\r\n\t\tAttributes attributes=Attributes.construct(source,begin,startTagEndDelimiterPos,name);\r\n\t\tif (attributes==null) return null; // happens if attributes not properly formed\r\n\t\tString lsource=source.getParseTextLowerCase();\r\n\t\tint end=startTagEndDelimiterPos.value+(lsource.charAt(startTagEndDelimiterPos.value)=='>' ? 1 : 2);\r\n\t\tStartTag startTag=new StartTag(source,begin,end,name,specialTag,attributes);\r\n\t\treturn startTag;\r\n\t}",
"title": ""
},
{
"docid": "bd7743bb9a9bd510b3f2e35577c2f170",
"score": "0.38003555",
"text": "public SequenceFasta(){\n description = null;\n\t sequence = null;\n\t}",
"title": ""
},
{
"docid": "d1e9a93793cc8720d6c0bdcd07519eec",
"score": "0.37915614",
"text": "public MixedRadioSourceEstimator(\n final List<? extends ReadingLocated<P>> readings,\n final P initialPosition) {\n super(readings);\n mInitialPosition = initialPosition;\n }",
"title": ""
},
{
"docid": "dca6437c5c4d505ca2b1d77c0aeccd41",
"score": "0.3790592",
"text": "@Test\n public void publicationAnnotationsShouldNotRepeatWhenValuePresentInMainLabels() throws Exception {\n Interaction interaction = getMockBuilder().createInteractionRandomBinary();\n\n Experiment experiment = interaction.getExperiments().iterator().next();\n Publication publication = experiment.getPublication();\n\n addAnnotation(experiment, publication, \"Proteomics\", createTopic(CvTopic.JOURNAL_MI_REF, CvTopic.JOURNAL));\n addAnnotation(experiment, publication, \"2020\", createTopic(CvTopic.PUBLICATION_YEAR_MI_REF, CvTopic.PUBLICATION_YEAR));\n addAnnotation(experiment, publication, \"Peter, Kath\", createTopic(CvTopic.AUTHOR_LIST_MI_REF, CvTopic.AUTHOR_LIST));\n addAnnotation(experiment, publication, \"Apoptosis dataset\", createTopic(CvTopic.DATASET_MI_REF, CvTopic.DATASET));\n\n getCorePersister().saveOrUpdate(interaction);\n\n // When: I go to the interaction details page\n goToInteractionDetailsPage(interaction.getAc());\n\n // Then: we expect only one row to be shown in the publication annotations - \"journal\", \"author-list\" and \"publication year\" should not be shown as they have their own labels\n assertThat(rowCountForDataTableWithId(\"mainPanels:j_id_18r:publicationAnnotTable:publicationAnnotTable\"), is(equalTo(1)));\n }",
"title": ""
},
{
"docid": "b0d06923cb6b0bc35ef0e3ddb524f57f",
"score": "0.37901932",
"text": "@Test\n public void source8_masked() throws Exception {\n ImmutableList<String> options = ImmutableList.of(\"-source\", \"8\", \"-target\", \"8\");\n String generated = runProcessor(options, \"javax.annotation\");\n assertThat(generated).doesNotContain(GeneratedAnnotationsTest.JAVAX_ANNOTATION_GENERATED);\n assertThat(generated).doesNotContain(GeneratedAnnotationsTest.JAVAX_ANNOTATION_PROCESSING_GENERATED);\n }",
"title": ""
},
{
"docid": "1c2db057d68b4140e778257b9f9de0e6",
"score": "0.37884557",
"text": "public Builder clearAboutRaw() {\n \n aboutRaw_ = getDefaultInstance().getAboutRaw();\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "02224b3c30f1fc9fc6fd1c4270bd41bb",
"score": "0.37874094",
"text": "public void unsetSource()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(SOURCE$30);\n }\n }",
"title": ""
},
{
"docid": "e54473374f4f20845e1c95fa6f86afbc",
"score": "0.3787192",
"text": "Source createDatasourceZ3950IdSequence(Source ds, Provider prov) throws RepoxException;",
"title": ""
},
{
"docid": "d016c96657a6781ebe597c4c50d169f7",
"score": "0.37779394",
"text": "protected abstract void createAttributes();",
"title": ""
},
{
"docid": "e838b7caa45f049e10e7295c1f34f7ae",
"score": "0.37765673",
"text": "@org.junit.Test(timeout = 10000)\n public void annotatedType_cf21139() {\n java.lang.String expected = (\"@\" + (com.squareup.javapoet.AmplAnnotatedTypeNameTest.NN)) + \" java.lang.String\";\n com.squareup.javapoet.TypeName type = com.squareup.javapoet.TypeName.get(java.lang.String.class);\n java.lang.String actual = type.annotated(NEVER_NULL).toString();\n // StatementAdderOnAssert create null value\n java.lang.Object vc_9218 = (java.lang.Object)null;\n // AssertGenerator add assertion\n org.junit.Assert.assertNull(vc_9218);\n // AssertGenerator replace invocation\n boolean o_annotatedType_cf21139__9 = // StatementAdderMethod cloned existing statement\n type.equals(vc_9218);\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_annotatedType_cf21139__9);\n org.junit.Assert.assertEquals(expected, actual);\n }",
"title": ""
},
{
"docid": "16fa83e3280c690f3df485e6a034757a",
"score": "0.37756976",
"text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(3046);\n String[] stringArray0 = new String[7];\n stringArray0[0] = \"SourceDebugExtension\";\n stringArray0[1] = \")1Dc@`M-,v4\";\n stringArray0[2] = \"R$_Ff!sF,uE4P'wGFDy\";\n stringArray0[3] = \"R$_Ff!sF,uE4P'wGFDy\";\n stringArray0[4] = \"s4#6U\";\n stringArray0[5] = \"81<U@W{b30+,bjYk\";\n stringArray0[6] = \"R$_Ff!sF,uE4P'wGFDy\";\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, 1, \")1Dc@`M-,v4\", \"81<U@W{b30+,bjYk\", \"81<U@W{b30+,bjYk\", stringArray0, false, false);\n MethodWriter methodWriter1 = classWriter0.firstMethod;\n methodWriter1.visitInsn(1);\n methodWriter1.visitFrame(11, (-764), stringArray0, 2048, stringArray0);\n methodWriter0.getSize();\n methodWriter0.visitFrame(3, 2048, stringArray0, (-1551), stringArray0);\n Attribute attribute0 = new Attribute(\"iL9-M\");\n // Undeclared exception!\n try { \n attribute0.write(classWriter0, (byte[]) null, 3378, 3407, (-28));\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.objectweb.asm.jip.Attribute\", e);\n }\n }",
"title": ""
},
{
"docid": "309ac72dfbb28fc0cb0cdbe58661d4cd",
"score": "0.37749135",
"text": "@Test\n public void testConstructTaintFromObjectLabel() {\n Integer label = 5;\n Taint t = Taint.withLabel(label);\n assertTrue(t.containsOnlyLabels(new Object[]{label}));\n }",
"title": ""
},
{
"docid": "7a3dcf049d55b4a55b4e4ea123b04a42",
"score": "0.37735575",
"text": "@Override\n public void setDetailAttributes(MetaData metaData, String[] attributes)\n {\n }",
"title": ""
},
{
"docid": "b229367eed4df2e93c46ed1c1fa15645",
"score": "0.3766417",
"text": "public Builder clearOriginseqnum() {\n bitField0_ = (bitField0_ & ~0x00000002);\n originseqnum_ = 0L;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "3bb95a4d9b7d53fe250d236c5a5b31b7",
"score": "0.37561935",
"text": "public T[] getClonedTrimmed(T[] ar) {\r\n for (int i = offset; i < offset + count; i++) {\r\n @SuppressWarnings(\"unchecked\")\r\n T v = (T)objects[i];\r\n ar[i] = v;\r\n }\r\n return ar;\r\n }",
"title": ""
},
{
"docid": "72829f77118d7ef776c24792dbc26a55",
"score": "0.37546283",
"text": "@Override\n public boolean mayContainSequenceConstructor() {\n return true;\n }",
"title": ""
},
{
"docid": "72829f77118d7ef776c24792dbc26a55",
"score": "0.37546283",
"text": "@Override\n public boolean mayContainSequenceConstructor() {\n return true;\n }",
"title": ""
},
{
"docid": "87aeb61ebfc6dd911620b27ad1576d3f",
"score": "0.37541306",
"text": "@Test\n\tpublic void testExistingAnonymousQuestion() {\n\t\texternalLogicStub.currentUserId = USER_UPDATE;\n\t\tAssert.assertFalse(optionsLogic.getOptionsForLocation(LOCATION1_ID).getAnonymousAllowed());\n\t\t\t\t\n\t\tQnaQuestion question = questionLogic.getQuestionById(tdp.question5_location1.getId());\n\t\tAssert.assertTrue(question.isAnonymous());\n\t\t\n\t\tquestion.setQuestionText(\"something new\");\n\t\t\n\t\t// Saving a existing anonymous question in non-anonymous location should not throw exception\n\t\ttry\t{\n\t\t\tquestionLogic.saveQuestion(question, LOCATION1_ID);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail(\"Should not have thrown exception\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "96825b42383711c17ec0e6a6cf683fa3",
"score": "0.37535408",
"text": "<R> Streamlet<R> newSource(SerializableSupplier<R> supplier);",
"title": ""
},
{
"docid": "4ef17a84b857c4545fa0cbe5a85ac7fd",
"score": "0.37466013",
"text": "public static void initializeClassAttributes() {\n\t\tAboraSupport.findAboraClass(IntegerVarArray.class).setAttributes( new Set().add(\"CONCRETE\").add(\"PSEUDOCOPY\"));\n\t}",
"title": ""
},
{
"docid": "53e41752528a651f5c463edb7fdd9028",
"score": "0.37458372",
"text": "private void initReservedAttributes()\n {\n addIgnoreProperty(ATTR_IF_NAME);\n addIgnoreProperty(ATTR_REF);\n addIgnoreProperty(ATTR_UNLESS_NAME);\n addIgnoreProperty(ATTR_BEAN_CLASS);\n addIgnoreProperty(ATTR_BEAN_NAME);\n }",
"title": ""
},
{
"docid": "87c42da05c85bc66c44e51fb11edf402",
"score": "0.37425268",
"text": "private void initializeTransformationConfig(TypedArray attributes) {\n useCircularTransformation =\n attributes.getBoolean(R.styleable.nox_use_circular_transformation, true);\n }",
"title": ""
},
{
"docid": "da4f398035313ac56387f746cfac5eb9",
"score": "0.37416053",
"text": "@UniqueID(\"ProvidedID\")\n\t\[email protected]\n\t\tprivate void uniqueIdAnnotation() {\n\t\t}",
"title": ""
},
{
"docid": "f1126ff18de3ee501c34d521a5827375",
"score": "0.37302387",
"text": "public Object clone(){\r\n\t\tSampleData obj = new SampleData(letter,getWidth(),getHeight());\r\n\t\tfor ( int y=0;y<getHeight();y++ )\r\n\t\t\tfor ( int x=0;x<getWidth();x++ )\r\n\t\t\t\tobj.setData(x,y,getData(x,y));\r\n\t\treturn obj;\r\n\t}",
"title": ""
},
{
"docid": "364f1eb27a8e5f4981354a8aa161a0f3",
"score": "0.37292457",
"text": "@org.junit.Test(timeout = 10000)\n public void annotated_cf3() {\n com.squareup.javapoet.TypeName simpleString = com.squareup.javapoet.TypeName.get(java.lang.String.class);\n org.junit.Assert.assertFalse(simpleString.isAnnotated());\n org.junit.Assert.assertEquals(simpleString, com.squareup.javapoet.TypeName.get(java.lang.String.class));\n com.squareup.javapoet.TypeName annotated = simpleString.annotated(NEVER_NULL);\n org.junit.Assert.assertTrue(annotated.isAnnotated());\n // StatementAdderOnAssert create null value\n java.lang.Object vc_2 = (java.lang.Object)null;\n // AssertGenerator add assertion\n org.junit.Assert.assertNull(vc_2);\n // AssertGenerator replace invocation\n boolean o_annotated_cf3__13 = // StatementAdderMethod cloned existing statement\n annotated.equals(vc_2);\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_annotated_cf3__13);\n org.junit.Assert.assertEquals(annotated, annotated.annotated());\n }",
"title": ""
},
{
"docid": "75c1afbfaf46e1af62cd8c0a56b6b382",
"score": "0.3727179",
"text": "private boolean addSubjectAttributes(EsbEventContainer esbEventContainer, String attributes) {\r\n EsbEvent esbEvent = esbEventContainer.getEsbEvent();\r\n Map<String, Object> debugMapForEvent = esbEventContainer.getDebugMapForEvent();\r\n boolean addedAttributes = false;\r\n Subject subject = esbEvent.retrieveSubject();\r\n if (subject != null) {\r\n String[] attributesArray = GrouperUtil.splitTrim(attributes, \",\");\r\n for (int i = 0; i < attributesArray.length; i++) {\r\n addedAttributes = true;\r\n String attributeName = attributesArray[i];\r\n String attributeValue = subject.getAttributeValueOrCommaSeparated(attributeName);\r\n if (GrouperUtil.isBlank(attributeValue)) {\r\n if (StringUtils.equals(\"name\", attributeName)) {\r\n attributeValue = subject.getName();\r\n } else if (StringUtils.equals(\"description\", attributeName)) {\r\n attributeValue = subject.getDescription();\r\n } \r\n }\r\n if (!StringUtils.isBlank(attributeValue)) {\r\n debugMapForEvent.put(\"attr_\" + attributeName + \"_value\", \"'\" + attributeValue + \"'\");\r\n esbEvent.addSubjectAttribute(attributeName, attributeValue);\r\n }\r\n }\r\n }\r\n return addedAttributes;\r\n }",
"title": ""
},
{
"docid": "23551cfc28e82203e1232f5adbe2befb",
"score": "0.37265688",
"text": "public void testStaticFieldAnonymousClass() {\n assertEquals(AnnotationsTest.class, staticAnonymous.getClass().getEnclosingClass());\n // However, because it is anonymous, it has no declaring class.\n // https://code.google.com/p/android/issues/detail?id=61003\n assertNull(staticAnonymous.getClass().getDeclaringClass());\n // Because the class is declared in <clinit> which is not exposed through reflection,\n // it has no enclosing method or constructor.\n assertNull(staticAnonymous.getClass().getEnclosingMethod());\n assertNull(staticAnonymous.getClass().getEnclosingConstructor());\n }",
"title": ""
},
{
"docid": "54e7c19dcb979a973c28a36439f95109",
"score": "0.3725057",
"text": "public void setRawId(String rawId) {\r\n this.rawId = rawId == null ? null : rawId.trim();\r\n }",
"title": ""
},
{
"docid": "d408aaa289d6f4f8bd8f19a9f9919ae7",
"score": "0.3723498",
"text": "private void addLeftOnlyOccurence(List<AttributeSource> originalAttributeSources, List<Attribute> unionAttributeList,\n\t\t\tExampleSetBuilder builder, Example leftExample) {\n\t\tdouble[] unionDataRow = new double[unionAttributeList.size()];\n\t\tint attributeIndex = 0;\n\t\tfor (AttributeSource attributeSource : originalAttributeSources) {\n\t\t\tif (attributeSource.getSource() == AttributeSource.FIRST_SOURCE) {\n\t\t\t\tunionDataRow[attributeIndex] = leftExample.getValue(attributeSource.getAttribute());\n\t\t\t} else if (attributeSource.getSource() == AttributeSource.SECOND_SOURCE) {\n\t\t\t\tunionDataRow[attributeIndex] = Double.NaN;\n\t\t\t}\n\t\t\tattributeIndex++;\n\t\t}\n\t\tbuilder.addRow(unionDataRow);\n\t}",
"title": ""
},
{
"docid": "cedec2ca23f3d0766b0bdf226b4f7b83",
"score": "0.37126344",
"text": "public AudioMetadata copyOf()\n\t{\n\t\tAudioMetadata copy = new AudioMetadata( mSource, mSourceRecordable );\n\t\t\n\t\tcopy.mPriority = mPriority;\n\t\tcopy.mSelected = mSelected;\n\t\tcopy.mRecordable = mRecordable;\n\t\tcopy.mMetadata.addAll( mMetadata );\n\t\tcopy.mUpdated = mUpdated;\n\t\tcopy.mIdentifier = new String( mIdentifier );\n\t\t\n\t\tmUpdated = false;\n\t\t\n\t\treturn copy;\n\t}",
"title": ""
},
{
"docid": "c5524a1a90af94874b012e3d5f622a2e",
"score": "0.37110806",
"text": "public Sequence cloneSequence() {\n Sequence sequence = new Sequence(getId());\n for (Itemset itemset : itemsets) {\n sequence.addItemset(itemset.cloneItemSet());\n }\n return sequence;\n }",
"title": ""
},
{
"docid": "a4d29c0ee7dd72892ff9643c5812ae5d",
"score": "0.37080422",
"text": "public void fillConsumerAttributes(Collection<NodeAttribute> attributes);",
"title": ""
},
{
"docid": "3c2777fe6dbf65445363fd256df3a658",
"score": "0.37053072",
"text": "protected abstract Object makeNew(final String prefix, final int seqno);",
"title": ""
},
{
"docid": "f8f1d520be152243c4d8114b21e291d1",
"score": "0.37022576",
"text": "private boolean isIgnored(DetailAST ast) {\n final String name = ast.findFirstToken(TokenTypes.IDENT).getText();\n return ignoreNamePattern != null && ignoreNamePattern.matcher(name).matches()\n || \"serialVersionUID\".equals(name);\n }",
"title": ""
},
{
"docid": "526829b2fccc06a2420f416eda8b4e7d",
"score": "0.3701793",
"text": "private AgAttribute resolveNew() {\n\n return new DefaultAttribute(name,\n requiredProperty(\"javaType\", javaType),\n\n // using the defaults from @AgAttribute annotation\n propertyOrDefault(readable, true),\n propertyOrDefault(writable, true),\n\n requiredProperty(\"dataReader\", dataReader));\n }",
"title": ""
},
{
"docid": "0d5e63961ae2a72f51c9101502dd29ec",
"score": "0.3695788",
"text": "protected void sequence_LogicalAbsentStatefulSource_SequenceSourceChain1(ISerializationContext context, LogicalAbsentStatefulSource semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "c39af31a3de11d30a04b8a3b7496a4e1",
"score": "0.36942995",
"text": "public static final Instrument getDummy() {\n return new Instrument();\n }",
"title": ""
},
{
"docid": "4903a77399f6aaa44cdfe6fa7b3a4ac7",
"score": "0.36933118",
"text": "public MobilitySourceCollection(MobilitySource[] mobilitySources) {\n\t\tthis.mobilitySources = mobilitySources;\n\t\taddressMobilitySourceMap = new HashMap();\n\t\taddressAddressMap = new HashMap();\n\t\tcurrentEnterIndex = 0;\n\t\tcurrentAddress = 0;\n\t\trectangle = null;\n\t\tshape = new ShapeCollection();\n\t\ttotalDeviceCount = 0;\n\t\tfor(int i=0; i<mobilitySources.length; i++) {\n\t\t\trectangle = rectangle == null ? mobilitySources[i].getRectangle() : rectangle.union(mobilitySources[i].getRectangle());\n\t\t\tshape.addShape(mobilitySources[i].getShape(), Position.NULL_POSITION);\n\t\t\ttotalDeviceCount += mobilitySources[i].getTotalDeviceCount();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "6d7767400627e988ea1be1a5b2daa030",
"score": "0.369313",
"text": "@Override\n public void author(SinkEventAttributes attributes)\n {\n }",
"title": ""
},
{
"docid": "af4151587b6938d460d69feeae923f57",
"score": "0.3691108",
"text": "protected void sequence_AbsentPatternSourceChain(ISerializationContext context, AbsentPatternSourceChain semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "506cdc56d005cc0ac5bc2d68efcfaf07",
"score": "0.369058",
"text": "private MolecularSample createTestSample() {\n testMolecularSample = new MolecularSample();\n testMolecularSample.setName(TEST_MOLECULAR_SAMPLE_NAME_CREATE);\n testMolecularSample.setMaterialSample(TEST_MATERIAL_SAMPLE_UUID);\n testMolecularSample.setSampleType(TEST_MOLECULAR_SAMPLE_SAMPLE_TYPE);\n \n persist(testMolecularSample);\n \n return testMolecularSample;\n }",
"title": ""
},
{
"docid": "05254f21e61c372eb77955fd2ae4dfba",
"score": "0.36848104",
"text": "@Test\n public void testAnonymousSource() throws WavCreationException, InterruptedException\n {\n LWJGLJoalWav wav = new LWJGLJoalWav(res.getInputStream(\"FancyPants.wav\"));\n wav.start(0);\n Thread.sleep(5000);\n wav.stop(); \n }",
"title": ""
},
{
"docid": "558ef4c1196da95a39596ba1ccd6c6a8",
"score": "0.36841658",
"text": "Course buildCopy(UUID courseUuid, String courseApplicationYear, boolean nameFromOrig);",
"title": ""
},
{
"docid": "efde01ac4352d645eb909fd919dd0251",
"score": "0.36840603",
"text": "protected void sequence_LeftAbsentSequenceSource_LeftAbsentSequenceSource2(ISerializationContext context, LeftAbsentSequenceSource semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "b7f2aa8e888f15d22704d91b2a6c7f63",
"score": "0.36832026",
"text": "@Override\n\tpublic IBitmapTextureAtlasSource deepCopy();",
"title": ""
}
] |
f62160f35f531eaefe31214378a5045b | Return the contact email address | [
{
"docid": "048f09e66e940481ec30141b4199a558",
"score": "0.8076701",
"text": "public String getContactEmail() {\r\n return tfContactEmail.getText().trim();\r\n }",
"title": ""
}
] | [
{
"docid": "8318be8ce966f541b83325299260c99c",
"score": "0.80698276",
"text": "public java.lang.String getEmailAddress();",
"title": ""
},
{
"docid": "c99ccd5fab9195fba77d05bf217acf1d",
"score": "0.7971381",
"text": "public String getContactEmail() {\r\n return this.contactEmail;\r\n }",
"title": ""
},
{
"docid": "82721c767860c7c5703ea090d10db163",
"score": "0.79104906",
"text": "public String getContactEmail() {\n return contactEmail;\n }",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "d541adad7a0050095588d5491ea38a83",
"score": "0.78730476",
"text": "java.lang.String getEmail();",
"title": ""
},
{
"docid": "e97be717624e0067ecda7b31bc829232",
"score": "0.7810109",
"text": "public String getContactEmail() {\n\n \n return contactEmail;\n\n }",
"title": ""
},
{
"docid": "d14b673ab39dc8fe4498c9b330273106",
"score": "0.77647436",
"text": "public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"title": ""
},
{
"docid": "b867e1d26be2bca92657efda7506c381",
"score": "0.77449226",
"text": "@AutoEscape\n\tpublic String getEmail_address();",
"title": ""
},
{
"docid": "b671bb45a9843250ab3a9b6391262d12",
"score": "0.77192175",
"text": "public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"title": ""
},
{
"docid": "d6ec9a829e3fac0909a0076f883b9b13",
"score": "0.76540977",
"text": "public java.lang.String getStudent_contactEmail() {\n\t\treturn _primarySchoolStudent.getStudent_contactEmail();\n\t}",
"title": ""
},
{
"docid": "d0011be07e5a43b597856cbf7fbd7ceb",
"score": "0.7579031",
"text": "@JsonIgnore\r\n public String getEmailAddress() {\r\n return OptionalNullable.getFrom(emailAddress);\r\n }",
"title": ""
},
{
"docid": "39cfa752c4d83da4d20860b0b1779143",
"score": "0.75404954",
"text": "public String getEmailAddress();",
"title": ""
},
{
"docid": "48fd8917d046c8e63b94c032f4c3d1d6",
"score": "0.75028145",
"text": "java.lang.String getUserEmail();",
"title": ""
},
{
"docid": "440c58d843e9ca8de7b6653811928366",
"score": "0.74862736",
"text": "public String getEmailAddress() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "f46549609ccf915bc6db56885b67cf7d",
"score": "0.74597305",
"text": "public String getEmailAddress(){\r\n\t\treturn emailAddress;\r\n\t}",
"title": ""
},
{
"docid": "9dd71690f7e257e591bb1f15d7e06065",
"score": "0.7455607",
"text": "private String getUserEmailAddress() {\n\t\tUser user = UserDirectoryService.getCurrentUser();\n\t\tString emailAddress = user.getEmail();\n\n\t\treturn emailAddress;\n\t}",
"title": ""
},
{
"docid": "f2dd3b054f1151a1f3a629131cd4fdf1",
"score": "0.74395514",
"text": "public String getEmailAddress() {\n return email;\n }",
"title": ""
},
{
"docid": "1aad04c8b8d1ae30188dec84b94d51bc",
"score": "0.74198055",
"text": "public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"title": ""
},
{
"docid": "7312b74a140efb8d4772c5c23ee90028",
"score": "0.7407588",
"text": "@Override\n public String getEmailAddress() {\n\n if(this.emailAddress == null){\n\n this.emailAddress = TestDatabase.getInstance().getClientField(token, id, \"emailAddress\");\n }\n\n return emailAddress;\n }",
"title": ""
},
{
"docid": "225107b8fa4fb3a37fe9d7ed92dd3345",
"score": "0.7405796",
"text": "public String getEmailAddress() {\r\n return emailAddress;\r\n }",
"title": ""
},
{
"docid": "4398d622aa3a1375fa60bef6f8eac413",
"score": "0.73844063",
"text": "String getEmail();",
"title": ""
},
{
"docid": "4398d622aa3a1375fa60bef6f8eac413",
"score": "0.73844063",
"text": "String getEmail();",
"title": ""
},
{
"docid": "4398d622aa3a1375fa60bef6f8eac413",
"score": "0.73844063",
"text": "String getEmail();",
"title": ""
},
{
"docid": "4398d622aa3a1375fa60bef6f8eac413",
"score": "0.73844063",
"text": "String getEmail();",
"title": ""
},
{
"docid": "4398d622aa3a1375fa60bef6f8eac413",
"score": "0.73844063",
"text": "String getEmail();",
"title": ""
},
{
"docid": "4e260905a98bad22413a8f3c1051ce89",
"score": "0.7373017",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "ff56cdda4e9066bf792687832d121d86",
"score": "0.73551744",
"text": "public String getEmail()\n {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "55baefd19ffdca361dfea68cde25fca4",
"score": "0.73441625",
"text": "public String getEmailAddress() {\r\n\t\treturn emailAddress;\r\n\t}",
"title": ""
},
{
"docid": "c045b906cb4dda00d05588b41e50ae5c",
"score": "0.7341625",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "c045b906cb4dda00d05588b41e50ae5c",
"score": "0.7341625",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "c045b906cb4dda00d05588b41e50ae5c",
"score": "0.7341625",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "c045b906cb4dda00d05588b41e50ae5c",
"score": "0.7341625",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "c045b906cb4dda00d05588b41e50ae5c",
"score": "0.7341625",
"text": "public String getEmailAddress() {\n return emailAddress;\n }",
"title": ""
},
{
"docid": "82f8f8ce88d92535f5248c37f7cfda6f",
"score": "0.73329186",
"text": "String getUserMail();",
"title": ""
},
{
"docid": "62dfa88b8a48c9a9d50a286f57da8459",
"score": "0.7318542",
"text": "public String getFromEmailAddress() {\n return getValue(\"eurekaclinical.userservice.email.from\");\n }",
"title": ""
},
{
"docid": "2afcc145e52a0286575fea1fa7dcd39a",
"score": "0.7285832",
"text": "public java.lang.String getEmailAddress()\r\n\t{\r\n\t\tString result = \"\";\r\n\t\tint length = emailAddress.length();\r\n\t\t\r\n\t\tif (!locked)\r\n\t\t\tresult = emailAddress;\r\n\t\telse\r\n\t\t{\r\n\t\t\tfor(int i = 1; i < length; i++)\r\n\t\t\t{\r\n\t\t\t\t//char asterisk = emailAddress.charAt(i);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\treturn result;\r\n\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "8f1d140f823d1d1453f62a08990783ae",
"score": "0.7277155",
"text": "public String getEmailAddress() {\n return this.emailAddress;\n }",
"title": ""
},
{
"docid": "32a08169606e5e8738abbfc4bf16fc8f",
"score": "0.72735685",
"text": "public java.lang.String getEmailAddress() {\n return EmailAddress;\n }",
"title": ""
},
{
"docid": "2a151dc59c9303e325bc93e38b924c94",
"score": "0.7238395",
"text": "public String getPrimaryContactEmail() {\n return _primaryContactEmail;\n }",
"title": ""
},
{
"docid": "7c588900d9e42736bf0095156b1f8523",
"score": "0.7221296",
"text": "public String getEmailAddressOfCustomer()\n\t{\n\t\treturn getEmailAddressOfCustomer( getSession().getSessionContext() );\n\t}",
"title": ""
},
{
"docid": "1cd146501c097bd270fc5bd69adfd46c",
"score": "0.721356",
"text": "public String getEmailAddressOfCustomer(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, EMAILADDRESSOFCUSTOMER);\n\t}",
"title": ""
},
{
"docid": "3023023fb77308a27479210eddb53a43",
"score": "0.72020495",
"text": "private String extractEMailAddress() {\n return SwingUtil.extract(emailJTextField, Boolean.TRUE);\n }",
"title": ""
},
{
"docid": "c0da5997bcc23fa3232e519cff406af5",
"score": "0.71687376",
"text": "public final String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "1f0e9de6082f8576eb1b7cc897f374e6",
"score": "0.71396846",
"text": "public String getContactAddress() {\n\n \n return contactAddress;\n\n }",
"title": ""
},
{
"docid": "bb193965f54dc46e4c4f2b886ae9d88f",
"score": "0.71058184",
"text": "public String getEmailAddress() {\n return EmailAddress.commaSeperateList(this.emailAddressList);\n }",
"title": ""
},
{
"docid": "4891e1771f022d6c89bbde2c3561e195",
"score": "0.7078712",
"text": "@AutoEscape\n\tpublic String getFromEmailAddress();",
"title": ""
},
{
"docid": "73e554b46893d0c71444f71913b00178",
"score": "0.70778537",
"text": "public String getEmail()\n\t{\n\t\treturn this._email;\n\t}",
"title": ""
},
{
"docid": "05b7312d17b5b2d27eda3f69c415fb3e",
"score": "0.7076535",
"text": "public String getUserEmailAdress() throws Exception\r\n {\n return null;\r\n }",
"title": ""
},
{
"docid": "2d25cc7b6057016e9b53e55063d2d5ba",
"score": "0.70679283",
"text": "public final String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "8a2fcf79916ada79cd994510581c8104",
"score": "0.70005816",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "8a2fcf79916ada79cd994510581c8104",
"score": "0.70005816",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "c72feed4c0de61d7d73ec2405c173054",
"score": "0.69969934",
"text": "public java.lang.String getEmail () {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "2479246ea17afdd867dadea5d6c8d1e4",
"score": "0.69967824",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n }\n return s;\n }\n }",
"title": ""
},
{
"docid": "2479246ea17afdd867dadea5d6c8d1e4",
"score": "0.69967824",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n }\n return s;\n }\n }",
"title": ""
},
{
"docid": "2479246ea17afdd867dadea5d6c8d1e4",
"score": "0.69967824",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n }\n return s;\n }\n }",
"title": ""
},
{
"docid": "43e31de19b987b1957c7bca5c5d72720",
"score": "0.6995748",
"text": "public String returnEmail() {\n\t\treturn this.registration_email.getAttribute(\"value\");\r\n\t}",
"title": ""
},
{
"docid": "99ec3518ac1580693eed6e59314119e8",
"score": "0.6993961",
"text": "public String getFromEMail() {\n return fromEMail;\n }",
"title": ""
},
{
"docid": "3655a48506f3d92e0953dc933aee4078",
"score": "0.6986193",
"text": "public java.lang.String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "7521038a67e644d38a7f82dfc906ba90",
"score": "0.69704604",
"text": "public java.lang.String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "7521038a67e644d38a7f82dfc906ba90",
"score": "0.69704604",
"text": "public java.lang.String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "7521038a67e644d38a7f82dfc906ba90",
"score": "0.69704604",
"text": "public java.lang.String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "7521038a67e644d38a7f82dfc906ba90",
"score": "0.69704604",
"text": "public java.lang.String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "591b62901c5f534a00baa5dea1e6da6a",
"score": "0.6962515",
"text": "public String getEmail() {\r\n\t\treturn email;\r\n\t}",
"title": ""
},
{
"docid": "591b62901c5f534a00baa5dea1e6da6a",
"score": "0.6962515",
"text": "public String getEmail() {\r\n\t\treturn email;\r\n\t}",
"title": ""
},
{
"docid": "591b62901c5f534a00baa5dea1e6da6a",
"score": "0.6962515",
"text": "public String getEmail() {\r\n\t\treturn email;\r\n\t}",
"title": ""
},
{
"docid": "9dd0797b88dca2ce3860c0be7fc8087a",
"score": "0.69569385",
"text": "public static String getRecipientEmail() {\n return recipientEmail;\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "5393425e67c388d9bcd61efb0e398adb",
"score": "0.69552124",
"text": "public String getEmail() {\r\n return email;\r\n }",
"title": ""
},
{
"docid": "8ba625970bef20a3530e3eae77f5bc53",
"score": "0.69505596",
"text": "public String getEmail()\n\t{\n\t\treturn this.email;\n\t}",
"title": ""
},
{
"docid": "3c087542e6811ebf6408c83a1dc8e33c",
"score": "0.69478554",
"text": "public java.lang.String getEmail() {\n return localEmail;\n }",
"title": ""
},
{
"docid": "081d9f1a8da986e56cd201f66ae5d51e",
"score": "0.694422",
"text": "public String getFromEmailAddress() {\n return this.fromEmailAddress;\n }",
"title": ""
},
{
"docid": "6e23acb172a47cd88e885ee5e486684b",
"score": "0.693908",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\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 email_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "1793e9b35cf4e344da8f17f9db01b54e",
"score": "0.69370455",
"text": "public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n email_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "21a847b5af4300552631f718377e8d0f",
"score": "0.6931957",
"text": "public String getEmail() {\r\n // Bouml preserved body begin 00040D82\r\n\t System.out.println(email);\r\n\t return email;\r\n // Bouml preserved body end 00040D82\r\n }",
"title": ""
},
{
"docid": "64e0e03f0df8cfe228a0af13b0728aa9",
"score": "0.69219387",
"text": "public String getEmail()\r\n {\r\n return getAttribute(\"email\");\r\n }",
"title": ""
},
{
"docid": "026475dab52f30f5156517512d1b7153",
"score": "0.6915521",
"text": "public String getEmail() {\n return email;\n }",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
},
{
"docid": "3842255a19dd0934930f42e60bbd1113",
"score": "0.68986565",
"text": "public String getEmail() {\n\t\treturn email;\n\t}",
"title": ""
}
] |
5b4377a97c4626d12261cc90449e78ce | $ANTLR end "rule__NetworkLevelSpecialAlgorithm__Group_7_3__0" $ANTLR start "rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl" ../org.wsn.sennet.xtext.ui/srcgen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7621:1: rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl : ( ',' ) ; | [
{
"docid": "b019ebd2d84a5088b44ae5ef01f12289",
"score": "0.7701944",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7625:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7626:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7626:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7627:1: ','\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl15594); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
}
] | [
{
"docid": "47db4ecda3128976d3eb045d8bae3484",
"score": "0.73628086",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7974:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7975:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7975:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7976:1: ','\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_10_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl16277); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_10_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "7c45244aeeb9e1dc815fcd615354f85d",
"score": "0.7266804",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7556:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0 )* ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7557:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0 )* )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7557:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0 )* )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7558:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0 )*\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_7_3()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7559:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0 )*\r\n loop63:\r\n do {\r\n int alt63=2;\r\n int LA63_0 = input.LA(1);\r\n\r\n if ( (LA63_0==62) ) {\r\n alt63=1;\r\n }\r\n\r\n\r\n switch (alt63) {\r\n \tcase 1 :\r\n \t // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7559:2: rule__NetworkLevelSpecialAlgorithm__Group_7_3__0\r\n \t {\r\n \t pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7_3__0_in_rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl15463);\r\n \t rule__NetworkLevelSpecialAlgorithm__Group_7_3__0();\r\n\r\n \t state._fsp--;\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop63;\r\n }\r\n } while (true);\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_7_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "5828a47726ad138b46e9d775ddbd9226",
"score": "0.7246427",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8197:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8198:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8198:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8199:1: ','\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_11_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl16714); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getCommaKeyword_11_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "7d3f164523648345ee794b4ea6c2fff7",
"score": "0.7152189",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6983:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_6__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6984:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_6__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6984:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_6__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6985:1: ( rule__NetworkLevelSpecialAlgorithm__Group_6__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_6()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6986:1: ( rule__NetworkLevelSpecialAlgorithm__Group_6__0 )?\r\n int alt57=2;\r\n int LA57_0 = input.LA(1);\r\n\r\n if ( (LA57_0==77) ) {\r\n alt57=1;\r\n }\r\n switch (alt57) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6986:2: rule__NetworkLevelSpecialAlgorithm__Group_6__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_6__0_in_rule__NetworkLevelSpecialAlgorithm__Group__6__Impl14336);\r\n rule__NetworkLevelSpecialAlgorithm__Group_6__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_6()); \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": "a63533cd2fe6dd12372ab80d7570cd4c",
"score": "0.7119342",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7644:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7645:2: rule__NetworkLevelSpecialAlgorithm__Group_7_3__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7_3__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7_3__115625);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7_3__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": "ad88192352c7cb0e74354deb1f52d54a",
"score": "0.7083534",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7584:1: ( ( '}' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7585:1: ( '}' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7585:1: ( '}' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7586:1: '}'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_7_4()); \r\n match(input,59,FollowSets000.FOLLOW_59_in_rule__NetworkLevelSpecialAlgorithm__Group_7__4__Impl15522); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_7_4()); \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": "b2af1b3554726a54d23ca72dbb66db37",
"score": "0.70757663",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__7__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7012:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_7__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7013:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_7__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7013:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_7__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7014:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_7()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7015:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__0 )?\r\n int alt58=2;\r\n int LA58_0 = input.LA(1);\r\n\r\n if ( (LA58_0==78) ) {\r\n alt58=1;\r\n }\r\n switch (alt58) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7015:2: rule__NetworkLevelSpecialAlgorithm__Group_7__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__0_in_rule__NetworkLevelSpecialAlgorithm__Group__7__Impl14397);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_7()); \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": "76da865aac757aa13427465bfd59e71e",
"score": "0.7009875",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6896:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_3__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6897:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_3__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6897:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_3__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6898:1: ( rule__NetworkLevelSpecialAlgorithm__Group_3__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_3()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6899:1: ( rule__NetworkLevelSpecialAlgorithm__Group_3__0 )?\r\n int alt54=2;\r\n int LA54_0 = input.LA(1);\r\n\r\n if ( (LA54_0==60) ) {\r\n alt54=1;\r\n }\r\n switch (alt54) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6899:2: rule__NetworkLevelSpecialAlgorithm__Group_3__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_3__0_in_rule__NetworkLevelSpecialAlgorithm__Group__3__Impl14153);\r\n rule__NetworkLevelSpecialAlgorithm__Group_3__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "ef02051d549dd4fddda111a8a2f03567",
"score": "0.697569",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7573:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__4__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7574:2: rule__NetworkLevelSpecialAlgorithm__Group_7__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__4__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7__415494);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__4__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": "d26a277f05e8b7a6ecbcf4f7df772e12",
"score": "0.69652045",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8128:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0 )* ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8129:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0 )* )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8129:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0 )* )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8130:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0 )*\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_11_3()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8131:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0 )*\r\n loop65:\r\n do {\r\n int alt65=2;\r\n int LA65_0 = input.LA(1);\r\n\r\n if ( (LA65_0==62) ) {\r\n alt65=1;\r\n }\r\n\r\n\r\n switch (alt65) {\r\n \tcase 1 :\r\n \t // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8131:2: rule__NetworkLevelSpecialAlgorithm__Group_11_3__0\r\n \t {\r\n \t pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11_3__0_in_rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl16583);\r\n \t rule__NetworkLevelSpecialAlgorithm__Group_11_3__0();\r\n\r\n \t state._fsp--;\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop65;\r\n }\r\n } while (true);\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_11_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "9dcf736165c16e6b3b3ec74cb5cceb27",
"score": "0.6951907",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_6__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7390:1: ( rule__NetworkLevelSpecialAlgorithm__Group_6__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_6__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7391:2: rule__NetworkLevelSpecialAlgorithm__Group_6__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_6__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_6__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_6__015126);\r\n rule__NetworkLevelSpecialAlgorithm__Group_6__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_6__1_in_rule__NetworkLevelSpecialAlgorithm__Group_6__015129);\r\n rule__NetworkLevelSpecialAlgorithm__Group_6__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": "04d8e5a6911ec551bbbcd59f29dddd95",
"score": "0.69492215",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_6__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7421:1: ( rule__NetworkLevelSpecialAlgorithm__Group_6__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7422:2: rule__NetworkLevelSpecialAlgorithm__Group_6__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_6__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_6__115188);\r\n rule__NetworkLevelSpecialAlgorithm__Group_6__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": "5f6485321254bf91963ca4c2efb645a7",
"score": "0.694235",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7_3__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7613:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_7_3__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7614:2: rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_7_3__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7_3__015563);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7_3__1_in_rule__NetworkLevelSpecialAlgorithm__Group_7_3__015566);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7_3__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": "e2d65ed4d0f9fca5acbc8a84ce43de9d",
"score": "0.6937922",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6803:1: ( ( () ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6804:1: ( () )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6804:1: ( () )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6805:1: ()\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNetworkLevelSpecialAlgorithmAction_0()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6806:1: ()\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6808:1: \r\n {\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNetworkLevelSpecialAlgorithmAction_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "2b5a73d915636ca30b04b7e02c6dc100",
"score": "0.6904649",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7515:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__3 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7516:2: rule__NetworkLevelSpecialAlgorithm__Group_7__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__2__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7__215373);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__2__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__3_in_rule__NetworkLevelSpecialAlgorithm__Group_7__215376);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__3();\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": "f36fb97efe31fd47c9bd33da8c4644cb",
"score": "0.6895992",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7453:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7454:2: rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7__015249);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__1_in_rule__NetworkLevelSpecialAlgorithm__Group_7__015252);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__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": "e93a117a290d09b566374cfcfe607aad",
"score": "0.68736655",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__12() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7145:1: ( rule__NetworkLevelSpecialAlgorithm__Group__12__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7146:2: rule__NetworkLevelSpecialAlgorithm__Group__12__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__12__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__1214672);\r\n rule__NetworkLevelSpecialAlgorithm__Group__12__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": "e75eb86610a19fa5a6939e4105c7340e",
"score": "0.68660057",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7905:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0 )* ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7906:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0 )* )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7906:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0 )* )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7907:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0 )*\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_10_3()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7908:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0 )*\r\n loop64:\r\n do {\r\n int alt64=2;\r\n int LA64_0 = input.LA(1);\r\n\r\n if ( (LA64_0==62) ) {\r\n alt64=1;\r\n }\r\n\r\n\r\n switch (alt64) {\r\n \tcase 1 :\r\n \t // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7908:2: rule__NetworkLevelSpecialAlgorithm__Group_10_3__0\r\n \t {\r\n \t pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10_3__0_in_rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl16146);\r\n \t rule__NetworkLevelSpecialAlgorithm__Group_10_3__0();\r\n\r\n \t state._fsp--;\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop64;\r\n }\r\n } while (true);\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_10_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "49d63b9c1f8541a2a18fd98fdaff63a5",
"score": "0.68435436",
"text": "public final void ruleNetworkLevelSpecialAlgorithm() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:493:2: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group__0 ) ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:494:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group__0 ) )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:494:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group__0 ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:495:1: ( rule__NetworkLevelSpecialAlgorithm__Group__0 )\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:496:1: ( rule__NetworkLevelSpecialAlgorithm__Group__0 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:496:2: rule__NetworkLevelSpecialAlgorithm__Group__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__0_in_ruleNetworkLevelSpecialAlgorithm994);\r\n rule__NetworkLevelSpecialAlgorithm__Group__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup()); \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": "61268a13451a78fa5e6771396ea4f96d",
"score": "0.6836438",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7484:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__2 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7485:2: rule__NetworkLevelSpecialAlgorithm__Group_7__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7__115311);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__2_in_rule__NetworkLevelSpecialAlgorithm__Group_7__115314);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__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": "98be4497bbdcec82477ee7dd1def01ad",
"score": "0.68296945",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6925:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_4__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6926:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_4__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6926:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_4__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6927:1: ( rule__NetworkLevelSpecialAlgorithm__Group_4__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_4()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6928:1: ( rule__NetworkLevelSpecialAlgorithm__Group_4__0 )?\r\n int alt55=2;\r\n int LA55_0 = input.LA(1);\r\n\r\n if ( (LA55_0==76) ) {\r\n alt55=1;\r\n }\r\n switch (alt55) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6928:2: rule__NetworkLevelSpecialAlgorithm__Group_4__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_4__0_in_rule__NetworkLevelSpecialAlgorithm__Group__4__Impl14214);\r\n rule__NetworkLevelSpecialAlgorithm__Group_4__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_4()); \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": "62ba18b713ac038b09855b7682b8f9c2",
"score": "0.68237793",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6971:1: ( rule__NetworkLevelSpecialAlgorithm__Group__6__Impl rule__NetworkLevelSpecialAlgorithm__Group__7 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6972:2: rule__NetworkLevelSpecialAlgorithm__Group__6__Impl rule__NetworkLevelSpecialAlgorithm__Group__7\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__6__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__614306);\r\n rule__NetworkLevelSpecialAlgorithm__Group__6__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__7_in_rule__NetworkLevelSpecialAlgorithm__Group__614309);\r\n rule__NetworkLevelSpecialAlgorithm__Group__7();\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": "a9b7ac78e8dd4978f6d741cdb34e1286",
"score": "0.6809217",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7993:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7994:2: rule__NetworkLevelSpecialAlgorithm__Group_10_3__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10_3__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10_3__116308);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10_3__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": "1987ca3bd7733054609632c1539cf144",
"score": "0.6795424",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__11__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7128:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_11__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7129:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_11__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7129:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_11__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7130:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_11()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7131:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__0 )?\r\n int alt62=2;\r\n int LA62_0 = input.LA(1);\r\n\r\n if ( (LA62_0==71) ) {\r\n alt62=1;\r\n }\r\n switch (alt62) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7131:2: rule__NetworkLevelSpecialAlgorithm__Group_11__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__0_in_rule__NetworkLevelSpecialAlgorithm__Group__11__Impl14641);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_11()); \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": "e563eb40229245e5cf14a78b672ed30e",
"score": "0.6745602",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__12__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7156:1: ( ( '}' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7157:1: ( '}' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7157:1: ( '}' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7158:1: '}'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_12()); \r\n match(input,59,FollowSets000.FOLLOW_59_in_rule__NetworkLevelSpecialAlgorithm__Group__12__Impl14700); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_12()); \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": "c3c1abdff8040bab2d865dcdf5bb9041",
"score": "0.67455876",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7232:1: ( rule__NetworkLevelSpecialAlgorithm__Group_3__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7233:2: rule__NetworkLevelSpecialAlgorithm__Group_3__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_3__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_3__114819);\r\n rule__NetworkLevelSpecialAlgorithm__Group_3__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": "d7424eee7eb43638e96d79fd50240bb5",
"score": "0.67357904",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__8__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7041:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_8__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7042:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_8__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7042:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_8__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7043:1: ( rule__NetworkLevelSpecialAlgorithm__Group_8__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_8()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7044:1: ( rule__NetworkLevelSpecialAlgorithm__Group_8__0 )?\r\n int alt59=2;\r\n int LA59_0 = input.LA(1);\r\n\r\n if ( (LA59_0==68) ) {\r\n alt59=1;\r\n }\r\n switch (alt59) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7044:2: rule__NetworkLevelSpecialAlgorithm__Group_8__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_8__0_in_rule__NetworkLevelSpecialAlgorithm__Group__8__Impl14458);\r\n rule__NetworkLevelSpecialAlgorithm__Group_8__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_8()); \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": "363df81b044e17106dd965744fae0682",
"score": "0.6727622",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_4__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7295:1: ( rule__NetworkLevelSpecialAlgorithm__Group_4__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7296:2: rule__NetworkLevelSpecialAlgorithm__Group_4__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_4__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_4__114942);\r\n rule__NetworkLevelSpecialAlgorithm__Group_4__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": "7cef105f5d98aabced7edadf120fd15a",
"score": "0.6718073",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8156:1: ( ( '}' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8157:1: ( '}' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8157:1: ( '}' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8158:1: '}'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_11_4()); \r\n match(input,59,FollowSets000.FOLLOW_59_in_rule__NetworkLevelSpecialAlgorithm__Group_11__4__Impl16642); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_11_4()); \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": "da590a53e707feb503f960edaaca7b7b",
"score": "0.6714973",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7544:1: ( rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__4 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7545:2: rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_7__4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_7__315433);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__3__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_7__4_in_rule__NetworkLevelSpecialAlgorithm__Group_7__315436);\r\n rule__NetworkLevelSpecialAlgorithm__Group_7__4();\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": "ec72961b335999ec34aa296011e6ad63",
"score": "0.67059237",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6791:1: ( rule__NetworkLevelSpecialAlgorithm__Group__0__Impl rule__NetworkLevelSpecialAlgorithm__Group__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6792:2: rule__NetworkLevelSpecialAlgorithm__Group__0__Impl rule__NetworkLevelSpecialAlgorithm__Group__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__013938);\r\n rule__NetworkLevelSpecialAlgorithm__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__1_in_rule__NetworkLevelSpecialAlgorithm__Group__013941);\r\n rule__NetworkLevelSpecialAlgorithm__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": "4eb3fbdc6f27eee8f44103343a81c11f",
"score": "0.66906095",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8145:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__4__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8146:2: rule__NetworkLevelSpecialAlgorithm__Group_11__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__4__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11__416614);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__4__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": "1353dfc7455b36844508a4eefd9b5dae",
"score": "0.66774225",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_9__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7770:1: ( rule__NetworkLevelSpecialAlgorithm__Group_9__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7771:2: rule__NetworkLevelSpecialAlgorithm__Group_9__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_9__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_9__115871);\r\n rule__NetworkLevelSpecialAlgorithm__Group_9__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": "d1f4e2dda580a34b5d391dfe71d98a1c",
"score": "0.6675521",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7922:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__4__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7923:2: rule__NetworkLevelSpecialAlgorithm__Group_10__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__4__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10__416177);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__4__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": "37f77987d25cfcee9b78f614af9e6bc6",
"score": "0.6658912",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_4__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7264:1: ( rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_4__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7265:2: rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_4__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_4__014880);\r\n rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_4__1_in_rule__NetworkLevelSpecialAlgorithm__Group_4__014883);\r\n rule__NetworkLevelSpecialAlgorithm__Group_4__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": "eb8084451772b8ac9493c13216f5ae49",
"score": "0.6657245",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_3__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7201:1: ( rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_3__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7202:2: rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_3__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_3__014757);\r\n rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_3__1_in_rule__NetworkLevelSpecialAlgorithm__Group_3__014760);\r\n rule__NetworkLevelSpecialAlgorithm__Group_3__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": "c61251280df187c67b2c10cf6d80fe41",
"score": "0.66569614",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8216:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8217:2: rule__NetworkLevelSpecialAlgorithm__Group_11_3__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11_3__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11_3__116745);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11_3__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": "26499d517333eb17b336d8a92f59f64b",
"score": "0.66386217",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7933:1: ( ( '}' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7934:1: ( '}' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7934:1: ( '}' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7935:1: '}'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_10_4()); \r\n match(input,59,FollowSets000.FOLLOW_59_in_rule__NetworkLevelSpecialAlgorithm__Group_10__4__Impl16205); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getRightCurlyBracketKeyword_10_4()); \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": "9d834a6f4aad748c5b6f67072b980009",
"score": "0.6624125",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__10__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7099:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_10__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7100:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_10__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7100:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_10__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7101:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_10()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7102:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__0 )?\r\n int alt61=2;\r\n int LA61_0 = input.LA(1);\r\n\r\n if ( (LA61_0==70) ) {\r\n alt61=1;\r\n }\r\n switch (alt61) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7102:2: rule__NetworkLevelSpecialAlgorithm__Group_10__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__0_in_rule__NetworkLevelSpecialAlgorithm__Group__10__Impl14580);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_10()); \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": "0e178c35c8e87de8929ff30a07621f67",
"score": "0.6617232",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10_3__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7962:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_10_3__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7963:2: rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_10_3__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10_3__016246);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10_3__1_in_rule__NetworkLevelSpecialAlgorithm__Group_10_3__016249);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10_3__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": "2fb6f80d69c8df2b842e15e90432caa7",
"score": "0.66106933",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6834:1: ( ( 'NetworkLevelSpecialAlgorithm' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6835:1: ( 'NetworkLevelSpecialAlgorithm' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6835:1: ( 'NetworkLevelSpecialAlgorithm' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6836:1: 'NetworkLevelSpecialAlgorithm'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNetworkLevelSpecialAlgorithmKeyword_1()); \r\n match(input,75,FollowSets000.FOLLOW_75_in_rule__NetworkLevelSpecialAlgorithm__Group__1__Impl14030); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNetworkLevelSpecialAlgorithmKeyword_1()); \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": "a73cd6409108faed7b5b9a6da175418b",
"score": "0.65962696",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6853:1: ( rule__NetworkLevelSpecialAlgorithm__Group__2__Impl rule__NetworkLevelSpecialAlgorithm__Group__3 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6854:2: rule__NetworkLevelSpecialAlgorithm__Group__2__Impl rule__NetworkLevelSpecialAlgorithm__Group__3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__2__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__214061);\r\n rule__NetworkLevelSpecialAlgorithm__Group__2__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__3_in_rule__NetworkLevelSpecialAlgorithm__Group__214064);\r\n rule__NetworkLevelSpecialAlgorithm__Group__3();\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": "d37cd38676d25e0a71ed9a610c6dad77",
"score": "0.65572476",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6884:1: ( rule__NetworkLevelSpecialAlgorithm__Group__3__Impl rule__NetworkLevelSpecialAlgorithm__Group__4 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6885:2: rule__NetworkLevelSpecialAlgorithm__Group__3__Impl rule__NetworkLevelSpecialAlgorithm__Group__4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__3__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__314123);\r\n rule__NetworkLevelSpecialAlgorithm__Group__3__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__4_in_rule__NetworkLevelSpecialAlgorithm__Group__314126);\r\n rule__NetworkLevelSpecialAlgorithm__Group__4();\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": "2de072e8964edd58114c7374c33b5bfa",
"score": "0.65461195",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11_3__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8185:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_11_3__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8186:2: rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_11_3__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11_3__016683);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11_3__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11_3__1_in_rule__NetworkLevelSpecialAlgorithm__Group_11_3__016686);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11_3__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": "9694196d92841b92df3f798f3418e86e",
"score": "0.65444434",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__7() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7000:1: ( rule__NetworkLevelSpecialAlgorithm__Group__7__Impl rule__NetworkLevelSpecialAlgorithm__Group__8 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7001:2: rule__NetworkLevelSpecialAlgorithm__Group__7__Impl rule__NetworkLevelSpecialAlgorithm__Group__8\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__7__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__714367);\r\n rule__NetworkLevelSpecialAlgorithm__Group__7__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__8_in_rule__NetworkLevelSpecialAlgorithm__Group__714370);\r\n rule__NetworkLevelSpecialAlgorithm__Group__8();\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": "72f7cd6ff7e0bb0cf7cf2a86c6c94541",
"score": "0.6531894",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__9__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7070:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_9__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7071:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_9__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7071:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_9__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7072:1: ( rule__NetworkLevelSpecialAlgorithm__Group_9__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_9()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7073:1: ( rule__NetworkLevelSpecialAlgorithm__Group_9__0 )?\r\n int alt60=2;\r\n int LA60_0 = input.LA(1);\r\n\r\n if ( (LA60_0==69) ) {\r\n alt60=1;\r\n }\r\n switch (alt60) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7073:2: rule__NetworkLevelSpecialAlgorithm__Group_9__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_9__0_in_rule__NetworkLevelSpecialAlgorithm__Group__9__Impl14519);\r\n rule__NetworkLevelSpecialAlgorithm__Group_9__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_9()); \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": "32dd8f30b3c97f3b9b50e29aa7b84f57",
"score": "0.6494786",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7213:1: ( ( 'id' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7214:1: ( 'id' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7214:1: ( 'id' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7215:1: 'id'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getIdKeyword_3_0()); \r\n match(input,60,FollowSets000.FOLLOW_60_in_rule__NetworkLevelSpecialAlgorithm__Group_3__0__Impl14788); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getIdKeyword_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "ec64452670c0d2a50a8aed16860dcdeb",
"score": "0.6483786",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_8__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7707:1: ( rule__NetworkLevelSpecialAlgorithm__Group_8__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7708:2: rule__NetworkLevelSpecialAlgorithm__Group_8__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_8__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_8__115748);\r\n rule__NetworkLevelSpecialAlgorithm__Group_8__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": "3b956c58ac31ccd5b09c02386eabfbd0",
"score": "0.643521",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_8__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7676:1: ( rule__NetworkLevelSpecialAlgorithm__Group_8__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_8__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7677:2: rule__NetworkLevelSpecialAlgorithm__Group_8__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_8__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_8__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_8__015686);\r\n rule__NetworkLevelSpecialAlgorithm__Group_8__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_8__1_in_rule__NetworkLevelSpecialAlgorithm__Group_8__015689);\r\n rule__NetworkLevelSpecialAlgorithm__Group_8__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": "8e3aa6c0d8b939011576d297ddea5ddb",
"score": "0.64313066",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7864:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__3 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7865:2: rule__NetworkLevelSpecialAlgorithm__Group_10__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__2__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10__216056);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__2__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__3_in_rule__NetworkLevelSpecialAlgorithm__Group_10__216059);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__3();\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": "3add39df5c3013705df703b8ace16dc5",
"score": "0.64263606",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8025:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8026:2: rule__NetworkLevelSpecialAlgorithm__Group_11__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11__016369);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__1_in_rule__NetworkLevelSpecialAlgorithm__Group_11__016372);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__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": "bd37d953a62c38a00f1d779fc89823cc",
"score": "0.6424427",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6822:1: ( rule__NetworkLevelSpecialAlgorithm__Group__1__Impl rule__NetworkLevelSpecialAlgorithm__Group__2 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6823:2: rule__NetworkLevelSpecialAlgorithm__Group__1__Impl rule__NetworkLevelSpecialAlgorithm__Group__2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__113999);\r\n rule__NetworkLevelSpecialAlgorithm__Group__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__2_in_rule__NetworkLevelSpecialAlgorithm__Group__114002);\r\n rule__NetworkLevelSpecialAlgorithm__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": "cb84e28b3360d447a7d713eb15b59d62",
"score": "0.6408048",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_9__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7739:1: ( rule__NetworkLevelSpecialAlgorithm__Group_9__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_9__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7740:2: rule__NetworkLevelSpecialAlgorithm__Group_9__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_9__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_9__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_9__015809);\r\n rule__NetworkLevelSpecialAlgorithm__Group_9__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_9__1_in_rule__NetworkLevelSpecialAlgorithm__Group_9__015812);\r\n rule__NetworkLevelSpecialAlgorithm__Group_9__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": "63638b3c7a50b24219561d2da534da57",
"score": "0.6379899",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__5__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6954:1: ( ( ( rule__NetworkLevelSpecialAlgorithm__Group_5__0 )? ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6955:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_5__0 )? )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6955:1: ( ( rule__NetworkLevelSpecialAlgorithm__Group_5__0 )? )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6956:1: ( rule__NetworkLevelSpecialAlgorithm__Group_5__0 )?\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_5()); \r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6957:1: ( rule__NetworkLevelSpecialAlgorithm__Group_5__0 )?\r\n int alt56=2;\r\n int LA56_0 = input.LA(1);\r\n\r\n if ( (LA56_0==66) ) {\r\n alt56=1;\r\n }\r\n switch (alt56) {\r\n case 1 :\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6957:2: rule__NetworkLevelSpecialAlgorithm__Group_5__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_5__0_in_rule__NetworkLevelSpecialAlgorithm__Group__5__Impl14275);\r\n rule__NetworkLevelSpecialAlgorithm__Group_5__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getGroup_5()); \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": "850696de235d0578e5335ab9ea5e33d0",
"score": "0.6373952",
"text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5156:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5157:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__010843);\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": "c4f640635b75a7729e96acbaaa263145",
"score": "0.6372205",
"text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5000:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5001:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__010539);\n rule__XRelationalExpression__Group_1_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": "308e50eba1ecaa728d4024cb1edb352b",
"score": "0.6368817",
"text": "public final void rule__RelationalOpExpression__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9807:1: ( rule__RelationalOpExpression__Group_1_0__0__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9808:2: rule__RelationalOpExpression__Group_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1_0__0__Impl_in_rule__RelationalOpExpression__Group_1_0__019823);\n rule__RelationalOpExpression__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": "a74e25602b3f171e848310e929ad72eb",
"score": "0.6355428",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7802:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7803:2: rule__NetworkLevelSpecialAlgorithm__Group_10__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10__015932);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__1_in_rule__NetworkLevelSpecialAlgorithm__Group_10__015935);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__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": "412ebaaaee75bbd96d0ce9f7314476f8",
"score": "0.635156",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8087:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__3 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8088:2: rule__NetworkLevelSpecialAlgorithm__Group_11__2__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__2__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11__216493);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__2__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__3_in_rule__NetworkLevelSpecialAlgorithm__Group_11__216496);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__3();\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": "969e14e4ae34bccdd5d7b14d578fa1e4",
"score": "0.63298625",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7029:1: ( rule__NetworkLevelSpecialAlgorithm__Group__8__Impl rule__NetworkLevelSpecialAlgorithm__Group__9 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7030:2: rule__NetworkLevelSpecialAlgorithm__Group__8__Impl rule__NetworkLevelSpecialAlgorithm__Group__9\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__8__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__814428);\r\n rule__NetworkLevelSpecialAlgorithm__Group__8__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__9_in_rule__NetworkLevelSpecialAlgorithm__Group__814431);\r\n rule__NetworkLevelSpecialAlgorithm__Group__9();\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": "5d6770fe8ef8bedaf43184164bf2d228",
"score": "0.6292602",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__11() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7116:1: ( rule__NetworkLevelSpecialAlgorithm__Group__11__Impl rule__NetworkLevelSpecialAlgorithm__Group__12 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7117:2: rule__NetworkLevelSpecialAlgorithm__Group__11__Impl rule__NetworkLevelSpecialAlgorithm__Group__12\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__11__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__1114611);\r\n rule__NetworkLevelSpecialAlgorithm__Group__11__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__12_in_rule__NetworkLevelSpecialAlgorithm__Group__1114614);\r\n rule__NetworkLevelSpecialAlgorithm__Group__12();\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": "aef86a0df388430cf489503fd7bdaf53",
"score": "0.628304",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_5__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7358:1: ( rule__NetworkLevelSpecialAlgorithm__Group_5__1__Impl )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7359:2: rule__NetworkLevelSpecialAlgorithm__Group_5__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_5__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_5__115065);\r\n rule__NetworkLevelSpecialAlgorithm__Group_5__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": "4b3b9a239ed3d12fd05cdbd56a0be737",
"score": "0.6276579",
"text": "public final void rule__RelationalOpExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9868:1: ( rule__RelationalOpExpression__Group_1_0_0_0__1__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9869:2: rule__RelationalOpExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1_0_0_0__1__Impl_in_rule__RelationalOpExpression__Group_1_0_0_0__119943);\n rule__RelationalOpExpression__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": "3b28176e45a2a9a87a30ea2c5c31d5dc",
"score": "0.6256882",
"text": "public final void rule__RelationalOpExpression__Group_1_0_0_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:10063:1: ( rule__RelationalOpExpression__Group_1_0_0_3__1__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:10064:2: rule__RelationalOpExpression__Group_1_0_0_3__1__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1_0_0_3__1__Impl_in_rule__RelationalOpExpression__Group_1_0_0_3__120315);\n rule__RelationalOpExpression__Group_1_0_0_3__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": "50862311eb5fd5f7d7c3e5f6f1457dab",
"score": "0.625351",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7893:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__4 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7894:2: rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10__316116);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__3__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__4_in_rule__NetworkLevelSpecialAlgorithm__Group_10__316119);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__4();\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": "1e8ce4b9bf20242fbfd8e5211cd742d4",
"score": "0.6232517",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7833:1: ( rule__NetworkLevelSpecialAlgorithm__Group_10__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__2 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7834:2: rule__NetworkLevelSpecialAlgorithm__Group_10__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_10__2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_10__115994);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_10__2_in_rule__NetworkLevelSpecialAlgorithm__Group_10__115997);\r\n rule__NetworkLevelSpecialAlgorithm__Group_10__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": "6ac85a2b1431f693b5e9f77596814b75",
"score": "0.62212586",
"text": "public final void rule__NetworkDataProcessing__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:9082:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:9083:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:9083:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:9084:1: ','\r\n {\r\n before(grammarAccess.getNetworkDataProcessingAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__NetworkDataProcessing__Group_7_3__0__Impl18462); \r\n after(grammarAccess.getNetworkDataProcessingAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "a7115ff99c2dc11c0bb630e4e3dcdf42",
"score": "0.6206848",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8056:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__2 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8057:2: rule__NetworkLevelSpecialAlgorithm__Group_11__1__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__1__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11__116431);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__2_in_rule__NetworkLevelSpecialAlgorithm__Group_11__116434);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__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": "86b918617873d3c2e4889452b3ee345c",
"score": "0.62006384",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6913:1: ( rule__NetworkLevelSpecialAlgorithm__Group__4__Impl rule__NetworkLevelSpecialAlgorithm__Group__5 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6914:2: rule__NetworkLevelSpecialAlgorithm__Group__4__Impl rule__NetworkLevelSpecialAlgorithm__Group__5\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__4__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__414184);\r\n rule__NetworkLevelSpecialAlgorithm__Group__4__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__5_in_rule__NetworkLevelSpecialAlgorithm__Group__414187);\r\n rule__NetworkLevelSpecialAlgorithm__Group__5();\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": "c411cc4b02eef1ecb7a8e809c9cf8f81",
"score": "0.6190676",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_11__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8116:1: ( rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__4 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:8117:2: rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl rule__NetworkLevelSpecialAlgorithm__Group_11__4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_11__316553);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__3__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_11__4_in_rule__NetworkLevelSpecialAlgorithm__Group_11__316556);\r\n rule__NetworkLevelSpecialAlgorithm__Group_11__4();\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": "7bcd08082401880f7dda324621c289de",
"score": "0.6188576",
"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.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5061:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5062: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__110659);\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": "adaa0cc885998d0248ec6034d24ad081",
"score": "0.6183118",
"text": "public final void rule__FlatNetwork__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:13289:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:13290:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:13290:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:13291:1: ','\r\n {\r\n before(grammarAccess.getFlatNetworkAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets001.FOLLOW_62_in_rule__FlatNetwork__Group_7_3__0__Impl26692); \r\n after(grammarAccess.getFlatNetworkAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "d7efa0df5e20dc2993c77e7adf6f858f",
"score": "0.6181125",
"text": "public final void rule__SpecialExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalOptGrammar.g:13177:1: ( rule__SpecialExpression__Group__2__Impl )\n // InternalOptGrammar.g:13178:2: rule__SpecialExpression__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__SpecialExpression__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": "d0e2e1b8294ba52c162607a713919c1f",
"score": "0.6142392",
"text": "public final void rule__RelationalOpExpression__Group_1_0_0_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9998:1: ( rule__RelationalOpExpression__Group_1_0_0_2__1__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9999:2: rule__RelationalOpExpression__Group_1_0_0_2__1__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1_0_0_2__1__Impl_in_rule__RelationalOpExpression__Group_1_0_0_2__120191);\n rule__RelationalOpExpression__Group_1_0_0_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": "3a2c0fe8cfee8bcd76b7a9117ad797e2",
"score": "0.6141469",
"text": "public final void rule__RelationalOpExpression__Group_1_0_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9933:1: ( rule__RelationalOpExpression__Group_1_0_0_1__1__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9934:2: rule__RelationalOpExpression__Group_1_0_0_1__1__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1_0_0_1__1__Impl_in_rule__RelationalOpExpression__Group_1_0_0_1__120067);\n rule__RelationalOpExpression__Group_1_0_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": "31d5298aeb0f06971f3a299fd1a77b92",
"score": "0.61333823",
"text": "public final void rule__Rating_Impl__Group_9_3__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../dk.itu.mddp.eank.survey.ui/src-gen/dk/itu/mddp/eank/survey/ui/contentassist/antlr/internal/InternalSurvey.g:2957:1: ( ( ',' ) )\n // ../dk.itu.mddp.eank.survey.ui/src-gen/dk/itu/mddp/eank/survey/ui/contentassist/antlr/internal/InternalSurvey.g:2958:1: ( ',' )\n {\n // ../dk.itu.mddp.eank.survey.ui/src-gen/dk/itu/mddp/eank/survey/ui/contentassist/antlr/internal/InternalSurvey.g:2958:1: ( ',' )\n // ../dk.itu.mddp.eank.survey.ui/src-gen/dk/itu/mddp/eank/survey/ui/contentassist/antlr/internal/InternalSurvey.g:2959:1: ','\n {\n before(grammarAccess.getRating_ImplAccess().getCommaKeyword_9_3_0()); \n match(input,13,FollowSets000.FOLLOW_13_in_rule__Rating_Impl__Group_9_3__0__Impl5897); \n after(grammarAccess.getRating_ImplAccess().getCommaKeyword_9_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "fa9275a6219e7bd210a9a606f66d9c77",
"score": "0.6127897",
"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.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5217:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5218: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__110963);\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": "808db64e939518d5eccb4815e02d3404",
"score": "0.6121281",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7465:1: ( ( 'nodeIDList' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7466:1: ( 'nodeIDList' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7466:1: ( 'nodeIDList' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7467:1: 'nodeIDList'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNodeIDListKeyword_7_0()); \r\n match(input,78,FollowSets000.FOLLOW_78_in_rule__NetworkLevelSpecialAlgorithm__Group_7__0__Impl15280); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getNodeIDListKeyword_7_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "50c92ea794f6cfc4aca2d408940437bb",
"score": "0.61211735",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__5() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6942:1: ( rule__NetworkLevelSpecialAlgorithm__Group__5__Impl rule__NetworkLevelSpecialAlgorithm__Group__6 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6943:2: rule__NetworkLevelSpecialAlgorithm__Group__5__Impl rule__NetworkLevelSpecialAlgorithm__Group__6\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__5__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__514245);\r\n rule__NetworkLevelSpecialAlgorithm__Group__5__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__6_in_rule__NetworkLevelSpecialAlgorithm__Group__514248);\r\n rule__NetworkLevelSpecialAlgorithm__Group__6();\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": "87b13497fc7146cd5e5482057128cc17",
"score": "0.61096865",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__10() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7087:1: ( rule__NetworkLevelSpecialAlgorithm__Group__10__Impl rule__NetworkLevelSpecialAlgorithm__Group__11 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7088:2: rule__NetworkLevelSpecialAlgorithm__Group__10__Impl rule__NetworkLevelSpecialAlgorithm__Group__11\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__10__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__1014550);\r\n rule__NetworkLevelSpecialAlgorithm__Group__10__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__11_in_rule__NetworkLevelSpecialAlgorithm__Group__1014553);\r\n rule__NetworkLevelSpecialAlgorithm__Group__11();\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": "48c55676baf07c6b9543abd1b687768d",
"score": "0.61058354",
"text": "public final void rule__S_Definition__Group__3__Impl() throws RecognitionException {\n int rule__S_Definition__Group__3__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 433) ) { return ; }\n // InternalGaml.g:7851:1: ( ( ( rule__S_Definition__Group_3__0 )? ) )\n // InternalGaml.g:7852:1: ( ( rule__S_Definition__Group_3__0 )? )\n {\n // InternalGaml.g:7852:1: ( ( rule__S_Definition__Group_3__0 )? )\n // InternalGaml.g:7853:1: ( rule__S_Definition__Group_3__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getS_DefinitionAccess().getGroup_3()); \n }\n // InternalGaml.g:7854:1: ( rule__S_Definition__Group_3__0 )?\n int alt97=2;\n int LA97_0 = input.LA(1);\n\n if ( (LA97_0==123) ) {\n alt97=1;\n }\n switch (alt97) {\n case 1 :\n // InternalGaml.g:7854:2: rule__S_Definition__Group_3__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__S_Definition__Group_3__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.getS_DefinitionAccess().getGroup_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 433, rule__S_Definition__Group__3__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "801c71af4b41d5a6d49874e3904999ef",
"score": "0.6102879",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7276:1: ( ( 'specialAlgorithmJob' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7277:1: ( 'specialAlgorithmJob' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7277:1: ( 'specialAlgorithmJob' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7278:1: 'specialAlgorithmJob'\r\n {\r\n before(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getSpecialAlgorithmJobKeyword_4_0()); \r\n match(input,76,FollowSets000.FOLLOW_76_in_rule__NetworkLevelSpecialAlgorithm__Group_4__0__Impl14911); \r\n after(grammarAccess.getNetworkLevelSpecialAlgorithmAccess().getSpecialAlgorithmJobKeyword_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "904747c24de8778efef8ad4722414a38",
"score": "0.608147",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group__9() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7058:1: ( rule__NetworkLevelSpecialAlgorithm__Group__9__Impl rule__NetworkLevelSpecialAlgorithm__Group__10 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7059:2: rule__NetworkLevelSpecialAlgorithm__Group__9__Impl rule__NetworkLevelSpecialAlgorithm__Group__10\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__9__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group__914489);\r\n rule__NetworkLevelSpecialAlgorithm__Group__9__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group__10_in_rule__NetworkLevelSpecialAlgorithm__Group__914492);\r\n rule__NetworkLevelSpecialAlgorithm__Group__10();\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": "23c811a34a7e87d8e23a2126df718107",
"score": "0.6068467",
"text": "public final void rule__Signal__Group_2_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:3259:1: ( ( ',' ) )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:3260:1: ( ',' )\n {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:3260:1: ( ',' )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:3261:1: ','\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSignalAccess().getCommaKeyword_2_1_0()); \n }\n match(input,22,FOLLOW_22_in_rule__Signal__Group_2_1__0__Impl6949); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSignalAccess().getCommaKeyword_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": "ccf287d12a6db4de3528da290b8f0dce",
"score": "0.6061849",
"text": "public final void rule__SenseNowJob__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:4804:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:4805:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:4805:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:4806:1: ','\r\n {\r\n before(grammarAccess.getSenseNowJobAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__SenseNowJob__Group_7_3__0__Impl10040); \r\n after(grammarAccess.getSenseNowJobAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "52a595902f6b1047e6d80d4c77d6a220",
"score": "0.6058385",
"text": "public final void rule__XRelationalExpression__Group_1_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5167:1: ( ( ( rule__XRelationalExpression__Group_1_1_0_0__0 ) ) )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5168:1: ( ( rule__XRelationalExpression__Group_1_1_0_0__0 ) )\n {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5168:1: ( ( rule__XRelationalExpression__Group_1_1_0_0__0 ) )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5169:1: ( rule__XRelationalExpression__Group_1_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0()); \n }\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5170:1: ( rule__XRelationalExpression__Group_1_1_0_0__0 )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5170:2: rule__XRelationalExpression__Group_1_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__0_in_rule__XRelationalExpression__Group_1_1_0__0__Impl10870);\n rule__XRelationalExpression__Group_1_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "ec4c6f76f3c2ed9fa7f496b23dfdd514",
"score": "0.60507137",
"text": "public final void rule__S_Definition__Group_3__2__Impl() throws RecognitionException {\n int rule__S_Definition__Group_3__2__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 443) ) { return ; }\n // InternalGaml.g:8008:1: ( ( ')' ) )\n // InternalGaml.g:8009:1: ( ')' )\n {\n // InternalGaml.g:8009:1: ( ')' )\n // InternalGaml.g:8010:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getS_DefinitionAccess().getRightParenthesisKeyword_3_2()); \n }\n match(input,124,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getS_DefinitionAccess().getRightParenthesisKeyword_3_2()); \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, 443, rule__S_Definition__Group_3__2__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "25bb48d5a72e077fa519a6a516ed1247",
"score": "0.6048713",
"text": "public final void rule__ClusteredNetwork__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:14398:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:14399:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:14399:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:14400:1: ','\r\n {\r\n before(grammarAccess.getClusteredNetworkAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets001.FOLLOW_62_in_rule__ClusteredNetwork__Group_7_3__0__Impl28874); \r\n after(grammarAccess.getClusteredNetworkAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "27fa6481322ef927b69d8eb92ab93cd3",
"score": "0.6040535",
"text": "public final void rule__SenseJob__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6517:1: ( ( ',' ) )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6518:1: ( ',' )\r\n {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6518:1: ( ',' )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:6519:1: ','\r\n {\r\n before(grammarAccess.getSenseJobAccess().getCommaKeyword_7_3_0()); \r\n match(input,62,FollowSets000.FOLLOW_62_in_rule__SenseJob__Group_7_3__0__Impl13409); \r\n after(grammarAccess.getSenseJobAccess().getCommaKeyword_7_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }",
"title": ""
},
{
"docid": "6b06837f3baf4c647a37ed5979146ac2",
"score": "0.6036053",
"text": "public final void rule__RelationalOpExpression__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9775:1: ( rule__RelationalOpExpression__Group_1__1__Impl )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:9776:2: rule__RelationalOpExpression__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__RelationalOpExpression__Group_1__1__Impl_in_rule__RelationalOpExpression__Group_1__119762);\n rule__RelationalOpExpression__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": "63ad0118009fe5255e672fc45ff2b66f",
"score": "0.6030074",
"text": "public final void rule__Protocol__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:2653:1: ( ( 'protocol' ) )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:2654:1: ( 'protocol' )\n {\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:2654:1: ( 'protocol' )\n // ../ca.queensu.cs.mase.urml.ui/src-gen/ca/queensu/cs/mase/ui/contentassist/antlr/internal/InternalUrml.g:2655:1: 'protocol'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProtocolAccess().getProtocolKeyword_0()); \n }\n match(input,17,FOLLOW_17_in_rule__Protocol__Group__0__Impl5759); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProtocolAccess().getProtocolKeyword_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": "b2ab7f88cde769bc8d20a9d93ec77b9f",
"score": "0.60234874",
"text": "public final void rule__UnaryExp__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:23081:1: ( rule__UnaryExp__Group_0__2__Impl )\n // InternalMASLParser.g:23082:2: rule__UnaryExp__Group_0__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__UnaryExp__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": "ced5a931a64481d42e7e5582dd57bf13",
"score": "0.6023237",
"text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4968:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4969:2: rule__XRelationalExpression__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0__1__Impl_in_rule__XRelationalExpression__Group_1_0__110478);\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": "132f9bec78ebcbfb1028d780e8284d7d",
"score": "0.60201985",
"text": "public final void rule__XRelationalExpression__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5124:1: ( rule__XRelationalExpression__Group_1_1__1__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:5125:2: rule__XRelationalExpression__Group_1_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1__1__Impl_in_rule__XRelationalExpression__Group_1_1__110782);\n rule__XRelationalExpression__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": "10f9a15dc5c9397f5812f2fa14df07d8",
"score": "0.6018918",
"text": "public final void rule__S_Definition__Group_3__0__Impl() throws RecognitionException {\n int rule__S_Definition__Group_3__0__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 439) ) { return ; }\n // InternalGaml.g:7949:1: ( ( '(' ) )\n // InternalGaml.g:7950:1: ( '(' )\n {\n // InternalGaml.g:7950:1: ( '(' )\n // InternalGaml.g:7951:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getS_DefinitionAccess().getLeftParenthesisKeyword_3_0()); \n }\n match(input,123,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getS_DefinitionAccess().getLeftParenthesisKeyword_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, 439, rule__S_Definition__Group_3__0__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "f0bb6b345e1ae4cb732d402d1c784083",
"score": "0.60182315",
"text": "public final void rule__SpecialExpression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalOptGrammar.g:13123:1: ( rule__SpecialExpression__Group__0__Impl rule__SpecialExpression__Group__1 )\n // InternalOptGrammar.g:13124:2: rule__SpecialExpression__Group__0__Impl rule__SpecialExpression__Group__1\n {\n pushFollow(FOLLOW_46);\n rule__SpecialExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SpecialExpression__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": "0c21a07e41223c39c8f706e6ef3d8ebc",
"score": "0.60173225",
"text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_5__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7327:1: ( rule__NetworkLevelSpecialAlgorithm__Group_5__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_5__1 )\r\n // ../org.wsn.sennet.xtext.ui/src-gen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7328:2: rule__NetworkLevelSpecialAlgorithm__Group_5__0__Impl rule__NetworkLevelSpecialAlgorithm__Group_5__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_5__0__Impl_in_rule__NetworkLevelSpecialAlgorithm__Group_5__015003);\r\n rule__NetworkLevelSpecialAlgorithm__Group_5__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FollowSets000.FOLLOW_rule__NetworkLevelSpecialAlgorithm__Group_5__1_in_rule__NetworkLevelSpecialAlgorithm__Group_5__015006);\r\n rule__NetworkLevelSpecialAlgorithm__Group_5__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": "504a73d8239640b8ec59de43ba9d745d",
"score": "0.59916466",
"text": "public final void rule__XUnaryOperation__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:6335:1: ( rule__XUnaryOperation__Group_0__2__Impl )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:6336:2: rule__XUnaryOperation__Group_0__2__Impl\n {\n pushFollow(FOLLOW_rule__XUnaryOperation__Group_0__2__Impl_in_rule__XUnaryOperation__Group_0__213153);\n rule__XUnaryOperation__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": "f15321a40e9cd5d3037961ae7254050f",
"score": "0.59832495",
"text": "public final void rule__Unary__Group_1__0__Impl() throws RecognitionException {\n int rule__Unary__Group_1__0__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 817) ) { return ; }\n // InternalGaml.g:13840:1: ( ( () ) )\n // InternalGaml.g:13841:1: ( () )\n {\n // InternalGaml.g:13841:1: ( () )\n // InternalGaml.g:13842:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnaryAccess().getUnaryAction_1_0()); \n }\n // InternalGaml.g:13843:1: ()\n // InternalGaml.g:13845:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnaryAccess().getUnaryAction_1_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 817, rule__Unary__Group_1__0__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "563af6f437701273aee3dc2116ad3f84",
"score": "0.5957648",
"text": "public final void rule__XRelationalExpression__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4951:1: ( ( ( rule__XRelationalExpression__Group_1_0_0__0 ) ) )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4952:1: ( ( rule__XRelationalExpression__Group_1_0_0__0 ) )\n {\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4952:1: ( ( rule__XRelationalExpression__Group_1_0_0__0 ) )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4953:1: ( rule__XRelationalExpression__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0()); \n }\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4954:1: ( rule__XRelationalExpression__Group_1_0_0__0 )\n // ../org.xtext.builddsl.ui/src-gen/org/xtext/builddsl/ui/contentassist/antlr/internal/InternalBuildDSL.g:4954:2: rule__XRelationalExpression__Group_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0_in_rule__XRelationalExpression__Group_1_0__0__Impl10448);\n rule__XRelationalExpression__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.getXRelationalExpressionAccess().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": ""
}
] |
2139b2d7ad7fa1e46e98edfec9b6aff7 | Ordina gli amici per distanza (ordine crescente) | [
{
"docid": "51079dd7e3f4c1202c5c7ade4ceeed1b",
"score": "0.0",
"text": "public void sortAmiciByDistance (){\n Collections.sort(amiciSeguiti);\n }",
"title": ""
}
] | [
{
"docid": "028db9cb2c8a0fbf218feb9efd050c42",
"score": "0.66699934",
"text": "private void ordenarPoblacion() {\n\n\t\tordenarBurbuja(aptitud_individuo, weight);\n\t}",
"title": ""
},
{
"docid": "971e143accedec2e4277011f0ae37cfd",
"score": "0.6630225",
"text": "Anunt creareAnunt (Anunt anuntNou);",
"title": ""
},
{
"docid": "3a9d5d8babc21a46851670598758bbbb",
"score": "0.6418536",
"text": "private void atacar() {\n super.proyectileFactory.obtenerMisil(objetivo,posicion, 120);\n }",
"title": ""
},
{
"docid": "71b3bbeadd68544c35051bd0699c85ff",
"score": "0.6390447",
"text": "private static void aumentaRotte(Istanza istanza)\r\n\t{\r\n\t\tint j=0;\r\n\t\twhile(istanza.getRotte().size() < istanza.getNumVeicoli())\r\n\t\t{\r\n\t\t\tif(istanza.getRotte().get(j).getLineHauls().size()>2)\r\n\t\t\t{\r\n\t\t\t\tRotta nuova = new Rotta(istanza.getDeposito(),istanza.getRotte().get(j).removeFirst());\r\n\t\t\t\tistanza.getRotte().add(nuova);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tj++;\r\n\t\t}\r\n \t\tistanza.updateSolution();\r\n\t}",
"title": ""
},
{
"docid": "4ff7d633e60bb393497696b0f0530145",
"score": "0.6355601",
"text": "public void ataque(Unidad enemigo){enemigo.recibirDano(ataque);}",
"title": ""
},
{
"docid": "e52b369cf23c4714cde47c01fac80b32",
"score": "0.6345529",
"text": "private void ecrireCreneauDisponible() {\n\n utilitaireCellule.ecrireChaine(new CoordonneesCelulle(\"C\", 6), \"Creneaux Disponibles\", new StyleCellule());\n\n ArrayList<Periode> maListe = maquetteComplete.getPlanning().getPeriodeListe();\n\n CoordonneesCelulle coinSuperieur = new CoordonneesCelulle(\"J\", 6);\n CoordonneesCelulle coinInferieur = new CoordonneesCelulle(coinSuperieur.getX() + PAS, coinSuperieur.getY() + 1);\n\n\n for (Periode actuelle : maListe) {\n if (!actuelle.getVacance()) {\n\n utilitairePlageCellule.ecrireNombre(coinSuperieur, coinInferieur, maquetteComplete.getNombreCreneauDispoSemaine(), new StyleCellule());\n }\n coinSuperieur.setX(coinInferieur.getX() + 2);\n coinInferieur.setX(coinSuperieur.getX() + PAS);\n\n for (int jcpt = 0; jcpt < actuelle.getNombreSemaineScolaire() - 1; jcpt++) {\n if (!actuelle.getVacance()) {\n\n utilitairePlageCellule.ecrireNombre(coinSuperieur, coinInferieur, maquetteComplete.getNombreCreneauDispoSemaine(), new StyleCellule());\n\n }\n coinSuperieur.setX(coinInferieur.getX() + 2);\n coinInferieur.setX(coinSuperieur.getX() + PAS);\n }\n\n }\n }",
"title": ""
},
{
"docid": "802f43b5ff920a96911f2bf0e371d634",
"score": "0.6254914",
"text": "CerereConcediu creareCerereConcediu (CerereConcediu CerereConcediuNou);",
"title": ""
},
{
"docid": "505ffb0b1a7515412a8462cff581817c",
"score": "0.62535256",
"text": "public void addOrdine(Ordinazione ordine) {\n\t\t//Inserisco il nuovo ordine nel TreeMamp--> <key=orarioPizza, value=oggettoOrdinazione)\n\t\tordinazioni.put(ordine.getOrario(), ordine);\n\t\t\n\t\tchar riepilogo = usaServizio_standard.setYesNo(\"Vuoi visualizzare il riepilogo dell'ordine? (SI/NO)\").toLowerCase().charAt(0);\n \tif(riepilogo == 's') {\n \t\t//Visualizzazione del riepilogo dell'ordine\n \t\tvisualizzaOrdine(ordine);\n \t}else if(riepilogo == 'n') {\n \t\treturn; \n \t}\n\t}",
"title": ""
},
{
"docid": "830e5fce7b2d6282831edcc52bb4f1c2",
"score": "0.62126374",
"text": "public void PolizasMaestrasAcuerdos(){}",
"title": ""
},
{
"docid": "ba53de8fffe3195969e2f2c514178551",
"score": "0.6196973",
"text": "public Pizzeria(Ordinazione ordine) {\n\t\taddOrdine(ordine);\n\t}",
"title": ""
},
{
"docid": "b76e2331cba1ef43fdddc2560f539f72",
"score": "0.6187213",
"text": "public void cercaOrario() {\n\t\tLocalTime orario = usaServizio_standard.setTime(\"Inserisci l'orario che vuoi ricercare:\");\n\t\tfor (Entry<LocalTime, Ordinazione> entry : ordinazioni.entrySet()) {\n\t\t\tif(entry.getKey().equals(orario)) {\n\t\t\t\tvisualizzaOrdine(entry.getValue());\n\t\t\t}else {\n\t\t\t\tusaServizio_standard.scrivi(\"Non ci sono ordini a questo orario!\");\n\t\t\t\tchar ritenta = usaServizio_standard.setYesNo(\"Vuoi provare con un altro orario? (SI/NO)\").toLowerCase().charAt(0);\n\t\t\t\tif(ritenta == 's') {\n\t\t\t\t cercaOrario();\n\t\t\t\t}else if(ritenta == 'n') {\n\t\t\t\t return; \n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "12fc853e5a5beea8617981a6c0c1cd11",
"score": "0.6183282",
"text": "public void visualizzaOrdine(Ordinazione ordine) {\n\t\tusaServizio_standard.scrivi(\"------ ORIDNE ID \"+ ordine.getID()+ \" || ORE:\" + ordine.getOrario() + \"-------------------\");\n\t\tusaServizio_standard.scrivi(\" - Pizze Ordinate :\");\n \t\n\t\t//Ciclo l'arraylist contenente le pizze\n\t\tfor (String pizza : ordine.getPizze()) { \n \tusaServizio_standard.scrivi(\"\\t> \"+pizza);\n }\n\t\t\n\t\t//Gestione eccezione dell'indirizzo di consegna\n\t\ttry {\n\t\t\tusaServizio_standard.scrivi(\" - Indirizzo : \" + ((OrdinazioneDomicilio) ordine).getIndirizzo());\n\t\t}catch(ClassCastException e) {\n\t\t\tusaServizio_standard.scrivi(\" - Indirizzo : ritiro in loco\");\n\t\t}\n\t\t\n\t\tusaServizio_standard.scrivi(\" - Prezzo : \" + ordine.getSpesa()+\"€\");\n usaServizio_standard.scrivi(\" - Cliente : \" + ordine.getNome() + \" \" + ordine.getCognome());\n usaServizio_standard.scrivi(\"-------------------------------------------------------\");\n\t}",
"title": ""
},
{
"docid": "13dbed76a463cf849170fa72fab66627",
"score": "0.61516386",
"text": "@Override\n\tpublic void aseazaTacamuri() {\n\t\tSystem.out.println(\"Pe masa \"+this.cod+\" s-au asezat tacamurile.\");\n\t}",
"title": ""
},
{
"docid": "8771958f600ab40c099eb58a4f177240",
"score": "0.6147088",
"text": "private Position apparitionAleatoire(int couleurDrapeau) {\n\tVector<Position> possibles = new Vector<Position>();\n\tfor (int i = 0; i < flags.size(); i++) {\n\t Position flagPos = flags.elementAt(i);\n\t if (worldModel[flagPos.getY()][flagPos.getX()] == couleurDrapeau) {\n\t\tfor (int j = flagPos.getY()-1; j <= flagPos.getY()+1; j++) {\n\t\t for (int k = flagPos.getX()-1; k <= flagPos.getX()+1; k++) {\n\t\t\tif (((j != flagPos.getY())||(k != flagPos.getX())) && (worldModel[j][k] == CTFWorld.EMPTY))\n\t\t\t possibles.add(new Position(k,j));\n\t\t }\n\t\t}\n\t }\n\t}\n\tif (possibles.isEmpty()) return null;\n\telse {\n\t int val = random.nextInt(possibles.size());\n\t return possibles.elementAt(val);\n\t}\n }",
"title": ""
},
{
"docid": "2d9d20b8ff407bc7dd0bbab2e291bbec",
"score": "0.6143215",
"text": "public Gato(String nome, Integer idade, String cor) {\n this.nome = nome;\n this.idade = idade;\n this.cor = cor;\n }",
"title": ""
},
{
"docid": "bc9ac87ba235ade9e995d79e3d3137bb",
"score": "0.6122314",
"text": "protected void caricaAllegatoAtto() {\n\t\tallegatoAtto = caricaAllegatoAtto(allegatoAtto.getUid());\n\t}",
"title": ""
},
{
"docid": "271985acb791ffe8d8041347ea2300e2",
"score": "0.61212337",
"text": "public Casilla(){\n tipo = 0;\n oculta = true;\n esMina = false;\n }",
"title": ""
},
{
"docid": "3c98defdd3fe24a60e28ec9a7a4c8b28",
"score": "0.61147267",
"text": "private void crearAtencion(int cifra){\n atencion= new Atencion();\n turno = new Turno(cifra, priority); //priority es el tipo de prioridad\n if(atencion.cargarEnEspera(turno)){\n atencion.cargarEnAtencion();\n VentanaEmergente.turnoCreado();\n if(priority==3)\n Atencion.turno3erEdad++;\n else if(priority==2)\n Atencion.turnoDiscapacidad++;\n else\n Atencion.turnoNormal++;\n visualizacion.getChildren().clear(); //Borra el contenido y actualiza con datos nuevos\n panelVisualizacioTurnosPuestos(Atencion.puestos, Atencion.enAtencion);\n }\n \n }",
"title": ""
},
{
"docid": "8121b59103ada7b9c3d11b3c67fee1fa",
"score": "0.6067874",
"text": "public void movimentoCarro() {\r\n\t\tmetro = (int) (Math.random() * DISTANCIA_MAXIMA);\r\n\t\tdistanciaCorrida += metro;\r\n\t\tif (distanciaCorrida > distanciaTotalCorrida) {\r\n\t\t\tdistanciaCorrida = distanciaTotalCorrida;\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "9dbc71ced8e193a6e18c1488ba9ba7dd",
"score": "0.6064534",
"text": "@Override\n public void creaOrdine(Ordine o) {\n if (o == null)\n throw new IllegalArgumentException();\n of.create(o);\n System.out.println(\"[OrdineManager] Ordine creato con successo\");\n\n }",
"title": ""
},
{
"docid": "300831fa1e2bc37f22a4e1ef3fcde989",
"score": "0.6063016",
"text": "public void crecerHongo () throws AccionActorException\r\n\t{\r\n\t\t//Esta Caracterisica no hace nada.\r\n\t}",
"title": ""
},
{
"docid": "299eec2d90d2121a0e2d4d959dd16265",
"score": "0.6058985",
"text": "public void hacerRuido(){\n\t\t\n\t}",
"title": ""
},
{
"docid": "1b3cf8d093f50fff3127e96daaa4110e",
"score": "0.60558003",
"text": "@Override public void ponerExtrasSobreCarne(){\n System.out.println(\"Ponemos Quesillo sobre el Chorizo\");\n addIngrediente(\"Quesillo\");\n }",
"title": ""
},
{
"docid": "96803c7b5171727f0dc4686718d6bba7",
"score": "0.6054851",
"text": "void ataque(Personagem outro) {\n if (this.tipo == 3) outro.vida -= 14;\n if (this.tipo == 2) outro.vida -= 5;\n if (this.tipo == 1) outro.vida -= 12;\n if (this.tipo == 0) outro.vida -= 7;\n }",
"title": ""
},
{
"docid": "aa3ae320be972144624b5420843a2b16",
"score": "0.6051972",
"text": "void entrarNoFim(int dado){\r\n Elemento novo = new Elemento(dado);\r\n this.ult.setProx(novo);\r\n this.ult = novo;\r\n }",
"title": ""
},
{
"docid": "7cfe85baa1ca0fe578c2bcb21ec6eaeb",
"score": "0.60426605",
"text": "public void AggiuntaOrdine(Ordine x){\n ordin.add(x);\n }",
"title": ""
},
{
"docid": "e20413663cfaf7cadfd1a24ae51b7c17",
"score": "0.60261357",
"text": "@Override public void agrega(Persona persona, int contrato){\n\tif(contrato > 3 || contrato < 1){\n\t System.out.println(\"Numero de contrato invalido Memeflix\");\n\t return;\n\t}\n\tCliente clienteNuevo = new Cliente(persona, contrato);\n\tif(this.clientesActivos.contains(clienteNuevo)) return ;\n\tif(this.exClientes.contains(clienteNuevo)){\n\t int indice = this.exClientes.indexOf(clienteNuevo);\n\t Cliente excliente = this.exClientes.get(indice);\n\t this.exClientes.remove(excliente);\n\t this.clientesActivos.add(excliente);\n\t this.setContrato(excliente, contrato);\n\t System.out.println(\"Bienvenido nuevamente a Memeflix \" + persona.nombre);\n\t}else{\n\t this.clientesActivos.add(clienteNuevo);\n\t System.out.println(\"Bienvenido a Memeflix \" + persona.nombre);\n\t}\n }",
"title": ""
},
{
"docid": "cf2ac4260ea63e5f662424d66e97a6da",
"score": "0.602441",
"text": "private void relajar(AristaDirigida e) {\n int v = e.desde(), w = e.hacia();\n if (distanciaHacia[w] < distanciaHacia[v] + e.peso()) {\n distanciaHacia[w] = distanciaHacia[v] + e.peso();\n aristaHacia[w] = e;\n } \n }",
"title": ""
},
{
"docid": "7733eb36ce78baaf9a992c6e666b361d",
"score": "0.60166925",
"text": "public Oracion(String oracion){\n this.oracion = oracion;\n }",
"title": ""
},
{
"docid": "e6d8baf1ee9caf2e69439449e7c79d91",
"score": "0.6013057",
"text": "public void inserir(int elemento) {\n Caixinha nova = new Caixinha();\n nova.setElemento(elemento); // inseri elemento na caixinha\n nova.setProximo(null); // depois dela nao vem ninguem\n\n if (inicio == null) { // vai ser a 1a caixinha?\n inicio = nova;\n } else { // ja tem gente na lista\n Caixinha aux;\n aux = inicio;\n while (aux.getProximo() != null) {\n aux = aux.getProximo();\n }\n aux.setProximo(nova);\n }\n\n }",
"title": ""
},
{
"docid": "5ba6e79c39eb7f367db5b3c72344fc78",
"score": "0.6003239",
"text": "public void avviaCorsa(){\n if (!this.partecipanti.isEmpty()){\n //per ogni corridore simulo un tempo di corsa (espresso in secondi)\n this.partecipanti.forEach(partecipante -> {\n System.out.println(partecipante);\n int tempo = (int) ((Math.random() * 100) + (Math.random() * 100) + (Math.random() * 100));\n tabellone.add(new ItemTempi(partecipante, (double) tempo));\n });\n }\n }",
"title": ""
},
{
"docid": "6278d1005dac03fcb1cafc48b73cbcce",
"score": "0.59841865",
"text": "@Override\n public List<Ordine> cercaTuttiGliOrdiniUtente(Utente u){\n Query q = em.createNamedQuery(\"ordine.cercaOrdiniUtente\");\n q.setParameter(1, u.getId());\n List<Ordine> res = q.getResultList();\n if(res==null){\n System.out.println(\"[OrdineManager] Non sono presenti ordini dell'utente \" + u.getId() );\n }\n return res;\n }",
"title": ""
},
{
"docid": "2ed396ab0ffd927524ec972e3ae32ffc",
"score": "0.59791934",
"text": "public GiocatoreUmano(){\n\t\truolo = SFIDANTE;\n\t}",
"title": ""
},
{
"docid": "d7b2a4a7118ce25239098787ece9a5a4",
"score": "0.59761566",
"text": "private void CrearFichero() {\n \n ArrayList<String> nombre = new ArrayList<String>();\n ArrayList<Integer> puntos = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n nombre.add(\"*******\");\n puntos.add(0);\n }\n Puntaje p = new Puntaje(nombre, puntos);\n Archivo a = new Archivo(p);\n try {\n a.GuardarRegistro();\n } catch (IOException ex) {\n Logger.getLogger(Menu.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"title": ""
},
{
"docid": "75aad4c4d2e6553faf7465b92d1467e8",
"score": "0.597575",
"text": "public void clicSurBoutonGauche()\n// le clic dans la ZML exécutera le code de clic de ce bouton\n// A Faire : Ajoutez le code sur le clic de ce bouton\n// info(\"clic sur \"+moimeme..nom)\n{\nsuper.clicSurBoutonGauche();\n\n// Ouvre(Fen_carte,id)\nWDAPIFenetre.ouvre(GWDPGruppeto.getInstance().mWD_Fen_carte,new WDObjet[] {vWD_id} );\n\n}",
"title": ""
},
{
"docid": "82e67e757dffb376435e3408120ca252",
"score": "0.5966517",
"text": "public void traduccioReordenaParaules();",
"title": ""
},
{
"docid": "2d5ee208c129e59cd69e3d9e90352baf",
"score": "0.59661347",
"text": "public void clicSurBoutonGauche()\n// le clic dans la ZML exécutera le code de clic de ce bouton\n// A Faire : Ajoutez le code sur le clic de ce bouton\n// Info(\"clic sur \"+MoiMême..Nom)\n{\nsuper.clicSurBoutonGauche();\n\n// ouvre(profil,id)\nWDAPIFenetre.ouvre(GWDPGruppeto.getInstance().mWD_Profil,new WDObjet[] {vWD_id} );\n\n}",
"title": ""
},
{
"docid": "b2f4155ef34fe1250c650144b837002b",
"score": "0.59649193",
"text": "public static void main(String args[]) {\nGestionPrincipal t=new GestionPrincipal();\r\n\r\nSorteo o= new Sorteo(\"3\",\"3\", 0,3, new Date(27/8/19));\r\n//Sorteo o2= new Sorteo(\"32\",\"3\", 0,3);\r\n//Sorteo o3= new Sorteo(\"37\",\"3\", 0,3);\r\n\r\nt.crearSorteo(o);\r\n//t.crearSorteo(o2);\r\n//t.crearSorteo(o3);\r\n//t.eliminarSorteo(0);\r\n\r\nt.modificarSorteo(0, \"Hola\", \"452s\", 1, 12, new Date(11/1/19));\r\nListaDoble r=t.devolver();\r\nr.gotopos(0);\r\nSorteo p=(Sorteo) r.getElemento();\r\n\r\nSystem.out.println(p.getTipoSorteo());\r\n}",
"title": ""
},
{
"docid": "f05f5693c840a1279f1ed90dffd0a6e4",
"score": "0.59479326",
"text": "private void aumentarFome() {\n setNivelComida(getNivelComida() - 1);\n if (getNivelComida() <= 0) {\n matar();\n }\n }",
"title": ""
},
{
"docid": "3224f99319b09f5b108562dab63de9aa",
"score": "0.59466934",
"text": "private void creaCitta() {\n /* variabili e costanti locali di lavoro */\n boolean continua;\n ArrayList<String> nazioni;\n ArrayList<DieciStringhe> lista;\n String paese;\n String tag = \"-\";\n int codNaz;\n\n try { // prova ad eseguire il codice\n// nazioni = this.getNazioni();\n nazioni = null;\n\n continua = (nazioni != null && nazioni.size() > 0);\n\n /* recupera la lista delle province in ordine alfabetico di codice */\n if (continua) {\n for (String naz : nazioni) {\n /* recupera il nome del paese dal nome del file\n * (che può contenere i nomi delle regioni od altro) */\n paese = naz;\n if (naz.contains(tag)) {\n paese = Lib.Testo.primaPrima(paese, tag);\n }// fine del blocco if\n\n /* crea una mappa sigla/record delle province */\n this.creaMappaProvince(paese);\n\n /* recupera il codice nazione,\n * che è lo stesso per tutte le città di questo ciclo */\n codNaz = this.getCodNaz(paese);\n\n /* lista delle città */\n lista = getListaCitta(naz);\n\n if (lista != null) {\n for (DieciStringhe citta : lista) {\n this.creaCitta(citta, codNaz);\n } // fine del ciclo for-each\n }// fine del blocco if\n\n } // fine del ciclo for-each\n }// fine del blocco if\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }",
"title": ""
},
{
"docid": "3d9337cb016b86fa68ddbeade6d17f13",
"score": "0.59416723",
"text": "private void ecrireCreneauUtilise() {\n\n CoordonneesCelulle partieStatique = new CoordonneesCelulle(\"C\", 7);\n utilitaireCellule.ecrireChaine(partieStatique, \"Crenaux Utilises\", new StyleCellule());\n String formule;\n\n ArrayList<Periode> maListe = maquetteComplete.getPlanning().getPeriodeListe();\n\n CoordonneesCelulle coinSuperieur = new CoordonneesCelulle(\"J\", 7);\n CoordonneesCelulle coinInferieur = new CoordonneesCelulle(coinSuperieur.getX() + PAS, coinSuperieur.getY() + 1);\n CoordonneesCelulle curseurFormule = new CoordonneesCelulle(\"J\", 10);\n\n for (Periode actuelle : maListe) {\n if (!actuelle.getVacance()) {\n formule = \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)+\";\n curseurFormule.setX(curseurFormule.getX() + 2);\n formule += \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)+\";\n curseurFormule.setX(curseurFormule.getX() + 2);\n formule += \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)\";\n utilitairePlageCellule.ecrireFormuleDonnantNombre(coinSuperieur, coinInferieur, formule, new StyleCellule());\n curseurFormule.setX(curseurFormule.getX() + 2);\n } else {\n curseurFormule.setX(curseurFormule.getX() + PAS+1);\n }\n coinSuperieur.setX(coinInferieur.getX() + 2);\n coinInferieur.setX(coinSuperieur.getX() + PAS);\n\n for (int jcpt = 0; jcpt < actuelle.getNombreSemaineScolaire() - 1; jcpt++) {\n if (!actuelle.getVacance()) {\n formule = \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)+\";\n curseurFormule.setX(curseurFormule.getX() + 2);\n formule += \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)+\";\n curseurFormule.setX(curseurFormule.getX() + 2);\n formule += \"ROUNDUP(\" + curseurFormule.getxEnChaine() + \"\" + (curseurFormule.getY() + 1) + \"/\" + maquetteComplete.getDureCreneau() + \",0)\";\n curseurFormule.setX(curseurFormule.getX() + 2);\n utilitairePlageCellule.ecrireFormuleDonnantNombre(coinSuperieur, coinInferieur, formule, new StyleCellule());\n } else {\n curseurFormule.setX(curseurFormule.getX() + PAS+1);\n }\n coinSuperieur.setX(coinInferieur.getX() + 2);\n coinInferieur.setX(coinSuperieur.getX() + PAS);\n\n }\n\n }\n }",
"title": ""
},
{
"docid": "9fd2fae2c9deb4827154f00480492024",
"score": "0.59335184",
"text": "public AbastecimentoFacade() {\r\n this.frota = RobotDAO.getInstance();\r\n this.corredores = CorredorDAO.getInstance();\r\n this.mapa = new Mapa(13);\r\n\r\n //robot desloca-se para a rececao\r\n this.mapa.addVertice(11,0);\r\n // desloca-se pelo corredor 1 com destino 12\r\n this.mapa.addVertice(0,1);\r\n this.mapa.addVertice(1,2);\r\n this.mapa.addVertice(2,4);\r\n this.mapa.addVertice(4,6);\r\n this.mapa.addVertice(6,8);\r\n this.mapa.addVertice(8,12);\r\n //desloca-se pelo corredor 2 com destino 12\r\n this.mapa.addVertice(0,11);\r\n this.mapa.addVertice(11,3);\r\n this.mapa.addVertice(3,5);\r\n this.mapa.addVertice(5,7);\r\n this.mapa.addVertice(7,9);\r\n this.mapa.addVertice(9,10);\r\n this.mapa.addVertice(10,12);\r\n }",
"title": ""
},
{
"docid": "4a52d01bfa92cfc0add5ef5f390ac355",
"score": "0.5924581",
"text": "public static void combatTournoi() {\n\t\tSystem.out.println(\"Saisissez le nombre de monstres à attaquer\");\n\t\tint nbMonstres = sc.nextInt();\n\t\tGroupe groupeMonstres = creationGroupeMonstre(nbMonstres);\n\t\tSystem.out.println(\"Saisissez le nombre de héros\");\n\t\tint nbPersos = sc.nextInt();\n\t\tsc.nextLine();\n\t\tGroupe groupePersos = creationGroupePersonnage(nbPersos);\n\t\t\n\t\twhile(!groupeMonstres.estMort() && !groupePersos.estMort()) {\n\t\t\tPersonnage p = (Personnage) groupePersos.attaquer();\n\t\t\tMonstre m = (Monstre) groupeMonstres.attaquer();\n\t\t\tif (p.estVivant() && m.estVivant()) {\n\t\t\t\tSystem.out.println(\"\\n\" + p.getNom() + \" vs \" + m.getNom() + \"\\n\");\n\t\t\t\tcombat(p, m);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Vainqueur: \" + (groupeMonstres.estMort() ? \"Groupe de Héros\" : \"Groupe de monstres\"));\n\t\tsc.nextLine();\n\t\tgenese();\n\t}",
"title": ""
},
{
"docid": "b736456a35247e2f7656922b98d53217",
"score": "0.592421",
"text": "public void aggiornaVoce (String nome, String cognome, String telefono, int id_voce) {\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "81687b385703bb7c78798858055e07dd",
"score": "0.59240407",
"text": "public Ristorante(){\n menu = new ArrayList<Piatto>();\n ordin = new ArrayList<Ordine>();\n }",
"title": ""
},
{
"docid": "ea1d5d7740863ea298a147eb7495f46d",
"score": "0.5922441",
"text": "public ListaDoble insertarCabezaLista(int entrada)\r\n {\r\n Nodo nuevo;\r\n nuevo = new Nodo(entrada);\r\n nuevo.adelante = cabeza;\r\n \r\n if(cabeza != null)\r\n {\r\n cabeza.atras = nuevo;\r\n }//Fin del if.\r\n \r\n cabeza= nuevo;\r\n \r\n return this;\r\n }",
"title": ""
},
{
"docid": "867feddbfabb2c11ae46db1ceb64599e",
"score": "0.5915524",
"text": "public void generarIndividuo() {\n for (int i = 0; i < tamanno(); i++) {\n byte gen = (byte) Math.round(Math.random());\n genes[i] = gen;\n }\n\n for (int i = 0; i < tamanno(); i++) {\n int horaInicio = (int) Math.floor(Math.random()*24);\n int horaFinal = (int) Math.floor(Math.random()*24);\n Actividad cro = new Actividad(\"Concierto \"+i,horaInicio,horaFinal,horaFinal-horaInicio,genes);\n cronograma[i] = cro;\n }\n }",
"title": ""
},
{
"docid": "5810941060b725a3641fb24cd45fbd7b",
"score": "0.5912799",
"text": "private void popolaContenitore(db.RisultatoConfronto risultatoConfronto)\n {\n \n this.setAlternativa(risultatoConfronto.getIdAlternativa());\n db.AlternativeS alt = risultatoConfronto.getIdAlternativa(); \n \n //imposto le stringhe che descrivono il tipo di refluo nella pagina piano_distribuzione.xhtml\n this.setTipoLetame(alt.getIdTipoFormaRefluoPalabile().getDescrizione());\n this.setTipoLiquame(alt.getIdTipoFormaRefluoLiquido().getDescrizione());\n \n \n this.associaEtichette(alternativa);\n Refluo refluo = null;\n if(alt.getId() == 0 || alt.getId() == 1 || alt.getId() == 4 || alt.getId() == 5 || alt.getId() == 12 || alt.getId() == 13 || alt.getId() == 15)\n { \n //refluo da allevamento \n \n /*********************************************************\n * \n * LIQUAME\n * \n * *************************************************************/\n \n refluo = new Refluo(\"Liquame Bovino\");\n refluo.setMetricubi(risultatoConfronto.getM3LBov() + risultatoConfronto.getM3LAlt() + risultatoConfronto.getM3LBio());\n refluo.setAzotototale(risultatoConfronto.getTknLBov() + risultatoConfronto.getTknLAlt() + risultatoConfronto.getTknLBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLBov() + risultatoConfronto.getTanLAlt() + risultatoConfronto.getTanLBio());\n refluo.setFosforototale(risultatoConfronto.getKLBov() + risultatoConfronto.getKLAlt() + risultatoConfronto.getKLBio());\n refluo.setPotassiototale(risultatoConfronto.getPLBov() + risultatoConfronto.getPLAlt() + risultatoConfronto.getPLBio() );\n refluo.setSolidivolatili(risultatoConfronto.getVsLBov() + risultatoConfronto.getVsLAlt() + risultatoConfronto.getVsLBio() );\n refluo.setSostanzasecca(risultatoConfronto.getDmLBov() + risultatoConfronto.getDmLAlt() + risultatoConfronto.getDmLBio());\n \n this.contenitoreReflui.setTipologia(\"Liquame Bovino\", refluo);\n \n refluo = new Refluo(\"Liquame Suino\");\n refluo.setMetricubi(risultatoConfronto.getM3LSui());\n refluo.setAzotototale(risultatoConfronto.getTknLSui());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLSui());\n refluo.setFosforototale(risultatoConfronto.getKLSui());\n refluo.setPotassiototale(risultatoConfronto.getPLSui());\n refluo.setSolidivolatili(risultatoConfronto.getVsLSui());\n refluo.setSostanzasecca(risultatoConfronto.getDmLSui());\n \n this.contenitoreReflui.setTipologia(\"Liquame Suino\", refluo);\n \n refluo = new Refluo(\"Liquame Avicolo\");\n refluo.setMetricubi(risultatoConfronto.getM3LAvi());\n refluo.setAzotototale(risultatoConfronto.getTknLAvi());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLAvi());\n refluo.setFosforototale(risultatoConfronto.getKLAvi());\n refluo.setPotassiototale(risultatoConfronto.getPLAvi());\n refluo.setSolidivolatili(risultatoConfronto.getVsLAvi());\n refluo.setSostanzasecca(risultatoConfronto.getDmLAvi());\n \n this.contenitoreReflui.setTipologia(\"Liquame Avicolo\", refluo);\n \n \n /*refluo = new Refluo(\"Liquame Altro\");\n refluo.setMetricubi(risultatoConfronto.getM3LAlt());\n refluo.setAzotototale(risultatoConfronto.getTknLAlt());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLAlt());\n refluo.setFosforototale(risultatoConfronto.getKLAlt());\n refluo.setPotassiototale(risultatoConfronto.getPLAlt());\n refluo.setSolidivolatili(risultatoConfronto.getVsLAlt());\n refluo.setSostanzasecca(risultatoConfronto.getDmLAlt());\n \n this.contenitoreReflui.setTipologia(\"Liquame Altro\", refluo);\n \n \n refluo = new Refluo(\"Liquame Biomassa\");\n refluo.setMetricubi(risultatoConfronto.getM3LBio());\n refluo.setAzotototale(risultatoConfronto.getTknLBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLBio());\n refluo.setFosforototale(risultatoConfronto.getKLBio());\n refluo.setPotassiototale(risultatoConfronto.getPLBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsLBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmLBio());\n \n this.contenitoreReflui.setTipologia(\"Liquame Biomassa\", refluo);*/\n \n /****************************************************************\n * \n * PALABILE\n * \n * ****************************************************************/\n \n refluo = new Refluo(\"Letame Bovino\");\n refluo.setMetricubi(risultatoConfronto.getM3PBov() + risultatoConfronto.getM3PAlt() + risultatoConfronto.getM3PBio());\n refluo.setAzotototale(risultatoConfronto.getTknPBov() + risultatoConfronto.getTknPAlt() + risultatoConfronto.getTknPBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPBov() + risultatoConfronto.getTanPAlt() + risultatoConfronto.getTanPBio());\n refluo.setFosforototale(risultatoConfronto.getKPBov() + risultatoConfronto.getKPAlt() + risultatoConfronto.getKPBio());\n refluo.setPotassiototale(risultatoConfronto.getPPBov() + risultatoConfronto.getPPAlt() + risultatoConfronto.getPPBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsPBov()+ risultatoConfronto.getVsPAlt() + risultatoConfronto.getVsPBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmPBov() + risultatoConfronto.getDmPAlt() + risultatoConfronto.getDmPBio());\n \n this.contenitoreReflui.setTipologia(\"Letame Bovino\", refluo);\n \n refluo = new Refluo(\"Letame Suino\");\n refluo.setMetricubi(risultatoConfronto.getM3PSui());\n refluo.setAzotototale(risultatoConfronto.getTknPSui());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPSui());\n refluo.setFosforototale(risultatoConfronto.getKPSui());\n refluo.setPotassiototale(risultatoConfronto.getPPSui());\n refluo.setSolidivolatili(risultatoConfronto.getVsPSui());\n refluo.setSostanzasecca(risultatoConfronto.getDmPSui());\n \n this.contenitoreReflui.setTipologia(\"Letame Suino\", refluo);\n \n refluo = new Refluo(\"Letame Avicolo\");\n refluo.setMetricubi(risultatoConfronto.getM3PAvi());\n refluo.setAzotototale(risultatoConfronto.getTknPAvi());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPAvi());\n refluo.setFosforototale(risultatoConfronto.getKPAvi());\n refluo.setPotassiototale(risultatoConfronto.getPPAvi());\n refluo.setSolidivolatili(risultatoConfronto.getVsPAvi());\n refluo.setSostanzasecca(risultatoConfronto.getDmPAvi());\n \n this.contenitoreReflui.setTipologia(\"Letame Avicolo\", refluo);\n \n \n /*refluo = new Refluo(\"Letame Altro\");\n refluo.setMetricubi(risultatoConfronto.getM3PAlt());\n refluo.setAzotototale(risultatoConfronto.getTknPAlt());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPAlt());\n refluo.setFosforototale(risultatoConfronto.getKPAlt());\n refluo.setPotassiototale(risultatoConfronto.getPPAlt());\n refluo.setSolidivolatili(risultatoConfronto.getVsPAlt());\n refluo.setSostanzasecca(risultatoConfronto.getDmPAlt());\n \n this.contenitoreReflui.setTipologia(\"Letame Altro\", refluo);\n \n \n refluo = new Refluo(\"Letame Biomassa\");\n refluo.setMetricubi(risultatoConfronto.getM3PBio());\n refluo.setAzotototale(risultatoConfronto.getTknPBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPBio());\n refluo.setFosforototale(risultatoConfronto.getKPBio());\n refluo.setPotassiototale(risultatoConfronto.getPPBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsPBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmPBio());\n \n this.contenitoreReflui.setTipologia(\"Letame Biomassa\", refluo);*/\n }\n \n \n if(alt.getId() == 2 || alt.getId() == 8 || alt.getId() == 11 || alt.getId() == 14)\n {\n //refluo da digestato non chiarificato \n //tipi disponibili\n //\"Liquame Digestato da Bovino\" ,\"Liquame Digestato da Suino\" ,\"Liquame Digestato da Avicolo\" ,\"Liquame Digestato da Biomasse\" ,\"Letame Digestato da Bovino\" ,\"Letame Digestato da Suino\" ,\"Letame Digestato da Avicolo\" ,\"Letame Digestato da Biomasse\" \n \n /*********************************************************\n * \n * LIQUAME\n * \n * *************************************************************/\n \n refluo = new Refluo(\"Liquame Digestato da Bovino\");\n refluo.setMetricubi(risultatoConfronto.getM3LBov() + risultatoConfronto.getM3LAlt() );\n refluo.setAzotototale(risultatoConfronto.getTknLBov() + risultatoConfronto.getTknLAlt() );\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLBov() + risultatoConfronto.getTanLAlt() );\n refluo.setFosforototale(risultatoConfronto.getKLBov() + risultatoConfronto.getKLAlt() );\n refluo.setPotassiototale(risultatoConfronto.getPLBov() + risultatoConfronto.getPLAlt() );\n refluo.setSolidivolatili(risultatoConfronto.getVsLBov() + risultatoConfronto.getVsLAlt() );\n refluo.setSostanzasecca(risultatoConfronto.getDmLBov() + risultatoConfronto.getDmLAlt() );\n \n this.contenitoreReflui.setTipologia(\"Liquame Digestato da Bovino\", refluo);\n \n refluo = new Refluo(\"Liquame Digestato da Suino\");\n refluo.setMetricubi(risultatoConfronto.getM3LSui());\n refluo.setAzotototale(risultatoConfronto.getTknLSui());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLSui());\n refluo.setFosforototale(risultatoConfronto.getKLSui());\n refluo.setPotassiototale(risultatoConfronto.getPLSui());\n refluo.setSolidivolatili(risultatoConfronto.getVsLSui());\n refluo.setSostanzasecca(risultatoConfronto.getDmLSui());\n \n this.contenitoreReflui.setTipologia(\"Liquame Digestato da Suino\", refluo);\n \n refluo = new Refluo(\"Liquame Digestato da Avicolo\");\n refluo.setMetricubi(risultatoConfronto.getM3LAvi());\n refluo.setAzotototale(risultatoConfronto.getTknLAvi());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLAvi());\n refluo.setFosforototale(risultatoConfronto.getKLAvi());\n refluo.setPotassiototale(risultatoConfronto.getPLAvi());\n refluo.setSolidivolatili(risultatoConfronto.getVsLAvi());\n refluo.setSostanzasecca(risultatoConfronto.getDmLAvi());\n \n this.contenitoreReflui.setTipologia(\"Liquame Digestato da Avicolo\", refluo);\n \n \n refluo = new Refluo(\"Liquame Digestato da Biomasse\");\n refluo.setMetricubi(risultatoConfronto.getM3LBio());\n refluo.setAzotototale(risultatoConfronto.getTknLBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLBio());\n refluo.setFosforototale(risultatoConfronto.getKLBio());\n refluo.setPotassiototale(risultatoConfronto.getPLBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsLBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmLBio());\n \n this.contenitoreReflui.setTipologia(\"Liquame Digestato da Biomasse\", refluo);\n \n /****************************************************************\n * \n * PALABILE\n * \n * ****************************************************************/\n \n refluo = new Refluo(\"Letame Digestato da Bovino\");\n refluo.setMetricubi(risultatoConfronto.getM3PBov() + risultatoConfronto.getM3PAlt() );\n refluo.setAzotototale(risultatoConfronto.getTknPBov() + risultatoConfronto.getTknPAlt() );\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPBov() + risultatoConfronto.getTanPAlt() );\n refluo.setFosforototale(risultatoConfronto.getKPBov() + risultatoConfronto.getKPAlt() );\n refluo.setPotassiototale(risultatoConfronto.getPPBov() + risultatoConfronto.getPPAlt() );\n refluo.setSolidivolatili(risultatoConfronto.getVsPBov()+ risultatoConfronto.getVsPAlt() );\n refluo.setSostanzasecca(risultatoConfronto.getDmPBov() + risultatoConfronto.getDmPAlt() );\n \n this.contenitoreReflui.setTipologia(\"Letame Digestato da Bovino\", refluo);\n \n refluo = new Refluo(\"Letame Digestato da Suino\");\n refluo.setMetricubi(risultatoConfronto.getM3PSui());\n refluo.setAzotototale(risultatoConfronto.getTknPSui());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPSui());\n refluo.setFosforototale(risultatoConfronto.getKPSui());\n refluo.setPotassiototale(risultatoConfronto.getPPSui());\n refluo.setSolidivolatili(risultatoConfronto.getVsPSui());\n refluo.setSostanzasecca(risultatoConfronto.getDmPSui());\n \n this.contenitoreReflui.setTipologia(\"Letame Digestato da Suino\", refluo);\n \n refluo = new Refluo(\"Letame Digestato da Avicolo\");\n refluo.setMetricubi(risultatoConfronto.getM3PAvi());\n refluo.setAzotototale(risultatoConfronto.getTknPAvi());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPAvi());\n refluo.setFosforototale(risultatoConfronto.getKPAvi());\n refluo.setPotassiototale(risultatoConfronto.getPPAvi());\n refluo.setSolidivolatili(risultatoConfronto.getVsPAvi());\n refluo.setSostanzasecca(risultatoConfronto.getDmPAvi());\n \n this.contenitoreReflui.setTipologia(\"Letame Digestato da Avicolo\", refluo);\n \n \n refluo = new Refluo(\"Letame Digestato da Biomasse\");\n refluo.setMetricubi(risultatoConfronto.getM3PBio());\n refluo.setAzotototale(risultatoConfronto.getTknPBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPBio());\n refluo.setFosforototale(risultatoConfronto.getKPBio());\n refluo.setPotassiototale(risultatoConfronto.getPPBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsPBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmPBio());\n \n this.contenitoreReflui.setTipologia(\"Letame Digestato da Biomasse\", refluo);\n \n \n }\n \n if(alt.getId() == 3 || alt.getId() == 6 || alt.getId() == 7 || alt.getId() == 9 || alt.getId() == 10 || alt.getId() == 16 )\n { \n //refluo da digestato chiarificato \n //tipi disponibili\n //\"Digestato frazione chiarificata\",\"Letame\" \n \n /********************************************************\n * \n * DIGESTATO FRAZIONE CHIARIFICATA\n * \n * ******************************************************/\n refluo = new Refluo(\"Digestato frazione chiarificata\");\n refluo.setMetricubi(risultatoConfronto.getM3LBov() +risultatoConfronto.getM3LSui() +risultatoConfronto.getM3LAvi() + risultatoConfronto.getM3LAlt() + risultatoConfronto.getM3LBio());\n refluo.setAzotototale(risultatoConfronto.getTknLBov() +risultatoConfronto.getTknLSui() +risultatoConfronto.getTknLAvi() + risultatoConfronto.getTknLAlt() + risultatoConfronto.getTknLBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanLBov() +risultatoConfronto.getTanLSui() +risultatoConfronto.getTanLAvi() + risultatoConfronto.getTanLAlt() + risultatoConfronto.getTanLBio());\n refluo.setFosforototale(risultatoConfronto.getKLBov() +risultatoConfronto.getKLSui() +risultatoConfronto.getKLAvi() + risultatoConfronto.getKLAlt() + risultatoConfronto.getKLBio());\n refluo.setPotassiototale(risultatoConfronto.getPLBov() +risultatoConfronto.getPLSui() +risultatoConfronto.getPLAvi() + risultatoConfronto.getPLAlt() + risultatoConfronto.getPLBio() );\n refluo.setSolidivolatili(risultatoConfronto.getVsLBov() +risultatoConfronto.getVsLSui() +risultatoConfronto.getVsLAvi() + risultatoConfronto.getVsLAlt() + risultatoConfronto.getVsLBio() );\n refluo.setSostanzasecca(risultatoConfronto.getDmLBov() +risultatoConfronto.getDmLSui() +risultatoConfronto.getDmLAvi() + risultatoConfronto.getDmLAlt() + risultatoConfronto.getDmLBio());\n \n this.contenitoreReflui.setTipologia(\"Digestato frazione chiarificata\", refluo); \n \n \n /********************************************************\n * \n * LETAME\n * \n * ******************************************************/ \n refluo = new Refluo(\"Letame\");\n refluo.setMetricubi(risultatoConfronto.getM3PBov() +risultatoConfronto.getM3PSui() +risultatoConfronto.getM3PAvi() + risultatoConfronto.getM3PAlt() + risultatoConfronto.getM3PBio());\n refluo.setAzotototale(risultatoConfronto.getTknPBov() +risultatoConfronto.getTknPSui() +risultatoConfronto.getTknPAvi() + risultatoConfronto.getTknPAlt() + risultatoConfronto.getTknPBio());\n refluo.setAzotoammoniacale(risultatoConfronto.getTanPBov() +risultatoConfronto.getTanPSui() +risultatoConfronto.getTanPAvi() + risultatoConfronto.getTanPAlt() + risultatoConfronto.getTanPBio());\n refluo.setFosforototale(risultatoConfronto.getKPBov() +risultatoConfronto.getKPSui() +risultatoConfronto.getKPAvi() + risultatoConfronto.getKPAlt() + risultatoConfronto.getKPBio());\n refluo.setPotassiototale(risultatoConfronto.getPPBov() +risultatoConfronto.getPPSui() +risultatoConfronto.getPPAvi() + risultatoConfronto.getPPAlt() + risultatoConfronto.getPPBio());\n refluo.setSolidivolatili(risultatoConfronto.getVsPBov()+risultatoConfronto.getVsPSui()+risultatoConfronto.getVsPAvi()+ risultatoConfronto.getVsPAlt() + risultatoConfronto.getVsPBio());\n refluo.setSostanzasecca(risultatoConfronto.getDmPBov() +risultatoConfronto.getDmPSui() +risultatoConfronto.getDmPAvi() + risultatoConfronto.getDmPAlt() + risultatoConfronto.getDmPBio());\n \n this.contenitoreReflui.setTipologia(\"Letame\", refluo); \n }\n \n }",
"title": ""
},
{
"docid": "1656e0aeaa4140330e04893c65626643",
"score": "0.59121877",
"text": "public void compruebaObjetivo() {\n Actor p;\n \n p = getOneIntersectingObject(Megaman.class);\n if(p!=null) {\n ((Megaman)p).aumentaDano();\n hit = true;\n }\n }",
"title": ""
},
{
"docid": "d39e10f680ddb75d5b27667c4ffff001",
"score": "0.5907774",
"text": "private AggiornaSoggetto creaRequestPerAggiornamento() {\n\t\tStatoOperativoAnagrafica statoOperativo = null;\n\t\t\n\t\t//deduco in tipoOperazione il cambiamento di stato voglio andare a richiedere:\n\t\tif (tipoOperazione != null) {\n\t\t\t\n\t\t\tif (tipoOperazione.equals(TipoOperazioneEnum.ANNULLA)) {\n\t\t\t\t//ANNULLA\n\t\t\t\tstatoOperativo = StatoOperativoAnagrafica.ANNULLATO;\n\t\t\t\t\n\t\t\t} else if (tipoOperazione.equals(TipoOperazioneEnum.BLOCCA)) {\n\t\t\t\t//BLOCCA\n\t\t\t\tstatoOperativo = StatoOperativoAnagrafica.BLOCCATO;\n\t\t\t\t\n\t\t\t} else if (tipoOperazione.equals(TipoOperazioneEnum.SOSPENDI)) {\n\t\t\t\t//SOSPENDI\n\t\t\t\tstatoOperativo = StatoOperativoAnagrafica.SOSPESO;\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t//RESTA VALIDO\n\t\t\t\tstatoOperativo = StatoOperativoAnagrafica.VALIDO;\n\t\t\t}\n\t\t} else {\n\t\t\t//RESTA VALIDO\n\t\t\tstatoOperativo = StatoOperativoAnagrafica.VALIDO;\n\t\t}\n\t\t\n\t\t//istanzio la request:\n\t\tAggiornaSoggetto soggetto = new AggiornaSoggetto();\n\t\t\n\t\t//setto i dati nella request:\n\t\tsoggetto.setEnte(sessionHandler.getEnte());\n\t\tsoggetto.setRichiedente(sessionHandler.getRichiedente());\n\t\tsoggetto.setSoggetto(new Soggetto());\n\t\tsoggetto.getSoggetto().setStatoOperativo(statoOperativo);\n\t\tsoggetto.getSoggetto().setCodiceSoggetto(codiceSoggetto);\n\t\tsoggetto.getSoggetto().setUid(idSoggetto);\n\t\tsoggetto.getSoggetto().setControlloSuSoggetto(false);\n\t\tsoggetto.getSoggetto().setNotaStatoOperativo(model.getDettaglioSoggetto().getNotaStatoOperativo());\n\t\t\n\t\t//ritorno la request al chiamante:\n\t\treturn soggetto;\n\t}",
"title": ""
},
{
"docid": "1e2a9e98583d19354882c957c6a34515",
"score": "0.5904953",
"text": "public void clicSurBoutonGauche()\n// le clic dans la ZML exécutera le code de clic de ce bouton\n// A Faire : Ajoutez le code sur le clic de ce bouton\n// Info(\"clic sur \"+MoiMême..Nom)\n{\nsuper.clicSurBoutonGauche();\n\n// ouvre(Menu_Modo,id)\nWDAPIFenetre.ouvre(GWDPGruppeto.getInstance().mWD_Menu_Modo,new WDObjet[] {vWD_id} );\n\n}",
"title": ""
},
{
"docid": "e79ebac5e375999fd53ab7815f498799",
"score": "0.5903748",
"text": "public Azotea()\n {\n super(); \n Mesita m1;\n Sillita s1,s2;\n \n m1 = new Mesita();\n s1 = new Sillita();\n s2 = new Sillita();\n \n addObject(m1,229,404);\n addObject(s1,460,375);\n addObject(s2,359,419);\n addObject(new FTanque(), 300, 316);\n addObject(new FMad(), 700, 316);\n addObject(new FWong(), 782, 316);\n }",
"title": ""
},
{
"docid": "2c61ed93c2e8a4e918b773dc3a2e7966",
"score": "0.58990514",
"text": "private void traiteCreerRegle() {\n\r\n\t}",
"title": ""
},
{
"docid": "f86fb38a93691fe6f64997bda294c351",
"score": "0.58974165",
"text": "public void generarAdjuntoCorreo(){}",
"title": ""
},
{
"docid": "a5bc311bb3c92149b0605ae4ab03e44e",
"score": "0.5892801",
"text": "public void crearLugarTurno() {\n\t\ttry {\n\t\t\tif (managergest.lugar_TurnoByID(lug_id) == 0) {\n\t\t\t\tmanagergest.insertarTurnoLugar(lugturn_id,numeroGuardias);\n\t\t\t\tlug_idTurno = -1;\n\t\t\t\tnumeroGuardias = \"0\";\n\t\t\t\tgetListaLugarTurno().clear();\n\t\t\t\tgetListaLugarTurno()\n\t\t\t\t\t\t.addAll(managergest.LugarTurnoById1(lug_id));\n\t\t\t\tMensaje.crearMensajeINFO(\"Turno creado\");\n\t\t\t} else {\n\t\t\t\tMensaje.crearMensajeWARN(\"Yá se encuentra el turno creado\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "c65aec28c66eae74b38759ee41977b4c",
"score": "0.5889992",
"text": "private void definirMaisAcessadas() {\n Collections.sort(maisAcessadas, new Comparator<Janelas>() {\n @Override\n public int compare(Janelas j1, Janelas j2) {\n return j1.getAcesso() - j2.getAcesso(); // Ascending\n }\n\n });\n\n Collections.reverse(maisAcessadas);\n System.out.println(\"Ordenação\");\n for (Janelas j : maisAcessadas) {\n System.out.println(j.getNome() + \" \" + j.getAcesso());\n }\n }",
"title": ""
},
{
"docid": "10510726263a464dad6a33d97cc8381d",
"score": "0.58819836",
"text": "public void visualizzaOrdinazioni() {\n\t\tfor (Entry<LocalTime, Ordinazione> entry : ordinazioni.entrySet()) { //entrySet() restituisce una collezione iterabile di tutti gli oggetti contenuti nel TreeMap\n\t\t\tvisualizzaOrdine(entry.getValue());\n\t\t}\n\t}",
"title": ""
},
{
"docid": "a8481487b2b43097dfdcadd80a3e6444",
"score": "0.5870532",
"text": "void criarIndiceMapeamentoDefeito();",
"title": ""
},
{
"docid": "e8d2a6e86758ee2610dcbc7ab25c3fd3",
"score": "0.5862225",
"text": "public void visualizzaCarteInMano(){\n //qua non so come avevi pensato di fare. Vuoi ogni volta tutta la lista delle carte in mano di uno dei due giocatori (facciamo due metodi, uno per ogni giocatore) o vuoi solo\n //la nuova carta aggiunta in mano?\n }",
"title": ""
},
{
"docid": "d78f7688dd7b6cd127160ab6861e202c",
"score": "0.58539975",
"text": "public void clicSurBoutonGauche()\n// le clic dans la ZML exécutera le code de clic de ce bouton\n// A Faire : Ajoutez le code sur le clic de ce bouton\n// Info(\"clic sur \"+MoiMême..Nom)\n{\nsuper.clicSurBoutonGauche();\n\n// ouvre(Liste_Event,id)\nWDAPIFenetre.ouvre(GWDPGruppeto.getInstance().mWD_Liste_Event,new WDObjet[] {vWD_id} );\n\n}",
"title": ""
},
{
"docid": "aa5f4cd9fcd1920f40918b8d9da4f403",
"score": "0.5848967",
"text": "private void generarArmadura() {\r\n\t\tthis.armadura = azar(0, 5);\r\n\t}",
"title": ""
},
{
"docid": "9898c0035d697b0a0aaceca9d2778649",
"score": "0.5844157",
"text": "private void almacenaCuerpoA() {\n linea=\"|***|\";\n for (int i=0; i<tablaOriginal.size(); i++)\n linea+=(i!=tablaOriginal.size()-1) ? (Matematicas.conversionHexa(tablaOriginal.get(i).getPosicionCaracter(tablaOriginal.get(i).getCaracter()))+\"|\") : \n (Matematicas.conversionHexa(tablaOriginal.get(i).getPosicionCaracter(tablaOriginal.get(i).getCaracter())));\n informacion.add(linea);\n }",
"title": ""
},
{
"docid": "b2bcf14471fe624a160bf2c84f13a101",
"score": "0.5833542",
"text": "private Vista creaVista() {\n /* variabili e costanti locali di lavoro */\n Vista vista = null;\n ArrayList<Campo> campiAggiuntivi;\n\n try { // prova ad eseguire il codice\n\n /* crea la vista col campo principale di selezione */\n vista = new Vista(this.getModulo());\n vista.addCampo(getCampoDB().getCampoValoriLinkato());\n\n /* aggiunge alla vista i campi aggiuntivi */\n campiAggiuntivi = getCampoVideo().getCampiAggiuntivi();\n for (Campo campo : campiAggiuntivi) {\n vista.addCampo(campo);\n }\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n /* valore di ritorno */\n return vista;\n }",
"title": ""
},
{
"docid": "360b20285e172453edc73a0b54a78086",
"score": "0.5831585",
"text": "public void lecturaGramatica(Element tabla){\n Element gramatica = (Element) tabla.getChild(\"traductor\");\n tipoTraductor=gramatica.getChildText(\"tipo\");\n List reglas = gramatica.getChildren(\"regla\");\n for(int j=0; j<reglas.size(); j++){\n Element regla = (Element) reglas.get(j);\n String id =regla.getAttributeValue(\"id\");\n List<Element> acciones = regla.getChildren(\"accionSemantica\");\n //creamos el objecto accion semántica para cada regla y la almacenamos en una lista\n List<AccionSemantica> listaAcciones = new ArrayList<>(); \n for(int k=0; k< acciones.size();k++){\n AccionSemantica objAcc= new AccionSemantica(); \n Element accSem=(Element)acciones.get(k);\n String posAcc=accSem.getAttributeValue(\"pos\");\n System.out.println(\"pos de la accion \"+ posAcc);\n objAcc.setPos(Integer.parseInt(posAcc));\n String valorAccion= accSem.getText().replaceAll(\"\\n\", \"\").replaceAll(\" \",\"\");//elimino saltos de linea y espacios\n System.out.println(\"Valor de la accion \" + valorAccion);\n objAcc.setValor(valorAccion);\n //Comprobacion de si el nodo es intermedio\n Object interm=acciones.get(k).getChild(\"intermedio\");\n if(interm==null)\n objAcc.setFin(true);\n else\n objAcc.setFin(false);\n \n \n listaAcciones.add(objAcc);\n }\n \n \n List simbolos = regla.getChildren(\"simbolo\");\n Regla listaRegla = new Regla();//añadimos los simbolos al objeto Regla \n listaRegla.setAcciones(listaAcciones);//añadimos las acciones semánticas a la regla\n listaRegla.setId(id);\n listaGramatica.add(listaRegla);\n for(int i=0; i<simbolos.size(); i++){ \n Element simbolo= (Element) simbolos.get(i);\n String valor = simbolo.getChildTextTrim(\"valor\");\n boolean terminal=Boolean.parseBoolean(simbolo.getChildText(\"terminal\"));\n Simbolo s = new Simbolo(valor,terminal); \n listaRegla.aniadir(s);\n System.out.print(s +\" \");\n }\n System.out.println(\"siguiente regla\"); \n \n } \n }",
"title": ""
},
{
"docid": "f03a194f321c3f9f2cb29f327e0cd74f",
"score": "0.5819823",
"text": "public Azione clonaAzione() {\n /* variabili e costanti locali di lavoro */\n Azione unAzione = null;\n\n try { // prova ad eseguire il codice\n /* esegue la clonazione standard (col casting)*/\n unAzione = (Azione)this.clone();\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n /* valore di ritorno */\n return unAzione;\n }",
"title": ""
},
{
"docid": "990083a980686d4145e1cad7a072c9ab",
"score": "0.5817772",
"text": "public Tragamoneda(){\n this.rueda1=0;\n this.rueda2=0;\n this.rueda3=0;\n this.apuesta=0;\n this.tiempo= LocalTime.now();\n }",
"title": ""
},
{
"docid": "6ecfe028079badfb514f3f0e21143478",
"score": "0.581622",
"text": "private static void pruebaDAOAgregarPorEdad() { ************************ Modelo final ****************************\n // Agregar de MAYOR A MENOR\n // Imprime todas las generaciones de Mayor a menos\n // Busca por id\n // Imprime todos los hijos reciciendo un nodo de padre que lo busca\n // \n DAOPerro misPerritos = new DAOPerro();\n try {\n // Agregamos el abuelo perruno de todos\n misPerritos.addEdad(0, new Perro(1, \"Spack\", 30, \"labrador\"));\n // agregamos 3 hijos cachorros al abuelo perruno\n misPerritos.addEdad(1, new Perro(20, \"firulais\", 7, \"labrador\"));\n misPerritos.addEdad(1, new Perro(30, \"Benja\", 4, \"labrador\"));\n misPerritos.addEdad(1, new Perro(40, \"jack\", 10, \"labrador\"));\n //agregarmos los nietos perrunos\n misPerritos.addEdad(20, new Perro(201, \"juanin\", 4, \"labrador\"));\n misPerritos.addEdad(20, new Perro(202, \"jose\", 1, \"labrador\"));\n\n misPerritos.addEdad(30, new Perro(301, \"miguel\", 3, \"labrador\"));\n misPerritos.addEdad(30, new Perro(302, \"Terremoto\", 2, \"labrador\"));\n\n misPerritos.addEdad(40, new Perro(401, \"Tsunami\", 7, \"labrador\"));\n //Agregamos bi nietos perrunos\n misPerritos.addEdad(201, new Perro(2011, \"Albo\", 2, \"labrador\"));\n misPerritos.addEdad(201, new Perro(2012, \"Cruzado\", 3, \"labrador\"));\n misPerritos.addEdad(201, new Perro(2013, \"BuhuoAzul\", 1, \"labrador\"));\n\n } catch (Exception ex) {\n System.out.println(\"Error al cargar cachorritos \" + ex.getMessage());\n }\n System.out.println(\"************************************\");\n System.out.println(\"Imprime todas las generaciones de Edad Mayor a Menor\");\n misPerritos.imprimir();\n System.out.println(\"************************************\");\n System.out.println(\" Buscar por id: 30\");\n System.out.println(misPerritos.buscarId(30));\n System.out.println(\" Buscar por id: 2011\");\n System.out.println(misPerritos.buscarId(2011));\n System.out.println(\"************************************\");\n System.out.println(\" Imprimir cachorritos de 20 (incluye a perrito id 20) \");\n misPerritos.imprimirHijos(misPerritos.buscarId(20));\n System.out.println(\"************************************\");\n System.out.println(\" Imprimir toda la generacion 20 (incluye a perrito id 20)\");\n misPerritos.imprimir(misPerritos.buscarId(20));\n System.out.println(\" *****************************************\");\n\n }",
"title": ""
},
{
"docid": "9fb77ad1b041b24c3b6275fcc783363d",
"score": "0.5809723",
"text": "@Override\n public String aumentarIntensidad() {\n return vela.aumentarFuego();\n }",
"title": ""
},
{
"docid": "790feadb7935ffc94deb118cac9749b7",
"score": "0.580367",
"text": "public Acuerdo(){\n\t\tsuper();\n\t\tthis.definitivo = true;\n\t}",
"title": ""
},
{
"docid": "69fd658dcfb8b0af91d6594ad0f90df4",
"score": "0.5802508",
"text": "public Ascenseur(){\n super(\"Ascenseur\");\n nbPersonneActuel = 0;\n nbPersonneMax = 15;\n listePersonne = new ArrayList<Personnes>();\n }",
"title": ""
},
{
"docid": "e23d79b4bd4f9ac6d47dda3e47b4551b",
"score": "0.580203",
"text": "public Dizionario(){\t\t\t\t\t\t\t\t\t\t\t\n\t\tthis.nome = \"\";\n\t\tthis.listaSostituzioni = new ArrayList<Sostituzione>();\n\t}",
"title": ""
},
{
"docid": "365a1a5d60d9539304b1423d0a96cc45",
"score": "0.5799976",
"text": "public void aumentarEdadPerro(){\n edadPerro++;\n }",
"title": ""
},
{
"docid": "c25e4637cfa4aaa74f86c4539ca3d00f",
"score": "0.5797996",
"text": "public void crearSorteo(Sorteo sorteo){ \r\n sorteos.append(sorteo);\r\n }",
"title": ""
},
{
"docid": "b08169c3973554b0f9b3b27883e38e3a",
"score": "0.57948554",
"text": "public void unGiocatoreRimasto(){\n\t\tSystem.out.println(UN_SOLO_GIOCATORE);\n\t\tSystem.out.println(BelleStringhe.incornicia(VINCITORE) + \"\\n\\t\" + this.getElencoGiocatori().get(0).getNome() + \"\\n\\n\");\n\t\tthis.getClassificaFinale().add(this.getElencoGiocatori().get(0));\n\t\tthis.getElencoGiocatori().remove(0);\n\t}",
"title": ""
},
{
"docid": "9f718cada1ee10000672b139d25fb355",
"score": "0.579282",
"text": "public Aviso(String idPublicador, String titulo, String descripcion, int precio, int alonsoCoin, String categoria, int region, int idAviso, String nicknamePublicador) {\n this.idPublicador = idPublicador;\n this.titulo = titulo;\n this.descripcion = descripcion;\n this.precio = precio;\n this.alonsoCoin = alonsoCoin;\n this.categoria = categoria;\n this.region = region;\n this.idAviso = idAviso;\n this.nicknamePublicador = nicknamePublicador;\n //instancia la coleccion de comentarios que tendra el aviso\n comentarios = new <Comentario>ArrayList();\n //inicializa el id de los futuros comentarios en 0\n idComentario = 0;\n }",
"title": ""
},
{
"docid": "ad8103c547c045669314a45469c48bf8",
"score": "0.5782065",
"text": "public void entrarTelaContratoParaReapropriar(){\n acesarTelaDeContrato();\n }",
"title": ""
},
{
"docid": "1eccf1fadc0a3df1fa0a070d9db73e16",
"score": "0.5775031",
"text": "public void nomeGiocatoreUmano(String nome){\n //io avevo fatto/pensato che l'utente poteva inserire anche il proprio nome.\n //non è obbligatorio farlo, se si vuole il metodo c'è, altrimenti esiste già il metodo che ritorna un nome deciso dal pc fisso per l'umano\n //dimmi te come vuoi fare. non ho manco notato se si vede il nome sulla view. dimmi\n }",
"title": ""
},
{
"docid": "0c9f1a31abfdabdf3397d88578a7c0c1",
"score": "0.5764667",
"text": "public Dragao(Posicao posicao)\n\t{\n\t\tsuper(posicao);\n\t\tacordado = true;\n\t}",
"title": ""
},
{
"docid": "45af13369e9ae43bb0b5042b418a33e8",
"score": "0.5763179",
"text": "public abstract void crearRaza();",
"title": ""
},
{
"docid": "f5c0283058e07e55649946c5d59f74bf",
"score": "0.57627386",
"text": "public Objeto_juego extraeralinicio(){\r\n try{\r\n Objeto_juego obj=this.pnodo.getinfo();\r\n this.pnodo=this.pnodo.getsiguiente();\r\n if(this.pnodo!=null){\r\n this.pnodo.setanterior(null);\r\n \r\n }else{\r\n this.unodo=null;\r\n }\r\n return obj;\r\n }catch(Exception e){\r\n return null;\r\n \r\n }\r\n }",
"title": ""
},
{
"docid": "77f903047ace8908e4974a2a11679a7c",
"score": "0.5759249",
"text": "private static void altaEstudiante() {\n\t\tEstudiante e = new Estudiante(2100, \"Pedro\", \"Escamoso\", 42, \"Masculino\", 26159267, \"Tandil\", 99998);\n\t\tprograma.addEstudiante(e);\n\t\tSystem.out.println(programa.getEstudiante(99998));\n\t}",
"title": ""
},
{
"docid": "adab647aa8ad10b4aaf2f31d9545ad18",
"score": "0.5756475",
"text": "public ControleFornecedor() {\n\t\tthis.fornecedores = new HashMap<String, Fornecedor>();\n\t}",
"title": ""
},
{
"docid": "7cb027f48ccaab9ab1e54c814bb157df",
"score": "0.57554203",
"text": "TipoVehiculoEntidad agregar(TipoVehiculoEntidad tipo);",
"title": ""
},
{
"docid": "5d46fb4d9569bdcbd3f7319e852dc48f",
"score": "0.5754709",
"text": "public void generarAvionesComercial() {\n\t}",
"title": ""
},
{
"docid": "62d0da740be3ec7a23d53b3799d44c1e",
"score": "0.5751275",
"text": "private void aumentaCapacidade() {\r\n\r\n if (this.tamanho == this.elementos.length) {\r\n int tamanhoAumentado = (this.elementos.length * 2);\r\n Object[] elementosNovos = new Object[tamanhoAumentado];\r\n for (int i = 0; i < this.elementos.length; i++) {\r\n elementosNovos[i] = this.elementos[i];\r\n }\r\n this.elementos = elementosNovos;\r\n }\r\n }",
"title": ""
},
{
"docid": "1ecebdf12800304ebeea79a1e6e35a75",
"score": "0.57499856",
"text": "public Anunciante() {\n\t\tthis.anuncios = new ArrayList<Anuncio>();\n\t}",
"title": ""
},
{
"docid": "d3a42b5ade3d55840d67ec909be40889",
"score": "0.57396317",
"text": "public void agregarMaestro(\r\n String id, String nombre, int edad,float salario, String categoria){\r\n Maestro maestro = new Maestro(id,nombre,edad,salario,categoria);\r\n listaPersonas.add(maestro);\r\n }",
"title": ""
},
{
"docid": "af044406ca81bbeb3b27f95af359aecc",
"score": "0.57380337",
"text": "private void creerTeleporteur() {\n double nbTeleportateur = Math.random();\n int teleportateur1 = 0;\n int teleportateur2 = 0;\n if (nbTeleportateur < 0.6) {\n teleportateur1 = (int) (Math.random()*(25-5+1))+5;\n map[0][teleportateur1] = 2;\n map[1][teleportateur1] = 2;\n constructorX.add(1);\n constructorY.add(teleportateur1);\n constructorDir.add(\"none\");\n\n } else {\n while(Math.abs(teleportateur2 - teleportateur1) < 4) {\n teleportateur1 = (int) (Math.random()*(25-5+1))+5;\n teleportateur2 = (int) (Math.random()*(25-5+1))+5;\n }\n map[0][teleportateur1] = 2;\n map[1][teleportateur1] = 2;\n constructorX.add(1);\n constructorY.add(teleportateur1);\n constructorDir.add(\"none\");\n map[0][teleportateur2] = 2;\n map[1][teleportateur2] = 2;\n constructorX.add(1);\n constructorY.add(teleportateur2);\n constructorDir.add(\"none\");\n }\n\n }",
"title": ""
},
{
"docid": "28e395ff7d76ececdb9b0c1fae9fdffc",
"score": "0.57355785",
"text": "@Override\n public void reservar(String s, String co) throws RemoteException {\n \n Gson gson = new Gson();\n Companhia c = gson.fromJson(co, Companhia.class);\n Trecho t = gson.fromJson(s, Trecho.class);\n if (t.getSemaforo() == 0) {\n List<Trecho> trechos = Start.trechos;\n Trecho mTrecho = null;\n for (Trecho trecho : trechos) {\n if(trecho.getId() == t.getId()) {\n mTrecho = trecho;\n break;\n \n }\n }\n System.out.println(\"Verificação 2: \"+ gson.toJson(mTrecho).toString() );\n if (mTrecho != null && t.getSemaforo() != 1) {\n mTrecho.setSemaforo(1);\n //Trechos.atualizarListaTrecho(mTrecho);\n List<Espera> lista = mTrecho.getFila();\n if(lista == null) {\n lista = new ArrayList<>();\n }\n Espera e = new Espera();\n e.setIp(c.getIp());\n e.setNum(lista.size());\n lista.add(e);\n mTrecho.setFila(lista);\n Trechos.atualizarListaTrecho(mTrecho);\n }\n }\n }",
"title": ""
},
{
"docid": "9edde732b70c6383fca32d7275193294",
"score": "0.57301354",
"text": "public void eguneratu(int id, int dadoPuntuak) {\n\t\t// HAU OSATU EGIN BEHAR DUZU\n\t\t\n\t\t\n\t\t\n\n\t}",
"title": ""
},
{
"docid": "6df60f8a3a76c87339c0278d866fd643",
"score": "0.5727488",
"text": "public void sincronizza() {\n int codCambio = CausaleAP.cambio.getCodice();\n int cod;\n Campo campo;\n\n super.sincronizza();\n\n try { // prova ad eseguire il codice\n\n /* se la causale di entrata è un cambio la data di arrivo non è modificabile */\n cod = this.getInt(Cam.causaleArrivo.get());\n campo = this.getCampo(Cam.arrivoPrevisto.get());\n campo.setModificabile(cod != codCambio);\n\n /* se la causale di uscita è un cambio la data di partenza non è modificabile */\n cod = this.getInt(Cam.causalePartenza.get());\n campo = this.getCampo(Cam.partenzaPrevista.get());\n campo.setModificabile(cod != codCambio);\n\n /* se c'è il flag Partito la scheda non è abilitata */\n this.setModificabile(!this.getBool(Cam.partito.get()));\n campo = this.getCampo(Cam.partito.get());\n campo.setModificabile(true);\n\n /* se manca il flag Arrivato il flag Partito non è modificabile */\n campo = this.getCampo(Cam.partito.get());\n campo.setModificabile(this.getBool(Cam.arrivato.get()));\n\n /* se c'è il flag Arrivato alcuni campi non sono più modificabili */\n if (this.getBool(Cam.arrivato.get())) {\n campo = this.getCampo(Cam.arrivoPrevisto.get());\n campo.setModificabile(false);\n campo = this.getCampo(Cam.camera.get());\n campo.setModificabile(false);\n campo = this.getCampo(Cam.preparazione.get());\n campo.setModificabile(false);\n campo = this.getCampo(Cam.adulti.get());\n campo.setModificabile(false);\n campo = this.getCampo(Cam.bambini.get());\n campo.setModificabile(false);\n campo = this.getCampo(Cam.arrivoEffettivo.get());\n campo.setModificabile(false);\n }// fine del blocco if\n\n /* il campo Pasto è visibile solo se pensione è HB */\n boolean visibile = this.getInt(Cam.trattamento.get()) == Listino.PensioniPeriodo\n .mezzaPensione\n .getCodice();\n Campo campoPasto = this.getCampo(Cam.pasto.get());\n campoPasto.setVisibile(visibile);\n\n /**\n * Abilitazione del botton Edita Addebiti\n * verifica che la scheda sia modificabile e sia valida\n * (devono esserci inizio, fine, camera, persone)\n */\n boolean abilita = false;\n if (this.isModificabile()) {\n if (this.isValida()) {\n abilita = true;\n }// fine del blocco if\n }// fine del blocco if\n this.getBotAddebiti().setEnabled(abilita);\n\n /* sincronizza i pannellini visualizzatori del tipo di entrata e uscita */\n this.getPanIn().sync();\n this.getPanOut().sync();\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }",
"title": ""
},
{
"docid": "87be6b8fb4622cffe5fefb9df47b352b",
"score": "0.5722713",
"text": "public Moteur() {\n\t\tInitialeur initialeur = new Initialeur();// initial l'objet\n\t\tbase_de_regles = initialeur.getRegleList();// passer la liste de regles à base_de_regles\n\t\tinitConclusion();//Initialiser la liste de conclusions\n\t\tboucleFaitsTerminaux();//Commencer le systeme pour trouver l'animal\n\t\t\n\t}",
"title": ""
},
{
"docid": "02dedaf0a164cfba80ee53296a40319b",
"score": "0.5715867",
"text": "public void azzeraTurno(){\n\t\tnumMosse=0;\n\t\tultimaMossa=TipoMossa.NO_MOSSA;\n\t\tpastoreSpostato=false;\n\t}",
"title": ""
},
{
"docid": "e2b40633a25c867517b447bc007e2fa2",
"score": "0.5715098",
"text": "@Override\n public void cargarNivel() {\n \n }",
"title": ""
},
{
"docid": "7be9f94e8b5be92fc8dac67ca88d684f",
"score": "0.57149404",
"text": "public void iniciarAtaque(GameObject obj) { //REDEFINO PARA PODER CAMBIAR EL ICONO DEL DISPARO\n\t\tflushDibujo(ruta_dibujo_ataque);\t\t\n\t\tPunto p = new Punto(punto.getX()+ancho-30, punto.getY()); \n\t\tDisparo disparo = new DisparoAliado(danio, p, rango);\n\t\tdisparo.cambiarDibujo(\"img/disparos/disparo_golem.gif\");\n\t\tmapa.add(disparo);\n\t\tdisparo.setMapa(mapa);\n\t}",
"title": ""
},
{
"docid": "9a852aafd60fb9decbd4c6ef60ccab23",
"score": "0.57135034",
"text": "@Override\n public void comprar(String s, String co) throws RemoteException {\n //throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n Gson gson = new Gson();\n Companhia c = gson.fromJson(co, Companhia.class);\n Trecho t = gson.fromJson(s, Trecho.class);\n List<Trecho> trechos = Start.trechos;\n Trecho mTrecho = null;\n for (Trecho trecho : trechos) {\n if(trecho.getId() == t.getId()) {\n mTrecho = trecho;\n break;\n \n }\n }\n \n if (mTrecho != null) {\n mTrecho.setSemaforo(1);\n Trechos.atualizarListaTrecho(mTrecho);\n List<Espera> lista = mTrecho.getFila();\n mTrecho.setSemaforo(0);\n //lista.remove(espera);\n mTrecho.setFila(lista);\n Trechos.atualizarListaTrecho(mTrecho);\n \n }\n }",
"title": ""
},
{
"docid": "74fb662c098684957320c1bdff8d6e72",
"score": "0.5711701",
"text": "public Nodo(int d,Nodo n){\n dato=d;\n siguiente=n;\n \n}",
"title": ""
},
{
"docid": "82c0946b8a7ac3f75afab7154b0a0062",
"score": "0.57070357",
"text": "public void usineMonstre(){\n\t\t\n\t\t\n\t\tint index = (int) Math.floor(Math.random()*(7-1) + 1)-1;\n\t\t int index2 = (int) Math.floor(Math.random()*(7-1) + 1)-1;\n\t\t int index3= (int) Math.floor(Math.random()*(6-1) + 1)-1;\n\t\t for(int i = 1; i <=index3+1 ; i++) {\n\t\t\t String [] motDebut = { \" blop\" , \" araignée\",\" esprit\", \" loup\", \" demon\" ,\" Dragon\"};\n\t\t\t String [] motFin = { \"-volcan n.\"+i,\" de lumiére n.\"+i,\"-aquatique n.\"+i ,\"-mortel n.\"+i , \"-terrest n.\"+i, \"-Tempest n.\"+i};\n\t\t \n\t\t \n\t\t\t String name = motDebut[index] + motFin[index2];\n\t\t \n\t\t\t Monstre m = new Monstre(name,3*(index+1),(index*2)+index2+1,index2+1);\n\t\t \n\t\t\t this.monstre = m ;\n\t\t \n\t\t\t\n\t\t\t this.monstres.add(this.monstre);\n\t\t }\n\t\t System.out.println(monstres);\n\t}",
"title": ""
},
{
"docid": "7125f9a632a2bf0aff0ce4ff60021773",
"score": "0.5705718",
"text": "@Override\r\n\tpublic void obterCotacoes (int id) throws RemoteException{\r\n\t\ttry {\r\n\t\t\t//percorro acionistas\r\n\t\t\tfor (int i = 0; i < this.acionistas.size(); i++) \r\n\t\t\t{\r\n\t\t\t\t//achei o acionista\r\n\t\t\t\tif (this.acionistas.get(i).id == id)\r\n\t\t\t\t{\r\n\t\t\t\t\t//percorro a lista de interesses dele\r\n\t\t\t\t\tfor (int j = 0; j < this.acionistas.get(i).cotacoes_interesse.size(); j++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(\"\\n\" + this.acionistas.get(i).nome);\r\n\t\t\t\t\t\tfor (int k = 0; k < cotacao_global.num_acoes; k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//printo as cotacoes de interesse dele\r\n\t\t\t\t\t\t\tif (this.acionistas.get(i).cotacoes_interesse.get(j).cotacoes.contains(cotacao_global.acoes[k]))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Acao de interesse: \" + cotacao_global.acoes[k] + \" de preco: \" + cotacao_global.precos[k]);\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\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}catch(Exception e) {System.out.println(e.getLocalizedMessage());}\r\n\t}",
"title": ""
},
{
"docid": "5c86d470a29f860361faa939b220205d",
"score": "0.56995696",
"text": "public TanqueOrtogonal(){\n super(0, valv, 0, 0);\n base = 0;\n altura = 0;\n profundidad = 0;\n }",
"title": ""
},
{
"docid": "3606785cd8d18ad950c6c622e1a186df",
"score": "0.5699464",
"text": "public void cargarLista(){\n Vehiculo nuevoAuto = new Automovil(\"Peugeot\", \"206\", 200000, 4);\n vehiculos.add(nuevoAuto);\n \n Vehiculo nuevaMoto = new Motocicleta(\"Honda\", \"Titan\", 60000, 125);\n vehiculos.add(nuevaMoto);\n \n nuevoAuto = new Automovil(\"Peugeot\", \"208\", 250000, 5);\n vehiculos.add(nuevoAuto);\n \n nuevaMoto = new Motocicleta(\"Yamaha\", \"YBR\", 80500.5, 160);\n vehiculos.add(nuevaMoto);\n \n }",
"title": ""
}
] |
3bf95bd3ceec211b5eff192829e41bcf | A new Enigma machine with alphabet ALPHA, 1 < NUMROTORS rotor slots, and 0 <= PAWLS < NUMROTORS pawls. ALLROTORS contains all the available rotors. | [
{
"docid": "f4a61ce07ddafa816fcdac46116fed60",
"score": "0.7513649",
"text": "Machine(Alphabet alpha, int numRotors, int pawls,\n Collection<Rotor> allRotors) {\n _alphabet = alpha;\n _numRotors = numRotors;\n _pawls = pawls;\n _allRotors = new ArrayList<Rotor>(allRotors);\n _rotors = new ArrayList<Rotor>();\n }",
"title": ""
}
] | [
{
"docid": "484a5cc6b236d3bcf33c3129689eb93a",
"score": "0.7425368",
"text": "Machine(Alphabet alpha, int numRotors, int pawls,\n Collection<Rotor> allRotors) {\n _alphabet = alpha;\n _numRotors = numRotors;\n _pawls = pawls;\n _myRotors = new Rotor[_numRotors];\n _allRotors = allRotors.toArray();\n _plugboardPerm = new Permutation(\"\", _alphabet);\n }",
"title": ""
},
{
"docid": "818970cf703b30829190fc4c4a14e69c",
"score": "0.6354273",
"text": "public EnigmaMachine(){\r\n plugBoard = new Plugboard();\r\n basicRotors = new BasicRotor[3];\r\n\r\n }",
"title": ""
},
{
"docid": "55748525beddf70965c5a09b0e417005",
"score": "0.5502689",
"text": "private void setUp(Machine M, String settings) {\r\n String[] rotorInfo = settings.trim().split(\" \");\r\n String[] rotorNames = new String[M.numRotors()];\r\n String cycles = \"\";\r\n for (int i = 1; i < rotorInfo.length; i++) {\r\n if (i <= M.numRotors()) {\r\n rotorNames[i - 1] = rotorInfo[i];\r\n } else if (i > M.numRotors() + 1) {\r\n cycles += (rotorInfo[i]);\r\n }\r\n }\r\n for (int i = 0; i < rotorNames.length; i++) {\r\n for (int j = i + 1; j < rotorNames.length; j++) {\r\n if (rotorNames[i].equals(rotorNames[j])) {\r\n throw new EnigmaException(\"Repeated rotors\");\r\n }\r\n }\r\n }\r\n M.insertRotors(rotorNames);\r\n if (!M.rotorSlots()[0].reflecting()) {\r\n throw new EnigmaException(\"First rotor must be a reflector\");\r\n }\r\n for (int i = 0; i < M.numRotors() - M.numPawls(); i++) {\r\n if (M.rotorSlots()[i].rotates()) {\r\n throw new EnigmaException(\"Wrong number of arguments\");\r\n }\r\n }\r\n\r\n M.setRotors(rotorInfo[M.numRotors() + 1]);\r\n try {\r\n if (!rotorInfo[1 + M.numRotors() + 1].contains(\"(\")) {\r\n String ringSetting = rotorInfo[1 + M.numRotors() + 1];\r\n if (ringSetting.length() > 0) {\r\n M.setRings(ringSetting);\r\n }\r\n }\r\n M.setPlugboard(new Permutation(cycles, _alphabet));\r\n } catch (ArrayIndexOutOfBoundsException ignored) {\r\n M.setPlugboard(new Permutation(\"\", _alphabet));\r\n }\r\n }",
"title": ""
},
{
"docid": "9ad0782298da25777d5f135e62de401e",
"score": "0.50611347",
"text": "public void alphabet() {\n\t\tArrayList<String> alpha = new ArrayList<String>();\n\t\talpha.add(\"a\");\n\t\talpha.add(\"b\");\n\t\talpha.add(\"c\");\n\t\talpha.add(\"d\");\n\t\talpha.add(\"e\");\n\t\talpha.add(\"f\");\n\t\talpha.add(\"g\");\n\t\talpha.add(\"h\");\n\t\talpha.add(\"i\");\n\t\talpha.add(\"j\");\n\t\talpha.add(\"k\");\n\t\talpha.add(\"l\");\n\t\talpha.add(\"m\");\n\t\talpha.add(\"n\");\n\t\talpha.add(\"o\");\n\t\talpha.add(\"p\");\n\t\talpha.add(\"q\");\n\t\talpha.add(\"r\");\n\t\talpha.add(\"s\");\n\t\talpha.add(\"t\");\n\t\talpha.add(\"u\");\n\t\talpha.add(\"v\");\n\t\talpha.add(\"w\");\n\t\talpha.add(\"x\");\n\t\talpha.add(\"y\");\n\t\talpha.add(\"z\");\n\t\tCollections.shuffle(alpha, new Random());\n\t\tSystem.out.println(alpha.get(0));\n\t\tSystem.out.println(alpha.get(25));\n\t\t\n\t\t\n\t\tif (alpha.get(0).equals(\"a\")){\n\t\t\tSystem.out.println(\"You got a VOWEL!\");\n\t\t}\n\t\telse if (alpha.get(0).equals(\"e\")){\n\t\t\tSystem.out.println(\"You got a VOWEL!\");\n\t\t}\n\t\telse if (alpha.get(0).equals(\"i\")){\n\t\t\tSystem.out.println(\"You got a VOWEL!\");\n\t\t}\n\t\telse if (alpha.get(0).equals(\"o\")){\n\t\t\tSystem.out.println(\"You got a VOWEL!\");\n\t\t}\n\t\telse if (alpha.get(0).equals(\"u\")){\n\t\t\tSystem.out.println(\"You got a VOWEL!\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "df420f34b22772d35dc3dffe81cc8a12",
"score": "0.4907829",
"text": "public BasicRotor(String rotorName)\n {\n int mapOutput;\n initialise(rotorName);\n inverseMap = new int[getMapping().length];\n for (int i = 0; i < getMapping().length; i++) //Creates an inverse map from the rotor map\n {\n mapOutput = getMapping()[i];\n inverseMap[mapOutput] = i;\n }\n }",
"title": ""
},
{
"docid": "47b8090c67bb48f8ea21e65384990f65",
"score": "0.4892885",
"text": "private void setUp(Machine M, String settings) {\n String[] rotors = new String[M.numRotors()];\n Scanner scan = new Scanner(settings);\n String setting = \"\";\n String plugboard = \"\";\n if (scan.hasNext(\"[*]\")) {\n scan.next();\n for (int i = 0; i < M.numRotors(); i++) {\n rotors[i] = (scan.next());\n }\n }\n for (int i = 0; i < rotors.length; i++) {\n for (int j = i + 1; j < rotors.length; j++) {\n if (rotors[j] == rotors[i]) {\n throw new EnigmaException(\"rotors with same name\");\n }\n }\n }\n M.insertRotors(rotors);\n if (!M._rotors[0].reflecting()) {\n throw new EnigmaException(\"wrong rotor type\");\n }\n if (scan.hasNext()) {\n String temp = scan.next();\n if (temp.length() != M.numRotors() - 1) {\n throw new EnigmaException(\"setting has wrong length\");\n }\n setting = temp;\n }\n M.setRotors(setting);\n while (scan.hasNext(\"\\\\s*\\\\(.+\\\\)\\\\s*\")) {\n plugboard += scan.next() + \" \";\n }\n M.setPlugboard(new Permutation(plugboard, _alphabet));\n }",
"title": ""
},
{
"docid": "fbcfff01d732688b44536d1cdaffb08d",
"score": "0.4867975",
"text": "public Machine(int rotorNum1, int rotorNum2, int rotorNum3, int rotorPos1,\n\t\t\tint rotorPos2, int rotorPos3) {\n\t\trotor1 = new Rotor(rotorNum1, rotorPos1);\n\t\trotor2 = new Rotor(rotorNum2, rotorPos2);\n\t\trotor3 = new Rotor(rotorNum3, rotorPos3);\n\t}",
"title": ""
},
{
"docid": "4e83ace79c54be13f20b9191b983ed8e",
"score": "0.4784371",
"text": "public void resetAllEncoders() {\n topLeft.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n topRight.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n botLeft.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n botRight.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n topLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n topRight.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n botLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n botRight.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n }",
"title": ""
},
{
"docid": "5940e2176a84a8f9b0fae95d1694b0b5",
"score": "0.47764084",
"text": "Amfibia() {\n Random randomGenerator;\n randomGenerator = new Random();\n arah = randomGenerator.nextInt(N_ARAH);\n }",
"title": ""
},
{
"docid": "543ea627ad983811c8232297305bbffc",
"score": "0.4732644",
"text": "public Combination() {\n for (int i = 0; i < 4; i++) {\n int number = checkNum(secretNumber);\n secretNumber[i] = number;\n }\n }",
"title": ""
},
{
"docid": "ef9fcfaf8d45840fa74714e144da0518",
"score": "0.47230554",
"text": "public void resetEncoders() {\n supermanLeft.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n supermanLeft.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n\n supermanRight.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n supermanRight.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n\n }",
"title": ""
},
{
"docid": "0a3e22eae85ea91b31e18e96cfcdd4d8",
"score": "0.4717944",
"text": "public void rotate() {\n //all blocks rotate but MORABA does'nt.\n if (this.type == BlockType.MORABA) {\n return;\n }\n if (enoughSpace()) {\n for (BoxVector box : this.filledBoxes) {\n box.rotateAboutCenter();\n }\n }\n }",
"title": ""
},
{
"docid": "15c56c0fcd157ab6358677006c3868bb",
"score": "0.47063994",
"text": "private void initAlpha() {\n\t\t//'alpha' is an array. For every element in this array we want to create\n\t\t// a random distribution. So we must iterate through all elements of this\n\t\t// array and create a distribution\n\n\t\t//for (int iter = 0; iter < alpha.length; iter ++) {\n\t\t\t//alpha[iter] = new Alpha();\n\t\t//}\n\t\talpha = new Alpha();\n\n\t}",
"title": ""
},
{
"docid": "d005a5923ce3cc628855649094285810",
"score": "0.47009397",
"text": "public Arbol() {\n\t\traiz = 0;\n\t\tmaximo = 0;\n\t\tprofundidad = 0;\n\t\telementos = 0;\n\t\tsumaNivel = new Integer[MAXNIVEL];\n\t\tarbolInverso = new String();\n\t\tgrafo = new String();\n\t}",
"title": ""
},
{
"docid": "c937a3da6eec1e385f81b235df5a0b3d",
"score": "0.468247",
"text": "public void intitialise()\n {\n RobotMap.armSubsystem.moveArmByEncoderAbsolute(encoderValues[0], encoderValues[1], encoderValues[2], encoderValues[3]);\n }",
"title": ""
},
{
"docid": "6a5050754ebf5a747e12adaed57571ac",
"score": "0.46444088",
"text": "public Modeler(){\n\t\tBothArms currentArms = new BothArms(new Arm(true), new Arm(false));//Create arms at rest\n\t\tpastArms.add(currentArms);\n\t}",
"title": ""
},
{
"docid": "ff7b57a76870308531094718648c2f9e",
"score": "0.46393743",
"text": "public Enemigo() {\n nivel = s2;\n hp = 38+ 2*nivel;\n arma = armabásica;\n ataque = 7 + 1*nivel;\n defensa = 6;\n puntería = 60 + ((nivel-1)*1);\n }",
"title": ""
},
{
"docid": "f79218afa2b049c9ff197053102f9098",
"score": "0.46366483",
"text": "public void InitailzeEncoders() {\n\n\t\tfor (int i = LEFT_ENCODER; i <= RIGHT_ENCODER; i += 2) {\n\t\t\tdrivetrainMotors[i].configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder, 1, 10);\n\t\t\tdrivetrainMotors[i].setStatusFramePeriod(StatusFrameEnhanced.Status_3_Quadrature, 10, 10);\n\t\t\tdrivetrainMotors[i].setSensorPhase(ENCODER_REVERSED[i]);\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "a679e08350efc5f02ce4a2c2e36f05be",
"score": "0.4631189",
"text": "Enemigos newEnemigo() {\n return new Enemigos(50 + RANDOM.nextInt(ANCHO - 100), 0, PL_TAMANO, ENEMIGOS_IMG[RANDOM.nextInt(ENEMIGOS_IMG.length)]);\n }",
"title": ""
},
{
"docid": "09a96f2c524f332006bda5ff31201ef4",
"score": "0.46058857",
"text": "public Computer() {\n this.secretNumber = new Combination();\n }",
"title": ""
},
{
"docid": "44aab714776e7d933b750b8d6d053f57",
"score": "0.45965087",
"text": "public Ahorcado() {\r\n\t\tadivinar = palabras[(int)(Math.random()*10)];\r\n\t\tcontador=0;\r\n\t\tresuelta = new char[adivinar.length()]; //_ _ _ _\r\n\r\n\t\tfor (int i =0; i <= adivinar.length()-1;i++) {\r\n\t\t\tthis.resuelta[i] = '_';\r\n\t\t}\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "37f29eb6e75852b9fa134d9f42ace3b3",
"score": "0.4583851",
"text": "public void createAlphabet() {\n\n used = new boolean[26];\n\n for (int i=65;i<=90;i++) {\n int horizontalAdjustment = 20*(i-65 - 13*(int)((i-65)/13));\n int verticalAdjustment = 20*((int)((i-65)/13));\n alphabet[i-65] = createJButton(String.valueOf((char)i),20,20,horizontalAdjustment,verticalAdjustment); \n container.add(alphabet[i-65]);\n alphabet[i-65].setVisible(false);\n alphabet[i-65].addActionListener(this);\n used[i-65] = false;\n }\n }",
"title": ""
},
{
"docid": "1548bc6a11364f2bb35ea24114461ccb",
"score": "0.4561994",
"text": "private void generatePlanets(Galaxy galaxy) {\n Random rand = new Random();\n int lengthOfPlanetNamesTxt = 57;\n\n // set as 4 to get 0...3\n int maxAmountOfPlanets = 4;\n\n // try generating planets\n try {\n List<String> planetNames = new ArrayList<>(getPlanetNamesFromFile());\n\n // for each system in galaxy\n for (HexaSystem e : galaxy.getSystems()) {\n\n // if system cardinal is center, add Mecatol Rex\n // else add between zero and three planets to system\n if (e.getCardinal().equals(\"Center\")) {\n e.addPlanet(new Planet(\"Mecatol Rex\"));\n } else {\n for (int i = 0; i < rand.nextInt(maxAmountOfPlanets); i++) {\n e.addPlanet(new Planet(planetNames.get(rand.nextInt(lengthOfPlanetNamesTxt))));\n }\n }\n }\n } catch (IOException e) {\n\n // if exception is thrown, catch and print stack trace\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "1ddb1b9fc5487a9f42a85f17103541fc",
"score": "0.4554806",
"text": "public metododelcesar() {\n\t\t\tfor (int i=0; i<abc.length; i++) \n\t\t\t\tencriptar[i] = abc[(i + 3) % abc.length]; // rotar alfabeto 3 lugares\n\t\t\tfor (int i=0; i<abc.length; i++) \n\t\t\t\tdescifrar[encriptar[i]-'A'] = abc[i]; // descifrar inverso a encriptar\n\t\t}",
"title": ""
},
{
"docid": "fc259eb18d4e372cc77d96703f525ae1",
"score": "0.45540658",
"text": "public AntennaArray ()\r\n {\r\n \r\n afList = new ArrayFactor();\r\n num = INIT_NUM;\r\n phase = INIT_PHASE;\r\n spacing = INIT_SPACING;\r\n arrayType = \"\"; // default \r\n resetAmplitudes(INIT_AMP); // initializes 2 antennas with amplitudes\r\n \r\n }",
"title": ""
},
{
"docid": "43026e5ab5ae3ef695461877799ebbe1",
"score": "0.4542777",
"text": "public void resetEncoders() {\n motorFrontLeft.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorFrontRight.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorBackLeft.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorBackRight.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorFrontLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorFrontRight.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorBackLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorBackLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n }",
"title": ""
},
{
"docid": "1cd73bed2279d5839fa0474caa25f0d3",
"score": "0.45415714",
"text": "public MirrorAlphabet() throws IOException {\n\t\tDictionary dictionary = new Dictionary();\n\t\tthis.dict = dictionary.getDictionaryArray();\n\t}",
"title": ""
},
{
"docid": "0bd53aec4fc67455d09e5d031fc52762",
"score": "0.45367095",
"text": "@Override\n protected void initialize() {\n for (int i = 0; i < motors.size(); i++) {\n motors.get(i).setEncPosition(0);\n }\n }",
"title": ""
},
{
"docid": "6f4887d1d298b884fc17d91b6ccec655",
"score": "0.45350647",
"text": "public ArcadeSubsystem() {\n leftFrontCanSparkMax = new CANSparkMax(1, MotorType.kBrushless);\n RightFrontCanSparkMax = new CANSparkMax(2, MotorType.kBrushless);\n leftBackCanSparkMax = new CANSparkMax(3, MotorType.kBrushless);\n RightBackCanSparkMax = new CANSparkMax(4, MotorType.kBrushless);\n \n mecanumDriveKinematics = new MecanumDriveKinematics(new Translation2d(-1, 1), new Translation2d(1, 1), \n new Translation2d(-1, -1), new Translation2d(1, -1));\n mecanumDriveOdometry = new MecanumDriveOdometry(mecanumDriveKinematics, new Rotation2d(), new Pose2d());\n \n }",
"title": ""
},
{
"docid": "2012e4ab6f20427ec52a3d8fbe2eb53c",
"score": "0.45253298",
"text": "@Deprecated(\n since = \"forever\",\n forRemoval = false\n )\n public static void initStates() {\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6776, \"rotation=0\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6777, \"rotation=1\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6778, \"rotation=2\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6779, \"rotation=3\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6780, \"rotation=4\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6781, \"rotation=5\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6782, \"rotation=6\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6783, \"rotation=7\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6784, \"rotation=8\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6785, \"rotation=9\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6786, \"rotation=10\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6787, \"rotation=11\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6788, \"rotation=12\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6789, \"rotation=13\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6790, \"rotation=14\"));\n Block.CREEPER_HEAD.addBlockAlternative(new BlockAlternative((short) 6791, \"rotation=15\"));\n }",
"title": ""
},
{
"docid": "b9362df2d712d30f93eb9ea36af28d4b",
"score": "0.45161295",
"text": "protected BlockAlphabet createNewBlockAlphabet() {\n\t\tNewAlphabetBlockWizard wiz = new NewAlphabetBlockWizard();\n\t\tWizardDialog dialog = new WizardDialog(getShell(), wiz);\n\n\t\tdialog.open();\n\t\tif(dialog.getReturnCode() == Window.OK) {\n\t\t\treturn new BlockAlphabet(String.valueOf(wiz.getAlpha().getCharacterSet()), wiz.getName());\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "8cc8803887e0b94e33f2bd1019e9bf84",
"score": "0.450533",
"text": "private Machine readConfig() {\n try {\n rotorslist = new ArrayList<Rotor>();\n if (_config.hasNext(\".*+\")) {\n _alphabet = new Alphabet(_config.next());\n } else {\n throw new EnigmaException(\"no alphabet\");\n }\n if (_config.hasNextInt()) {\n _numrotors = _config.nextInt();\n } else {\n throw new EnigmaException(\"no Rotors\");\n }\n if (_config.hasNextInt()) {\n _pawls = _config.nextInt();\n } else {\n throw new EnigmaException(\"no pawls\");\n }\n while (_config.hasNext()) {\n rotorslist.add(readRotor());\n }\n return new Machine(_alphabet, _numrotors, _pawls, rotorslist);\n } catch (NoSuchElementException excp) {\n throw error(\"configuration file truncated\");\n }\n }",
"title": ""
},
{
"docid": "1dc089df902ae04b80ab18b1d490bfaa",
"score": "0.45009196",
"text": "public static NombresEnum aleatorio() {\n final Random random = new Random();\n return values()[random.nextInt(values().length)];\n }",
"title": ""
},
{
"docid": "84dd477de844f1fc038f320641992af1",
"score": "0.44953868",
"text": "private Army(String[] types) {\r\n\t\tarmy = new SimpleTurtle[5];\r\n\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\tif(types[i].equals(\"1\") || types[i].equals(\"Simple\"))\r\n\t\t\t\tarmy[i] = new SimpleTurtle();\r\n\t\t\telse if(types[i].equals(\"2\") || types[i].equals(\"Smart\"))\r\n\t\t\t\tarmy[i] = new SmartTurtle();\r\n\t\t\telse if(types[i].equals(\"3\") || types[i].equals(\"Drunk\"))\r\n\t\t\t\tarmy[i] = new DrunkTurtle();\r\n\t\t\telse\r\n\t\t\t\tarmy[i] = new JumpyTurtle();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "49a8f55513483553094ee7e2719745f2",
"score": "0.44807652",
"text": "private void test3(){\r\n //Test 3:\r\n clearPlugboard();\r\n\r\n addPlug('Q','F');\r\n\r\n /**\r\n * For this test, the Turnover Rotors were used\r\n * They are initialized from the end to the beginning, because the last Turnover Rotor doesn't have a next Rotor to rotate\r\n * Thus, when creating the second Rotor, the already created 3rd Rotor can be used as the \"next Rotor\" and later on rotated\r\n */\r\n\r\n TurnoverRotor turnRot3 = new TurnoverRotor(\"III\", null );\r\n TurnoverRotor turnRot2 = new TurnoverRotor(\"II\", turnRot3 );\r\n TurnoverRotor turnRot1 = new TurnoverRotor(\"I\", turnRot2 );\r\n\r\n addRotor(turnRot1,0);\r\n addRotor(turnRot2,1);\r\n addRotor(turnRot3,2);\r\n\r\n setPosition(0,23);\r\n setPosition(1,11);\r\n setPosition(2,7);\r\n\r\n Reflector reflector3 = new Reflector(\"ReflectorI\");\r\n addReflector(reflector3);\r\n\r\n /**\r\n * This section is used in order to convert the input from a file\r\n * An additional extension was used so that the text entered was converted\r\n * So that no errors will occur\r\n */\r\n\r\n Convert format = new Convert();\r\n\r\n EnigmaFile enigma1 = new EnigmaFile();\r\n String line;\r\n try {\r\n line = enigma1.readFromFile();\r\n line=format.formatInput(line);\r\n StringBuffer newLine = new StringBuffer();\r\n /**\r\n * This for loop takes each entry from the String and encodes it\r\n * Then appends the letter to the output String (adds the letter to the String that will be printed)\r\n * charAt was used to take a char from a specified position in a String\r\n * .append was used to add the letters encoded to the string\r\n */\r\n for(int i =0; i< line.length();i++){\r\n char caract = line.charAt(i);\r\n newLine.append(encodeLetter(caract));\r\n\r\n }\r\n\r\n enigma1.writeToFile(newLine.toString());\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n }",
"title": ""
},
{
"docid": "2422c3c8173bc045d71800a2cc0a6145",
"score": "0.44790867",
"text": "public final RigRecusion_Init getEngineeringComplexes(){\n RigRecusion_Init engineeringComplexes = new RigRecusion_Init(2324); \n return engineeringComplexes; \n }",
"title": ""
},
{
"docid": "4538bfac3c3a1adf3114f5f35c637440",
"score": "0.44586158",
"text": "private static void incrementRotors() {\n // Middle notch - all rotors rotate\n\t\tif (position[1] == getIFromCh(rotors[1].getNotch())) {\n\t\t\tposition[0] += 1;\n position[1] += 1;\n }\n // Right notch - right two rotors rotate\n else if (position[2] == getIFromCh(rotors[2].getNotch())) {\n \tposition[1] += 1;\n }\n \n position[2] += 1;\n \n for (int i=0; i < rotors.length; i++) {\n \tposition[i] = position[i] % 26; \n }\n\t}",
"title": ""
},
{
"docid": "22237db45c749b8e7369d6c3d8c68a7e",
"score": "0.44527623",
"text": "public AjouterMachine() {\n initComponents();\n }",
"title": ""
},
{
"docid": "3fec61c010eb96fafdace15abbf16e4f",
"score": "0.4444558",
"text": "public Alphabet<String> createAlphabet() {\n return new SimpleAlphabet<>(this);\n }",
"title": ""
},
{
"docid": "635388d994a5254bdb5ecd856169abc8",
"score": "0.4441262",
"text": "public static void init() {\n Armor_Items.createWoodHelm();\n Armor_Items.createWoodChest();\n Armor_Items.createWoodLegs();\n Armor_Items.createWoodBoots();\n\n // Create the stone armor objects\n Armor_Items.createStoneHelm();\n Armor_Items.createStoneChest();\n Armor_Items.createStoneLegs();\n Armor_Items.createStoneBoots();\n }",
"title": ""
},
{
"docid": "b74d935c1468e865327a9b6d563922c8",
"score": "0.44207808",
"text": "void createArmory();",
"title": ""
},
{
"docid": "f4de6d04c3e10b92995b8862803b562f",
"score": "0.44187853",
"text": "public void resetEncoders() {\n left_back_drive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n left_front_drive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);// reset encoders\n right_back_drive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n right_front_drive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n right_back_drive.setTargetPosition(0);\n right_front_drive.setTargetPosition(0);\n left_back_drive.setTargetPosition(0);\n left_front_drive.setTargetPosition(0);\n\n left_back_drive.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n left_front_drive.setMode(DcMotor.RunMode.RUN_TO_POSITION);// run to position\n right_back_drive.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n right_front_drive.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n }",
"title": ""
},
{
"docid": "faa6dd1e334f1514c5c801e25e0dcf32",
"score": "0.4414355",
"text": "public Tela() {\n programCounter = 0;\n memoria = new Memoria();\n uc = new UC(memoria);\n $zero = new Registrador(\"$zero\", memoria);\n $at = new Registrador(\"$at\", memoria);\n $v0 = new Registrador(\"$v0\", memoria);\n $v1 = new Registrador(\"$v1\", memoria);\n $a0 = new Registrador(\"$a0\", memoria);\n $a1 = new Registrador(\"$a1\", memoria);\n $a2 = new Registrador(\"$a2\", memoria);\n $a3 = new Registrador(\"$a3\", memoria);\n $t0 = new Registrador(\"$t0\", memoria);\n $t1 = new Registrador(\"$t1\", memoria);\n $t2 = new Registrador(\"$t2\", memoria);\n $t3 = new Registrador(\"$t3\", memoria);\n $t4 = new Registrador(\"$t4\", memoria);\n $t5 = new Registrador(\"$t5\", memoria);\n $t6 = new Registrador(\"$t6\", memoria);\n $t7 = new Registrador(\"$t7\", memoria);\n $s0 = new Registrador(\"$s0\", memoria);\n $s1 = new Registrador(\"$s1\", memoria);\n $s2 = new Registrador(\"$s2\", memoria);\n $s3 = new Registrador(\"$s3\", memoria);\n $s4 = new Registrador(\"$s4\", memoria);\n $s5 = new Registrador(\"$s5\", memoria);\n $s6 = new Registrador(\"$s6\", memoria);\n $s7 = new Registrador(\"$s7\", memoria);\n $t8 = new Registrador(\"$t8\", memoria);\n $t9 = new Registrador(\"$t9\", memoria);\n $k0 = new Registrador(\"$k0\", memoria);\n $k1 = new Registrador(\"$k1\", memoria);\n $gp = new Registrador(\"$gp\", memoria);\n $sp = new Registrador(\"$sp\", memoria);\n $fp = new Registrador(\"$fp\", memoria);\n $ra = new Registrador(\"$ra\", memoria);\n pipeline = false;\n\n aux1 = new Registrador(\"aux1\", memoria);\n aux2 = new Registrador(\"aux2\", memoria);\n aux3 = new Registrador(\"aux3\", memoria);\n aux4 = new Registrador(\"aux4\", memoria);\n aux5 = new Registrador(\"aux5\", memoria);\n aux6 = new Registrador(\"aux6\", memoria);\n\n initComponents();\n\n memoria.store(0, 10);\n memoria.store(1, 20);\n memoria.store(2, 30);\n memoria.store(3, 40);\n memoria.store(4, 5);\n memoria.store(5, 2);\n memoria.store(6, 7);\n\n atualizarTela();\n\n }",
"title": ""
},
{
"docid": "483126a0faddd2d4a6cdf2f6dd36d726",
"score": "0.44130716",
"text": "public void init () {\r\n AppBorder = getBounds();\r\n// XRES = 400;\r\n// YRES = 400;\r\n\r\n XRES = AppBorder.width ;\r\n YRES = AppBorder.height - 52;\r\n PrepExperiment();\r\n\r\n String blocksize_s, dna_length_s, Blocks_s, lifespan_s, sleep_s ;\r\n String maxtrials_s, maxgenerations_s;\r\n\r\n blocksize_s = getParameter(\"blocksize\");\r\n dna_length_s = getParameter(\"dna_length\");\r\n Blocks_s = getParameter(\"blocks\");\r\n lifespan_s = getParameter(\"lifespan\");\r\n sleep_s = getParameter(\"sleep\");\r\n maxtrials_s = getParameter(\"maxtrials\");\r\n maxgenerations_s = getParameter(\"maxgenerations\");\r\n\r\n\r\n System.out.println(\"Made \"+Blocks+\" Blocks.\");\r\n if ( maxtrials_s == null ) {\r\n MaxTrials = 16;\r\n } else {\r\n MaxTrials = Integer.parseInt(maxtrials_s);\r\n }\r\n if ( maxgenerations_s == null ) {\r\n MaxGenerations = 128;\r\n } else {\r\n MaxGenerations = Integer.parseInt(maxgenerations_s);\r\n }\r\n\r\n if ( sleep_s == null ) {\r\n Sleep_Time = 10;\r\n } else {\r\n Sleep_Time = Integer.parseInt(sleep_s);\r\n }\r\n if ( lifespan_s == null ) {\r\n LifeSpan = 60;\r\n } else {\r\n LifeSpan = Integer.parseInt(lifespan_s);\r\n }\r\n if ( blocksize_s == null ) {\r\n blocksize = 5;\r\n } else {\r\n blocksize = Integer.parseInt(blocksize_s);\r\n }\r\n if ( Blocks_s == null ) {\r\n Blocks = 8;\r\n } else {\r\n Blocks = Integer.parseInt(Blocks_s);\r\n }\r\n if ( dna_length_s == null ) {\r\n dna_length = 16;\r\n } else {\r\n dna_length = Integer.parseInt(dna_length_s);\r\n }\r\n MX = (XRES - 100) / blocksize ;\r\n MY = (YRES -40)/ blocksize ;\r\n Goal = MX / 2;\r\n\r\n S = new SmartBlock [Blocks];\r\n\r\n OriginalDNA = new int[dna_length];\r\n BestDNA = new int[dna_length];\r\n offscreen = createImage(XRES,YRES);\r\n onscreen = createImage(XRES,YRES);\r\n\r\n dbuffer = offscreen.getGraphics();\r\n// dbuffer.setColor(Color.black);\r\n }",
"title": ""
},
{
"docid": "21a0c60a9116f50b2563cd0ed917e9bc",
"score": "0.44078887",
"text": "public static void main(final String[] args)\n {\n Model model = new Model(\"ALPHA26\");\n\n // Set alphabet\n IntVar A = model.intVar(\"A\", 1, 26);\n IntVar B = model.intVar(\"B\", 1, 26);\n IntVar C = model.intVar(\"C\", 1, 26);\n IntVar D = model.intVar(\"D\", 1, 26);\n IntVar E = model.intVar(\"E\", 1, 26);\n IntVar F = model.intVar(\"F\", 1, 26);\n IntVar G = model.intVar(\"G\", 1, 26);\n IntVar H = model.intVar(\"H\", 1, 26);\n IntVar I = model.intVar(\"I\", 1, 26);\n IntVar J = model.intVar(\"J\", 1, 26);\n IntVar K = model.intVar(\"K\", 1, 26);\n IntVar L = model.intVar(\"L\", 1, 26);\n IntVar M = model.intVar(\"M\", 1, 26);\n IntVar N = model.intVar(\"N\", 1, 26);\n IntVar O = model.intVar(\"O\", 1, 26);\n IntVar P = model.intVar(\"P\", 1, 26);\n IntVar Q = model.intVar(\"Q\", 1, 26);\n IntVar R = model.intVar(\"R\", 1, 26);\n IntVar S = model.intVar(\"S\", 1, 26);\n IntVar T = model.intVar(\"T\", 1, 26);\n IntVar U = model.intVar(\"U\", 1, 26);\n IntVar V = model.intVar(\"V\", 1, 26);\n IntVar W = model.intVar(\"W\", 1, 26);\n IntVar X = model.intVar(\"X\", 1, 26);\n IntVar Y = model.intVar(\"Y\", 1, 26);\n IntVar Z = model.intVar(\"Z\", 1, 26);\n\n // get all differents\n model.allDifferent(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z).post();\n\n // Set constraints\n setConstraint(model, 45, B, A, L, L, E, T);\n setConstraint(model, 43, C, E, L, L, O);\n setConstraint(model, 74, C, O, N, C, E, R, T);\n setConstraint(model, 30, F, L, U, T, E);\n setConstraint(model, 50, F, U, G, U, E);\n setConstraint(model, 66, G, L, E, E);\n setConstraint(model, 58, J, A, Z, Z);\n setConstraint(model, 47, L, Y, R, E);\n setConstraint(model, 53, O, B, O, E);\n setConstraint(model, 65, O, P, E, R, A);\n setConstraint(model, 59, P, O, L, K, A);\n setConstraint(model, 50, Q, U, A, R, T, E, T);\n setConstraint(model, 134, S, A, X, O, P, H, O, N, E);\n setConstraint(model, 51, S, C, A, L, E);\n setConstraint(model, 37, S, O, L, O);\n setConstraint(model, 61, S, O, N, G);\n setConstraint(model, 82, S, O, P, R, A, N, O);\n setConstraint(model, 72, T, H, E, M, E);\n setConstraint(model, 100, V, I, O, L, I, N);\n setConstraint(model, 34, W, A, L, T, Z);\n\n // Get solver\n Solver solver = model.getSolver();\n\n // find solution\n Solution solution;\n\n int c = 0;\n\n while ((solution = solver.findSolution()) != null)\n {\n System.out.println(solution);\n c++;\n }\n\n System.out.println(String.format(\"%d solutions trouvé\", c));\n }",
"title": ""
},
{
"docid": "c71f1c89e2b924806ac9b8741e9c6960",
"score": "0.44042155",
"text": "public Airplane() {\n\t\tbrand = \"\";\n\t\tprice = 0.0;\n\t\thorsePower = 0;\n\t}",
"title": ""
},
{
"docid": "228ae7f92a277c728e656ccb8177096e",
"score": "0.43950564",
"text": "public Room(String imgFile, LinkedList<Key> activeKeys){ \n img = imgFile;\n \n karray = new Key[DEFAULT_CAPACITY]; //each room will always have 10 keys\n for (int i = 0; i < activeKeys.size(); i++) {\n karray[i] = activeKeys.get(i);\n }\n \n for (int i = activeKeys.size(); i < karray.length; i++) {\n Key temp = GameMap.getRandomKey(); //assigns random keys to the remaining key slots in karray\n while(contains(temp)) {\n temp = GameMap.getRandomKey();\n }\n karray[i] = temp.copyKey();\n }\n \n /*Shuffles the key placement so that all the active keys are not\n in the beginning*/\n Random ran = new Random();\n for(int j = 0; j<karray.length; j++) {\n int swapVal = ran.nextInt(karray.length-1)+1; \n Key tempEle = karray[swapVal];\n karray[swapVal] = karray[karray.length-1-j];\n karray[karray.length-1-j] = tempEle; \n }\n }",
"title": ""
},
{
"docid": "59916528da3303185fc7c3b3f3cd6bc6",
"score": "0.4389903",
"text": "public void createCombinations() {\n\t\tint position, ok = 0, i;\n\t\tint antalRader = 0;\n\t\tposition = (rObjects == 0) ? 0 : rObjects - 1; // 'r'=0 �r specialfall.\n\t\tinitieraStartStop();\n\t\tcombinations.clear();\n\n\t\twhile (ok == 0) {\n\t\t\t// visaRad();\n\t\t\taddCombination(); // add the current combination to the combination\n\t\t\t\t\t\t\t\t// container.\n\t\t\tif (summaRad(0) == summaStartStop(0))\n\t\t\t\tok = 1;\n\t\t\tfor (i = 1; i < rObjects; i++)\n\t\t\t\tif (summaRad(i) == summaStartStop(i))\n\t\t\t\t\tsteg(i);\n\t\t\tforLoop[position]++;\n\t\t\tantalRader++;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "d3caf5e6c119da282662cf9fc6928e3b",
"score": "0.43834183",
"text": "public EnemyRiddles() {\n NOC = new KnowledgeBaseModule(clientRegion, bucketName, \"Veale's The NOC List.txt\", 0);\n VEHICLES = new KnowledgeBaseModule(clientRegion, bucketName,\"Veale's vehicle fleet.txt\", 1);\n WEAPONS = new KnowledgeBaseModule(clientRegion, bucketName,\"Veale's weapon arsenal.txt\", 1);\n }",
"title": ""
},
{
"docid": "4ac18ece84bb5a3f45d5998f1e39a718",
"score": "0.4371314",
"text": "private void spawnAliens() {\r\n for (int i = 150; i < 401; i += 40) {\r\n for (int ii = 40; ii < 201; ii += 40) {\r\n switch (ii) {\r\n case 40:\r\n alienArray.add(new Alien(this, i, ii, 30));\r\n break;\r\n case 80:\r\n alienArray.add(new Alien(this, i, ii, 20));\r\n break;\r\n case 120:\r\n alienArray.add(new Alien(this, i, ii, 20));\r\n break;\r\n case 160:\r\n alienArray.add(new Alien(this, i, ii, 10));\r\n break;\r\n case 200:\r\n alienArray.add(new Alien(this, i, ii, 10));\r\n break;\r\n }\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "5a43e5eb1574b6c684fc5d203eec75bf",
"score": "0.43683895",
"text": "public static kepAlmanacOmega0Type fromPerUnaligned(byte[] encodedBytes) {\n kepAlmanacOmega0Type result = new kepAlmanacOmega0Type();\n result.decodePerUnaligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"title": ""
},
{
"docid": "dc561d796acc510b70e1c8a7cc1a628c",
"score": "0.43661943",
"text": "public Aircraft() {\n\t\tthis(0, 100);\n\t}",
"title": ""
},
{
"docid": "6b0e15f116bb7a6e84d7fa1679d22176",
"score": "0.43654162",
"text": "public void buildLetterTable() {\n int index = 0;\n for(char alphabet = 'a'; alphabet <= 'z'; alphabet++) {\n letterTable.put(alphabet, primes[index]);\n index++;\n }\n }",
"title": ""
},
{
"docid": "4e17a580f60af21bece4da1e5ee984da",
"score": "0.436164",
"text": "public static kepAlmanacOmega0Type fromPerAligned(byte[] encodedBytes) {\n kepAlmanacOmega0Type result = new kepAlmanacOmega0Type();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"title": ""
},
{
"docid": "f12c44c8db2181d3fe41c6e003da6628",
"score": "0.4358099",
"text": "private List<Letter> createLetterBag()\r\n {\r\n List<Letter> bag = new ArrayList<Letter>();\r\n final int alphabetSize = Letter.alphabet.length;\r\n \r\n for(int x = 0; x < alphabetSize; x++)\r\n {\r\n char character = Letter.alphabet[new Random().nextInt(alphabetSize - x)]; \r\n int multiplier = 0;\r\n int value = 0;\r\n \r\n if(character == '_')\r\n {\r\n multiplier = 2;\r\n value = 0;\r\n }\r\n else if(character == 'a' || character == 'e' || character == 'i' || character == 'o' \r\n || character == 'u' || character == 'n' || character == 'r' || character == 't' \r\n || character == 'l' || character == 's')\r\n {\r\n value = 1;\r\n \r\n switch(character)\r\n {\r\n case 'a':\r\n case 'i':\r\n multiplier = 9;\r\n break;\r\n case 'e':\r\n multiplier = 12;\r\n break;\r\n case 'o':\r\n multiplier = 8;\r\n break;\r\n case 'n':\r\n case 'r':\r\n case 't':\r\n multiplier = 6;\r\n break;\r\n case 'l':\r\n case 's':\r\n case 'u':\r\n multiplier = 4;\r\n break;\r\n }\r\n }\r\n else if (character == 'd' || character == 'g')\r\n {\r\n value = 2;\r\n \r\n switch(character)\r\n {\r\n case 'd':\r\n multiplier = 4;\r\n break;\r\n case 'g':\r\n multiplier = 3;\r\n break;\r\n }\r\n }\r\n else if (character == 'b' || character == 'c' || character == 'm' || character == 'p')\r\n {\r\n multiplier = 2;\r\n value = 3;\r\n }\r\n else if(character == 'f' || character == 'h' || character == 'v' || character == 'w' || character == 'y')\r\n {\r\n multiplier = 2;\r\n value = 2;\r\n }\r\n else if(character == 'k' || character == 'j' || character == 'x' || character == 'q' || character == 'z')\r\n {\r\n multiplier = 1;\r\n \r\n switch(character)\r\n {\r\n case 'k':\r\n value = 5;\r\n break;\r\n case 'j':\r\n case 'x':\r\n value = 1;\r\n break;\r\n case 'q':\r\n case 'z':\r\n value = 10;\r\n break;\r\n }\r\n \r\n value = 5;\r\n } \r\n \r\n for(int y = 0; y < multiplier; y++)\r\n {\r\n bag.add(new Letter(Character.toUpperCase(character), value));\r\n }\r\n \r\n }\r\n \r\n return bag;\r\n }",
"title": ""
},
{
"docid": "042e4c6db260ea0f56a2f0c16bb6c4cb",
"score": "0.43566543",
"text": "public void initEngines() {\n engineSpecsList = new ArrayList<>();\n engineSpecsList.add(new EngineSpecs(1, 55, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(1, 71.50, true, \"B\"));\n\n engineSpecsList.add(new EngineSpecs(2, 147, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(2, 147, false, \"D\"));\n engineSpecsList.add(new EngineSpecs(2, 191.10, true, \"B\"));\n engineSpecsList.add(new EngineSpecs(2, 191.10, true, \"D\"));\n\n engineSpecsList.add(new EngineSpecs(3, 245, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(3, 245, false, \"D\"));\n engineSpecsList.add(new EngineSpecs(3, 318.50, true, \"B\"));\n engineSpecsList.add(new EngineSpecs(3, 318.50, true, \"D\"));\n\n engineSpecsList.add(new EngineSpecs(4, 253, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(4, 253, false, \"D\"));\n engineSpecsList.add(new EngineSpecs(4, 328, true, \"B\"));\n engineSpecsList.add(new EngineSpecs(4, 328, true, \"D\"));\n\n engineSpecsList.add(new EngineSpecs(5, 331, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(5, 331, false, \"D\"));\n engineSpecsList.add(new EngineSpecs(5, 430.30, true, \"B\"));\n engineSpecsList.add(new EngineSpecs(5, 430.30, true, \"D\"));\n\n engineSpecsList.add(new EngineSpecs(6, 510, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(6, 510, false, \"D\"));\n engineSpecsList.add(new EngineSpecs(6, 663, true, \"B\"));\n engineSpecsList.add(new EngineSpecs(6, 663, true, \"D\"));\n\n engineSpecsList.add(new EngineSpecs(8, 736, false, \"B\"));\n engineSpecsList.add(new EngineSpecs(8, 958.80, true, \"B\"));\n }",
"title": ""
},
{
"docid": "938c2fb79d79f4cb6df18f3b7a587d55",
"score": "0.43532264",
"text": "public Rollers()\r\n\t{\r\n\t\tsuper(\"Rollers\");\r\n\t\trightMotor = new Talon(RobotMap.R_ROLLER_MOTOR_PWM);\r\n\t\tleftMotor = new Talon(RobotMap.L_ROLLER_MOTOR_PWM);\r\n\t\t//leftAirInSol = new Solenoid(RobotMap.L_ROLLER_AIR_IN_PCM);\r\n\t\t//leftAirOutSol = new Solenoid(RobotMap.L_ROLLER_AIR_OUT_PCM);\r\n\t\t//rightAirInSol = new Solenoid(RobotMap.R_ROLLER_AIR_IN_PCM);\r\n\t\t//rightAirOutSol = new Solenoid(RobotMap.R_ROLLER_AIR_OUT_PCM);\r\n\t\tleftArmSol = new DoubleSolenoid(RobotMap.PCM_ID, RobotMap.L_ROLLER_AIR_IN_PCM, RobotMap.L_ROLLER_AIR_OUT_PCM);\r\n\t\trightArmSol = new DoubleSolenoid(RobotMap.PCM_ID, RobotMap.R_ROLLER_AIR_IN_PCM, RobotMap.R_ROLLER_AIR_OUT_PCM);\r\n\t\tout = false;\r\n\t}",
"title": ""
},
{
"docid": "c7be3564924af983cb574ed8d85d4576",
"score": "0.43425015",
"text": "public ArmDefault() {\n // Add a new sequential command called MoveArm to the potentiometer tick position 470\n addSequential(new MoveArm(25));\n }",
"title": ""
},
{
"docid": "3f9fe185ba33d360716017335cdd2850",
"score": "0.43412387",
"text": "public static kepAlmanacEType fromPerUnaligned(byte[] encodedBytes) {\n kepAlmanacEType result = new kepAlmanacEType();\n result.decodePerUnaligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"title": ""
},
{
"docid": "571d9f2b344e6b58e4759b9218c21cb7",
"score": "0.43405816",
"text": "private static void controlAmenazas() {\n\t\tAmenaza amenaza = new Amenaza();\n\t\tif (amenaza.esMomentoDeAmenazar() && amenaza.atacarCultivo()) {\n\t\t\tSystem.out.println(\"La amenaza: \" + amenaza.getTipo() + \" esta atacando al cultivo \" + amenaza.getCultivo().getTipoCultivo()\n\t\t\t\t\t+ \" en el terreno con id \" + amenaza.getCultivo().getTerreno().getId() + \"\\n\");\n\t\t} else {\n\t\t\tamenazasFallidas++;\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "6464429e903d3372475e60d16f82ce42",
"score": "0.43282136",
"text": "public static void main(String args[]){\r\n\r\n System.out.println(\"Welcome to the Enigma Machine! In order to continue and test it, please uncomment one of the test ahead.\");\r\n System.out.println();\r\n\r\n /**\r\n * Uncomment this if you want to test one(or all) of the first 3 tests\r\n * Go to start method and uncomment what test you want to execute\r\n * Then run the code\r\n */\r\n\r\n// EnigmaMachine enigmMach= new EnigmaMachine();\r\n// enigmMach.start();\r\n\r\n /**\r\n * This part is for the Hrness tests, the challenges\r\n * a new Enigma Machine, Enigma File and Bombe instances must be created\r\n * Execute one test at a time\r\n */\r\n\r\n\r\n EnigmaMachine enigMach = new EnigmaMachine();\r\n EnigmaFile enigFile = new EnigmaFile();\r\n Bombe bombe = new Bombe(enigMach,enigFile);\r\n\r\n// enigMach.clearPlugboard();\r\n// bombe.testHarness1();\r\n\r\n// enigMach.clearPlugboard();\r\n// bombe.testHarness2();\r\n\r\n// enigMach.clearPlugboard();\r\n// bombe.testHarness3();\r\n\r\n\r\n /**\r\n * This part is an extension for a User\r\n * Uncomment this to build your own Enigma Machine\r\n * Customize it\r\n * Then add the input message and see the encoding process going on live\r\n */\r\n\r\n// UserReader u = new UserReader();\r\n// u.intro();\r\n// u.setUp();\r\n// u.input();\r\n\r\n\r\n }",
"title": ""
},
{
"docid": "117334a7bee12b971d262b7bc844dc73",
"score": "0.43218133",
"text": "public static kepAlmanacEType fromPerAligned(byte[] encodedBytes) {\n kepAlmanacEType result = new kepAlmanacEType();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"title": ""
},
{
"docid": "1c2b4d8fd8b0e5dcf911180f1b1e9c75",
"score": "0.43170747",
"text": "public void RunWithEncoders() {\n if(r$front != null && r$rear != null) {\n r$front.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n r$rear.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n }\n if(l$front != null && l$rear != null) {\n l$front.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n l$rear.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n }\n }",
"title": ""
},
{
"docid": "fd787fe77d81db5684dc5752df6674af",
"score": "0.4313306",
"text": "public static void initializeControllers() {\n\n\t\trotationalSpeedController = new TalonSRX(ARM_ROTATIONAL_PWM);\n\t\t// breachArmVerticalMotor = new TalonSRX(ARM_VERTICAL_PWM);\n\n\t\trotationalEncoder = new Encoder(ROTATIONAL_ENCODER_SIGNAL_A, ROTATIONAL_ENCODER_SIGNAL_B,\n\t\t\t\tfalse, EncodingType.k4X);\n\n\t\t// breachArmVerticalEncoder = new Encoder(VERTICAL_ENCODER_SIGNAL_A,\n\t\t// VERTICAL_ENCODER_SIGNAL_B, false,\n\t\t// EncodingType.k2X);\n\t\t// breachArmVerticalEncoder.setMinRate(.1);\n\t\t// breachArmVerticalEncoder.setDistancePerPulse(.014);\n\t\t// breachArmVerticalEncoder.setSamplesToAverage(30);\n\t}",
"title": ""
},
{
"docid": "f1b34626cfe2f8088721e108527f7bc5",
"score": "0.43088773",
"text": "public SlotMachine(int machineID) {\n for (int i = 0; i < reels.length ; i ++){\n reels[i] = new Reel(machineID + i);\n }\n this.BetAmount = 0;\n this.Credits = 10;\n this.Wins = 0;\n this.Losses = 0;\n this.Payout = 0;\n this.NumOfGamesPlayed = 0;\n }",
"title": ""
},
{
"docid": "d2828518897f8ed904a2ec768feb4b33",
"score": "0.4303125",
"text": "private void test1(){\r\n //Test 1:\r\n clearPlugboard();\r\n\r\n BasicRotor firstRotor = new BasicRotor(\"I\");\r\n BasicRotor secondRotor = new BasicRotor(\"II\");\r\n BasicRotor thirdRotor = new BasicRotor(\"III\");\r\n\r\n firstRotor.setPosition(6);\r\n secondRotor.setPosition(12);\r\n thirdRotor.setPosition(5);\r\n\r\n addRotor(firstRotor,0);\r\n addRotor(secondRotor,1);\r\n addRotor(thirdRotor,2);\r\n\r\n Reflector reflector = new Reflector(\"ReflectorI\");\r\n addReflector(reflector);\r\n\r\n addPlug('A','M');\r\n addPlug('G','L');\r\n addPlug('E','T');\r\n\r\n System.out.print(encodeLetter('G'));\r\n System.out.print(encodeLetter('F'));\r\n System.out.print(encodeLetter('W'));\r\n System.out.print(encodeLetter('I'));\r\n System.out.print(encodeLetter('Q'));\r\n System.out.print(encodeLetter('H'));\r\n\r\n System.out.println();\r\n\r\n\r\n }",
"title": ""
},
{
"docid": "0e9597088e9227d7f6c4147abed04bbf",
"score": "0.43019825",
"text": "public VideoPoker()\r\n {\r\n\tthis(startingBalance);\r\n }",
"title": ""
},
{
"docid": "eb33b73a59dcc9a7f1e6c34cc764d4bb",
"score": "0.42987114",
"text": "private SwapRandCipher() {\n }",
"title": ""
},
{
"docid": "bb300679603653d1a6dd51811865a076",
"score": "0.42969835",
"text": "public RobotZebra2(){\n leftMotor = Motor.A;\n rightMotor= Motor.B;\n \n }",
"title": ""
},
{
"docid": "0d853c615959c6acb389b6087a8d4cc2",
"score": "0.4296232",
"text": "public AlphabetGenerator(int numCharacters, float vowelRatio) {\n this.numCharcters = numCharacters;\n this.vowelRatio = vowelRatio;\n maxVowels = (int) (vowelRatio * (float)numCharacters);\n }",
"title": ""
},
{
"docid": "7568e2db67da5bb711914210c7f7972a",
"score": "0.42952073",
"text": "public SteelArmor() {\r\n super(\"Steel Armor\", 10);\r\n }",
"title": ""
},
{
"docid": "982f3cfb488e2befeec873acaa602746",
"score": "0.42899612",
"text": "public Espacio() {\n posX = RANDOM.nextInt(ANCHO);\n posY = 0;\n ancho = RANDOM.nextInt(5) + 1;\n largo = RANDOM.nextInt(5) + 1;\n r = RANDOM.nextInt(100) + 150;\n g = RANDOM.nextInt(100) + 150;\n b = RANDOM.nextInt(100) + 150;\n opacidad = RANDOM.nextFloat();\n if(opacidad < 0) opacidad *=-1;\n if(opacidad > 0.5) opacidad = 0.5;\n }",
"title": ""
},
{
"docid": "f465a25cd16d8a471389392ce9a0801b",
"score": "0.42881858",
"text": "private VigenereCipher() {\n this.key = \"aEiOu\";\n }",
"title": ""
},
{
"docid": "bca255a533578ff5ccaa7704167ce24c",
"score": "0.42864236",
"text": "public StateSplitting() {\t\t\n\t\tthis.alph = 0.01;\n\t\tthis.epsilon = 0.01;\t\t\n\t\tinitAlpha();\n\t}",
"title": ""
},
{
"docid": "128135049f1ecd6b061b400d75209e38",
"score": "0.4285671",
"text": "public VendingMachine() {\n\t\tthis(new Product());\n\t}",
"title": ""
},
{
"docid": "590a983f27f661177ba10bace3fdf383",
"score": "0.4278338",
"text": "protected static void genAlgae() {\r\n\t\tfor (int i = 0; i < Params.refresh_algae_count; i ++) {\r\n\t\t\tAlgae alg = new Algae();\r\n\t\t\tint x = getRandomInt(Params.world_width);\r\n\t\t\tint y = getRandomInt(Params.world_height);\r\n\t\t\talg.setX_coord(x);\r\n\t\t\talg.setY_coord(y);\r\n\t\t\taddCritter(alg, x, y);\t\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "31d5d08c1540e87311f96df89ef67dd3",
"score": "0.42617282",
"text": "public TPM_KEY_PARMS()\r\n {\r\n // do nothing\r\n }",
"title": ""
},
{
"docid": "aecdf8efaa0756127c15da8870f76f55",
"score": "0.42555082",
"text": "private void initRegisterAY() {\n writeRegister(REGISTER_AY_CH_A_TP_HIGH, DEFAULT_AY_CH_A_TP_HIGH);\n writeRegister(REGISTER_AY_CH_A_TP_LOW, DEFAULT_AY_CH_A_TP_LOW);\n writeRegister(REGISTER_AY_CH_B_TP_HIGH, DEFAULT_AY_CH_B_TP_HIGH);\n writeRegister(REGISTER_AY_CH_B_TP_LOW, DEFAULT_AY_CH_B_TP_LOW);\n writeRegister(REGISTER_AY_CH_C_TP_HIGH, DEFAULT_AY_CH_C_TP_HIGH);\n writeRegister(REGISTER_AY_CH_C_TP_LOW, DEFAULT_AY_CH_C_TP_LOW);\n writeRegister(REGISTER_AY_NOISE_TP, DEFAULT_AY_NOISE_TP);\n writeRegister(REGISTER_AY_MIXER, DEFAULT_AY_MIXER);\n writeRegister(REGISTER_AY_CH_A_VOLUME, DEFAULT_AY_CH_A_VOLUME);\n writeRegister(REGISTER_AY_CH_B_VOLUME, DEFAULT_AY_CH_B_VOLUME);\n writeRegister(REGISTER_AY_CH_C_VOLUME, DEFAULT_AY_CH_C_VOLUME);\n writeRegister(REGISTER_AY_EP_LOW, DEFAULT_AY_EP_LOW);\n writeRegister(REGISTER_AY_EP_HIGH, DEFAULT_AY_EP_HIGH);\n writeRegister(REGISTER_AY_EP_CONTROL, DEFAULT_AY_EP_CONTROL);\n seed = DEFAULT_AY_SEED;\n }",
"title": ""
},
{
"docid": "ad934c400a87fbc8f71ee60b523ad158",
"score": "0.42524832",
"text": "public synchronized void generate() {\n\t\t\n\t\tArrayList<Character> alphabet = new ArrayList<Character>();\n\t\tRandom rand = new Random();\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\toptions.pack();\n\t\tif (options.lowercase()) {\n\t\t\t\n\t\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\t\t\n\t\t\t\talphabet.add(c);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif (options.uppercase()) {\n\t\t\t\n\t\t\tfor (char c = 'A'; c <= 'Z'; c++) {\n\t\t\t\t\n\t\t\t\talphabet.add(c);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif (options.numbers()) {\n\t\t\t\n\t\t\tfor (char c = '0'; c <= '9'; c++) {\n\t\t\t\t\n\t\t\t\talphabet.add(c);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif (options.specialCharacters()) {\n\t\t\t\n\t\t\talphabet.add('!');\n\t\t\talphabet.add('@');\n\t\t\talphabet.add('#');\n\t\t\talphabet.add('$');\n\t\t\talphabet.add('%');\n\t\t\talphabet.add('^');\n\t\t\talphabet.add('&');\n\t\t\talphabet.add('*');\n\t\t\talphabet.add('(');\n\t\t\talphabet.add(')');\n\t\t\talphabet.add('-');\n\t\t\talphabet.add('_');\n\t\t\talphabet.add('+');\n\t\t\talphabet.add('=');\n\t\t\talphabet.add(':');\n\t\t\talphabet.add(';');\n\t\t\talphabet.add('<');\n\t\t\talphabet.add('>');\n\t\t\talphabet.add('?');\n\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < options.getNumberOfPasswords(); i++) {\n\t\t\tfor (int j = 0; j < options.getNumberOfCharacters(); j++) {\n\t\t\t\t\n\t\t\t\tsb.append(alphabet.get(rand.nextInt(alphabet.size())));\n\t\t\t\t\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tpassword.setText(sb.toString());\n\t\tsetVisible(true);\n\t\tpack();\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "caf9962fe8727987bb9f22b240340c3e",
"score": "0.42460546",
"text": "public void runUsingEncoders() {\r\n motorFrontL.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\r\n motorFrontR.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\r\n motorBackL.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\r\n motorBackR.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\r\n }",
"title": ""
},
{
"docid": "4c78157ab23089095cf9ac82cc77a3c1",
"score": "0.42390707",
"text": "private void generateNextBytes(byte[] expandedKeys, AesKeyParam aesKeyParams, int iteration, HashDirection direction) {\n int bufferPosition = iteration * aesKeyParams.getLengthBytes();\n byte[] temporary = new byte[4];\n System.arraycopy(expandedKeys, bufferPosition - 4, temporary, 0, 4);\n temporary = AesUtils.scheduleCore(temporary, iteration);\n\n for (int i = 0; i < 4; i++) {\n byte[] previousBlock = getPreviousBlock(expandedKeys, bufferPosition, aesKeyParams);\n temporary = ByteUtils.xor(temporary, previousBlock);\n bufferPosition = ByteUtils.savePutToBuffer(expandedKeys, temporary, bufferPosition);\n }\n\n if (AesKeyParam.KEY_192_BITS.equals(aesKeyParams)) {\n for (int i = 0; i < 2; i++) {\n byte[] previousBlock = getPreviousBlock(expandedKeys, bufferPosition, aesKeyParams);\n temporary = ByteUtils.xor(temporary, previousBlock);\n bufferPosition = ByteUtils.savePutToBuffer(expandedKeys, temporary, bufferPosition);\n }\n }\n\n if (AesKeyParam.KEY_256_BITS.equals(aesKeyParams)) {\n temporary = AesUtils.applySBox(temporary, direction);\n for (int i = 0; i < 4; i++) {\n byte[] previousBlock = getPreviousBlock(expandedKeys, bufferPosition, aesKeyParams);\n temporary = ByteUtils.xor(temporary, previousBlock);\n bufferPosition = ByteUtils.savePutToBuffer(expandedKeys, temporary, bufferPosition);\n }\n }\n }",
"title": ""
},
{
"docid": "2c745135ab0323675874a78fd7665d66",
"score": "0.4237492",
"text": "public PacmanController() {\n\t\tthis.commandeEnCours = Cmd.IDLE;\n\t\tcurrentMode = KeyboardMode.AZERTY;\n\t}",
"title": ""
},
{
"docid": "3b73fcdee75d365c051c6b1fd28bee6d",
"score": "0.42347065",
"text": "public AlphaCard() {\n\t\tthis.setAlphaCardIdentifier(new AlphaCardIdentifier());\n\t\tthis.setAlphaCardDescriptor(new AlphaCardDescriptor(this));\n\t}",
"title": ""
},
{
"docid": "455a27bb45167f65b0754e1837718498",
"score": "0.42318013",
"text": "public void encReset()\r\n\t{\r\n\t\tleftEnc.reset();\r\n\t\trightEnc.reset();\r\n\t\tfrontEnc.reset();\r\n\t\tbackEnc.reset();\r\n\t}",
"title": ""
},
{
"docid": "e797bd4686ba8a6fa3d14e0b6036adae",
"score": "0.42283726",
"text": "@Test\n\tpublic void testEmptyNumberOfRotations() {\n\t\tassertArrayEquals(new int[] {1, 2, 3, 4, 5, 6}, Rotation.rotate(new int[] {1, 2, 3, 4, 5, 6}, 0));\n\t\tassertArrayEquals(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 100}, Rotation.rotate(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 100}, 0));\n\t}",
"title": ""
},
{
"docid": "3c03468715b17abe5b1e9651d30b2d99",
"score": "0.42257434",
"text": "public Borsa() {\r\n\t\tthis(DEFAULT_PESO_MAX_BORSA);\r\n\t}",
"title": ""
},
{
"docid": "3bb56454d41a94fa42d67082eb85b7e5",
"score": "0.4223327",
"text": "private Aula crearAula() {\n return new Aula(1, 1, listaAlumnos);\n }",
"title": ""
},
{
"docid": "1beaa35d622256ad4fbef5516e1a9e8a",
"score": "0.42187127",
"text": "private void IniciarEMV(){\n\n Hashtable<String, Object> data = new Hashtable<String, Object>();\n data.put(\"emvOption\", BBDeviceController.EmvOption.START);\n if(_IDFormato.equals(\"FID61\")) {\n data.put(\"orderID\", \"0123456789ABCDEF0123456789ABCDEF\");\n data.put(\"randomNumber\", \"012345\");\n } else if(_IDFormato.equals(\"FID46\")) {\n data.put(\"randomNumber\", \"0123456789ABCDEF\");\n } else if(_IDFormato.equals(\"FID65\")) {\n String encWorkingKey = TripleDES.encrypt( _ClaveFuncionalFID65, _ClaveMaestraFID65);\n String workingKeyKcv = TripleDES.encrypt(\"0000000000000000\", _ClaveFuncionalFID65);\n\n data.put(\"encPinKey\", encWorkingKey + workingKeyKcv);\n data.put(\"encDataKey\", encWorkingKey + workingKeyKcv);\n data.put(\"encMacKey\", encWorkingKey + workingKeyKcv);\n }\n if(_Modo != null) {\n data.put(\"checkCardMode\", _Modo);\n }\n\n String terminalTime = new SimpleDateFormat(\"yyMMddHHmmss\").format(Calendar.getInstance().getTime());\n data.put(\"terminalTime\", terminalTime);\n _Controlador.startEmv(data);\n\n }",
"title": ""
},
{
"docid": "28fa459101b81ec3324d05d98b4586ab",
"score": "0.4194251",
"text": "public Calculadora() {\n\tproximoModoEntrada = new ImpressaoPadraoStrategy();\n\tproximoModoImpressao = new ImpressaoPadraoStrategy();\n\n\tvalores = new ValorBase[TAM_VETOR];\n\tvalores[INDICE_ACUMULADOR] = new Valor(0);\n\tvalores[INDICE_OPERANDO] = new Valor(0);\n\n\tindiceAtual = INDICE_ACUMULADOR;\n }",
"title": ""
},
{
"docid": "2f232bc4eef05b8719c030ea48aba54d",
"score": "0.4191002",
"text": "public Term()\n {\n this.setAll(1, 1);\n }",
"title": ""
},
{
"docid": "536511e0882ab3a93b5eedde81830ff7",
"score": "0.4188637",
"text": "public void generateUniverse(){\n universe = new ArrayList<>();\n for (int i = 0; i < 10; i++) {\n universe.add(new SolarSystem());\n }\n currentSS = universe.get(0);\n solarCoordinates = currentSS.getCoordinates();\n currentPlanet = currentSS.getFirstPlanet();\n }",
"title": ""
},
{
"docid": "db4abfc855f46abd6c1869059bd9590d",
"score": "0.4186413",
"text": "public void resetEncoders ()\r\n{\r\n this.leftFrontEncoder.reset();\r\n this.rightFrontEncoder.reset();\r\n this.leftRearEncoder.reset();\r\n this.rightRearEncoder.reset();\r\n}",
"title": ""
},
{
"docid": "086081f9d899dd31cc0f35041a37986a",
"score": "0.41837892",
"text": "protected void aulas() {\n aulas.add(new Clase(\"Aula 01\",1,\"Computacion\",30,true));\n aulas.add(new Clase(\"Aula 02\",2,\"Computacion\",30,true));\n aulas.add(new Clase(\"Aula 03\",3,\"Computacion\",30,true));\n aulas.add(new Clase(\"Aula 04\",4,\"Computacion\",30,true));\n aulas.add(new Clase(\"Aula 05\",5,\"Computacion\",30,true));\n aulas.add(new Clase(\"Aula 06\",6,\"Ciencias y Letras\",30,true));\n aulas.add(new Clase(\"Aula 07\",7,\"Ciencias y Letras\",30,false));\n aulas.add(new Clase(\"Aula 08\",8,\"Ciencias y Letras\",30,true));\n aulas.add(new Clase(\"Aula 09\",9,\"Ciencias y Letras\",30,true));\n aulas.add(new Clase(\"Aula 10\",10,\"Ciencias y Letras\",30,false));\n aulas.add(new Clase(\"Aula 11\",11,\"Ciencias y Letras\",30,true));\n aulas.add(new Clase(\"Aula 12\",12,\"Ciencias y Letras\",30,false));\n aulas.add(new Clase(\"Aula 13\",13,\"Ciencias y Letras\",30,false));\n aulas.add(new Clase(\"Aula 14\",14,\"Ciencias y Letras\",30,true));\n aulas.add(new Clase(\"Aula 15\",15,\"Ciencias y Letras\",30,false));\n \n // (String _nombre, int _numero, String _ubicacion, int _capacidad)\n aulas.add(new Laboratorio(\"LAIMI\",4,\"Computacion\",30));\n aulas.add(new Laboratorio(\"Laboratorio 01\",1,\"Computacion\",24));\n aulas.add(new Laboratorio(\"Laboratorio 02\",2,\"Computacion\",24));\n aulas.add(new Laboratorio(\"Laboratorio 03\",3,\"Computacion\",24));\n }",
"title": ""
},
{
"docid": "657aab3130385241c98a6f3e120b480f",
"score": "0.41806215",
"text": "public AvalancheToKey(int muestras) {\n descbcmac = new DESCBCMAC();\n // Input aleatorio de 128 bytes\n input = new byte[128];\n new Random().nextBytes(input);\n // Histograma. 33 elementos porque la distancia de Hamming\n // podra tomar 33 posibles valores (el bloque de salida tiene 32 bits)\n histogram = new Histogram(33, muestras);\n startAvalanche(muestras);\n }",
"title": ""
},
{
"docid": "40b9a89c069c29f73f9ff6060b7ea35d",
"score": "0.41796336",
"text": "public Algorithms() {\n\t\trewriteTimes = 0;\n\t}",
"title": ""
},
{
"docid": "c156359a551eb2d508f5a2356f8c2815",
"score": "0.41684464",
"text": "public ItemsEncrustor build() {\n if(registerName == null || baseItem == null) {\n Encrusted.EncrustedLog.fatal(\"Cannot convert builder to armor encrustor, needs both a registerName and baseItem\");\n return new ItemsEncrustor();\n } else {\n return new ItemsEncrustor(this.baseItem, this.registerName, this.durabilityBonus, this.sharpnessBonus, this.enchantabilityBonus, this.attackSpeedBonus, this.hasteBonus, this.settings, this.onAttack);\n }\n }",
"title": ""
},
{
"docid": "7894b7e155dc26d32d8dded4d616db96",
"score": "0.4163813",
"text": "public void eorb_im() {\n int t = _cpu.IMMBYTE();\n _cpu._m6809.b ^= t;\n _cpu.CLR_NZV();\n _cpu.SET_NZ8(_cpu._m6809.b);\n if (_cpu.m6809log != null) {\n fprintf(_cpu.m6809log, \"M6809#%d eorb_im :PC:%d,PPC:%d,A:%d,B:%d,D:%d,DP:%d,U:%d,S:%d,X:%d,Y:%d,CC:%d,EA:%d\\n\", cpu_getactivecpu(), (int) _cpu._m6809.pc, (int) _cpu._m6809.ppc, (int) _cpu._m6809.a, (int) _cpu._m6809.b, getDreg(), (int) _cpu._m6809.dp, (int) _cpu._m6809.u, (int) _cpu._m6809.s, (int) _cpu._m6809.x, (int) _cpu._m6809.y, (int) _cpu._m6809.cc, _cpu.ea);\n }\n }",
"title": ""
},
{
"docid": "15f3a62bf8717cec7f15c95c58a6bffa",
"score": "0.4163742",
"text": "public VKmer() {\n this(EMPTY_BYTES, 0);\n }",
"title": ""
},
{
"docid": "bf00a15096b7e0d1ed276bfe97df9527",
"score": "0.41625613",
"text": "public static kepAlmanacM0Type fromPerAligned(byte[] encodedBytes) {\n kepAlmanacM0Type result = new kepAlmanacM0Type();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"title": ""
},
{
"docid": "b5d7b93cccb9be9301d2b130bd8295cf",
"score": "0.4161637",
"text": "public PermutationGenerator() {\r\n this.oneToTen = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};\r\n }",
"title": ""
}
] |
1e4a60d970e2901f318fbba4ad4d9db2 | create directory in hdfs | [
{
"docid": "757718f23b71257236b5ff7c77b7316c",
"score": "0.6886132",
"text": "void mkdir(String dir) throws IOException;",
"title": ""
}
] | [
{
"docid": "f60456ae837e5059a975817964691b6c",
"score": "0.70098746",
"text": "HierarchicalResource createDirectory() throws IOException;",
"title": ""
},
{
"docid": "81ebb07da47e13d8a05edf5cac3e84f6",
"score": "0.6897412",
"text": "private static boolean createDirOnFileSystem(FileSystem fs, Configuration conf, Path dir)\n throws IOException {\n int i = 0;\n IOException lastIOE = null;\n int hdfsClientRetriesNumber =\n conf.getInt(\"hdfs.client.retries.number\", DEFAULT_HDFS_CLIENT_RETRIES_NUMBER);\n int baseSleepBeforeRetries =\n conf.getInt(\"hdfs.client.sleep.before.retries\", DEFAULT_BASE_SLEEP_BEFORE_RETRIES);\n do {\n try {\n return fs.mkdirs(dir);\n } catch (IOException ioe) {\n lastIOE = ioe;\n if (fs.exists(dir)) return true; // directory is present\n try {\n sleepBeforeRetry(\"Create Directory\", i + 1, baseSleepBeforeRetries,\n hdfsClientRetriesNumber);\n } catch (InterruptedException e) {\n throw (InterruptedIOException) new InterruptedIOException().initCause(e);\n }\n }\n } while (++i <= hdfsClientRetriesNumber);\n\n throw new IOException(\"Exception in createDir\", lastIOE);\n }",
"title": ""
},
{
"docid": "0f5f39fd52c1a7ac799797a488adb092",
"score": "0.67001444",
"text": "Long createDirectory(Directory currentDirectory, String newDirectory);",
"title": ""
},
{
"docid": "12ef9e37be8c5ea483135ca2671daccc",
"score": "0.66938627",
"text": "boolean createDir(Path dir) throws IOException {\n int i = 0;\n IOException lastIOE = null;\n do {\n try {\n return mkdirs(fs, conf, dir);\n } catch (IOException ioe) {\n lastIOE = ioe;\n if (fs.exists(dir)) return true; // directory is present\n try {\n sleepBeforeRetry(\"Create Directory\", i + 1);\n } catch (InterruptedException e) {\n throw (InterruptedIOException) new InterruptedIOException().initCause(e);\n }\n }\n } while (++i <= hdfsClientRetriesNumber);\n throw new IOException(\"Exception in createDir\", lastIOE);\n }",
"title": ""
},
{
"docid": "bd3ed50fa8ad3edc9b74270763c278d9",
"score": "0.66435486",
"text": "@Override\n protected boolean mkdirs(URI path)\n throws IOException {\n Path hadoopPath = castAsHadoopPath(path);\n return ghfs.mkdirs(hadoopPath);\n }",
"title": ""
},
{
"docid": "900d43355b19a51f2a0514cdc57686e2",
"score": "0.6520447",
"text": "private void mkdirs(Path filePath) throws IOException {\n final org.apache.hadoop.fs.FileSystem fs = filePath.getFileSystem(configuration);\n final Path targetDirectory = filePath.getParent();\n if (!fs.exists(targetDirectory)) {\n LOG.debug(LOG_CREATE_DIRECTORY, Path.getPathWithoutSchemeAndAuthority(targetDirectory));\n if (!fs.mkdirs(targetDirectory)) {\n throw new IOException(\n String.format(\n \"Unable to create target directory %s. No further information provided by underlying filesystem.\",\n targetDirectory));\n }\n }\n }",
"title": ""
},
{
"docid": "4605abaac27968b1f68016368bc132c9",
"score": "0.6477037",
"text": "HierarchicalResource createDirectory(boolean createParents) throws IOException;",
"title": ""
},
{
"docid": "36445e683cd5b6b0b1a1085ee5ebd9b2",
"score": "0.6464686",
"text": "public void makeDirectory(String path);",
"title": ""
},
{
"docid": "68ac5b374a3c79827e2ebbe9207b7425",
"score": "0.6449159",
"text": "public static void createDir(String path, Configuration conf) throws IOException {\n\t\tPath output_path = new Path(path);\n\t\tFileSystem fs = FileSystem.get(conf);\n\t\tif (!fs.exists(output_path)){\n\t\t\tfs.mkdirs(output_path);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "6561aa8f3d5f5179c010e588ddffbaff",
"score": "0.6445476",
"text": "FileSystem create();",
"title": ""
},
{
"docid": "c51bc7d8863f0066ffa13fe8e22378b1",
"score": "0.6444977",
"text": "@Override\r\n public void createDirectory( Path dir, FileAttribute<?>... attrs ) throws IOException {\n \r\n }",
"title": ""
},
{
"docid": "a44fef6cd4dd003cd1f42ac2527839c3",
"score": "0.63558084",
"text": "public abstract void mkdir() throws IOException, MakeDirectoryException;",
"title": ""
},
{
"docid": "a44fef6cd4dd003cd1f42ac2527839c3",
"score": "0.63558084",
"text": "public abstract void mkdir() throws IOException, MakeDirectoryException;",
"title": ""
},
{
"docid": "9b6b92b074577741b031bd330ea1b1c9",
"score": "0.62926006",
"text": "public void createFolder(Path path, String owner, String group) throws IOException {\n try {\n // Create destination directory if it does not exist\n logger.info(\"Creating path {} \", path);\n try {\n if (!hdfs.getFileStatus(path).isDirectory()) {\n throw new IOException(path.toString() + \" already exists and is not a directory\");\n }\n } catch (FileNotFoundException fe) {\n if (!hdfs.mkdirs(path)) {\n throw new IOException(path.toString() + \" could not be created\");\n }\n changeOwner(path, owner, group);\n logger.info(\"Successfully created path {}\", path);\n }\n } catch (Exception e) {\n logger.error(\"Failed to create path {} due to {}\", path, e);\n throw new RuntimeException(\"Failed to create path [\" + path + \"]\", e);\n }\n }",
"title": ""
},
{
"docid": "0148db37aa41e2231c1d5d848a3d8344",
"score": "0.62871426",
"text": "static void mkdir(String dir) {\t\t\n\t new File(dir).mkdirs(); \n\t\t}",
"title": ""
},
{
"docid": "7c5a6d041f70506f7827f2e21997497e",
"score": "0.6280759",
"text": "public static void javaCreateDirectory()\n {\n\n File dir = new File(\"output\");\n\n // attempt to create the directory here\n boolean successful = dir.mkdir();\n if (successful)\n {\n // creating the directory succeeded\n System.out.println(\"directory was created successfully\");\n }\n else\n {\n // creating the directory failed\n// System.out.println(\"failed trying to create the directory\");\n }\n\n }",
"title": ""
},
{
"docid": "a64ff26b3ad9280b891ebb0c1aa079b2",
"score": "0.6262762",
"text": "private void createDirectory(Path path) throws ImplerException {\n if (path.getParent() != null) {\n try {\n Files.createDirectories(path.getParent());\n } catch (IOException e) {\n throw new ImplerException(\"ERROR: can not create directories for output\", e);\n }\n }\n }",
"title": ""
},
{
"docid": "fd6df13294ec45a5f129d47d5f128065",
"score": "0.62229335",
"text": "public void folderCreate(String directory){\n new File(directory).mkdirs();\n }",
"title": ""
},
{
"docid": "7d53d0e5e079c9d0de4b254487171e35",
"score": "0.6204803",
"text": "private static void createDirc(String str) {\n/* 400 */ File fileP = new File(str);\n/* 401 */ if (!fileP.exists()) {\n/* 402 */ fileP.mkdirs();\n/* */ }\n/* */ }",
"title": ""
},
{
"docid": "6029017e3732c4c43077d52f487bca12",
"score": "0.61919814",
"text": "synchronized public boolean mkdir(String path) throws IOException {\n return fsDirectory.mkdir(path);\n }",
"title": ""
},
{
"docid": "5c751523ce7783e35f21b3f3febf9049",
"score": "0.6174397",
"text": "void mkDir(Database d) {\n File theDir = new File(d.getName());\n\n if (! theDir.exists()) {\n System.out.println(\"creating directory: \" + theDir.getName());\n boolean result = false;\n try{\n theDir.mkdir();\n result = true;\n }\n catch(SecurityException se){}\n if(result) {\n System.out.println(\"directory created\");\n } else {\n throw new Error(\"directory failed to create\");\n }\n } else {\n throw new Error(\"directory already exists\");\n }\n\n for (String key : d.getKeys()) {\n writeCsv(d.select(key), key, d);\n }\n }",
"title": ""
},
{
"docid": "d07738c72c96983906878441ab39d2c1",
"score": "0.6150431",
"text": "public Boolean createStandardDirectory();",
"title": ""
},
{
"docid": "738920889d8c0bbbabebd77c92f3be55",
"score": "0.612788",
"text": "private void makeDirectory(){\n String pathName = getExternalFilesDir(null).getPath() + getString(R.string.DirectoryName);\n File myDir = new File(pathName);\n if(!myDir.exists()){\n myDir.mkdir();\n }\n directoryName = myDir;\n\n Log.d(TAG, \"makeDirectory: \" + directoryName);\n }",
"title": ""
},
{
"docid": "464ab886bbb6ac9c89f14a4de2d90d13",
"score": "0.61163616",
"text": "private static void createDir(File f) {\n\t\tif (!f.exists()) {\n\t\t\t f.mkdirs();\n\t\t\t System.out.println(\"Directory created..\");\n\t\t\t}\n\t}",
"title": ""
},
{
"docid": "0ae5dc8a147969222d633ae5e50bebfb",
"score": "0.61149395",
"text": "public static void createFolder() {\n String folderPath = System.getProperty(USER_DIRECTORY) + \"/data\";\n File folder = new File(folderPath);\n boolean isSuccessful = folder.mkdir();\n if (isSuccessful) {\n System.out.println(\"Folder created successfully.\");\n } else {\n System.out.println(\"Folder already exists.\");\n }\n }",
"title": ""
},
{
"docid": "52545b6142f2b963908f43e9bae06a5b",
"score": "0.61065495",
"text": "public void createDirectory(String imgdir) {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "865aaa51c6516c9a24ba6434529da322",
"score": "0.6030162",
"text": "public static void main(String[] args) {\n FileSystem fs = new FileSystem();\n\n // should print []\n// System.out.println(fs.ls(\"/\"));\n\n fs.mkdirP(\"/a/b/c\");\n\n }",
"title": ""
},
{
"docid": "3465cc27ae3357d44b09a061acae790a",
"score": "0.6019466",
"text": "public static void mkdirs(final File directory) throws IOException {\n\t\tif(!directory.mkdirs()) { //create the directory; if unsuccessful\n\t\t\tthrow new IOException(\"Cannot create directories \" + directory); //throw an exception TODO i18n\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e112dd25895367a6a373de1922981ee3",
"score": "0.5895032",
"text": "private void createDirIfNotExists(FTPClient ftpClient, String path) throws IOException {\n\n\n if (ftpClient.makeDirectory(path)) {\n// Logger.getLogger(getClass().getName()).log(Level.INFO,\n// \"done. \"+ftpClient.getReplyString());\n } else {\n// Logger.getLogger(getClass().getName()).log(Level.INFO,\n// \"failed. \"+ftpClient.getReplyString());\n }\n\n\n }",
"title": ""
},
{
"docid": "269263a53fcdf4864ce5d7249eb4d758",
"score": "0.5881318",
"text": "boolean create_folder();",
"title": ""
},
{
"docid": "c623683da7aa6052690f4411758c2a23",
"score": "0.5869731",
"text": "HierarchicalResource ensureDirectoryExists() throws IOException;",
"title": ""
},
{
"docid": "53c9a3904fd2c38b635e01ba4a400064",
"score": "0.5868518",
"text": "public boolean mkdirs() {\n\t\tif (!isDirectory()) {\n\t\t\tint dirNum = directory.size();\n\t\t\tGeneralFile dir = FileFactory.newFile(fileSystem, directory.get(0)\n\t\t\t\t\t.toString());\n\n\t\t\tfor (int i = 1; i < dirNum; i++) {\n\t\t\t\tdir = FileFactory.newFile(dir, directory.get(i).toString());\n\t\t\t\tif (!dir.exists()) {\n\t\t\t\t\tdir.mkdir();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn mkdir();\n\t\t}\n\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "281bf84a9bf2d453c2a8fc855a6782a8",
"score": "0.58659714",
"text": "private void createRunDir() throws IOException {\n if (!bootDir.exists()) {\n // create the bootdir directory.\n if (! bootDir.mkdirs()) {\n throw new IOException(\"Cannot create \" + bootDir);\n }\n }\n /* create the request id directory */\n if (requestIdDir.exists()) {\n /* delete the directory and make sure we start back */\n FileUtils.deleteDirectory(requestIdDir);\n }\n /* create the directory for the run dir */\n if (! requestIdDir.mkdirs()) {\n throw new IOException(\"Cannot create \" + requestIdDir);\n }\n }",
"title": ""
},
{
"docid": "00248e71ef3c4edf380403e876179103",
"score": "0.5856637",
"text": "public void mkdirs() throws IOException, MakeDirectoryException {\n\t\tflush();\n\t\tif (!exists()) {\n\t\t\tIOLocation parent = getParent();\n\t\t\tif (parent != null) {\n\t\t\t\tparent.mkdirs();\n\t\t\t}\n\t\t\tmkdir();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "06deeb51d9ed902acf1ac717b4e35bca",
"score": "0.5853795",
"text": "public void mkdirs() throws IOException, MakeDirectoryException {\n\t\tflush();\n\t\tif (!exists()) {\n\t IOLocation parent = getParent();\n\t if (parent != null) {\n\t parent.mkdirs();\n\t }\n\t mkdir();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "cee258e5e883241d7875cb0b7a24ea40",
"score": "0.58300376",
"text": "private void createDirectoryLoudly(File dir) throws InvalidPathException, NotDirectoryException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAccessDeniedException, FileSystemException,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tIOException {\n\t\tPath path = dir.toPath(); //throws InvalidPathException for illegal characters\n\t\ttry {\n\t\t\tif (!dir.exists()) {\n\t\t\t\tFiles.createDirectories(path);\n\t\t\t\tdirectoriesCreated.add(dir);\n\t\t\t} else {\n\t\t\t\tFiles.createDirectories(path);\n\t\t\t}\n\t\t} catch (FileAlreadyExistsException e) { //dir exists but is not a directory\n\t\t\tthrow new NotDirectoryException(dir.getPath());\n\t\t} catch (AccessDeniedException e) { //WindowsFileSystemProvider denied creation of dir\n\t\t\tthrow e;\n\t\t} catch (FileSystemException e) { //illegal or reserved filename\n\t\t\tthrow e;\n\t\t} catch (IOException e) { //whatever else\n\t\t\te.printStackTrace();\n\t\t\tthrow e;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "1df37e40c42c506cafcbbc56d02de923",
"score": "0.58095324",
"text": "private void createPostProcessDirectory() throws IOException {\n if (!fileSystem.exists(clusterPostProcessorOutput)\n && !fileSystem.mkdirs(clusterPostProcessorOutput)) {\n throw new IOException(\"Error creating cluster post processor directory\");\n }\n }",
"title": ""
},
{
"docid": "af2b9b829737c0bc8733d77ee2ad110e",
"score": "0.5809021",
"text": "void createLocalDir(String dirName) {\n logger.log(\"createLocalDir called\");\n File newDir = new File(channelSftp.lpwd() + \"/\" + dirName);\n\n if (newDir.exists()) {\n out.println(\"A directory by this name exists. Overwrite? (yes/no)\");\n if (scanner.next().equalsIgnoreCase(\"yes\")) {\n if (newDir.delete() && newDir.mkdir())\n out.println(dirName + \" has been overwritten.\");\n else\n out.println(\"Error overwriting directory.\");\n } else\n out.println(\"The directory will not be overwritten.\");\n } else {\n if (newDir.mkdir())\n out.println(dirName + \" has been created.\");\n else\n out.println(\"Error creating directory.\");\n }\n }",
"title": ""
},
{
"docid": "b684354381bd14ac7f13c6909d8e98e9",
"score": "0.57934016",
"text": "private boolean mkDataDir() {\n File directory = new File(storageDirectory);\n if (!directory.exists()) {\n return directory.mkdir();\n }\n return true;\n }",
"title": ""
},
{
"docid": "b1d2be4805c9dcac24e86f66b75fd75d",
"score": "0.57769716",
"text": "public CompletionResult createDirectory(String fullPath) {\n\t\tCompletionResult result = new CompletionResult();\n\t\ttry {\n\t\t\tthis.ftpClient.createDirectory(DataTransfer.fixPath(fullPath));\n\t\t\tresult.success = true;\n\t\t} catch (FTPException | IOException e) {\n\t\t\tresult.errorType = ErrorType.OTHER_ERROR;\n\t\t}\n\t\treturn result;\n\t}",
"title": ""
},
{
"docid": "279d9ba410912ec9f1d8f708c2685cbe",
"score": "0.5769067",
"text": "@BeforeClass\n public static void createFsCrawlerJobDir() throws IOException {\n metadataDir = rootTmpDir.resolve(\".fscrawler\");\n if (Files.notExists(metadataDir)) {\n Files.createDirectory(metadataDir);\n }\n copyDefaultResources(metadataDir);\n staticLogger.debug(\" --> Test metadata dir ready in [{}]\", metadataDir);\n }",
"title": ""
},
{
"docid": "76a017214bcee5e9a6078c7367247ed6",
"score": "0.5761174",
"text": "public static void mkdir(final File directory) throws IOException {\n\t\tif(!directory.mkdir()) { //create the directory; if unsuccessful\n\t\t\tthrow new IOException(\"Cannot create directory \" + directory); //throw an exception TODO i18n\n\t\t}\n\t}",
"title": ""
},
{
"docid": "ae32b72ae9534bc1239c8ca8150fa8ed",
"score": "0.5749858",
"text": "@VisibleForTesting\n void mkdirs(Path dir) throws IOException {\n Path sanitizedDir = validatePath(dir);\n if (!sanitizedDir.toFile().mkdirs() && !sanitizedDir.toFile().exists()) {\n throw new IOException(String.format(\"Unable to create directory '%s'\", sanitizedDir));\n }\n }",
"title": ""
},
{
"docid": "cc20555ade1eed43f8e791730193cc01",
"score": "0.5718289",
"text": "protected void createDir(Path filePath)\n throws InputOutputException {\n try {\n Files.createDirectory(filePath);\n } catch (IOException e) {\n throw new InputOutputException(e);\n }\n }",
"title": ""
},
{
"docid": "f129d50ccafeb33998c10b60b4db22b1",
"score": "0.5647703",
"text": "public static void createDir(String path) {\n\t\tString dirPath = path;\n\n\t\tPath folder = Paths.get(dirPath);\n\n\t\tif (Files.notExists(folder)) {\n\t\t\ttry {\n\t\t\t\tFiles.createDirectories(folder);\n\t\t\t\tSystem.out.println(\"The folder was created successfully!\");\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t// e.printStackTrace();\n\t\t\t\tSystem.out.println(\"Something went wrong with the folder creation\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"The folder already exists!\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "cc7665581c7a661d0928f3bace5b923d",
"score": "0.5645862",
"text": "void createRemoteDir() {\n logger.log(\"createRemoteDir called\");\n boolean dirNotCreated = true;\n SftpATTRS attrs = null;\n String answer;\n String dirName;\n\n while (dirNotCreated) {\n out.println(\"Enter the name of the new directory: \");\n dirName = scanner.next();\n try {\n // Retrieve attributes of the directory\n attrs = channelSftp.stat(dirName);\n } catch (Exception e) {\n out.println(\"A directory by this name doesn't exist; it will now be created\");\n }\n // Directory does not exist\n if (attrs == null) {\n if (createRemoteDir(dirName)) {\n out.println(dirName + \" has been created\");\n }\n dirNotCreated = false;\n } else {\n // Directory already exists\n out.println(\"A directory by this name already exists. Overwrite? (yes/no)\");\n answer = scanner.next();\n // Reset attributes of the remote file manipulated by SFTP\n attrs = null;\n if (answer.equalsIgnoreCase(\"yes\")) {\n try {\n channelSftp.rmdir(dirName);\n if (createRemoteDir(dirName)) {\n out.println(dirName + \" has been overwritten\");\n }\n dirNotCreated = false;\n } catch (SftpException e) {\n err.println(\"Error overwriting directory\");\n }\n }\n }\n }\n }",
"title": ""
},
{
"docid": "1d036eff634854fd1c0eaa0227fda606",
"score": "0.5624337",
"text": "public static void mkdirs(Path path) throws IOException {\n File file = path.toFile();\n if(!file.exists()) {\n boolean success = file.mkdirs();\n if (!success)\n throw new IOException(\"Failed to create all directories in path: \" + path);\n }\n }",
"title": ""
},
{
"docid": "06bb5028aa398ff70ea534d5479a81f3",
"score": "0.56182253",
"text": "private void ensuredir(File dirname) {\n\t\tif (dirname.exists() && dirname.isDirectory()) {\n\t\t\treturn;\n\t\t}\n\t\tif (!dirname.mkdirs()) {\n\t\t\tthrow new RuntimeException(\"cannot create \" + dirname);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "b3894e22a0a113b3e24a9b167aec6f9e",
"score": "0.56181973",
"text": "public void makeNewDir(String root, String dirName) {\n java.io.File file = (mCurrentMode == MODE_SDCARD) ? new java.io.File(root, dirName) :\n (mCurrentMode == MODE_CONTAINER) ? new com.good.gd.file.File(root, dirName) : null;\n if (file != null) {\n file.mkdir();\n }\n }",
"title": ""
},
{
"docid": "5f9bb5bec3698340eb56f90b5e87d251",
"score": "0.56021243",
"text": "@Test(timeout = SWIFT_TEST_TIMEOUT)\n public void testDirStaysADir() throws Throwable {\n Path path = new Path(\"/test/dirStaysADir\");\n Path child = new Path(path, \"child\");\n try {\n //create the dir\n fs.mkdirs(path);\n //assert the parent has the directory nature\n assertIsDirectory(fs, path);\n //create the child dir\n writeTextFile(fs, child, \"child file\", true);\n //assert the parent has the directory nature\n assertIsDirectory(fs, path);\n //now rm the child\n delete(fs, child);\n } finally {\n deleteR(fs, path);\n }\n }",
"title": ""
},
{
"docid": "c946c69a0128edbe196781ff91a84c64",
"score": "0.5575732",
"text": "@Test(timeout = SWIFT_TEST_TIMEOUT)\n public void testDirStatus() throws Throwable {\n Path path = new Path(\"/test/DirStatus\");\n try {\n fs.mkdirs(path);\n assertIsDirectory(fs, path);\n } finally {\n delete(fs, path);\n }\n }",
"title": ""
},
{
"docid": "1133c7b0b55161c2ee399910d2556018",
"score": "0.5564167",
"text": "public void makeDir(File dir)\n {\n try\n {\n FileUtils.forceMkdir(dir);\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "9db9f36870e08f82ea82166caa68746b",
"score": "0.5555634",
"text": "private void createDestinationDir()\n throws IOException\n {\n if (!destinationDir.exists() && !destinationDir.mkdirs()) {\n throw new IOException(I18NHelper.getMessage(messages,\"EXC_DestDirCreateFailure\",destinationDir)); //NOI18N\n }\n }",
"title": ""
},
{
"docid": "79f87f0f267d779d9fefae44d550c4b6",
"score": "0.554304",
"text": "public static void initializeBootstrapDirsIfNotExists(Configuration hadoopConf, String basePath, FileSystem fs) throws IOException {\n final Path bootstrap_index_folder_by_partition =\n new Path(basePath, HoodieTableMetaClient.BOOTSTRAP_INDEX_BY_PARTITION_FOLDER_PATH);\n if (!fs.exists(bootstrap_index_folder_by_partition)) {\n fs.mkdirs(bootstrap_index_folder_by_partition);\n }\n\n\n // Create bootstrap index by partition folder if it does not exist\n final Path bootstrap_index_folder_by_fileids =\n new Path(basePath, HoodieTableMetaClient.BOOTSTRAP_INDEX_BY_FILE_ID_FOLDER_PATH);\n if (!fs.exists(bootstrap_index_folder_by_fileids)) {\n fs.mkdirs(bootstrap_index_folder_by_fileids);\n }\n }",
"title": ""
},
{
"docid": "46726ca80f4c4b6a9a3f944c5074b9b4",
"score": "0.5521721",
"text": "RDIR createRDIR();",
"title": ""
},
{
"docid": "f74e475a32771861efc4c5f3bdb5db78",
"score": "0.5509267",
"text": "static void MakeDir(String outputdir,String key)\r\n\t{\n\t\tFile f = new File(outputdir +File.separator+ key);\r\n\t\t\r\n\t\t// File x=f.getParentFile();\r\n\t\t//Coverity\r\n\t\t// warning that f.getParentFile() might return null\r\n\t\t//لايمكن أن يوجد null derefernce بسبب وجود ال فايل سيبيراتور \r\n\t\tf.getParentFile().mkdirs();\r\n\t}",
"title": ""
},
{
"docid": "99d33ad3a206d1863142105f0c8bee37",
"score": "0.55081534",
"text": "static File createDirectory(final File root, final String newDirName) throws MojoFailureException {\r\n\t\tFile dir = new File(root, newDirName);\r\n\t\tif (!dir.exists()) {\r\n\t\t\tboolean success = dir.mkdirs();\r\n\t\t\tif (!success) {\r\n\t\t\t\tthrow new MojoFailureException(\"Unable to make directory \" + dir.getAbsolutePath());\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn dir;\r\n\t}",
"title": ""
},
{
"docid": "14205902e163a475b365b734ab15f872",
"score": "0.5499828",
"text": "private void createFile(Path path) {\n if (!Files.isDirectory(path.getParent())) {\n try {\n Files.createDirectory(path.getParent());\n } catch (IOException e) {\n System.out.println(\"Failed to create directory\");\n }\n }\n\n try {\n Files.createFile(path);\n } catch (IOException e) {\n System.out.println(\"Failed to create file\");\n }\n }",
"title": ""
},
{
"docid": "69f7be1f861b7a90154cb834e67be294",
"score": "0.5492909",
"text": "private static boolean create(String path){\n\t\tFile f = new File(path);\n\t\treturn f.mkdir();\n\t}",
"title": ""
},
{
"docid": "cb6ed2c4bea2212891d8cd1735a3ca06",
"score": "0.5478838",
"text": "private void createPath(String decodedPath) {\n\t\tFile fi = new File(decodedPath);\n\t\tif(!fi.exists()) {\n\t\t\tfi.mkdir();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "881eadd7b85df8bf399e6afc1c2bb54c",
"score": "0.54786336",
"text": "public static void createFolder(String rootDirName){\n Util.print(\"Creating folder \"+rootDirName);\n try {\n File file = new File(rootDirName);\n if (!file.exists()) {\n if (file.mkdirs()) {\n } else {\n System.out.println(\"Failed to create directory!\");\n }\n }\n }catch ( Exception e ){\n e.printStackTrace();\n }\n\n }",
"title": ""
},
{
"docid": "066ecdfe436bb6cd3729bd7d95786bed",
"score": "0.54768324",
"text": "@Override\n public void execute(ArrayList<String> commandLineArgs, InputStream input, OutputStream output) throws IOException {\n if (commandLineArgs.size() != 1) {\n throw new RuntimeException(\"mkdir: only one argument allowed\");\n }\n String dirName = commandLineArgs.get(0);\n File newDir = new File(Jsh.getCurrentDirectory() + System.getProperty(\"file.separator\") + dirName);\n if (newDir.isFile()) {\n throw new RuntimeException(\"mkdir: cannot create directory '\" + dirName + \"': File Exists\");\n } else if (newDir.isDirectory()) {\n throw new RuntimeException(\"mkdir: cannot create directory '\" + dirName + \"': Directory Exists\");\n }\n newDir.mkdir();\n }",
"title": ""
},
{
"docid": "ab11a8cb505314a3180d29a2146399e9",
"score": "0.54756504",
"text": "public void createOutputFolder(){\n String folderLocation = this.inputFile.getParentFile().getAbsolutePath();\n this.outputFile = new File(folderLocation + \"/output\");\n this.outputFile.mkdir();\n }",
"title": ""
},
{
"docid": "943594f27bee95c54a14965e721ed936",
"score": "0.547485",
"text": "public static File createDirectory(String path) {\n\t\tFile file = new File(path);\n\t\tif(!file.exists()){\n\t\t\tfile.mkdirs();\n\t\t}\n\t\t\n\t\treturn file;\n\t}",
"title": ""
},
{
"docid": "106ce04dc86e131981049f4e980698de",
"score": "0.5473416",
"text": "public CompletionResult createDirectory(String path, String directory) {\n\t\tString fullPath = path + \"/\" + directory;\n\t\tif (path.endsWith(\"/\")) {\n\t\t\tfullPath = path + directory;\n\t\t}\n\t\treturn this.createDirectory(fullPath);\n\t}",
"title": ""
},
{
"docid": "7d6a20a3497ac27c77fb1ba172e0f252",
"score": "0.5453338",
"text": "@Produces( { MediaType.APPLICATION_JSON } )\n\t@Path(\"/createDir\")\n\t@POST\n\tpublic Response createDir( @FormParam( \"dirpath\" ) final String dirpath ) {\n\t\tSystem.out.println(\"Process : CREATE DIRECTORY\");\n\t\tif (FTPResource.ftpServices.isLogin()) {\n\t\t\tFTPResource.ftpServices.createDir(dirpath);\n\t\t\treturn Response.ok().build();\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"Please to login before create directory...\");\n\t\t\treturn Response.status(Status.UNAUTHORIZED).entity(new String(\"Please to login before create directory!\")).build();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "b95a2f36ef503cb7c6e80ad06bf11285",
"score": "0.54471993",
"text": "public static void ensuredir(File dirname) {\n\t\tif (dirname.exists() && dirname.isDirectory())\n\t\t\treturn;\n\t\tif (!dirname.mkdirs())\n\t\t\tthrow new RuntimeException(\"cannot create \" + dirname);\n\t}",
"title": ""
},
{
"docid": "08c537cd70e4dede83e90dd334c05f7d",
"score": "0.544499",
"text": "protected void createDirectories(Path filePath) throws ImplerException {\n try {\n Files.createDirectories(filePath.getParent());\n } catch (FileAlreadyExistsException e) {\n throw new ImplerException(\"Invalid path: the directory name exists but is not a directory.\", e);\n } catch (IOException e) {\n // :NOTE: no harm in not stopping there\n// throw new ImplerException(\"Invalid path: the directory can't be created.\", e);\n }\n }",
"title": ""
},
{
"docid": "6fd5a306dfbfc0782ee4112b94a2cac3",
"score": "0.5443405",
"text": "protected void mkdirOverScp(InputStream in, OutputStream out,\n String dir) throws IOException {\n String command = \"D0755 0 \";\n command += dir;\n command += \"\\n\";\n\n out.write(command.getBytes());\n out.flush();\n\n checkAck(in);\n //sendDirectory(directory, in, out);\n out.write(\"E\\n\".getBytes());\n out.flush();\n checkAck(in);\n }",
"title": ""
},
{
"docid": "b262b42ae8facf6c28785b667378b5ac",
"score": "0.54360443",
"text": "public static void initDirectory(){\n makeDir(DirectoryConfig.getInstance().getDirectory());\n }",
"title": ""
},
{
"docid": "85421f3a8d66cca0fa4f3b76c1a0cfdd",
"score": "0.54265976",
"text": "void makeDir(File direc) {\n\t\tif (!direc.exists())\n\t\t\tdirec.mkdir();\n\t}",
"title": ""
},
{
"docid": "a0829e36f07f5ca29b3dc05c74d74cf0",
"score": "0.5426475",
"text": "public static void mkdirs(String dirs) throws IOException {\r\n mkdirs(new File(dirs));\r\n }",
"title": ""
},
{
"docid": "e63db26c4e813319928d852ed9eb14ba",
"score": "0.5417063",
"text": "static void createFolder(HttpClient client, String pathREST, String nameFolder) throws HttpException,\n IOException {\n //do not create content folder\n if (!nameFolder.equals(\"content\")) {\n String folderWEBDAV = pathREST + \"/\" + nameFolder + \"/\";\n MkColMethod folderCreate = new MkColMethod(folderWEBDAV);\n client.executeMethod(folderCreate);\n// LOGGER.info(\"CREATE folder: \" + folderWEBDAV);\n }\n }",
"title": ""
},
{
"docid": "f284c01344084a7bc578d5b03f548ec9",
"score": "0.5415221",
"text": "public static void mkdirs(@NonNull File folder) {\n if (!folder.mkdirs() && !folder.exists()) {\n throw new RuntimeException(\"Cannot create directory \" + folder);\n }\n }",
"title": ""
},
{
"docid": "5c6b89331f2094e56aa7e82918b5c092",
"score": "0.54137355",
"text": "private static void initFileSystem(URI uri) {\n Map<String, String> env = new HashMap<>();\n env.put(\"create\", \"true\");\n try {\n FileSystems.newFileSystem(uri, env);\n } catch (Exception ignore) {\n }\n }",
"title": ""
},
{
"docid": "d144d63286e8571b3ba9e8b7deaeee9a",
"score": "0.54101074",
"text": "public static void makeDir(String dir) {\n File file = new File(dir);\n if (!file.exists()) {\n file.mkdir();\n }\n }",
"title": ""
},
{
"docid": "ddfde6c0ad874709ec2f74aff99a0ba0",
"score": "0.54058474",
"text": "private static File createDirectory(String directoryLocation){\n\n //TODO might need to check if directory already exists\n File dir = new File(directoryLocation);\n dir.mkdirs();\n return dir;\n }",
"title": ""
},
{
"docid": "6919d4253bd3682791047f8b9160c7e3",
"score": "0.5374375",
"text": "public static void createFolderPath(String path) {\n // create the directory structure\n File file = new File(path + \"text.txt\");\n file.getParentFile().mkdirs();\n }",
"title": ""
},
{
"docid": "843f2bb54477ecdc9988427a3dbcf019",
"score": "0.5373764",
"text": "private void createFolder() {\n\t\tString errorMsg = null;\n\n\t\tsynchronized (root) {\n\t\t\t// sync program so we don't get a deadlock --\n\t\t\t// an event gets generated because of the add module.\n\t\t\tsynchronized (program) {\n\t\t\t\tProgramNode node = (ProgramNode) tree.getLastSelectedPathComponent();\n\n\t\t\t\t// if the node has not been yet visited, then when the group is added via the\n\t\t\t\t// command below, the new child node in the parent will not be found\n\t\t\t\tnode.visit();\n\n\t\t\t\tString name = tree.getNewFolderName();\n\t\t\t\tString treeName = tree.getTreeName();\n\t\t\t\tCreateFolderCommand cmd = new CreateFolderCommand(treeName, name, node.getName());\n\t\t\t\tif (tree.getTool().execute(cmd, program)) {\n\t\t\t\t\tProgramModule m = program.getListing().getModule(treeName, name);\n\t\t\t\t\tinitiateCellEditor(node, m);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\terrorMsg = cmd.getStatusMsg();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (errorMsg != null) {\n\t\t\tMsg.showError(this, tree, \"Create Folder Failed\", errorMsg);\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "10bdfbe22fde68ce4d87d25d7a65570e",
"score": "0.5360148",
"text": "private void initializeCassandraDirectories() {\n final File cassandraRootDir = mCassandraConfiguration.getCassandraDir();\n\n // Delete the existing directory, if it exists.\n if (cassandraRootDir.exists()) {\n try {\n org.apache.commons.io.FileUtils.forceDelete(cassandraRootDir);\n } catch (IOException ioe) {\n throw new RuntimeException(\"Could not create root Cassandra dir \" + cassandraRootDir);\n }\n }\n\n // Create root directory.\n if (!cassandraRootDir.mkdir()) {\n throw new RuntimeException(\"Could not create root Cassandra dir \" + cassandraRootDir);\n }\n\n // Set up all of the different conf directories.\n for (MiniCassandraClusterNode node : mNodes) {\n node.setup();\n }\n }",
"title": ""
},
{
"docid": "0c867861c87ae2a458649b77001b65e3",
"score": "0.5343293",
"text": "public static void ensureDataDirExists() throws IOException {\n Files.createDirectories(getDataDir());\n }",
"title": ""
},
{
"docid": "ef079721a2ae054ffa3efdf65c359519",
"score": "0.53187037",
"text": "protected void checkAndCreateDirectory(File directory){\n if (directory == null) {\n throw new IllegalArgumentException(\"Could not write evaluator results to baseDirectory because it is null.\");\n }\n if(!directory.exists()) {\n directory.mkdirs();\n }\n if(!directory.isDirectory()){\n throw new IllegalArgumentException(\"Could not write evaluator results to baseDirectory because it is not a directory.\");\n }\n }",
"title": ""
},
{
"docid": "ac2ba72a18b22e7ffdc8f7fd8aa143fd",
"score": "0.5306087",
"text": "String createVirtualPath(Long groupId, Long projectId, Long datasetId, String directory);",
"title": ""
},
{
"docid": "b2b94a176ec80bc70c3420c8833e8b2b",
"score": "0.5299945",
"text": "private boolean createDirectory() {\n File dirFile = new File(DIR);\n if(!dirFile.exists()){\n return dirFile.mkdir();\n }\n return true;\n }",
"title": ""
},
{
"docid": "beadf9773c459637dc1513555491f9c3",
"score": "0.52874446",
"text": "public static void mkdirs(File dirs) throws IOException {\r\n if (dirs.exists()) {\r\n if (dirs.isDirectory() == false) {\r\n throw new IOException(\"Directory '\"\r\n + \"' is not a directory.\");\r\n }\r\n return;\r\n }\r\n if (dirs.mkdirs() == false) {\r\n throw new IOException(\"Unable to create directory '\" + dirs\r\n + \"'.\");\r\n }\r\n }",
"title": ""
},
{
"docid": "34228ebf5876a1c9ca0200993fed7518",
"score": "0.5286189",
"text": "public Directory createDirectory(String name, User owner){\n owner.checkWritePermissions(this);\n checkFileUnique(name);\n return new Directory(getFileSystem$6p(), name, this, owner);\n }",
"title": ""
},
{
"docid": "c207fb4b35bd160f2988677b42033015",
"score": "0.52697814",
"text": "private void createEmptySnapDiffDir(Path path) {\n try {\n if (Files.exists(path)) {\n PathUtils.deleteDirectory(path);\n }\n Files.createDirectories(path);\n } catch (IOException e) {\n throw new IllegalStateException(\"Couldn't delete existing or create new\" +\n \" directory for:\" + path, e);\n }\n\n // Create readme file.\n Path readmePath = Paths.get(path.toString(), \"_README.txt\");\n File readmeFile = new File(readmePath.toString());\n if (!readmeFile.exists()) {\n try (BufferedWriter bw = Files.newBufferedWriter(\n readmePath, StandardOpenOption.CREATE)) {\n bw.write(\"This directory is used to store SST files needed to\" +\n \" generate snap diff report for a particular job.\\n\" +\n \" DO NOT add, change or delete any files in this directory\" +\n \" unless you know what you are doing.\\n\");\n } catch (IOException ignored) {\n }\n }\n }",
"title": ""
},
{
"docid": "59a538acd6cf2b5a39451b1234aa4955",
"score": "0.52677035",
"text": "@Override\n public String getMkdirCommand (Path dir)\n {\n return \"mkdir -v -p \\\"\" + dir.toAbsolutePath() + \"\\\"\";\n }",
"title": ""
},
{
"docid": "e354f7b715fcdde073484a611c3a5108",
"score": "0.52656114",
"text": "private boolean createNewFolder(){\n File folder = new File(Environment.getExternalStorageDirectory() + \"/WantHaver\");\n boolean success = true;\n if (!folder.exists()) {\n success = folder.mkdir();\n }\n return success;\n }",
"title": ""
},
{
"docid": "ab9913c3c9298c40b247a44849cede15",
"score": "0.5261406",
"text": "private boolean isDirectory(FileSystem hdfs, String source)\n\t\t\tthrows HDFSException {\n\n\t\tPath srcPath = new Path(source);\n\t\t// Check if the file exists\n\t\ttry {\n\t\t\tif (hdfs.isDirectory(srcPath)) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tString msg = \"Cannot check whether file is a directory\";\n\t\t\tLOGGER.error(msg);\n\t\t\tthrow new HDFSException(msg + \" \" + e.getMessage());\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "5b37ee4205ec5f725a514c7fabecd189",
"score": "0.5261386",
"text": "public static Void mkdir(ArrayList<String> parameters, ArrayList<String> arguments) throws IOException{\n\n if(arguments.size() == 0){\n System.out.println(Colour.RED + \"Invalid no of args\");\n }\n\n Path directoryPath = InternalFunctions.getPath(arguments.get(0));\n\n if(Files.exists(directoryPath))\n return null;\n\n if(parameters.size() != 0 && parameters.get(0).equals(\"-p\")){\n Files.createDirectories(directoryPath);\n }\n else{\n Files.createDirectory(directoryPath);\n }\n return null;\n }",
"title": ""
},
{
"docid": "b977bbd1c5616b0fd081e866fab802d4",
"score": "0.5259777",
"text": "public FSDataOutputStream CreateFile(Configuration conf, String FileName){\n try {\n FileSystem hdfs = FileSystem.get(conf);\n Path path = new Path(FileName);\n FSDataOutputStream outputStream = hdfs.create(path);\n return outputStream;\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return null;\n }",
"title": ""
},
{
"docid": "24144013835133f7e77fa253c3994685",
"score": "0.5251653",
"text": "public void CreateFolder(){\n try {\n File folder = new File(Environment.getExternalStorageDirectory() + DBdirectory);\n boolean success = true;\n if (!folder.exists())\n {\n success = folder.mkdirs();\n }\n if (success)\n {\n }\n else\n {\n }\n }\n catch(Exception e){\n Toast.makeText(this,\"Folder creation failed... Please try again!\", Toast.LENGTH_SHORT).show();\n }\n }",
"title": ""
},
{
"docid": "075b208cc260f5e41be576cee058f59c",
"score": "0.5249358",
"text": "private void setTestDirectories() {\r\n testLoadDirectory.mkdir();\r\n\r\n testLoadFile = new File(testLoadDirectory, \"test-file-one.txt\");\r\n testPurgeFile = new File(testLoadDirectory, \"test-file-two.txt\");\r\n try {\r\n testLoadFile.createNewFile();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"title": ""
},
{
"docid": "cd6d6cb3e4b31d74f932f8ccbee72c3b",
"score": "0.52488023",
"text": "public String createLogDirectory(String path) {\n\t\tDateFormat df2 = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\tString today = df2.format(new Date());\n\t\tboolean retBool = true;\n\t\t\n\t\t//System.out.println(today);\n\t\t\n\t\tFile dir = new File(path + today);\n\t\tif(!(dir.exists() && dir.isDirectory())) {\n\t\t\tretBool = dir.mkdir();\n\t\t}\n\t\t\n\t\treturn retBool ? today : null;\t\t\n\t}",
"title": ""
},
{
"docid": "aa30454142727f2cebde7946798e4d73",
"score": "0.5247558",
"text": "private File getNewJobnameDir() {\n String jobNamePath=\"\";\n \tString jobName=\"\";\n try {\n \n jobName = File.createTempFile(\"JOB\", File.separator,new File(uploadPath)).getName();\n \n \n \n jobNamePath = uploadPath+jobName;\n \n //delete the file,we dont need it we will create a dir with this name\n (new File(jobNamePath)).delete();\n \n //new File(jobNamePath).mkdirs(); //dont create it yet ... create it only if someone uploads a file\n }catch(IOException e) {\n \n e.printStackTrace();\n return null;\n }\n return new File(jobNamePath);\n }",
"title": ""
},
{
"docid": "5928ea3a5e5b33c875a834a3ca2e1d25",
"score": "0.52350116",
"text": "private boolean createDirectory(Directory root, String path,\r\n CurrentDirectory currDir) {\r\n\r\n // get the directory name from the path\r\n String dirName = PathHandler.getItemName(path);\r\n\r\n // return false if the directory name is not valid\r\n if (!PathHandler.checkValidItemName(dirName)) {\r\n return false;\r\n }\r\n\r\n // obtain the parent directory which the new directory is to be created in\r\n Directory dir = PathHandler.getDirectoryBefore(root, currDir, path);\r\n\r\n // if the directory object does not exist or if a directory with the\r\n // same name already exists inside the parent directory, then print an\r\n // error message and return false\r\n if (dir == null || dir.getChildDirectory(dirName) != null) {\r\n Output.printCreateDirectoryError(dirName);\r\n return false;\r\n }\r\n\r\n // also print an error message and return false if a file with the same name\r\n // already exists in the parent directory\r\n if (dir.getChildFile(dirName) != null) {\r\n Output.printFileAlreadyExistsError(dirName);\r\n return false;\r\n }\r\n\r\n // create the new directory and return true\r\n dir.addDirectoryInside(dirName);\r\n Output.printDirectoryCreated(dirName);\r\n return true;\r\n }",
"title": ""
},
{
"docid": "e973888b593f679b2c779920f58b2776",
"score": "0.52327555",
"text": "boolean createDirectory(File dir) {\n\t\tif (!dir.exists()) {\n\t\t\tif (dir.mkdirs() == true) {\n\t\t\t\tdirectoriesCreated.add(dir);\n\t\t\t\treturn true;\n\t\t\t} else { //mkdirs() failed\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else if (dir.isDirectory()) { //dir already exists && is a directory\n\t\t\treturn true;\n\t\t} else { //dir exists but is not a directory\n\t\t\treturn false;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "c87b832884ff7664806f1396efc2c686",
"score": "0.52273977",
"text": "public void createDirectoryForPictures(String directory, String concreteFolder, long id){\n \tpicturesManipulator.createDirectoryForPictures(directory, concreteFolder, id);\n }",
"title": ""
},
{
"docid": "da9aa44366976055796907e237738b19",
"score": "0.52122784",
"text": "public void createDir() throws IOException {\r\n\r\n //Creation of a directory for the project\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName).mkdir();\r\n\r\n //Creation of two subdirectories : Base, for the original source code and\r\n //Mutant, for the mutated code\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant\").mkdir();\r\n\r\n //In each subdirectories, creation of two directories:\r\n // old : for the original code\r\n // new : for the code with the unit test written by the user\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new\").mkdir();\r\n\r\n //In each subdirectories, creation of two folder src and test\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/src\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/src\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/src\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/src\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/test\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/test\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/test\").mkdir();\r\n new File(this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/test\").mkdir();\r\n\r\n //Creation of a folder for each source code package\r\n //(in each \"src\" directory)\r\n for (Pack p : this.srcPack) {\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/src\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/src\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/src\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/src\");\r\n }\r\n\r\n //Creation of a folder for each test package\r\n //(in each \"test\" directory)\r\n for (Pack p : this.testPack) {\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/test\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/test\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/test\");\r\n this.createPack(p, this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/test\");\r\n }\r\n\r\n // Copy/paste of each class in the right package\r\n for (Cl c : classes) {\r\n String s = c.getPath();\r\n s = s.substring(this.projectName.length() + 1, s.length());\r\n\r\n /*.JAVA*/\r\n String src = this.origin + \"projects/\" + this.projectName + \"/\" + s + \"/\" + c.getName();\r\n String dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/\" + s + \"/\" + c.getName();\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/\" + s + \"/\" + c.getName();\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/\" + s + \"/\" + c.getName();\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/\" + s + \"/\" + c.getName();\r\n copyPaste(src, dest);\r\n \r\n /*.CLASS*/\r\n /* src = this.origin + \"projects/\" + this.projectName + \"/\" + s + \"/\" + c.getName().substring(0,c.getName().length()-4)+\"class\";\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/old/\" + s + \"/\" + c.getName().substring(0,c.getName().length()-4)+\"class\";\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Base/new/\" + s + \"/\" + c.getName().substring(0,c.getName().length()-4)+\"class\";\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/old/\" + s + \"/\" + c.getName().substring(0,c.getName().length()-4)+\"class\";\r\n copyPaste(src, dest);\r\n\r\n dest = this.origin + \"data/\" + this.name + \"/\" + this.projectName + \"/Mutant/new/\" + s + \"/\" + c.getName().substring(0,c.getName().length()-4)+\"class\";\r\n copyPaste(src, dest);*/\r\n }\r\n\r\n }",
"title": ""
}
] |
2a123507c33f53aaced6cea0b4a519e2 | After scenario tear down, will clean up the webdriver if configured to do so in reuse scenarios or close the driver in the event of an error | [
{
"docid": "660bcda6e18549f1d9162efa3abbbc77",
"score": "0.7236548",
"text": "@AfterEveryScenario\n public final void basePostScenariotearDown() {\n\n final WebDriverContext webDriverContext = webDriverContextSupplier.get();\n\n if (webDriverContext != null) {\n WebdriverReuseStategy reuseStrategy = WebdriverReuseStategy.fromConfig(Configuration.INSTANCE.getConfig());\n\n DriverFactory factory = this.webDriverFactorySupplier.get();\n\n reuseStrategy.afterScenario(factory, webDriverContextSupplier);\n }\n logScenarioDuration();\n }",
"title": ""
}
] | [
{
"docid": "81ee620bd4db46955ec4853329856ad1",
"score": "0.7899266",
"text": "@After\n public static void afterScenario() {\n LOGGER.info(\"Quit selenium webdriver\");\n DriverInstance.quitDriver();\n }",
"title": ""
},
{
"docid": "822cd3d2908539f583a6b983b553db2e",
"score": "0.78989404",
"text": "@After\r\n public void teardown() {\r\n if (driver != null) {\r\n driver.quit();\r\n }\r\n }",
"title": ""
},
{
"docid": "d87ac2d1a2fbbd821921683f38d7b5f2",
"score": "0.78960127",
"text": "@AfterTest\n\tpublic void terminateBrowser() {\n\t\tdriver.close();\n\t}",
"title": ""
},
{
"docid": "71c77724ba17526f46197ae8130a6f92",
"score": "0.7650391",
"text": "@PreDestroy\n\tpublic void destroy() {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "5e2008e0f178c22890e5023ef15a46d1",
"score": "0.7622124",
"text": "@AfterTest\n\tpublic void closeBrowser() {\n\t\tdriver.close();\n\t}",
"title": ""
},
{
"docid": "5f4ec1ed057c5883ce608e4406a348e9",
"score": "0.7610906",
"text": "public static void driverTeardown(){\n\t\tLog.info(\"Driver Teardown method going to Execute\");\n\t\tSet<String> allWindows = driver.getWindowHandles();\n\t\tint iSize = allWindows.size();\n\t\tLog.info(iSize+\" drivers are available, all the drivers will be closed\");\n\t\tif (iSize>1){\n\t\t\tdriver.quit();\n\t\t}\n\t\telse {\n\t\t\tdriver.close();\n\t\t}\n\t\tLog.debug(\"Teardown Done\");\n\t}",
"title": ""
},
{
"docid": "b18035360b44f7a11547f78a847c3ac2",
"score": "0.7608571",
"text": "@AfterClass\n\tpublic void tearDown() {\n\t\t// driver.close();\n\t\t// service.stop();\n\n\t}",
"title": ""
},
{
"docid": "3310c6bc9f730dc4ef5d91477e72b215",
"score": "0.7598645",
"text": "public static void destroyDriver() {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "4d41bec61c540ce0dad956576fcd10af",
"score": "0.75570625",
"text": "@After\n public void tearDown() {\n webDriver.quit();\n }",
"title": ""
},
{
"docid": "49be3e53f52657f76cafe81712ac0a1a",
"score": "0.74879414",
"text": "@AfterClass\n\tpublic void Shutdown() {\n\t\tdriver.close();\n\t}",
"title": ""
},
{
"docid": "8b20cfadaa0092f9ec01335efaf031c8",
"score": "0.7366232",
"text": "@AfterEach\n\tvoid tearDown() throws Exception {\n\t\twebDriver.close();\n\t\twebDriver.quit();\n\t}",
"title": ""
},
{
"docid": "c072c0e0dab57cb5748f3d11d9ea59c0",
"score": "0.736479",
"text": "@AfterMethod\n public void stop() {\n if (driver != null) {\n driver.quit();\n }\n }",
"title": ""
},
{
"docid": "595e624ee3553c6424333a1fec0210b4",
"score": "0.7345716",
"text": "@Annotations.AfterAllFeatures\n public final void afterAllFeatures() {\n // a final tear down if we're reusing webdrivers - otherwise will be left hanging around if re-use\n\n final WebDriverContext webDriverContext = webDriverContextSupplier.get();\n if (webDriverContext != null) {\n DriverFactory driverFactory = this.webDriverFactorySupplier.get();\n driverFactory.shutdownWebDriver(webDriverContext);\n webDriverContextSupplier.set(null);\n }\n }",
"title": ""
},
{
"docid": "af22c17e18d407bf0d17bee2efd76672",
"score": "0.73264664",
"text": "@AfterTest\n public void tearDown () {\n \n driver.quit();\n }",
"title": ""
},
{
"docid": "42b473f5516ccb5b8ce4a8a306e39722",
"score": "0.731287",
"text": "public void closeDriverInstance() {\n driver().quit();\n }",
"title": ""
},
{
"docid": "67a5489a021ca219419a86ee217b1cb0",
"score": "0.7296733",
"text": "@AfterMethod\r\n\tpublic void close()\r\n\t{\r\n\t\t\r\n\t\tdriver.close();\r\n\t}",
"title": ""
},
{
"docid": "cc63fa18830d5e9ba34a07bb03f7bd3d",
"score": "0.7260851",
"text": "@After\n public void tearDown() {\n driver.quit();\n }",
"title": ""
},
{
"docid": "cc63fa18830d5e9ba34a07bb03f7bd3d",
"score": "0.7260851",
"text": "@After\n public void tearDown() {\n driver.quit();\n }",
"title": ""
},
{
"docid": "cc63fa18830d5e9ba34a07bb03f7bd3d",
"score": "0.7260851",
"text": "@After\n public void tearDown() {\n driver.quit();\n }",
"title": ""
},
{
"docid": "dbfab35a4bd7c36d64819dcd11c31110",
"score": "0.72568595",
"text": "public static void closeDriver() {\n if(driverPool.get()!=null) {\n driverPool.get().quit();\n driverPool.remove();\n }\n\n\n }",
"title": ""
},
{
"docid": "e566005bb0aa2e908a460a3be49f3f92",
"score": "0.72518873",
"text": "@AfterTest\n\tpublic void tearDown() {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "36fa4abb78497df29fc70ebe05688987",
"score": "0.72409886",
"text": "public void dispose() {\n chromeDriverService.stop();\n }",
"title": ""
},
{
"docid": "9b004226e4b67cad0adda54e4682f8c5",
"score": "0.7223766",
"text": "@AfterClass\n public void tearDown() {\n driver.quit();\n }",
"title": ""
},
{
"docid": "2f8c8216efabb2f0260bc842b400b028",
"score": "0.7203952",
"text": "static void unload() {\n\t\tdriver.remove();\n\t\t// driver.set(null);\n\t}",
"title": ""
},
{
"docid": "4e254e44c7b28ef6bff76a6b5eb7b660",
"score": "0.71915317",
"text": "@AfterTest()\n\tpublic void teardown() {\n\t\t//Implicit wait function\n\t\tw.implicitwait();\n\t log.info(\"Driver Quit\");\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "78e81d1f9afcd29ac1912863dbc1aed1",
"score": "0.7183964",
"text": "public static void close() {\n webDriver.close();\n webDriver.quit();\n }",
"title": ""
},
{
"docid": "b517499bb49d9b8a6026c783ac485c80",
"score": "0.71733147",
"text": "@After\n\tpublic void tearDown() throws Exception {\n\t\tThread.sleep(2000);\t\t\t\t// OPTION 1\n\t\tdriver.close();\n\t}",
"title": ""
},
{
"docid": "3d79dbd1960967a820f4c32205e20409",
"score": "0.71664906",
"text": "@After\n public void tearDown() throws Exception {\n if (driver != null) {\n driver.quit();\n }\n }",
"title": ""
},
{
"docid": "e4aff4ffd3db2f910182bc55bd910dac",
"score": "0.7161916",
"text": "@AfterTest\n\tpublic void tearDown() {\n\t\t//driver.quit();\n\t}",
"title": ""
},
{
"docid": "8100e2d84f523e1e93e1f13f79819f99",
"score": "0.71537393",
"text": "public void close() {\n driver.close();\n }",
"title": ""
},
{
"docid": "d62f1145e8ab6be38a18fae6715087a2",
"score": "0.7142297",
"text": "@AfterClass\n public void tearDown() throws Exception {\n driver.quit();\n\n }",
"title": ""
},
{
"docid": "4eb16c2a2a29523f1f1b53edb8b2deff",
"score": "0.70720404",
"text": "@After\n public void teardown()\n throws Exception\n {\n closeAll();\n new File(\"Javascript.py\").delete();\n new File(\"VirtualBrowser.py\").delete();\n }",
"title": ""
},
{
"docid": "6ec6fd48d12157d57db5fda5661d1b07",
"score": "0.706584",
"text": "@AfterClass\n public static void close() throws InterruptedException {\n Thread.sleep(2000);\n driver.close();\n driver.quit();\n extent.flush();\n\n\n}",
"title": ""
},
{
"docid": "54096d94ea6feb099416a952722c5a5a",
"score": "0.70601237",
"text": "@AfterClass\n\tpublic static void tearDownAfterClass() throws Exception {\n\t\tdriver.close();\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "dae994c0be5f916c432ddb7a90995372",
"score": "0.70540255",
"text": "@AfterClass // Runs this method after all the test methods in the current class have been run\n public void tearDown() {\n driver.quit();\n }",
"title": ""
},
{
"docid": "d477cc1c76b5c7adeddd19bdb0e87ea8",
"score": "0.70454085",
"text": "@AfterAll\n\tpublic static void finito(){\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "5a2b802c567da04ad3c659cf88f9aebc",
"score": "0.7042524",
"text": "@After\n public void tearDown()\n {\n driver.quit();\n }",
"title": ""
},
{
"docid": "06cdc84328df5b9136998df95141f8e0",
"score": "0.70236784",
"text": "@AfterClass\r\n\t\tpublic static void tearDown(){\r\n\t\t\t//Cierra navegador y la instancia del driver\r\n\t\t\tdriver.quit();\t\t\r\n\t\t}",
"title": ""
},
{
"docid": "b732c41790ee1b66d19286b0fdfcd8cf",
"score": "0.6966652",
"text": "public void closeDriver() {\r\n\t \r\n\t\t\tdriver.close();\r\n\t\t\tdriver.quit();\r\n\t\t}",
"title": ""
},
{
"docid": "7b33aac2727cf9d7038b272e466250a8",
"score": "0.69511",
"text": "@After()\r\n\tpublic void after(Scenario sc)\r\n\t{\r\n\t closeBrowser();\r\n\t endResult();\r\n\t \r\n\t\r\n\t}",
"title": ""
},
{
"docid": "ab6f833984b54eec521b361b880c3d74",
"score": "0.6936135",
"text": "@AfterMethod\n\t\tpublic void tearDown() {\n\t\t\t//driver.quit();\n\t\t}",
"title": ""
},
{
"docid": "55eba9e26fe6c4365dd2a7f6d1475e2b",
"score": "0.6926508",
"text": "@AfterMethod\n\tpublic void tearDown()\n\t{\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "fa86083f34809cc86dfdf7baab9e3396",
"score": "0.6900987",
"text": "@DisplayName(\"Suite teardown\")\n @AfterAll\n public static void suiteTeardown() {\n Selenide.closeWebDriver();\n }",
"title": ""
},
{
"docid": "a08403cd5fd2ea817f4b2f23cba50a49",
"score": "0.69003546",
"text": "@AfterMethod(alwaysRun = true)\n\tprivate void tearDown() {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "0b6df1a5846e0e81c47695ea0afad9ca",
"score": "0.68998766",
"text": "@After\n\tpublic static void teardown() {\n\t\tgetDriverForThread().manage().deleteAllCookies();\n\t\tlogger.info(\"\\n******Test Feature Execution Ends*******\");\n\t}",
"title": ""
},
{
"docid": "c3a6ccf8fb5d3ac9ca84a324aaebc256",
"score": "0.6863744",
"text": "@After\t \t \n\t public void closeBrowser(Scenario scenario) {\n\t \tif (scenario.isFailed()) {\n\t \t\ttry {\n\t \t\t\tFile scrFile = ((TakesScreenshot)driver.getCurrentDriver()).getScreenshotAs(OutputType.FILE);\n\t \t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy_MM_dd_HHmmss\");\n\t \t\t\tDate date = new Date();\n\t \t\t\tFile destFile = new File(\"results/\"+scenario.getName()+dateFormat.format(date)+\".jpg\");\n\t \t\t\tFileUtils.copyFile(scrFile, destFile);\t \t\t\t\t \t\t\t\n\t \t\t} catch (Exception e) {\n\t \t\t\te.printStackTrace();\n\t \t\t}\n\t \t}\t \n\t \ttry{ \n \t\t\tdriver.close();\n\t \t}\n\t \tcatch(NullPointerException e)\n\t \t{\n\t \t\te.printStackTrace();\n\t \t}\n\t }",
"title": ""
},
{
"docid": "f2694bd13cfbd399e0db851f470386ae",
"score": "0.68220246",
"text": "public final void close() {\n switchToDefaultContent();\n log.trace(\"WebDriver.close();\");\n webDriver.close();\n }",
"title": ""
},
{
"docid": "02a7c4bb7d35a71e2a54a75fafd40372",
"score": "0.6793105",
"text": "@AfterClass\n\tpublic void afterClass() {\n\t\tif(this.testInDevelopment) {\n\t\t\t//This does nothing to block the closing of the window\n\t\t} else {\n\t\t\tnwd.closeWebDriver();\n\t\t\tnwd = null;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "a7a555c43b9b4076492f15d46168c373",
"score": "0.67913586",
"text": "@AfterClass\n public void after() {\n\n if (browser.isBrowserAlive()) {\n browser.exit();\n }\n }",
"title": ""
},
{
"docid": "045757c8fef341b1770f6097e8bee1f9",
"score": "0.67868173",
"text": "@AfterClass\n public static void tearDownClass() throws InterruptedException {\n driver.quit();\n }",
"title": ""
},
{
"docid": "c91ebd517ecb247448faffc4530463e7",
"score": "0.677238",
"text": "public static void closeBrowser(){\n\n // check if we have WebDriver instance or not\n // basically checking if obj is null or not\n // if not null\n // quit the browser\n // make it null , because once quit it can not be used\n if(obj != null ){\n obj.quit();\n // so when ask for it again , it gives us not quited fresh driver\n obj = null ;\n }\n\n }",
"title": ""
},
{
"docid": "4cc8e215c56b25025268f94ee207883f",
"score": "0.6739464",
"text": "@Override\n\tpublic void closeDriver() {\n\t\tgetDriver().quit();\n\t}",
"title": ""
},
{
"docid": "d8c4175cfd00952426cb8c5f282b1c6c",
"score": "0.6709543",
"text": "public static void cleanUpOnFailure() {\n\n\t\t\tif (driver != null) {\n\t\t\t\tdriver.quit();\n\t\t\t}\n//\t\t\tcommon.logInfo(\"This Test failed.Capturing Screenshot.\");\n//\t\t\tString screenshotPath = BaseUtils.Screenshot.takeScreenshot();\n//\n//\t\t\ttest.log(LogStatus.FAIL, \"Test Failed\", screenshotPath);\n//\t\t\tdriver.quit();\n//\t\t\tBaseUtils.common.getExtentReport().endTest(test);\n//\t\t\tBaseUtils.common.getExtentReport().flush();\n\n\t\t}",
"title": ""
},
{
"docid": "b5dc0bcf5fd0d684239735b970cbba4f",
"score": "0.669158",
"text": "@AfterMethod\n\tpublic void afterTest() throws Exception {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "a69d9d0b051da453b644c321968e4c56",
"score": "0.6687744",
"text": "@Override\n\tprotected void tearDown() throws Exception {\n SwengHttpClientFactory.setInstance(null);\n solo.finishOpenedActivities();\n\t}",
"title": ""
},
{
"docid": "df5cbdebdd09e47f4e96249be2ff10c4",
"score": "0.6681872",
"text": "@Test\n public void a_CreateChromeDriver()\n {\n WebDriver Driver = new ChromeDriver();\n Driver.quit();\n }",
"title": ""
},
{
"docid": "04e971b4f2c8c1abfa63a21f53444a91",
"score": "0.66786265",
"text": "@AfterClass \n\tpublic static void tearDown() {\n\t\n\t\thandlerName.setConnection(null);\n\t\thandlerName = null;\n\t\tcontrollerToBeTested = null;\n\t}",
"title": ""
},
{
"docid": "7c64d2fbc9abf707a511ff071227a868",
"score": "0.66780996",
"text": "@AfterSuite\n\tpublic void finish() {\n\n\t\tSystem.out.println(\"Stopping Selenium server\");\n\t\tdriver.quit();\n\t\t// server.stop();\n\t}",
"title": ""
},
{
"docid": "19657757802bf31c6b03cde823f11a4c",
"score": "0.6667546",
"text": "public void closeBrowsers() {\n try {\n // simple validation\n if (driver != null) {\n driver.quit();\n }\n } catch (Exception e) {\n }\n }",
"title": ""
},
{
"docid": "73d97b586aad880faf8eb467fed21b37",
"score": "0.6659754",
"text": "@AfterSuite\r\n\tpublic void tearDown() throws Exception \r\n\t{\r\n\t\tgetDriver().quit();\r\n\t}",
"title": ""
},
{
"docid": "5f3277c6292be4c735b474a4e12a14b9",
"score": "0.66577375",
"text": "private void teardown(ExtensionContext extensionContext,\n boolean quitDriver) {\n ScreenshotManager screenshotManager = new ScreenshotManager(\n extensionContext, getConfig());\n\n String contextId = extensionContext.getUniqueId();\n log.trace(\"After each for context id {}\", contextId);\n\n List<DriverHandler> driverHandlers = getValueFromContextId(\n driverHandlerMap, contextId);\n if (driverHandlers == null) {\n log.warn(\"Driver handler for context id {} not found\", contextId);\n return;\n }\n\n for (DriverHandler driverHandler : copyOf(driverHandlers).reverse()) {\n // Quit WebDriver object\n Object object = driverHandler.getObject();\n try {\n quitWebDriver(object, driverHandler, screenshotManager,\n quitDriver);\n } catch (Exception e) {\n log.warn(\"Exception closing webdriver object {}\", object, e);\n }\n\n // Clean handler\n if (quitDriver) {\n try {\n driverHandler.cleanup();\n } catch (Exception e) {\n log.warn(\"Exception cleaning handler {}\", driverHandler, e);\n }\n }\n }\n\n // Clear handler map\n driverHandlerMap.remove(contextId);\n }",
"title": ""
},
{
"docid": "8e5c822741990a19fa054323a2d6c4a9",
"score": "0.66436875",
"text": "@Override\n\tpublic void tearDown() throws Exception {\n\t\tdriver.finishOpenedActivities();\n\t}",
"title": ""
},
{
"docid": "90bbe6f93610e501a2ab8637a74dcf8b",
"score": "0.6627428",
"text": "@AfterMethod\npublic void afterMethod() {\n\tLog.endTestCase(sTestCaseName);\n\t// Closing the opened driver\n\tdriver.close();\n\t}",
"title": ""
},
{
"docid": "b2a9356bca1e5b8f774c60eee13597cd",
"score": "0.6615108",
"text": "public static void gf_CloseAndOpenBrowser() throws Exception\n\t{\n\t\tdriver.close();\n\t\tThread.sleep(lSleep_Low);\n\t\tSystem.setProperty(\"org.apache.commons.logging.Log\", \"org.apache.commons.logging.impl.Jdk14Logger\");\n\t\tif(sBrowser.equalsIgnoreCase(\"firefox\"))\n\t\t{\n\t\t\tdriver= new FirefoxDriver();\n\t\t\tdriver.manage().window().maximize();\n\t\t}\n\t\telse if(sBrowser.equalsIgnoreCase(\"ie\"))\n\t\t{\n\t\t\tFile file = new File(\"Drivers\\\\IEDriverServer.exe\");\n\t\t\tSystem.setProperty(\"webdriver.ie.driver\", file.getAbsolutePath());\n\t\t\tdriver= new InternetExplorerDriver();\n\t\t\tdriver.manage().window().maximize();\n\t\t}\n\t\telse if(sBrowser.equalsIgnoreCase(\"chrome\"))\n\t\t{\n\t\t\tSystem.setProperty(\"org.apache.commons.logging.Log\", \"org.apache.commons.logging.impl.Jdk14Logger\");\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"Drivers\\\\chromedriver.exe\");\t\n\t\t\tChromeOptions options=new ChromeOptions();\n\t\t\toptions.addArguments(\"--test-type\");\n\t\t\tdriver=new ChromeDriver(options);\n\t\t\tdriver.manage().window().maximize();\t\t\t\t\n\t\t}\n\n\t/*\tdriver = new EventFiringWebDriver(webDriver);\n\t\tMyListener myListener = new MyListener();\n\t\tdriver.register(myListener);*/\n\t\ttry \n\t\t{\n\t\t\tdriver.manage().deleteAllCookies();\n\t\t\tint implicitWaitTime = 20;\n\t\t\tif(\"ie\".equalsIgnoreCase(configProps.getProperty(\"browserType\"))){\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(implicitWaitTime * 2, TimeUnit.SECONDS);\n\t\t\t}else{\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(implicitWaitTime, TimeUnit.SECONDS);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e1)\n\t\t{\n\t\t\tSystem.out.println(e1);\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "13734c9f4e6e5bce0f1b9a20d1acb6ee",
"score": "0.6596762",
"text": "@AfterAll\n\tpublic static void afterAll() {\n\t\tdriver.quit();\n\t}",
"title": ""
},
{
"docid": "dfcbbe4be3c68bc9b44c08cbf97a72ea",
"score": "0.65950143",
"text": "public void closeAppiumInstance(WebDriver driver) {\n driver.quit();\n }",
"title": ""
},
{
"docid": "55f8eebc3656a16e300c704c629b6d7f",
"score": "0.6587589",
"text": "public void closeDriver(){\n\n\t\ttry{\n\t\t\tdriver.quit();\n\n\t\t}catch(Exception e){\n\t\t\tScriptLogger.writeError( \"e -> \"+ e.getMessage());\n\t\t\ttry{\n\t\t\t\tdriver.close();\n\t\t\t}\n\t\t\tcatch(Exception e1){\n\t\t\t\tScriptLogger.writeError(\"e1 -> \"+e1.getMessage());\n\t\t\t}\n\n\t\t}\n\t}",
"title": ""
},
{
"docid": "34bb23f86237f4f11d21acfdfd7fc761",
"score": "0.65842974",
"text": "@AfterEach\n public void afterEach() {\n homePage.logout();\n if (this.driver != null) {\n driver.quit();\n }\n }",
"title": ""
},
{
"docid": "7feea1a4b6decdfe3b41079415162f30",
"score": "0.6533669",
"text": "public void cleanup() {\n if (driver != null) {\n closeBrowser();\n }\n for (Connection conn : connections.values())\n if (conn != null) {\n try {\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n data = null;\n storage.clear();\n }",
"title": ""
},
{
"docid": "87e63d393562aa099c69a83b8b260a18",
"score": "0.65236235",
"text": "@BeforeMethod\n public void startUp() throws IOException {\n driver = getLocalDriver(getProperty(\"os\"),getProperty(\"browserName\"));\n driver.manage().deleteAllCookies();\n\n }",
"title": ""
},
{
"docid": "cea58796657404c9a0a0007776c998d0",
"score": "0.6520037",
"text": "@Before\n public void initializeTest(Scenario scenario) throws IOException {\n log.info(\"Test \" + scenario.getName() + \" Started\");\n\n if (!browseropened) {\n initBrowser();\n Runtime.getRuntime().addShutdownHook(new Thread() {\n public void run() {\n try {\n webdriver.close();\n killBrowserProcess();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }\n }",
"title": ""
},
{
"docid": "2fdecd7659ed20ec8f3a70b5065cd3be",
"score": "0.6503708",
"text": "public void cleanEnvironment() {\n // After execution\n Runtime.getRuntime().addShutdownHook(new Thread() {\n @Override\n public void run() {\n try {\n MobileDriverManager.getInstance().getDriver().close();\n logger.info(\"Close Mobile App\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }",
"title": ""
},
{
"docid": "db849ba3e6b61529afe4a679ac55aeb6",
"score": "0.650198",
"text": "@AfterMethod (alwaysRun = true)\r\n\tpublic void quitDriver() throws Exception{\r\n\r\n\t\ttry {\r\n\r\n\t\t\tif (driver != null)//Checks if driver is not equals to null\r\n\t\t\t\tdriver.quit();//Quits the driver\r\n\r\n\t\t\tLog.endTestCase();//Ends the test case\r\n\r\n\t\t}//End try\r\n\r\n\t\tcatch(Exception e){\r\n\t\t\tthrow e;\r\n\t\t}//End Catch\r\n\t}",
"title": ""
},
{
"docid": "db849ba3e6b61529afe4a679ac55aeb6",
"score": "0.650198",
"text": "@AfterMethod (alwaysRun = true)\r\n\tpublic void quitDriver() throws Exception{\r\n\r\n\t\ttry {\r\n\r\n\t\t\tif (driver != null)//Checks if driver is not equals to null\r\n\t\t\t\tdriver.quit();//Quits the driver\r\n\r\n\t\t\tLog.endTestCase();//Ends the test case\r\n\r\n\t\t}//End try\r\n\r\n\t\tcatch(Exception e){\r\n\t\t\tthrow e;\r\n\t\t}//End Catch\r\n\t}",
"title": ""
},
{
"docid": "bc2a14390e06420c8d0021d96666d35b",
"score": "0.6498222",
"text": "@AfterTest\n\npublic void terminatebrowser() {\n\tSystem.out.println(\"Terminating the browser\");\n\tPropertiesConfiguration.setproperties();\n\t\n}",
"title": ""
},
{
"docid": "fa471b29e2458c540b1993ede86d5161",
"score": "0.6477447",
"text": "public void closeBrowser()\n {\n driver.manage().deleteAllCookies();\n driver.close();\n }",
"title": ""
},
{
"docid": "e2c71a9263e1573f50e1b47b4922ce31",
"score": "0.64756054",
"text": "@AfterClass\r\n public static void tearDown() {\r\n log.info(\"cleaning up after Cucumber tests\");\r\n BeanContext.refreshContext();\r\n }",
"title": ""
},
{
"docid": "d4577dbfbad1947c50dd4e7d0348bb7c",
"score": "0.64748627",
"text": "@AfterMethod (alwaysRun = true)\r\n\tpublic void quitDriver() throws Exception{\r\n\r\n\t\ttry {\r\n\r\n\t\t\tif (driver != null)//Checks if driver is not equals to null\r\n\t\t\t\tdriver.quit();//Quits the driver\r\n\r\n\t\t\tLog.endTestCase();\r\n\r\n\t\t}//End try\r\n\r\n\t\tcatch(Exception e){\r\n\t\t\tthrow e;\r\n\t\t}//End Catch\r\n\t}",
"title": ""
},
{
"docid": "161b739a224cb6ef1d6023ee3f0e4126",
"score": "0.6470433",
"text": "public void quitDriver() {\n\tif (this.driver != null) {\n\t this.driver.quit();\n\t this.driver = null;\n\t}\n }",
"title": ""
},
{
"docid": "80d56b6495f4f8a49d23cdec361451cf",
"score": "0.6463894",
"text": "@Then(\"^close the browser$\")\n\t\tpublic void close_the_browser() throws Throwable {\n\t\t driver.quit();\n\t\t}",
"title": ""
},
{
"docid": "a0387c7ce40503fb67c14685c46a3ba9",
"score": "0.6441882",
"text": "protected void tearDown() throws Exception {\n handler = null;\n TestHelper.releaseConfigs();\n }",
"title": ""
},
{
"docid": "68bbdd1f890f40e0ca1ade7d2b722e57",
"score": "0.6437668",
"text": "@AfterTest\n\tpublic void afterMethod() throws Exception\n\t {\n\t\t AriaLoginLogout.appLogout(driver); \n\t\t //Quitting the driver\n\t\t driver.quit(); \n\t }",
"title": ""
},
{
"docid": "caf27aaec5d6b0166e1eeee47b787a44",
"score": "0.6429536",
"text": "@After\r\n public void tearDown() throws Exception {\r\n driver.quit();\r\n String verificationErrorString = verificationErrors.toString();\r\n if (!\"\".equals(verificationErrorString)) {\r\n fail(verificationErrorString);\r\n }\r\n }",
"title": ""
},
{
"docid": "fada83f7f9842e24c6d0b08ee85d789f",
"score": "0.64267564",
"text": "@AfterClass\r\n public static void tearDown() {\r\n profilePage.entryMenu();\r\n profilePage.userLogout();\r\n driver.quit(); }",
"title": ""
},
{
"docid": "88ee43b88fa13acb13e17043d61cffeb",
"score": "0.6396809",
"text": "public void tearDown() throws Exception {\r\n browser.stop();\r\n TestHelper.tearDown();\r\n super.tearDown();\r\n }",
"title": ""
},
{
"docid": "a2b5f1645f8e118a92fe2434672fa71a",
"score": "0.6367544",
"text": "@After\n public void tearDownTest(Scenario scenario) throws Throwable {\n\n if (scenario.isFailed()){\n\n File scrFile = ((TakesScreenshot) webdriver).getScreenshotAs(OutputType.FILE);\n\n try {\n String pathname = \"logs/screenshots/\" + scenario.getName() + \"_\" + timesStamp() + \".png\";\n FileUtils.copyFile(scrFile, new File(pathname));\n log.error(\"TEST \" + scenario.getName() + \" FAILED, screenshot taken to \" + pathname);\n\n //When scenarion failed it takes screenshot, logs an error and close browser.\n\n } catch (IOException e) {\n log.error(\"ERROR\", e);\n\n }\n\n\n } else {\n log.info(\"Test \" + scenario.getName() + \" PASSED\");\n }\n\n }",
"title": ""
},
{
"docid": "79e93c31eaf4bbebee04fe8373385166",
"score": "0.6355394",
"text": "@AfterSuite\n\tpublic void closeSession() {\n\t\ttest.quit();\n\t}",
"title": ""
},
{
"docid": "029b74a767da9a35c89d033600843b28",
"score": "0.6352174",
"text": "@AfterClass\n\tpublic void closebrowser(){\n\t\tSystem.out.println(\"close the Browser\");\n\t}",
"title": ""
},
{
"docid": "f56715be7d87ff9cbb46dd7de967af84",
"score": "0.6348368",
"text": "public static void closeBrowser(WebDriver driver) {\n\t\tdriver.close();\r\n\t\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "69ccdc0fd99c2094f8d33015375538c6",
"score": "0.63439757",
"text": "@After\n public void tearDown() throws Exception {\n solo.finishOpenedActivities();\n }",
"title": ""
},
{
"docid": "05edc42d2cba62831be148d8336dc6f8",
"score": "0.634275",
"text": "public void closeDriver(Logger logger){\r\n\t\t\t\r\n\t\tlogger.log(\"Closing browser \\n\");\r\n\t\tdriver.close();\r\n\t\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "04b205acd7e6dbc90a2d0ac2a1e28306",
"score": "0.6329384",
"text": "public static void cleanUp() {\n\t\t\tcommon.logInfo(\"This Test Step failed, Capturing Screenshot.\");\n\t\t\tString screenshotPath = BaseUtils.Screenshot.takeScreenshot();\n\n\t\t\ttest.log(LogStatus.FAIL, \"Test Failed\", screenshotPath);\n\t\t\tdriver.close();\n\t\t\tBaseUtils.common.getExtentReport().endTest(test);\n\t\t\tBaseUtils.common.getExtentReport().flush();\n\n\t\t}",
"title": ""
},
{
"docid": "7e1f975013dea599b68cbc5493cc9e53",
"score": "0.6309844",
"text": "@After\r\n\tpublic void tearDown() throws Exception {\n\t\tdriver.quit();\r\n\r\n\t\t// TODO Figure out how to determine if the test code has failed in a\r\n\t\t// manner other than by EISTestBase.fail() being called. Otherwise,\r\n\t\t// finish() will always print the default passed message to the console.\r\n\t\tfinish();\r\n\t}",
"title": ""
},
{
"docid": "8159791b449fa9d33b6af50a6ab79c27",
"score": "0.6295607",
"text": "@After\n public void tearDown() throws Exception{\n solo.finishOpenedActivities();\n }",
"title": ""
},
{
"docid": "c405c28674b2bb5c75e744133e2c2046",
"score": "0.62907505",
"text": "@After\r\n\tpublic void tearDown() throws Exception {\n\t\tdriver.quit();\r\n\t\t\r\n\t\t//TODO Figure out how to determine if the test code has failed in a\r\n\t\t// manner other than by EISTestBase.fail() being called. Otherwise,\r\n\t\t// finish() will always print the default passed message to the console.\r\n\t\tfinish();\r\n\t}",
"title": ""
},
{
"docid": "8bd4a5429f61494540833f5e48a0f4cd",
"score": "0.6273715",
"text": "@AfterMethod\r\n\tpublic void teardownTest() throws InterruptedException {\r\n\t\tdriver.quit();\r\n\t\tThread.sleep(1000);\r\n\t\tSystem.out.println(\"ContactsLinkTest completed successfully\");\r\n\t}",
"title": ""
},
{
"docid": "f795a0461e98aa86832a5f9a412e89cc",
"score": "0.6270136",
"text": "@After\n public void tearDown() throws Exception {\n context.close();\n enterpriseSession.logoff();\n\n }",
"title": ""
},
{
"docid": "5f919649a835295635da2cdbeedcce52",
"score": "0.62644947",
"text": "@AfterClass\n public void tearDown() throws Exception {\n if (webServer != null) {\n webServer.stop();\n }\n }",
"title": ""
},
{
"docid": "a9519b08cfc511cf351a86caa042da41",
"score": "0.6253301",
"text": "@AfterTest\n public void tearDown() {\n Log4j.endLog(\"Test is Ending\");\n\n Driver.closeDriver();\n }",
"title": ""
},
{
"docid": "b52c55846e90428b41697f68d45ddb75",
"score": "0.6239343",
"text": "@After\n public void tearDown(Scenario scenario)\n {\n scenario.attach(((TakesScreenshot) driver).getScreenshotAs(OutputType.BYTES)\n ,\"image/png\",\"image\");\n driver.quit();\n }",
"title": ""
}
] |
bb42e24db59f1585c4962bb8b42097d8 | Sends data for the patient to linkage.xml and launches the program. | [
{
"docid": "028fc3f8408cc558b29e7f558daff92f",
"score": "0.63437635",
"text": "public static void sendData(Program ProgramCur, Patient pat) throws Exception {\n String path = Programs.getProgramPath(ProgramCur);\n if (!File.Exists(path))\n {\n MessageBox.Show(path + \" could not be found.\");\n return ;\n }\n \n String dir = Path.GetDirectoryName(path);\n String linkage = CodeBase.ODFileUtils.combinePaths(dir,\"linkage.xml\");\n if (File.Exists(linkage))\n {\n File.Delete(linkage);\n }\n \n if (pat != null)\n {\n StringBuilder strb = new StringBuilder();\n XmlWriterSettings settings = new XmlWriterSettings();\n settings.Indent = true;\n settings.IndentChars = \" \";\n settings.NewLineChars = \"\\r\\n\";\n settings.OmitXmlDeclaration = true;\n XmlWriter writer = XmlWriter.Create(strb, settings);\n writer.WriteStartElement(\"LinkageParameter\");\n writer.WriteStartElement(\"Patient\");\n writer.WriteAttributeString(\"LastName\", pat.LName);\n writer.WriteAttributeString(\"FirstName\", pat.FName);\n if (StringSupport.equals(ProgramProperties.getPropVal(ProgramCur.ProgramNum,\"Enter 0 to use PatientNum, or 1 to use ChartNum\"), \"0\"))\n {\n writer.WriteAttributeString(\"ChartNumber\", pat.PatNum.ToString());\n }\n else\n {\n writer.WriteAttributeString(\"ChartNumber\", pat.ChartNumber);\n } \n writer.WriteElementString(\"Birthday\", pat.Birthdate.ToString(\"dd/MM/yyyy\"));\n String addr = pat.Address;\n if (!StringSupport.equals(pat.Address2, \"\"))\n {\n addr += \", \" + pat.Address2;\n }\n \n addr += \", \" + pat.City + \", \" + pat.State;\n writer.WriteElementString(\"Address\", addr);\n writer.WriteElementString(\"ZipCode\", pat.Zip);\n writer.WriteElementString(\"Phone\", pat.HmPhone);\n writer.WriteElementString(\"Mobile\", pat.WirelessPhone);\n writer.WriteElementString(\"SocialID\", pat.SSN);\n if (pat.Gender == PatientGender.Female)\n {\n writer.WriteElementString(\"Gender\", \"Female\");\n }\n else\n {\n writer.WriteElementString(\"Gender\", \"Male\");\n } \n writer.WriteEndElement();\n //Patient\n writer.WriteEndElement();\n //LinkageParameter\n writer.Flush();\n writer.Close();\n //MessageBox.Show(strb.ToString());\n File.WriteAllText(linkage, strb.ToString());\n }\n \n try\n {\n //whether there is a patient or not.\n Process.Start(path);\n }\n catch (Exception __dummyCatchVar0)\n {\n MessageBox.Show(\"Error launching \" + path);\n }\n \n }",
"title": ""
}
] | [
{
"docid": "66c2596080ca4010b62f3a9820fc467e",
"score": "0.5158609",
"text": "public static void main(String[] args) {\n\t /* Hannah*/\n//\t JOptionPane.showMessageDialog(frame,\n//\t\t\t \"Eggs are not supposed to be green.\");\n\t \n\t Object[] options = {\"Driver\",\n \"Rider\"};\n\t int n = JOptionPane.showOptionDialog(null,\n\t\t\t \"Are you a driver or a rider?\",\n\t\t\t \"Who are you?\",\n\t\t\t JOptionPane.YES_NO_OPTION,\n\t\t\t JOptionPane.QUESTION_MESSAGE,\n\t\t\t null,\n\t\t\t options, null);\n\t if(n==0)\n\t\t System.out.println(\"Driver\");\n\t else \n\t\t System.out.println(\"Rider\");\n\t \n \n\t String userIn = JOptionPane.showInputDialog(null, \"Tolerence time in minutes\");\n\t int time = Integer.parseInt(userIn);\n\t System.out.printf(\"The user's name is '%s'.\\n\", userIn);\n\t \n\t //send parameter\n\t //n is the client type\n\t //ParamData params = new ParamData(graphArray, n, time, sparticalReferencePass);\n\t \n\n\t \n\t /* Hannah*/\n\t \n SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n try {\n // instance of this application\n RoutingApp routingApp = new RoutingApp();\n\n // create the UI, including the map, for the application.\n JFrame appWindow = routingApp.createWindow();\n appWindow.add(routingApp.createUI());\n appWindow.setVisible(true);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }",
"title": ""
},
{
"docid": "c0be5bc6ec2c307481a2fed488619d71",
"score": "0.51124084",
"text": "private void run() throws IOException{\r\n\t\tgetFormat(\"\");\r\n\t\tmailData();\r\n\t\tfindClientData();\r\n\t\tfindDeviceData();\r\n\t\tgather();\r\n\t}",
"title": ""
},
{
"docid": "a4c143109b4dfa37ebf4ec5a0f47e004",
"score": "0.5102096",
"text": "public static void main(String[] args) \n {\n areaHospitals = loadHospitalData(\"hospitals.txt\");\n patientList = loadPatientData(\"patients.txt\");\n dispatcher = new HospitalDispatch();\n \n // Begin testing if all 3 objects created successfully\n if (areaHospitals != null && patientList != null && dispatcher != null)\n {\n // Make sure nothing happens if try to admit patient empty map\n testEmptyMap();\n \n // Add all of the hospitals and then test admitting patients\n addHospitals();\n testAdmittingPatients();\n \n // Test discharging patients\n testDischarginPatients();\n }\n else if (areaHospitals == null)\n System.out.println(\"Error loading hospital data. Exiting program.\");\n else if (patientList == null)\n System.out.println(\"Error loading patient data. Ending program.\");\n else \n System.out.println(\"Error creating HospitalDispatch object. Ending program.\");\n }",
"title": ""
},
{
"docid": "e5617422dc12175ca5942bb801dba01f",
"score": "0.50913465",
"text": "public static void main(String[] args) {\n Communication communication = new Communication();\n communication.start(6666);\n\n }",
"title": ""
},
{
"docid": "276634b5e9deeb7429e147eb43bd093e",
"score": "0.50823134",
"text": "public static void main(String[] args) {\n if (args.length != 2) {\n System.out.println(\"Usage: java DVCoordinator <AdjacencyListInputTextFile> <port number> \");\n return;\n }\n\n //read in file with initial dvNode adjacency data\n File inputAdjacencyList = new File(args[0]);\n System.out.println(\"\\nInput File is: \" + inputAdjacencyList);\n readDataFromFile(inputAdjacencyList);\n System.out.println(\"AdjacencyList is: \" + adjacencyList);\n\n createDVNodeNetwork();\n\n //create socket\n try {\n socket = new DatagramSocket(Integer.parseInt(args[1]));\n } catch (SocketException se) {\n se.printStackTrace();\n }\n\n connectToEveryDVNode();\n sendIPTableToEachDVNode();\n\n System.out.println(\"\\n\\nDV Coordinator has finished. Exiting...\");\n\n }",
"title": ""
},
{
"docid": "9d5066a783fcef90e832316db3e56571",
"score": "0.5067103",
"text": "void launch() {\n calculateIncome();\n generateReport();\n }",
"title": ""
},
{
"docid": "a57399adfbb0fa16c989b3386673d7b3",
"score": "0.5051844",
"text": "public static void main(String[] args)\n {\n\n database.openBusDatabase();\n LauncherGUI gui = new LauncherGUI();\n gui.setVisible(true);\n \n\n //Calendar startDate = Calendar.getInstance();\n\t//startDate.set(2012, 0, 25);\n //RosterManager test = new RosterManager(startDate);\n\t//test.createRoster();\n //myGetRosterGUI rosterGui = new myGetRosterGUI();\n //rosterGui.setVisible(true);\n }",
"title": ""
},
{
"docid": "e6ddef713d58333199e74f95d43a136d",
"score": "0.5004032",
"text": "public static void main( String[] args )\n {\n\t\tFhirContext ctx = FhirContext.forDstu2();\n\n\t\t// The following is an example Patient resource\n\t\tString msgString = \"<Patient xmlns=\\\"http://hl7.org/fhir\\\">\"\n\t\t\t+ \"<text><status value=\\\"generated\\\" /><div xmlns=\\\"http://www.w3.org/1999/xhtml\\\">John Cardinal</div></text>\"\n\t\t\t+ \"<identifier><system value=\\\"http://orionhealth.com/mrn\\\" /><value value=\\\"PRP1660\\\" /></identifier>\"\n\t\t\t+ \"<name><use value=\\\"official\\\" /><family value=\\\"Cardinal\\\" /><given value=\\\"John\\\" /></name>\"\n\t\t\t+ \"<gender><coding><system value=\\\"http://hl7.org/fhir/v3/AdministrativeGender\\\" /><code value=\\\"M\\\" /></coding></gender>\"\n\t\t\t+ \"<address><use value=\\\"home\\\" /><line value=\\\"2222 Home Street\\\" /></address><active value=\\\"true\\\" />\"\n\t\t\t+ \"</Patient>\";\n\n\t\t// The hapi context object is used to create a new XML parser\n\t\t// instance. The parser can then be used to parse (or unmarshall) the\n\t\t// string message into a Patient object\n\t\tIParser parser = ctx.newXmlParser();\n\t\tPatient patient = parser.parseResource(Patient.class, msgString);\n\n\t\t// The patient object has accessor methods to retrieve all of the\n\t\t// data which has been parsed into the instance.\n\t\tString patientId = patient.getIdentifier().get(0).getValue();\n\t\tString familyName = patient.getName().get(0).getFamily().get(0).getValue();\n\t\tString gender = patient.getGender();\n\n\t\tSystem.out.println(patientId); // PRP1660\n\t\tSystem.out.println(familyName); // Cardinal\n\t\tSystem.out.println(gender); // M\n\t\t\n\n\t\t/**\n\t\t * FHIR model types in HAPI are simple POJOs. To create a new\n\t\t * one, invoke the default constructor and then\n\t\t * start populating values.\n\t\t */\n\t\tPatient patient2 = new Patient();\n\t\t \n\t\t// Add an MRN (a patient identifier)\n\t\tIdentifierDt id = patient2.addIdentifier();\n\t\tid.setSystem(\"http://example.com/fictitious-mrns\");\n\t\tid.setValue(\"MRN001\");\n\t\t \n\t\t// Add a name\n\t\tHumanNameDt name = patient2.addName();\n\t\tname.setUse(NameUseEnum.OFFICIAL);\n\t\tname.addFamily(\"Tester\");\n\t\tname.addGiven(\"John\");\n\t\tname.addGiven(\"Q\");\n \n \n Composition comp= new Composition();\n \n Section sect= new Section();\n\t\t \n\t\t// We can now use a parser to encode this resource into a string.\n\t\tString encoded = ctx.newXmlParser().encodeResourceToString(patient2);\n\t\tSystem.out.println(encoded);\n//-----------------------------------------------------------------------------------------------------------------------------------\n// Our Code Starts here, I left above code so we could still see the example stuff while we are still playing\n DocReader reader = new DocReader();\n FhirMapper mapper = new FhirMapper();\n FhirPrinter printer = new FhirPrinter();\n DocData data = null;\n boolean passedFirstIteration = false;\n \n try\n {\n FileInputStream inputStream = new FileInputStream(\"\\\\docgraph\\\\Medicare-Physician-and-Other-Supplier-PUF-CY2012-head.txt\"); //put filename here\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));\n \n String line;\n while ((line = bufferedReader.readLine()) != null) // going to go through each line of the file\n {\n data = reader.processLine(line); // put a line into a DocData Element\n if(passedFirstIteration == true && mapper.exists(data.get_NPI()) == false) //if we passed the first line and the NPI's don't match meaning we found a new doctor or first one\n {\n printer.outputResource(mapper.getResource()); // before overriding, output the current resource to a file if there is one to print\n mapper.createPractitioner(data); // mapper will use all fields for the practitioner\n }\n else // the NPI's match so we keep adding observations to the practitioner resource\n {\n mapper.addAttributes(data); //having mapper add just the necessary fields to the practitioner\n }\n \n passedFirstIteration = true; // we now know there will always exist a resource from now until the end.\n }\n } catch (FileNotFoundException e)\n {\n System.out.println(\"File Not Found! File Not Found Exception\");\n }\n catch (IOException e)\n {\n System.out.println(\"File Not Found! IO Exception\");\n }\n\n }",
"title": ""
},
{
"docid": "8003777019a0fa14dc224c6b0d4be156",
"score": "0.4946669",
"text": "public static void runProgram() {\n System.out.println(\"\\nWelcome to the Employee Management System!\");\n System.out.println(\"Please input number to choose from the menu.\");\n System.out.println(\"1. Employee Management\");\n System.out.println(\"2. Statistics\");\n System.out.println(\"3. Input dummy data\");\n System.out.println(\"0. Exit\");\n\n switch (readInt()) {\n case 1:\n employeeManagement();\n break;\n case 2:\n statistics();\n break;\n case 3:\n loadDB();\n break;\n case 0:\n System.exit(0);\n default:\n System.out.println(\"Invalid input. Please try again.\");\n }\n }",
"title": ""
},
{
"docid": "c0af4e28f11cfb0970ebd1c81e3d1735",
"score": "0.4821027",
"text": "public static void main(String[] args) {\n\t\t\n\n\t\tint port = 4050; // Ports can be in the range 4000 - 4200\n\t\tString IP = \"172.29.92.26\"; // localhost\n\t\tdouble[] range = {40.441713,-79.947789,40.443844,-79.947789};\n//\t\tdouble[] location = {40.443052,-79.944806};\n\t\tdouble[] location = {40.442546,-79.941759}; // a second spot on campus\n\t\t\n\n\t\t// --------------------------------\n\t\t// construct the required objects\n\n\t\tregion = new P2PRegion(range);\n\t\tinitial_patrol_area = new NodePatrolArea(range);\n\t\tnode_loc = new NodeLocation(location);\n\t\tmyNode = new Node(initial_patrol_area,region,node_loc,port,IP);\n\n\t\tp2p = new P2PNetwork(myNode);\n\n\t\t\t\t\n\t\t// --------------------------------\n\t\t// Execute something here\n\t\t\n\t//\trun_receiver(p2p);\n\n\t}",
"title": ""
},
{
"docid": "167c0ed5d394a9a8b522b40173f73129",
"score": "0.48167706",
"text": "@Override\r\n\tpublic void autonomous() {\r\n\t\treadCode();\r\n\t\t\r\n\t\tSystem.out.println(\"Schenectady Standard launching \"\r\n\t\t\t\t+ \"autonomous using code: \" + code);\r\n\t\t\r\n\t\tautonomousCode(code);\r\n\t}",
"title": ""
},
{
"docid": "d69f44b43138f776c2eae1043d3e148d",
"score": "0.48062682",
"text": "public void startUseCase() {\n pr2edit = null;\n Intent intent = new Intent(MainController.getApp(), ScheduledProgramScreen.class);\n MainController.displayScreen(intent);\n }",
"title": ""
},
{
"docid": "71dc47604dde945141b54842daf3c2bc",
"score": "0.4793624",
"text": "public static void main(String[] args) {\n\t\ttry {\t\t\t\t\t\n\t\t\tTerminal terminal= new Terminal(\"Client\");\n\n\n\n\n\n\n\n\t\t\t// shouldnt be commented\n\t\t//\t(new SmartPhone(terminal, DEFAULT_DST_NODE, DEFAULT_DST_PORT, DEFAULT_SRC_PORT)).start();\n\n\t\t\t// create datagram sockets between all the servers and what they can see..\n\n\n\n\n\n\n\t\t\tterminal.println(\"Program completed\");\n\t\t} catch(java.lang.Exception e) {e.printStackTrace();}\n\t}",
"title": ""
},
{
"docid": "1a3df6bbdd49eb48eaed0a255e66f9ca",
"score": "0.47813186",
"text": "private void sendRaceXml() {\n server.broadcast(generatorXmlRace.getMessage());\n }",
"title": ""
},
{
"docid": "c3e9aaca94baa16691f4de278e054ddc",
"score": "0.4770433",
"text": "public static void main(String[] args) throws IOException\n {\n\n localIpAddress=InetAddress.getLocalHost();//gets the localhost\n socket=new Socket(localIpAddress, 4444); //the socket\n ReadThread readThread=new ReadThread(); //new thread for the newUser who gets online\n readThread.start();\n messageArea.appendText(\n \"To specifiy who the message is going to type\\nname of who you \"+\n \"want to send the message\\nto/the message\\n\");\n messageArea.appendText(\"To exit send end and then click the red x\\n\");\n launch(args);\n }",
"title": ""
},
{
"docid": "5f4e61220ff44c688fa3a5a1999a87ce",
"score": "0.47638768",
"text": "public void running(String path) {\n\t\tthis.procPath = path;\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tthis.readMaterialTableData();\n\t\t\tthis.parsingData();\n\t\t\t\n\t\t\tthis.readSourceData();\n\t\t\tthis.swapValue();\n\t\t\tthis.writeProc();\n\t\t\t\n\t\t\tLMain.getExportMSG().addData(\"SUCCESS - Export(mat02_flow_stress) \\n path : \"+ this.procPath);\n\t\t\tlog.info(\"SUCCESS - Export(mat02_flow_stress) \\n path : \"+ this.procPath);\n\t\t\t\n\t\t}catch(Exception e){\n\t\t\tString msg = \"ERROR - Export(mat02_flow_stress)\";\n\t\t\tmsg = msg +\"\\n\"+e.getMessage();\n\t\t\tMessageDlg messageDlg = new MessageDlg(Display.getCurrent().getActiveShell(), msg);\n\t\t\tmessageDlg.open();\n\t\t\tlog.error(msg);\n\t\t\tLMain.getExportMSG().addData(msg);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "79a0a85bb6236391e1eb5d4a3868dd75",
"score": "0.47603074",
"text": "protected void setup(){\n // Create and show the GUI\n\n //Initialized input data randomly.\n \t//app.selectSellerRandom();\n\n //Initialized fixed input data.\n app.selectSeller(getLocalName());\n\n myGui = new SellerDiscriminatoryGui(this);\n myGui.show();\n System.out.println(getAID().getLocalName() + \" is ready\");\n farmerInfo = new agentInfo(getLocalName(), app.Name, app.FarmSize, app.ConsentPrice, app.WaterReq, app.TotalProfitValue, app.TotalCost, app.TotalFarmGrossMargin, \n \t\tapp.PctReduction, app.WaterReqAfterReduction, app.ProfitAfterReduction, app.SellingVol, app.SellingPrice);\n\n //Start agent\n DFAgentDescription dfd = new DFAgentDescription();\n farmerInfo.farmerName = getAID().getLocalName();\n dfd.setName(getAID());\n ServiceDescription sd = new ServiceDescription();\n sd.setType(\"seller\");\n sd.setName(getAID().getName());\n dfd.addServices(sd);\n try {\n DFService.register(this, dfd);\n } catch (FIPAException fe) {\n fe.printStackTrace();\n }\n\n System.out.println(farmerInfo.farmerName + \" is ready\" + \"\\n\");\n\n //Add a TickerBehaviour that chooses agent status to buyer or seller.\n addBehaviour(new TickerBehaviour(this, 15000){\n protected void onTick() {\n myGui.displayUI(\"Name: \" + farmerInfo.farmerName + \"\\n\");\n //myGUI.displayUI(\"Status: \" + farmerInfo.agentType + \"\\n\");\n myGui.displayUI(\"Volumn to sell: \" + farmerInfo.sellingVol + \"\\n\");\n myGui.displayUI(\"Selling price: \" + farmerInfo.sellingPrice + \"\\n\");\n myGui.displayUI(\"\\n\");\n\n // Add the behaviour serving purchase orders from buyer agents\n addBehaviour(new PurchaseOrdersServer());\n addBehaviour(new Discriminatory());\n }\n } );\n }",
"title": ""
},
{
"docid": "650c272dd216f4c41b1693291c4d38f2",
"score": "0.47552943",
"text": "public static void main(String[] args) {\n DatabaseCallers.createEnteries();;\n System.out.println(\"Receive missed Calls\");\n // DataBaseCallers.sc\n HandleMissedCallActivities();\n DatabaseCallers.display();\n }",
"title": ""
},
{
"docid": "4ed5ae9a8456b1bea5d37251d8a1e6c3",
"score": "0.47516364",
"text": "public static void main(String[] args) {\n String[] dataLoc = LoadOrSaveDialog.getLoadChoice(\"JPL Data?\");\r\n if (dataLoc == null)\r\n System.exit(0);\r\n JPLData eph = new JPLData(dataLoc[0],dataLoc[1]);\r\n \r\n // Create the theAnim area and link it to the data.\r\n theAnim = new MobilePane(eph);\r\n \r\n // Open up the window that shows the theAnim.\r\n MobileAnim theWindow = new MobileAnim();\r\n \r\n // Start things off.\r\n theAnim.startAnim();\r\n }",
"title": ""
},
{
"docid": "2193cd271d1ff87a459f3489f5ae341f",
"score": "0.47417852",
"text": "public static void main(String[] args)\n {\n\n try\n {\n final dialogConnectTranServer dlg = new dialogConnectTranServer(null);\n\n dlg.show();\n if ( dlg.isValidData )\n {\n final String sHostIP = dlg.getServerIP();\n final int iPort = dlg.getServerPort();\n final String sHostName = dlg.getHostName();\n JOptionPane.showMessageDialog(null,\"You selected GDS \" + sHostName + \" thru server \" + sHostIP + \" port \" + iPort);\n }\n\n }\n catch (Exception e)\n {\n System.out.println(e.toString());\n }\n\n }",
"title": ""
},
{
"docid": "323614808e22f28d2bb70b986041943a",
"score": "0.47327346",
"text": "private void startThread() {\n\t\tMainThread mainThread = new MainThread(this, xmlprocessing.getBuildings());\n\t\tmainThread.startGenerate();\n\t}",
"title": ""
},
{
"docid": "8dbde0c74a1c89f120ff581a15146a34",
"score": "0.47302562",
"text": "public void run() {\r\n\r\n try {\r\n loadPipeAdv(monFichier);\r\n } catch (Exception e) { System.err.println(\"Erreur dans Client.run() : \"); e.printStackTrace(); }\r\n\r\n }",
"title": ""
},
{
"docid": "a8d1445676ccad82bfb72847989ee8bd",
"score": "0.47216877",
"text": "public static void main(String[] args) {\n\t\tDataBase myDB = DataBase.GetDataBase();\n\t\t\n\t\tArrayList<Procedure> myProcAL = new ArrayList<Procedure>();\n\t\t\n\t\tReadInputPatentsList myRIPL = new ReadInputPatentsList();\n\t\tmyProcAL.add(myRIPL);\n\t\t\n\t\tAttachDates myAD = new AttachDates();\n\t\tmyProcAL.add(myAD);\n\t\t\n\t\tWriteDates myWD = new WriteDates();\n\t\tmyProcAL.add(myWD);\n\t\t\n\t\tfor(int i = 0; i < myProcAL.size(); i++){\n\t\t\tmyProcAL.get(i).GetData(myDB);\n\t\t\tmyProcAL.get(i).Task();\n\t\t}\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "96c9ccc6a3f75aee37766095e307fd7e",
"score": "0.47103313",
"text": "public static void main(String[] args)\n {\n try\n {\n idPort = CommPortIdentifier.getPortIdentifier(\"LTP1\");\n //idPort = CommPortIdentifier.getPortIdentifier(\"trato de enviar algo!!!\");\n idPort.addPortOwnershipListener(ev);\n } catch (NoSuchPortException e)\n {System.err.println(\"ERROR al identificar puerto\");}\n\n // Abre el puerto necesario.\n try\n {\n /*if (idPort.getPortType() == CommPortIdentifier.PORT_SERIAL)\n {\n sPort = (SerialPort) idPort.open(\"Escritor en serie\", 30000);\n try\n {\n salida = sPort.getOutputStream();\n } catch (IOException e) {}\n }\n else\n {*/\n pPort = (ParallelPort) idPort.open(\"Escritor en paralelo\", 30000);\n try\n {\n salida = pPort.getOutputStream();\n } catch (IOException e) { }\n // }\n } catch (PortInUseException e)\n { System.err.println(\"ERROR al abrir puerto\");}\n\n try\n {\n salida.write(datos.getBytes());\n } catch (IOException e) { System.err.println(\"Error escritura\"); }\n\n }",
"title": ""
},
{
"docid": "ed38e4e7ee5a4b79c5c99bf4e118f70b",
"score": "0.4707714",
"text": "public static void main(String[] args) throws DLVInvocationException,\n\t\t\tIOException {\n\t\tDLVInputProgram inputProgram = new DLVInputProgramImpl();\n\n\t\t/* I can add some file to the DLVInputProgram */\n\t\t// File file1=new File(\"PATH_1\");\n\t\t// File file2=new File(\"PATH_2\");\n\t\tinputProgram.addFile(\"data/ancestor\");\n\t\tinputProgram.addFile(\"data/ancestor.db1\");\n\n\t\t/*\n\t\t * I create a new instance of DLVInvocation using the DLVWrapper class\n\t\t * specifying a path for DLV executable\n\t\t */\n\t\tDLVInvocation invocation = DLVWrapper.getInstance().createInvocation(\n\t\t\t\t\"C:/SpecialPrograms/dlv_db/dldb_win32.exe\");\n\n\t\t/* VPA ADDIN: */\n\t\tinvocation.setInputProgram(inputProgram);\n\n\t\t/* function remove automatically any existing max-int '-N' option. */\n\t\tinvocation.setMaxint(10);\n\n\t\t/*\n\t\t * Sets the max number of models computed in the DLV execution. If n is\n\t\t * 0, all models are computed.\n\t\t * \n\t\t * This method deletes each option that contains the string \"-n=\" and\n\t\t * adds a new option \"-n='n'.\n\t\t */\n\t\tinvocation.setNumberOfModels(10);\n\n\t\t/*\n\t\t * I create a new observer that receive a notification for the models\n\t\t * computed and store them in a\n\t\t * \n\t\t * list\n\t\t */\n\t\tfinal List models = new ArrayList();\n\t\tModelHandler modelHandler = new ModelHandler() {\n\t\t\tfinal public void handleResult(DLVInvocation obsd, ModelResult res) {\n\t\t\t\tmodels.add(res);\n\t\t\t\tSystem.out.println(\"MODEL RESULT---\" + res.toString());\n\t\t\t}\n\t\t};\n\t\t/* Subscribe the handler from the DLVInvocation */\n\t\tinvocation.subscribe(modelHandler);\n\n\t\t/*\n\t\t * Observer creation FactHandler factHandler=new FactHandler(){ public\n\t\t * void handleResult(DLVInvocation obsd, FactResult res) {\n\t\t * System.out.println(\"FACT====\" + res.toString()); } };\n\t\t * \n\t\t * // Observer registration invocation.subscribe(factHandler);\n\t\t */\n\n\t\t/* Observer creation */\n\t\tPredicateHandler predicateHandler = new PredicateHandler() {\n\t\t\tpublic void handleResult(DLVInvocation obsd, PredicateResult res) {\n\t\t\t\tSystem.out.println(\"MODELID:\" + res.getModelID()\n\t\t\t\t\t\t+ \" PREDICATE====\" + res.toString());\n\t\t\t}\n\t\t};\n\n\t\t// Observer registration\n\t\tinvocation.subscribe(predicateHandler);\n\n\t\t/* In this moment I can start the DLV execution */\n\t\t// invocation.run();\n\t\t/* Scroll all models computed */\n\n\t\t/* SKIP some code --------- */\n\n\t\t/*\n\t\t * Another mode to scroll the computed models is to use the\n\t\t * ModelBufferedHandler that is a concrete\n\t\t * \n\t\t * observer that work like Enumeration. NOTE: the ModelBufferedHandler\n\t\t * subscribe itself to the\n\t\t * \n\t\t * DLVInvocation\n\t\t */\n\t\tModelBufferedHandler modelBufferedHandler = new ModelBufferedHandler(\n\t\t\t\tinvocation);\n\t\t\n\t\t/* RUNING DLV: In this moment I can start the DLV execution */\n\t\tinvocation.run();\n\t\t/* Scroll all models computed */\n\t\tint h = 0; // models\n\t\tint i = 0; // predicates\n\t\tint j = 0; // literals\n\n\t\twhile (modelBufferedHandler.hasMoreModels()) {\n\t\t\tModel model = modelBufferedHandler.nextModel();\n\t\t\tPredicate firstPred = model.firstPredicate(); // VPA: tämä täytyy\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// olla, jotta\n\t\t\t// seuraava looppi (while(model.hasMorePredicates())) lähtee\n\t\t\t// juoksemaan\n\t\t\ti++;\n\t\t\tSystem.out.println(\"----------------firstPred:\"\n\t\t\t\t\t+ firstPred.toString());\n\t\t\th++;\n\t\t\twhile (firstPred.hasMoreLiterals()) {\n\t\t\t\tLiteral literal = firstPred.nextLiteral();\n\t\t\t\tj++;\n\t\t\t\tSystem.out.println(j + \": Literal**: \" + literal.toString());\n\t\t\t}\n\t\t\twhile (model.hasMorePredicates()) {\n\t\t\t\tPredicate predicate = model.nextPredicate();\n\t\t\t\ti++;\n\t\t\t\twhile (predicate.hasMoreLiterals()) {\n\t\t\t\t\tLiteral literal = predicate.nextLiteral();\n\t\t\t\t\tj++;\n\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t.println(j + \": Literal**: \" + literal.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/* If i wont to wait the finish of execution, i can use thi method */\n\t\tinvocation.waitUntilExecutionFinishes();\n\t\t/*\n\t\t * At the term of execution, I can control the errors created by DLV\n\t\t * invocation\n\t\t */\n\t\t// List =invocation.getErrors();\n\n\t\t// VPA hij=1:0:0:\n\t\tSystem.out.println(\"MODELS:PREDICATES:LITERALS=(\" + h + \":\" + i + \":\" + j + \")\");\n\n\t\tSystem.out.println(\"has model=\" + invocation.haveModel());\n\n\t}",
"title": ""
},
{
"docid": "440eab7fa76af9884ad9e7d2639c56af",
"score": "0.4701432",
"text": "public static void main(String[] args) {\n launch(P2PFileTransmitSystemApp.class, args);\n \n }",
"title": ""
},
{
"docid": "07899b9bccc7a7a16c83cfdb263b6dae",
"score": "0.46923757",
"text": "@SuppressLint(\"WrongConstant\")\n private void callRecordingApp() {\n con.sendBroadcastAsUser(new Intent(\"com.theta360.devicelibrary.receiver.ACTION_BOOT_BASIC\"), android.os.Process.myUserHandle());\n }",
"title": ""
},
{
"docid": "6146e1a672e0434f6253afedf12bd453",
"score": "0.46838152",
"text": "public static void main(String[] args) throws IOException {\r\n\t\tchar l = 'i';\r\n\t\tCalendar currentDate = Calendar.getInstance();\r\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"yyyy/MMM/dd HH:mm:ss\");\r\n\t\tjoindate = formatter.format(currentDate.getTime());\r\n\t\tPatient p1 = new Patient(1, \"Raja\", \"Miyapur,Hyderabad\", 40, 'm', \"Fever\", 250f, joindate);\r\n\t\tarl.add(p1);\r\n\t\tPatient p2 = new Patient(2, \"Rani\", \"Madhapur,Hyderabad\", 45, 'f', \"Cough\", 250f, joindate);\r\n\t\tarl.add(p2);\r\n\t\tPatient p3 = new Patient(3, \"James\", \"Hydernagar,Hyderabad\", 56, 'm', \"Cancer\", 250f, joindate);\r\n\t\tarl.add(p3);\r\n\t\tdo {\r\n\t\t\tPatient p = new Patient();\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\t\"Enter 1 to register a Patient \\n 2 to update Patient details \\n 3 to deactivate Patient details \\n 4 to display Patient details\");\r\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n\t\t\tint choice = Integer.parseInt(br.readLine());\r\n\t\t\tswitch (choice) {\r\n\t\t\tcase 1:\r\n\t\t\t\tp.registerPatient();\r\n\t\t\t\tSystem.out.println(\"Patient Registered Successfully !!!\");\r\n\t\t\t\tp.showPatientDetails();\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tp.showPatientDetails();\r\n\t\t\t\tp.updatePatientDetails();\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tp.removeInactivePatient();\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tCollections.sort(arl);\r\n\t\t\t\tp.showPatientDetails();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tSystem.out.println(\"Patient does not exist with the entered ID\");\r\n\t\t\t\tSystem.out.println(\"Try again\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"Do you want to continue selecting options (y/n):\");\r\n\t\t\tl = (char) br.read();\r\n\t\t} while (l == 'y');\r\n\t}",
"title": ""
},
{
"docid": "c57c9c622a102ec823ddf09f36eecc5c",
"score": "0.46560097",
"text": "public static void main(String[] args) {\n try {\n Thread t = new MobileControlSever(Mode.DISCOVERY, LOCAL_TCP_PORT);\n t.start();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "89c7cc815bbe30f7d36743660e0e0ecd",
"score": "0.4655186",
"text": "public static void main(String[] args) {\r\n\t\t\r\n\t\tint start = 1;\r\n\t\tString args0 = \"lattice-1.cs.colostate.edu\";\r\n\t\t\r\n\t\tString args1 = \"5634\";\r\n\t\t\r\n\t\t\r\n\t\tif (args.length != 0) {\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\t\"Usage: WindInsert [galileo-hostname] [galileo-port-number] [path-to-csv-file]\");\r\n\t\t\tSystem.exit(0);\r\n\t\t} else {\r\n\t\t\ttry {\r\n\t\t\t\tGalileoConnector gc = null;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tgc = new GalileoConnector(args0, Integer.valueOf(args1));\r\n\t\t\t\t\tSystem.out.println(args0 + \",\" + Integer.parseInt(args1));\r\n\t\t\t\t\t\r\n\t\t\t\t\tList<String> keys = new ArrayList<String>();;\r\n\t\t\t\t\tgenerateKeys(keys,\"2010-01-\", start);\r\n\t\t\t\t\t//keys.add(\"2016-05-03-9w00\");\t\t\r\n\t\t\t\t\tprocessFile(gc, keys);\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tgc.disconnect();\r\n\t\t\t\t}\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\tSystem.out.println(\"Data successfully inserted into galileo\");\r\n\t\tSystem.exit(0);\r\n\t}",
"title": ""
},
{
"docid": "8433be91edf43210306ebe53c6cdb063",
"score": "0.46548444",
"text": "@Override\n public void run() {\n Intent intent =new Intent(getApplicationContext(),patientClickActivity.class);\n startActivity(intent);\n }",
"title": ""
},
{
"docid": "6215ee5544d62dec75b35b72da37952a",
"score": "0.4653626",
"text": "public void startProgram() {\n helperOptions = new helperOptions();\n\n // Show introduction text:\n c_view.showWelcomeMessage();\n\n // start with first question\n whichAction();\n }",
"title": ""
},
{
"docid": "aa7185f5447b0dfae56e55e50dd29c65",
"score": "0.4653184",
"text": "public void mainMethod(String proname, String ddd, String fdd, String pname,String Address, String city, String ProId) throws InterruptedException\n\t\t{\n\t\t\twd.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\tthis.click_NewSingleSiteProjectButton();\n\t\t\tthis.set_ProjectNameField(proname);\n\t\t\tthis.set_DateDraftDueField(ddd);\n\t\t\tthis.set_DateFineDueField(fdd);\n\t\t\tthis.set_PropertyName(pname);\n\t\t\tthis.set_prop_AddressField(Address);\n\t\t\tthis.set_City(city);\n\t\t\tthis.set_CountryDropDown();\n\t\t\tthis.set_StateDropdown();\n\t\t\tthis.click_Phase1ESA_ParcelOptimizedPhase1Template2013ChechBox();\n\t\t\tthis.set_Project_ID(ProId);\n\t\t\tthis.click_SubmitButton();\n\t\t\tthis.redirectedPageVarification();\n\t\t\tthis.errorMessageObservation();\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "cee73dca8c335899d9d510bde5b97fff",
"score": "0.4652543",
"text": "public static void main(String[] args){\n //create a frame\n JFrame frame = new JFrame();\n \n \n \n //create the StudentClient applet and add it to the frame\n StudentClient applet = new StudentClient();\n applet.isStandAlone = true; //this is a stand alone Applet, and is not on the web\n if(args.length == 1){\n applet.host = args[0]; //change the host to the argument of different host given\n }\n \n //invoke init and start methods of applet to initialise and start the applet\n applet.init();\n applet.start();\n \n frame.add(applet);\n \n //set frame settings\n frame.setTitle(\"Register Student Client\");\n frame.pack();\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "fb56fe3a1ddf432c05b237835d6a8907",
"score": "0.46501184",
"text": "public static void main(String[] args) throws InterruptedException, IOException {\n System.out.print(\"Enter your student ID: \");\n Scanner scanner = new Scanner(System.in);\n String studentID = scanner.nextLine();\n int examID = (args.length < 1) ? 2 : Integer.parseInt(args[0]);\n Optional<LocationAPI> location = MyExams.verifyStudentID(examID, studentID);\n if (location.isEmpty()) {\n System.out.println(\"Not accepted ID.\");\n System.exit(-1);\n }\n String sessionID = location.get().getBindKey();\n try {\n Registry registry = getRegistry(location);\n Client client = new Client(studentID, new AnswerScanner(), new Displayer());\n synchronized (client) {\n MultipleChoiceServer stub = (MultipleChoiceServer) registry.lookup(sessionID);\n client.joinSession(stub);\n client.wait();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n Thread.sleep(50);\n System.exit(0);\n }",
"title": ""
},
{
"docid": "5ddbb898d6ff61c1a3db577da049f01a",
"score": "0.4644579",
"text": "private void newArrival() throws Exception {\n\t\t\n\t\t//We set randomly the health insurance of the next patient we will add to the emergency departement \n\t\tdouble x = (new Unif(0,100)).sample();\n\t\tString healthinsurance;\n\t\tif(x<50) {\n\t\t\thealthinsurance=\"\";\n\t\t}\n\t\telse if(x<80 && x>=50) {\n\t\t\thealthinsurance=\"Silver\";\n\t\t}\n\t\telse {\n\t\t\thealthinsurance=\"Gold\";\n\t\t}\n\t\t\n\t\t// We set the ID of the next patient we will add to the emergency departement\n\t\tint ID = this.emergencyDepartement.nextID();\n\t\t\n\t\t// The new Patient\n\t\tPatient newPatient = new Patient(\"Generated Patient \"+Integer.toString(ID),\"\",ID,healthinsurance,sev.name,this.emergencyDepartement.clock);\n\t\t\n\t\t// We add it\n\t\tthis.emergencyDepartement.patients.add(newPatient);\n\t\t\n\t\treturn;\n\t}",
"title": ""
},
{
"docid": "8fc8c741670b187b06eb685548450513",
"score": "0.464445",
"text": "protected void setup() {\r\n\t\t// Printout a welcome message\r\n\t\tSystem.out.println(\"Hallo! BoxAgent \" + getAID().getName() + \" is running.\");\r\n\t\tmap_subscribers = new ArrayList<AID>();\r\n\r\n\t\t// Loading arguments\r\n\t\tObject[] args = getArguments();\r\n\t\tif (args != null && args.length > 0) {\r\n\t\t\tmap_path = args[0].toString();\r\n\t\t\t\r\n\t\t\t// Register the map service for sending the map to other agents through the yellow pages\r\n\t\t\tDFAgentDescription dfd = new DFAgentDescription();\r\n\t\t\tdfd.setName(getAID());\r\n\t\t\tServiceDescription sd = new ServiceDescription();\r\n\t\t\tsd.setType(\"map\");\r\n\t\t\tsd.setName(\"Chokoban\");\r\n\t\t\tdfd.addServices(sd);\r\n\t\t\ttry {\r\n\t\t\t\tDFService.register(this, dfd);\r\n\t\t\t}\r\n\t\t\tcatch (FIPAException fe) {\r\n\t\t\t\tfe.printStackTrace();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tmap = loader();\r\n\t\t\toriginal_map = loader();\r\n\t\t\t\r\n\t\t\t// Add the behaviour serving queries from mover agents\r\n\t\t\taddBehaviour(new MapSubscribeServer());\r\n\t\t\t\r\n\t\t\taddBehaviour(new MapUpdateServer());\r\n\t\t\t\r\n\t\t\tcreateAgents();\r\n\t\t\t\r\n\t\t\tviewer = new Viewer(map.map);\r\n\t\t\t\r\n\t\t\tviewer.drawMap(map.map);\r\n\t\t\t\r\n\t\t\ttimer.restart();\r\n\t\t\t\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// Make the agent terminate\r\n\t\t\tSystem.out.println(\"No arguments was passed\");\r\n\t\t\tdoDelete();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "0f52a58849f45958f3722ccc4a2df3f2",
"score": "0.46397546",
"text": "@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "2dfda694e89400777991d829d87c5dc8",
"score": "0.4632805",
"text": "public static void main(String[] args){\n try {\n //Ejecuta InfluxDB\n String cmd1 = \"cmd /c start /D \\\"..\\\\..\\\\..\\\\..\\\\..\\\\influxdb-1.0.0-1\\\" influxd.exe\";\n Runtime.getRuntime().exec(cmd1); \n //Ejecuta Grafana\n String cmd2 = \"cmd /c start /D \\\"grafana-3.1.1\\\\bin\\\" grafana-server.exe\"; \n Runtime.getRuntime().exec(cmd2); \n //Abre la interfaz grafica de grafana en el explorador\n String url = \"http://localhost:3000/\";\n java.awt.Desktop.getDesktop().browse(java.net.URI.create(url));\n } catch (IOException ex) {\n System.err.println(\"No se pudo ejecutar influxdb o grafana correctamente\");\n Logger.getLogger(SolarCarData.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n //Lista los puertos disponibles\n Serial serial = new Serial();\n System.out.println(\"Listar Puertos:\");\n serial.listarPuertos();\n \n //Realiza la conexion con InfluxDB\n Conexion.conectar();\n \n //Realiza la conexion con el puerto serial indicado en el archivo puerto.conf\n try{\n FileReader fr = new FileReader(\"puerto.conf\");\n BufferedReader bf;\n bf = new BufferedReader(fr);\n String puerto = bf.readLine();\n bf.close();\n serial.conectar(puerto);\n }catch ( Exception e ){\n System.err.println(\"No se pudo realizar la conexion con el puerto serial\");\n Logger.getLogger(SolarCarData.class.getName()).log(Level.SEVERE, null, e);\n }\n }",
"title": ""
},
{
"docid": "d0604652a6566812fdf3e466ea1f82ca",
"score": "0.46313062",
"text": "public static void linkprofileprogram() {\n\t\tRestAssured.baseURI = SystemURl3 + \"mxcomponentapi/accessmanagement/merchants/MX/linkProfileAndProgram\";\n\t\thttpRequest = RestAssured.given();\n\t}",
"title": ""
},
{
"docid": "02f89563d2a8058fb5d9c437193a6d97",
"score": "0.4629934",
"text": "public void gripOpen(){\n\t\tProcessBuilder pb = new ProcessBuilder(\"/home/pi/arm_driver\", \"02\", \"00\", light ? \"01\" : \"00\"); \n\t\ttry {\n\t\t\tpb.start();\n\t\t\tThread.sleep(SLEEPTIME); \n\t\t\tpb = new ProcessBuilder(\"/home/pi/arm_driver\", \"00\", \"00\", light ? \"01\" : \"00\");\n\t\t\tpb.start();\n\t\t} catch (IOException | InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "8a4fbd27b151b5674cb2087de4b86e1a",
"score": "0.4626709",
"text": "public static void main(String argv[]) {\n\n /* configure server for File data store */\n DBConfig.init(argv, false);\n\n /* header */\n Print.logInfo(\"OpenDMTP Java Server Reference Implementation.\");\n Print.logInfo(\"Version: \" + DMTP_VERSION);\n Print.logInfo(COPYRIGHT);\n\n /* start server */\n if (RTConfig.getBoolean(ARG_START, false)) {\n try {\n DMTPServer.createTrackSocketHandler(_serverPort());\n }\n catch (Throwable t) { // trap any server exception\n Print.logError(\"Error: \" + t);\n }\n /* wait here forever while the server is running in a thread */\n while (true) {\n try {\n Thread.sleep(60L * 60L * 1000L);\n }\n catch (Throwable t) {\n }\n }\n }\n\n /* display usage */\n usage();\n\n }",
"title": ""
},
{
"docid": "666ed4e371c2c17fd647f4c81bd84dd6",
"score": "0.46174857",
"text": "public static void main(String[] args) {\n\t\tsimulate s=new simulate();\r\n\t\tThread bridge=new Thread(new Bridge(s),\"Vehicle\");\r\n\t\tThread poll=new Thread(new Poll(s),\"Vehicle\");\r\n\t\t\r\n\t\tbridge.start();\r\n\t\tpoll.start();\r\n\r\n\t}",
"title": ""
},
{
"docid": "b5c0e0c891342e802c0d0424562b611d",
"score": "0.46141493",
"text": "public static void main(String[] args)\n {\n conferenceregistration person1 = new conferenceregistration();\n }",
"title": ""
},
{
"docid": "0b82b37feaf4831432d46efe96d07c93",
"score": "0.46108076",
"text": "public static void main(String[] args) {\n\t\tMyProgram Instance = new MyProgram();\n\t\tInstance.variableFiller(args[0], args[1], args[2], args[3], args[4]);\n\t\t//Instance.check();\n\t\t\n\t\t//System.out.println(args[0]);\n\t\t\n\t\ttry {\n\t\t\tInstance.graphFiller(); //fills the dictionary WordMap\n\t\t\tInstance.textToSegmenter(); //Segments text \t\t\t\n\t\t\tInstance.writeArticleAsNodes(); //Writes words/nodes to new file\n\t\t\t//Instance.backToReadable(engTitle); \n\t\t\tInstance.difficultyCalculator(); //Not yet implemented. Will calculate difficulty level of the article based on percentages of words of different difficulties\n\t\t\tInstance.addToDir(); //adds the new file to the directory \n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//end instance when? After other article is clicked, or after this one finishes?\n\t\t\n\t}",
"title": ""
},
{
"docid": "6bd71ac10f3322e687619e23850c7057",
"score": "0.46071005",
"text": "public void run()\r\n\t{\r\n\t\tClockUsersAndTranslatorsFrame frm;\r\n\t\tClockUsersAndTranslatorsMessage msg;\r\n\r\n\t\tSystem.out.println(\"Démarrage de l'entité \"+this.getUserId()+\" utilisant DSR\");\r\n\r\n\t\t// wait a little amount of time to allow the construction of others agents \r\n\t\ttry{Thread.sleep(500);}catch(Exception e){}\r\n\r\n\t\tthis.setColor(Color.orange);\r\n\r\n\r\n\t\t// the decision loop is processed while the simulator don't requiere to kill or stop this agent)\r\n\t\twhile(!isKilling() && !isStopping())\r\n\t\t{\r\n\t\t\t// Pause\r\n\t\t\ttry{Thread.sleep(SLEEP_TIME_SLOT);}catch(Exception e){};\r\n\r\n\t\t\t// Preparation of the others threads\r\n\t\t\twhile( ((isSuspending()) && (!isKilling() && !isStopping()))) try{Thread.sleep(SLEEP_TIME_SLOT);}catch(Exception e){};\r\n\r\n\t\t\tthis.sleep(5000);\r\n\r\n\t\t\tif(Math.random()>0.25)\r\n\t\t\t\tthis.sendMessage(ClockUsersAndTranslatorsMessage.BROADCAST, \"Quelle heure est-il?\");\r\n\t\t\telse\r\n\t\t\t\tthis.sendMessage(ClockUsersAndTranslatorsMessage.BROADCAST, \"What time is it?\");\r\n\r\n\r\n\t\t}\r\n\r\n\t}",
"title": ""
},
{
"docid": "e1e8e639ea817f35f6d6f71b13818012",
"score": "0.46047562",
"text": "public static void main(String args[])throws Exception{ \n ClientView clientView=new ClientView();\n clientView.mainPage();\n \n/*\n PatientRepository p=new PatientRepository();\n p.setPatients(\"Akaa Shahi\",\"Teku,Kathmandu\",9878098765,\"Male\",\"[email protected]\");\n\n PatientController p=new PatientController();\n p.login(\"[email protected]\");\n*/ \n\n }",
"title": ""
},
{
"docid": "e97b9a95f9a2b525bc03700a652e80c8",
"score": "0.4600868",
"text": "public static void main(String[] args) {\n\t\tperson p=new person(\"varun\",\"Puli\",'m',Long.parseLong(args[0]));\r\n\t\t//long phone;\r\n\t\t//System.out.println(\"Enter phone number\");\r\n\t\t//phone=s.nextLong();\r\n\t\t//p.setPhone(phone);\r\n\t\tp.show();\r\n\t\t//s.close();\r\n\t}",
"title": ""
},
{
"docid": "9b5b7281b850f4b4f900875cbadf850a",
"score": "0.4598161",
"text": "public static void main(String[] args)\n\t{\n\t\tSystem.out.println(\"Starting Engine...\");\n\t\t\n\t\t\n\t\tif (args.length == 0)\n\t\t{\n\t\t\tparser = new XMLParser(\"\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tparser = new XMLParser(args[0]);\n\t\t}\n\t\t\n\t\tif(!parser.checkSchema())\n\t\t{\n\t\t\tSystem.err.println(\"XML parser failed to verify input file structure. Launcher has stopped.\");\n\t\t\treturn;\n\t\t}\n\t\tif(checkSystemParameters())\n\t\t{\n\t\t\tif(!Facade.init())\n\t\t\t{\n\t\t\t\tSystem.err.println(\"Launcher failed to load RAD-Core-Lib and has stopped.\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(!parser.getData())\n\t\t\t{\n\t\t\t\tSystem.err.println(\"XML parser failed to read input data from file. Launcher has stopped.\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tint sleepTime = parser.getCycleTime();\n\t\t\tif (sleepTime > 0) \n\t\t\t{\n\t\t\t\tnew Thread(new Scheduler(true, sleepTime)).start();;\n\t\t\t} \n\t\t\telse \n\t\t\t{\n\t\t\t\tnew Thread(new Scheduler(false, sleepTime)).start();;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.err.println(\"Launcher has found that system parameters in input file are invalid. \\nPlease check Operating system value in input file.\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "dca59de130bfece6a5bbf9615197de2d",
"score": "0.45895788",
"text": "public void run() {\n\n // If there are no command line arguments, do nothing\n if (args == null || args.length == 0)\n return;\n\n // Invoke the target application\n try {\n\n // Start the thread to check if the parent JVM exits.\n boolean waitForChild = false;\n if (System.getProperty(ChildMain.WAIT_FOR_CHILD_PROP_NAME) != null) {\n waitForChild = true;\n String heartbeatFile = System.getProperty(ChildMain.HEARTBEAT_FILE_PROP_NAME);\n ParentListener heartbeat = new ParentListener(heartbeatFile);\n // Make the thread a daemon thread so that it does not\n // prevent this process from exiting when all of the\n // appliation's threads finish.\n heartbeat.setDaemon(true);\n heartbeat.start();\n }\n\n // If applicable, redirect output and error streams\n String outputPath = System.getProperty(ChildMain.OUTPUT_FILE_PROP_NAME);\n if (outputPath != null) {\n boolean appendOutput = false;\n if (System.getProperty(ChildMain.APPEND_OUTPUT_PROP_NAME) != null)\n appendOutput = true;\n PrintStream ps = new PrintStream(new FileOutputStream(outputPath, appendOutput), true);\n System.setOut(ps);\n System.setErr(ps);\n }\n\n // The first argument should be the class that we really want to\n // invoke. Try to load the class and invoke its main(String[])\n // method with the first argument shifted out.\n Class mainClass = Class.forName(args[0]);\n Class[] paramTypes = new Class[1];\n Object[] paramValues = new Object[1];\n String[] params = new String[args.length - 1];\n // Shift args[0] out of the arguments\n for (int i = 0; i < params.length; i++)\n params[i] = args[i + 1];\n paramTypes[0] = params.getClass();\n paramValues[0] = params;\n\n // Create the icon window if this is a waitForChild task\n Frame frame = null;\n boolean displayMinimizedWindow = false;\n if (System.getProperty(ChildMain.DISPLAY_MINIMIZED_WINDOW_PROP_NAME) != null)\n displayMinimizedWindow = true;\n String osname = System.getProperty(\"os.name\").toLowerCase();\n if (displayMinimizedWindow && osname.indexOf(\"windows\") >= 0) {\n try {\n frame = new Frame();\n String title = System.getProperty(ChildMain.MINIMIZED_WINDOW_TITLE_PROP_NAME);\n if (title != null)\n frame.setTitle(title);\n frame.setState(Frame.ICONIFIED);\n String icon = System.getProperty(ChildMain.MINIMIZED_WINDOW_ICON_PROP_NAME);\n if (icon != null) {\n Image iconImage = Toolkit.getDefaultToolkit().createImage(icon);\n if (iconImage != null)\n frame.setIconImage(iconImage);\n }\n\n // Ensure that window always remains minimized\n frame.addWindowListener(new ChildWindowAdapter());\n Rectangle bounds = frame.getGraphicsConfiguration().getBounds();\n int width = (int)frame.getBounds().getWidth();\n int height = frame.getInsets().top + frame.getInsets().bottom;\n int x = (int)bounds.getWidth() - width;\n int y = (int)bounds.getHeight() - height;\n frame.setBounds(x, y, width, height);\n frame.setResizable(false);\n frame.setVisible(true);\n } catch(Exception fe) {}\n }\n\n // Invoke the main() method\n Method mainMethod = mainClass.getDeclaredMethod(\"main\", paramTypes);\n mainMethod.invoke(null, paramValues);\n\n // Close the frame if it exists\n if (frame != null && System.getProperty(ChildMain.DISPOSE_MINIMIZED_WINDOW_PROP_NAME) != null) {\n // Exit this process. Closing or disposing of the window is not\n // enough to allow the process to exit.\n System.exit(0);\n }\n\n } catch (Throwable t) {\n String message = t.getMessage();\n t.printStackTrace();\n System.exit(1);\n }\n\n }",
"title": ""
},
{
"docid": "f0c9d7dd3f8a49ff8889f7682572f5cf",
"score": "0.4588002",
"text": "@Override\n\tpublic void main(String[] arg0) throws MsgException {\n\t\tString jobName = arg0[0];\n\n\t\tJobSubmission js = JobSubmission.constructFromXML(jobName);\n\n\t\tMsg.info(\"Job submitter is submitting job: \" + js.jobToRun);\n\n\t\tjs.send(\"JobTracker\");\n\t}",
"title": ""
},
{
"docid": "34892a7b9b971fa81d7245dbe8c76e1d",
"score": "0.4587008",
"text": "private void runDeepSpeech(String audioFileLoc, String uuidDirLoc) {\n\t\t\n\t\tString whereToPutTranscript = uuidDirLoc + \"/\" + \"out.json\"; \n\t\tArrayList<String> pbList = new ArrayList<String>();\n\t\t\n\t\t//Shell script containing DeepSpeech command\n\t\tpbList.add(DSR_SCRIPT);\n\t\t//audio file passed into DeepSpeech engine as parameter\n\t\tpbList.add(audioFileLoc);\n\t\t//transcript created by inference\n\t\tpbList.add(whereToPutTranscript); \n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(pbList);\n\t\tMap<String, String> env = pb.environment();\n\t\t//Add PATH so process builder can utilize Python \n\t\tenv.put(\"PATH\", VENV_PATH);\n\t\t\t\t\n\t\ttry {\n\t\t\tpb.redirectError(new File(uuidDirLoc + \"/\" + \"RunOutput.txt\")); //Redirect errors to text file \n\t\t\tProcess p = pb.start();\n\t\t\tp.waitFor(); \n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Error\" + e);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "62629f34631ef67fcb41fb1a76180427",
"score": "0.4586513",
"text": "@Override\n\t\tpublic void run()\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\twhile (true)\n\t\t\t\t{\n\t\t\t\t\tdoctors[super.id].acquire(); // Wait for a patient to enter office\n\t\t\t\t\tprint(\"Doctor \"+super.id+\" listens to symptoms from patient \"+currentPatientOfDoctor[super.id]);\n\t\t\t\t\tpatientDoctorInteraction[currentPatientOfDoctor[super.id]].release(); // Make the patient receive advice\n\t\t\t\t}\n\t\t\t} catch (InterruptedException e) { }\n\t\t}",
"title": ""
},
{
"docid": "65ac9b9e1c9ca15e4b433440ea9a2533",
"score": "0.45842883",
"text": "public static void main(String[] args) {\n\t\tPersistentFileManager m = new PersistentFileManager();\n\t\tAgentTCPSocket a = new AgentTCPSocket(m);\n\t\tThread t = new Thread(a);\n\t\tt.start();\n\t\tnew TestJFrame(a);\n\t}",
"title": ""
},
{
"docid": "9f6a2dd30d9d588cd0c25eb58d011a21",
"score": "0.4582159",
"text": "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(\"Hostname of pi: \");\n\t\thost = s.nextLine();\n\t\tSystem.out.println(\"Port to use: \");\n\t\tport = s.nextInt();\n\t\ts.nextLine();\n\t\t\n\t\ttry\n\t\t{\n\t\t\tsocket = new Socket(host, port);\n\t\t\tpiWriter = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));\n\t\t\tpiWriter.write(\"maze\\n\"); // I think people are messing with me\n\t\t} catch (IOException e)\n\t\t{\n\t\t\tSystem.out.println(\"Error: unable to connect to RPi\");\n\t\t\te.printStackTrace();\n\t\t\ts.close();\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\tController controller = new Controller();\n\t\tListener listener = new CustomListener();\n\t\tcontroller.addListener(listener);\n\t\t\n\t\tSystem.out.println(\"Press enter to quit...\");\n s.nextLine();\n s.close();\n\t}",
"title": ""
},
{
"docid": "d35f20ea22761ab24dc5e0f3197d636d",
"score": "0.45815924",
"text": "public static void main(String[] args) throws IOException\n\t{\n\t\tEMR system = new EMR(\"./Data/Doctors.csv\", \"./Data/Patients.csv\", \"./Data/Visits.csv\");\t\t//set the filepaths to be relative to the src folder\n\t\tsystem.displayMenu();\n\t}",
"title": ""
},
{
"docid": "fb249ef819a0afc63be304fa19f3f4ce",
"score": "0.45804384",
"text": "public static void main(String [] args){\r\n /********************************************************************* \r\n // creating a Patient object.\r\n Patient p1 = new Patient();\r\n p1.setPatientId(\"7295\");\r\n p1.setPassword(\"MonkeyBoy65\");\r\n p1.setFirstName(\"Matthew\");\r\n p1.setLastName(\"Wright\");\r\n p1.setEmail(\"[email protected]\");\r\n p1.setAddress(\"121 example rd.\");\r\n p1.setInsuranceCo(\"Kaiser Perminte\");\r\n p1.display(); \r\n \r\n // testing the selectDB() method against the data base.\r\n Patient p2 = new Patient();\r\n p2.selectDB(\"A900\");\r\n p2.display(); \r\n \r\n // testing the insertDB() method against the data base.\r\n Patient p3 = new Patient();\r\n p3.insertDB(\"A007\", \"7295\", \"Matthew\", \"Wright\", \"Adairsville\", \"[email protected]\", \"Cigna\"); \r\n p3.display(); \r\n \r\n // testing the updateDB() method against the data base.\r\n Patient p4 = new Patient();\r\n p4.selectDB(\"A007\");\r\n p4.setFirstName(\"Tiffanie\");\r\n p4.setLastName(\"Flores\");\r\n p4.setPassword(\"3459\");\r\n p4.setEmail(\"[email protected]\");\r\n p4.updateDB();\r\n p4.display(); \r\n \r\n // testing the deleteDB() method against the database.\r\n Patient p5 = new Patient();\r\n p5.selectDB(\"A007\");\r\n p5.deleteDB();\r\n p5.display(); \r\n *********************************************************************/\r\n }",
"title": ""
},
{
"docid": "0802ef3c01947e95b499d1ad2be679d9",
"score": "0.45742902",
"text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\tTelephone obj4 = null;\n\t\tString browserName=\"Chrome\";\n\t\t\n\t\tif(browserName.equals(\"Chrome\"))\n\t\t{\n\t\t\tobj4 = new Mobile(); //Chrome\n\t\t\t\n\t\t}else if(browserName.equals(\"Firefox\"))\n\t\t{\n\t\t\tobj4 = new Smartphone(); // firefox\n\t\t}\n\t\t//Script calling\n\t\tobj4.calling();\n\t\t\n\t}",
"title": ""
},
{
"docid": "ec6c0e985d3aff72479686d35aafaa66",
"score": "0.45692816",
"text": "public static void main(String[] args) {\n\t\tRestaurant r=new Restaurant();\r\n\t\tperson5 d=new person5(\"hari\",r);\r\n\t\tperson5 d1=new person5(\"ravi\",r);\r\n\t\td.start();\r\n\t\td1.start();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t}",
"title": ""
},
{
"docid": "175a7a29fda551a7560d077ee97788f2",
"score": "0.45611104",
"text": "public static void main(String[] args) {\n //launch(MessengerProApp.class, args);\n try{\n \n String Name,IPAddress;\n int Port, incr =0;\n \n MessengerProject Messenger = new MessengerProject();\n \n BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));\n \n System.out.println(\"Enter the Port No.:\");\n Messenger.This_Port = Integer.parseInt(inFromUser.readLine());\n \n //Start the Login Screen\n Messenger.Start_Application();\n \n }\n catch(Exception e)\n {\n System.out.println(\"Exception occured at Main: \" + e);\n }\n }",
"title": ""
},
{
"docid": "aa4850b74c70f3793986f6f75892ae00",
"score": "0.455572",
"text": "public void launchNotification() {\n\t\tmNotifyMgr.notify(mNotificationId, mBuilder.build());\n\t\tlaunched = true;\n\t}",
"title": ""
},
{
"docid": "73e1fd7326ead109e1173b8b6d453421",
"score": "0.45526695",
"text": "public void launchJob(final String workingDir,\n\t\t\t final AppConfigType appConfig) \n\tthrows FaultType {\n\tlogger.info(\"called for job: \" + jobID);\n\n\t// get the DN of the client\n // extract the client DN and log it\n MessageContext mc = MessageContext.getCurrentContext();\n HttpServletRequest req = \n (HttpServletRequest) mc.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);\n String clientDN = (String) req.getAttribute(GSIConstants.GSI_USER_DN);\n if(clientDN != null) {\n logger.info(\"Client's DN: \" + clientDN);\n } else {\n\t clientDN = \"Unknown client\";\n\t}\n\n\t// get client IP\n\tString remoteIP = req.getRemoteAddr();\n\n\t// get the name of the service to log\n\tSOAPService service = mc.getService();\n\tString serviceName = service.getName();\n\tif (serviceName == null) {\n\t serviceName = \"Unknown service\";\n\t}\n\n\t// make sure we have all parameters we need\n\tif (appConfig.isParallel()) {\n\n\t // check to see if parallel jobs can be run\n\t if (AppServiceImpl.drmaaInUse) {\n\t\tif (AppServiceImpl.drmaaPE == null) {\n\t\t // if drmaa is being used, check to see if the pe is set up\n\t\t logger.error(\"drmaa.pe property must be specified in opal.properties \" +\n\t\t\t\t \"for parallel execution using DRMAA\");\n\t\t throw new FaultType(\"drmaa.pe property must be specified in opal.properties \" +\n\t\t\t\t\t\"for parallel execution using DRMAA\");\n\t\t}\n\n\t\tif (AppServiceImpl.mpiRun == null) {\n\t\t // need mpi.run if DRMAA is being used\n\t\t logger.error(\"mpi.run property must be specified in opal.properties \" +\n\t\t\t\t \"for parallel execution using DRMAA\");\n\t\t throw new FaultType(\"mpi.run property must be specified in \" + \n\t\t\t\t\t\"opal.properties for parallel execution \" + \n\t\t\t\t\t\"using DRMAA\");\n\t\t}\n\t } else if (!AppServiceImpl.globusInUse) {\n\t\tif (AppServiceImpl.mpiRun == null) {\n\t\t // need mpi.run if process exec is being used\n\t\t logger.error(\"mpi.run property must be specified in opal.properties \" +\n\t\t\t\t \"for parallel execution without using Globus\");\n\t\t throw new FaultType(\"mpi.run property must be specified in \" + \n\t\t\t\t\t\"opal.properties for parallel execution \" + \n\t\t\t\t\t\"without using Globus\");\n\t\t}\n\t }\n\n\t // make sure enough processors are present for the job\n\t if (jobIn.getNumProcs() == null) {\n\t\tlogger.error(\"Number of processes unspecified for parallel job\");\n\t\tthrow new FaultType(\"Number of processes unspecified for parallel job\");\n\t } else if (jobIn.getNumProcs().intValue() > AppServiceImpl.numProcs) {\n\t\tlogger.error(\"Processors required - \" + jobIn.getNumProcs() +\n\t\t\t \", available - \" + AppServiceImpl.numProcs);\n\t\tthrow new FaultType(\"Processors required - \" + jobIn.getNumProcs() +\n\t\t\t\t \", available - \" + AppServiceImpl.numProcs);\n\t }\n\t}\n\n\ttry {\n\t // initialize status of job\n\t status.setCode(GramJob.STATUS_PENDING);\n\t status.setMessage(\"Launching executable\");\n\t status.setBaseURL(new URI(AppServiceImpl.tomcatURL + jobID));\n\t} catch (MalformedURIException mue) {\n\t logger.error(\"Cannot convert base_url string to URI - \" +\n\t\t\t mue.getMessage());\n\t throw new FaultType(\"Cannot convert base_url string to URI - \" +\n\t\t\t\tmue.getMessage());\n\t}\n\n\tif (!AppServiceImpl.dbInUse) {\n\t // use an in memory hash table\n\t AppServiceImpl.statusTable.put(jobID, status);\n\t} else {\n\t // use a database\n\t Connection conn = null;\n\t try {\n\t\tconn = DriverManager.getConnection(AppServiceImpl.dbUrl,\n\t\t\t\t\t\t AppServiceImpl.dbUser,\n\t\t\t\t\t\t AppServiceImpl.dbPasswd);\n\t } catch (SQLException e) {\n\t\tlogger.error(\"Cannot connect to database - \" + e.getMessage());\n\t\tthrow new FaultType(\"Cannot connect to database - \" + e.getMessage());\n\t }\n\n\t String time = \n\t\tnew SimpleDateFormat(\"MMM d, yyyy h:mm:ss a\", Locale.US).format(new Date());\n\t String sqlStmt = \n\t\t\"insert into job_status(job_id, code, message, base_url, \" + \n\t\t\"client_dn, client_ip, service_name, start_time, last_update) \" +\n\t\t\"values ('\" + jobID + \"', \" +\n\t\tstatus.getCode() + \", \" +\n\t\t\"'\" + status.getMessage() + \"', \" +\n\t\t\"'\" + status.getBaseURL() + \"', \" +\n\t\t\"'\" + clientDN + \"', \" +\n\t\t\"'\" + remoteIP + \"', \" +\n\t\t\"'\" + serviceName + \"', \" +\n\t\t\"'\" + time + \"', \" +\n\t\t\"'\" + time + \"');\";\n\t try {\n\t\tStatement stmt = conn.createStatement();\n\t\tstmt.executeUpdate(sqlStmt);\n\t\tconn.close();\n\t } catch (SQLException e) {\n\t\tlogger.error(\"Cannot insert job status into database - \" + e.getMessage());\n\t\tthrow new FaultType(\"Cannot insert job status into database - \" + \n\t\t\t\t e.getMessage());\n\t }\n\t}\n\n\t// create list of arguments\n\tString args = appConfig.getDefaultArgs();\n\tif (args == null) {\n\t args = jobIn.getArgList();\n\t} else {\n\t String userArgs = jobIn.getArgList();\n\t if (userArgs != null)\n\t\targs += \" \" + userArgs;\n\t}\n\tif (args != null) {\n\t args = args.trim();\n\t}\n\tlogger.debug(\"Argument list: \" + args);\n\n\t// launch the executable\n\tif (AppServiceImpl.drmaaInUse) {\n\t // launch executable using DRMAA\n\t String cmd = null;\n\t String[] argsArray = null;\n\n\t if (appConfig.isParallel()) {\n\t\t// create command string and arguments for parallel run\n\t\tcmd = \"/bin/sh\";\n\n\t\t// append arguments - needs to be this way to locate machinefile\n\t\tString newArgs = AppServiceImpl.mpiRun + \n\t\t \" -machinefile $TMPDIR/machines\" +\n\t\t \" -np \" + jobIn.getNumProcs() + \" \" +\n\t\t appConfig.getBinaryLocation();\n\t\tif (args != null) {\n\t\t args = newArgs + \" \" + args;\n\t\t} else {\n\t\t args = newArgs;\n\t\t}\n\t\tlogger.debug(\"CMD: \" + args);\n\n\t\t// construct the args array\n\t\targsArray = new String[] {\"-c\", args};\n\t } else {\n\t\t// create command string and arguments for serial run\n\t\tcmd = appConfig.getBinaryLocation();\n\t\tif (args == null)\n\t\t args = \"\";\n\t\tlogger.debug(\"CMD: \" + cmd + \" \" + args);\n\n\t\t// construct the args array\n\t\targsArray = args.split(\" \");\n\t }\n\n\t // run executable in the working directory\n\t try {\n\t\tlogger.debug(\"Working directory: \" + workingDir);\n\n\t\tJobTemplate jt = session.createJobTemplate();\n\t\tif (appConfig.isParallel()) \n\t\t jt.setNativeSpecification(\"-pe \" + AppServiceImpl.drmaaPE + \" \" +\n\t\t\t\t\t jobIn.getNumProcs());\n\t\tjt.setRemoteCommand(cmd);\n\t\tjt.setArgs(argsArray);\n\t\tjt.setJobName(jobID);\n\t\tjt.setWorkingDirectory(workingDir);\n\t\tjt.setErrorPath(\":\" + workingDir + \"/stderr.txt\");\n\t\tjt.setOutputPath(\":\" + workingDir + \"/stdout.txt\");\n\t\tdrmaaJobID = session.runJob(jt);\n\t\tlogger.info(\"DRMAA job has been submitted with id \" + drmaaJobID);\n\t\tsession.deleteJobTemplate(jt);\n\t } catch (Exception ex) {\n\t\tlogger.error(ex);\n\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\tstatus.setMessage(\"Error while running executable via DRMAA - \" +\n\t\t\t\t ex.getMessage());\n\t\tif (AppServiceImpl.dbInUse) {\n\t\t try {\n\t\t\tupdateStatusInDatabase(jobID, status);\n\t\t } catch (SQLException e) {\n\t\t\tlogger.error(e);\n\t\t\tthrow new FaultType(\"Cannot update status into database - \" +\n\t\t\t\t\t e.getMessage());\n\t\t }\n\t\t}\n\t\t\n\t\treturn;\n\t }\n\n\t // update status to active\n\t status.setCode(GramJob.STATUS_ACTIVE);\n\t status.setMessage(\"Execution in progress\");\n\t if (AppServiceImpl.dbInUse) {\n\t\ttry {\n\t\t updateStatusInDatabase(jobID, status);\n\t\t} catch (SQLException e) {\n\t\t logger.error(e);\n\t\t throw new FaultType(\"Cannot update status into database - \" +\n\t\t\t\t\te.getMessage());\n\t\t}\n\t }\n\t} else if (AppServiceImpl.globusInUse) {\n\t // launch executable using Globus\n\t String rsl = null;\n\n\t if (appConfig.isParallel()) {\n\t\t// create RSL for parallel run\n\t\trsl =\n\t\t \"&(directory=\" + workingDir + \")\" + \n\t\t \"(executable=\" + appConfig.getBinaryLocation() + \")\" + \n\t\t \"(count=\" + jobIn.getNumProcs() + \")\" +\n\t\t \"(jobtype=mpi)\" +\n\t\t \"(stdout=stdout.txt)\" + \n\t\t \"(stderr=stderr.txt)\";\n\t } else {\n\t\t// create RSL for serial run\n\t\trsl = \n\t\t \"&(directory=\" + workingDir + \")\" + \n\t\t \"(executable=\" + appConfig.getBinaryLocation() + \")\" + \n\t\t \"(stdout=stdout.txt)\" + \n\t\t \"(stderr=stderr.txt)\";\n\t }\n\n\t // add arguments to the RSL\n\t if (args != null) {\n\t\t// put every argument within quotes - needed by Globus if some of \n\t\t// the arguments are of the form name=value\n\t\targs = \"\\\"\" + args + \"\\\"\";\n\t\targs = args.replaceAll(\"[\\\\s]+\", \"\\\" \\\"\");\n\t\trsl += \"(arguments=\" + args + \")\";\n\t }\n\t logger.debug(\"RSL: \" + rsl);\n\n\t // execute the job using GRAM\n\t try {\n\t\tjob = new GramJob(rsl);\n\n\t\t// create credentials from service certificate/key\n\t\tGlobusCredential globusCred = \n\t\t new GlobusCredential(AppServiceImpl.serviceCertPath, \n\t\t\t\t\t AppServiceImpl.serviceKeyPath);\n\t\tGSSCredential gssCred = \n\t\t new GlobusGSSCredentialImpl(globusCred,\n\t\t\t\t\t\tGSSCredential.INITIATE_AND_ACCEPT);\n\n\t\t// set the credentials for the job\n\t\tjob.setCredentials(gssCred);\n\t\t\n\t\t// add a listener for the job\n\t\tjob.addListener(this);\n\n\t\t// execute the globus job\n\t\tjob.request(AppServiceImpl.gatekeeperContact);\n\t } catch (Exception ge) {\n\t\tlogger.error(ge);\n\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\tstatus.setMessage(\"Error while running executable via Globus - \" +\n\t\t\t\t ge.getMessage());\n\t\tif (AppServiceImpl.dbInUse) {\n\t\t try {\n\t\t\tupdateStatusInDatabase(jobID, status);\n\t\t } catch (SQLException e) {\n\t\t\tlogger.error(e);\n\t\t\tthrow new FaultType(\"Cannot update status into database - \" +\n\t\t\t\t\t e.getMessage());\n\t\t }\n\t\t}\n\n\t\treturn;\n\t }\n\t} else {\n\t // launch executable using process exec\n\t String cmd = null;\n\t \n\t if (appConfig.isParallel()) {\n\t\t// create command string for parallel run\n\t\tcmd = new String(AppServiceImpl.mpiRun + \" \" +\n\t\t\t\t \"-np \" + jobIn.getNumProcs() + \" \" +\n\t\t\t\t appConfig.getBinaryLocation());\n\t } else {\n\t\t// create command string for serial run\n\t\tcmd = new String(appConfig.getBinaryLocation());\n\t }\n\n\t // append arguments\n\t if (args != null) {\n\t\tcmd += \" \" + args;\n\t }\n\t logger.debug(\"CMD: \" + cmd);\n\n\t // run executable in the working directory\n\t try {\n\t\tlogger.debug(\"Working directory: \" + workingDir);\n\t\tproc = Runtime.getRuntime().exec(cmd, null, new File(workingDir));\n\n\t\t// spawn new threads to write out stdout, and stderr\n\t\tstdoutThread = writeStdOut(proc, workingDir);\n\t\tstderrThread = writeStdErr(proc, workingDir);\n\t } catch (IOException ioe) {\n\t\tlogger.error(ioe);\n\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\tstatus.setMessage(\"Error while running executable via fork - \" +\n\t\t\t\t ioe.getMessage());\n\t\tif (AppServiceImpl.dbInUse) {\n\t\t try {\n\t\t\tupdateStatusInDatabase(jobID, status);\n\t\t } catch (SQLException e) {\n\t\t\tlogger.error(e);\n\t\t\tthrow new FaultType(\"Cannot update status into database - \" +\n\t\t\t\t\t e.getMessage());\n\t\t }\n\t\t}\n\t\t\n\t\treturn;\n\t }\n\n\t // update status to active\n\t status.setCode(GramJob.STATUS_ACTIVE);\n\t status.setMessage(\"Execution in progress\");\n\t if (AppServiceImpl.dbInUse) {\n\t\ttry {\n\t\t updateStatusInDatabase(jobID, status);\n\t\t} catch (SQLException e) {\n\t\t logger.error(e);\n\t\t throw new FaultType(\"Cannot update status into database - \" +\n\t\t\t\t\te.getMessage());\n\t\t}\n\t }\n\t}\n\t\n\t// block till the job finishes, so that output metadata can be created\n\tnew Thread() {\n\t public void run() {\n\t\t// wait for job to finish\n\t\ttry {\n\t\t waitForCompletion();\n\t\t} catch (FaultType f) {\n\t\t // log exception\n\t\t logger.error(f);\n\n\t\t // wake up threads waiting for job to finish\n\t\t synchronized(status) {\n\t\t\tstatus.notifyAll();\n\t\t }\n\n\t\t // no point going further\n\t\t return;\n\t\t}\n\n\t\tif (AppServiceImpl.drmaaInUse || \n\t\t !AppServiceImpl.globusInUse) { // if DRMAA or process fork has been used\n\n\t\t // let the stdout, stderr threads know that the process is done\n\t\t done = true;\n\n\t\t // bit of a hack because execution completion does not\n\t\t // equal completion of Web service call\n\t\t status.setCode(GramJob.STATUS_STAGE_OUT);\n\t\t status.setMessage(\"Writing output metadata\");\n\n\t\t if (AppServiceImpl.dbInUse) {\n\t\t\ttry {\n\t\t\t updateStatusInDatabase(jobID, status);\n\t\t\t} catch (SQLException e) {\n\t\t\t // set status to FAILED\n\t\t\t status.setCode(GramJob.STATUS_FAILED);\n\t\t\t status.setMessage(\"Cannot update status database after finish - \" +\n\t\t\t\t\t e.getMessage());\n\t\t\t \n\t\t\t // log exception\n\t\t\t logger.error(e);\n\n\t\t\t // wake up threads waiting for job to finish\n\t\t\t synchronized(status) {\n\t\t\t\tstatus.notifyAll();\n\t\t\t }\n\n\t\t\t // no point going any further\n\t\t\t return;\n\t\t\t}\n\t\t }\n\t\t}\n\n\t\t// retrieve outputs\n\t\ttry {\n\t\t // make sure that all outputs have been written out\n\t\t if (!AppServiceImpl.drmaaInUse && !AppServiceImpl.globusInUse) {\n\t\t\ttry {\n\t\t\t logger.debug(\"Waiting for all outputs to be written out\");\n\t\t\t stdoutThread.join();\n\t\t\t stderrThread.join();\n\t\t\t logger.debug(\"All outputs successfully written out\");\n\t\t\t} catch (InterruptedException ignore) {}\n\t\t }\n\n\t\t // make sure the stdout and stderr exist\n\t\t File stdOutFile = new File(workingDir + File.separator + \"stdout.txt\");\n\t\t if (!stdOutFile.exists()) {\n\t\t\tthrow new IOException(\"Standard output missing for execution\");\n\t\t }\n\t\t File stdErrFile = new File(workingDir + File.separator + \"stderr.txt\");\n\t\t if (!stdErrFile.exists()) {\n\t\t\tthrow new IOException(\"Standard error missing for execution\");\n\t\t }\n\n\t\t // archive the outputs, if need be\n\t\t if (AppServiceImpl.archiveData) {\n\t\t\tlogger.debug(\"Archiving output files\");\n\n\t\t\t// get a list of files\n\t\t\tFile f = new File(workingDir);\n\t\t\tFile[] outputFiles = f.listFiles();\n\n\t\t\tZipOutputStream out = \n\t\t\t new ZipOutputStream(new FileOutputStream(workingDir + \n\t\t\t\t\t\t\t\t File.separator + \n\t\t\t\t\t\t\t\t jobID + \n\t\t\t\t\t\t\t\t \".zip\"));\n\t\t\t// Create a buffer for reading the files\n\t\t\tbyte[] buf = new byte[1024];\n \n\t\t\ttry {\n \n\t\t\t // Compress the files\n\t\t\t for (int i = 0; i < outputFiles.length; i++) {\n\t\t\t\tFileInputStream in = new FileInputStream(outputFiles[i]);\n\t\t\t\t\n\t\t\t\t// Add ZIP entry to output stream.\n\t\t\t\tout.putNextEntry(new ZipEntry(outputFiles[i].getName()));\n\t\t\t\t\n\t\t\t\t// Transfer bytes from the file to the ZIP file\n\t\t\t\tint len;\n\t\t\t\twhile ((len = in.read(buf)) > 0) {\n\t\t\t\t out.write(buf, 0, len);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Complete the entry\n\t\t\t\tout.closeEntry();\n\t\t\t\tin.close();\n\t\t\t }\n\t\t\t \n\t\t\t // Complete the ZIP file\n\t\t\t out.close();\n\t\t\t} catch (IOException e) {\n\t\t\t logger.error(e);\n\t\t\t logger.error(\"Error not fatal - moving on\");\n\t\t\t}\n\t\t }\n\n\t\t // go ahead if they do - at least 2 files exist now\n\t\t File f = new File(workingDir);\n\t\t File[] outputFiles = f.listFiles();\n\n\t\t OutputFileType[] outputFileObj = new OutputFileType[outputFiles.length-2];\n\t\t int j = 0;\n\t\t for (int i = 0; i < outputFiles.length; i++) {\n\t\t\tif (outputFiles[i].getName().equals(\"stdout.txt\")) {\n\t\t\t outputs.setStdOut(new URI(AppServiceImpl.tomcatURL +\n\t\t\t\t\t\t jobID + \n\t\t\t\t\t\t \"/stdout.txt\"));\n\t\t\t} else if (outputFiles[i].getName().equals(\"stderr.txt\")) {\n\t\t\t outputs.setStdErr(new URI(AppServiceImpl.tomcatURL +\n\t\t\t\t\t\t jobID + \n\t\t\t\t\t\t \"/stderr.txt\"));\n\t\t\t} else {\n\t\t\t // NOTE: all input files will also be duplicated here\n\t\t\t OutputFileType next = new OutputFileType();\n\t\t\t next.setName(outputFiles[i].getName());\n\t\t\t next.setUrl(new URI(AppServiceImpl.tomcatURL +\n\t\t\t\t\t\tjobID +\n\t\t\t\t\t\t\"/\" +\n\t\t\t\t\t\toutputFiles[i].getName()));\n\t\t\t outputFileObj[j++] = next;\n\t\t\t}\n\t\t }\n\t\t outputs.setOutputFile(outputFileObj);\n\t\t} catch (IOException e) {\n\t\t // set status to FAILED\n\t\t status.setCode(GramJob.STATUS_FAILED);\n\t\t status.setMessage(\"Cannot retrieve outputs after finish - \" +\n\t\t\t\t e.getMessage());\n\t\t \n\t\t // log exception\n\t\t logger.error(e);\n\n\t\t // update status in database\n\t\t if (AppServiceImpl.dbInUse) {\n\t\t\ttry {\n\t\t\t updateStatusInDatabase(jobID, status);\n\t\t\t} catch (SQLException se) {\n\t\t\t // log exception\n\t\t\t logger.error(se);\n\t\t\t}\n\t\t }\n\n\t\t // wake up threads waiting for job to finish\n\t\t synchronized(status) {\n\t\t\tstatus.notifyAll();\n\t\t }\n\n\t\t // no point going any further\n\t\t return;\n\t\t}\n\n\t\tif (!AppServiceImpl.dbInUse) {\n\t\t // use an in memory hash table\n\t\t AppServiceImpl.outputTable.put(jobID, outputs);\n\t\t} else {\n\t\t // use a database\n\t\t Connection conn = null;\n\t\t try {\n\t\t\tconn = DriverManager.getConnection(AppServiceImpl.dbUrl,\n\t\t\t\t\t\t\t AppServiceImpl.dbUser,\n\t\t\t\t\t\t\t AppServiceImpl.dbPasswd);\n\t\t } catch (SQLException e) {\n\t\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\t\tstatus.setMessage(\"Cannot connect to database after finish - \" +\n\t\t\t\t\t e.getMessage());\n\t\t\t\n\t\t\t// log exception\n\t\t\tlogger.error(e);\n\n\t\t\t// wake up threads waiting for job to finish\n\t\t\tsynchronized(status) {\n\t\t\t status.notifyAll();\n\t\t\t}\n\t\t\t\n\t\t\t// no point going any further\n\t\t\treturn;\n\t\t }\n\t\t \n\t\t // Write outputs to database\n\t\t String sqlStmt = \n\t\t\t\"insert into job_output(job_id, std_out, std_err) \" + \n\t\t\t\"values ('\" + jobID + \"', \" +\n\t\t\t\"'\" + outputs.getStdOut().toString() + \"', \" +\n\t\t\t\"'\" + outputs.getStdErr().toString() + \"');\";\n\t\t Statement stmt = null;\n\t\t try {\n\t\t\tstmt = conn.createStatement();\n\t\t\tstmt.executeUpdate(sqlStmt);\n\t\t } catch (SQLException e) {\n\t\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\t\tstatus.setMessage(\"Cannot update job output database after finish - \" +\n\t\t\t\t\t e.getMessage());\n\t\t\t\n\t\t\t// log exception\n\t\t\tlogger.error(e);\n\t\t\t\n\t\t\t// update status in database\n\t\t\ttry {\n\t\t\t updateStatusInDatabase(jobID, status);\n\t\t\t} catch (SQLException se) {\n\t\t\t // log exception\n\t\t\t logger.error(se);\n\t\t\t}\n\n\t\t\t// wake up threads waiting for job to finish\n\t\t\tsynchronized(status) {\n\t\t\t status.notifyAll();\n\t\t\t}\n\n\t\t\t// no point going any further\n\t\t\treturn;\n\t\t }\n\n\t\t OutputFileType[] outputFile = outputs.getOutputFile();\n\t\t for (int i = 0; i < outputFile.length; i++) {\n\t\t\tsqlStmt = \n\t\t\t \"insert into output_file(job_id, name, url) \" + \n\t\t\t \"values ('\" + jobID + \"', \" +\n\t\t\t \"'\" + outputFile[i].getName() + \"', \" +\n\t\t\t \"'\" + outputFile[i].getUrl().toString() + \"');\";\n\t\t\ttry {\n\t\t\t stmt = conn.createStatement();\n\t\t\t stmt.executeUpdate(sqlStmt);\n\t\t\t} catch (SQLException e) {\n\t\t\t status.setCode(GramJob.STATUS_FAILED);\n\t\t\t status.setMessage(\"Cannot update output_file DB after finish - \" +\n\t\t\t\t\t e.getMessage());\n\t\t\t \n\t\t\t // log exception\n\t\t\t logger.error(e);\n\n\t\t\t // update status in database\n\t\t\t try {\n\t\t\t\tupdateStatusInDatabase(jobID, status);\n\t\t\t } catch (SQLException se) {\n\t\t\t\t// log exception\n\t\t\t\tlogger.error(se);\n\t\t\t }\n\n\t\t\t // wake up threads waiting for job to finish\n\t\t\t synchronized(status) {\n\t\t\t\tstatus.notifyAll();\n\t\t\t }\n\n\t\t\t // no point going any further\n\t\t\t return;\n\t\t\t}\n\t\t }\n \t\t}\n\n\t\t// set status to DONE or FAILED\n\t\tif (terminatedOK()) {\n\t\t status.setCode(GramJob.STATUS_DONE);\n\t\t status.setMessage(\"Execution complete - \" + \n\t\t\t\t \"check outputs to verify successful execution\");\n\t\t} else {\n\t\t status.setCode(GramJob.STATUS_FAILED);\n\t\t status.setMessage(\"Execution failed\");\n\t\t}\n\n\t\tif (AppServiceImpl.dbInUse) {\n\t\t try {\n\t\t\tupdateStatusInDatabase(jobID, status);\n\t\t } catch (SQLException e) {\n\t\t\t// set status to FAILED\n\t\t\tstatus.setCode(GramJob.STATUS_FAILED);\n\t\t\tstatus.setMessage(\"Cannot update status database after finish - \" +\n\t\t\t\t\t e.getMessage());\n\t\t\t\n\t\t\t// log exception\n\t\t\tlogger.error(e);\n\n\t\t\t// wake up threads waiting for job to finish\n\t\t\tsynchronized(status) {\n\t\t\t status.notifyAll();\n\t\t\t}\n\n\t\t\t// no point going any further\n\t\t\treturn;\n\t\t }\n\t\t}\n\n\t\t// remove the entry from the jobTable\n\t\tAppServiceImpl.jobTable.remove(jobID);\n\t\t\n\t\t// wake up threads waiting for job to finish\n\t\tsynchronized(status) {\n\t\t status.notifyAll();\n\t\t}\n\n\t\tlogger.info(\"Execution complete for job: \" + jobID);\n\t }\n\t}.start();\n }",
"title": ""
},
{
"docid": "ec8fefea10f5ba05f005abf304b79ca2",
"score": "0.45468512",
"text": "public static void main(String[] args) {\n\t\t\n\t\tModel model;\n\t\t\n\t // LinkedDataFragmentGraph ldfg = new LinkedDataFragmentGraph(\"http://192.168.99.100:3000/patients\");\n\t LinkedDataFragmentGraph ldfg = new LinkedDataFragmentGraph(\"http://192.168.99.100:3000/patientsn3\");\n model = ModelFactory.createModelForGraph(ldfg);\n \n \n System.out.println(model.size());\n model.write(System.out);\n /*\n\n String queryString = \"SELECT ?p ?o WHERE { ?e ?p ?o }\";\n Query qry = QueryFactory.create(queryString);\n QueryExecution qe = QueryExecutionFactory.create(qry, model);\n ResultSet rs = qe.execSelect();\n while(rs.hasNext()) {\n System.out.println(rs.nextSolution().toString());\n }\n\n assertThat(rs.getRowNumber()).isGreaterThan(0);\n */\n }",
"title": ""
},
{
"docid": "259e89ec47bf84ef73d3fe000aa68084",
"score": "0.45363823",
"text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\ttry {\n\t\t trails=hikingIO.getTrailData();\n\t\t users=hikingIO.getUserData();\n\t\t System.out.println(users);\n\t} catch (ClassNotFoundException | IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t\tApplication.launch(args);\n\n\t}",
"title": ""
},
{
"docid": "cc8107656e31cd9d63a5d629c53a18b8",
"score": "0.45339715",
"text": "public static void main(String[] args) {\n\t\topenApplication();\n\t\tSystem.out.println(verifyTitle());\n\t\t//System.out.println(clickPatientLoginMenu());\n\t\tSystem.out.println(clickOfficeLoginMenu());\n\t\t//System.out.println(clickPatientRegisterBtn());\n\t\t//System.out.println(clickPatientLoginBtn());\n\t\tSystem.out.println(clickOfficeLoginBtn());\n\t}",
"title": ""
},
{
"docid": "19bd3928225dec578c7608cef5463ea2",
"score": "0.4532965",
"text": "public static void main(String[] args) {\n ProcessBuilder builder = new ProcessBuilder(\n \"cmd.exe\", \"/c\", \"C:\\\\Users\\\\NN_Norway\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python36\\\\python.exe C:\\\\Users\\\\NN_Norway\\\\PycharmProjects\\\\IDSS\\\\source\\\\printer.py arg1\");\n builder.redirectErrorStream(true);\n Process p = null;\n try {\n p = builder.start();\n } catch (IOException e) {\n e.printStackTrace();\n }\n BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));\n String line = \"\";\n while (true) {\n try {\n line = r.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (line == null) { break; }\n System.out.println(line);\n }\n System.out.println(\"Finished!\");\n }",
"title": ""
},
{
"docid": "d4092db2c9dd388d62c746bb3980c019",
"score": "0.4528899",
"text": "public static void main(String[] args) {\n\n ServerSocket serverSocket = null;\n try {\n serverSocket = new ServerSocket(4444);\n } catch (IOException ex) {\n Logger.getLogger(NetworkLayerServer.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n System.out.println(\"Server Ready: \" + serverSocket.getInetAddress().getHostAddress());\n System.out.println(\"Creating router topology\");\n\n readTopology();\n printRouters();\n\n initRoutingTables(); //Initialize routing tables for all routers\n\n // DVR(1); //Update routing table using distance vector routing until convergence\n applyDVR(1);\n // stateChanger = new RouterStateChanger();//Starts a new thread which turns on/off routers randomly depending on parameter dvr.data.Constants.LAMBDA\n\n while (true) {\n try {\n Socket socket = serverSocket.accept();\n System.out.println(\"Client\" + clientCount + \" attempted to connect\");\n establishEndDeviceConnection(socket);\n } catch (IOException ex) {\n Logger.getLogger(NetworkLayerServer.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }",
"title": ""
},
{
"docid": "87113878a108a4a6c7186f88054c120b",
"score": "0.45282748",
"text": "private void startMainActivity() {\n boolean valid = Dart.getValidJourney(source_text, destination_text);\n if (valid) {\n\n\n Intent intentMain = new Intent(StationsActivity.this, JourneySelectionActivity.class);// select a new station\n intentMain.putExtra(\"source_text\", source_text);// will use this in next activity to get station timetable\n intentMain.putExtra(\"destination_text\", destination_text);\n Bundle animation = ActivityOptions.makeCustomAnimation(getApplicationContext(), R.transition.slide_in, R.transition.slide_out).toBundle();\n startActivity(intentMain, animation);\n } else {\n Toast.makeText(getApplicationContext(), \"Not a valid journey\", Toast.LENGTH_LONG).show();\n resetJourneySelection();\n }\n\n }",
"title": ""
},
{
"docid": "dff49332fe2befb7ffa324cf566533a1",
"score": "0.4525787",
"text": "public void sendID(String deviceData){\n Intent intentData = new Intent(this, MainActivity.class);\n intentData.putExtra(DATA, deviceData);\n startActivity(intentData);\n }",
"title": ""
},
{
"docid": "e0727dbab85fc72c1fb0440e2459b676",
"score": "0.4524484",
"text": "public void execute() {\n Terminal ter = Information.Desktop.startTerminal(device);\n\n executeFromTerminal(ter);\n }",
"title": ""
},
{
"docid": "e1377dcfe9474fd14974cebe2761662a",
"score": "0.45241627",
"text": "public void run() {\n OpenFile executable;\n \n if((executable = Nachos.fileSystem.open(execName)) == null) {\n\tDebug.println('+', \"Unable to open executable file: \" + execName);\n\tScheduler.finish();\n\treturn;\n }\n\n AddrSpace space = ((UserThread)Scheduler.currentThread()).space;\n if(space.exec(executable) == -1) {\n\tDebug.println('+', \"Unable to read executable file: \" + execName);\n\tScheduler.finish();\n\treturn;\n }\n\n space.initRegisters();\t\t// set the initial register values\n space.restoreState();\t\t// load page table register\n\n Machine.run();\t\t\t// jump to the user progam\n Debug.ASSERT(false);\t\t// machine->Run never returns;\n\t\t\t\t\t// the address space exits\n\t\t\t\t\t// by doing the syscall \"exit\"\n }",
"title": ""
},
{
"docid": "21af2d7fe8f5e6ce9625f421be0d518f",
"score": "0.45235905",
"text": "public static void main(String args[]) {\n\t\tArrivalLoungeStub al = new ArrivalLoungeStub();\n\t\tTemporaryStorageAreaStub tsa = new TemporaryStorageAreaStub();\n\t\tBaggageCollectionPointStub bcp = new BaggageCollectionPointStub();\n\t\t\n\t\t//Instantiate porter\n\t\tPorter porter = new Porter(PorterState.WAITING_FOR_A_PLANE_TO_LAND, al, tsa, bcp);\n\t\t//Start thread\n\t\tporter.start();\n\t\t\n\t\t//Join thread\n\t\ttry{\n\t\t\tporter.join();\n\t\t} catch(InterruptedException e){}\n\t\t//Shutdown servers\n\t\tal.shutServer();\n\t\ttsa.shutServer();\n\t\tbcp.shutServer();\n\t}",
"title": ""
},
{
"docid": "c6bbea5155e94cf742b0727e097828a9",
"score": "0.45200753",
"text": "public void runMissionSetup() throws IOException {\n\n MissionSettings.set(\n this.setupView.getSelectedSerialPort(), \n PApplet.parseInt(this.setupView.getSelectedSerialBaud()), \n this.setupView.getSelectedMissionPath(), \n this.setupView.getSelectedMissionIdentifier(), \n this.setupView.getSelectedDoConsoleLogFile(), \n this.setupView.getSelectedDoCSVDataFile()\n );\n\n\n\n // this.overviewConsoleView.logSetup(\"Serial port:\\n \" + this.setupView.getSelectedSerialPort());\n // this.overviewConsoleView.logSetup(\"Serial baud-rate:\\n \" + this.setupView.getSelectedSerialBaud());\n // this.overviewConsoleView.logSetup(\"Mission folder:\\n \" + this.setupView.getSelectedMissionPath());\n // this.overviewConsoleView.logSetup(\"Mission identifier:\\n \" + this.setupView.getSelectedMissionIdentifier());\n // this.overviewConsoleView.logSetup(\"Create console log file:\\n \" + (this.setupView.getSelectedDoConsoleLogFile() ? \"YES\" : \"NO\"));\n // this.overviewConsoleView.logSetup(\"Create CSV data output file:\\n \" + (this.setupView.getSelectedDoCSVDataFile() ? \"YES\" : \"NO\"));\n\n if (!(SerialController.open(this.mainJavaEnvironment, MissionSettings.getSerialPort(), MissionSettings.getSerialBaudRate()))) {\n this.overviewConsoleView.logError(\"Failed to open serial port.\\n\\nRestart Alpha and check the USB-connection with the device.\");\n }\n // try {\n // SerialController.open(this.mainJavaEnvironment, MissionSettings.getSerialPort(), MissionSettings.getSerialBaudRate());\n // }catch(Exception e){}\n \n try {\n this.serial_receive_file = new FileWriter(MissionSettings.getOutputFolderPath() + \"/serial_receive.txt\");\n this.serial_receive_file_opened = true;\n }\n catch(Exception e) {\n this.overviewConsoleView.logError(\"Failed to open serial_receive_file.\\n\\nRestart Alpha and check the validity of the mission-folder you selected.\");\n }\n\n\n this.blockInteraction();\n this.viewSelectorView.visible = true;\n this.view_MissionStart.visible = true;\n }",
"title": ""
},
{
"docid": "42c41e59161c8b33a6b60b5241220813",
"score": "0.45187163",
"text": "public static void main(String[] args) throws IOException {\n ProcessBuilder builder = new ProcessBuilder(\"/Downloads/dlv.i386-apple-darwin.bin\", \"-FP\", \"/DLearning/dlearning.plan\", \"/DLearning/dlearninginit.plan\", \"/DLearning/dlearning.dl\");\n builder.redirectErrorStream(true);\n final Process process = builder.start();\n \n PrintWriter input = new PrintWriter(process.getOutputStream()); \n input.print(\"n\");\n input.print(\"n\");\n input.close();\n \n Builder.watch(process);\n }",
"title": ""
},
{
"docid": "6833ec993b467759a3608bc3458f84c3",
"score": "0.45172855",
"text": "public static void main(String argv[])\n {\n\n /* runtime default properties */\n RTKey.addRuntimeEntry(new RTKey.Entry(CFG_firstSessionNegotiation, true, \"DMTP allow 1st session custom event negotiation\"));\n RTKey.addRuntimeEntry(new RTKey.Entry(CFG_udpReturnResponse , true, \"DMTP return UDP response/ack\"));\n\n /* load runtime config */\n DBConfig.cmdLineInit(argv,false);\n\n /* register OpenDMTP protocol DB interface */\n DMTPServer.setDBFactory(new DMTPDBFactory());\n\n /* header */\n Print.logInfo(\"----------------------------------------------------------------\");\n Print.logInfo(\"OpenDMTP (GTS) Java Server\");\n Print.logInfo(COPYRIGHT);\n Print.logInfo(\"DMTP Version : \" + org.opendmtp.server.Version.getVersion());\n Print.logInfo(\"GTSDMTP Version : \" + VERSION);\n Print.logInfo(\"GTS Version : \" + org.opengts.Version.getVersion());\n Print.logInfo(\"SQL Database Name: \" + RTConfig.getString(RTKey.DB_NAME));\n Print.logInfo(\"Transport Enabled: \" + Transport.isTransportQueryEnabled());\n Print.logInfo(\"Message Log Level: \" + Print.getLogLevelString(Print.getLogLevel()));\n //Print.logInfo(\"Process ID : \" + OSTools.getProcessID()); // useless on Windows\n Print.logInfo(\"----------------------------------------------------------------\");\n\n /* explicit help? */\n if (RTConfig.getBoolean(ARG_HELP,false)) {\n Main.usage(\"Help ...\");\n // control doesn't reach here\n }\n\n /* validate ports here */\n int listenPorts[] = Main.getListenPorts();\n\n /* make sure the DB is properly initialized */\n if (!DBAdmin.verifyTablesExist()) {\n Print.logFatal(\"MySQL database has not yet been properly initialized\");\n System.exit(1);\n }\n \n /* DCServerConfig */\n DCServerConfig dcs = Main.getServerConfig();\n\n /* alow first session custom event packet negotiation */\n if (RTConfig.hasProperty(CFG_firstSessionNegotiation)) {\n // This section requires OpenDMTP v1.2.14.1+\n // If you receive a compile error here, simply comment the following lines\n if (RTConfig.getBoolean(CFG_firstSessionNegotiation,true)) {\n DMTPServer.setAllowFirstSessionNegotiation(true);\n } else {\n Print.logInfo(\"First session custom event packet negotiation DISABLED ...\");\n DMTPServer.setAllowFirstSessionNegotiation(false);\n }\n } else {\n if (dcs.getBooleanProperty(CFG_firstSessionNegotiation,true)) {\n DMTPServer.setAllowFirstSessionNegotiation(true);\n } else {\n Print.logInfo(\"First session custom event packet negotiation DISABLED ...\");\n DMTPServer.setAllowFirstSessionNegotiation(false);\n }\n\n }\n\n /* return UDP response/ack */\n if (RTConfig.hasProperty(CFG_udpReturnResponse)) {\n if (RTConfig.getBoolean(CFG_udpReturnResponse,true)) {\n Print.logInfo(\"UDP responses/acks will be returned to UDP packets ...\");\n DMTPClientPacketHandler.setUdpReturnResponse(true);\n } else {\n Print.logInfo(\"No UDP responses will be returned ...\");\n DMTPClientPacketHandler.setUdpReturnResponse(false);\n }\n } else {\n if (dcs.getBooleanProperty(CFG_udpReturnResponse,true)) {\n Print.logInfo(\"UDP responses/acks will be returned to UDP packets ...\");\n DMTPClientPacketHandler.setUdpReturnResponse(true);\n } else {\n Print.logInfo(\"No UDP responses will be returned ...\");\n DMTPClientPacketHandler.setUdpReturnResponse(false);\n }\n }\n\n /* init DeviceDMImpl */\n DeviceDBImpl.configInit();\n String dcsName = dcs.getName();\n\n /* TCP timeouts */\n long tcpIdleTimeout = dcs.getTcpIdleTimeoutMS(-1L);\n if (tcpIdleTimeout > 0L) { DMTPServer.setTcpIdleTimeout(tcpIdleTimeout); }\n long tcpPcktTimeout = dcs.getTcpPacketTimeoutMS(-1L);\n if (tcpPcktTimeout > 0L) { DMTPServer.setTcpPacketTimeout(tcpPcktTimeout); }\n long tcpSessTimeout = dcs.getTcpSessionTimeoutMS(-1L);\n if (tcpSessTimeout > 0L) { DMTPServer.setTcpSessionTimeout(tcpSessTimeout); }\n\n /* UDP timeouts */\n long udpIdleTimeout = dcs.getUdpIdleTimeoutMS(-1L);\n if (udpIdleTimeout > 0L) { DMTPServer.setUdpIdleTimeout(udpIdleTimeout); }\n long udpPcktTimeout = dcs.getUdpPacketTimeoutMS(-1L);\n if (udpPcktTimeout > 0L) { DMTPServer.setUdpPacketTimeout(udpPcktTimeout); }\n long udpSessTimeout = dcs.getUdpSessionTimeoutMS(-1L);\n if (udpSessTimeout > 0L) { DMTPServer.setUdpSessionTimeout(udpSessTimeout); }\n\n /* start server */\n if (RTConfig.getBoolean(ARG_START,false)) {\n\n /* start port listeners */\n try {\n DMTPServer.createTrackSocketHandler(listenPorts);\n } catch (Throwable t) { \n // trap any server exception\n Print.logError(\"Error: \" + t);\n }\n\n /* wait here forever while the server is running in a thread */\n while (true) { \n try { Thread.sleep(60L * 60L * 1000L); } catch (Throwable t) {}\n }\n // control never reaches here\n\n }\n \n /* display usage */\n Main.usage(\"Please specify an option ...\");\n \n }",
"title": ""
},
{
"docid": "113dc7d7875fadbc3bc824ff7715fa7d",
"score": "0.45167014",
"text": "public static void main(String[] args) {\r\n\t\tcmd_parser cmd_run = new cmd_parser(args);\r\n\t\tHashMap<String, String> cmd_info = cmd_run.cmdline_parser();\r\n\t\tswitch_data switch_info = new switch_data();\r\n\t\tclient_data client_info = new client_data();\r\n\t\tdata_server server_runner = new data_server(cmd_info, switch_info, client_info);\r\n\t\tserver_runner.start();\r\n\t\ttry {\r\n\t\t\tThread.sleep(10 * 1000);\r\n\t\t} catch (InterruptedException 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// server_runner.soft_stop();\r\n\t\tSystem.out.println(client_info.get_client_data().toString());\r\n\t}",
"title": ""
},
{
"docid": "4e0f1b0e8e0b700bdc2c104d2d081969",
"score": "0.45131758",
"text": "public static void main(String[] args) {\n Dimensions dimensions = new Dimensions(40,60);\n Windows theWindows = new Windows(5,dimensions,\"North\");\n Doors theDoors = new Doors(2,dimensions,true);\n Wifi mywifi = new Wifi(\"ACT FiberNet\",\"Tp-Link 105Kp\",150);\n\n MyRoom myRoom = new MyRoom(theWindows,theDoors,mywifi);\n //myRoom.enjoyTheNet();\n myRoom.relaxInTheRoom();\n\n\n }",
"title": ""
},
{
"docid": "bc0ddc6f97d1e1c9f3bbc4708da7b14d",
"score": "0.4511285",
"text": "public void run(){\n\t\n\tGUIServer sGui = new GUIServer(\"Server Side Program\");\n\tsGui.go();\n\t}",
"title": ""
},
{
"docid": "7bde727a57a7e12b9ee885412875f4d8",
"score": "0.45053202",
"text": "public static void main(String[] args) {\n String name_Platform = \"Mithra-Platform\";\n String port_platform = \"1099\"; // agents and platform used 1099\n String ip_platform = \"192.168.1.2\";\n try {\n\n\n // Start Agent\n initNode initNode = new initNode(name_Platform,ip_platform,port_platform);\n initNode.changeNamePlatform(\"Node1\");\n // Create Agent\n MithraAgent mithraAgent = new MithraAgent(\"./log/loginNode.log\");\n // Create and Add observers and services\n mithraAgent.addBehaviour(new checkHostFile(mithraAgent,10000,\"./hostsNode1\"));\n mithraAgent.addBehaviour(new reciveNewHostFile(mithraAgent,\"./hostsNode1\"));\n // Set Agent\n initNode.addAgent(\"agentePrincipalNodo1\",mithraAgent);\n // Start Node\n initNode.start();\n\n\n\n // Start Agent\n initNode initNode2 = new initNode(name_Platform,ip_platform,port_platform);\n initNode2.changeNamePlatform(\"Node2\");\n // Create Agent\n MithraAgent mithraAgent2 = new MithraAgent(\"./log/loginNode2.log\");\n // Create and Add observers and services\n mithraAgent2.addBehaviour(new reciveNewHostFile(mithraAgent2,\"./hostsNode2\"));\n // Set Agent\n initNode2.addAgent(\"agentePrincipalNodo2\",mithraAgent2);\n // Start Node\n initNode2.start();\n\n\n }catch (Exception ex){\n System.out.println(\"ERROR\");\n }\n\n }",
"title": ""
},
{
"docid": "f3880ee85e937b022ec72bad181e756f",
"score": "0.44992238",
"text": "public void launch() {\r\n Application.launch();\r\n }",
"title": ""
},
{
"docid": "01e8a4b03ef6739a31c2a5f3e204aac2",
"score": "0.44991878",
"text": "public static void main(String[] args) {\n\t\tPerson person1 = new Person();\n\t\t\n\t\t// Then here we -- define some properties\n\t\tperson1.name = \"kwena\";\n\t\tperson1.email = \"[email protected]\";\n\t\tperson1.phone = \"0713749379\";\n\t\t\n\t\t// This process is called Abstraction\n\t\tperson1.readingBook();\n\t\tperson1.email();\n\t\tperson1.sleep();\n\t\t\n\t\tSystem.out.println(\"\\n.............................\\n\");\n\t\t//create another person: person2.\n\t\tPerson person2 = new Person();\n\t\tperson2.name = \"Sarah\";\n\t\tperson2.phone = \"0761384930\";\n\t\tperson2.sleep();\n\t\t\n\t\t\n\t/* Attributes, variables, adjectives, descriptors\n\tString name = \"Kwena\";\n\tString email = \"[email protected]\";\n\tString phone = \"07137499379\";\n\t\n\t// Action, activity, behavior\n\tSystem.out.println(name + \" is coding java.\");\n\tSystem.out.println(name + \" is learning Object-Oriented programming.\");\n\t\n\t// what if we wanted to do this for another person\n\tString name2 = \"Sarah\";\n\tString email2 = \"[email protected]\";\n\tString phone2 = \" 0657844325\";\n\t\n\t// Action, activity, behavior\n\tSystem.out.println(name2 + \" drinking coffee\");*/\n\t\n\t}",
"title": ""
},
{
"docid": "96c2fb17936d646c196ee89bcc37a5c1",
"score": "0.44848996",
"text": "public static void main(String[] args) throws Exception {\n HospitalTour ps3 = new HospitalTour();\n ps3.run();\n }",
"title": ""
},
{
"docid": "1be5f829d87db7306b0ea65cd1d9f9c9",
"score": "0.44822198",
"text": "public static void main(String[] args) throws Exception {CommunicationSocket elevatorSocket = new CommunicationSocket();\n//\t\tCommunicationSocket floorSocket = new CommunicationSocket();\n//\t\tint numberOfFloors = 22;\n//\t\t\n//\t\tElevatorSubsystem elevatorSubsystem = new ElevatorSubsystem(elevatorSocket, Constants.NUM_ELEVATORS, Constants.NUM_FLOORS);\n//\t\tFloorSubsystem floorSubsystem = new FloorSubsystem(floorSocket, Constants.NUM_FLOORS);\n//\t\tSchedulerSubsystem schedulerSubsystem = new SchedulerSubsystem(elevatorSocket, floorSocket);\n//\t\t\n//\t\tThread elevatorThread = new Thread(elevatorSubsystem);\n//\t\tThread floorThread = 8new Thread(floorSubsystem);\n//\t\tThread schedulerThread = new Thread(schedulerSubsystem);\n//\t\t\n//\t\t\n//\t\televatorThread.start();\n//\t\tfloorThread.start();\n//\t\tschedulerThread.start();\n//\t\t\n\t\tFloorButtonEvent sockEvent = new FloorButtonEvent(3, 4, common.Direction.UP, 12);\n\t\tByteArrayOutputStream byteOut = null;\n\t\tByteArrayInputStream byteIn = null;\n\t\t\n\n\t\tbyteOut = new ByteArrayOutputStream();\n\n\t\tObjectOutputStream out = new ObjectOutputStream(byteOut);\n\t\tout.writeObject(sockEvent);\n\t\tout.close();\n\t\tSystem.out.println(\"Event serialized.\");\n\n\t\tDatagramSocket dS = new DatagramSocket();\n\t\tInetAddress ip = InetAddress.getByName(\"127.0.0.1\"); \n\t\tDatagramPacket dP = new DatagramPacket(byteOut.toByteArray(), byteOut.size(), ip, 3000);\n\n\t\tdS.send(dP);\n\t\tdS.close();\n\t\tSystem.out.println(\"Datagram sent.\");\n\n\n\n//\t\tbyteIn = new ByteArrayInputStream(byteOut.toByteArray());\n//\n//\t\tObjectInputStream in = new ObjectInputStream(byteIn);\n//\t\tFloorButtonEvent recEvent = (FloorButtonEvent)in.readObject();\n//\t\tin.close();\n//\n//\t\tSystem.out.println(recEvent);\n//\t\tSystem.out.println(recEvent.getFloor());\n\n\n\t}",
"title": ""
},
{
"docid": "9ff762fe3af4066cd2808acb7dcd1ed6",
"score": "0.44795257",
"text": "public static void main(String[] args) throws IOException {\n\n\t\tSocket client = new Socket(\"localhost\",1213);\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(client.getInputStream()));\n\t\tPrintWriter writer = new PrintWriter(client.getOutputStream());\n\n\t\twriter.println(\"text.xml\");\n\t\twriter.flush();\n\n\t\tSystem.out.println(reader.readLine());\n\t}",
"title": ""
},
{
"docid": "71461e2e0ce431f2e3534d9ae2435d27",
"score": "0.4479434",
"text": "public static void main(String[] args) {\n\n\t\tphone2 ph = new phone2();\n\t\tph.startup();\n\t}",
"title": ""
},
{
"docid": "9a0259d12a83709bbda6119f73acfed1",
"score": "0.4478767",
"text": "private void patientInfoLookup() {\n\r\n try {\r\n //retreieve patient info\r\n log.debug(\"DocumentAccessManager - Instantiating DOD Connector Service (\" + app.getCALServiceWSDL() + \")...\");\r\n\r\n DoDConnectorService calservice = new DoDConnectorService(new URL(app.getCALServiceWSDL()), new QName(app.getCALServiceQNAME(), app.getCALService()));\r\n\r\n log.debug(\"DocumentAccessManager - Retrieving the port from the following service: \" + calservice.toString());\r\n\r\n DoDConnectorPortType port = calservice.getCommonDataLayerPort();\r\n\r\n //build patient info request\r\n org.hl7.v3.PatientDemographicsPRPAIN201307UV02RequestType patientReqType = buildPawsRequest(patientUnitNumber);\r\n\r\n log.debug(\"DocumentAccessManager - Invoking getPatientInfo Operation: \" + calservice.toString());\r\n PatientDemographicsPRPAMT201303UV02ResponseType patientInfoResponse = port.getPatienInfo(patientReqType);\r\n\r\n if (patientInfoResponse != null)\r\n {\r\n log.debug(\"DocumentAccessManager - getPatientInfo response returned from PAWS\");\r\n\r\n dateOfBirth = patientInfoResponse.getSubject().getPatientPerson().getValue().getBirthTime().getValue();\r\n\r\n javax.xml.bind.JAXBElement<org.hl7.v3.EnExplicitGiven> eeg = (javax.xml.bind.JAXBElement<org.hl7.v3.EnExplicitGiven>) patientInfoResponse.getSubject().getPatientPerson().getValue().getName().get(0).getContent().get(1);\r\n patientFirstName = eeg.getValue().getContent();\r\n\r\n javax.xml.bind.JAXBElement<org.hl7.v3.EnExplicitFamily> eef = (javax.xml.bind.JAXBElement<org.hl7.v3.EnExplicitFamily>) patientInfoResponse.getSubject().getPatientPerson().getValue().getName().get(0).getContent().get(0);\r\n patientLastName = eef.getValue().getContent();\r\n\r\n patientGender = patientInfoResponse.getSubject().getPatientPerson().getValue().getAdministrativeGenderCode().getCode();\r\n\r\n log.debug(\"DocumentAccessManager - SessionBean Patient Date of Birth = \" + dateOfBirth);\r\n log.debug(\"DocumentAccessManager - SessionBean Patient First Name = \" + patientFirstName);\r\n log.debug(\"DocumentAccessManager - SessionBean Patient Last Name = \" + patientLastName);\r\n log.debug(\"DocumentAccessManager - SessionBean Patient Gender = \" + patientGender);\r\n\r\n }\r\n\r\n if (dateOfBirth != null)\r\n session.setPatientDOB(dateOfBirth);\r\n else\r\n session.setPatientDOB(\"\");\r\n\r\n if (patientFirstName != null)\r\n session.setPatientFirstName(patientFirstName);\r\n else\r\n session.setPatientFirstName(\"\");\r\n\r\n if (patientLastName != null)\r\n session.setPatientLastName(patientLastName);\r\n else\r\n session.setPatientLastName(\"\");\r\n\r\n session.setPatientMiddleInitial(\"\");\r\n\r\n session.setPatientName(patientLastName + \",\" + patientFirstName);\r\n\r\n if (patientGender != null)\r\n session.setPatientGender(patientGender);\r\n else\r\n session.setPatientGender(\"\");\r\n }\r\n catch (Exception ep) {\r\n log.error(\"DocumentAccessManager:patientInfoLookup \"+ep);\r\n }\r\n }",
"title": ""
},
{
"docid": "8a42278a042e9a15f31617738e128f6e",
"score": "0.44758528",
"text": "private void runDataAnalysis() {\n\n mtoSurveyData data = new mtoSurveyData(rb);\n data.readInput();\n mtoAnalyzeData ld = new mtoAnalyzeData(rb, data);\n ld.runAnalyses();\n logger.info(\"Module runDataAnalysis completed.\");\n }",
"title": ""
},
{
"docid": "c31cb2efae382dc46365471e9cec0128",
"score": "0.44745716",
"text": "public void main_App()\n\t\n\t\n\t{\n\t\t\n\t\trobo.getApplicationControl().setApplicationOverride(0.2); //Speed\n\t\tgripper_1.open_M();\n\t\tgripper_1.attachTo(kuka_Iiwa.getFlange());\n\t\t\n\t\t//Execution\n\t\t\n\t\tauto_Assem_Seq();\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "c53cb8facacffb5eebe5b930989732e3",
"score": "0.4473497",
"text": "public static void main(String[] args) {\n\t\t\n\t\tMain A = new Main(); //creating an instance of Main\n\t\tString fileName = \"Dispenser.txt\";\n\t\ttry {\n\t\t\tA.Load(fileName);\n\t\t\tA.SimulateCustomers();\n\t\t\tA.Save(fileName);\n\t\t} \n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage() + e.toString());\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "c0a9ff65e544a8792784e3b5b82f8666",
"score": "0.44703802",
"text": "public void start() {\n\t\tif (config.launchLsp) {\n\t\t\tlaunchLspServer();\n\t\t} else if (config.launchConsole) {\n\t\t\tlaunchConsole();\n\t\t} else {\n\t\t\t// only load rules\n\t\t\tloadMarkRulesFromConfig();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e6b93eb4aef622f144e2c3fa17e018f2",
"score": "0.44668514",
"text": "private DashboardComm() {\n // Startup the thread that sends the data to the DriverStation\n super(\"DashboardComm\");\n start();\n }",
"title": ""
},
{
"docid": "a1a96d5daf9b16a274395bd284f37da7",
"score": "0.4465352",
"text": "public void openView() {\r\n\t\tsystem.openPatient(model.getPatient().getPatientID());\r\n\t}",
"title": ""
},
{
"docid": "d9bfd4dfcbb9c584b6b9259508a50fcd",
"score": "0.44645992",
"text": "public static void main(String[] args) throws Exception {\n\t\n\t\n\tDomicilioABM dabm = new DomicilioABM();\n\t\n\tDomicilio dom1 = new Domicilio(\"San ignacio\", 2069, \"Buenos Aires\", \"Banfield\");\n\tdabm.agregar(dom1);\n\tPersonaABM.getInstance().agregar(39666566, \"juju\", \"yoyo\", dom1);\n\tPersonaABM.getInstance().agregar(39666566, \"juju\", \"yoyo\", dom1);\n\tPersonaABM.getInstance().agregar(39666566, \"juju\", \"yoyo\", dom1);\n\tAfiliadoABM abm=new AfiliadoABM();\n\tObraSocialABM sSoc=new ObraSocialABM();\n\tsSoc.agregar(\"FATSA\");\n\tAfiliado afi=new Afiliado(1123,sSoc.traerObraSocial(1),PersonaABM.getInstance().traer(1));\n\tAfiliado afi2=new Afiliado(1123,sSoc.traerObraSocial(1),PersonaABM.getInstance().traer(3));\n\t/*abm.agregar(afi);\n\tabm.agregar(afi2);*/\n\t\n\t\n\t\n\t\n\t\n}",
"title": ""
},
{
"docid": "0445ee301aed4362132e7b1af1b96f71",
"score": "0.4464026",
"text": "public void startSurveyInstance(){\n\t\t\n\t\tif(!isSurveySelected())\n\t\t\treturn;\n\n\t\tif(!SocketHandler.getInstance().isActive()){\n\t\t\t\n\t\t\tFacesUtils.addWarnMessage(\"No device has been connected yet! \"\n\t\t\t\t\t\t\t\t\t+ \"You cannot start the Survey\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// give a warning if some devices are not connected\n\t\tif(SocketHandler.getInstance().areAllDevicesConnected())\n\t\t\tFacesUtils.addWarnMessage(\"Not all devices are connected!\");\n\n\t\tServerMessage msg = new ServerMessage(SocketMessageType.START, \n\t\t\t\t \t\t\t\t\t\t\t System.currentTimeMillis() + TIME_DELAY);\n\t\ttry {\n\t\t\tselectedSurvey.setStatus(InstanceStatus.STARTED.name());\n\t\t\tactiveSurvey.setStatus(InstanceStatus.STARTED.name());\n\t\t\tfor(SurveyInstance si : surveyList)\n\t\t\t\tif(si.equals(selectedSurvey))\n\t\t\t\t\tsi.setStatus(InstanceStatus.STARTED.name());\n\t\t\tEAOManager.update(selectedSurvey);\n\t\t\tSocketHandler.getInstance().sendMessage(msg);\n\t\t\tFacesUtils.addWarnMessage(\"Devices will soon start collecting sensor data!\");\n\t\t} catch (IllegalStateException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "619c25fea7c0e0ff22b300987995da0e",
"score": "0.4458159",
"text": "public void launch() {\n launch(null);\n }",
"title": ""
},
{
"docid": "814bce82966803557cb7549005aa399d",
"score": "0.44575626",
"text": "public static void main(String[] args) {\n\n\t\ttry {\n\t\t\tRun.init();\n\t\t\t//Automation.lancerAvecXml(ArrayOfTests.arrayOfTests, 0, 4, 0, 4);\n\t\t} catch (JAXBException e) {\n\n\t\t\tConf.logger.debug(\"Check the Marshalling : XML file may be the problem\");\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "279e77224842d472d447e8df985d965a",
"score": "0.44558594",
"text": "@Override\r\n public void run() {\n try {\r\n // We need a new ClassLoader for each node we are creating\r\n ClassLoader loader = new URLClassLoader(new URL[] { new File(\"CiAN/CiAN.jar\").toURI().toURL() });\r\n \r\n // Loading CiAN class this way ensures us that each node is\r\n // isolated from each other\r\n Class<?> c = loader.loadClass(\"CiAN\");\r\n \r\n // Add a dependency to this node's application into CiAN\r\n Method extToolSetter = c.getDeclaredMethod(\"setExternalTool\", Object.class);\r\n extToolSetter.invoke(null, parent);\r\n \r\n // Finally we can start CiAN\r\n Method main = c.getDeclaredMethod(\"main\", this.args.getClass());\r\n main.invoke(null, (Object[]) this.args);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }",
"title": ""
},
{
"docid": "10ef1aac314a5928eeaa7a61566369eb",
"score": "0.44522995",
"text": "public static void main(String[] args) {\n\tSystem.out.println(school);\n\tgetInfo1();\n\t\n}",
"title": ""
},
{
"docid": "af0d7898d705a89b766d00ddbb6e3aa1",
"score": "0.4451906",
"text": "public void go() {\n\t\ttry {\n\t\t\t\n\t\t\t// Make a Socket connection to whatever is running on port 4242,\n\t\t\t// on the same host this code is running on (the 'localhost').\n\t\t\tSocket s = new Socket(\"127.0.0.1\", 4242);\n\t\t\t\n\t\t\tInputStreamReader streamReader = new InputStreamReader(s.getInputStream());\n\t\t\t\n\t\t\t// Chain a BufferedReader to the InputStreamReader to in the input stream\n\t\t\t// from the socket\n\t\t\tBufferedReader reader = new BufferedReader(streamReader);\n\t\t\t\n\t\t\t// This reader.readLine() is EXACTLY the same as if you were using a\n\t\t\t// BufferedReader chained to a FILE. In other words, by the time you call\n\t\t\t// a BufferedReader method, the reader doesn't care where the characters came from.\n\t\t\tString advice = reader.readLine();\n\t\t\tSystem.out.println(\"Today you should: \" + advice);\n\t\t\t\n\t\t\t// This closes ALL the streams.\n\t\t\treader.close();\n\t\t\t\n\t\t} catch(Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "8207dc1a6e6064c27ff2a6139781761a",
"score": "0.444786",
"text": "public static void main(String[] args) {\r\n\t\t\r\n\t\tThreadObserver accessThread= new ThreadObserver(hostAccess);\r\n\t\taccessThread.start();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tThreadObserver exitThread= new ThreadObserver(hostExit);\r\n\t\texitThread.start();\r\n\t\t\r\n\t\t/*\t\t\r\n\t\tString prova= \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><message><type>Accesso</type><timestamp>2002-05-30T09:00:00</timestamp></message>\";\r\n\t\tXmlValidator xmlV=new XmlValidator(prova);\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tStato stato= xmlV.parseDocument();\r\n\t\t\tif(stato.equals(Stato.Accesso)){\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tcount--;\r\n\t\t\t\r\n\t\t\tif(count==NUM_PARK){\r\n\t\t\t\tsendLedMessage(true);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse{\r\n\t\t\t\tsendLedMessage(false);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch (JDOMException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t*/\r\n\t\t\r\n\t}",
"title": ""
}
] |
293c2c8501c6e8d99b5af08df73a1b8b | Setup the mandatory fields None, in this case. | [
{
"docid": "3008dcc1e1bdaf59198f6bb9ee771f72",
"score": "0.0",
"text": "@Override\n\tpublic void setupAddFields(EquationStandardTransaction transaction)\n\t{\n\n\t}",
"title": ""
}
] | [
{
"docid": "1b8ee4a3ee582e5979b12528630c6c69",
"score": "0.7079004",
"text": "public void setRequiredfields() {\n\t\tSystem.out.println(\"as\");\n\t\tthis.objFirstName.isEnabled();\n\t\t\n\t}",
"title": ""
},
{
"docid": "8966623fc77aabe9ad29cf7afbb5758b",
"score": "0.647737",
"text": "@Override\n\tpublic void setRequired() {\n\n\t}",
"title": ""
},
{
"docid": "a559bef269d8ffe036c01f086c55439a",
"score": "0.64058495",
"text": "public void checkingmandatoryOptional(){\n\t\tsetMandatoryOptional(true);\n\t\tif(getBeneficiaryCountryId() != null){\n\t\t\tString countryCode = generalService.getCountryCode(getBeneficiaryCountryId());\n\t\t\tif(countryCode != null){\n\t\t\t\tif(countryCode.equalsIgnoreCase(Constants.IND_CODE)){\n\t\t\t\t\tsetMandatoryOptional(false);\n\t\t\t\t}else{\n\t\t\t\t\tsetMandatoryOptional(true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "42a482673f992d050eb569c170707ace",
"score": "0.6306428",
"text": "public boolean allRequiredFieldsSet() {\n if(this.getVersion() == null || this.getShortMessage() == null || this.getHost() == null\n || this.getVersion().length() == 0 || this.getShortMessage().length() == 0 || this.getHost().length() == 0) {\n return false;\n }\n return true;\n }",
"title": ""
},
{
"docid": "2475ac5de5c036c297f2bc398ac6ce4a",
"score": "0.6240824",
"text": "@Override\n\tprotected void initializeFields() {\n\n\t}",
"title": ""
},
{
"docid": "fb3aa400f93733b374ad444452613e69",
"score": "0.6217089",
"text": "public boolean isMandatoryFieldsSet()\r\n\t{\r\n\t\tif (super.isMandatoryFieldsSetNoData() == false || _isWriteDstPort == false || _isWriteSrcPort == false)\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tif (_udpDataBytes == null)\r\n\t\t\treturn false;\r\n\t\t\t\r\n\t\treturn true;\r\n\t}",
"title": ""
},
{
"docid": "2b85be66484fde41e856f88b40e21dc3",
"score": "0.62108135",
"text": "public void setMandatory(boolean mandatory) {\n this.mandatory = mandatory;\n }",
"title": ""
},
{
"docid": "19ba3fc223462c95ae34e0d0c1560ff0",
"score": "0.61975324",
"text": "@Override\n public void setRequired(boolean required) {\n }",
"title": ""
},
{
"docid": "e1c232486a1c975eebc12f0beac37070",
"score": "0.6189244",
"text": "public void setNULL()\r\n\t{\r\n\t\tthis.seq = null;\r\n\t\tthis.parentSeq = null;\r\n\t\tthis.msgCd = null;\r\n\t\tthis.esbName = null;\r\n\t\tthis.rcvName = null;\r\n\t\tthis.ftyp = null;\r\n\t\tthis.min = null;\r\n\t\tthis.max = null;\r\n\t\tthis.deci = null;\r\n\t\tthis.optional = null;\r\n\t\tthis.encrypt = null;\r\n\t\tthis.fvMapId = null;\r\n\t\tthis.fdesc = null;\r\n\t\tthis.cvtr = null;\r\n\t\tthis.validator = null;\r\n\t}",
"title": ""
},
{
"docid": "652f9f23c921bcd2511aa66e6d3ab8bc",
"score": "0.60598904",
"text": "@Override\r\n\tpublic RequiredData requiredData() {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "19726468a59a1dcad0187f1140855c02",
"score": "0.6042964",
"text": "public void initialise() {\n\t\tcontributorId = \"0\";\n\t\torganisationId = \"0\";\n\t\tdescription = \"\";\n\t\tm_error_string = \"\";\n\t}",
"title": ""
},
{
"docid": "4e43dfa0840365e8a7015b6d3153578f",
"score": "0.5984848",
"text": "private void limpiarCampos() {\n\t\tcedula=\"\";\n\t\tnombre=\"\";\n\t\tapellidos=\"\";\n\t\tcorreo=\"\";\n\t\tdireccion=\"\";\n\t\ttelefono=\"\";\n\t\tusuario=\"\";\n\t\tcontrasenia=\"\";\n\t}",
"title": ""
},
{
"docid": "b8d12c985aefc7eb957e263d82e3fd92",
"score": "0.5984652",
"text": "private void preSetup() {\n\t\tOPTIONS.put(\"DEFAULT\", \"auth_strategy\", Options.newOpt(\"auth_strategy\", \"keystone\"));\n\t\tOPTIONS.put(\"DEFAULT\", \"use_forwarded_for\", Options.newOpt(\"use_forwarded_for\", false));\n\t\t// nova.openstack.common.policy\n\t\tOPTIONS.put(\"DEFAULT\", \"policy_file\", Options.newOpt(\"policy_file\", \"policy.json\"));\n\t\tOPTIONS.put(\"DEFAULT\", \"policy_default_rule\", Options.newOpt(\"policy_default_rule\", \"default\"));\n\t\t// nova.api.sizelimit\n\t\tOPTIONS.put(\"DEFAULT\", \"osapi_max_request_body_size\", Options.newOpt(\"osapi_max_request_body_size\", 114688));\n\t\tOPTIONS.put(\"DEFAULT\", \"fatal_exception_format_errors\", Options.newOpt(\"fatal_exception_format_errors\", false));\n\t}",
"title": ""
},
{
"docid": "2c79741660c656d9e011b37d433f52ad",
"score": "0.5948269",
"text": "public void setRequiredFields(Key[] requiredFields) {\n this.requiredFields = requiredFields;\n }",
"title": ""
},
{
"docid": "8be1b8cca9a6607ecc55bada5270f97a",
"score": "0.59443635",
"text": "public void setEmptyForSetUp();",
"title": ""
},
{
"docid": "b0294152d9192f69d2b7fe41481fb8fa",
"score": "0.59395117",
"text": "private void fillFields()\n\t{\n\t\tnameField.setText(theObject.name);\n\t\tsiteNameTypeCombo.setSelection(theObject.siteNameTypePref);\n\t\tmediumTypeCombo.setSelection(theObject.transportMediumType);\n\t\tlastModifiedField.setText(theObject.lastModifyTime == null ? \"\"\n\t\t\t: Constants.defaultDateFormat.format(theObject.lastModifyTime));\n\t\tgoingThroughInit = false;\n\t\tmediumTypeSelected();\n\t}",
"title": ""
},
{
"docid": "6cd32ac281d7b0636d2f444511cd50b4",
"score": "0.59344655",
"text": "private void setUpFields() {\n mySizeActions = new ArrayList<>();\n myMuteCheck = true;\n myGridEnabledCheck = true;\n myPauseEnableCheck = true;\n myDarkModeEnabled = true;\n \n }",
"title": ""
},
{
"docid": "277498555c780bde961eb481bf18d9c5",
"score": "0.59151095",
"text": "public boolean isRequiredFieldsNotNull(){ \r\n if (this.getApplKey() == null) return false;\r\n if (this.getEnvrnmntKey() == null) return false;\r\n if (this.getPageKey() == null) return false;\r\n if (this.getPageId() == null) return false;\r\n if (this.getPageDesc() == null) return false;\r\n if (this.getCompanyKey() == null) return false;\r\n if (this.getProduct() == null) return false;\r\n if (this.getTrxCode() == null) return false;\r\n if (this.getFieldKey() == null) return false;\r\n if (this.getFieldName() == null) return false;\r\n if (this.getFieldDesc() == null) return false;\r\n if (this.getFieldType() == null) return false;\r\n if (this.getListDefault() == null) return false;\r\n if (this.getRangeDefault() == null) return false;\r\n return true;\r\n }",
"title": ""
},
{
"docid": "cb15249d67b2211ea0d5335ec3d2900a",
"score": "0.59040284",
"text": "protected void setDefaults() {\n\t\theaderInfo = null;\n\t}",
"title": ""
},
{
"docid": "92639c4818decf7157ce49c7d9ab561f",
"score": "0.589754",
"text": "public void nullInit(){\n this.brand = null;\n this.enginesize = null;\n this.model = null;\n this.colour = null;\n this.year = 0;\n this.price = 0.00;\n }",
"title": ""
},
{
"docid": "05f37f31ea83ee47077021b20fb0a520",
"score": "0.5875001",
"text": "private void fillTaskNonDateFields() {\n\t\ttask.setIsDone(doneCheckBox.isChecked());\n\t\ttask.setName(nameText.getText().toString());\n\t\ttask.setNotes(notesText.getText().toString());\n\t\ttask.setSubject(subjectText.getText().toString());\n\t}",
"title": ""
},
{
"docid": "7db33d2c7ddd7166636f2068fed1b3e5",
"score": "0.58488566",
"text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\tif (para[i].getParameter() == null)\n\t\t\t\t;\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t\tm_C_Project_ID = getRecord_ID();\n\t}",
"title": ""
},
{
"docid": "2be028d721bf2157f4cd8aa640323f44",
"score": "0.5821339",
"text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\tif (name.equals(\"AD_Client_ID\"))\n\t\t\t\tm_AD_Client_ID = 1000000;\n\t\t\telse if (name.equals(\"AD_Org_ID\"))\n\t\t\t\tm_AD_Org_ID = 1000000;\n\t\t\telse if (name.equals(\"DeleteOldImported\"))\n\t\t\t;//\tm_deleteOldImported = \"Y\".equals(para[i].getParameter());\n\t\t\telse if (name.equals(\"DocAction\"))\n\t\t;//\t\tm_docAction = (String)para[i].getParameter();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "504323ddab3d2e044fe76d625311d88f",
"score": "0.579149",
"text": "public void testRequiredFieldsAttributesName() {\r\n \r\n //###########################################\r\n //externalSubjects.name.required = false\r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().put(\"externalSubjects.name.required\", \"false\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n GrouperSession.startRootSession();\r\n \r\n //name is not required\r\n ExternalSubject externalSubject = new ExternalSubject();\r\n externalSubject.setIdentifier(\"[email protected]\");\r\n externalSubject.store();\r\n \r\n //###########################################\r\n //externalSubjects.name.required = true\r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().put(\"externalSubjects.name.required\", \"true\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n //name is not required\r\n externalSubject = new ExternalSubject();\r\n externalSubject.setIdentifier(\"[email protected]\");\r\n try {\r\n externalSubject.store();\r\n fail(\"Name is required\");\r\n } catch (Exception e) {\r\n assertTrue(ExceptionUtils.getFullStackTrace(e).toLowerCase().contains(\"name is a required\"));\r\n }\r\n externalSubject.setName(\"my name\");\r\n //sohuld work now\r\n externalSubject.store();\r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().remove(\"externalSubjects.name.required\");\r\n ExternalSubjectConfig.clearCache();\r\n\r\n }",
"title": ""
},
{
"docid": "73c847cc3407b716502224dfe90716b1",
"score": "0.57887644",
"text": "public void setNULL()\r\n\t{\r\n\t\tthis.mdl = null;\r\n\t\tthis.id = null;\r\n\t\tthis.resultClass = null;\r\n\t\tthis.type = null;\r\n\t\tthis.ds = null;\r\n\t\tthis.firstRowOnly = null;\r\n\t\tthis.prepared = null;\r\n\t\tthis.proc = null;\r\n\t\tthis.text = null;\r\n\t\tthis.remark = null;\r\n\t}",
"title": ""
},
{
"docid": "d8a5b8c39742f2c4f8ae66bf4812c40e",
"score": "0.575926",
"text": "default void setRequired(@SuppressWarnings(\"unused\") boolean required) {\n }",
"title": ""
},
{
"docid": "8b98c3b4def4547152a63f6dd31f7c23",
"score": "0.5745841",
"text": "public void initialise() {\r\n\t\tworkId = \"0\";\r\n\t\tcountryId = \"0\";\r\n\t\tm_error_string = \"\";\r\n\t}",
"title": ""
},
{
"docid": "1cdd2e0d9bee20d32ce3b98198110a17",
"score": "0.5737812",
"text": "private void defaultFields() {\n\tif(this.fields == null) {\n\t\tthis.fields = identityList(this.rowParser.width());\n\t}\n }",
"title": ""
},
{
"docid": "659d5e77b1510c80b107b0029d49d0cc",
"score": "0.571048",
"text": "@Override\n public boolean isRequired() {\n return false;\n }",
"title": ""
},
{
"docid": "50ea6e43b6f403a909e4104f938ccc0e",
"score": "0.57036984",
"text": "public void setRequired(Boolean required) {\n mFieldRequired = required;\n }",
"title": ""
},
{
"docid": "ce1bda7569783015fdc54635b46a173c",
"score": "0.5690991",
"text": "public void begin_attribute_fields() {\n processing_fields = true;\n }",
"title": ""
},
{
"docid": "adf79b18ed030ffa471e8b4443a71213",
"score": "0.56761706",
"text": "@Before\n\tpublic void setup() throws SecurityException, NoSuchFieldException {\n\t\tfield1 = new StephenerializableField();\n\t\tfield2 = new StephenerializableField();\n\t\ttestField1 = TestFaceClass.class.getDeclaredField(\"face2\");\n\t\ttestField2 = TestFaceClass.class.getDeclaredField(\"face1\");\n\t\tfields = new TreeSet<StephenerializableField>();\n\t}",
"title": ""
},
{
"docid": "979623c032d558e1aa850ee14fbca0d4",
"score": "0.56607336",
"text": "protected void prepare()\r\n\t{\r\n\t\tProcessInfoParameter[] para = getParameter();\r\n\t\tfor (int i = 0; i < para.length; i++)\r\n\t\t{\r\n\t\t\tString name = para[i].getParameterName();\r\n\t\t\t\r\n\t\t\tif (name.equals(\"Action\"))\r\n\t\t\t\tp_Action = para[i].getParameterAsString();\r\n\t\t\telse\r\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\r\n\t\t}\r\n\t\tp_Requisition_ID=getRecord_ID();\r\n\t}",
"title": ""
},
{
"docid": "9f2aa0d2240dbc4fb469e40b3b06b8e9",
"score": "0.56463647",
"text": "@Override\n protected void partSetup() {\n }",
"title": ""
},
{
"docid": "0d29b47bf12f64837aeca29238700c73",
"score": "0.5635296",
"text": "public void setRequired(\r\n boolean required)\r\n {\r\n _required = required;\r\n }",
"title": ""
},
{
"docid": "3d74c14efdf87255c56ba118c95eda2b",
"score": "0.56262654",
"text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\tif (para[i].getParameter() == null)\n\t\t\t\t;\t\t\t\n\t\t\telse if (name.equals(MDDFreight.COLUMNNAME_M_Shipper_ID))\n\t\t\t\tshipperID =para[i].getParameterAsInt();\n\t\t\telse if (name.equals(MDDFreight.COLUMNNAME_DD_Freight_ID))\n\t\t\t\tfreightID = para[i].getParameterAsInt();\n\t\t\telse if (name.equals(\"MovementDate\"))\n p_DateShipped = (Timestamp)para[i].getParameter();\n\t\t\telse if (name.equals(\"Alias\"))\n\t\t\t\talias= (String)para[i].getParameter();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t\t\n\t\t\tif (p_DateShipped == null) {\n\t\t\t\tm_movementDate = Env.getContextAsDate(getCtx(), \"#Date\");\n\t\t\t\tif (m_movementDate == null)\n\t\t\t\t\tm_movementDate = new Timestamp(System.currentTimeMillis());\n\t\t\t} else\n\t\t\t\tm_movementDate = p_DateShipped;\n\t\t\t//\tDocAction check\n\t\t\t\n\t\t}\n\t}",
"title": ""
},
{
"docid": "cd5e79c2c793ddce8ee3f5dcc17cb494",
"score": "0.56140673",
"text": "@Override\n\tpublic void setupNonExistKeyFields(EquationStandardTransaction transaction)\n\t{\n\t\ttransaction.setFieldValue(\"GZPCLP\", \"XXXXXXXXXXXXXXXX\"); // Clean payment (16A)\n\t\ttransaction.setFieldValue(\"GZPEXT\", \"\"); // External reference (16A)\n\t\t/**\n\t\t * Although not actual key fields, these are needed here. Otherwise, case status will be incorrect, i.e. a no hit status\n\t\t * after the last test.\n\t\t */\n\t\ttransaction.setFieldValue(\"GZPLFD\", \"Y\"); // Load from database (1A)\n\t\ttransaction.setFieldValue(\"GZPUPF\", \"Y\"); // Update database if watch list unavailable? (1A)\n\t}",
"title": ""
},
{
"docid": "09c4d316a8370acc36b536c08a3c74d7",
"score": "0.559425",
"text": "private UserInfoRequest() {\n initFields();\n }",
"title": ""
},
{
"docid": "433140916d029b83676f31e9ec60b3f2",
"score": "0.55773777",
"text": "public abstract void fillDefaultValues();",
"title": ""
},
{
"docid": "9b2c094bc5baf55ac2db61c7639fd596",
"score": "0.55619484",
"text": "private ActiveInfoRequest() {\n initFields();\n }",
"title": ""
},
{
"docid": "63b2ef890d87253429beb2d93b29a39e",
"score": "0.5556568",
"text": "public void setDefaults() {\n comparingPrivateFields = ALLOW_COMPARING_PRIVATE_FIELDS;\n extractingPrivateFields = ALLOW_EXTRACTING_PRIVATE_FIELDS;\n bareNamePropertyExtraction = BARE_NAME_PROPERTY_EXTRACTION_ENABLED;\n removeAssertJRelatedElementsFromStackTrace = REMOVE_ASSERTJ_RELATED_ELEMENTS_FROM_STACK_TRACE;\n lenientDateParsing = LENIENT_DATE_PARSING;\n additionalDateFormats = emptyList();\n maxLengthForSingleLineDescription = MAX_LENGTH_FOR_SINGLE_LINE_DESCRIPTION;\n maxElementsForPrinting = MAX_ELEMENTS_FOR_PRINTING;\n printAssertionsDescription = PRINT_ASSERTIONS_DESCRIPTION_ENABLED;\n descriptionConsumer = null;\n maxStackTraceElementsDisplayed = MAX_STACKTRACE_ELEMENTS_DISPLAYED;\n preferredAssumptionException = PREFERRED_ASSUMPTION_EXCEPTION;\n }",
"title": ""
},
{
"docid": "8c1f9cd201b8fb212868b96275327f7f",
"score": "0.55457616",
"text": "private void initialize() {\n\t\tthis.setLayout(null);\n\t\t\n\t\tinitFirstNameField();\n\t\tinitLastNameField();\n\t\tinitDOBField();\n\t\tinitCancelButton();\n\t\tinitPhoneNumberField();\n\t\tinitStreetAddressField();\n\t\tinitCityField();\n\t\tinitStateField();\n\t\tinitPostalCodeField();\n\t\tinitPinField();\n\t\tinitCreateAccountButton();\n\t\tinitCancelButton();\n\t\tinitErrorMessageLabel();\n\t\t//this.add(new javax.swing.JLabel(\"CreateView\", javax.swing.SwingConstants.CENTER));\n\t\t\n\t}",
"title": ""
},
{
"docid": "5d52f045f501eef3ccce3fd9c0859490",
"score": "0.5543113",
"text": "@Override\n\tpublic synchronized void preparePassBoarding() {\n\t\tif (pilotInpark) {\n\t\t\treadyForCheckDoc = true;\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "169de0e4ea351ab969fab6c9aae97a7a",
"score": "0.55348426",
"text": "public void setRequired(boolean required) {\n\t\tthis.date.setRequired(required);\n\t\tthis.time.setRequired(required);\n\t}",
"title": ""
},
{
"docid": "60d26c0e89a03234df5fd57792e4306b",
"score": "0.5533921",
"text": "private void enableOptionalFields() {\n\n\t\t// update 'to account' visibility\n\t\tint accountToVisibility;\n\n\t\tswitch ( radioCheckedType ) {\n\t\t\tcase R.id.addTransaction_radioTransfer:\n\t\t\t\taccountToVisibility = View.VISIBLE;\t// visible for transfer\n\t\t\t\tbreak;\n//\t\t\tcase R.id.addTransaction_radioCredit:\n//\t\t\tcase R.id.addTransaction_radioDebit:\n\t\t\tdefault:\n\t\t\t\taccountToVisibility = View.GONE;\n\t\t\t\tbreak;\n\t\t}\n\t\tlayoutToAccount.setVisibility(accountToVisibility);\n\n\t\t// update conversion rate visibility\n\t\tint rateVisibility = accountToVisibility;\n\t\tif ( rateVisibility == View.VISIBLE ) {\n\t\t\t\n\t\t\tif ( accountTo == null || account == null || accountTo.getCode().equals(account.getCode()) )\n\t\t\t\trateVisibility = View.GONE;\n\t\t\telse {\n\t\t\t\tString text = getResources().getString(R.string.addtransaction_rate) + \" (\" +\n\t\t\t\t\t\taccount.getSymbol() + \"-\" + accountTo.getSymbol() + \")\";\n\t\t\t\ttextViewRate.setText(text);\n\t\t\t}\n\t\t}\n\t\tlayoutRate.setVisibility(rateVisibility);\n\n \t// update save button state\n\t\tsaveButtonControl();\n\t}",
"title": ""
},
{
"docid": "5a8d4b3a318d94d9e1ababce0297141a",
"score": "0.5532112",
"text": "protected void initPreProcess() {\n\t\tinitScubaArgs();\n\t\tgetCallGraph();\n\t\temptyP2SetFieldsFilter();\n\t\tfillField2TypesMap();\n\t\textractAppLocals();\n\t\textractPropLocals();\n\t\textractNotSmashStmts();\n\t\tfillTypeToFieldsMapping();\n\t\tfilterDefaultTgtByCIPA();\n\t\tfillReg2MethMapping();\n\t\tcleanPropLocals();\n\t\tmergeFields();\n\t\tif (SummariesEnv.v().shareSum) {\n\t\t\tinitShared();\n\t\t}\n\t\tsetDupFields();\n\t\tsetAllocDepth();\n\t\tsetLocalPropLevel();\n\t\tfillMethToR0Mapping();\n\t\tfillRegToR0Mapping();\n\t\tconstructCIPASum();\n\t}",
"title": ""
},
{
"docid": "c4ec8e34f9ee7028331a1b3f510a044b",
"score": "0.55240154",
"text": "protected PortalRequest() {\n super(null);\n this.properties = null;\n this.attributes = null;\n this.parameters = null;\n }",
"title": ""
},
{
"docid": "e5d1ef05797df008256403747e0bdb37",
"score": "0.5506419",
"text": "protected void userSetup() {\n\t}",
"title": ""
},
{
"docid": "3b8173ff4c8c56791bc52ed289936835",
"score": "0.55048126",
"text": "public IsSetNullPolicy() {\n \tsuper();\n \tisSetPerformedForAbsentNode = false;\t\n }",
"title": ""
},
{
"docid": "660fa78b613350dc2dad504421e8c851",
"score": "0.55015016",
"text": "public void populateAllFields() {\n\t\t// insert submethods here\n\t\tpopulateTitle();\n\t\tpopulateMPAARating();\n\t\tpopulateDate();\n\t\tpopulateRuntime();\n\t\tpopulateGenre();\n\t\tpopulateDirector();\n\t\tpopulateActors();\n\t\tpopulatePlot();\n\t\tpopulateCountry();\n\t\tpopulateAwards();\n\t\tpopulateMetascore();\n\t\tpopulateIMDBScore();\n\t\tpopulateTomatometer();\n\t\tpopulateBoxOffice();\n\n\t}",
"title": ""
},
{
"docid": "80fbe0ec1f87ee30b0bcfd69f12865ba",
"score": "0.54964477",
"text": "@Test\n public void testInit()\n {\n assertNull(\"Got a name\", dto.getName());\n assertNull(\"Got a description\", dto.getDescription());\n assertNull(\"Got an order\", dto.getOrder());\n assertTrue(\"Got keep groups\", dto.getKeepGroups().isEmpty());\n assertTrue(\"Got an exact list\", dto.getExactPlaylist().isEmpty());\n }",
"title": ""
},
{
"docid": "e5cea0c4834e9f08d2e96794aa0dde58",
"score": "0.54914653",
"text": "public BaseHarness setDefautlVals() {\n this.createTime = this.writeTime = GlobalMethods.getTimeStamp(null);\n this.createId = this.writeId = PackagingVars.context.getUser().getId();\n this.user = PackagingVars.context.getUser().getLogin();\n this.createUser = PackagingVars.context.getUser().getFirstName() + \" \" + PackagingVars.context.getUser().getLastName();\n this.deleted = false;\n return this;\n }",
"title": ""
},
{
"docid": "15e391754169cd4f5c4941fab558c144",
"score": "0.54897666",
"text": "public void setOptionalFields(final FieldBinding[] theOptionalFields) {\r\n optionalFields = theOptionalFields;\r\n }",
"title": ""
},
{
"docid": "22f1367d5301f2014cbf7eef961db2c8",
"score": "0.5485623",
"text": "public void initializeAndSetDefaults() {\t\t\n\t\tSpeedometerNeedle.getInstance().setValue(0);\n\t\tMphDigitalTextL2.getInstance().setValue(0);\n\t\tVoltageL2.getInstance().setValue(0);\n\t\tLeftTurnSignal.getInstance().setValue(0);\n\t\tRightTurnSignal.getInstance().setValue(0);\n\t\tBrights.getInstance().setValue(0);\n\t\tCheckEngineLight.getInstance().setValue(0);\n\t\tHeadLight.getInstance().setValue(0);\n\t\tDigitalPins.getInstance().setStringValue(\"\");\n\t\tBattery.getInstance().setValue(0);\n\t}",
"title": ""
},
{
"docid": "ec6f4196488ce5db513867e6e065d849",
"score": "0.54823595",
"text": "private SC() {\n initFields();\n }",
"title": ""
},
{
"docid": "1bfc5609c5cafd5fbd6db90d5556ca45",
"score": "0.548003",
"text": "private void setupData() {\n\t\t\t}",
"title": ""
},
{
"docid": "5cba5a76dc87d032009b1f622c692a83",
"score": "0.5479735",
"text": "private void init() \n\t{\n\t\tinitializeFromAnnotations();\n\t\t\n FieldDefinitionCollection fields = new FieldDefinitionCollection();\n fields.addFieldDefinition(new FieldDefinition(\"isEmpty\", BaseTypes.BOOLEAN));\n defineDataShapeDefinition(\"SensorReadings\", fields);\n\t}",
"title": ""
},
{
"docid": "dd11de23d2ac46dcf579929f98b71fd5",
"score": "0.547929",
"text": "public void setOptionalFields(Key[] optionalFields) {\n this.optionalFields = optionalFields;\n }",
"title": ""
},
{
"docid": "4af3277118c5950cda07a1bcf9293956",
"score": "0.54572433",
"text": "public void setCheck_missing_fields(Think.XmlWebServices.ZZBoolean check_missing_fields) {\n this.check_missing_fields = check_missing_fields;\n }",
"title": ""
},
{
"docid": "24c807f706c97e927e53b1e9a19287ba",
"score": "0.5456542",
"text": "protected void prepareData() {\n\t}",
"title": ""
},
{
"docid": "7fa8ca26ec174165cbb16810d38122a2",
"score": "0.5453321",
"text": "@Before\r\n\tpublic void init() {\n\t\tcontroller = new RequirementCardControllerImpl();\r\n\t\trqModel = controller.getRqModel();\r\n\r\n\t\tloginName = \"loginName\";\r\n\t}",
"title": ""
},
{
"docid": "91e98bbf9cac4e38e126d6b5c2a2ecac",
"score": "0.5448381",
"text": "@Override\n\tprotected void setupData() {\n\n\t}",
"title": ""
},
{
"docid": "e968122bde175789730df1b2c1a19e01",
"score": "0.5445784",
"text": "protected void setRequired(boolean required) {\n getElement().setProperty(\"required\", required);\n }",
"title": ""
},
{
"docid": "d9010cbd41a64416bc4d43a710c8bec2",
"score": "0.54414284",
"text": "protected void setDefaults() {\n photo_id = 0;\n photoset_id = 0;\n num = 0;\n imagefile = null;\n imagewidth = 0;\n imageheight = 0;\n title = null;\n caption = null;\n thumbnail = null;\n timeposted = null;\n }",
"title": ""
},
{
"docid": "91e7d9a0db92b2255985892474c2b85e",
"score": "0.5436099",
"text": "@Override\n public String[] getRequiredFields() {\n return new String[] { \"value\" };\n }",
"title": ""
},
{
"docid": "883f8c9ea58f984abd8af7aa37f6e163",
"score": "0.5429193",
"text": "@Test\n public void parse_optionalFieldsMissing_success() {\n Person expectedPerson = new PersonBuilder().withName(VALID_NAME_AMY).withPhone(VALID_PHONE_AMY)\n .withEmail(VALID_EMAIL_AMY).withAddress(VALID_ADDRESS_AMY)\n .withCurrentPosition(VALID_CURRENT_POSITION_AMY).withCompany(VALID_COMPANY_AMY)\n .withProfilePicture().withTags().build();\n assertParseSuccess(parser, NAME_DESC_AMY + PHONE_DESC_AMY + EMAIL_DESC_AMY + ADDRESS_DESC_AMY\n + CURRENT_POSITION_DESC_AMY + COMPANY_DESC_AMY, new AddCommand(expectedPerson));\n }",
"title": ""
},
{
"docid": "f7c0fb9a006e8d1e7ebc1e8b72bee4c3",
"score": "0.54270804",
"text": "private void limparCampos() {\r\n\t\tdtpData.setValue(null);\r\n\t\ttblHorarioRequisitos.setItems(null);\r\n\t\ttxtNomeSoftware.setText(\"\");\r\n\t\ttblRequisitos.setItems(null);\r\n\t\ttxtNumMaxAlunos.setText(\"\");\r\n\t\ttexRequisitos.setText(\"\");\r\n\t\t// hbxHorarios\r\n\t\ttxtDisciplina.setText(\"\");\r\n\t\tcmbDepartamento.setValue(null);\r\n\t\ttxtTurma.setText(\"\");\r\n\t\ttxaObservacao.setText(\"\");\r\n\t\tckbFixo.setSelected(false);\r\n\t}",
"title": ""
},
{
"docid": "dad8717ee77e73fc900ca1f776b0d939",
"score": "0.54184747",
"text": "@Test\n\tpublic void entityWithMandatoryPropertiesWithDefaultValue() {\n\n\t}",
"title": ""
},
{
"docid": "903030f176e5afdbbbb3c98a6992fe95",
"score": "0.54143137",
"text": "public void checkMandatoryProperties() throws JposException;",
"title": ""
},
{
"docid": "e1aaa4c408f3339b813e0eb84c7b6660",
"score": "0.54084295",
"text": "@Override\n\tprotected boolean allFieldsPopulated() {\n\t\treturn parameter != null && value != null;\n\t}",
"title": ""
},
{
"docid": "7eb533abf839f2a71f6a1ae9b29275ed",
"score": "0.54023546",
"text": "private void limpiarCampos() {\n\t\ttfCEdula.setText(null);\n\t\ttfNombre.setText(null);\n\t\ttfApellido.setText(null);\n\t\ttfDireccion.setText(null);\n\t\ttfTelefono.setText(null);\n\t\ttfCorreo.setText(null);\n\t\tjDfecha.setDate(null);\n\t}",
"title": ""
},
{
"docid": "912fec24d24dc3c3ddcaf7c574b8bcf5",
"score": "0.5401376",
"text": "public void testRequiredFieldsAttributesInstitution() {\r\n \r\n //###########################################\r\n //externalSubjects.institution.required = true\r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().put(\"externalSubjects.institution.required\", \"true\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n //institution is required\r\n ExternalSubject externalSubject = new ExternalSubject();\r\n externalSubject.setName(\"my name\");\r\n externalSubject.setIdentifier(\"[email protected]\");\r\n try {\r\n externalSubject.store();\r\n fail(\"Institution is a required\");\r\n } catch (Exception e) {\r\n assertTrue(e.getMessage(), ExceptionUtils\r\n .getFullStackTrace(e).toLowerCase().contains(\"institution is a required\"));\r\n }\r\n externalSubject.setInstitution(\"My institution\");\r\n //should work now\r\n externalSubject.store();\r\n \r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().remove(\"externalSubjects.institution.required\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n \r\n }",
"title": ""
},
{
"docid": "a84fcbf9c46bc941bb8c23bcaac2407a",
"score": "0.54003483",
"text": "protected void prepare()\n\t{\t \n\t\n\t}",
"title": ""
},
{
"docid": "d7639bebad315956031beeaf723a9077",
"score": "0.5399807",
"text": "public void setIsMandatory(String isMandatory){\r\n\t\tthis.isMandatory = isMandatory;\r\n\t}",
"title": ""
},
{
"docid": "2ca3a4c028f9929fea8aa2b9958ef0ed",
"score": "0.5395571",
"text": "public void setRequired(final boolean required) {\n this._required = required;\n }",
"title": ""
},
{
"docid": "985781b3fb6530dafde5ca7f3e9daf35",
"score": "0.5393416",
"text": "public void preencherCampos(){\n popularObjetos();\n if (this.clienteendereco!=null){\n popularTelaEndereco();\n }else {\n this.clienteendereco = new Clienteendereco();\n }\n if (this.clientefechamento!=null){\n popularTelaFechamento();\n }else {\n this.clientefechamento = new Clientefechamento();\n }\n if (this.clientepessoafisica!=null){\n popularTelaDadosComplementares();\n popularTelaDadosComercial();\n }else {\n this.clientepessoafisica = new Clientepessoafisica();\n }\n if (cliente!=null){\n popularTelaDadosIdentificacao();\n }else {\n this.cliente = new Cliente();\n }\n }",
"title": ""
},
{
"docid": "fcc0ff0a112adf9611fc87d026523d14",
"score": "0.5391383",
"text": "private void initializeNonViewFields() {\n mServiceConnectionSync = \n new GenericServiceConnection<WeatherCall>(WeatherCall.class);\n\n mServiceConnectionAsync =\n new GenericServiceConnection<WeatherRequest>(WeatherRequest.class);\n\n // Display results if any (due to runtime configuration change).\n displayResults();\n }",
"title": ""
},
{
"docid": "66117015a74bc1a783f4d9eb54a31ce6",
"score": "0.53831476",
"text": "@Override\n\tprotected void beforeInitWeNeedSomeParams(Object... params)\n\t{\n\t}",
"title": ""
},
{
"docid": "15294c59d7646bed52618b9021fb43d9",
"score": "0.5379567",
"text": "public void setUp() {\n manager = new UMLModelManager();\n include = new IncludeImpl();\n addIncludeAction = new AddIncludeAction(include, manager);\n }",
"title": ""
},
{
"docid": "490723b67887e76fd171dfd1040e2154",
"score": "0.537912",
"text": "@Override\n public void initialize(TransformContext context) throws Exception {\n upperFields = config.getUpperFields();\n lowerFields = config.getLowerFields();\n }",
"title": ""
},
{
"docid": "8778c4ff98ee4dbd02110ee54cc50170",
"score": "0.53780824",
"text": "@Override\n\tpublic void setupExistKeyFields(EquationStandardTransaction transaction)\n\t{\n\t\ttransaction.setFieldValue(\"GZPCLP\", \"KBSL00103H000012\"); // Clean payment (16A)\n\t\ttransaction.setFieldValue(\"GZPEXT\", \"\"); // External reference (16A)\n\t\t/**\n\t\t * Although not actual key fields, these are needed here. Otherwise, case status will be incorrect, i.e. a no hit status\n\t\t * after the last test.\n\t\t */\n\t\ttransaction.setFieldValue(\"GZPLFD\", \"Y\"); // Load from database (1A)\n\t\ttransaction.setFieldValue(\"GZPUPF\", \"Y\"); // Update database if watch list unavailable? (1A)\n\t}",
"title": ""
},
{
"docid": "c8c810e52607dfd6c2690bfe321af69b",
"score": "0.5371426",
"text": "public void validateRequired() {\r\n\t\ttry {\r\n\t\t\tif (this.payments.getHr().getName() == null) {\r\n\t\t\t\tControladorContexto.mensajeRequeridos(\"formPayments:txtHrs\");\r\n\t\t\t}\r\n\t\t\tif (this.payments.getContract().getHr().getName() == null) {\r\n\t\t\t\tControladorContexto\r\n\t\t\t\t\t\t.mensajeRequeridos(\"formPayments:txtContratos\");\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tControladorContexto.mensajeError(e);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "26697e34d691e5232d66d44eeb667322",
"score": "0.5360758",
"text": "public void SetUp(){\n System.out.println(\"Enter id of the Car: \");\r\n int id = scanner.nextInt();\r\n car.setId(id);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Please enter model of the car: \");\r\n String name = str.nextLine();\r\n car.setName(name);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Please enter brand of the car: \");\r\n String name1 = str.nextLine();\r\n car.setBrand(name1);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Enter the published year: \");\r\n int year = scanner.nextInt();\r\n car.setYear(year);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Enter the current price: \");\r\n int price = scanner.nextInt();\r\n car.setPrice(price);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Enter in what type of fuel it uses: \");\r\n String fuel = str.nextLine();\r\n car.setFuel(fuel);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Enter weight of this car: \");\r\n int weight = scanner.nextInt();\r\n car.setWeight(weight);\r\n System.out.println(\"\");\r\n \r\n System.out.println(\"Enter your id: \");\r\n int id2 = scanner.nextInt();\r\n car.setId2(id2);\r\n System.out.println(\"\");\r\n \r\n }",
"title": ""
},
{
"docid": "3dc4ffa0e71e0a3d73774ce855b6e893",
"score": "0.53577775",
"text": "private DissolveRequest() {\n initFields();\n }",
"title": ""
},
{
"docid": "a024b50cc1df126f1498014a1326ab40",
"score": "0.5357611",
"text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\tif (para[i].getParameter() == null)\n\t\t\t\t;\n else if (name.equals(\"MPC_ProfileBOM_ID\"))\n\t\t\t\tFormato_ID = ((BigDecimal)para[i].getParameter()).intValue();\n\t\t\telse if (name.equals(\"Name\"))\n\t\t\t\tvalor = ((String)para[i].getParameter()).toString();\n else\n\t\t\t\tlog.log(Level.SEVERE,\"prepare - Unknown Parameter: \" + name);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "d89ba1d67566f61fcd4bc2877be55c64",
"score": "0.5357562",
"text": "private void limpiarCampos() {\r\n\t\tproductoBuscado = null;\r\n\t\tdimension = 0;\r\n\t\tcodigo = 0;\r\n\t\tnombre = \"\";\r\n\t\tdescripcion = \"\";\r\n\t\tvalor = 0;\r\n\t\tpeso = 0;\r\n\t}",
"title": ""
},
{
"docid": "53391fa666bd8bc7cef57dc32ff5227e",
"score": "0.5355097",
"text": "public void reset() {\n for (int i = 0; i < fieldData.length; i++) {\n isNonNull[i] = false;\n }\n }",
"title": ""
},
{
"docid": "3662913d6fc7ae1531fcb6228707909a",
"score": "0.53450596",
"text": "protected void initializeInformationResource() { // for instance initializer of subclass.\n // initialize the flexible map of table DB name\n getTableDbNameFlexibleMap();\n\n // initialize the flexible map of table property name\n getTablePropertyNameFlexibleMap();\n\n // initialize the list of column information\n getColumnInfoList();\n\n // initialize the flexible map of column information \n getColumnInfoFlexibleMap();\n\n // initialize the primary unique information\n if (hasPrimaryKey()) {\n getPrimaryUniqueInfo();\n }\n\n // these should not be initialized here\n // because the problem 'cyclic reference' occurred \n // so these are initialized as lazy\n //getForeignInfoList();\n //getForeignInfoFlexibleMap();\n //getReferrerInfoList();\n //getReferrerInfoFlexibleMap();\n }",
"title": ""
},
{
"docid": "d8429f2cfd5cc94bbe8ffd2d785fc8a1",
"score": "0.5344463",
"text": "private void checkPreconditions(@RequestBody final WettkampfTypDTO wettkampftypDTO) {\n Preconditions.checkNotNull(wettkampftypDTO, PRECONDITION_MSG_WETTKAMPFTYP);\n Preconditions.checkNotNull(wettkampftypDTO.getName(), PRECONDITION_MSG_WETTKAMPFTYP_NAME);\n Preconditions.checkNotNull(wettkampftypDTO.getId() >=0,PRECONDITION_MSG_WETTKAMPFTYP_ID);\n }",
"title": ""
},
{
"docid": "213404a5a1e9521304550fc553f3cdd0",
"score": "0.5343984",
"text": "public void testNoAddedFields()\n {\n TestUtils.testNoAddedFields(HToggleGroup.class, null);\n }",
"title": ""
},
{
"docid": "fbb6e790fb14b08fcb044c92020ad51c",
"score": "0.53412217",
"text": "public void setupView() {\n setupAttractionInfo();\n setupRatings();\n setupHoursInfo();\n setupHostDetails();\n setupAttractionContactInfo();\n }",
"title": ""
},
{
"docid": "540d6484f22b934298695faef677aa9a",
"score": "0.53393376",
"text": "@Override\n public void prepareForGroupTest( Map<String, FieldAccess> fields, Object owner ) {\n\n }",
"title": ""
},
{
"docid": "a1b531cb8797a75248b3f11c43637549",
"score": "0.5323274",
"text": "@Override\n protected void doInitialisation() {\n }",
"title": ""
},
{
"docid": "1529d63995acd032d57f81ad9c07ca0f",
"score": "0.5313717",
"text": "public void testRequiredFieldsAttributesEmail() {\r\n \r\n //###########################################\r\n //externalSubjects.email.required = true\r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().put(\"externalSubjects.email.required\", \"true\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n //name is not required\r\n ExternalSubject externalSubject = new ExternalSubject();\r\n externalSubject.setName(\"my name\");\r\n externalSubject.setIdentifier(\"[email protected]\");\r\n try {\r\n externalSubject.store();\r\n fail(\"Email is required\");\r\n } catch (Exception e) {\r\n assertTrue(ExceptionUtils.getFullStackTrace(e).toLowerCase().contains(\"email is a required\"));\r\n }\r\n externalSubject.setEmail(\"[email protected]\");\r\n //should work now\r\n externalSubject.store();\r\n \r\n GrouperConfig.retrieveConfig().propertiesOverrideMap().remove(\"externalSubjects.email.required\");\r\n ExternalSubjectConfig.clearCache();\r\n \r\n }",
"title": ""
},
{
"docid": "b4028efaf4a0e853e6bd569d3079411b",
"score": "0.53114027",
"text": "private void initEverything() {\n this.zeroValues(false);\n }",
"title": ""
},
{
"docid": "5332d4c45fb0e30759366101ed614d88",
"score": "0.53021365",
"text": "@Before\n\t\tpublic void setup() {\n\t\t\ttestAssetInsuranceType = new AssetInsuranceType();\n\t\t\t\n\t\t\t// Configure AssetInsuranceType- version number and id are set by database\n\t\t\ttestAssetInsuranceType.setMandatory(mandatory);\n\t\t\t\n\t\t\ttestAssetInsuranceType.setTenantId(tenantId);\n\t\t\ttestAssetInsuranceType.setCreatedBy(createdBy);\n\t\t\ttestAssetInsuranceType.setCreatedDate(createdDate);\n\t\t\ttestAssetInsuranceType.setLastUpdatedBy(lastUpdatedBy);\n\t\t\ttestAssetInsuranceType.setLastUpdatedDate(lastUpdatedDate);\n\t\t\t\n\t\t\t// resets the sequences so that Ids should be consistent every time a test runs.\n\t\t\ttestUtil.resetSequences(\"asset_insurance_types\");\n\t\t\ttestUtil.resetSequences(\"insurance_policies\");\n\t\t\ttestUtil.resetSequences(\"assets\");\n\t\t\ttestUtil.resetSequences(\"parties\");\n\t\t\ttestUtil.resetSequences(\"user_data\");\n\t\t\ttestUtil.resetSequences(\"insurance_type_policy_links\");\n\t\t}",
"title": ""
},
{
"docid": "b0e3b8320a013b0cb4153e3a1a7494ba",
"score": "0.52963084",
"text": "private void enableFields() {\n }",
"title": ""
},
{
"docid": "ed9163f4b1aee40c078eca801e5c4217",
"score": "0.52940226",
"text": "@Before\n\tpublic void setUp(){\n\t\tphoneNumber = new PhoneNumber(609,613,7206);\n\t\taddress = new Address(\"55 River Drive South\", \"Apt 1214\",\n \"Jersey City\", \"New Jersey\", \"07310\");\n\t\tcontact = new Contact(name,email,phoneNumber,note,address);\n\t\toneContact = new Contact(name,email,phoneNumber,note,address);\n \n\t}",
"title": ""
},
{
"docid": "bafc364d11344a4d3b07f098d5572c12",
"score": "0.52816457",
"text": "@Override\r\n\tpublic boolean validateFields() {\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "bafc364d11344a4d3b07f098d5572c12",
"score": "0.52816457",
"text": "@Override\r\n\tpublic boolean validateFields() {\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "bafc364d11344a4d3b07f098d5572c12",
"score": "0.52816457",
"text": "@Override\r\n\tpublic boolean validateFields() {\n\t\treturn false;\r\n\t}",
"title": ""
}
] |
dfd77eac25cbb34368adcd0423f841ba | Generates an SVG file using given JSON configuration object. | [
{
"docid": "e24176515aff80f43382634258fd2ee8",
"score": "0.48366478",
"text": "public synchronized String generate(String options, String theme,\n String lang, int targetWidth, int targetHeight) {\n\n try {\n ensureTemporaryFiles();\n\n OutputStream out = process.getOutputStream();\n out.write(getBytes(targetWidth + \"\\n\"));\n out.write(getBytes(targetHeight + \"\\n\"));\n out.write(getBytes(theme));\n out.write(getBytes(\"\\n___Lang:start\\n\"));\n out.write(getBytes(lang));\n out.write(getBytes(\"\\n___Config:start\\n\"));\n out.write(getBytes(options));\n out.write(getBytes(\"\\n___VaadinSVGGenerator:run\\n\"));\n out.flush();\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n process.getInputStream(), charset));\n\n String line = reader.readLine();\n while (!line.startsWith(\"<svg\")) {\n if (line.startsWith(\"Render failed\")) {\n destroyPhantomInstance(line);\n }\n if (line.startsWith(\"[object \")\n || line.startsWith(\"Highcharts\")) {\n line = reader.readLine();\n } else {\n destroyPhantomInstance(line);\n }\n }\n return line;\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }",
"title": ""
}
] | [
{
"docid": "5fd31ca0c3d2a7d9b994b24e6ebf7904",
"score": "0.63797027",
"text": "public void writeSVG();",
"title": ""
},
{
"docid": "a66ec4872b50f8a3ea416a67db2e7ce8",
"score": "0.5735833",
"text": "@Test\n public void test() throws IOException, FontFormatException {\n String uri = \"image/front_1.svg\";\n ClassPathResource resource = new ClassPathResource(uri);\n\n String parser = XMLResourceDescriptor.getXMLParserClassName();\n SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);\n Document document = f.createDocument(uri, resource.getInputStream());\n\n DOMImplementation domImpl =\n GenericDOMImplementation.getDOMImplementation();\n\n // Create an instance of org.w3c.dom.Document.\n String svgNS = \"http://www.w3.org/2000/svg\";\n// Document document = domImpl.createDocument(svgNS, \"svg\", null);\n\n SVGGeneratorContext ctx = SVGGeneratorContext.createDefault(document);\n ctx.setEmbeddedFontsOn(true);\n\n SVGGraphics2D graphics2D = new SVGGraphics2D(ctx, true);\n Font SourceHanSansSCNormal = getFont(\"fonts/SourceHanSansSC-Normal.ttf\");\n graphics2D.setFont(SourceHanSansSCNormal.deriveFont(80f));\n graphics2D.drawString(\"hello world\", 70f, 70f);\n\n// Font SourceHanSansSCBold = getFont(\"fonts/SourceHanSansSC-Bold.ttf\");\n// graphics2D.setFont(SourceHanSansSCBold.deriveFont(80f));\n// graphics2D.drawString(\"hello world\", 70f, 140f);\n\n // The following populates the document root with the\n // generated SVG content.\n Element root = document.getDocumentElement();\n graphics2D.getRoot(root);\n\n String s = getStringFromDocument(document);\n\n Writer out = new OutputStreamWriter(new FileOutputStream(\"img.svg\"), \"UTF-8\");\n out.write(s);\n System.out.println(s);\n out.close();\n\n // we want to use CSS style attributes\n// boolean useCSS = true;\n// Writer out = new OutputStreamWriter(System.out, \"UTF-8\");\n// graphics2D.stream(out, useCSS);\n\n\n\n\n\n\n\n }",
"title": ""
},
{
"docid": "82ceb6beb99562b8b1b35a1af61518cf",
"score": "0.5726659",
"text": "String generateSVG(IReadableShapeAnimation s, List<IReadableTransformation> transformations,\r\n int fps) throws IllegalArgumentException;",
"title": ""
},
{
"docid": "84e446c1f351228a65b87e57da955468",
"score": "0.56631666",
"text": "public void makeSVG() {\n\n if (!iUpdating) {\n iUpdating = true;\n //get the info from the MainInformationFeeder\n this.getInfo();\n //calculate the values for the different positions\n this.calculate();\n //calculate the width of every element\n iElementWidth = (iLogoWidth - 100) / iLogoElements;\n\n //create the SVG document\n DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();\n String svgNS = \"http://www.w3.org/2000/svg\";\n doc = (SVGDocument) impl.createDocument(svgNS, \"svg\", null);\n\n // get the root element (the svg element)\n Element svgRoot = doc.getDocumentElement();\n\n // set the width and height attribute on the svg root element\n svgRoot.setAttributeNS(null, \"width\", String.valueOf(iLogoWidth - 50));\n svgRoot.setAttributeNS(null, \"height\", String.valueOf(iLogoHeight));\n\n //paint axis\n Element yAxis = doc.createElementNS(svgNS, \"rect\");\n yAxis.setAttributeNS(null, \"x\", \"49\");\n yAxis.setAttributeNS(null, \"y\", \"50\");\n yAxis.setAttributeNS(null, \"width\", \"1\");\n yAxis.setAttributeNS(null, \"height\", String.valueOf(iLogoHeight - 80));\n yAxis.setAttributeNS(null, \"style\", \"fill:black\");\n\n Element xAxis1 = doc.createElementNS(svgNS, \"rect\");\n xAxis1.setAttributeNS(null, \"x\", \"49\");\n xAxis1.setAttributeNS(null, \"y\", String.valueOf(iLogoHeight - 50));\n xAxis1.setAttributeNS(null, \"width\", String.valueOf(iElementWidth * iLogoElements));\n xAxis1.setAttributeNS(null, \"height\", \"1\");\n xAxis1.setAttributeNS(null, \"style\", \"fill:black\");\n\n Element xAxis2 = doc.createElementNS(svgNS, \"rect\");\n xAxis2.setAttributeNS(null, \"x\", \"49\");\n xAxis2.setAttributeNS(null, \"y\", String.valueOf(iLogoHeight - 30));\n xAxis2.setAttributeNS(null, \"width\", String.valueOf(iElementWidth * iLogoElements));\n xAxis2.setAttributeNS(null, \"height\", \"1\");\n xAxis2.setAttributeNS(null, \"style\", \"fill:black\");\n\n //arrows\n Element top = doc.createElementNS(svgNS, \"path\");\n top.setAttributeNS(null, \"d\", \"M 44.5,54 L 49.5,50 L 54.5,54\");\n top.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\");\n\n //axis markers\n //paint axis markers\n Element markerLine1 = doc.createElementNS(svgNS, \"path\");\n markerLine1.setAttributeNS(null, \"d\", \"M 49,70 L 44,70 L 44,70\");\n markerLine1.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\");\n Element markerLine2 = doc.createElementNS(svgNS, \"path\");\n markerLine2.setAttributeNS(null, \"d\", \"M 49,\" + String.valueOf(70 + (iLogoHeight - 120) / 2) + \" L 44,\" + String.valueOf(70 + (iLogoHeight - 120) / 2) + \"\");\n markerLine2.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\");\n\n Element marker1 = doc.createElementNS(svgNS, \"text\");\n marker1.setAttributeNS(null, \"x\", \"20\");\n marker1.setAttributeNS(null, \"y\", \"70\");\n marker1.setAttributeNS(null, \"style\", \"font-size:14px;fill:black;font-family:Arial\");\n marker1.setAttributeNS(null, \"text-anchor\", \"middle\");\n Text markerText1 = doc.createTextNode(String.valueOf(iMax));\n marker1.appendChild(markerText1);\n svgRoot.appendChild(marker1);\n\n Element marker3 = doc.createElementNS(svgNS, \"text\");\n marker3.setAttributeNS(null, \"x\", \"20\");\n marker3.setAttributeNS(null, \"y\", String.valueOf(70 + (iLogoHeight - 70 - 50) / 2));\n marker3.setAttributeNS(null, \"style\", \"font-size:14px;fill:black;font-family:Arial\");\n marker3.setAttributeNS(null, \"text-anchor\", \"middle\");\n Text markerText3 = doc.createTextNode(String.valueOf(Math.round((iMax - (iMax - iMin) / 2) * 100.0) / 100.0));\n marker3.appendChild(markerText3);\n svgRoot.appendChild(marker3);\n\n //paint numbers\n int startNumber = iStartPosition;\n int elementCount = 0;\n for (int s = startNumber; s < startNumber + iLogoElements; s++) {\n //paint the number\n Element number = doc.createElementNS(svgNS, \"text\");\n number.setAttributeNS(null, \"x\", String.valueOf(50 + elementCount * iElementWidth + iElementWidth / 2));\n number.setAttributeNS(null, \"y\", String.valueOf(iLogoHeight - 35));\n number.setAttributeNS(null, \"style\", \"font-size:14px;fill:black;font-family:Arial\");\n number.setAttributeNS(null, \"text-anchor\", \"middle\");\n Text numberText = doc.createTextNode(String.valueOf(s));\n number.appendChild(numberText);\n svgRoot.appendChild(number);\n\n //paint a line the enclose the number that is painted\n elementCount = elementCount + 1;\n Element line = doc.createElementNS(svgNS, \"path\");\n line.setAttributeNS(null, \"d\", \"M \" + String.valueOf(49 + elementCount * iElementWidth) + \",\" + String.valueOf(iLogoHeight - 30) + \" L \" + String.valueOf(49 + elementCount * iElementWidth) + \",\" + String.valueOf(iLogoHeight - 50));\n line.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\");\n svgRoot.appendChild(line);\n }\n\n //add the created SVG object to the SVG root\n svgRoot.appendChild(yAxis);\n svgRoot.appendChild(xAxis1);\n svgRoot.appendChild(xAxis2);\n svgRoot.appendChild(top);\n svgRoot.appendChild(markerLine1);\n svgRoot.appendChild(markerLine2);\n\n //paint the sliding window size label if it is used\n if (iUseSlidingWindow) {\n Element titleAxis2 = doc.createElementNS(svgNS, \"text\");\n titleAxis2.setAttributeNS(null, \"x\", String.valueOf((iLogoHeight / -2) + (iLogoHeight / -4)));\n titleAxis2.setAttributeNS(null, \"y\", \"35\");\n titleAxis2.setAttributeNS(null, \"transform\", \"matrix(0,-1,1,0,0,0)\");\n titleAxis2.setAttributeNS(null, \"style\", \"font-size:14px;fill:black;font-family:Arial\");\n titleAxis2.setAttributeNS(null, \"text-anchor\", \"middle\");\n Text data2 = doc.createTextNode(\"Sliding window size: \" + iSlidingWindowSize);\n titleAxis2.appendChild(data2);\n svgRoot.appendChild(titleAxis2);\n }\n\n //paint the title\n Element titleAxis2 = doc.createElementNS(svgNS, \"text\");\n titleAxis2.setAttributeNS(null, \"x\", String.valueOf(iLogoWidth / 2));\n titleAxis2.setAttributeNS(null, \"y\", \"25\");\n titleAxis2.setAttributeNS(null, \"style\", \"font-size:14px;fill:black;font-family:Arial\");\n titleAxis2.setAttributeNS(null, \"text-anchor\", \"middle\");\n Text data2 = doc.createTextNode(iAaParameterMatrix.getTitle());\n titleAxis2.appendChild(data2);\n svgRoot.appendChild(titleAxis2);\n\n //create a double with the maximum vertical height\n double lMaxVerticalHeight = (double) iLogoHeight - 100.0;\n //create a double with the difference between the max and min\n double lMaxDiff = iMax - iMin;\n //create string where the different point of the lines will be saved in\n String lConfidenceIntervalString = \"\";\n String lPositionString = \"\";\n String lReferenceString = \"\";\n\n //add the upper confidence limits to the lConfidenceIntervalString\n for (int p = 0; p < iAaParameterResults.size(); p++) {\n //calculate the x start position\n double elementStartX = 50.0 + p * iElementWidth + iElementWidth / 2;\n //the difference between the negative set mean and the minimun\n double lDiff = iAaParameterResults.get(p).getUpperConfidenceLimit() - iMin;\n //the percentage of the lDiff of the whole lMaxDiff\n double lDiffPerc = lDiff / lMaxDiff;\n //calculate the y start position\n double elementStartY = (double) iLogoHeight - 50.0 - (lMaxVerticalHeight * lDiffPerc);\n if (p == 0) {\n //if it's the first point it must start with an M\n lConfidenceIntervalString = \"M \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n } else {\n lConfidenceIntervalString = lConfidenceIntervalString + \" L \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n }\n }\n\n //add the lower confidence limits to the lConfidenceIntervalString\n for (int p = 0; p < iAaParameterResults.size(); p++) {\n //calculate the x start position\n double elementStartX = 50.0 + (iAaParameterResults.size() - 1 - p) * iElementWidth + iElementWidth / 2;\n //the difference between the negative set mean and the minimun\n double lDiff = iAaParameterResults.get(iAaParameterResults.size() - 1 - p).getLowerConfidenceLimit() - iMin;\n //the percentage of the lDiff of the whole lMaxDiff\n double lDiffPerc = lDiff / lMaxDiff;\n //calculate the y start position\n double elementStartY = (double) iLogoHeight - 50.0 - (lMaxVerticalHeight * lDiffPerc);\n lConfidenceIntervalString = lConfidenceIntervalString + \" L \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n }\n //close the line with a \"z\"\n lConfidenceIntervalString = lConfidenceIntervalString + \" z \";\n\n //add this line to the root\n Element lConfidence = doc.createElementNS(svgNS, \"path\");\n lConfidence.setAttributeNS(null, \"d\", lConfidenceIntervalString);\n lConfidence.setAttributeNS(null, \"style\", \"fill:#ed00b2;fill-rule:evenodd;stroke:#000000;stroke-width:0.9;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;opacity:0.27;stroke-miterlimit:4;stroke-dasharray:none\");\n svgRoot.appendChild(lConfidence);\n\n //add the position means to the string\n for (int p = 0; p < iAaParameterResults.size(); p++) {\n //calculate the x start position\n double elementStartX = 50.0 + p * iElementWidth + iElementWidth / 2;\n //the difference between the negative set mean and the minimun\n double lDiff = iAaParameterResults.get(p).getCalulatedMean() - iMin;\n //the percentage of the lDiff of the whole lMaxDiff\n double lDiffPerc = lDiff / lMaxDiff;\n //calculate the y start position\n double elementStartY = (double) iLogoHeight - 50.0 - (lMaxVerticalHeight * lDiffPerc);\n if (p == 0) {\n lPositionString = \"M \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n } else {\n lPositionString = lPositionString + \" L \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n }\n }\n\n //add this line to the root\n Element lPositionMeans = doc.createElementNS(svgNS, \"path\");\n lPositionMeans.setAttributeNS(null, \"d\", lPositionString);\n lPositionMeans.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#00ff00;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none\");\n svgRoot.appendChild(lPositionMeans);\n\n\n if (lUseTwoSets) {\n //add the position means to the string\n for (int p = 0; p < iAaParameterResults.size(); p++) {\n //calculate the x start position\n double elementStartX = 50.0 + p * iElementWidth + iElementWidth / 2;\n //the difference between the negative set mean and the minimun\n double lDiff = iAaParameterResults.get(p).getCalulatedMeanSetTwo() - iMin;\n //the percentage of the lDiff of the whole lMaxDiff\n double lDiffPerc = lDiff / lMaxDiff;\n //calculate the y start position\n double elementStartY = (double) iLogoHeight - 50.0 - (lMaxVerticalHeight * lDiffPerc);\n if (p == 0) {\n lPositionString = \"M \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n } else {\n lPositionString = lPositionString + \" L \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n }\n }\n\n //add this line to the root\n Element lTwoPositionMeans = doc.createElementNS(svgNS, \"path\");\n lTwoPositionMeans.setAttributeNS(null, \"d\", lPositionString);\n lTwoPositionMeans.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#0000FF;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none\");\n svgRoot.appendChild(lTwoPositionMeans);\n }\n\n //add the reference means to the string\n for (int p = 0; p < iAaParameterResults.size(); p++) {\n //calculate the x start position\n double elementStartX = 50.0 + p * iElementWidth + iElementWidth / 2;\n //the difference between the negative set mean and the minimun\n double lDiff = iAaParameterResults.get(p).getNegativeSetMean() - iMin;\n //the percentage of the lDiff of the whole lMaxDiff\n double lDiffPerc = lDiff / lMaxDiff;\n //calculate the y start position\n double elementStartY = (double) iLogoHeight - 50.0 - (lMaxVerticalHeight * lDiffPerc);\n if (p == 0) {\n lReferenceString = \"M \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n } else {\n lReferenceString = lReferenceString + \" L \" + String.valueOf(elementStartX) + \",\" + elementStartY;\n }\n }\n //add this line to the root\n Element lReferenceMeans = doc.createElementNS(svgNS, \"path\");\n lReferenceMeans.setAttributeNS(null, \"d\", lReferenceString);\n lReferenceMeans.setAttributeNS(null, \"style\", \"fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none\");\n svgRoot.appendChild(lReferenceMeans);\n\n //set the document\n this.setSVGDocument(doc);\n iUpdating = false;\n }\n }",
"title": ""
},
{
"docid": "63af11133551ddb99016091c31ac8914",
"score": "0.55614215",
"text": "private String getSVG() {\n String answer = \"\";\n answer += \"<svg width=\\\"\" + this.width + \"\\\" height=\\\"\" + this.height + \"\\\" version=\\\"1.1\\\"\\n\"\n + \" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\";\n for (String name : this.shapesTables.keySet()) {\n ShapesModelAbs shape = shapesTables.get(name);\n if (shape.getType().equals(\"Rectangle\")) {\n if (shape.getStart() == 1 && shape.getEnd() == length\n ) {\n Rectangle rectShape = (Rectangle) shape;\n answer += \"<rect id=\\\"\" + shape.getName() + \"\\\" x=\\\"\" + rectShape.getStartX() + \"\\\" y=\\\"\"\n + rectShape.getStartY()\n + \"\\\" width=\\\"\" + rectShape.getStartXdim() + \"\\\" height=\\\"\"\n + rectShape.getStartYdim()\n + \"\\\" fill=\\\"rgb(\"\n + rectShape.getRed() + \",\" + rectShape.getGreen() + \",\"\n + rectShape.getBlue() + \")\\\" visibility=\\\"visible\\\">\\n\";\n answer += this.helper(shape.getMyAnimes());\n answer += \"</rect>\\n\";\n } else if (shape.getStart() == 1) {\n Rectangle rectShape = (Rectangle) shape;\n answer += \"<rect id=\\\"\" + shape.getName() + \"\\\" x=\\\"\" + rectShape.getStartX() + \"\\\" y=\\\"\"\n + rectShape.getStartY()\n + \"\\\" width=\\\"\" + rectShape.getStartXdim() + \"\\\" height=\\\"\"\n + rectShape.getStartYdim()\n + \"\\\" fill=\\\"rgb(\"\n + rectShape.getRed() + \",\" + rectShape.getGreen() + \",\"\n + rectShape.getBlue() + \")\\\" visibility=\\\"visible\\\">\";\n answer += \"<animate attributeType=\\\"xml\\\" begin=\\\"\"\n + (shape.getEnd() * 1000 / this.ticksPerSecond)\n + \"ms\\\" dur=\\\"\"\n + ((((length) * 1000 / this.ticksPerSecond)) - (\n (shape.getEnd() * 1000 / this.ticksPerSecond))) + \"ms\\\" \"\n + \"attributeName=\\\"visibility\\\" from=\\\"\" + \"visible\" + \"\\\" to=\\\"\"\n + \"hidden\" + \"\\\" fill=\\\"freeze\\\" />\\n\";\n answer += this.helper(shape.getMyAnimes());\n answer += \"</rect>\\n\";\n\n } else {\n Rectangle rectShape = (Rectangle) shape;\n answer += \"<rect id=\\\"\" + shape.getName() + \"\\\" x=\\\"\" + rectShape.getStartX() + \"\\\" y=\\\"\"\n + rectShape.getStartY()\n + \"\\\" width=\\\"\" + rectShape.getStartXdim() + \"\\\" height=\\\"\"\n + rectShape.getStartYdim()\n + \"\\\" fill=\\\"rgb(\"\n + rectShape.getRed() + \",\" + rectShape.getGreen() + \",\"\n + rectShape.getBlue() + \")\\\" visibility=\\\"hidden\\\">\\n\";\n answer += \"<animate attributeType=\\\"xml\\\" begin=\\\"\"\n + (shape.getStart() * 1000 / this.ticksPerSecond)\n + \"ms\\\" dur=\\\"\"\n + ((((shape.getEnd()) * 1000 / this.ticksPerSecond)) - (\n (shape.getStart() * 1000 / this.ticksPerSecond))) + \"ms\\\" \"\n + \"attributeName=\\\"visibility\\\" from=\\\"\" + \"hidden\" + \"\\\" to=\\\"\"\n + \"visible\" + \"\\\" fill=\\\"freeze\\\" />\\n\";\n answer += this.helper(shape.getMyAnimes());\n answer += \"</rect>\\n\";\n }\n } else if (shape.getType().equals(\"Ellipse\")) {\n if (shape.getStart() == 1 && shape.getEnd() == length) {\n\n Ellipse ovalShape = (Ellipse) shape;\n answer +=\n \"<ellipse id=\\\"\" + ovalShape.getName() + \"\\\" cx=\\\"\" + ovalShape.getStartX()\n + \"\\\" \" + \"cy=\\\"\" + ovalShape.getStartY()\n + \"\\\" rx=\\\"\" + ovalShape.getStartXdim() + \"\\\" ry=\\\"\" +\n ovalShape.getStartYdim()\n + \"\\\" fill=\\\"rgb(\"\n + ovalShape.getRed() + \",\" + ovalShape.getGreen() + \",\"\n + ovalShape.getBlue() + \")\\\" visibility=\\\"visible\\\" >\\n\";\n answer += this.helper(shape.getMyAnimes());\n answer += \"</ellipse>\\n\";\n } else if (shape.getStart() == 1) {\n Ellipse ovalShape = (Ellipse) shape;\n answer +=\n \"<ellipse id=\\\"\" + ovalShape.getName() + \"\\\" cx=\\\"\" + ovalShape.getStartX()\n + \"\\\" cy=\\\"\" + ovalShape.getStartY()\n + \"\\\" rx=\\\"\" + ovalShape.getStartXdim() + \"\\\" ry=\\\"\"\n + ovalShape.getStartYdim() + \"\\\" fill=\\\"rgb(\"\n + ovalShape.getRed() + \",\" + ovalShape.getGreen() + \",\"\n + ovalShape.getBlue() + \")\\\" visibility=\\\"visible\\\" >\\n\";\n answer += \"<animate attributeType=\\\"xml\\\" begin=\\\"\"\n + (shape.getEnd() * 1000 / this.ticksPerSecond)\n + \"ms\\\" dur=\\\"\"\n + ((((length) * 1000 / this.ticksPerSecond)) - (\n (shape.getEnd() * 1000 / this.ticksPerSecond))) + \"ms\\\" \"\n + \"attributeName=\\\"visibility\\\" from=\\\"\" + \"visible\" + \"\\\" to=\\\"\"\n + \"hidden\" + \"\\\" fill=\\\"freeze\\\" />\\n\";\n answer += this.helper(shape.getMyAnimes());\n answer += \"</ellipse>\\n\";\n } else {\n Ellipse ovalShape = (Ellipse) shape;\n answer +=\n \"<ellipse id=\\\"\" + ovalShape.getName() + \"\\\" cx=\\\"\" + ovalShape.getStartX()\n + \"\\\" cy=\\\"\" + ovalShape.getStartY()\n + \"\\\" rx=\\\"\" + ovalShape.getStartXdim() + \"\\\" ry=\\\"\"\n + ovalShape.getStartYdim() + \"\\\" fill=\\\"rgb(\"\n + ovalShape.getRed() + \",\" + ovalShape.getGreen() + \",\"\n + ovalShape.getBlue() + \")\\\" visibility=\\\"hidden\\\" >\\n\";\n answer += \"<animate attributeType=\\\"xml\\\" begin=\\\"\"\n + (shape.getStart() * 1000 / this.ticksPerSecond)\n + \"ms\\\" dur=\\\"\"\n + ((((shape.getEnd()) * 1000 / this.ticksPerSecond)) - (\n (shape.getStart() * 1000 / this.ticksPerSecond))) + \"ms\\\" \"\n + \"attributeName=\\\"visibility\\\" from=\\\"\" + \"hidden\" + \"\\\" to=\\\"\"\n + \"visible\" + \"\\\" fill=\\\"freeze\\\" />\\n\";\n\n answer += this.helper(shape.getMyAnimes());\n answer += \"</ellipse>\\n\";\n }\n }\n }\n\n answer += \"</svg>\";\n return answer;\n }",
"title": ""
},
{
"docid": "db05d51a189078100eedbc840f71654f",
"score": "0.5551631",
"text": "public static void writeSVG(QPictureIO picture)\n {\n // write the picture using the picture.ioDevice()\n }",
"title": ""
},
{
"docid": "0ec058e8e5f9eb36bbf2be21ce6a3024",
"score": "0.5495084",
"text": "private void exportAsSVGActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportAsSVGActionPerformed\n JFileChooser jfc = new JFileChooser();\n FileNameExtensionFilter fnf = new FileNameExtensionFilter(\"SVG File (*.svg)\", \"SVG\");\n jfc.setFileFilter(fnf);\n jfc.showDialog(this, \"Save\");\n try{\n String handle = new String(jfc.getSelectedFile().toPath().toString());\n snowFlakePanel.generateSVG(handle);\n }catch(NullPointerException npe){\n }\n }",
"title": ""
},
{
"docid": "169f76774cb434e03b3130c4bb9f8702",
"score": "0.5462405",
"text": "@Override\n\tpublic void drawFunctions(String json_file) {\n\t\tJSONDrawingConfig config = deserialJSONConfig(json_file);\n\t\tif (!config.validateObject())\n\t\t\tthrow new ArithmeticException(\"Some data in JSONDrawingConfig object is missing, check your JSON file please.\");\n\t\t\n\t\tRange rx = new Range(config.getRange_X()[0],config.getRange_X()[1]);\n\t\tRange ry = new Range(config.getRange_Y()[0],config.getRange_Y()[1]);\n\t\tthis.drawFunctions(config.getWidth(), config.getHeight(), rx, ry, config.getResolution());\n\t}",
"title": ""
},
{
"docid": "258c8390b19d0e57783625959b9cab5a",
"score": "0.5451757",
"text": "public final void writeConfig(Json json) {\n json.writeValue(StrokeConfigKey.COLOR.get(), \"#\" + color.toString().substring(0, 6));\n json.writeValue(StrokeConfigKey.FILL.get(), \"#\" + fill.toString().substring(0, 6));\n json.writeValue(StrokeConfigKey.SIZE.get(), size);\n json.writeValue(StrokeConfigKey.OPACITY.get(), color.a);\n json.writeValue(StrokeConfigKey.FONT.get(), font.name());\n }",
"title": ""
},
{
"docid": "73364942539ec5cc6167a6fa18ae9315",
"score": "0.5378704",
"text": "public String toSVG(){\n String aux = \"<polygon points='\"+Double.toString(this.a.x)+\" \"+Double.toString(this.a.y)+\" \"+Double.toString(this.b.x)+\" \"+Double.toString(this.b.y)+\" \"+Double.toString(this.c.x)+\" \"+Double.toString(this.c.y)+\"' stroke='black' fill='transparent' stroke-width='2'/>\";\n return aux;\n }",
"title": ""
},
{
"docid": "1483f675b456b0c54f6e5a6654026383",
"score": "0.5367135",
"text": "@Test\n\tpublic void catalogGraph() throws Exception {\n\t\tFile catalogFile = TestDataProvider.getTestFile(new Path(\"testData/jsonCatalogs/sample1.json\"));\n\t\tInputStream catalogStream = new FileInputStream(catalogFile);\n\t\t// Write the svg to a file:\n\t\tFileOutputStream svgStream = new FileOutputStream(new File(TestDataProvider.getTestOutputDir(), \"sampleCatalog1.svg\"));\n\n\t\tCatalogServices catalogServices = new CatalogServices();\n\t\tcatalogServices.produceSVGGraph(\"Sample catalog\", catalogStream, svgStream, new NullProgressMonitor(), null);\n\t}",
"title": ""
},
{
"docid": "6596e3d3e1206bb0eeb697b5ff42aa9a",
"score": "0.5330155",
"text": "public interface IViewSVG extends IViewCommon {\n\n /**\n * Set output destination.\n * @param output output is the output destination.\n */\n public void setOutput(String output);\n\n /**\n * Set tempo of the animation.\n * @param tempo tempo is the speed fo the animation.\n */\n public void setTempo(int tempo);\n\n /**\n * Writes an SVG file.\n */\n public void writeSVG();\n}",
"title": ""
},
{
"docid": "d5ce0e1ad59c64ac0709baad3a197163",
"score": "0.52605194",
"text": "@Override\n\tpublic void generate(List<SequenceDiagramArrow> arrows) throws IOException {\n\t\tString script = this.generateScript(arrows);\n\t\tSourceStringReader reader = new SourceStringReader(script);\n\t\tfinal ByteArrayOutputStream os = new ByteArrayOutputStream();\n\t\tString desc = reader.generateImage(os, new FileFormatOption(FileFormat.SVG));\n\t\tos.close();\n\t\tthis.target.write(os.toByteArray());\n\t}",
"title": ""
},
{
"docid": "58afb1574a50014fa465fc6520a6f5fe",
"score": "0.5246564",
"text": "void exportChartAsSVG(JFreeChart chart, Rectangle bounds, File svgFile) throws IOException {\n\n\t\t\t// Get a DOMImplementation and create an XML document\n\t\t\tDOMImplementation domImpl =\n\t\t\t\tGenericDOMImplementation.getDOMImplementation();\n\t\t\tDocument document = domImpl.createDocument(null, \"svg\", null);\n\n\t\t\t// Create an instance of the SVG Generator\n\t\t\tSVGGraphics2D svgGenerator = new SVGGraphics2D(document);\n\n\t\t\t// draw the chart in the SVG generator\n\t\t\tchart.draw(svgGenerator, bounds);\n\n\t\t\t// Write svg file\n\t\t\tOutputStream outputStream = new FileOutputStream(svgFile);\n\t\t\tWriter out = new OutputStreamWriter(outputStream, \"UTF-8\");\n\t\t\tsvgGenerator.stream(out, true /* use css */);\n\t\t\toutputStream.flush();\n\t\t\toutputStream.close();\n\t\t}",
"title": ""
},
{
"docid": "9a03f0fc3f6a744480a7e43d618efe7d",
"score": "0.5042097",
"text": "public GraficaSVG(Grafica<String> grafica){\n\tthis.grafica = grafica;\n }",
"title": ""
},
{
"docid": "6ad884c035e0ac43e267ce8ac01ce935",
"score": "0.5031562",
"text": "@Test\n\tpublic void catalogGraph3() throws Exception {\n\t\tFile catalogFile = TestDataProvider.getTestFile(new Path(\"testData/jsonCatalogs/sample3.json\"));\n\t\tInputStream catalogStream = new FileInputStream(catalogFile);\n\t\t// Write the svg to a file:\n\t\tFile outputFolder = TestDataProvider.getTestOutputDir();\n\t\tFileOutputStream svgStream = new FileOutputStream(new File(outputFolder, \"sampleCatalog3.svg\"));\n\t\tFileOutputStream dotStream = new FileOutputStream(new File(outputFolder, \"sampleCatalog3.dot\"));\n\n\t\tCatalogServices catalogServices = new CatalogServices();\n\t\tcatalogServices.produceDOTGraph(\"Sample catalog\", catalogStream, dotStream, new NullProgressMonitor(), null);\n\t\tcatalogStream = new FileInputStream(catalogFile);\n\t\tcatalogServices.produceSVGGraph(\"Sample catalog\", catalogStream, svgStream, new NullProgressMonitor(), null);\n\t}",
"title": ""
},
{
"docid": "f73f85e3103834d01c483ea014a7710d",
"score": "0.5018098",
"text": "public static void generateDOTFile(String className, ControlFlowGraph graph) throws FileNotFoundException {\n String cfg = new DOTRenderer().render(graph);\n PrintWriter pw = new PrintWriter(new FileOutputStream(\n new File(TestingUtil.RESOURCES + \"/dot/\" + className + \".dot\")));\n pw.write(cfg);\n pw.close();\n }",
"title": ""
},
{
"docid": "1e4bee66439fb2b4f6a7d3fb33159784",
"score": "0.5003909",
"text": "public static String getDiagramAsSVG(ArgoDiagram diagram) {\n\n ByteArrayOutputStream buff = new ByteArrayOutputStream();\n Editor ce = Globals.curEditor();\n JComponent canvas = ce.getJComponent();\n\n Layer diagLayer = diagram.getLayer();\n Editor diagEditor = new Editor(diagram.getGraphModel(), canvas,\n diagLayer);\n\n Rectangle drawingArea = diagEditor.getLayerManager().getActiveLayer()\n .calcDrawingArea();// ce.getLayerManager().getActiveLayer().calcDrawingArea();\n try {\n SvgWriter writer = new SvgWriter(buff, drawingArea, true);\n if (writer != null) {\n diagEditor.print(writer);\n writer.dispose();\n }\n } catch (IOException e) {\n LOG.error(e.getMessage(), e);\n } catch (Exception e) {\n LOG.error(e.getMessage(), e);\n }\n\n return buff.toString();\n }",
"title": ""
},
{
"docid": "4fbc9e3c57c6702c402445387fa78e85",
"score": "0.4945901",
"text": "public interface ISVGShapeFormatter {\r\n\r\n /**\r\n * Generates a formatted svg block for the shape.\r\n *\r\n * @param s the shape animation being formatted\r\n * @param transformations the shape's transformations\r\n * @param fps how many frames pass in a second (for timing)\r\n * @return a formatted string in svg format\r\n * @throws IllegalArgumentException if the FPS is invalid\r\n */\r\n String generateSVG(IReadableShapeAnimation s, List<IReadableTransformation> transformations,\r\n int fps) throws IllegalArgumentException;\r\n\r\n /**\r\n * Enables or disables looping.\r\n * @param looping whether the animation is looping or not\r\n */\r\n void setLooping(boolean looping);\r\n}",
"title": ""
},
{
"docid": "8dd773c1d81d54d5aceb761910eab256",
"score": "0.49363464",
"text": "public GraficaSVG(){ \n\tgrafica = new Grafica<>();\n }",
"title": ""
},
{
"docid": "8d4ce521bb25605efa927532fc657380",
"score": "0.49338827",
"text": "@Test\n\tpublic void catalogGraph2() throws Exception {\n\t\tFile catalogFile = TestDataProvider.getTestFile(new Path(\"testData/jsonCatalogs/sample2.json\"));\n\t\tInputStream catalogStream = new FileInputStream(catalogFile);\n\t\t// Write the svg to a file:\n\t\tFileOutputStream svgStream = new FileOutputStream(new File(TestDataProvider.getTestOutputDir(), \"sampleCatalog2.svg\"));\n\n\t\tCatalogServices catalogServices = new CatalogServices();\n\t\tcatalogServices.produceSVGGraph(\"Sample catalog\", catalogStream, svgStream, new NullProgressMonitor(), null);\n\t}",
"title": ""
},
{
"docid": "699d255e5f1801533acdb34dcb83c2bd",
"score": "0.4906821",
"text": "public static void main(String[] args) {\n\n AnimatorModel model;\n AnimationFileReader fileReader = new AnimationFileReader();\n TweenModelBuilder<AnimatorModel> builder = new AnimatorModelImpl.Builder();\n\n try {\n model = fileReader.readFile(\"resources/toh-8.txt\", builder);\n } catch (IOException e) {\n throw new IllegalArgumentException(\"Cannot read file!\");\n }\n\n Appendable outputDestination;\n OutputStream outputStream = null;\n PrintWriter printWriter = null;\n try {\n outputStream = new FileOutputStream(new File(\"testExport.svg\"), false);\n printWriter = new PrintWriter(outputStream);\n printWriter.flush();\n outputDestination = printWriter;\n\n } catch (FileNotFoundException e) {\n outputDestination = System.out;\n }\n finally {\n try {\n outputStream.flush();\n }\n catch (IOException e) {\n //close stream silently\n }\n }\n\n IAnimatorController controller = new InteractiveGuiController(model,\n new InteractiveGuiView(20, outputDestination),\n 20);\n controller.run();\n\n\n\n }",
"title": ""
},
{
"docid": "bef1c3e94a5c4e3f3b7e54375513017c",
"score": "0.48634124",
"text": "public String toSVG() {\n\t\tString s = \"<path d=\\\"M \" + liste.get(0).depart.getX() + \",\"\n\t\t\t\t+ liste.get(0).depart.getY();\n\t\tfor (CourbeDeBezier c : liste) {\n\t\t\ts += \" C \" + c.pivot1.getX() + \",\" + c.pivot1.getY() + \" \"\n\t\t\t\t\t+ c.pivot2.getX() + \",\" + c.pivot2.getY() + \" \"\n\t\t\t\t\t+ c.fin.getX() + \",\" + c.fin.getY();\n\t\t}\n\t\ts += \"\\\" fill=\\\"rgb(\" + fill.getRed() + \",\" + fill.getGreen() + \",\"\n\t\t\t\t+ fill.getBlue() + \")\\\" stroke=\\\"rgb(\" + stroke.getRed() + \",\"\n\t\t\t\t+ stroke.getGreen() + \",\" + stroke.getBlue() + \")\\\"/>\";\n\t\treturn s;\n\t}",
"title": ""
},
{
"docid": "f9dcd04cab783b3535cc6b0f3db4de2b",
"score": "0.48455477",
"text": "public void write(List<Part> partList, List<Platform> platformList) {\n try {\n for(Platform platform : platformList) {\n if(!platform.getPartList().isEmpty()) {\n File svg = new File(\"src/main/resources/result/platform\" + platform.getId() + \".svg\");\n Writer writer = new BufferedWriter(new FileWriter(svg));\n\n writer.write(\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\">\\n\");\n writer.write(\"<rect width=\\\"\" + (platform.getWidth() * 100) +\n \"\\\" height=\\\"\" + (platform.getHeight() * 100) + \"\\\" style=\\\"fill:gray\\\"/>\\n\");\n for(Part part: partList) {\n if(part.getPlatform() == platform) {\n writer.write(\"<rect x=\\\"\" + (part.getCoordinates().getX() * 100) +\n \"\\\" y=\\\"\" + (part.getCoordinates().getY() * 100) +\n \"\\\" width=\\\"\" + (part.getWidth() * 100) +\n \"\\\" height=\\\"\" + (part.getHeight() * 100) + \"\\\" style=\\\"fill:blue\\\" />\\n\");\n }\n }\n writer.write(\"</svg>\");\n writer.close();\n }\n }\n } catch(IOException e) {\n System.out.println(\"IOException caused by FileWriter in SVGGenerator.java\");\n System.exit(1);\n }\n\n\n\n\n\n }",
"title": ""
},
{
"docid": "839f698fb59693c8773ec86ed9ffcc5c",
"score": "0.48372638",
"text": "public void Create_OutputFile() throws IOException, InterruptedException\n\n\t{\n\t\tPrintWriter writer = new PrintWriter(\"graph.gv\", \"UTF-8\");\n\t\twriter.println(Controller.FancyTreeContent);\n\t\twriter.close();\n\t\t\n\t\t///Execution de dot (graphviz)\n\t\tProcess p = Runtime.getRuntime().exec(\"dot -Tpng graph.gv -o graph1.png\");\n\t\t///Attente de la fin du process\n\t\tp.waitFor();\n\t\t\n\t\t///Obtention de l'image d'output, formatage de l'image et passage au controller. \n\t\tFile file = new File(\"graph1.png\");\n\t\tImage image = new Image(file.toURI().toURL().toExternalForm());\n\t\tImageView schema = new ImageView();\n\t\tschema.setImage(image);\n\t\tschema.setFitWidth(500);\n schema.setPreserveRatio(true);\n schema.setSmooth(true);\n schema.setCache(true);\n\t\tController.schema = schema;\n\n\t}",
"title": ""
},
{
"docid": "3914f63576453d67df272180e6da03c1",
"score": "0.4837156",
"text": "public String getInstance(int tempo, ArrayList<ShapeOperations> state) {\n this.tempo = tempo;\n this.initializeState(state);\n String svgOutput = \"<svg width=\\\"\" + this.svgHeight + \"\\\" height=\\\"\" + this.svgWidth +\n \"\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\";\n\n for (ShapeViewOperations s : this.state) {\n svgOutput += s.printAsSVG(this.tempo, false) + \"\\n\";\n }\n svgOutput += \"</svg>\";\n\n return svgOutput;\n }",
"title": ""
},
{
"docid": "c5a1e153872c6699d959738865bff21c",
"score": "0.48220712",
"text": "@Test\n public void insertSvgImage() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n builder.insertImage(getImageDir() + \"Scalable Vector Graphics.svg\");\n\n // Aspose.Words insert SVG image to the document as PNG with svgBlip extension\n // that contains the original vector SVG image representation.\n doc.save(getArtifactsDir() + \"DocumentBuilderImages.InsertSvgImage.SvgWithSvgBlip.docx\");\n\n // Aspose.Words insert SVG image to the document as PNG, just like Microsoft Word does for old format.\n doc.save(getArtifactsDir() + \"DocumentBuilderImages.InsertSvgImage.Svg.doc\");\n\n doc.getCompatibilityOptions().optimizeFor(MsWordVersion.WORD_2003);\n\n // Aspose.Words insert SVG image to the document as EMF metafile to keep the image in vector representation.\n doc.save(getArtifactsDir() + \"DocumentBuilderImages.InsertSvgImage.Emf.docx\");\n //ExEnd\n }",
"title": ""
},
{
"docid": "d70a00eb7c85c59b4cf390bc5591e7bd",
"score": "0.4799761",
"text": "@Override\n\n public void start(Stage stage)\n {\n SVGPath svgPath = new SVGPath();\n\n String path = \"M 289.00,74.00 C 299.18,61.21 307.32,52.80 320.00,\"\n + \"42.42 331.43,33.07 343.66,26.03 357.00,19.84 427.64,-12.98 \"\n + \"509.92,2.91 564.42,58.28 583.93,78.10 595.94,99.15 605.58,\"\n + \"125.00 607.76,130.86 611.37,144.75 612.54,151.00 613.15,\"\n + \"154.23 613.28,160.06 615.58,162.44 617.49,164.42 624.11,\"\n + \"165.84 627.00,166.86 634.80,169.62 639.97,172.04 647.00,\"\n + \"176.42 673.69,193.07 692.76,221.39 695.83,253.00 700.60,\"\n + \"302.03 676.64,345.41 630.00,364.00 621.17,367.52 608.48,\"\n + \"370.99 599.00,371.00 599.00,371.00 106.00,371.00 106.00,\"\n + \"371.00 96.50,370.99 87.00,368.97 78.00,366.00 36.29,\"\n + \"352.22 6.21,312.25 6.00,268.00 5.77,219.90 34.76,179.34 81.00,\"\n + \"165.02 96.78,160.14 107.02,161.00 123.00,161.00 124.59,\"\n + \"150.68 130.49,137.79 136.05,129.00 150.70,105.88 173.22,\"\n + \"88.99 200.00,82.65 213.13,79.55 219.79,79.85 233.00,80.00 \"\n + \"247.37,80.17 264.61,85.94 277.00,93.00 279.11,86.37 284.67,\"\n + \"79.45 289.00,74.00 Z\";\n\n //Setting the SVGPath in the form of string \n svgPath.setContent(path);\n\n //Creating a Region \n Region svgShape = new Region();\n\n // Locking the form up in the region\n svgShape.setShape(svgPath);\n svgShape.setMinSize(REQUIRED_WIDTH, REQUIRED_HEIGHT);\n svgShape.setPrefSize(REQUIRED_WIDTH, REQUIRED_HEIGHT);\n svgShape.setMaxSize(REQUIRED_WIDTH, REQUIRED_HEIGHT);\n svgShape.setStyle(\"-fx-background-color: black;\");\n\n //Creating a scene object \n Scene scene = new Scene(new StackPane(svgShape), 200, 200);\n\n //Setting title to the Stage\n stage.setTitle(\"Drawing a Sphere\");\n\n //Adding scene to the stage \n stage.setScene(scene);\n\n //Displaying the contents of the stage \n stage.show();\n }",
"title": ""
},
{
"docid": "d3228972b5a6423a5629af3bf5fb8564",
"score": "0.47389165",
"text": "public static boolean saveSVG(Display display) {\n \t\ttry {\n \t\t\tdouble scale = display.getScale();\n \n \t\t\tDimension d = new Dimension((int) (scale * display.getWidth()),\n \t\t\t\t(int) (scale * display.getHeight()));\n \n \t\t\t// Get a DOMImplementation.\n \t\t\tDOMImplementation domImpl = GenericDOMImplementation.getDOMImplementation();\n \n \t\t\t// Create an instance of org.w3c.dom.Document.\n \t\t\tString svgNS = \"http://www.w3.org/2000/svg\";\n \t\t\tDocument document = domImpl.createDocument(svgNS, \"svg\", null);\n \n \t\t\t// Create an instance of the SVG Generator.\n \t\t\tSVGGraphics2D svgG = new SVGGraphics2D(document);\n \n \t\t\t// set up the display, render, then revert to normal settings\n \t\t\tPoint2D p = new Point2D.Double(0, 0);\n \t\t\tdisplay.zoom(p, scale); // also takes care of damage report\n \t\t\tboolean q = display.isHighQuality();\n \t\t\tdisplay.setHighQuality(true);\n \t\t\tdisplay.paintDisplay(svgG, d);\n \t\t\tdisplay.setHighQuality(q);\n \t\t\tdisplay.zoom(p, 1 / scale); // also takes care of damage report\n \n \t\t\t// Finally, stream out SVG to the standard output using\n \t\t\t// UTF-8 encoding.\n \t\t\tboolean useCSS = true; // we want to use CSS style attributes\n \n \t\t\tJFileChooser jfc = new JFileChooser();\n \t\t\tjfc.setDialogTitle(\"Save SVG file...\");\n \t\t\tjfc.setFileFilter(new SVGFileFilter());\n \t\t\tint ret = jfc.showSaveDialog(null);\n \t\t\tif (ret == JFileChooser.APPROVE_OPTION) {\n \t\t\t\tString saveLoc = jfc.getSelectedFile().getAbsolutePath();\n\t\t\t\tif (!(saveLoc.endsWith(\".svg\") || saveLoc.endsWith(\".svgz\"))) {\n\t\t\t\t\tsaveLoc = saveLoc + \".svg\";\n\t\t\t\t}\n \t\t\t\tsvgG.stream(saveLoc, useCSS);\n \t\t\t\treturn true;\n \t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Could not save SVG file, exception: \"\n\t\t\t\t+ex.getCause().toString()+\" \"+ex.toString(), \"SVG save error\", \n\t\t\t\tJOptionPane.ERROR_MESSAGE);\n \t\t\tLogger.getLogger(SVGWriter.class.getName()).log(Level.SEVERE, null, ex);\n \t\t}\t\treturn false;\n \t}",
"title": ""
},
{
"docid": "ac687c27eb1063f781784f74f3a0fbd1",
"score": "0.47302896",
"text": "private void chartGeneration (String outputFileName, int period)\n\t{\n\t\t// If No External colorbook provided, generate a colorbook randomly using pre-defined colors\n\t\tif (colorBook.size () == 0)\n\t\t\tgenerateColorBook ();\n\t\t// Generate Unique Tasks and Resources\n\t\tgenerateUniqueTasksAndProcs ();\n\t\t// Calculate the Rectangles in the plot.\n\t\tcalculateRectangles ();\n\t\t// Generate the GnuPlot File\n\t\tgenereteGnuConfigFile (outputFileName, period);\n\t\t// Generate the PDF Output.\n\t\tif (generatePdfOutput)\n\t\t\tgeneratePdf (outputFileName);\n\t}",
"title": ""
},
{
"docid": "ee16d8a428cbcd642eebb842b3bc2248",
"score": "0.46772096",
"text": "private String buildDataxJsonFile(Map<String, Property> paramsMap)\n throws Exception {\n // generate json\n String fileName = String.format(\"%s/%s_job.json\",\n taskExecutionContext.getExecutePath(),\n taskExecutionContext.getTaskAppId());\n String json;\n\n Path path = new File(fileName).toPath();\n if (Files.exists(path)) {\n return fileName;\n }\n\n if (dataXParameters.getCustomConfig() == Flag.YES.ordinal()) {\n json = dataXParameters.getJson().replaceAll(\"\\\\r\\\\n\", \"\\n\");\n } else {\n ObjectNode job = JSONUtils.createObjectNode();\n job.putArray(\"content\").addAll(buildDataxJobContentJson());\n job.set(\"setting\", buildDataxJobSettingJson());\n\n ObjectNode root = JSONUtils.createObjectNode();\n root.set(\"job\", job);\n root.set(\"core\", buildDataxCoreJson());\n json = root.toString();\n }\n\n // replace placeholder\n json = ParameterUtils.convertParameterPlaceholders(json, ParamUtils.convert(paramsMap));\n\n logger.debug(\"datax job json : {}\", json);\n\n // create datax json file\n FileUtils.writeStringToFile(new File(fileName), json, StandardCharsets.UTF_8);\n return fileName;\n }",
"title": ""
},
{
"docid": "2915feff581a3cbab691b49b4a42f4fd",
"score": "0.4675243",
"text": "public ImageSVG()\r\n {\r\n }",
"title": ""
},
{
"docid": "28c9c20b992299c5436f03328b91dcf7",
"score": "0.4669023",
"text": "public static void readSVG(QPictureIO picture)\n {\n // read the picture using the picture.ioDevice()\n }",
"title": ""
},
{
"docid": "8e978d7da2f69e28525e269f9b6ef3ed",
"score": "0.46437448",
"text": "byte[] exportStencilSet(String stencilsJson, List<FileDescriptor> iconFiles);",
"title": ""
},
{
"docid": "2032d18e80b15591ed79276fc59d3aa5",
"score": "0.46250704",
"text": "public BufferedImage loadSVG2BufferedImage(SVGDocument document) {\n System.setProperty(\"org.apache.batik.warn_destination\", \"false\"); \n try {\n UserAgentAdapter userAgentAdapter = new UserAgentAdapter();\n BridgeContext bridgeContext = new BridgeContext(userAgentAdapter);\n GVTBuilder builder = new GVTBuilder();\n GraphicsNode graphicsNode = builder.build(bridgeContext, document);\n CanvasGraphicsNode canvasGraphicsNode = (CanvasGraphicsNode) graphicsNode.getRoot().getChildren().get(0);\n Rectangle2D bounds = canvasGraphicsNode.getSensitiveBounds();\n /*\n * we reset the scale (pb in ggsave not respecting the size somehow) --> resetting the transform fixes the bug\n */\n canvasGraphicsNode.setTransform(new AffineTransform());\n GVTTreeWalker treeWalker = new GVTTreeWalker(graphicsNode);\n GraphicsNode gNode;\n loop1:\n while ((gNode = treeWalker.nextGraphicsNode()) != null) {\n /**\n * needed to get the text back after changing scale in a ggsave\n * R image a trick found here:\n * http://www.mail-archive.com/[email protected]/msg06110.html\n */\n gNode.setClip(null);\n }\n /**\n * my bug fix for empty SVGs\n */\n if (bounds == null) {\n return null;\n }\n int width = (int) ((Math.abs(bounds.getX()) + bounds.getWidth()));\n int height = (int) ((Math.abs(bounds.getY()) + bounds.getHeight()));\n if (width > 2048) {\n return null;\n }\n if (height > 2048) {\n return null;\n }\n BufferedImage bufferedImage = new MyBufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);\n /**\n * set the bg to white like in inkscape or illustrator\n */\n for (int i = 0; i < width; i++) {\n for (int j = 0; j < height; j++) {\n bufferedImage.setRGB(i, j, 0xFFFFFF);\n }\n }\n Graphics2D g2d = bufferedImage.createGraphics();\n graphicsNode.paint(g2d);\n g2d.dispose();\n return bufferedImage;\n } catch (Exception e) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n e.printStackTrace(pw);\n String stacktrace = sw.toString();\n pw.close();\n System.err.println(stacktrace);\n }\n return null;\n }",
"title": ""
},
{
"docid": "3f3ca62641e18deb971e61cc966e8fcd",
"score": "0.46248248",
"text": "@Override\n public String imprimeSVG(){\n\tString[] elementos = new String[grafica.getElementos()];\n\tint contador = 0;\n\tfor(String i:grafica){ \n\t elementos[contador] = i;\n\t contador++;\n\t}\n\n\tVector2D[] centros = calculaCentros();\n\t//Imprime las aristas\n\tfor(int i = 0;i<elementos.length;i++) {\n\t VerticeGrafica<String> vertice = grafica.vertice(elementos[i]);\n\t vertice.setColor(Color.ROJO);\n\t for(VerticeGrafica<String> vecino:vertice.vecinos()) {\n\t\tif(vecino.getColor()!=Color.ROJO){ \n\t\t for(int j =0;j<elementos.length;j++){ \n\t\t\tif(vecino.getElemento().equals(elementos[j])) {\n\t\t\t LineaSVG line = new LineaSVG(centros[i],centros[j]);\n\t\t\t representacion = representacion+line.imprimeSVG();\n\t\t\t}\n\t\t }\n\t\t \n\t\t}\n\t\t\n\t }\n\n\t}\n\t//Imprime los circulos\n\tfor(int i = 0;i<grafica.getElementos();i++){ \n\t CirculoSVG circle = new CirculoSVG(20,calculaCentros()[i],elementos[i].toString());\n\t representacion = representacion+circle.imprimeSVG();\n\t \n\t}\n\t\tint radio = (int)((grafica.getElementos()*50)/Math.PI);\n\t\tString prin = (\"<svg width='\"+5*radio+\"' height='\"+ 5*radio +\"'>\");\n\t\tString end = \"</svg>\";\n\n\t\treturn prin+representacion+end;\n }",
"title": ""
},
{
"docid": "3ea7bd0b1df91b98ed3cb44c5bc7355f",
"score": "0.4603463",
"text": "public static String createDrawing1(Carport carport) throws CarportException {\r\n\r\n int length = carport.getLength();\r\n int width = carport.getWidth();\r\n int shedDepth = carport.getShedDepth();\r\n double numberOfRafters = Math.ceil(carport.getLength() / 55);\r\n int shedStart = (carport.getLength() - 20) - shedDepth;\r\n\r\n String drawingHTML = \"\";\r\n\r\n // Placing poles //\r\n drawingHTML\r\n += // --- Placing Poles --- //\r\n \" <rect x=\\\"80\\\" y=\\\"25\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"80\\\" y=\\\"\" + (width - 35) + \"\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\";\r\n for (int i = 280; i < length; i += 200) {\r\n drawingHTML\r\n += \" <rect x=\\\"\" + i + \"\\\" y=\\\"25\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + i + \"\\\" y=\\\"\" + (width - 35) + \"\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" \\n\";\r\n }\r\n\r\n // Shed //\r\n if (carport.getShedDepth() > 0) {\r\n drawingHTML\r\n += \" <rect x=\\\"\" + (shedStart) + \"\\\" y=\\\"\" + 25 + \"\\\" stroke-width=\\\"2px\\\" width=\\\"\" + (shedDepth) + \"\\\" height=\\\"\" + (width - 50) + \"\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#B45F04\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + (shedStart) + \"\\\" y=\\\"25\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + (shedStart + shedDepth - 10) + \"\\\" y=\\\"25\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + (shedStart) + \"\\\" y=\\\"\" + (width - 35) + \"\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + (shedStart + shedDepth - 10) + \"\\\" y=\\\"\" + (width - 35) + \"\\\" stroke-width=\\\"2px\\\" width=\\\"10\\\" height=\\\"10\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\";\r\n }\r\n //--- Placing CrossBeams --- //\r\n drawingHTML\r\n += \" <rect x=\\\"5\\\" y=\\\"25\\\" stroke-width=\\\"2px\\\" width=\\\"\" + (length - 5) + \"\\\" height=\\\"5\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"5\\\" y=\\\"\" + (width - 30) + \"\\\" stroke-width=\\\"2px\\\" width=\\\"\" + (length - 5) + \"\\\" height=\\\"5\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + //--- Placing Horizontal Rims --- //\r\n \" <rect x=\\\"5\\\" y=\\\"0\\\" stroke-width =\\\"1px\\\" width=\\\"\" + (length - 5) + \"\\\" height=\\\"2.5\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"5\\\" y=\\\"\" + (width - 2.5) + \"\\\" stroke-width=\\\"1px\\\" width=\\\"\" + (length - 5) + \"\\\" height=\\\"2.5\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" \\n\"\r\n + \" <rect x=\\\"0\\\" y=\\\"0\\\" stroke-width =\\\"1px\\\" width=\\\"5\\\" height=\\\"\" + (width) + \"\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\"\r\n + \" <rect x=\\\"\" + (length) + \"\\\" y=\\\"0\\\" stroke-width =\\\"1px\\\" width=\\\"5\\\" height=\\\"\" + (width) + \"\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\";\r\n // Placing Horizontal Rafters //\r\n\r\n drawingHTML\r\n += \" <rect x=\\\"55\\\" y=\\\"0\\\" stroke-width=\\\"1px\\\" width=\\\"3\\\" height=\\\"\" + (width) + \"\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\";\r\n\r\n for (int i = 2; i <= numberOfRafters; i++) {\r\n int offset = i * 55;\r\n drawingHTML += \"<rect x=\\\"\" + offset + \"\\\" y=\\\"0\\\" stroke-width=\\\"1px\\\" width=\\\"3\\\" height=\\\"\" + (width) + \"\\\" fill-opacity=\\\"1.0\\\" style=\\\"stroke:#000000; fill:#FE9A2E\\\"></rect>\\n\";\r\n }\r\n drawingHTML\r\n += \" <!-- Placing Cross Stabilizer beams -->\\n\"\r\n + \" <line x1=\\\"55\\\" y1=\\\"0\\\" x2=\\\"\" + (shedStart) + \"\\\" y2=\\\"\" + (width) + \"\\\" style=\\\"stroke:rgb(80,80,80);stroke-width:2\\\" />\\n\"\r\n + \" <line x1=\\\"55\\\" y1=\\\"\" + (width) + \"\\\" x2=\\\"\" + (shedStart) + \"\\\" y2=\\\"0\\\" style=\\\"stroke:rgb(80,80,80);stroke-width:2\\\" />\\n\";\r\n\r\n \r\n \r\n //--- small sections ---//\r\n drawingHTML += \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (length) + \"\\\" y1=\\\"\" + (width + 10) + \"\\\" x2=\\\"\" + (length) + \"\\\" y2=\\\"\" + (width + 30) + \"\\\"></line>\\n\";\r\n\r\n for (int i = 1; i < length; i += 55) {\r\n drawingHTML += \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (i) + \"\\\" y1=\\\"\" + (width + 20) + \"\\\" x2=\\\"\" + (i + 55) + \"\\\" y2=\\\"\" + (width + 20) + \"\\\"></line>\\n\"\r\n + \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (i) + \"\\\" y1=\\\"\" + (width + 10) + \"\\\" x2=\\\"\" + (i) + \"\\\" y2=\\\"\" + (width + 30) + \"\\\"></line>\\n\";\r\n }\r\n \r\n\r\n //--- big bottom --- //\r\n drawingHTML += \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (0) + \"\\\" y1=\\\"\" + (width + 50) + \"\\\" x2=\\\"\" + (length) + \"\\\" y2=\\\"\" + (width + 50) + \"\\\"></line>\\n\"\r\n + \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (0) + \"\\\" y1=\\\"\" + (width + 40) + \"\\\" x2=\\\"\" + (0) + \"\\\" y2=\\\"\" + (width + 60) + \"\\\"></line>\\n\"\r\n + \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (length) + \"\\\" y1=\\\"\" + (width + 40) + \"\\\" x2=\\\"\" + (length) + \"\\\" y2=\\\"\" + (width + 60) + \"\\\"></line>\\n\";\r\n\r\n //--- SideLine --- //\r\n drawingHTML += \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (length + 25) + \"\\\" y1=\\\"\" + (0) + \"\\\" x2=\\\"\" + (length + 25) + \"\\\" y2=\\\"\" + (width) + \"\\\"></line>\\n\"\r\n + \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (length + 15) + \"\\\" y1=\\\"\" + (0) + \"\\\" x2=\\\"\" + (length + 35) + \"\\\" y2=\\\"\" + (0) + \"\\\"></line>\\n\"\r\n + \"<line style =\\\"stroke: black; stroke-width: 2px;\\\" x1=\\\"\" + (length + 15) + \"\\\" y1=\\\"\" + (width) + \"\\\" x2=\\\"\" + (length + 35) + \"\\\" y2=\\\"\" + (width) + \"\\\"></line>\\n\"\r\n + \"<text x=\\\"\" + (length + 35) + \"\\\" y=\\\"\" + ((width / 2) + 10) + \"\\\" font-family=\\\"sans-serif\\\" font-size=\\\"25px\\\" fill=\\\"black\\\">\" + width + \" \" + \"cm\" + \"</text>\";\r\n\r\n //--- numbers --- //\r\n drawingHTML += \"<text x=\\\"\" + ((length / 2) - 10) + \"\\\" y=\\\"\" + (width + 70) + \"\\\" font-family=\\\"sans-serif\\\" font-size=\\\"20px\\\" fill=\\\"black\\\">\" + length + \" \" + \"cm\" + \"</text>\";\r\n for (int i = 36; i < length-55; i += 55) {\r\n drawingHTML += \"<text x=\\\"\" + (i-20) + \"\\\" y=\\\"\" + (width + 37) + \"\\\" font-family=\\\"sans-serif\\\" font-size=\\\"18px\\\" fill=\\\"black\\\">\" + 55 + \"</text>\";\r\n }\r\n if(length%55 !=0){\r\n drawingHTML += \"<text x=\\\"\" + (length-40) + \"\\\" y=\\\"\" + (width + 37) + \"\\\" font-family=\\\"sans-serif\\\" font-size=\\\"18px\\\" fill=\\\"black\\\">\" + (length%55) + \"</text>\";\r\n }\r\n return drawingHTML;\r\n }",
"title": ""
},
{
"docid": "44a7a7dce9b9dd1aa55c503822c7b3f9",
"score": "0.4597762",
"text": "public interface Template {\n\n /*\n * The directory to output the file into\n */\n String getOutputPath();\n\n /*\n * The output string e.g the SVG/XML string\n */\n String getOutputString();\n\n /*\n * What to call the file\n */\n String getFileName();\n}",
"title": ""
},
{
"docid": "33339df0d22aabe58511895de5240c21",
"score": "0.45908195",
"text": "public final void run(final int width, final int height) {\n\n\t\t// final DateTime now = new DateTime();\n\n\t\tfinal AppInfo appInfo = AppInfo.get();\n\n\t\tprintln(\n\t\t// \"<!-- Generated on \" + now\n\t\t\"<!-- Generated\" //\n\t\t\t\t+ \" with help from \" + appInfo.artifactId\n\t\t\t\t+ \":\"\n\t\t\t\t+ appInfo.version + \" -->\");\n\n\t\tprintln(\"<!-- See: \" + appInfo.url + \" -->\");\n\n\t\tprintln(\"<svg xmlns='http://www.w3.org/2000/svg'\"\n\t\t\t\t+ \" xmlns:xlink='http://www.w3.org/1999/xlink'\" + \" width='\"\n\t\t\t\t+ width + \"' height='\" + height + \"'>\");\n\n\t\ttry {\n\n\t\t\tbody();\n\n\t\t} catch (final RuntimeException e) {\n\n\t\t\tthrow e;\n\n\t\t} catch (final Exception e) {\n\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t\tprintln(\"</svg>\");\n\n\t\tflush();\n\t}",
"title": ""
},
{
"docid": "c4611b0d3467b0eb89aa50e24987f93e",
"score": "0.458681",
"text": "private void buildGraph() throws Exception {\n\r\n IncidenceTable incidenceTable = this.getIncidenceTableResults();\r\n\r\n // Collection results = stats.getRows();\r\n\r\n String titleString = getTitle();\r\n\r\n JFreeChart chart = new ChartBuilder().buildItemsPerChainMenuingGraph(\r\n incidenceTable, titleString, 23);\r\n \r\n String file = new GraphWriterUtilFactory().build().write(chart);\r\n \r\n this.setImagePath(file);\r\n }",
"title": ""
},
{
"docid": "313690d5ac3e09df71ae716c760197c2",
"score": "0.45631588",
"text": "@Test\n public void publish_raster_geocat_Ok() throws Exception {\n Path target = folder.newFolder(\"publish_raster_geocat_Ok\").toPath();\n Path geocatTarget = folder.newFolder(\"publish_raster_geocat_Ok_geocat\").toPath();\n String themePublication = \"ch.so.agi.orthofoto_1993.grau\";\n\n // Run step\n MetaPublisherStep metaPublisherStep = new MetaPublisherStep(\"publish_raster_geocat_Ok\");\n metaPublisherStep.execute(new File(\"src/test/resources/data/metapublisher/agi_orthofoto_1993_meta_pub/meta.toml\"), target, null, geocatTarget, \"production\");\n\n // Check results\n Path jsonFile = target.resolve(PATH_ELE_CONFIG).resolve(themePublication + \".json\");\n assertTrue(Files.exists(jsonFile)); \n \n Path xtfFile = target.resolve(PATH_ELE_CONFIG).resolve(\"meta-\"+themePublication+\".xtf\");\n assertTrue(Files.exists(xtfFile)); \n \n byte[] bytes = Files.readAllBytes(xtfFile);\n String fileContent = new String (bytes);\n assertTrue(fileContent.contains(\"<identifier>2612519_1254998</identifier>\"));\n assertTrue(fileContent.contains(\"<lastPublishingDate>1993-04-01</lastPublishingDate>\"));\n }",
"title": ""
},
{
"docid": "c2b8d6858a05a49ed66e746b2edc828a",
"score": "0.45234337",
"text": "public SVGDescriptor toSVG(GraphicContext gc) {\n/* 55 */ Paint paint = gc.getPaint();\n/* 56 */ return toSVG((GradientPaint)paint);\n/* */ }",
"title": ""
},
{
"docid": "96d600b8572a7b13f543ff9a2b338cac",
"score": "0.44994032",
"text": "private void toJSON() {\n //Name of the File contains the start and end location (as Gps coordinates)\n String extraFileName = cutDecimals(path.get(0).getWaypoints(), 0) + \" -- \" + //path index doesnt matter cause all routes start and end the same\n cutDecimals(path.get(0).getWaypoints(), 1); //waypoint only contains start und end Locations so index 0 for start and 1 for end\n\n System.out.println(\"Creates and saves Route_\" + extraFileName + \".json ..........\");\n ObjectMapper om = new ObjectMapper(new JsonFactory());\n om.enable(SerializationFeature.INDENT_OUTPUT);\n try {\n om.writeValue(new File(\"src\\\\main\\\\resources\\\\Routes\\\\Route_\" + extraFileName + \".json\"), routes);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "c352c786e6a54047186fc9b6c2f0f569",
"score": "0.4498582",
"text": "private void genereteGnuConfigFile (String fileName, int period)\n\t{\n\t\ttry\n\t\t{\n\t\t\tString configFile = fileName.replace (\"pdf\", \"gpl\");\n\t\t\t\n\t\t\tif (configFile.endsWith (\".gpl\") == false)\n\t\t\t\tconfigFile = configFile.concat (\".gpl\");\n\t\t\t\n\t\t\t// Create file \n\t\t\tFileWriter fstream = new FileWriter (configFile);\n\t\t\tBufferedWriter out = new BufferedWriter (fstream);\t\t\t\n\n\t\t\tdouble xmin = 0;\n\t\t\tdouble xmax = calculateXMax ();\n\t\t\tdouble ymin = 0 + (taskBoxHeight / 2);\n\t\t\tdouble ymax = processors.size () + 1 - (taskBoxHeight / 2);\n\n\t\t\t// Generate the outputFile.\n\t\t\tout.write (\"set xrange [\"+String.format (\"%.6f\",xmin)+\":\"+String.format (\"%.6f\",xmax)+\"]\\n\");\n\t\t\tout.write (\"set yrange [\"+String.format (\"%.6f\",ymin)+\":\"+String.format (\"%.6f\",ymax)+\"]\\n\");\n\t\t\tout.write (\"set autoscale x\\n\");\n\t\t\tout.write (\"set xlabel \\\"time\\\"\\n\");\n\t\t\tout.write (\"set ylabel \\\"Processors\\\"\\n\");\n\t\t\tout.write (\"set title \\\"Gantt chart\\\"\\n\");\n\t\t\tout.write (\"set ytics (\");\n\n\t\t\t{\n\t\t\t\tint count=0;\n\t\t\t\tIterator<Integer> procIter = processors.keySet ().iterator ();\n\t\t\t\twhile (procIter.hasNext ())\n\t\t\t\t{\n\t\t\t\t\tint proc = procIter.next ();\n\t\t\t\t\tout.write (\"\\\"\" + processorNames.get(proc) + \"\\\" \"+ String.format (\"%.0f\",processors.get (proc)));\n\t\t\t\t\tif (count<processors.size ()-1)\n\t\t\t\t\t\tout.write (\", \");\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tout.write (\")\\n\");\n\t\t\tif(addLegendInGraph == true)\n\t\t\t\tout.write (\"set key outside width +2\\n\");\n\t\t\telse\n\t\t\t\tout.write (\"set key off\\n\");\n\t\t\t\n\t\t\t// Light colored grid.\n\t\t\tout.write(\"set style line 12 lc rgb '#808080' lt 0 lw 1\\n\");\n\t\t\tout.write(\"set grid back ls 12\\n\");\n\t\t\t// Normal Grid.\n\t\t\t// out.write (\"set grid xtics\\n\");\n\t\t\t// out.write (\"set grid ytics\\n\");\n\t\t\tout.write (\"set palette model RGB\\n\");\n\t\t\tout.write (\"unset colorbox\\n\");\n\t\t\t\n\t\t\tif (period > 0)\n\t\t\t{\n\t\t\t\t// for (int i=(int)xmax;i>0;i-=period)\n\t\t\t\tfor (int i=0;i<(int)xmax;i+=period)\n\t\t\t\t\tout.write (\"set arrow from \"+Integer.toString (i)+\",\"+ymin+\" to \"+Integer.toString (i)+\",\"\n\t\t\t\t\t\t\t\t\t\t\t+ymax+\" nohead lt 3 lw 4 lc rgb \\\"red\\\"\\n\");\n\t\t\t}\n\n\t\t\tfor (int i=0;i<records.size (); i++)\n\t\t\t{\n\t\t\t\tout.write (\"set object \"+ (i+1) +\" rectangle from \" \n\t\t\t\t\t\t+ String.format (\"%.6f\",records.get (i).bottomLeftX) \n\t\t\t\t\t\t+\", \" + records.get (i).bottomLeftY \n\t\t\t\t\t\t+ \" to \" + String.format (\"%.6f\",records.get (i).topRightX) + \", \" \n\t\t\t\t\t\t+ records.get (i).topRightY \n\t\t\t\t\t\t+ \" fillcolor rgb \"\n\t\t\t\t\t\t+ records.get (i).color + \" fillstyle solid 0.8\\n\");\n\n\t\t\t\t// this is a global flag.\n\t\t\t\tif(addNamesToActorInGraph == true)\n\t\t\t\t{\n\t\t\t\t\t// this will selectively disable one actor.\n\t\t\t\t\tif(records.get (i).printNameInGraph == true)\n\t\t\t\t\t{\n\t\t\t\t\t\tout.write (\"set label \"+ (i+1) +\" at \"\n\t\t\t\t\t\t\t+ String.format (\"%.1f\", ((double)(records.get (i).startTime + records.get (i).endTime)/2))\n\t\t\t\t\t\t\t+ \" , \" + String.format (\"%.0f\", (records.get (i).bottomLeftY + records.get (i).topRightY)/2) \n\t\t\t\t\t\t\t/*+ \" rotate by 90 left\" */ + \" \\\"\"\n\t\t\t\t\t\t\t+ records.get (i).actorName +\"\\\" front center \");\n\t\t\t\t\t\tif(textRotationAngle > 0)\n\t\t\t\t\t\t\tout.write(\"rotate by \" + Integer.toString(textRotationAngle));\n\t\t\t\t\t\tout.write(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tCollections.sort (records);\n\n\t\t\tout.write (\"plot \");\n\t\t\tfor (int i=0;i<records.size ();i++)\n\t\t\t{\n\t\t\t\tif (i != 0)\n\t\t\t\t\tout.write (\"\\t\");\n\t\t\t\tout.write (\"-1 title \\\"\" + records.get (i).actorName + \"\\\" with lines linecolor rgb \" + \n\t\t\t\t\t\trecords.get (i).color + \" linewidth 6\");\n\t\t\t\tif (i != records.size () -1)\n\t\t\t\t\tout.write (\", \\\\\\n\");\n\t\t\t}\n\n\t\t\t//Close the output stream\n\t\t\tout.close ();\n\t\t}catch (Exception e){ System.err.println (\"Error: \" + e.getMessage ());}\n\t}",
"title": ""
},
{
"docid": "5f300ab4330e4b4d97dc1e38c925a04f",
"score": "0.44810602",
"text": "public SVGImage(File file) throws IOException, InterruptedException, SVGException\n {\n xml = ArtOfIllusion.loadFile(file).getBytes(\"UTF-8\");\n initialize();\n }",
"title": ""
},
{
"docid": "c0d985e121c3a31880eaf85b4084538f",
"score": "0.4467492",
"text": "public static void main(String[] args) {\n BeanFactory factory = new XmlBeanFactory(new FileSystemResource(\"spring.xml\"));\n //triangle.draw();\n\n }",
"title": ""
},
{
"docid": "5f824417bfddd634060a84590bcc04a0",
"score": "0.44527566",
"text": "private static void writeJsonToFiles(List<JsonObject> jsonsToCreate) throws FileNotFoundException {\n Map<String, Boolean> config = new HashMap<>();\n // Pretty printing feature is added.\n config.put(JsonGenerator.PRETTY_PRINTING, true);\n\n int i = 0;\n String fileNameToGenerate;\n for(JsonObject obj : jsonsToCreate) {\n\n // PrintWriter and JsonWriter is being created\n // in try-with-resources\n fileNameToGenerate = \"device\" + ++i + \".json\";\n try (PrintWriter pw = new PrintWriter(fileNameToGenerate)\n ; JsonWriter jsonWriter = Json.createWriterFactory(config).createWriter(pw)) {\n // Json object is being sent into file system\n jsonWriter.writeObject(obj);\n System.out.println(\"Configuration file \" + fileNameToGenerate + \" crated.\");\n }\n }\n }",
"title": ""
},
{
"docid": "7d0506f1834ce4b03b5d10dde350d5c2",
"score": "0.44525048",
"text": "public SvgWidget(String url, int width, int height) {\r\n ObjectElement objectElement = Document.get().createObjectElement();\r\n objectElement.setData(url);\r\n objectElement.setType(\"image/svg+xml\");\r\n setElement(objectElement);\r\n setPixelSize(width, height);\r\n }",
"title": ""
},
{
"docid": "645cf43d94ba1031f2b28aee4cf02269",
"score": "0.44283807",
"text": "public static void main(String[] args) throws IOException {\n \n // Initial setup\n String fileName = \"C:/work/Projects/Tests/PlotterStyle.xml\";\n boolean writeAllParameters = true;\n \n \n // Create File and Writer\n File file = new File(fileName);\n if (file.exists()) file.delete();\n \n Writer writer = new BufferedWriter(new FileWriter(file));\n AidaStyleXMLWriter xmlWriter = new AidaStyleXMLWriter(writer);\n \n // Create AIDA IPlotterStyle and set several parameters \n IPlotterStyle style = IAnalysisFactory.create().createPlotterFactory().createPlotterStyle();\n \n style.xAxisStyle().setLabel(\"xxxxxAxisLabel\");\n style.dataStyle().markerStyle().setShape(\"box\");\n style.yAxisStyle().setLabel(\"yyyyyAxisLabel\");\n \n \n \n //AidaStyleXMLWriter.printStyle(style.dataStyle().lineStyle(), true);\n AidaStyleXMLWriter.printStyle(style.xAxisStyle(), true);\n \n // Write it ot XML file\n xmlWriter.plotterStyleToXML(style, writeAllParameters); \n xmlWriter.close(); \n }",
"title": ""
},
{
"docid": "a0edbe90506fb8bceabd901a5849b278",
"score": "0.44249868",
"text": "private static void writeImage(String imageFilename, ParseSVG parser) {\n try {\n parser.toPNG(imageFilename);\n } catch (TranscoderException e) {\n System.out.println(e.getMessage());\n } catch (IOException e) {\n System.out.println(e.getMessage());\n }\n }",
"title": ""
},
{
"docid": "2f6c58abd5d3477bc4b46ec2576bc71c",
"score": "0.4422761",
"text": "public void GenerarChart(){\n FuncionesEPA valores = new FuncionesEPA();\n\n DefaultCategoryDataset dataset = new DefaultCategoryDataset();\n //DefaultPieDataset dataset = new DefaultPieDataset();\n\n for (Grafica g: valores.Semana()) {\n\n dataset.setValue(g.getPot(),\"\", g.getDia());\n System.out.println(\"Se han ingresado datos\");\n\n }\n\n JFreeChart chart = ChartFactory.createBarChart(\"Potencia de la Semana\", \"Potencia por día\", \"KWh\",\n dataset, PlotOrientation.VERTICAL, true, true, false);\n\n //JFreeChart chart = ChartFactory.createPieChart(\"Potencia semanal\", dataset, true, true, false);\n try{\n// DOMImplementation domImpl = GenericDOMImplementation.getDOMImplementation();\n//// Create an instance of org.w3c.dom.Document\n//\n// Document document = domImpl.createDocument(null, \"svg\", null);\n//// Create an instance of the SVG Generator\n//\n// SVGGraphics2D svgGenerator = new SVGGraphics2D(document);\n//// set the precision to avoid a null pointer exception in Batik 1.5\n//\n// svgGenerator.getGeneratorContext().setPrecision(6);\n//// Ask the chart to render into the SVG Graphics2D implementation\n//\n// chart.draw(svgGenerator, new Rectangle2D.Double(0, 0, 400, 300), null);\n ChartUtilities.saveChartAsPNG(new File(\"C:\\\\Users\\\\Manuel Liriano\\\\IdeaProjects\\\\epa9\\\\src\\\\main\\\\resources\\\\img\\\\test.png\"), chart, 800, 600);\n// Finally, stream out SVG to a file using UTF-8 character to // byte encoding\n\n// boolean useCSS = true;\n//\n// // svgGenerator.stream(\"test.svg\");\n// Writer out = new OutputStreamWriter(\n// new FileOutputStream(new File(\"C:\\\\Users\\\\Manuel Liriano\\\\IdeaProjects\\\\epa9\\\\src\\\\main\\\\resources\\\\img\\\\test.png\")), \"UTF-8\");\n// svgGenerator.stream(out, useCSS);\n\n }catch (Exception e){\n e.printStackTrace();\n }\n\n\n// Writer out = new OutputStreamWriter(\n// new FileOutputStream(new File(\"test.svg\")), \"UTF-8\");\n// svgGenerator.stream(out, useCSS);\n\n\n\n }",
"title": ""
},
{
"docid": "daa1c131b8c0cb9c52e16677446c9a1e",
"score": "0.44017252",
"text": "private void createJSONFile(final JSONObject jsonDataObject){\n\n }",
"title": ""
},
{
"docid": "297c8c1ad4802e80e64ff00eba94e5b5",
"score": "0.43946958",
"text": "public static void foo() {\n\n //! [8]\n // add the SVG picture handler\n // ...\n //! [8]\n //QPictureIO.defineIOHandler(\"SVG\", 0, 0, readSVG, writeSVG);\n // ...\n\n }",
"title": ""
},
{
"docid": "9129521a965d8eaeff2b0dfa6383793c",
"score": "0.4384084",
"text": "public static void main (String[] args)\n {\n createGraphics(\"C:\\\\Users\\\\jonat\\\\Desktop\\\\Facharbeit\\\\NNs\\\\diagram\");\n }",
"title": ""
},
{
"docid": "710e80949b14cd3cde59de246b4a19bb",
"score": "0.43776226",
"text": "private void generateJPGFromGraph(Chart graph, String fileName, String folderName){\n\n checkPermissions();\n graph.saveToGallery(fileName,folderName,null, Bitmap.CompressFormat.JPEG,100);\n }",
"title": ""
},
{
"docid": "74c8ae23013631c14a8537cca4cac12f",
"score": "0.43307784",
"text": "public String mo11307o() {\n return \"svg\";\n }",
"title": ""
},
{
"docid": "a364211e5dcd28bd4f2d12d7fd448485",
"score": "0.43212032",
"text": "public void BuildClass(String fileName) throws IOException{\n\t\t//download graphviz from ubuntu app store\n\t\t// http://plantuml.sourceforge.net/api.html\n\t\tFile source = new File(fileName);\n\t\tSourceFileReader reader = new SourceFileReader(source);\n\t\tList<GeneratedImage> list = reader.getGeneratedImages();\n\t\tFile png = list.get(0).getPngFile();\n\t\t\n\t}",
"title": ""
},
{
"docid": "cba18b3a6799dd3038aafbe2a2b443e6",
"score": "0.4316127",
"text": "public static void main(String[] args) throws IOException, ParseException, ParserConfigurationException, TransformerException {\n\t\tJSONParser parser = new JSONParser();\r\n\t\tFileReader reader = new FileReader(\"C:\\\\Users\\\\Saalim.ali\\\\ctaas-automation\\\\SalesSuiteAutomation\\\\src\\\\main\\\\java\\\\jsonToXmlIngestionSaalim\\\\jsonFiles\\\\mediaPointsData.json\");\r\n\t\tObject mediaPointsJavaObject = parser.parse(reader);\r\n\t\tJSONObject mediaPointsJsonObject = (JSONObject) mediaPointsJavaObject;\r\n\t\t\r\n\t\t//Initiating an XML file\r\n\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n\t\tDocumentBuilder documentBuilder = factory.newDocumentBuilder();\r\n\t\tDocument xmlDoc = documentBuilder.newDocument();\r\n\t\t\r\n\t\t//Inserting an anchoring node to the XML document\r\n\t\tElement anchor = xmlDoc.createElement(\"anchor\");\r\n\t\txmlDoc.appendChild(anchor);\r\n\t\t\r\n\t\t//Capturing the media points in an array\r\n\t\tJSONArray mediaPointsJsonArray = (JSONArray) mediaPointsJsonObject.get(\"MediaPoint\");\r\n\t\t\r\n\t\t//Iterating each and every media point present in the given JSON object\r\n\t\tfor (int i = 0; i < mediaPointsJsonArray.size(); i++) {\r\n\t\t\tJSONObject mediaPointJsonObject = (JSONObject) mediaPointsJsonArray.get(i);\r\n\t\t\t\r\n\t\t\t//Adding media point tag to the XML document\r\n\t\t\tElement mediaPointTag = xmlDoc.createElement(\"MediaPoint\");\r\n\t\t\tanchor.appendChild(mediaPointTag);\r\n\t\t\t\r\n\t\t\t//This condition checks whether a given media point contains the apply tag or the remove tag\r\n\t\t\tif (mediaPointJsonObject.containsKey(\"Apply\")) {\r\n\t\t\t\tJSONObject applyJsonObject = (JSONObject) mediaPointJsonObject.get(\"Apply\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding apply tag to the XML document\r\n\t\t\t\tElement applyTag = xmlDoc.createElement(\"Apply\");\r\n\t\t\t\tmediaPointTag.appendChild(applyTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject policyJsonObject = (JSONObject) applyJsonObject.get(\"Policy\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding policy tag to the XML document\r\n\t\t\t\tElement policyTag = xmlDoc.createElement(\"Policy\");\r\n\t\t\t\tapplyTag.appendChild(policyTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject viewingPolicyJsonObject = (JSONObject) policyJsonObject.get(\"ViewingPolicy\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding viewing policy tag to the XML document\r\n\t\t\t\tElement viewingPolicyTag = xmlDoc.createElement(\"ViewingPolicy\");\r\n\t\t\t\tpolicyTag.appendChild(viewingPolicyTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject audienceJsonObject = (JSONObject) viewingPolicyJsonObject.get(\"Audience\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding audience tag to the XML document\r\n\t\t\t\tElement audienceTag = xmlDoc.createElement(\"Audience\");\r\n\t\t\t\tviewingPolicyTag.appendChild(audienceTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONArray zipJsonArray = (JSONArray) audienceJsonObject.get(\"Zip\");\r\n\t\t\t\tfor (int j = 0; j < zipJsonArray.size(); j++) {\r\n\t\t\t\t\tString zip = (String) zipJsonArray.get(j);\r\n\t\t\t\t\t//Adding zip tags to the XML document\r\n\t\t\t\t\tElement zipTag = xmlDoc.createElement(\"Zip\");\r\n\t\t\t\t\taudienceTag.appendChild(zipTag);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Setting value of the zip tag using the data read from the JSON object\r\n\t\t\t\t\tzipTag.setTextContent(zip);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tString content = (String) viewingPolicyJsonObject.get(\"Content\");\r\n\t\t\t\t//Adding content tag to the XML document\r\n\t\t\t\tElement contentTag = xmlDoc.createElement(\"Content\");\r\n\t\t\t\tviewingPolicyTag.appendChild(contentTag);\r\n\t\t\t\t\r\n\t\t\t\t//Setting value of the content tag using the data read from the JSON object\r\n\t\t\t\tcontentTag.setTextContent(content);\r\n\t\t\t\t\r\n\t\t\t\tString matchSignal = (String) mediaPointJsonObject.get(\"MatchSignal\");\r\n\t\t\t\t//Adding match signal tag to the XML document\r\n\t\t\t\tElement matchSignalTag = xmlDoc.createElement(\"MatchSignal\");\r\n\t\t\t\tmediaPointTag.appendChild(matchSignalTag);\r\n\t\t\t\t\r\n\t\t\t\t//Setting value of the content tag using the data read from the JSON object\r\n\t\t\t\tmatchSignalTag.setTextContent(matchSignal);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//If the media point has a remove tag following it, then this else code block will execute\r\n\t\t\telse {\r\n\t\t\t\tJSONObject removeJsonObject = (JSONObject) mediaPointJsonObject.get(\"Remove\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding apply tag to the XML document\r\n\t\t\t\tElement removeTag = xmlDoc.createElement(\"Remove\");\r\n\t\t\t\tmediaPointTag.appendChild(removeTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject policyJsonObject = (JSONObject) removeJsonObject.get(\"Policy\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding policy tag to the XML document\r\n\t\t\t\tElement policyTag = xmlDoc.createElement(\"Policy\");\r\n\t\t\t\tremoveTag.appendChild(policyTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject viewingPolicyJsonObject = (JSONObject) policyJsonObject.get(\"ViewingPolicy\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding viewing policy tag to the XML document\r\n\t\t\t\tElement viewingPolicyTag = xmlDoc.createElement(\"ViewingPolicy\");\r\n\t\t\t\tpolicyTag.appendChild(viewingPolicyTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONObject audienceJsonObject = (JSONObject) viewingPolicyJsonObject.get(\"Audience\");\r\n\t\t\t\t\r\n\t\t\t\t//Adding audience tag to the XML document\r\n\t\t\t\tElement audienceTag = xmlDoc.createElement(\"Audience\");\r\n\t\t\t\tviewingPolicyTag.appendChild(audienceTag);\r\n\t\t\t\t\r\n\t\t\t\tJSONArray zipJsonArray = (JSONArray) audienceJsonObject.get(\"Zip\");\r\n\t\t\t\tfor (int j = 0; j < zipJsonArray.size(); j++) {\r\n\t\t\t\t\tString zip = (String) zipJsonArray.get(j);\r\n\t\t\t\t\t//Adding zip tag to the XML document\r\n\t\t\t\t\tElement zipTag = xmlDoc.createElement(\"Zip\");\r\n\t\t\t\t\taudienceTag.appendChild(zipTag);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Setting value of the zip tag using the data read from the JSON object\r\n\t\t\t\t\tzipTag.setTextContent(zip);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tString content = (String) viewingPolicyJsonObject.get(\"Content\");\r\n\t\t\t\t//Adding content tag to the XML document\r\n\t\t\t\tElement contentTag = xmlDoc.createElement(\"Content\");\r\n\t\t\t\tviewingPolicyTag.appendChild(contentTag);\r\n\t\t\t\t\r\n\t\t\t\t//Setting value of the content tag using the data read from the JSON object\r\n\t\t\t\tcontentTag.setTextContent(content);\r\n\t\t\t\t\r\n\t\t\t\tString matchSignal = (String) mediaPointJsonObject.get(\"MatchSignal\");\r\n\t\t\t\t//Adding match signal tag to the XML document\r\n\t\t\t\tElement matchSignalTag = xmlDoc.createElement(\"MatchSignal\");\r\n\t\t\t\tmediaPointTag.appendChild(matchSignalTag);\r\n\t\t\t\t\r\n\t\t\t\t//Setting value of the content tag using the data read from the JSON object\r\n\t\t\t\tmatchSignalTag.setTextContent(matchSignal);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tTransformerFactory transformerFactory = TransformerFactory.newInstance();\r\n\t\tTransformer transformer = transformerFactory.newTransformer();\r\n\t\tSource source = new DOMSource(xmlDoc);\r\n\t\tResult resultDestination = new StreamResult(System.out);\r\n\t\ttransformer.transform(source, resultDestination);\r\n\t}",
"title": ""
},
{
"docid": "f2965075221744eec56135b9527450c4",
"score": "0.43117875",
"text": "GraphicElement createGraphicElement();",
"title": ""
},
{
"docid": "4c512a304f369f3557ccc9b3ea09a944",
"score": "0.43105116",
"text": "void writeToFile() throws IOException {\n\t\tString path = \"heatmap.geojson\";\n\n\t\tFileWriter fw = new FileWriter(path);\n\t\tfw.write(this.heatmapToWrite.toJson());\n\n\t\tfw.close();\n\t}",
"title": ""
},
{
"docid": "ab16bfe6ae611a5961135aee9ac9457f",
"score": "0.42996505",
"text": "private static void renderModelasJSON(Workspace contargoCore) throws StructurizrWriterException {\n JsonWriter jsonWriter = new JsonWriter(true);\n StringWriter stringWriter = new StringWriter();\n jsonWriter.write(contargoCore, stringWriter);\n log.trace(stringWriter.toString());\n\n }",
"title": ""
},
{
"docid": "0183d7fa10e0fb44652f373b1d8ac8ec",
"score": "0.42935023",
"text": "public SVGImage(DataInputStream in) throws IOException, SVGException\n {\n short version = in.readShort();\n if (version != 0)\n throw new InvalidObjectException(\"Illegal version for SVGImage\");\n xml = new byte[in.readInt()];\n in.readFully(xml);\n initialize();\n }",
"title": ""
},
{
"docid": "e9106f1e181f1d4a6cab5f253f75ee33",
"score": "0.42887092",
"text": "public String getNodeName() {\n return \"svg\";\n }",
"title": ""
},
{
"docid": "acce9d0bbb14eac4e22823b2625b1ad8",
"score": "0.42828178",
"text": "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n jsonAnnexLibraryEClass = createEClass(JSON_ANNEX_LIBRARY);\n createEReference(jsonAnnexLibraryEClass, JSON_ANNEX_LIBRARY__JSON_ANNEX_ELEMENT);\n\n jsonAnnexSubclauseEClass = createEClass(JSON_ANNEX_SUBCLAUSE);\n createEReference(jsonAnnexSubclauseEClass, JSON_ANNEX_SUBCLAUSE__JSON_ANNEX_ELEMENT);\n\n jsonAnnexElementEClass = createEClass(JSON_ANNEX_ELEMENT);\n\n jsonAnnexObjectEClass = createEClass(JSON_ANNEX_OBJECT);\n createEReference(jsonAnnexObjectEClass, JSON_ANNEX_OBJECT__JSON_ANNEX_MEMBERS);\n\n jsonAnnexArrayEClass = createEClass(JSON_ANNEX_ARRAY);\n createEReference(jsonAnnexArrayEClass, JSON_ANNEX_ARRAY__JSON_ANNEX_ELEMENTS);\n\n jsonAnnexMemberEClass = createEClass(JSON_ANNEX_MEMBER);\n createEReference(jsonAnnexMemberEClass, JSON_ANNEX_MEMBER__KEY);\n createEReference(jsonAnnexMemberEClass, JSON_ANNEX_MEMBER__JSON_ANNEX_ELEMENT);\n\n jsonAnnexStringEClass = createEClass(JSON_ANNEX_STRING);\n createEAttribute(jsonAnnexStringEClass, JSON_ANNEX_STRING__VALUE);\n\n jsonAnnexNumberEClass = createEClass(JSON_ANNEX_NUMBER);\n\n jsonAnnexBooleanEClass = createEClass(JSON_ANNEX_BOOLEAN);\n\n jsonAnnexNullEClass = createEClass(JSON_ANNEX_NULL);\n\n jsonAnnexIntegerEClass = createEClass(JSON_ANNEX_INTEGER);\n createEAttribute(jsonAnnexIntegerEClass, JSON_ANNEX_INTEGER__VALUE);\n\n jsonAnnexRealEClass = createEClass(JSON_ANNEX_REAL);\n createEAttribute(jsonAnnexRealEClass, JSON_ANNEX_REAL__VALUE);\n\n jsonAnnexTrueEClass = createEClass(JSON_ANNEX_TRUE);\n\n jsonAnnexFalseEClass = createEClass(JSON_ANNEX_FALSE);\n }",
"title": ""
},
{
"docid": "20c9aec77589089f9d6eb82b58409e66",
"score": "0.42600322",
"text": "@Test\n public void view() {\n model.addShape(rectangle);\n model.addShape(oval);\n model.move(rectangle,12.0f,43.0f,10,15);\n model.move(oval, 50.0f,250.0f,200,220);\n model.scale(rectangle,12.0f,50.0f,12,20);\n model.changeColor(oval,2.1f,2.2f,2.3f,11,21);\n model.scale(oval,30.2f,13.0f,8,17);\n model.animate();\n svg = new SVGView(model, 20);\n assertEquals(\"<svg width=\\\"700\\\" height=\\\"500\\\" version=\\\"1.1\\\"\\n\" +\n \" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\" +\n \"<ellipse id=\\\"o\\\" cx=\\\"50\\\" cy=\\\"250\\\" rx=\\\"30\\\" ry=\\\"13\\\" \" +\n \"fill=\\\"rgb(536,587,561)\\\" visibility=\\\"hidden\\\" >\\n\" +\n \"<set attributeName=\\\"visibility\\\" attributeType=\\\"CSS\\\" \" +\n \"to=\\\"visible\\\" begin=\\\"350ms\\\"/>\\n\" +\n \"<set attributeName=\\\"visibility\\\" attributeType=\\\"CSS\\\" \" +\n \"to=\\\"hidden\\\" begin=\\\"11000ms\\\"/>\\n\" +\n \"<animate attributeType=\\\"XML\\\" attributeName=\\\"rx\\\" from=\\\"30\\\" to=\\\"30\\\"\\n\" +\n \" dur=\\\"0ms\\\" begin=\\\"400ms\\\" repeatCount=\\\"0\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"XML\\\" attributeName=\\\"ry\\\" from=\\\"13\\\" to=\\\"13\\\"\\n\" +\n \" dur=\\\"450ms\\\" begin=\\\"400ms\\\" repeatCount=\\\"0\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"XML\\\" attributeName=\\\"fill\\\" from=\\\"rgb(536,587,561)\\\" \" +\n \"to=\\\"rgb(536,587,561)\\\"\\n\" +\n \" dur=\\\"500ms\\\" begin=\\\"550ms\\\" repeatCount=\\\"0\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"xml\\\" begin=\\\"10000ms\\\"\" +\n \" dur=\\\"1000ms\\\" attributeName=\\\"cx\\\" \" +\n \"from=\\\"50\\\" to=\\\"50\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"xml\\\" begin=\\\"10000ms\\\" dur=\\\"1000ms\\\" \" +\n \"attributeName=\\\"cy\\\" from=\\\"250\\\" to=\\\"250\\\" fill=\\\"freeze\\\" />\\n\" +\n \"</ellipse>\\n\" +\n \"<rect id=\\\"r\\\" x=\\\"12\\\" y=\\\"43\\\" width=\\\"12\\\" height=\\\"50\\\" \" +\n \"fill=\\\"rgb(765,485,587)\\\" visibility=\\\"hidden\\\" >\\n\" +\n \"<set attributeName=\\\"visibility\\\" attributeType=\\\"CSS\\\" \" +\n \"to=\\\"visible\\\" begin=\\\"500ms\\\"/>\\n\" +\n \"<set attributeName=\\\"visibility\\\" attributeType=\\\"CSS\\\" \" +\n \"to=\\\"hidden\\\" begin=\\\"2000ms\\\"/>\\n\" +\n \"<animate attributeType=\\\"xml\\\" begin=\\\"500ms\\\" dur=\\\"250ms\\\" \" +\n \"attributeName=\\\"x\\\" from=\\\"12\\\" to=\\\"12\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"xml\\\" begin=\\\"500ms\\\" dur=\\\"250ms\\\" \" +\n \"attributeName=\\\"y\\\" from=\\\"43\\\" to=\\\"43\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"XML\\\" attributeName=\\\"width\\\" from=\\\"12\\\" to=\\\"12\\\"\\n\" +\n \" dur=\\\"0ms\\\" begin=\\\"600ms\\\" repeatCount=\\\"0\\\" fill=\\\"freeze\\\" />\\n\" +\n \"<animate attributeType=\\\"XML\\\" attributeName=\\\"height\\\" from=\\\"50\\\" to=\\\"50\\\"\\n\" +\n \" dur=\\\"400ms\\\" begin=\\\"600ms\\\" repeatCount=\\\"0\\\" fill=\\\"freeze\\\" />\\n\" +\n \"</rect>\\n\" +\n \"</svg>\",svg.getSVG());\n }",
"title": ""
},
{
"docid": "342efcc4c74911dc4bab0ef93a827ca8",
"score": "0.42495242",
"text": "public void saveToFile(String json) {\r\n writer.print(json);\r\n }",
"title": ""
},
{
"docid": "65e63bb6d8e4c0c2964f889e39df38bb",
"score": "0.42489415",
"text": "private String getJsonFilename() {\n return getName() + \".ga\";\n }",
"title": ""
},
{
"docid": "11228b5a1c7365317e18698a58c51ccf",
"score": "0.42437685",
"text": "public SvgReport(final String drawingName, final InputStream svgFile) {\n this.svgDocument = ReportUtilities.loadSvg(svgFile);\n this.drawingName = drawingName;\n }",
"title": ""
},
{
"docid": "b734b82a765bc7a4fd0fa6889aa4bf9e",
"score": "0.42283824",
"text": "public static void RegJson_Save() {\n int seleccion = 0;\n String PATH = null;\n try {\n XStream xstreamjson = new XStream(new JettisonMappedXmlDriver());\n xstreamjson.setMode(XStream.NO_REFERENCES);\n xstreamjson.alias(\"RegU\", RegisteredU.class);\n\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.setAcceptAllFileFilterUsed(false);\n fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\"JSON (*.json)\", \"json\"));\n seleccion = fileChooser.showSaveDialog(null);\n\n if (seleccion == JFileChooser.APPROVE_OPTION) {\n File JFC = fileChooser.getSelectedFile();\n PATH = JFC.getAbsolutePath();\n\n if (!PATH.endsWith(\".json\")) {\n PATH = PATH + \".json\";\n }\n \n Gson gson = new Gson();\n String json = gson.toJson(singletonReg.RegTableArray);\n FileWriter fileXml = new FileWriter(PATH);\n fileXml.write(json.toString());\n fileXml.close();\n\n //functions.showString(\"JSON saved successfully\", \"JSON File\");\n }\n } catch (Exception e) {\n //functions.showString(\"ERROR saving JSON file\", \"JSON save file ERROR\");\n }\n }",
"title": ""
},
{
"docid": "b2f23509a58c96628a2081accba4cb10",
"score": "0.42237866",
"text": "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n lenguajegraficoEClass = createEClass(LENGUAJEGRAFICO);\n createEReference(lenguajegraficoEClass, LENGUAJEGRAFICO__ELEMENTS);\n\n elementEClass = createEClass(ELEMENT);\n\n datatypeEClass = createEClass(DATATYPE);\n createEAttribute(datatypeEClass, DATATYPE__NAME);\n\n chartEClass = createEClass(CHART);\n createEAttribute(chartEClass, CHART__NAME);\n createEReference(chartEClass, CHART__FEATURES);\n\n tupleEClass = createEClass(TUPLE);\n createEAttribute(tupleEClass, TUPLE__NAME);\n createEReference(tupleEClass, TUPLE__URL);\n\n textEClass = createEClass(TEXT);\n\n numberEClass = createEClass(NUMBER);\n\n floatEClass = createEClass(FLOAT);\n\n urlEClass = createEClass(URL);\n createEAttribute(urlEClass, URL__VALUE);\n\n titleEClass = createEClass(TITLE);\n createEAttribute(titleEClass, TITLE__VALUE);\n\n labelxEClass = createEClass(LABELX);\n createEAttribute(labelxEClass, LABELX__VALUE);\n\n labelyEClass = createEClass(LABELY);\n createEAttribute(labelyEClass, LABELY__VALUE);\n\n legendEClass = createEClass(LEGEND);\n createEAttribute(legendEClass, LEGEND__VALUE);\n\n holeEClass = createEClass(HOLE);\n createEAttribute(holeEClass, HOLE__VALUE);\n\n orientationEClass = createEClass(ORIENTATION);\n createEAttribute(orientationEClass, ORIENTATION__VALUE);\n\n areaEClass = createEClass(AREA);\n createEAttribute(areaEClass, AREA__VALUE);\n\n zoomLevelEClass = createEClass(ZOOM_LEVEL);\n createEAttribute(zoomLevelEClass, ZOOM_LEVEL__VALUE);\n\n makerTypeEClass = createEClass(MAKER_TYPE);\n createEAttribute(makerTypeEClass, MAKER_TYPE__VALUE);\n\n mapTypeEClass = createEClass(MAP_TYPE);\n createEAttribute(mapTypeEClass, MAP_TYPE__VALUE);\n\n cellSizeEClass = createEClass(CELL_SIZE);\n createEAttribute(cellSizeEClass, CELL_SIZE__VALUE);\n\n pieChartEClass = createEClass(PIE_CHART);\n createEReference(pieChartEClass, PIE_CHART__TUPLE);\n\n barChartEClass = createEClass(BAR_CHART);\n createEReference(barChartEClass, BAR_CHART__TUPLE);\n\n lineChartEClass = createEClass(LINE_CHART);\n createEReference(lineChartEClass, LINE_CHART__TUPLE);\n\n mapChartEClass = createEClass(MAP_CHART);\n createEReference(mapChartEClass, MAP_CHART__TUPLE);\n\n tableChartEClass = createEClass(TABLE_CHART);\n createEReference(tableChartEClass, TABLE_CHART__TUPLE);\n\n dashBoardEClass = createEClass(DASH_BOARD);\n createEAttribute(dashBoardEClass, DASH_BOARD__NAME);\n createEReference(dashBoardEClass, DASH_BOARD__CHARTS);\n createEReference(dashBoardEClass, DASH_BOARD__FEATURES);\n\n tuple1EClass = createEClass(TUPLE1);\n createEReference(tuple1EClass, TUPLE1__VALUE1);\n createEReference(tuple1EClass, TUPLE1__VALUE2);\n\n tuple2EClass = createEClass(TUPLE2);\n createEReference(tuple2EClass, TUPLE2__VALUE1);\n createEReference(tuple2EClass, TUPLE2__VALUE2);\n\n tuple3EClass = createEClass(TUPLE3);\n createEReference(tuple3EClass, TUPLE3__VALUE1);\n createEReference(tuple3EClass, TUPLE3__VALUE2);\n createEReference(tuple3EClass, TUPLE3__VALUE3);\n\n tuple4EClass = createEClass(TUPLE4);\n createEReference(tuple4EClass, TUPLE4__VALUES);\n\n configurationEClass = createEClass(CONFIGURATION);\n createEAttribute(configurationEClass, CONFIGURATION__VALUE);\n\n codeGeneratedTargetEClass = createEClass(CODE_GENERATED_TARGET);\n\n normaliceDataEClass = createEClass(NORMALICE_DATA);\n }",
"title": ""
},
{
"docid": "c60b1227ca5b7e2ce9343d58394a57ae",
"score": "0.42215735",
"text": "@Override\n String execute(final String... args) {\n String directory = args[0];\n String pollFileName = args[1];\n VotingIntentionsChart chart = new VotingIntentionsChart(directory, pollFileName);\n boolean success = chart.writeSvgToFileSystem();\n return (success ? \"Produced\" : \"Could not produce\") + \" the voting intentions chart for \" + pollFileName\n + \".\";\n }",
"title": ""
},
{
"docid": "25b367c46bb737da781cb6e9159aaa9b",
"score": "0.42055047",
"text": "@Override\n public void toFile(Configuration instance) throws IOException {\n\n // Defining exporting rules\n Map<String, Object> options = new HashMap<>(1);\n options.put(JsonGenerator.PRETTY_PRINTING, true);\n\n // Creating factory\n JsonWriterFactory writerFactory = Json.createWriterFactory(options);\n\n // Obtaining object representation (#001)\n JsonObject obj = this.toObject(instance);\n\n // Creating stream-like string\n String data;\n\n try (StringWriter sw = new StringWriter();\n javax.json.JsonWriter writer = writerFactory.createWriter(sw)) {\n // Writing on stream\n writer.writeObject(obj);\n // Obtaining data\n data = sw.toString();\n }\n\n //TODO: Fix this\n\n /* Removing annoying new-line char\n /* If there is '\\n\\r' or '\\n' it removes it,\n /* otherwise leave as it is\n /* This bug comes from javax.json implementation (i think(?))\n /* Stuff, i found on internet related: \"https://github.com/eclipse-ee4j/yasson/issues/289\"\n /* Even if it talks about 'yasson', i got the same issue on (#001)\n /* I have tried different javax.json implementation, but it keeps staying there...*/\n\n data = data.\n substring(data.indexOf(\"\\n\\r\") + 1).\n substring(data.indexOf('\\n') + 1);\n\n try (BufferedWriter bw = new BufferedWriter(new FileWriter(instance.getFile()))) {\n // Writing on disk\n bw.write(data);\n // Say good-bye!\n bw.flush();\n }\n }",
"title": ""
},
{
"docid": "634824852b60e738c769c848314049b3",
"score": "0.41983756",
"text": "public String toGraphRep(){\n\t\tLocation global = this.getGlobal();\n\t\tString graphviz = \"digraph G{\";\n\t\tSet<Location> locs = heap.keySet();\n\t\tfor(Location l : locs){\n\t\t\tJSObject lj = heap.get(l);\n\t\t\tif(l == global){\n\t\t\t\tgraphviz += l.getObjValue() + \"[ fillcolor = \\\"green\\\", style = \\\"filled\\\"];\";\n\t\t\t}\n\t\t\t\n\t\t\tif(lj.isin(\"at_Taint\")){\n\t\t\t\tif(lj.get(\"at_Taint\") != null){\n\t\t\t\t\tif(((SecurityType)lj.get(\"at_Taint\")).isTainted()){\n\t\t\t\t\t\tgraphviz += l.getObjValue() + \"[ fillcolor = \\\"red\\\", style = \\\"filled\\\"];\";\n\t\t\t\t\t}else{\n\t\t\t\t\t\tgraphviz += l.getObjValue() + \"[ fillcolor = \\\"lightblue\\\", style = \\\"filled\\\"];\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSet<String> keys = lj.getKeySet();\n\t\t\tfor(String key : keys){\n\t\t\t ObjectValue ov = lj.get(key);\n\t\t\t if(ov != null){\n\t\t\t\t if(ov instanceof Location){\n\t\t\t\t\t \n\t\t\t\t\t if(key.equals(\"innerHTML\")){\n\t\t\t\t\t\t\tgraphviz += ov.getObjValue() + \"[ fillcolor = \\\"lightblue\\\", style = \\\"filled\\\"];\";\n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t\t JSObject jsov = heap.get(ov);\n\t\t\t\t\t if(jsov != null){\n\t\t\t\t\t\t if(jsov.isin(\"at_Taint\")){\n\t\t\t\t\t\t\t if(jsov.get(\"at_Taint\") != null){\n\t\t\t\t\t\t\t\tif(((SecurityType)jsov.get(\"at_Taint\")).isTainted()){\n\t\t\t\t\t\t\t\t\tgraphviz += ov.getObjValue() + \"[ fillcolor = \\\"red\\\", style = \\\"filled\\\"];\";\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\tgraphviz += ov.getObjValue() + \"[ fillcolor = \\\"lightblue\\\", style = \\\"filled\\\"];\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t }\n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t String key_new = key;\n\t\t\t\t\t if(key.endsWith(\"\\\"\")){\n\t\t\t\t\t\t key_new = key.substring(1, key.length()-1);\n\t\t\t\t\t\t key = key_new;\n\t\t\t\t\t }\n\t\t\t\t\t // if(!key_new.equals(\"at_Class\") && !key_new.equals(\"__constructor__\") && !key_new.equals(\"at_FScope\") && !key_new.equals(\"at_Scope\") ){\n\t\t\t\t\t\t graphviz += \"\\n\" + l.getObjValue() + \" -> \" + ov.getObjValue() + \" [ label = \\\"\" + key_new + \"\\\" ];\";\n\t\t\t\t\t // }\n\t\t\t\t }\n\t\t\t }\n\t\t\t}\n\t\t}\n\t\tgraphviz += \"}\";\n\t\treturn graphviz;\n\t}",
"title": ""
},
{
"docid": "152eccab24e4a080b34a3d67557fafc9",
"score": "0.41950256",
"text": "@Override\n public ISVG paras(File file) throws Exception {\n String filePath = file.getAbsolutePath();\n ISVG entity = string2isvg(filePath);\n if (entity != null)\n return entity;\n saxParser.parse(file, handler);\n entity = handler.svg();\n map.put(filePath, new SoftReference<ISVG>(entity));\n return entity;\n }",
"title": ""
},
{
"docid": "3890ec1c4193e4896bce59e06b5f406d",
"score": "0.41813752",
"text": "public void obtiene_curvas_de_bezier_normal(String nombre_svgP) {\n\n\t\tString s = nombre_svgP;\n\t\tString delims = \"[_.]+\"; // use + to treat consecutive delims as one;\n\t\t\t\t\t\t\t\t\t// omit to treat consecutive delims separately\n\t\tString[] tokens = s.split(delims);\n\t\t// for(String sx:tokens) {System.out.println(sx);}\n\n\t\tnombre = tokens[(tokens.length - 2)];\n\t\t//System.out.println(nombre);\n\n\t\t//String directorio = DirectorioTrabajo.directorio;\n\n\t\t//String directorio_normal = DirectorioBase.getNombreFileFromResources(\"objetos\" + File.separator + \"normal_svg\"); \n\t\t\t\t\n\t\t\t\t\n\t\t\t//\tdirectorio + File.separator + \"objetos\" + File.separator + \"normal_svg\";\n\n\t\t//String nombre_svg = directorio_normal + File.separator + nombre_svgP;\n\n\t\t//String directorio_normal = null;\n\t\t//\tDirectorioBase dbase = new DirectorioBase();\n\t\t\t//File directorio_normalD = null;\n\t\tString \tdirectorio_normal =DirectorioBase.getNombreFileFromResources(\"cortador\"+File.separator+\"objetos\" + File.separator + \"normal_svg\"); \n\t\t\t//directorio_normal =DirectorioBase.getNombreFileFromResources(\"objetos\" + File.separator + \"normal_svg\"); \n\t\t//\tdirectorio_normalD = new File(directorio_normal);\n\t\tString nombre_svg = directorio_normal + File.separator + nombre_svgP;\n\t\t\n// String nombre_svg = directorio + File.separator + nombre_svgP;\n\n\t\tFile file = new File(nombre_svg);\n\t\tif (!file.exists() || !file.isFile()) {\n\t\t\tSystem.out.println(\"No pude abrir archivo. \" + nombre_svg + \" Salgo...\");\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tScanner sc = null;\n\t\ttry {\n\t\t\tsc = new Scanner(file);\n\n// Utilidades.escribe(\"Antes de leer\");\n\t\t\tint vis = 0;\n\t\t\tpathList = null;\n\t\t\tchar tipo = '=';\n\t\t\tdouble X1 = 0.;\n\t\t\tdouble Y1 = 0.;\n\t\t\tdouble X2 = 0.;\n\t\t\tdouble Y2 = 0.;\n\t\t\tdouble X3 = 0.;\n\t\t\tdouble Y3 = 0.;\n\t\t\tdouble X4 = 0.;\n\t\t\tdouble Y4 = 0.;\n\t\t\tLinkedList<EleCalculo> eleCalList = null;\n\n\t\t\tint ipath = 0;\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tvis = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\ttipo = (sc.next()).charAt(0);\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tX1 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tY1 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tX2 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tY2 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tX3 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tY3 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tX4 = (sc.nextDouble());\n\t\t\t\t}\n\t\t\t\tif (sc.hasNext()) {\n\t\t\t\t\tY4 = (sc.nextDouble());\n\t\t\t\t}\n\n\t\t\t\tif (tipo != 'X' && tipo != 'x' && tipo != '$') {\n\t\t\t\t\tif (eleCalList == null)\n\t\t\t\t\t\teleCalList = new LinkedList<EleCalculo>();\n\t\t\t\t\tEleCalculo elex = new EleCalculo(tipo, X1, Y1, X2, Y2, X3, Y3, X4, Y4);\n\t\t\t\t\teleCalList.add(elex);\n\t\t\t\t}\n\t\t\t\tif (tipo == 'X' || tipo == 'x') {\n\t\t\t\t\tif (pathList == null)\n\t\t\t\t\t\tpathList = new LinkedList<Path>();// liste de paths\n\t\t\t\t\tPath path = new Path(ipath, vis, eleCalList);// guarde path avec visibilite\n\t\t\t\t\tpathList.add(path);// ajouter un path\n\t\t\t\t\tipath++;\n\t\t\t\t\teleCalList = null;// un autre path commence .\n\t\t\t\t}\n\n\t\t\t\t/*\n\t\t\t\t * System.out.format(\"vis: %d \", vis); System.out.format(\"t: %c \", tipo);\n\t\t\t\t * System.out.format(\"X1: %f \", X1); System.out.format(\"Y1: %f \", Y1);\n\t\t\t\t * System.out.format(\"X2: %f \", X2); System.out.format(\"Y2: %f \", Y2);\n\t\t\t\t * System.out.format(\"X3: %f \", X3); System.out.format(\"Y3: %f \", Y3);\n\t\t\t\t * System.out.format(\"X4: %f \", X4); System.out.format(\"Y4: %f %n\", Y4);\n\t\t\t\t */\n\t\t\t}\n\n\t\t\tsc.close();\n\n\t\t} catch (FileNotFoundException e) {\n// TODO Auto-generated catch block\n\t\t\tUtilidades.escribe(\"No pude abrir scanner\");\n\t\t\tUtilidades.salgo();\n// e.printStackTrace();\n\t\t}\n\n\t\treturn;\n\t}",
"title": ""
},
{
"docid": "81246273f6e992b92b986a48930f547b",
"score": "0.4177138",
"text": "public static void main(String[] args){\n GraphS gs = null;\n try {\n gs = Import.fetchGraphS(\"arctic.json\"); // test de l'import avec le fichier arctic.json\n } catch (FileNotFoundException e) { e.printStackTrace(); }\n System.out.println(gs.toString());\n }",
"title": ""
},
{
"docid": "2ae8a2907b894e334c9190601ee57818",
"score": "0.41694772",
"text": "@Override\n\tpublic void renderToImageFile(Diagram diagram, String file) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "9d54c4c9964f660e544e601f1189a6de",
"score": "0.41611657",
"text": "public Generator(String settings) {\n Matcher matcher = Pattern.compile(\"G(\\\\d+)(.+)\").matcher(settings);\n matcher.matches();\n seed = new Random().nextLong();\n this.addGraphs(Integer.parseInt(matcher.group(1)));\n Matcher graphMatcher = Pattern.compile(\"IF?((?:[x\\\\W0-9]+)?)C?((?:\\\\d+)?)P?((?:\\\\d+)?)D?((?:\\\\d+)?)U?((?:\\\\d+\\\\.\\\\d+)?)L?((?:\\\\d+\\\\.\\\\d+)?)R?((?:t|f)?)S?((?:\\\\d+)?)\").matcher(matcher.group(2));\n\n Iterator<Graph> it = graphs.values().iterator();\n while (graphMatcher.find()) {\n Graph graph = it.next();\n if (!graphMatcher.group(1).isEmpty())\n graph.setFunction(graphMatcher.group(1));\n if (!graphMatcher.group(2).isEmpty())\n graph.setCooldownSpeed(Integer.parseInt(graphMatcher.group(2)));\n if (!graphMatcher.group(3).isEmpty())\n graph.setChangeProbability(Integer.parseInt(graphMatcher.group(3)));\n if (!graphMatcher.group(4).isEmpty())\n graph.setSubdecimals(Integer.parseInt(graphMatcher.group(4)));\n if (!graphMatcher.group(5).isEmpty())\n graph.setMaxUpperOffset(Double.parseDouble(graphMatcher.group(5)));\n if (!graphMatcher.group(6).isEmpty())\n graph.setMaxLowerOffset(Double.parseDouble(graphMatcher.group(6)));\n if (!graphMatcher.group(7).isEmpty())\n graph.setRelativeToLast(graphMatcher.group(7).equals(\"t\"));\n if (!graphMatcher.group(8).isEmpty())\n graph.setSize(Integer.parseInt(graphMatcher.group(8)));\n }\n }",
"title": ""
},
{
"docid": "c85d1986149f2a4ec8ad2a8847737e27",
"score": "0.41580492",
"text": "void setStencilSet(String jsonData);",
"title": ""
},
{
"docid": "a6b4c3fa7365cc7561359436f80d0958",
"score": "0.41577882",
"text": "public interface IFileGenerator {\n public void generate(Object data,OutputStream outputStream);\n public void generateByTemplate(String templateFilePath,String fileName, Map<String,Object> map,OutputStream outputStream);\n}",
"title": ""
},
{
"docid": "066bec35cdbe425496f615c0c55024c2",
"score": "0.41511667",
"text": "public abstract ShapeConfig createConfig ();",
"title": ""
},
{
"docid": "1e01b1e58fcc69f7a9da745cad798c9d",
"score": "0.4143992",
"text": "public void saveRendering(String format, String fileName) throws IOException {\n File file = new File(fileName);\n ImageIO.write(this.image, format, file);\n }",
"title": ""
},
{
"docid": "8a1a956663038920143286824841e4b3",
"score": "0.41421345",
"text": "public void initPropertiesFromFile() throws IOException {\n byte[] jsonData = Files.readAllBytes(Paths.get(generatorConfigFile));\n // create ObjectMapper instance\n ObjectMapper objectMapper = new ObjectMapper();\n\n // read JSON like DOM Parser\n JsonNode rootNode = objectMapper.readTree(jsonData);\n spansRate = rootNode.path(\"spansRate\").asInt();\n duration = (new DurationStringConverter()).convert(rootNode.path(\"duration\").asText());\n errorRate = rootNode.path(\"errorRate\").asInt(0);\n debugRate = rootNode.path(\"debugRate\").asInt(0);\n // if traceTypesCount is set, it has precedence so the traces will be generated with default\n // parameters\n traceTypesCount = rootNode.path(\"traceTypesCount\").asInt(0);\n totalTraceCount = rootNode.path(\"totalTraceCount\").asInt(0);\n\n if (traceTypesCount <= 0) {\n if (rootNode.findValue(\"traceTypePatterns\") != null) {\n traceTypePatterns =\n objectMapper.readValue(\n rootNode.path(\"traceTypePatterns\").toString(),\n new TypeReference<LinkedList<TraceTypePattern>>() {\n });\n }\n if (rootNode.findValue(\"traceTopology\") != null) {\n traceTopology =\n objectMapper.readValue(\n rootNode.path(\"traceTopology\").toString(), new TypeReference<TraceTopology>() {\n });\n }\n }\n }",
"title": ""
},
{
"docid": "9eec753bcccb270d0d3b65c0a769b8c6",
"score": "0.4141674",
"text": "private void build(String sprint) throws IOException {\n String today = new SimpleDateFormat(\"yyyy-MM-dd_HH_mm\").format(new Date());\n FileOutputStream fileOut = new FileOutputStream(\"quality-gate-\" + PREFIX_SPRINT + sprint +\"_\"+ today + \".xlsx\");\n workbook.write(fileOut);\n fileOut.close();\n\n // Closing the workbook\n workbook.close();\n }",
"title": ""
},
{
"docid": "75d45c336d5051735c70acb52aab2584",
"score": "0.41344675",
"text": "public static void main(String[] args){\n String dataDir = Utils.getDataDir(DWGToDXF.class) + \"DWGDrawings/\";\r\n String inputFile = dataDir+ \"Line.dwg\";\r\n String outFile = dataDir+ \"Line.dxf\";\r\n CadImage cadImage = (CadImage)Image.load(inputFile);\r\n \r\n cadImage.save(outFile);\r\n //ExEnd:DWGToDXF \r\n }",
"title": ""
},
{
"docid": "c3c3b6c348764842b3036586e2ad3560",
"score": "0.41330653",
"text": "public void createD3Content() {\n\n\t\tif (listDataArray.size() == 0)\n\t\t\treturn;\n\n\t\tSystem.out.println(\"D3Plotter :: createD3Content\");\n\n\t\t// Get the D3 object\n\t\td3 = browser.getD3();\n\t\t//\t\tSystem.out.println(\"D3 version \" + d3.version());\n\t\twebEngine = d3.getWebEngine();\n\n\t\t//\t\tinjectStuffInHeadNode();\n\t\t//\t\tinjectMathJax();\n\n\t\t// apply CSS\n\t\t//\t\tloadCssForThisClass();\n\n\t\t// svg\n\t\tsvgSelection = d3.select(\"svg\")\n\t\t\t\t.attr(\"width\", options.getWidthPageSVG())\n\t\t\t\t.attr(\"height\", options.getHeightPageSVG());\n\n\t\t//page\n\t\tSelection pageSelection = svgSelection //\n\t\t\t\t.append(\"g\") //\n\t\t\t\t.attr(\"id\", \"page\")\n\t\t\t\t.attr(\"width\", options.getWidthPageSVG()) //\n\t\t\t\t.attr(\"height\", options.getHeightPageSVG());\n\n\t\t// Inject basic style attributes into svg node\n\t\t//\t\ttry {\n\t\t//\n\t\t//\t\t\tinjectStyleInSVG();\n\t\t//\n\t\t//\t\t} catch (TransformerException e) {\n\t\t//\t\t\te.printStackTrace();\n\t\t//\t\t}\n\n\t\t//graph\n\t\tSelection graphSelection = pageSelection //\n\t\t\t\t.append(\"g\") //\n\t\t\t\t.attr(\"id\", \"graph\") //\n\t\t\t\t.attr(\"transform\", \"translate(\" + options.getMargin().left + \",\" + options.getMargin().top + \")\");\n\n\t\tSelection graphRectSelection = graphSelection // only the filling area+opacity\n\t\t\t\t.append(\"rect\") //\n\t\t\t\t.attr(\"width\", options.getWidthGraph()) //\n\t\t\t\t.attr(\"height\", options.getHeightGraph()) //\n\t\t\t\t.attr(\"fill\", options.getGraphBackgroundColor())\n\t\t\t\t.attr(\"opacity\", options.getGraphBackgroundOpacity().toString())\n\t\t\t\t;\n\n\t\tString axisLineStyle = \"stroke: \" + options.getAxisLineColor() + \"; stroke-width: \" + options.getAxisLineStrokeWidth() +\";\";\n\n\t\tSelection graphRectSelection2 = graphSelection // only the outline\n\t\t\t\t.append(\"rect\") //\n\t\t\t\t.attr(\"width\", options.getWidthGraph()) //\n\t\t\t\t.attr(\"height\", options.getHeightGraph()) //\n\t\t\t\t.attr(\"fill\", \"none\")\n\t\t\t\t.attr(\"opacity\", \"1.0\")\n\t\t\t\t.attr(\"style\", axisLineStyle) // \"stroke: black; stroke-width: 3px;\"\n\t\t\t\t;\n\n\t\t//x axis\n\t\tSelection xAxisSelection = graphSelection //\n\t\t\t\t.append(\"g\") //\n\t\t\t\t.attr(\"id\", \"\" + \"xAxis\") //\n\t\t\t\t.attr(\"class\", \"axis\") //\n\t\t\t\t.attr(\"transform\", \"translate(0,\" + options.getHeightGraph() + \")\")\n\t\t\t\t;\n\t\t\n\t\t\n\t\t// Go through the list of data couples and plot\n\t\t// detect axis limits\n\t\tdouble xMin, xMax;\n\t\tdouble yMin, yMax;\n\t\txMin = 1.0e15; xMax = -1.0e15; // initialize so that they will change\n\t\tyMin = 1.0e15; yMax = -1.0e15;\n\n\t\tfor (Double[][] dataArray : listDataArray) {\n\t\t\t//--------------------------------------------------------\n\t\t\t// Find X- and Y- min/max values\n\n//\t\t\tList<List<Double>> dataList = MyArrayUtils.convert2DArrayToList(dataArray);\n//\t\t\tSystem.out.println(dataList);\n//\t\t\tSystem.out.println(MyArrayUtils.extractColumnOf2DArrayToList(dataArray, 0));\n\n\t\t\tDoubleSummaryStatistics summaryStatisticsX = MyArrayUtils.extractColumnOf2DArrayToList(dataArray, 0).stream()\n\t\t\t\t\t.mapToDouble(v -> v)\n\t\t\t\t\t.summaryStatistics();\n\n\t\t\t// X-axis range\n\t\t\tif (options.isAutoRangeX()) {\n\t\t\t\txMin = Math.min(xMin, summaryStatisticsX.getMin());\n\t\t\t\txMax = Math.max(xMax, summaryStatisticsX.getMax());\n\t\t\t} else {\n\t\t\t\txMin = options.getXMin();\n\t\t\t\txMax = options.getXMax();\n\t\t\t}\n\n\t\t\t//\t\tSystem.out.println(MyArrayUtils.extractColumnOf2DArrayToList(dataArray, 1));\n\n\t\t\tDoubleSummaryStatistics summaryStatisticsY = MyArrayUtils.extractColumnOf2DArrayToList(dataArray, 1).stream()\n\t\t\t\t\t.mapToDouble(v -> v)\n\t\t\t\t\t.summaryStatistics();\n\n\t\t\t// Y-axis range\n\t\t\tif (options.isAutoRangeY()) {\n\t\t\t\tyMin = Math.min(yMin, summaryStatisticsY.getMin());\n\t\t\t\tyMax = Math.max(yMax, summaryStatisticsY.getMax());\n\t\t\t} else {\n\t\t\t\tyMin = options.getYMin();\n\t\t\t\tyMax = options.getYMax();\n\t\t\t}\n\t\t\n\t\t}\t\t\n\n\t\t// QuantitativeScale<?> xScale;\n\n\t\tLinearScale xScale = d3.scale() //\n\t\t\t\t.linear() //\n\t\t\t\t.domain(xMin, xMax) //\n\t\t\t\t.range(0.0, options.getWidthGraph())\n\t\t\t\t;\n\n\t\t// setting up the y-gridlines/yticks\n\t\tint xTickSize;\n\t\tString xTickStrokeWidth;\n\t\tString xTickStrokeColor;\n\t\tString xGridLineDashArray;\n\t\tif (options.isShowXGrid()) {\n\t\t\txTickSize = -options.getHeightGraph();\n\t\t\txTickStrokeWidth = options.getXGridLineStrokeWidth();\n\t\t\txTickStrokeColor = options.getXGridLineColor();\n\t\t\txGridLineDashArray = options.getXGridLineDashArray();\n\t\t} else {\n\t\t\txTickSize = 5;\n\t\t\txTickStrokeWidth = options.getAxisLineStrokeWidth();\n\t\t\txTickStrokeColor = options.getAxisLineColor();\n\t\t\txGridLineDashArray = \"5000,2\";\n\t\t}\n\t\t\n\t\t// set the x axis\n\t\torg.treez.javafxd3.d3.svg.Axis xAxis = d3.svg() //\n\t\t\t\t.axis() //\n\t\t\t\t.scale(xScale) //\n\t\t\t\t.orient(org.treez.javafxd3.d3.svg.Axis.Orientation.BOTTOM) //\n\t\t\t\t.tickSize(xTickSize)\n\t\t\t\t// .outerTickSize(10) // agodemar\n\t\t\t\t.tickPadding(options.getXtickPadding()) // agodemar\n\t\t\t\t;\n\n\t\txAxis.apply(xAxisSelection);\n\n\t\txAxisSelection //\n\t\t.selectAll(\"path, line\") //\n\t\t.style(\"fill\", \"none\") //\n\t\t.style(\"stroke\", xTickStrokeColor) //\n\t\t.style(\"stroke-width\", xTickStrokeWidth) //\n\t\t.style(\"stroke-dasharray\",xGridLineDashArray)\n\t\t.style(\"font\", \"10px sans-serif\")\n\t\t.style(\"shape-rendering\", \"geometricPrecision\"); // \"crispEdges\" // \"geometricPrecision\"\n\t\t\n\n\t\t//\t\tif (logXScale) {\n\t\t//\t\t\t//major ticks\n\t\t//\t\t\txAxisSelection //\n\t\t//\t\t\t.selectAll(\".tick:nth-child(1)\") //\n\t\t//\t\t\t.classed(\"major\", true);\n\t\t//\n\t\t//\t\t\txAxisSelection //\n\t\t//\t\t\t.selectAll(\".tick:nth-child(9n+1)\") //\n\t\t//\t\t\t.classed(\"major\", true);\n\t\t//\n\t\t//\t\t\tSelection majorTickLines = xAxisSelection //\n\t\t//\t\t\t\t\t.selectAll(\".major\") //\n\t\t//\t\t\t\t\t.selectAll(\"line\");\n\t\t//\n\t\t//\t\t\tSelection minorTickLines = xAxisSelection //\n\t\t//\t\t\t\t\t.selectAll(\".tick:not(.major)\") //\n\t\t//\t\t\t\t\t.selectAll(\"line\");\n\t\t//\n\t\t//\t\t\tmajorTickLines //\n\t\t//\t\t\t.style(\"stroke\", \"blue\") //\n\t\t//\t\t\t.attr(\"y2\", \"+\" + 20);\n\t\t//\n\t\t//\t\t\tminorTickLines //\n\t\t//\t\t\t.style(\"stroke\", \"red\")\n\t\t//\t\t\t.attr(\"y2\", \"+\" + 10);\n\t\t//\n\t\t//\t\t}\n\n\t\t//y axis\n\t\tSelection yAxisSelection = graphSelection //\n\t\t\t\t.append(\"g\") //\n\t\t\t\t.attr(\"id\", \"\" + \"yAxis\") //\n\t\t\t\t.attr(\"class\", \"axis\");\n\n\t\tLinearScale yScale = d3 //\n\t\t\t\t.scale() //\n\t\t\t\t.linear() //\n\t\t\t\t.domain(yMin, yMax) //\n\t\t\t\t.range(options.getHeightGraph(), 0.0);\n\n\n\t\t// setting up the y-gridlines/yticks\n\t\tint yTickSize;\n\t\tString yTickStrokeWidth;\n\t\tString yTickStrokeColor;\n\t\tString yGridLineDashArray;\n\t\tif (options.isShowYGrid()) {\n\t\t\tyTickSize = -options.getWidthGraph();\n\t\t\tyTickStrokeWidth = options.getYGridLineStrokeWidth();\n\t\t\tyTickStrokeColor = options.getYGridLineColor();\n\t\t\tyGridLineDashArray = options.getYGridLineDashArray();\n\t\t} else {\n\t\t\tyTickSize = 5;\n\t\t\tyTickStrokeWidth = options.getAxisLineStrokeWidth();\n\t\t\tyTickStrokeColor = options.getAxisLineColor();\n\t\t\tyGridLineDashArray = \"5000,2\";\n\t\t}\n\t\t\n\t\torg.treez.javafxd3.d3.svg.Axis yAxis = d3 //\n\t\t\t\t.svg() //\n\t\t\t\t.axis() //\n\t\t\t\t.scale(yScale)\n\t\t\t\t.orient(org.treez.javafxd3.d3.svg.Axis.Orientation.LEFT)\n\t\t\t\t.tickPadding(options.getYtickPadding())\n\t\t\t\t.tickSize(yTickSize)\n\t\t\t\t// .outerTickSize(10) // agodemar\n\t\t\t\t// .tickPadding(5) // agodemar\n\t\t\t\t;\n\n\t\tyAxis.apply(yAxisSelection);\n\n\t\tyAxisSelection //\n\t\t.selectAll(\"path, line\") //\n\t\t.style(\"fill\", \"none\") //\n\t\t.style(\"stroke\", yTickStrokeColor) //\n\t\t.style(\"stroke-dasharray\",yGridLineDashArray)\n\t\t.style(\"stroke-width\", yTickStrokeWidth) //\n\t\t.style(\"shape-rendering\", \"geometricPrecision\"); // \"crispEdges\"\n\n\n\t\t// X-axis Label\n\t\tsvgSelection.append(\"text\")\n\t\t.attr(\"class\", \"x label\")\n\t\t.attr(\"text-anchor\", \"middle\")\n\t\t.attr(\"x\", options.getMargin().left + options.getWidthGraph()/2)\n\t\t.attr(\"y\", options.getMargin().top + options.getHeightGraph() + 45) // NB: offset\n\t\t.text(options.getXLabel());\n\n\t\t// Y-Axis label\n\t\tsvgSelection.append(\"text\")\n\t\t.attr(\"class\", \"y label\")\n\t\t.attr(\"text-anchor\", \"middle\")\n\t\t.attr(\"x\", -options.getMargin().top - options.getHeightGraph()/2)\n\t\t.attr(\"y\", options.getMargin().left/2 - 25) // NB: offset\n\t\t.attr(\"dy\", \".75em\")\n\t\t.attr(\"transform\", \"rotate(-90)\")\n\t\t.text(options.getYLabel());\n\n\t\t// Title\n\t\tsvgSelection.append(\"text\")\n\t\t.attr(\"class\", \"title\")\n\t\t.attr(\"text-anchor\", \"middle\")\n\t\t.attr(\"x\", options.getMargin().left + options.getWidthGraph()/2)\n\t\t.attr(\"y\", (options.getMargin().top / 2) - 0) // NB: offset\n\t\t.text(options.getTitle());\n\n\t\t// go through the list of data couples and plot \n\t\tfor (int kLine = 0; kLine < listDataArray.size(); kLine++) {\n\n\t\t\tDouble[][] dataArray = listDataArray.get(kLine);\n\t\t\t\n\t\t\t//xy plot\n\t\t\tSelection xySelection = graphSelection //\n\t\t\t\t\t.append(\"g\") //\n\t\t\t\t\t.attr(\"id\", \"xy\") //\n\t\t\t\t\t.attr(\"class\", \"xy\");\n\n\n\t\t\t//plot line\n\t\t\torg.treez.javafxd3.d3.svg.Line linePathGenerator = d3 //\n\t\t\t\t\t.svg()//\n\t\t\t\t\t.line()\n\t\t\t\t\t.x(new AxisScaleFirstDatumFunction(xScale))\n\t\t\t\t\t.y(new AxisScaleSecondDatumFunction(yScale));\n\n\t\t\t// line style\n\t\t\tString lineStyle = \"\";\n\t\t\tif (options.isAutoLineStyle())\n\t\t\t\tlineStyle = options.getLineStyle();\n\t\t\telse {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getLineStyles().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getLineStyles().size();\n\t\t\t\t\n\t\t\t\tlineStyle = options.getLineStyles().get(kk);\n\t\t\t}\n\t\t\t\n\t\t\tSelection line = xySelection //\n\t\t\t\t\t.append(\"path\") //\n\t\t\t\t\t.attr(\"id\", \"line\") //\n\t\t\t\t\t.attr(\"d\", linePathGenerator.generate(dataArray))\n\t\t\t\t\t.attr(\"class\", \"line\")\n\t\t\t\t\t.attr(\"style\", lineStyle);\n\n\t\t\t// plot area?\n\t\t\tboolean plotArea;\n\t\t\tif (options.isAutoPlotArea())\n\t\t\t\tplotArea = options.isPlotArea();\n\t\t\telse {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getPlotAreas().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getPlotAreas().size();\n\t\t\t\t\n\t\t\t\tplotArea = options.getPlotAreas().get(kk);\n\t\t\t}\n\n\t\t\tString areaStyle;\n\t\t\tif (options.isAutoAreaStyle())\n\t\t\t\tareaStyle = options.getAreaStyle();\n\t\t\telse {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getAreaStyles().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getAreaStyles().size();\n\t\t\t\t\n\t\t\t\tareaStyle = options.getAreaStyles().get(kk);\n\t\t\t}\n\t\t\tDouble opacity;\n\t\t\tif (options.isAutoAreaOpacity())\n\t\t\t\topacity = options.getAreaOpacity();\n\t\t\telse {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getAreaOpacities().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getAreaOpacities().size();\n\t\t\t\t\n\t\t\t\topacity = options.getAreaOpacities().get(kk);\n\t\t\t}\n\t\t\t\n\t\t\tif ( plotArea ) {\n\t\t\t\t//plot area beneath line\n\t\t\t\tdouble yMin1 = yScale.apply(0.0).asDouble();\n\t\t\t\tArea areaPathGenerator = d3 //\n\t\t\t\t\t\t.svg() //\n\t\t\t\t\t\t.area() //\n\t\t\t\t\t\t.x(new AxisScaleFirstDatumFunction(xScale))\n\t\t\t\t\t\t.y0(yMin1)\n\t\t\t\t\t\t.y1(new AxisScaleSecondDatumFunction(yScale));\n\t\t\t\tString areaPath = areaPathGenerator.generate(dataArray);\n\t\t\t\t@SuppressWarnings(\"unused\")\n\t\t\t\tSelection area = xySelection //\n\t\t\t\t.append(\"path\") //\n\t\t\t\t.attr(\"id\", \"area\") //\n\t\t\t\t.attr(\"d\", areaPath)\n\t\t\t\t.attr(\"class\", \"area\")\n\t\t\t\t.attr(\"style\", areaStyle)\n\t\t\t\t.attr(\"opacity\", opacity)\n\t\t\t\t;\n\t\t\t}\n\t\t\t\n\t\t\tboolean showSymbols;\n\t\t\tif (options.isAutoShowSymbols()) { \n\t\t\t\tshowSymbols = options.isShowSymbols();\n\t\t\t} else {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getShowSymbols().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getShowSymbols().size();\n\t\t\t\t\n\t\t\t\tshowSymbols = options.getShowSymbols().get(kk);\n\t\t\t}\n\n\n\t\t\tif (showSymbols) {\n\t\t\t\t\n\t\t\t\t// symbols type\n\t\t\t\t\n\t\t\t\tSymbolType symbolType;\n\t\t\t\tif (options.isAutoSymbolType())\n\t\t\t\t\tsymbolType = options.getSymbolType();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolTypes().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolTypes().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolType = options.getSymbolTypes().get(kk);\n\t\t\t\t}\n\n\t\t\t\tint symbolSize;\n\t\t\t\tif (options.isAutoSymbolSize())\n\t\t\t\t\tsymbolSize = options.getSymbolSize();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolSizes().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolSizes().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolSize = options.getSymbolSizes().get(kk);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSymbol symbol = d3 //\n\t\t\t\t\t\t.svg() //\n\t\t\t\t\t\t.symbol();\n\t\t\t\tsymbol = symbol //\n\t\t\t\t\t\t.size(symbolSize) //\n\t\t\t\t\t\t.type(symbolType); // SymbolType.CIRCLE\n\t\t\t\t\n\t\t\t\t// style\n\t\t\t\tString symbolStyle;\n\t\t\t\tif (options.isAutoSymbolStyle())\n\t\t\t\t\tsymbolStyle = options.getSymbolStyle();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolStyles().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolStyles().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolStyle = options.getSymbolStyles().get(kk);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString symbolDString = symbol.generate();\n\n\t\t\t\tSelection symbolSelection = xySelection //\n\t\t\t\t\t\t.append(\"g\") //\n\t\t\t\t\t\t.attr(\"id\", \"symbols\") //\n\t\t\t\t\t\t.attr(\"class\", \"symbols\");\n\n\t\t\t\t@SuppressWarnings(\"unused\")\n\t\t\t\tSelection symbols = symbolSelection\n\t\t\t\t.selectAll(\"path\") //\n\t\t\t\t.data(dataArray) //\n\t\t\t\t.enter() //\n\t\t\t\t.append(\"path\") //\n\t\t\t\t.attr(\"transform\", new AxisTransformPointDatumFunction(xScale, yScale)) //\n\t\t\t\t//.attrExpression(\"transform\", \"function(d, i) { return 'translate(' + d[0] + ',' + d[1] + ')'; }\") //\n\t\t\t\t.attr(\"d\", symbolDString) //\n\t\t\t\t.attr(\"style\", symbolStyle); // options.getSymbolStyle()\n\t\t\t}\n\n\t\t}\n\t\t\n\t\t// go through the list of auxiliary data couples and plot \n\t\tfor (int kLine = 0; kLine < listAuxDataArray.size(); kLine++) {\n\n\t\t\tDouble[][] dataArray = listAuxDataArray.get(kLine);\n\t\t\t\n\t\t\t//xy plot\n\t\t\tSelection xySelection = graphSelection //\n\t\t\t\t\t.append(\"g\") //\n\t\t\t\t\t.attr(\"id\", \"xy\") //\n\t\t\t\t\t.attr(\"class\", \"xy\");\n\n\n\t\t\t//plot line\n\t\t\torg.treez.javafxd3.d3.svg.Line linePathGenerator = d3 //\n\t\t\t\t\t.svg()//\n\t\t\t\t\t.line()\n\t\t\t\t\t.x(new AxisScaleFirstDatumFunction(xScale))\n\t\t\t\t\t.y(new AxisScaleSecondDatumFunction(yScale));\n\n\t\t\t// line style\n\t\t\tString lineStyle = \"\";\n\t\t\tif (options.isAutoLineStyleAux())\n\t\t\t\tlineStyle = options.getLineStyleAux();\n\t\t\telse {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getLineStylesAux().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getLineStylesAux().size();\n\t\t\t\t\n\t\t\t\tlineStyle = options.getLineStylesAux().get(kk);\n\t\t\t}\n\t\t\t\n\t\t\tSelection line = xySelection //\n\t\t\t\t\t.append(\"path\") //\n\t\t\t\t\t.attr(\"id\", \"line\") //\n\t\t\t\t\t.attr(\"d\", linePathGenerator.generate(dataArray))\n\t\t\t\t\t.attr(\"class\", \"line\")\n\t\t\t\t\t.attr(\"style\", lineStyle);\n\n\t\t\tboolean showSymbols;\n\t\t\tif (options.isAutoShowSymbolsAux()) { \n\t\t\t\tshowSymbols = options.isShowSymbolsAux();\n\t\t\t} else {\n\t\t\t\tint kk;\n\t\t\t\tif (kLine < options.getShowSymbolsAux().size())\n\t\t\t\t\tkk = kLine;\n\t\t\t\telse\n\t\t\t\t\tkk = kLine % options.getShowSymbolsAux().size();\n\t\t\t\t\n\t\t\t\tshowSymbols = options.getShowSymbolsAux().get(kk);\n\t\t\t}\n\n\n\t\t\tif (showSymbols) {\n\t\t\t\t\n\t\t\t\t// symbols type\n\t\t\t\t\n\t\t\t\tSymbolType symbolType;\n\t\t\t\tif (options.isAutoSymbolTypeAux())\n\t\t\t\t\tsymbolType = options.getSymbolTypeAux();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolTypesAux().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolTypesAux().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolType = options.getSymbolTypesAux().get(kk);\n\t\t\t\t}\n\n\t\t\t\tint symbolSize;\n\t\t\t\tif (options.isAutoSymbolSizeAux())\n\t\t\t\t\tsymbolSize = options.getSymbolSizeAux();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolSizesAux().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolSizesAux().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolSize = options.getSymbolSizesAux().get(kk);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSymbol symbol = d3 //\n\t\t\t\t\t\t.svg() //\n\t\t\t\t\t\t.symbol();\n\t\t\t\tsymbol = symbol //\n\t\t\t\t\t\t.size(symbolSize) //\n\t\t\t\t\t\t.type(symbolType); // SymbolType.CIRCLE\n\t\t\t\t\n\t\t\t\t// style\n\t\t\t\tString symbolStyle;\n\t\t\t\tif (options.isAutoSymbolStyleAux())\n\t\t\t\t\tsymbolStyle = options.getSymbolStyleAux();\n\t\t\t\telse {\n\t\t\t\t\tint kk;\n\t\t\t\t\tif (kLine < options.getSymbolStylesAux().size())\n\t\t\t\t\t\tkk = kLine;\n\t\t\t\t\telse\n\t\t\t\t\t\tkk = kLine % options.getSymbolStylesAux().size();\n\t\t\t\t\t\n\t\t\t\t\tsymbolStyle = options.getSymbolStylesAux().get(kk);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString symbolDString = symbol.generate();\n\n\t\t\t\tSelection symbolSelection = xySelection //\n\t\t\t\t\t\t.append(\"g\") //\n\t\t\t\t\t\t.attr(\"id\", \"symbols\") //\n\t\t\t\t\t\t.attr(\"class\", \"symbols\");\n\n\t\t\t\t@SuppressWarnings(\"unused\")\n\t\t\t\tSelection symbols = symbolSelection\n\t\t\t\t.selectAll(\"path\") //\n\t\t\t\t.data(dataArray) //\n\t\t\t\t.enter() //\n\t\t\t\t.append(\"path\") //\n\t\t\t\t.attr(\"transform\", new AxisTransformPointDatumFunction(xScale, yScale)) //\n\t\t\t\t//.attrExpression(\"transform\", \"function(d, i) { return 'translate(' + d[0] + ',' + d[1] + ')'; }\") //\n\t\t\t\t.attr(\"d\", symbolDString) //\n\t\t\t\t.attr(\"style\", symbolStyle); // options.getSymbolStyle()\n\t\t\t}\n\n\t\t}\n\t\t\n\t\t\n\t\tif (options.isShowLegend())\n\t\t\tputLegend();\n\n\n\t\t//################################\n/*\nif (false) {\n\t\t// data that you want to plot, I've used separate arrays for x and y values\n\t\tdouble[] xData1 = {5, 10, 25, 32, 40, 40, 15, 7};\n\t\tdouble[] yData1 = {3, 17, 4, 10, 6, -20, -20.0, 0};\n\n\t\t// draw the graph object\n\t\tSelection points1Selection = xySelection.append(\"svg:g\");\n\t\tpoints1Selection.selectAll(\"scatter-dots\")\n\t\t .data(yData1) // using the values in the ydata array\n\t\t .enter().append(\"svg:circle\") // create a new circle for each value\n\t\t .attr(\"cy\", new YAxisDatumFunction(webEngine, yScale, yData1) ) // translate y value to a pixel\n\t\t .attr(\"cx\", new XAxisDatumFunction(webEngine, xScale, xData1)) // translate x value\n\t\t .attr(\"r\", 5) // radius of circle\n\t\t .attr(\"fill\", \"darkgreen\")\n\t\t .style(\"opacity\", 1.0); // opacity of circle\n\n\t\t// Line, the path generator\n\t\tLine line1 = d3.svg().line()\n\t\t\t\t.x(new XAxisDatumFunction(webEngine, xScale, xData1))\n\t\t\t\t.y(new YAxisDatumFunction(webEngine, yScale, yData1))\n\t\t\t\t;\n\n\t\tSelection line1Selection = xySelection.append(\"svg:g\")\n\t\t\t\t.classed(\"Pippo-line-group\", true);\n\t\tSelection pathLine = line1Selection\n\t\t\t\t.append(\"path\")\n\t\t\t\t.classed(\"Agodemar-Test-Line\", true)\n\t\t\t\t;\n\t\tpathLine\n\t\t\t.attr(\"fill\",\"none\")\n\t\t\t.attr(\"stroke\",\"red\")\n\t\t\t.attr(\"stroke-width\",\"5\")\n\t\t\t.attr(\"stroke-linecap\",\"square\") // \"butt\", \"round\", \"square\"\n\t\t\t.attr(\"stroke-dasharray\",\"15,10\")\n\t\t\t;\n\n\t\tfinal Stack<Coords> points = new Stack<>();\n\n\t\tIntStream.range(0, xData1.length)\n\t\t\t.forEach(i ->\n\t\t\t\t\tpoints.push(new Coords(webEngine, xData1[i], yData1[i]))\n\t\t\t\t\t);\n\n//\t\tSystem.out.println(\"points:\");\n//\t\tpoints.stream()\n//\t\t\t.forEach(p -> System.out.println(p.x()+\", \"+p.y()));\n\n\t\tInterpolationMode mode1 = InterpolationMode.MONOTONE;\n\t\tline1 = line1.interpolate(mode1);\n//\t\tSystem.out.println(\"Interpolation mode: \" + line.interpolate());\n\n\t\tdouble tension = 0.1;\n\t\tline1 = line1.tension(tension);\n//\t\tSystem.out.println(\"tension: \" + line.tension());\n\n\t\tList<Coords> coordsList = new ArrayList<>(points);\n\n//\t\tSystem.out.println(\"coordsList:\");\n//\t\tcoordsList.stream()\n//\t\t\t.forEach(c -> System.out.println(c.x()+\", \"+c.y()));\n\n\t\tString coordinates = line1.generate(coordsList);\n\n//\t\tSystem.out.println(\"coordinates: \" + coordinates);\n\n\t\tpathLine.attr(\"d\", coordinates)\n\t\t\t.attr(\"fill\", \"gray\")\n\t\t\t.attr(\"fill-opacity\", \"0.2\")\n\t\t\t;\n} // if-false\n*/\n\t\t// ###########################################################\n\n\t\t// ###########################################################\n\t\t// this is my playground ...\n\n//\t\tinjectAdditionalJavascripts();\n\n\t}",
"title": ""
},
{
"docid": "41e91eb75a7d6c2569a7d2a3f16591f5",
"score": "0.41294584",
"text": "@Test\n public void testEmptySvg() {\n svg = new SVGView(model,1);\n assertEquals(\"<svg width=\\\"700\\\" height=\\\"500\\\" version=\\\"1.1\\\"\\n\" +\n \" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\" +\n \"</svg>\",svg.getSVG());\n }",
"title": ""
},
{
"docid": "ad660f491095a2cb80615713eef4bb12",
"score": "0.4129242",
"text": "@SuppressWarnings({ \"unchecked\" })\r\n\t@Test\r\n\tpublic void testJsonToXml() throws Exception\r\n\t{\r\n\t\tObjectMapper mapper = new ObjectMapper();\r\n\t\tMap<String, Object> jsonMap = (Map<String, Object>) mapper.readValue(\r\n\t\t\t\tIOUtils.toString(\r\n\t\t\t\t\t\tTXmlToJson.class.getResourceAsStream(\"/xmlToJson/content.json\"), \r\n\t\t\t\t\t\tCharset.defaultCharset()), \r\n\t\t\t\tObject.class);\r\n\t\t\r\n\t\tDynamicBean dynBean = new DynamicBean(true);\r\n\t\tdynBean.loadSimpleMap(jsonMap);\r\n\t\t\r\n\t\tFile tempFile = File.createTempFile(\"test\", \".xml\");\r\n\t\t\r\n\t\tXmlWriterConfig writerConfig = new XmlWriterConfig();\r\n\t\twriterConfig.setIndentXml(true);\r\n\t\twriterConfig.setExcludeNameSpace(true);\r\n\t\twriterConfig.setEscapeExpressions(false);\r\n\t\twriterConfig.setExcludeXmlDeclaration(true);\r\n\t\t\r\n\t\tXmlBeanWriter.writeTo(\"dyn-content\", dynBean, tempFile, writerConfig);\r\n\t\t\r\n\t\tString actualXmlContent = FileUtils.readFileToString(tempFile, Charset.defaultCharset());\r\n\t\tString expectedXmlContent = IOUtils.toString(\r\n\t\t\t\t\t\tTXmlToJson.class.getResourceAsStream(\"/xmlToJson/content.xml\"), \r\n\t\t\t\t\t\tCharset.defaultCharset());\r\n\t\t\r\n\t\tSystem.out.println(actualXmlContent);\r\n\t\tAssert.assertEquals(actualXmlContent.trim(), expectedXmlContent.trim());\r\n\t}",
"title": ""
},
{
"docid": "1a52c2966da22cb21fdc1858e98476fa",
"score": "0.41224432",
"text": "public void saveToJsonFile() {\n saveToJsonFile(\"src/test/resources/test-launch-parameters.json\");\n }",
"title": ""
},
{
"docid": "d4b866dc1022241f3b0bbaf595f5a1fd",
"score": "0.41175392",
"text": "public static void createImages(ExportContext context, File targetDir) throws Exception\r\n\t{\n\t\tStyleContext.NamedStyle figStyle = (StyleContext.NamedStyle)context.styles.getStyle(\"body.figurine\");\r\n\t\tcreateFigurineImages(context.styles, figStyle, targetDir);\r\n\r\n\t\tStyle inlineStyle = context.styles.getStyle(\"body.inline\");\r\n\t\tFont font = context.styles.getFont(inlineStyle);\r\n\t\tcreateInlineImages(font,targetDir);\r\n\r\n\t\t// create diagrams for JavaScript\r\n\t\tif (ExportConfig.getBooleanParam(context.config,\"large-icons\",false)) {\r\n\t\t\t// use style \"html.large\"\r\n//\t\t\tint size = context.profile.getInt(\"xsl.dhtml.diasize\",20); // OLD\r\n\t\t\tStyle diaStyle = context.profile.getStyleContext().getStyle(\"html.large\");\r\n\t\t\tfont = context.styles.getFont(diaStyle);\r\n\t\t\tcreateInlineImages(font,targetDir);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "14a3f55a323322bc42f28ef76321c002",
"score": "0.41147065",
"text": "private void jButton16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton16ActionPerformed\n this.jSVGCanvas1.setSVGDocument(this.iMedia.nevigateRendering(1));\n }",
"title": ""
},
{
"docid": "8e75d4e5cd356144c2b9034a9aaf7341",
"score": "0.4105882",
"text": "private void WriteXML()\n {\n try\n {\n // Create a factory\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n // Use the factory to create a builder\n DocumentBuilder builder = factory.newDocumentBuilder();\n Document doc = builder.newDocument();\n \n org.w3c.dom.Text textseg;\n \n NodeList nodelist;\n Element generpathnode = null, importfilenode = null, exportfilenode = null;\n\n String gener_path, import_file, export_file;\n \n //java temporary file path\n String temp_path = System.getProperty(\"java.io.tmpdir\");\n if (!(temp_path.endsWith(File.separator)) )\n temp_path = temp_path + File.separator;\n \n String primexDirectory = ConfigurationHandler.getPrimexDirectory();\n if (!primexDirectory.endsWith(File.separator))\n primexDirectory += File.separator;\n \n String path = primexDirectory + \"topology\";\n \n //gernerators node\n Element geners = doc.createElement(\"Generators\");\n doc.appendChild(geners);\n \n //generator node\n String genername = root.getAttribute(XmlFunction.NAME);\n Element gener = doc.createElement(XmlFunction.GENERATOR);\n gener.setAttribute(\"name\", genername);\n geners.appendChild(gener);\n \n //generator path node\n nodelist = root.getElementsByTagName(XmlFunction.GENERATORPATH);\n if (nodelist.getLength() == 1)\n { \n generpathnode = (Element)nodelist.item(0);\n if (generpathnode.getFirstChild() != null)\n gener_path = path + generpathnode.getFirstChild().getNodeValue() + File.separator;\n else \n return;//throw new RuntimeException(\"Generator_Path node has invaild value\");\n }\n else \n return;//throw new RuntimeException(\"Each generator must have a Generator_Path node\");\n \n Element generpath = doc.createElement(XmlFunction.GENERATORPATH);\n textseg = doc.createTextNode(gener_path);\n generpath.appendChild(textseg);\n gener.appendChild(generpath);\n \n //import file path\n nodelist = root.getElementsByTagName(XmlFunction.IMPORTFILE);\n if (nodelist.getLength() == 1)\n {\n importfilenode = (Element)nodelist.item(0);\n if (importfilenode.getFirstChild() != null)\n { \n import_file = temp_path + importfilenode.getFirstChild().getNodeValue(); \n }\n else\n import_file = null;\n }\n else \n return;//throw new RuntimeException(\"Each generator must have a Import_File node\");\n \n Element importpath = doc.createElement(XmlFunction.IMPORTFILE);\n if (import_file != null)\n {\n textseg = doc.createTextNode(import_file);\n importpath.appendChild(textseg);\n }\t\n gener.appendChild(importpath);\n \n //export file path\n nodelist = root.getElementsByTagName(XmlFunction.EXPORTFILE);\n if (nodelist.getLength() == 1)\n {\n exportfilenode = (Element)nodelist.item(0);\n if (exportfilenode.getFirstChild() !=null)\n {\n \texport_file = temp_path + exportfilenode.getFirstChild().getNodeValue();\n }\n else\n \t\treturn;//throw new RuntimeException(\"Export_File node has invaild value\");\n }\n else\n return;//throw new RuntimeException(\"Each generator must have a Export_File node\");\n\t \n Element exportpath = doc.createElement(XmlFunction.EXPORTFILE);\n textseg = doc.createTextNode(export_file);\n exportpath.appendChild(textseg);\n gener.appendChild(exportpath);\n \n \t//Attributes\n \tElement attris = doc.createElement(XmlFunction.ATTRIBUTES);\n \tgener.appendChild(attris);\n \n \tWriteAttris(doc, attris);\n \n \tthis.inputpath = temp_path + \"input.xml\";\n \tXmlFunction.doc2XmlFile(doc, this.inputpath);\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "1b8b6d738a8ff6ee9d41f59cf4eabc49",
"score": "0.40964046",
"text": "private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton14ActionPerformed\n this.jSVGCanvas1.setSVGDocument(this.iMedia.nevigateRendering(-1));\n }",
"title": ""
},
{
"docid": "194378a806a07f675eae40043c99914a",
"score": "0.40823263",
"text": "public static byte[] transcodeSVG(String svgString, String fileExt) throws Exception {\n\t\tImageTranscoder t = null;\n\t\tif(fileExt.equals(\"PNG\")){\n\t\t\tt = new PNGTranscoder();\n\t\t}\n\t\tif(fileExt.equals(\"JPG\")){\n\t\t\tt = new JPEGTranscoder();\n\t\t\tt.addTranscodingHint(JPEGTranscoder.KEY_QUALITY, Float.valueOf(0.80f));\n\t\t}\n // Set the transcoding hints.\n t.addTranscodingHint(JPEGTranscoder.KEY_HEIGHT, Float.valueOf(20));\n t.addTranscodingHint(JPEGTranscoder.KEY_WIDTH, Float.valueOf(27));\n\t\t// Create the transcoder input. \n\t\tInputStream instr = new ByteArrayInputStream(svgString.getBytes(StandardCharsets.UTF_8));\n\n\t\t\n TranscoderInput input = new TranscoderInput(instr);\n // Create the transcoder output.\n \n ByteArrayOutputStream ostream = new ByteArrayOutputStream();\n TranscoderOutput output = new TranscoderOutput(ostream);\n // Save the image.\n\t\tt.transcode(input, output);\n\t\t\n\t\treturn ostream.toByteArray();\n\t}",
"title": ""
},
{
"docid": "6bc36c68f0d8b1939a0daf474e784500",
"score": "0.4082033",
"text": "public static void generateFile() throws InterruptedException, ExecutionException {\n // Parse OAS 3.0 JSON file to get WebApi Model\n final WebApiBaseUnit result = Oas30.parse(\"file://../api-specs/oas30/api-with-types.json\").get();\n\n // Resolve parsed model (optional)\n final WebApiBaseUnit resolved = Oas30.resolve(result).get();\n\n String fpath = \"file://generated.json\";\n\n // Generate OAS 3.0 JSON file\n Oas30.generateFile(resolved, fpath).get();\n System.out.println(\"Generating Oas30 JSON file at: \" + fpath);\n }",
"title": ""
},
{
"docid": "af40d0260fe4ec934cc8b6a396ee11e4",
"score": "0.4076123",
"text": "public static void fromGraphSON(Map<String, String> arguments) throws Exception {\n String inputGraphFilePath = arguments.get(cn.edu.nju.pasalab.graph.Constants.ARG_INPUT_GRAPH_CONF_FILE);\n List<String> properties =\n ArgumentUtils.toList(arguments.get(cn.edu.nju.pasalab.graph.Constants.ARG_PROPERTY_NAMES));\n String outputCSVFilePath = arguments.get(cn.edu.nju.pasalab.graph.Constants.ARG_OUTPUT_VERTEX_CSV_FILE_PATH);\n String graphComputerConfFile = arguments.get(cn.edu.nju.pasalab.graph.Constants.ARG_RUNMODE_CONF_FILE);\n\n /////////// Prepare output\n Path outputDirPath = new Path(outputCSVFilePath);\n Path schemaFilePath = new Path(outputDirPath, cn.edu.nju.pasalab.graph.Constants.CSV_SCHEMA_FILE_NAME);\n Path dataFilePath = new Path(outputDirPath, cn.edu.nju.pasalab.graph.Constants.CSV_DATA_FILE_NAME);\n FileSystem fs = HDFSUtils.getFS(outputCSVFilePath);\n fs.delete(new Path(outputCSVFilePath), true);\n fs.mkdirs(new Path(outputCSVFilePath));\n ////////// Input graph\n org.apache.commons.configuration.Configuration inputGraphConf = new BaseConfiguration();\n inputGraphConf.setProperty(GREMLIN_GRAPH, HadoopGraph.class.getName());\n inputGraphConf.setProperty(Constants.GREMLIN_HADOOP_GRAPH_READER, GraphSONInputFormat.class.getName());\n inputGraphConf.setProperty(Constants.GREMLIN_HADOOP_INPUT_LOCATION, inputGraphFilePath);\n inputGraphConf.setProperty(Constants.MAPREDUCE_INPUT_FILEINPUTFORMAT_INPUTDIR, inputGraphFilePath);\n HadoopGraph inputGraph = HadoopGraph.open(inputGraphConf);\n\n ////////// Output schema\n CSVUtils.CSVSchema schema = null;\n if (!properties.contains(\"name\")) {\n properties.add(0, \"name\");\n }\n try(final OutputStream out = fs.create(schemaFilePath, true)) {\n PrintWriter writer = new PrintWriter(out);\n Vertex sampleVertex = inputGraph.vertices().next();\n schema = new CSVUtils.CSVSchema(properties, sampleVertex);\n writer.print(schema.toSchemaDescription());\n writer.close();\n System.out.println(schema.toSchemaDescription());\n }\n\n final CSVUtils.CSVSchema schema_b = schema;\n\n ////////// Output data\n Common.ManageSparkContexts manageSparkContexts = new Common.ManageSparkContexts(graphComputerConfFile, \"Gryo Vertex File to CSV File\");\n SparkContext sc = manageSparkContexts.getSc();\n JavaSparkContext jsc = manageSparkContexts.getJsc();\n\n InputRDD graphRDDInput = new InputFormatRDD();\n JavaPairRDD<Object, VertexWritable> vertexWritableJavaPairRDD = graphRDDInput.readGraphRDD(inputGraphConf, jsc);\n JavaRDD<String> csvLineRDD = vertexWritableJavaPairRDD.map(tuple2 -> {\n StarGraph.StarVertex v = tuple2._2.get();\n StarGraph g = StarGraph.of(v);\n StringBuilder csvLine = new StringBuilder();\n for(String pName: properties) {\n Object propertyValue = g.traversal().V(v.id()).values(pName).next();\n CSVUtils.CSVSchema.PropertyType type = schema_b.getColumnType().get(pName);\n switch (type) {\n case DOUBLE:\n csvLine.append(\",\" + propertyValue);\n break;\n case INT:\n csvLine.append(\",\" + propertyValue);\n break;\n case STRING:\n csvLine.append(\",\\\"\" + propertyValue + \"\\\"\");\n break;\n }\n }\n return csvLine.substring(1);\n });\n\n csvLineRDD.saveAsTextFile(dataFilePath.toString());\n manageSparkContexts.stop();\n }",
"title": ""
},
{
"docid": "0b038b534bd36ac7f721c1a01cbc0fb4",
"score": "0.4075835",
"text": "public void dibujarTabla(String nombreReporte) {\n try {\n fileInputPath = direccionProyecto+nombreReporte+\".dot\";\n fileOutputPath = direccionProyecto+nombreReporte+\".png\";\n try {\n File archivoDot = new File(fileInputPath);\n BufferedWriter bw = new BufferedWriter(new FileWriter(fileInputPath.toString()));\n bw.write(\"\");bw.close();\n PrintWriter writer = new PrintWriter(new FileWriter(fileInputPath.toString(), true));\n \n writer.append(\"digraph D {\\nrankdir=LR\\nnode [fontname=\\\"Arial\\\"];\\n\");\n\n int tamanio = miTablaUsuarios.getM(), group=1;\n for (int i = 0; i < tamanio; i++) {\n ListaUsuarios listaAux = miTablaUsuarios.getUsuarios(i);int j = 0;\n if (i == 0) {writer.append(\"start-> nodo\" + i + \";\\n\");\n }else {writer.append(\"nodo\" + (i - 1) + \"->nodo\" + i + \";\\n\");}\n writer.append(\"nodo\" + i + \"[shape = record, style = rounded, label = \\\"INDICE \" + i + \"\\\", group = \"+ group +\", fillcolor = lavenderblush];\\n\");\n\n NodoUsuarioLS nodoAux = listaAux.getCabeza();\n while (nodoAux != null) {\n if (j == 0) {\n writer.append(\"nodo\" + i + \"-> n\" + i+j + \";\\n\");\n } else {\n writer.append(\"n\" + i+(j - 1) + \"->n\" + i+j + \";\\n\");\n }\n writer.append(\"n\" + i+j + \"[shape = record style = rounded label = \\\"\" + nodoAux.getUsuario().getCarnet() \n + \" | \" + nodoAux.getUsuario().getNombre() \n + \" | \" + getMD5(nodoAux.getUsuario().getPassword()) \n + \"\\\", group = \"+ group +\", fillcolor = lavenderblush];\\n\");\n j++;nodoAux = nodoAux.getSiguiente();\n }\n group++;\n }\n writer.append(\"{rank = same; start;\");\n for (int i = 0; i < tamanio; i++) {\n writer.append(\"nodo\"+i+\";\");\n }\n writer.append(\"}\\n}\\n\");writer.close();\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"ERROR\");\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "7d92e98f57ab8b11e8e12e7305b4711a",
"score": "0.4068764",
"text": "Exporter create(Config config);",
"title": ""
},
{
"docid": "7a1d065974a08f7d2f4b8fd8b65c6c0e",
"score": "0.40677997",
"text": "public static void main(String[] args) throws JsonSyntaxException,\n\t\t\tFileNotFoundException, IOException {\n\t\tString json = IOUtils.toString(new FileInputStream(new File(\n\t\t\t\tJSON_FILENAME)));\n\n\t\tJSONParser jsonParser = new JSONParser();\n\t\tList<JSONEntry> jsonEntries = jsonParser.parse(json,\n\t\t\t\tnew TypeToken<List<JSONEntry>>() {\n\t\t\t\t});\n\n\t\tWorkbookManager workbookManager = new WorkbookManager();\n\t\tworkbookManager.createWorkbook(jsonEntries);\n\t}",
"title": ""
},
{
"docid": "bd370fac909ba1ee7924853807db7561",
"score": "0.40631476",
"text": "@Override\n\tpublic JSONObject getSelector(HasSelector hasSelector) {\n\t\tJSONObject selectorJson = new JSONObject();\n\t\tselectorJson.put(\"type\", \"SvgSelector\");\n\t\tselectorJson.put(\"value\", \"<svg><polygon points=\\\"\" + hasSelector.getSelector().getValue() + \"\\\"/></svg>\");\n\t\treturn selectorJson;\n\t}",
"title": ""
}
] |
212ad1c42787867df02c80908fcbdb91 | push a value into the latest stack | [
{
"docid": "d2bc3a8824ca4f7881b5ce609ed91e21",
"score": "0.71307397",
"text": "public void push(int v){\r\n\t\r\n\t\tSolution3Stack last=getLastStack();\t\t\t\t\t\r\n\t\tif(last!=null && !last.isFull()){ \t\t\t\t//the last stack is not empty or not full\r\n\t\t\tlast.push(v);\t\t\t\t\t\t\t\t\t// then add the value to the last stack.\r\n\t\t\tSystem.out.println(\"push old\"+v);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSolution3Stack st=new Solution3Stack(capacity); //we create a stack on the given capacity when the last stack is empty \r\n\t\t\tst.push(v);\t\t\t\t\t\t\t\t\t\t//then push the value into the stack\r\n\t\t\tSystem.out.println(\"\\npush new\"+v);\r\n\t\t\tstacks.add(st);\t\t\t\t\t\t\t\t\t//add the stack the the Array\r\n\t\t}\r\n\t}",
"title": ""
}
] | [
{
"docid": "8c465b503385e54e27f126c5213fb7c3",
"score": "0.812095",
"text": "public void push(E value) {\n this.inStack.push(value);\n }",
"title": ""
},
{
"docid": "41f8ba3797492f0e2791b18b68c34da2",
"score": "0.80816233",
"text": "public void push(TYPE val) {\r\n\t\tcounterIndex = counterIndex + 1;\r\n\t\tsimpleStack[counterIndex] = val;\r\n\r\n\t}",
"title": ""
},
{
"docid": "ec0b820f12c51a7ab8e6398a7925c93d",
"score": "0.7835916",
"text": "void push(int value);",
"title": ""
},
{
"docid": "ec0b820f12c51a7ab8e6398a7925c93d",
"score": "0.7835916",
"text": "void push(int value);",
"title": ""
},
{
"docid": "5ee906af5897348b439e628b28ccb3b2",
"score": "0.782607",
"text": "public void push(int value) {\n\n this.top = new StosElem(value, this.top);\n // inaczej\n // StosElem elem = new StosElem(value, this.top );\n // this.top = elem;\n }",
"title": ""
},
{
"docid": "316a29f668913d43a5352aa5558aeacd",
"score": "0.7806582",
"text": "@Override\n public void push(TValue value){\n this.ADTStack.add(value);\n }",
"title": ""
},
{
"docid": "2cc58e1102a1d60eadbd1233ca42b100",
"score": "0.77621514",
"text": "void push(Integer value);",
"title": ""
},
{
"docid": "4cb3ba1c2becd414f305f47fd86c32df",
"score": "0.7761823",
"text": "private T pushValue(T value)\n {\n this.values.add(value);\n return value;\n }",
"title": ""
},
{
"docid": "31d65f88808a043624b35d715c85aed5",
"score": "0.7688683",
"text": "public void push(T value) {\r\n\t\t// Create a node\r\n\t\tNode node = new Node(value);\r\n\t\tif (top == null) { // Empty stack\r\n\t\t\ttop = node;\r\n\t\t} else { // Make this node as top and link\r\n\t\t\tnode.previous = top;\r\n\t\t\ttop = node;\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "9ce19a484807edffa7f23afe8a62c8da",
"score": "0.7625838",
"text": "private push(int stackNum, int value) {\n\t\t// Find the index of the top in the array + 1, and increment the stack pointer\n\t\tint index = stackNum * stackSize + stackPointer[stackNum] + 1;\n\t\tstackPointer[stackNum]++;\n\t\tbuffer[index] = value;\n\t}",
"title": ""
},
{
"docid": "6b22736c0f33a97eaeb6adb34936ea24",
"score": "0.76228714",
"text": "static void push(int stackNum, int value) {\n\t\tint index = stackNum * stackSize + stackPointer[stackNum] + 1;\n\t\tstackPointer[stackNum]++;\n\t\tbuffer[index] = value;\t\n\t}",
"title": ""
},
{
"docid": "5da1766f5e3f3977cb07b1eedb95b53a",
"score": "0.75465596",
"text": "public void push(Character value)\n\t{\n\t\t//Add object to top of stack.\n\t\tlist.add(value);\n\t}",
"title": ""
},
{
"docid": "ddd94c266ca06049aa840eb4196d5117",
"score": "0.75442284",
"text": "public void push(T val, int numStack) {\n\t\tif(isFull(numStack))\n\t\t\tthrow new IllegalArgumentException(\"Stack \" + numStack + \" is full\");\n\t\t\n\t\t// increment index for new value\n\t\tstackPointers[numStack]++;\n\t\tarrStack[getStackTopIndex(numStack)] = val;\n\t\t\n\t}",
"title": ""
},
{
"docid": "f0bd8641696859070e6c93149ba06aa6",
"score": "0.7509278",
"text": "public void push(Object value) {\n\t\tstorage.add(value);\n\t}",
"title": ""
},
{
"docid": "480d6ddd5773ebb7725fbc135c1affab",
"score": "0.7482642",
"text": "private void pushValueIntoStack(String value) throws IOException {\n\t\tthis.writer.write(\"// push the value into stack\\r\\n\"\n\t\t\t\t\t\t+ \"@SP\\r\\n\"\n\t\t\t\t\t\t+ \"A=M\\r\\n\"\n\t\t\t\t\t\t+ \"M=\"+value+\"\\r\\n\"\n\t\t\t\t\t\t+ \"@SP\\r\\n\" \n\t\t\t\t\t\t+ \"M=M+1\\r\\n\");\n\t}",
"title": ""
},
{
"docid": "f4ad1c711b92bebb51082f4b416dec3f",
"score": "0.7477491",
"text": "public <T> ValueNode<T> push(ValueNode<T> valueNode) {\n values.add(valueNode);\n top += 1;\n\n return valueNode;\n }",
"title": ""
},
{
"docid": "486e57ec81613e507d323b9229497b78",
"score": "0.74743927",
"text": "public void push(int x) {\n top++;\n s.add(top, x);\n\n }",
"title": ""
},
{
"docid": "f4c093b9d559a8ae0c730bfda69a7443",
"score": "0.7394373",
"text": "E push(E value);",
"title": ""
},
{
"docid": "c7c87ce4c08d015301b96376bf298975",
"score": "0.7384529",
"text": "private void push(Object ob) {\n eval_stack.add(ob);\n }",
"title": ""
},
{
"docid": "04ceff7f858066bb81719d2a00697751",
"score": "0.73731065",
"text": "public void push(T num);",
"title": ""
},
{
"docid": "60f59ba522eea817f31306756d057847",
"score": "0.73609686",
"text": "public void push(int x) {\n q.add(x);\n top = x;\n }",
"title": ""
},
{
"docid": "d41e96fcd5cab60eda2cf54b6cc6909c",
"score": "0.73563933",
"text": "@Override\r\n\tpublic void push(T newEntry) {\r\n\t\tstack.add(newEntry);\r\n\t}",
"title": ""
},
{
"docid": "2dc7a4c6b1ad112c91892e614de2378c",
"score": "0.73315775",
"text": "@Test\n\tpublic void pushShouldAddElementToEndOfStack() {\n\t\t// setup\n\t\tstack.push(1);\n\t\t// action\n\t\tObject result = stack.peek();\n\n\t\t// assert\n\t\tassertEquals(result, 1);\n\n\t}",
"title": ""
},
{
"docid": "e4eb2b54ede92bfc2eba6c855d08d240",
"score": "0.73122233",
"text": "public void push() {\n\n\t}",
"title": ""
},
{
"docid": "cdacb54542f11b0e934bd6bbe5cdfead",
"score": "0.73000693",
"text": "public void push( int item ){\n\tif( top == max_size ){\n\t System.out.println(\"Overflow\");\n\t}\n\telse{\n\t stk_ary[ ++top ] = item;\n\t}\n }",
"title": ""
},
{
"docid": "d1c3e8a80fcbbbff5a49e254d8568f06",
"score": "0.7292413",
"text": "public void pushLast(int value)\n\t{\n\t\t// stack is getting too large we increase the size\n\t\tif (size() == tab.length)\t\n\t\t{\n\t\t\n\t\t\ttab = increaseSize(tab);\n\t\t\t//System.out.println(\"tab length \"+ tab.length);\n\t\t}\n\t\t// add the value to end of stack and increase number of items in list\n\t\ttab[end] = value;\t\n\t\tend++;\n\t}",
"title": ""
},
{
"docid": "e08dd96167c9f9b06815e968cca3c827",
"score": "0.72904104",
"text": "public void push (int value) {\n\t\tif (stackNum == 0 || numberInStack == stackSize) {\n\t\t\taddStack();\n\t\t}\n\t\t\n\t\tStack currentStack = stackOfPlates.get(stackNum - 1);\n\t\tcurrentStack.push(value);\n\t\tnumberInStack++;\n\t}",
"title": ""
},
{
"docid": "eb159fc98c819c508bbe7ce394ec300c",
"score": "0.7286536",
"text": "public void push(int x) {\n \tinStack.push(x);\n }",
"title": ""
},
{
"docid": "0df4749531fd45582fafcb6ad213d4a4",
"score": "0.72861594",
"text": "public void push(int dane);",
"title": ""
},
{
"docid": "fede21f90cfaa4a772ca2917c5123cd0",
"score": "0.7284866",
"text": "public void push(int x) {\n // TODO Auto-generated method stub\n \n }",
"title": ""
},
{
"docid": "03caa83659eb98ba264a9d06152c35ee",
"score": "0.72665995",
"text": "public void push(long j)\n {\n stackArray[++top]=j;\n }",
"title": ""
},
{
"docid": "81e692ac0eb418be4f474bf928f6c010",
"score": "0.72577983",
"text": "void push(T t);",
"title": ""
},
{
"docid": "4f864ca3cb5dacacce6d078518cd9049",
"score": "0.72575665",
"text": "public void push(Object value) {\n\t\tarray.add(value);\n\t}",
"title": ""
},
{
"docid": "387aa8d875ae2e43c06356a557461a65",
"score": "0.7255184",
"text": "public void push(int x) {\n\t\tstackBack.push(x);\n\t}",
"title": ""
},
{
"docid": "1b83943b6081c0857cdb5dd49c578c19",
"score": "0.72386384",
"text": "public void push(int x) {\n inStack.push(x);\n }",
"title": ""
},
{
"docid": "bc6234066be31cb2652430c7ac8f276f",
"score": "0.72327507",
"text": "void push(int item){\n if(tos==9)\n System.out.println(\"Stack is full\");\n else\n stck[++tos]=item;\n }",
"title": ""
},
{
"docid": "7938ff4ec60ebd943037fa7235ff0fe3",
"score": "0.72284746",
"text": "public void push(int x) {\n stk.push(x);\n }",
"title": ""
},
{
"docid": "85c0a8425129b9689bcb79c13a633e19",
"score": "0.7222548",
"text": "public void push (String value) {\n if (currentSize >= maximumSize) {\n System.out.println (\"Error: Stack push has exceeded available space\");\n }\n\n array[currentSize] = value;\n currentSize = currentSize + 1;\n }",
"title": ""
},
{
"docid": "7104f87c4f714c6bd361d908a53e353f",
"score": "0.7204347",
"text": "void push (T x){\r\n\t\t\tif (isFull()) {\r\n\t\t\t\tthrow new IndexOutOfBoundsException();\r\n\t\t\t} else {\r\n\t\t\ttopOfStack++;\r\n\t\t\ta[topOfStack] = x;\r\n\t\t\tSystem.out.println (x + \" was added to the stack.\");\r\n\t\t\t}\r\n\t }",
"title": ""
},
{
"docid": "13919539471a563c4d41c16c99f80fb7",
"score": "0.7203891",
"text": "public void push(long j) {\n stackArray[++top] = j;\n }",
"title": ""
},
{
"docid": "3ea5135519d38c827a7a5826b6a3b0b6",
"score": "0.71792096",
"text": "public void push(int i) {\n\t\ttop++;\n\t\tstackArray[top] = i;\n\t}",
"title": ""
},
{
"docid": "715c841f379a302057ecd964aebad37e",
"score": "0.7171862",
"text": "public void push(int i){\n\t\tif(tos == stck.length-1){\n\t\t\tSystem.out.println(\"Stack is Full\");\n\t\t}else{\n\t\t\tstck[++tos] = i;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "b9f825ca183603d11dff5146f3a44b74",
"score": "0.71587676",
"text": "public void push(int value)\n\t\t{\n\t\t\t\n\t\t\tif (ilosc>=dane.length)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Kolejka pelna!\");\n\t\t\t}\n\t\t\telse if (ilosc==0)\n\t\t\t{\n\t\t\t\tdane[ogon]=value;\n\t\t\t\togon++;\n\t\t\t\tilosc++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tdane[ogon]=value;\n\t\t\t\togon=(ogon+1)%dane.length;\n\t\t\t\tilosc++;\n\t\t\t}\n\t\t}",
"title": ""
},
{
"docid": "12d4676772bf474e9fc8d055531a878c",
"score": "0.7156811",
"text": "public boolean push(T val){\n myStack[n] = val;\r\n\r\n if(myStack[n] == null){\r\n return false;\r\n }\r\n n++;\r\n //System.out.println(\"pushed \" + val);\r\n return true;\r\n\r\n }",
"title": ""
},
{
"docid": "d2f1b645073b7bb54f58b9d83dfc14f1",
"score": "0.7147611",
"text": "public void push(){\n\t\tif(top == MAX){\n\t\t\tSystem.out.println(\"Overflow\\n\");\n\t\t}else{\n\t\t\tint element;\n\t\t\tSystem.out.println(\"Enter Element: \");\n\t\t\telement = in.nextInt();\n\t\t\tSystem.out.println(\"Element \" + element + \" has been push at index \" + top + \"\\n\");\n\t\t\tstack[top++] = element;\n\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e0e7526227980cf0ff9beb058e9ca75b",
"score": "0.7120784",
"text": "public void push( int x ) {\n queue.add(++stackPointer, x);\n }",
"title": ""
},
{
"docid": "1f4e66db6ac6e49063c1d9df03eece50",
"score": "0.71150017",
"text": "public void push(int data)\n\t{\n\t\ttop++;\n\t\tstack[top]=data;\n\t\t\n\t}",
"title": ""
},
{
"docid": "8d0abed0b63e828eaac5a0564e50904f",
"score": "0.7113932",
"text": "public void push(int x) {\n mainStack.push(x);\n }",
"title": ""
},
{
"docid": "ae8f526be57000e0dfe09d7d0a6a19f8",
"score": "0.7113657",
"text": "public void push(int x) {\n if (stack.size() == 0) {\n top = x;\n }\n stack.push(x);\n size++;\n }",
"title": ""
},
{
"docid": "cbc805a705744530cfda167f4e768b4b",
"score": "0.7110494",
"text": "public void push(Integer number) {\n stack.addFirst(number);\n }",
"title": ""
},
{
"docid": "87c07c3ec93610b0a041d833768c98a1",
"score": "0.71045595",
"text": "public boolean push(T val){\n list.add(val);\n top++;\n\n return true; //remove this line and return the appropriate answer\n }",
"title": ""
},
{
"docid": "f4b62f513311ab28896c03fe65681e91",
"score": "0.7100459",
"text": "public void push(int x) {\n inputStack.push(x);\n }",
"title": ""
},
{
"docid": "be1de3fb260fdafb6aff8649d349d4e7",
"score": "0.7095029",
"text": "public void push( int newItem )\r\n {\r\n top = new Node( new Integer(newItem), top );\r\n }",
"title": ""
},
{
"docid": "633b5743812a4ff14c8e29bcdbe3b7b3",
"score": "0.70926386",
"text": "public void push(int x) {\n queue.add(x);\n //最新加入的元素一定是栈顶元素\n top = x;\n }",
"title": ""
},
{
"docid": "a8cf8465f985ef3334abbf1f9af06c9c",
"score": "0.70859414",
"text": "public void push(String name, ValueWrapper valueWrapper) {\n testVariableIfNull(name);\n testVariableIfNull(valueWrapper);\n\n LinkedList<MultistackEntry> stack = stackMap.get(name);\n\n if (stack == null) {\n //create a new entry\n LinkedList<MultistackEntry> entryNew = new LinkedList<>();\n entryNew.add(new MultistackEntry(valueWrapper, null));\n\n\n stackMap.put(name, entryNew);\n } else {\n stack.add(new MultistackEntry(valueWrapper, stack.get(stack.size() - 1)));\n }\n }",
"title": ""
},
{
"docid": "a27a406cd1f165e30ff1f02f8161ab10",
"score": "0.7079193",
"text": "public void push(int x) {\n input.push(x);\n }",
"title": ""
},
{
"docid": "63f35ef2edde37800d5343326782f28b",
"score": "0.7079109",
"text": "void push(int item) {\r\n\t\ttop++;\r\n\t\tcontainer[top] = item;\r\n\t}",
"title": ""
},
{
"docid": "923b6bc38b1f18be5d3f8ffabfa5197e",
"score": "0.7068196",
"text": "public void push(int x) {\n input.push(x);\n }",
"title": ""
},
{
"docid": "923b6bc38b1f18be5d3f8ffabfa5197e",
"score": "0.7068196",
"text": "public void push(int x) {\n input.push(x);\n }",
"title": ""
},
{
"docid": "768a8e2f088a722f2d4897b144e5c26d",
"score": "0.70678514",
"text": "public void push(T o) {\n if (top + 1 == data.length ) {\n grow();\n }\n data[++top] = o;\n }",
"title": ""
},
{
"docid": "e752627682e1d6a670948b4de30f497f",
"score": "0.70446396",
"text": "@Override\n\tpublic void push(int value) {\n\t\t\n\t\tNode aNode = new Node(value);\n\t\tsize = size + 1;\n\t\t\n\t\tif ( isEmpty() ) {\n\t\t\ttop = aNode;\n\t\t\t\n\t\t\tmaxStack.push(value);\n\t\t}\n\t\telse {\n\t\t\taNode.setNext(top);\n\t\t\ttop = aNode;\n\t\t\t\n\t\t\t// allow duplicates for max values\n\t\t\t// if duplicates are pushed into the main stack, allow that in secondary stack \n\t\t\tif ( value >= maxStack.getTop().getData() ) {\n\t\t\t\tmaxStack.push(value);\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "88c19c3fb19056c6c62693844cb3d343",
"score": "0.70417404",
"text": "public void push(int x) {\n if (isFull()) {\n System.out.println(\"Stack OverFlow\");\n \n // terminates the program\n System.exit(1);\n }\n\n // insert element on top of stack\n System.out.println(\"Inserting \" + x);\n arr[++top] = x;\n }",
"title": ""
},
{
"docid": "350acfcb87f4b83f26ec345d5b866210",
"score": "0.70372224",
"text": "public void push(T item)\n {\n // add item at the end of the ArrayList\n stackList.add(item);\n }",
"title": ""
},
{
"docid": "2954fc4884b831112c0068540a7b86e0",
"score": "0.70318586",
"text": "public void push(int x) {\n stack1.push(x);\n }",
"title": ""
},
{
"docid": "2954fc4884b831112c0068540a7b86e0",
"score": "0.70318586",
"text": "public void push(int x) {\n stack1.push(x);\n }",
"title": ""
},
{
"docid": "fae509052f8104fef66b21f500c63380",
"score": "0.70276016",
"text": "public void push(int x) {\n \n newest.push(x);\n \n }",
"title": ""
},
{
"docid": "35992fe797d9a5db2d917b580c0316f1",
"score": "0.70238686",
"text": "public void push(int value) {\n\t\tif (value <= min()) {\n\t\t\ts2.push(value);\n\t\t}\n\t\tsuper.push(value);\n\n\t}",
"title": ""
},
{
"docid": "2848dd903180df474ad5f36c196dbefa",
"score": "0.70229405",
"text": "public void push(int x) {\n input.push(x);\n }",
"title": ""
},
{
"docid": "ffffabf0c7fd6f14d185afe924d42bc1",
"score": "0.7011171",
"text": "public void push(int x) {\n\t inStack.push(x);\n\t \n\t }",
"title": ""
},
{
"docid": "f74ab1698272acfd8f9d5e24e166edfd",
"score": "0.70096624",
"text": "public void push (T element)\n {\n if(top == stack.length)//if current stack is full double size of the array\n expandCapacity( );\n \n stack[top] = element;\n top++;\n }",
"title": ""
},
{
"docid": "42f6e164c8a049b641cafe8390c0151e",
"score": "0.70082694",
"text": "public void push(String name, ValueWrapper valueWrapper) {\n MultistackEntry firstEntry = stackMap.get(name);\n stackMap.put(name, new MultistackEntry(valueWrapper, firstEntry));\n }",
"title": ""
},
{
"docid": "3f89f4730b9db9ab79e87948c1fc4026",
"score": "0.70072836",
"text": "public void pushFirst(int value)\n\t{\n\t\t// stack is getting too large we increase the size\n\t\tif (size() == tab.length)\n\t\t{\n\t\t\n\t\t\ttab = increaseSize(tab);\n\t\t}\n\t\t// store values into tempArray\n\t\t// and place them one index higher than they originally were in tab\n\t\t// leaving tempArray[0] available for new input\n\t\tint[] tempArray = new int[tab.length];\n\t\t\t\t\n\t\tfor(int i = 0; i <= size(); i++)\n\t\t{\n\t\t\ttempArray[i+1] = tab[i];\n\t\t}\n\t\t// we insert value, make tab equal to new array and increment number of items in stack\n\t\ttempArray[0] = value;\n\t\ttab = tempArray;\n\t\tend++;\n\n\t}",
"title": ""
},
{
"docid": "068690988aa4ace6743f55dc7f0fce93",
"score": "0.70039266",
"text": "void push(int item)\n {\n if(tos == stck.length - 1)\n System.out.println(\"Stack overflow.\");\n else stck[++tos] = item;\n }",
"title": ""
},
{
"docid": "ec0efc09ca42c0949b0b6d64596445fa",
"score": "0.7001789",
"text": "public void push(T val) {\n LLNode<T> node = new LLNode<T>(val);\n if (head != null) {\n head = node;\n }\n node.next = head;\n head = node;\n size++;\n }",
"title": ""
},
{
"docid": "0d7a80a97a14411a7d580577d12b124f",
"score": "0.6993275",
"text": "public boolean push ( int newValue )\n {\n return stackArray.insertItemAt ( TOP_INDEX, newValue );\n }",
"title": ""
},
{
"docid": "730def3acf364ea19d3aa66d8108200b",
"score": "0.6990812",
"text": "public void push(int v) throws StackFullException {\n\t}",
"title": ""
},
{
"docid": "f98277085be2ae2de66966bde95f6edf",
"score": "0.69831914",
"text": "public void push(int x) {\n q.addLast(x);\n }",
"title": ""
},
{
"docid": "a80d4e2cb08bb7aa5fa05b40dcdf3ead",
"score": "0.6973158",
"text": "public void push(int x) {\n while (!outStack.isEmpty()) {\n inStack.push(outStack.pop());\n }\n inStack.push(x);\n }",
"title": ""
},
{
"docid": "f4e7c3f89de8a9651f7dc58208e7e6cd",
"score": "0.6972481",
"text": "public void push(int x) {\r\n stackAlpha.push(x);\r\n }",
"title": ""
},
{
"docid": "4532380c136b812d112d8249538bbb70",
"score": "0.69713205",
"text": "public void push(BTree e){\n\t\ta[size] = e;\n\t\tsize++;\n\t\ttop++;\n\t\t\t\n\t}",
"title": ""
},
{
"docid": "79766b9c5bac11d5d1ab87f508ab459b",
"score": "0.69575447",
"text": "public void push(int x) {\n queue1.add(x);\n top = x;\n }",
"title": ""
},
{
"docid": "5ad209207f67957400f3964c593cdb3a",
"score": "0.6954174",
"text": "public void push(int x) {\n while (!stack.isEmpty()) {\n bak_stack.push(stack.pop());\n }\n stack.push(x);\n while (!bak_stack.isEmpty()) {\n stack.push(bak_stack.pop());\n }\n }",
"title": ""
},
{
"docid": "094e0095ecf9a2c938d64cdfa0f711ee",
"score": "0.69333446",
"text": "public void push(byte in) {\n memory.write(in, SP.get());\n SP.set(SP.get() - 1);\n }",
"title": ""
},
{
"docid": "a3e1092a7a05afb7a12ff8b519bd353e",
"score": "0.692569",
"text": "public void push(Object o){\n \t//Write a code to push an object on stack...\n \t//Pushing...\n }",
"title": ""
},
{
"docid": "4e54e994806ec79d4ca6035e1d0d2e4c",
"score": "0.69245213",
"text": "public void push(T a){\n\t\tarr.add(a);\n\t}",
"title": ""
},
{
"docid": "9c23a6ba5bc94a8564015c2d4818a5f1",
"score": "0.6911774",
"text": "private void push(int a) {\n pushToStack(indirect(a));\n }",
"title": ""
},
{
"docid": "07baeec89c1b459bacbda733565aa22d",
"score": "0.6910205",
"text": "public void push(int element) {\n stack1.push(element);\n }",
"title": ""
},
{
"docid": "fd5a02a0e37874aeb4bbc7753bdad2ed",
"score": "0.6904915",
"text": "public void push(int x) {\n insertionStack.push(x);\n }",
"title": ""
},
{
"docid": "2408b2b35c6fdb1ba8bc01cf8a66367b",
"score": "0.6894706",
"text": "public void push(int x) {\n mainStack.push(x);\n //run time - O(1) - standard push into stack\n }",
"title": ""
},
{
"docid": "6c78d29ce0e015e33424348012631d67",
"score": "0.68910295",
"text": "public void push(int x) {\n stacks[0].push(x);\n }",
"title": ""
},
{
"docid": "317cdb45abe1985aa364d65f64f0582d",
"score": "0.6882276",
"text": "public void push(int x) {\n primary.add(x);\n }",
"title": ""
},
{
"docid": "d6e3240a91318d88fda29316c025057c",
"score": "0.68715805",
"text": "public abstract void push(Type t);",
"title": ""
},
{
"docid": "fae935c2cccd54b6e494525f6232ace9",
"score": "0.68614304",
"text": "void push(Expression expression);",
"title": ""
},
{
"docid": "d20810c66e80ce3b5266e66fa667038a",
"score": "0.68513334",
"text": "void push(int key) {\n\n\t\t/* creating a node with the given key. */\n\t\tNode node = new Node(key);\n\n\t\t/* \t\n\t\t\tif initially stack is empty, the created node will be made as a root, because there will be \n\t\t\tonly one node in the stack.\n\t\t*/\n\t\tif(isEmpty()) {\n\t\t\troot = node;\n\t\t}\n\n\t\t/* \tIMPORTANT\n\t\t\totherwise: \n\t\t\tLet's suppose: initially we have 10 in the stack and root points to 10 only.\n\t\t\troot => 10\n\n\t\t\tNow, we'll push one more node to the stack, so it should be like this:\n\t\t\t10 -> 20 (and acc. to us, root still should point to 10, because it's a root node)\n\t\t\tBut Stack is a LIFO data structure and the element which is added at last should be\n\t\t\tdeleted first.\n\n\t\t\tWe can do it so by iterating everytime till the last node and delete it in pop() function.\n\t\t\tBut this will be time taking process everytime.\n\t\t\tFor example: \n\t\t\t10 -> 20 -> 30 -> 40 -> 50\n\t\t\tSo, 50 is the last node and should be deleted it when pop() will be called.\n\t\t\tSame problem will be to find the top element by using peek()\n\t\t\tWe'll have to iterate everytime.\n\n\t\t\tSo, we can do some changes while pushing element in the stack.\n\t\t\tWhat we are doing is: if 10 is already there in the linked list and I want to add 20.\n\t\t\tSo my list should be like this: 10 <- 20 and root will point to 20 \n\t\t\tinstead of 10 -> 20 and root points to 10\n\n\t\t\tthe idea is if initially root was poining to 10.\n\t\t\tthen I store root into tempNode\n\t\t\tI make node as root\n\t\t\tand I add node.next to tempNode.\n\t\t\twhich turns my list as 20 -> 10\n\n\t\t*/\n\t\telse {\n\t\t\tNode tempNode = root;\n\t\t\troot = node; // from line number 54\n\t\t\tnode.next = tempNode; \n\t\t}\n\t\tSystem.out.println(\"The element is pushed and top points to => \" + root.data);\n\n\t}",
"title": ""
},
{
"docid": "9c74c1e5a421d21854dacb3a409e9c37",
"score": "0.68419987",
"text": "public void push(int x) {\n q1.add(x);\n }",
"title": ""
},
{
"docid": "afe10208473c17a136074edbff87e3c6",
"score": "0.68369865",
"text": "public void push(int x) {\n data.add(x);\n }",
"title": ""
},
{
"docid": "afe10208473c17a136074edbff87e3c6",
"score": "0.68369865",
"text": "public void push(int x) {\n data.add(x);\n }",
"title": ""
},
{
"docid": "62f600368ecfe0b44f414875a0d5da4f",
"score": "0.6832712",
"text": "public void push(ExpressionBT d) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "f346d045b7a380417bac6077c731ee8b",
"score": "0.6826413",
"text": "@Override\n\tpublic boolean pushStack(int value) {\n\t\tif (value != (int) value || value < 0) // check value is valid or not\n\t\t\tthrow new AssertionError(\"The given input value is not integer!!\");\n\t\tif (!isStackFull()) {\n\t\t\ttop++;\n\t\t\tstack[top] = value;\n\t\t\treturn true;\n\t\t} else\n\t\t\tthrow new AssertionError(\"Stack is full, cannot push!!\");\n\t}",
"title": ""
},
{
"docid": "acdfc196587571d302cc27270dc1d35b",
"score": "0.6825263",
"text": "public void push(E item)\n {\n //adding to the end, incrementing the top\n list.add(item);\n top++;\n }",
"title": ""
}
] |
25197b4cf814864ecd440f23b9149cb3 | TODO Autogenerated method stub | [
{
"docid": "dae0624e8e97ba27d59f0283b472151b",
"score": "0.0",
"text": "@Override\n public String visit(ArrayCreationLevel n, Object arg) {\n return null;\n }",
"title": ""
}
] | [
{
"docid": "3d9823aba51891281b4bbd4b1818b970",
"score": "0.6671074",
"text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "0b5b11f4251ace8b3d0f5ead186f7beb",
"score": "0.6567672",
"text": "@Override\n\tpublic void comer() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "ea8460c7314de45803a19bf7c984d4bf",
"score": "0.6523024",
"text": "@Override\n public void perish() {\n \n }",
"title": ""
},
{
"docid": "5f8d37aee09bc1e9959f768d6eb0183c",
"score": "0.6481211",
"text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"title": ""
},
{
"docid": "97d296a7afb7dc4215dea52c44825799",
"score": "0.6477082",
"text": "@Override\n\tpublic void anular() {\n\n\t}",
"title": ""
},
{
"docid": "2dcda7054abb2ac593302e39a2284f12",
"score": "0.64591026",
"text": "@Override\n\tprotected void getExras() {\n\n\t}",
"title": ""
},
{
"docid": "c2f383f280f298416bf45e72c374ecfa",
"score": "0.64127725",
"text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b62a7c8e0bb1090171742c543bf4b253",
"score": "0.63762105",
"text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "177192b7240b496ba5aefdfed60037c9",
"score": "0.6276059",
"text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "5a2cf6475b24af1408d07534790462c3",
"score": "0.6254286",
"text": "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1f7c82e188acf30d59f88faf08cf24ac",
"score": "0.623686",
"text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"title": ""
},
{
"docid": "6c2fa45ab362625ae567ee8a229630a4",
"score": "0.6223679",
"text": "@Override\n\tprotected void interr() {\n\t}",
"title": ""
},
{
"docid": "73463480918eeb854ee253f0b90b8f6a",
"score": "0.6201336",
"text": "@Override\n\tpublic void emprestimo() {\n\n\t}",
"title": ""
},
{
"docid": "abcadad5e0834117553d2b9f67dbe5da",
"score": "0.61950207",
"text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "abcadad5e0834117553d2b9f67dbe5da",
"score": "0.61950207",
"text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "7c4f2f94b290de5507eb56a649c4fab9",
"score": "0.61922914",
"text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "61358eff9372995c8157b02d47a44a6a",
"score": "0.6186996",
"text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "24836dd83ff94f056e1fcc3c7d1bd342",
"score": "0.6173591",
"text": "@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"title": ""
},
{
"docid": "a89a6a1e5b118a43de52e5ffd006970b",
"score": "0.61327106",
"text": "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "50eb8922149b6987def0b49575615f5e",
"score": "0.61285484",
"text": "@Override\n protected void getExras() {\n }",
"title": ""
},
{
"docid": "1c8a7915e39d52e26f69fe54c7cab366",
"score": "0.6080161",
"text": "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b910b894fe7ad3828da2a23b46f46c91",
"score": "0.6077022",
"text": "@Override\n\tpublic void nefesAl() {\n\n\t}",
"title": ""
},
{
"docid": "c95af00aee2fa41e8a03e3640ca30750",
"score": "0.6041561",
"text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "680ac9d1bc1773741a758290a71e990c",
"score": "0.6024072",
"text": "@Override\n public void func_104112_b() {\n \n }",
"title": ""
},
{
"docid": "5fda61f75e47491fe0badbfe139070a9",
"score": "0.6020252",
"text": "@Override\n\tprotected void initdata() {\n\n\t}",
"title": ""
},
{
"docid": "c682095c2b4f1946676c35a1deda3c6f",
"score": "0.59984857",
"text": "@Override\n\tpublic void nghe() {\n\n\t}",
"title": ""
},
{
"docid": "d96634e617617b62a9a214992c3282f5",
"score": "0.59672105",
"text": "@Override\n public void function()\n {\n }",
"title": ""
},
{
"docid": "d96634e617617b62a9a214992c3282f5",
"score": "0.59672105",
"text": "@Override\n public void function()\n {\n }",
"title": ""
},
{
"docid": "2f8bc325cbd58e19eae4acec86ffe12c",
"score": "0.5965777",
"text": "public final void mo51373a() {\n }",
"title": ""
},
{
"docid": "49a9123d9e9db8177a76f606f354e668",
"score": "0.59485507",
"text": "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"title": ""
},
{
"docid": "100a24d43d831707c172dbf3ee5fc24c",
"score": "0.5940904",
"text": "@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"title": ""
},
{
"docid": "8b18fd12dbb5303a665e92c25393fb78",
"score": "0.59239364",
"text": "@Override\n\tprotected void initData() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "d61bad95071bf9780632fa87c434bab9",
"score": "0.5910017",
"text": "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"title": ""
},
{
"docid": "28237d6ae20e1aa35aaca12e05c950c9",
"score": "0.5902906",
"text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "96b7c88f13f659e23bf631d2d5053b40",
"score": "0.58946234",
"text": "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "53a77fe02ff8601b7f3a53009ccfd05c",
"score": "0.5886006",
"text": "public void designBasement() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "a515456a9e11b20998e2bfdd6c3dce67",
"score": "0.58839184",
"text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "4da8e9683b65c2cb7a22ee151d8c65e1",
"score": "0.58691067",
"text": "public void gored() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "4967494f628119c8d3a4740e09278944",
"score": "0.5857751",
"text": "@Override\r\n\tprotected void initData() {\n\r\n\t}",
"title": ""
},
{
"docid": "b77eac7bccbd213b5d32d3e935c81ffe",
"score": "0.58503544",
"text": "@Override\n\tpublic void einkaufen() {\n\t}",
"title": ""
},
{
"docid": "d06828119af4f719fc9db2eac57f2601",
"score": "0.5847024",
"text": "@Override\n protected void initialize() {\n\n \n }",
"title": ""
},
{
"docid": "8c4be9114abb8cb7b57dc3c5d34882a8",
"score": "0.58239377",
"text": "public void mo38117a() {\n }",
"title": ""
},
{
"docid": "e57f005733f2eb8590150b3f4542b844",
"score": "0.5810564",
"text": "@Override\n\tprotected void getData() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2fda59f727914730e1ccc0c0b05e57bd",
"score": "0.5810089",
"text": "Constructor() {\r\n\t\t \r\n\t }",
"title": ""
},
{
"docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851",
"score": "0.5806823",
"text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851",
"score": "0.5806823",
"text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "cc32bfffe770f8a5c5cf88e6af231ff8",
"score": "0.5800025",
"text": "@Override\n\tpublic void one() {\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": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.5792378",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.5792378",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.5792378",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.5792378",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.5792378",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1260bf70decb91faff8466bae6765ba2",
"score": "0.5790187",
"text": "private stendhal() {\n\t}",
"title": ""
},
{
"docid": "bcd5f0b16beb225527894894dcaf774f",
"score": "0.5789414",
"text": "@Override\n\tprotected void update() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "f397b517b3f3532ba47ff3ee806bc420",
"score": "0.5787092",
"text": "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\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": "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": "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": "4a5b709a6553621aa4226737a20ba120",
"score": "0.5747959",
"text": "@Override\n\tpublic void debite() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.57337177",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.57337177",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.57337177",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "7f454c1ee07328138017395e69b0420e",
"score": "0.5721452",
"text": "public contrustor(){\r\n\t}",
"title": ""
},
{
"docid": "a937c607590931387a357d03c3b0eef4",
"score": "0.5715831",
"text": "@Override\n\tprotected void initialize() {\n\n\t}",
"title": ""
},
{
"docid": "2911d3f6b10d531f37ba6cbbb1e4e44a",
"score": "0.57142824",
"text": "@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "0fc890bce2cd6e7184e33036b92f8217",
"score": "0.57140535",
"text": "public void mo55254a() {\n }",
"title": ""
},
{
"docid": "8862e414d1049ff417c2327b444db61e",
"score": "0.5711723",
"text": "@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "29251cbd61f58d1440af2e558c6a19bc",
"score": "0.57041645",
"text": "@Override\n\tprotected void logic() {\n\n\t}",
"title": ""
},
{
"docid": "39132efb6b42f8ec625d96ff6226d80b",
"score": "0.56991017",
"text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "86232e6a9aaa22e4403270ce10de01d3",
"score": "0.5696783",
"text": "public void mo4359a() {\n }",
"title": ""
},
{
"docid": "9f7ae565c79188ee275e5778abe03250",
"score": "0.56881124",
"text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"title": ""
},
{
"docid": "b1e3eb9a5b9dff21ed219e48a8676b34",
"score": "0.56774884",
"text": "@Override\n public void memoria() {\n \n }",
"title": ""
},
{
"docid": "c0ca0277e879a2b84cd3748b428dc4fa",
"score": "0.56734604",
"text": "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "dca752ff24c887a367479fb49a14a486",
"score": "0.56728",
"text": "private RepositorioAtendimentoPublicoHBM() {\r\t}",
"title": ""
},
{
"docid": "137850fe8be37a8fdff9b5f1d19f9338",
"score": "0.56696945",
"text": "@Override\n protected void initialize() \n {\n \n }",
"title": ""
},
{
"docid": "51fb4cf832bd3bdab07f36fa0655aed2",
"score": "0.5661323",
"text": "@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"title": ""
},
{
"docid": "fb842ef1f250aaba4286c185df305a9b",
"score": "0.5657007",
"text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "cc19c0c7ab1bdc568508b0381e170621",
"score": "0.56549734",
"text": "@Override\n protected void prot() {\n }",
"title": ""
},
{
"docid": "92ff2215e2946927efe966014fa1b664",
"score": "0.5654792",
"text": "@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"title": ""
},
{
"docid": "289e1db116de136c64eef3293ece7f16",
"score": "0.5652974",
"text": "@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"title": ""
},
{
"docid": "502b1954008fce4ba895ad7a32b37b97",
"score": "0.5650185",
"text": "public void mo55254a() {\n }",
"title": ""
}
] |
ac7f494b703598bacda5e3fceabf587b | Get the front element. | [
{
"docid": "009c3250875842680201c238e58d8b66",
"score": "0.0",
"text": "public int peek() {\n int front = 0;\n if(!s1.isEmpty())\n {\n while(!s1.isEmpty())\n {\n front = s1.pop();\n s2.push(front);\n }\n while(!s2.isEmpty())\n {\n\n s1.push(s2.pop());\n }\n\n }\n while(!s2.isEmpty())\n {\n front = s2.pop();\n s1.push(front);\n }\n while(!s1.isEmpty())\n {\n\n s2.push(s1.pop());\n }\n return front;\n }",
"title": ""
}
] | [
{
"docid": "03097f72af743bf2713f7f3a0a6bdcf4",
"score": "0.807004",
"text": "public Object getFront(){\n\t\tif(! isEmpty())\n\t\t\treturn Q[front];\n\t\telse return null;\n\t}",
"title": ""
},
{
"docid": "0bf894dba03b9c53f04c58abf7e98ed0",
"score": "0.78673095",
"text": "public T getFront() \n\t{\n\t\tif(this.isEmpty())\n\t\t\tthrow new RuntimeException(\"Attmepting to access an empty queue.\");\n\t\t\n\t\treturn this.queue.get(0);\n\t\t\n\t}",
"title": ""
},
{
"docid": "105b762307527975b6cf7e283ede04f7",
"score": "0.7827647",
"text": "public T peekFront() \n {\n\tif (isEmpty()){\n\t return null;\n\t}\n\treturn _front.getValue();\n }",
"title": ""
},
{
"docid": "902208f1fffe5788e5e5d94de749d9dd",
"score": "0.78067946",
"text": "@Override\r\n\tpublic E getFront() {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "4d3a7bb9c1afacb959d625058f80d367",
"score": "0.77762705",
"text": "@Override\n\tpublic E getFront() {\n\t\treturn arr[front];\n\t}",
"title": ""
},
{
"docid": "a25d041e79a4742d36238f6f2d9902f6",
"score": "0.7747132",
"text": "@Override\n\tpublic E front() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "41dba4bc90cc1c44b78ff1aa4506165e",
"score": "0.7735881",
"text": "@Override\r\n\tpublic E getFront() {\n\t\tE e=null;\r\n\t\tif(!isEmpty()){\r\n\t\t\te=queue[front];\r\n\t\t}\r\n\t\treturn e;\r\n\t}",
"title": ""
},
{
"docid": "5a2da104a942f717eeb6d5b50f62a62e",
"score": "0.76806885",
"text": "public T front()\n {\n if ( head==null ) return null;\n return head.getValue(); // return item stored at head node\n }",
"title": ""
},
{
"docid": "a050c5a76ad959f71144a260d16a5c25",
"score": "0.7668988",
"text": "public Point getFront(){\n\t\treturn front;\n\t\t\n\t}",
"title": ""
},
{
"docid": "5c04d24d2307731546125e40ed98e98c",
"score": "0.75854397",
"text": "@Override\n public T first() {\n \tif (isEmpty()) {\n \t\treturn null;\n \t}\n \treturn front.element;\n }",
"title": ""
},
{
"docid": "f83d8bc095ec64159b6e0047bfcd0540",
"score": "0.7575603",
"text": "public AnyType getFront() {\n\t\tif (front == null) return null;\n\t\treturn front.data;\n\t}",
"title": ""
},
{
"docid": "ea42d9bb4f63c228c36b89f2882f5de0",
"score": "0.7550314",
"text": "Object front () {\n if (length == 0) throw new RuntimeException\n (\"front(): length is 0\\n\");\n return front.data;\n }",
"title": ""
},
{
"docid": "442d17a5abbfb22ad894afa2a8b0c683",
"score": "0.75235903",
"text": "Object getFront() {\n\t if (this.isEmpty()) {\n\t\t throw new RuntimeException(\"List Error: getFront() ---> empty List\");\n\t }\n\t return front.data;\n }",
"title": ""
},
{
"docid": "005c962b7d7019df190cc189c42375f5",
"score": "0.7511967",
"text": "public T getFront()\n {\n if (isEmpty())\n {\n throw new EmptyQueueException();\n }\n return firstNode.getData();\n }",
"title": ""
},
{
"docid": "724d4ce4db7ff8816a8866c52ab82f14",
"score": "0.7488529",
"text": "public int getFront() {\n if(isEmpty()) return -1;\n return arr[first];\n }",
"title": ""
},
{
"docid": "247aa4f5dea85976b56d809f49b9ac47",
"score": "0.7477456",
"text": "public E peek(){\n\t\tif(front == null){\n\t\t\treturn null;\n\t\t}\n\t\treturn front.item;\n\t}",
"title": ""
},
{
"docid": "3830dfbda4afba62762e613ccc0530df",
"score": "0.7470515",
"text": "E front();",
"title": ""
},
{
"docid": "3830dfbda4afba62762e613ccc0530df",
"score": "0.7470515",
"text": "E front();",
"title": ""
},
{
"docid": "52b8aed3a868ebf4c761889801c92e38",
"score": "0.7455831",
"text": "public Object front(){\r\n \r\n return front == null ? null : front.data;\r\n //ternary operator to replace the following:\r\n /*\r\n if(front == null){\r\n return null;\r\n }\r\n return front.data;\r\n */\r\n }",
"title": ""
},
{
"docid": "338b2ff337326fac842e99a55367ca5b",
"score": "0.7453284",
"text": "public int getFront() {\n if (isEmpty()) {\n return -1;\n }\n return arr[head];\n }",
"title": ""
},
{
"docid": "994b9df3dc10ac53530559ac11631d29",
"score": "0.74457586",
"text": "public int getFront() {\n if (0 == cnt) return -1;\n return arr[head];\n }",
"title": ""
},
{
"docid": "c8402492b5b39b832f01c040acbe8b36",
"score": "0.7400117",
"text": "public int getFront() {\n if(isEmpty()){\n return -1;\n }\n return array[headIndex];\n }",
"title": ""
},
{
"docid": "82f36bfd3291ffeec513010bc7d30631",
"score": "0.7395162",
"text": "public int getFront() {\n if (hNode == null) return -1;\n return hNode.val;\n }",
"title": ""
},
{
"docid": "d97c49fe11bc72b8fa87e47089a871a8",
"score": "0.7393325",
"text": "public TreeNode front() {\r\n\t\t// Check precondition, list must be a non-empty container\r\n\t\tif(isEmpty()) {\r\n\t\t\tthrow new IllegalStateException(\"List is empty.\");\r\n\t\t}\r\n\t\treturn con.getFirst();\r\n\t}",
"title": ""
},
{
"docid": "d6f7fbe06de2f03588ef4213550b7ada",
"score": "0.7366624",
"text": "public int getFront() {\n if(isEmpty)\n return -1;\n return deque[head];\n }",
"title": ""
},
{
"docid": "54e97a60bb17b11488bc2f3b578c09d9",
"score": "0.73637027",
"text": "public Node front(){\n\t\treturn front;\n\t}",
"title": ""
},
{
"docid": "832201b88102c0217f0ab919b91a192e",
"score": "0.7360024",
"text": "@Override\n public T front() {\n return first.info;\n }",
"title": ""
},
{
"docid": "f4345a231d34e6fc9c68ad45518ac62c",
"score": "0.7352302",
"text": "public int Front() {\n if (isEmpty()) {\n return 0;\n }\n return elements[head];\n }",
"title": ""
},
{
"docid": "fa3d46b4255c030e9ecf8b734553bc14",
"score": "0.73518467",
"text": "public int getFront() {\n return this.head == null ? -1 : this.head.value;\n }",
"title": ""
},
{
"docid": "e1408dda686f001f063ea0f3d576a3bf",
"score": "0.7344861",
"text": "@Override\n public Object getFront() {\n return this.queue.peek();\n }",
"title": ""
},
{
"docid": "46a7856a34c6139b04db09da4abacbf8",
"score": "0.73426765",
"text": "public T front() throws Exception {\n\t\tif (head==null)\n\t\t\tthrow new Exception(\"Queue is empty!\");\n\t\treturn head.nodeValue;\n\t}",
"title": ""
},
{
"docid": "58f36409cfc6a0dcf75831ef9c904b3e",
"score": "0.73417103",
"text": "public T TopFront () {\n return head.key;\n }",
"title": ""
},
{
"docid": "4d5df1568ce6e1adb503b902373dcd05",
"score": "0.7222815",
"text": "public T peekFirst(){\n\tif (isEmpty())\n\t return null;\n\treturn _front.getValue();\n }",
"title": ""
},
{
"docid": "2174ada2c62427b098a05bf62de122ec",
"score": "0.7222606",
"text": "public E front(){\n\t\tif (size <= 0){\n\t\t\tthrow new NoSuchElementException(\"List is empty\");\n\t\t}\n\t\treturn header.next.data;\n\t}",
"title": ""
},
{
"docid": "d96604a33dab732dc982a20ae318363d",
"score": "0.7196954",
"text": "public E peek() {\n if (front == null)\n throw new NoSuchElementException();\n return front.element;\n }",
"title": ""
},
{
"docid": "02f13a8451deb65d525aa7bdd7918b5f",
"score": "0.7194665",
"text": "public String front()\n {\n\treturn head.value;\n }",
"title": ""
},
{
"docid": "bd0c3ef613561900599519b4159d961a",
"score": "0.71869165",
"text": "@Override\r\n\tpublic T getFront() {\n\t\tif(isEmpty()) {throw new EmptyQueueException();}\r\n\t\treturn (T) this.front.getData();\r\n\t}",
"title": ""
},
{
"docid": "9b098802af4d6388bda00f751e15a013",
"score": "0.7183269",
"text": "Object front(){\n if(length <= 0){\n throw new RuntimeException(\"List ADT / int front() / length() > 0\");\n }\n\n return front.data;\n }",
"title": ""
},
{
"docid": "66fe4d72d1a62fef9b8c8ce7bdd6dc07",
"score": "0.71761346",
"text": "int front() {\n if (this.isEmpty()){\n throw new RuntimeException(\"Error: front called on empty list\");}\n\t return front.data;\n }",
"title": ""
},
{
"docid": "39dc6261d518e6fb02cf08a52a05140f",
"score": "0.71647024",
"text": "public Process getFront()\n\t{\n\t\treturn front;\n\t}",
"title": ""
},
{
"docid": "8aa2b8af786368fbbb46e36354ed8c28",
"score": "0.7144072",
"text": "public int getFront() {\r\n return sentinel.next.item;\r\n }",
"title": ""
},
{
"docid": "fa733966ce85105ed101b93868d03326",
"score": "0.713435",
"text": "public Movie front()\r\n\t{\r\n\t\t//Write code here\t\t\r\n\t\tMovieListNode cur = list.head;\r\n\t\tif (list.head==null) {\r\n\t\t\tSystem.out.println(\"Cannot return front. Queue is empty.\");\r\n\t\t\treturn null;\r\n\t\t}else \r\n\t\treturn list.getMovie(0);\r\n\t}",
"title": ""
},
{
"docid": "ea28ae133d040b7ce7b36c4845ed839c",
"score": "0.7120141",
"text": "public T front() throws EmptyCollectionException\r\n {\r\n if (isEmpty())\r\n throw new EmptyCollectionException(\"Queue\"); \r\n \r\n return Queue.get(0);\r\n }",
"title": ""
},
{
"docid": "3f2d52a093ca5abeb598e977584c3235",
"score": "0.71052617",
"text": "public int Front() {\r\n if(isEmpty()){\r\n return -1;\r\n }\r\n return array[front];\r\n }",
"title": ""
},
{
"docid": "a48d2cbc029af182b4168bfb20fa7ce0",
"score": "0.70946586",
"text": "public E peek() {\n\n // pre-conditions: ! isEmpty()\n if(!isEmpty()){\n return elems[ top-1 ]; \n }\n return elems[0];\n }",
"title": ""
},
{
"docid": "61f25386e7a1a5441f13ee5b71651719",
"score": "0.7069167",
"text": "public int Front() {\n return isEmpty() ? -1 : this.front.next.val;\n }",
"title": ""
},
{
"docid": "593f07980ee8ce9f2be769abc9a65883",
"score": "0.70070577",
"text": "int front() {\n if(length()>0) {\n return front.data;\n }\n return -1;\n }",
"title": ""
},
{
"docid": "19c19fbf531e95964e7c09dec48193cd",
"score": "0.70040184",
"text": "public E first(){\n\t\tif(isEmpty()) return null;\n\t\treturn head.getElement();\n\t}",
"title": ""
},
{
"docid": "a2c7047a170a7701695e4094398de914",
"score": "0.69873244",
"text": "public int Front() {\n if (!isEmpty()) {\n return arrayQueue[frontIndex];\n }\n return -1;\n }",
"title": ""
},
{
"docid": "9632c899a566df48cbbb92beabffeb2d",
"score": "0.69871545",
"text": "public E front()\n throws EmptyQueueException;",
"title": ""
},
{
"docid": "b97caede74c8c2fcd9f6965580b384bb",
"score": "0.69620645",
"text": "public E first(){\n if (isEmpty())\n return null;\n return head.getElement();\n }",
"title": ""
},
{
"docid": "cbca1ee664f827e0bced12bf181643ef",
"score": "0.69152355",
"text": "public T front(){\n return array[remove];\n }",
"title": ""
},
{
"docid": "e04ecf970c087dfed118f41a2c7852cb",
"score": "0.6885022",
"text": "E front() throws EmptyQueueException;",
"title": ""
},
{
"docid": "295676addb1f192133cbf1ba4963acb0",
"score": "0.6883013",
"text": "public T peek() {\n return list.front();\n }",
"title": ""
},
{
"docid": "5a5ef3e4769a722439fc456ee9b73be4",
"score": "0.6877203",
"text": "public int Front() {\n if (isEmpty()) {\n return -1;\n }\n return values[start];\n }",
"title": ""
},
{
"docid": "5b99dd1b71c12a7c4794315142a8870a",
"score": "0.68767875",
"text": "public Object frontOf() throws QueueUnderflowException\r\n\t{\r\n\t\t// test to see if the queue is empty.\r\n\t\tif(currentLength == 0)\r\n\t\t{\r\n\t\t\tthrow new QueueUnderflowException(\"Queue is Empty!\");\r\n\t\t}\r\n\t\treturn theItems[front];\t// return the front Object.\r\n\t}",
"title": ""
},
{
"docid": "ab6a2289189b69ca30c3e9ecd092d50c",
"score": "0.68740153",
"text": "public int Front() {\n return data.get(p_start);\n }",
"title": ""
},
{
"docid": "53223ad05988a383ff6a83a495c3f9e1",
"score": "0.6866643",
"text": "public T peek(){\n if(!isEmpty())\n {\n return t.get(stackPointer ); //stackPointer keeps check of present location of element\n }\n else return null; //throw exceptions\n }",
"title": ""
},
{
"docid": "b053a29b169beadfd0a3c7eddbb3577a",
"score": "0.68533057",
"text": "public synchronized List<Drawable> getFront() {\n return frontBuffer;\n }",
"title": ""
},
{
"docid": "a9f23ccd0d81082a82fe03e465523d47",
"score": "0.6852656",
"text": "@Override\n\tpublic Comparable<T> front() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "f460a53f26b91ffe8868706adba282f4",
"score": "0.6845522",
"text": "void toFront();",
"title": ""
},
{
"docid": "356d4edec0be91bfcaa1bf29b3bb74f8",
"score": "0.6831216",
"text": "private Element peekElement() {\n for (int i = elementStack.size() - 1; i >= 0; i--) {\n Element element = elementStack.get(i);\n if (element != null) {\n return element;\n }\n }\n return null;\n }",
"title": ""
},
{
"docid": "4eafc27c7b6068d7cafafe8a12ab2be2",
"score": "0.68197316",
"text": "public E head()\n\t{\n\t\tif( !isEmpty( ) )\n\t\t\treturn elements.get(0);\n\t\treturn null;\n\t\t\n\t}",
"title": ""
},
{
"docid": "2569de41c6290dbc48d7b91d67e87b6e",
"score": "0.6802951",
"text": "public T peek() {\n if(isEmpty()){\n throw new EmptyStackException();\n }\n return list.getLast(); // returns the element on top\n }",
"title": ""
},
{
"docid": "84ab2a0914c27ae3f1a6602d03f25c2b",
"score": "0.68007934",
"text": "int getFront() \r\n { \r\n // check whether Deque is empty or not \r\n if (isEmpty()) \r\n { \r\n return -1; \r\n } \r\n return arr[front]; \r\n }",
"title": ""
},
{
"docid": "fb2ef4f781ae72b86c2e900b59317db4",
"score": "0.67562103",
"text": "@Override\r\n\tpublic Object getTop() throws Exception {\n\t\treturn head.getElement();\r\n\t}",
"title": ""
},
{
"docid": "9225d83e76e75c9a86089f28370f2bed",
"score": "0.6747272",
"text": "int front() \n\t{\n\t\tif (length() <= 0) // checks precondition: length()>0 \n\t\t{\n\t\t\t//precondition not met\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"List Exception: front() called on length()<0\");\n\t\t}\n\t\t\n\t\treturn front.data; // postcondition !< 0\n\t}",
"title": ""
},
{
"docid": "212af8cec00ccee5a40df6825732b9aa",
"score": "0.67426854",
"text": "public E top() {\n\t\tif (isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn stack.getFirst();\n\t}",
"title": ""
},
{
"docid": "e5862458407be24591d32217987422d3",
"score": "0.67321855",
"text": "@Override\n public T peek() {\n return front.getValue();\n }",
"title": ""
},
{
"docid": "47c5cc248a85525453c718458126ccdc",
"score": "0.6707578",
"text": "public Widget getActive() {\n return front;\n }",
"title": ""
},
{
"docid": "d30845012c19d4202bd90bdb4d7c07ec",
"score": "0.6681364",
"text": "public E peek() {\n\t\tif(head == null) throw new EmptyStackException();\n\t\treturn head.ele;\n\t}",
"title": ""
},
{
"docid": "a0d19a7b547dcf0605d8385f193eac2f",
"score": "0.6659699",
"text": "public E peek() {\n\t\tif (last == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn last.next.element;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "405e39e38fe393be4fe0d872753aa0d8",
"score": "0.66280437",
"text": "public Object getFirst() { return this.head.getElement(); }",
"title": ""
},
{
"docid": "ff098cc69a4ee9f60959cd884a0815a2",
"score": "0.6612795",
"text": "@Override\n\tpublic T top() {\n\t\treturn top.getElement();\n\t}",
"title": ""
},
{
"docid": "c247bc29db33dc7bd713e763b1d0e031",
"score": "0.658645",
"text": "public Household peek()\n {\n\t//empty?\n\tif (front == null)\n\t return null;\n\telse\n\t return front.getData();\n }",
"title": ""
},
{
"docid": "bd621952aaced094dc825eb3fba8a0b1",
"score": "0.658471",
"text": "@Override\n\tpublic String peek() {\n\t\tString element;\n\t\tif (elements.size() > 0) {\n\t\t\telement = elements.get(0);\n\t\t\t}\n\t\telse {\n\t\t\tlogger.error(\"no peek element!\");\n\t\t\telement = null;\n\t\t}\n\t\tlogger.info(\"peek element: \" + element);\n\t\t\t\n\n\t\treturn element;\n\t}",
"title": ""
},
{
"docid": "30e5993fbe9c1af41705732bed54cee1",
"score": "0.65741086",
"text": "public T peek() {\n return first;\n }",
"title": ""
},
{
"docid": "cc0309b2e83e74f147a6f3cfa261478d",
"score": "0.6561903",
"text": "public T peek() \r\n {\r\n return first();\r\n }",
"title": ""
},
{
"docid": "ef6534f8927a5e5837912b319b9bf68b",
"score": "0.65493155",
"text": "public E peekFirst (){\n\t\tif (head.data==null){\n\t\t\treturn null;\t\n\t\t}\n\t\treturn head.data;\n\t}",
"title": ""
},
{
"docid": "694da59c415610dc780315bea1081e5c",
"score": "0.6544998",
"text": "@Override\n\tpublic E peek() {\n\t\tfinal Node<E> f = first;\n\t\treturn (f == null) ? null : f.item;\n\t}",
"title": ""
},
{
"docid": "cfce190206a9de5134e2c0ec38eebba3",
"score": "0.653515",
"text": "public long peekFront(){\n return queArray[front];\n }",
"title": ""
},
{
"docid": "2767e7f67185825d6c89c974893a7b90",
"score": "0.6505188",
"text": "public E first(){\n return header.element;\n\t}",
"title": ""
},
{
"docid": "d16c4207bd36ec8052d1ba9fc749f97e",
"score": "0.6502873",
"text": "public T peek() {\n if(top == null){\n return null;\n }\n\t\treturn top.getData();\n\t}",
"title": ""
},
{
"docid": "3d52a74ba4131deccabe88ef0b3a6331",
"score": "0.6502765",
"text": "public T peek() {\n\t\tif (isEmpty())\n\t\t\tthrow new NoSuchElementException();\n\n\t\treturn this.element;\n\t}",
"title": ""
},
{
"docid": "3a2412390f4884d94b5dc01a77c6c82f",
"score": "0.6496692",
"text": "public String peek() {\r\n\t\treturn theElements[0];\r\n\t}",
"title": ""
},
{
"docid": "c32cf95285c57d498415ca41d5d93cd3",
"score": "0.6495769",
"text": "public int peek() {\n return front;\n }",
"title": ""
},
{
"docid": "22e6689faf9a97636715cf7b850021d0",
"score": "0.6494017",
"text": "public E peek()\r\n {\r\n return get(0);\r\n }",
"title": ""
},
{
"docid": "d1850bf9620f67bf6a872cfe13c19043",
"score": "0.6487694",
"text": "public E peekFirst() {\n return peekFirst(this);\n }",
"title": ""
},
{
"docid": "3d970efa1ddb63d913643b99399b6b59",
"score": "0.6436291",
"text": "default @Nullable E first() {\n if (isEmpty()) return null;\n return get(0);\n }",
"title": ""
},
{
"docid": "4347284c81706c71c2e879883afb3690",
"score": "0.6426963",
"text": "public int top() {\n return topElem;\n }",
"title": ""
},
{
"docid": "9d91a7153b12bfe4e8a2b38768c512ac",
"score": "0.64233094",
"text": "public Item peek() {\n\t\tif(isEmpty()) {\n\t\t\tSystem.out.println(\"No item in the stack\");\n\t\t\treturn null;\n\t\t}\n\t\telse {\n\t\t\treturn first.data;\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "6fcbf2167bfab24c5a7da1f43012aed9",
"score": "0.64226365",
"text": "public T peek() {\n return getHead();\n }",
"title": ""
},
{
"docid": "deb48c784b4253f1b7a425549285fc19",
"score": "0.63958496",
"text": "public E peek()\r\n\t{\r\n\t\tif (isEmpty())\r\n\t\t{\r\n\t\t\treturn null ;\r\n\t\t}\r\n\t\treturn this.theData.get(0) ;\r\n\t}",
"title": ""
},
{
"docid": "1b64dd32214774b8f5321a1acefa07ae",
"score": "0.6394731",
"text": "public E peek() {\n\t\treturn heap.get(0);\n\t}",
"title": ""
},
{
"docid": "c42fad1b34c7e51d5154f2fe8ae6c71a",
"score": "0.6386164",
"text": "public int peek() {\n return this.front;\n }",
"title": ""
},
{
"docid": "d1c3b31428925c8ec31efaf3b5eb6b9b",
"score": "0.638533",
"text": "public int peek(){\n\n\t\tif(top < 0){\n\t\t\treturn 0;\n\t\t}\n\t\telse{\n\t\t\t//System.out.println(\"Element at the top:\");\n\t\t\tint x = a[top];\n\t\t\treturn x;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "6f9f1dcfd2c965a6176e3c53b23345b4",
"score": "0.6384047",
"text": "public T peek() {\n if (!isEmpty()){\n return topNode.data;\n } \n else{\n return null;\n }\n }",
"title": ""
},
{
"docid": "338a55453964f9e2c316f4965a5c6580",
"score": "0.63833874",
"text": "public E peek() {\n\t\t\n\t\tE returnValue = null; // New generic to initialize the return value. \n\t\t\n\t\tif (size == 0) {\n\t\t\t// If the stack is empty, let the user know and throw an exception. \n\t\t\tSystem.out.println(\"\\nThe list is empty\\n\");\n\t\t\tthrow new EmptyStackException();\n\t\t} else {\n\t\t\t// If stack is not empty, set return to the tail value since that is the last item / top of the stack. \n\t\t\treturnValue = tail.data;\n\t\t}\n\t\treturn returnValue; // Return the element\n\t}",
"title": ""
},
{
"docid": "4217af390071ac2dcf6286d858f312f0",
"score": "0.6379429",
"text": "@Override\n\tpublic T first() {\n\t\treturn getFirst().getElem();\n\t}",
"title": ""
},
{
"docid": "6385fafb265d58a847341de1604bdc4d",
"score": "0.63724226",
"text": "public E peek() {\n\n\t// pre-condition: the stack is not empty\n\t\n return top.value;\n }",
"title": ""
},
{
"docid": "0b1c98df9feea5b5779aaf62c597181e",
"score": "0.6368688",
"text": "public E getTop()\n\t{\n\t\treturn stack[top];\n\t}",
"title": ""
}
] |
99425de56fa039e59db394ff3e3572ed | If the task is considered very simple, the task can be executed on space. A task is considered very simple if the time it takes to solve it is less than or equal to the time it takes to marshal/unmarshal + latency. | [
{
"docid": "d7544afc3811c3853bb349392b58ef6d",
"score": "0.0",
"text": "boolean isSimple();",
"title": ""
}
] | [
{
"docid": "25db894795bc33a2e05c93ecbde6ecb5",
"score": "0.6607037",
"text": "public abstract Object execute(Task task);",
"title": ""
},
{
"docid": "d7f74e9f9315b4bca962eb8e27a0e84f",
"score": "0.645419",
"text": "Task runTask();",
"title": ""
},
{
"docid": "6a8c342856895207b4a5e5f9fca3b045",
"score": "0.64212525",
"text": "public interface MemoryIntensiveTask extends Task {\n int memoryRequiredToRun();\n\n @Override\n public default TaskType getTaskType() {\n return TaskType.MEMORY_INTENSIVE;\n }\n}",
"title": ""
},
{
"docid": "67d551290baf5beafc00ff4bc83bae98",
"score": "0.63199866",
"text": "Task createTask();",
"title": ""
},
{
"docid": "8fc7316087cdfc23d8c109c38d7556b1",
"score": "0.61203426",
"text": "public interface ITaskLike {\n\n\t/**\n\t * Schedules this task-like object to run ASAP.\n\t */\n\tpublic void schedule();\n\t\n\t/**\n\t * Schedules this task-like object to run N milliseconds in the future.\n\t * \n\t * @param milliseconds the number of milliseconds to run in the future\n\t */\n\tpublic void scheduleRelative(long milliseconds);\n\t\n\t/**\n\t * Schedules this task-like object to run in N milliseconds.\n\t * \n\t * @param delay the delay to wait before execution\n\t * @param timeUnit the unit used for the delay\n\t */\n\tpublic void scheduleRelative(long delay, TimeUnit timeUnit);\n\t\n}",
"title": ""
},
{
"docid": "e609da6d2bfa9f75184260d9b9bdd880",
"score": "0.6110333",
"text": "Task findTask(Task task);",
"title": ""
},
{
"docid": "4b29c34fe045dc13eb6b99b2a6026020",
"score": "0.6103148",
"text": "void process(T task);",
"title": ""
},
{
"docid": "b19e6cc6203b20b96ef9c754b2c44e5d",
"score": "0.5965897",
"text": "public interface ITask {\n\n void execuuite(TaskExecutionContext ctx);\n}",
"title": ""
},
{
"docid": "ab4450c65e5fb1893af06f844a9af0a4",
"score": "0.5946442",
"text": "Task getTask();",
"title": ""
},
{
"docid": "ab4450c65e5fb1893af06f844a9af0a4",
"score": "0.5946442",
"text": "Task getTask();",
"title": ""
},
{
"docid": "a5cb53e80fac5721214484c454815845",
"score": "0.5765913",
"text": "public Task() {\r\n \t\t\r\n \t}",
"title": ""
},
{
"docid": "a0d9d0a1f786082832a5f633aa67e364",
"score": "0.57354975",
"text": "public interface TaskScheduler<P>\n{\n\t/**\n\t * Schedules a particular task for the TaskQueue system on Google Appengine.\n\t *\n\t * @param payload\n\t */\n\tTaskHandle schedule(final P payload) throws Exception;\n\n\t/**\n\t * Schedules a particular task for the TaskQueue system on Google Appengine.\n\t *\n\t * @param payload\n\t * @param taskName A {@link String} that identifies the task to be created.\n\t */\n\tTaskHandle schedule(final P payload, final String taskName) throws Exception;\n\n\t/**\n\t * Schedules a particular task for the TaskQueue system on Google Appengine.\n\t *\n\t * @param payload\n\t */\n\tFuture<TaskHandle> scheduleAsync(final P payload) throws Exception;\n\n\t/**\n\t * Schedules a particular task for the TaskQueue system on Google Appengine.\n\t * @param payload\n\t * @param taskName A {@link String} that identifies the task to be created.\n\t */\n\tFuture<TaskHandle> scheduleAsync(final P payload, final String taskName) throws Exception;\n\n}",
"title": ""
},
{
"docid": "4bf77897c5a9829dc633858ac56be19a",
"score": "0.5735105",
"text": "@Override\n\tpublic Task createTask(Task task) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "d29cddd21372236d8342a6b4a7a9a4c9",
"score": "0.5689304",
"text": "public ITask getTask();",
"title": ""
},
{
"docid": "2c215cf3812ea2cab1591dd637d52b77",
"score": "0.56843543",
"text": "@Test\n public void testPoolSimple() {\n LightFuture<Integer> task1 = pool.submit(() -> 2 + 2);\n LightFuture<Integer> task2 = pool.submit(() -> 7);\n LightFuture<Long> task3 = pool.submit(() -> {\n long exp = 1;\n\n for (int i = 0; i < 50; i++) {\n exp *= 2;\n }\n\n return exp;\n });\n assertThat(task1.get(), is(4));\n assertThat(task2.get(), is(7));\n assertThat(task3.get(), is(1125899906842624L));\n }",
"title": ""
},
{
"docid": "a2bf393d47c67528fdeed549da472652",
"score": "0.56756186",
"text": "RunId submitTask(Task task);",
"title": ""
},
{
"docid": "45b5fdbf9a1a27a3c5403a33230d4109",
"score": "0.5670033",
"text": "public void processTask(String task) {\r\n \r\n }",
"title": ""
},
{
"docid": "f231ef3deacd495e1f59245b56a3bb48",
"score": "0.5661292",
"text": "public void task(int x)\n {\n }",
"title": ""
},
{
"docid": "bf7f4b08952936efe4ef614da632e951",
"score": "0.5619332",
"text": "@Override\n\tpublic Server scheduleTask(Task _task, double time, boolean isDependingTask) {\n\t\tServer server;\n\t\tint serverid=0;\n\t\tDataCenter dc = mExp.getDataCenter();\n\t\tJob job = _task.getaJob();\n\t\tMap<Task, Vector<Task>> TaskDependency = job.getTaskDependency();\n\t\tVector<Task> dependedList = TaskDependency.get(_task);\n\t\tif(dependedList!=null){\n\t\t\tfor (Task iTask : dependedList) {\n\t\t\t\tserverid=iTask.getServer().getNodeId();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}else{\n\t\t\t//serverid=((int) _task.getTaskId()) % dc.getServers().size();\n\t\t\tserverid=((int) _task.getTaskId()) % dc.getExpConfig().getServersToSchedule();\n\t\t\tif (serverid == 0)\n\t\t\t\t//serverid = dc.getServers().size();\n\t\t\t\tserverid = dc.getExpConfig().getServersToSchedule();\n\t\t}\n\t\tserver = dc.getServers().get(serverid-1);\t\t\n\t\t_task.setServer(server);\n\t\treturn server;\n\t}",
"title": ""
},
{
"docid": "278a404a14a8c828d133fa01b5152557",
"score": "0.5599396",
"text": "public Task() {\n\t}",
"title": ""
},
{
"docid": "773f7a905dcfc3bdf2c204b77f153a3d",
"score": "0.5574249",
"text": "public interface InteractionTask extends Task {\n}",
"title": ""
},
{
"docid": "bbd055d92bbd4d33a8ea9d3d10d56be3",
"score": "0.5568837",
"text": "public String runTask() {\n\t\tlong start = System.nanoTime();\n\t\tLog.d(TAG, \" work start to run at \" + start);\n\n\t\tUtility.logTime(\"\" + offMode, TAG + \"-begin\", start);\n\n\t\t//if (Utility.isLocal(offMode)) {\n\t\t//\tnonOffloadingExecution();\n\t\t//\treturn \"a\";\n\t\t//}\n\n\t\tClass<?>[] paramTypes = { int.class };\n\t\tObject[] paramValues = { 0 };\n\t\ttry {\n\n\t\t\tfor (int i = 1; i <= rounds; ++i) {\n\t\t\t\tif (Utility.isLocal(offMode)) {\n\t\t\t\t\tnonOffloadingExecution();\n\t\t\t\t} else if (Utility.isBidirectional(offMode)) {\n\t\t\t\t\texectl.execute(\"workBi\", paramTypes, paramValues, this);\n\t\t\t\t} else {\n\t\t\t\t\tworkUni();\n\t\t\t\t}\n\n\t\t\t\tLog.d(TAG + \"-work\", \"The \" + i + \"-th round is done\");\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tlong end = System.nanoTime();\n\t\tString msg = \"running duration :\" + (end - start);\n\n\t\tLog.d(TAG, \" work ended at \" + end + \", duration=\" + (end - start));\n\t\tUtility.logTime(TAG, \"SobelApp-end\", end);\n\n\t\treturn msg;\n\t}",
"title": ""
},
{
"docid": "41a54cf4b5ed39d639fd0c457a18cedb",
"score": "0.556878",
"text": "@Test\n void hasTask() {\n Task task1 = new TaskBuilder()\n .withModule(\"CS2103\")\n .withId(\"T1\")\n .withName(\"Assignment 1\")\n .withDeadline(\"2021-12-31\").build();\n assertTrue(MODULE_1.hasTask(task1));\n\n // not initialised with the task -> returns false\n Task task5 = new TaskBuilder()\n .withModule(\"CS2103\")\n .withId(\"T5\")\n .withName(\"Task 5\")\n .withDeadline(\"2021-11-17 11:11\").build();\n assertFalse(MODULE_1.hasTask(task5));\n }",
"title": ""
},
{
"docid": "eae876329df112e9fb3ee41b33911909",
"score": "0.55423325",
"text": "public interface ControlledTask {\n\n\t/**\n\t * Id of the task.\n\t * \n\t * @return the id\n\t */\n\tlong getId ();\n\t\n\t/**\n\t * stop task\n\t */\n\tvoid terminateTask ();\n\t\n\t/**\n\t * timeout till the task should be stopped\n\t * \n\t * @return the timeout\n\t */\n\tlong getTimeout();\n}",
"title": ""
},
{
"docid": "65915fc9a2e868688f12fa3afac42d15",
"score": "0.55380803",
"text": "public Task prepare();",
"title": ""
},
{
"docid": "bd2c3be105ccf8caed6190aa67e4687f",
"score": "0.55374193",
"text": "public interface TestTask {\n\t// provide Task with given Data\n\tvoid given(TaskData data);\n\t\n\t// execute Task with current execution Context\n\tObject when(ExecutionContext context);\n\t\n\t// called during verification stage of task\n\tboolean then() throws VerifyException;\n\t\n\t// resets status of task, keep task data\n\tvoid reset();\n\t\n\tvoid failed(String message);\n\tvoid ok(String message);\n\t\n\t// returns Status of Task\n\tTaskStatus getStatus();\n\t\n\tTaskData getTaskData();\n}",
"title": ""
},
{
"docid": "60304a35ae2de75700d821da4c6a22ff",
"score": "0.55190283",
"text": "public interface Task<T> {\n\n /**\n * Get the task context.\n *\n * @return context.\n */\n Context<T> context();\n\n /**\n * Execute the task and save the result to context.\n */\n void execute();\n}",
"title": ""
},
{
"docid": "c8a55cbbd2384baef29264716a479486",
"score": "0.55184114",
"text": "void given(TaskData data);",
"title": ""
},
{
"docid": "549d2b068637e66dd8e4202c0a9f6315",
"score": "0.551751",
"text": "RunId submitTask(RunId runId, Task task);",
"title": ""
},
{
"docid": "25168af6e4ae9176e296bdc0fe5e4a1b",
"score": "0.5505177",
"text": "public static Operation runTask(Task t) throws IOException {\n Operation o;\n LOG.info(\"Pipelines API request: \" + StringUtils.toJson(getRequest(t)));\n\n if (t.getArgs() != null\n && t.getArgs() instanceof WorkflowArgs\n && ((WorkflowArgs) t.getArgs()).isTesting() != null\n && ((WorkflowArgs) t.getArgs()).isTesting()) {\n LOG.info(\"Running in test mode. No API call will be made. Name=\" + t.getDefn().getName());\n o = new Operation();\n o.setDone(true);\n o.setName(\"operations/TEST-\" + t.hashCode());\n } else {\n o = callAsyncWebService(getRequest(t));\n }\n return o;\n }",
"title": ""
},
{
"docid": "1858e3f88e657cc196037a52a29aa5f6",
"score": "0.5499651",
"text": "public Task(String task) {\n this.completed = false;\n this.task = task;\n }",
"title": ""
},
{
"docid": "f274e66676b70d207945aafd22cb748d",
"score": "0.5485802",
"text": "public Task() {\n }",
"title": ""
},
{
"docid": "68879bbe5e38b9682c840a63442e95d9",
"score": "0.5467183",
"text": "@Override\n\tpublic void updateTask(Task task, boolean needAssignmentServer) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "f99f1ea4c46991acfd28fd62859fabbd",
"score": "0.5466979",
"text": "@Override\n\tpublic void task(Integer taskId) {\n\n\t}",
"title": ""
},
{
"docid": "008cb51f72bb06fea6e411ea48c13342",
"score": "0.5462934",
"text": "long scheduleTask(Task task, int ticks);",
"title": ""
},
{
"docid": "5a555ed3ec279e731bb07ecf10a5467a",
"score": "0.54628",
"text": "public interface TaskParser {\n Runnable parse(Task task);\n}",
"title": ""
},
{
"docid": "acb991533ec88f9d397a5a9348246a66",
"score": "0.54563683",
"text": "public abstract void runTask(CcdpTaskRequest task);",
"title": ""
},
{
"docid": "c06203ecd0aabc846b414843b7e5edce",
"score": "0.5452267",
"text": "public interface ITask extends Runnable {\n void start();\n}",
"title": ""
},
{
"docid": "59dbf2cfe1d358d06393139fd4e983c2",
"score": "0.5431704",
"text": "@Test\n public void runCpuTaskTest()\n {\n int time = 5;\n CcdpTaskRequest task = this.sendTaskRequest(\"MOCK_CPU\", time);\n String taskId = task.getTaskId();\n \n CcdpUtils.pause(0.2);\n CcdpVMResource info = this.node.getVirtualMachineInfo();\n \n List<CcdpTaskRequest> tasks = info.getTasks();\n int sz = tasks.size();\n this.logger.debug(\"VM has \" + sz + \" tasks\");\n assertTrue(\"Need to be running one task only\", sz == 1);\n \n CcdpTaskRequest myT = tasks.get(0);\n assertTrue(\"Got a different Task\", taskId.equals(myT.getTaskId()));\n boolean found = this.gotMessageWithState(CcdpTaskState.SUCCESSFUL, time);\n assertTrue(\"The Task did not finish on time\", found);\n }",
"title": ""
},
{
"docid": "ca6b7a88a91c1d90a9793b9f7960b8cb",
"score": "0.5422085",
"text": "public void insertTask(Task task) throws CannotScheduleException {\r\n \r\n memento = new Memento(globalIdleRate);\r\n \r\n TLSStep belongedStep = table.findStepByPeriod(task.getModel().getPeriod());\r\n // Find the step that has minimum local load.\r\n int numberOfLocalSteps = belongedStep.getLocalSteps().size();\r\n int indexWithMinLoad = 0;\r\n double minLoad = Double.MAX_VALUE;\r\n for (int i = 0; i < numberOfLocalSteps; i++) {\r\n if (belongedStep.getLocalload()[i] < minLoad) {\r\n minLoad = belongedStep.getLocalload()[i];\r\n indexWithMinLoad = i;\r\n }\r\n }\r\n // Put the task into the step.\r\n belongedStep.getLocalSteps().get(indexWithMinLoad).add(task);\r\n // Update local load.\r\n belongedStep.getLocalload()[indexWithMinLoad] += task.getModel().getComputationTime();\r\n // Update global idle rate.\r\n for (int i = 0; i < (maxPeriod / belongedStep.getPeriod()); i++) {\r\n int affectedIndex = indexWithMinLoad + (belongedStep.getLocalSteps().size() * i);\r\n globalIdleRate[affectedIndex] -= task.getModel().getComputationTime() / Main.TIME_STEP;\r\n if (globalIdleRate[affectedIndex] < 0) { \r\n // Reset to previous state\r\n belongedStep.getLocalSteps().get(indexWithMinLoad).remove(task);\r\n belongedStep.getLocalload()[indexWithMinLoad] -= task.getModel().getComputationTime();\r\n double[] globalIdleRateCopy = memento.getGlobalIdleRateCopy();\r\n for( int j=0;j<globalIdleRate.length;j++ ){\r\n globalIdleRate[j] = globalIdleRateCopy[j];\r\n }\r\n throw new CannotScheduleException();\r\n }\r\n }\r\n \r\n rebalanceTable(belongedStep);\r\n }",
"title": ""
},
{
"docid": "c8f5ef252a8d158a529bbbc02eb020c2",
"score": "0.54192835",
"text": "@Test\n public void testFulfilWithRunnable() {\n final CompletableFuture<String> future = new CompletableFuture<>();\n // 1b - define task result processing\n future.thenRun(() -> print(\"Future explicitly fulfilled\"));\n \n // 2 - start the task\n sleep(WAIT_MILIS);\n future.complete(\"Future explicitly fulfilled\");\n \n // TEST --- assertions -- remove from production code\n assertEquals(completions, completed(\"Future explicitly fulfilled\"));\n }",
"title": ""
},
{
"docid": "b6ad168bc1b0b3da1ce8d56c4fed03a6",
"score": "0.54078287",
"text": "public interface WorkerLogic<O> {\n public O compute(Task t) throws ProcessTerminatedException;\n}",
"title": ""
},
{
"docid": "c641901c5558f05f623b0d25b8f17bf4",
"score": "0.5397825",
"text": "void addTask(Task task);",
"title": ""
},
{
"docid": "f16d387ff0d84e9700a54da69eefbe1f",
"score": "0.5392434",
"text": "@Test\n public void test7() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder()\n .addNextStatusGraph(\"A\", \"ATask\", StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"B\", \"BTask\").addNextStatusGraph(\"A\", \"ATask\")).build())\n .addTaskChainCriteria(\"A\", \"B\", \"VERSB\").addTaskChainCriteria(\"A\", \"A\", \"VERSA=>CHANGE\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"BTask\", new MultiUpdateStatusTaskService(\"B\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CHANGE\", new ChangeCodeTaskService(\"VersB\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSA\", new VerifyCodeTaskService(\"VersA\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSB\", new VerifyCodeTaskService(\"VersB\")).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n businessObject.setCode(\"VersA\");\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getCode(), \"VersB\");\n Assert.assertEquals(businessObject.getStatus(), \"B\");\n\n Assert.assertTrue(taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "4c036c85c40934f60159c176c7df93a8",
"score": "0.5377666",
"text": "public <V> SingleResult<V> invokeAny(List<Computable<V>> tasks, boolean fastFirst) {\n if(tasks == null || tasks.size() == 0) {\n throw new IllegalArgumentException(\"tasks is empty\");\n }\n List<Task> taskWrappers = new ArrayList<Task>(tasks.size());\n SingleResult<V> result = new SingleResult<V>(taskType, taskWrappers, fastFirst);\n int i = 0;\n for(Computable<V> t : tasks) {\n Task wrapper = new Task(t, i++, result);\n taskWrappers.add(wrapper);\n }\n result.startSubmission();\n try {\n for (Task tw : taskWrappers) { executorService.execute(tw); }\n }finally { result.completeSubmission(); }\n return result;\n }",
"title": ""
},
{
"docid": "84dbaa98deb7b8601aa8d2d9a82916bc",
"score": "0.5371134",
"text": "public Vector tasksThatSatisfyGoal(String goalname){\n Vector tasks=new Vector();\n Vector<String> typesOfConversation=null;\n //************************************\n // Conversational tasks evaluation\n //************************************\n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"ControllerPilotInteraction\");\n\t\t \n \n if (goalname.equals(\"Collision_Avoided\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new ObeyOrderCheckTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Collision_Avoided\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"ControllerPilotInteraction\");\n\t\t \n \n if (goalname.equals(\"Collision_Avoided\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new TakeOrderTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Collision_Avoided\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"FlightPlannerPilotInteraction\");\n\t\t \n \n if (goalname.equals(\"Flight_Plan_Taken\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new Take_Initial_PlanTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Flight_Plan_Taken\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"FreeConflictInteraction\");\n\t\t \n \n if (goalname.equals(\"FinishedPlaneConflict\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new IsNotInConflictNowTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal FinishedPlaneConflict\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"PilotPlaneInteraction\");\n\t\t \n \n if (goalname.equals(\"Executed_Instruction\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new Check_ChangeTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Executed_Instruction\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n typesOfConversation=new Vector<String>();\n\t \n\t typesOfConversation.add(\"StartPlaneInteraction\");\n\t\t \n \n if (goalname.equals(\"PlaneStarted\")){\n \n {\n\t\t Task tobject=null;\n\t\t\tVector<RuntimeConversation> conversations=getCM().getCurrentActiveConversations(typesOfConversation);\n\t\t\t\tboolean canbescheduled=false;\n\t\t\t\tfor (int k=0;k<conversations.size();k++){\n\t\t\t\t\ttobject=new StartDescomposingPlanTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\tif (canbescheduled){\n\t\t\t\t\t//\tMainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal PlaneStarted\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t}\n\t\t\t\t\ttobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n\t\t\t\t\tcanbescheduled=initialiseConversationalTask(conversations.elementAt(k),tobject);\n\t\t\t\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t }\n \n } \n \n \n //************************************\n // Non conversational tasks evaluation\n //************************************\n \n if (goalname.equals(\"Flight_Plan_Completed\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new Stop_PlaneTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Flight_Plan_Completed\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"DecisionDescomposed\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new DescomposeDecisionTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal DecisionDescomposed\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"FlightPlanDescomposedWithConflict\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new GoingNextLegWithConflictTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal FlightPlanDescomposedWithConflict\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"Flight_Plan_Descomposed\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new Flight_Plan_MonitoringTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Flight_Plan_Descomposed\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"TimeToStartPlane\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new IsTimeToStartPlaneTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal TimeToStartPlane\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"Created_Pilot_Mind\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new CreatePilotMindTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Created_Pilot_Mind\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"NewLegForOrderCreated\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new CreateNewLegForOrderTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal NewLegForOrderCreated\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"NewDecisionThought\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new ThinkNewDecisionTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal NewDecisionThought\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"PreparedForNextLeg\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new GoNextLegTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal PreparedForNextLeg\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"Executed_Instruction\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new Execute_InstructionTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Executed_Instruction\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"Flight_Leg_Completed\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new Check_Leg_CompletedTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal Flight_Leg_Completed\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"DecisionsForLegMade\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new Make_DecisionsTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal DecisionsForLegMade\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n if (goalname.equals(\"PlaneStarted\")){\n \n {\n boolean canbescheduled=false;\n\t\t Task tobject=null;\t\t \n\t\t\t\t// If a conversational initialization fails, a conventional one is tried\n\t\t\t\t tobject=new GoingToStartPlaneTask(ingenias.jade.MentalStateManager.generateMentalEntityID());\n\t\t\t\t canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t\t \t if (canbescheduled){\n\t\t\t\t\t//MainInteractionManager.log(\"Scheduled task \"+tobject.getType()+\" to achieve goal PlaneStarted\",getLocalName()+\"-\"+tobject.getType());\n\t\t\t\t\ttasks.add(tobject);\n\t\t\t\t } \t\t\t\n\t }\n \n }\n \n \n Task tobject=new DeleteNonUsedEntitiesTask(\"DeleteNonUsedEntitiesTask\",\"DeleteNonUsedEntitiesTask\");\n boolean canbescheduled=initialiseNonConversationalTask(tobject);\n\t\t if (canbescheduled && IAFProperties.getGarbageCollectionEnabled()){\t\t\t\n\t\t\t\ttasks.add(tobject);\n\t\t }\n return tasks;\n\t}",
"title": ""
},
{
"docid": "03b5bc3e3cb9ea31dfa5db483a80a617",
"score": "0.5364251",
"text": "@FunctionalInterface\n public interface Task {\n void run() throws Exception;\n }",
"title": ""
},
{
"docid": "95101e448701c5d11f5fc7a1e5784a14",
"score": "0.53633624",
"text": "@Override\n\tpublic void performTaskYourWay(int taskNum) {\n\t\t\n\t\trateLimiter.acquire();\n\t\ttaskExecutor.submit(() -> util.performOperation(taskNum));\n\t}",
"title": ""
},
{
"docid": "28cd446fe554a4bf7984641b1cf8317d",
"score": "0.5361915",
"text": "@Test\n public void testWithoutTimeout() {\n //@formatter:off\n Chrono chrono = Chrono.startChrono();\n List<String> data = new RunAndCloseService<>(\"test\",\n 5000L,\n 2, \n new SimpleTask(500,\"1\"),\n new SimpleTask(100,\"2\"),\n new SimpleTask(1000,\"3\"),\n new SimpleTask(700,\"4\")\n ).run();\n //@formatter:on\n chrono.stop();\n LOGGER.info(\"duration : {}\", chrono.getDuration());\n assertTrue(chrono.getDuration() < 5000L);\n data.forEach(m -> LOGGER.info(\"number : {}\", m));\n assertListEquals(data, \"2\", \"1\", \"3\", \"4\");\n }",
"title": ""
},
{
"docid": "c0fac4fadfe3ef6e69e0da05645097b9",
"score": "0.5361503",
"text": "public void execute(){\n if(taskUnit.getClass() == FirstFighter.class){\n float currentX = taskUnit.getBounds().getX();\n float currentY = taskUnit.getBounds().getY();\n if(finalGlobalTaskSegment != null && taskCountry.getCountry().contains(finalGlobalTaskSegment) || count > 10){\n finalGlobalTaskSegment = null;\n count = 0;\n }\n for (Segment s:\n taskCountry.getAbroad()) {\n if(s.containsFoesThisTypeOfUnits(Poselenec.class, taskCountry) || s.containsFoesThisTypeOfUnits(Worker.class, taskCountry) && s.canMoveToSegment(taskUnit) && taskUnit.isAbleToMoveToSegement(s)){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n if(finalGlobalTaskSegment == null) {\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) || finalGlobalTaskSegment.getPoint().getClass() == Water.class) {\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n if (i > GameScreen.map.WIDTH) {\n break;\n }\n i++;\n }\n }\n\n if(finalGlobalTaskSegment == null){\n for (Segment s:\n taskCountry.getCountry()) {\n if(s.canMoveToSegment(taskUnit) && taskUnit.isAbleToMoveToSegement(s) && s.isAbleToHaveMoreUnits(taskCountry) && s.getPoint().getClass() != Water.class){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n }\n\n if(taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) && finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) && finalGlobalTaskSegment.canMoveToSegment(taskUnit) && taskCountry.canUnitToGoToSegment(finalGlobalTaskSegment)){\n if(finalGlobalTaskSegment.getUnits().size() != 0 && !taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n if(taskUnit instanceof Killer){\n Killer killer = (Killer)taskUnit;\n Unit mostPowerfulUnit = finalGlobalTaskSegment.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, finalGlobalTaskSegment);\n }\n }\n else{\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().size() == 0){\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().contains(taskUnit)){\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n }\n }\n\n else {\n Segment temp = taskUnit.getNearestSegmentToTask(finalGlobalTaskSegment, taskCountry);\n if(temp != null){\n if (temp.getUnits().size() != 0 && !taskCountry.getCountry().contains(temp)) {\n if (taskUnit instanceof Killer) {\n Killer killer = (Killer) taskUnit;\n Unit mostPowerfulUnit = temp.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, temp);\n }\n }\n\n if (temp.getUnits().size() == 0 || taskCountry.getCountry().contains(temp)) {\n taskUnit.move(temp);\n }\n doGoodMovement(temp);\n if (!taskCountry.getCountry().contains(temp)) {\n taskCountry.getCountry().add(temp);\n taskCountry.addSegment(temp);\n taskCountry.fillAbroad();\n }\n\n if(prevYUn == currentY && prevXUn == currentX){\n finalGlobalTaskSegment = taskUnit.getTheNearestSegment(taskCountry, temp);\n taskUnit.move(finalGlobalTaskSegment);\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)) {\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n\n }\n }\n else{\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry)) {\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n if (i > 20) {\n break;\n }\n i++;\n }\n }\n }\n\n count++;\n prevXUn = currentX;\n prevYUn = currentY;\n }\n\n\n //TODO SECONDFIGHTER'S GLOBAL TASK\n if(taskUnit.getClass() == SecondFighter.class){\n float currentX = taskUnit.getBounds().getX();\n float currentY = taskUnit.getBounds().getY();\n if(finalGlobalTaskSegment != null && taskCountry.getCountry().contains(finalGlobalTaskSegment) && count > 10){\n finalGlobalTaskSegment = null;\n count = 0;\n }\n for (Segment s:\n taskCountry.getAbroad()) {\n if(s.containsFoesThisTypeOfUnits(FirstFighter.class, taskCountry) || s.getSettlement() != null){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n if(finalGlobalTaskSegment == null) {\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) || finalGlobalTaskSegment.getPoint().getClass() == Water.class) {\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n if (i > GameScreen.map.WIDTH) {\n break;\n }\n i++;\n }\n }\n\n if(finalGlobalTaskSegment == null){\n for (Segment s:\n taskCountry.getCountry()) {\n if(s.canMoveToSegment(taskUnit) && taskUnit.isAbleToMoveToSegement(s) && s.isAbleToHaveMoreUnits(taskCountry) && s.getPoint().getClass() == Water.class){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n }\n\n if(taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) && finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) && finalGlobalTaskSegment.canMoveToSegment(taskUnit) && taskCountry.canUnitToGoToSegment(finalGlobalTaskSegment)){\n if(finalGlobalTaskSegment.getUnits().size() != 0 && !taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n if(taskUnit instanceof Killer){\n Killer killer = (Killer)taskUnit;\n Unit mostPowerfulUnit = finalGlobalTaskSegment.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, finalGlobalTaskSegment);\n }\n }\n else{\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().size() == 0){\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().contains(taskUnit)){\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n }\n }\n\n else {\n Segment temp = taskUnit.getNearestSegmentToTask(finalGlobalTaskSegment, taskCountry);\n if(temp != null){\n if (temp.getUnits().size() != 0 && !taskCountry.getCountry().contains(temp)) {\n if (taskUnit instanceof Killer) {\n Killer killer = (Killer) taskUnit;\n Unit mostPowerfulUnit = temp.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, temp);\n }\n }\n\n if (temp.getUnits().size() == 0 || taskCountry.getCountry().contains(temp)) {\n taskUnit.move(temp);\n }\n doGoodMovement(temp);\n if (!taskCountry.getCountry().contains(temp)) {\n taskCountry.getCountry().add(temp);\n taskCountry.addSegment(temp);\n taskCountry.fillAbroad();\n }\n\n if(prevYUn == currentY && prevXUn == currentX){\n finalGlobalTaskSegment = taskUnit.getTheNearestSegment(taskCountry, temp);\n taskUnit.move(finalGlobalTaskSegment);\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)) {\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n\n }\n }\n else{\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry)) {\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n if (i > 20) {\n break;\n }\n i++;\n }\n }\n }\n\n count++;\n prevXUn = currentX;\n prevYUn = currentY;\n }\n\n\n //TODO THIRDFIGHTER'S\n if(taskUnit.getClass() == ThirdFighter.class){\n float currentX = taskUnit.getBounds().getX();\n float currentY = taskUnit.getBounds().getY();\n if(finalGlobalTaskSegment != null && taskCountry.getCountry().contains(finalGlobalTaskSegment) && count > 15){\n finalGlobalTaskSegment = null;\n count = 0;\n }\n for (Segment s:\n taskCountry.getAbroad()) {\n if(s.containsFoesThisTypeOfUnits(SecondFighter.class, taskCountry) || s.containsFoesThisTypeOfUnits(FirstFighter.class, taskCountry) || s.containsFoesThisTypeOfUnits(ThirdFighter.class, taskCountry) || s.getSettlement() != null){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n if(finalGlobalTaskSegment == null) {\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) || finalGlobalTaskSegment.getPoint().getClass() == Water.class) {\n finalGlobalTaskSegment = taskCountry.getAbroad().get(rnd.nextInt(taskCountry.getAbroad().size()));\n if (i > GameScreen.map.WIDTH) {\n break;\n }\n i++;\n }\n }\n\n if(finalGlobalTaskSegment == null){\n for (Segment s:\n taskCountry.getCountry()) {\n if(s.canMoveToSegment(taskUnit) && taskUnit.isAbleToMoveToSegement(s) && s.isAbleToHaveMoreUnits(taskCountry) && s.getPoint().getClass() == Water.class){\n finalGlobalTaskSegment = s;\n break;\n }\n }\n }\n\n if(taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) && finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry) && finalGlobalTaskSegment.canMoveToSegment(taskUnit) && taskCountry.canUnitToGoToSegment(finalGlobalTaskSegment)){\n if(finalGlobalTaskSegment.getUnits().size() != 0 && !taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n if(taskUnit instanceof Killer){\n Killer killer = (Killer)taskUnit;\n Unit mostPowerfulUnit = finalGlobalTaskSegment.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, finalGlobalTaskSegment);\n }\n }\n else{\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().size() == 0){\n taskUnit.move(finalGlobalTaskSegment);\n }\n if(finalGlobalTaskSegment.getUnits().contains(taskUnit)){\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)){\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n }\n }\n\n else {\n Segment temp = taskUnit.getNearestSegmentToTask(finalGlobalTaskSegment, taskCountry);\n if(temp != null){\n if (temp.getUnits().size() != 0 && !taskCountry.getCountry().contains(temp)) {\n if (taskUnit instanceof Killer) {\n Killer killer = (Killer) taskUnit;\n Unit mostPowerfulUnit = temp.mostPowerfulUnit();\n killer.killUnit(mostPowerfulUnit, temp);\n }\n }\n\n if (temp.getUnits().size() == 0 || taskCountry.getCountry().contains(temp)) {\n taskUnit.move(temp);\n }\n doGoodMovement(temp);\n if (!taskCountry.getCountry().contains(temp)) {\n taskCountry.getCountry().add(temp);\n taskCountry.addSegment(temp);\n taskCountry.fillAbroad();\n }\n\n if(prevYUn == currentY && prevXUn == currentX){\n finalGlobalTaskSegment = taskUnit.getTheNearestSegment(taskCountry, temp);\n taskUnit.move(finalGlobalTaskSegment);\n doGoodMovement(finalGlobalTaskSegment);\n if(!taskCountry.getCountry().contains(finalGlobalTaskSegment)) {\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n\n }\n }\n else{\n int i = 0;\n Random rnd = new Random();\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n while (!taskUnit.isAbleToMoveToSegement(finalGlobalTaskSegment) || !finalGlobalTaskSegment.canMoveToSegment(taskUnit) || !finalGlobalTaskSegment.isAbleToHaveMoreUnits(taskCountry)) {\n finalGlobalTaskSegment = taskCountry.getCountry().get(rnd.nextInt(taskCountry.getCountry().size()));\n if (i > 20) {\n break;\n }\n i++;\n }\n }\n }\n\n count++;\n prevXUn = currentX;\n prevYUn = currentY;\n }\n\n //TODO SET WORKER'S TASK\n if(taskUnit.getClass() == Worker.class){\n City taskCity = null;\n for (City city:\n taskCountry.getCountryCities()) {\n if(city.hasAreaThisUnit(taskUnit)){\n taskCity = city;\n }\n }\n\n if(taskCity != null) {\n for (Segment segment :\n taskCity.getAreaNearCity()) {\n if (segment.getSettlement() == null && taskUnit.isAbleToMoveToSegement(segment) && segment.isAbleToHaveMoreUnits(taskCountry) && segment.canMoveToSegment(taskUnit)) {\n finalGlobalTaskSegment = segment;\n break;\n }\n }\n\n if (finalGlobalTaskSegment != null) {\n\n Worker worker = (Worker) taskUnit;\n\n if (!worker.isWorking()) {\n worker.move(finalGlobalTaskSegment);\n doGoodMovement(finalGlobalTaskSegment);\n if (!taskCountry.getCountry().contains(finalGlobalTaskSegment)) {\n taskCountry.getCountry().add(finalGlobalTaskSegment);\n taskCountry.addSegment(finalGlobalTaskSegment);\n taskCountry.fillAbroad();\n }\n }\n\n if (finalGlobalTaskSegment.getSettlement() != null) {\n //System.out.println(finalGlobalTaskSegment.getSettlement().getClass().getName() + \" my country is \" + taskCountry.getName());\n }\n\n\n if (finalGlobalTaskSegment.getSettlement() == null) {\n if (!worker.isWorking()) {\n worker.buildSettlement(2);\n } else {\n worker.progressBuilding();\n }\n }\n }\n }\n }\n\n\n\n if(taskActions.contains(Actions.ACTION_MOVE)){\n if(taskUnit.getClass() == Worker.class) {\n Worker worker = (Worker) taskUnit;\n if (!worker.isWorking()) {\n worker.move(taskSegment);\n }\n }else {\n taskUnit.move(taskSegment);\n taskCountry.getCountry().add(taskSegment);\n taskCountry.addSegment(taskSegment);\n taskCountry.fillAbroad();\n }\n for (Segment s:\n taskCountry.getCountry()) {\n if(s != taskSegment && s.hasUnit(taskUnit.getId())){\n s.removeUnit(taskUnit);\n }\n }\n for (Country coun :\n GameScreen.map.countries) {\n if (coun.hasSegment(taskSegment) && coun != taskCountry) {\n coun.deleteSegment(taskSegment);\n coun.getCountry().remove(taskSegment);\n }\n }\n if(taskActions.size() <= 1){\n done = true;\n }\n taskSegment.resetUnitsDrawables();\n }\n\n /*\n if(taskActions.contains(Actions.ACTION_CREATE_FARM)){\n Worker worker = (Worker)taskUnit;\n if(!worker.isWorking()) {\n worker.buildSettlement(2);\n }else{\n worker.progressBuilding();\n }\n if(!worker.isWorking()) {\n done = true;\n }\n }\n\n */\n count++;\n }",
"title": ""
},
{
"docid": "4069cb1a768493f3ddfb0ef12a06787c",
"score": "0.53550035",
"text": "boolean schedule(Collection<ExportedTaskNode> taskNodes);",
"title": ""
},
{
"docid": "dd7eaccd5de7d5f6ba38c942a0d22f82",
"score": "0.5353421",
"text": "public Task getTask(int taskId);",
"title": ""
},
{
"docid": "1b91f27d3f1d33a6df0d958579f5d4fd",
"score": "0.5351153",
"text": "@Test\n public void test6() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder()\n .addNextStatusGraph(\"A\", \"ATask\", StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"B\", \"BTask\").addNextStatusGraph(\"C\", \"CTask\")).build())\n .addTaskChainCriteria(\"A\", \"B\", \"VERSB\").addTaskChainCriteria(\"A\", \"C\", \"VERSC\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"BTask\", new MultiUpdateStatusTaskService(\"B\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CTask\", new MultiUpdateStatusTaskService(\"C\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSB\", new VerifyCodeTaskService(\"VersB\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSC\", new VerifyCodeTaskService(\"VersC\")).build()).build()).build());\n\n BusinessObject firstBusinessObject = new BusinessObject();\n firstBusinessObject.setCode(\"VersB\");\n\n BusinessObject secondBusinessObject = new BusinessObject();\n secondBusinessObject.setCode(\"VersC\");\n\n ITaskCluster firstTaskCluster = engine.startEngine(firstBusinessObject);\n Assert.assertEquals(firstBusinessObject.getStatus(), \"B\");\n\n ITaskCluster secondTaskCluster = engine.startEngine(secondBusinessObject);\n Assert.assertEquals(secondBusinessObject.getStatus(), \"C\");\n\n Assert.assertNotSame(firstTaskCluster, secondTaskCluster);\n\n Assert.assertTrue(firstTaskCluster.isCheckArchived());\n Assert.assertTrue(secondTaskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "f004f453c471fcb4493a84e6d8d036a6",
"score": "0.5349833",
"text": "abstract long perform(TaskListener listener, P param) throws IOException, InterruptedException;",
"title": ""
},
{
"docid": "acea5a1bf12a8321519b2c2cf77f387b",
"score": "0.5343748",
"text": "private final <T> Task<T> a(w<T> paramw) {\n }",
"title": ""
},
{
"docid": "a69ba600d8292405d6943a770be9a8a3",
"score": "0.53350526",
"text": "public void submit(Task<?> task) {\n int receiverProc = (int) ((Math.random() * numOfThreads - 1)); //select a random Processor\n qArray.get(receiverProc).addFirst(task); //add \"task\" to the random processor's Queue\n vm.inc();\n }",
"title": ""
},
{
"docid": "7219625bcf98a0a07300f95d1ff4cb47",
"score": "0.5333411",
"text": "@SuppressWarnings(\"rawtypes\")\n public BaseHibernateTask compounds(BaseHibernateTask otherTask) {\n return null;\n }",
"title": ""
},
{
"docid": "76eecf80ef47889a48d3cac2f022f109",
"score": "0.531876",
"text": "@Test\n @CmmnDeployment\n public void testOneRequiredHumanTask() {\n CaseInstance caseInstance = cmmnRuntimeService.createCaseInstanceBuilder()\n .caseDefinitionKey(\"testOneRequiredHumanTask\")\n .variable(\"required\", true)\n .start();\n \n List<PlanItemInstance> planItemInstances = cmmnRuntimeService.createPlanItemInstanceQuery()\n .caseInstanceId(caseInstance.getId()).orderByName().asc().list();\n assertEquals(2, planItemInstances.size());\n assertEquals(\"Non-required task\", planItemInstances.get(0).getName());\n assertEquals(PlanItemInstanceState.AVAILABLE, planItemInstances.get(0).getState());\n assertEquals(\"Required task\", planItemInstances.get(1).getName());\n assertEquals(PlanItemInstanceState.ACTIVE, planItemInstances.get(1).getState());\n \n Task task = cmmnTaskService.createTaskQuery().caseInstanceId(caseInstance.getId()).singleResult();\n assertEquals(\"Required task\", task.getName());\n \n // Completing the task should autocomplete the plan model, as the plan model is autoComplete enabled\n cmmnTaskService.complete(task.getId());\n assertCaseInstanceEnded(caseInstance);\n \n // Both required and non-required task are made active.\n caseInstance = cmmnRuntimeService.createCaseInstanceBuilder()\n .caseDefinitionKey(\"testOneRequiredHumanTask\")\n .variable(\"required\", true)\n .variable(\"nonRequired\", true)\n .start();\n \n planItemInstances = cmmnRuntimeService.createPlanItemInstanceQuery()\n .caseInstanceId(caseInstance.getId()).orderByName().asc().list();\n assertEquals(2, planItemInstances.size());\n assertEquals(\"Non-required task\", planItemInstances.get(0).getName());\n assertEquals(PlanItemInstanceState.ACTIVE, planItemInstances.get(0).getState());\n assertEquals(\"Required task\", planItemInstances.get(1).getName());\n assertEquals(PlanItemInstanceState.ACTIVE, planItemInstances.get(1).getState());\n \n List<Task> tasks = cmmnTaskService.createTaskQuery().caseInstanceId(caseInstance.getId()).orderByTaskName().asc().list();\n assertEquals(2, tasks.size());\n assertEquals(\"Non-required task\", tasks.get(0).getName());\n assertEquals(\"Required task\", tasks.get(1).getName());\n \n // Completing the required task should not autocomplete the plan model \n cmmnTaskService.complete(tasks.get(1).getId());\n assertCaseInstanceNotEnded(caseInstance);\n \n cmmnTaskService.complete(tasks.get(0).getId());\n assertCaseInstanceEnded(caseInstance);\n }",
"title": ""
},
{
"docid": "94de598b48c243734baa3f125ca67d22",
"score": "0.5313494",
"text": "@Override\n public Result solve(Instance instance, long deadline) {\n ResourceOrder solution = new ResourceOrder(instance);\n //List of task to scheduled\n ArrayList<Task> listToSchedule = new ArrayList<>();\n //time remaining of each job, only used for SRPT, LRPT and EST_LRPT\n int[] remainingTime = new int[instance.numJobs];\n //Initialize List of feasible tasks by the first task of each job\n for (int i = 0; i < instance.numJobs; i++){\n listToSchedule.add(new Task(i,0));\n }\n //Initialize remainingTime[] only for SRPT,LRPT and EST_LRPT\n if (priorityRule.name().endsWith(\"RPT\")){\n for (int i = 0; i < instance.numJobs; i++){\n for (int j = 0; j < instance.numTasks; j ++){\n remainingTime[i] += instance.duration(i,j);\n }\n }\n }\n //Array of end time of each task, if task haven't been processed yet, this value = 0 by default\n int[][] end = new int[instance.numJobs][instance.numTasks];\n //Array of time when each machine is released\n int[] releaseTime = new int[instance.numMachines];\n //While there are still tasks to be executed\n while (listToSchedule.size() > 0){\n Task task;\n //Task given by the corresponding method of glouton\n switch (priorityRule){\n case LPT:\n task = LPT(instance,listToSchedule);\n break;\n case SPT:\n task = SPT(instance,listToSchedule);\n break;\n case LRPT:\n task = LRPT(instance,listToSchedule,remainingTime);\n break;\n case SRPT:\n task = SRPT(instance,listToSchedule,remainingTime);\n break;\n case EST_SPT:\n task = EST_SPT(instance,listToSchedule,end,releaseTime);\n break;\n case EST_LPT:\n task = EST_LPT(instance,listToSchedule,end,releaseTime);\n break;\n case EST_SRPT:\n task = EST_SRPT(instance,listToSchedule,end,releaseTime,remainingTime);\n break;\n case EST_LRPT:\n task = EST_LRPT(instance,listToSchedule,end,releaseTime,remainingTime);\n break;\n default:\n task = EST_SPT(instance,listToSchedule,end,releaseTime);\n break;\n }\n //Machine that execute Task\n int machine = instance.machine(task);\n //Schedule task\n solution.tasksByMachine[machine][solution.nextFreeSlot[machine]++] = task;\n //if Task is not the last one, add the next task to the list of task to scheduled\n if (task.task < instance.numTasks - 1){\n listToSchedule.add(new Task(task.job, task.task + 1));\n }\n }\n return new Result(instance, solution.toSchedule(), Result.ExitCause.Blocked);\n }",
"title": ""
},
{
"docid": "9932db6b2d3b87e5103adf0854bda921",
"score": "0.530943",
"text": "@Test\n public void test17() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"A\", \"ATask\").build())\n .addTaskChainCriteria(null, \"A\", \"(CHANGE1=>CHANGE2)=>(VERSA=>CHANGE3)\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CHANGE1\", new ChangeCodeTaskService(\"VersB\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CHANGE2\", new ChangeCodeTaskService(\"VersA\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CHANGE3\", new ChangeCodeTaskService(\"VersC\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSA\", new VerifyCodeTaskService(\"VersA\")).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getStatus(), \"A\");\n Assert.assertEquals(businessObject.getCode(), \"VersC\");\n Assert.assertTrue(taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "0db89b630dae4ec7b83efde2ee662fbd",
"score": "0.53026474",
"text": "@Test\n public void test4() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder()\n .addNextStatusGraph(\"A\", \"ATask\", StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"B\", \"BTask\").addNextStatusGraph(\"C\", \"CTask\")).build())\n .addTaskChainCriteria(\"A\", \"C\", \"STOP\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"BTask\", new MultiUpdateStatusTaskService(\"B\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CTask\", new MultiUpdateStatusTaskService(\"C\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"STOP\", new StopTaskService()).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getStatus(), \"B\");\n Assert.assertTrue(taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "7848e8559fb3cbbd6278e3eff7576bbb",
"score": "0.5301152",
"text": "@Test\n public void test16() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"A\", \"ATask\").build())\n .addTaskChainCriteria(null, \"A\", \"CHANGE,STOP\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CHANGE\", new ChangeCodeTaskService(\"VersA\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"STOP\", new StopTaskService()).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getStatus(), null);\n Assert.assertTrue(!taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "ee0026c94a89d020e9da3547946dddb8",
"score": "0.529992",
"text": "public void dispatchCall(Task task) {\n\t\taddTask2EmployeeQueue(task);\n\t}",
"title": ""
},
{
"docid": "857fe37560070c7973dc3ebc08f1549e",
"score": "0.5273558",
"text": "@Test\n public void testTask() throws Exception {\n final double DELTA = 1e-15;\n Task task = new Task();\n for (int i = 0; i < MAX_RUNS; i++) {\n populateTask(task, i);\n\n assertEquals(CATEGORY_ICON+i, task.getIcon());\n assertEquals(CATEGORY_NAME+i, task.getTaskName());\n assertEquals((double)i, task.getEarning(), DELTA);\n assertEquals((i % 2) == 0, task.getEnabled());\n }\n }",
"title": ""
},
{
"docid": "43662402eb46560b4d1cee0f18886703",
"score": "0.5265927",
"text": "public interface AiTask1 {\n public Location submitLocationOnExplorations(int numOfExp, int maxStepsForEachExp);\n\n Direction submitPotentialMove(Location currLocation) throws InterruptedException;\n\n Location submitNextLocation(Location currLocation) throws InterruptedException;\n}",
"title": ""
},
{
"docid": "cc0d89d71056ac5fbd3180cda50702ec",
"score": "0.52599144",
"text": "PlanElement findPlanElement(Task task);",
"title": ""
},
{
"docid": "434774d435e65e64e81b870d89f4e4b7",
"score": "0.52407104",
"text": "public T casetask(task object) {\r\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "b4424d9217f0de716e4ae4c2fa7685a4",
"score": "0.5237081",
"text": "@Override\n\tpublic void saveTask(Task task, boolean needAssignmentServer) {\n\t}",
"title": ""
},
{
"docid": "05f43f6607decebaadb8be1b0e032c26",
"score": "0.523589",
"text": "public Task() {\r\n\t\tqueueTime = -1;\r\n\t\tstartTime = -1;\r\n\t\tstopTime = -1;\r\n\t\telapTime = -1;\r\n\t\toverdueTime = -1;\r\n\t\tjobName = null;\r\n\t\tjobID = null;\r\n\t\twflowNode = null;\r\n\t\tnwflowNode = null;\r\n\t\tuser = null;\r\n\t\tparentJobIDs = null;\r\n\t\texitStatus = -1;\r\n\t\tcompleted = 0.0;\r\n\t\tisStarted = false;\r\n\t\texpectedRunTime = defaultExpectedRunTime;\r\n\t\textraInfo = \"Empty\";\r\n\t\tunitName = null;\r\n\t}",
"title": ""
},
{
"docid": "d555a1d876ff7a98f4f50bdccca83da4",
"score": "0.52315915",
"text": "public interface Task<T> {\n /**\n * @return task.\n * @throws FileNotFoundException if fill isn`t found.\n */\n T run() throws FileNotFoundException;\n\n}",
"title": ""
},
{
"docid": "8685a64cd371cee1c341a21c48caf5d1",
"score": "0.5230143",
"text": "private TypicalTasks() {\n }",
"title": ""
},
{
"docid": "0421686e4da3ee2718a04853ea399686",
"score": "0.5227098",
"text": "@Override\n\t\tprotected Task<Void> createTask() {\n\t\t\treturn new Task<Void>() {\n\n\t\t\t\t@Override\n\t\t\t\tprotected Void call() throws Exception {\n\t\t\t \treturn null;\n\t\t\t\t}\t\n\t\t\t};\n\t\t}",
"title": ""
},
{
"docid": "879e96cf6c57e7d8fa219a765adf7db4",
"score": "0.52246845",
"text": "@Test\n public void test5() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class)\n .statusGraphs(StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"A\", \"ATask\", StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"B\", \"BTask\")).build())\n .addTaskChainCriteria(\"A\", \"B\", \"VERSB\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"BTask\", new MultiUpdateStatusTaskService(\"B\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"VERSB\", new VerifyCodeTaskService(\"VersB\")).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n businessObject.setCode(\"VersA\");\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getCode(), \"VersA\");\n Assert.assertEquals(businessObject.getStatus(), \"A\");\n\n businessObject.setCode(\"VersB\");\n\n engine.startEngine(taskCluster);\n\n Assert.assertEquals(businessObject.getCode(), \"VersB\");\n Assert.assertEquals(businessObject.getStatus(), \"B\");\n Assert.assertTrue(taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "18f45cfe49771eefcee795f6576c0137",
"score": "0.5223439",
"text": "private TaskResult executeTask(ConsumerTask task) {\n long startTime = System.currentTimeMillis();\n ArrayList<FutureTask<MessageResult>> msgSenderList = new ArrayList<>();\n TaskResult taskResult = new TaskResult();\n ExecutorService execService = Executors.newCachedThreadPool();\n \n //start a message sender (thread) each period during the given duration\n while ((System.currentTimeMillis() - startTime) < task.getDuration()) {\n\n MessageSender msgSender = new MessageSender(task.produceMessage(), task.getProducerWsdl(),\n task.getProcessingTime(), task.getRequestSize(), task.getResponseSize());\n FutureTask<MessageResult> senderTask = new FutureTask<>(msgSender);\n msgSenderList.add(senderTask);\n execService.execute(senderTask);\n try {\n Thread.sleep(task.getPeriod());\n } catch (InterruptedException ex) {\n Logger.getLogger(ScenarioManager.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n \n //Wait and stop the message senders after a given duration (timeout)\n for(FutureTask<MessageResult> msgSender : msgSenderList){\n try {\n MessageResult msgResult = msgSender.get(MAX_RTT+task.getProcessingTime(), TimeUnit.MINUTES);\n taskResult.getTimeToSend().add(msgResult.getRequestTime());\n taskResult.getTimeToReceive().add(msgResult.getResponseTime());\n \n } catch (InterruptedException | ExecutionException ex) {\n Logger.getLogger(ScenarioManager.class.getName()).log(Level.SEVERE, null, ex);\n } catch (TimeoutException ex) {\n //report loss\n taskResult.getTimeToSend().add(new Long(-1));\n taskResult.getTimeToReceive().add(new Long(-1));\n }\n }\n execService.shutdown();\n return taskResult;\n \n }",
"title": ""
},
{
"docid": "70b1770a2f7d5e2b9db967f995df3bb8",
"score": "0.52231145",
"text": "boolean willProcess(ApiTask task, int status);",
"title": ""
},
{
"docid": "2916302951b8682dddea2424db4e789e",
"score": "0.5222394",
"text": "public TaskResult runSingle(RTask runnableTask) throws TaskFailException {\n Future<TaskResult> taskResultFuture = executor.submit(runnableTask);\n\n try {\n TaskResult result = taskResultFuture.get();\n if (result.isSuccess()) {\n LOGGER.info(String.format(\"execute success! \\n %s\",\n runnableTask.getSql()));\n return result;\n }\n throw new TaskFailException(\"run fail : result is not success\");\n } catch (InterruptedException |\n ExecutionException e) {\n runnableTask.free();\n if (LOGGER.isDebugEnabled()) {\n e.printStackTrace();\n }\n String err = \"runSingle execute fail caused by \" + e.getMessage();\n LOGGER.error(String.format(\"runSingle execute fail \\n %s \\n %s\",\n runnableTask.getSql(), e.getMessage()));\n throw new TaskFailException(err);\n }\n }",
"title": ""
},
{
"docid": "6c21ebe04ceb8fdbf4a553f922f80e60",
"score": "0.52212983",
"text": "Task(String name) {\n this.name = name;\n this.status = NOT_DONE;\n }",
"title": ""
},
{
"docid": "2d068deba5721dd10f1bb5ac34503e9a",
"score": "0.5213525",
"text": "public void checkTask(String task){\r\n\tif (task == \"washDishes\") {\r\n\twashDishes();\r\n\t}\r\n\t\t\r\n}",
"title": ""
},
{
"docid": "f76cb2bdf5c69f13f5d9020dedcc7c9d",
"score": "0.5210728",
"text": "Optional<Task> runTask(Object plugin, Runnable task);",
"title": ""
},
{
"docid": "db1f01d3772ea42816f10882de69b12e",
"score": "0.5189306",
"text": "public int simulate() {\n\t\twhile (this.tasks.size() > 0) {\n\t\t\tTask task = this.tasks.tasks[1];\n\t\t\tif (task != null && task.time > 0) {\n\t\t\t\ttask.time--;\n\t\t\t\tmap[task.getId()].setPriority(map[task.getId()].getPriority());\n\t\t\t\tif (task.time == 0) {\n\t\t\t\t\tint id = task.getId();\n\t\t\t\t\tthis.tasks.pop();\n\t\t\t\t\tmap[id] = null;\n\t\t\t\t\treturn id;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn SIMULATE_NONE_FINISHED;\n\t\t\t}\n\t\t}\t\t\n\t\treturn SIMULATE_IDLE;\n\t\n\t}",
"title": ""
},
{
"docid": "ca94a6a75cd44d8afe764b2d618c29bd",
"score": "0.51882577",
"text": "ExecutorService mo38944a();",
"title": ""
},
{
"docid": "8d1867f15c609c3842e3d6091ddc70ab",
"score": "0.51879406",
"text": "Task getTask(PerunSession perunSession, Service service, Facility facility);",
"title": ""
},
{
"docid": "7757c950a745c9c701c347a0013fd88d",
"score": "0.51728475",
"text": "@Override\n public boolean execute() {\n Task task;\n switch (taskType) {\n case ToDo:\n task = new ToDo(name);\n break;\n case Deadline:\n task = new Deadline(name, time);\n break;\n case Event:\n task = new Event(name, time);\n break;\n default:\n return false;\n }\n taskList.add(task);\n if (!silent) {\n String msg = \"Got it. I've added this task: \\n\";\n msg += \" \" + task.toString() + \"\\n\";\n msg += \"Now you have \" + taskList.size() + \" task(s) in the list. \";\n Duke.getUI().showResponse(msg);\n }\n return true;\n }",
"title": ""
},
{
"docid": "e2726e34dec437de7a407a242902ccca",
"score": "0.517283",
"text": "@Test\n\tpublic void allocateTaskFromBuffer() throws InterruptedException {\n\n\t\tTaskRepository repository = RepositoryBuilder.buildTaskRepository();\n\n\t\tAllocator allocator = new Allocator(repository);\n\n\t\tString requestorId = \"RJ12\";\n\n\t\tTask task1 = allocator.allocate(requestorId);\n\t\tassertEquals(requestorId, task1.getAssignedTo());\n\t\tassertEquals(1, task1.getId());\n\n\t\tTask task2 = allocator.allocate(requestorId);\n\t\tassertEquals(requestorId, task2.getAssignedTo());\n\t\tassertEquals(2, task2.getId());\n\n\t\tTask task4 = allocator.allocate(requestorId);\n\t\tassertEquals(requestorId, task4.getAssignedTo());\n\t\tassertEquals(4, task4.getId());\n\n\t\tTask task6 = allocator.allocate(requestorId);\n\t\tassertEquals(requestorId, task6.getAssignedTo());\n\t\tassertEquals(6, task6.getId());\n\n\t\tnoTaskException.expect(NoTaskException.class);\n\t\tallocator.allocate(requestorId);\n\t}",
"title": ""
},
{
"docid": "c0c906d017a65c355bdb6956a7778d24",
"score": "0.5170646",
"text": "@Override\r\n\tprotected BaseQueue<BaseQueueElement> offerTask() {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "e4d09d55d075c43fb65b81e7c1bd36cd",
"score": "0.51635414",
"text": "void runAsIsolatedTask();",
"title": ""
},
{
"docid": "8ea7b3576a6764cb06322c8ae204b5a8",
"score": "0.51616824",
"text": "public interface BsjCompilerTask extends Comparable<BsjCompilerTask>\n{\n\t/**\n\t * Executes this task. If errors occur, they are reported to the diagnostic listener on the metacompilation\n\t * manager.\n\t * \n\t * @param context The context in which this task should operate.\n\t * @throws IOException If an I/O error occurs.\n\t */\n\tpublic void execute(MetacompilationContext context) throws IOException;\n\t\n\t/**\n\t * Retrieves the {@link TaskPriority} of this compiler task.\n\t */\n\tpublic TaskPriority getPriority();\n\t\n\t/**\n\t * Retrieves a value uniquely identifying this {@link BsjCompilerTask}. This UID applies only to the specific class\n\t * of compiler task the instance represents; two different class instances may have different UID namespaces.\n\t */\n\tpublic int getUid();\n}",
"title": ""
},
{
"docid": "a1711eb8afc25040c2105b43479b8788",
"score": "0.5156921",
"text": "protected abstract void runSubtask(int subtask);",
"title": ""
},
{
"docid": "04645a9a7b3c2ada7e8ac40951780884",
"score": "0.5151353",
"text": "private Job doHashTask(HashTask task) {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "1d0c3ccf0bb9d5cfeb222cac19df5ee0",
"score": "0.5147237",
"text": "@Test\n public void testPoolIsReady() {\n LightFuture<Integer> task = pool.submit(() -> 5553535);\n\n assertThat(task.get(), is(5553535));\n assertTrue(task.isReady());\n }",
"title": ""
},
{
"docid": "bd4d0028dca836ef3ae5ba72422e2daf",
"score": "0.51456153",
"text": "void startSAMWorkerTask();",
"title": ""
},
{
"docid": "90426abb5b911cdecfa41c1ddf731289",
"score": "0.5132276",
"text": "@Test\n public void test3() {\n TaskManagerEngine engine = new TaskManagerEngine(TaskManagerConfigurationBuilder.newBuilder().taskObjectManagerRegistry(TaskObjectManagerRegistryBuilder.newBuilder().addTaskObjectManager(\n TaskObjectManagerBuilder.<String, BusinessObject>newBuilder(BusinessObject.class).statusGraphs(StatusGraphsBuilder.<String>newBuilder()\n .addNextStatusGraph(\"A\", \"ATask\", StatusGraphsBuilder.<String>newBuilder().addNextStatusGraph(\"B\", \"BTask\").addNextStatusGraph(\"C\", \"CTask\")).build())\n .addTaskChainCriteria(\"A\", \"B\", \"STOP\").build()).build()).taskDefinitionRegistry(\n TaskDefinitionRegistryBuilder.newBuilder().addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"ATask\", new MultiUpdateStatusTaskService(\"A\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"BTask\", new MultiUpdateStatusTaskService(\"B\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"CTask\", new MultiUpdateStatusTaskService(\"C\")).build())\n .addTaskDefinition(TaskDefinitionBuilder.newBuilder(\"STOP\", new StopTaskService()).build()).build()).build());\n\n BusinessObject businessObject = new BusinessObject();\n\n ITaskCluster taskCluster = engine.startEngine(businessObject);\n\n Assert.assertEquals(businessObject.getStatus(), \"C\");\n Assert.assertTrue(taskCluster.isCheckArchived());\n }",
"title": ""
},
{
"docid": "52d2372023c720c769d2337264101741",
"score": "0.5131559",
"text": "CalcTaskWithOverheadHoursVar createCalcTaskWithOverheadHoursVar();",
"title": ""
},
{
"docid": "1c3da91debb868df0f653e3b6ccf38d4",
"score": "0.51307684",
"text": "@Test\n public void testPoolThenApply() {\n LightFuture<Integer> task1 = pool.submit(() -> 5553535);\n LightFuture<String> task2 = task1.thenApply((num) -> String.valueOf(num) + \"123\");\n LightFuture<Integer> task3 = task2.thenApply(String::length);\n\n assertThat(task1.get(), is(5553535));\n assertThat(task2.get(), is(\"5553535123\"));\n assertThat(task3.get(), is(10));\n }",
"title": ""
},
{
"docid": "ce9fc18412682cfec70708fda3c4ba68",
"score": "0.51194704",
"text": "Task save(Task task);",
"title": ""
},
{
"docid": "c5e35ff9c9ccfdbf44faa228d6f8dbbe",
"score": "0.51189154",
"text": "public void testSchedule1() throws Exception {\n final ScheduledThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1);\n try (PoolCleaner cleaner = cleaner(p)) {\n final long startTime = System.nanoTime();\n final CountDownLatch done = new CountDownLatch(1);\n Callable task = new CheckedCallable<Boolean>() {\n public Boolean realCall() {\n done.countDown();\n assertTrue(millisElapsedSince(startTime) >= timeoutMillis());\n return Boolean.TRUE;\n }};\n Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);\n assertSame(Boolean.TRUE, f.get());\n assertTrue(millisElapsedSince(startTime) >= timeoutMillis());\n assertTrue(done.await(0L, MILLISECONDS));\n }\n }",
"title": ""
},
{
"docid": "1ae4c94f03e260199d3a9a57b62714c5",
"score": "0.51177526",
"text": "private Task generateTaskWithName(String name) throws Exception {\n return new Task(\n new Title(name),\n Optional.ofNullable(new Deadline(\"today\")),\n Optional.ofNullable(new Deadline(\"next wed 2359\")),\n false,\n new UniqueLabelList(new Label(\"label\")),\n false,\n Optional.empty()\n );\n }",
"title": ""
},
{
"docid": "fc994632e6c0422d0cbf216b8b8b6a61",
"score": "0.51079184",
"text": "@NonNull\n\tprotected Callable<T> createRequestTask() {\n\t\treturn () -> {\n\t\t\ttimer.start();\n\t\t\tT result = executeRequest();\n\t\t\tdouble time = timer.getElapsedTime();\n\t\t\tif (time < minExecutionTime) {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep((long) (minExecutionTime - time));\n\t\t\t\t} catch (InterruptedException ignored) {\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!disableLogging) {\n\t\t\t\tgetLogger().debug(requestCodeLine.toString(), String.format(Locale.getDefault(), \"Execution of \" + getClassName() + \" took: %.3fms\", timer.getElapsedTime()));\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t}",
"title": ""
},
{
"docid": "e50e125f980995d585f35b8495059833",
"score": "0.50986725",
"text": "Future<TaskHandle> scheduleAsync(final P payload) throws Exception;",
"title": ""
},
{
"docid": "fa3836dea4531972a7904790f6fe2ada",
"score": "0.5097508",
"text": "public boolean addOneTask(int executeTime, Task s){\n tasks.put(executeTime, s); \n recentAddTaskTime = executeTime;\n return true;\n }",
"title": ""
},
{
"docid": "779561ada3dd645ed3ca1197956142e5",
"score": "0.5088793",
"text": "@Override\r\n \t\t\t public void run() {\n \t\t\t \t \r\n \t\t\t \t TimeTask tmTask = new TimeTask(); \r\n \t\t\t \t tmTask.execute();\r\n \t\t\t }",
"title": ""
}
] |
660df7bf73f08dd16e17a9aaab4d831a | Set if |type| is |TPD_MANAGER_| optional .android_studio.TraceProcessorDaemonManagerStats tpd_manager_stats = 18; | [
{
"docid": "93086317276d98f129f8b723ca8b5318",
"score": "0.70456845",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStatsOrBuilder getTpdManagerStatsOrBuilder() {\n return tpdManagerStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.getDefaultInstance() : tpdManagerStats_;\n }",
"title": ""
}
] | [
{
"docid": "91a974d26bc73674ccce1d3b18dfd4a1",
"score": "0.73826176",
"text": "public Builder setTpdManagerStats(com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats value) {\n if (tpdManagerStatsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n tpdManagerStats_ = value;\n onChanged();\n } else {\n tpdManagerStatsBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00020000;\n return this;\n }",
"title": ""
},
{
"docid": "4856bba6bd53a59211281632a13a1c9b",
"score": "0.72447693",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats getTpdManagerStats() {\n if (tpdManagerStatsBuilder_ == null) {\n return tpdManagerStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.getDefaultInstance() : tpdManagerStats_;\n } else {\n return tpdManagerStatsBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "97f0bc8983c3abae8e5de0ee82158a78",
"score": "0.7205711",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats getTpdManagerStats() {\n return tpdManagerStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.getDefaultInstance() : tpdManagerStats_;\n }",
"title": ""
},
{
"docid": "256778122f211d047c34b6c6afa949c5",
"score": "0.6982128",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStatsOrBuilder getTpdManagerStatsOrBuilder() {\n if (tpdManagerStatsBuilder_ != null) {\n return tpdManagerStatsBuilder_.getMessageOrBuilder();\n } else {\n return tpdManagerStats_ == null ?\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.getDefaultInstance() : tpdManagerStats_;\n }\n }",
"title": ""
},
{
"docid": "54de952fbd09ec22020ff22a2e05bedd",
"score": "0.69662976",
"text": "public Builder setTpdManagerStats(\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.Builder builderForValue) {\n if (tpdManagerStatsBuilder_ == null) {\n tpdManagerStats_ = builderForValue.build();\n onChanged();\n } else {\n tpdManagerStatsBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00020000;\n return this;\n }",
"title": ""
},
{
"docid": "967860ac3338d4ddb3fb127d0230e378",
"score": "0.68781495",
"text": "public Builder mergeTpdManagerStats(com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats value) {\n if (tpdManagerStatsBuilder_ == null) {\n if (((bitField0_ & 0x00020000) != 0) &&\n tpdManagerStats_ != null &&\n tpdManagerStats_ != com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.getDefaultInstance()) {\n tpdManagerStats_ =\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.newBuilder(tpdManagerStats_).mergeFrom(value).buildPartial();\n } else {\n tpdManagerStats_ = value;\n }\n onChanged();\n } else {\n tpdManagerStatsBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00020000;\n return this;\n }",
"title": ""
},
{
"docid": "e346f84a340aec970bc756b5b460664e",
"score": "0.65953887",
"text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats, com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.Builder, com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStatsOrBuilder>\n getTpdManagerStatsFieldBuilder() {\n if (tpdManagerStatsBuilder_ == null) {\n tpdManagerStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats, com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.Builder, com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStatsOrBuilder>(\n getTpdManagerStats(),\n getParentForChildren(),\n isClean());\n tpdManagerStats_ = null;\n }\n return tpdManagerStatsBuilder_;\n }",
"title": ""
},
{
"docid": "d8254732b0f090024cf550e3f7319925",
"score": "0.6456249",
"text": "public boolean hasTpdManagerStats() {\n return ((bitField0_ & 0x00020000) != 0);\n }",
"title": ""
},
{
"docid": "5f454cb2421a64091bb3e5ab713cd0fd",
"score": "0.64248955",
"text": "public boolean hasTpdManagerStats() {\n return ((bitField0_ & 0x00020000) != 0);\n }",
"title": ""
},
{
"docid": "36861279e462206f914900a32ecc3c40",
"score": "0.63053244",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats.Builder getTpdManagerStatsBuilder() {\n bitField0_ |= 0x00020000;\n onChanged();\n return getTpdManagerStatsFieldBuilder().getBuilder();\n }",
"title": ""
},
{
"docid": "b712413b5e3c945ed68a883a8e094f73",
"score": "0.6209756",
"text": "public Builder clearTpdManagerStats() {\n if (tpdManagerStatsBuilder_ == null) {\n tpdManagerStats_ = null;\n onChanged();\n } else {\n tpdManagerStatsBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00020000);\n return this;\n }",
"title": ""
},
{
"docid": "cb1ba2327b774053fd40a19f910c8dce",
"score": "0.5474803",
"text": "public Builder setTpdQueryStats(com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats value) {\n if (tpdQueryStatsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n tpdQueryStats_ = value;\n onChanged();\n } else {\n tpdQueryStatsBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00040000;\n return this;\n }",
"title": ""
},
{
"docid": "014c7f5b2b0286751e19a56c5376f07e",
"score": "0.5274657",
"text": "public GPAGameTouchHandler(CatcherGameManager<GPAGameStatus> manager) {\n status = manager.getLevel();\n }",
"title": ""
},
{
"docid": "b565030add764f3e16390d6b4ce8f22d",
"score": "0.5247474",
"text": "public void setTransportManager(final org.apache.axis2.engine.xsd.ListenerManager param) {\n this.localTransportManagerTracker = true;\n\n this.localTransportManager = param;\n\n\n }",
"title": ""
},
{
"docid": "bd9af7db03fa4b0700446313ebf99b24",
"score": "0.5233366",
"text": "public void setToolManager(ToolManager manager)\n\t{\n\t\ttoolManager = manager;\n\t}",
"title": ""
},
{
"docid": "33cf6a5ed4b93c4e6e89369a3fe6ee6e",
"score": "0.51914483",
"text": "public ManagerInformation(String manager, int onlineTabletServers, int totalTabletServers,\n String lastGC, int tablets, int unassignedTablets, long entries, double ingest,\n double entriesRead, double entriesReturned, long holdTime, double osLoad, int tables,\n int deadTabletServersCount, long lookups, long uptime, String gcStatus,\n String managerGoalState, String managerState, BadTabletServers badTabletServers,\n ServersShuttingDown tabletServersShuttingDown, DeadServerList deadTabletServers,\n DeadLoggerList deadLoggers) {\n\n this.manager = manager;\n this.onlineTabletServers = onlineTabletServers;\n this.totalTabletServers = totalTabletServers;\n this.lastGC = lastGC;\n this.tablets = tablets;\n this.unassignedTablets = unassignedTablets;\n this.numentries = entries;\n this.ingestrate = ingest;\n this.entriesRead = entriesRead;\n this.queryrate = entriesReturned;\n this.holdTime = holdTime;\n this.osload = osLoad;\n this.tables = tables;\n this.deadTabletServersCount = deadTabletServersCount;\n this.lookups = lookups;\n this.uptime = uptime;\n this.gcStatus = gcStatus;\n this.managerGoalState = managerGoalState;\n this.managerState = managerState;\n this.badTabletServers = badTabletServers;\n this.tabletServersShuttingDown = tabletServersShuttingDown;\n this.deadTabletServers = deadTabletServers;\n this.deadLoggers = deadLoggers;\n }",
"title": ""
},
{
"docid": "5d78572a627f8b7141c8b80ca482af0c",
"score": "0.51363504",
"text": "public Builder setTpdQueryStats(\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.Builder builderForValue) {\n if (tpdQueryStatsBuilder_ == null) {\n tpdQueryStats_ = builderForValue.build();\n onChanged();\n } else {\n tpdQueryStatsBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00040000;\n return this;\n }",
"title": ""
},
{
"docid": "62c9892916053a365ee3229e479a2f55",
"score": "0.51160926",
"text": "@Override\r\n\tpublic void setManager(Manager manager) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "71b8ec5f1e8eb1c1b6a91bfaf3230fda",
"score": "0.5006243",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats getTpdQueryStats() {\n if (tpdQueryStatsBuilder_ == null) {\n return tpdQueryStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.getDefaultInstance() : tpdQueryStats_;\n } else {\n return tpdQueryStatsBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "856da4abe963b76a4804e93b8c2b4f6b",
"score": "0.4956192",
"text": "@Override\r public void setNanoStats( boolean nanoTiming ) {\r _nanoStats = nanoTiming;\r }",
"title": ""
},
{
"docid": "c7994e504af02e86d10b896845b5a84c",
"score": "0.49090448",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats getTpdQueryStats() {\n return tpdQueryStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.getDefaultInstance() : tpdQueryStats_;\n }",
"title": ""
},
{
"docid": "f85294889bf975fa4eca4b6b9c0b8ac6",
"score": "0.48996386",
"text": "public boolean isManagerSetted() {\n\t\treturn getManager() != null;\n\t}",
"title": ""
},
{
"docid": "d27d6471d83a7cd32653721e1718439a",
"score": "0.4898267",
"text": "@Override\n protected Class getManagerClass() {\n return APPBS_USUARIOS_LOG_LEGEND_MANAGER.class;\n }",
"title": ""
},
{
"docid": "6b0a1c3ac311d828f764232ece03488f",
"score": "0.48874062",
"text": "public Builder mergeTpdQueryStats(com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats value) {\n if (tpdQueryStatsBuilder_ == null) {\n if (((bitField0_ & 0x00040000) != 0) &&\n tpdQueryStats_ != null &&\n tpdQueryStats_ != com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.getDefaultInstance()) {\n tpdQueryStats_ =\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.newBuilder(tpdQueryStats_).mergeFrom(value).buildPartial();\n } else {\n tpdQueryStats_ = value;\n }\n onChanged();\n } else {\n tpdQueryStatsBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00040000;\n return this;\n }",
"title": ""
},
{
"docid": "97a9256af325f032643d26d11e734d91",
"score": "0.48561883",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStatsOrBuilder getTpdQueryStatsOrBuilder() {\n if (tpdQueryStatsBuilder_ != null) {\n return tpdQueryStatsBuilder_.getMessageOrBuilder();\n } else {\n return tpdQueryStats_ == null ?\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.getDefaultInstance() : tpdQueryStats_;\n }\n }",
"title": ""
},
{
"docid": "bc0d6f029b527c19a7e8723aa42f45f8",
"score": "0.48389772",
"text": "void setPluginManager(PluginManager manager) {\n\t\tthis.pluginManager = manager;\n\t}",
"title": ""
},
{
"docid": "63eda549cd95b56fc30c2bdaa53e771e",
"score": "0.4835447",
"text": "public void getManager(String uid, int type) {\n DatabaseReference divRef = MyFirebase.getInstance().getFdb().getReference(Constants.WORKER_PATH);\n divRef = divRef.child(uid);\n divRef.addValueEventListener(managerChangedListener);\n }",
"title": ""
},
{
"docid": "e092e16a5fd2551cbcad470911f5d409",
"score": "0.48284462",
"text": "public PackageManagerStatistics getPkgManagerStats() {\n return pkgManagerStats;\n }",
"title": ""
},
{
"docid": "42c63936faeae7b6cdc5a1638c6e013e",
"score": "0.47961158",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStatsOrBuilder getTpdQueryStatsOrBuilder() {\n return tpdQueryStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.getDefaultInstance() : tpdQueryStats_;\n }",
"title": ""
},
{
"docid": "934b1a932fdcf41ac587057bcb7aa4e1",
"score": "0.47728187",
"text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats, com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.Builder, com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStatsOrBuilder>\n getTpdQueryStatsFieldBuilder() {\n if (tpdQueryStatsBuilder_ == null) {\n tpdQueryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats, com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.Builder, com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStatsOrBuilder>(\n getTpdQueryStats(),\n getParentForChildren(),\n isClean());\n tpdQueryStats_ = null;\n }\n return tpdQueryStatsBuilder_;\n }",
"title": ""
},
{
"docid": "6e6e21cd0538ed3c660b545e5ed81b8e",
"score": "0.47132662",
"text": "private void storeAgentStatsDetails(QueueManager qManager, Integer tenantGrpId) {\r\n\t\tStringBuilder sb \t= new StringBuilder();\r\n\t\tsb.append(Constants.TENANT_GRP_ID).append(\"=\").append(tenantGrpId).append(\"&\").append(Constants.TENANT_GRP_NAME).append(\"=\").append(QMTenantGroupStore.getInstance().getTGDetailsByTGPkey(tenantGrpId));\r\n\r\n\t\tif (_infoLog) {\r\n\t\t\t_logger.info(\" [agentStatsDetails] ::Sending request to QM tenant group = \" + tenantGrpId);\r\n\t\t}\r\n\r\n\t\tString result = qManager.getAgentMonitorDetails(Constants.GET_AGENT_MONITOR_SERVLET, sb ,tenantGrpId+\"\");\r\n\t\tif (_infoLog) {\r\n\t\t\t_logger.info(\" [agentStatsDetails] :: Result from name for QM = \" + result + \" for tenant group = \" + tenantGrpId);\r\n\t\t}\r\n\r\n\t\tAgentMonitorStore.getInstance().addAgentMonitoreData(tenantGrpId, result);\r\n\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "6278329a43993ac48592d384e20476ee",
"score": "0.46734217",
"text": "public CpuMon(TelephonyManager telManager)\n\t{\n\t\tCpuMon.telManager = telManager;\n\t\treadStats();\n\t}",
"title": ""
},
{
"docid": "728af89f632142652693ec8c84739dae",
"score": "0.4636384",
"text": "protected TimeManager getTimeManager()\r\n {\r\n return myTimeManager;\r\n }",
"title": ""
},
{
"docid": "6d92cc5435edd9d197a3c2b077f53c42",
"score": "0.46226427",
"text": "@Override\n public GenericManager<DemandeExplication, Long> getManager() {\n return manager;\n }",
"title": ""
},
{
"docid": "b2398a22bfdb58d135fd40f7bd43c1be",
"score": "0.46174484",
"text": "public com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo getTransportDaemonStartedInfo() {\n return transportDaemonStartedInfo_ == null ? com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo.getDefaultInstance() : transportDaemonStartedInfo_;\n }",
"title": ""
},
{
"docid": "0eb17b688869438016883634145e5a4d",
"score": "0.46078995",
"text": "public void setManager(ImportManager tmp) {\n this.manager = tmp;\n }",
"title": ""
},
{
"docid": "6b256c622ffd33459b132501ad2c77de",
"score": "0.45963866",
"text": "@Override\r\n public GenericManager<Echeancier, Long> getManager() {\r\n return manager;\r\n }",
"title": ""
},
{
"docid": "c57686cbc556e47218bd2712067b2383",
"score": "0.45961973",
"text": "public String getManager() {\n return \"No midle man\"; \r\n }",
"title": ""
},
{
"docid": "1aab8b935851709c6cf2699660bd3a9b",
"score": "0.4592474",
"text": "public void setManagerId(int manager_id) {\n\t\tthis.manager_id = manager_id;\n\t}",
"title": ""
},
{
"docid": "f8b3aefadd17d13e26634164b9ebe892",
"score": "0.45891023",
"text": "public com.google.wireless.android.sdk.stats.TransportDaemonStartedInfoOrBuilder getTransportDaemonStartedInfoOrBuilder() {\n return transportDaemonStartedInfo_ == null ? com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo.getDefaultInstance() : transportDaemonStartedInfo_;\n }",
"title": ""
},
{
"docid": "dbd5497b0d12b9a83c573d2e01e134b6",
"score": "0.45643568",
"text": "public void setManager(LayoutManager manager) {\n this.manager = manager;\n }",
"title": ""
},
{
"docid": "65d1094bcf3c02e0e68ba5c153ebdd84",
"score": "0.45273387",
"text": "private void setTrakerSettings() {\n settings = new TrackerSettings()\n .setUseGPS(true)\n .setUseNetwork(true)\n .setUsePassive(true)\n .setTimeBetweenUpdates(4000)\n .setMetersBetweenUpdates(1);\n }",
"title": ""
},
{
"docid": "5efc3e0098efc2f0edad76c7a1b3c831",
"score": "0.45180595",
"text": "private TaskManager getTaskManager(){\r\n\t\t/*if(taskManager == null)\r\n\t\t\ttaskManager = new TaskManager(this);\r\n\t\treturn taskManager;*/\r\n\t\t\r\n\t\treturn taskManager == null ? taskManager = new TaskManager(this) :taskManager;\r\n\t}",
"title": ""
},
{
"docid": "84f2c2549a39c73f8024d5fd582153ce",
"score": "0.45037517",
"text": "public void setManagerId(Long managerId) {\n this.managerId = managerId;\n }",
"title": ""
},
{
"docid": "d881c956955a3dd25765e785a596de74",
"score": "0.44801733",
"text": "@Override\n public GenericManager<PointageJouranlier, Long> getManager() {\n return manager;\n }",
"title": ""
},
{
"docid": "35882bdaaa2ac95f7ef2e0d1a59c3c0b",
"score": "0.44750112",
"text": "@Bean\n\tpublic Step managerStep() {\n\t\treturn this.managerStepBuilderFactory.get(\"managerStep\")\n\t\t\t.partitioner(\"workerStep\", new BasicPartitioner())\n\t\t\t.gridSize(GRID_SIZE)\n\t\t\t.outputChannel(requests())\n\t\t\t.build();\n\t}",
"title": ""
},
{
"docid": "bc5e0e8eae2a7f4f1da70ec343612da5",
"score": "0.44705203",
"text": "public Builder setType(com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value.getNumber();\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "bde2805eb7540aad42cf61a42818298c",
"score": "0.44622058",
"text": "public com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type getType() {\n @SuppressWarnings(\"deprecation\")\n com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type result = com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type.valueOf(type_);\n return result == null ? com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type.UNKNOWN_TYPE : result;\n }",
"title": ""
},
{
"docid": "dd9b9b82cbf045c6e99e32705181b6a4",
"score": "0.44354904",
"text": "public void setTransceiverManager(ITransceiverManager manager) {\r\n\t\tthis.manager = manager;\r\n\t\tif (manager != null) {\r\n\t\t\tsuper.setTransceiverManager(new TransceiverManager(manager));\t\r\n\t\t} else {\r\n\t\t\tsuper.setTransceiverManager(null);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "44d9c995571fab4a42d713824bd023e4",
"score": "0.44302398",
"text": "public com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type getType() {\n @SuppressWarnings(\"deprecation\")\n com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type result = com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type.valueOf(type_);\n return result == null ? com.google.wireless.android.sdk.stats.AndroidProfilerEvent.Type.UNKNOWN_TYPE : result;\n }",
"title": ""
},
{
"docid": "b343dcf2321afbbbc3dffd75c38ae34b",
"score": "0.441829",
"text": "public static void startTabSwitchLatencyTiming(final @TabSelectionType int type) {\n sTabSwitchStartTime = SystemClock.uptimeMillis();\n sTabSelectionType = type;\n sTabSwitchLatencyMetricRequired = false;\n sPerceivedTabSwitchLatencyMetricLogged = false;\n }",
"title": ""
},
{
"docid": "454ee859fc392951594a214f5a1be7ac",
"score": "0.44147652",
"text": "public com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo getTransportDaemonStartedInfo() {\n if (transportDaemonStartedInfoBuilder_ == null) {\n return transportDaemonStartedInfo_ == null ? com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo.getDefaultInstance() : transportDaemonStartedInfo_;\n } else {\n return transportDaemonStartedInfoBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "c532dff670c05e9a8ded824295b74443",
"score": "0.44097584",
"text": "@Override\n public void managerStateChanged(ptolemy.actor.Manager manager) {\n State state = manager.getState();\n LOGGER.trace(\"Context {} - Manager state change of flow {} : {}\", new Object[] { processContextId, getFlowHandle().getCode(), state });\n if (status == null || !status.isFinalStatus()) {\n ProcessStatus oldStatus = status;\n status = STATUS_MAPPING.get(state);\n if (oldStatus != status) {\n LOGGER.info(\"Context {} - Execution state change of flow {} : {}\", new Object[] { processContextId, getFlowHandle().getCode(), status });\n }\n }\n }",
"title": ""
},
{
"docid": "95a9d61c87869ec355f3a0bd6546ff10",
"score": "0.4404204",
"text": "public IOtpManager getOtpManager(@NotNull Network.GeneratorOTP red) throws ManagerException {\n IOtpManager manager;\n\n switch (red) {\n case AVAL:\n manager = this.avalOtpManager;\n break;\n\n case INTERNAL:\n manager = this.internalOtpManager;\n break;\n\n default:\n throw new ManagerException(0, \"-001\", \"La red proporcionada es inválida\");\n }\n\n return manager;\n }",
"title": ""
},
{
"docid": "1a0c474f0cefbc5c39f5c2b252fab699",
"score": "0.44028977",
"text": "public ManagerInfo(ManagerInfo source) {\n if (source.Status != null) {\n this.Status = new String(source.Status);\n }\n if (source.ManagerFirstName != null) {\n this.ManagerFirstName = new String(source.ManagerFirstName);\n }\n if (source.ManagerLastName != null) {\n this.ManagerLastName = new String(source.ManagerLastName);\n }\n if (source.ManagerPosition != null) {\n this.ManagerPosition = new String(source.ManagerPosition);\n }\n if (source.ManagerPhone != null) {\n this.ManagerPhone = new String(source.ManagerPhone);\n }\n if (source.ManagerMail != null) {\n this.ManagerMail = new String(source.ManagerMail);\n }\n if (source.ManagerDepartment != null) {\n this.ManagerDepartment = new String(source.ManagerDepartment);\n }\n if (source.CreateTime != null) {\n this.CreateTime = new String(source.CreateTime);\n }\n if (source.DomainCount != null) {\n this.DomainCount = new Long(source.DomainCount);\n }\n if (source.CertCount != null) {\n this.CertCount = new Long(source.CertCount);\n }\n if (source.ManagerId != null) {\n this.ManagerId = new Long(source.ManagerId);\n }\n if (source.ExpireTime != null) {\n this.ExpireTime = new String(source.ExpireTime);\n }\n if (source.SubmitAuditTime != null) {\n this.SubmitAuditTime = new String(source.SubmitAuditTime);\n }\n if (source.VerifyTime != null) {\n this.VerifyTime = new String(source.VerifyTime);\n }\n if (source.StatusInfo != null) {\n this.StatusInfo = new ManagerStatusInfo[source.StatusInfo.length];\n for (int i = 0; i < source.StatusInfo.length; i++) {\n this.StatusInfo[i] = new ManagerStatusInfo(source.StatusInfo[i]);\n }\n }\n }",
"title": ""
},
{
"docid": "096bba0bbfdd9893d40585961cfd92fb",
"score": "0.44010288",
"text": "public void setListenerManager(final org.apache.axis2.engine.xsd.ListenerManager param) {\n this.localListenerManagerTracker = true;\n\n this.localListenerManager = param;\n\n\n }",
"title": ""
},
{
"docid": "30f6b385212e689b69194e82bf510b58",
"score": "0.4397861",
"text": "public void setPlayerManager(PlayerManager playerManager) {\n this.playerManager = playerManager;\n }",
"title": ""
},
{
"docid": "dded889b646cdb9a8ec7170c5146c0a0",
"score": "0.43961447",
"text": "public static void disableTypeBlockManager(){\n\t\tTypeBlockManager.manager = null;\n\t}",
"title": ""
},
{
"docid": "a72daedbd78d0243336da4d31f508654",
"score": "0.43953493",
"text": "private void startStatsServers() {\n \tagentCheckServer.start(agentServerStatus, minaAgentCheckServerPort);\n \tagentAdminServer.start(agentServerStatus, minaAgentAdminServerPort);\n \troomNotificationClient.setServerInfo(roomLookupServerIp, roomLookupServerPathPrefix, roomLookupServerPort);\n }",
"title": ""
},
{
"docid": "85529c095c4f0580fa9efd30b009815c",
"score": "0.43768093",
"text": "@VisibleForTesting\n void start(AirplaneModeHelper helper) {\n Log.i(TAG, \"start\");\n mAirplaneHelper = helper;\n mToastCount = mAirplaneHelper.getSettingsInt(TOAST_COUNT);\n }",
"title": ""
},
{
"docid": "07b03135c1f41a6db64b3215a225d4d9",
"score": "0.4375675",
"text": "public Builder setTransportDaemonStartedInfo(com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo value) {\n if (transportDaemonStartedInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n transportDaemonStartedInfo_ = value;\n onChanged();\n } else {\n transportDaemonStartedInfoBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00010000;\n return this;\n }",
"title": ""
},
{
"docid": "fa5d6350e1aa12744cf37adb9fdd0a36",
"score": "0.43748817",
"text": "public com.google.wireless.android.sdk.stats.TransportDaemonStartedInfoOrBuilder getTransportDaemonStartedInfoOrBuilder() {\n if (transportDaemonStartedInfoBuilder_ != null) {\n return transportDaemonStartedInfoBuilder_.getMessageOrBuilder();\n } else {\n return transportDaemonStartedInfo_ == null ?\n com.google.wireless.android.sdk.stats.TransportDaemonStartedInfo.getDefaultInstance() : transportDaemonStartedInfo_;\n }\n }",
"title": ""
},
{
"docid": "81440d4d14fa74510e2ee6353357f52e",
"score": "0.4363538",
"text": "@Override\r\n public GenericManager<LignePointage, Long> getManager() {\r\n return manager;\r\n }",
"title": ""
},
{
"docid": "88028564543edddccfd1a3d00e62b6b7",
"score": "0.43556386",
"text": "public void setPRManager(int m_iPRManager) {\r\n this.m_iPRManager = m_iPRManager;\r\n }",
"title": ""
},
{
"docid": "fd209a4f6b795cebae1aed6c329b27bd",
"score": "0.43555462",
"text": "public void setMaintainTimeStats(boolean flag) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "60217422ec7288fdca824e69c1331b4f",
"score": "0.43552676",
"text": "@Override\n public void onManagerConnected(int status) {\n\n }",
"title": ""
},
{
"docid": "fd208d3c43bc894e281c7e50cc7fa083",
"score": "0.43360022",
"text": "public JamonPerformanceMonitorInterceptor(boolean useDynamicLogger)\n/* */ {\n/* 62 */ setUseDynamicLogger(useDynamicLogger);\n/* */ }",
"title": ""
},
{
"docid": "960afb49da2f889da8d56a2bab54dc99",
"score": "0.43224725",
"text": "public void setRecyclerViewLayoutManager(LayoutManagerType layoutManagerType) {\r\n int scrollPositionPertanian = 0;\r\n int scrollPositionPeternakan = 0;\r\n int scrollPositionKerajinan = 0;\r\n\r\n // If a layout manager has already been set, get current scroll position.\r\n if (pertanianRecyclerView.getLayoutManager() != null) {\r\n scrollPositionPertanian = ((LinearLayoutManager) pertanianRecyclerView.getLayoutManager())\r\n .findFirstCompletelyVisibleItemPosition();\r\n }\r\n\r\n if (peternakanRecyclerView.getLayoutManager() != null) {\r\n scrollPositionPeternakan = ((LinearLayoutManager) peternakanRecyclerView.getLayoutManager())\r\n .findFirstCompletelyVisibleItemPosition();\r\n }\r\n\r\n if (kerajinanRecyclerView.getLayoutManager() != null) {\r\n scrollPositionKerajinan = ((LinearLayoutManager) kerajinanRecyclerView.getLayoutManager())\r\n .findFirstCompletelyVisibleItemPosition();\r\n }\r\n\r\n switch (layoutManagerType) {\r\n case GRID_LAYOUT_MANAGER:\r\n pertanianLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT);\r\n peternakanLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT);\r\n kerajinanLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT);\r\n mCurrentLayoutManagerType = LayoutManagerType.GRID_LAYOUT_MANAGER;\r\n break;\r\n case LINEAR_LAYOUT_MANAGER:\r\n pertanianLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n peternakanLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n kerajinanLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n mCurrentLayoutManagerType = LayoutManagerType.LINEAR_LAYOUT_MANAGER;\r\n break;\r\n default:\r\n pertanianLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n peternakanLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n kerajinanLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\r\n mCurrentLayoutManagerType = LayoutManagerType.LINEAR_LAYOUT_MANAGER;\r\n }\r\n\r\n pertanianRecyclerView.setLayoutManager(pertanianLayoutManager);\r\n peternakanRecyclerView.setLayoutManager(peternakanLayoutManager);\r\n kerajinanRecyclerView.setLayoutManager(kerajinanLayoutManager);\r\n\r\n pertanianRecyclerView.scrollToPosition(scrollPositionPertanian);\r\n peternakanRecyclerView.scrollToPosition(scrollPositionPeternakan);\r\n kerajinanRecyclerView.scrollToPosition(scrollPositionKerajinan);\r\n }",
"title": ""
},
{
"docid": "5374c0382ad1ef851e397efdab94a99f",
"score": "0.4313982",
"text": "public Manager getManager() {\r\n return this.manager;\r\n }",
"title": ""
},
{
"docid": "a9cb41023d9ff7078d448022103080b3",
"score": "0.43031216",
"text": "private TimerManager(ListenerManager listenerMan)\r\n \t{\t\t\t\r\n this.listenerMan = listenerMan;\r\n \t\tthis.startTime = timeUpper; \r\n \t\tthis.currentTime = startTime;\r\n this.paused = false;\r\n this.stopped = false;\r\n \t}",
"title": ""
},
{
"docid": "edd13eaed2b50cd6850364707ab86fa9",
"score": "0.43029758",
"text": "public int deleteManagerInfo(ManagerInfo m) {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "189e4bf722a2e83a1b16a12c96a84772",
"score": "0.43019754",
"text": "public void setFileManager(InstallFileManager manager)\n {\n fileManager = manager;\n }",
"title": ""
},
{
"docid": "106ac5630391e17dfc3d216afb43dccb",
"score": "0.42980364",
"text": "public TaskManager getManager();",
"title": ""
},
{
"docid": "8fe83d47bdf6781f1c4462950d6c08e6",
"score": "0.42838112",
"text": "public DaoManager getDaoManager(Object type) throws MMPDaoException{\n\t\treturn this.daoManagerSingletons.get(type);\n\t}",
"title": ""
},
{
"docid": "7055038b7c10a5a6169166991e594481",
"score": "0.42817864",
"text": "public static TypeBlockManager enableTypeBlockManager(BlockCanvas component){\n\t\tif(TypeBlockManager.manager == null) TypeBlockManager.manager = new TypeBlockManager(component);\n\t\treturn TypeBlockManager.manager;\n\t}",
"title": ""
},
{
"docid": "bfb782eb5d7c7efe062b20a91783a8a6",
"score": "0.42784244",
"text": "public void setuseDMSProfiling() {\n if (getusesDMSProfiling().booleanValue()) {\n return;\n }\n getSession().setProfiler(new DMSPerformanceProfiler(getSession()));\n }",
"title": ""
},
{
"docid": "98a8b954a6297cc55f3366712060d2e1",
"score": "0.4274361",
"text": "@Override\r\n\tpublic Manager getManager() {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "9e82767233978ea4e214d200404baf2c",
"score": "0.42743504",
"text": "private void registerStatsCallbacks() {\n final StatsManager statsManager = mContext.getSystemService(StatsManager.class);\n statsManager.setPullAtomCallback(\n FrameworkStatsLog.USER_INFO,\n null, // use default PullAtomMetadata values\n BackgroundThread.getExecutor(),\n this::onPullAtom);\n statsManager.setPullAtomCallback(\n FrameworkStatsLog.MULTI_USER_INFO,\n null, // use default PullAtomMetadata values\n BackgroundThread.getExecutor(),\n this::onPullAtom);\n }",
"title": ""
},
{
"docid": "31268dcb42f43f10c2c922c9d603227d",
"score": "0.42731026",
"text": "public void setManager(WorkflowManager tmp) {\n this.manager = tmp;\n }",
"title": ""
},
{
"docid": "31109555e1db66fba3617e9a9982d4d4",
"score": "0.42582548",
"text": "protected void setStatsReset(long lMillis)\n {\n __m_StatsReset = lMillis;\n }",
"title": ""
},
{
"docid": "9d455525de49b0c2a14f431dfb406103",
"score": "0.42560023",
"text": "public int getPRManager() {\r\n return m_iPRManager;\r\n }",
"title": ""
},
{
"docid": "018fecc653fbb442f71a41a2d00d8cd2",
"score": "0.42520937",
"text": "protected FullyQualifiedJavaType getManagerType(\n\t\t\tIntrospectedTable introspectedTable) {\n\t\tString targetPackage = properties.getProperty(\"targetPackage\");\n\t\tFullyQualifiedJavaType baseRecordType = new FullyQualifiedJavaType(\n\t\t\t\tintrospectedTable.getBaseRecordType());\n\n\t\t// manager type\n\t\tFullyQualifiedJavaType managerType = new FullyQualifiedJavaType(\n\t\t\t\ttargetPackage + \".\" + baseRecordType.getShortName() + \"Manager\");\n\n\t\treturn managerType;\n\t}",
"title": ""
},
{
"docid": "e50ed649fa5ae5842cc93a2124b3ddbb",
"score": "0.42501366",
"text": "private PlaybackItemDetails getTotalDetails(String type) {\n List<PlaybackItemDetails> items = getSessionItemDetails(type);\n PlaybackItemDetails totaldetails = new PlaybackItemDetails(15, \"Total\");\n for (Session i : sessions.getSession()) {\n for (PlaybackItemDetails x : items) {\n if (i.containsPlaybackItem(x.getCreationindex())) {\n totaldetails.addsessioncount();\n break;\n }\n }\n }\n return totaldetails;\n }",
"title": ""
},
{
"docid": "540291daf3023cffe6c07cf2cc81b3ba",
"score": "0.4230632",
"text": "public BukkitServerInfoManager getServerInfoManager() {\n return serverInfoManager;\n }",
"title": ""
},
{
"docid": "10564b7dcd3922397e6de25f6c269c42",
"score": "0.4229638",
"text": "public void setWorldManager(BaseWorldManager worldManager) {\r\n this.worldManager = worldManager;\r\n }",
"title": ""
},
{
"docid": "88bdf6c1b75a03a82b22cb1255b4ffa2",
"score": "0.42237237",
"text": "public Duration elapsedTime(Type type)\n {\n return stopwatch.elapsedTime(type);\n }",
"title": ""
},
{
"docid": "c35649520daa5407559fe708b4b424f3",
"score": "0.421963",
"text": "protected void updateProfiler(Map persistenceProperties, ClassLoader loader) {\n\t\t// This must use config property as the profiler is not in the PropertiesHandler\n\t\t// and requires\n\t\t// supporting generic profiler classes.\n\t\tString newProfilerClassName = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.PROFILER,\n\t\t\t\tpersistenceProperties, session);\n\n\t\tif (newProfilerClassName == null) {\n\t\t\tServerPlatformBase plaftorm = ((ServerPlatformBase) session.getServerPlatform());\n\t\t\tif (plaftorm != null) {\n\t\t\t\tplaftorm.configureProfiler(session);\n\t\t\t}\n\t\t} else {\n\t\t\tif (newProfilerClassName.equals(ProfilerType.NoProfiler)) {\n\t\t\t\tsession.setProfiler(null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (newProfilerClassName.equals(ProfilerType.QueryMonitor)) {\n\t\t\t\tsession.setProfiler(null);\n\t\t\t\tQueryMonitor.shouldMonitor = true;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (newProfilerClassName.equals(ProfilerType.PerformanceProfiler)) {\n\t\t\t\tsession.setProfiler(new PerformanceProfiler());\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (newProfilerClassName.equals(ProfilerType.PerformanceMonitor)) {\n\t\t\t\tsession.setProfiler(new PerformanceMonitor());\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (newProfilerClassName.equals(ProfilerType.DMSProfiler)) {\n\t\t\t\tnewProfilerClassName = ProfilerType.DMSProfilerClassName;\n\t\t\t}\n\n\t\t\tString originalProfilerClassNamer = null;\n\t\t\tif (session.getProfiler() != null) {\n\t\t\t\toriginalProfilerClassNamer = session.getProfiler().getClass().getName();\n\t\t\t\tif (originalProfilerClassNamer.equals(newProfilerClassName)) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// New profiler - create the new instance and set it.\n\t\t\ttry {\n\t\t\t\tClass newProfilerClass = findClassForProperty(newProfilerClassName, PersistenceUnitProperties.PROFILER,\n\t\t\t\t\t\tloader);\n\n\t\t\t\tSessionProfiler sessionProfiler = (SessionProfiler) buildObjectForClass(newProfilerClass,\n\t\t\t\t\t\tSessionProfiler.class);\n\n\t\t\t\tif (sessionProfiler != null) {\n\t\t\t\t\tsession.setProfiler(sessionProfiler);\n\t\t\t\t} else {\n\t\t\t\t\tsession.handleException(ValidationException.invalidProfilerClass(newProfilerClassName));\n\t\t\t\t}\n\t\t\t} catch (IllegalAccessException e) {\n\t\t\t\tsession.handleException(ValidationException.cannotInstantiateProfilerClass(newProfilerClassName, e));\n\t\t\t} catch (PrivilegedActionException e) {\n\t\t\t\tsession.handleException(ValidationException.cannotInstantiateProfilerClass(newProfilerClassName, e));\n\t\t\t} catch (InstantiationException e) {\n\t\t\t\tsession.handleException(ValidationException.cannotInstantiateProfilerClass(newProfilerClassName, e));\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "9e686d3ad6b8c2f983304158cef1de1b",
"score": "0.42184973",
"text": "public static int addManager(Manager mng) {\n\t\treturn Dao.addRow(\"Manager\", mng);\n\t}",
"title": ""
},
{
"docid": "a0c88112136283a7331957b992b4f2a2",
"score": "0.42055863",
"text": "public void setUImanager(UImanager uimanager) {\r\n this.uimanager = uimanager;\r\n }",
"title": ""
},
{
"docid": "925fb1fe4a280acaaff3fcd8c3f90fbb",
"score": "0.4160852",
"text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonQueryStats.Builder getTpdQueryStatsBuilder() {\n bitField0_ |= 0x00040000;\n onChanged();\n return getTpdQueryStatsFieldBuilder().getBuilder();\n }",
"title": ""
},
{
"docid": "3f18dcedb3701017acb8f367daccd417",
"score": "0.4157991",
"text": "public static void setManager(EMBCommandManager mgr) {\r\n\t\tEMBCommand.commandManager = mgr;\r\n\t}",
"title": ""
},
{
"docid": "784fffa38127695e3ab01f798b86c689",
"score": "0.41513893",
"text": "public int getManagerId() {\n\t\treturn this.manager_id;\n\t}",
"title": ""
},
{
"docid": "d25216c48bc77857c4d3b01c250d3fc1",
"score": "0.41506898",
"text": "com.google.wireless.android.sdk.stats.DynamicLayoutInspectorSystemNodeOrBuilder getSystemOrBuilder();",
"title": ""
},
{
"docid": "77ee83b1583451b2be39c4218808f945",
"score": "0.4150664",
"text": "public Long getManagerId() {\n return managerId;\n }",
"title": ""
},
{
"docid": "dfce48bdc3d4e90f92e797bd9df2a815",
"score": "0.41504064",
"text": "public ThrottleManagerControl(ThrottleManager throttleManager, BaseControl parent) {\n super(parent);\n this.throttleManager = throttleManager;\n clientIncomingMessageThrottleStart = System.currentTimeMillis();\n clientOutgoingMessageThrottleStart = clientIncomingMessageThrottleStart;\n destinationIncomingMessageThrottleStart = clientIncomingMessageThrottleStart;\n destinationOutgoingMessageThrottleStart = clientIncomingMessageThrottleStart;\n }",
"title": ""
},
{
"docid": "6a137c4a3844c07365c51d6b88a0f33b",
"score": "0.41427517",
"text": "com.google.wireless.android.sdk.stats.DynamicLayoutInspectorSystemNode getSystem();",
"title": ""
},
{
"docid": "360f98bc45917bdd9c3b394cb8acac6a",
"score": "0.4137244",
"text": "private String changeStatusModule(String name, String type) {\n\t\tif (isWindows()) {\n\t\t\t// do nothing, neu la windows thi ko can lam gi vi khong co ham\n\t\t}\n\t\tif (isUnix()) {\n\t\t\tSystem.out.println(\"service \" + name + \" \" + type);\n\t\t\tString[] listCmd = new String[] { \"/bin/bash\", \"-c\", \"service \" + name + \" \" + type };\n\n\t\t\t// String listCmd = \"service \" + name + \" \" + type;\n\t\t\tRuntime run = Runtime.getRuntime();\n\t\t\ttry {\n\t\t\t\trun.exec(listCmd);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (name.equalsIgnoreCase(\"eod_dbi_02\") && type.equalsIgnoreCase(\"start\")) {\n\t\t\t\tString[] Cmd = new String[] { \"/bin/bash\", \"-c\", \"service eod_ehotelmanservice start\" };\n\n\t\t\t\t// String listCmd = \"service \" + name + \" \" + type;\n\t\t\t\t// Runtime run = Runtime.getRuntime();\n\t\t\t\ttry {\n\t\t\t\t\trun.exec(Cmd);\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\tif (name.equalsIgnoreCase(\"eod_dbi_01\") && type.equalsIgnoreCase(\"start\")) {\n\t\t\t\tString[] Cmd = new String[] { \"/bin/bash\", \"-c\", \"service eod_ehotelservice start\" };\n\n\t\t\t\t// String listCmd = \"service \" + name + \" \" + type;\n\t\t\t\t// Runtime run = Runtime.getRuntime();\n\t\t\t\ttry {\n\t\t\t\t\trun.exec(Cmd);\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}\n\n\t\tSystem.out.println(\"update status service success!\");\n\t\treturn \"ok\";\n\t}",
"title": ""
},
{
"docid": "8593e239f9c6d75398ed57512d87f05a",
"score": "0.41329044",
"text": "public static void setTps()\r\n {\r\n tps = new TPS();\r\n }",
"title": ""
},
{
"docid": "9a0b490beadbca15746c59bc175820c1",
"score": "0.41317722",
"text": "public void infoCalledWhen_processManagerStarted(){\n\n//\t\tArgumentCaptor<String> argCaptor = ArgumentCaptor.forClass(String.class);\n\t\ttry {\n\t\t\tMockito.when(clientFactory.create(Mockito.any(), Mockito.any())).thenReturn(client);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tTestManagerImpl testManager = new TestManagerImpl(clientFactory, logManager, dataManager);\n\t\ttestManager.start();\n\n\n\t\tMockito.verify(logManager).log(argCaptorLogMessage.capture(), argCaptor.capture(),argCaptor.capture()); //GridAppsDConstants.username);\n\n\t\tLogMessage logMessage = argCaptorLogMessage.getAllValues().get(0);\n\n\t\tassertEquals(logMessage.getLogLevel(), LogLevel.DEBUG);\n\t\tassertEquals(logMessage.getLogMessage(), \"Starting \"+TestManagerImpl.class.getName());\n\t\tassertEquals(logMessage.getProcessStatus(), ProcessStatus.RUNNING);\n\n\t\tassertNotNull(logMessage.getTimestamp());\n\t}",
"title": ""
},
{
"docid": "c52fd9aa55b6dc7c6139ceec15cd9dde",
"score": "0.41258228",
"text": "public TimeMetricsManager() {\n this.timingModels = new ArrayList<TimeModel>();\n }",
"title": ""
}
] |
25197b4cf814864ecd440f23b9149cb3 | TODO Autogenerated method stub | [
{
"docid": "24b7d95be72d3b7ec8e59d78bc4adfd9",
"score": "0.0",
"text": "@Override\n\t\tprotected String doInBackground(String... params) {\n\t\t\tString result = null;\n\t\t\tThreadsRequest request = new ThreadsRequest(MyReplyListActivity.this);\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\tLog.d(\"doInBackground\", \"start request\");\n\t\t\t\tresult = request.getThreadInfoBythreadID(threadId);\n\t\t\t\tLog.d(\"doInBackground\", \"returned\");\n\t\t\t}catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (TimeoutException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn result;\n\t\t}",
"title": ""
}
] | [
{
"docid": "e5fa0eebc721dea67da872fd14413bc7",
"score": "0.69744676",
"text": "@Override\n\tpublic void formule() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "8b7f87c22e268a87686c66398c2c442b",
"score": "0.6936331",
"text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "1acc57d42c31dee937ac33ea6f2a5b0b",
"score": "0.6836411",
"text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "ec76ff8d70ced9d8135ad33b23353b4d",
"score": "0.6624367",
"text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "82ab90ffadf9b8d43e60c8510a33beba",
"score": "0.6623182",
"text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "e3110a393bd4b870b4055aa9ed6efd87",
"score": "0.66015315",
"text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "a5f7a321f63abee65f0b9008f270490e",
"score": "0.6594605",
"text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "0b5b11f4251ace8b3d0f5ead186f7beb",
"score": "0.65677965",
"text": "@Override\n\tpublic void comer() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "0b5b11f4251ace8b3d0f5ead186f7beb",
"score": "0.65677965",
"text": "@Override\n\tpublic void comer() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "80d20df1cc75d8fa96c12c49a757fc43",
"score": "0.65323734",
"text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "7756cbf76fd6363807e17834db326bbc",
"score": "0.6501866",
"text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "bdceff0dc4130d850ab15d702b785449",
"score": "0.63844895",
"text": "@Override\n\tprotected void generate() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "14f6250e215aa66dcffb123fd6b7fd74",
"score": "0.63381773",
"text": "@Override\n\tpublic void entzünden() {\n\n\t}",
"title": ""
},
{
"docid": "cd03efba12b5473dcc457b910fd92a0e",
"score": "0.63222265",
"text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "070e1adb9bfd59cb643407a2dabe9b7a",
"score": "0.6291592",
"text": "private void hinzufügen() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "469c90392fb12e4553574135278541f5",
"score": "0.62385184",
"text": "@Override\n\tpublic void attck() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "d3585587779dbdf33600e1670ca42099",
"score": "0.6193195",
"text": "@Override\n\tpublic void IngresoKromi() {\n\t}",
"title": ""
},
{
"docid": "7c4f2f94b290de5507eb56a649c4fab9",
"score": "0.61922914",
"text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "10ead2e988bf977cb8edb2bacf974891",
"score": "0.61546874",
"text": "@Override\n\tprotected void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "093a096d6e96e05b160fe2406b1e8a2d",
"score": "0.61053663",
"text": "@Override\n\tpublic void parir() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "29cde3f10dab87cebafdd9412ef4b29f",
"score": "0.6062187",
"text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "7839d9b18f833d7ad1ccae8536c829da",
"score": "0.60561824",
"text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "0cd47ce21776ffa50dd678180ffe94e5",
"score": "0.6003824",
"text": "public void ayak() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "c2c1f0ca9c7029b85142a2ab9536d708",
"score": "0.5990595",
"text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "fa1a013b1df2f5f1062e1cc971135645",
"score": "0.5987973",
"text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "70c63b539d1b6f883ad13008fbcaa6ce",
"score": "0.59600407",
"text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}",
"title": ""
},
{
"docid": "360bf42213adde0b962792c6cd6d8df7",
"score": "0.5952374",
"text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}",
"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": "dd66e8668788d27519d44caeb83b0c44",
"score": "0.5923557",
"text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "28237d6ae20e1aa35aaca12e05c950c9",
"score": "0.5902906",
"text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "28237d6ae20e1aa35aaca12e05c950c9",
"score": "0.5902906",
"text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "9808ba3c113b79c3677f2c08c09e60a1",
"score": "0.59020513",
"text": "@Override\n\tpublic void resert() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "e05db3dd501cfaf4d9d1b128ca673f1b",
"score": "0.58988667",
"text": "@Override\n\tprotected void formRes() {\n\n\t}",
"title": ""
},
{
"docid": "7f91c82c66ced12c5b193d3c89d68e4c",
"score": "0.5883667",
"text": "@Override\n\tprotected void init() {\n\t}",
"title": ""
},
{
"docid": "ea6be29351b2f6d99af3992f4a8fbd45",
"score": "0.58685964",
"text": "public void afficherEntreprise(){\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "3177b2be45c490e407b98d647e109c0d",
"score": "0.58572376",
"text": "@Override\n protected void initData()\n {\n\t\n }",
"title": ""
},
{
"docid": "eea1284dac4ca57b790a13dcd1ad6bff",
"score": "0.58401465",
"text": "@Override\n protected void ucitaj() {\n //only because of 'extands rule'\n }",
"title": ""
},
{
"docid": "e57f005733f2eb8590150b3f4542b844",
"score": "0.5810564",
"text": "@Override\n\tprotected void getData() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "af70f420bd21981aa44db6516064224d",
"score": "0.58060104",
"text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\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": "94f32cdbe8afc400e05efbdb8d78c591",
"score": "0.5788508",
"text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "54b1134554bc066c34ed30a72adb660c",
"score": "0.57844025",
"text": "@Override\n\tprotected void initData() {\n\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.5774479",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "aed26444304cfac4d695203c7d86e6c5",
"score": "0.5769439",
"text": "public void autTC05() {\r\n\r\n\t}",
"title": ""
},
{
"docid": "9b56e05d631b1ea925ea2c139ee709ad",
"score": "0.5763841",
"text": "@Override\n\tpublic void adim7() {\n\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": "a49b2d411619c6f2680e9b0e8c21a20f",
"score": "0.57574755",
"text": "private void erledigt() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "8aac1da26498753495658c2bb9044b21",
"score": "0.5751961",
"text": "@Override\n public int getOrder() {\n return 0;\n }",
"title": ""
},
{
"docid": "2bbeae4f0e92c95ecc07204851be4769",
"score": "0.57508",
"text": "@Override\n\tpublic void nyalakan() {\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": "8603393cbe27452fe30e396632c62eed",
"score": "0.57415414",
"text": "@Override\n\t\tpublic void postConstruct() {\n\t\t}",
"title": ""
},
{
"docid": "37bf6e6ef01cf7dab163b5d3bedbc140",
"score": "0.5740271",
"text": "@Override\n\tpublic void som() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "92af0f4d75822a6723aebd9fcc92fafb",
"score": "0.57394177",
"text": "@Override\n protected void initData() {\n \n }",
"title": ""
},
{
"docid": "c13e6a1b7c130afa9fb0f34225bea4ef",
"score": "0.573645",
"text": "protected void mo1555b() {\n }",
"title": ""
},
{
"docid": "691b15fed469ddc176b9c9e6151dea65",
"score": "0.5734636",
"text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.57337177",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "0f7672ee5ac14b05f31da4e1e34d7b49",
"score": "0.5725253",
"text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "a22a3abb4b9b5de4ed8c054da445e9b0",
"score": "0.5724528",
"text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}",
"title": ""
},
{
"docid": "7fd3ef4778cae98af386c2c7c0aa5995",
"score": "0.57231057",
"text": "@Override\r\n\tpublic void nmi() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "90a583a9686287e3374351dca59e3033",
"score": "0.5721244",
"text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}",
"title": ""
},
{
"docid": "d629c4ad6266d296b13a93bb0c7f8c66",
"score": "0.57099986",
"text": "@Override\r\n public void init()\r\n {\n\r\n }",
"title": ""
},
{
"docid": "7aadbda143e84de0144f7a8dadde423d",
"score": "0.5701067",
"text": "@Override\n protected void initData() {\n\n }",
"title": ""
},
{
"docid": "7aadbda143e84de0144f7a8dadde423d",
"score": "0.5701067",
"text": "@Override\n protected void initData() {\n\n }",
"title": ""
},
{
"docid": "f375646c5bc224c29261414f3cb81b04",
"score": "0.56984305",
"text": "@Override\n public int qualiteRelation() {\n return 0;\n }",
"title": ""
},
{
"docid": "5592333c90e75bae58a686b24b05d894",
"score": "0.5693882",
"text": "@Override\n public String toString() {\n return null;\n }",
"title": ""
},
{
"docid": "b2858312446172fa25a799c5367d2043",
"score": "0.56896037",
"text": "Smelting(){\r\n\r\n\t\t}",
"title": ""
},
{
"docid": "9f7ae565c79188ee275e5778abe03250",
"score": "0.56881124",
"text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"title": ""
},
{
"docid": "20b42a0c3fee6c140a112d40354f4298",
"score": "0.5686577",
"text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "92b8246d78d46bf0f60b46e17e797540",
"score": "0.5685193",
"text": "@Override\n\tpublic void init () {\n\t}",
"title": ""
},
{
"docid": "57f5caef4402cc8ce13e81561eaa9e43",
"score": "0.56787807",
"text": "@Override\r\n\tpublic void pickUp() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "152818b619dcfcd5190a2f48bc75fa5f",
"score": "0.56757474",
"text": "@Override\n\tpublic void adim6() {\n\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": "131c7dcebe8ac7fd010381a03bd0f405",
"score": "0.5667569",
"text": "@Override\r\n\tprotected void initActb() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5655942",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"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": "6392764d7ff297c1a478fc1669944649",
"score": "0.5653691",
"text": "@Override\n\tpublic void gostar_de_carne() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2b53548295a92f80cb7814e7e3ead131",
"score": "0.56503963",
"text": "@Override\n\tString frighten() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "18c7036dd108c40b7a27469d8b92687c",
"score": "0.5642345",
"text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "7b36e2fb2a778b8c30924f6f30758db2",
"score": "0.56388146",
"text": "private static void buscarId() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "9bcd15a2298e73719d7c7326027b093b",
"score": "0.56369984",
"text": "@Override\n\tprotected void getData() {\n\n\t}",
"title": ""
}
] |
a40b2986f57f799baac74e0acfa11ac3 | most of the time we include a default constructor unless we have a good reason not too a good reason not to have one is if our object requires another object for it to function | [
{
"docid": "052063db26ecff6a6a55acfa591adea8",
"score": "0.0",
"text": "public Food() {\n\t\tsuper();\n\t\tallFoods[numberOfFoodCreated] = this;\n\t\tnumberOfFoodCreated++;\n\t\t\n\t}",
"title": ""
}
] | [
{
"docid": "1ddbb7fadf4b6a5cf5fa9016a884398f",
"score": "0.7812946",
"text": "private LonelyObject(){}",
"title": ""
},
{
"docid": "6bd374f3ab76627ec5d8981a3c054e5b",
"score": "0.7730919",
"text": "private SingleObject(){}",
"title": ""
},
{
"docid": "140fc0d94b13b16f28b6bcbe88567958",
"score": "0.7460383",
"text": "public Obj()\n {\n this(null);\n }",
"title": ""
},
{
"docid": "50ce46939d29e2b9ab10d65e2a5dca24",
"score": "0.73252994",
"text": "public ObjectFactory()\n\t{\n\t}",
"title": ""
},
{
"docid": "52c5f0778ba6c0983b4172fa32942611",
"score": "0.7305621",
"text": "public ObjectFactory() {\n\t}",
"title": ""
},
{
"docid": "52c5f0778ba6c0983b4172fa32942611",
"score": "0.7305621",
"text": "public ObjectFactory() {\n\t}",
"title": ""
},
{
"docid": "52c5f0778ba6c0983b4172fa32942611",
"score": "0.7305621",
"text": "public ObjectFactory() {\n\t}",
"title": ""
},
{
"docid": "858f8233e9b50c5dfc30160449513803",
"score": "0.7281968",
"text": "public ObjectFactory() {\r\n\t}",
"title": ""
},
{
"docid": "75bdfee6d497fccedf6ee671442d4d89",
"score": "0.7147896",
"text": "public Student() { //allows us to create an object that doesn't take arguments\n //if you dont' add a constructor, there is still a constructor, it's just empty\n }",
"title": ""
},
{
"docid": "3a00fbceef5a3d8d0ffb20fd98e8fefd",
"score": "0.70706046",
"text": "public FirObject() {\n }",
"title": ""
},
{
"docid": "f49675f1e7e43c5c38fac4d786fe0113",
"score": "0.7064655",
"text": "public ObjectFactory()\r\n {\r\n }",
"title": ""
},
{
"docid": "d023558ff1483be87b39ca9c7ca56798",
"score": "0.70524985",
"text": "private ObjectFactory(){}",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "61e840cc0b61fd87b8f981fba8520c57",
"score": "0.7044211",
"text": "public ObjectFactory() {\r\n }",
"title": ""
},
{
"docid": "db18599b48fa37efb7bf4954e7cda81f",
"score": "0.7042683",
"text": "public ObjectFactory()\n {\n }",
"title": ""
},
{
"docid": "db18599b48fa37efb7bf4954e7cda81f",
"score": "0.7042683",
"text": "public ObjectFactory()\n {\n }",
"title": ""
},
{
"docid": "db18599b48fa37efb7bf4954e7cda81f",
"score": "0.7042683",
"text": "public ObjectFactory()\n {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
},
{
"docid": "0cedde3596fd9db2ce10d2421227fe76",
"score": "0.70341784",
"text": "public ObjectFactory() {\n }",
"title": ""
}
] |
263dcb9838302d75cdd3db372cfbdb5b | Inflate the layout for this fragment | [
{
"docid": "6416ad8a8d63e2b16c9f828b264a1ec6",
"score": "0.0",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n RecyclerView recyclerView = (RecyclerView) inflater.inflate(R.layout.fragment_top_picks_fragment_dbz, container, false);\n\n int i = 0;\n String[] name = new String[8];\n int[] imageIds = new int[8];\n SQLiteOpenHelper dbzDatabaseHelper = new DbzDatabase(getContext());\n try {\n SQLiteDatabase db = dbzDatabaseHelper.getReadableDatabase();\n Cursor cursor = db.query(\"DRAGONBALL\",\n new String[] {\"NAME\", \"IMAGE_ID\"},\n null,null,null,null,null);\n if(cursor.moveToFirst()) {\n do {\n\n String getName = cursor.getString(0);\n int getIds = cursor.getInt(1);\n name[i] = getName;\n imageIds[i] = getIds;\n i++;\n\n }while (cursor.moveToNext());\n }\n\n\n\n RecycleViewAdapter adapter = new RecycleViewAdapter(imageIds, name);\n recyclerView.setAdapter(adapter);\n StaggeredGridLayoutManager layoutManager = new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);\n recyclerView.setLayoutManager(layoutManager);\n\n adapter.setListener(new RecycleViewAdapter.Listener() {\n @Override\n public void onClick(int position) {\n Intent intent = new Intent(getActivity(), DbzDetailedActivity.class);\n intent.putExtra(DbzDetailedActivity.EXTRA_ID, position);\n getActivity().startActivity(intent);\n }\n });\n cursor.close();\n db.close();\n\n }\n catch (SQLException e) {\n Toast toast = Toast.makeText(getContext(),\"Database Unavailable\", Toast.LENGTH_SHORT);\n toast.show();\n }\n return recyclerView;\n }",
"title": ""
}
] | [
{
"docid": "8dc6e43eb0ba072f1910928f55684a0a",
"score": "0.68880737",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qr_authentication_parsing, container, false);\n }",
"title": ""
},
{
"docid": "db2be29bf8b275cbfe6966f5298b1698",
"score": "0.68803567",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_we_chat, container, false);\n mIv = inflate.findViewById(R.id.iv);\n mTab = inflate.findViewById(R.id.tab);\n mVp = inflate.findViewById(R.id.vp);\n\n initData();\n return inflate;\n\n\n }",
"title": ""
},
{
"docid": "5aa9e2f22788ea5f34a1bcb0693358d2",
"score": "0.68447435",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.lihatdatafrag, container, false);\n\n }",
"title": ""
},
{
"docid": "46ba413c4de6c2363cd51d98687bd1ef",
"score": "0.68119526",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_sick__detail_, container, false);\n init();\n return v;\n }",
"title": ""
},
{
"docid": "9188cf41820ef0358a164a3cb7655afe",
"score": "0.6783374",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.youtubefrag, parent, true);\n }",
"title": ""
},
{
"docid": "fcca151ebb89da144daa81de701b7e4e",
"score": "0.6763887",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_both_feeds_in_one, container, false);\n }",
"title": ""
},
{
"docid": "b41a97c15cbeb7a18021e79645277870",
"score": "0.67475206",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_opportunity_feed, container, false);\n }",
"title": ""
},
{
"docid": "95e7d613209030edfbe5b5b8f3248b92",
"score": "0.6722023",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_rating, container, false);\n addControls(view);\n addEvents();\n return view;\n }",
"title": ""
},
{
"docid": "445b8ee5ea39a53064ea627e6aef83f9",
"score": "0.67187995",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_assignment_record, container, false);\n }",
"title": ""
},
{
"docid": "3492f6d1c7a4e705c4b4ca161b4a690e",
"score": "0.6703984",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_video_call, container, false);\r\n\r\n intIds(view);\r\n setAdapter();\r\n\r\n return view;\r\n }",
"title": ""
},
{
"docid": "ba6d2dcd9891adc401fb21b5674a2870",
"score": "0.67024136",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_ssjde, parent, false);\n }",
"title": ""
},
{
"docid": "db4f4388029e696003104d7fb230a0fc",
"score": "0.6701575",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_she_qu_fragment, container, false);\n }",
"title": ""
},
{
"docid": "08d8bd2b30274511a733deb2edb1ae9b",
"score": "0.6672307",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n View view = inflater.inflate(R.layout.fragment_doctor_details, container, false);\n stars = new ArrayList<>();\n\n avatar = view.findViewById(R.id.civ_avatar);\n name = view.findViewById(R.id.tv_name);\n specialty = view.findViewById(R.id.tv_specialty);\n\n stars.add((ImageView) view.findViewById(R.id.iv_star0));\n stars.add((ImageView) view.findViewById(R.id.iv_star1));\n stars.add((ImageView) view.findViewById(R.id.iv_star2));\n stars.add((ImageView) view.findViewById(R.id.iv_star3));\n stars.add((ImageView) view.findViewById(R.id.iv_star4));\n\n rating = view.findViewById(R.id.tv_rating);\n about = view.findViewById(R.id.tv_description_output);\n address = view.findViewById(R.id.tv_location_output);\n setFields();\n return view;\n }",
"title": ""
},
{
"docid": "cf53f982c5ef04acf80599f17fda6a91",
"score": "0.66671383",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_all_meetings, container, false);\n\n init(v);\n\n return v;\n }",
"title": ""
},
{
"docid": "286bb034dbd4caa99f34b5e1258c3234",
"score": "0.666249",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v= inflater.inflate(R.layout.fragment_pharma, container, false);\n init(v);\n intialiseRetrofit();\n getData();\n\n setuprec();\n return v;\n }",
"title": ""
},
{
"docid": "b77365ff11c245f761c8310f6f558d1b",
"score": "0.66556406",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n mRes = getResources();\n setupUnitPreferences();\n\n View v = inflater.inflate(R.layout.fragment_capture_plot, container, false);\n\n LoadControls(v);\n AddClickListener();\n ExecuteTasks();\n\n\n return v;\n }",
"title": ""
},
{
"docid": "2239fe258628899c83422b78a0c56a05",
"score": "0.663946",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_bank_details, container, false);\n initWidgets(view);\n return view;\n }",
"title": ""
},
{
"docid": "94f65f0704801de2819a8d938d5676de",
"score": "0.6622015",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_rating, container, false);\n }",
"title": ""
},
{
"docid": "6360ea50392a04810856e0419580586a",
"score": "0.6613697",
"text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.fragment_info_collect_light, container, false);\r\n\t\tinitView(view);\r\n\t\treturn view;\r\n\t}",
"title": ""
},
{
"docid": "416a9f463255caf9df04acc46f95dae9",
"score": "0.66126",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.frag_hm_main, container, false);\n }",
"title": ""
},
{
"docid": "90801ceb8821a1e0a6e6cc0b43b8df67",
"score": "0.66089356",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_inner, container, false);\n }",
"title": ""
},
{
"docid": "210dbd77b746cc52a523ce9e3286e917",
"score": "0.6606975",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n\n if (layout != null && layout.equals(\"myaccount\"))\n return inflater.inflate(R.layout.fragment_myaccount, container, false);\n else if (layout != null && layout.equals(\"login\"))\n return inflater.inflate(R.layout.fragment_login, container, false);\n else if (layout != null && layout.equals(\"cemail\"))\n return inflater.inflate(R.layout.fragment_change_email, container, false);\n else if (layout != null && layout.equals(\"cpass\"))\n return inflater.inflate(R.layout.fragment_change_pass, container, false);\n else if (layout != null && layout.equals(\"cnnm\"))\n return inflater.inflate(R.layout.fragment_change_name, container, false);\n else return inflater.inflate(R.layout.fragment_progress, container, false);\n }",
"title": ""
},
{
"docid": "71cd995605431d64bbacfd54aeef9a77",
"score": "0.6606261",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_ad_post_home, container, false);\n\n initWidget(view);\n\n return view;\n }",
"title": ""
},
{
"docid": "698aaed6bcb4c07954796c98cd99c2e0",
"score": "0.6604072",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_membebr_ship_info, container, false);\n }",
"title": ""
},
{
"docid": "4da17d8119ad28a10f555b817473fb86",
"score": "0.6597955",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_image_uploader, container, false);\n\n }",
"title": ""
},
{
"docid": "4017ec32a2cdc92d52c28302433867c7",
"score": "0.6591818",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n\n return inflater.inflate(R.layout.fragment_plan, container, false);\n }",
"title": ""
},
{
"docid": "9850c86c5c398cb5e79af6f81897b27a",
"score": "0.6591794",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_graph, container, false);\n init(view);\n buttonInit(view);\n return view;\n }",
"title": ""
},
{
"docid": "6b42b5951484837b6947b11d152bdab9",
"score": "0.6583863",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n // TODO Auto-generated method stub\n View mainView = inflater.inflate(R.layout.fragment_posts, container, false);\n\n // setup layout controls\n initializeControls(mainView);\n initializeActions();\n setData();\n\n return mainView;\n }",
"title": ""
},
{
"docid": "a4ea826c6009d1de55521599e8b0a2f7",
"score": "0.6579435",
"text": "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_booking_summary, container, false);\n }",
"title": ""
},
{
"docid": "5b9c8f2b36b4db7c78ee15a469085fa1",
"score": "0.65746695",
"text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\tsuper.onCreateView(inflater, container, savedInstanceState);\r\n\t\tView view = inflater.inflate(R.layout.barber_schedule_index,\r\n\t\t\t\tcontainer, false);\r\n\t\tinitView(view);\r\n\t\tinitListener();\r\n\t\treturn view;\r\n\t}",
"title": ""
},
{
"docid": "b151ebad6fd3e475fc4f02d76e9504a7",
"score": "0.6573926",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n {\n return inflater.inflate(R.layout.fragment_data_2, container, false);\n }",
"title": ""
},
{
"docid": "ff1c3ca2c41e834369b50efd125d72f9",
"score": "0.6573329",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){\n return inflater.inflate(R.layout.fragment_training_types, container, false);\n }",
"title": ""
},
{
"docid": "2205765bf889e5af9fa5abd02178e163",
"score": "0.65704024",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n setRootView(\n inflater.inflate(\n R.layout.f_detail_video,\n container,\n false));\n assignViews();\n drawList();\n return getRootView();\n }",
"title": ""
},
{
"docid": "762a6fd89511d8c20b20392c1eac9182",
"score": "0.6567469",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_news_grid, container, false);\n }",
"title": ""
},
{
"docid": "0030868a3dee27a2c2590ee1085e6a52",
"score": "0.65656066",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_result_multi_player, container, false);\n }",
"title": ""
},
{
"docid": "d634b7d2660dced6bce4f405990a331e",
"score": "0.65645653",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_chat_instagram, container, false);\n }",
"title": ""
},
{
"docid": "4e3e32b959f46369ef95ca590e851e50",
"score": "0.6564428",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.frg_map_all, container, false);\n }",
"title": ""
},
{
"docid": "c9693db49d4002aca4d7bf1c607dfcc6",
"score": "0.65642715",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_gouter, container, false);\n }",
"title": ""
},
{
"docid": "923ec9e0d095793a0e3a7f2ca99bd608",
"score": "0.65637386",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View rootView = inflater.inflate(R.layout.fragment_profile_fragments, container, false);\n mContext = getActivity();\n currentUser=ModelManager.modelManager().getCurrentUser();\n pager = rootView.findViewById(R.id.pager);\n setAdvertisementAdapter();\n ll_main = rootView.findViewById(R.id.ll_main);\n img_close = rootView.findViewById(R.id.img_close);\n\n img_close.setOnClickListener(v -> {\n ll_main.setVisibility(View.GONE);\n });\n sharedPreferences = mContext.getSharedPreferences(kAppPreferencesLanguage, Context.MODE_PRIVATE);\n ApplicationManager.setLanguageForApp(mContext, sharedPreferences.getString(kLangPref, \"\"));\n selectedlanguage = sharedPreferences.getString(kLangPref, \"\");\n loaderView = CustomLoaderView.initialize(mContext);\n inItView(rootView);\n\n return rootView;\n }",
"title": ""
},
{
"docid": "253054d4a0355c161296394d4c3853b1",
"score": "0.6563225",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_plan_your_visit, container, false);\n }",
"title": ""
},
{
"docid": "bdbfd07049f564c36e7bfc64ae9446ba",
"score": "0.65615535",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friends, container, false);\n }",
"title": ""
},
{
"docid": "3423a97c1aae16c25e8d375441c34619",
"score": "0.6560568",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n homeView = inflater.inflate(R.layout.list_bookings_fragment_layout, container, false);\n setView();\n return homeView;\n }",
"title": ""
},
{
"docid": "a30bcbd9e4f08e65544d756832156d9b",
"score": "0.6559196",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n rootView = inflater.inflate(R.layout.fragment_pin_layout, container, false);\n updatePinView();\n\n name = (TextView) rootView.findViewById(R.id.pin_fragment_layout_title);\n address_textview = (TextView) rootView.findViewById(R.id.pin_fragment_layout_textview_address);\n artists_textview = (TextView) rootView.findViewById(R.id.pin_fragment_layout_textview_artists);\n info = (TextView) rootView.findViewById(R.id.pin_fragment_layout_textview_info);\n formore = (TextView) rootView.findViewById(R.id.pin_fragment_layout_textview_formore);\n pin_fragment_image = (ImageView) rootView.findViewById(R.id.pin_fragment_layout_imageview);\n subtitle_textview = (TextView) rootView.findViewById(R.id.pin_fragment_layout_textview_subtitle);\n arrow_button = (ImageButton) rootView.findViewById(R.id.imagebutton_arrow_directions);\n share_button = (ImageButton) rootView.findViewById(R.id.imagebutton_share);\n media_button = (ImageButton) rootView.findViewById(R.id.imagebutton_play);\n back_button = (ImageButton) rootView.findViewById(R.id.imagebutton_back);\n spotify_button = (ImageButton) rootView.findViewById(R.id.imagebutton_spotify);\n youtube_button = (ImageButton) rootView.findViewById(R.id.imagebutton_youtube);\n source_label = (TextView) rootView.findViewById(R.id.pin_fragment_layout_source_label);\n buttons_layout = (LinearLayout) rootView.findViewById(R.id.pin_fragment_layout_button_horizontal_layout);\n\n\n return rootView;\n\n\n }",
"title": ""
},
{
"docid": "4186c937a82f041a545b512f47c49b0f",
"score": "0.65564823",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View vPdd = inflater.inflate(R.layout.fragment_stat_hebdo_pdd, container, false);\n tvTotalPrevuCIG = vPdd.findViewById(R.id.tv_pdd_tp_cig);\n tvTotalPrevuCIM = vPdd.findViewById(R.id.tv_pdd_tp_cim);\n tvTotalPrevuPCG = vPdd.findViewById(R.id.tv_pdd_tp_pcg);\n tvTotalPrevuPCM = vPdd.findViewById(R.id.tv_pdd_tp_pcm);\n\n tvTotalRealCIG = vPdd.findViewById(R.id.tv_pdd_real_cig);\n tvTotalRealCIM = vPdd.findViewById(R.id.tv_pdd_real_cim);\n tvTotalRealPCG = vPdd.findViewById(R.id.tv_pdd_real_pcg);\n tvTotalRealPCM = vPdd.findViewById(R.id.tv_pdd_real_pcm);\n\n tvTotalRoverPCIG = vPdd.findViewById(R.id.tv_pdd_r_over_p_cig);\n tvTotalRoverPCIM = vPdd.findViewById(R.id.tv_pdd_r_over_p_cim);\n tvTotalRoverPPCG = vPdd.findViewById(R.id.tv_pdd_r_over_p_pcg);\n tvTotalRoverPPCM = vPdd.findViewById(R.id.tv_pdd_r_over_p_pcm);\n\n rvStatHebdoPDD = vPdd.findViewById(R.id.rv_stat_hebdo_pdd);\n srStatHebdoPDD = vPdd.findViewById(R.id.swipe_stat_hebdo_pdd);\n\n\n return vPdd;\n }",
"title": ""
},
{
"docid": "2d2e9b3ffd447f76b43a94f8cca33fa7",
"score": "0.6555269",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\r\n mRoot = inflater.inflate(R.layout.frag_accountbalance_page,\r\n container, false);\r\n// mainActivity = (MyMainActivity) getActivity();\r\n// mainActivity.initHeadPanel(Constant.FRAGMENT_FLAG_COMMING_SOON);\r\n ButterKnife.bind(this,mRoot);\r\n\r\n initView();\r\n return mRoot;\r\n }",
"title": ""
},
{
"docid": "2644c6310d7b73cb17424a61abd57bd6",
"score": "0.655373",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_graph, container, false);\n mDbManager = new BabyInfoDBManager(getActivity());\n mLayout = (RelativeLayout) view.findViewById(R.id.graphLayout);\n mTextAverageValue = (TextView)view.findViewById(R.id.textAverageValue);\n return view;\n }",
"title": ""
},
{
"docid": "d5db4aa74d4d8ffc7f0699f8716ff0e7",
"score": "0.65525",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sredisnji, container, false);\n }",
"title": ""
},
{
"docid": "b16fc979e3c7bfc5e924b3586806565e",
"score": "0.65514046",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.current_sales_fragment, container, false);\n\n }",
"title": ""
},
{
"docid": "850248fc58482a63f5fea711f1a16e12",
"score": "0.655001",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_assi_details_view, container, false);\n }",
"title": ""
},
{
"docid": "9a766340c717940abe72950570a623f5",
"score": "0.65464497",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n // Inflating layout fragment_selected_event in the fragment\n View view = inflater.inflate(R.layout.fragment_selected_event, parent, false);\n return view;\n }",
"title": ""
},
{
"docid": "6297a9876d0dda21344a34d565c1d502",
"score": "0.6545568",
"text": "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.abount_fragment_layout, container, false);\n return view;\n }",
"title": ""
},
{
"docid": "5565689e4d0a3902096f8a7dd28db4e5",
"score": "0.65450615",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_wphb, container, false);\n Bundle bundle=this.getArguments();\n if(bundle!=null){\n list = bundle.getParcelableArrayList(\"data\");\n }\n rankContentPresenter=new IRankContentPresenterImpl(this,getContext());\n rankContentPresenter.setId(list.get(0).getId());\n rankContentPresenter.loadData();\n init(view);\n return view;\n }",
"title": ""
},
{
"docid": "164fc79f0f184ec74df8147b837cd135",
"score": "0.6539274",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_select_group_member, container, false);\n }",
"title": ""
},
{
"docid": "f6a3fd2a60f96c3a9326f1918fae77bf",
"score": "0.65351313",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_filter_feed, container, false);\n\n initComponents(rootView);\n\n return rootView;\n }",
"title": ""
},
{
"docid": "79d383a6b3e3c59309c3954cdf039c55",
"score": "0.653498",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_fragment_data_restaurantes, container, false);\n }",
"title": ""
},
{
"docid": "4ffdd9d6c63e46904b86092a728fd765",
"score": "0.65337723",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_advice_week, container, false);\n }",
"title": ""
},
{
"docid": "4dce15bd30a6c8e8f5611baeda696936",
"score": "0.653262",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_new_feed, container, false);\n }",
"title": ""
},
{
"docid": "c9a2d5ea423042e3a22d6d5f60a5ddf0",
"score": "0.653137",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_shou, container, false);\n initView(inflate);\n initData();\n return inflate;\n }",
"title": ""
},
{
"docid": "dfa7c0e54d999e6bde0d32fc850f17b5",
"score": "0.652968",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_stat, null);\n return rootView;\n }",
"title": ""
},
{
"docid": "abae8050236d5b38d259504b62ccc2dc",
"score": "0.65282935",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.profile_frag_message_detail, container, false);\r\n ButterKnife.bind(this, view);\r\n EventBusActivityScope.getDefault(_mActivity).register(this);\r\n initToolbar();\r\n initViews();\r\n return view;\r\n }",
"title": ""
},
{
"docid": "ac88c1f3d75ce6512c3cd3a545bdcb6a",
"score": "0.6522823",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_feedback, container, false);\r\n self = getActivity();\r\n initUI(view);\r\n initControlUI();\r\n initData();\r\n return view;\r\n }",
"title": ""
},
{
"docid": "7bdf72e0f478f6ffc7f96653de94488a",
"score": "0.6519869",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_select_multiple_tag_value, container, false);\n setupWidgets();\n return rootView;\n }",
"title": ""
},
{
"docid": "7defbc73626e8818f5453cd78aeecc82",
"score": "0.65193254",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_bin, container, false);\n }",
"title": ""
},
{
"docid": "82025e44981a9cecd56fec6a5595bef5",
"score": "0.65188736",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_feeds, container, false);\n\n\n return view;\n\n }",
"title": ""
},
{
"docid": "f109d17bd9988dbb886daa64878a3b9e",
"score": "0.65167737",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_section_detaills, container, false);\n }",
"title": ""
},
{
"docid": "db77fd11aac9d82e8b27bf86133e98c8",
"score": "0.65134513",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.aktivo_social_media_fragment, container, false);\n }",
"title": ""
},
{
"docid": "f138b345990d4065e3fc14c64c85a26b",
"score": "0.6509513",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_pin, container, false);\n init(view);\n setListeners();\n return view;\n }",
"title": ""
},
{
"docid": "9236934b27b91fccffc551f255232dcc",
"score": "0.65067166",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_info_batik_jakarta1, container, false);\n\n\n\n }",
"title": ""
},
{
"docid": "9236934b27b91fccffc551f255232dcc",
"score": "0.65067166",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_info_batik_jakarta1, container, false);\n\n\n\n }",
"title": ""
},
{
"docid": "9236934b27b91fccffc551f255232dcc",
"score": "0.65067166",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_info_batik_jakarta1, container, false);\n\n\n\n }",
"title": ""
},
{
"docid": "c99edfbedb54984caa6235b461089e60",
"score": "0.65053755",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_guan, container, false);\n initView();\n initData();\n return view;\n }",
"title": ""
},
{
"docid": "d406840ef6d548fdb99ab7f0f0fc75ae",
"score": "0.6505366",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_record, container, false);\n }",
"title": ""
},
{
"docid": "78def9084e7faa6375b416e819da223b",
"score": "0.6504578",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_personal_details, container, false);\r\n\r\n setInit();\r\n\r\n findViews(view);\r\n\r\n setFormula();\r\n\r\n setEvents();\r\n\r\n return view;\r\n }",
"title": ""
},
{
"docid": "5092df246127646af727327cbc8bc7a7",
"score": "0.65015787",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_wall, container, false);\n return view;\n }",
"title": ""
},
{
"docid": "88abca832e116f231719b8f3c0614ec7",
"score": "0.64988446",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_google_service, container, false);\n intiView(view);\n return view;\n }",
"title": ""
},
{
"docid": "4d407a24bce2f972ae0406e8fe663c42",
"score": "0.64988273",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.content_rec_bano, container, false);\n }",
"title": ""
},
{
"docid": "274b4f94d0cc65bc077509d5578edd22",
"score": "0.6497285",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qr__code, container, false);\n }",
"title": ""
},
{
"docid": "abea61f16c417c700bbfb20488b907f1",
"score": "0.6496698",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_wilayah, container, false);\n }",
"title": ""
},
{
"docid": "14a9b618934d12b0dd4400a497f4436c",
"score": "0.6496293",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_taskai, container, false);\r\n }",
"title": ""
},
{
"docid": "2f5e33f7ee78e1d297d63042a9695899",
"score": "0.64901656",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_record, container, false);\n initialiseUI();\n return view;\n }",
"title": ""
},
{
"docid": "f54b79c3a7a4f6e1b0c9c139c5859dc9",
"score": "0.6487897",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_hop, container, false);\n persenter= new RecommendPersenter(this);\n initView(view);\n initDate();\n return view;\n }",
"title": ""
},
{
"docid": "9c7b2af116d6e3986aa3111c661acc08",
"score": "0.6487176",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_trainer_feedback, container, false);\n }",
"title": ""
},
{
"docid": "38b92ff2b31f017f927d73b86a4fb449",
"score": "0.64818555",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_hot_post, container, false);\n initview(view);\n return view;\n }",
"title": ""
},
{
"docid": "521d35eb4e72698d81c1a4e91ccbd3a5",
"score": "0.64808476",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) \n {\n return inflater.inflate(R.layout.address, container, false);\n }",
"title": ""
},
{
"docid": "b2cea7e74350f032ad181b5a9ed59a03",
"score": "0.6480629",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_measure, container, false);\n\n distanceEdit = v.findViewById(R.id.distanceEdit);\n pgbar = v.findViewById(R.id.progressBar);\n btnRun = v.findViewById(R.id.btnRun);\n resNoti = v.findViewById(R.id.resEdit);\n resNoti.setText(mParamPath + File.separator + mParamName);\n\n rs = new RssiScan(getActivity());\n\n checkPermisson();\n initEvent();\n\n return v;\n }",
"title": ""
},
{
"docid": "f09325f7f9f124f4ef4f879ea0241861",
"score": "0.64755553",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.main_fragment, container, false);\n\n find_id();\n iniadmob();\n initui();\n return view;\n }",
"title": ""
},
{
"docid": "de41c6434f6f9d274977f5f024a375b3",
"score": "0.6475227",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v= inflater.inflate(R.layout.fragment_fragment9, container, false);\n\n initializeElements(v);\n\n return v;\n }",
"title": ""
},
{
"docid": "8eb397e078ce72e575ff778187bba9c0",
"score": "0.6471052",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_add_map_values, container, false);\n }",
"title": ""
},
{
"docid": "0269441d16dfe4e9c3be414881c43d5b",
"score": "0.6470039",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_event_details, container, false);\n }",
"title": ""
},
{
"docid": "b2c05e1f169d25ccb377d79ea4117706",
"score": "0.6468551",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n root = inflater.inflate(R.layout.fragment_share_gift, container, false);\n return root;\n }",
"title": ""
},
{
"docid": "8b5789f7fb45f52f873d30770a583845",
"score": "0.64684093",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_visitor_list, container, false);\n }",
"title": ""
},
{
"docid": "b561ec17ee0a684d129098eff4cf80d6",
"score": "0.64676964",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_student_page, container, false);\n }",
"title": ""
},
{
"docid": "0fb39934ec060ebcacfb53317afde51e",
"score": "0.6467239",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.lesson_list_layout, container, false);\n }",
"title": ""
},
{
"docid": "f194093ebbc0b86ee9ae65d504d28bf6",
"score": "0.64656013",
"text": "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_high_scores, container, false);\n }",
"title": ""
},
{
"docid": "03042ff7c1366aeb9c2734bc39371ee8",
"score": "0.6461518",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_selling_manager, container, false);\n }",
"title": ""
},
{
"docid": "4dcfc6b567ec6e9ec8ada25c7b27ffa5",
"score": "0.64614016",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_loan, container, false);\n }",
"title": ""
},
{
"docid": "92d559ee373b1568372897b6888f3a8c",
"score": "0.6460399",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n try {\r\n mView = inflater.inflate(R.layout.fragment_tab_tracking_signature, container, false);\r\n setup(mView);\r\n GetImages();\r\n }catch(Exception e){\r\n Log.e(TAG,\"Error : \",e);\r\n }\r\n return mView;\r\n }",
"title": ""
},
{
"docid": "10b691cedb0bed787f0d12b16f9abb8a",
"score": "0.6458748",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_barber_detail, container, false);\n }",
"title": ""
},
{
"docid": "a3d49031443e71f5f660ac6bdee3e5f0",
"score": "0.64566916",
"text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_daily_weekly_limits, container, false);\r\n return v;\r\n }",
"title": ""
},
{
"docid": "514211730e3bf19efab16682ca8b9c58",
"score": "0.6455985",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_blank_fragment2_2, parent, false);\n }",
"title": ""
},
{
"docid": "7fa0f443a45964abbee1ac3a7a9e7527",
"score": "0.6455635",
"text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_movie_discover, container, false);\n }",
"title": ""
}
] |
669191af0da82e0c6762883d68962981 | Remove a relation from the list of chatRelation of this user and save the user in the DB if db is not null | [
{
"docid": "8030096f26232561b56376a5e6da16a4",
"score": "0.7132327",
"text": "public void removeChatRelation(ChatRelation chatRelation, DatabaseReference db) {\n if (chatRelations_ != null) chatRelations_.remove(chatRelation);\n\n if (db != null) {\n addToDB(db);\n }\n }",
"title": ""
}
] | [
{
"docid": "cd21e60b5fdf002f434420f955036a44",
"score": "0.65061325",
"text": "public void removeChatRelation(ChatRelation chatRelation) {\n removeChatRelation(chatRelation, null);\n }",
"title": ""
},
{
"docid": "da7cd853b84a9aac603c31b8f8044a0c",
"score": "0.64715767",
"text": "public void dropRelation(String relation){}",
"title": ""
},
{
"docid": "9e11beee51c45700cc059fa347301578",
"score": "0.6415089",
"text": "@Override\n public void removeFromDB(DatabaseReference db) throws Utils.IllegalCallException {\n db.child(DBUtility.USERS).child(googleId_).removeValue();\n\n //remove user's from all categories\n List<Categories> allCat = new ArrayList<Categories>(Arrays.asList(Categories.values()));\n for (Categories c : allCat) {\n DBUtility.get().getCategory(c, cat -> {\n cat.removeUser(this);\n cat.addToDB(db);\n });\n }\n\n //remove the user from posts he/she made\n DBUtility.get().getUsersPosts(googleId_, posts -> {\n for (Post p : posts) {\n p.removeUser();\n }\n });\n\n //remove the user from all ChatRelations and delete the relation if both users are removed\n boolean removed = false;\n for (ChatRelation cr : chatRelations_) {\n if (cr.getFirstUserId_().equals(googleId_)) {\n if (cr.getSecondUserId_().equals(User.getDeletedUserGoogleID())) {\n cr.removeFromDB(db);\n removed = true;\n } else {\n cr.setFirstUserId_(User.getDeletedUserGoogleID());\n }\n }\n if (cr.getSecondUserId_().equals(googleId_) && !removed) {\n if (cr.getFirstUserId_().equals(User.getDeletedUserGoogleID())) {\n cr.removeFromDB(db);\n removed = true;\n } else {\n cr.setSecondUserId_(User.getDeletedUserGoogleID());\n }\n\n }\n if (!removed) {\n //change the ID in all messages the user sent\n DBUtility.get().getAllMessagesFromChatRelation(cr.getId_(), messages -> {\n for (ChatMessage m : messages) {\n m.setUserId_(User.getDeletedUserGoogleID());\n m.setUser_(User.getDeletedUser().getName_());\n m.addToDB(db);\n }\n });\n cr.addToDB(db);\n }\n }\n\n\n }",
"title": ""
},
{
"docid": "d68fa0019ec216c8914ad9def2f7df0c",
"score": "0.58890146",
"text": "public void removeAllRelation()\n {\n _relationList.removeAllElements();\n }",
"title": ""
},
{
"docid": "8d206354390d7f5c398d3d89c30725c6",
"score": "0.5865426",
"text": "void unsetRelations();",
"title": ""
},
{
"docid": "50946e87954ddb1bfbb74730fbcca0e3",
"score": "0.58293694",
"text": "public boolean deleteRelation(UUID from,UUID to){\n\n ArrayList<UUID> temp = null;\n\n if (!hasEdge(from, to))\n return false;\n if (from == to)\n return false;\n reduceNumEdges();\n\n\n temp = JsonConvertor.JsonToUUIDArrayList(dbManager.getJsonObject(from));\n temp.remove(to);\n dbManager.putJsonObject(from,JsonConvertor.convertToJson(temp));\n\n temp = JsonConvertor.JsonToUUIDArrayList(dbManager.getJsonObject(to));\n temp.remove(from);\n dbManager.putJsonObject(from,JsonConvertor.convertToJson(to));\n\n // update node realtaion timestamp\n Node myNode = mNodesDB.getNode(mNodesDB.getMyNodeId());\n myNode.setTimeStampNodeRelations(Calendar.getInstance());\n mNodesDB.addNode(myNode);\n return true;\n }",
"title": ""
},
{
"docid": "3ca3168cdea8744b60c2c8b397eda8d8",
"score": "0.5783639",
"text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n rootRef.child( \"Chat\" ).child( currentUserId ).child( listUserId ).removeValue().addOnCompleteListener( new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n Toast.makeText( mainView.getContext(), \"Deleted\", Toast.LENGTH_SHORT ).show();\n }\n } );\n\n// rootRef.updateChildren( deleteChat, new DatabaseReference.CompletionListener() {\n// @Override\n// public void onComplete(@Nullable DatabaseError error, @NonNull DatabaseReference ref) {\n//\n// }\n// } );\n\n }",
"title": ""
},
{
"docid": "b0ad8604ac15f954c30476c607149af7",
"score": "0.5746174",
"text": "public void removeUser(){\n\t\tuser.setFirstName(null);\n\t\tuser.setFullName(null);\n\t\tuser.setId(null);\n\t\tuser.setTriedGettingPublishPermission(false);\n\t\tnew SetProfilePicTask().execute(user);\n\t}",
"title": ""
},
{
"docid": "45b48a2f22fa05244b610f3c974cd28b",
"score": "0.56915796",
"text": "@Override\n public void onSuccess(Void aVoid) {\n mFriendsREquestReference.child(online_user).child(list_user_id).removeValue()\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()){\n mFriendsREquestReference.child(list_user_id).child(online_user)\n .removeValue().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n\n if (task.isSuccessful()){\n\n Toast.makeText(getContext()\n , \"Friends Done...\",\n Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n\n }\n });\n\n }",
"title": ""
},
{
"docid": "94deed7a3013079f4da797cdc57f98a0",
"score": "0.5668557",
"text": "@Override\n public void delete(Long aLong) {\n firebaseDatabase.getReference(\"User/\"+aLong).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n if (dataSnapshot.exists()) {\n UserBot userBot = dataSnapshot.getValue(UserBot.class);\n userBot.getTrackList().forEach((string, userTrack) ->\n firebaseDatabase.getReference(\"Track/\"+userTrack.getTrackId()).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n if (dataSnapshot.exists()){\n Track track = dataSnapshot.getValue(Track.class);\n track.getUsers().remove(String.valueOf(aLong.longValue()));\n trackController.create(track);\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n })\n );\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n //delete user\n firebaseDatabase.getReference(\"User/\"+aLong).removeValue();\n }",
"title": ""
},
{
"docid": "907e192eba61e0405dbd5ffa16c25555",
"score": "0.56140167",
"text": "public void removeMoteRelation(Mote source, Mote dest) {\n if (source == null || dest == null) {\n return;\n }\n MoteRelation[] arr = getMoteRelations();\n for (MoteRelation r: arr) {\n if (r.source == source && r.dest == dest) {\n moteRelations.remove(r);\n /* Relations are unique */\n moteRelationObservable.setChangedAndNotify();\n break;\n }\n }\n }",
"title": ""
},
{
"docid": "c0799735e56ed0cd33415d71464bc94d",
"score": "0.55771965",
"text": "public void unlink() {\n\t\toneSide.pointingTo( manySide ).unsetValue();\n\t\tmanySide.pointingTo( oneSide ).unsetValue();\n\t}",
"title": ""
},
{
"docid": "749c61be7c19372e8adfeef0839933e8",
"score": "0.5557648",
"text": "@Override\n\tpublic void deleteRelation(Long id) {\n\t\trepozitorijum.deleteById(id);\n\t\t\n\t}",
"title": ""
},
{
"docid": "19c73d36a032405ca6501d5f78b92cd1",
"score": "0.5551768",
"text": "private void deleteSessionUser(){\n if(mChat_user_id.equals(\"waiting\")){\n mQueueDb = FirebaseDatabase.getInstance().getReference().child(\"queue\").child(mCurrent_User_id);\n mQueueDb.removeValue();\n }\n //deleting chat session\n else {\n mChatDatabase.child(mCurrent_User_id).removeValue();\n mChatDatabase.child(mChat_user_id).removeValue();\n mRootRef.child(\"messages\").child(mCurrent_User_id).removeValue();\n mRootRef.child(\"messages\").child(mChat_user_id).removeValue();\n// queueing other user, not needed rigth now\n// HashMap<String, Object> queueMap = new HashMap<>();\n// queueMap.put(\"timeStamp\", ServerValue.TIMESTAMP);\n// mQueueDb = FirebaseDatabase.getInstance().getReference().child(\"queue\").child(mChat_user_id);\n// mQueueDb.setValue(queueMap);\n }\n\n //sign-out current user\n FirebaseAuth.getInstance().signOut();\n\n //deleting current user\n mUser.delete()\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()) {\n Log.d(\"Stopping\", \"Deleted user\");\n }\n }\n });\n }",
"title": ""
},
{
"docid": "debf3d0f4fb27c6c904fc116a330debb",
"score": "0.5545793",
"text": "public void unsetRelationCustom()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(RELATIONCUSTOM$8, 0);\n }\n }",
"title": ""
},
{
"docid": "fe85a24c4e8fbca24178a2f0b4102463",
"score": "0.5477944",
"text": "private void disconnectUser(){\n String userId = FirebaseAuth.getInstance().getCurrentUser().getUid();\n DatabaseReference userRef = FirebaseDatabase.getInstance().getReference(\"CustomerLocation\");\n DatabaseReference userRefPickup = FirebaseDatabase.getInstance().getReference(\"CustomerPickupLocation\");\n\n GeoFire userGeo = new GeoFire(userRef);\n GeoFire userGeoPickup = new GeoFire(userRefPickup);\n\n userGeoPickup.removeLocation(userId);\n userGeo.removeLocation(userId);\n\n }",
"title": ""
},
{
"docid": "750572e602495bc69fbec289baa8f240",
"score": "0.54551446",
"text": "public void addChatRelation(ChatRelation chatRelation, DatabaseReference db) {\n if (chatRelations_ == null) {\n chatRelations_ = new ArrayList<>();\n }\n\n if (!chatRelations_.contains(chatRelation)) chatRelations_.add(chatRelation);\n\n if (db != null) {\n addToDB(db);\n }\n }",
"title": ""
},
{
"docid": "b4d39c0587d01d1ad445cb452feafbb3",
"score": "0.5452098",
"text": "@Override\n public void onSuccess(Void aVoid) {\n FirebaseDatabase.getInstance()\n .getReference(\"followers\")\n .child(unfollowedID)\n .child(user.getUid())\n .removeValue()\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n //update UI\n callback.onFollowChecked(false);\n }\n });\n }",
"title": ""
},
{
"docid": "b4d39c0587d01d1ad445cb452feafbb3",
"score": "0.5452098",
"text": "@Override\n public void onSuccess(Void aVoid) {\n FirebaseDatabase.getInstance()\n .getReference(\"followers\")\n .child(unfollowedID)\n .child(user.getUid())\n .removeValue()\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n //update UI\n callback.onFollowChecked(false);\n }\n });\n }",
"title": ""
},
{
"docid": "9bc622752a025da28f6e57218a106462",
"score": "0.54311293",
"text": "void removeUser(User user);",
"title": ""
},
{
"docid": "c3dfeca4d6304f41ec2faa9be4c5fc17",
"score": "0.5426845",
"text": "private UserRemove() {\n initFields();\n }",
"title": ""
},
{
"docid": "e4e5180dcbb3374931641ba422e3a0b2",
"score": "0.5414897",
"text": "public void removePlayerFromGame(){\n\n mFirebaseDatabase = FirebaseDatabase.getInstance();\n mDatabaseReference = mFirebaseDatabase.getReference();\n mDatabaseReference.child(\"Games\").child(mVars.getGameID()).child(\"Players\").child(mVars.getPlayerID()).removeValue();\n }",
"title": ""
},
{
"docid": "6b618e5c4ad4b808901fe3a67670e201",
"score": "0.5412476",
"text": "public void removePointsUser()\r\n {\r\n getSemanticObject().removeProperty(forumCat_pointsUser);\r\n }",
"title": ""
},
{
"docid": "aa11e75ac42c2ec82def17ea74514818",
"score": "0.5398826",
"text": "public void addChatRelation(ChatRelation chatRelation) {\n addChatRelation(chatRelation, null);\n }",
"title": ""
},
{
"docid": "8e93a8b756065f2c7c5974015d852cb1",
"score": "0.53746724",
"text": "@Override\n public void unLiked(LikeButton likeButton) {\n if (sharedPreferences.getString(Constants.EMAIL, \"DEFAULT\") != null && !sharedPreferences.getString(Constants.EMAIL, \"DEFAULT\").equals(\"DEFAULT\")) {\n myDatabase.child(\"UserFavorite\").addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n\n for (DataSnapshot snap : snapshot.getChildren()) {\n UserFavorite userFavorite = snap.getValue(UserFavorite.class);\n\n if (userFavorite.getEmail().equals(sharedPreferences.getString(Constants.EMAIL, \"DEFAULT\"))) {\n if (userFavorite.getMovieId() == filmIndex) {\n\n myDatabase.child(\"UserFavorite\").child(snap.getKey() + \"\").removeValue();\n }\n\n\n }\n\n\n }\n\n\n Log.d(\"TAG\", \"finished \");\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n Toast.makeText(getApplicationContext(), \"deleted\", Toast.LENGTH_SHORT).show();\n }\n }",
"title": ""
},
{
"docid": "7a7a4818f21c930d249584712c800404",
"score": "0.53725266",
"text": "private <T extends BidirectionalBase> void internalUnsetOneToMany(T param, Field field, Relation relation) {\n internalSetOneToMany(param, field, relation);\n }",
"title": ""
},
{
"docid": "7d6d19442e5ad81ca5ff971a20b510a3",
"score": "0.5365554",
"text": "public void removeFriendLink(Integer userid, Integer friendToUnlink){\n try {\n //load driver\n Class.forName(\"com.mysql.jdbc.Driver\");\n \n String dbURL = \"jdbc:mysql://localhost:3306/jspchat\";\n String dbUsername = \"root\";\n String dbPassword = \"Password123\";\n Connection connection = DriverManager.getConnection(dbURL, dbUsername, dbPassword);\n\n String preparedSQL = \"SELECT * FROM friend_links WHERE friender = ?\";\n PreparedStatement ps = connection.prepareStatement(preparedSQL);\n ps.setInt(1, userid);\n ResultSet myFriends = ps.executeQuery();\n \n Integer rowToDelete = 0;\n \n while (myFriends.next()){\n if (myFriends.getInt(\"friendee\") == friendToUnlink){\n //this is the row we need to delete.\n rowToDelete = myFriends.getInt(\"id\");\n } \n }\n \n //close the dataset\n myFriends.close();\n \n //delete the row\n String deleteQuery = \"DELETE FROM friend_links WHERE id='\" + rowToDelete + \"'\";\n Statement statement = connection.createStatement();\n statement.executeUpdate(deleteQuery);\n \n \n } catch (SQLException e) {\n e.printStackTrace();\n \n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } \n \n }",
"title": ""
},
{
"docid": "aab8c71766bb11f497a938fb886896f7",
"score": "0.5362284",
"text": "private void deleteUser (int position, User model) {\n\n DatabaseReference mDb = FirebaseDatabase.getInstance().getReference(\"User\");\n User czm = mAdapter.getItem(position);\n String uId = czm.getUserID();\n String cName = model.getEmail();\n\n// User czm = mAdapter.getItem(position);\n Log.e(TAG, \"czm in delete \" + czm);\n// String key = mDb.child(czm.getUserID()).;\n// String uId = czm.getUserID();\n String mm = model.getUserID();\n// String key = mDb.child(model.getUserID()).toString();\n Log.e(TAG, \"model key in delete \" + uId + \"mm \" + mm);\n mDb.child(uId).removeValue();\n// mAdapter.notifyItemRemoved(position);\n mAdapter.notifyDataSetChanged();\n }",
"title": ""
},
{
"docid": "b22de1a31cddb4716855d189dc9e8f5c",
"score": "0.53545076",
"text": "public boolean remove(User object);",
"title": ""
},
{
"docid": "b34225ab31a795cae5284ce996bbc601",
"score": "0.5346307",
"text": "@Override\n public boolean unfollowUser(User user, User unfollowingUser) {\n user.unfollowUser(unfollowingUser);\n try {\n em.merge(user);\n em.merge(unfollowingUser);\n return true;\n } catch (Exception ex) {\n ex.printStackTrace();\n return false;\n }\n }",
"title": ""
},
{
"docid": "ba092e42b1fa6fe69f1ab63b86406d1e",
"score": "0.5345666",
"text": "public void removeBidirectionalPairRelation()\n\t{\n\t\tif (!this.isBidirectional()) return;\n\t\tgetBidirectionalPair().get().getNe().setAttribute(ATTNAMESUFFIX_BIDIRECTIONALPAIRNPDEMANDID, -1);\n\t\tgetNe().setAttribute(ATTNAMESUFFIX_BIDIRECTIONALPAIRNPDEMANDID, -1);\n\t}",
"title": ""
},
{
"docid": "f1f14a7fec5f4a505c05af0e45c90075",
"score": "0.5343947",
"text": "@Override\n public void onClick(View view) {\n removeFriend(model.getEmail());\n }",
"title": ""
},
{
"docid": "d3b1463ce2a9839f331f538268228de1",
"score": "0.53409916",
"text": "@PreRemove\n private void removeRolesFromUsers() {\n for (User user : users) {\n user.getRoles().remove(this);\n }\n }",
"title": ""
},
{
"docid": "0247b5dd0bd0424e3fbf04d5a14eaad2",
"score": "0.5337965",
"text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n String phoneStr = deleteAccount.getText().toString().trim();\n if (LoginActivity.getUser().getPhone().matches(phoneStr)){\n Toast.makeText(ProfileActivity.this, \"Your account is deleted\", Toast.LENGTH_SHORT).show();\n // delete shared preference\n LoginActivity.clearUser();\n // delete local user obj\n LoginActivity.getUser().copy(new User());\n displayProfile();\n // delete real time database\n reference = FirebaseDatabase.getInstance().getReference(\"user\").child(phoneStr);\n reference.removeValue();\n // delete authentication\n FirebaseAuth.getInstance().getCurrentUser().delete();\n Intent intent = new Intent(ProfileActivity.this, LoginActivity.class);\n startActivity(intent);\n finish();\n\n }else{\n Toast.makeText(ProfileActivity.this, \"Failed to delete phone number miss matched\", Toast.LENGTH_LONG).show();\n }\n }",
"title": ""
},
{
"docid": "01ebe264af597a9537891df984786f30",
"score": "0.5332278",
"text": "public static void updateRelation(Long id_user, ArrayList<Long> log) {\n \t\tString in = \" and `id_User` NOT IN (:log)\";\n \t\tString sql = \"DELETE FROM user_log WHERE `id_user`=:id_user \";\n \t\t\n \t\tif (log != null && log.size() > 0)\n \t\t\tsql = sql + in;\n \t\t\t\n \t\tSqlParameterSource parameters = new MapSqlParameterSource()\n \t\t\t.addValue(\"id_user\", id_user)\n \t\t\t.addValue(\"log\", log);\n \t\t\n \t\tjdbcTemplate.update(sql, parameters);\n \t\t\n \t\t// Get actual \t\t\n \t List<Long> actual = UserService.User_logService.findBy_user(id_user);\n \t \n \t\t// Insert new\n \t\tfor (Long id_User : log) {\n \t\t\tif (actual.indexOf(id_User) == -1){\n \t\t\t\tUserService.User_logService.insert(id_user, id_User);\n \t\t\t}\n \t\t}\n \t\t\n \t}",
"title": ""
},
{
"docid": "e88a33c358c68d60ebda33520c5855c8",
"score": "0.531172",
"text": "public void removeFriendship(User user1, User user2) {\n \t\tParseQuery<ParseObject> query = buildRemoveFriendshipQuery(user1, user2);\n \t\tquery.findInBackground(new FindCallback<ParseObject>() {\n \t\t\t@Override\n \t\t\tpublic void done(List<ParseObject> objects, ParseException e) {\n \t\t\t\tif (e == null) {\n \t\t\t\t\tfor (ParseObject p : objects)\n\t\t\t\t\t\tp.deleteInBackground();\n \t\t\t\t}\n \t\t\t}\n \t\t});\n \t}",
"title": ""
},
{
"docid": "aa582a4e6bd2b2d9e91004f770e9e09e",
"score": "0.53094673",
"text": "public void removeFavoritosComicUsuario(Comic comicFavorite) {\n tipoFavorito = comicFavorite.getComicFavorito();\n\n //Instancia do firebase\n DatabaseReference databaseReference = FirebaseDatabase.getInstance().getReference();\n\n //Referencia do firebase\n DatabaseReference usuarioReference = databaseReference.child(\"tab_usuarios\").child(\"usuario\");\n\n if (tipoFavorito == comic) {\n\n //Recupera dados do Comic\n DatabaseReference comicReference = usuarioReference.child(\"favoritos\").child(\"comic\");\n\n usuarioReference\n .child(\"favoritos\")\n .child(\"comic\")\n .child(comicFavorite.getId())\n .removeValue();\n\n } else if (tipoFavorito == event) {\n\n //Recupera dados do Event\n DatabaseReference eventReference = usuarioReference.child(\"favoritos\").child(\"event\");\n\n usuarioReference\n .child(\"favoritos\")\n .child(\"event\")\n .child(comicFavorite.getId())\n .removeValue();\n\n } else if (tipoFavorito == serie) {\n\n //Recupera dados da Serie\n DatabaseReference serieReference = usuarioReference.child(\"favoritos\").child(\"serie\");\n\n usuarioReference\n .child(\"favoritos\")\n .child(\"serie\")\n .child(comicFavorite.getId())\n .removeValue();\n }\n }",
"title": ""
},
{
"docid": "4925271fbe5752e186ba7031425d5447",
"score": "0.5291399",
"text": "public void deleteMoteRelationsObserver(Observer observer) {\n moteRelationObservable.deleteObserver(observer);\n }",
"title": ""
},
{
"docid": "73e7fcf114a8c64da44b79cd7a4f225d",
"score": "0.52847123",
"text": "@ApiMethod(name = \"unfollow_user\", path=\"put/users/{id_user}/unfollow/{id_user_to_remove}\", httpMethod = HttpMethod.PUT)\n\tpublic void unfollowUser(@Named(\"id_user\") String id_user, @Named(\"id_user_to_remove\") String id_user_to_remove){\n\t\t\n\t\t\n\t\tDatastoreService datastore = DatastoreServiceFactory.getDatastoreService();\n\n\t\tTransaction transac = datastore.beginTransaction();\n\t\ttry {\t\n\t\t\t\n\t\t\t/* REMOVE user_to_remove to friends list */\n\t\t\tEntity user = datastore.get(KeyFactory.stringToKey(id_user));\n\t\t\tArrayList<String> friends = (ArrayList<String>) user.getProperty(\"friends\");\n\t\t\t\n\t\t\tif(friends.contains(id_user_to_remove)) {\n\t\t\t\tfriends.remove(id_user_to_remove);\t\t\t\n\t\t\t}\n\t\t\tuser.setProperty(\"friends\", friends);\n\t\t\t/* ****************************** */\n\t\t\t\n\t\t\t/* REMOVE id_user to followers list */\n\t\t\tKey user_to_remove = KeyFactory.createKey(\"User\", id_user_to_remove);\n\t\t\tEntity user_remove = datastore.get(user_to_remove);\n\t\t\tArrayList<String> followers = (ArrayList<String>) user_remove.getProperty(\"followers\");\n\t\t\tif(followers != null) {\n\t\t\t\tif(followers.contains(id_user)) {\n\t\t\t\t\tfollowers.remove(id_user);\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\tuser_remove.setProperty(\"followers\", followers);\n\t\t\t/* ****************************** */\n\t\t\t\n\t\t\tdatastore.put(transac,user);\t\n\t\t\tdatastore.put(transac,user_remove);\n\t\t\ttransac.commit();\n\t\t\t\n\t\t//catch is necessary for the datastore.get() method\n\t\t} catch (EntityNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(transac.isActive()) {\n\t\t\t\ttransac.rollback();\n\t\t\t}\n\t\t}\t\n\t}",
"title": ""
},
{
"docid": "fd464820e78b655ecc37c899cc2b2eb7",
"score": "0.52844054",
"text": "public void remove(Relationship rel) {\n m_secret.remove(rel);\n m_public.remove(rel);\n }",
"title": ""
},
{
"docid": "fb582f2f85f6a9a964cfd9dd3abb85e7",
"score": "0.5277975",
"text": "public void destroyRelationship() {\n //remove this relationship from the relationshipManagers\n //formedRelationships vector. This will effectively remove all\n //references to the relationship and garbage collection will take care\n //of the rest\n\n// System.out.println(this.toString() + \" being destroyed.\");\n if (lastAgent != null) {\n Vector relationships = lastAgent.getRelationshipManager().getFormedRelationships();\n for (int ix = 0; ix < relationships.size(); ix++) {\n Relationship tempRelationship =\n (Relationship)relationships.elementAt(ix);\n if (tempRelationship.getClassName().equals(name)) {\n Vector tempMembers = tempRelationship.getMembers();\n if (tempMembers.size() == 0) {\n relationships.remove(tempRelationship);\n ix--;\n }//end if\n }//end if\n }//end for\n }//end if\n }",
"title": ""
},
{
"docid": "c8e217044ba6eca1684f3f204c2757b1",
"score": "0.52707976",
"text": "private void unlinkOtherUsersFromStaff(UserEntity user, StaffEntity existingStaff) {\n\t\tval userId = ofNullable(user).map(UserEntity::getId).orElse(null);\n\t\tofNullable(existingStaff).map(StaffEntity::getUser)\n\t\t\t\t.ifPresent(users -> users.stream()\n\t\t\t\t\t\t.filter(u -> !u.getId().equals(userId))\n\t\t\t\t\t\t.map(u -> u.toBuilder().staff(null).createdBy(null).updatedBy(null).build())\n\t\t\t\t\t\t.forEach(repository::save));\n\t}",
"title": ""
},
{
"docid": "3dd73b1da69f05371ebe13c22a34dd29",
"score": "0.52706116",
"text": "Boolean unfollowUser(int fromId, int toId);",
"title": ""
},
{
"docid": "dd7f0fb69447926b7b148e661ab3fb89",
"score": "0.52688634",
"text": "public void removeFriend(View view) {\n Spinner spinner = (Spinner) findViewById(R.id.spinner);\n String name = spinner.getSelectedItem().toString();\n User toRemove = Model.getPerson(name);\n\n if (null == toRemove) {\n Toast.makeText(getApplicationContext(),\n \"user doesn't exist\", Toast.LENGTH_SHORT).show();\n return;\n } else if (toRemove.getName().equals(Model.getCurrentPerson().getName())) {\n Toast.makeText(getApplicationContext(),\n \"Can't remove yourself!\", Toast.LENGTH_SHORT).show();\n return;\n }\n boolean isInFriends = false;\n for (User i : Model.getCurrentPerson().getFriends()) {\n if (i.getName().equals(toRemove.getName())) {\n isInFriends = true;\n }\n }\n if (!isInFriends) {\n Toast.makeText(getApplicationContext(),\n \"user is not in friends\", Toast.LENGTH_SHORT).show();\n return;\n }\n\n Toast.makeText(getApplicationContext(), \"Removing friend \" + name, Toast.LENGTH_SHORT).show();\n Model.getCurrentPerson().removeFriend(toRemove);\n }",
"title": ""
},
{
"docid": "2b9ce02aaec436cfa31229361284b97c",
"score": "0.52479863",
"text": "public void _unlinkAssociationRole(AssociationRole associationRole1);",
"title": ""
},
{
"docid": "e999a18504768f8df84091466568a65a",
"score": "0.5247801",
"text": "public void removeHomeTeacher(User exUser) {\n\n }",
"title": ""
},
{
"docid": "c13bc415e0a25b97d5d2df2fcbaee47b",
"score": "0.5243585",
"text": "@Override\n public void onClick(View v) {\n DatabaseReference databaseReference3 = FirebaseDatabase.getInstance().getReference(\"Profile\").child(profileId).child(\"RequestCome\").child(mData.get(myViewHolder.getAdapterPosition()).getId());\n databaseReference3.removeValue().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task1) {/////nijer reqCome theke delete kore\n if(task1.isSuccessful()){\n\n }\n }\n });\n DatabaseReference databaseReference4 = FirebaseDatabase.getInstance().getReference(\"Profile\").child(mData.get(myViewHolder.getAdapterPosition()).getId()).child(\"RequestSent\").child(profileId);\n databaseReference4.removeValue().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task1) {////onner reqSent theke delete kora\n if(task1.isSuccessful()){\n Toast.makeText(mydialog.getContext(),\"request canceled\",Toast.LENGTH_LONG).show();\n mydialog.dismiss();\n }\n }\n });\n\n }",
"title": ""
},
{
"docid": "4e4d2a8224670ac0f0cad65f4aa79f24",
"score": "0.5243502",
"text": "public void removeRelation(int type, Accessible target) {\n\t\t//TODO: platform-specific? (we will manage the set on Windows)\n\t}",
"title": ""
},
{
"docid": "9e13f9a478eb173162479ab3cb87b37c",
"score": "0.52321583",
"text": "public Builder removeRelations(\n java.lang.String key) {\n if (key == null) { throw new java.lang.NullPointerException(); }\n getMutableRelations().remove(key);\n return this;\n }",
"title": ""
},
{
"docid": "861d2dcd8852e1c1d4050563e2d0fa74",
"score": "0.5224909",
"text": "public void removePersonUser(PersonUser personUser) {\r\n personUsers.remove(personUser);\r\n }",
"title": ""
},
{
"docid": "8b6b1295551ee5aa1a93d68b980d8ae1",
"score": "0.52241796",
"text": "public void undo()\r\n\t{\r\n\t\tforeignTable.removeForeignKeyRelationship(relationship);\r\n\t\tprimaryTable.removePrimaryKeyRelationship(relationship);\r\n\t}",
"title": ""
},
{
"docid": "8cb9049950c1cdea18328a030dd7da28",
"score": "0.52227455",
"text": "public void deleteUserPPFromStorage(){\n\n myRef.child(\"Users\").child(USER_UID).child(\"photo\").addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n String key = snapshot.getValue().toString();\n\n if (!key.equals(\"null\")) {\n FirebaseStorage.getInstance().getReference().child(\"UsersPictures\").child(key).delete().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()) {\n FirebaseUtils.saveUserPhotoFirebaseStorage(mAuth, getPhotoFromGalleryURI);\n Toast.makeText(getActivity(), \"Fotoğraf güncelleme başarılı .\", Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(getActivity(), \"Fotoğraf güncelleme başarısız .\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n else{\n FirebaseUtils.saveUserPhotoFirebaseStorage(mAuth, getPhotoFromGalleryURI);\n Toast.makeText(getActivity(), \"Fotoğraf güncelleme başarılı .\", Toast.LENGTH_SHORT).show();\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n\n }",
"title": ""
},
{
"docid": "ba13fe10ea1b8759b2e0e654bee42b57",
"score": "0.52220505",
"text": "public void deleteuser() {\r\n getWritableDatabase().execSQL(\"delete from user\");\r\n }",
"title": ""
},
{
"docid": "484459ae5574f0f53fd3eede39c6d63f",
"score": "0.5219145",
"text": "public void deleteByPK(UmTUserRelationId id) throws Exception {\n\t\tumTUserRelationDao.deleteByPK(UmTUserRelationId.class,id);\r\n\t}",
"title": ""
},
{
"docid": "9839ce1821ac638d24e0d8b2f7532a93",
"score": "0.52085453",
"text": "@Override\n\tpublic void removeFavouriteChatroom(int userID, Chatroom chatroom) {\n\t\tUser entity = dao.findById(userID);\n if(entity!=null){\n \tSet<Chatroom> tmp = entity.getFavouriteChatrooms();\n \ttmp.remove(chatroom);\n \tentity.setFavouriteChatrooms(tmp);\n }\n\t}",
"title": ""
},
{
"docid": "3e2c843be0789b37329b848ce83784c3",
"score": "0.51985204",
"text": "public void deleteUser(UserVO user) {\n if(!users.contains(user)){\n System.out.println(\"[UserBO:\" +toString()+ \":deleteUser]: User: ID \"+user.getUserId()+\", is not in database\");\n return;\n }\n users.remove(user);\n System.out.println(\"[UserBO:\" +toString()+ \":deleteUser]: user: [ID: \"+user.getUserId()+\", Name: \"+user.getName()+\"] \" + \"deleted\");\n }",
"title": ""
},
{
"docid": "59f836ba62c6ddac80470d1c04f6e7a2",
"score": "0.51956373",
"text": "void unFollow(User a, User b);",
"title": ""
},
{
"docid": "ec5c41b42e912e51cb8275d58df6d610",
"score": "0.51829034",
"text": "public void deleteUlIdPerson()\r\n {\r\n this._has_ulIdPerson= false;\r\n }",
"title": ""
},
{
"docid": "9383ea69ec23d5479aec9cd5887ad623",
"score": "0.5180746",
"text": "private void cancelFriendRequest(final String online_user, final String list_user_id) {\n mFriendsREquestReference.child(online_user).child(list_user_id).removeValue()\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()){\n mFriendsREquestReference.child(list_user_id).child(online_user)\n .removeValue().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n\n if (task.isSuccessful()){\n Toast.makeText(getContext(),\n \"Cancel Done...\",\n Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n\n }\n });\n }",
"title": ""
},
{
"docid": "2bb98e10175bea2b349164e539447f4a",
"score": "0.5177",
"text": "public void removeMe() {\n prop.parent.prop.children.remove(this);\n MyTree.model.reload(prop.parent);\n }",
"title": ""
},
{
"docid": "ed4c3bbf681f0188103df87becf159ca",
"score": "0.51653224",
"text": "public void deleteFollower(String username){\n followerList.remove(username);\n }",
"title": ""
},
{
"docid": "607660420acd3f09a325245f62769dbd",
"score": "0.51473135",
"text": "@Override\n public User deleteUser(User user) {\n return null;\n }",
"title": ""
},
{
"docid": "1bb2d87b981de27bf03c93ff97a018ea",
"score": "0.51470053",
"text": "public void onDestroy() {\n super.onDestroy();\n MobiRollerApplication.isChatActivityOpen = false;\n MobiRollerApplication.aveChatViewId = null;\n ChatConstants.setChatScreenId(null);\n FirebaseChatHelper firebaseChatHelper2 = this.firebaseChatHelper;\n if (firebaseChatHelper2 != null) {\n firebaseChatHelper2.removeUserStatusListener();\n }\n FirebaseChatHelper firebaseChatHelper3 = this.firebaseChatHelper;\n if (firebaseChatHelper3 != null) {\n firebaseChatHelper3.removeGetMe();\n }\n }",
"title": ""
},
{
"docid": "6a83f3e863db5c9972681470f5a365fe",
"score": "0.51451325",
"text": "public void removeUser(User participant) {\n editorStates.remove(participant);\n }",
"title": ""
},
{
"docid": "93ae8cda05ec0f74af1296968f01be4d",
"score": "0.51428354",
"text": "@Override\n public void deleteUser(User user) {\n\n }",
"title": ""
},
{
"docid": "bfe0a9fba387824ced7cc24b58d8d3e1",
"score": "0.5130239",
"text": "public void removeUser(UserSignIn us, Connection connection) throws SQLException {\n try (PreparedStatement preparedStatement = connection.prepareStatement(DELETE_REMOVE_USERSIGNIN)) {\n connection.setAutoCommit(false);\n preparedStatement.setInt(1, getUserId(us, DBConnection.getInstance()));\n preparedStatement.executeUpdate();\n connection.commit();\n } catch (SQLException e) {\n System.out.println(\"Database error\");\n connection.rollback();\n }\n }",
"title": ""
},
{
"docid": "85a4e26e3e81a94c4f7b065aa43a72e4",
"score": "0.51188034",
"text": "public void onClick(DialogInterface dialog, int which) {\n shopkeeperRef.child(user.getId()).removeValue().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if(task.isSuccessful()){\n Toast.makeText(add_shopkeepers.this, \"Shopkeeper Deleted!\", Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(getApplicationContext(), add_shopkeepers.class );\n startActivity(intent);\n finish();\n }\n }\n });\n\n }",
"title": ""
},
{
"docid": "0da3c59d3fc882fb81a38c6bc0210aff",
"score": "0.5117957",
"text": "public void removeUser(NetworkNode user) {\n }",
"title": ""
},
{
"docid": "a0ad20551b3946be1c65fbe0b8f5c019",
"score": "0.5117427",
"text": "@After\r\n\tpublic void removeUser()\r\n\t{\r\n\t\tPersonGateway.removeByUserName(firstUserName);\r\n\t\tPersonGateway.removeByUserName(secondUserName);\r\n\t}",
"title": ""
},
{
"docid": "a658bb50bfbd7f01777b0432e1b2539e",
"score": "0.5114485",
"text": "public void removeUser(User user) {\n participants.remove(user);\n user.removeConversation(this);\n }",
"title": ""
},
{
"docid": "cc4e810b5db076340ad003336675999b",
"score": "0.5113718",
"text": "@Transactional\r\n\t\tpublic void deleteRole2User(User user) {\n\t\t\tRole role =new Role();\r\n\t\t\tHttpServletRequest req=(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();\r\n\t \tHttpSession httpSession = req.getSession();\r\n\t \thttpSession.getAttribute(ISessionConstant.SS_USER);\r\n\t\t\t\r\n\t\t\ttry{\r\n\t\t\t\t//SUPPRIMER LES ANCIENS GROUPES\t\r\n\t\t\t\tQuery query = getDao().getCurrentSession().createQuery(\" select ru from RoleUser ru where ru.user.id = :iduser\");\r\n\t\t\t\tquery.setParameter(\"iduser\", user.getId());\t\t\t\r\n\t\t\t\tList<RoleUser> listResult = query.getResultList();\t\t\t\r\n\t\t\t\tif(!listResult.isEmpty()){\r\n\t\t\t\t\tfor(RoleUser roleUser: listResult){\r\n\t\t\t\t\t\t role = roleUser.getRole();\r\n\t\t\t\t\t\tgetDao().delete(roleUser);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(IConstance.PARAMETER_DATE_FORMAT_2); \r\n\t\t\t \t\t\t Mouchard mouchard = new Mouchard();\r\n\t\t\t \t\t\t mouchard.setDelate(false);\r\n\t\t\t \t\t\t mouchard.setMouchardTache(\"Retrait du rôle :\"+role.getRoleName()+\"(\"\r\n\t\t\t \t\t\t\t\t+role.getIdentifier()+\") ŕ l'utilisateur \"+user.getInfosPersonne().getNom()+\" \"\r\n\t\t\t \t\t\t\t\t+user.getInfosPersonne().getPrenom()+\"(\"+user.getLogin()+\")\" );\r\n\t\t\t \t\t\t mouchard.setMouchardUserCode((User) httpSession.getAttribute(ISessionConstant.SS_USER));\r\n\t\t\t \t\t\t mouchard.setMouchardDate(sdf.format(new Date()));\r\n\t\t\t \t\t\t\r\n\t\t\t \t\t\t mouchard.setEntite_name(\"RoleUser\");\r\n\t\t\t \t\t\t mouchard.setOperation(\"suppression\");\r\n\t\t\t \t\t\t mouchard.setReference_date(user.getDateUseToSortData());\r\n\t\t\t \t\t\t mouchardDao.save(mouchard);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}catch(Exception e){\r\n\t\t\t\t\r\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(IConstance.PARAMETER_DATE_FORMAT_2); \r\n\t \t\t\t Mouchard mouchard = new Mouchard();\r\n\t \t\t\t mouchard.setDelate(false);\r\n\t \t\t\t mouchard.setMouchardTache(\"Echec Retrait du rôle: \"+role.getRoleName()+\"(\"\r\n\t \t\t\t\t\t+role.getIdentifier()+\") ŕ l'utilisateur \"+user.getInfosPersonne().getNom()+\" \"\r\n\t \t\t\t\t\t+user.getInfosPersonne().getPrenom()+\"(\"+user.getLogin()+\")\" );\r\n\t \t\t\t mouchard.setMouchardUserCode((User) httpSession.getAttribute(ISessionConstant.SS_USER));\r\n\t \t\t\t mouchard.setMouchardDate(sdf.format(new Date()));\r\n\t \t\t\t\r\n\t \t\t\t mouchard.setEntite_name(\"RoleUser\");\r\n\t \t\t\t mouchard.setOperation(\"suppression\");\r\n\t \t\t\t mouchard.setReference_date(user.getDateUseToSortData());\r\n\t \t\t\t mouchardDao.save(mouchard);\r\n\t\t\t\t//e.printStackTrace();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}",
"title": ""
},
{
"docid": "08974698fc1c2364114f4b88b77d5069",
"score": "0.5098055",
"text": "@Override\n\tpublic void eliminar(User arg0) {\n\t\tgetSession().delete(arg0);\t\n\t}",
"title": ""
},
{
"docid": "480baeaa423579643f7d2f15fddca6e4",
"score": "0.50978935",
"text": "public java.lang.String removeRelation(int index)\n {\n java.lang.Object obj = _relationList.elementAt(index);\n _relationList.removeElementAt(index);\n return (String)obj;\n }",
"title": ""
},
{
"docid": "c7b5432672cba4c36693d5f278209f9e",
"score": "0.50912994",
"text": "private boolean deleteFriend(String id){\n DatabaseReference fdr = FirebaseDatabase.getInstance().getReference(\"friends\").child(id);\n\n //deleting friend\n fdr.removeValue();\n\n Toast.makeText(MainActivity.this,\"friend deleted\",Toast.LENGTH_LONG).show();\n return true;\n }",
"title": ""
},
{
"docid": "0b17f081556979f6a757d6494210567c",
"score": "0.50754553",
"text": "public synchronized void removeUser(String n) {\n\t\tusersConectados.remove(n);\n\t}",
"title": ""
},
{
"docid": "dbcfaaffa7fdb52d7d5ef8c855913100",
"score": "0.50662255",
"text": "public void deleteAccount(){\n try {\n myRef.child(\"UserExpenses\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"CashDesk\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Customers\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Products\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"SoldProducts\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Suppliers\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Users\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Users\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n myRef.child(\"Users\").child(USER_UID).removeValue();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n /**\n * Bu code blogunda kullanicinin musteri ve supplier larinin resimlerini silmede sıkıntı var daha sonra bak ...\n */\n/*\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n FirebaseStorage.getInstance().getReference().child(\"SuppliersPictures\").child(USER_UID).delete();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n\n // Eger db de olmayan bir seyi silmeye kalkarsak exception firlatir .\n try {\n FirebaseStorage.getInstance().getReference().child(\"CustomersPictures\").child(USER_UID).delete();\n }catch (Exception e){\n Log.e(\"deleteAcc\", e.getMessage());\n }\n*/\n\n user = FirebaseAuth.getInstance().getCurrentUser();\n user.delete().addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()) {\n Toast.makeText(getActivity(), \"Silme işlemi başarılı .\", Toast.LENGTH_SHORT).show();\n\n startActivity(new Intent(getActivity(), MainActivity.class));\n getActivity().finish();\n }\n }\n });\n\n\n }",
"title": ""
},
{
"docid": "368b285aa3762a0879fb2ac11d10b6ce",
"score": "0.5062393",
"text": "@Override\n\tpublic void removeUserFromMoodAuthorization(MoodAuthorization MoodAuthorization) {\n\t\tsuper.delete(MoodAuthorization);\n\t}",
"title": ""
},
{
"docid": "595f0b716f5177eae45295abe0c8b615",
"score": "0.50584143",
"text": "@GetMapping(\"/manytomanybiremovecountry\")\n public String removeManyToManyBiCountry() {\n\n Country usa = countryRepository.findById(3L).get();\n\n// usa.setLawBISet(null); // bez tohoto dostanem:\n// //org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException:\n// // Referential integrity constraint violation:\n// // \"FK6WBJ4HD3SUXOAJ4B55G8P0E9G: PUBLIC.COUNTRY_LAWUNISET FOREIGN KEY(LAWUNISET_ID) REFERENCES PUBLIC.LAWUNI(ID) (1)\";\n// // SQL statement:\n// //delete from lawuni where id=? [23503-199]\n// countryRepository.save(usa);\n countryRepository.delete(usa);\n countryRepository.flush();\n\n return \"ManyToMany BI remove a Country was successful\";\n }",
"title": ""
},
{
"docid": "9d4a3ec015af7bd0ddb14d173fb6a30a",
"score": "0.5057059",
"text": "public void deleteUser(User user);",
"title": ""
},
{
"docid": "92c6e94af0702721f5bd432a434d5aff",
"score": "0.5043393",
"text": "@Override\n\tpublic void del(Orderr o) {\n\t\tuserMapper.del(o);\n\t}",
"title": ""
},
{
"docid": "dced8fdde3cd83875990b3e0b9fe1b61",
"score": "0.5041847",
"text": "public void deletePhysically() {\r\n if (log.isTraceEnabled()) {\r\n log.trace(\"physically delete item: \" + getHref());\r\n }\r\n List<Relationship> rels = nameNode.findFromRelations(null);\r\n if( rels != null ) {\r\n for( Relationship r : rels ) {\r\n r.delete();\r\n } \r\n }\r\n rels = nameNode.findToRelations(null);\r\n if( rels != null ) {\r\n for( Relationship r : rels ) {\r\n r.delete();\r\n } \r\n }\r\n nameNode.delete();\r\n }",
"title": ""
},
{
"docid": "066ac4358adb697005f62785c1f61e94",
"score": "0.50416136",
"text": "public void removeFriend(String username){\n this.friendsList.remove(username);\n }",
"title": ""
},
{
"docid": "9972f989b5782101493aaaf43b59c6fb",
"score": "0.5040492",
"text": "@Override\n\tpublic void deleteUser(User u) {\n\n\t}",
"title": ""
},
{
"docid": "4f8de102fbaf8cf39e9223f8b5b2b30a",
"score": "0.50390613",
"text": "@Override\n\tpublic void leaveChatroom(int userID, Chatroom chatroom) {\n\t\tUser entity = dao.findById(userID);\n if(entity!=null){\n \tSet<Chatroom> tmp = entity.getJoinedChatrooms();\n \ttmp.remove(chatroom);\n \tentity.setJoinedChatrooms(tmp);\n }\n\t}",
"title": ""
},
{
"docid": "1f8af91fac8d05a2af63f83d1f23b111",
"score": "0.5032563",
"text": "private void deleteDialog() {\n\n /*\n portion to delete chat\n */\n String msgIds[] = new String[chatHistory.size()];\n for (int i = 0; i < chatHistory.size(); i++) {\n msgIds[i] = chatHistory.get(i).getChatMessage().getId();\n }\n if (msgIds.length > 0) {\n QBChatService.deleteMessages(new HashSet(Arrays.asList(msgIds)), new QBEntityCallback<Void>() {\n @Override\n public void onSuccess(Void aVoid, Bundle bundle) {\n Toast.makeText(ChatActivity.this, \"All messages are deleted\", Toast.LENGTH_LONG).show();\n chatHistory.clear();\n Helper.saveChat(ChatActivity.this, Helper.getOpponentKey(selectedUser.getId()), new ArrayList<QBChatMessage>());\n adapter.notifyDataSetChanged();\n }\n\n @Override\n public void onError(QBResponseException e) {\n Toast.makeText(ChatActivity.this, \"Error while deletig messages\", Toast.LENGTH_LONG).show();\n }\n });\n\n }\n /*-----------------------------------------------------------------------------*/\n System.out.println(\"...................THE current user id is : \" + currentUser.getId());\n\n /*\n This portion is used to delete user\n */\n\n dbRecentUser = Helper.getRecentUserList(ChatActivity.this, currentUser.getId());\n dbRecentUser.remove(selectedUser.getId());\n Helper.updateRecentUserList(ChatActivity.this, dbRecentUser, currentUser.getId());\n\n /*\n This portion is used to delete dialog\n */\n dbRecentDialog = Helper.getRecentDialogs(ChatActivity.this, currentUser.getId());\n chatManager.deleteDialog(currentDialog.getDialogId(), new QBEntityCallback<Void>() {\n @Override\n public void onSuccess(Void aVoid, Bundle bundle) {\n Toast.makeText(ChatActivity.this, \"Dialog is deleted\", Toast.LENGTH_LONG).show();\n for (int i = 0; i < dbRecentDialog.size(); i++) {\n if (dbRecentDialog.get(i).getDialogId().equals(currentDialog.getDialogId())) {\n Log.e(TAG, \"onSuccess: dbRecentDialog is : \" + dbRecentDialog + \"\\n____ current Dialog\" + currentDialog);\n dbRecentDialog.remove(i);\n }\n }\n Helper.updateRecentMessageDialog(ChatActivity.this, dbRecentDialog, currentUser.getId());\n }\n\n @Override\n public void onError(QBResponseException e) {\n e.printStackTrace();\n }\n });\n }",
"title": ""
},
{
"docid": "15c2f59d5cb6abefd91de5a862bf6ffc",
"score": "0.5024664",
"text": "public void remove () { this.getNe().remove(); }",
"title": ""
},
{
"docid": "08d32513977fc7207faa51acf56ac3b8",
"score": "0.50234896",
"text": "private <T extends BidirectionalBase> void internalUnsetManyToOne(T param, Field field, Relation relation) {\n try {\n\n ((BidirectionalBase)param).internalSet(null, relation.mappedBy());\n this.internalRemove(param, field.getName());\n\n }catch (Exception e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "4e63abd6cd7c78a66d57c36b408da4c2",
"score": "0.5019804",
"text": "@Override\n\tpublic void deleteUser(User user) {\n\n\t}",
"title": ""
},
{
"docid": "4e63abd6cd7c78a66d57c36b408da4c2",
"score": "0.5019804",
"text": "@Override\n\tpublic void deleteUser(User user) {\n\n\t}",
"title": ""
},
{
"docid": "df1a1002df2d47471b3065fd623a9cb5",
"score": "0.50189376",
"text": "@Override\n public void onUserListDeletion(User arg0, UserList arg1)\n {\n \n }",
"title": ""
},
{
"docid": "46bdf3141518b5eb5ccb764c4f488544",
"score": "0.5010607",
"text": "void removeUser() {\n if (allowedUsers.contains(userID))\n allowedUsers.remove(userID);\n\n database.removeDataFromFlag(FAVORITE_USERS, userID);\n }",
"title": ""
},
{
"docid": "1cdfdba4ed142e88f082423c04a6b1b0",
"score": "0.5007949",
"text": "@Override\n\tpublic void deleteByridAndUser(XfFollow xffollow) {\n\t\tsuper.queryOne(\"deleteByridAndUser\",xffollow);\n\t}",
"title": ""
},
{
"docid": "cd788cf855a4fec5b7de66f4ef0a234d",
"score": "0.5006194",
"text": "boolean removeMemberFromCorp(long curUserId, long userId, int corpId);",
"title": ""
},
{
"docid": "5d3d9f92ac3ff9f07d2e27fb038dab3c",
"score": "0.50024754",
"text": "public void deleteQuestion(Question question){\n User user = getMyUser();\n\n Question q = questionRepository.findOne(question.getId());\n\n if(q.getQuestioner() == user) {\n questionRepository.delete(q.getId());\n }\n\n }",
"title": ""
},
{
"docid": "1b8b0a0d016ef025c0e4d61496aa0cd9",
"score": "0.5001615",
"text": "private void deleteRequest(String phone)\n {\n userRef.child(phone).removeValue().addOnCompleteListener(new OnCompleteListener<Void>()\n {\n @Override\n public void onComplete(@NonNull Task<Void> task)\n {\n Toast.makeText(ManageUserActivity.this, \"That user is removed by you...\", Toast.LENGTH_SHORT).show();\n }\n });\n }",
"title": ""
},
{
"docid": "81be6bf9935c26130ecd41208a1f968c",
"score": "0.49947545",
"text": "public void deleteRollsUser(String name);",
"title": ""
},
{
"docid": "7768f14c3b3543b9369f5f1e0a03b28f",
"score": "0.49943098",
"text": "public void unsetRel()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(REL$0);\n }\n }",
"title": ""
},
{
"docid": "3794a183d6f8853eb313f12868adc702",
"score": "0.49903953",
"text": "@Override\n\tpublic boolean deleteCollectByUser(User user) throws Exception {\n\t\tQuery query = HibernateUtils.getSession().createQuery(\"delete from Collect where user_id = ?\");\n\t\tquery.setInteger(0, user.getId());\n\t\tquery.executeUpdate();\n\t\treturn true;\n\t}",
"title": ""
},
{
"docid": "652fdeda4a0b67ddd33616757d40ed3d",
"score": "0.49826962",
"text": "private <T extends BidirectionalBase> void internalUnsetManyToMany(T param, Field field, Relation relation) {\n try {\n\n ((BidirectionalBase)param).internalRemove(this, relation.mappedBy());\n this.internalRemove(param, field.getName());\n\n }catch (Exception e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "fbb24e6ac38682515d98b897dfe190c6",
"score": "0.49820867",
"text": "public void deleteRelation(Long mainId) throws SQLException {\n\t\tDruidPooledConnection c = TransactionManager.get().getConn();\r\n\t\tStatement s = c.createStatement();\r\n\t\tString sql = \"delete from T_RELATION where main_Id=\" + mainId;\r\n\t\ts.execute(sql);\r\n\t\ts.close();\r\n\t}",
"title": ""
}
] |
0c7a99b65ce4ffd1bb6f4882e58d8043 | Metodo para insertar elementos a la lista | [
{
"docid": "700998d8edcf0e46a3cc4ae227719bab",
"score": "0.0",
"text": "public void push(E item);",
"title": ""
}
] | [
{
"docid": "2b37ddac191bc974ff7665bb7c915a70",
"score": "0.75210875",
"text": "public void insert (Listable item);",
"title": ""
},
{
"docid": "ce73b4f3d92944f6b32b5ba54f845f1a",
"score": "0.73791105",
"text": "@Override\r\n\tpublic void insertar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "59a09b556e4d45adccc450eedd1ff981",
"score": "0.7301336",
"text": "public boolean insert(E elemento);",
"title": ""
},
{
"docid": "9c60ad832221a273e6ba947856a689ed",
"score": "0.7173862",
"text": "void insert(List<T> lst) throws Exception;",
"title": ""
},
{
"docid": "a553c78bcd2856393138fc6357cc91d2",
"score": "0.6917764",
"text": "public abstract void insertar();",
"title": ""
},
{
"docid": "d71029b8c328608c04c759e30a245fcf",
"score": "0.689483",
"text": "public void insertAlleles(List<Allele> alleles);",
"title": ""
},
{
"docid": "a34e2d494b4f8c2fd4a6a91401d05cb4",
"score": "0.68580097",
"text": "@Override\r\n\tpublic void insert(Autor elemento) {\n\t\tboolean hayIguales = false;\r\n\t\tfor(Autor autor: autores){\r\n\t\t\tif (autor.equals(elemento)){\r\n\t\t\t\thayIguales = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(!hayIguales){\r\n\t\t\tautores.add(elemento);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "c56206fb4fb75c57f230edb2027f9581",
"score": "0.6803264",
"text": "public void insert(E item);",
"title": ""
},
{
"docid": "a74fcbb26766aab525f5466351b81f4f",
"score": "0.6729996",
"text": "@Override\n\tpublic boolean addElemento(Object objetoInsert) {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "73621d549943a10c3df787b5beef4e9c",
"score": "0.66811126",
"text": "void insert(T element);",
"title": ""
},
{
"docid": "5889478828c28b5aaab31c55a9b5acee",
"score": "0.6675975",
"text": "@Override\r\n\tpublic boolean inserts(List list) {\n\t\treturn articleMapper.insert(list);\r\n\t}",
"title": ""
},
{
"docid": "68cd08567dc817d9c8b538221b9e104a",
"score": "0.665674",
"text": "@Override\n\tpublic void insert() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "a961e79431243cc39b1ddd7b6360f8e3",
"score": "0.66385174",
"text": "public void insertItems(ArrayList<Item> items) throws SQLException;",
"title": ""
},
{
"docid": "545196ad3570d9b580ad07d33bea2343",
"score": "0.66027987",
"text": "public abstract boolean insert(T element);",
"title": ""
},
{
"docid": "6a93dbe095231f00fcc5041b51122b78",
"score": "0.65666467",
"text": "@Override\n\tpublic void insert(TipoDocumento e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "bac4760d39fd41faaf968f92a3e6a7b8",
"score": "0.65645236",
"text": "@Override\n public void insert(Object e) {\n if (data == null) {\n MyList l = new MyList(successor, successor.predessor);\n successor.predessor = l;\n l.data = e;\n successor = l;\n successor.updateIndex(-1);\n } else {\n successor.insert(e);\n }\n }",
"title": ""
},
{
"docid": "19812fbab0f324788258b5cda278d6cc",
"score": "0.65439737",
"text": "public void insert(T item);",
"title": ""
},
{
"docid": "8fb8d227f2a2bb6279219ece895b026c",
"score": "0.6469196",
"text": "public void insertUser(List<User> users) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "6364241bb569a495ec19aa5de5861e02",
"score": "0.64668536",
"text": "public void insertValues() {\n }",
"title": ""
},
{
"docid": "5385d11495b768f25504580613fb1340",
"score": "0.64525914",
"text": "@Override\n\tpublic void insert(Object data) {\n\t\tif(data == null) {\n\t\t\tthrow new NullPointerException(\"L'objet indiqué est null\");\n\t\t}else {\n\t\t\tgoToEnd();\n\t\t\tElement nouv = new Element(this.current,this.sentinel,data);\n\t\t\tthis.size++;\n\t\t\tthis.current.next = nouv;\n\t\t\tthis.sentinel.prev = nouv;\n\t\t\tthis.current = nouv;\n\t\t}\n\t\t \n\t\tassert(this.invariant()):\"Invariant violé !\";\n\t}",
"title": ""
},
{
"docid": "b064c7884645e80ac92df40815bc3c44",
"score": "0.6394635",
"text": "public void inserir(Topico t);",
"title": ""
},
{
"docid": "ee057490b09d9a5e7aa1f24c984ab89a",
"score": "0.6383797",
"text": "public void insertRow (int rowIndex, List<T> rList);",
"title": ""
},
{
"docid": "3f13ad8de276f50dfb0f3e3be1dbcaf7",
"score": "0.63793904",
"text": "private void insert(Object obj) {\n\t}",
"title": ""
},
{
"docid": "cda596baca7d5159f23d76d804c20f27",
"score": "0.63715845",
"text": "private void insertar() {\r\n\t\tif (opcionModulo == 1) {\r\n\t\t\tif (cargarObjetos() == 1) {\r\n\t\t\t\t// System.out.print(\"\"+clienteDp.getDireccion());\r\n\r\n\t\t\t\tclienteMd.insertar(con.getConexion(), clienteDp);\r\n\t\t\t\tbloqueo();\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "1c63ad03fdf999e40f41a4e3166c4d50",
"score": "0.63649875",
"text": "public void inserir(Object obj) {\r\n getColecao().add(obj);\r\n }",
"title": ""
},
{
"docid": "f7f2e3e4fd0778ce8e79a6fe5bf98a05",
"score": "0.63569975",
"text": "public void insertAtpos(){\n }",
"title": ""
},
{
"docid": "95635a15850591f5cf053c3556eb1f21",
"score": "0.6352406",
"text": "void insert(T item);",
"title": ""
},
{
"docid": "21cc6def2f1a09b50458380379634221",
"score": "0.634345",
"text": "@Override\r\n\tpublic int insert(List<PurchaseRequisition_itemInformation> list) {\n\t\treturn piif.insert(list);\r\n\t}",
"title": ""
},
{
"docid": "c6b2c90b2afa8d8b2622792efad0e167",
"score": "0.63388324",
"text": "private void insert(T t) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "80247f62358c2b10c09cb694260b6a43",
"score": "0.6328194",
"text": "@Override\n public int insertAll(List<T> list) {\n return mapper.insertAll(list);\n }",
"title": ""
},
{
"docid": "caa1efd2fa7a6657772b98a53cd5d69e",
"score": "0.63073814",
"text": "void insereElemento(String nome, int qtd, double preco) {\n\t\t\n\t\t//atualiza o total de elementos\n\t\tcontadorElementos ++;\n\t\t\n\t\t//cria o novo elemento (nó) a ser inserido na lista\n\t\tCElemento novo = new CElemento();\n\t\tSystem.out.println(\"Qual o nome do produto que você deseja adicionar?\");\n\t\tnovo.setNome(scan.next());\n\t\tSystem.out.println(\"Qual a quantidade?\");\n\t\tnovo.setQtd(scan.nextInt());\n\t\tSystem.out.println(\"Qual o preço estimado do produto?\");\n\t\tnovo.setPreco(scan.nextDouble());\n\t\t\n\t\t//insere na lista vazia\n\t\tif (primeiro == null && ultimo == null) {\n\t\t\tprimeiro = novo;\n\t\t\tultimo = novo;\n\t\t\treturn;\n\t\t}\n\t\t//quando a lista não é vazia\n\t\t//o ultimo proximo aponta para a vatiavel nova\n\t\tultimo.setProx(novo);\n\t\t//o ultimo aponta para o novo\n\t\tultimo = novo;\n\t}",
"title": ""
},
{
"docid": "7fe750809a5522b462476b15c0794420",
"score": "0.63036597",
"text": "@Override\n\tpublic <S extends Customer> List<S> insert(Iterable<S> arg0) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "dfedc5c9506e9b6df3d522210b0d543d",
"score": "0.6298506",
"text": "public static void testInsertForList(List list) {\n int reps = 10;\n for (int i = 0; i < reps; i++)\n list.add(5, \"test\"); // use 5 to minimize random-access cost, 5 an arbitrary number\n }",
"title": ""
},
{
"docid": "040c08db2fddcac5ec6defe2f69630dd",
"score": "0.6284122",
"text": "@Test\n public void testInsert() throws Exception {\n UniqueList<Integer> uniqueList = new UniqueList<Integer>();\n uniqueList.addToHead(10);\n uniqueList.insert(0, 15);\n uniqueList.insert(1, 20);\n assertTrue(uniqueList.exist(10));\n assertTrue(uniqueList.exist(15));\n assertTrue(uniqueList.exist(20));\n }",
"title": ""
},
{
"docid": "012473e8b6c5f334012c74ad6d7ad744",
"score": "0.62755907",
"text": "@Test\n public void testInsert() {\n System.out.println(\"insert\");\n System.out.println(\"______________________________________________\");\n int[] correct = new int[]{3, 6, 8, 12, 14, 22, 25, 28, 34, 39};\n \n for(int key : data) {\n list.insert(key);\n }\n \n int key = list.get(0);\n for(int i=0; i < correct.length; i++) {\n assertEquals(correct[i], list.get(i));\n System.out.println(\"index: \" + i + \" (\" + correct[i] + \", \" + list.get(i)+\")\");\n \n }\n \n System.out.println(\"______________________________________________\");\n }",
"title": ""
},
{
"docid": "d84f66dfcf09e5ff3dad0b0e153fcc63",
"score": "0.62358147",
"text": "void insert(HIpbbBwlist record);",
"title": ""
},
{
"docid": "551f0629d76d617aff89e5e48dfe0692",
"score": "0.62338126",
"text": "public void AddElementToList(int id_element, int id_list) {\n\t\tSession session = null;\n\t\ttry {\n\t\t\tsession = HibernateUtil.getSessionFactory().getCurrentSession();\n\t\t\tsession.beginTransaction();\n\t\t\t@SuppressWarnings(\"deprecation\")\n\t\t\tQuery query = session\n\t\t\t\t\t.createSQLQuery(\"Insert INTO LIST_ELEMENT(ELEMENT_ID, LIST_ID) VALUES (:value1, :value2)\");\n\t\t\tquery.setParameter(\"value1\", id_element);\n\t\t\tquery.setParameter(\"value2\", id_list);\n\t\t\tquery.executeUpdate();\n\t\t\tsession.getTransaction().commit();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tsession.getTransaction().rollback();\n\t\t} finally {\n\t\t\tsession.close();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "37722115003faf6044fdbb805a19df19",
"score": "0.6213927",
"text": "void add(int index, IElement element);",
"title": ""
},
{
"docid": "615a24143758301d9f60d3fe1ccb00e5",
"score": "0.6195932",
"text": "public Integer insert(Venta venta) ;",
"title": ""
},
{
"docid": "4b30c11ed9a74a717d8fb08977e33d4a",
"score": "0.6193767",
"text": "@Override\n\tpublic void insertList(List<Product> list) {\n\t\tproductDao.insertList(list);\n\t}",
"title": ""
},
{
"docid": "d4ffa35290ec97971ac74c32bdb3762a",
"score": "0.61935794",
"text": "public void insert(int index, Object item) {\n if (items == null) {\n items = new ArrayList<Object>();\n }\n items.add(index, item);\n raiseChangedEvent(ChangeType.Add, index, 1);\n }",
"title": ""
},
{
"docid": "1b180166fd12175aa53a66aa94514727",
"score": "0.6192351",
"text": "public abstract void inserirFrotaInimiga();",
"title": ""
},
{
"docid": "47363a3caca4e4a6663203c62d2f3c36",
"score": "0.6182962",
"text": "public void insert(List<GeometryPoint<T>> points){\r\n for (int i = 0; i<points.size() ; ++i){\r\n insert(points.get(i));\r\n }\r\n }",
"title": ""
},
{
"docid": "c9ed94192bad7def5dbfb22660dc3a39",
"score": "0.6181703",
"text": "public void insert(Cow cow) {\n cowList.add(cow);\n }",
"title": ""
},
{
"docid": "1a9ab43680932c8c15e60f145b220f0f",
"score": "0.6181698",
"text": "public void insertarAntesDe(Object DatoB,Object DatoI){\r\n if(Primero==null){\r\n System.out.println (\"La lista esta vacia\");\r\n }\r\n else{\r\n if(buscar(DatoB)== true){\r\n if(aux==Primero){\r\n nuevo= new NodoLista(DatoI,Primero);\r\n Primero = nuevo;\r\n }\r\n else{\r\n nuevo = new NodoLista(DatoI , aux);\r\n ant.Liga = nuevo;\r\n }\r\n } \r\n }\r\n despliegaLista();\r\n }",
"title": ""
},
{
"docid": "13bf3a60612f8e8b23d6a74d18d00191",
"score": "0.6168801",
"text": "@Test\n void insert() {\n dao = new GameListDao();\n GameList newGame = new GameList(0, \"Halo 4\", \"M\", \"Halo 4 is a shooter game in which players predominantly experience gameplay from a first-person perspective; the game perspective switches to third-person when using certain weapons, abilities and vehicles.\", \"\", \"2012-11-06\");\n dao.insert(newGame);\n List<GameList> games = dao.getAll();\n assertEquals(4, games.size());\n }",
"title": ""
},
{
"docid": "e8bb237003fbac45a49469f32f9aaf5d",
"score": "0.61629814",
"text": "private void insertData() {\r\n\r\n medicamento = factory.manufacturePojo(MedicamentoEntity.class);\r\n medicamento.setId(1L);\r\n medicamento.setOrdenesMedicas(new ArrayList<>());\r\n em.persist(medicamento);\r\n\r\n for (int i = 0; i < 3; i++) {\r\n OrdenMedicaEntity entity = factory.manufacturePojo(OrdenMedicaEntity.class);\r\n entity.setMedicamentos(new ArrayList<>());\r\n entity.getMedicamentos().add(medicamento);\r\n em.persist(entity);\r\n data.add(entity);\r\n medicamento.getOrdenesMedicas().add(entity);\r\n }\r\n }",
"title": ""
},
{
"docid": "0e5e4b5699920f09923f0c4f1206ac10",
"score": "0.61520076",
"text": "private static void insertAt(LinkedList<String> list, int index, String element) {\n\t\tSystem.out.println(\"\\nQUESTION 5 -----------------------\");\n\t\t\n\t\t//DISPLAY CURRENT ORDER OF LINKEDLIST\n\t\tSystem.out.println(\"Currently the LinkedList order is : \");\n\t\tSystem.out.println(list + \" \");\n\t\t\n\t\t//METHOD USED TO INSERT AT SPECIFIC INDEX\n\t\tlist.add(index, element);\t\n\t\t\n\t\t//PRINT NEW CHANGES\n\t\tSystem.out.println(\"\\r\\nNew LinkedList order is : \");\n\t\tSystem.out.println(list);\n\t\t\n\t\t//USER NOTIFICATION\n\t\tSystem.out.println(\"(Inserted element \" + \"[\" + element + \"] at index \"+ index +\")\");\n\t\t\n\t\t// IMPLEMENTED TO RESET ARRAY FOR NEXT METHOD TO TEST\n\t\tlist.clear();\n\t\tlist.addAll(Arrays.asList(\"Blue\", \"Yellow\",\"Red\", \"Green\", \"Orange\", \"White\", \"Black\"));\n\t}",
"title": ""
},
{
"docid": "b742d098fa9b0ecffa041a569d9d44f1",
"score": "0.61451244",
"text": "@Override\r\n\tpublic void insert(int individual, int index, int size) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "c8b4d37411f3822d96da5d001f5faabd",
"score": "0.6134282",
"text": "void InsertElement(int index) {\r\n set[index] = true;\r\n }",
"title": ""
},
{
"docid": "3687c26f9a2a8ca08ad7d12a1463d2ac",
"score": "0.6132197",
"text": "@Test\n public void insertIgnoreList() {\n\n }",
"title": ""
},
{
"docid": "3a09ca5617f1cc398bf282f4460e2f67",
"score": "0.6122405",
"text": "void add(int index, Object element);",
"title": ""
},
{
"docid": "244cdf69a9ef0e1d5a1f96b76c3dd044",
"score": "0.6111892",
"text": "private void insertData() {\n PodamFactory factory = new PodamFactoryImpl();\n for (int i = 0; i < 3; i++) {\n SitioInteresEntity entity = factory.manufacturePojo(SitioInteresEntity.class);\n\n em.persist(entity);\n data.add(entity);\n }\n }",
"title": ""
},
{
"docid": "7a73db25a3dc020da163b196aef45a0d",
"score": "0.6111601",
"text": "private void insertData() {\n for (int i = 0; i < 3; i++) {\n SitioWebEntity sitios = factory.manufacturePojo(SitioWebEntity.class);\n em.persist(sitios);\n sitiosData.add(sitios);\n }\n for (int i = 0; i < 3; i++) {\n PlataformaDeDespliegueEntity entity = factory.manufacturePojo(PlataformaDeDespliegueEntity.class);\n em.persist(entity);\n data.add(entity);\n if (i == 0) {\n sitiosData.get(i).setPlataformaDeDespliegue(entity);\n }\n }\n }",
"title": ""
},
{
"docid": "7f43af2b4beeeb58c1601a0467d65683",
"score": "0.60989165",
"text": "@Override\n\tpublic Integer insertAll(List<Area> t) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "f4c7998782eb6c07a72e93d03f6c29f3",
"score": "0.60915756",
"text": "@Test\r\n public void testInsertAt_First() {\r\n MyList<Integer> l = createIntegerList(22,33);\r\n l.insertAt(0, 11);\r\n assertEquals(3, l.length());\r\n assertEquals(\"[11, 22, 33]\", l.toString());\r\n assertEquals(Integer.valueOf(11), l.getValueAt(0));\r\n assertEquals(Integer.valueOf(22), l.getValueAt(1));\r\n assertEquals(Integer.valueOf(33), l.getValueAt(2)); \r\n }",
"title": ""
},
{
"docid": "7b1894aec1f574289f7680fc7afbb00e",
"score": "0.60896224",
"text": "void inserir(String nome){\n\t\t/* criar um nó */\n\t\tNo no = new No();\n\t\tno. conteudo = nome;\n\t\tno. proximo = null; /* este será o último nó da lista */\n\t\t/* checa se a lista está vazia */\n\t\tif( inicio == null ){\n\t\t\tinicio = no;\n\t\t}\n\t\telse{\n\t\t\t/* percorrer a lista até encontrar o último nó */\n\t\t\tNo ultimo = inicio;\n\t\t\twhile( ultimo. proximo != null ){\n\t\t\t\tultimo = ultimo. proximo;\n\t\t\t}\n\t\t\t/* alterar o próximo do último para o endereço do no */\n\t\t\tultimo. proximo = no;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "dc2580f9ff35f0f6be69fe27cb61e54c",
"score": "0.60891736",
"text": "@Override\n\tpublic void insertBulk(List<Uuid> list) {\n\n\t}",
"title": ""
},
{
"docid": "0b8d60b720fc18039c55b709ad94157a",
"score": "0.60858524",
"text": "private void insert() {\n if(line.length() >0){\n list.add(line.text());\n line.clear();\n }\n }",
"title": ""
},
{
"docid": "ae6fbcac14971b3ab11bddf62a177354",
"score": "0.6085648",
"text": "public void insertTour(Tourism tourism);",
"title": ""
},
{
"docid": "7ea998952b0f6b0b2303bc48f2047dec",
"score": "0.60710365",
"text": "@Override\r\n\tpublic void insertEleven(SitVO sitVO) throws Exception {\n\t\tif(reserveMapper.countEleven(sitVO) == 0){ \r\n\t\t\treserveMapper.insertEleven(sitVO);\r\n\t\t} \r\n\t}",
"title": ""
},
{
"docid": "cc4dff87d137911f27eab856272195ca",
"score": "0.6068542",
"text": "public void insertListReg(List<ContentValues> list){\n\n SQLiteDatabase db = this.getWritableDatabase();\n\n db.beginTransaction();\n for (ContentValues cv : list){\n\n db.insert(Pictogram.TABLE_NAME, null, cv);\n }\n\n db.setTransactionSuccessful();\n db.endTransaction();\n\n }",
"title": ""
},
{
"docid": "3007e3fb3cd61eebe7e6916a20466609",
"score": "0.6066754",
"text": "public void add(ArrayList<Produto> produto) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "611fc18c084ec58515de141e43c09cae",
"score": "0.60597676",
"text": "public ArrayList<ArrayList<String>> InsertMachine() throws Exception;",
"title": ""
},
{
"docid": "33f9d86d6f3d974451ad3b0969df25c7",
"score": "0.6051166",
"text": "public List insertaHomologadoYobel(List lineas,Usuario usuario);",
"title": ""
},
{
"docid": "e9ee28c0f8a8ea3f2119657910b1d45b",
"score": "0.6041976",
"text": "public void testInsertIntoEmptyList() {\n\n\t\tList list = createList();\n\n\t\tassertEquals(0, list.size());\n\t\tassertTrue(list.isEmpty());\n\n\t\tlist.insert(0, VALUE_A);\n\n\t\tassertEquals(1, list.size());\n\t\tassertFalse(list.isEmpty());\n\t\tassertSame(VALUE_A, list.get(0));\n\n\t}",
"title": ""
},
{
"docid": "600e277e515c1e583afd1b812fc9f4bf",
"score": "0.60396713",
"text": "public void adicionar() {\n \r\n int j = ler.nextInt();\r\n inteiros.insert(j);\r\n }",
"title": ""
},
{
"docid": "91efc85312a0e119f8fab36dc07de1c6",
"score": "0.60396445",
"text": "@Override\n\tpublic int insert_all(Object[] ob) {\n\t\treturn 0;\n\t}",
"title": ""
},
{
"docid": "fb2b0306014f784da13998cfdab3213e",
"score": "0.60366225",
"text": "@Override\n\tpublic void insertar(Estamento obj) throws SQLException {\n\t\t\n\t}",
"title": ""
},
{
"docid": "655420a5b7f676d6db7c2dd0a7176aaf",
"score": "0.60335314",
"text": "void insertSelective(HIpbbBwlist record);",
"title": ""
},
{
"docid": "2f08c475f9a2b408c09301d5a1365c6c",
"score": "0.6031421",
"text": "@Override\n\tpublic Boolean insertEtkinlikKonusma(Etkinlik etkinlik, List<Konusmaci> lstKonusmaci) {\n\t\tfor (Konusmaci konusmaci : lstKonusmaci) {\n\t\t\ttry {\n\t\t\t\tsave(etkinlik, konusmaci);\n\t\t\t} catch (Exception ex) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"title": ""
},
{
"docid": "d0dd1721e014d52ac47ee649032d9357",
"score": "0.6026731",
"text": "private static void insertFewAt(LinkedList<String> list, int index, String element1, String element2) {\n\t\tSystem.out.println(\"\\nQUESTION 9 -----------------------\");\n\t\t\n\t\t//DISPLAY CURRENT ORDER OF LINKEDLIST\n\t\tSystem.out.println(\"Currently the LinkedList order is : \");\n\t\tSystem.out.println(list + \" \\r\\n\");\n\t\t\t\t\t\n\t\t\n\t\tlist.add(index, element1);\n\t\tlist.add(index+1, element2);\n\t\t\n\t\t//PRINT NEW CHANGES\n\t\tSystem.out.println(\"The new LinkList order is : \");\n\t\tSystem.out.println(list);\n\t\t\n\t\t//USER NOTIFICATION\n\t\tSystem.out.println(\"(Added [\" + element1 + \"] and [\" + element2 + \"] at index \" + index + \")\");\n\t\t\t\t\n\t\t// IMPLEMENTED TO RESET ARRAY FOR NEXT METHOD TO TEST\n\t\tlist.clear();\n\t\tlist.addAll(Arrays.asList(\"Blue\", \"Yellow\",\"Red\", \"Green\", \"Orange\", \"White\", \"Black\"));\n\t\t\n\t}",
"title": ""
},
{
"docid": "aa8a50c499279ec76d74db9a19530ac0",
"score": "0.6011559",
"text": "public void add(int position, T element);",
"title": ""
},
{
"docid": "782ab520a1d09c1969a6fbbe471f63c8",
"score": "0.6004936",
"text": "@Override\r\n\tpublic void insereProfessor(Professor professor) {\n\t\tthis.listaProfessor[index] = professor; \r\n\t\tthis.index += 1; \r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "372a6f77ad765b01a819375f3f323aea",
"score": "0.60041434",
"text": "private void insertData() {\r\n for (int i = 0; i < 3; i++) {\r\n PodamFactory factory = new PodamFactoryImpl();\r\n GeneroEntity entity = factory.manufacturePojo(GeneroEntity.class);\r\n em.persist(entity);\r\n data.add(entity);\r\n }\r\n }",
"title": ""
},
{
"docid": "157861db7c7b71d98e91dbeda362a646",
"score": "0.6001798",
"text": "public void insert(F f) {\n\t\tif(currentPosition == list.length) resizeList();\n\t\tlist[currentPosition] = f;\n\t\t// System.out.println(\"f object inserted into position: \" + currentPosition);\n\t\tcurrentPosition++;\n\t}",
"title": ""
},
{
"docid": "be06bbeb71cca27200dcf34649461a7b",
"score": "0.5997947",
"text": "public void addToPACosts(entity.PACost element);",
"title": ""
},
{
"docid": "599112d8c6979a8e04192a3b40e3eb0e",
"score": "0.59942496",
"text": "public void insert(Node newNode){\n myList.add(newNode);\n LastNodeIndex++;\n percolateUp(LastNodeIndex);\n }",
"title": ""
},
{
"docid": "d5f47df02534f7f169463f5c22637e4a",
"score": "0.59921503",
"text": "@Override\r\n\tpublic void insertar() {\n\t\ttab_grupo_cuenta.insertar();\r\n\t\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "7bb1ea12a4a6ffdfa8e1dfd090797392",
"score": "0.5991513",
"text": "@Insert(onConflict = OnConflictStrategy.REPLACE)\n Completable insertUsers(List<User> lstUsers);",
"title": ""
},
{
"docid": "50a76cf454cce67be5d495faef55e00f",
"score": "0.5991021",
"text": "int insertSelective(NjOrderHuoti record);",
"title": ""
},
{
"docid": "404df70028b6725c1e581657dcf2ec34",
"score": "0.59906626",
"text": "public void insert(E element){\n if((first == firstFree) && (list[first] != null)){\n throw new IndexOutOfBoundsException();\n }\n\n // insert element\n list[firstFree] = element;\n length++;\n\n // deal with firstFree\n firstFree++;\n if(firstFree == list.length){\n firstFree = 0;\n }\n }",
"title": ""
},
{
"docid": "de3dc4a0ab41d8f4bb31bb9fd0b9a699",
"score": "0.59884703",
"text": "int insertSelective(ItemDO record);",
"title": ""
},
{
"docid": "87002adc260c15aa06d728b6b1846b06",
"score": "0.5982641",
"text": "public void addToVehicles(entity.PersonalVehicle element);",
"title": ""
},
{
"docid": "f6d8b73ea81dba15aa0ec5d466423887",
"score": "0.5978819",
"text": "public void agregarElementos(List<String> nodoNuevo) {\n if(nodoNuevo != null){\n nodos.addAll(nodoNuevo);\n fireIntervalAdded(this, nodos.size()-nodoNuevo.size(), nodos.size());\n }\n }",
"title": ""
},
{
"docid": "1136247c4f69350a351351598a98d905",
"score": "0.59664243",
"text": "private void insertData() {\r\n PodamFactory factory = new PodamFactoryImpl();\r\n for (int i = 0; i < 3; i++) {\r\n PatrocinioEntity entity = factory.manufacturePojo(PatrocinioEntity.class);\r\n\r\n em.persist(entity);\r\n data.add(entity);\r\n }\r\n }",
"title": ""
},
{
"docid": "4b0253858272f40608ec60caccaf5b8f",
"score": "0.59453154",
"text": "public boolean insert(E object) {\n list.addFirst(object);\n return true;\n }",
"title": ""
},
{
"docid": "40bb85969669c62fdcf9a98850ad5aa2",
"score": "0.5943435",
"text": "@Override\r\n\tpublic void insertAll(List<ReadLog> elements) {\n\t\tmongoTemplate.insertAll(elements);\r\n\t}",
"title": ""
},
{
"docid": "9ff07344e1e65e0e9b5c73f5c2175514",
"score": "0.5942057",
"text": "private void insertData() {\r\n PodamFactory factory = new PodamFactoryImpl();\r\n for (int i = 0; i < 3; i++) \r\n {\r\n ProvidenciaEntity providencia = factory.manufacturePojo(ProvidenciaEntity.class);\r\n em.persist(providencia);\r\n data.add(providencia);\r\n }\r\n }",
"title": ""
},
{
"docid": "e69d5b4d38542b5fdf4ca05ce9dcbb01",
"score": "0.59402215",
"text": "void insert(T value, int position);",
"title": ""
},
{
"docid": "e69d5b4d38542b5fdf4ca05ce9dcbb01",
"score": "0.59402215",
"text": "void insert(T value, int position);",
"title": ""
},
{
"docid": "196e8c382b8205dc2975b19e28faf026",
"score": "0.5938996",
"text": "public void insert(T toInsert, int pos) {\n \tif (pos < 0 || pos >= myCount) {\n\t\t\treturn;\n\t\t}\n \tT j = null;\n \tT k;\n\t\tfor (int i = 0; i <= myCount; i++) {\n\t\t\tif (i == pos) {\n\t\t\t\tj = myValues[i];\n\t\t\t\tmyValues[i] = toInsert;\n\t\t\t} else if (i > pos) {\n\t\t\t\tk = myValues[i];\n\t\t\t\tmyValues[i] = j;\n\t\t\t\tj = k;\n\t\t\t}\n\t\t}\n\t\tmyCount++;\n }",
"title": ""
},
{
"docid": "a12983034d2c8d898ff7c9832293f30f",
"score": "0.59366316",
"text": "@Writer\n int insert(GroupGoodsList record);",
"title": ""
},
{
"docid": "2d5ad0ec9ca022bbc8177f7032f19a6b",
"score": "0.59365016",
"text": "public void insert( int position, E data) throws Exception{\n Nodo <E> nodoInsertar = new Nodo <E>(data,firstNodo,tail);\r\n if(position < 0){\r\n throw (new Exception (\"La posicion es muy pequeña\"));\r\n }\r\n if(position>this.Size()){\r\n throw (new Exception(\"La posición es muy grande\"));\r\n }else{\r\n //if (position==1){\r\n //insertAtFirstPosition(data);\r\n //}else{\r\n //Creamos un nodo auxiliar el cual vamos a utilizar para no borrar la lista, aux apunta a la memoria de firstNodo \r\n Nodo<E> aux = firstNodo;\r\n for (int i = 0;i<(position-1) ;i++){ \r\n //Pasamos a la conexión del nodo anterior al que queremos insertar\r\n aux = aux.getNext();\r\n }\r\n //Otra Manera de hacerlo\r\n //Nodo <E> nodoInsertar = new Nodo<E>(data,aux.getNext());\r\n //aux.setNext(nodoInsertar)\r\n //Nodo actual se vuelve el Nodo que queremos insertar\r\n Nodo nodoActual = aux.getNext();\r\n //Se \"Unen\" los nodos por los dos lados para que no se rompan\r\n nodoInsertar.setNext(nodoActual);\r\n //Se inserta el Nodo con el siguiente Nodo\r\n aux.setNext(nodoInsertar);\r\n }\r\n }",
"title": ""
},
{
"docid": "809538fb51a4af5e7af0434776fc8704",
"score": "0.5926109",
"text": "public void insertar(T d) {\n\tNodo nuevo=new Nodo(d);\n\tif (raiz==null) {\n\t\traiz=nuevo;\n\t}\n\telse {\n\t\traiz=insertaravl(nuevo, raiz);\n\t}\n}",
"title": ""
},
{
"docid": "a61b3e7ff6990f5053551c219a59854e",
"score": "0.5923209",
"text": "@Override\r\n public String inserir(Object objct) {\n return null;\r\n }",
"title": ""
},
{
"docid": "71032617f3c78aaba503a3313c2e6cd1",
"score": "0.5921312",
"text": "private void inOrderElementos(NodoB<T> t, ArrayList<T> elementos) {\n if (t != null) {\n inOrderElementos(t.getIzquierda(), elementos);\n\n elementos.add(t.getElemento());\n inOrderElementos(t.getDerecha(), elementos);\n }\n }",
"title": ""
},
{
"docid": "78815bcda52d3183b12f6969506f157c",
"score": "0.5919032",
"text": "@Override\n public void sortedInsert(Object e) {\n insert(e);\n sort();\n }",
"title": ""
},
{
"docid": "f50e497b78b9113901fcedc18b57b551",
"score": "0.59135646",
"text": "public void insert(T other) {\r\n\t\r\n\t}",
"title": ""
},
{
"docid": "bb444371a577373ceadddc0353358d73",
"score": "0.5904726",
"text": "@Override\r\n\tpublic void insert(String[] v) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "76fa5de0ee6bbdabdb1842545f76a9f6",
"score": "0.5903834",
"text": "public void addElemento(Nodo nuevo) { \n boolean insertado = false; \n Nodo aux = raiz; \n if (esVacio()) {\n raiz = nuevo; \n } else {\n while (!insertado) { \n if (nuevo.getClave() == aux.getClave()) { \n aux.setHijoIzquierdo(nuevo); \n insertado = true; \n } else {\n if (nuevo.getClave() > aux.getClave()) { \n if (aux.getHijoDerecho() == null) { \n aux.setHijoDerecho(nuevo); \n insertado = true; \n } else {\n aux = aux.getHijoDerecho(); \n }\n } else {\n if (aux.getHijoIzquierdo() == null) { \n aux.setHijoIzquierdo(nuevo); \n insertado = true; \n } else {\n aux = aux.getHijoIzquierdo(); \n }\n }\n }\n }\n }\n }",
"title": ""
}
] |
613c68baf43f3e71e9be27f89cbd9af5 | Please do the flowing problem. | [
{
"docid": "e834c1bfb4523a7cc1cd5e6d1561d3b4",
"score": "0.0",
"text": "public static void main(String[] args) {\n\t\n\t\t/* Find the prime numbers from 1 to 1000 then print to console.Also print out the total prime numbers within the range.\n\t(prime numbers are only divisible by number 1 and the number itself.)\n\t(for example numbers like 2,3,5,7,9,11,13.....n are prime numbers. \n\t\t*/\n\t\tint Prime_num_Count = 0;\n\t\t\n\t\tfor(int i = 1; i<=1000; i++)\n\t\t{\n\t\t\tint Count = 0;\n\t\t\tfor(int j= 2; j<=i; j++)\n\t\t\t{\n\t\t\t\tif(i%j == 0)\n\t\t\t\t{\n\t\t\t\t\tCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(Count == 1)\n\t\t\t{\n\t\t\t\tPrime_num_Count++;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Total Count of Prime Number is: \"+Prime_num_Count);\n\t\t\n\n\t}",
"title": ""
}
] | [
{
"docid": "5c7cfd4162b860b67351891d2d9f59e1",
"score": "0.6340576",
"text": "public void step()\n\t{\n\t\tif (status > -1) \n\t\t\treturn;\n\t\t\n\t\t\n\t\tif (turn == 0)\n\t\t{\n\t\t\tint move = p0.getMove(board, 0);\n\t\t\tboard = board.makeMove(move, 0);\n\t\t} else\n\t\t{\n\t\t\tint move = p1.getMove(board, 1);\n\t\t\tboard = board.makeMove(move, 1);\n\t\t}\n\t\t\n\t\tturn = 1-turn;\n\t\t\n\t\tstatus = board.checkStatus();\n\t\treturn;\n\t}",
"title": ""
},
{
"docid": "7570d09dbdcab56e9898ef0b24f7e3bf",
"score": "0.61859804",
"text": "public void solveBoard() {\r\n\t\twhile (!nextStep())\r\n\t\t\t;\r\n\t}",
"title": ""
},
{
"docid": "d0d69e1a59342d5745247a0658d517f3",
"score": "0.6041017",
"text": "public void step() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "92001736a2ac49c6f975b4fc450982d1",
"score": "0.6031723",
"text": "@Override\n public void doSparring() {\n \n }",
"title": ""
},
{
"docid": "d940f1aa5b5a3e475aac5dad95123cea",
"score": "0.6012932",
"text": "protected abstract void reallyDoStep() ;",
"title": ""
},
{
"docid": "1e982e8fc139c87b37a272e9043ad39e",
"score": "0.6010523",
"text": "@Override\n\t\t\tprotected void doTry() throws Throwable {\n\t\t\t\tworkflow.processSubmission(\"42\");\n\t\t\t}",
"title": ""
},
{
"docid": "f4388d2661e1768ffdb7f57cd0e53ac5",
"score": "0.59874785",
"text": "@Override\n\tpublic void done()\n\t{\n\t\t// Do nothing, because we don't care about it.\n\t}",
"title": ""
},
{
"docid": "d7c5e13e7574fda36fa521e55e0c9529",
"score": "0.5969333",
"text": "public void nonCalculable(){\n\t\t//Se scrie eroare in caz ca o expresie este necalculabila.\n\t\tpwee.println(\"error\");\n\t}",
"title": ""
},
{
"docid": "f36ad04c282a63c457761293a05f7769",
"score": "0.5947757",
"text": "public void postcheck() {\n\t\t}",
"title": ""
},
{
"docid": "d618a04438fd7e0d481efa90f7665d15",
"score": "0.59340584",
"text": "public void forfeit() {\n\t\tout.println(\"forfeit\");\n\t}",
"title": ""
},
{
"docid": "9430b6cd12ad9dccbbfeadbe82a3b9ca",
"score": "0.5919827",
"text": "private void execute(){\n if(solved) return;\n solved=true;\n solve();\n }",
"title": ""
},
{
"docid": "0ab1e7d3630710784862c3f699f39451",
"score": "0.591524",
"text": "@Override\r\n\tpublic void nowDone() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b6292b3e7f90c18a5da51156fce74162",
"score": "0.5893392",
"text": "@Override\n\tpublic String crossRoad() {\n\t\t// Implementation Here\n\t\treturn \"Safely done\";\n\t}",
"title": ""
},
{
"docid": "4067e0acfb195518daf55927d0dd16b7",
"score": "0.58532536",
"text": "@Override\n\tpublic void come() {\n\t\tSystem.out.println(\"state transform erro\");\n\t}",
"title": ""
},
{
"docid": "104df8a368658f66846b67f82fe30813",
"score": "0.5853137",
"text": "public void continueQualityAssuranceFail()\n {\n completeQualityAssuranceActivity(QAAction.FAIL, false);\n }",
"title": ""
},
{
"docid": "6bdabc6b75d720918ba398148932b628",
"score": "0.58326495",
"text": "private void graphicalError()\n\t{\n\t\tdbgShot(\"AI out of loop, got IMBACK\");\n\t\tlog(\"sitting out because of IMBACK\");\n\t\tfail(\"detection of IMBACK\", new Exception(\"detection of IMBACK\"));\n\t}",
"title": ""
},
{
"docid": "9307231b0c3473838775bac3faec956d",
"score": "0.5814138",
"text": "@Override\n\tpublic void stealWork() {\n\n\t}",
"title": ""
},
{
"docid": "4a06e7ad8fe65157b422e14f30bb8444",
"score": "0.5813615",
"text": "private void algo() {\r\n\t\tif (this.game.getFruits().isEmpty() || this.game.getPacmans().isEmpty())\r\n\t\t\treturn;\r\n\t\telse\r\n\t\t\tstartAlgo();\r\n\t}",
"title": ""
},
{
"docid": "cd08974f174dd259b722234180c163cc",
"score": "0.5811883",
"text": "public void doOneLoop() {\n if(this.steeringMode && !pathFindingMode) {\n // steering+pathfollowing algorithm\n //System.out.println(\"Current PerfectList-Size: \"+this.algo_controller.perfectList.size() + \", Current goal node coords: \" + this.algo_controller.perfectList.get(this.algo_controller.perfectList.size()-1).node.toString());\n if(this.userAgent.goal == null && this.algo_controller.perfectList.size() > 0) {\n this.userAgent.goal = this.algo_controller.perfectList.get(this.algo_controller.perfectList.size()-1).node;\n this.algo_controller.perfectList.remove(this.algo_controller.perfectList.size()-1);\n } else if(this.userAgent.goal != null && (this.algo_controller.perfectList.size() < 1)){\n System.out.println(\"no more Nodes in perfect list!\");\n\n }\n if(this.algo_controller.perfectList.size() > 0) {\n if(this.algo_controller.perfectList.size() < 35) {\n System.out.println(\"aaaa\");\n }\n userAgent.move();\n } else if(this.algo_controller.perfectList.size() == 0 && this.algo_controller.solutionFound && !userAgent.isArrived) {\n userAgent.arrive(endTile);\n } else if(userAgent.isArrived) {\n JOptionPane.showMessageDialog(this, \"Agend successfully arrived!\", \"Tile clicked: \" + \"InfoBar\", JOptionPane.INFORMATION_MESSAGE);\n this.timer.stop();\n }\n\n //System.out.println(\"folow and steer\");\n }\n if(this.algo_controller.keepSearching && pathFindingMode) {\n runAStarAlgorithm();\n if(this.algo_controller.keepSearching) {\n gmf.cp.reset.setEnabled(false);\n }\n } else if(!steeringMode) {\n gmf.cp.stop.setEnabled(false);\n gmf.cp.reset.setEnabled(true);\n gmf.cp.startSteering.setEnabled(true);\n this.repaint();\n JOptionPane.showMessageDialog(this, this.algo_controller.solutionFound ? \"success\" : \"no possible solution\", \"Tile clicked: \" + \"InfoBar\", this.algo_controller.solutionFound ? JOptionPane.INFORMATION_MESSAGE : JOptionPane.ERROR_MESSAGE);\n this.pathFindingMode = false;\n this.algo_controller.keepSearching = false;\n //this.steeringMode = true;\n this.timer.stop();\n }\n update();\n repaint();\n }",
"title": ""
},
{
"docid": "d817a9f9231c34ef7c651424bee65656",
"score": "0.5808154",
"text": "protected void doCheck() {\n }",
"title": ""
},
{
"docid": "bea517ec0f5258ecfadfed3716e48f10",
"score": "0.57872516",
"text": "@Override\n public void solve() {\n cc(0);\n announce();\n }",
"title": ""
},
{
"docid": "925c4339e8ea7231b3430974e3d31878",
"score": "0.5780482",
"text": "public void step() {\n\t// Check employment\n\temployed = isEmployed();\n\t// Produce income\n\tincome = getIncome(employed);\n\n\t// Add to consumption\n\t// TODO: Model consumption\n\t// TODO: Model saving, so people do not consume everything\n\tdouble cons = 0;\n\tif (income>basket.getMinExp()){\n\t cons = basket.getMinExp() + 0.7 * (income - basket.getMinExp());\n\t}\n\telse{\n\t cons = basket.getMinExp();\n\t}\n\t\n\tconsumption = consume(cons);\n\n\t// Age by 1 and get survival probability\n\tpLife = survivalProb(age);\n\tage++;\n }",
"title": ""
},
{
"docid": "9033c660bb3b925c7c1208c61f109181",
"score": "0.5775593",
"text": "public static void figgyPudding ()\n {\n while (runTime < 3)\n {\n c.println (\"Now bring us some figgy pudding,\");\n runTime++;\n }\n runTime = 0;\n }",
"title": ""
},
{
"docid": "42ac34034622683b0499e4c949cd5e81",
"score": "0.57735",
"text": "protected void doControl()\r\n\t{\r\n\t\t// If maximum number of generations is exceeded, evolution is\r\n\t\t// finished\r\n\t\tif (generation >= maxOfGenerations) {\r\n//\t\t\tfinished = true;\r\n\t\t\tstate = FINISHED;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// If maximum number of evaluations is exceeded, evolution is\r\n\t\t// finished\r\n\t\tif (evaluator.getNumberOfEvaluations() > maxOfEvaluations) {\r\n//\t\t\tfinished = true;\r\n\t\t\tstate = FINISHED;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// If any individual in b has an acceptable fitness evolution\r\n\t\t// is finished\r\n\t\tfor (IIndividual individual : bset) {\r\n\t\t\tif (individual.getFitness().isAcceptable()) {\r\n//\t\t\t\tfinished = true;\r\n\t\t\t\tstate = FINISHED;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "c58aba1f313029925abca0f61ee595d8",
"score": "0.5773316",
"text": "private void breakPoint() {\n }",
"title": ""
},
{
"docid": "68cd496ed7b5b8453f7840cd81290e62",
"score": "0.5770656",
"text": "public void step() {}",
"title": ""
},
{
"docid": "7e19ab7e044616b5ba1541863d71cb12",
"score": "0.57696545",
"text": "@Override\r\n\tpublic void preStep() {\n\t}",
"title": ""
},
{
"docid": "ce83d99958b106aa73073c6bdb97cefb",
"score": "0.57615966",
"text": "@Override\n\tpublic boolean dontSteal() {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "e15de9d8d2a889de7ed2ea4012a8e2f2",
"score": "0.5757902",
"text": "@Override\n\tpublic void postStep() {\n\t\tif(this.isAllowed_To_Move){\n\t\t\tif(this.matchingRule()){\n return;\n\t\t\t}\n\t\t\tif(this.seductionRule()){\n\t\t\t\t//myLog.logln(\"NodeID:\"+this.ID+\"does seduction rule!!\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(this.abandonmentRule()){\n\t\t\t\t//myLog.logln(\"NodeID:\"+this.ID+\"does abandonment rule!!\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.end_flag = true;\n //myLog.logln(\"\\t \\t NodeID:\"+this.ID+\"cannot perform any action...so END FLAG = TRUE\");\n }else{\n\t\t\t//myLog.logln(\"Node: \"+this.ID+\"Cannot execute...Try to next round!!\");\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "8a427018453a7dce494113e5cac74be9",
"score": "0.5736495",
"text": "@Override\r\n public void done() {\r\n }",
"title": ""
},
{
"docid": "7b1a421a29570d7a05d4694096a5db29",
"score": "0.57300705",
"text": "@Override\n\tvoid step() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "37f3da244a6ee2679c01a078daf523de",
"score": "0.57219017",
"text": "private void badInput() throws Exception{\n\t\tif (state == States.LowConf){\n\t\t\tatts.say(\"I'm sorry, but I'm having a hard time hearing you. \"\n\t\t\t\t\t+ \"Could you try repeating that? Thanks!\");\n\t\t\t\n\t\t\tif (state == States.LowConf) {\n\t\t\t\tsynchronized (state) {\n\t\t\t\t\tstate = States.WaitingForInput;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if (state == States.NoPlease){\n\t\t\tatts.say(\"You need to say please. Try saying \" + currentHeard + \" please.\");\n\t\t\t\n\t\t\tif (state == States.NoPlease) {\n\t\t\t\tsynchronized (state) {\n\t\t\t\t\tstate = States.WaitingForInput;\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\telse if (state == States.IsNear){\n\t\t\tThread.sleep(1500); // Waste time...QiMessaging thread takes care of this state.\n\t\t}\n\t}",
"title": ""
},
{
"docid": "db6278eb3704ed514bd50758c706be42",
"score": "0.5715067",
"text": "public void work() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "5c52400ca408a040c879bf2595451880",
"score": "0.5714605",
"text": "void makeStep() {\n step();\n if (characterIsDead()) {\n status = END;\n }\n }",
"title": ""
},
{
"docid": "5a6cad56bfa913d94608c2858a6f363c",
"score": "0.57095397",
"text": "private void doActivityStatusInitial() {\n\t\ttry {\n\t\t\t// line 17 \"model.ump\"\n\n\t\t\tThread.sleep(1);\n\t\t\t__autotransition392__();\n\t\t} catch (InterruptedException e) {\n\n\t\t}\n\t}",
"title": ""
},
{
"docid": "fafeffce24cb5269734d14608360e8b3",
"score": "0.5709038",
"text": "@Override\n\tprotected boolean isStoppingConditionReached() {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "3ea952af8741ba6343c2f7f9cbc0be45",
"score": "0.5707524",
"text": "private boolean step()\n\t{\n\t\tboolean hasMoved = false;\n\t\twhile(!hasMoved)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tPoint next = nextPosition();\n\t\t\t\tbarrier.await();\n\t\t\t\t\n\t\t\t\tif (!kill)\n\t\t\t\t\tboard.moveAgent(this, next);\n\t\t\t\t\n\t\t\t\thasMoved = true;\n\t\t\t}\n\t\t\tcatch (Exception e)\n\t\t\t{\n\t\t\t\tSystem.err.println(this+\" in step() > \"+e);\n\t\t\t}\n\t\t}\n\n\t\treturn !kill;\n\t}",
"title": ""
},
{
"docid": "b8eee779d128404c26b031156c7ecb17",
"score": "0.57073",
"text": "void doneProblem(int position);",
"title": ""
},
{
"docid": "03ff81779372f0fd20acb62df71c751d",
"score": "0.57046604",
"text": "@Override\n\t\tpublic void done() {\n\n\t\t}",
"title": ""
},
{
"docid": "4cff4a5ed4022236ad6b02aa93168f12",
"score": "0.56997085",
"text": "@Override\n\tpublic void task() {\n\t\tSystem.out.println(\"- eats bamboo\");\n\t}",
"title": ""
},
{
"docid": "232479717f3da551fb65c03cac1df82a",
"score": "0.56975436",
"text": "@Override\r\n public void timePassed() {\r\n moveOneStep();\r\n }",
"title": ""
},
{
"docid": "c6c0cba49e28ec40d84e45b9961d34e6",
"score": "0.56890565",
"text": "public void makeMove(){\t\n\t\t//setGoal();\n\t\tgatherTasks();\n\t\tassignTasks();\n\t\texecuteAssignements();\n\t}",
"title": ""
},
{
"docid": "6b51b70f216a41d39666e65fd9161957",
"score": "0.5686162",
"text": "@Override\n public void anyFailure() {\n task.getDto().setWorkflowitemId(prevWorkflowitem);\n task.getDto().setProjectId(prevProject);\n\t\t\t\t\t\ttask.getDto().setProjectId(prevProject);\n\t\t\t\t\t\ttask.getDto().setBoardId(prevBoard);\n\n MessageBus.sendMessage(new TaskChangedMessage(task.getDto(), TaskMovingDropController.this));\n }",
"title": ""
},
{
"docid": "c5a74d043f217e38273369d8d3829e1f",
"score": "0.5682551",
"text": "private final void m1620e() {\n C2258ax.m1182c(this.f2222c, \"Task is not yet complete\");\n }",
"title": ""
},
{
"docid": "a4b91cb9874d412771aad110e538d00a",
"score": "0.5678384",
"text": "public void exibirCenario() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "841851b3f4480bdb2ebc4e78447fc7ed",
"score": "0.56781656",
"text": "@Override\n \tpublic void run( ) {\n\t\t\tassert model.getState( ) != null : \"model state should not be null\";\n\t\t\tassert model.getState( ) != null : \"model state should not be null\";\n \t}",
"title": ""
},
{
"docid": "9d3799325558c86f3b243f22aee09d0d",
"score": "0.5677621",
"text": "public void roboduckDefeated() {\n complete = true;\n }",
"title": ""
},
{
"docid": "9a44df4ddb7cb04b8385d23bacc2d4fc",
"score": "0.56745297",
"text": "private boolean checkEtappe()\n {\n return true;\n }",
"title": ""
},
{
"docid": "f5c5b3c2f6aa54aaf6aed62cea4a0daa",
"score": "0.5668081",
"text": "public void continueQualityAssurancePass()\n {\n completeQualityAssuranceActivity(QAAction.PASS, false);\n }",
"title": ""
},
{
"docid": "ac07d77a0c3d34652d48c6f206d0a747",
"score": "0.5663403",
"text": "protected void executeTestflow() {\n this.ReadAutoCalLoss.execute();\n this.CALGUI.execute();\n this.addBin(1);\n }",
"title": ""
},
{
"docid": "87e381dee50c766da303f5cb74d4d7f9",
"score": "0.5657923",
"text": "@Override\r\n\tpublic void failedToDo() throws WorkException {\n\r\n\t}",
"title": ""
},
{
"docid": "84504bad2e66b04fdf97217270acf7a0",
"score": "0.56548774",
"text": "public void issueLoopNext() {\n method.go_to(currentLoopLabels[0]);\n }",
"title": ""
},
{
"docid": "3943d718eb1a4068f55795ff7af8afbd",
"score": "0.5643037",
"text": "public int process(TransferPercept tp)\n {\n bump = tp.getBump();\n glitter = tp.getGlitter();\n breeze = tp.getBreeze();\n stench = tp.getStench();\n scream = tp.getScream();\n int count;\n \n if (glitter == true)\n {\n \t\n return actionTable[6]; //Game over, you get gold! In this case nothing else matters.\n \n }\n \n \n // if nothing happens, mark current square as clean, worth 100 points\n if (model[currPos] == null)\n {\n System.out.println(\"WTF \" + currPos);\n \n risk_score [currPos] = 100;\n \n //return actionTable[1];\n best_move.push(1);\n \n }\n model[currPos].setSaftey(safe); //If we are in the square and not dead, it is safe.\n \n \n \n /////If no glitter, then update the model///////////////////////////////////\n \n \n // all walls will be assigned a risk score of -1;\n if (bump == true)\n { = ==\n currPos = currPos - direction; \n if((currPos + direction) < 49 && (currPos + direction) > -1)\n {\n // model[currPos + direction].setSaftey(danger); //We don't want the agent to try to enter this wall again.\n risk_score[currPos+direction]= -1;\n \n if(direction == east || direction == west)\n {\n count = currPos + direction; \n while(count > 7)\n {\n count = count + south; //if East/west is blocked, then all positions south of that block are also blocked.\n model[count].setSaftey(danger); //We don't want the agent to try to enter this wall again.\n \n risk_score[count]= -1;\n \n if((count - (direction * 5)) < 49 && (count - (direction * 5)) > -1)\n {\n model[count - (direction * 5)].setSaftey(danger); //We can also infer where the opposite wall is.\n \n risk_score[count - (direction * 5)]=-1;\n }\n }\n count = currPos + direction;\n while(count < 42)\n {\n count = count + north; //if East/west is blocked, then all positions north of that block are also blocked.\n model[count].setSaftey(danger); //We don't want the agent to try to enter this wall again. \n \n risk_score[count]= -1;\n \n if((count - (direction * 5)) < 49 && (count - (direction * 5)) > -1)\n {\n model[count - (direction * 5)].setSaftey(danger); //We can also infer where the opposite wall is.\n \n risk_score[count-(direction*5)] = -1;\n \n }\n }\n }\n else //Facing south or north\n {\n count = currPos + direction; \n while(((count + 1) % 7) != 0)\n {\n count = count + east; //if north/south is blocked, then all positions east of that block are also blocked.\n model[count].setSaftey(danger); //We don't want the agent to try to enter this wall again.\n \n risk_score[count]=-1;\n \n if((count - (direction * 5)) < 49 && (count - (direction * 5)) > -1)\n {\n model[count - (direction * 5)].setSaftey(danger); //We can also infer where the opposite wall is.\n \n risk_score[count-(direction*5)] = -1;\n \n }\n }\n count = currPos + direction;\n while((count % 7) != 0)\n {\n count = count + west; //if north/south is blocked, then all positions west of that block are also blocked.\n model[count].setSaftey(danger); //We don't want the agent to try to enter this wall again. \n \n risk_score[count]=-1;\n \n if((count - (direction * 5)) < 49 && (count - (direction * 5)) > -1)\n {\n //model[count - (direction * 5)].setSaftey(danger); //We can also infer where the opposite wall is.\n \n risk_score[count-(direction*5)] = -1;\n \n }\n }\n }\n } \n }\n\n // if no breeze, mark all surrounding square as no pit \n // breeze square worth 50 points\n // confirmed no pit square worth 75 points\n if (breeze == true)\n {\n model[currPos].setBreeze(yes); \n \n risk_score[currPos] = 50;\n \n }\n else\n {\n model[currPos].setBreeze(no);\n if(currPos < 42)\n {\n model[currPos + north].setPit(safe);\n risk_score[currPos+north] = 75;\n \n }\n if((currPos + 1) % 7 != 0)\n {\n model[currPos + east].setPit(safe);\n risk_score[currPos+east] = 75;\n \n }\n if(currPos % 7 != 0)\n {\n model[currPos + west].setPit(safe);\n risk_score[currPos+west] = 75;\n }\n if(currPos > 6)\n {\n model[currPos + south].setPit(safe);\n risk_score[currPos+south] = 75;\n }\n }\n \n // if no stench, mark all surrounding square as no wumpus\n // 20 point for stench\n // 30 point for wumpus free\n if (!scream)\n {\n if (stench == true)\n {\n model[currPos].setStench(yes); \n \n risk_score[currPos] = 20;\n }\n else\n {\n model[currPos].setStench(no); \n if(currPos < 42)\n {\n model[currPos + north].setWumpus(safe);\n risk_score[currPos+north] = 30;\n }\n if((currPos + 1) % 7 != 0)\n {\n model[currPos + east].setWumpus(safe);\n risk_score[currPos+east] = 30;\n }\n if(currPos % 7 != 0)\n {\n model[currPos + west].setWumpus(safe);\n risk_score[currPos+west] = 30;\n }\n if(currPos > 6)\n {\n model[currPos + south].setWumpus(safe);\n risk_score[currPos+south] = 30;\n } \n } \n }\n \n updateModelInferences(); //uses model data to infer pit/wumpus/safe sqaures/etc\n \n\n //Shoots if it has an arrow, smells a stench, is facing a square that is not known to\n // be wumpus free, and is not facing a sqaure that might have a pit. \n // It also will not shoot a known wall (a square that is labeled \"dangerous\" but is not a pit/wumpus)\n \n // Add 30 points to the current score of the current cell if wumpus_clear\n \n if((scream==false) && model[currPos].getStench() == yes && (currPos + direction) > -1 && (currPos + direction) < 49)\n {\n if(hasArrow == true && model[currPos + direction].getWumpus() != safe && model[currPos + direction].getPit() == safe\n && (model[currPos + direction].getSafety() != danger || model[currPos + direction].getWumpus() == danger)) // don't want to shoot a wall or a pit. \n {\n hasArrow = false; \n if(direction == north || direction == south)\n {\n count = currPos + direction; \n while (count < 49 && count > -1) //Update model - all squares in path of arrow are safe.\n { //(Wumpus(safe) that is.)\n model[count].setWumpus(safe);\n \n risk_score[count] +=30; // add 30 points to the current risk score of that poistion\n \n count = count + direction;\n }\n }\n if(direction == east)\n {\n count = currPos + direction;\n while (count % 7 != 0) //Update model - all squares in path of arrow are safe.\n {\n model[count].setWumpus(safe);\n \n risk_score[count] +=30; // add 30 points\n \n count = count + direction;\n }\n }\n if(direction == west)\n {\n count = currPos + direction;\n while ((count + 1) % 7 != 0) //Update model - all squares in path of arrow are safe.\n {\n model[count].setWumpus(safe);\n \n risk_score[count] +=30; // add 30 points\n \n count = count + direction;\n }\n }\n \n best_move.push(7); // record the arrow shooting\n }\n }\n \n //Here, we check each adjacent square. The one with the highest risk score will be the one will move \n //into in the next step \n \n if ( ( risk_score[currPos+west] > risk_score[currPos+north]) ) \t\n {\n \t\t\tbest_move.push(4);\n \t\t\t \t\n }\n else\n \tbest_move.push(5);\n \n if ( ( risk_score[currPos+north] > risk_score[currPos+east]) ) \t\n {\n \t\t\tbest_move.push(4);\n \t\t\t \t\n }\n else\n \tbest_move.push(5);\n \n if ( ( risk_score[currPos+east] > risk_score[currPos+south]) ) \t\n {\n \t\t\tbest_move.push(4);\n \t\t\t \t\n }\n else\n \tbest_move.push(5);\n \n if ( ( risk_score[currPos+south] > risk_score[currPos+west]) ) \t\n {\n \t\t\tbest_move.push(4);\n \t\t\t \t\n }\n else\n \tbest_move.push(5);\n \n \n int directionChoice =0;\n \n //Turning if statements. Again, putting them here to make the code more readable. \n \n if (directionChoice == direction)\n {\n currPos = currPos + direction;\n return actionTable[1];\n }\n if (directionChoice != west && direction == north)\n {\n turnedRight(); \n return actionTable[4]; //Turn right if facing north and want to be facing east/south\n }\n if (directionChoice != north && direction == east)\n {\n turnedRight();\n return actionTable[4]; //Turn right if facing east and want to be facing south/west\n }\n if (directionChoice != east && direction == south)\n {\n turnedRight();\n return actionTable[4]; //Turn right if facing south and want to be facing west/north\n }\n if (directionChoice != south && direction == west)\n {\n turnedRight();\n return actionTable[4]; //Turn right if facing west and want to be facing north/east\n }\n \n \n \n move_limit++;\n \n // ready to execute all remaining move in the queue IF:\n // 1. Search depth exceeds 1000 move\n if (move_limit > 1000)\n {\n \tready = true;\n }\n else ready = false;\n \n // when the agent is ready to execute the best action from the best move stack\n if (ready)\n {\n \tif (best_move.empty() == false)\n \t{\n \t\t// the best move stack has the last action on top --- we need to invert it\n \t\t// so that it is first action on top\n \t\t\n \t\twhile (best_move.empty() == false)\n \t\t{\n \t\t\tinv_best_move.push(best_move.pop());\n \t\t}\n \t\t\n \t}\n \telse if (inv_best_move.empty()==false)\n \t{\n \t\t//execute the action\n \t\treturn actionTable[inv_best_move.pop()];\n \t}\n \telse\n \t{\n \t\t// in most cases after all best move has been performed\n \t\t// you should be end up in the gold\n \t\t// otherwise go back to the grid\n \t\t\n \t\tif (glitter) return actionTable[6];\n \t\telse ready = false;\n \t\t\n \t}\n \t\n }\n \n // other wise just return the next move with the top score\n return best_move.pop();\n \n }",
"title": ""
},
{
"docid": "5abd4cebcddd6a11d51cc410aa2ef82a",
"score": "0.56412923",
"text": "public void step() {\n\t\tcurrentPackage = null;\n\t\tcurrentPackage = calendar.nextToBeProcessed().processNext();\n\t\tstepsTaken++;\n\t}",
"title": ""
},
{
"docid": "b95bae29632700ec4444b4c5dccc1353",
"score": "0.5636232",
"text": "public void resetHasProblem() {\n\t\tcheckedForProblem = false;\n\t}",
"title": ""
},
{
"docid": "442d7874daee1598881e9d91eaf646b4",
"score": "0.56359684",
"text": "private final void m56631g() {\n C15267r.m44391a(this.f47767c, (Object) \"Task is not yet complete\");\n }",
"title": ""
},
{
"docid": "878f21683270099a76ea72053790e6fb",
"score": "0.5635764",
"text": "private void niceTry() {\n gameState.setDead(true);\n gameState.setPause(true);\n }",
"title": ""
},
{
"docid": "2102b0dcd97966d17e9439a7f9f99578",
"score": "0.56294847",
"text": "@Override\n\tpublic boolean beamCanPass() {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "8dec380ef885f8581402ce64a4248c1c",
"score": "0.5629242",
"text": "@Override\n\t\t\tpublic void brake() {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "cc439ea23251fc42e2126a0d793a2f5f",
"score": "0.5627622",
"text": "@Override\n public int process() {\n return 1;\n }",
"title": ""
},
{
"docid": "431f30f4415d57ea7554eb91ecc31017",
"score": "0.56232995",
"text": "public void conflict() {\r\n\t\tdouble ttc\t= 0;\r\n\t\tcrossingP2\t= new ArrayList<Ped>();\r\n\t\tif (realTtStopBar < confLim) {\r\n\t\t\tfor (Ped i : RoadBuilder.flowSource.allPeds) {\r\n\t\t\t\tif (i.crossing == 2 && !i.curbed) {\r\n\t\t\t\t\tcrossingP2.add(i);}}\r\n\t\t\tif (!crossingP2.isEmpty()) {\r\n\t\t\t\tfor (Ped n : crossingP2) {\r\n\t\t\t\t\tconflict(n);}}}}",
"title": ""
},
{
"docid": "abd902663a48049400cccaffc577d631",
"score": "0.56209934",
"text": "public void businessTravelA() {\n \tif(businessMaximumA > 23) {\r\n \t\terrorPromptExceed();\r\n \t}else {\r\n \t\tinsurancePrompt();\r\n \t}\r\n \t\r\n }",
"title": ""
},
{
"docid": "e6a188bab96ef2dcee2358f002645fb8",
"score": "0.5615216",
"text": "public void lowGoal() {\n\t\tif (Pathfinder.intake.intakeUp()) {\n\t\t\tholder.set(false);\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tshooter.set(true);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e41434f2aaa6d1978d68162222156ba6",
"score": "0.5611392",
"text": "@Override\r\n protected void done() {\n System.out.println(\"done() esta en el hilo \"\r\n + Thread.currentThread().getName());\r\n \r\n }",
"title": ""
},
{
"docid": "1e6b2508829568d49bc78723f33232aa",
"score": "0.5608658",
"text": "@Test\n public void halfFlow() throws Exception\n {\n SourceOrg pickup = this.registerPickupOrg();\n\n //Register a DropOff Org\n SourceOrg dropOff = this.registerDropOffOrg();\n\n //Register a FoodRunner\n FoodRunner foodRunner = this.registerFoodRunner();\n\n //Send a PickUpRequest\n for(int i=0; i<3; i++) {\n String foodPic = IOUtils.toString(Thread.currentThread().getContextClassLoader().\n getResource(\"encodedImage\"),\n StandardCharsets.UTF_8);\n String pickupNotificationId = this.sendPickUpDetails(pickup.getOrgId(), FoodTypes.VEG.name(), foodPic);\n this.schedulePickup(pickupNotificationId, dropOff.getOrgId(), pickup);\n }\n\n //Notify a FoodRunner...does not pull my transactions\n JsonObject loginRunner = this.loginFoodRunner(foodRunner.getProfile().getEmail(),\n foodRunner.getProfile().getPassword());\n this.dynamicDropOffOrchestrator.notifyAvailability(foodRunner.getProfile().getEmail(),true);\n\n //FoodRunner accepts....this will update to notificationSent=true\n List<FoodRecoveryTransaction> myTransactions = this.getMyTransactions(foodRunner.getProfile().getEmail());\n\n FoodRecoveryTransaction accepted = myTransactions.get(0);\n this.acceptTransaction(foodRunner.getProfile().getEmail(),dropOff.getOrgId(),accepted);\n\n /*accepted = myTransactions.get(1);\n //this.acceptTransaction(foodRunner.getProfile().getEmail(),dropOff.getOrgId(),accepted);\n\n /*for(int i=0; i<7; i++)\n {\n myTransactions = this.getMyTransactions(foodRunner.getProfile().getEmail());\n JsonUtil.print(this.getClass(),JsonParser.parseString(myTransactions.toString()).getAsJsonArray());\n }*/\n }",
"title": ""
},
{
"docid": "d8507546cdd1e712678fd1b7e2293422",
"score": "0.56002426",
"text": "public void processOneStep(){}",
"title": ""
},
{
"docid": "519cd37eb7e922b1bd8b391b320346b7",
"score": "0.55990934",
"text": "@Test\n public void fullFlow() throws Exception\n {\n SourceOrg pickup = this.registerPickupOrg();\n\n //Register a DropOff Org\n SourceOrg dropOff = this.registerDropOffOrg();\n\n //Register a FoodRunner\n FoodRunner foodRunner = this.registerFoodRunner();\n\n //Send a PickUpRequest\n String foodPic = IOUtils.toString(Thread.currentThread().getContextClassLoader().\n getResource(\"encodedImage\"),\n StandardCharsets.UTF_8);\n String pickupNotificationId = this.sendPickUpDetails(pickup.getOrgId(),FoodTypes.VEG.name(),foodPic);\n this.schedulePickup(pickupNotificationId, dropOff.getOrgId(), pickup);\n\n //Notify a FoodRunner...does not pull my transactions\n JsonObject loginRunner = this.loginFoodRunner(foodRunner.getProfile().getEmail(), foodRunner.getProfile().getPassword());\n\n //FoodRunner accepts....this will update to notificationSent=true\n List<FoodRecoveryTransaction> myTransactions = this.getMyTransactions(foodRunner.getProfile().getEmail());\n JsonUtil.print(this.getClass(),JsonParser.parseString(myTransactions.toString()).getAsJsonArray());\n\n FoodRecoveryTransaction accepted = myTransactions.get(0);\n accepted = this.acceptTransaction(foodRunner.getProfile().getEmail(),dropOff.getOrgId(),accepted);\n\n\n //Organization notifies delivery\n this.notifyDelivery(accepted);\n\n myTransactions = this.getMyTransactions(foodRunner.getProfile().getEmail());\n JsonUtil.print(this.getClass(),JsonParser.parseString(myTransactions.toString()).getAsJsonArray());\n }",
"title": ""
},
{
"docid": "1b1c6aeb642adbb2b2f1244ebdd812ab",
"score": "0.5595353",
"text": "private void takeAStepBack() throws Exception {\r\n turnAround();\r\n move();\r\n turnAround();\r\n }",
"title": ""
},
{
"docid": "05d51ac3b530106f7209b93f7a7519c8",
"score": "0.5581097",
"text": "public void test() {\n\t\t\tSystem.out.println(\"no i/p,no o/p\");\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "3cb52ff4a6f0a92f208621e93425e6b8",
"score": "0.5572173",
"text": "@Override\n public void execute() {\n if(conveyor.getMeasurement() <= (target + tolerance) || conveyor.mode != modenum){\n ender = true; \n if(conveyor.mode != modenum){\n System.out.println(\"Step 3 will finish because my mode is not 3! My mode is: \" + conveyor.mode);\n } else if(conveyor.getMeasurement() <= (target + tolerance)){\n System.out.println(\"Step 3 will finish because I have reached my target!\");\n }\n } else{\n conveyor.setIntakeMotors(0.0);\n conveyor.setSetpoint(target);\n System.out.println(\"I should have moved the conveyor out! I am still not close enough to my target! My error is: \" + (9 + conveyor.getMeasurement()));\n }\n }",
"title": ""
},
{
"docid": "6286c2bd5d5307bd8a86a7570cd557b1",
"score": "0.5569174",
"text": "protected static void Proceed()\r\n\t{\r\n\t\tproceed = true;\r\n\t}",
"title": ""
},
{
"docid": "be545a9d6f680394daaf6bafba4f977f",
"score": "0.5565918",
"text": "protected void behaviour() {\n\t\ttry \n\t\t{\n\t\t\teconomy();\n\t\t} catch (IllegalArgumentException e)\n\t\t{\n\t\t\tlogger.warn(e);\n\t\t} catch (Exception e) \n\t\t{\n\t\t\tlogger.warn(e);\n\t\t} \n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "fe92e947a95e0e434b5752b8ab389170",
"score": "0.5564619",
"text": "public void move() {\r\n\r\n\t\tif(logger != null) {\r\n\t\t\tlogger.fine(\"Scheduler has said that this sorter worker should move\"); \r\n\t\t}\r\n\r\n\t\tif (working) {\r\n\t\t\tmoveRandomly();\r\n\t\t}\r\n\t\telse {\r\n\t\t\t//stay in place (or go to the lunch room?)\r\n\t\t}\r\n\t\t//after tote is emptied and placed back on conveyor...\r\n\t\t//working = false;\r\n\t}",
"title": ""
},
{
"docid": "5d32ae1dad2a2fecebd43d29e6b1c90c",
"score": "0.5563922",
"text": "public void done() {\r\n \r\n }",
"title": ""
},
{
"docid": "92e5c9557b6a05bca082e28cf4187733",
"score": "0.5563858",
"text": "public void run() {\n\n while (!reasoningCompleted()) {\n if (!(reasonForwards(proof) || reasonBackwards(proof)))\n break;\n\n /*\n System.out.println(\"\\nInferences: \");\n proof.printInferences();\n System.out.println(\"\\ngoals: \");\n proof.printgoals();\n System.out.println(\"\\n\\n\");\n */\n }\n\n proof.printProof(stepStream, justificationStream);\n //proof.getTruthAssignments().values().forEach(t -> t.getTruthAssignment().print());\n }",
"title": ""
},
{
"docid": "e0edb1af999e44c885815b461514b612",
"score": "0.55601436",
"text": "public void run() throws Exception {\r\n thatIsOneSmallStepForKarel();\r\n }",
"title": ""
},
{
"docid": "6a3d8bf47f72535cc95ac163d8b5d539",
"score": "0.5555304",
"text": "public void clean_slate_protocol() {\n dance();\n IO.outputln(\"3 ... 2 ... 1 ... BOOM!\");\n }",
"title": ""
},
{
"docid": "444e763e372c2788f9a6a418ffa94ca2",
"score": "0.5552959",
"text": "@Override\n public void run() {\n this.g = true;\n try {\n try {\n while (!this.f) {\n cO cO2;\n for (int i2 = 0; i2 < 2; ++i2) {\n cO2 = this.e[i2];\n if (cO2 == null) continue;\n cO2.b(134121842);\n }\n ao.a(10);\n dl dl2 = this.a;\n cO2 = null;\n if (dl2.h == null) continue;\n for (int i3 = 0; i3 < 50 && dl2.h.peekEvent() != null; ++i3) {\n ao.a(1);\n }\n if (cO2 == null) continue;\n dl2.h.postEvent(new ActionEvent(cO2, 1001, \"dummy\"));\n }\n }\n catch (Exception var1_2) {\n ba.a(null, var1_2, 1);\n this.g = false;\n this.g = false;\n return;\n }\n this.g = false;\n }\n finally {\n this.g = false;\n }\n }",
"title": ""
},
{
"docid": "1fc9ee3ae97bcea5af4d2a47ee5b13fe",
"score": "0.5548255",
"text": "@Override\n\tpublic void step(SimState state) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "73b4e03b0e83ba6441aa0bf38bde8778",
"score": "0.5545431",
"text": "void gamePlay(){ \n\t\tint x;\n\t\tnewDigit();\n\t\tdo{\n\t\t\tdrawBoard();\n\t\t\tresolve();\n\t\t\tnewDigit();\n\t\t}while((x=notDone())>0);\n\t\tdrawBoard();\n\t\tfinalResult(x);\n\t}",
"title": ""
},
{
"docid": "3f621cfb49a6c4fc17e230574c0a1331",
"score": "0.5544093",
"text": "private void assess() {\n \n }",
"title": ""
},
{
"docid": "f5773a64578ddcd424c6fae1cf72a11f",
"score": "0.55391353",
"text": "@Test(expected = HantoException.class) //13\n\tpublic void testSparrowCannotBreakContinuity() throws HantoException\n\t{\n\t\tgame.makeMove(BUTTERFLY, null, makeCoordinate(0, 0)); //b1\n\t\tgame.makeMove(BUTTERFLY, null, makeCoordinate(0, 1)); //r1\n\t\tgame.makeMove(SPARROW, null, makeCoordinate(-1, 0)); //b2\n\t\tgame.makeMove(SPARROW, null, makeCoordinate(-1, 2)); //r2\n\t\tgame.makeMove(SPARROW, makeCoordinate(-1, 0), makeCoordinate(Integer.MAX_VALUE, 0));\n\t}",
"title": ""
},
{
"docid": "b24dadc93cf43f8675be2501765157a1",
"score": "0.5538899",
"text": "public void act()\n {\n drive();\n checkHitPedestrian();\n }",
"title": ""
},
{
"docid": "e4c8a417caa1d2cf178846249a919da8",
"score": "0.5537452",
"text": "private void dempFB() {\n\n\t}",
"title": ""
},
{
"docid": "8b1570962d4c65d45561a54965f178df",
"score": "0.55360687",
"text": "public void Step()\n\t{\n\t\tcalcNextPoint();\n\t}",
"title": ""
},
{
"docid": "8196e996cee7034c70257f77007cede3",
"score": "0.5531594",
"text": "public void run() {\n\n\t\tstartsetupphase();\n\t\twaitForClick();\n\t\tstartgame();\n\t\tif(totalbricks>0){\n\n\t\t\tfor (int i=1;i<NTURNS;i++ ){\n\t\t\t\tlabel(\"You Missed the Ball! Try Again Turns Left :\"+(NTURNS-i) , Color.BLACK );\n\t\t\t\twaitForClick();\n\t\t\t\tclearboard();\n\t\t\t\tsetupphase();\n\t\t\t\tstartgame();\n\n\t\t\t}\n\t\t}\n\t\tif(totalbricks==0){\n\t\t\tlabel(\"GOOD JOB !\" , Color.GREEN );\n\t\t}\n\t\tif (totalbricks>0){\n\t\t\tlabel(\"GAME OVER Turns Left :0\" , Color.RED );\n\t\t}\n\t}",
"title": ""
},
{
"docid": "662a734db954a74b87462e1d4c1f3ed5",
"score": "0.55288476",
"text": "@Override\n\t\tpublic void go() {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "a6c67d73424f7fe6959e66f79787f79f",
"score": "0.5527734",
"text": "@Override\n public boolean process() {\n return false;\n }",
"title": ""
},
{
"docid": "225ade56e0e99e423d5ad37dc3ef109d",
"score": "0.55251193",
"text": "void failOrder();",
"title": ""
},
{
"docid": "6062f0a283a9321a40efaa72c691e9a9",
"score": "0.552347",
"text": "public void step() {\n }",
"title": ""
},
{
"docid": "e052964a2e798488cd6ad281c02cd40f",
"score": "0.5521372",
"text": "private void AIvsAI(){\n\n try {\n\n while (true) {\n\n makeMove(controller.red.bestMove());\n makeMove(controller.blue.bestMove());\n }\n }\n\n catch (NoValidMoveException e ) { controller.primaryStage.getScene().setRoot(controller.end.getRoot()); }\n }",
"title": ""
},
{
"docid": "0e5d3ac24e24beac14e82e89168c1af7",
"score": "0.55186254",
"text": "protected void reviseBeliefs()\n\t{\n\t\tif (stackPositions.containsKey(currentStation) && lastAction.getType() == Type.NEXT_STATION\n\t\t\t\t&& prevLastAction.getType() == Type.NEXT_STATION)\n\t\t{\n\t\t\t// we put down all the individual blocks\n\t\t\tallDown = true;\n\n\t\t\tcanContinue = requiredBlocks.isEmpty();\n\t\t\tif (!canContinue) {\n\t\t\t\tSystem.out.println(\"Impossible desire!\");\n\t\t\t}\n\t\t}\n\n\t\tstackPositions.put(currentStation, currentStack);\n\t}",
"title": ""
},
{
"docid": "369f3f5f877b4a15d9c3e1fd592f592f",
"score": "0.55125386",
"text": "void skip()\n {\n list.clear();\n difficulty+=25;\n stage++;\n if(ship!=null) ship.reload();\n else ship=new Ship();\n freemiss.clear();\n generator();\n }",
"title": ""
},
{
"docid": "3c67073e0b9442715236dc2254460f0a",
"score": "0.5508797",
"text": "protected synchronized void trigger() {\n singleStepExecutionAllowed = true;\n }",
"title": ""
},
{
"docid": "f3e95b7cec97dc685df7fdf39ea9f459",
"score": "0.55038375",
"text": "public void doSomeTingB() {\n\t\t\t\tSystem.out.println(\"doSomeTingB...\");\n\t\t\t}",
"title": ""
},
{
"docid": "bd51c340cad9fa7a513aae4243946b40",
"score": "0.55025375",
"text": "public void processLogic() {\r\n\t\tupdateStage();\r\n\t\tplayer.move();\r\n\t\tAlien.move();\r\n\t\tStars.move();\r\n\t\tScoreObj.move();\r\n\t\tOurExp.move();\t\t// should be done last.\r\n\t}",
"title": ""
},
{
"docid": "a62fd498694005869d880b62400e6631",
"score": "0.5501151",
"text": "public void forfeit() {\n running = false;\n forfeit = true;\n updateGame();\n }",
"title": ""
},
{
"docid": "831d7ca4214d6aab19058aa86f21b4da",
"score": "0.5497123",
"text": "@Override\n public boolean isGoal() {\n return false;\n }",
"title": ""
},
{
"docid": "83aa34ae67d77b1dfceee4cead0de897",
"score": "0.54943883",
"text": "public void breath() {\n\n\t}",
"title": ""
},
{
"docid": "231613c3d01401bd52ee518fce6f7077",
"score": "0.54942584",
"text": "@Override\n\t\npublic boolean done() {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "c8cf8ad3634cf3424aa7c8516ad6ad19",
"score": "0.5490097",
"text": "public static void solvePuzzle() {\n\r\n\t}",
"title": ""
}
] |
25197b4cf814864ecd440f23b9149cb3 | TODO Autogenerated method stub | [
{
"docid": "779b545ec74bc187c8bd7998b8611bad",
"score": "0.0",
"text": "@Override\r\n\tpublic String showFirstName(String mail) {\n\t\treturn null;\r\n\t}",
"title": ""
}
] | [
{
"docid": "fd7df110e087032be8c98522c4493f41",
"score": "0.6682288",
"text": "@Override\n public void otvori() {\n }",
"title": ""
},
{
"docid": "fd7df110e087032be8c98522c4493f41",
"score": "0.6682288",
"text": "@Override\n public void otvori() {\n }",
"title": ""
},
{
"docid": "ccbad2fe39581989696edf7ff479266d",
"score": "0.65692115",
"text": "private static void somrtinhg() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "4faa810505ebcb260aff0793654a731e",
"score": "0.64828706",
"text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "646377f9a04958a6eeea1118fddba04e",
"score": "0.64357454",
"text": "@Override\n\tpublic void refuel() {\n\n\t}",
"title": ""
},
{
"docid": "b62a7c8e0bb1090171742c543bf4b253",
"score": "0.6374135",
"text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "c63a11bb1bf0acb98a99c66ee94527a7",
"score": "0.63153696",
"text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}",
"title": ""
},
{
"docid": "ccde520bca72caa0d77ef1b117291759",
"score": "0.6234384",
"text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}",
"title": ""
},
{
"docid": "b941b399a338e8c204f1063e54a94824",
"score": "0.6222595",
"text": "public void mo7103g() {\n }",
"title": ""
},
{
"docid": "9b8d94120800074e25f9674e2e960bd0",
"score": "0.6216157",
"text": "@Override\n public void curar() {\n\n }",
"title": ""
},
{
"docid": "73d2e78e03547e3a30a40b196bae2c7d",
"score": "0.61970216",
"text": "@Override\r\n\tpublic void calificar() {\n\r\n\t}",
"title": ""
},
{
"docid": "74a1be816f56189120d6d74f61abd8f9",
"score": "0.6178058",
"text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "10ead2e988bf977cb8edb2bacf974891",
"score": "0.61596733",
"text": "@Override\n\tprotected void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "10ead2e988bf977cb8edb2bacf974891",
"score": "0.61596733",
"text": "@Override\n\tprotected void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "10ead2e988bf977cb8edb2bacf974891",
"score": "0.61596733",
"text": "@Override\n\tprotected void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "9674eaf92d88fa5ee1741a3c135f859c",
"score": "0.6095666",
"text": "@Override\n\tpublic void Resert() {\n\n\t}",
"title": ""
},
{
"docid": "c04e1693c791e5601b6d72a13641e7b1",
"score": "0.6070325",
"text": "@Override\n\tpublic void angriff() {\n\n\t}",
"title": ""
},
{
"docid": "cce15f647f795017e06f2ca544477ccd",
"score": "0.6066321",
"text": "@Override\n\tpublic void chamCong() {\n\n\t}",
"title": ""
},
{
"docid": "7aa6963c647c1b2028e2058b152485e1",
"score": "0.60502386",
"text": "@Override\n\tpublic void generate() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "4a4d6ca4f76cf550f30a1b3469c5c600",
"score": "0.60493964",
"text": "@Override\n\tpublic void heilen() {\n\n\t}",
"title": ""
},
{
"docid": "bdc1683df7d1d6b2d988cd3acab4903e",
"score": "0.6038966",
"text": "public void mo5201a() {\n }",
"title": ""
},
{
"docid": "5f1811a241e41ead4415ec767e77c63d",
"score": "0.6026285",
"text": "@Override\n\tprotected void init() {\n\n\t}",
"title": ""
},
{
"docid": "588ab475e29950e8a1944c4a28fe2189",
"score": "0.60249215",
"text": "public void mo7036d() {\n }",
"title": ""
},
{
"docid": "770d423e40bf5782a700bc181e8b8a1e",
"score": "0.6021663",
"text": "@Override\n\tvoid init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "792350939017ccf304337ff492e7db06",
"score": "0.60117185",
"text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"title": ""
},
{
"docid": "1f6ca7603428a226b143ebf504f69fdb",
"score": "0.6009838",
"text": "@Override\n protected void initialize() {\n \n }",
"title": ""
},
{
"docid": "06b59299a5db6a0902fdbf88e7826cfa",
"score": "0.5996361",
"text": "private void naceSer() {\n\n\t}",
"title": ""
},
{
"docid": "2ccd2a90144fab8b5fa71c58ca003352",
"score": "0.59793085",
"text": "@Override\n\tpublic void falar() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "0f6e1929716bfb216fb0d53f4c72c746",
"score": "0.59759957",
"text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "16a4669a2213802ac94829fc8d9946ff",
"score": "0.5936159",
"text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "8b18fd12dbb5303a665e92c25393fb78",
"score": "0.592289",
"text": "@Override\n\tprotected void initData() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "8b18fd12dbb5303a665e92c25393fb78",
"score": "0.592289",
"text": "@Override\n\tprotected void initData() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "fede515c585b365b04aace2b909737cf",
"score": "0.5906343",
"text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "28237d6ae20e1aa35aaca12e05c950c9",
"score": "0.5903241",
"text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "7f91c82c66ced12c5b193d3c89d68e4c",
"score": "0.5887157",
"text": "@Override\n\tprotected void init() {\n\t}",
"title": ""
},
{
"docid": "8a51433116320d5ea7de338cae668e7e",
"score": "0.5878928",
"text": "@Override\n\tpublic void competir() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "69b1247a4afd513b9853da385d6f2d24",
"score": "0.5865337",
"text": "@Override\n\tpublic void resta() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "b8693030a2b5a0ed9423a2578e5d2a26",
"score": "0.58650714",
"text": "@Override\n\tpublic void toto() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "f3d9d337b86266fa06b6c124066ba10f",
"score": "0.58534026",
"text": "@Override\n\tpublic void suivant() {\n\n\t}",
"title": ""
},
{
"docid": "ab2f45ed8ffa08a06ff449780f0ea9da",
"score": "0.5835666",
"text": "@Override\r\n\tpublic void ha() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "9293596216c60e2004e0a8cfb950ad0f",
"score": "0.58235013",
"text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}",
"title": ""
},
{
"docid": "1c223692b2a2bdbc36ebfa379064d28d",
"score": "0.579889",
"text": "public void mo7102f() {\n }",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.57930756",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "beee84210d56979d0068a8094fb2a5bd",
"score": "0.57930756",
"text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "54b1134554bc066c34ed30a72adb660c",
"score": "0.57896227",
"text": "@Override\n\tprotected void initData() {\n\n\t}",
"title": ""
},
{
"docid": "54b1134554bc066c34ed30a72adb660c",
"score": "0.57896227",
"text": "@Override\n\tprotected void initData() {\n\n\t}",
"title": ""
},
{
"docid": "8a33b8de7a2fdf8b7088903dc4a4cf5f",
"score": "0.5781052",
"text": "@Override\n\tpublic void affiche() {\n\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.57740635",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.57740635",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.57740635",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2ded89a6dfb4a5cfce4bf00ee7993921",
"score": "0.57740635",
"text": "@Override\n\tpublic void init() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "c19a49911957739008b73b032429cb01",
"score": "0.57711464",
"text": "public void initalize() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1717024d52ad1ad5517c9f135ea71904",
"score": "0.5764274",
"text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\r\n\t}",
"title": ""
},
{
"docid": "518a761521ca9f5cb8a8055b32b72cda",
"score": "0.57594955",
"text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "518a761521ca9f5cb8a8055b32b72cda",
"score": "0.57594955",
"text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "518a761521ca9f5cb8a8055b32b72cda",
"score": "0.57594955",
"text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "598681cc815af7b9f96d5d7ce97e7b20",
"score": "0.57551545",
"text": "public void mo5669b() {\n }",
"title": ""
},
{
"docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4",
"score": "0.575256",
"text": "@Override\n protected void initialize() {\n\n }",
"title": ""
},
{
"docid": "2d614ed2ee5b3120f5ee8b427542ddc3",
"score": "0.5750205",
"text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "2d614ed2ee5b3120f5ee8b427542ddc3",
"score": "0.5750205",
"text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "2d614ed2ee5b3120f5ee8b427542ddc3",
"score": "0.5750205",
"text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "2d614ed2ee5b3120f5ee8b427542ddc3",
"score": "0.5750205",
"text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "dbccea21c95a2d676935a3ea758b163e",
"score": "0.5736352",
"text": "@Override\r\n\tpublic void limpiar() {\n\r\n\t}",
"title": ""
},
{
"docid": "c13e6a1b7c130afa9fb0f34225bea4ef",
"score": "0.57360286",
"text": "protected void mo1555b() {\n }",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.5735189",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "b143ffd983be4c8f41702b8f934b6f32",
"score": "0.5735189",
"text": "@Override\r\n\tpublic void init() {\n\r\n\t}",
"title": ""
},
{
"docid": "9a26c4906f8195084e9ec158504cab47",
"score": "0.571759",
"text": "@Override\n public void init() {\n \n }",
"title": ""
},
{
"docid": "a1a79ff63f3eb784a0134fc70f7de913",
"score": "0.5717467",
"text": "@Override\n\tpublic void initdata() {\n\n\t}",
"title": ""
},
{
"docid": "94b0ced5bfd6c8796dfd708a164694df",
"score": "0.5717321",
"text": "@Override\n public void desplazarse() {\n }",
"title": ""
},
{
"docid": "27e436f0a0c9200a542c73eabe9c3662",
"score": "0.5713347",
"text": "private void Met4() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "6c823d8b0c4f55d3f03359daefc39a00",
"score": "0.5712541",
"text": "@Override\n\tpublic void lanzar() {\n\n\t}",
"title": ""
},
{
"docid": "15823e29a9b2fc554cc535992e0eacee",
"score": "0.5711361",
"text": "@Override\r\n\tpublic void initData() {\n\r\n\r\n\t}",
"title": ""
},
{
"docid": "7aadbda143e84de0144f7a8dadde423d",
"score": "0.57036036",
"text": "@Override\n protected void initData() {\n\n }",
"title": ""
},
{
"docid": "9b197585ec90d98a2e41d154a1678e4a",
"score": "0.5703111",
"text": "@Override\n protected void refreshInit() {\n \n }",
"title": ""
},
{
"docid": "0694b71fd24e10a480fa3f3dcd28b3ca",
"score": "0.57020855",
"text": "public void mo7243j() {\n }",
"title": ""
},
{
"docid": "a3060192856bd2663b96bd0ef31d99fd",
"score": "0.5686318",
"text": "@Override\n\t\t\t\tpublic void refresh() {\n\t\t\t\t\t\n\t\t\t\t}",
"title": ""
},
{
"docid": "c13ae19df69e3abfecf963fdcf9a29ee",
"score": "0.5681426",
"text": "@Override\n\tpublic void c12() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3207dcaa6322a2a59b6687b951ef91d7",
"score": "0.5678525",
"text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "b1e3eb9a5b9dff21ed219e48a8676b34",
"score": "0.56780714",
"text": "@Override\n public void memoria() {\n \n }",
"title": ""
},
{
"docid": "b1e3eb9a5b9dff21ed219e48a8676b34",
"score": "0.56780714",
"text": "@Override\n public void memoria() {\n \n }",
"title": ""
},
{
"docid": "5d97082ad890b2df7c126438819d2c54",
"score": "0.5665051",
"text": "private void envejecer() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "8c203fbc4b35fbc9b64bf6b47d67d29a",
"score": "0.5658951",
"text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "9d94df716ebd35f7ec07df01763ae94c",
"score": "0.5657257",
"text": "@Override\n\tpublic void init() {\n\n\t}",
"title": ""
},
{
"docid": "4dc967945b63b3f9ccc200b50799205b",
"score": "0.5647773",
"text": "@Override\n\tprotected Item func_149866_i() {\n return null;\n }",
"title": ""
},
{
"docid": "4701bace660096d78c2bf92bfe4b6dd4",
"score": "0.56445307",
"text": "@Override\n\t\t\t\t\tpublic Sequence sequence() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}",
"title": ""
},
{
"docid": "8ce70d18e04299fa79dc9066550f3a42",
"score": "0.56387436",
"text": "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "c54df76b32c9ed90efddc6fd149a38c7",
"score": "0.56294066",
"text": "@Override\n protected void init() {\n }",
"title": ""
},
{
"docid": "f2b0e20cc959024f21173c16e77430c4",
"score": "0.56286204",
"text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "892e81ba33fe99f590f49f4fd7ed10a8",
"score": "0.5622097",
"text": "private void init() {\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1b2b14182c814ea12be48fa3ab499e9d",
"score": "0.5615604",
"text": "@Override\r\n\tprotected void initialize() {\r\n\t}",
"title": ""
},
{
"docid": "412e5d9d9ceed77a8c31cb9312e427b3",
"score": "0.5615565",
"text": "public final void mo63019a() {\n }",
"title": ""
},
{
"docid": "412e5d9d9ceed77a8c31cb9312e427b3",
"score": "0.5615565",
"text": "public final void mo63019a() {\n }",
"title": ""
}
] |
4b9d6d4178d2ef0c36d495d6fcdd600f | Get all players where the number of players is determined by the limit. List of players is ordered by points desc. | [
{
"docid": "2400c6d1c8e74bf38c200adaf1e10144",
"score": "0.7709072",
"text": "public List<Player> getAllPlayersLimit(int limit) {\n\t\treturn repository.findAll(limit);\n\t}",
"title": ""
}
] | [
{
"docid": "6ba09b84cf5c40a1bd321283eb97f4f3",
"score": "0.6447754",
"text": "Data<List<Pins>> getLike(Integer limit);",
"title": ""
},
{
"docid": "b267c70e49e85c25f6a49b41db442c8c",
"score": "0.6394416",
"text": "public List<Pregunta> getPreguntasMasVotadas(int limit);",
"title": ""
},
{
"docid": "0f18a6b596be08018a4d4e765204cfd0",
"score": "0.63646114",
"text": "public List<Pregunta> getPreguntasSinResponder(int limit);",
"title": ""
},
{
"docid": "2bc75bfc834aa0ec7398ef6add9c3410",
"score": "0.634668",
"text": "Data<List<Pins>> getPins(Integer limit);",
"title": ""
},
{
"docid": "2aea41fcd6602250926f1a438eb4993a",
"score": "0.6261116",
"text": "public Collection<Player> getPlayersChunk() {\n var chunk = new Chunk<Player>();\n var playersChunk = chunk.get(this.players, ALL_PLAYERS_CHUNK_SIZE, allPlayersChunkIndex);\n\n // up to ALL_PLAYERS_CHUNK_SIZE with empty players\n // to have an even view\n var startIndex = playersChunk.size();\n for (var i = startIndex; i < ALL_PLAYERS_CHUNK_SIZE; i++) {\n playersChunk.add(new Player(new Person()));\n }\n\n return playersChunk;\n }",
"title": ""
},
{
"docid": "b789ec771cb6234be284995bc9036a1d",
"score": "0.6260745",
"text": "Data<List<Boards>> getFollowersBoards(Integer limit);",
"title": ""
},
{
"docid": "aef8cfeb4538a0173099f7e1a0d2ffa1",
"score": "0.62222075",
"text": "List<Player> getPlayers();",
"title": ""
},
{
"docid": "2da6b052c23c11f904350887e35bde3d",
"score": "0.61838603",
"text": "public ArrayList<BoardGame> filterByPlayer(ArrayList<BoardGame> list) {\n //int playerCount = Integer.parseInt(numPlayers);\n int playerCount = extractInt(numPlayers);\n ArrayList<BoardGame> tempList = new ArrayList<>();\n for (BoardGame game: list) {\n //Debug print out\n Log.i(\"FILTER PLAYERS\", \"Game: \" + game.getName() + \" Min players: \" + game.getMinPlayers() +\n \" Max players: \" + game.getMaxPlayers() + \" Target players: \" + playerCount);\n //TODO: Is there some case for 10+ that would differ from the below?\n if(game.getMinPlayers() <= playerCount && game.getMaxPlayers() >= playerCount) {\n addGameToList(tempList, game);\n }\n }\n return tempList;\n }",
"title": ""
},
{
"docid": "daf96459da78cebc0a509db7d5f773f1",
"score": "0.6131829",
"text": "@Override\n public List<Player> getPlayerPage(int page) throws IndexOutOfBoundsException {\n page = page - 1;\n int bottom = page * 10;\n if(bottom < 0 || bottom\n > players.size()) {\n throw new IndexOutOfBoundsException();\n }\n int top;\n if(players.size() - bottom < 10) {\n top = players.size();\n } else {\n top = bottom + 10;\n }\n List<Player> playersList = new ArrayList<>(players);\n return playersList.subList(bottom, top);\n }",
"title": ""
},
{
"docid": "95a0d4ba424e351215bca1097da90848",
"score": "0.6087124",
"text": "List<Player> findAllPlayers();",
"title": ""
},
{
"docid": "fa7c9995e02584ba8a6bb867af1f312b",
"score": "0.59647006",
"text": "List<Player> listPlayers();",
"title": ""
},
{
"docid": "b445f2b824fc4fc19d0008f8b9713dad",
"score": "0.5956857",
"text": "public ArrayList<FurniturePiece> selectPiecesLimitX(String name, int limit) throws Exception {\n ArrayList<FurniturePiece> pieces = new ArrayList<>();\n try ( Connection conn = ConnectionDB.getConnection(); PreparedStatement ps = conn.prepareStatement(SQL_SELECT_PIECES_NAME_LIMIT)) {\n // data\n ps.setString(1, name.toLowerCase());\n ps.setInt(2, limit);\n ResultSet rs = ps.executeQuery();\n while (rs.next()) {\n pieces.add(new FurniturePiece(rs.getInt(\"id\"), rs.getString(\"name\"), rs.getInt(\"cost\")));\n }\n } catch (Exception e) {\n new InsertUtilities().throwCustomError(\"Error al sleeccionar numero de piezas, verifica los datos ingresados, \" + e.getMessage());\n }\n return pieces;\n }",
"title": ""
},
{
"docid": "f99c9f7c235bb120ec7be0c0219749d3",
"score": "0.5940546",
"text": "Data<List<User>> getFollowers(Integer limit);",
"title": ""
},
{
"docid": "6f6563928b041b170ca7672801bd1bc9",
"score": "0.5906131",
"text": "ArrayList<Player> getAllPlayer();",
"title": ""
},
{
"docid": "367da26fda29619a75f554f02ecbe5d2",
"score": "0.58956313",
"text": "public ListProxy limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "c0bc35728f6dfc45eca896574fbe9a53",
"score": "0.58838964",
"text": "Data<List<User>> getfollowingUsers(Integer limit);",
"title": ""
},
{
"docid": "a126b35b77cc35d9ff827714e32d3acd",
"score": "0.58789766",
"text": "void setMaxResults(int limit);",
"title": ""
},
{
"docid": "88b84721efc6076516f725fd92783ebc",
"score": "0.5873081",
"text": "public static List<GameBean> searchSuggestedGames(final String username, final int limit)\n {\n try(Session session=driver.session())\n {\n return session.readTransaction(new TransactionWork<List<GameBean>>()\n {\n @Override\n public List<GameBean> execute(Transaction tx)\n {\n return transactionSearchSuggestedGames(tx, username, limit);\n }\n });\n }\n\n }",
"title": ""
},
{
"docid": "69d6b29153288fb6c9b42bdc1cb1e9bd",
"score": "0.586584",
"text": "private void sortResults(){\r\n this.sortedPlayers = new ArrayList<>();\r\n int size = players.size();\r\n while (size > 0) {\r\n Player lowestPointsPlayer = this.players.get(0);\r\n for(int i = 0; i<this.players.size(); i++){\r\n if(lowestPointsPlayer.getPoints() <= this.players.get(i).getPoints()){\r\n lowestPointsPlayer = this.players.get(i);\r\n }\r\n }\r\n this.sortedPlayers.add(lowestPointsPlayer);\r\n this.players.remove(lowestPointsPlayer);\r\n size--;\r\n }\r\n\r\n\r\n }",
"title": ""
},
{
"docid": "374d04d5752c393b51ff8cd063da5f06",
"score": "0.57631093",
"text": "public List<Player> findAllPlayers(){\n\t\treturn playerRepository.findAll();\n\t}",
"title": ""
},
{
"docid": "0e24f4aef6ab50fad668afc895d66e6a",
"score": "0.57332885",
"text": "List<User> findUsers(long max, int count);",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.570985",
"text": "int getLimit();",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.570985",
"text": "int getLimit();",
"title": ""
},
{
"docid": "71a7f3029d8fcef7dda40e55cee89b7a",
"score": "0.5688061",
"text": "Collection<User> players();",
"title": ""
},
{
"docid": "352f2213ab35bc4a4cc404b7a39374a4",
"score": "0.56834877",
"text": "public int playersCount(){\r\n\t\treturn players.size();\r\n\t}",
"title": ""
},
{
"docid": "aec3ea6a9baff945e6551527e86848d9",
"score": "0.56787664",
"text": "public Set<Player> getAllPlayers(Term term, PaginationFilter pagination);",
"title": ""
},
{
"docid": "872f0a938fd526cb7e32da1bef327806",
"score": "0.5673617",
"text": "public ListResponse<PlayerResponse> getPlayers() {\n\t\tcheckProvided();\n\t\treturn players;\n\t}",
"title": ""
},
{
"docid": "4429806508a8d141d47083867a7b37ee",
"score": "0.56331795",
"text": "Data<List<Pins>> getSearchPins(String query, Integer limit);",
"title": ""
},
{
"docid": "086d0bcd1cf104790eb8bb5f373fc1eb",
"score": "0.5629482",
"text": "public List<Player> getAvailablePlayers(Round round) {\r\n\t\tList<Player> availablePlayers = playerLogic.createNew(round.getPlayers());\r\n\r\n\t\tfor (Match match : round.getMatches()) {\r\n\t\t\tavailablePlayers.removeAll(match.getHomeTeam());\r\n\t\t\tavailablePlayers.removeAll(match.getAwayTeam());\r\n\t\t}\r\n\t\treturn availablePlayers;\r\n\t}",
"title": ""
},
{
"docid": "6724954f12c33626dad5d4c449c5969c",
"score": "0.56100744",
"text": "private void getPlayerList(){\r\n\r\n PlayerDAO playerDAO = new PlayerDAO(Statistics.this);\r\n players = playerDAO.readListofPlayerNameswDefaultFirst();\r\n\r\n }",
"title": ""
},
{
"docid": "11d8de6be07ceb77e71c393b05493814",
"score": "0.5592866",
"text": "static List<Player> getAllPlayers() {\n\t\treturn null;\r\n\t}",
"title": ""
},
{
"docid": "34010ec99b13a2ebe3bae545e5540313",
"score": "0.559217",
"text": "public ListConsole limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "3a0cc8ed83dac58ba8fd2ec18a5730c2",
"score": "0.55623895",
"text": "public ListInfrastructure limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "4993dbc508c0a4cdcee9aba4ee160be4",
"score": "0.5558327",
"text": "public void setMinimumPlayers(int nPlayers)\r\n {\n \r\n }",
"title": ""
},
{
"docid": "59e31ab80f988c7441f4d99860f1ca67",
"score": "0.5551149",
"text": "public ListOAuth limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "ea603d206a0833e938b925af1bda2144",
"score": "0.5547941",
"text": "public LimitedPlayer() {\r\n\t\tsuper.setturnsLimit(10);\r\n\t}",
"title": ""
},
{
"docid": "fa63d5e8f4a1bfdca77de428d8bc4036",
"score": "0.55444163",
"text": "public ArrayList<Movie> getTopMovies(int limit){\n String query = \"SELECT DISTINCT id, title, year, rtAudienceScore, \"\n + \"rtPictureURL, imdbPictureURL FROM movies \"\n + \"ORDER BY rtAudienceScore DESC \"\n + \"LIMIT \" + limit;\n ResultSet rs = null;\n ArrayList<Movie> movieList = new ArrayList<Movie>();\n try{\n con = ConnectionFactory.getConnection();\n stmt = con.createStatement();\n rs = stmt.executeQuery(query);\n while(rs.next()){\n int id = rs.getInt(\"id\");\n String title = rs.getString(\"title\").trim();\n int year = rs.getInt(\"year\");\n int rtAudienceScore = rs.getInt(\"rtAudienceScore\");\n String rtPictureURL = rs.getString(\"rtPictureURL\").trim();\n String imdbPictureURL = rs.getString(\"imdbPictureURL\").trim();\n movieList.add(new Movie(id, title, year, imdbPictureURL, \n rtPictureURL, rtAudienceScore));\n }\n con.close();\n stmt.close();\n rs.close();\n }\n catch(SQLException e){\n e.printStackTrace();\n }\n return movieList;\n }",
"title": ""
},
{
"docid": "f3b1a5e3c8fb2d36919900b4e3e19fe0",
"score": "0.553906",
"text": "public List<Limit> list(String username);",
"title": ""
},
{
"docid": "1f01e959335c60eb2057816ec2d50e62",
"score": "0.553663",
"text": "Data<List<User>> getFollowers(Integer limit, String fields);",
"title": ""
},
{
"docid": "c6b811584d318ca6b8900f8897d007b5",
"score": "0.5535708",
"text": "public ListAPIServer limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "2f8ba322ed6e43bcf9db73aa8be1fcc9",
"score": "0.5527711",
"text": "private List<Player> calculatePoints()\n\t{\n\t\tthis.systemDataInput.printMessage(\"Calculating points...\");\n\t\t\n\t\tArrayList<Player> winningPlayers = new ArrayList<Player>();\n\t\tint maxPoints = 0;\n\t\tint maxBuilding = 0;\n\t\t\n\t\tfor(Player player : playerList)\n\t\t{\n\t\t\tint points = 0;\n\t\t\tint bestBuilding = 0;\n\t\t\t\n\t\t\tfor(Area area : board.getAreaList())\n\t\t\t{\n\t\t\t\tif (!area.hasDemon())\n\t\t\t\t{\n\t\t\t\t\tif (area.hasBuilding(player))\n\t\t\t\t\t{\n\t\t\t\t\t\tpoints += area.getCost();\n\t\t\t\t\t\tif (area.getCost() > bestBuilding)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tbestBuilding = area.getCost();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpoints += 5 * area.getMinionList(player).size();\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint playerMoney = player.getMoneyAmount();\n\t\t\tpoints += playerMoney;\n\t\t\t\n\t\t\tfor(Card card : player.getInFrontOfHimDeck())\n\t\t\t{\n\t\t\t\tfor(Action action : card.getActions(BorrowMoneyFromTheBank.class))\n\t\t\t\t{\n\t\t\t\t\tint moneyToPayBack = ((BorrowMoneyFromTheBank)action).getMoneyToPayBack();\n\t\t\t\t\tif (playerMoney >= moneyToPayBack)\n\t\t\t\t\t{\n\t\t\t\t\t\tpoints -= moneyToPayBack;\n\t\t\t\t\t\tplayerMoney -= moneyToPayBack;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tpoints -= ((BorrowMoneyFromTheBank)action).getPointsToLose();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tplayer.addPoints(points);\n\t\t\tplayer.getDataInput().printMessage(points + \" points\");\n\t\t\t\n\t\t\tif (points > maxPoints || (points == maxPoints && bestBuilding > maxBuilding))\n\t\t\t{\n\t\t\t\tmaxPoints = points;\n\t\t\t\tmaxBuilding = bestBuilding;\n\t\t\t\twinningPlayers.clear();\n\t\t\t\twinningPlayers.add(player);\n\t\t\t}\n\t\t\telse if (points == maxPoints && bestBuilding == maxBuilding)\n\t\t\t{\n\t\t\t\twinningPlayers.add(player);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn winningPlayers;\n\t}",
"title": ""
},
{
"docid": "99a949242ca03b1afd0f7d4368156833",
"score": "0.55269915",
"text": "public int getPoints ( Player player );",
"title": ""
},
{
"docid": "0af8e84acd195f29a5fb466ec7fbcdc5",
"score": "0.552377",
"text": "@Override\n\tpublic List<T> getLimitedFilteredResult(Bson filter, int limit) {\n\t\tGson gson = new GsonBuilder().create();\n\t\tList<T> innerList = new ArrayList<>();\n\t\tcollection.find(filter).limit(limit).forEach((Block<Document>) document -> {\n\t\t\tinnerList.add(gson.fromJson(document.toJson(), entityClass));\n\t\t});\n\t\treturn innerList;\n\n\t}",
"title": ""
},
{
"docid": "fcb32b1bd2a65e2a5d0805c98a5a7605",
"score": "0.55125666",
"text": "@SqlQuery(\"select * from PLAYERSTATS order by KILLS DESC FETCH FIRST 10 ROWS ONLY\")\n List<PlayerStats> findKillsHighScores();",
"title": ""
},
{
"docid": "97212bdbe94b57aed624927c7f6639ac",
"score": "0.5508589",
"text": "public List<Limit> list();",
"title": ""
},
{
"docid": "9c6af91101820009f2886dbe3bb73ee9",
"score": "0.5487427",
"text": "public int countPlayers(){\n return players.size();\n }",
"title": ""
},
{
"docid": "0ad18642748d9d880a12aa741690d8fe",
"score": "0.54865074",
"text": "@Override\n public List<Player> getPlayers() {\n return players;\n }",
"title": ""
},
{
"docid": "1c6eef8e376ae39674a8f524b0fd84c2",
"score": "0.548129",
"text": "@Override\n public List<Player> getPlayers() {\n return new ArrayList<Player>(players);\n }",
"title": ""
},
{
"docid": "d727d28174ccec989323e9757ba109e6",
"score": "0.54804194",
"text": "public List<MemberData> findPastPlayers(Long playerId) {\r\n\t\tPlayer master = lookupPlayer(playerId);\r\n\t\tSet<Member> memberSet = new HashSet<Member>();\r\n\t\tfor (Player thisPlayer : playerDao.findByMember(master.getMember())) {\r\n\t\t\tfor (Player otherPlayer : thisPlayer.getGame().getPlayers()) {\r\n\t\t\t\tmemberSet.add(otherPlayer.getMember());\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// remove all players currently invited\r\n\t\tfor (Invite i : master.getGame().getInvites()) {\r\n\t\t\tmemberSet.remove(i.getMember());\r\n\t\t}\r\n\t\t// remove self!\r\n\t\tmemberSet.remove(master.getMember());\r\n\t\t\r\n\t\t// sort by first name\r\n\t\tList<Member> sortedMembers = new ArrayList<Member>(memberSet);\r\n\t\tCollections.sort(sortedMembers, new Comparator<Member>() {\r\n\t\t public int compare(Member o1, Member o2) {\r\n\t\t return o1.getName().compareTo(o2.getName());\r\n\t\t }});\r\n\t\t\r\n\t\tArrayList<MemberData> membersData = new ArrayList<MemberData>();\r\n\t\tfor (Member m : sortedMembers) {\r\n\t\t\tmembersData.add(new MemberData(m));\r\n\t\t}\r\n\t\treturn membersData;\r\n\t}",
"title": ""
},
{
"docid": "1dac2919a9181bcc17f8bfa2ab6b587b",
"score": "0.54737777",
"text": "public ListProject limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "7d51580afc96f8ac2efc38570b7302ab",
"score": "0.5468108",
"text": "public int getMaximumPlayers() {\n return maximumPlayers;\n }",
"title": ""
},
{
"docid": "6b11fc89a97a46b3ae22eba61e265d89",
"score": "0.5459",
"text": "public List<Song> findTopTen(){\n\t\treturn this.songRepo.findTop10ByOrderByRatingDesc();\n\t}",
"title": ""
},
{
"docid": "270b940ea40d0c5c3d1c322e83191aca",
"score": "0.5457191",
"text": "public List<TagPregunta> getTagsPopulares(int limit);",
"title": ""
},
{
"docid": "988f19d7f8b8c2960fab2a02a3b9656a",
"score": "0.54447263",
"text": "public List<Pregunta> getPreguntasSinResolver(int limit);",
"title": ""
},
{
"docid": "0414cd0d0129266aeb77264238e1ebec",
"score": "0.5443411",
"text": "public ListNetwork limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "52a3dc40b267425a0c0338522ec2da8d",
"score": "0.5439834",
"text": "public ArrayList<Result> getTopResults(String quizID, int limit){\n \t\tString query = \"select * from results where quiz = '\" + quizID + \"' order by correct desc, time asc limit \" + limit;\n \t\tResultSet rs = getResult(query);\n \t\tArrayList<Result> results = new ArrayList<Result>();\n \t\ttry {\n \t\t\trs.beforeFirst();\n \t\t\twhile(rs.next()){\n \t\t\t\tresults.add(new Result(rs.getString(\"quiz\"), rs.getString(\"user\"), Integer.parseInt(rs.getString(\"time\")), Integer.parseInt(rs.getString(\"questions\")), Integer.parseInt(rs.getString(\"correct\")), rs.getString(\"date\")));\n \t\t\t}\n \t\t} catch (SQLException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\treturn results;\n \t}",
"title": ""
},
{
"docid": "1ea956f440421dc26691f1f2153c36a2",
"score": "0.54396737",
"text": "List<RiceCooker> getPerPage(long startRow, long maxRows);",
"title": ""
},
{
"docid": "093eab2c8ff43d5b1d3d31892124cff3",
"score": "0.54381067",
"text": "public List<PlayerItem> getAllPlayerItemById(Player player);",
"title": ""
},
{
"docid": "9b7c005d7de03e51b31258fde8773928",
"score": "0.54351586",
"text": "public List <FootballPlayer> getAllPlayers() {\n\t\treturn market.getAllPlayers();\n\t}",
"title": ""
},
{
"docid": "02a744b9aede4e1e29c6e7d0a3700d10",
"score": "0.5434507",
"text": "public List<Integer> findTopGenesByRanking( Integer n ) throws DAOException;",
"title": ""
},
{
"docid": "455fae28f98917d6e5431a9517cc0aa6",
"score": "0.5410151",
"text": "@Override\n\tpublic List<User> selectLimit() {\n\t\treturn userDao.selectLimit();\n\t}",
"title": ""
},
{
"docid": "9bcdcc9791dd7c954ab8f6d2ace0d7d2",
"score": "0.5407009",
"text": "public TennisPlayer[] getAllPlayers() throws TennisDatabaseRuntimeException {\n\t\t \t\n\t\tTennisPlayerContainerIterator iterator = this.iterator();\n\t\t\n iterator.setInorder();\n \t\n TennisPlayer[] outputArray = new TennisPlayer[playerCount];\n \n int index = 0;\n \n while (iterator.hasNext()) {\n \t\n outputArray[index] = iterator.next();\n \n index++;\n \n }\n \n return outputArray;\n \n\t}",
"title": ""
},
{
"docid": "e9a09b1a2de56019302d00b294f60d29",
"score": "0.5405022",
"text": "private ArrayList<IPlayer> sortPlayerAfterPoints() {\n ArrayList<IPlayer> arrlist = new ArrayList<>();\n\n iPlayerList.entrySet().stream().map((pair) -> (IPlayer) pair.getValue()).forEachOrdered((ip) -> {\n arrlist.add(ip);\n });\n\n Collections.sort(arrlist, (IPlayer p1, IPlayer p2) -> {\n try {\n if (p1.getPoints() == p2.getPoints()) {\n return 0;\n } else if (p1.getPoints() > p2.getPoints()) {\n return -1;\n } else {\n return 1;\n }\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n return 0;\n });\n\n return arrlist;\n }",
"title": ""
},
{
"docid": "759124466ca9a09608287dd084398a6f",
"score": "0.5396609",
"text": "public List<PlayerRecord> display4() {\n List<PlayerRecord> l = new List<PlayerRecord>();\n int max = 0;\n PlayerRecord curr = playerlist.first();\n while (curr != null) {\n int c = curr.getShots();\n if (c > max) {// if is a new maximum value, empty the list\n l.clear();\n l.add(curr);\n max = c;\n } else if (c == max) { // if there are more than one maximum value,\n // add it\n l.add(curr);\n }\n curr = playerlist.next();\n }\n return l;\n }",
"title": ""
},
{
"docid": "f0d7f9a7a22ed93374c4ec4477303cff",
"score": "0.539415",
"text": "public List<Integer> findTopGenesByPaperCnt( Integer n ) throws DAOException;",
"title": ""
},
{
"docid": "0f7c8a64e21b2e4ee88b0390419801cd",
"score": "0.5391121",
"text": "protected Limit getLimit() {\n return new Limit(skip, limit);\n }",
"title": ""
},
{
"docid": "072bf7cc22e1de28a413d86feea13e00",
"score": "0.53805345",
"text": "public List<User> getUsersByNumberOfPosts(int N);",
"title": ""
},
{
"docid": "c8e7c60b1432a4947829373c22027a49",
"score": "0.5374794",
"text": "public ListBuild limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "0ea16e1a78586eaca60a8d9d588bf887",
"score": "0.5371363",
"text": "public static List<String> getTopVideos(){\n\t\tList<String> retList = new ArrayList<String>();\r\n\t\tIterator<Video> itr = pq.iterator();\r\n\t\tPriorityQueue<Video> localPq = new PriorityQueue<Video>(new VideoComparator());\r\n\t\twhile(itr.hasNext())\r\n\t\t{\r\n\t\t\tlocalPq.add(itr.next());\r\n\t\t}\r\n\r\n\t\tint rank = 0;\r\n\t\twhile(!localPq.isEmpty() && rank<10)\r\n\t\t{\r\n\t\t\tretList.add(localPq.poll().getVideoId());\r\n\t\t\trank++;\r\n\t\t}\r\n\t\treturn retList;\r\n\t}",
"title": ""
},
{
"docid": "cecb0dfece6c0b0ba9e23ad9a79f3372",
"score": "0.53675157",
"text": "public PagedList<User> getFriendListProfiles(Integer limit) {\n return this.getFriendListProfiles(limit, null, null, null);\n }",
"title": ""
},
{
"docid": "dc748b7cc182a9275d2ec7fc99cd06be",
"score": "0.53632754",
"text": "public List<String> getAllPlayers() throws ServerProblem {\r\n\ttry (Connection connTDB = ConnectionManager.getInstance().getConnection()) {\r\n\t LOGGER.debug(\"Getting all players\");\r\n\t List<String> results = engine.getAllPlayers(connTDB);\r\n\t LOGGER.debug(\"Players found in the database: \" + results);\r\n\t return results;\r\n\t} catch (Exception ex) {\r\n\t String error = \"Problem encountered getting all players: \" + ex;\r\n\t LOGGER.error(error);\r\n\t throw new ServerProblem(error, ex);\r\n\t}\r\n }",
"title": ""
},
{
"docid": "fd224efa63213de91b0e45264714269d",
"score": "0.53573513",
"text": "public List<SkungeePlayer> getPlayers(SkungeeServer... servers) throws TimeoutException, InterruptedException, ExecutionException {\n\t\tPlayersPacket packet = new PlayersPacket();\n\t\tpacket.setServers(servers);\n\t\treturn japson.sendPacket(packet);\n\t}",
"title": ""
},
{
"docid": "134e1e386d276b576dc2ce39f217d6da",
"score": "0.5351145",
"text": "public List<Player> getPlayers() {\r\n return players;\r\n }",
"title": ""
},
{
"docid": "134e1e386d276b576dc2ce39f217d6da",
"score": "0.5351145",
"text": "public List<Player> getPlayers() {\r\n return players;\r\n }",
"title": ""
},
{
"docid": "35f251e2c56b80144c106ec2519fd888",
"score": "0.5350989",
"text": "@Query(value = \"SELECT * FROM Champignon_Logboeken ORDER BY nummer DESC LIMIT ?1\", nativeQuery = true)\n\tpublic List<Champignonlogboek> findLastTen(int limit);",
"title": ""
},
{
"docid": "d660d4820bee82c05464a5b0c4d219e6",
"score": "0.5350253",
"text": "public ListNamespacedComponent limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "187684659892479e689224d83528aa05",
"score": "0.5348956",
"text": "@Override\r\n\tpublic ArrayList<PlayerPO> getAllPlayers() {\n\t\treturn playerController.getAllPlayers();\r\n\t}",
"title": ""
},
{
"docid": "77e539a3b865c24f25004d0888c3d39b",
"score": "0.53472424",
"text": "public ArrayList<Player> whoWins(ArrayList<Player> players) {\r\n\r\n // on créé un tableau pour stocker les gagnants\r\n ArrayList<Player> winners = new ArrayList<>();\r\n\r\n int bestScore = 0;\r\n\r\n for(Player player : players) {\r\n if( ! isBusted(player)) {\r\n if(total(player).max() > bestScore || (player.isDealer() && total(player).max() == bestScore)) {\r\n bestScore = total(player).max();\r\n winners.clear();\r\n winners.add(player);\r\n }\r\n else if(total(player).max() == bestScore) {\r\n winners.add(player);\r\n }\r\n } else {\r\n Logger.write(player.getName() + \" a perdu, il perd sa mise :\" + player.getStake());\r\n player.removeTokens(player.getStake());\r\n }\r\n }\r\n return winners;\r\n }",
"title": ""
},
{
"docid": "869eb626098ae3ddde76ea7291d44d9e",
"score": "0.5342828",
"text": "@Override\n public int getItemCount() {\n return players.size();\n }",
"title": ""
},
{
"docid": "589693a485faa8e41a7cee22c0e3d710",
"score": "0.5335572",
"text": "int getNumberOfPlayers(){\n return players.size();\n }",
"title": ""
},
{
"docid": "6d8ad8599ea70a99b8c1ee5c54765396",
"score": "0.5303904",
"text": "public HashMap<UUID, Double> getTop(int limit) {\n PreparedStatement preparedStatement = null;\n try\n {\n HashMap<UUID, Double> topMap = new HashMap<>();\n preparedStatement = connection.prepareStatement(\n String.format(\"SELECT uuid, balance FROM %s.accounts ORDER BY balance DESC LIMIT ?;\",\n simpleEconomy.getConfig().getString(\"db.database\")));\n preparedStatement.setInt(1, limit);\n ResultSet resultSet = preparedStatement.executeQuery();\n while (resultSet.next()) {\n topMap.put(UUID.fromString(resultSet.getString(\"uuid\")), resultSet.getDouble(\"balance\"));\n }\n return topMap;\n }\n catch (SQLException e)\n {\n e.printStackTrace();\n }\n return new HashMap<>();\n }",
"title": ""
},
{
"docid": "b5a06ff3173a143ef8a8007b35106e8c",
"score": "0.5303406",
"text": "private void getPlayers() {\r\n\t\tSystem.out.println(\"How Many Players: \");\r\n\t\tpnum = getNumber(1, 3);\r\n\r\n\t\tfor(int i=0; i < pnum; i++){\r\n\t\t\tSystem.out.println(\"What is player \" + (i + 1) + \"'s name? \");\r\n\t\t\tString name = sc.next();\r\n\t\t\tboolean dupe = true;\r\n\t\t\twhile(dupe){\r\n\t\t\t\tint samecounter = 0;\r\n\t\t\t\tfor(Player p : players){\r\n\t\t\t\t\tif(name.equals(p.getName())){\r\n\t\t\t\t\t\tsamecounter += 1;\r\n\t\t\t\t\t\tSystem.out.println(\"Name is the same as another players. Please choose another name: \");\r\n\t\t\t\t\t\tname = sc.next();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(samecounter == 0){\r\n\t\t\t\t\tdupe = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tplayers.add(new Player(name));\r\n\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "295bff10512668ed73df81ac26f5d75e",
"score": "0.5301128",
"text": "public List<String> getAllPlayerNames() {\n List<String> playerNames = new ArrayList<>(10);\n for (Player p : players) {\n playerNames.add(p.getName());\n }\n return playerNames;\n }",
"title": ""
},
{
"docid": "d5441076c1a3c3c7211a543bc158ff74",
"score": "0.5297092",
"text": "public ArrayList<Entity> getPlayers() {\n ArrayList<Entity> players = new ArrayList<>();\n students.forEach(student -> players.add(student.getPlayer()));\n return players;\n }",
"title": ""
},
{
"docid": "3d6270fea01416ec1ad23d5c0508c24e",
"score": "0.5296198",
"text": "public int getNumOfPlayers() {\n\t\treturn playerList.size();\n\t}",
"title": ""
},
{
"docid": "b3d717c65eb9861e1d8ff141130a094d",
"score": "0.52824414",
"text": "public ResponseEntityListDataPointModel getAllDataPoints (Integer limit) throws ApiException {\n Object postBody = null;\n byte[] postBinaryBody = null;\n\n // create path and map variables\n String path = API_VERSION + \"/data-points\";\n\n // query params\n List<Pair> queryParams = new ArrayList<Pair>();\n Map<String, String> headerParams = new HashMap<String, String>();\n Map<String, Object> formParams = new HashMap<String, Object>();\n\n queryParams.addAll(apiClient.parameterToPairs(\"\", \"limit\", limit));\n\n final String[] accepts = { \"application/json\" };\n\n final String accept = apiClient.selectHeaderAccept(accepts);\n\n final String[] contentTypes = { };\n\n final String contentType = apiClient.selectHeaderContentType(contentTypes);\n\n String[] authNames = getAuthNames();\n\n TypeRef returnType = new TypeRef<ResponseEntityListDataPointModel>() { };\n\n return apiClient.invokeAPI(path, \"GET\", queryParams, postBody, postBinaryBody, headerParams, formParams, accept, contentType, authNames, returnType);\n }",
"title": ""
},
{
"docid": "d308b993cb64c0a5974e1f1e9b889b6f",
"score": "0.52818245",
"text": "public int numPlayers() {\n return playerList.size();\n }",
"title": ""
},
{
"docid": "3f80a4223dbf8a58004692776239460b",
"score": "0.5277417",
"text": "public ListDNS limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "dbb65a9b29d1b0d6ab24345da8c5541e",
"score": "0.52715796",
"text": "public int getMaximumPlayers() {\n return getOption(ArenaOption.MAXIMUM_PLAYERS);\n }",
"title": ""
},
{
"docid": "79b7b06d0ac9c61c0f959f4ea941b366",
"score": "0.52656263",
"text": "public List<Player> loadAll() throws SQLException {\n\t\tfinal Connection connection = _database.getConnection();\n\t\tfinal String sql = \"SELECT * FROM \" + table_name + \" ORDER BY id ASC \";\n\t\tfinal List<Player> searchResults = listQuery(connection.prepareStatement(sql));\n\n\t\treturn searchResults;\n\t}",
"title": ""
},
{
"docid": "593cfece4123cdbcbf176f2a959c12c2",
"score": "0.5265085",
"text": "public void setMaxPlayers(int maxPlayers) {\n\t\tthis.maxPlayers = maxPlayers;\n\t}",
"title": ""
},
{
"docid": "a4e610df77118e5be0ed550e1b020fdb",
"score": "0.5254419",
"text": "public int getMaxPlayers() {\n return maxPlayers;\n }",
"title": ""
},
{
"docid": "4bba9f07d6ae69b50df600436dc58dee",
"score": "0.525034",
"text": "public long limit();",
"title": ""
},
{
"docid": "621660a261e7e7ca374ff67199820571",
"score": "0.52503175",
"text": "public int getNumPlayers(){\n\t\treturn this.players.size();\n\t}",
"title": ""
},
{
"docid": "e15a69f506a72c7b8467c79a8068ad6b",
"score": "0.52477485",
"text": "public double getLimit() {return limit;}",
"title": ""
},
{
"docid": "0069e349bab71be632166dfbcd089699",
"score": "0.5244905",
"text": "public List<GameData> getTopTen(Collection<GameData> listOfData, String difficulty){\n\t\t\n\t\tlogger.info(\"Top List on \" + difficulty + \" created.\");\t\n\t\t\n\t\tList<GameData> tempList = listOfData.stream()\n\t\t\t\t\t\t\t\t\t.filter(d -> d.getDifficulty().equals(difficulty))\n\t\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\t\tif(tempList.size()>=10) {\n\t\t\treturn tempList.stream()\n\t\t\t\t\t.sorted((d1,d2) -> d2.getFinalScore() - d1.getFinalScore())\n\t\t\t\t\t.collect(Collectors.toList()).subList(0, 10);\n\t\t} else {\n\t\t\treturn tempList.stream()\n\t\t\t\t\t.sorted((d1,d2) -> d2.getFinalScore() - d1.getFinalScore())\n\t\t\t\t\t.collect(Collectors.toList());\n\t\t}\t\n\t}",
"title": ""
},
{
"docid": "f24603585847baafa207b3851646e594",
"score": "0.52447975",
"text": "public ListOperatorHub limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"title": ""
},
{
"docid": "4ea14a6bf7828f682f0d024d20122102",
"score": "0.52437806",
"text": "public List<Player> getAllOrdered() {\n PlayerDB pdb = new PlayerDB();\n return pdb.getAllOrdered();\n }",
"title": ""
},
{
"docid": "628bcd0ae6d95a93237114e651945924",
"score": "0.5243774",
"text": "Data<List<Pins>> getSearchPins(String query, Integer limit, String fields);",
"title": ""
},
{
"docid": "d13e8b4ef34d6d513f33f7c879407d33",
"score": "0.5233875",
"text": "public void printAllPlayerStats(List<Player> players);",
"title": ""
}
] |
fa91803a1cd5b18d564165bdd944be45 | optional bool fuel_flow = 10; | [
{
"docid": "ab779dc27ff5e873f413e390660c89ca",
"score": "0.6138484",
"text": "public boolean getFuelFlow() {\n return fuelFlow_;\n }",
"title": ""
}
] | [
{
"docid": "f32713541476532a6380ab7511b1b83d",
"score": "0.70236933",
"text": "boolean getFuelFlow();",
"title": ""
},
{
"docid": "be04b45b95d99f3a8f3a7b21800880c5",
"score": "0.6364671",
"text": "boolean hasFuelFlow();",
"title": ""
},
{
"docid": "cf94d0adb05ace8af70b03859ed7f5bb",
"score": "0.63278353",
"text": "public void setIsRequiredMRP (boolean IsRequiredMRP)\n{\nset_ValueNoCheck (\"IsRequiredMRP\", new Boolean(IsRequiredMRP));\n}",
"title": ""
},
{
"docid": "318bcd7313a28720a6d052d0621a27c2",
"score": "0.6276537",
"text": "public Builder setFuelFlow(boolean value) {\n bitField0_ |= 0x00000080;\n fuelFlow_ = value;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "d3e92db3b3a4364634f1ba235ddfae62",
"score": "0.626656",
"text": "public boolean getFuelFlow() {\n return fuelFlow_;\n }",
"title": ""
},
{
"docid": "b1c5d9ab2116f9384e335f7ef7934266",
"score": "0.61076576",
"text": "public void setRequired(Boolean required);",
"title": ""
},
{
"docid": "3c86ff47ae6c98f873ebbc1ad202fc94",
"score": "0.6082685",
"text": "public void setIsEMailWhenOverdue (boolean IsEMailWhenOverdue)\n{\nset_Value (\"IsEMailWhenOverdue\", new Boolean(IsEMailWhenOverdue));\n}",
"title": ""
},
{
"docid": "2ab8a7ef334235cffefce72bf1eab68d",
"score": "0.6078339",
"text": "C required(boolean required);",
"title": ""
},
{
"docid": "b62f9c7df9e77418fedddbbe5bed3da9",
"score": "0.60701203",
"text": "boolean requiresValue();",
"title": ""
},
{
"docid": "0c29362fc7ed9fd1e1c6f73a1ca7ed2d",
"score": "0.60116863",
"text": "public void setRequired(boolean required);",
"title": ""
},
{
"docid": "0c29362fc7ed9fd1e1c6f73a1ca7ed2d",
"score": "0.60116863",
"text": "public void setRequired(boolean required);",
"title": ""
},
{
"docid": "27352e77c31c0295ae22d7b09bd5778a",
"score": "0.5980194",
"text": "public void setIsEMailWhenDue (boolean IsEMailWhenDue)\n{\nset_Value (\"IsEMailWhenDue\", new Boolean(IsEMailWhenDue));\n}",
"title": ""
},
{
"docid": "6d77b04354d39362d3b876f11d6163dd",
"score": "0.59324527",
"text": "void setValue(boolean x);",
"title": ""
},
{
"docid": "73754f8a380b248a31b3805f34e2bab1",
"score": "0.5912231",
"text": "public void setTest(boolean value) {\n this.test = value;\n }",
"title": ""
},
{
"docid": "73754f8a380b248a31b3805f34e2bab1",
"score": "0.5912231",
"text": "public void setTest(boolean value) {\n this.test = value;\n }",
"title": ""
},
{
"docid": "6737d7aa6568006437bee19fe55c63c0",
"score": "0.5908009",
"text": "public void set_boolean(boolean param){\n \n this.local_boolean=param;\n \n\n }",
"title": ""
},
{
"docid": "0f58e46d5466204ecd077ac7fcf8168b",
"score": "0.590483",
"text": "public void setIsInvoiced (boolean IsInvoiced)\n{\nset_Value (\"IsInvoiced\", new Boolean(IsInvoiced));\n}",
"title": ""
},
{
"docid": "afb8421078beb350b5968b33ec26beee",
"score": "0.5876294",
"text": "public void setIsAutoChangeRequest (boolean IsAutoChangeRequest)\n{\nset_Value (\"IsAutoChangeRequest\", new Boolean(IsAutoChangeRequest));\n}",
"title": ""
},
{
"docid": "725a96377766e93ab75ff38d7ebcabac",
"score": "0.5866443",
"text": "public void setIsSelfService (boolean IsSelfService)\n{\nset_Value (\"IsSelfService\", new Boolean(IsSelfService));\n}",
"title": ""
},
{
"docid": "69898fa95452a488e512f1d2f1a39f8a",
"score": "0.58563167",
"text": "public void setSecondArrival(Double p) {\r\n\tsecondArrival= new BooleanSource(p);\r\n}",
"title": ""
},
{
"docid": "9a8da931aeba24262ffeb734c58a7c67",
"score": "0.5837392",
"text": "boolean hasFuelPressure();",
"title": ""
},
{
"docid": "685dda19cbfff66a0a482e49f0a44c8f",
"score": "0.5824346",
"text": "public void setOptional(boolean _optional) {\r\n this._optional = _optional;\r\n }",
"title": ""
},
{
"docid": "2c5e3872b7af8a024a0eebe0b71ef730",
"score": "0.5815509",
"text": "public abstract void mo113b(boolean z);",
"title": ""
},
{
"docid": "a54bf22c7ca288947e1bb3548eecc6a3",
"score": "0.57942176",
"text": "public void mo976b(boolean z) {\n }",
"title": ""
},
{
"docid": "3d42e2386f42f0fafa2076134db8a1f5",
"score": "0.5791099",
"text": "public void setFirstArrival(Double p) {\r\n\tfirstArrival=new BooleanSource(p);\r\n}",
"title": ""
},
{
"docid": "a9d12e7b035c2ba1e8e5a7b6113818e5",
"score": "0.578982",
"text": "void mo759a(boolean z);",
"title": ""
},
{
"docid": "bd83d65f89f7cee67106800dfd792f62",
"score": "0.5778149",
"text": "public void setIsMPS (boolean IsMPS)\n{\nset_Value (\"IsMPS\", new Boolean(IsMPS));\n}",
"title": ""
},
{
"docid": "dcc0c71c164738a0d06f966a9e898ad6",
"score": "0.5765013",
"text": "public abstract boolean getDefaultValue();",
"title": ""
},
{
"docid": "6551253652ac6d00bd83d73e1a7c2c91",
"score": "0.5747056",
"text": "public boolean isRequiredMRP() \n{\nObject oo = get_Value(\"IsRequiredMRP\");\nif (oo != null) \n{\n if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();\n return \"Y\".equals(oo);\n}\nreturn false;\n}",
"title": ""
},
{
"docid": "477c75a77294e9fabc28dc8d4d9f9adf",
"score": "0.57159483",
"text": "public void setIsConfidentialInfo (boolean IsConfidentialInfo)\n{\nset_Value (\"IsConfidentialInfo\", new Boolean(IsConfidentialInfo));\n}",
"title": ""
},
{
"docid": "a7c77015203e4526565be2a664ee2ced",
"score": "0.5710713",
"text": "boolean isSetLow();",
"title": ""
},
{
"docid": "cf9d5baf05ce2838b97f48760333d23e",
"score": "0.5702331",
"text": "public void setIsCreatePlan (boolean IsCreatePlan)\n{\nset_Value (\"IsCreatePlan\", new Boolean(IsCreatePlan));\n}",
"title": ""
},
{
"docid": "f577edebe4e76c2cea1182aad9a28af1",
"score": "0.5677872",
"text": "public boolean hasFuelFlow() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"title": ""
},
{
"docid": "48308b020ade44a0ec4d485b90164ef0",
"score": "0.56648284",
"text": "public void setIsDefault (boolean IsDefault)\n{\nset_Value (\"IsDefault\", new Boolean(IsDefault));\n}",
"title": ""
},
{
"docid": "56673e2491ae58c2d19ab234c3a957dc",
"score": "0.5660848",
"text": "public void setGoal(boolean bool) {\r\n isGoal = bool;\r\n }",
"title": ""
},
{
"docid": "5717a060cd3b5cc886bff75a9f7f6afe",
"score": "0.5652617",
"text": "public static void main(String[] args) {\n\n boolean isRecording = false;\n System.out.println(!isRecording);\n\n// String action;\n// boolean isGreen=false;\n// action=(isGreen) ? \"Can drive\" : \"Cannot Drive\";\n// System.out.println(action);\n\n System.out.println( !(7>5) );\n\n int x=10;\n System.out.println( !(x>10) );\n\n\n }",
"title": ""
},
{
"docid": "8bfd57598845147590e17f78d8478ccf",
"score": "0.5647658",
"text": "void mo30210b(boolean z);",
"title": ""
},
{
"docid": "500d6d168f6f5bee10f069071c5a37e0",
"score": "0.5633356",
"text": "public boolean hasFuelFlow() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"title": ""
},
{
"docid": "10ada583a16f8490b62e2be4015b5c02",
"score": "0.5628822",
"text": "public boolean isSetting() { return getHA() < PI;}",
"title": ""
},
{
"docid": "1833ba229fdccd8dd4e66f600c8ef759",
"score": "0.5619743",
"text": "void mo803b(boolean z);",
"title": ""
},
{
"docid": "8ef4531c85e8adefc1e810da120e50cd",
"score": "0.5618575",
"text": "public int getPoliceForce()\n {\n return policeForce;\n }",
"title": ""
},
{
"docid": "0ab5de1d2ea6ebbf9ec1a096e632d471",
"score": "0.5613001",
"text": "void mo27337nF(boolean z);",
"title": ""
},
{
"docid": "ec3463c936c5b7bab08ef66632bcc6e5",
"score": "0.5609883",
"text": "boolean hasFuel();",
"title": ""
},
{
"docid": "30fc605395931bca42f780003c3b836c",
"score": "0.56090194",
"text": "public abstract boolean booleanValue();",
"title": ""
},
{
"docid": "34df759a3f916217b092a39329b49013",
"score": "0.56017834",
"text": "void mo72194a(boolean z);",
"title": ""
},
{
"docid": "ac9cf89f9bd3b442f67774872078621b",
"score": "0.5596956",
"text": "void mo65570a(boolean z);",
"title": ""
},
{
"docid": "5b66e0126f5010dd6e3638818a0a370c",
"score": "0.55820894",
"text": "@Override\n\tpublic void setAllowEstSw(Bool paramBool) {\n\n\t}",
"title": ""
},
{
"docid": "d2fdfc3a278914c13fa4f9cfc5aceff2",
"score": "0.5579852",
"text": "final boolean hasFlowers(){\n return false;\n }",
"title": ""
},
{
"docid": "ba1ce9f528a171100937638e369cdb08",
"score": "0.5569568",
"text": "public abstract boolean getValue();",
"title": ""
},
{
"docid": "931a139ea98308ca2988c0f6cacc5ee0",
"score": "0.5564014",
"text": "private boolean getLimitSwitchValue() {\n return limitSwitch.get();\n }",
"title": ""
},
{
"docid": "0d78d69af0b2d2faa2197fd7b3f7ad5b",
"score": "0.5561788",
"text": "@Override\n public boolean hasBoolValue() {\n return kindCase_ == 5;\n }",
"title": ""
},
{
"docid": "0e85232e8e058363c646b9a6c5180c4d",
"score": "0.5561282",
"text": "public abstract void setMandatory(boolean mandatory);",
"title": ""
},
{
"docid": "d7bca7fca0a65405645bb43bc31b5ddb",
"score": "0.5558575",
"text": "bool testWater (Furniture f) {\n\n }",
"title": ""
},
{
"docid": "f9df210d75e93f4f33c76a404709a4a0",
"score": "0.5558102",
"text": "public abstract void setRTS(boolean value);",
"title": ""
},
{
"docid": "bb37ca90c40e25b572c3493f3a0410f9",
"score": "0.55483097",
"text": "void mo85810h(boolean z);",
"title": ""
},
{
"docid": "f7076bc3b3316336deefc9806f169136",
"score": "0.5548174",
"text": "void mo136b(boolean z);",
"title": ""
},
{
"docid": "f664f679a49f1c10e57ad008743ff5d1",
"score": "0.5542342",
"text": "public boolean getflag(){return this.suspensionFlag;}",
"title": ""
},
{
"docid": "eb204fee0d9d531397ce78a7993956bc",
"score": "0.55373573",
"text": "public void setForce(boolean value) {\n this.force = value;\n }",
"title": ""
},
{
"docid": "8596673e7faa33bf0965237ad1d71f69",
"score": "0.55334795",
"text": "public void setFixed() {\n this.isWorking = true;\n this.eta = Duration.ZERO;\n this.condition = \"\";\n this.cost = 0.0;\n }",
"title": ""
},
{
"docid": "734b927f751837c9b1976c308fae7ad3",
"score": "0.55327874",
"text": "public void firePiston(boolean position){\n ballLoadPiston.set((position ? Relay.Value.kForward :Relay.Value.kReverse));\n }",
"title": ""
},
{
"docid": "929e04078846d165dd9517f84344ee66",
"score": "0.55292827",
"text": "boolean isSetPressure();",
"title": ""
},
{
"docid": "c6048a68998ea25a75b3aca1240bb4fd",
"score": "0.55250794",
"text": "void setConditional(boolean conditional);",
"title": ""
},
{
"docid": "d9e0ceacb3643a5fce38004ee3a2e868",
"score": "0.5521793",
"text": "public void setRequired(boolean required) {\r\n this.required = required;\r\n }",
"title": ""
},
{
"docid": "89c60bf6510e582d4cec8d01327b194a",
"score": "0.5520317",
"text": "@Test\n public void testGetOuterReinforcedBool()\n {\n System.out.println(\"getOuterReinforcedBool\");\n PipeTypeFive instance = new PipeTypeFive(1,39, PipeGrade.FOUR, false);\n boolean expResult = true;\n boolean result = instance.getOuterReinforcedBool();\n assertEquals(expResult, result);\n\n }",
"title": ""
},
{
"docid": "626ca0247b7937d91c40540f4a22a83f",
"score": "0.55186445",
"text": "public void setSpecial(boolean state){\r\n \r\n }",
"title": ""
},
{
"docid": "76f3590b800a16f7762c7ee3299687f6",
"score": "0.5514648",
"text": "public void setIsFixed(boolean fixed);",
"title": ""
},
{
"docid": "862f676516efdf6ef4631d16c0c2ccec",
"score": "0.5514459",
"text": "void mo28383eg(boolean z);",
"title": ""
},
{
"docid": "05662f1a589ba54c627a901fef131df7",
"score": "0.55141777",
"text": "public boolean isFinite();",
"title": ""
},
{
"docid": "ecf17ca44534831480279584bfb1b9f0",
"score": "0.549966",
"text": "public void setRequired(boolean required) {\r\n this.required = required;\r\n }",
"title": ""
},
{
"docid": "ddb1b610ea1fe381c7344a14bc39f781",
"score": "0.549802",
"text": "public void setLivingCondition(int value){\n\t\tlivingCondition = value;\n\t}",
"title": ""
},
{
"docid": "23c9c4a5a6e8357356556dd444689a24",
"score": "0.5491092",
"text": "public void setTemp(boolean temp)\r\n {\r\n this.temp = temp;\r\n }",
"title": ""
},
{
"docid": "a416a0c262217a09b015db37046fd13c",
"score": "0.548571",
"text": "void mo30205a(boolean z);",
"title": ""
},
{
"docid": "5fa0023d45e8a86c92960a2e19fc1403",
"score": "0.5484903",
"text": "void mo85811i(boolean z);",
"title": ""
},
{
"docid": "2e74f7b0a3d6fec0f00426990953cb62",
"score": "0.5481489",
"text": "boolean getValue();",
"title": ""
},
{
"docid": "2e74f7b0a3d6fec0f00426990953cb62",
"score": "0.5481489",
"text": "boolean getValue();",
"title": ""
},
{
"docid": "eea02d96bc83e754799d5e5ee7e914bf",
"score": "0.5481479",
"text": "public boolean get_boolean(){\n return local_boolean;\n }",
"title": ""
},
{
"docid": "7987423d674cbca9a6bfefb714e22ec3",
"score": "0.5481083",
"text": "void mo28384ff(boolean z);",
"title": ""
},
{
"docid": "1dfd507d4ab3aca7fab9382f5e3e1d7b",
"score": "0.5478751",
"text": "public void setActivo(boolean activo)\r\n/* 95: */ {\r\n/* 96:110 */ this.activo = activo;\r\n/* 97: */ }",
"title": ""
},
{
"docid": "9d31ca4b020bc704ef2698b809434081",
"score": "0.5478491",
"text": "public void setActual(boolean value) {\n this.actual = value;\n }",
"title": ""
},
{
"docid": "a1c05dd239892f26954683753a1c0cf5",
"score": "0.5475113",
"text": "public void setRequired(boolean r) {\n required = r;\n }",
"title": ""
},
{
"docid": "3481b13a977e0fc87a203b6ecf55d4f2",
"score": "0.54743254",
"text": "void set_trigger_value(boolean value);",
"title": ""
},
{
"docid": "55b5060c9fd677a40df30d7025b9177d",
"score": "0.54697233",
"text": "public void setRequired(boolean required) {\n this.required = required;\n }",
"title": ""
},
{
"docid": "035f78a194957b99fcfe030889d04491",
"score": "0.5467925",
"text": "public void setFake (boolean t) { isFake = t; }",
"title": ""
},
{
"docid": "5c709427ed347d624079851313609867",
"score": "0.5461721",
"text": "public boolean hasFlow() {\n return fieldSetFlags()[2];\n }",
"title": ""
},
{
"docid": "ad3e7c7ac1df5f4d54857bd3ef1d0fbc",
"score": "0.5458766",
"text": "public void setAlcance(java.lang.Boolean alcance);",
"title": ""
},
{
"docid": "2a7760a7783b4c25db9dc6a63a4710b2",
"score": "0.54587185",
"text": "@Test\n public void airConditionIsOntest() {\n nomsoaircondition.setisOn(true);\n assertTrue(nomsoaircondition.getisOn());\n }",
"title": ""
},
{
"docid": "bbe355151bfaca2f91a1143cc6dc7bd1",
"score": "0.5455337",
"text": "boolean getInductionAirTemperature();",
"title": ""
},
{
"docid": "beea2177046eda56dd808da3acba6915",
"score": "0.5454921",
"text": "public void setEducation(boolean education){this.hasEducation=education; }",
"title": ""
},
{
"docid": "1b710014c95b756db0342ccf0824f20b",
"score": "0.5452224",
"text": "void mo798a(boolean z);",
"title": ""
},
{
"docid": "17c85d8687bc5f7fbc5ef2050b8fc83d",
"score": "0.5450407",
"text": "public Boolean value() \n { \n if(state != null){\n if(state.equals(true)){\n return state;\n }\n if(state.equals(false)){\n return state;\n }\n }\n \n return state;\n }",
"title": ""
},
{
"docid": "d59c4ebded449aa500eb18f81a23057a",
"score": "0.54411083",
"text": "boolean hasFuelFlowUnits();",
"title": ""
},
{
"docid": "11e2be603113665b51ddfecd1ad2e9c8",
"score": "0.54382",
"text": "boolean getPromotion(){\n return promotion;\n }",
"title": ""
},
{
"docid": "7a94f781fed0c733f3cb077b0875ff46",
"score": "0.5437896",
"text": "private void If(boolean b) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "1ff894489222361ceec587b39df07208",
"score": "0.5437234",
"text": "boolean takesValue();",
"title": ""
},
{
"docid": "17989f804241532c617e4ed6ddc895dc",
"score": "0.54367465",
"text": "public boolean getBool() { return realVal; }",
"title": ""
},
{
"docid": "7801f89f0d81dabaa5cbda57e0197e81",
"score": "0.54306227",
"text": "public void m3796b(boolean z) {\n }",
"title": ""
},
{
"docid": "738e663ba9ded511e1a2e91ffe211ea9",
"score": "0.5422966",
"text": "public boolean isAutoChangeRequest() \n{\nObject oo = get_Value(\"IsAutoChangeRequest\");\nif (oo != null) \n{\n if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();\n return \"Y\".equals(oo);\n}\nreturn false;\n}",
"title": ""
},
{
"docid": "d0a23c3cb883fa42dfee2b2ae158211a",
"score": "0.54183805",
"text": "org.hl7.fhir.Boolean getActive();",
"title": ""
},
{
"docid": "77c47568625e1e8172482d82524060e7",
"score": "0.5417394",
"text": "public void setOptics(boolean value) {\n this.optics = value;\n }",
"title": ""
},
{
"docid": "e8931b1412feb0323df1daeda490b061",
"score": "0.54170805",
"text": "public double get_false_northing()\n {\n return _params.false_northing;\n }",
"title": ""
}
] |
7763c8950883533ca9ba5821b2af98c8 | Constructs a double formula representing the given double. | [
{
"docid": "c4100ca70e1de337c6b456be5c4f2166",
"score": "0.74679565",
"text": "public DoubleFormula(double d) {\r\n this.val = d;\r\n }",
"title": ""
}
] | [
{
"docid": "d4b5999b2b2270451ee0ad0e18dbf096",
"score": "0.63102835",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue) {\n\t\treturn createDoubleRule(defaultValue, (server, rule) -> {\n\t\t});\n\t}",
"title": ""
},
{
"docid": "13ebd91e472fc5ced3c82b75e47afb49",
"score": "0.61899406",
"text": "public DoubleLiteralExpression(double value) {\r\n\t\t\tsuper(Type.DOUBLE_TYPE);\r\n\t\t\tthis.value = value;\r\n\t\t}",
"title": ""
},
{
"docid": "ccdbfea38086294616723a597e98b72f",
"score": "0.6154179",
"text": "DecimalDoubleLiteral createDecimalDoubleLiteral();",
"title": ""
},
{
"docid": "bad6120403a51b7b0294e44fe6ccfc7f",
"score": "0.6097467",
"text": "double getDouble13();",
"title": ""
},
{
"docid": "429de6f0d2bb70af9d79d00fca6b10d6",
"score": "0.6088854",
"text": "public DoubleLiteralExpression(String lexeme) {\r\n\t\t\tsuper(Type.DOUBLE_TYPE);\r\n\t\t\tthis.value = Double.parseDouble(lexeme);\r\n\t\t}",
"title": ""
},
{
"docid": "9680e7183e50b22e6851bb23d5eff8a0",
"score": "0.60310864",
"text": "double getDouble11();",
"title": ""
},
{
"docid": "fdf17ee823f7cf565c5f6afa3c32dbdd",
"score": "0.60135156",
"text": "double getDouble9();",
"title": ""
},
{
"docid": "bb2091d691f3e4859007d41c978ff825",
"score": "0.59831357",
"text": "double getDouble2();",
"title": ""
},
{
"docid": "038c2fb8b0d5a981555766d710fc4ae6",
"score": "0.59803593",
"text": "double getDouble12();",
"title": ""
},
{
"docid": "fae057d7c918d5c0d19edfc691f6a731",
"score": "0.5953621",
"text": "public static LateInit.Double lateDouble(String name) {\n return new Double(name);\n }",
"title": ""
},
{
"docid": "ed50b34091e24a329ec6d5c0cf6c12a9",
"score": "0.59395987",
"text": "public static double getDouble() {\n\t\treturn getDouble(\"\", ALLOW_FILL, 0, 100);\r\n\t}",
"title": ""
},
{
"docid": "c82a429dd1a94804ffddd440c33df627",
"score": "0.5938729",
"text": "abstract public double doubleValue();",
"title": ""
},
{
"docid": "bca4b30906550dd5e2b514de56b90b4f",
"score": "0.5883431",
"text": "public abstract double doubleValue();",
"title": ""
},
{
"docid": "bca4b30906550dd5e2b514de56b90b4f",
"score": "0.5883431",
"text": "public abstract double doubleValue();",
"title": ""
},
{
"docid": "69d4ac9062f546cc1f45f0d8d033ec8d",
"score": "0.58830225",
"text": "public static JFormField<Double> doubleField()\n\t{\n\t\treturn doubleField(0.0, false, null); \n\t}",
"title": ""
},
{
"docid": "c1374fd18f5c6530f7717e0edb4835b0",
"score": "0.5873941",
"text": "double getDouble17();",
"title": ""
},
{
"docid": "bba82dd1a4d92df1abebff95e665dc96",
"score": "0.58714354",
"text": "double getDouble20();",
"title": ""
},
{
"docid": "0c1f1e448d432636d21ce51307a34e93",
"score": "0.5852655",
"text": "double getDouble();",
"title": ""
},
{
"docid": "0c1f1e448d432636d21ce51307a34e93",
"score": "0.5852655",
"text": "double getDouble();",
"title": ""
},
{
"docid": "67ef329a31869950add2b71a88fc7837",
"score": "0.58441764",
"text": "double getDouble18();",
"title": ""
},
{
"docid": "27abc6e389bd18ea0734fff5dffb784a",
"score": "0.58159083",
"text": "double getDouble19();",
"title": ""
},
{
"docid": "230024428df86038906ae334b6cf0205",
"score": "0.57970476",
"text": "public abstract double getDouble();",
"title": ""
},
{
"docid": "a0e2a61c01577070ea3ea06f64e9b08f",
"score": "0.5768495",
"text": "@Override\n public BaseTypedValue<?> visitDoubleAtom(DoubleAtomContext ctx)\n {\n\treturn new DoubleValue(Double.valueOf(ctx.getText()));\n }",
"title": ""
},
{
"docid": "0eb16deb41b242c1652dce35b5d1e6f6",
"score": "0.57483906",
"text": "double getDouble4();",
"title": ""
},
{
"docid": "ab8d74f7277ebe716a46d1c9e5d368cb",
"score": "0.5747864",
"text": "double getDouble10();",
"title": ""
},
{
"docid": "724dd13cce9d336cf4160cab344d8110",
"score": "0.5735235",
"text": "public OtpErlangDouble(double d) {\n this.d = d;\n }",
"title": ""
},
{
"docid": "5a10e8ca15f2ab4285ce0600d3469cb9",
"score": "0.5723684",
"text": "double getDouble14();",
"title": ""
},
{
"docid": "d0ac6e25fc97550928f0e31730fce056",
"score": "0.57236",
"text": "double dampen(double input);",
"title": ""
},
{
"docid": "d1d4496e6f0acfb7af3084dfc46e6391",
"score": "0.5705913",
"text": "double getDouble3();",
"title": ""
},
{
"docid": "d4ec9b327e8b4b9f7bd85ec2cebd2f2d",
"score": "0.57018304",
"text": "public double getDoubleValue();",
"title": ""
},
{
"docid": "7983ecd522d4179466ff038657d8f03d",
"score": "0.56961435",
"text": "double getDouble1();",
"title": ""
},
{
"docid": "d46d80ee893ebb29826272139aae6fbd",
"score": "0.5689213",
"text": "public static Program doubleDeclaration(){\n\t\tString prog = loadExample(\"m1\"+File.separator+\"error_double_decl.prog\");\n\n\t\tint expectedExitcode = -1;\n\t\tString expectedOutput = \"\";\n\t\tReportType[] reportTypes = {ReportType.DOUBLE_DECLARATION};\n\t\treturn new Program(prog, expectedExitcode, expectedOutput, reportTypes) ;\n\t}",
"title": ""
},
{
"docid": "0b19d7723078a53aa968c027f6c74e18",
"score": "0.56806606",
"text": "public static double eval(final String str) {\n return new Object() {\n int pos = -1, ch;\n\n void nextChar() {\n ch = (++pos < str.length()) ? str.charAt(pos) : -1;\n }\n\n boolean eat(int charToEat) {\n while (ch == ' ') nextChar();\n if (ch == charToEat) {\n nextChar();\n return true;\n }\n return false;\n }\n\n double parse() {\n nextChar();\n double x = parseExpression();\n if (pos < str.length()) throw new RuntimeException(\"Unexpected: \" + (char) ch);\n return x;\n }\n\n // Grammar:\n // expression = term | expression `+` term | expression `-` term\n // term = factor | term `*` factor | term `/` factor\n // factor = `+` factor | `-` factor | `(` expression `)`\n // | number | functionName factor | factor `^` factor\n\n double parseExpression() {\n double x = parseTerm();\n for (; ; ) {\n if (eat('+')) x += parseTerm(); // addition\n else if (eat('-')) x -= parseTerm(); // subtraction\n else return x;\n }\n }\n\n double parseTerm() {\n double x = parseFactor();\n for (; ; ) {\n if (eat('*')) x *= parseFactor(); // multiplication\n else if (eat('/')) x /= parseFactor(); // division\n else return x;\n }\n }\n\n double parseFactor() {\n if (eat('+')) return parseFactor(); // unary plus\n if (eat('-')) return -parseFactor(); // unary minus\n\n double x;\n int startPos = this.pos;\n if (eat('(')) { // parentheses\n x = parseExpression();\n eat(')');\n } else if ((ch >= '0' && ch <= '9') || ch == '.') { // numbers\n while ((ch >= '0' && ch <= '9') || ch == '.') nextChar();\n x = Double.parseDouble(str.substring(startPos, this.pos));\n } else if (ch >= 'a' && ch <= 'z') { // functions\n while (ch >= 'a' && ch <= 'z') nextChar();\n String func = str.substring(startPos, this.pos);\n x = parseFactor();\n if (func.equals(\"sqrt\")) x = Math.sqrt(x);\n else if (func.equals(\"sin\")) x = Math.sin(Math.toRadians(x));\n else if (func.equals(\"cos\")) x = Math.cos(Math.toRadians(x));\n else if (func.equals(\"tan\")) x = Math.tan(Math.toRadians(x));\n else throw new RuntimeException(\"Unknown function: \" + func);\n } else {\n throw new RuntimeException(\"Unexpected: \" + (char) ch);\n }\n\n if (eat('^')) x = Math.pow(x, parseFactor()); // exponentiation\n\n return x;\n }\n }.parse();\n }",
"title": ""
},
{
"docid": "4fe42959c65fb5cc1ad8bfb56c6cb6ad",
"score": "0.5669858",
"text": "double getDouble6();",
"title": ""
},
{
"docid": "fe29eaf414c005b97b9b628af7b4d8e4",
"score": "0.5647977",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue, double minimumValue) {\n\t\treturn createDoubleRule(defaultValue, minimumValue, Double.MAX_VALUE, (server, rule) -> {\n\t\t});\n\t}",
"title": ""
},
{
"docid": "4b88c9565bef5ef9f86990086c3f0cfc",
"score": "0.56390053",
"text": "@Override\n\tpublic double getDoubleValue() {\n\t\tString formula = fullCellText().substring(2, fullCellText().length() - 2);\n\t\t//organizes in array formula operators and operands in order of appearance based on spaces\n\t\tString[] formulaDiv = formula.split(\" \");\n\t\t//resulting double value\n\t\tdouble result;\n\t\t//runs conditions to detect if sum and avg should be applied to particular formula\n\t\tif (formulaDiv[0].toLowerCase().equals(\"sum\")) {\n\t\t\treturn sum(formulaDiv[1]);\n\t\t} else if (formulaDiv[0].toLowerCase().equals(\"avg\")) {\n\t\t\treturn avg(formulaDiv[1]);\n\t\t}\n\t\t//condition to detect if first element of formulaDiv array is Spreadsheet identifier or number value\n\t\tif (formulaDiv[0].length() < 4 && formulaDiv[0].substring(0,1).matches(\"[a-zA-Z]+\")) {\n\t\t\t//creates new SpreadsheetLocation object with first element of formulaDiv as parameter\n\t\t\tSpreadsheetLocation gridLoc = new SpreadsheetLocation(formulaDiv[0]);\n\t\t\t//calls Cell value from Spreadsheet spread and casts into RealCell, then converts into double using getDoubleValue()\n\t\t\tresult = ((RealCell) spread.getCell(gridLoc)).getDoubleValue();\n\t\t} else {\n\t\t\t//converts first element of formulaDiv, which is String, into double\n\t\t\tresult = Double.parseDouble(formulaDiv[0]);\n\t\t}\n\t\t//for loop starting from 3rd element, which is second operand, operating with preceding operand into result, increments by two to next operand which is every two elements\n\t\tfor (int i = 2; i < formulaDiv.length; i+=2) {\n\t\t\t//condition checking if operand is cell identifier\n\t\t\tif (formulaDiv[i].length() < 4 && formulaDiv[i].substring(0,1).matches(\"[a-zA-Z]+\")) {\n\t\t\t\tSpreadsheetLocation gridLoc = new SpreadsheetLocation(formulaDiv[i]);\n\t\t\t\t//conditions for arithmetic operators\n\t\t\t\tif (formulaDiv[i - 1].equals(\"+\")) {\n\t\t\t\t\tresult += ((RealCell) spread.getCell(gridLoc)).getDoubleValue();\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"-\")) {\n\t\t\t\t\tresult -= ((RealCell) spread.getCell(gridLoc)).getDoubleValue();\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"/\")) {\n\t\t\t\t\tresult /= ((RealCell) spread.getCell(gridLoc)).getDoubleValue();\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"*\")) {\n\t\t\t\t\tresult *= ((RealCell) spread.getCell(gridLoc)).getDoubleValue();\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalArgumentException(\"Please enter a valid operator\");\n\t\t\t\t}\n\t\t\t//condition allowing for operands that aren't cell identifiers, i.e. numbers\n\t\t\t} else {\n\t\t\t\t//conditions for arithmetic operators\n\t\t\t\tif (formulaDiv[i - 1].equals(\"+\")) {\n\t\t\t\t\tresult += Double.parseDouble(formulaDiv[i]);\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"-\")) {\n\t\t\t\t\tresult -= Double.parseDouble(formulaDiv[i]);\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"/\")) {\n\t\t\t\t\tresult /= Double.parseDouble(formulaDiv[i]);\n\t\t\t\t} else if (formulaDiv[i - 1].equals(\"*\")) {\n\t\t\t\t\tresult *= Double.parseDouble(formulaDiv[i]);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalArgumentException(\"Please enter a valid operator\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"title": ""
},
{
"docid": "80b94acbbbe05d9738155b00a02ba46f",
"score": "0.5632654",
"text": "double getDouble7();",
"title": ""
},
{
"docid": "0b51a2b77be24904d40618ee384eed54",
"score": "0.56264853",
"text": "public Builder setDouble1(double value) {\n \n double1_ = value;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "4206ab488a570d1147e32a420443398b",
"score": "0.56114703",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue, BiConsumer<MinecraftServer, DoubleRule> changedCallback) {\n\t\treturn createDoubleRule(defaultValue, Double.MIN_VALUE, Double.MAX_VALUE, changedCallback);\n\t}",
"title": ""
},
{
"docid": "86088b096af6a779c27297ae4f465115",
"score": "0.56078315",
"text": "double evaluateDouble(Coord position) throws IllegalArgumentException;",
"title": ""
},
{
"docid": "be979f10a053be6a8f7eeb872d10bb63",
"score": "0.5588661",
"text": "double getDouble8();",
"title": ""
},
{
"docid": "aebce1e8bb2763bea2a9e6ec40db3a6d",
"score": "0.55692726",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue, double minimumValue, double maximumValue) {\n\t\treturn createDoubleRule(defaultValue, minimumValue, maximumValue, (server, rule) -> {\n\t\t});\n\t}",
"title": ""
},
{
"docid": "a240edefdce26202e2ea4b047babeac3",
"score": "0.5565561",
"text": "public CastAs<ConstraintBuilder> cast(double literal)\n {\n return new CastAsRightHandSide(this, literal);\n }",
"title": ""
},
{
"docid": "7ac83f4b5855b3b85fcd61dbe9f0ff2c",
"score": "0.55506194",
"text": "public final void rule__MobaConstantValue__ValueDoubleAssignment_0_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMoba.g:20550:1: ( ( RULE_DOUBLE ) )\n // InternalMoba.g:20551:2: ( RULE_DOUBLE )\n {\n // InternalMoba.g:20551:2: ( RULE_DOUBLE )\n // InternalMoba.g:20552:3: RULE_DOUBLE\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaConstantValueAccess().getValueDoubleDOUBLETerminalRuleCall_0_2_0()); \n }\n match(input,RULE_DOUBLE,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaConstantValueAccess().getValueDoubleDOUBLETerminalRuleCall_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": "151597fcab769eba9d7cf0887f6cfa45",
"score": "0.5548449",
"text": "public static double makeDouble(String s)\n\t{\n\t\tString stripped = \"\";\n\t\tfor (int i = 0; i < s.length(); i++)\n\t\t\tif (Character.isDigit(s.charAt(i)) || s.charAt(i) == '-' || s. charAt(i) == '.')\n\t\t\t\tstripped += s.charAt(i);\n\t\tif (stripped.equals(\"\"))\n\t\t\treturn 0;\n\t\telse \n\t\t\treturn Double.parseDouble(stripped);\n\t}",
"title": ""
},
{
"docid": "03cccc2a197f0abb78fbde1993c5ce64",
"score": "0.55461013",
"text": "double getDouble15();",
"title": ""
},
{
"docid": "4137e6349330945205caab9e11245e04",
"score": "0.55337477",
"text": "public final double nextDouble(final double outer) {\n long z = (state = state * 0x41C64E6DL + stream);\n z = (z ^ z >>> 23 ^ z >>> 47) * 0xAEF17502108EF2D9L;\n return ((z ^ z >>> 25) & 0x1FFFFFFFFFFFFFL) * 0x1p-53 * outer;\n }",
"title": ""
},
{
"docid": "8809b3fc59f2624311b3bacd50d3c542",
"score": "0.5494617",
"text": "static public double leerDouble(String pregunta){\n System.out.println(pregunta);\n return leerDouble();\n }",
"title": ""
},
{
"docid": "7c72185a389b98c186ac4ebca6e1e62c",
"score": "0.54735154",
"text": "public static JFormField<Double> doubleField(double initialValue)\n\t{\n\t\treturn doubleField(initialValue, false, null); \n\t}",
"title": ""
},
{
"docid": "5af910cbc02a6110e90419173381a168",
"score": "0.5466758",
"text": "public double get_double() throws TypeMismatch, InvalidValue {\n/* 791 */ ServantObject servantObject = _servant_preinvoke(\"get_double\", _opsClass);\n/* 792 */ DynEnumOperations dynEnumOperations = (DynEnumOperations)servantObject.servant;\n/* */ \n/* */ try {\n/* 795 */ return dynEnumOperations.get_double();\n/* */ } finally {\n/* 797 */ _servant_postinvoke(servantObject);\n/* */ } \n/* */ }",
"title": ""
},
{
"docid": "0b372152d5127717aadece9c7ae56f52",
"score": "0.54662186",
"text": "public ElementConstantDouble(double value) {\n this.value = value;\n }",
"title": ""
},
{
"docid": "c3f2da2cc6bf308534fc2c88f019f14a",
"score": "0.54594433",
"text": "public ElementConstantDouble(double value) {\r\n\t\tthis.value = value;\r\n\t}",
"title": ""
},
{
"docid": "b5da3af97f128ebac22140592bb1b786",
"score": "0.5457109",
"text": "public double nextDouble() {\n long l = ((long)(next(26)) << 27) + next(27);\n return l / (double)(1L << 53);\n }",
"title": ""
},
{
"docid": "d1c834b321e99d7fbce473c13964bd21",
"score": "0.54437506",
"text": "protected static void solveAsDouble(List expressionLiterals) {\n\n double result = 0;\n String operator = null;\n\n for (Object item : expressionLiterals) {\n if (item instanceof String)\n operator = (String) item;\n else if (operator == null)\n result = (double) item; // Item might be double (checked in 'solve->canReturnDouble'), so hard double even if no Decimal\n else {\n result = evaluate(result, operator, (double) item);\n operator = null;\n }\n }\n\n System.out.println(String.format(\"%s = %f\", inputExpression, result));\n\n }",
"title": ""
},
{
"docid": "40b6ef974b890f1e9ce02403679b66f9",
"score": "0.544189",
"text": "@Override\r\n\tpublic double doubleValue() {\r\n\t\treturn re();\r\n\t}",
"title": ""
},
{
"docid": "d321d2cc72da38fd6acd5f9f7db250b7",
"score": "0.5434527",
"text": "public final void rule__MobaRESTAttribute__ValueDoubleAssignment_4_1_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMoba.g:21705:1: ( ( RULE_DOUBLE ) )\n // InternalMoba.g:21706:2: ( RULE_DOUBLE )\n {\n // InternalMoba.g:21706:2: ( RULE_DOUBLE )\n // InternalMoba.g:21707:3: RULE_DOUBLE\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaRESTAttributeAccess().getValueDoubleDOUBLETerminalRuleCall_4_1_2_0()); \n }\n match(input,RULE_DOUBLE,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaRESTAttributeAccess().getValueDoubleDOUBLETerminalRuleCall_4_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": "e372bc8507bca1c6b237d189edd03816",
"score": "0.54281384",
"text": "protected static double s_double(String DOUBLE) {\n double sdouble = 0;\n try {\n sdouble = Double.parseDouble(DOUBLE);\n } catch (final Exception e) {\n return 0;\n }\n return sdouble;\n }",
"title": ""
},
{
"docid": "6bc16d5ad0272cbc30dfb90dd89098b5",
"score": "0.5419712",
"text": "public final void mDOUBLE() throws RecognitionException {\n try {\n int _type = DOUBLE;\n // /home/bigben/Desktop/Java.g:79:8: ( 'double' )\n // /home/bigben/Desktop/Java.g:79:10: 'double'\n {\n match(\"double\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }",
"title": ""
},
{
"docid": "34f5d1faa7dc906bd84d46cad1008a25",
"score": "0.5416557",
"text": "public ElementConstantDouble(double value) {\n\t\tthis.value = value;\n\t}",
"title": ""
},
{
"docid": "f5b016cb1ed14d216c6af71bb7956fd9",
"score": "0.5403546",
"text": "double getDouble5();",
"title": ""
},
{
"docid": "d1ddb4057d63d54bfa39093a9d1bcfd1",
"score": "0.53975636",
"text": "public double parseDouble(String s) { return Double.parseDouble(s); }",
"title": ""
},
{
"docid": "f7d58911e6c9e4c8184e0567b75c21d9",
"score": "0.5394513",
"text": "public MutableDouble() {\n\n\t}",
"title": ""
},
{
"docid": "c918ede557b09a0f50a6d1a6e3385220",
"score": "0.53872794",
"text": "public RTValue(double d) {\n this(d, RTValueType.DOUBLE);\n }",
"title": ""
},
{
"docid": "e72666b5621d4a16318b80f9f1f63790",
"score": "0.53872526",
"text": "DataDefinitionBuilder addDoubleData(String name, Expression defaultValue);",
"title": ""
},
{
"docid": "0e71e14fb1b648e9cd09245c5fdde4c3",
"score": "0.53828573",
"text": "protected double doubleCOP1(int identifier) {\n return NumericUtils.intsToDouble(valueCOP1(identifier), valueCOP1(identifier + 1));\n }",
"title": ""
},
{
"docid": "c7d6c407b7dfc4e2dcb65bdd9e81a7c0",
"score": "0.5382304",
"text": "public double parseDouble(BytesRef term) {\n\t\t\t\treturn Double.parseDouble(term.utf8ToString());\n\t\t\t}",
"title": ""
},
{
"docid": "1cee9e80f65898ae5ea75e80857d75c2",
"score": "0.5371735",
"text": "public double toDouble(){\r\n return this.numerator / (double)this.denominator;\r\n }",
"title": ""
},
{
"docid": "d0cf91de743ad5f34998ba71574b592a",
"score": "0.5368852",
"text": "public Builder setDouble2(double value) {\n \n double2_ = value;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "429998efacc0b31be6d73c35d56f278c",
"score": "0.5367933",
"text": "public double getADouble( ) ;",
"title": ""
},
{
"docid": "6623fc55e83673ba1089982acbc9f962",
"score": "0.5359076",
"text": "public final double nextDouble() {\n long z = (state = state * 0x41C64E6DL + stream);\n z = (z ^ z >>> 23 ^ z >>> 47) * 0xAEF17502108EF2D9L;\n return ((z ^ z >>> 25) & 0x1FFFFFFFFFFFFFL) * 0x1p-53;\n\n }",
"title": ""
},
{
"docid": "7a096365dcb85ce9d35930bb71689fdd",
"score": "0.5358632",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue, double minimumValue, double maximumValue, BiConsumer<MinecraftServer, DoubleRule> changedCallback) {\n\t\treturn new GameRules.Type<>(\n\t\t\t\t() -> DoubleArgumentType.doubleArg(minimumValue, maximumValue),\n\t\t\t\ttype -> new DoubleRule(type, defaultValue, minimumValue, maximumValue),\n\t\t\t\tchangedCallback,\n\t\t\t\tGameRuleFactory::visitDouble\n\t\t);\n\t}",
"title": ""
},
{
"docid": "623de04b29cb6839ecdec31dc2e746b4",
"score": "0.5355018",
"text": "public double getDouble(String prompt) {\n System.out.print(prompt);\n return getDouble();\n }",
"title": ""
},
{
"docid": "4d3471703be23840c02b6f23c8ef50e6",
"score": "0.5354903",
"text": "double eval(double x);",
"title": ""
},
{
"docid": "97dff0f0c62a1a56cd1086640b74ffc9",
"score": "0.53536665",
"text": "public static double convertToDbl(Double source) {\n return convertToDbl(source, 0);\n }",
"title": ""
},
{
"docid": "9874275593dcae120a55afb67bb4ae76",
"score": "0.5353376",
"text": "public com.google.protobuf.DoubleValue.Builder getDoubleFieldBuilder(\n int index) {\n return getDoubleFieldFieldBuilder().getBuilder(index);\n }",
"title": ""
},
{
"docid": "7ed3ad1a7f9d67723eeabd55097c1fdb",
"score": "0.532934",
"text": "double getDouble16();",
"title": ""
},
{
"docid": "7e9b765bcc4e2973990f20512c84b0f4",
"score": "0.5327744",
"text": "public Builder setDouble9(double value) {\n \n double9_ = value;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "bb8d6459c272f89c25078cddf570cea8",
"score": "0.5322249",
"text": "public static JFormField<Double> doubleField(double initialValue, JValueChangeListener<Double> changeListener)\n\t{\n\t\treturn doubleField(initialValue, false, changeListener); \n\t}",
"title": ""
},
{
"docid": "75c30a3742cc555c15a358a093fe36cc",
"score": "0.5286974",
"text": "public double getDouble(int index) {\n if (index < 0 || index >= getLength())\n throw new IllegalArgumentException(\"index\");\n return Double.parseDouble(basicArgs[index]);\n }",
"title": ""
},
{
"docid": "5331c7241f57d05ec7643fbf561b7869",
"score": "0.52847856",
"text": "public final double doubleValue() { // SubLNumber\n Errors.error(this + \" is not of type: NUMBER.\");\n return Double.MIN_VALUE;\n }",
"title": ""
},
{
"docid": "4d8de52602c3b5fa7e06c08088282db3",
"score": "0.52835006",
"text": "public static double getDouble(double from, double to) {\n\t\treturn getDouble(\"\", ALLOW_FILL, from, to);\r\n\t}",
"title": ""
},
{
"docid": "12ed7c1622e1e263fb5e3c91144c4f05",
"score": "0.5274584",
"text": "@Override\n public Double apply(Double aDouble) {\n return intercept + slope * aDouble;\n }",
"title": ""
},
{
"docid": "655a0e21111ae6a01a1a167c490027eb",
"score": "0.5260041",
"text": "public static double doublee(double value)\n\t{\n\t\t return new BigDecimal(value).setScale(2, RoundingMode.HALF_UP).doubleValue();\n\t}",
"title": ""
},
{
"docid": "da26784b97898e6ef37fa702995b68b4",
"score": "0.5258092",
"text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue, double minimumValue, BiConsumer<MinecraftServer, DoubleRule> changedCallback) {\n\t\treturn createDoubleRule(defaultValue, minimumValue, Double.MAX_VALUE, changedCallback);\n\t}",
"title": ""
},
{
"docid": "0b9a9bf5d3ffe17cce1d956be72acfbc",
"score": "0.52571833",
"text": "private Object executeDouble(Double first, Object second, BiFunction<Double, Double, Double> functDouble) {\r\n\t\tif ((second instanceof Integer) || (second instanceof Double) || second == null) {\r\n\t\t\tsecond = second == null ? Double.valueOf(0) : second;\r\n\t\t\tsecond = second instanceof Integer ? Double.valueOf(((Integer) second).intValue()) : second;\r\n\t\t\treturn functDouble.apply(first, ((Double) second).doubleValue());\r\n\t\t} else if (second instanceof String) {\r\n\t\t\ttry {\r\n\t\t\t\treturn functDouble.apply(first, Double.parseDouble((String) second));\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tthrow new RuntimeException(\"String wasn't in number format\");\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "2fe45699d76ed39810459048eb051e63",
"score": "0.5253098",
"text": "public CmdLineArgs def(double doubleValue) {\n mOpt.setType(T_DOUBLE);\n mOpt.mDefaultValue = doubleValue;\n return this;\n }",
"title": ""
},
{
"docid": "06bd049ec751b771101e2f9ab7b894dd",
"score": "0.52505475",
"text": "public static JFormField<Double> doubleField(JValueChangeListener<Double> changeListener)\n\t{\n\t\treturn doubleField(0.0, false, changeListener); \n\t}",
"title": ""
},
{
"docid": "1cdb85143dbe8c63ea103a936fba30ef",
"score": "0.5242647",
"text": "public double nextDouble() {\n\t\tx = (x*a + c) % m;\n\t\t//System.out.printf(\"%d; \", x);\n\t\tdouble nextDouble = (double)x / m;\n\t\t//System.out.printf(\"nextDouble: %f\\n\", nextDouble);\n\t\t\n\t\t\n\t\treturn nextDouble;\n\t}",
"title": ""
},
{
"docid": "8018e909e585ba67ad7ca907c9efbfe0",
"score": "0.52293426",
"text": "public DoubleFitnessValue(Double number) {\r\n this.number = number;\r\n }",
"title": ""
},
{
"docid": "34d48e78aa0a05eeffc99f6eb73bffa9",
"score": "0.5224263",
"text": "public double getDouble() {\n Object v = getValue();\n // getDouble should work for integers too\n if (v instanceof Integer) return getInt();\n if (!(v instanceof Double)) return defaultDouble;\n return (Double)v;\n }",
"title": ""
},
{
"docid": "87ed511001ec7449b54ed9ca69dd59c7",
"score": "0.52141845",
"text": "public void retDouble(double d) {\n if (hasMatcher()) {\n this.dx = d;\n this.ax = 0;\n this.state = State.WHNF;\n } else {\n this.s[++this.sp] = new Double(d);\n } \n }",
"title": ""
},
{
"docid": "4fcd0fae93bfa8fa356474b9fc063907",
"score": "0.52063704",
"text": "HexDoubleLiteral createHexDoubleLiteral();",
"title": ""
},
{
"docid": "b300f6151cec0ffb1c68943749259ba8",
"score": "0.5205446",
"text": "public static double getDoubleInput(String prompt) {\n\t\twhile(true) {\n\t\t\ttry {\n\t\t\t\treturn Double.valueOf(getStringInput(prompt));\n\t\t\t} catch(NumberFormatException e) {\n\t\t\t\tprintln(\"Input must be a double. Try again.\");\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0cf2f18277bf1aa91f0917cecbc5ebc6",
"score": "0.5203755",
"text": "public Builder setDoubleField(\n int index, com.google.protobuf.DoubleValue value) {\n if (doubleFieldBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureDoubleFieldIsMutable();\n doubleField_.set(index, value);\n onChanged();\n } else {\n doubleFieldBuilder_.setMessage(index, value);\n }\n return this;\n }",
"title": ""
},
{
"docid": "2efd567982655e0cd40ee086a59a9cfb",
"score": "0.5201965",
"text": "private double toDouble(String s, double dflt) {\n if (s == null) {\n return dflt;\n }\n return new Double(s).doubleValue();\n }",
"title": ""
},
{
"docid": "fb605957486faf3e96d193a92c277bf6",
"score": "0.5197838",
"text": "public double doubleValue()\n/* */ {\n/* 1058 */ int i = Math.min(this.nDigits, 16);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1063 */ int j = this.digits[0] - '0';\n/* 1064 */ int k = Math.min(i, 9);\n/* 1065 */ for (int m = 1; m < k; m++) {\n/* 1066 */ j = j * 10 + this.digits[m] - 48;\n/* */ }\n/* 1068 */ long l1 = j;\n/* 1069 */ for (int n = k; n < i; n++) {\n/* 1070 */ l1 = l1 * 10L + (this.digits[n] - '0');\n/* */ }\n/* 1072 */ double d1 = l1;\n/* 1073 */ int i1 = this.decExponent - i;\n/* */ \n/* */ \n/* */ \n/* */ double d4;\n/* */ \n/* */ \n/* 1080 */ if (this.nDigits <= 15)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1091 */ if ((i1 == 0) || (d1 == 0.0D)) {\n/* 1092 */ return this.isNegative ? -d1 : d1;\n/* */ }\n/* 1094 */ if (i1 >= 0) {\n/* 1095 */ if (i1 <= MAX_SMALL_TEN)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 1100 */ double d2 = d1 * SMALL_10_POW[i1];\n/* 1101 */ return this.isNegative ? -d2 : d2;\n/* */ }\n/* 1103 */ int i2 = 15 - i;\n/* 1104 */ if (i1 <= MAX_SMALL_TEN + i2)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1111 */ d1 *= SMALL_10_POW[i2];\n/* 1112 */ d4 = d1 * SMALL_10_POW[(i1 - i2)];\n/* 1113 */ return this.isNegative ? -d4 : d4;\n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 1119 */ else if (i1 >= -MAX_SMALL_TEN)\n/* */ {\n/* */ \n/* */ \n/* 1123 */ double d3 = d1 / SMALL_10_POW[(-i1)];\n/* 1124 */ return this.isNegative ? -d3 : d3;\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ int i3;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1140 */ if (i1 > 0) {\n/* 1141 */ if (this.decExponent > 309)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 1146 */ return this.isNegative ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY;\n/* */ }\n/* 1148 */ if ((i1 & 0xF) != 0) {\n/* 1149 */ d1 *= SMALL_10_POW[(i1 & 0xF)];\n/* */ }\n/* 1151 */ if (i1 >>= 4 != 0)\n/* */ {\n/* 1153 */ for (i3 = 0; i1 > 1; i1 >>= 1) {\n/* 1154 */ if ((i1 & 0x1) != 0) {\n/* 1155 */ d1 *= BIG_10_POW[i3];\n/* */ }\n/* 1153 */ i3++;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1164 */ d4 = d1 * BIG_10_POW[i3];\n/* 1165 */ if (Double.isInfinite(d4))\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1178 */ d4 = d1 / 2.0D;\n/* 1179 */ d4 *= BIG_10_POW[i3];\n/* 1180 */ if (Double.isInfinite(d4)) {\n/* 1181 */ return this.isNegative ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY;\n/* */ }\n/* 1183 */ d4 = Double.MAX_VALUE;\n/* */ }\n/* 1185 */ d1 = d4;\n/* */ }\n/* 1187 */ } else if (i1 < 0) {\n/* 1188 */ i1 = -i1;\n/* 1189 */ if (this.decExponent < 65211)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 1194 */ return this.isNegative ? -0.0D : 0.0D;\n/* */ }\n/* 1196 */ if ((i1 & 0xF) != 0) {\n/* 1197 */ d1 /= SMALL_10_POW[(i1 & 0xF)];\n/* */ }\n/* 1199 */ if (i1 >>= 4 != 0)\n/* */ {\n/* 1201 */ for (i3 = 0; i1 > 1; i1 >>= 1) {\n/* 1202 */ if ((i1 & 0x1) != 0) {\n/* 1203 */ d1 *= TINY_10_POW[i3];\n/* */ }\n/* 1201 */ i3++;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1212 */ d4 = d1 * TINY_10_POW[i3];\n/* 1213 */ if (d4 == 0.0D)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1226 */ d4 = d1 * 2.0D;\n/* 1227 */ d4 *= TINY_10_POW[i3];\n/* 1228 */ if (d4 == 0.0D) {\n/* 1229 */ return this.isNegative ? -0.0D : 0.0D;\n/* */ }\n/* 1231 */ d4 = Double.MIN_VALUE;\n/* */ }\n/* 1233 */ d1 = d4;\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1244 */ if (this.nDigits > 1100) {\n/* 1245 */ this.nDigits = 1101;\n/* 1246 */ this.digits['ь'] = '1';\n/* */ }\n/* 1248 */ FDBigInteger localFDBigInteger1 = new FDBigInteger(l1, this.digits, i, this.nDigits);\n/* 1249 */ i1 = this.decExponent - this.nDigits;\n/* */ \n/* 1251 */ long l2 = Double.doubleToRawLongBits(d1);\n/* 1252 */ int i4 = Math.max(0, -i1);\n/* 1253 */ int i5 = Math.max(0, i1);\n/* 1254 */ localFDBigInteger1 = localFDBigInteger1.multByPow52(i5, 0);\n/* 1255 */ localFDBigInteger1.makeImmutable();\n/* 1256 */ FDBigInteger localFDBigInteger2 = null;\n/* 1257 */ int i6 = 0;\n/* */ \n/* */ \n/* */ for (;;)\n/* */ {\n/* 1262 */ int i7 = (int)(l2 >>> 52);\n/* 1263 */ long l3 = l2 & 0xFFFFFFFFFFFFF;\n/* 1264 */ if (i7 > 0) {\n/* 1265 */ l3 |= 0x10000000000000;\n/* */ } else {\n/* 1267 */ assert (l3 != 0L) : l3;\n/* 1268 */ i8 = Long.numberOfLeadingZeros(l3);\n/* 1269 */ i9 = i8 - 11;\n/* 1270 */ l3 <<= i9;\n/* 1271 */ i7 = 1 - i9;\n/* */ }\n/* 1273 */ i7 -= 1023;\n/* 1274 */ int i8 = Long.numberOfTrailingZeros(l3);\n/* 1275 */ l3 >>>= i8;\n/* 1276 */ int i9 = i7 - 52 + i8;\n/* 1277 */ int i10 = 53 - i8;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1288 */ int i11 = i4;\n/* 1289 */ int i12 = i5;\n/* */ \n/* 1291 */ if (i9 >= 0) {\n/* 1292 */ i11 += i9;\n/* */ } else {\n/* 1294 */ i12 -= i9;\n/* */ }\n/* 1296 */ int i13 = i11;\n/* */ \n/* */ int i14;\n/* */ \n/* 1300 */ if (i7 <= 64513)\n/* */ {\n/* */ \n/* */ \n/* 1304 */ i14 = i7 + i8 + 1023;\n/* */ } else {\n/* 1306 */ i14 = 1 + i8;\n/* */ }\n/* 1308 */ i11 += i14;\n/* 1309 */ i12 += i14;\n/* */ \n/* */ \n/* 1312 */ int i15 = Math.min(i11, Math.min(i12, i13));\n/* 1313 */ i11 -= i15;\n/* 1314 */ i12 -= i15;\n/* 1315 */ i13 -= i15;\n/* */ \n/* 1317 */ FDBigInteger localFDBigInteger3 = FDBigInteger.valueOfMulPow52(l3, i4, i11);\n/* 1318 */ if ((localFDBigInteger2 == null) || (i6 != i12)) {\n/* 1319 */ localFDBigInteger2 = localFDBigInteger1.leftShift(i12);\n/* 1320 */ i6 = i12;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ int i17;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ FDBigInteger localFDBigInteger4;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1339 */ if ((i16 = localFDBigInteger3.cmp(localFDBigInteger2)) > 0) {\n/* 1340 */ i17 = 1;\n/* 1341 */ localFDBigInteger4 = localFDBigInteger3.leftInplaceSub(localFDBigInteger2);\n/* 1342 */ if ((i10 == 1) && (i9 > 64514))\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 1347 */ i13--;\n/* 1348 */ if (i13 < 0)\n/* */ {\n/* */ \n/* 1351 */ i13 = 0;\n/* 1352 */ localFDBigInteger4 = localFDBigInteger4.leftShift(1);\n/* */ }\n/* */ }\n/* 1355 */ } else { if (i16 >= 0) break;\n/* 1356 */ i17 = 0;\n/* 1357 */ localFDBigInteger4 = localFDBigInteger2.rightInplaceSub(localFDBigInteger3);\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1363 */ int i16 = localFDBigInteger4.cmpPow52(i4, i13);\n/* 1364 */ if (i16 >= 0)\n/* */ {\n/* */ \n/* */ \n/* 1368 */ if (i16 == 0)\n/* */ {\n/* */ \n/* 1371 */ if ((l2 & 1L) != 0L) {\n/* 1372 */ l2 += (i17 != 0 ? -1L : 1L);\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ \n/* 1380 */ l2 += (i17 != 0 ? -1L : 1L);\n/* 1381 */ if (l2 != 0L) { if (l2 == 9218868437227405312L) {\n/* */ break;\n/* */ }\n/* */ }\n/* */ }\n/* */ }\n/* */ }\n/* 1388 */ if (this.isNegative) {\n/* 1389 */ l2 |= 0x8000000000000000;\n/* */ }\n/* 1391 */ return Double.longBitsToDouble(l2);\n/* */ }",
"title": ""
},
{
"docid": "a1a923cd6f40fba49ef9099e7f0c7a6e",
"score": "0.5191424",
"text": "com.google.protobuf.DoubleValue getDoubleField();",
"title": ""
},
{
"docid": "6fa9e461200dbe75863ab43cd00a73dd",
"score": "0.5187798",
"text": "MethodEmitter load(final double d) {\n debug(\"load double\", d);\n pushType(Type.NUMBER.ldc(method, d));\n return this;\n }",
"title": ""
},
{
"docid": "9c13cd352575c43879ebb3a1d5a4286b",
"score": "0.51863873",
"text": "public final StencilParser.doubleNum_return doubleNum() throws RecognitionException {\n StencilParser.doubleNum_return retval = new StencilParser.doubleNum_return();\n retval.start = input.LT(1);\n\n Object root_0 = null;\n\n Token d2=null;\n Token d=null;\n Token n=null;\n Token p=null;\n Token char_literal226=null;\n Token char_literal227=null;\n Token char_literal228=null;\n Token char_literal229=null;\n\n Object d2_tree=null;\n Object d_tree=null;\n Object n_tree=null;\n Object p_tree=null;\n Object char_literal226_tree=null;\n Object char_literal227_tree=null;\n Object char_literal228_tree=null;\n Object char_literal229_tree=null;\n RewriteRuleTokenStream stream_94=new RewriteRuleTokenStream(adaptor,\"token 94\");\n RewriteRuleTokenStream stream_DIGITS=new RewriteRuleTokenStream(adaptor,\"token DIGITS\");\n RewriteRuleTokenStream stream_95=new RewriteRuleTokenStream(adaptor,\"token 95\");\n RewriteRuleTokenStream stream_93=new RewriteRuleTokenStream(adaptor,\"token 93\");\n\n try {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:463:3: ( '.' d2= DIGITS -> ^( NUMBER[\\\"0.\\\" + $d2.text] ) | d= DIGITS '.' d2= DIGITS -> ^( NUMBER[$d.text + \\\".\\\" + $d2.text] ) | (n= '-' | p= '+' ) d= DIGITS '.' d2= DIGITS -> ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + $d.text + \\\".\\\" + $d2.text] ) | (n= '-' | p= '+' ) '.' d2= DIGITS -> ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + \\\".\\\" + $d2.text] ) )\n int alt64=4;\n switch ( input.LA(1) ) {\n case 95:\n {\n alt64=1;\n }\n break;\n case DIGITS:\n {\n alt64=2;\n }\n break;\n case 93:\n {\n int LA64_3 = input.LA(2);\n\n if ( (LA64_3==95) ) {\n alt64=4;\n }\n else if ( (LA64_3==DIGITS) ) {\n alt64=3;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 64, 3, input);\n\n throw nvae;\n }\n }\n break;\n case 94:\n {\n int LA64_4 = input.LA(2);\n\n if ( (LA64_4==DIGITS) ) {\n alt64=3;\n }\n else if ( (LA64_4==95) ) {\n alt64=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 64, 4, input);\n\n throw nvae;\n }\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 64, 0, input);\n\n throw nvae;\n }\n\n switch (alt64) {\n case 1 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:463:5: '.' d2= DIGITS\n {\n char_literal226=(Token)match(input,95,FOLLOW_95_in_doubleNum3706); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_95.add(char_literal226);\n\n d2=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3710); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d2);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 463:19: -> ^( NUMBER[\\\"0.\\\" + $d2.text] )\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:463:22: ^( NUMBER[\\\"0.\\\" + $d2.text] )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(NUMBER, \"0.\" + (d2!=null?d2.getText():null)), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 2 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:464:5: d= DIGITS '.' d2= DIGITS\n {\n d=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3725); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d);\n\n char_literal227=(Token)match(input,95,FOLLOW_95_in_doubleNum3727); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_95.add(char_literal227);\n\n d2=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3731); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d2);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 464:28: -> ^( NUMBER[$d.text + \\\".\\\" + $d2.text] )\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:464:31: ^( NUMBER[$d.text + \\\".\\\" + $d2.text] )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(NUMBER, (d!=null?d.getText():null) + \".\" + (d2!=null?d2.getText():null)), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 3 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:465:5: (n= '-' | p= '+' ) d= DIGITS '.' d2= DIGITS\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:465:5: (n= '-' | p= '+' )\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==93) ) {\n alt62=1;\n }\n else if ( (LA62_0==94) ) {\n alt62=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 62, 0, input);\n\n throw nvae;\n }\n switch (alt62) {\n case 1 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:465:6: n= '-'\n {\n n=(Token)match(input,93,FOLLOW_93_in_doubleNum3747); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_93.add(n);\n\n\n }\n break;\n case 2 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:465:14: p= '+'\n {\n p=(Token)match(input,94,FOLLOW_94_in_doubleNum3753); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_94.add(p);\n\n\n }\n break;\n\n }\n\n d=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3758); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d);\n\n char_literal228=(Token)match(input,95,FOLLOW_95_in_doubleNum3760); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_95.add(char_literal228);\n\n d2=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3764); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d2);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 465:44: -> ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + $d.text + \\\".\\\" + $d2.text] )\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:465:47: ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + $d.text + \\\".\\\" + $d2.text] )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(NUMBER, p!=null?\"+\":\"-\" + (d!=null?d.getText():null) + \".\" + (d2!=null?d2.getText():null)), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 4 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:466:5: (n= '-' | p= '+' ) '.' d2= DIGITS\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:466:5: (n= '-' | p= '+' )\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==93) ) {\n alt63=1;\n }\n else if ( (LA63_0==94) ) {\n alt63=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 63, 0, input);\n\n throw nvae;\n }\n switch (alt63) {\n case 1 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:466:6: n= '-'\n {\n n=(Token)match(input,93,FOLLOW_93_in_doubleNum3780); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_93.add(n);\n\n\n }\n break;\n case 2 :\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:466:14: p= '+'\n {\n p=(Token)match(input,94,FOLLOW_94_in_doubleNum3786); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_94.add(p);\n\n\n }\n break;\n\n }\n\n char_literal229=(Token)match(input,95,FOLLOW_95_in_doubleNum3789); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_95.add(char_literal229);\n\n d2=(Token)match(input,DIGITS,FOLLOW_DIGITS_in_doubleNum3793); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DIGITS.add(d2);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 466:35: -> ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + \\\".\\\" + $d2.text] )\n {\n // /Volumes/scratch/jcottam/workspace/Stencil/Stencil/Core/stencil/parser/Stencil.g:466:38: ^( NUMBER[p!=null?\\\"+\\\":\\\"-\\\" + \\\".\\\" + $d2.text] )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(NUMBER, p!=null?\"+\":\"-\" + \".\" + (d2!=null?d2.getText():null)), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n\n }\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n }\n return retval;\n }",
"title": ""
},
{
"docid": "ea4eb8ace28b66a365677e631efea1a3",
"score": "0.5179745",
"text": "public final void mDOUBLE() throws RecognitionException {\n try {\n int _type = DOUBLE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /home/ubuntu/spork/src/org/apache/pig/parser/QueryLexer.g:198:8: ( 'DOUBLE' )\n // /home/ubuntu/spork/src/org/apache/pig/parser/QueryLexer.g:198:10: 'DOUBLE'\n {\n match(\"DOUBLE\"); if (state.failed) return ;\n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }",
"title": ""
}
] |
49956c21640c107a8e441085fefd1fea | This method adds a Filter Attribute to the Search object. Filter Attributes map to the WHERE clause of the SQL statement. | [
{
"docid": "d4294226b062b065edf01d2ade62c58d",
"score": "0.6042351",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, String value, boolean useSynonyms, boolean isQuestion) throws OculusException;",
"title": ""
}
] | [
{
"docid": "f12cdc85db43c40a53f6e5f44f1a263a",
"score": "0.6411496",
"text": "public void addFilter(Filter filter) {\n\t\tSystem.out.println(\"Adding filter: \" + filter.getTabName() + \":\" + filter.getColName() \n\t\t\t\t+ \" indexed:\" + filter.isArray() + \" dim:\" + filter.isDimLookup() \n\t\t\t\t+ \" operator:\" + filter.getOperator() + \" value: \" + filter.getValue());\n\t\taddToTable(filter, QueryMetadataTables.FILTER_TABLE);\n\t}",
"title": ""
},
{
"docid": "7df260c5a57a1f5143eaf6d743580ec0",
"score": "0.63442385",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, String value, boolean syn) throws OculusException;",
"title": ""
},
{
"docid": "7a709e60976c33840d297596d1ee6184",
"score": "0.63336706",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, String value, boolean syn, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "1cd8db053935853e647a8a755f318cc3",
"score": "0.6299008",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, Timestamp value) throws OculusException;",
"title": ""
},
{
"docid": "6554eef0a7fa5fca2347e3e8f9db0359",
"score": "0.62853086",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, Timestamp value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "89a51fe832afa50c41c59f734ff62e72",
"score": "0.62397397",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, String value) throws OculusException;",
"title": ""
},
{
"docid": "1df5c2f0acf28544ddae298b2a909515",
"score": "0.6231547",
"text": "public Search setFilter(java.lang.String filter) {\n this.filter = filter;\n return this;\n }",
"title": ""
},
{
"docid": "1df5c2f0acf28544ddae298b2a909515",
"score": "0.6231547",
"text": "public Search setFilter(java.lang.String filter) {\n this.filter = filter;\n return this;\n }",
"title": ""
},
{
"docid": "e41d0dd2c9240caf41122db98be0b91d",
"score": "0.62081474",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, Timestamp value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "9fa7bd219e506fe9083a3c8f5e775114",
"score": "0.61505425",
"text": "public void setSearchFilter(String searchFilter) {\n\tthis.searchFilter = searchFilter;\n }",
"title": ""
},
{
"docid": "3ba164960b7167ea077de06df7db3a10",
"score": "0.613832",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, Timestamp value) throws OculusException;",
"title": ""
},
{
"docid": "c51c39a9556edfdac452c1ed5ea2d1f1",
"score": "0.6123682",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, long value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "35666b84948d4d080eb2d3f924cb0fe7",
"score": "0.61209863",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, long[] value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "e3eb7d2650d8c2d672e029707e7716dc",
"score": "0.6102306",
"text": "public void addFilter(LogFilter aFilter)\n {\n filterAdaptor.addFilter(aFilter);\n }",
"title": ""
},
{
"docid": "188caacf205dfb2ae4e5783c9d169fd5",
"score": "0.609846",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, String value) throws OculusException;",
"title": ""
},
{
"docid": "ed478744cb2abd2f31e9db53f6e3275b",
"score": "0.6088461",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, long value) throws OculusException;",
"title": ""
},
{
"docid": "ef5dcfb729ac015ccf37db52c453fcbf",
"score": "0.60754853",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, long[] value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "0ab31d2400fa07f18e1865d6c325dbec",
"score": "0.6064049",
"text": "public void addWhereClause(A_WhereClause wc)\t\t\n\t{\n\t\tthis.whereList.add(wc);\n\t}",
"title": ""
},
{
"docid": "e4a42566b8027afa65e2e2e967861312",
"score": "0.605912",
"text": "@Override\r\n\tpublic void addFilter(Filter filter) {\r\n\t\tString referenceName = AntenatalPropertyEnum.valueOf(filter.getName())\r\n\t\t\t\t.getReferenceName();\r\n\t\tString pathReferenceName = AntenatalPropertyEnum.valueOf(filter.getName())\r\n\t\t\t\t.getPathReferenceName();\r\n\t\tString fieldName = AntenatalPropertyEnum.valueOf(filter.getName())\r\n\t\t\t\t.getFieldName();\r\n\r\n\r\n\t\tif (referenceName != null && !referenceName.equals(\"\")) {\r\n\t\t\tif (referenceMap.get(referenceName) == null) {\r\n\t\t\t\treferenceMap.put(referenceName, getJoin(referenceName));\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (pathReferenceName != null && !pathReferenceName.equals(\"\")) {\r\n\t\t\tif (pathReferenceMap.get(pathReferenceName) == null) {\r\n\t\t\t\tpathReferenceMap.put(pathReferenceName,\r\n\t\t\t\t\t\treferenceMap.get(referenceName).get(pathReferenceName));\r\n\t\t\t}\r\n\t\t}\r\n\t\tCriteria criteria = filter.getPredicate(this,\r\n\t\t\t\tAntenatalPropertyEnum.valueOf(filter.getName()));\r\n\t\tif (criteria.getPredicate() != null) {\r\n\t\t\tSystem.out.println(\"CRITERIA \"+criteria.getPredicate());\r\n\t\t\tpredicates.add(criteria.getPredicate());\r\n \t\t\t\r\n\t\t}\r\n\r\n\t\tif (criteria.getExpression() != null) {\r\n\t\t\tSystem.out.println(\"EXP \"+criteria.getExpression());\r\n\t\t\texpressions.add(criteria.getExpression());\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n//\t\tCriteria criteria1 = new IsNullFilter().getPredicate(this,\r\n//\t\t\t\tAntenatalPropertyEnum.valueOf(\"caseId\"));\r\n//\t\t\r\n//\t\tPredicate predicate = criteria1.getPredicate();\r\n//\t\tExpression<Boolean> expression = predicate.as(Boolean.class);\r\n//\t\t\r\n//\t\tthis.getCriteriaBuilder().and(predicate ,expression);\r\n//\t\t\t\r\n//\t\t}\r\n//\t\r\n//\t\t //Path<Object> pathObj = referenceMap.get(referenceName).get(fieldName);\r\n//\t\t //predicates.add(pathObj.isNull());\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "3612deeb90340a3c1fb308d4b9600532",
"score": "0.6041599",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, long value, boolean isQuestion) throws OculusException;",
"title": ""
},
{
"docid": "878efa48b70515a612479112abaaaeab",
"score": "0.6031349",
"text": "public ISearch addFilter(BoolOper bo, long[] assocs, long attr, IOperator op, long[] value) throws OculusException;",
"title": ""
},
{
"docid": "a64f028e0f85e29a46fa71b395d43a07",
"score": "0.59696174",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, String value, boolean useSynonyms) throws OculusException;",
"title": ""
},
{
"docid": "5c2d097d207a01217c977df15299818d",
"score": "0.5913086",
"text": "public void addFilter(DataTypeFilter filter)\n {\n if (!_filters.contains(filter))\n _filters.add(filter);\n }",
"title": ""
},
{
"docid": "32500efc0e43c3b10de41f9379efa64d",
"score": "0.59061414",
"text": "public void addFilter(HTTPRequestFilter filter) {\n\t\trequestFilters.add(filter);\n\t}",
"title": ""
},
{
"docid": "5fa1dcff380da3da4b047a1e40459ede",
"score": "0.59004205",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, long value) throws OculusException;",
"title": ""
},
{
"docid": "e0f1dcb28d429071111bff59246bc676",
"score": "0.58758533",
"text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, long[] value) throws OculusException;",
"title": ""
},
{
"docid": "f6cd8bde5de1363b175ce9571fd197b8",
"score": "0.5867044",
"text": "public void setSearchFilter(String searchFilter) {\n this.searchFilter = (searchFilter != null && searchFilter.length() > 0 ? searchFilter : null);\n }",
"title": ""
},
{
"docid": "1ee043f3a524957d932e81ed08ddc353",
"score": "0.58265525",
"text": "public void setFilter(java.lang.String newFilter) {\n this._filter = newFilter;\n }",
"title": ""
},
{
"docid": "41028fe92f7eca325c770f58badeaf06",
"score": "0.5812395",
"text": "public void addFilter(Filter filter) {\n filters.add(filter);\n }",
"title": ""
},
{
"docid": "f673023b1c33552ac6e2d242b743a196",
"score": "0.5747244",
"text": "public void setFilter(String filter);",
"title": ""
},
{
"docid": "183456601a2bcb1f6144ba060a25ef49",
"score": "0.5732921",
"text": "public SearchQueryBuilder dsmlFilter(FilterBuilder filter) {\n query.getAny().add(filter.build());\n return this;\n }",
"title": ""
},
{
"docid": "ecd26c259460505680f828c795be30d5",
"score": "0.5711764",
"text": "protected String buildLDAPFilter(String attribute, Object searchTerm, boolean exactMatch)\n {\n if (exactMatch)\n {\n return \"(\" + attribute + \"=\" + searchTerm + \")\";\n }\n\n return \"(\" + attribute + \"=\" + applySearchWildCard(searchTerm) + \")\";\n }",
"title": ""
},
{
"docid": "da1f636a416dc42b0e2d73e62991cdd4",
"score": "0.5704732",
"text": "public FilterParams setFilterColumn(Column filterCol) {\n this.filterColumn = filterCol;\n return this;\n }",
"title": ""
},
{
"docid": "08cffd3ce7aee13c810f708439970e7e",
"score": "0.56864893",
"text": "AttributeFilter(Attribute attr) {\r\n this.attr = attr;\r\n if (attr == null) {\r\n throw new IllegalArgumentException(\"Attribute not be null!\");\r\n }\r\n }",
"title": ""
},
{
"docid": "2cc6f9cf775c2f88ee9f9e286e0e95d8",
"score": "0.56679714",
"text": "public void setFilterExpression(String filterExpression) {\r\n this.filterExpression = filterExpression;\r\n }",
"title": ""
},
{
"docid": "cc731879aa4903deabe0fe9405cee3bf",
"score": "0.5661291",
"text": "public void add(String condition) {\n condition = TBL_ALIAS + \".\" + condition.trim();\n String tmpCond = conditions.size() == 0 ? condition : \" AND \" + condition;\n conditions.add(tmpCond);\n }",
"title": ""
},
{
"docid": "67c2611b8e1151e018014ad49584b054",
"score": "0.56382364",
"text": "public List setFilter(java.lang.String filter) {\n this.filter = filter;\n return this;\n }",
"title": ""
},
{
"docid": "6b21293980065cadaac467a9442fb03c",
"score": "0.56241184",
"text": "public Builder filter(final String filter) {\n this.filter = filter;\n return this;\n }",
"title": ""
},
{
"docid": "8c450db841a9c29e6216537bd0e39a07",
"score": "0.55589485",
"text": "void setFilter(Filter filter) {\r\n this.filter = filter;\r\n }",
"title": ""
},
{
"docid": "046f579c3ce50d2109b73342a64cac17",
"score": "0.5541637",
"text": "public void addFilter(String filterStr) {\n\t\t// Get current value\n\t\tif (filter.equals(\".\") || filter.equals(VcfEntry.FILTER_PASS)) filter = \"\"; // Empty?\n\n\t\t// Append new value\n\t\tfilter += (!filter.isEmpty() ? \";\" : \"\") + filterStr; // Add this filter to the not-passed list\n\t}",
"title": ""
},
{
"docid": "952100a877e60522b4211e0db3dde333",
"score": "0.55266297",
"text": "@Override\n\t\t\t\t\tpublic void visit(final ReferenceAttributeType attributeType) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfinal JSONObject original = queryOptions.getFilter();\n\t\t\t\t\t\t\tfinal JSONObject originalWithAddidion = originalWithAddition(original, attribute);\n\t\t\t\t\t\t\tqueryOptionsBuilder.filter(originalWithAddidion);\n\t\t\t\t\t\t} catch (final Exception e) {\n\t\t\t\t\t\t\tlogger.warn(\"error applying guest filter, leaving original one\", e);\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"title": ""
},
{
"docid": "7e0ca6f1f0994b5d2373b64afa102829",
"score": "0.5515032",
"text": "public void addFilter(IMovieUIFilter filter) {\n filter.addPropertyChangeListener(filterChangeListener);\n filters.add(filter);\n }",
"title": ""
},
{
"docid": "cd995967db29281707213f75828bce70",
"score": "0.5510086",
"text": "@Override\n public void setFilter(@NonNull Expression expression) {\n layerFilter = expression;\n layer.setFilter(layerFilter);\n }",
"title": ""
},
{
"docid": "fc20a171d52f65420411095756bdd16b",
"score": "0.5505686",
"text": "public void addWhere(ZExp w) { where_ = w; }",
"title": ""
},
{
"docid": "b14c292ff5f35f3a8929e4657b221404",
"score": "0.5492647",
"text": "public void doAddFilter(){\n\t\tlistLocalidad = this.localidadBO.findUsingTemplate(null, localidadFilter, null);\n\t}",
"title": ""
},
{
"docid": "ff8301f1840b26318437fa309e2c5a76",
"score": "0.54786116",
"text": "public void setFilterCriteria( final String filterQuery ) {\n\n if( StringUtil.isNotEmptyOrNull( filterQuery ) ) {\n RowFilter<Object, Object> rowFilter = null ;\n rowFilter = RowFilter.regexFilter( filterQuery.trim(), NewsSummaryTableModel.COL_TITLE ) ;\n this.sorter.setRowFilter( rowFilter ) ;\n }\n else {\n this.sorter.setRowFilter( null ) ;\n }\n }",
"title": ""
},
{
"docid": "fc30225709e1cbb80a89e53be3177454",
"score": "0.5478375",
"text": "public void setODataSearchTerm(String search) {\n\t\tquery.addFilterQuery(search);\n\t}",
"title": ""
},
{
"docid": "10f36cdccea2e8b026c147767e66870d",
"score": "0.5465881",
"text": "public void setFilterText(String filterText);",
"title": ""
},
{
"docid": "b3bb1bea7f535ed687985c3185ed6305",
"score": "0.54596",
"text": "@objid (\"cb6afa7c-287a-4db2-893c-597998406a37\")\n public ModelWalker<A> withFilter(Predicate<A> aFilter) {\n return new ModelWalker<>(this.from, this.transitions, aFilter, this.addSources);\n }",
"title": ""
},
{
"docid": "9a11b2911c124930400a6e3bc09fbac8",
"score": "0.54328305",
"text": "@Override\r\n public Filter getFilter() {\r\n return new Filter() {\r\n @Override\r\n protected FilterResults performFiltering(CharSequence charSequence) {\r\n String charString = charSequence.toString();\r\n if (charString.isEmpty()) {\r\n movieListFiltered = arrayList;\r\n } else {\r\n ArrayList<Search> filteredList = new ArrayList<>();\r\n for (Search row : arrayList) {\r\n\r\n // Matching with movie title\r\n if (row.Title.toLowerCase().contains(charString.toLowerCase())) {\r\n filteredList.add(row);\r\n }\r\n }\r\n\r\n movieListFiltered = filteredList;\r\n }\r\n\r\n FilterResults filterResults = new FilterResults();\r\n filterResults.values = movieListFiltered;\r\n return filterResults;\r\n }\r\n\r\n @Override\r\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\r\n movieListFiltered = (ArrayList<Search>) filterResults.values;\r\n notifyDataSetChanged();\r\n }\r\n };\r\n }",
"title": ""
},
{
"docid": "47dfd62ca5a8b8eb43cb4ca89a8e8242",
"score": "0.5413873",
"text": "public String getSearchFilter() {\n return searchFilter;\n }",
"title": ""
},
{
"docid": "06602039fa1339312aa2dfbfa16c9e14",
"score": "0.5411203",
"text": "public void setFilter(String filter) {\n\t\tthis.filter = filter;\n\t}",
"title": ""
},
{
"docid": "ba1abda6b5022556aec62f8c9ace9f41",
"score": "0.5402569",
"text": "public void addBusinessFilterToSubject(ViewerFilter filter);",
"title": ""
},
{
"docid": "94f413ce1d4860270c05f5b19464f968",
"score": "0.5365099",
"text": "public void setStaticAttributeFilter(String filter) throws RepositoryException {\n prepareHttpRepoClient().setStaticAttributeFilter(filter);\n }",
"title": ""
},
{
"docid": "d3aea4b636cbfffed606a9c6b4b7bd1c",
"score": "0.5358469",
"text": "Filter createFilter();",
"title": ""
},
{
"docid": "5e5de0df6140b41d6f3e5215714d53b0",
"score": "0.53530437",
"text": "private void configureFilter() {\n\t\t// creates inner filter chain\n\t\tString filters = configuration.getProperty(\"application.filters\");\n\t\tif (filters == null || filters.equalsIgnoreCase(\"default\")) {\n\t\t\tinnerChain = InnerFilterChain.createDefault(configuration);\n\t\t} else {\n\t\t\tinnerChain = new InnerFilterChain(configuration);\n\t\t\tString packageName = getClass().getPackage().getName();\n\n\t\t\tString[] classNames = filters.split(\",\");\n\t\t\tfor (String className : classNames) {\n\t\t\t\tclassName = StringUtils.trim(className);\n\t\t\t\tif (className.startsWith(\".\")) {\n\t\t\t\t\tclassName = packageName + className;\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tClass<?> clazz = Class.forName(className);\n\n\t\t\t\t\tObject filter = clazz.newInstance();\n\t\t\t\t\tif (!(filter instanceof InnerFilter)) {\n\t\t\t\t\t\tthrow new DraugiemException(\n\t\t\t\t\t\t\t\"application.filters must implement inner filter interface\");\n\t\t\t\t\t}\n\t\t\t\t\tlogger.info(\"Adding Filter: {}\", className);\n\n\t\t\t\t\tinnerChain.addInnerFilter((InnerFilter) filter);\n\t\t\t\t} catch (ClassNotFoundException ex) {\n\t\t\t\t\tthrow new DraugiemException(ex);\n\t\t\t\t} catch (InstantiationException ex) {\n\t\t\t\t\tthrow new DraugiemException(ex);\n\t\t\t\t} catch (IllegalAccessException ex) {\n\t\t\t\t\tthrow new DraugiemException(ex);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "37f4103cfe8ffb00a682273ef51b2cde",
"score": "0.53455544",
"text": "public Builder to(Filter filter) {\n\t\t\tfilters.add(filter);\n\t\t\treturn this;\n\t\t}",
"title": ""
},
{
"docid": "833e2e7b63db406dd593a634400de70d",
"score": "0.5335367",
"text": "public void filterTable(String filter) {\n\t\tif (fullBackup.isEmpty() || fullBackup == null) {\n\t\t\tfullBackup.addAll(list);\n\t\t}\n\n\t\t// always clear selected items\n\t\tselectionModel.clear();\n\t\tlist.clear();\n\n\t\tif (filter.equalsIgnoreCase(\"\")) {\n\t\t\tlist.addAll(fullBackup);\n\t\t} else {\n\t\t\tfor (AttributeDefinition attr : fullBackup){\n\t\t\t\t// store facility by filter\n\t\t\t\tif (attr.getFriendlyName().toLowerCase().startsWith(filter.toLowerCase())) {\n\t\t\t\t\tlist.add(attr);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (list.isEmpty() && !filter.isEmpty()) {\n\t\t\tloaderImage.setEmptyResultMessage(\"No attribute definition matching '\"+filter+\"' found.\");\n\t\t} else {\n\t\t\tloaderImage.setEmptyResultMessage(\"No attribute defined in Perun.\");\n\t\t}\n\n\t\tdataProvider.flush();\n\t\tdataProvider.refresh();\n\t\tloaderImage.loadingFinished();\n\n\t}",
"title": ""
},
{
"docid": "95ac86eed49529ac3f1a24399a27ad50",
"score": "0.53240967",
"text": "public void setFilter(Filter<S> filter) {\n this.itemFilter = filter;\n }",
"title": ""
},
{
"docid": "ff83d22eac6c0fa5023609a5b0075405",
"score": "0.5319331",
"text": "public Query setFilters(java.lang.String filters) {\n this.filters = filters;\n return this;\n }",
"title": ""
},
{
"docid": "9188c392b86a5cbf12a27f3def1f1d16",
"score": "0.5316919",
"text": "public void setFilter(String filterText) {\n Objects.requireNonNull(filterText, \"Filter text cannot be null\");\n //filterText = filterText.toLowerCase();\n if (Objects.equals(this.filterText, filterText.trim())) {\n return;\n }\n this.filterText = filterText.trim();\n\n refreshAll();\n }",
"title": ""
},
{
"docid": "536a9fb88f4be32d25af9464a69369a5",
"score": "0.5314726",
"text": "public void flagForFiltering() {\n m_flags |= FILTER_FLAG;\n }",
"title": ""
},
{
"docid": "29a2c56a4a67c17b6303c81ef0886c0e",
"score": "0.53114694",
"text": "private void newFilter(final int where, final String what) {\n\t\tRowFilter<Object, Object> filter = new RowFilter<Object, Object>() {\r\n\t\t\tpublic boolean include(Entry entry) {\r\n\t\t\t\tString population = (String) entry.getValue(where);\r\n\t\t\t\treturn population.toLowerCase().equals(what);\r\n\t\t\t}\r\n\t\t};\r\n\t\tsorter.setRowFilter(filter);\r\n\t}",
"title": ""
},
{
"docid": "0c7678025596951730939e3ee4dded78",
"score": "0.5307675",
"text": "public void setFilterName(java.lang.String value);",
"title": ""
},
{
"docid": "4fae93fdd5ef6e00e5179affe73d2900",
"score": "0.5305705",
"text": "public String createFilter() {\n if(AdfmfJavaUtilities.evaluateELExpression(\"#{pageFlowScope.isFilterApplier}\")==\"Y\"){\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.fOrderNo}\",null);\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.fOrderValue}\",null);\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.fPO}\",null);\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.fStatus}\",null);\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.fAlert}\",null);\r\n AdfmfJavaUtilities.setELValue(\"#{pageFlowScope.isFilterApplier}\",\"N\");\r\n try {\r\n List pnames = new ArrayList();\r\n List params = new ArrayList();\r\n List ptypes = new ArrayList();\r\n pnames.add(\"searchValue\");\r\n params.add(\"\");\r\n ptypes.add(String.class);\r\n AdfmfJavaUtilities.invokeDataControlMethod(\"OrdersService\", null, \"findOrders\", pnames, params, ptypes);\r\n AdfmfJavaUtilities.invokeDataControlMethod(\"AllOrdersService\", null, \"findAllOrders\", pnames, params, ptypes);\r\n } catch (AdfInvocationException e) {\r\n e.getMessage();\r\n }\r\n return null;\r\n }else{\r\n return \"search\"; \r\n }\r\n \r\n }",
"title": ""
},
{
"docid": "dbe208a2f2329f1a08b7218957cae27f",
"score": "0.529543",
"text": "private void Filter(String search_query) {\n DefaultTableModel table_model = (DefaultTableModel)tbl_staff.getModel();\n \n TableRowSorter<DefaultTableModel> table_row = new TableRowSorter<>(table_model);\n tbl_staff.setRowSorter(table_row);\n \n // Filter data based on input character, number, or symbol\n table_row.setRowFilter(RowFilter.regexFilter(search_query));\n }",
"title": ""
},
{
"docid": "ad55fb06ecc8a32df0eaf3df92cd98fc",
"score": "0.5291983",
"text": "private String getSearchFilter(String filterOperation, String attributeValue) {\n\n String searchAttribute = null;\n if (filterOperation.equalsIgnoreCase(SCIMCommonConstants.CO)) {\n searchAttribute =\n SCIMRoleManager.FILTERING_DELIMITER + attributeValue + SCIMRoleManager.FILTERING_DELIMITER;\n } else if (filterOperation.equalsIgnoreCase(SCIMCommonConstants.SW)) {\n searchAttribute = attributeValue + SCIMRoleManager.FILTERING_DELIMITER;\n } else if (filterOperation.equalsIgnoreCase(SCIMCommonConstants.EW)) {\n searchAttribute = SCIMRoleManager.FILTERING_DELIMITER + attributeValue;\n } else if (filterOperation.equalsIgnoreCase(SCIMCommonConstants.EQ)) {\n searchAttribute = attributeValue;\n }\n return searchAttribute;\n }",
"title": ""
},
{
"docid": "e74be778181b920d52cc848cb6a9f7d1",
"score": "0.5287881",
"text": "public String getSearchFilter() {\n\treturn this.searchFilter;\n }",
"title": ""
},
{
"docid": "68b6381f09a7d7c6f20e8b72fc4e6ac1",
"score": "0.5275989",
"text": "@TagAttribute\n @UIComponentTagAttribute(\n type = \"org.apache.myfaces.tobago.model.SuggestFilter\",\n defaultValue = SuggestFilter.CONTAINS,\n defaultCode = \"org.apache.myfaces.tobago.model.SuggestFilter.contains\",\n allowedValues = {\n SuggestFilter.ALL,\n SuggestFilter.PREFIX,\n SuggestFilter.CONTAINS})\n void setFilter(String filter);",
"title": ""
},
{
"docid": "43c9089dd1969ca6d5f3384c47aa1bfc",
"score": "0.5270729",
"text": "public static ItemFilter conditionFilter(Search search) {\r\n\t\tItemFilter itemFilter = new ItemFilter();\r\n\t\titemFilter.setName(ItemFilterType.CONDITION);\r\n\t\titemFilter.getValue().add(Integer.toString(tomaspolacok.bachelor.application.enums.Condition.NEW.getType()));\r\n\t\treturn itemFilter;\r\n\t}",
"title": ""
},
{
"docid": "b6e1377528f2c1fc2d246da4cb7a4e3b",
"score": "0.5248188",
"text": "public void addFilterToSubject(ViewerFilter filter);",
"title": ""
},
{
"docid": "1e842a21d3fa9f8d5e03120a4beb4fbc",
"score": "0.52051437",
"text": "public final native void setFilter(String filter) /*-{\r\n\t\tthis.filter=filter;\r\n\t}-*/;",
"title": ""
},
{
"docid": "ea6a658de15a6d09728bb5d278912153",
"score": "0.5192012",
"text": "public void addFilter(String newFilter) throws XUITypeFormatException\r\n {\r\n if(newFilter == null)\r\n throw new XUITypeFormatException(\"string value cannot be null.\");\r\n else if(!(newFilter.matches(\"[a-zA-Z0-9]{1,4}+\")))\r\n throw new XUITypeFormatException(\"Filter type: > 0 && < 5, using letters a-z, A-Z, 0-9.\");\r\n else\r\n filters.addType(newFilter);\r\n }",
"title": ""
},
{
"docid": "ee9a66d1a8a0fa78512555f22445d82a",
"score": "0.5190718",
"text": "public static Predicate getAttributeSearchColumn(EntityAttribute ea, QEntityAttribute entityAttribute) {\n\n\t\tString attributeFilterValue = ea.getValue().toString();\n\t\tString condition = SearchEntity.convertFromSaveable(ea.getAttributeName());\n\t\tSystem.out.println(ea.getAttributeCode() + \" \" + condition + \" \" + attributeFilterValue);\n\n\t\tString valueString = \"\";\n\t\tif (ea.getValueString() != null) {\n\t\t\tvalueString = ea.getValueString();\n\t\t}\n\t\t// Null check on condition and default to equals valuestring\n\t\tif (condition == null) {\n\t\t\tlog.error(\"SQL condition is NULL, \" + \"EntityAttribute baseEntityCode is:\" + ea.getBaseEntityCode()\n\t\t\t\t\t+ \", attributeCode is: \" + ea.getAttributeCode());\n\t\t\t// LIKE\n\t\t} else if (condition.equals(\"LIKE\")) {\n\t\t\treturn entityAttribute.valueString.like(valueString);\n\t\t\t// NOT LIKE\n\t\t} else if (condition.equals(\"NOT LIKE\")) {\n\t\t\treturn entityAttribute.valueString.notLike(valueString);\n\t\t\t// EQUALS\n\t\t} else if (condition.equals(\"=\")) {\n\t\t\tif (ea.getValueBoolean() != null) {\n\t\t\t\treturn entityAttribute.valueBoolean.eq(ea.getValueBoolean());\n\t\t\t} else if (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.eq(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.eq(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.eq(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.eq(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.eq(ea.getValueDateTime());\n\t\t\t} else {\n\t\t\t\treturn entityAttribute.valueString.eq(valueString);\n\t\t\t}\n\t\t\t// NOT EQUALS\n\t\t} else if (condition.equals(\"!=\")) {\n\t\t\tif (ea.getValueBoolean() != null) {\n\t\t\t\treturn entityAttribute.valueBoolean.ne(ea.getValueBoolean());\n\t\t\t} else if (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.ne(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.ne(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.ne(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.ne(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.ne(ea.getValueDateTime());\n\t\t\t} else {\n\t\t\t\treturn entityAttribute.valueString.ne(valueString);\n\t\t\t}\n\t\t\t// GREATER THAN OR EQUAL TO\n\t\t} else if (condition.equals(\">=\")) {\n\t\t\tif (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.goe(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.goe(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.goe(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.goe(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.goe(ea.getValueDateTime());\n\t\t\t}\n\t\t\t// LESS THAN OR EQUAL TO\n\t\t} else if (condition.equals(\"<=\")) {\n\t\t\tif (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.loe(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.loe(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.loe(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.loe(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.loe(ea.getValueDateTime());\n\t\t\t}\n\t\t\t// GREATER THAN\n\t\t} else if (condition.equals(\">\")) {\n\t\t\tif (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.gt(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.gt(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.gt(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.after(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.after(ea.getValueDateTime());\n\t\t\t}\n\t\t\t// LESS THAN\n\t\t} else if (condition.equals(\"<\")) {\n\t\t\tif (ea.getValueDouble() != null) {\n\t\t\t\treturn entityAttribute.valueDouble.lt(ea.getValueDouble());\n\t\t\t} else if (ea.getValueInteger() != null) {\n\t\t\t\treturn entityAttribute.valueInteger.lt(ea.getValueInteger());\n\t\t\t} else if (ea.getValueLong() != null) {\n\t\t\t\treturn entityAttribute.valueLong.lt(ea.getValueLong());\n\t\t\t} else if (ea.getValueDate() != null) {\n\t\t\t\treturn entityAttribute.valueDate.before(ea.getValueDate());\n\t\t\t} else if (ea.getValueDateTime() != null) {\n\t\t\t\treturn entityAttribute.valueDateTime.before(ea.getValueDateTime());\n\t\t\t}\n\t\t}\n\t\t// Default\n\t\treturn entityAttribute.valueString.eq(valueString);\n\t}",
"title": ""
},
{
"docid": "d5092497958674c55b497d2d11cf3cad",
"score": "0.518988",
"text": "@SuppressWarnings(\"unchecked\")\r\n\tpublic E filter(String attributeName) {\r\n\t\tthis.filterName = attributeName;\r\n\t\treturn (E) this;\r\n\t}",
"title": ""
},
{
"docid": "35c9290b76d533dddfb4c0d897e4ae2d",
"score": "0.5189001",
"text": "public Builder setFilter(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n filter_ = value;\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "dc1cd9aea4d4b794ebfc9bd650ec2766",
"score": "0.518882",
"text": "private void filterAddableAttributes() throws ServiceException {\r\n // Remove already included attributes\r\n for (Attribute a : filter.getAttributes()) {\r\n if (addableAttributes.contains(a)) {\r\n addableAttributes.remove(a);\r\n }\r\n }\r\n \r\n // Remove the added attributes\r\n if (addedAttributes != null) {\r\n for (Attribute a : addedAttributes) {\r\n if (addableAttributes.contains(a)) {\r\n addableAttributes.remove(a);\r\n }\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "279892faac19d47216b7c8e9e72f8c62",
"score": "0.51821923",
"text": "public void setFilterClass(java.lang.String value);",
"title": ""
},
{
"docid": "79c9ed53d893c369a40ff4a435c81d1c",
"score": "0.51779467",
"text": "public Filter addFilter( RuleConfig rule, String filterKey){\n\n Filter filter = activeObjects.create( Filter.class );\n\t filter.setRule(rule);\n\t filter.setKey(filterKey);\n\t filter.save();\n\t log.debug(\"CI Plugin: adding filter to the rule\");\n\n return filter;\n }",
"title": ""
},
{
"docid": "db5e506e40dff26cbd3239c2a09d29ee",
"score": "0.51776797",
"text": "public void filter() {\n RowFilter<ReportTableModel, Object> rf = null;\n if (txtReportSearch.getText().trim().length() > 0) {\n try {\n rf = RowFilter.regexFilter(txtReportSearch.getText());\n } catch (java.util.regex.PatternSyntaxException e) {\n return;\n }\n rowSorter.setRowFilter(rf);\n\n }\n }",
"title": ""
},
{
"docid": "996e4133e40657b5678745fd062ba8e0",
"score": "0.517008",
"text": "String getFilterWQL();",
"title": ""
},
{
"docid": "4c74459492a67d9206f932ec62c61c64",
"score": "0.51527375",
"text": "public synchronized void setFilter(Filter paramFilter) throws SecurityException {\n/* 186 */ checkPermission();\n/* 187 */ this.filter = paramFilter;\n/* */ }",
"title": ""
},
{
"docid": "a16f21c29ac19bc30d8eaa3259a33cbd",
"score": "0.5139583",
"text": "@Test\n\tpublic void testSetSearchFilter() {\n\t\tString searchFilter = test.setSearchFilter(testFilter);\n\t\tassertEquals(\"filter\", searchFilter);\n\t\tassertNotNull(searchFilter);\n\t}",
"title": ""
},
{
"docid": "85d1184b42c266bdd6df69b019dfe84f",
"score": "0.51308876",
"text": "public com.microsoft.schemas.xrm._2011.contracts.FilterExpression addNewFilterExpression()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.microsoft.schemas.xrm._2011.contracts.FilterExpression target = null;\r\n target = (com.microsoft.schemas.xrm._2011.contracts.FilterExpression)get_store().add_element_user(FILTEREXPRESSION$0);\r\n return target;\r\n }\r\n }",
"title": ""
},
{
"docid": "39bdeff957513ea8c0a1a5de1b3f7767",
"score": "0.51267195",
"text": "@Override\r\n public void setFilterDescription(String filterDescription)\r\n {\r\n myFilterDescription = filterDescription;\r\n }",
"title": ""
},
{
"docid": "783b036feef6d0ea661e89c936741bd6",
"score": "0.5121502",
"text": "public void setFilter(int filter);",
"title": ""
},
{
"docid": "d2925ec1387f309957c2e8807e700900",
"score": "0.5114341",
"text": "public String getFilterExpression() {\r\n return filterExpression;\r\n }",
"title": ""
},
{
"docid": "868683c2879513297ebd89095b0614c6",
"score": "0.5111823",
"text": "public MyHandlerFilter(String filtro, String datoFiltrar) {\n this.filtro = filtro;\n this.datoFiltrar = datoFiltrar;\n }",
"title": ""
},
{
"docid": "8d9a7de90ed817acdd604a9fb133f973",
"score": "0.509439",
"text": "public void setFilters(SearchFilter filters) {\n this.filters = filters;\n }",
"title": ""
},
{
"docid": "aea128d027a8aeb2f5b70d05ccf89aca",
"score": "0.50783944",
"text": "public void setFilter(FilterI filter) {\n\n\t}",
"title": ""
},
{
"docid": "c100952740d50a07905175b55f951fd4",
"score": "0.50592643",
"text": "public void addWhere(BuildCapable... expressions) {\n this.where = this.where.append(expressions);\n }",
"title": ""
},
{
"docid": "3b018456e67213ebfde08f4f0d48a412",
"score": "0.50591815",
"text": "public void runWith(CollectableSearchCondition searchCondition) {\r\n\t\tcomponent.setCustomSearchFilter(searchCondition);\r\n\t\trun();\r\n\t}",
"title": ""
},
{
"docid": "52021c3d8d5b2427f22cd95daa8e9e87",
"score": "0.50418794",
"text": "public FilterParams setFilterValue(String filterVal) {\n this.filterValue = filterVal;\n return this;\n }",
"title": ""
},
{
"docid": "1eb2bd847d2bdd54649544b8ddd53a7d",
"score": "0.50402266",
"text": "public void filterApplicationName(String appNameFilter)\n {\n super.filterColumn(APP_NAME_FILTER_ID, appNameFilter);\n }",
"title": ""
},
{
"docid": "9a2df3327dc1fb95a984e529112867c3",
"score": "0.503949",
"text": "@Override\n protected void buildCriteria(DetachedCriteria criteria, Steffect filter) {\n\n }",
"title": ""
},
{
"docid": "f281c210fb1147d4d394eddba0420b26",
"score": "0.5025506",
"text": "Filter getFilter();",
"title": ""
},
{
"docid": "ff153c0cf6f6276027b8f8ad150df6d6",
"score": "0.5025363",
"text": "public void setFilter(Filter<T> filter) {\n mFilter = filter;\n if(mAdapter != null) {\n if(mFilter != null) mAdapter.updateAdapter(applyFilter(mUnfilteredData));\n else mAdapter.updateAdapter(mUnfilteredData);\n }\n }",
"title": ""
},
{
"docid": "757ff6436bf094b129a7a4bc3622d2a9",
"score": "0.5012146",
"text": "FilterEvent(Event event, Filter filter) {\n this.event = event;\n this.filter = filter;\n }",
"title": ""
},
{
"docid": "94ce6ef8a3caa221daa3cd3679589b3b",
"score": "0.50021446",
"text": "public void setFiltered(boolean val);",
"title": ""
},
{
"docid": "a19303b952a6760e542a90e4c3080859",
"score": "0.50021046",
"text": "public T setFilter(String val) throws Exception { \n\t\tsetParameter( PFILTER, val );\t\t\t\t \n\t\treturn type.cast(this); \n\t}",
"title": ""
}
] |
cf5e402d95aafa0c40af1a7f9dbb214e | / Determine operational status of pool READY, if any of the status value is 2 (OK). otherwise NOTREADY | [
{
"docid": "7c646a899ac05e9a4f4f6f734d750c86",
"score": "0.73570967",
"text": "protected String determineOperationalStatus(CIMInstance poolInstance) {\n String operationalStatus = StoragePool.PoolOperationalStatus.NOTREADY.name();\n try {\n UnsignedInteger16[] opStatus = (UnsignedInteger16[]) poolInstance\n .getPropertyValue(OPERATIONAL_STATUS);\n for (UnsignedInteger16 status : opStatus) {\n if (status.compareTo(new UnsignedInteger16(TWO)) == 0) {\n operationalStatus = StoragePool.PoolOperationalStatus.READY\n .name();\n }\n }\n } catch (Exception ex) {\n _logger.error(\"Discovering Pool Operational Status failed : {}-->\",\n getCIMPropertyValue(poolInstance, Constants.INSTANCEID), ex);\n }\n\n return operationalStatus;\n }",
"title": ""
}
] | [
{
"docid": "3e591395abd7ba37db5e3be8f3781344",
"score": "0.6292199",
"text": "com.wql.locks.grpcpool2.HealthCheckResponse.ServingStatus getStatus();",
"title": ""
},
{
"docid": "56d65b9fc9d65239680880e43b10c63f",
"score": "0.6057051",
"text": "@Override\n public int checkStatus(){\n int res = (this.iterator<this.data.size() ? InputOutputController.STATUS_READY : InputOutputController.STATUS_DONE);\n \n return res;\n }",
"title": ""
},
{
"docid": "827d25b6a3b509cbab52966303005813",
"score": "0.58894145",
"text": "public Status getStatus() {\n return status == null ? Status.NOT_AVAILABLE : status;\n }",
"title": ""
},
{
"docid": "5520e9b87350b52fb4c6abf1aaed00fd",
"score": "0.58112204",
"text": "sifnode.oracle.v1.Types.Status getStatus();",
"title": ""
},
{
"docid": "7755239de14565a78abbaff410b0f9e7",
"score": "0.5799087",
"text": "boolean isAvailable();",
"title": ""
},
{
"docid": "2db8e9ed426ccc31e80e44a8806fd42c",
"score": "0.57623667",
"text": "boolean isStatusSupported();",
"title": ""
},
{
"docid": "1768e28a0965dae24e067f8fd1b658d8",
"score": "0.57439685",
"text": "ReadyState getReadyState();",
"title": ""
},
{
"docid": "cc37bafebe2f6f7981b4cc01370cd686",
"score": "0.5739651",
"text": "com.arckal.soul.protos.RespCommandOuterClass.RespCommand.Status getStatus();",
"title": ""
},
{
"docid": "4a69bb834e4f7e2af1a344a6eb540aab",
"score": "0.5718692",
"text": "ru.kodos.almaz2.rpc.commands.EquipmentCommandsClass.StatusInfo getStatus();",
"title": ""
},
{
"docid": "4a69bb834e4f7e2af1a344a6eb540aab",
"score": "0.5718692",
"text": "ru.kodos.almaz2.rpc.commands.EquipmentCommandsClass.StatusInfo getStatus();",
"title": ""
},
{
"docid": "4911982399da819959f813cf9bdea650",
"score": "0.57096803",
"text": "public boolean isStatusAvailable() {\r\n\t\treturn isStatusAvailable;\r\n\t}",
"title": ""
},
{
"docid": "3964e62719763e254d76d41ae83d48b7",
"score": "0.5701665",
"text": "TaskStatus getStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "c55caa15e458b81eaf1769f25d2b8da4",
"score": "0.5642599",
"text": "boolean hasStatus();",
"title": ""
},
{
"docid": "233a2a452f49dbaaaf4c3d1938341a5e",
"score": "0.5632604",
"text": "boolean getStatus();",
"title": ""
},
{
"docid": "43fb0c6564139eb0629c935fd1854a66",
"score": "0.5625896",
"text": "sifnode.oracle.v1.Types.StatusOrBuilder getStatusOrBuilder();",
"title": ""
},
{
"docid": "5742a4e82a4dc015d6250cf024bcb465",
"score": "0.5607962",
"text": "public boolean isAvailable();",
"title": ""
},
{
"docid": "5742a4e82a4dc015d6250cf024bcb465",
"score": "0.5607962",
"text": "public boolean isAvailable();",
"title": ""
},
{
"docid": "c5179126b72605075264b8308b662783",
"score": "0.55827624",
"text": "Status getStatus();",
"title": ""
},
{
"docid": "c5179126b72605075264b8308b662783",
"score": "0.55827624",
"text": "Status getStatus();",
"title": ""
},
{
"docid": "4219163f0ae71b74d8aefb3269465542",
"score": "0.5568205",
"text": "boolean isReady();",
"title": ""
},
{
"docid": "4219163f0ae71b74d8aefb3269465542",
"score": "0.5568205",
"text": "boolean isReady();",
"title": ""
},
{
"docid": "4219163f0ae71b74d8aefb3269465542",
"score": "0.5568205",
"text": "boolean isReady();",
"title": ""
},
{
"docid": "4219163f0ae71b74d8aefb3269465542",
"score": "0.5568205",
"text": "boolean isReady();",
"title": ""
},
{
"docid": "0fde234e2fd87e4580a1a3379cc5d575",
"score": "0.55170196",
"text": "public abstract boolean isAvailable();",
"title": ""
},
{
"docid": "0fde234e2fd87e4580a1a3379cc5d575",
"score": "0.55170196",
"text": "public abstract boolean isAvailable();",
"title": ""
},
{
"docid": "0fde234e2fd87e4580a1a3379cc5d575",
"score": "0.55170196",
"text": "public abstract boolean isAvailable();",
"title": ""
},
{
"docid": "3138cb81537f7e40fb189d2a0ad8266b",
"score": "0.55120265",
"text": "protected abstract byte[] getOperatingStatus();",
"title": ""
},
{
"docid": "73115a017ea323d66314480f7fd26b1a",
"score": "0.5484069",
"text": "public abstract boolean isReady();",
"title": ""
},
{
"docid": "f80058627e82c238ccda2e29b0c2acf8",
"score": "0.5484041",
"text": "public boolean isUp() {\n\n String url = \"http://localhost:\" + SPARK_PORT + \"/ping\";\n\n String responseString = HttpUtils.get(url);\n\n return responseString != null && responseString.startsWith(\"pong\");\n }",
"title": ""
},
{
"docid": "42b35a417d87ed4d2a0decceb1eefffd",
"score": "0.5467152",
"text": "public static boolean isAvailable() {\n/* 294 */ return (UNAVAILABILITY_CAUSE == null);\n/* */ }",
"title": ""
},
{
"docid": "8c07a88dd67b9c3329139939627b700d",
"score": "0.54625785",
"text": "public static boolean isAvailable()\r\n/* 64: */ {\r\n/* 65:70 */ return UNAVAILABILITY_CAUSE == null;\r\n/* 66: */ }",
"title": ""
},
{
"docid": "1e7e04e9649172abc80c67e93bf98785",
"score": "0.54595363",
"text": "@Test\n public void SysStatusOKTest() {\n SysStatusRequest request = SysStatusRequest.newBuilder().build();\n SysStatusResponse response = frontend.sysStatus(request);\n String r = response.getOutput();\n\n assertTrue(r.contains(\"OK\"));\n }",
"title": ""
},
{
"docid": "62e08bc8cb5a926f9174cd11e9e7e07c",
"score": "0.5445106",
"text": "public boolean getState() {return this.ready;}",
"title": ""
},
{
"docid": "8956ae56f84e576c40344fa0ff3aadb8",
"score": "0.5437866",
"text": "com.cloudera.thunderhead.telemetry.nodestatus.NodeStatusProto.HealthStatus getDatabusReachable();",
"title": ""
},
{
"docid": "e0493eeca32a93945985dfc6fe7bbf1f",
"score": "0.5420289",
"text": "public boolean getStatus();",
"title": ""
},
{
"docid": "6aaa9004d5f800db282430df746b2daf",
"score": "0.5405791",
"text": "IStatus getStatus();",
"title": ""
},
{
"docid": "8ad67a37183dd2ef5ba88b09679a8612",
"score": "0.53982615",
"text": "java.lang.String getStatus();",
"title": ""
},
{
"docid": "8ad67a37183dd2ef5ba88b09679a8612",
"score": "0.53982615",
"text": "java.lang.String getStatus();",
"title": ""
},
{
"docid": "8ad67a37183dd2ef5ba88b09679a8612",
"score": "0.53982615",
"text": "java.lang.String getStatus();",
"title": ""
},
{
"docid": "9f6d36f7bf4c62f4d71606d78e1f0f72",
"score": "0.53897065",
"text": "public boolean isJarvisAvailable()\r\n\t{\r\n\t\tStatus status = performGet(Services.STATUS, Status.class);\r\n\r\n\t\treturn AVAILABLE_STATUS.equals(status.getStat());\r\n\t}",
"title": ""
},
{
"docid": "f6a51db51e0f24b79f205bf0ab2633a1",
"score": "0.53870887",
"text": "AtomicInteger getStatus();",
"title": ""
},
{
"docid": "68100879e6c6347b174e07ecd54dcb26",
"score": "0.53834647",
"text": "boolean isPending();",
"title": ""
},
{
"docid": "d5ea3b7018c7e89abdcc1e2ce8f6bfe1",
"score": "0.53795797",
"text": "String getServiceStatus();",
"title": ""
},
{
"docid": "7a8624dd557de4b6c00a35a550bbed24",
"score": "0.53769314",
"text": "int getStatus();",
"title": ""
},
{
"docid": "7a8624dd557de4b6c00a35a550bbed24",
"score": "0.53769314",
"text": "int getStatus();",
"title": ""
},
{
"docid": "7a8624dd557de4b6c00a35a550bbed24",
"score": "0.53769314",
"text": "int getStatus();",
"title": ""
},
{
"docid": "7a8624dd557de4b6c00a35a550bbed24",
"score": "0.53769314",
"text": "int getStatus();",
"title": ""
},
{
"docid": "7a8624dd557de4b6c00a35a550bbed24",
"score": "0.53769314",
"text": "int getStatus();",
"title": ""
},
{
"docid": "c375e41c27e3dd4c5a0b0a8ce512a2be",
"score": "0.5376115",
"text": "com.google.protobuf.ByteString\n getStatusBytes();",
"title": ""
},
{
"docid": "c375e41c27e3dd4c5a0b0a8ce512a2be",
"score": "0.5376115",
"text": "com.google.protobuf.ByteString\n getStatusBytes();",
"title": ""
},
{
"docid": "c375e41c27e3dd4c5a0b0a8ce512a2be",
"score": "0.5376115",
"text": "com.google.protobuf.ByteString\n getStatusBytes();",
"title": ""
},
{
"docid": "c46ac35945000adcfb1a8bd61d067504",
"score": "0.53717285",
"text": "boolean isReady() {\n return state != RunState.STARTING;\n }",
"title": ""
},
{
"docid": "279f35302154d178581d833331925c59",
"score": "0.5342759",
"text": "private void initStatus() {\n String status = this.domain.scheduler(ident).statetable().get(muid);\n if (status.equalsIgnoreCase(\"ON\")) {\n this.btnON.setSelected(true);\n this.btnOFF.setSelected(false);\n } else {\n this.btnON.setSelected(false);\n this.btnOFF.setSelected(true);\n }\n\n\n }",
"title": ""
},
{
"docid": "20e6899106da29d45843dfda1b80baae",
"score": "0.53406775",
"text": "gpss.JobStatus getStatus();",
"title": ""
},
{
"docid": "20e6899106da29d45843dfda1b80baae",
"score": "0.53406775",
"text": "gpss.JobStatus getStatus();",
"title": ""
},
{
"docid": "fc2cf276bf94f2c5adb74c6e6bb967b9",
"score": "0.5340371",
"text": "com.cloudera.thunderhead.telemetry.nodestatus.NodeStatusProto.HealthStatus getStatus();",
"title": ""
},
{
"docid": "fc2cf276bf94f2c5adb74c6e6bb967b9",
"score": "0.5340371",
"text": "com.cloudera.thunderhead.telemetry.nodestatus.NodeStatusProto.HealthStatus getStatus();",
"title": ""
},
{
"docid": "dd870eb1ad22cfe207f554f06d8e4388",
"score": "0.5338192",
"text": "public static Object $$$INLPStatusIsTSUAvailable(mContext m$, Object ... _p) {\n mVar p$obj = m$.varRef(\"p$obj\",(((_p!=null)&&(_p.length>=1))?_p[0]:null));\n return (m$.Fnc.$piece(p$obj.get(),\"~\",3));\n }",
"title": ""
},
{
"docid": "fda7ad31b20c7d1a74f04dd704094bfb",
"score": "0.53302634",
"text": "private static String getStatus(String status){\n\t\tif (TaskStatus.EXECUTING.equals(status) || TaskStatus.READY.equals(status)){\n\t\t\treturn \"STATUS_ACTIVE\";\n\t\t}else if (TaskStatus.FINISHED.equals(status) || TaskStatus.CANCELED.equals(status) \n\t\t\t\t|| TaskStatus.RETURNED.equals(status) || TaskStatus.ABORTED.equals(status)\n\t\t\t\t|| TaskStatus.TRANSMITED.equals(status)){\n\t\t\treturn \"STATUS_DONE\";\n\t\t}else if (TaskStatus.SUSPEND.equals(status) || TaskStatus.SLEEPING.equals(status)){\n\t\t\treturn \"STATUS_SUSPENDED\";\n\t\t}else {\n\t\t\treturn \"STATUS_UNDEFINED\";\n\t\t}\n\t}",
"title": ""
},
{
"docid": "65a3e4a5b43f5568d5b3b9c209460214",
"score": "0.53275007",
"text": "long getAvailable();",
"title": ""
},
{
"docid": "172605773cfc9db42933f195604da039",
"score": "0.5325333",
"text": "private void requestStatus() {\n // No command nor value is required to request a status.\n run(\"\", \"\", false);\n }",
"title": ""
},
{
"docid": "d582d1166d1f432c8aa94b1314b6245e",
"score": "0.53213197",
"text": "public boolean isKibanaReady()\n {\n Queue<String> queueLogs = new ConcurrentLinkedQueue<>();\n boolean fReady = false;\n try\n {\n queueLogs.addAll(processKibanaQuery(\"/api/status\"));\n\n Map<String, ?> map = HelmUtils.JSON_MAPPER.readValue(queueLogs.stream().collect(Collectors.joining()), Map.class);\n Map<String, Object> mapStatus = (Map<String, Object>)map.get(\"status\");\n\n if (mapStatus != null)\n {\n Map<String, Object> mapOverall = (Map<String, Object>)mapStatus.get(\"overall\");\n fReady = mapOverall != null && \"green\".equals(mapOverall.get(\"state\"));\n }\n }\n catch(Exception e)\n {\n System.err.println(\"Cannot parse Kibana Json: \" + e);\n }\n finally\n {\n return fReady;\n }\n }",
"title": ""
},
{
"docid": "4b5222b0fb293bac7e72f694d0b7c43f",
"score": "0.53143597",
"text": "public TableStatus getStatus() {\n if (this.getReservation() != null) {\n this.status = TableStatus.BOOKED;\n }\n else {this.status = TableStatus.AVAILABLE;}\n return status;\n }",
"title": ""
},
{
"docid": "6ecaf72865b9cd87c6cf9d2af656ea7a",
"score": "0.53118116",
"text": "Single<Boolean> isAvailable();",
"title": ""
},
{
"docid": "3402fb495f61bf5c38c503e8e40443fc",
"score": "0.52987015",
"text": "boolean getServOpsRes();",
"title": ""
},
{
"docid": "0468938c38417aff94dd0fb4a1a40fd8",
"score": "0.5296102",
"text": "boolean getStatus() {\n\n return (!queue.isEmpty()) || (!preQueue.isEmpty());\n\n }",
"title": ""
},
{
"docid": "691142834730b34b913997320be7a4bb",
"score": "0.52914566",
"text": "protected boolean getAvailble(){\n \treturn this.available;\n }",
"title": ""
},
{
"docid": "59857b8b14b7046fde9d022cfbb7776d",
"score": "0.5266838",
"text": "boolean isOverchargeReady();",
"title": ""
},
{
"docid": "e1703905aa652f7987d73a538d226348",
"score": "0.52572906",
"text": "public boolean isReady(){ return System.currentTimeMillis() - time_last_used > cooldown_max; }",
"title": ""
},
{
"docid": "5f339d4dd8d82cf133c5a1f857fa4a29",
"score": "0.52464306",
"text": "public int checkStatus()\r\n {\r\n if(!(money > 0)){status = 0;}\r\n else{status = 1;}\r\n return status;\r\n }",
"title": ""
},
{
"docid": "cb369c72684422ac8fb06a3fb76ba889",
"score": "0.52436197",
"text": "boolean hasPlannedOperation();",
"title": ""
},
{
"docid": "33097b839469f5622db21fa06d57e50a",
"score": "0.52413476",
"text": "public RackNodeStatus getStatus() {\n return status;\n }",
"title": ""
},
{
"docid": "c04fe754e88988695aeb17e336a4f708",
"score": "0.5231049",
"text": "public int getShAirCondStatus();",
"title": ""
},
{
"docid": "548c17cd6c3857be87fdd3f224d8a4af",
"score": "0.52307314",
"text": "boolean hasPoolSize();",
"title": ""
},
{
"docid": "5cc5538ac03a6956f795117d5f1714dd",
"score": "0.52287686",
"text": "public boolean isRunning() {\n\n boolean alive = false;\n\n if(!isBooting) {\n\n URL requestURL;\n\n try {\n requestURL = new URL(\"http://\"\n + getHostIp()\n + \"/healthCheck\");\n\n\n URLConnection urlConnection = requestURL.openConnection();\n urlConnection.setReadTimeout(5000);\n urlConnection.setConnectTimeout(5000);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));\n\n if (in.readLine().equals(\"alive\")) {\n alive = true;\n }\n\n } catch (IOException e) {\n //do nothing\n }\n\n }\n\n return alive;\n }",
"title": ""
},
{
"docid": "f5e4b77aea0ed0df34f9a7960fc15863",
"score": "0.5223258",
"text": "public void updateCurrentlyRunning()\r\n\t{\r\n\t\tif(!readyList.getPriority2List().isEmpty())\r\n\t\t{\r\n\t\t\treadyList.getPriority2List().getFirst().updateStatusType(1);\r\n\t\t}\r\n\t\telse if(readyList.getPriority2List().isEmpty() && !readyList.getPriority1List().isEmpty())\r\n\t\t{\r\n\t\t\treadyList.getPriority1List().getFirst().updateStatusType(1);\r\n\t\t}\r\n\t\telse if(readyList.getPriority2List().isEmpty() && readyList.getPriority1List().isEmpty())\r\n\t\t{\r\n\t\t\treadyList.getPriority0List().getFirst().updateStatusType(1);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "6e2e3cc31846412436d61f42f6d79614",
"score": "0.5220396",
"text": "private int countOfRunningAndPendingInstances() {\r\n\t\tDescribeInstancesRequest describeInstancesRequest = new DescribeInstancesRequest();\r\n\t\tDescribeInstancesResult response = ec2.describeInstances(describeInstancesRequest);\r\n \tList<Reservation> reservations = response.getReservations();\r\n \tint totalCount = 0;\r\n \tfor(Reservation reservation: reservations ) {\r\n \t\tint state_code = reservation.getInstances().get(0).getState().getCode();\r\n \t\tif(state_code == 0 || state_code == 16 ) {\r\n \t\t\ttotalCount ++; \r\n \t\t}\r\n \t}\r\n \treturn totalCount;\r\n\t}",
"title": ""
},
{
"docid": "7ede7248da41110748ab145a43a02161",
"score": "0.52179325",
"text": "protected Future<Void> headlessServiceEndpointsReady() {\n return serviceOperator.endpointReadiness(reconciliation, reconciliation.namespace(), KafkaResources.brokersServiceName(reconciliation.name()), 1_000, operationTimeoutMs);\n }",
"title": ""
},
{
"docid": "66d4df26bc2794e5ae098c7c145cf923",
"score": "0.5217234",
"text": "private void isReadyToUse() {\n\t\tif (getStatus().equals(Status.NOT_INITIALIZED)) {\n\t\t\tthrow new IllegalStateException(new StringBuilder().append(\"UnitOfWork-\").append(id).append(\": \").append(\"Not Initialized\").toString());\n\t\t}\n\t}",
"title": ""
},
{
"docid": "7488de44a8798554770e66b923eee2a5",
"score": "0.5210048",
"text": "StatusItem getStatus();",
"title": ""
},
{
"docid": "0c2c13651d7f0f6620e6c263b11671dd",
"score": "0.52082455",
"text": "String checkStatus(String name);",
"title": ""
},
{
"docid": "e007d799a6fb9b327cea33ea5c2d9cb3",
"score": "0.5207898",
"text": "public short getOnlinePoaStatusCombo()\n {\n if (processInfo != null)\n {\n return processInfo.getOnlinePoaStatusCombo();\n }\n else\n {\n return Status.UNKNOWN;\n }\n }",
"title": ""
},
{
"docid": "ed21e42c9482cf517fe156ec54355aa1",
"score": "0.5202165",
"text": "com.clarifai.grpc.api.status.Status getStatus();",
"title": ""
},
{
"docid": "530968dbe8f28986c86df8d10f3e9b86",
"score": "0.52014357",
"text": "boolean isOrderReadyStatus(OrderDTO order);",
"title": ""
},
{
"docid": "c7154c67e77181aef86cd496164f1984",
"score": "0.519325",
"text": "public sifnode.oracle.v1.Types.StatusOrBuilder getStatusOrBuilder() {\n return getStatus();\n }",
"title": ""
},
{
"docid": "eff306caa93248572e5de22b8283d647",
"score": "0.5181003",
"text": "TaskStatus getCurrentTaskStatus();",
"title": ""
},
{
"docid": "36f258e072fcb31563c50c3443b857f7",
"score": "0.51788694",
"text": "@Override\n public String getStatus() {\n String result = \"in progress\";\n if (checkWin('0')) {\n result = \"0\";\n } else if (checkWin('X')) {\n result = \"X\";\n } else if (checkDraw()) {\n result = \"draw\";\n }\n return result;\n }",
"title": ""
},
{
"docid": "9c3fcb37bcdb466f57b00778cd29f2b0",
"score": "0.5178215",
"text": "private void checkStatus() {\n boolean allStudentConfirmed = checkStudentConfirmations();\n boolean allTeacherConfirmed = checkTeacherConfirmations();\n if(allTeacherConfirmed){\n this.ready = Status.TEACHER_CONFIRMED;\n } else if( allStudentConfirmed){\n this.ready = Status.STUDENT_CONFIRMED;\n } else {\n this.ready = Status.UNCONFIRMED;\n }\n }",
"title": ""
},
{
"docid": "b06197638428084bd19f7866b6508662",
"score": "0.5172512",
"text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Cluster.Status getStatus();",
"title": ""
},
{
"docid": "15be514449678bd6b11e5fa38ac29aa5",
"score": "0.51723295",
"text": "@java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Cluster.Status getStatus() {\n @SuppressWarnings(\"deprecation\")\n yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Cluster.Status result = yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Cluster.Status.valueOf(status_);\n return result == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Cluster.Status.UNRECOGNIZED : result;\n }",
"title": ""
}
] |
2e181b49cffe39603e4a1f15090f893a | if the interface class is InvokeHandler class ,jump the method filter | [
{
"docid": "4c377c17b111a88d75d3f3e7b21196b0",
"score": "0.60464203",
"text": "@Override\r\n\tpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable{\n\t\tHandlerSet handler = null;\r\n\t\tif (registerDefinition != null) {\r\n\t\t\thandler = registerDefinition.getMethodHandler(method);\r\n\t\t}\r\n//\t\tif(method.isDefault()){\r\n//\t\t\tMethodHandle methodHandle = methodHandleMap.computeIfAbsent(method,ReflectUtils::createMethodHandle);\r\n// methodHandle.bindTo(proxy);\r\n// Object[] objects = new Object[args.length + 1];\r\n// objects[0] = proxy;\r\n// System.arraycopy(args, 0, objects, 1, args.length);\r\n// return methodHandle.invokeWithArguments(objects);\r\n// }\r\n\t\tMethodHandler mh = new MethodHandler(this, method, args,proxy,handler);\r\n\t\treturn mh.invoke();\r\n\t}",
"title": ""
}
] | [
{
"docid": "a55b55b858d4f58792c94af029c8118e",
"score": "0.68201876",
"text": "public interface MyInvocationHandler {\n\n public Object invoke(Object proxy, Method method, Object[] args) throws Throwable;\n\n}",
"title": ""
},
{
"docid": "998ccd2ac402679e7d227c3133a9fc76",
"score": "0.64765644",
"text": "abstract public void invokeFilter();",
"title": ""
},
{
"docid": "b10c9e03c6981049058f64364b868a63",
"score": "0.6213434",
"text": "private static interface ListenerMethodHandler\n {\n void handle(Object listener, Method m);\n }",
"title": ""
},
{
"docid": "7329612523d25b354e89b1fb64f15762",
"score": "0.60750175",
"text": "InvokerEntry<I> filter(Method method);",
"title": ""
},
{
"docid": "08b33f953e0feb3493b06724948779fd",
"score": "0.60156655",
"text": "public static void main(String[] args) {\n\t\tInvocationHandler handler = new MyInvocationHandler();\n\t\tReflectionSuperInterface1 proxy = (ReflectionSuperInterface1) Proxy.newProxyInstance(\n\t\t\t\tReflectionSuperInterface1.class.getClassLoader(),\n\t\t new Class[] { ReflectionSuperInterface1.class },\n\t\t handler);\n\t\t\n\t\t//handler.invoke(ReflectionSuperInterface1., \"method1\", new Object[0]);\n\t\tSystem.out.println(proxy.method1());\n\t\tSystem.out.println(proxy.method5());\n\t\t//handler.invoke(Class obj, \"method1\", new Object[0]);\n\t}",
"title": ""
},
{
"docid": "f7e1c390fc8190dad8298d56dd009a5f",
"score": "0.5973908",
"text": "HandlingResult tryToHandle(DynaTypeMethodInvocation invocation);",
"title": ""
},
{
"docid": "d1c5d102d0a895293cad39f44b808685",
"score": "0.59670466",
"text": "@Override\n public void invoke() {\n }",
"title": ""
},
{
"docid": "75175e613e533e55ea6cb3b52b489341",
"score": "0.5915699",
"text": "private void handleINVOKE(Message receiveMessage) {\n\t\tString name = receiveMessage.getObjectID();\n\t\tString methodName = receiveMessage.getMethodName();\n\t\tObject realObj = Server.reg.realmp.get(name);\n\t\tObject[] args = receiveMessage.getArg();\n\t\tMethod method = null;\n\t\tString msg=null;\n\t\tMessage mes = null;\n\t\tboolean run=true;\n\t\t// if agrs not null \n\t\tif (args != null) {\n\t\t\tClass[] types = new Class[args.length];\n\t\t\tfor (int i = 0; i < types.length; i++) {\n\t\t\t\t// if this args[i] is null or if this args[i] is not serializable we berak \n\t\t\t\tif(args[i]==null || !(args[i] instanceof Serializable)){\n\t\t\t\t\tSystem.out.println(\"no serializable args or args is null\");\n\t\t\t\t\tmsg=\"no serializable args or args is null\";\n\t\t\t\t\trun=false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t// if args[i] is a ror actually we get the Remote440 type always\n\t\t\t\tif (args[i] instanceof Remote440) {\n\t\t\t\t\t\n\t\t\t\t\ttypes[i] = Remote440.class;\n\t\t\t\t\t\n\t\t\t\t\tString id =\"\";\n\t\t\t\t\ttry {\n\t\t\t\t\t\tid = ((RemoteObjectReference) args[i]).getID();\n\t\t\t\t\t} catch (Remote440Exception e) {\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tif(Server.reg.realmp.containsKey(id))\n\t\t\t\t\t{\n\t\t\t\t\t\targs[i] = Server.reg.realmp.get(id);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"can not find the ror object in the server\");\n\t\t\t\t\t\tmsg=\"ror service object not available right now\";\n\t\t\t\t\t\trun=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\ttypes[i] = args[i].getClass();\n\t\t\t\t}\n\t\t\t\t//System.out.println(types[i]+\"---\");\n\t\t\t}\n\t\t\tif(run==false){\n\t\t\t\t mes = new Message(msg,msgType.INVOKEERROR);\n\t\t\t\t try {\n\t\t\t\t\t\tsend(mes);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t return;\n\t\t\t}\n\t\t\t\n\t\t\ttry {\n\t\t\t\t// construct method with args\n\t\t\t\tmethod = realObj.getClass().getMethod(methodName, types);\n\t\t\t} catch (NoSuchMethodException e) {\n\t\t\t\t\n\t\t\t\trun=false;\n\t\t\t\tmsg=e.getMessage();\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (SecurityException e) {\n\t\t\t\t\n\t\t\t\trun=false;\n\t\t\t\tmsg=e.getMessage();\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} \n\t\telse { \n\t\t\t// null Argument\n\t\t\ttry {\n\t\t\t\t//construct method without args\n\t\t\t\tmethod = realObj.getClass().getMethod(methodName,\n\t\t\t\t\t\t(Class[]) null);\n\t\t\t} catch (NoSuchMethodException e) {\n\t\t\t\trun=false;\n\t\t\t\tmsg=e.getMessage();\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (SecurityException e) {\n\t\t\t\t\n\t\t\t\trun=false;\n\t\t\t\tmsg=e.getMessage();\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tObject returnVal=null;\n\t\ttry {\n\t\t\t//trying invoke and catch exception\n\t\t\treturnVal = method.invoke(realObj, args);\n\t\t} catch (IllegalAccessException e) {\n\t\t\trun=false;\n\t\t\tmsg=e.getMessage();\n\t\t\te.printStackTrace();\n\t\t} catch (IllegalArgumentException e) {\n\t\t\trun=false;\n\t\t\tmsg=e.getMessage();\n\t\t\te.printStackTrace();\n\t\t} catch (InvocationTargetException e) {\n\t\t\trun=false;\n\t\t\tmsg=e.getMessage();\n\t\t\te.printStackTrace();\n\t\t}\n\t\tObject ans=null;\n\t\ttry {\n\t\t\t// return val should be Serializable\n\t\tans= checkRet(returnVal);\n }catch(Exception e){\n\t\t\trun=false;\n\t\t\tmsg=e.getMessage();\n\t\t\te.printStackTrace();\n\t\t}\n\t\t \n\t\tif(run){\n\t\t\t mes = new Message(ans,msgType.INVOKEOK);\n\t\t}\n\t\telse{\n\t\t\t mes = new Message(msg,msgType.INVOKEERROR);\n\t\t}\n\t\ttry {\n\t\t\tsend(mes);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n}",
"title": ""
},
{
"docid": "0a4ef931cbbd0b157a0eaab163c5bbed",
"score": "0.58811086",
"text": "public interface InvokerFilter<I extends Invoker> {\n\n /**\n * This method will be called for each method of the filtered class.\n * @param method Declared method.\n * @return Return the entry or null if the method does not comply with the rule\n */\n InvokerEntry<I> filter(Method method);\n\n /**\n * Returns the name of the invoker to create the invoker key.\n * @return Name of the invoker.\n */\n default String getName() {\n return getClass().getName();\n }\n }",
"title": ""
},
{
"docid": "6e516dfe01d44ec5fd9cfc11c97a3a90",
"score": "0.5855548",
"text": "int invoke(Frame frame, ObjectHandle hTarget);",
"title": ""
},
{
"docid": "c4961b1ea5700239d2bab17e1aa0e668",
"score": "0.58126104",
"text": "public void invoke();",
"title": ""
},
{
"docid": "4f398f90405e6c2a02bd3cfabc866ff3",
"score": "0.58080095",
"text": "@Override\n public void accept(ClassNode cw) {\n injectMethod(findMethodByName(cw.methods, \"findVirtual\"));\n injectMethod(findMethodByName(cw.methods, \"findStatic\"));\n injectUnreflectMethod(findMethodByNameAndDesc(cw.methods, \"unreflect\", \"(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;\"));\n }",
"title": ""
},
{
"docid": "dd0e09a0d431eeda61263b607221ad05",
"score": "0.58062375",
"text": "@Override\n\tpublic void intercept(Invocation inv) {\n\t\tinv.invoke();\n\t\t\n\t}",
"title": ""
},
{
"docid": "2cec2f82c91c4468294ae4e6cce9bb0d",
"score": "0.57939875",
"text": "public interface MachineInvocation extends EObject\n{\n}",
"title": ""
},
{
"docid": "cf550088fdc257234448f9ac3e0638c1",
"score": "0.5788804",
"text": "public interface Filter {\n\n Boolean doFilter(Msg msg);\n}",
"title": ""
},
{
"docid": "07716544fe3c6f77a2afcd311c0499a5",
"score": "0.5777541",
"text": "public interface HandlerAction {\n\t\n\tpublic void executeHandlerAction(Message message);\n\n}",
"title": ""
},
{
"docid": "8c0617be576c8b0d5e1ef771fabdde6e",
"score": "0.5773331",
"text": "private interface MethodVisitor {\n public void onVisit(Method method);\n }",
"title": ""
},
{
"docid": "c2da1df82e89332536be0b84fdff3395",
"score": "0.5768501",
"text": "public void handle() {\n // method handler\n }",
"title": ""
},
{
"docid": "66644eb81e75c1ce8a4175a890ad0828",
"score": "0.5760021",
"text": "public interface Target {\n public void methodOne();\n public void methodtwo();\n}",
"title": ""
},
{
"docid": "d395d7d9488b73365847b551747e79f9",
"score": "0.57257307",
"text": "public interface Interceptor extends Serializable {\n public void init();\n public void destroy();\n String Interceptor(ActionInvocation invocation)throws Exception;\n}",
"title": ""
},
{
"docid": "49d13acb94e52ba1182c364861f603e0",
"score": "0.5683683",
"text": "public interface IAfterRequestHandler {\r\n\t/**\r\n\t * Execucao do handler\r\n\t * \r\n\t * @param flowManager\r\n\t * o gerenciador de navegacao\r\n\t * \r\n\t * \r\n\t */\r\n\tvoid execute(IFlowManager flowManager);\r\n}",
"title": ""
},
{
"docid": "07a2ac73052a420691c5087d7e4d3af7",
"score": "0.5677036",
"text": "@Pointcut(\"execution(public * execute(..))\")\n public void checkServices() {\n }",
"title": ""
},
{
"docid": "b8adb46b86d7e7ecd223b1d03f848b54",
"score": "0.5675621",
"text": "public abstract boolean executeCanInvoke(VirtualFrame frame, Invoker invoker, Object target, Object[] arguments);",
"title": ""
},
{
"docid": "42d6dbeea9be6ec34776d72779f33bcc",
"score": "0.5672582",
"text": "public InvocationHandler getInvocationHandler(Object o);",
"title": ""
},
{
"docid": "22ac09a3762490497d8e7b70b37d8604",
"score": "0.5672311",
"text": "private void generateInvoke() {\n mParentVisitor.visitLdcInsn(mInvokeSignature);\n // push true or false\n mParentVisitor.visitInsn(mIsNative ? Opcodes.ICONST_1 : Opcodes.ICONST_0);\n // push null or this\n if (mIsStatic) {\n mParentVisitor.visitInsn(Opcodes.ACONST_NULL);\n } else {\n mParentVisitor.visitVarInsn(Opcodes.ALOAD, 0);\n }\n mParentVisitor.visitMethodInsn(Opcodes.INVOKESTATIC,\n \"com/android/tools/layoutlib/create/OverrideMethod\",\n \"invoke\",\n \"(Ljava/lang/String;ZLjava/lang/Object;)V\");\n }",
"title": ""
},
{
"docid": "a5359e4b2c2eafdee4e0cf7fb47729b7",
"score": "0.5666102",
"text": "public interface MethodRequest {\n\t\n\tpublic void call();\n\n}",
"title": ""
},
{
"docid": "497dbafc5e337e6d8db95c34558acb7a",
"score": "0.565739",
"text": "@Override\n protected Object invokeMethod(Method method, Object target, Object... args) {\n return ReflectionUtils.invokeMethod(method,this.target,args);\n }",
"title": ""
},
{
"docid": "3aaef79d62e2512cd989cf37df00bbc6",
"score": "0.5646732",
"text": "@Override\n public boolean matches(MethodDescription target) {\n return !declaresMethod(named(\"handle\"))\n .matches(target.getDeclaringType().asErasure());\n }",
"title": ""
},
{
"docid": "878fbeb49d40bbdaeff788ecb90f8236",
"score": "0.56427747",
"text": "public abstract Method getMethod(InterceptionType type);",
"title": ""
},
{
"docid": "411ed2e8c5ca2a0ba849c8e673f414f3",
"score": "0.56396484",
"text": "protected abstract String doIntercept(ActionInvocation invocation) throws Exception;",
"title": ""
},
{
"docid": "ca7b36a1920a716ee053123b71edda9d",
"score": "0.5633202",
"text": "@Override\n\tpublic void caseVirtualInvokeExpr(VirtualInvokeExpr arg0) {\n\t\tNetAPI api = this.sigList.get(arg0.getMethod().toString());\n\t\tif(api!=null){\n\t\t\tthis.netVbs.add(NetAPI.createNetAPIInvoke(arg0));\n\t\t}else if(arg0.getMethod().toString().equals(\"<outputstream.write>\")){\n\t\t\tthis.writeStmts.add(arg0);\n\t\t}\n\t\targ0.getBase().apply(this);\n\t\tfor(int i = 0; i<arg0.getArgCount(); i++){\n\t\t\tValue ut = arg0.getArg(i);\n\t\t\tut.apply(this);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "b173c4c7b04b7b596722761115a91cb1",
"score": "0.5615064",
"text": "public abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i);",
"title": ""
},
{
"docid": "8dc42ff8b730393a20e4b70a87658659",
"score": "0.5613929",
"text": "public interface AMI_QuoterHandler\n\textends AMI_QuoterHandlerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.Messaging.ReplyHandler\n{\n}",
"title": ""
},
{
"docid": "f65c21b9ec83fb98b01027d8055eb98c",
"score": "0.5612117",
"text": "public interface GeneralDynamicProxyBefore {\n public boolean before();\n public void setMethod(Method method);\n}",
"title": ""
},
{
"docid": "b5f72e566e86db182996ed76d3f67de0",
"score": "0.5578352",
"text": "public interface IFilterDispatcher {\n /**\n * Register a filter\n * @param filter\n */\n public void registerFilter(IFilter filter);\n\n /**\n * Dispatch the filter job to specific IFilter class\n * @param req\n * @param resp\n */\n public boolean dispatchFilter(String filterName,HttpRequest req, HttpResponse resp);\n\n /**\n * Check if the filter has been registered\n * @param filterName\n * @return\n */\n public boolean isContainFilter(String filterName);\n}",
"title": ""
},
{
"docid": "9bf779273449ab5e49089c76a284b0bc",
"score": "0.5569544",
"text": "public interface Filter {\n\tpublic void execute(String request);\n}",
"title": ""
},
{
"docid": "e1bbb3bc1d9192aca43bf21ffb4a83ce",
"score": "0.556403",
"text": "public interface WhenGetInformations {\n void invoke(Object sender,ArrayList<String> information);\n}",
"title": ""
},
{
"docid": "1d7410c43af078272104283a72bd4f7f",
"score": "0.5558877",
"text": "private void handleMethodInvocation(MethodInvocation methodInvocation) {\r\n//\t\thandleExpression(methodInvocation.getExpression());\r\n//\t\tfor(Object obj : methodInvocation.arguments()) handleExpression((Expression)obj);\r\n\r\n\t\tInvocation invocation = new Invocation(methodInvocation);\r\n\t\thandleInvocation(invocation);\r\n\t}",
"title": ""
},
{
"docid": "266923ed51625921976adc0f43516703",
"score": "0.5551436",
"text": "public interface Interceptor {\n public void init();\n public String invoke(ActionInvocation actionInvocation);\n public void destroy();\n}",
"title": ""
},
{
"docid": "aa6d1d11faed30ea71a16bf9c14c9b27",
"score": "0.5550141",
"text": "public interface XmILogFilter {\n\n /**\n * 处理log是否给filter掉,不进行后续处理\n * @param bean 要进行判断的log\n * @return false\n */\n public boolean isFilter(XmLoggerBean bean);\n\n}",
"title": ""
},
{
"docid": "d57e7cf676d1dbd022ed4c7d5afa5228",
"score": "0.5548009",
"text": "@Override\n public void instructionExecuted(VM vm, ThreadInfo ti,\n Instruction nextInstruction, Instruction executedInstruction) {\n try {\n if (validInstruction(executedInstruction)) {\n JVMInvokeInstruction invokedInstruction\n = (JVMInvokeInstruction) executedInstruction;\n if (validMethod(invokedInstruction, ti)) {\n Object[] args = invokedInstruction.getArgumentValues(ti);\n String methodName\n = extractMethodName(invokedInstruction, ti);\n switch (args.length) {\n case 1:\n stateTransitionOnObject(args, ti, methodName);\n break;\n case 2:\n stateTransitionOnArray(args, ti, methodName);\n break;\n case 3:\n stateBlockTransitionOnArray(args, ti, methodName);\n break;\n default:\n System.err.println(\"Unreconized Method in \"\n + \"HjListener\");\n throw new PermissionError(\"Unsupported permission \"\n + \"method\");\n }\n }\n }\n } catch (PermissionError pe) {\n// System.out.println(pe.getLocalizedMessage());\n permissionExplanation = pe.getLocalizedMessage();\n permissionError = true;\n }\n }",
"title": ""
},
{
"docid": "d271e9e37714fda35cd121b8fea612e9",
"score": "0.5546636",
"text": "public static Set<SootMethod> addInvokedMethods(SootMethod sm, Unit u, InvokeExpr invoke) {\n\t\tSet<SootMethod> targetSet = new HashSet<SootMethod>();\n\t\tSootMethod invMethod = invoke.getMethod();\n\t\tif (invMethod != null) {\n\t\t\tif (MyConfig.getInstance().getMySwithch().isAsyncMethodSwitch()) {\n\t\t\t\tif (invMethod.toString().contains(\"<java.lang.Thread: void start()>\")) {\n\t\t\t\t\tSootMethod runMethod = transformStart2Run(sm, invoke, u);\n\t\t\t\t\tif (runMethod != null)\n\t\t\t\t\t\ttargetSet.add(runMethod);\n\t\t\t\t} else if (invMethod.toString().contains(\"void runOnUiThread(java.lang.Runnable)\")) {\n\t\t\t\t\tSootMethod runMethod = transformStart2runOnUiThread(sm, invoke, u);\n\t\t\t\t\tif (runMethod != null)\n\t\t\t\t\t\ttargetSet.add(runMethod);\n\t\t\t\t} else if (invMethod.toString().contains(\n\t\t\t\t\t\t\"android.os.Handler: boolean postDelayed(java.lang.Runnable,long)\")) {\n\t\t\t\t\tSootMethod runMethod = transformpostDelayed2Run(sm, invoke, u);\n\t\t\t\t\tif (runMethod != null)\n\t\t\t\t\t\ttargetSet.add(runMethod);\n\t\t\t\t} else if (invMethod.toString().contains(\"android.os.AsyncTask execute(java.lang.Object[])\")\n\t\t\t\t\t\t|| invMethod.toString().contains(\"android.os.AsyncTask executeOnExecutor(\")) {\n\t\t\t\t\tSet<SootMethod> runMethods = transformAsyncTask2LifeCycles(sm, invoke, u);\n\t\t\t\t\tfor (SootMethod runMethod : runMethods)\n\t\t\t\t\t\ttargetSet.add(runMethod);\n\t\t\t\t} else {\n\t\t\t\t\t// get the actual class of the base box in this invocation\n\t\t\t\t\tif (invoke instanceof AbstractInstanceInvokeExpr) {\n\t\t\t\t\t\tValue base = ((AbstractInstanceInvokeExpr) invoke).getBase();\n\t\t\t\t\t\tList<Unit> defs = SootUtils.getDefOfLocal(sm.getSignature(), base, u);\n\t\t\t\t\t\tfor (Unit defUnit : defs) {\n\t\t\t\t\t\t\tString targetCls = ((AbstractDefinitionStmt) defUnit).getRightOp().getType().toString();\n\t\t\t\t\t\t\tif (targetCls != null && targetCls.length() > 0) {\n\t\t\t\t\t\t\t\tSootClass targetClass = SootUtils.getSootClassByName(targetCls);\n\t\t\t\t\t\t\t\tif (targetClass == null)\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\tSootMethod targetMtd = SootUtils.getMethodBySubSignature(targetClass,\n\t\t\t\t\t\t\t\t\t\tinvMethod.getSubSignature());\n\t\t\t\t\t\t\t\tif (targetMtd == null)\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\ttargetSet.add(targetMtd);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\ttargetSet.add(invMethod);\n\t\t\t\t}\n\t\t\t\tPair<SootMethod, Unit> pair = new Pair<SootMethod, Unit>(sm, u);\n\t\t\t\tSet<SootMethod> listenerMehods = Global.v().getAppModel().getEntryMethod2MethodAddThisCallBack()\n\t\t\t\t\t\t.get(pair);\n\t\t\t\tif (listenerMehods != null) {\n\t\t\t\t\ttargetSet.addAll(listenerMehods);\n\t\t\t\t}\n\t\t\t\ttargetSet.remove(sm);\n\t\t\t} else {\n\t\t\t\ttargetSet.add(invMethod);\n\t\t\t}\n\t\t}\n\t\tGlobal.v().getAppModel().getUnit2TargetsMap().put(u.toString() + u.hashCode(), targetSet);\n\t\treturn targetSet;\n\t}",
"title": ""
},
{
"docid": "ef765ccfd3e600c8dba25da528544d03",
"score": "0.5536145",
"text": "int invoke(Frame frame, ObjectHandle hTarget, ObjectHandle hArg);",
"title": ""
},
{
"docid": "06a465dd5fa327f09166022243154062",
"score": "0.54998696",
"text": "public interface Handler {\n\n void hanle(SelectionKey sk) throws IOException;\n}",
"title": ""
},
{
"docid": "9e7bf606a2a6290162486280528263da",
"score": "0.549706",
"text": "public interface VoidMethodInvokable\n{\n}",
"title": ""
},
{
"docid": "6ba5cc8a4bd45b0c0d070eb4e9365240",
"score": "0.5487757",
"text": "public interface ServiceMethodHandler extends ReceiveQueueListener<MethodCall<Object>> {\n\n void init(Object service, String rootAddress, String serviceAddress, SendQueue<Response<Object>> responseSendQueue);\n\n Response<Object> receiveMethodCall(MethodCall<Object> methodCall);\n\n String address();\n\n\n String name();\n\n Collection<String> addresses();\n\n\n void queueInit();\n\n void handleEvent(Event<Object> event);\n}",
"title": ""
},
{
"docid": "3d5940afeb628f7dfa76dc966be6b207",
"score": "0.54808253",
"text": "public interface IHandler {\n\n void enable();\n\n void disable();\n}",
"title": ""
},
{
"docid": "e4cfbbf085f3625ae140b589f619c5d5",
"score": "0.54767334",
"text": "public interface IViewfinder {\n\n /**\n * 处理decode\n */\n void handleDecode(Result result, Bundle bundle);\n\n //public ViewfinderView getViewfinderView();\n\n Handler getHandler();\n}",
"title": ""
},
{
"docid": "ea6acfe4599293936a323f7e3775d45e",
"score": "0.5472973",
"text": "@Override\n public void invoke(T event) {\n if (filters.length > 0) {\n for (Predicate<T> filter : filters) {\n if (!filter.test(event)) {\n return;\n }\n }\n }\n this.hook.invoke(event);\n }",
"title": ""
},
{
"docid": "fb0ba182d52cf693185545646dff48f3",
"score": "0.5464397",
"text": "@Override\n\tpublic void run(ClassGroup group)\n\t{\n\t\tPacketTypeFinder ptf = new PacketTypeFinder(group);\n\t\tptf.find();\n\n\t\tBufferFinder bf = new BufferFinder(group);\n\t\tbf.find();\n\n\t\tHandlerFinder hf = new HandlerFinder(group, ptf.getPacketType());\n\t\tPacketHandlers handlers = hf.findHandlers();\n\n\t\tlogger.info(\"Found {} packet handlers\", handlers.getHandlers().size());\n\n\t\tfor (PacketHandler handler : handlers.getHandlers())\n\t\t{\n\t\t\tExecution e = hf.getExecution();\n\t\t\te.reset();\n\n\t\t\te.staticStep = true;\n\t\t\te.step = false;\n\t\t\te.noInvoke = true;\n\n\t\t\tassert e.frames.isEmpty();\n\n\t\t\tFrame f = handler.jumpFrame.dup();\n\t\t\tassert f.isExecuting();\n\t\t\tf.getMethodCtx().reset();\n\n\t\t\te.clearExecutionVisitor();\n\t\t\te.addExecutionVisitor(ictx ->\n\t\t\t{\n\t\t\t\tif (ictx.getInstruction() instanceof MappableInstruction)\n\t\t\t\t{\n\t\t\t\t\tif (ictx.getInstruction().getType() != InstructionType.INVOKESTATIC)\n\t\t\t\t\t{\n\t\t\t\t\t\t++handler.sizeMap;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (ictx.getInstruction().getType() == InstructionType.INVOKEVIRTUAL)\n\t\t\t\t{\n\t\t\t\t\tInvokeInstruction ii = (InvokeInstruction) ictx.getInstruction();\n\n\t\t\t\t\t// check if the invoke is on buffer/packetbuffer classes\n\t\t\t\t\tboolean matches = ii.getMethods().stream()\n\t\t\t\t\t\t.map(method -> method.getMethods().getClassFile())\n\t\t\t\t\t\t.anyMatch(cf -> cf == bf.getBuffer() || cf == bf.getPacketBuffer());\n\t\t\t\t\tif (matches)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (!handler.reads.contains(ictx.getInstruction()))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thandler.reads.add(ictx.getInstruction());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (ictx.getInstruction().getType() == InstructionType.INVOKEVIRTUAL\n\t\t\t\t\t|| ictx.getInstruction().getType() == InstructionType.INVOKESPECIAL\n\t\t\t\t\t|| ictx.getInstruction().getType() == InstructionType.INVOKEINTERFACE)\n\t\t\t\t{\n\t\t\t\t\tInvokeInstruction ii = (InvokeInstruction) ictx.getInstruction();\n\t\t\t\t\t// read methods are scrambled so cant count them\n\t\t\t\t\tif (!handler.reads.contains(ictx.getInstruction()))\n\t\t\t\t\t{\n\t\t\t\t\t\thandler.methodInvokes.addAll(ii.getMethods());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (ictx.getInstruction() instanceof SetFieldInstruction)\n\t\t\t\t{\n\t\t\t\t\tSetFieldInstruction sfi = (SetFieldInstruction) ictx.getInstruction();\n\t\t\t\t\tField field = sfi.getMyField();\n\t\t\t\t\tif (field != null)\n\t\t\t\t\t{\n\t\t\t\t\t\thandler.fieldWrite.add(field);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (ictx.getInstruction() instanceof GetFieldInstruction)\n\t\t\t\t{\n\t\t\t\t\tGetFieldInstruction gfi = (GetFieldInstruction) ictx.getInstruction();\n\t\t\t\t\tField field = gfi.getMyField();\n\t\t\t\t\tif (field != null)\n\t\t\t\t\t{\n\t\t\t\t\t\thandler.fieldRead.add(field);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\te.run();\n\n\t\t\tlogger.info(\"Executed opcode {}: {} mappable instructions\", handler.getOpcode(), handler.sizeMap);\n\t\t}\n\n\t\tList<PacketHandler> unsortedHandlers = new ArrayList<>(handlers.getHandlers());\n\t\tList<PacketHandler> sortedHandlers = new ArrayList<>(handlers.getHandlers()).stream()\n\t\t\t.sorted((PacketHandler p1, PacketHandler p2) ->\n\t\t\t{\n\t\t\t\tif (p1.reads.size() != p2.reads.size())\n\t\t\t\t{\n\t\t\t\t\treturn Integer.compare(p1.reads.size(), p2.reads.size());\n\t\t\t\t}\n\t\t\t\tif (p1.methodInvokes.size() != p2.methodInvokes.size())\n\t\t\t\t{\n\t\t\t\t\treturn Integer.compare(p1.methodInvokes.size(), p2.methodInvokes.size());\n\t\t\t\t}\n\t\t\t\tif (p1.fieldRead.size() != p2.fieldRead.size())\n\t\t\t\t{\n\t\t\t\t\treturn Integer.compare(p1.fieldRead.size(), p2.fieldRead.size());\n\t\t\t\t}\n\t\t\t\tif (p1.fieldWrite.size() != p2.fieldWrite.size())\n\t\t\t\t{\n\t\t\t\t\treturn Integer.compare(p1.fieldWrite.size(), p2.fieldWrite.size());\n\t\t\t\t}\n\t\t\t\treturn Integer.compare(p1.sizeMap, p2.sizeMap);\n\t\t\t})\n\t\t\t.map(s -> s.clone())\n\t\t\t.collect(Collectors.toList());\n\n\t\tassert sortedHandlers.size() == handlers.getHandlers().size();\n\n\t\tfor (PacketHandler handler : sortedHandlers)\n\t\t{\n\t\t\tlogger.info(\"Handler {} mappable {} reads {} invokes {} freads {} fwrites {}\",\n\t\t\t\thandler.getOpcode(), handler.sizeMap, handler.reads.size(), handler.methodInvokes.size(),\n\t\t\t\thandler.fieldRead.size(), handler.fieldWrite.size());\n\t\t}\n\n\t\t// Find unique methods\n\t\tList<Method> methods = unsortedHandlers.stream()\n\t\t\t.map(ph -> ph.getMethod())\n\t\t\t.distinct()\n\t\t\t.collect(Collectors.toList());\n\n\t\tfor (Method m : methods)\n\t\t{\n\t\t\tList<PacketHandler> unsortedMethodHandlers = unsortedHandlers.stream()\n\t\t\t\t.filter(ph -> ph.getMethod() == m)\n\t\t\t\t.collect(Collectors.toList());\n\n\t\t\tList<PacketHandler> sortedMethodHandlers = sortedHandlers.stream()\n\t\t\t\t.filter(ph -> ph.getMethod() == m)\n\t\t\t\t.collect(Collectors.toList());\n\n\t\t\tassert unsortedMethodHandlers.size() == sortedMethodHandlers.size();\n\n\t\t\tfor (int i = 0; i < sortedMethodHandlers.size(); ++i)\n\t\t\t{\n\t\t\t\tPacketHandler unsorted = unsortedMethodHandlers.get(i);\n\t\t\t\tPacketHandler sortedh = sortedMethodHandlers.get(i);\n\n\t\t\t\t// Set opcode/jump from sorted -> unsorted\n\t\t\t\tIf jump = (If) unsorted.getJump();\n\t\t\t\tPushConstantInstruction pci = (PushConstantInstruction) unsorted.getPush();\n\n\t\t\t\tassert unsorted.getOpcode() == ((Number) pci.getConstant()).intValue();\n\n\t\t\t\t// unsorted.getPush() might be bipush which cant hold 0-255\n\t\t\t\tInstructions instructions = unsorted.getMethod().getCode().getInstructions();\n\t\t\t\tinstructions.replace(unsorted.getPush(), new LDC_W(instructions, sortedh.getOpcode()));\n\n\t\t\t\tassert jump.getType() == InstructionType.IF_ICMPEQ || jump.getType() == InstructionType.IF_ICMPNE;\n\n\t\t\t\tLabel startLabel = instructions.createLabelFor(sortedh.getStart());\n\n\t\t\t\tif (jump.getType() == InstructionType.IF_ICMPEQ)\n\t\t\t\t{\n\t\t\t\t\tinstructions.replace(jump, new IfICmpEq(instructions, startLabel));\n\t\t\t\t}\n\t\t\t\telse if (jump.getType() == InstructionType.IF_ICMPNE)\n\t\t\t\t{\n\t\t\t\t\t// insert a jump after to go to sortedh start\n\t\t\t\t\tint idx = instructions.getInstructions().indexOf(jump);\n\t\t\t\t\tassert idx != -1;\n\n\t\t\t\t\tinstructions.addInstruction(idx + 1, new Goto(instructions, startLabel));\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthrow new IllegalStateException();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "9a1ac47e32a9ff72312355df9381095f",
"score": "0.5462768",
"text": "Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source);",
"title": ""
},
{
"docid": "2d047980adc7f348617abf74b6a78112",
"score": "0.54590034",
"text": "public abstract Object invoke( @NotNull Packet p, @NotNull Method m, @NotNull Object... args ) throws InvocationTargetException, IllegalAccessException;",
"title": ""
},
{
"docid": "40db4157ad3fa35171a546d1d0c61b49",
"score": "0.545402",
"text": "@Override\n\tpublic boolean supports(Class<?> clazz) {\n\t\treturn FilterInvocation.class.isAssignableFrom(clazz);\n\t}",
"title": ""
},
{
"docid": "5b2a956e692e900036bb14c7123264d4",
"score": "0.5448392",
"text": "public interface Invocation extends Joinpoint {\n\n /**\n * Get the arguments as an array object.\n * It is possible to change element values within this\n * array to change the arguments.\n *\n * @return the argument of the invocation */\n Object[] getArguments();\n\n}",
"title": ""
},
{
"docid": "0ef4f7eb52a3150ef84068195c15ae4b",
"score": "0.5445771",
"text": "public Interceptor getHandler();",
"title": ""
},
{
"docid": "233738593e97d198d1db53172b1f3344",
"score": "0.5433732",
"text": "@Override\r\n\t public boolean visit(MethodInvocation invocation) {\n \t\t String ex = invocation.toString();\r\n\t\t if(ex != null) {\r\n\t\t\t int dotindex = ex.indexOf('.');\r\n\t\t\t int includeindex = ex.indexOf(\"(\");\t\t\t \r\n\t\t\t if(dotindex > includeindex || dotindex == -1) {\r\n\t\t\t\t return true;\r\n\t\t\t }\r\n\t\t\t// System.out.println(dotindex+\"----------\"+includeindex);\r\n\t\t\t String name = ex.substring(0,dotindex);\r\n\t\t\t String methodname = ex.substring(dotindex+1, includeindex);\r\n\t\t\t// System.out.println(name +\"-------\"+methodname);\r\n\t\t\t if(methodNode != null) {\r\n\t\t\t\t methodNode.AddClassMethod(name, methodname);\r\n\t\t\t\t\r\n\t\t\t\t for(ClassNodeInMethod tt: methodNode.getSubclass()) {\r\n\t\t\t\t\t \r\n\t\t\t\t\t// System.out.println(tt.getClassname()+\"----\"+tt.getName()+\"-----\"+tt.getMethod().size());\r\n\t\t\t\t\t \r\n\t\t\t\t }\r\n\t\t\t }else {\r\n\t\t\t\t System.out.println(\"Methodnode is null!\");\r\n\t\t\t }\r\n\t\t }\r\n\t\t // methodNode.AddSubmethod(invocation.getName().getFullyQualifiedName()+\"invovation\");\r\n\t\t return false;\r\n\t }",
"title": ""
},
{
"docid": "c46fb6f4132f328b70a6035e210af385",
"score": "0.5433676",
"text": "public void addInvocationHandler(Class<?> paramClass, InvocationHandler paramInvocationHandler) {\n/* 50 */ checkAccess();\n/* 51 */ this.classToInvocationHandler.put(paramClass, paramInvocationHandler);\n/* */ }",
"title": ""
},
{
"docid": "dd9f6f0cf83947f6c3004852b1bea578",
"score": "0.5432207",
"text": "@Override\n public void visitCode() {\n if (MobiEmulator.mobiEmulatorInstance.monitorMethodCalls && ((access & Opcodes.ACC_INTERFACE) == 0)) {\n super.visitLdcInsn(methodpath);\n visitMethodInsn(Opcodes.INVOKESTATIC, MyMethodAdapter.customClassName, MyMethodAdapter.beginMethod, MyMethodAdapter.customMethodParams);\n }\n super.visitCode();\n }",
"title": ""
},
{
"docid": "b9f22f6e1bdae45385ee0f4db9f48187",
"score": "0.5425514",
"text": "@Override\r\n\tprotected Object call(String aDestination, Class aClass, Method method, Object[] args) {\n\t\tTracer.info(this, \"Invoking call method with destination:\" + destination + \" method:\" + method + \" args:\" + args);\r\n\t\tProxyMethodForwardedToPort.newCase(this, aDestination, name, method, args);\r\n\t\tObject retVal = rpcInputPort.call(aDestination, aClass, method, args);\r\n\t\treturn retVal;\r\n\t}",
"title": ""
},
{
"docid": "ee319673037d963f83b4db9ca0ffa938",
"score": "0.5424541",
"text": "public interface MethodInterface {\n void execute(String logMsg);\n}",
"title": ""
},
{
"docid": "77961cab1503c9e4de9e3496461f2f82",
"score": "0.5420341",
"text": "public interface ActionHandlerAsync {\n /**\n * This method invokes the request identified by the id.\n *\n * @param requestId The id of the request that the action must be invoked on.\n * @throws com.rift.coad.change.request.action.ActionException\n * @throws java.rmi.RemoteException\n */\n public String invokeAction(String requestId) throws ActionException, RemoteException;\n\n\n /**\n * This method is used to invoke the action asynchronously.\n *\n * @param request The request to invoke.\n * @throws java.rmi.RemoteException\n */\n public String invokeAction(String masterRequestId, Request request) throws RemoteException;\n \n \n /**\n * This method is called to reinvoke a paused action.\n *\n * @param actionId The id of the action to re-invoke\n * @throws java.rmi.RemoteException\n */\n public String resumeAction(String actionId) throws RemoteException;\n}",
"title": ""
},
{
"docid": "7d0401e892b425f8b19becf1214279ba",
"score": "0.5406824",
"text": "public interface Invoker {\n Object execute(Method method, Object[] args);\n}",
"title": ""
},
{
"docid": "8d73c04cee02cd1642e0587e072fcc60",
"score": "0.54045933",
"text": "public interface Target {\n\n void doSomethine();\n\n}",
"title": ""
},
{
"docid": "caba2b460b4b818d8554fbd1f2e15b77",
"score": "0.5385279",
"text": "@Override\n\tpublic void caseSpecialInvokeExpr(SpecialInvokeExpr arg0) {\n\t\tNetAPI api = this.sigList.get(arg0.getMethod().toString());\n\t\tif(api!=null){\n\t\t\tthis.netVbs.add(NetAPI.createNetAPIInvoke(arg0));\n\t\t}\n\t\targ0.getBase().apply(this);\n\t\tfor(int i = 0; i<arg0.getArgCount(); i++){\n\t\t\tValue ut = arg0.getArg(i);\n\t\t\tut.apply(this);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "54884dcef5e41e7bb6621d054bfc8329",
"score": "0.538133",
"text": "public interface Delegate {\r\n\tpublic Object invoke(Object ... args) throws Exception;\r\n}",
"title": ""
},
{
"docid": "b7c77c1cbc89d82644123c448b3136ac",
"score": "0.5380897",
"text": "@Pointcut(\"execution(* com.waqar..service.*.*(..))\")\r\n\tpublic void Service(){\r\n\t\r\n\t}",
"title": ""
},
{
"docid": "f13e3c26c59c86f5cb21373613deb42f",
"score": "0.5377783",
"text": "@ReflectiveMethod(name = \"aH\", types = {})\n public void aH(){\n NMSWrapper.getInstance().exec(nmsObject);\n }",
"title": ""
},
{
"docid": "6517a2804ec811d91fad0c6bdc9cbeb1",
"score": "0.537675",
"text": "public interface FunctionInvoker {\n /**\n * Phase determines a loose ordering for invocation handler processing\n * this should be used with {@link RuntimeContext#addInvoker(FunctionInvoker, Phase)} to add new invoke handlers to a runtime\n */\n enum Phase {\n /**\n * The Pre-Call phase runs before the main function call, all {@link FunctionInvoker} handlers added at this phase are tried prior to calling the {@link Phase#Call} phase\n * This phase is typically used for handlers that /may/ intercept the request based on request attributes\n */\n PreCall,\n /**\n * The Call Phase indicates invokers that should handle call values - typically a given runtime will only be handled by one of these\n */\n Call\n }\n\n /**\n * Optionally handles an invocation chain for this function\n * <p>\n * If the invoker returns an empty option then no action has been taken and another invoker may attempt to tryInvoke\n * <p>\n * In particular this means that implementations must not read the input event body until they are committed to handling this event.\n *\n * A RuntimeException thrown by the implementation will cause the entire function invocation to fail.\n *\n * @param ctx the context for a single invocation\n * @param evt the incoming event\n * @return a optional output event if the invoker handled the event.\n */\n Optional<OutputEvent> tryInvoke(InvocationContext ctx, InputEvent evt);\n}",
"title": ""
},
{
"docid": "6f767601ac5ffb4f3667e5be3311621d",
"score": "0.53740823",
"text": "public interface Customer \r\n{\r\n\tpublic void browser();//target method\r\n}",
"title": ""
},
{
"docid": "2909dfa4377ee218a56b752125eec158",
"score": "0.5372032",
"text": "public interface Product extends Remote\n{\n//interface are used to declare remote method\n\tObject getFrame()throws RemoteException;\n\tString disp() throws RemoteException;\n}",
"title": ""
},
{
"docid": "f08ca1dd133741b829e43c5f6002db81",
"score": "0.5372023",
"text": "public Object invoke(MethodInvocation invocation) throws Throwable {\n \n\n\n return invocation.proceed();\n\n }",
"title": ""
},
{
"docid": "99c5f7e7fd0b61bb887b2944209c72ee",
"score": "0.53632146",
"text": "@Override\n\tpublic void anotherFilter() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efe0d929acb306e15455e8cd9441f4d",
"score": "0.53616357",
"text": "public interface ProductIF {\n\tpublic void action();\n}",
"title": ""
},
{
"docid": "aef8a5b74234566650884fe48f176824",
"score": "0.53599715",
"text": "public Object intercept(InvocationContext context) throws Exception{\n\t\tSystem.out.println(\"Scanning customer: \" + context.getMethod().getName());\n\t\t\n\t\t// proceed\n\t\tObject result = context.proceed();\n\t\t\n\t\t// Log to console after execution\n\t\tSystem.out.println(\"Customer scanned: \" + context.getMethod().getName());\n\t\t\n\t\treturn result;\n\t}",
"title": ""
},
{
"docid": "5c86e2e53074ff430e01a07e7e14e62b",
"score": "0.5349522",
"text": "public interface m {\n void a(IBinder iBinder);\n\n void h();\n}",
"title": ""
},
{
"docid": "31cb21af7d7b6b6eeab3509528cd5fd1",
"score": "0.5347454",
"text": "public interface HandlerFace {\n\n public void setHeader(Header t);\n}",
"title": ""
},
{
"docid": "90866c9ce65ae8d5a0c9d8a87a20f854",
"score": "0.53395456",
"text": "private boolean applyInterfaceFilter(BCClass bcls) {\n\t\tif (_interfaces.isEmpty())\n\t\t\treturn true;\n\t\tString[] ifaces = bcls.getInterfaceNames();\n\t\tif (ifaces == null || ifaces.length == 0)\n\t\t\treturn false;\n\t\tfor (String iface : ifaces)\n\t\t\tif (_interfaces.contains(iface))\n\t\t\t\treturn true;\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "b07c45c162c91396d18fb2414e1e8438",
"score": "0.53329706",
"text": "public interface InvocationIterator\r\n\textends Iterator\r\n{\r\n public boolean hasNext();\r\n \r\n public Hook nextHook();\r\n}",
"title": ""
},
{
"docid": "ebe9b8b1a36176256892d7c6d305cdb1",
"score": "0.5323399",
"text": "public abstract void breakHandlerChain();",
"title": ""
},
{
"docid": "5a5dc38dffffb542c167552a5836c00c",
"score": "0.5323115",
"text": "@ReflectiveMethod(name = \"h\", types = {})\n public void h(){\n NMSWrapper.getInstance().exec(nmsObject);\n }",
"title": ""
},
{
"docid": "9c0180bb69715bd8f516118c62dddbf2",
"score": "0.532149",
"text": "interface U{\n public void method1();\n public void method2();\n public void method3();\n}",
"title": ""
},
{
"docid": "46a0b96f963e825a6275f2d31bd8c9c9",
"score": "0.5320887",
"text": "public boolean continueInvocation();",
"title": ""
},
{
"docid": "c49db557ba594bcbdee1b3d48f1e9169",
"score": "0.53134245",
"text": "Proxy(android.os.IBinder r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.android.ims.internal.IImsRegistrationListener.Stub.Proxy.<init>(android.os.IBinder):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.ims.internal.IImsRegistrationListener.Stub.Proxy.<init>(android.os.IBinder):void\");\n }",
"title": ""
},
{
"docid": "779083e98dd71f2717001fe452adea24",
"score": "0.53130025",
"text": "@AroundInvoke\n\tpublic Object intercept(InvocationContext ic) throws Exception {\n\t\tlog.entering(ic.getTarget().getClass().getName(), ic.getMethod().getName());\n\t\tlog.log(Level.INFO, \">>> user {0} invoced the method {1}.{2}({3})\",\n\t\t\t\tnew Object[] { \"Anonimous\", ic.getTarget().getClass().getName(), ic.getMethod().getName(),\n\t\t\t\t\t\tArrays.deepToString(ic.getParameters()) });\n\t\ttry {\n\t\t\treturn ic.proceed();\n\t\t} finally {\n\t\t\tlog.exiting(ic.getTarget().getClass().getName(), ic.getMethod().getName());\n\t\t\tlog.info(() -> \"<<< \" + ic.getTarget().getClass().getName() + \"-\" + ic.getMethod().getName());\n\t\t}\n\t}",
"title": ""
},
{
"docid": "2baee0b9e0b659111c913392f91d017f",
"score": "0.5310855",
"text": "private void handleSuperMethodInvocation(SuperMethodInvocation superMethodInvocation) {\n\r\n\t\tInvocation invocation = new Invocation(superMethodInvocation);\r\n\t\thandleInvocation(invocation);\r\n\t}",
"title": ""
},
{
"docid": "2ca2edb2cf512a6b107de9206e727553",
"score": "0.53087443",
"text": "interface NextFilter {\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterSendMessage(net.sf.beep4j.ChannelFilter.NextFilter, Message, ReplyHandler)}\n \t * on the next {@link ChannelFilter} in the chain.\n \t *\n \t * @param message the message to be sent\n \t * @param replyHandler the {@link ReplyHandler} that handles replies to this message\n \t */\n \tvoid filterSendMessage(Message message, ReplyHandler replyHandler);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterClose(net.sf.beep4j.ChannelFilter.NextFilter, CloseChannelCallback)}\n \t * on the next {@link ChannelFilter} in the chain.\n \t *\n \t * @param callback the close channel callback\n \t */\n \tvoid filterClose(CloseChannelCallback callback);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterChannelOpened(net.sf.beep4j.ChannelFilter.NextFilter, Channel)}\n \t * on the next filter in the chain.\n \t *\n \t * @param channel the opened channel\n \t */\n \tvoid filterChannelOpened(Channel channel);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterMessageReceived(net.sf.beep4j.ChannelFilter.NextFilter, Message, Reply)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the received message\n \t * @param reply the reply object used to send the reply\n \t */\n \tvoid filterMessageReceived(Message message, Reply reply);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterChannelCloseRequested(net.sf.beep4j.ChannelFilter.NextFilter, CloseChannelRequest)}\n \t * on the next filter in the chain.\n \t *\n \t * @param request the channel close request\n \t */\n \tvoid filterChannelCloseRequested(CloseChannelRequest request);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterChannelClosed(net.sf.beep4j.ChannelFilter.NextFilter)}\n \t * on the next filter in the chain.\n \t */\n \tvoid filterChannelClosed();\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterReceivedRPY(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the received message\n \t */\n \tvoid filterReceivedRPY(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterReceivedERR(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the received message\n \t */\n \tvoid filterReceivedERR(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterReceivedANS(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the received message\n \t */\n \tvoid filterReceivedANS(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterReceivedNUL(net.sf.beep4j.ChannelFilter.NextFilter)}\n \t * on the next filter in the chain.\n \t */\n \tvoid filterReceivedNUL();\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterSendRPY(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the RPY message to be sent\n \t */\n \tvoid filterSendRPY(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterSendERR(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the ERR message to be sent\n \t */\n \tvoid filterSendERR(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterSendANS(net.sf.beep4j.ChannelFilter.NextFilter, Message)}\n \t * on the next filter in the chain.\n \t *\n \t * @param message the ANS message to be sent\n \t */\n \tvoid filterSendANS(Message message);\n\n \t/**\n \t * Invokes the method\n \t * {@link ChannelFilter#filterSendNUL(net.sf.beep4j.ChannelFilter.NextFilter)}\n \t * on the next filter in the chain.\n \t */\n \tvoid filterSendNUL();\n\n }",
"title": ""
},
{
"docid": "8ad9565098de97ead9ea7450cd3b7a25",
"score": "0.5306902",
"text": "@Override\n\tpublic void caseStaticInvokeExpr(StaticInvokeExpr arg0) {\n\t\tNetAPI api = this.sigList.get(arg0.getMethod().toString());\n\t\tif(api!=null){\n\t\t\tthis.netVbs.add(NetAPI.createNetAPIInvoke(arg0));\n\t\t}\n\t\tfor(int i = 0; i<arg0.getArgCount(); i++){\n\t\t\tValue ut = arg0.getArg(i);\n\t\t\tut.apply(this);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "3a33776b5e09a4d209c19d86333c3098",
"score": "0.5290463",
"text": "public interface IUnitOfWorkFilterHandler {\n public void applyDisableFilter(IUnitOfWork uow,String filterName);\n public void applyEnableFilter(IUnitOfWork uow,String filterName);\n public void applyFilterParameterValue(IUnitOfWork uow,String filterName,String parameterName,Object value);\n}",
"title": ""
},
{
"docid": "3ad50faa96b958b303ac65f50ffe8674",
"score": "0.5285137",
"text": "protected void injectAtInvoke(Target target, InjectionNodes.InjectionNode node) {\n/* 283 */ MethodInsnNode methodNode = (MethodInsnNode)node.getCurrentTarget();\n/* 284 */ boolean targetIsStatic = (methodNode.getOpcode() == 184);\n/* 285 */ Type ownerType = Type.getType(\"L\" + methodNode.owner + \";\");\n/* 286 */ Type returnType = Type.getReturnType(methodNode.desc);\n/* 287 */ Type[] args = Type.getArgumentTypes(methodNode.desc);\n/* 288 */ Type[] stackVars = targetIsStatic ? args : (Type[])ObjectArrays.concat(ownerType, (Object[])args);\n/* 289 */ boolean injectTargetParams = false;\n/* */ \n/* 291 */ String desc = Bytecode.getDescriptor(stackVars, returnType);\n/* 292 */ if (!desc.equals(this.methodNode.desc)) {\n/* 293 */ String alternateDesc = Bytecode.getDescriptor((Type[])ObjectArrays.concat((Object[])stackVars, (Object[])target.arguments, Type.class), returnType);\n/* 294 */ if (alternateDesc.equals(this.methodNode.desc)) {\n/* 295 */ injectTargetParams = true;\n/* */ } else {\n/* 297 */ throw new InvalidInjectionException(this.info, this.annotationType + \" handler method \" + this + \" has an invalid signature, expected \" + desc + \" found \" + this.methodNode.desc);\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* 302 */ InsnList insns = new InsnList();\n/* 303 */ int extraLocals = Bytecode.getArgsSize(stackVars) + 1;\n/* 304 */ int extraStack = 1;\n/* 305 */ int[] argMap = storeArgs(target, stackVars, insns, 0);\n/* 306 */ if (injectTargetParams) {\n/* 307 */ int argSize = Bytecode.getArgsSize(target.arguments);\n/* 308 */ extraLocals += argSize;\n/* 309 */ extraStack += argSize;\n/* 310 */ argMap = Ints.concat(new int[][] { argMap, target.getArgIndices() });\n/* */ } \n/* 312 */ AbstractInsnNode insn = invokeHandlerWithArgs(this.methodArgs, insns, argMap);\n/* 313 */ target.replaceNode((AbstractInsnNode)methodNode, insn, insns);\n/* 314 */ target.addToLocals(extraLocals);\n/* 315 */ target.addToStack(extraStack);\n/* */ }",
"title": ""
},
{
"docid": "2c93a0f6aa7ca644c55fa474798ce9ea",
"score": "0.52833337",
"text": "public Object invoke(Object paramObject, final Method method, Object[] paramArrayOfObject) throws Throwable {\n/* 127 */ String str = this.classData.getIDLNameTranslator().getIDLName(method);\n/* */ \n/* 129 */ DynamicMethodMarshaller dynamicMethodMarshaller = this.pm.getDynamicMethodMarshaller(method);\n/* */ \n/* 131 */ Delegate delegate = null;\n/* */ try {\n/* 133 */ delegate = StubAdapter.getDelegate(this.stub);\n/* 134 */ } catch (SystemException systemException) {\n/* 135 */ throw Util.mapSystemException(systemException);\n/* */ } \n/* */ \n/* 138 */ if (!isLocal()) {\n/* */ try {\n/* 140 */ InputStream inputStream = null;\n/* */ \n/* */ \n/* */ \n/* */ try {\n/* 145 */ OutputStream outputStream = (OutputStream)delegate.request(this.stub, str, true);\n/* */ \n/* */ \n/* 148 */ dynamicMethodMarshaller.writeArguments(outputStream, paramArrayOfObject);\n/* */ \n/* */ \n/* */ \n/* 152 */ inputStream = (InputStream)delegate.invoke(this.stub, (OutputStream)outputStream);\n/* */ \n/* */ \n/* 155 */ return dynamicMethodMarshaller.readResult(inputStream);\n/* 156 */ } catch (ApplicationException applicationException) {\n/* 157 */ throw dynamicMethodMarshaller.readException(applicationException);\n/* 158 */ } catch (RemarshalException remarshalException) {\n/* 159 */ return invoke(paramObject, method, paramArrayOfObject);\n/* */ } finally {\n/* 161 */ delegate.releaseReply(this.stub, (InputStream)inputStream);\n/* */ } \n/* 163 */ } catch (SystemException systemException) {\n/* 164 */ throw Util.mapSystemException(systemException);\n/* */ } \n/* */ }\n/* */ \n/* 168 */ ORB oRB = (ORB)delegate.orb(this.stub);\n/* 169 */ ServantObject servantObject = delegate.servant_preinvoke(this.stub, str, method\n/* 170 */ .getDeclaringClass());\n/* 171 */ if (servantObject == null) {\n/* 172 */ return invoke(this.stub, method, paramArrayOfObject);\n/* */ }\n/* */ try {\n/* 175 */ Object[] arrayOfObject = dynamicMethodMarshaller.copyArguments(paramArrayOfObject, oRB);\n/* */ \n/* 177 */ if (!method.isAccessible())\n/* */ {\n/* */ \n/* */ \n/* 181 */ AccessController.doPrivileged(new PrivilegedAction() {\n/* */ public Object run() {\n/* 183 */ method.setAccessible(true);\n/* 184 */ return null;\n/* */ }\n/* */ });\n/* */ }\n/* */ \n/* 189 */ Object object = method.invoke(servantObject.servant, arrayOfObject);\n/* */ \n/* 191 */ return dynamicMethodMarshaller.copyResult(object, oRB);\n/* 192 */ } catch (InvocationTargetException invocationTargetException) {\n/* 193 */ Throwable throwable1 = invocationTargetException.getCause();\n/* */ \n/* 195 */ Throwable throwable2 = (Throwable)Util.copyObject(throwable1, (ORB)oRB);\n/* 196 */ if (dynamicMethodMarshaller.isDeclaredException(throwable2)) {\n/* 197 */ throw throwable2;\n/* */ }\n/* 199 */ throw Util.wrapException(throwable2);\n/* 200 */ } catch (Throwable throwable) {\n/* 201 */ if (throwable instanceof ThreadDeath) {\n/* 202 */ throw (ThreadDeath)throwable;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 207 */ throw Util.wrapException(throwable);\n/* */ } finally {\n/* 209 */ delegate.servant_postinvoke(this.stub, servantObject);\n/* */ } \n/* */ }",
"title": ""
},
{
"docid": "6c91a525dca888266ff2095fb522bbc4",
"score": "0.5282789",
"text": "public interface ItemInvoker {\n boolean mo314a(MenuItemImpl menuItemImpl);\n }",
"title": ""
},
{
"docid": "8b6df25053f6a8fc30aa121dacc08e87",
"score": "0.5282458",
"text": "public interface Interceptor\n{\n\t/**\n\t * Do intercept and invoke chain.doInterceptor() to process next\n\t * interceptor. NOTE that process will not continue if chain.doInterceptor()\n\t * method is not invoked.\n\t * \n\t * @param execution Execution instance to handle http request.\n\t * @param chain Interceptor chain.\n\t * @throws Exception If any exception is thrown, process will not continued.\n\t */\n\tvoid intercept(Execution execution, InterceptorChain chain) throws Exception;\n}",
"title": ""
},
{
"docid": "29d29fc1ec75738fd01dae95b084c06b",
"score": "0.5280841",
"text": "public interface Attack_interface {\n void attack(BaseObject bo);\n}",
"title": ""
},
{
"docid": "d0c7090a0cc571d7702ee7c8f835429a",
"score": "0.5277855",
"text": "Acteur getDelegate();",
"title": ""
},
{
"docid": "89ab7e55a9cc1e288df4b819e7adcf5b",
"score": "0.52778465",
"text": "Proxy(android.os.IBinder r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: android.media.tv.ITvRemoteServiceInput.Stub.Proxy.<init>(android.os.IBinder):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.media.tv.ITvRemoteServiceInput.Stub.Proxy.<init>(android.os.IBinder):void\");\n }",
"title": ""
},
{
"docid": "5d4951130b16a6b4d76a9d892b6bac48",
"score": "0.52675575",
"text": "private static void objectInstanceMethodReference() {\n\t\tList<String> namesList = new ArrayList<String>();\n\t\tnamesList.add(\"Tony\");\n\t\tnamesList.add(\"Robbins\");\n\n\t\t// Iterate the java 8 way\n\t\t// DIGGING INTO THE SOURCE CODE\n//\t@FunctionalInterface\n//\tpublic interface Consumer<T>\n// \tvoid accept(T t)\n\n//\tvoid accept(String item)\t{\n//\t\tSystem.out.println(item);\n//\t}\n\t\tnamesList.forEach(item -> System.out.println(item));\n\n\t\t// Iterate the java 8 way\n\t\tnamesList.forEach(item -> {\n\t\t\tif (item.length() > 4)\n\t\t\t\tSystem.out.println(\"Condition : \" + item);\n\t\t});\n\t\t// Filtering the results\n\n\t\t// Iterating an array with method reference\n\t\tnamesList.forEach(System.out::println);\n//\t default void forEach(Consumer<? super T> action) {\n//\t Objects.requireNonNull(action);\n//\t for (T t : this) {\n//\t action.accept(t);\n//\t }\n//\t }\n\t}",
"title": ""
},
{
"docid": "f4ef74a01be69fd3535b8e0509805979",
"score": "0.5265448",
"text": "public interface Target {\n public void request();\n}",
"title": ""
},
{
"docid": "f078989d9a62668fae45dc2a5af25d1c",
"score": "0.52587926",
"text": "private void searchParentMethod() {\n // look at parent classes\n Method[] methods = m_dependency.getHandler().getInstanceManager().getClazz().getMethods();\n for (int i = 0; i < methods.length; i++) {\n // First check the method name\n if (methods[i].getName().equals(m_method)) {\n // Check arguments\n Class[] clazzes = methods[i].getParameterTypes();\n switch (clazzes.length) {\n case 0:\n // Callback with no arguments.\n m_methodObj = methods[i];\n m_argument = new String[0];\n return;\n case 1:\n // The callback receives a ServiceReference\n if (clazzes[0].getName().equals(ServiceReference.class.getName())) {\n // Callback with a service reference.\n m_methodObj = methods[i];\n m_argument = new String[]{ServiceReference.class.getName()};\n return;\n }\n // The callback receives a Service object\n if (clazzes[0].getName().equals(m_dependency.getSpecification().getName())) {\n // Callback with the service object.\n m_methodObj = methods[i];\n m_argument = new String[]{m_dependency.getSpecification().getName()};\n return;\n }\n break;\n case 2:\n // The callback receives the service object and the service reference\n if (clazzes[0].getName().equals(m_dependency.getSpecification().getName()) && clazzes[1].getName().equals(ServiceReference.class.getName())) {\n // Callback with two arguments.\n m_methodObj = methods[i];\n m_argument = new String[]{m_dependency.getSpecification().getName(), ServiceReference.class.getName()};\n return;\n }\n // The callback receives the service object and the service properties (in a Map)\n if (clazzes[0].getName().equals(m_dependency.getSpecification().getName()) && clazzes[1].getName().equals(Map.class.getName())) {\n // Callback with two arguments.\n m_methodObj = methods[i];\n m_argument = new String[]{m_dependency.getSpecification().getName(), Map.class.getName()};\n return;\n }\n // The callback receives the service object and the service properties (in a Dictionary)\n if (clazzes[0].getName().equals(m_dependency.getSpecification().getName()) && clazzes[1].getName().equals(Dictionary.class.getName())) {\n // Callback with two arguments.\n m_methodObj = methods[i];\n m_argument = new String[]{m_dependency.getSpecification().getName(), Dictionary.class.getName()};\n return;\n }\n break;\n default:\n break;\n }\n }\n }\n }",
"title": ""
},
{
"docid": "058901b25ad6d9eebb825889e63af2ac",
"score": "0.5257921",
"text": "@Override\n public void methodA() {\n System.out.println(\"Inside method A Main class\"+Client14_InterfaceConflict.class);\n }",
"title": ""
},
{
"docid": "086d842356366d6f7a4ec8bd13948b3f",
"score": "0.52566487",
"text": "private final void delegateCall(MethodVisitor mv, Method currentTransformMethod, String typeName) {\r\n\t\tint nargs = currentTransformMethod.getArgumentTypes().length;\r\n\r\n\t\tfor (int i = 1; i <= nargs; i++) {\r\n\t\t\tswitch (currentTransformMethod.getArgumentTypes()[i - 1].getSort()) {\r\n\t\t\tcase (Type.BOOLEAN):\r\n\t\t\tcase (Type.BYTE):\r\n\t\t\tcase (Type.CHAR):\r\n\t\t\tcase (Type.SHORT):\r\n\t\t\tcase (Type.INT):\r\n\t\t\t\tmv.visitVarInsn(ILOAD, i);\r\n\t\t\t\tbreak;\r\n\t\t\tcase (Type.FLOAT):\r\n\t\t\t\tmv.visitVarInsn(FLOAD, i);\r\n\t\t\t\tbreak;\r\n\t\t\tcase (Type.DOUBLE):\r\n\t\t\t\tmv.visitVarInsn(DLOAD, i);\r\n\t\t\t\tbreak;\r\n\t\t\tcase (Type.LONG):\r\n\t\t\t\tmv.visitVarInsn(LLOAD, i);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tmv.visitVarInsn(ALOAD, i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tmv.visitMethodInsn(INVOKEVIRTUAL, typeName, currentTransformMethod.getName(), currentTransformMethod.getDescriptor());\r\n\r\n\t\tswitch (currentTransformMethod.getReturnType().getSort()) {\r\n\t\tcase (Type.BOOLEAN):\r\n\t\tcase (Type.BYTE):\r\n\t\tcase (Type.CHAR):\r\n\t\tcase (Type.SHORT):\r\n\t\tcase (Type.INT):\r\n\t\t\tmv.visitInsn(IRETURN);\r\n\t\t\tbreak;\r\n\t\tcase (Type.VOID):\r\n\t\t\tmv.visitInsn(RETURN);\r\n\t\t\tbreak;\r\n\t\tcase (Type.FLOAT):\r\n\t\t\tmv.visitInsn(FRETURN);\r\n\t\t\tbreak;\r\n\t\tcase (Type.DOUBLE):\r\n\t\t\tmv.visitInsn(DRETURN);\r\n\t\t\tbreak;\r\n\t\tcase (Type.LONG):\r\n\t\t\tmv.visitInsn(LRETURN);\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tmv.visitInsn(ARETURN);\r\n\t\t}\r\n\t}",
"title": ""
}
] |
92f0188043308e99aa434e50ed85c1ac | Keep track of a player's new target using this event. It's worth noting that if you aren't in a fight, all player interactions including trading & following will trigger a new fight and a new opponent. Due to this, set the lastFightTime (in FightPerformance) in the past to only be 5 seconds before the time NEW_FIGHT_DELAY would trigger and unset the opponent, in case the player follows a different player before actually starting a fight or getting attacked. In other words, remain skeptical of the validity of this event. | [
{
"docid": "e367852cf2272659fcb19f8785073a60",
"score": "0.541711",
"text": "@Subscribe\n\tpublic void onInteractingChanged(InteractingChanged event)\n\t{\n\t\tif (config.restrictToLms() && !isAtLMS())\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tstopFightIfOver();\n\n\t\t// if the client player already has a valid opponent,\n\t\t// or the event source/target aren't players, skip any processing.\n\t\tif ((hasOpponent() && currentFight.fightStarted())\n\t\t\t|| !(event.getSource() instanceof Player)\n\t\t\t|| !(event.getTarget() instanceof Player))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tActor opponent;\n\n\t\t// If the event source is the player, then it is the player interacting with their potential opponent.\n\t\tif (event.getSource().equals(client.getLocalPlayer()))\n\t\t{\n\t\t\topponent = event.getTarget();\n\t\t}\n\t\telse if (event.getTarget().equals(client.getLocalPlayer()))\n\t\t{\n\t\t\topponent = event.getSource();\n\t\t}\n\t\telse // if neither source or target was the player, skip\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\t// start a new fight with the new found opponent, if a new one.\n\t\tif (!hasOpponent() || !currentFight.getOpponent().getName().equals(opponent.getName()))\n\t\t{\n\t\t\tcurrentFight = new FightPerformance(client.getLocalPlayer(), (Player)opponent);\n\t\t\toverlay.setFight(currentFight);\n\t\t}\n\t}",
"title": ""
}
] | [
{
"docid": "bb4c9bc458f8a936aaf04a747a769916",
"score": "0.5939384",
"text": "public void setAttackTarget(EntityLivingBase p_70624_1_) {\n/* 164 */ this.attackTarget = p_70624_1_;\n/* 165 */ Reflector.callVoid(Reflector.ForgeHooks_onLivingSetAttackTarget, new Object[] { this, p_70624_1_ });\n/* */ }",
"title": ""
},
{
"docid": "9403d7c87ce798ff2481aee3c4095411",
"score": "0.58757144",
"text": "@Override\n public void specialAttack(Player target) {\n int bonus;\n int newLifeValue = this.getLife() + this.getIntelligence()*2;\n\n if (newLifeValue < this.maxLife) {\n bonus = this.getIntelligence()*2;\n System.out.println(\"Joueur \" + this.getPlayerNumber() + \" utilise Soin et gagne \" + bonus + \" en vitalité.\");\n this.setLife(newLifeValue);\n } else {\n bonus = this.maxLife - this.getLife();\n System.out.println(\"Joueur \" + this.getPlayerNumber() + \" utilise Soin et gagne \" + bonus + \" en vitalité.\");\n this.setLife(maxLife);\n }\n }",
"title": ""
},
{
"docid": "adb6fe27d96947b31620f55bc8bc7757",
"score": "0.57740724",
"text": "public Attack fight(String opponent) {\n if (eatTime < hungerTime) {\n return Attack.SCRATCH;\n } else {\n return Attack.POUNCE;\n }\n }",
"title": ""
},
{
"docid": "7c214b1d073fa8f8f1ff27bc9c1706d9",
"score": "0.57134044",
"text": "public void attack(Fighter target){\n int random = (int) (Math.random() * 10);\n\n if(isDead()){\n System.out.println(\"I'm ded\");\n return;\n }\n\n if (random < 5) {\n castSpell(target);\n return;\n }\n\n strike(target);\n }",
"title": ""
},
{
"docid": "69b2bfec4679d34c4f040bc08af88a55",
"score": "0.5700697",
"text": "private void attackTarget( Timer theTimer )\n\t{\n\t\tif( ( theTimer.isTriggered() && !theTimer.isStopped() ) &&\n\t\t myListener != null )\t\t\t\t\t\n\t\t\tmyListener.attackTarget( myDamage, myName ); \t\t\t\n\t}",
"title": ""
},
{
"docid": "c833eca087f14e7a13cf249ca0ced6a7",
"score": "0.56756556",
"text": "@Override\n public void basicAttack(Player target) {\n int damagesTarget = this.getIntelligence();\n target.setLife(target.getLife() - damagesTarget);\n System.out.println(\"Joueur \" + this.getPlayerNumber() + \" utilise Boule de Feu et inflige \" + damagesTarget + \" dommages.\");\n System.out.println(\"Joueur \" + target.getPlayerNumber() + \" perd \" + damagesTarget + \" points de vie\");\n if (target.getLife() <= 0)\n System.out.println(\"Joueur \" + target.getPlayerNumber() + \" est mort\");\n }",
"title": ""
},
{
"docid": "e08f6290f1f61279fd79ff5fe17f38aa",
"score": "0.56702554",
"text": "@Override\r\n public void setTarget(final Hero inTarget) {\r\n this.baseDamage = ParalysisDefaults.BASE_DAMAGE;\r\n this.damageBonusPerLevel = ParalysisDefaults.DAMAGE_BONUS_PER_LEVEL;\r\n this.damagePerTurn = ParalysisDefaults.BASE_DAMAGE_PER_TURN;\r\n this.damagePerTurnBonusPerLevel = ParalysisDefaults.DAMAGE_PER_TURN_BONUS_PER_LEVEL;\r\n super.setTarget(inTarget);\r\n\r\n if (target.getPosition().getType() == TileType.WOODS) {\r\n this.numTurnsLeft = ParalysisDefaults.WOODS_DURATION;\r\n } else {\r\n this.numTurnsLeft = ParalysisDefaults.DURATION;\r\n }\r\n }",
"title": ""
},
{
"docid": "ea13d746a26f6a304acac42cbe4bc0e4",
"score": "0.5655137",
"text": "public void execute() {\r\n\r\n\t\tif(player == null || target == null) {\r\n\t\t stop();\r\n\t\t return;\r\n\t\t}\r\n\t\tif(player.getCharacter().getTarget() != target || target.isDead()) {\r\n\t\t if(!checkRestrictions(player, target))\r\n\t\t\tLog.log(\"checkrestriction\");\r\n\t\t stop();\r\n\t\t return;\r\n\t\t}\r\n\r\n\r\n\r\n\t\t/** Temporary way of getting the damage, @todo: make a variable of max and minimum damage that gets changed upon equip event etc. **/\r\n\t\tItem righthand = player.getCharacter().getEquipment().getRight_hand();\r\n\r\n\t\tint damage = Formula.calcDamage(player);\r\n\r\n\t\t\r\n\r\n\t\tplayer.getCharacter().getTarget().dealDamage(damage);\r\n\t\tplayer.getActionSender().sendSystemMessage(\"HP: \" + player.getCharacter().getTarget().getCurHP() + \"/\" + player.getCharacter().getTarget().getMaxHealth());\r\n\t\t/** Update players around us **/\r\n\t\tfor(Player p : player.getMap().getPlayers().values()) {\r\n\t\t if(Formula.inView(p.getCharacter(), player.getCharacter())) {\r\n\t\t\tp.getActionSender().attack(player, player.getCharacter().getTarget().getUID(), player.getCharacter().getTarget().getX(), player.getCharacter().getTarget().getY(), type, damage);\r\n\t\t }\r\n\t\t}\r\n\r\n\r\n\t\tcheckWeaponSkills(player);\r\n\r\n\r\n\t\t/** Handle what happens when they die **/\r\n\t\tif(player.getCharacter().getTarget().getCurHP() < 1) {\r\n\t\t /** Update all players around us, of the final hit animation **/\r\n\t\t for(Player p : player.getMap().getPlayers().values()) {\r\n\t\t\tif(Formula.inView(p.getCharacter(), player.getCharacter())) {\r\n\t\t\t p.getActionSender().attack(player, player.getCharacter().getTarget().getUID(), player.getCharacter().getTarget().getX(), player.getCharacter().getTarget().getY(), 14, 0); // final hit (kill)\r\n\t\t\t}\r\n\t\t }\r\n\t\t player.getCharacter().getTarget().onDeath(player);\r\n\t\t stop();\r\n\t\t}\r\n\r\n\t\t/** Check and remove arrows if this fight is using a bow **/\r\n\t\tif(righthand != null) {\r\n\t\t if(type == 25) {\r\n\t\t\tif(righthand.getDef().isTypeBow()) {\r\n\t\t\t Item arrow = player.getCharacter().getEquipment().getLeft_hand();\r\n\t\t\t if(arrow != null && arrow.getDef().isArrows())\r\n\t\t\t\tif(arrow.getArrowAmount() > 1) {\r\n\t\t\t\t arrow.setArrowAmount(arrow.getArrowAmount() - 1);\r\n\t\t\t\t player.getActionSender().sendEquippedItem(arrow, Formula.LEFT_WEAPON_EQUIP_SLOT);\r\n\t\t\t\t} else {\r\n\t\t\t\t player.getActionSender().sendSystemMessage(\"You have ran out of arrows\");\r\n\t\t\t\t player.getActionSender().sendUnequipItem(arrow, Formula.LEFT_WEAPON_EQUIP_SLOT);\r\n\t\t\t\t player.getActionSender().removeItem(arrow);\r\n\t\t\t\t player.getCharacter().getEquipment().setLeft_hand(null);\r\n\t\t\t\t stop();\r\n\t\t\t\t return;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t stop();\r\n\t\t\t return;\r\n\t\t\t}\r\n\t\t } \r\n\t\t}\r\n\t\t/** Set the rolling delay, for a second or so to auto process the next hit, faster if cyclone is in use **/\r\n\t\tsuper.delayTime = Formula.rand(800, 1200);\r\n\r\n\t\t/** ---------------------- Fight event ENDS here -------------------**/\r\n\t }",
"title": ""
},
{
"docid": "8373f0bac5219e38e8c5efbfdee3cf42",
"score": "0.5648499",
"text": "@Override\n\tpublic void onPlayerForfeited(Game game, GameRound round, Player player) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "a435acbc3dc787935ebef6d767413d8d",
"score": "0.55712664",
"text": "private Target chooseNewTarget(Player player, SpellAbility spellAbility, Mode mode, Target target, boolean forceChange, Game game) {\n Target newTarget = target.copy();\n newTarget.clearChosen();\n for (UUID targetId : target.getTargets()) {\n String targetNames = getNamesOftargets(targetId, game);\n // change the target?\n if (targetNames != null\n && (forceChange || player.chooseUse(mode.getEffects().get(0).getOutcome(), \"Change this target: \" + targetNames + \"?\", game))) { \n // choose exactly one other target\n if (forceChange && target.possibleTargets(this.getSourceId(), getControllerId(), game).size() > 1) { // controller of spell must be used (e.g. TargetOpponent)\n int iteration = 0;\n do {\n if (iteration > 0 && !game.isSimulation()) {\n game.informPlayer(player, \"You may only select exactly one target that must be different from the origin target!\");\n }\n iteration++;\n newTarget.clearChosen();\n // TODO: Distinction between \"spell controller\" and \"player that can change the target\" - here player is used for both \n newTarget.chooseTarget(mode.getEffects().get(0).getOutcome(), player.getId(), spellAbility, game); \n } while (player.isInGame() && (targetId.equals(newTarget.getFirstTarget()) || newTarget.getTargets().size() != 1));\n // choose a new target\n } else {\n // build a target definition with exactly one possible target to select that replaces old target\n Target tempTarget = target.copy();\n if (target instanceof TargetAmount) {\n ((TargetAmount)tempTarget).setAmountDefinition(new StaticValue(target.getTargetAmount(targetId)));\n }\n tempTarget.setMinNumberOfTargets(1);\n tempTarget.setMaxNumberOfTargets(1);\n boolean again;\n do {\n again = false;\n tempTarget.clearChosen();\n if (!tempTarget.chooseTarget(mode.getEffects().get(0).getOutcome(), player.getId(), spellAbility, game)) {\n if (player.chooseUse(Outcome.Benefit, \"No target object selected. Reset to original target?\", game)) {\n // use previous target no target was selected\n newTarget.addTarget(targetId, target.getTargetAmount(targetId), spellAbility, game, false);\n } else {\n again = true;\n }\n } else {\n // if possible add the alternate Target - it may not be included in the old definition nor in the already selected targets of the new definition\n if (newTarget.getTargets().contains(tempTarget.getFirstTarget()) || target.getTargets().contains(tempTarget.getFirstTarget())) {\n if(player.isHuman()) {\n game.informPlayer(player, \"This target was already selected from origin spell. You can only keep this target!\");\n again = true;\n } else {\n newTarget.addTarget(targetId, target.getTargetAmount(targetId), spellAbility, game, false);\n }\n } else {\n // valid target was selected, add it to the new target definition\n newTarget.addTarget(tempTarget.getFirstTarget(), target.getTargetAmount(targetId), spellAbility, game, false);\n }\n }\n } while (again && player.isInGame());\n } \n }\n // keep the target\n else { \n newTarget.addTarget(targetId, target.getTargetAmount(targetId), spellAbility, game, false);\n }\n } \n return newTarget;\n }",
"title": ""
},
{
"docid": "38b1e2d0ba5e68ebe6b6bced5e17a70e",
"score": "0.5564201",
"text": "private void onDamageTaken(DamageTakenEvent e){\n currentState = HURT;\n }",
"title": ""
},
{
"docid": "41644ba93e6c8184af631c52cb26c187",
"score": "0.55586386",
"text": "public void lastDamageDone(Player player, EntityDamageEvent event) {\r\n\t\tString lastdamage = event.getCause().name();\r\n \r\n\t\tif (event instanceof EntityDamageByEntityEvent) {\r\n \r\n EntityDamageByEntityEvent mobevent = (EntityDamageByEntityEvent) event;\r\n\t\t\tEntity attacker = mobevent.getDamager();\r\n \r\n if (attacker instanceof Projectile) {\r\n Projectile p = (Projectile) attacker;\r\n if(p.getShooter() == null)\r\n lastdamage = attacker.toString();\r\n else\r\n lastdamage = p.getShooter().toString();\r\n\t\t\t}\r\n \r\n else if (attacker instanceof Player) {\r\n\t\t\t\tPlayer pvper = (Player) attacker;\r\n\t\t\t\tString usingitem = pvper.getItemInHand().getType().name();\r\n\t\t\t\tif (usingitem == \"AIR\") {\r\n\t\t\t\t\tusingitem = \"fist\";\r\n\t\t\t\t}\r\n\t\t\t\tusingitem = usingitem.toLowerCase();\r\n\t\t\t\tusingitem = usingitem.replace(\"_\", \" \");\r\n\t\t\t\tlastdamage = \"PVP:\" + usingitem + \":\" + pvper.getName();\r\n\t\t\t}\r\n \r\n else if (attacker instanceof Wolf) {\r\n lastdamage = \"CraftWolf\";\r\n }\r\n \r\n else if (attacker instanceof LivingEntity) {\r\n lastdamage = attacker.toString();\r\n }\r\n\t\t}\r\n \r\n if(lastdamage.contains(\"Craft\")) {\r\n// TombPlugin.slog(player, \"Before regex: \" + lastdamage);\r\n //(?<=Craft)\\S*\r\n Pattern p = Pattern.compile(\"(?<=Craft)\\\\S*\");\r\n Matcher m = p.matcher(lastdamage);\r\n if(m.find()){\r\n lastdamage = m.group();\r\n }\r\n// TombPlugin.slog(player, \"After regex:\" + lastdamage);\r\n }\r\n \r\n lastPlayerDmg.put(player.getName(), lastdamage);\r\n\t\tbeforeDamage = lastdamage;\r\n //TombPlugin.slog(player, \"registered: \" + lastdamage);\r\n\t}",
"title": ""
},
{
"docid": "f31b8fa431a87c2570681f8d1b717d9a",
"score": "0.55583453",
"text": "public List<Event> useHeroPower(Player player, String targetId);",
"title": ""
},
{
"docid": "503d69f615ab12201d45a1945f93cf24",
"score": "0.5537665",
"text": "public void onPlayerHurt() {\n\n double attackerInitialKarma = getSet.getPlayerKarma(attacker);\n double victimKarma = getSet.getPlayerKarma(victim);\n\n if (!(!(victim.getName().equals(attacker.getName())) && damage >= 1d)) {\n return;\n }\n double arg1 = plugin.getConfig().getDouble(\"pvp.hit-reward-variables.1\");\n String arg2Str = plugin.getConfig().getString(\"pvp.hit-reward-variables.2\");\n double arg2 = 0;\n double arg3 = plugin.getConfig().getDouble(\"pvp.hit-reward-variables.3\");\n double arg4 = plugin.getConfig().getDouble(\"pvp.hit-reward-variables.4\");\n\n if (arg2Str != null) {\n if (arg2Str.equalsIgnoreCase(\"<VICTIM_KARMA>\")) {\n if (!victim.hasMetadata(\"NPC\")) {\n arg2 = victimKarma;\n } else if (victim.hasMetadata(\"Karma\")) {\n if (victim.getMetadata(\"Karma\").get(0) != null) {\n arg2 = victim.getMetadata(\"Karma\").get(0).asDouble();\n } else {\n return;\n }\n }\n } else {\n arg2 = Double.parseDouble(arg2Str);\n }\n }\n\n double formula = arg1 * (arg2 + arg3) / arg4;\n\n if (Bukkit.getServer().getPluginManager().isPluginEnabled(\"WorldGuard\") && plugin\n .getConfig().getBoolean(\"general.use-worldguard\")) {\n WGPreps wgPreps = new WGPreps();\n double mult = wgPreps.checkMultipleKarmaFlags(attacker);\n formula = formula * mult;\n }\n\n double attackerNewKarma = attackerInitialKarma + formula;\n\n if (plugin.getConfig().getBoolean(\"pvp.crime-time.enable\") && !(attacker.hasMetadata(\"NPC\")\n || victim.hasMetadata(\"NPC\"))) {\n long timeStamp = System.currentTimeMillis();\n long delay = plugin.getConfig().getLong(\"pvp.crime-time.delay\");\n\n long attackEnd = getSet.getPlayerLastAttack(attacker) + delay * 1000;\n long victimEnd = getSet.getPlayerLastAttack(victim) + delay * 1000;\n\n if (getSet.getPlayerLastAttack(attacker) != 0L\n && getSet.getPlayerLastAttack(victim) != 0L) {\n if ((timeStamp >= getSet.getPlayerLastAttack(attacker) && timeStamp <= attackEnd)\n || timeStamp > victimEnd) {\n getSet.setLastAttackToPlayer(attacker);\n } else {\n if (!doesDefendChangeKarma(attackerInitialKarma, attackerNewKarma)) {\n message = configLang.getString(\"self-defending-off\");\n adaptMessage.message(null, attacker, 0, message);\n return;\n }\n message = configLang.getString(\"self-defending-on\");\n adaptMessage.message(null, attacker, 0, message);\n }\n } else if (getSet.getPlayerLastAttack(victim) == 0L) {\n getSet.setLastAttackToPlayer(attacker);\n } else if (getSet.getPlayerLastAttack(victim) != 0L) {\n if (timeStamp >= getSet.getPlayerLastAttack(victim) && timeStamp <= victimEnd) {\n if (!doesDefendChangeKarma(attackerInitialKarma, attackerNewKarma)) {\n message = configLang.getString(\"self-defending-off\");\n adaptMessage.message(null, attacker, 0, message);\n return;\n }\n message = configLang.getString(\"self-defending-on\");\n adaptMessage.message(null, attacker, 0, message);\n } else {\n getSet.setLastAttackToPlayer(attacker);\n }\n }\n\n }\n\n getSet.setKarmaToPlayer(attacker, attackerNewKarma);\n getSet.setTierToPlayer(attacker);\n\n message = null;\n if (attackerNewKarma > attackerInitialKarma) {\n message = plugin.getConfig().getString(\"pvp.hit-message-on-karma-increase\");\n } else if (attackerNewKarma < attackerInitialKarma) {\n message = plugin.getConfig().getString(\"pvp.hit-message-on-karma-decrease\");\n }\n if (message != null) {\n adaptMessage.playerHitMessage(message, attacker, victim, attackerInitialKarma);\n }\n }",
"title": ""
},
{
"docid": "777e4cc7b0ef385b4791f1316608ccce",
"score": "0.5536809",
"text": "public void addTarget(EntityPlayer player){\n targets.put(player, 20);\n }",
"title": ""
},
{
"docid": "a6ad559d6114ec80a22fee793c924438",
"score": "0.55082893",
"text": "public void reportBestTargetBot( fighterBot bestTargetBot ) {\n\t\tif ( bestTargetBot != null ) {\n\t\t\tif ( targetBot != null ) {\n\t\t\t\tif ( !targetBot.getName().equals( bestTargetBot.getName() ) ) {\n\t\t\t\t\tlogger.routine( \"\" + myBot.getTime() + \" best target \" + bestTargetBot.getName() );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tlogger.routine( \"\" + myBot.getTime() + \" best target \" + bestTargetBot.getName() );\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "1df9d8a38b31507e37bf34c9ed9645c9",
"score": "0.55013925",
"text": "@EventHandler(priority=EventPriority.NORMAL)\n\tpublic void onEntityTarget(EntityTargetLivingEntityEvent event){\n\t\tif(event.getEntity() instanceof ExperienceOrb){\n\t\t\tExperienceOrb orb = (ExperienceOrb) event.getEntity();\n\t\t\tif(orb.getExperience() < 1)\n\t\t\t\torb.setExperience(7);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "fa22277677aeff24b23ed995e23d0d66",
"score": "0.549172",
"text": "public static void onLevelUpEvent(){\n //TODO Potentially rename method.\n //Update combat style to give even levels\n Combat.AttackStyle currentAttackStyle = Combat.getAttackStyle();\n Combat.AttackStyle bestAttackStyle = Fighting.getBestAttackStyle();\n\n if (bestAttackStyle != currentAttackStyle) {\n CombatStyle.setAttackStyle(bestAttackStyle);\n Log.info(\"New best attack style set: \" + bestAttackStyle);\n }\n\n //Update target to give best xp based on levels\n Target bestTarget = Target.getBestTarget();\n if (bestTarget != currentTarget){\n //Walk to the new training area unless just starting the script\n //If just starting the script we need to do more checks before walking\n if (currentTarget != null)\n updateScriptState(ScriptState.WALKING);\n\n Log.info(\"New target NPC set: \" + bestTarget.toString());\n updateTarget(bestTarget);\n }\n\n if (!Movement.isRunEnabled())\n Movement.toggleRun(true);\n }",
"title": ""
},
{
"docid": "5c084b2f1ac75f35ca6d3c2b4b9f733f",
"score": "0.5435273",
"text": "public static void fight(long playerId, long opponentPlayerId) {\n Player p = GMV.getInstance().getDb().getPlayer(playerId);\n String me = p.getName();\n Player pl = GMV.db.getPlayer(opponentPlayerId);\n String him = pl.getName();\n String fightResult = \"\";\n double currentRandom;\n while (pl.getStats().getHp() >= 20 && p.getStats().getHp() >= 20) {\n currentRandom = Math.random();\n if (currentRandom > 0.5) {\n //P gets to hit\n p.getStats().setHp(p.getStats().getHp() - pl.getStats().getAttack());\n } else {\n //this gets to hit\n pl.getStats().setHp(pl.getStats().getHp() - p.getStats().getAttack());\n }\n }\n if (p.getStats().getHp() >= 20) {\n fightResult = \"The winner is you!\";\n int plLevel = pl.getExperience().getLevel();\n LevelComputer.incrementExperience(p.getExperience(), plLevel); //Increment p's exp with pl's level.\n } else {\n fightResult = \"You lost the game.\";\n int pLevel = p.getExperience().getLevel();\n LevelComputer.incrementExperience(pl.getExperience(), pLevel); //Increment pl's exp with p's level.\n }\n p.getStats().setStamina(p.getStats().getStamina() - 1);\n GMV.getInstance().getDb().editPlayer(pl);\n GMV.getInstance().getDb().editPlayer(p);\n\n UiControllerBean.dispatchMessage(fightResult);\n }",
"title": ""
},
{
"docid": "12feb37e4281eec618e4c86055a081d2",
"score": "0.54250664",
"text": "public void thiefEffectTargeting() {\n isTargetingPhase = true;\n String message = (\"Select a target from your opponent's hand.\");\n info.setText(message);\n specialButton.setEnabled(false);\n setEnabledComputerButtons(true);\n setEnabledPlayerButtons(false);\n disableEmptyButtons();\n }",
"title": ""
},
{
"docid": "7d22035b715ad80419a22b920004425b",
"score": "0.5423776",
"text": "public void setLastAttackTime(long newTime) {\n\t\tdata.setLastAttackTime(newTime);\n\t}",
"title": ""
},
{
"docid": "0a88ff0bc8bc8b8d74a0f075654b9787",
"score": "0.5414142",
"text": "@Override\n protected void onTypeAttack(Entity target) {\n MobHelper.lightningExplode(target, 0);\n for (int i = 64; i-- > 0;) if (this.teleportRandomly()) {\n break;\n }\n }",
"title": ""
},
{
"docid": "58d87c7a32b968f4176942c1d3ef1cac",
"score": "0.5412795",
"text": "public void setAttackTarget(EntityLivingBase p_70624_1_) {\n/* 117 */ super.setAttackTarget(p_70624_1_);\n/* */ \n/* 119 */ if (p_70624_1_ == null) {\n/* */ \n/* 121 */ setAngry(false);\n/* */ }\n/* 123 */ else if (!isTamed()) {\n/* */ \n/* 125 */ setAngry(true);\n/* */ } \n/* */ }",
"title": ""
},
{
"docid": "9ea3a0955a1984bf73325e4d6070ffd2",
"score": "0.5411245",
"text": "@Override\n\tpublic boolean onActionTime()\n\t{\n\t\tif ((getEffected() instanceof PlayerInstance) && (getEffector() instanceof PlayerInstance) && (getSkill().getId() != 1376) && (getSkill().getId() != 1169) && (getSkill().getId() != 65) && (getSkill().getId() != 1092))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (getEffected() instanceof FolkInstance)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (getEffected() instanceof SiegeGuardInstance)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// Fear skills cannot be used on Headquarters Flag.\n\t\tif (getEffected() instanceof SiegeFlagInstance)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (getEffected() instanceof SiegeSummonInstance)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif ((getEffected() instanceof FortSiegeGuardInstance) || (getEffected() instanceof CommanderInstance))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tint posX = getEffected().getX();\n\t\tint posY = getEffected().getY();\n\t\tfinal int posZ = getEffected().getZ();\n\t\tint signx = -1;\n\t\tint signy = -1;\n\t\tif (getEffected().getX() > getEffector().getX())\n\t\t{\n\t\t\tsignx = 1;\n\t\t}\n\t\tif (getEffected().getY() > getEffector().getY())\n\t\t{\n\t\t\tsigny = 1;\n\t\t}\n\t\tposX += signx * FEAR_RANGE;\n\t\tposY += signy * FEAR_RANGE;\n\t\t\n\t\tfinal Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(getEffected().getX(), getEffected().getY(), getEffected().getZ(), posX, posY, posZ, getEffected().getInstanceId());\n\t\tgetEffected().setRunning();\n\t\tgetEffected().getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(destiny.getX(), destiny.getY(), destiny.getZ(), 0));\n\t\treturn true;\n\t}",
"title": ""
},
{
"docid": "8ee74494829d3fd1161c8188231e6edc",
"score": "0.53884673",
"text": "@Override\r\n public void applyEffect(LivingEntity user, LivingEntity target, int level, EntityDamageByEntityEvent event) {\r\n\r\n // Check for a valid target\r\n if (!works(target, user)) return;\r\n\r\n // Get a name to use with the cooldown timers\r\n String name = user instanceof Player ? ((Player)user).getName() : \"mob\";\r\n\r\n // Make sure the timer isn't null\r\n if (timers.get(name) == null) timers.put(name, 0l);\r\n\r\n // Check the cooldown\r\n if (System.currentTimeMillis() - timers.get(name) < cooldown(level)) return;\r\n\r\n // Check the probability\r\n if (!roll(level)) return;\r\n\r\n // Gain health depending on enchantment level\r\n double health = user.getHealth() + health(level);\r\n if (health > user.getMaxHealth()) health = user.getMaxHealth();\r\n user.setHealth(health);\r\n\r\n // Update the cooldown timer\r\n timers.put(name, System.currentTimeMillis());\r\n }",
"title": ""
},
{
"docid": "5fdabfd8e75e033c6233619999f2e94c",
"score": "0.5369348",
"text": "public void manageDuelsFight() {\n\t\tisDuels = true;\n\n\t\tList<Player> players = this.getPlayers(ArenaJoinMode.PLAYING);\n\t\tList<Player> inDuelsPlayers = new ArrayList<>();\n\n\t\tfor (Player player : players) {\n\t\t\tif (playersInGame.get(player.getUniqueId()) == -1)\n\t\t\t\tinDuelsPlayers.add(player);\n\t\t}\n\n\t\tPlayer firstPlayer = inDuelsPlayers.get(0);\n\t\tPlayer secondPlayer = inDuelsPlayers.get(1);\n\n\t\tthis.broadcastInfo(firstPlayer.getDisplayName() + \"Fighting against\" + secondPlayer.getDisplayName());\n\t\tfirstPlayer.sendMessage(\"Get Ready to Fight\");\n\t\tsecondPlayer.sendMessage(\"Get Ready to Fight\");\n\n\t\tplayersInDuelFight.add(firstPlayer);\n\t\tplayersInDuelFight.add(secondPlayer);\n\n\t\tmanageHits.put(firstPlayer.getUniqueId(), 0);\n\t\tmanageHits.put(secondPlayer.getUniqueId(), 0);\n\n\t\tteleport(firstPlayer, getSettings().getEntrances().getLocations().get(0));\n\t\tteleport(secondPlayer, getSettings().getEntrances().getLocations().get(1));\n\n\t}",
"title": ""
},
{
"docid": "8d57ed0781799b17d6d7dfd85e97fa1a",
"score": "0.53561926",
"text": "@Override\n public void performAction() {\n if(getTarget() != null){\n if(getTarget().getTeam() == Consts.TEAM_ALLIED || getTarget().getTeam() == Consts.TEAM_NEUTRAL){\n setTarget(null);\n return;\n }\n commandAttack(getTarget());\n }\n }",
"title": ""
},
{
"docid": "7b49a99973384d0ecb09d73474805055",
"score": "0.5344944",
"text": "public List<Event> attack(Player player, String attackerId, String targetId);",
"title": ""
},
{
"docid": "4d272af7f4b34c73dc2723d8fcdb0f31",
"score": "0.5334586",
"text": "public Attack fight(String opponent) {\n\t\tif (hunger > 0) {\n\t\t\treturn Attack.SCRATCH;\n\t\t}\n\t\treturn Attack.POUNCE;\n\t}",
"title": ""
},
{
"docid": "1330f693f24cdcf938baf11f2dcd7b74",
"score": "0.5324925",
"text": "private void lostOpponent()\r\n\t{\r\n\t\tengaged = false;\r\n\t\toppID = null;\r\n\t}",
"title": ""
},
{
"docid": "cb961b5a3bdbbad838d525d47e2c5678",
"score": "0.53072166",
"text": "public static void handleFrostDragon(Entity attacker, Entity target) {\n\t\tif (target instanceof Player)\n\t\t\tif (target instanceof Player) {\n\t\t\t\tattacker.setCombatDelay(5);\n\t\t\t\tint damage = 0;\n\n\t\t\t\tif (TileManager.calculateDistance(attacker, target) < 3\n\t\t\t\t\t\t&& Misc.random(3) == 1) {\n\t\t\t\t\tAnimationProcessor.addNewRequest(attacker, 13151, 0);\n\t\t\t\t\tdamage = Infliction.canHitWithMelee(attacker, target) ? Misc\n\t\t\t\t\t\t\t.random(maxHitMelee) - 1 + 1 : 0;\n\t\t\t\t\tif (((Player) target).playerEquipment[PlayerConstants.SHIELD] == 11283\n\t\t\t\t\t\t\t|| ((Player) target).playerEquipment[PlayerConstants.SHIELD] == 1540\n\t\t\t\t\t\t\t|| ((Player) target).antiFirePotTimer > 0)\n\t\t\t\t\t\tdamage = damage / 5;\n\t\t\t\t\tHitExecutor.addNewHit(attacker, target, CombatType.MELEE,\n\t\t\t\t\t\t\tdamage, 0);\n\t\t\t\t} else {\n\t\t\t\t\tfinal int nextAttack = Misc.random(1);\n\t\t\t\t\tif (nextAttack == 0) {\n\t\t\t\t\t\tdamage = Misc.random(70);\n\t\t\t\t\t\tAnimationProcessor.addNewRequest(attacker, 13152, 0);\n\t\t\t\t\t\t// Graphics.addNewRequest(attacker, 1, 0, 0);\n\t\t\t\t\t\tMagicHandler.createProjectile(attacker, target, 50005,\n\t\t\t\t\t\t\t\t78);\n\t\t\t\t\t\tif (((Player) target).playerEquipment[PlayerConstants.SHIELD] == 11283\n\t\t\t\t\t\t\t\t|| ((Player) target).playerEquipment[PlayerConstants.SHIELD] == 1540\n\t\t\t\t\t\t\t\t|| ((Player) target).antiFirePotTimer > 0)\n\t\t\t\t\t\t\tdamage = damage / 5;\n\t\t\t\t\t\tHitExecutor.addNewHit(attacker, target,\n\t\t\t\t\t\t\t\tCombatType.MAGIC, damage, 2);\n\t\t\t\t\t} else if (nextAttack == 1) {\n\t\t\t\t\t\tAnimationProcessor.addNewRequest(attacker, 13155, 0);\n\t\t\t\t\t\tMagicHandler.createProjectile(attacker, target, 50006,\n\t\t\t\t\t\t\t\t78);\n\t\t\t\t\t\tdamage = Infliction.canHitWithRanged(attacker, target) ? Misc\n\t\t\t\t\t\t\t\t.random(maxHitRange) - 1 + 1 : 0;\n\t\t\t\t\t\tif (((Player) target).playerEquipment[PlayerConstants.SHIELD] == 11283\n\t\t\t\t\t\t\t\t|| ((Player) target).playerEquipment[PlayerConstants.SHIELD] == 1540\n\t\t\t\t\t\t\t\t|| ((Player) target).antiFirePotTimer > 0)\n\t\t\t\t\t\t\tdamage = damage / 5;\n\t\t\t\t\t\tHitExecutor.addNewHit(attacker, target,\n\t\t\t\t\t\t\t\tCombatType.RANGE, damage, 2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t}",
"title": ""
},
{
"docid": "b5b33694264157b15e4343572d01c1be",
"score": "0.52865696",
"text": "void findTarget() {\n\t\t\n\t\tif (target != null && \n\t\t\t\t(!target.active \n\t\t\t\t\t\t|| !EntityManager._instance.ghosts.contains(target) \n\t\t\t\t\t\t|| position.dst(target.position) > myInfo.range))\n\t\t\ttarget = null;\n\t\t\n\t\tif (target != null)\n\t\t\treturn;\n\t\t\n\t\tfor (GameObject g : EntityManager._instance.ghosts) {\n\t\t\tif (targetFinder.contains(g.position)) {\n\t\t\t\ttarget = g;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (target == null) {\n\t\t\tfor (int i = 0; i < 3; i ++) {\n\t\t\t\tgreenSounds[i].pause();\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "26bf65c5118d2280147b0d070eb437c0",
"score": "0.5282494",
"text": "public void attack(Human target) {\n System.out.println(\"\\n\");\n System.out.println(\"Beginning Health: \" + this.healthLvl);\n target.healthLvl -= this.strength;\n System.out.println(\"\\n----------------THIS IS AN ATTACK!--------------\\n\");\n System.out.println(\"(I've been attacked!)Heatlh Level dercread to: \" + this.healthLvl);\n }",
"title": ""
},
{
"docid": "05da911296b8074cccab10e5d4b3d949",
"score": "0.5263818",
"text": "protected void targetClosestEnemy (int range)\n {\n enemy = (ArrayList)getObjectsInRange(range/2, Enemy.class);\n indexOfDeadEnemy = new ArrayList<Integer>();\n if (enemy.size() > 0 && !stunned)\n {\n // set the first one as my target\n for(Enemy e : enemy)//checks if enemy is dead\n {\n if(e.getDead())\n {\n Integer i = enemy.indexOf(e);\n indexOfDeadEnemy.add(i);\n }\n }\n for(Integer i : indexOfDeadEnemy)//removes dead enemies from the possible targets\n {\n //System.out.println(i.intValue());\n try\n {\n enemy.remove(i.intValue());\n }\n catch(IndexOutOfBoundsException e)\n {\n targetEnemy = null;\n }\n }\n if(enemy.size() > 0)\n targetEnemy = enemy.get(0);\n else\n targetEnemy = null;\n }\n else\n {\n targetEnemy = null;\n checkStun();\n }\n if(!confDisplayed)//adds a confusion object if confused.\n {\n getWorld().addObject(new Confusion(),x,y);\n confDisplayed = true;\n }\n }",
"title": ""
},
{
"docid": "0fb16d89b96ffb529474b65affc3d45a",
"score": "0.5259982",
"text": "void feedTarget(TargetBot target);",
"title": ""
},
{
"docid": "925b90724f8f941450ea395615825114",
"score": "0.52565515",
"text": "public static void fireAtTarget() {\n\t\tif(Competition.inCompetition() && Competition.atCompetitionArea() && mouseTarget()) {\n\t\t\tif(!Timing.waitCondition(new Condition() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic boolean active() {\n\t\t\t\t\tif(!Competition.atCompetitionArea()) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// Stops firing at the target if we have no arrows at all\n\t\t\t\t\tif(Equipment.find(new String[] { \"Bronze arrow\" }).length == 0) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(!Game.getUptext().contains(\"Fire-at Target\")) {\n\t\t\t\t\t\tif(mouseTarget()) {\n\t\t\t\t\t\t\tGeneral.sleep(50, 75);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// If the target screen is up for more than 800ms~1000ms, we close it\n\t\t\t\t\tif(targetScreenUp()) {\n\t\t\t\t\t\tif(!Timing.waitCondition(new Condition() {\n\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic boolean active() {\n\t\t\t\t\t\t\t\treturn !targetScreenUp();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}, General.random(1000, 1250))) {\n\t\t\t\t\t\t\tcloseTargetScreen();\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\t\n\t\t\t\t\tint i = General.random(1, 7);\n\t\t\t\t\tif(i == 1) {\n\t\t\t\t\t\tMouse.move(new Point(Mouse.getPos().x + General.random(-1, 1), \n\t\t\t\t\t\t\t\t\t\t\t Mouse.getPos().y + General.random(-1, 1)));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tMouse.click(1); // Fires at the target\n\t\t\t\t\t\n\t\t\t\t\tif(Data.rightClick) {\n\t\t\t\t\t\tGeneral.sleep(50, 75);\n\t\t\t\t\t\tMouse.click(3);\n\t\t\t\t\t\tif(Timing.waitCondition(new Condition() {\n\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic boolean active() {\n\t\t\t\t\t\t\t\treturn targetScreenUp();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}, General.random(3500, 4500))) {\n\t\t\t\t\t\t\tif(Timing.waitChooseOption(\"Fire-at\", General.random(800, 1000))) {\n\t\t\t\t\t\t\t\tif(mouseTarget()) {\n\t\t\t\t\t\t\t\t\tGeneral.sleep(Data.clickTime + General.random(-10, 10));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tGeneral.sleep(Data.clickTime + General.random(-10, 10));\n\t\t\t\t\t\n\t\t\t\t\treturn Competition.competitionOver() || !Competition.inCompetition();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}, General.random(65000, 75000))) {\n\t\t\t\tGeneral.println(\"Timed-out while playing the competition.\");\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "9799f170a4562f713f392057039df35f",
"score": "0.5247175",
"text": "private void attackOpponentDirectly() {\r\n\t\tDuelingState.actionHandler.getAction(ActionList.ATTACK).performAction(\r\n\t\tgetDuelingState().getPlayer(),getDuelingState().getOpponent(),spot,null,getDuelingState().getGame(),getDuelingState().getBoard(),\r\n\t\tgetDuelingState().getPlayerField(),getDuelingState().getOpponentField()\r\n\t\t\r\n\t\t);\r\n\t}",
"title": ""
},
{
"docid": "7a931b58e49eecf8d62e2f7c5c711e6e",
"score": "0.5243205",
"text": "public void observeAttack(Coords source, Coords target) {\n Attacker atkerSource = (Attacker) this.grid[source.getY()][source.getX()];\n Attacker atkerTarget = (Attacker) this.grid[target.getY()][target.getX()];\n boolean hit = atkerSource.attack(atkerTarget);\n if (hit) {\n // if hit, remove the hit Attacker from the board if it has 0 hp\n if (atkerTarget.getHP() <= 0) {\n this.grid[target.getY()][target.getX()] = null;\n atkerSource.addXP(atkerTarget.getXP()); // transfer xp on kill\n }\n }\n }",
"title": ""
},
{
"docid": "875fd4d757f409cc061bf8960c14955f",
"score": "0.52412385",
"text": "public void doDuelFire(float remaining) throws GameActionException {\n\n MapLocation myLocation = rc.getLocation();\n boolean canPenta = rc.canFirePentadShot();\n boolean canTriad = rc.canFireTriadShot();\n boolean canSingle = rc.canFireSingleShot();\n\n float distance = myLocation.distanceTo(duelTarget.location);\n Direction line1 = myLocation.directionTo(duelTarget.location);\n\n if (distance <= 2.05f) {\n if (canPenta) {\n rc.firePentadShot(line1);\n return;\n } else if (canTriad) {\n rc.fireTriadShot(line1);\n } else if (canSingle) {\n rc.fireSingleShot(line1);\n }\n }\n\n\n //This bit is the 'alternator' gun, which shoots slightly ahead of the target on half the turns, to have a bigger bullet spread, makes dodging harder\n //Should've used more tweaking probably\n if (distance > 6.05) {\n if (lastDuelTarget != null) {\n if (lastDuelTarget.ID == duelTarget.ID) {\n\n Direction lastDir = myLocation.directionTo(lastDuelTarget.location);\n\n boolean movingLeft = false;\n if (line1.degreesBetween(lastDir) < 0) {\n movingLeft = true;\n }\n if (lastAlternationShot == 0) {\n if (movingLeft) {\n line1 = line1.rotateLeftDegrees(4.5f);\n lastAlternationShot = -1;\n } else {\n line1 = line1.rotateRightDegrees(4.5f);\n lastAlternationShot = 1;\n }\n } else if (lastAlternationShot == -1) {\n //Left last time, right now\n if (!movingLeft) { //Lead them if they're moving this way, but don't shoot behind them if they're not\n line1 = line1.rotateRightDegrees(4.5f);\n }\n lastAlternationShot = 1;\n } else {\n //Right last time, left now\n if (movingLeft) {//Lead them if they're moving this way, but don't shoot behind them if they're not\n line1 = line1.rotateLeftDegrees(4.5f);\n }\n lastAlternationShot = -1;\n }\n } else {\n lastAlternationShot = 0;\n }\n } else {\n lastAlternationShot = 0;\n }\n }\n\n\n\n //In econ mode, we'll shoot slightly less. Could use some more work though..\n boolean econMode = false;\n if ((turn > 80 && rc.getTeamBullets() < 50 && rc.getRobotCount() >= 3 && rc.getTreeCount() < 6) || (turn > 250 && rc.getTeamBullets() < 100 && rc.getTreeCount() < 6)) {\n econMode = true;\n }\n if (rc.getHealth() < 20 || duelTarget.getHealth() < 10) {\n econMode = false; //Let's not econ in life/death situations\n }\n\n\n for (float bulletDist = 1.05f; bulletDist < distance && bulletDist < 7; bulletDist += 0.5) {\n MapLocation loc = myLocation.add(line1, bulletDist);\n if (rc.canSenseLocation(loc)) {\n if (rc.isLocationOccupiedByTree(loc)) {\n canSingle = false;\n canTriad = false;\n canPenta = false;\n break;\n }\n }\n }\n\n\n //Check the lines of the penta shot, if they collide with allies or too many trees, select triad/single instead\n if (canPenta) {\n int linesHitTeamMate = 0;\n int colleteral = 0;\n\n Direction line2 = line1.rotateLeftDegrees(30);\n Direction line3 = line1.rotateLeftDegrees(15);\n Direction line4 = line1.rotateRightDegrees(30);\n Direction line5 = line1.rotateRightDegrees(15);\n\n boolean line1Going = true;\n boolean line2Going = true;\n boolean line3Going = true;\n boolean line4Going = true;\n boolean line5Going = true;\n\n\n for (float bulletDist = 1.05f; bulletDist < distance && bulletDist < 6 && Clock.getBytecodesLeft() > 2000 + remaining; bulletDist += 1) {\n if (line1Going) {\n MapLocation loc = myLocation.add(line1, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line1Going = false;\n }\n\n\n if (rc.isLocationOccupiedByTree(loc)) {\n canPenta = false;\n canTriad = false;\n canSingle = false;\n break;\n }\n }\n\n\n\n if (line2Going) {\n MapLocation loc = myLocation.add(line2, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line2Going = false;\n }\n if(rc.isLocationOccupiedByTree(loc)) {\n line2Going = false;\n }\n }\n\n if (line3Going) {\n MapLocation loc = myLocation.add(line3, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line3Going = false;\n }\n }\n\n if (line4Going) {\n MapLocation loc = myLocation.add(line4, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line4Going = false;\n }\n if(rc.isLocationOccupiedByTree(loc)) {\n line4Going = false;\n }\n }\n\n if (line5Going) {\n MapLocation loc = myLocation.add(line5, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line5Going = false;\n }\n }\n }\n\n if(!line2Going && !line4Going){\n canPenta = false;\n }\n else if (linesHitTeamMate > colleteral) {\n //Probably not worth it to fire pentas\n canPenta = false;\n }\n\n\n }\n\n //Check the lines of the triad shot, if they collide with allies or too many trees, select single instead\n if (canTriad) {\n int linesHitTrees = 0;\n int linesHitTeamMate = 0;\n int colleteral = 0;\n\n Direction line2 = line1.rotateLeftDegrees(20);\n Direction line3 = line1.rotateRightDegrees(20);\n\n boolean line1Going = true;\n boolean line2Going = true;\n boolean line3Going = true;\n\n for (float bulletDist = 1.05f; bulletDist < distance && bulletDist < 6 && Clock.getBytecodesLeft() > 1300 + remaining; bulletDist += 0.8) {\n if (line1Going) {\n MapLocation loc = myLocation.add(line1, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line1Going = false;\n }\n }\n\n if (line2Going) {\n MapLocation loc = myLocation.add(line2, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line2Going = false;\n }\n if (rc.isLocationOccupiedByTree(loc)) {\n line2Going = false;\n }\n }\n\n if (line3Going) {\n MapLocation loc = myLocation.add(line3, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n colleteral++;\n } else {\n linesHitTeamMate++;\n }\n line3Going = false;\n }\n if (rc.isLocationOccupiedByTree(loc)) {\n line3Going = false;\n }\n }\n }\n if(!line2Going && !line3Going){\n canTriad = false;\n }\n else if (linesHitTeamMate > colleteral) {\n //Probably not worth it to fire triads if we have teammates\n canTriad = false;\n }\n }\n\n if (canSingle) {\n for (float bulletDist = 1.05f; bulletDist < distance && bulletDist < 7 && Clock.getBytecodesLeft() > 600 + remaining; bulletDist += 0.5) {\n MapLocation loc = myLocation.add(line1, bulletDist);\n if (rc.isLocationOccupiedByRobot(loc)) {\n if (rc.senseRobotAtLocation(loc).team.equals(enemy)) {\n break;\n } else {\n canSingle = false;\n break;\n }\n }\n }\n }\n\n\n boolean firePenta = false;\n boolean fireTriad = false;\n boolean fireSingle = false;\n\n\n //This bit selects our prefered shot type, probably needs a good amount of tweaking\n if (duelTargetStandingStill) {\n if(distance < 3.05f){\n if (canPenta) {\n firePenta = true;\n } else if (canTriad) {\n fireTriad = true;\n } else if (canSingle) {\n fireSingle = true;\n }\n } else if(distance < 4){\n if (canTriad) {\n fireTriad = true;\n } else if (canSingle) {\n fireSingle = true;\n }\n } else{\n if (canSingle) {\n fireSingle = true;\n }\n }\n } else {\n if (distance < 3.05) {\n //We can hit a lot of lines here, just go full out\n if (canPenta) {\n firePenta = true;\n } else if (canTriad) {\n fireTriad = true;\n } else if (canSingle) {\n fireSingle = true;\n }\n } else if (distance < 4.3) {\n //Less likely to hit the double pent, so calm down on that. Singles get much worse at hitting\n if (canTriad) {\n fireTriad = true;\n } else if (canPenta && !econMode) {\n firePenta = true;\n } else if (canSingle) {\n fireSingle = true;\n }\n\n } else if (distance < 5.05) {\n //2 pent line hits is basically out of the question, but singles are too easy to dodge here\n if (canTriad) {\n fireTriad = true;\n } else if (canPenta) {\n firePenta = true;\n } else if (canSingle && !econMode) {\n fireSingle = true;\n }\n } else if (distance < 5.65f) {\n //At this distance, single shot become completely ineffective because it can easily be dodged (they'll have 3 steps)\n if (canTriad) {\n fireTriad = true;\n } else if (canPenta) {\n firePenta = true;\n }\n } else if (distance < 6.8f) {\n //From this distance on, triads can be dodged rather easily by stepping in the gaps. Only pentads can really hit reliably\n if (canPenta) {\n firePenta = true;\n }\n else if (canTriad && !econMode) {\n fireTriad = true;\n }\n } else {\n //Kind of want to make this even more econ as you can start sitting between pentad shots easily, problem is, we sometimes seem to lose at this distance just because were not firing\n if (canPenta) {\n firePenta = true;\n } else if (canTriad && !econMode) {\n fireTriad = true;\n }\n }\n }\n\n\n if (rc.hasMoved()) {\n if (firePenta) {\n rc.firePentadShot(line1);\n } else if (fireTriad) {\n rc.fireTriadShot(line1);\n } else if (fireSingle) {\n rc.fireSingleShot(line1);\n }\n } else {\n if (firePenta) {\n rc.firePentadShot(line1);\n addDesireZone(myLocation.add(line1, 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n addDesireZone(myLocation.add(line1.rotateRightDegrees(25), 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n addDesireZone(myLocation.add(line1.rotateLeftDegrees(25), 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n } else if (fireTriad) {\n rc.fireTriadShot(line1);\n\n addDesireZone(myLocation.add(line1, 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n addDesireZone(myLocation.add(line1.rotateRightDegrees(20), 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n addDesireZone(myLocation.add(line1.rotateLeftDegrees(20), 1.05f), 1.1f, -70); //Don't shoot urself in the face man\n } else if (fireSingle) {\n rc.fireSingleShot(line1);\n addDesireZone(myLocation.add(line1, 2.05f), 1.1f, -70); //Don't shoot urself in the face man\n addDesireZone(myLocation.add(line1, 1.05f), 1.1f, -60);\n }\n }\n\n }",
"title": ""
},
{
"docid": "e1c2a83f59aa3a093711d57ac4c3a20a",
"score": "0.5225834",
"text": "public static void attack(Fighter attacker, Fighter target){\n\t\tSystem.out.println(\"Attacking:::\" + target.health + \" - \" + attacker.damagePerAttack);\n\t target.health -= attacker.damagePerAttack;\n\t }",
"title": ""
},
{
"docid": "a1ddc2dfa52b97a659922095d61f0af4",
"score": "0.51956314",
"text": "@Override\r\n\tpublic void onBattleEvent(BattleEvent e) {\n\t\tif (e.getType().equals(BattleEventType.STARTED)) {\r\n\t\t\tstate = GameState.BATTLE;\r\n\r\n\t\t}\r\n\t\telse if (e.getType().equals(BattleEventType.ENDED)) {\r\n\t\t\tstate = GameState.WORLD;\r\n\t\t if (e.getWinner()==player.getActiveFighter()){\r\n\t\t \tworld.getMap()[world.getPlayerRow()][world.getPlayerColumn()] = new EmptyCell() ; \r\n\t\t \t\r\n\t\t \t\r\n\t\t \tArrayList<SuperAttack> sa =((Fighter) ((Battle) e.getSource()).getFoe()).getSuperAttacks();\r\n\t\t \tfor (int i = 0; i <sa.size(); i++) {\r\n\t\t \t\tboolean b = true ; \r\n\t\t \t\tint j = 0 ; \r\n\t\t \t\tfor ( j = 0; j < player.getSuperAttacks().size() ; j++) {\r\n\t\t \t\t\tif (sa.get(i).getName().equals(player.getSuperAttacks().get(j).getName()) &&\r\n\t\t\t \t\t\t\tsa.get(i).getDamage() == player.getSuperAttacks().get(j).getDamage()){\r\n\t\t \t\t\t\tb = false ; \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\tif (b) { \r\n\t\t \t\t\tplayer.getSuperAttacks().add(sa.get(i)) ; \r\n\t\t \t\t}\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \tArrayList<UltimateAttack> ua =((Fighter) ((Battle) e.getSource()).getFoe()).getUltimateAttacks();\r\n\t\t \tfor (int i = 0; i <ua.size(); i++) {\r\n\t\t \t\tboolean b = true ; \r\n\t\t \t\tint j = 0 ; \r\n\t\t \t\tfor ( j = 0; j < player.getUltimateAttacks().size() ; j++) {\r\n\t\t \t\t\tif (ua.get(i).getName().equals(player.getUltimateAttacks().get(j).getName()) &&\r\n\t\t\t \t\t\t\tua.get(i).getDamage() == player.getUltimateAttacks().get(j).getDamage()){\r\n\t\t \t\t\t\tb = false ; \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\tif (b) { \r\n\t\t \t\t\tplayer.getUltimateAttacks().add(ua.get(i)) ; \r\n\t\t \t\t}\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \r\n\t\t \r\n\t\t\t\t((PlayableFighter)e.getWinner()).setXp(\t((PlayableFighter)e.getWinner()).getXp()+ (((Fighter) e.getCurrentOpponent()).getLevel()* 5));\r\n\t\t\t\tif (((NonPlayableFighter) ((Battle)e.getSource()).getFoe()).isStrong()) {\r\n\t\t\t\t\tplayer.setExploredMaps(player.getExploredMaps() + 1);\r\n\t\t\t\t\tworld = new World();\r\n\t\t\t\t\tworld.generateMap(weakFoes, strongFoes);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t }\r\n\t\t }\r\n\t\t else {\r\n\t\t \t\r\n\t\t \ttry {\r\n\t\t\t\t\t\tload(\"save.ser\") ;\r\n\t\t\t\t\t} catch (Exception e1) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\tworld = new World () ; \r\n\t\t\t \tworld.generateMap(weakFoes, strongFoes);\r\n\t\t\t \tworld.resetPlayerPosition();\r\n\t\t\t \tworld.setWorldListener(this);\r\n\t\t\t \t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} \r\n\t\t \t}\r\n\t\t \r\n\t\t \t\r\n\t\t \r\n\t\t\t\r\n\t\t\r\n\t\t\tif (gameListener != null){\r\n\t\t\t\tgameListener.onBattleEvent(e);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t}",
"title": ""
},
{
"docid": "af1405ce3f7e869d83d3efe8225ada71",
"score": "0.51940835",
"text": "public void onLast(GameEngine engine, int playerID) {\r\n\t}",
"title": ""
},
{
"docid": "db8d15a8da68b93b7f1809212b4740a8",
"score": "0.519259",
"text": "public void startAttackSilent( Eoid target, Date theTimeStamp )\n {\n\t\tmovementTimer.stop();\n\t\tunderAttack = true;\n\t\tmyCurrentTarget = target;\n\t\ttimeStamp = theTimeStamp;\t\t\n }",
"title": ""
},
{
"docid": "eefb76f8c9452eeb5dd860e03d9c84ce",
"score": "0.51899874",
"text": "@Override\n public void onEntityDamageByProjectile(EntityDamageByProjectileEvent evt) {\n if (evt.getEntity() instanceof Player) {\n plugin.playerLastDamagedBy.put(evt.getEntity().getEntityId(), evt.getDamager());\n }\n }",
"title": ""
},
{
"docid": "e90fd004620deb36505d0e31ae6ae7c3",
"score": "0.51872694",
"text": "public void shoot() throws NullPointerException {\n System.out.println(\"shots fired\");\n //check if target still in range\n if (Math.sqrt((target.getRow() - row) * (target.getRow() - row) + (target.getColumn() - column) * (target.getColumn() - column)) > effectiveRange || target.getMarine().isDead()) {\n target = null;\n return;\n }\n \n //check if need to reload , if needed simulate reload\n if (magazineCapacity == 0) {\n try {\n Thread.sleep(reloadTime);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n magazineCapacity = 30;\n }\n //check if target still in range\n if (Math.sqrt((target.getRow() - row) * (target.getRow() - row) + (target.getColumn() - column) * (target.getColumn() - column)) > effectiveRange || target.getMarine().isDead()) {\n target = null;\n return;\n }\n System.out.println(name + \" shot at \" + target.getMarine().getName());\n //check if shot hit \n if (r.nextInt(101) <= accuracyAtMaxRange) {\n target.getMarine().hit();\n System.out.println(name + \" injured \" + target.getMarine().getName() + \" by \" + damageMax + \" HP points\");\n magazineCapacity -= 1;\n if (target.getMarine().isDead()) {\n target = null;\n }\n }\n try {\n Thread.sleep((long) fireRateDelay);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n //check if target still in range\n if (Math.sqrt((target.getRow() - row) * (target.getRow() - row) + (target.getColumn() - column) * (target.getColumn() - column)) > effectiveRange || target.getMarine().isDead()) {\n target = null;\n return;\n }\n }",
"title": ""
},
{
"docid": "27e18ab8be6d1d04a6d74ccfa88fcbc8",
"score": "0.51854813",
"text": "public static void fight() {\n\n //enemy's is to starting point Hp\n int enemyHP = currentEnemy.getHp();\n System.out.println(\"Do you want to change your current weapon?\\n(1) Yes.\\n(2) No.\");\n int weaponChange = readInt(2);\n if (weaponChange != 2) {\n //Enemy taken damage by the Hero,and Hero's damage capacity, Hero's weapon and place difficulties this damage.\n int dmgTookEnemy = currentEnemy.getHp() - ((currentEnemy.getHp() + currentPlace.getDifficulties()) - (currentHero.getDamage() + currentWeapon.getDamage() + currentPlace.getDifficulties()));\n\n //Hero taken damage by the Enemy and, Enemy damage capacity and place difficulties this damage\n int dmgTookHero = currentHero.getHp() - ((currentHero.getHp() + currentPlace.getDifficulties()) - (currentEnemy.getDamage() + currentPlace.getDifficulties()));\n\n System.out.println(\"You took \" + dmgTookHero + \" damage by \" + currentEnemy.getName());\n System.out.println(\"Enemy took \" + dmgTookEnemy + \" damage by \" + currentHero.getName());\n\n //setting current enemy's Hp's\n currentEnemy.setHp(currentEnemy.getHp() - dmgTookEnemy);\n\n //Setting current an hero's Hp's\n currentHero.setHp(currentHero.getHp() - dmgTookHero);\n\n //If hero's Hp less than 0, hero is died.\n if (currentHero.getHp() <= 0) {\n playerDied();\n }//If enemy's HP is less than 0, Enemy was defeated.\n else if (currentEnemy.getHp() <= 0) {\n printHeading(\"You defeated \" + currentEnemy.getName() + \"!\\nYou earned \" + enemyHP / 10 + \" XP from your defeated enemy.\");\n currentHero.setHp(currentHero.getHp() + enemyHP / 10);\n //setting Hero's current Hp after fighting current enemy.\n if (currentHero.getHp() > currentHero.getMaxHp()) {\n currentHero.setHp(currentHero.getMaxHp());\n }\n printHeading(\"Do you want to fight again.\\nDon't forget! You need more Hp for a powerful enemy.\");\n int isFightingAgain = readInt(2);\n if (isFightingAgain == 1) {\n battle();\n } else {\n //finishing battle loop.\n isFighting = false;\n }\n }\n } else {\n changeWeapon();\n }\n }",
"title": ""
},
{
"docid": "fd35d44473e0c21e413aab24bb095f44",
"score": "0.5181588",
"text": "@Override\n\tpublic void onHitted(EntityDamageByEntityEvent e, Player damager, Player victim) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "bea6add4262960d5a49677737dc517c9",
"score": "0.51646745",
"text": "@Override\n public void onAttack(Player player, Game game, List<Player> targets) {\n Set<Card> trashable = player.getHand().stream()\n .filter(Card::isTreasure)\n .collect(Collectors.toSet());\n if (!trashable.isEmpty()) {\n Card toTrash = chooseTrash(player, game, trashable);\n if (toTrash != null) {\n game.messageAll(\"trashing \" + toTrash.htmlName());\n player.removeFromHand(toTrash);\n game.trash(player, toTrash);\n // each other player with 5 or more cards in hand discards a copy of it (or reveals a hand without it)\n targets.forEach(target -> {\n if (target.getHand().size() >= 5) {\n if (target.getHand().contains(toTrash)) {\n game.message(target, \"You discard \" + toTrash.htmlName());\n game.messageOpponents(target, target.username + \" discards \" + toTrash.htmlName());\n target.putFromHandIntoDiscard(toTrash);\n } else {\n game.message(target, \"You reveal your hand: \" + Card.htmlList(target.getHand()));\n game.messageOpponents(target, target.username + \" reveals their hand: \" + Card.htmlList(target.getHand()));\n }\n }\n });\n // gain a treasure card costing up to $3 more than the trashed card, putting it on top of your deck\n Set<Card> gainable = game.cardsCostingAtMost(toTrash.cost(game) + 3).stream()\n .filter(Card::isTreasure)\n .collect(Collectors.toSet());\n if (!gainable.isEmpty()) {\n Card toGain = promptChooseGainFromSupply(\n player,\n game,\n gainable,\n this.toString() + \": Choose a treasure to gain onto your deck costing up to $3 more.\"\n );\n game.message(player, \"gaining \" + toGain.htmlName() + \" onto your deck\");\n game.messageOpponents(player, \"gaining \" + toGain.htmlName() + \" onto their deck\");\n game.gainToTopOfDeck(player, toGain);\n }\n } else {\n game.messageAll(\"trashing nothing\");\n }\n } else {\n game.messageAll(\"having no treasure to trash\");\n }\n }",
"title": ""
},
{
"docid": "fb709ca9b3ba893ec15ad6d0ac2f0d9a",
"score": "0.5162005",
"text": "@Override\r public void setTarget() {\r int choice, i = 1;\r ArrayList<Effect> effects = new ArrayList();\r for(Effect e : CardGame.instance.getStack()){\r if(e.isTargetEffect())\r effects.add(e); \r }\r if(!effects.isEmpty()){\r System.out.println(\"Choose the effect target to change.\\n\");\r for(Effect e : effects){\r System.out.println(i + \") \" + e.toString() + \" \");\r i++;\r }\r do{\r choice = acquireInput();\r }while(choice<1 && choice>=i);\r Effect e = effects.get(choice-1);\r target = e;\r }\r else{\r target = null;\r System.out.println(\"There are no effects to change\");\r }\r }",
"title": ""
},
{
"docid": "c4d91705799663e2529316b550717e6f",
"score": "0.51470375",
"text": "@Override\n\tprotected void performAttack() {\n\t\tif (entity.getPosition().distance(targetPosition) <= entity.getRange()) {\n\t\t\tentity.play_attack_sound();\n\t\t\tgetLogger().info(String.format(\"%s melee attacked %s\", entity, target));\n\t\t\ttry {\n\t\t\t\tif (target instanceof PlayerAttributes) { // Now utilising player's defence when being attacked\n\t\t\t\t\tint attack = entity.getDamage();\n\t\t\t\t\tPlayerAttributes player = (PlayerAttributes) target;\n\t\t\t\t\tint armour = player.getStats(\"defence\");\n\t\t\t\t\tint damageAmount = (int) (attack * ((float) 100 / (100 + armour)));\n\t\t\t\t\ttarget.loseHealth(damageAmount);\n\t\t\t\t\tSkillTreev2 playerSkills = player.getPlayerSkills();\n\t\t\t\t\t// If player has learnt thorn armour, enemy takes damage that has been mitigated\n\t\t\t\t\tif (playerSkills.hasLearnt(playerSkills.getSkill(\"defenceThornArmour\"))) {\n\t\t\t\t\t\tint damageMitigated = attack - damageAmount;\n\t\t\t\t\t\tentity.loseHealth(damageMitigated);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\ttarget.loseHealth(entity.getDamage());\n\t\t\t\t}\n\t\t\t} catch (EnemyValueException e) {\n\t\t\t\tgetLogger().warn(\"Enemy {} does negative damage\", entity);\n\t\t\t}\n\t taskComplete = true;\n\t taskAlive = false;\n\t\t}\n\t}",
"title": ""
},
{
"docid": "968ff9776c502bb8051c55bc74293ac2",
"score": "0.5132576",
"text": "@Override\n public void determineTarget()\n {\n if(getWorld().getObjects(EnemySnake.class).isEmpty())\n {\n target=\"FOOD\";\n }else{\n if(Primary>=1)\n {\n target=\"ENEMY\";\n Primary--;\n }else{\n target=\"FOOD\";\n }\n }\n }",
"title": ""
},
{
"docid": "9cede849d76e552cafb242128a87dbef",
"score": "0.51187855",
"text": "@Override\n public void onEvent(SystemGoalTimeoutEvent event) {\n GoalManager manager = managerFactory.get(event.getGoalKey());\n // Step 2. Extracting game context\n GoalState state = manager.getState();\n // Step 3. Checking total timeout rule was not breached\n TotalTimeoutRule totalTimeoutRule = state.getConfiguration().getTotalTimeoutRule();\n TotalTimeoutCalculator totalTimeoutCalculator = totalTimeoutRule.getTimeoutCalculator();\n DateTime totalTimeout = totalTimeoutCalculator.calculate(state);\n if (totalTimeout.isBeforeNow()) {\n Action punishment = totalTimeoutRule.getPunishment().toBreachEvent();\n manager.process(new PlayerAction(event.getGoalKey(), state.getPlayer(), punishment));\n return;\n }\n // Step 4. Checking move timeout rule was not breached\n MoveTimeoutRule moveTimeoutRule = state.getConfiguration().getMoveTimeoutRule();\n DateTime moveTimeout = moveTimeoutRule.getTimeoutCalculator().calculate(state);\n if (moveTimeout.isBeforeNow()) {\n Action punishment = moveTimeoutRule.getPunishment().toBreachEvent();\n manager.process(new PlayerAction(event.getGoalKey(), state.getPlayer(), punishment));\n return;\n }\n }",
"title": ""
},
{
"docid": "2322ec1c2bcc2aba399229aea726d004",
"score": "0.5115832",
"text": "public void performNewAttack(boolean disregardDelay) {\r\n\t\tif (target != null) {\r\n\r\n\t\t\t// Fetch the combat method the character will be attacking with\r\n\t\t\tmethod = CombatFactory.getMethod(character);\r\n\r\n\t\t\t// Follow target\r\n\t\t\tcharacter.getMovementQueue().follow(target);\r\n\r\n\t\t\t// Check if the character can reach the target before attempting attack\r\n\t\t\tif (CombatFactory.canReach(character, method, target)) {\r\n\r\n\t\t\t\t// Granite maul special attack, make sure we disregard delay\r\n\t\t\t\t// and that we do not reset the attack timer.\r\n\t\t\t\tboolean graniteMaulSpecial = (method instanceof GraniteMaulCombatMethod);\r\n\t\t\t\tif (graniteMaulSpecial) {\r\n\t\t\t\t\tdisregardDelay = true;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Make sure attack timer is <= 0\r\n\t\t\t\tif (!character.getTimers().has(TimerKey.COMBAT_ATTACK) || disregardDelay) {\r\n\r\n\t\t\t\t\t// Check if the character can perform the attack\r\n\t\t\t\t\tif (CombatFactory.canAttack(character, method, target)) {\r\n\r\n\t\t\t\t\t\t// Face target\r\n\t\t\t\t\t\tcharacter.setEntityInteraction(target);\r\n\r\n\t\t\t\t\t\t// Do animation\r\n\t\t\t\t\t\tmethod.startAnimation(character);\r\n\r\n\t\t\t\t\t\t// Perform the abstract method \"preQueueAdd\" before adding the hit for the\r\n\t\t\t\t\t\t// target\r\n\t\t\t\t\t\tmethod.prepareAttack(character, target);\r\n\r\n\t\t\t\t\t\t// Create a new {PendingHit}[] using the player's combat method\r\n\t\t\t\t\t\t// (melee/range/magic)\r\n\t\t\t\t\t\tPendingHit[] hits = method.getHits(character, target);\r\n\t\t\t\t\t\tif (hits == null)\r\n\t\t\t\t\t\t\treturn;\r\n\r\n\t\t\t\t\t\t// Put all of the {PendingHit} in the target's HitQueue\r\n\t\t\t\t\t\t// And also do other things, such as reward attacker experience\r\n\t\t\t\t\t\t// If they're a player.\r\n\t\t\t\t\t\tfor (PendingHit hit : hits) {\r\n\t\t\t\t\t\t\tCombatFactory.addPendingHit(hit);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// Let the method know we finished the attack\r\n\t\t\t\t\t\t// And perform final actions.\r\n\t\t\t\t\t\t// Example: After attack for magic, reset spell if player is not autocasting.\r\n\t\t\t\t\t\tmethod.finished(character, target);\r\n\r\n\t\t\t\t\t\t// Reset attack timer\r\n\t\t\t\t\t\tif (!graniteMaulSpecial) {\r\n\t\t\t\t\t\t\tcharacter.getTimers().register(TimerKey.COMBAT_ATTACK, method.getAttackSpeed(character));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdisregardDelay = false;\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": "aa2f00dff8d4531fb13c832f874a60de",
"score": "0.51082253",
"text": "protected void attack() {\n // Override in subclasses to allow custom attacking.\n if (!canAttack) {\n return;\n } else {\n canAttack = false;\n EventManager em = GameManager.get().getManager(EventManager.class);\n em.registerEvent(this, new AttackCooldownEvent(500));\n }\n if (this.setState(ATTACK)) {\n currentShootStage=ShootStage.READY;\n GameManager.get().getManager(SoundManager.class).playSound(\"attack.wav\");\n\n float pPosX = GameManager.get().getManager(PlayerManager.class).getPlayer().getPosX();\n float pPosY = GameManager.get().getManager(PlayerManager.class).getPlayer().getPosY();\n float pPosZ = GameManager.get().getManager(PlayerManager.class).getPlayer().getPosZ();\n\n target = WorldUtil.getClosestEntityOfClass(EnemyEntity.class, pPosX, pPosY);\n float targetPosX = 0;\n float targetPosY = 0;\n\n Vector3 startPos = new Vector3(pPosX - 1, pPosY, pPosZ);\n Vector3 endPos = new Vector3(targetPosX, targetPosY, 0);\n\n\n if (BallisticProjectile.class.isAssignableFrom(projectileClass)) {\n projectile = new BallisticProjectile(!target.isPresent() ? EnemyEntity.class : target.get().getClass(), startPos, endPos, 10, 1, projectileTexture,\n null, null);\n } else if (OrbProjectile.class.isAssignableFrom(projectileClass)) {\n projectile = new OrbProjectile(!target.isPresent() ? EnemyEntity.class : target.get().getClass(), startPos, endPos, 10, 1, projectileTexture,\n null, null);\n } // else if (BombProjectile.class.isAssignableFrom(shootObjectClass)) {\n // projectile = new BombProjectile(targetClass, startPos, targetPos, range,\n // damage, projectileTexture,\n // startEffect, endEffect);\n // }\n else if (HomingProjectile.class.isAssignableFrom(projectileClass)) {//could be t.getclass\n projectile = new HomingProjectile(!target.isPresent() ? EnemyEntity.class : target.get().getClass(), startPos, endPos, 10, 1, projectileTexture,\n null, null);\n } else {\n projectile = new BallisticProjectile(!target.isPresent() ? EnemyEntity.class : target.get().getClass(), startPos, endPos, 10, 1, projectileTexture,\n null, null);\n }\n\n switch (facing) {\n case N:\n break;\n case NE:\n pPosY -= 1;\n pPosX += 1.5;\n break;\n case E:\n pPosY -= 1;\n pPosX += 1.5;\n break;\n case SE:\n pPosX += 1;\n break;\n case S:\n pPosX += 1.2;\n break;\n case SW:\n pPosY += 1;\n pPosX += 1;\n break;\n case W:\n break;\n case NW:\n break;\n default:\n break;\n }\n if (shootingStyle == PlayerShootMethod.MOUSE) {\n if (HomingProjectile.class.isAssignableFrom(projectileClass)) {\n ((HomingProjectile) projectile).setHomingDelay(10);\n }\n projectile.setTargetPosition(mousePos.x, mousePos.y, 0);\n }\n if (target.isPresent()) {\n targetPosX = target.get().getPosX();\n targetPosY = target.get().getPosY();\n\n } else {\n if (shootingStyle == PlayerShootMethod.DIRECTIONAL) {\n switch (facing) {\n case W:\n projectile.setTargetPosition(pPosX - 5, pPosY - 5, 0);\n break;\n case E:\n projectile.setTargetPosition(pPosX + 5, pPosY + 5, 0);\n break;\n case N:\n projectile.setTargetPosition(pPosX + 15, pPosY - 15, 0);\n break;\n case S:\n projectile.setTargetPosition(pPosX - 15, pPosY + 15, 0);\n break;\n case SE:\n projectile.setTargetPosition(pPosX + 15, pPosY + 1, 0);\n break;\n case NW:\n projectile.setTargetPosition(pPosX - 15, pPosY - 200, 0);\n break;\n case NE:\n projectile.setTargetPosition(pPosX + 20, pPosY + 200, 0);\n break;\n case SW:\n projectile.setTargetPosition(pPosX - 200, pPosY - 20, 0);\n break;\n }\n }\n\n }\n GameManager.get().getWorld().addEntity(projectile);\n }\n }",
"title": ""
},
{
"docid": "f4b2d6ba918b97e5b681230b9e95b2f7",
"score": "0.5098227",
"text": "protected void castSpell(Fighter target){\n\n target.getHit(spellDamage);\n }",
"title": ""
},
{
"docid": "657aa81b11b509388657a20395e96d1d",
"score": "0.50774336",
"text": "private void attackOpponentMonster() {\r\n\t\tgetDuelingState().getPickCardPane().start(\r\n\t\t\t\tgetDuelingState().getOpponentField().getMonsterSpots(),\r\n\t\t\t\te -> performAttackCardAction(e), e -> {}, spot);\r\n\t}",
"title": ""
},
{
"docid": "49994ed2652375e24b24e424188719d5",
"score": "0.5076692",
"text": "@Override\n public void tick() {\n super.tick();\n LivingEntity entitylivingbase = this.attacker.getTarget();\n this.attacker.getLookControl().setLookAt(entitylivingbase, 30.0F, 30.0F);\n double d0 = this.attacker.distanceToSqr(entitylivingbase.getX(), entitylivingbase.getBoundingBox().minY, entitylivingbase.getZ());\n --this.delayCounter;\n\n if ((this.longMemory || this.attacker.getSensing().hasLineOfSight(entitylivingbase)) && this.delayCounter <= 0 && (\n this.targetX == 0.0D && this.targetY == 0.0D && this.targetZ == 0.0D || entitylivingbase.distanceToSqr(this.targetX, this.targetY, this.targetZ) >= 1.0D\n || this.attacker.getRandom().nextFloat() < 0.05F)) {\n this.targetX = entitylivingbase.getX();\n this.targetY = entitylivingbase.getBoundingBox().minY;\n this.targetZ = entitylivingbase.getZ();\n this.delayCounter = 4 + this.attacker.getRandom().nextInt(7);\n\n if (this.canPenalize) {\n this.delayCounter += failedPathFindingPenalty;\n if (this.attacker.getNavigation().getPath() != null) {\n net.minecraft.world.level.pathfinder.Node finalPathPoint = this.attacker.getNavigation().getPath().getEndNode();\n if (finalPathPoint != null && entitylivingbase.distanceToSqr(finalPathPoint.x, finalPathPoint.y, finalPathPoint.z) < 1)\n failedPathFindingPenalty = 0;\n else\n failedPathFindingPenalty += 10;\n } else {\n failedPathFindingPenalty += 10;\n }\n }\n\n if (d0 > 1024.0D) {\n this.delayCounter += 10;\n } else if (d0 > 256.0D) {\n this.delayCounter += 5;\n }\n\n if (!this.attacker.getNavigation().moveTo(entitylivingbase, this.speedTowardsTarget)) {\n this.delayCounter += 15;\n }\n }\n\n this.attackTick = Math.max(this.attackTick - 1, 0);\n }",
"title": ""
},
{
"docid": "53feec4fb96d9b88ce26fe61376b3265",
"score": "0.507669",
"text": "@EventHandler(priority = EventPriority.HIGH)\n public void playerPunchPlayer(EntityDamageByEntityEvent event) {\n if (!API.isPlayer(event.getEntity()) || !API.isPlayer(event.getDamager()))\n return;\n Player p1 = (Player) event.getDamager();\n Player p2 = (Player) event.getEntity();\n\n if (!API.isNonPvPRegion(p1.getLocation()) && !API.isNonPvPRegion(p2.getLocation())) return;\n if (!DuelingMechanics.isDueling(p2.getUniqueId())) return;\n if (!DuelingMechanics.isDuelPartner(p1.getUniqueId(), p2.getUniqueId())) {\n p1.sendMessage(\"That's not your dueling partner!\");\n event.setDamage(0);\n event.setCancelled(true);\n return;\n }\n DuelOffer offer = DuelingMechanics.getOffer(p1.getUniqueId());\n if (!offer.canFight) {\n event.setCancelled(true);\n event.setDamage(0);\n }\n }",
"title": ""
},
{
"docid": "802814d5d49729bc442a8c5c3426e8ba",
"score": "0.50733274",
"text": "@Override\n protected void instantAffect() {\n onPlayer.damage(onPlayer.getHp());\n }",
"title": ""
},
{
"docid": "219c28be3481fa817efd27d90424b35b",
"score": "0.5072078",
"text": "void doDamageAndReport( Mobile target, World world, Mobile actor, Thing weapon, Container container, Event event )\r\n\t{\r\n\t\t// event.setResult(\"bugger all has happened, but you hit the target!!!!\");\r\n\t\tdoDeath( target, world, actor, weapon, container, event );\r\n\t}",
"title": ""
},
{
"docid": "120c1eaec1da034d88981789e1d511cc",
"score": "0.50713927",
"text": "protected void setTarget(Target aNewTarget) {\n if (aNewTarget == null) throw new NullPointerException(\"The new target cannot be null.\");\n target = aNewTarget;\n }",
"title": ""
},
{
"docid": "8fd4d72bd8f60c651795d4c04b08a04b",
"score": "0.5067612",
"text": "@Override\n public void onEntityDamage(EntityDamageEvent evt) {\n if (evt.getEntity() instanceof Player) {\n if ((evt.getCause() == DamageCause.FALL) || (evt.getCause() == DamageCause.DROWNING) || (evt.getCause() == DamageCause.FIRE) || (evt.getCause() == DamageCause.LAVA) || (evt.getCause() == DamageCause.SUFFOCATION) || (evt.getCause() == DamageCause.BLOCK_EXPLOSION) || (evt.getCause() == DamageCause.FIRE_TICK)) {\n plugin.playerLastDamagedBy.put(evt.getEntity().getEntityId(), evt.getCause());\n }\n }\n }",
"title": ""
},
{
"docid": "61970aa8edbabb3a1e9656f25f33960f",
"score": "0.50667775",
"text": "@Override\n public void updateTask() {\n double distanceSq = lavaMonster.getDistanceSq(target.posX, target.boundingBox.minY, target.posZ);\n boolean canSee = lavaMonster.getEntitySenses().canSee(target);\n if (canSee)\n pathDelay = (byte)Math.min(20, pathDelay + 1);\n else\n pathDelay = 0;\n if (distanceSq <= 225.0 && pathDelay >= 20)\n lavaMonster.getNavigator().clearPathEntity();\n else\n lavaMonster.getNavigator().tryMoveToEntityLiving(target, moveSpeed);\n lavaMonster.getLookHelper().setLookPositionWithEntity(target, 30.0F, 30.0F);\n if (lavaMonster.attackDelay > 0)\n return;\n if (distanceSq > 225.0 || !canSee) {\n lavaMonster.attackDelay = 10;\n return;\n }\n if (++attackPhase == 1) {\n lavaMonster.attackDelay = WINDUP;\n lavaMonster.setBurningState(true);\n return;\n }\n lavaMonster.attackEntityWithFireball(target);\n if (attackPhase <= SHOT_COUNT)\n lavaMonster.attackDelay = SPACING;\n else {\n lavaMonster.attackDelay = COOLDOWN;\n attackPhase = 0;\n lavaMonster.setBurningState(false);\n }\n }",
"title": ""
},
{
"docid": "56176ebdf462eb6ab8b1bd60dae9e0e1",
"score": "0.5064898",
"text": "public boolean targetNextEnemy() {\n if ( this.weaponSystemControl == null ) {\n return false;\n }\n \n float targetDistance = scale * maxrange;\n for ( int i = 0; i < targetList.size(); i++ ) { \n TargetInformation target = targetList.get(i);\n \n /*\n Integer factionid = target.getTarget().getUserData(\"faction\");\n if ( factionid != null && factionid.equals(this.getSpatial().getUserData(\"faction\")) )\n continue;\n */\n if ( target.getFOF(getSpatial().getControl(ObjectInfoControl.class)) != TargetInformation.FOF_FOE )\n continue;\n \n float distance = target.getDirection(getSpatial().getControl(ObjectInfoControl.class)).length();\n if ( distance <= targetDistance ) {\n targetDistance = distance;\n this.weaponSystemControl.setTarget(target);\n }\n }\n \n return this.weaponSystemControl.getTarget() != null;\n }",
"title": ""
},
{
"docid": "2d9dba398139ac560299b9d6b8c43bb8",
"score": "0.50642085",
"text": "public void onLivingUpdate()\n {\n super.onLivingUpdate();\n this.field_756_e = this.field_752_b;\n this.field_757_d = this.destPos;\n this.destPos = (float) ((double) this.destPos + (double) (this.onGround ? -1 : 4) * 0.05D);\n\n if (this.destPos < 0.01F)\n {\n this.destPos = 0.01F;\n }\n\n if (this.destPos > 1.0F)\n {\n this.destPos = 1.0F;\n }\n\n if (this.onGround)\n {\n this.destPos = 0.0F;\n this.jpress = false;\n this.jrem = this.jumps;\n }\n\n if (!this.onGround && this.field_755_h < 1.0F)\n {\n this.field_755_h = 1.0F;\n }\n\n this.field_755_h = (float) ((double) this.field_755_h * 0.9D);\n\n if (!this.onGround && this.motionY < 0.0D)\n {\n if (this.riddenByEntity == null)\n {\n this.motionY *= 0.6D;\n } else\n {\n this.motionY *= 0.6375D;\n }\n }\n\n this.field_752_b += this.field_755_h * 2.0F;\n\n if (!this.worldObj.isRemote && --this.timeUntilNextEgg <= 0)\n {\n this.timeUntilNextEgg = this.rand.nextInt(6000) + 6000;\n }\n }",
"title": ""
},
{
"docid": "e88d3a23162ef62356eac2644bf1c890",
"score": "0.5055245",
"text": "public void onScannedRobotTracker(ScannedRobotEvent e) {\n\t\tsetMaxVelocity(1000);\n\t\t// If we have a target, and this isn't it, return immediately\n\t\t// so we can get more ScannedRobotEvents.\n\t\tif (trackName != null && !e.getName().equals(trackName)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If we don't have a target, well, now we do!\n\t\tif (trackName == null) {\n\t\t\ttrackName = e.getName();\n\t\t\tout.println(\"Tracking \" + trackName);\n\t\t}\n\t\t// This is our target. Reset count (see the run method)\n\t\tcount = 0;\n\t\t// If our target is too far away, turn and move toward it.\n\t\tif (e.getDistance() > 150) {\n\t\t\tgunTurnAmt = normalRelativeAngleDegrees(e.getBearing() + (getHeading() - getRadarHeading()));\n\n\t\t\tturnGunRight(gunTurnAmt); // Try changing these to setTurnGunRight,\n\t\t\tturnRight(e.getBearing()); // and see how much Tracker improves...\n\t\t\t// (you'll have to make Tracker an AdvancedRobot)\n\t\t\tahead(e.getDistance());\n\t\t\treturn;\n\t\t}\n\n\t\t// Our target is close.\n\t\tgunTurnAmt = normalRelativeAngleDegrees(e.getBearing() + (getHeading() - getRadarHeading()));\n\t\tturnGunRight(gunTurnAmt);\n\t\tif(!(e.getName().contains(\"Eurobocode\")))\n\t\t\tfire(300);\n\n\t\t// Our target is too close! Back up.\n\t\tif (e.getDistance() < 100) {\n\t\t\tif (e.getBearing() > -90 && e.getBearing() <= 90) {\n\t\t\t\tback(40);\n\t\t\t} else {\n\t\t\t\tahead(40);\n\t\t\t}\n\t\t}\n\t\tscan();\n\t}",
"title": ""
},
{
"docid": "8e80d63c7b2f74f288ecc0095b4b1611",
"score": "0.5051939",
"text": "public void createNewFighter()\n\t{\n\t\tfighter = new Fighter();\n\t}",
"title": ""
},
{
"docid": "990a4eb7ab29de633149e3de19fdf33e",
"score": "0.50460124",
"text": "public void attack(Character target) {\r\n\t\t// Update the target\r\n\t\tsetTarget(target);\r\n\r\n\t\t// Start facing the target\r\n\t\tcharacter.setEntityInteraction(target);\r\n\r\n\t\t// Start following the target\r\n if (target.isNpc()) {\r\n if (target.getAsNpc().getCombatMethod() != null) {\r\n if (!target.getAsNpc().getCombatMethod().canMove()) {\r\n return;\r\n }\r\n }\r\n }\r\n\t\tcharacter.getMovementQueue().follow(target);\r\n\t}",
"title": ""
},
{
"docid": "9075d42a1678f55d67f9b5d4cba90c6c",
"score": "0.504495",
"text": "protected void searchForTarget() {\r\n if(!enemyPlayer.getListUnits().isEmpty()){\r\n target = enemyPlayer.getListUnits().get(0);\r\n }else if(enemyPlayer.getBase().getHealth() > 0){\r\n target = enemyPlayer.getBase();\r\n }else{\r\n target = null;\r\n } \r\n }",
"title": ""
},
{
"docid": "ff32d031aebaa6623084935af5cfb55e",
"score": "0.5037705",
"text": "public HitElement use(\n\t\t\tCreature target, Character attacker) {\n\t\tHitElement he = Card.checkPreferences(target, attacker, this, null);\n\t\tif (he == null) {\n\t\t\tif (Values.rand.nextFloat() <= getEffectChanceToHit()) {\n\t\t\t\tint damage = target.getAttribute(Creature.HP);\n\t\t\t\the = new HitElement(this, damage, HitElement.NORMAL, TEXT);\n\t\t\t} else {\n\t\t\t\the = new HitElement(this, -1, HitElement.MISS, \"\");\n\t\t\t}\n\t\t}\n\t\treturn he;\n\t}",
"title": ""
},
{
"docid": "ffc137311f10d6dcdc05de461ea8f31e",
"score": "0.5035644",
"text": "@Override\n\tpublic void onEvent(MatchGameWonEvent event) {\n for (int i = 0; i < Shared.userData.getCurMatchGame().getNumTurnsTaken(); i++) {\n if (i < 10) {\n Log.d(TAG, \"*****| Turn: 0\" + i + \" | Turn Time: \" + Shared.userData.getCurMatchGame().queryTurnDurationsArray(i) +\n \" | Play Duration: \" + Shared.userData.getCurMatchGame().queryGamePlayDurations(i) +\n \" | CardID: \" + Shared.userData.getCurMatchGame().queryCardsSelectedArray(i));\n //\" | Species on Card: \" + Shared.userData.getCurMatchGame().queryCardsSelectedArray(i).getSpeciesName());\n } else {\n Log.d(TAG, \"*****| Turn: \" + i + \" | Turn Time: \" + Shared.userData.getCurMatchGame().queryTurnDurationsArray(i) +\n \" | Play Duration: \" + Shared.userData.getCurMatchGame().queryGamePlayDurations(i) +\n \" | CardID: \" + Shared.userData.getCurMatchGame().queryCardsSelectedArray(i));\n //\" | Species on Card: \" + Shared.userData.getCurMatchGame().queryCardsSelectedArray(i).getSpeciesName());\n }\n }\n\n /*\n //this can be removed once validated\n Log.d (TAG, \"... Shared.curMemGameData: themeID: \" + Shared.userData.getCurMatchGame().getThemeID() +\n \" | difficultyLevel selected: \" + Shared.userData.getCurMatchGame().getGameDifficulty() +\n \" | gameDurationAllocated: \" + Shared.userData.getCurMatchGame().getGameDurationAllocated() +\n \" | mixerState: \" + Shared.userData.getCurMatchGame().getMixerState() +\n \" | gameStarted: \" + Shared.userData.getCurMatchGame().isGameStarted() +\n \" | gameStartTimeStamp: \" + Shared.userData.getCurMatchGame().getGameStartTimestamp() +\n \" | numPlayDurationsRecorded: \" + Shared.userData.getCurMatchGame().sizeOfTurnDurationsArray() +\n \" | numTurnDurationsRecorded: \" + Shared.userData.getCurMatchGame().sizeOfTurnDurationsArray() +\n \" | numCardsSelectionsRecorded: \" + Shared.userData.getCurMatchGame().sizeOfCardSelectionArray() +\n \" | numTurnsTaken: \" + Shared.userData.getCurMatchGame().getNumTurnsTaken());\n //TODO validation block doesn't include information from playDurationArray\n for (int i = 0; i < Shared.userData.getCurMatchGame().sizeOfTurnDurationsArray(); i++ ) {\n Log.d(TAG, \"... turnDurations[\" + i + \"] : \" + Shared.userData.getCurMatchGame().queryTurnDurationsArray(i));\n }\n for (int i = 0; i < Shared.userData.getCurMatchGame().sizeOfCardSelectionArray(); i++ ) {\n Log.d(TAG, \"... cardSelections[\" + i + \"].getCardId(): \" + Shared.userData.getCurMatchGame().queryCardsSelectedArray(i));\n }\n //end validation block\n */\n\n\n //append MatchGameData to userData array\n Shared.userData.appendMatchGameData(Shared.userData.getCurMatchGame()); //append the MatchGameData for completed game to\n\n //debug state of UserData before updating Database\n Shared.userData.DebugUserData(\"MatchGameWonEvent\");\n //update userData in array - this makes sure that stars remain up to date\n UserDataORM.updateUserData(Shared.userData);\n\n //insert current matchGameData into database\n MatchGameDataORM.insertMatchGameData(Shared.userData.getCurMatchGame());\n\n //reset flags\n Shared.userData.getCurMatchGame().setGameStarted(false); //reset the gameStarted boolean to false\n //null the pointer to curMemGame once it has been appended to the UserData array\n Shared.userData.setCurMatchGame(null);\n\t\tmTime.setVisibility(View.GONE);\n\t\tmTimeImage.setVisibility(View.GONE);\n\t\tPopupManager.showMatchPopupWon(event.gameState);\n\t}",
"title": ""
},
{
"docid": "9f5180fdcf828c1bbffc0baac2bc1114",
"score": "0.5029899",
"text": "@Override\r\n\t\tprotected void doFire(float targetX, float targetY) {\n\t\t\tWormGameState gameState = Worm.getGameState();\r\n\r\n\t\t\tfloat sourceX, sourceY;\r\n\t\t\tif (entity == null) {\r\n\t\t\t\tsourceX = targetX;\r\n\t\t\t\tsourceY = targetY;\r\n\t\t\t} else {\r\n\t\t\t\tsourceX = entity.getMapX() + entity.getOffsetX();\r\n\t\t\t\tsourceY = entity.getMapY() + entity.getOffsetY();\r\n\t\t\t}\r\n\r\n\t\t\tif (duration == 0) {\r\n\t\t\t\tduration = DEFAULT_DURATION;\r\n\t\t\t}\r\n\r\n\t\t\tfloat totalRadius = getBlastRange();\r\n\t\t\tBlastEffect blast = new BlastEffect(sourceX, sourceY, duration, duration, totalRadius, totalRadius, textureResource);\r\n\t\t\tblast.setOffset(GameScreen.getSpriteOffset());\r\n\t\t\tblast.setFadeWhenExpanding(true);\r\n\t\t\tblast.spawn(GameScreen.getInstance());\r\n\t\t\tif (strobe != null) {\r\n\t\t\t\tStrobeEffect se = new StrobeEffect(strobe, 10);\r\n\t\t\t\tse.spawn(GameScreen.getInstance());\r\n\t\t\t}\r\n\r\n\t\t\tGameScreen.shake(8);\r\n\r\n\t\t\t// Emit emitter\r\n\t\t\tif (emitterFeature != null) {\r\n\t\t\t\tEmitter e = emitterFeature.spawn(GameScreen.getInstance());\r\n\t\t\t\te.setLocation(sourceX, sourceY);\r\n\t\t\t}\r\n\r\n\t\t\t// Damage nearby gidrahs or buildings depending on who we are.\r\n\t\t\tboolean turret = getEntity() instanceof Turret;\r\n\t\t\tArrayList<Entity> entities = new ArrayList<Entity>(gameState.getEntities());\r\n\t\t\tint n = entities.size();\r\n\t\t\tfor (int i = 0; i < n; ) {\r\n\t\t\t\tEntity e = entities.get(i);\r\n\t\t\t\tif (e != entity && e.canCollide() && e.isActive()) {\r\n\t\t\t\t\tdouble dist = e.getDistanceTo(sourceX, sourceY);\r\n\t\t\t\t\tif (dist <= totalRadius) {\r\n\t\t\t\t\t\te.disruptorDamage(damage, turret);\r\n\t\t\t\t\t\tif (e.isDisruptorProof()) {\r\n\t\t\t\t\t\t\tgetEntity().onBulletDeflected(e);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tentities.remove(i);\r\n\t\t\t\t\t\tn --;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ti ++;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\ti ++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}",
"title": ""
},
{
"docid": "7ed65e46788e687a423d276cfbb37e82",
"score": "0.5027504",
"text": "@EventListener(eventClass = PlayerDamaged.class)\n public void playerDamaged(PlayerDamaged event) {\n sayGlobal(\"Tiiiiiens ! Prends ça :p\");\n log.info(\"Joueur blessé.\");\n }",
"title": ""
},
{
"docid": "d8c1d1a1850ae36f944fcdf6bb780291",
"score": "0.5026653",
"text": "public boolean processAdvance() {\n ActivationInfo ai = battleEvent.getActivationInfo();\n \n int tindex = ai.getTargetIndex(targetReferenceNumber, getTargetGroup());\n \n // Setup for different preferences\n if ( (Boolean)Preferences.getPreferenceList().getParameterValue(\"HitLocationRequired\") && target.getBooleanValue(\"Target.USESHITLOCATION\") && battleEvent.usesHitLocation()) {\n // Hit Location is required for every attack, so check for a called shot, then figure out the\n // random location, if necessary\n String calledShot = ai.getIndexedStringValue(tindex, \"Target\", \"HITLOCATIONCALLEDSHOT\");\n \n int index;\n if ( (index = findIndexOfHitLocation(calledShot)) != -1 ) {\n // This was a called shot. If it hits, it will hit this location.\n ai.addIndexed(tindex, \"Target\", \"HITLOCATION\", calledShot, true);\n \n Integer ocvPenalty = (Integer)hitLocationOptions[index][1];\n CVList cvl = ai.getCVList(tindex);\n cvl.addSourceCVModifier(\"Called Shot\", ocvPenalty.intValue() );\n cvl.removeSourceModifier(\"Special Location\");\n }\n else if ( (index = findIndexOfSpecialHitLocation(calledShot)) != -1 ) {\n // This is an area shot...\n Dice d = (Dice)ai.getIndexedValue(tindex, \"Target\", \"HITLOCATIONROLL\");\n if ( d == null ) {\n // The dice roll was null, so roll it.\n String size = (String)specialHitLocationOptions[index][2];\n try {\n d = new Dice(size,true);\n }\n catch (BadDiceException bde) {\n \n }\n ai.addIndexed(tindex, \"Target\", \"HITLOCATIONROLL\", d, true);\n }\n \n String hitLocation = hitLocationLookupTable[d.getStun().intValue()];\n \n // This was a called shot. If it hits, it will hit this location.\n ai.addIndexed(tindex, \"Target\", \"HITLOCATION\", hitLocation, true);\n \n Integer ocvPenalty = (Integer)specialHitLocationOptions[index][1];\n CVList cvl = ai.getCVList(tindex);\n cvl.addSourceCVModifier(\"Special Location\", ocvPenalty.intValue() );\n cvl.removeSourceModifier(\"Called Shot\");\n }\n else {\n // Just a normal Random shot...\n // This is an area shot...\n Dice d = (Dice)ai.getIndexedValue(tindex, \"Target\", \"HITLOCATIONROLL\");\n if ( d == null ) {\n // The dice roll was null, so roll it.\n d = new Dice(3,true);\n }\n ai.addIndexed(tindex, \"Target\", \"HITLOCATIONROLL\", d, true);\n \n String hitLocation = hitLocationLookupTable[d.getStun().intValue()];\n \n // This was a called shot. If it hits, it will hit this location.\n ai.addIndexed(tindex, \"Target\", \"HITLOCATION\", hitLocation, true);\n \n CVList cvl = ai.getCVList(tindex);\n cvl.removeSourceModifier(\"Special Location\");\n cvl.removeSourceModifier(\"Called Shot\");\n }\n }\n else {\n // Called are may be allowed, but hit location is not required\n String calledShot = ai.getIndexedStringValue(tindex, \"Target\", \"HITLOCATIONCALLEDSHOT\");\n \n int index;\n if ( (index = findIndexOfHitLocation(calledShot)) != -1 ) {\n // This was a called shot. If it hits, it will hit this location.\n ai.addIndexed(tindex, \"Target\", \"HITLOCATION\", calledShot, true);\n \n Integer ocvPenalty = (Integer)hitLocationOptions[index][1];\n CVList cvl = ai.getCVList(tindex);\n cvl.addSourceCVModifier(\"Called Shot\", ocvPenalty.intValue() );\n }\n else {\n // It wasn't a called shot\n ai.addIndexed(tindex, \"Target\", \"HITLOCATION\", null, true);\n CVList cvl = ai.getCVList(tindex);\n cvl.removeSourceModifier(\"Called Shot\");\n }\n }\n \n return true;\n }",
"title": ""
},
{
"docid": "e2f311299ed0c75e85829c49d46f8525",
"score": "0.50138324",
"text": "protected void Update(float deltaTime)\n {\n\n if(alive)\n {\n //If distance/difference to target Y is above treshold:\n if (Math.abs(this.position.y - targetYpos) > 5f)\n {\n //Above or under target?\n if (this.position.y > targetYpos)\n {\n this.speed.y = -2f;\n }\n else\n {\n this.speed.y = 2f;\n }\n }\n else\n {\n //Close to target, find a new target.a\n targetYpos = r.nextInt(800);\n }\n\n }\n else\n {\n this.speed.x = -GameViewManager.worldSpeed;\n this.speed.y = 4f;\n ChangeSprite(R.drawable.fish_small_dead);\n }\n\n if (this.position.x < -128)\n {\n Respawn();\n }\n\n super.Update(deltaTime);\n }",
"title": ""
},
{
"docid": "e465eafc064f66bcb5d45c9a4ca4a329",
"score": "0.50129175",
"text": "public void trackTarget() {\n setLightMode(LedMode.ON);\n setCameraMode(CameraMode.VISION);\n }",
"title": ""
},
{
"docid": "510c2870a264a6aa5c2c625e8e742e23",
"score": "0.501278",
"text": "protected boolean checkTargetReached() {\n\t\t\n\t\tif(target != null && man.getX() == target.getX() && man.getY() == target.getY()) {\n\t\t\ttarget = null;\n\t\t\ttargetfinder = null;\n\t\t\tman.setPlaceBomb(placebomb);\n\t\t\tman.setDirection(Man.NO_DIR);\n\t\t\tplacebomb = false;\n\t\t\tif(mode == ATK_MODE) {\n\t\t\t\tmode = FLEE_MODE;\n\t\t\t} else if(mode == FLEE_MODE) {\n\t\t\t\tmode = ATK_MODE;\n\t\t\t} else {\n\t\t\t\tmode = ATK_MODE;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t\t\n\t}",
"title": ""
},
{
"docid": "7e452dd50949d6a811faae46c0b28ce4",
"score": "0.5004809",
"text": "@Override\n public void onEntityDamageByEntity(EntityDamageByEntityEvent evt) {\n if (evt.getEntity() instanceof Player) {\n plugin.playerLastDamagedBy.put(evt.getEntity().getEntityId(), evt.getDamager());\n }\n }",
"title": ""
},
{
"docid": "38ad23ad749fdb3b8140ca4be7519802",
"score": "0.5000289",
"text": "@Override\n\tpublic void pursue() {\n\t\tif (target == null || victoryCondition.meetsReq(Me, target)) {success();}\n\t\tboolean winorlose = Me.FB.getPrs(P_.COMBAT) > target.FB.getPrs(P_.COMBAT);\n\t\tMe.addReport(GobLog.handToHand(target, winorlose));\n\t\t((PersecuteAbstract) upQuest()).failDestroy(); \n\t\tif (winorlose) {success(); target.AB.add(new Stressor(Stressor.INSULT, Me)); Me.FB.upPrest(P_.TYRRP);}\n\t\telse {Me.FB.downPrest(P_.TYRRP); failure(target);}\n\t}",
"title": ""
},
{
"docid": "45877fd25a363092f270e53076b7ac76",
"score": "0.49990442",
"text": "private void updateTeam() {\n // if the pokemon I had out took damage update the hp\n teamHP[currIndex] = this.HP;\n oTeamHP[oCurrIndex] = this.oHP;\n\n // allows us to see the index of pokemon they had out last turn\n prevIndex = currIndex;\n oPrevIndex = oCurrIndex;\n }",
"title": ""
},
{
"docid": "77dbd3453568fd0d9753121f042f5cc2",
"score": "0.49977115",
"text": "@Override\r\n\tpublic void triggerAt(WorldField Target) {\r\n\t\tassert Target != null;\r\n\t\t\r\n\t\tboolean avail = this.isAvail();\r\n\t\tif (avail == false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tint deepness = 0; // current deepness level of recursion (deepness = [0,2])\r\n\t\tthis.recursiveSetAntOdour(Target, deepness);\r\n\t\t\r\n\t\t// decrease the load of the AntOdourKiller\r\n\t\tint newLoad = this.getLoad() - 1;\r\n\t\tthis.setLoad(newLoad);\r\n\t}",
"title": ""
},
{
"docid": "0d589416ac33ef578af6a6504b11ca36",
"score": "0.4995428",
"text": "public Attack fight(String opponent){\n\t\treturn Attack.SCRATCH;\n\t}",
"title": ""
},
{
"docid": "7a4a82ec78e5c8b5b65355149b1f2642",
"score": "0.49910024",
"text": "public void processStickersAfterTurn(EncounterEventLog eventLog, CardDbo targetCard) {\n if (stickers != null)\n stickers.forEach(sticker-> sticker.afterTurn(eventLog, this, targetCard));\n }",
"title": ""
},
{
"docid": "eacbe8c541e4655d3de5ffb12a6839a3",
"score": "0.49892268",
"text": "public void onLivingUpdate() {\n\n if (detroyAllLight != 0)\n --detroyAllLight;\n\n if (detroyAllLight == 0 && MWAWConfigHandler.DarkWitchDestroyLight) {\n destroyLight();\n detroyAllLight = 20;\n }\n\n List list = worldObj.getEntitiesWithinAABBExcludingEntity(this, getBoundingBox().expand(20D, 20D, 20D));\n\n for (int i = 0; i < list.size(); i++) {\n Entity entity1 = (Entity) list.get(i);\n\n if (entity1 instanceof EntityZombie || entity1 instanceof EntitySpider || entity1 instanceof EntityCaveSpider || entity1 instanceof EntitySkeleton || entity1 instanceof EntityCreeper) {\n\n ((EntityMob) entity1).setAttackTarget(this.getAttackTarget());\n }\n }\n\n if (!worldObj.isRemote && this.getAttackTarget() != null && MWAWConfigHandler.DarkWitchTurnNight)\n worldObj.setWorldTime(18000);\n\n\n if (summonSummoner != 0 && this.getAttackTarget() != null)\n --summonSummoner;\n\n if (summonDarkMark != 0 && this.getAttackTarget() != null)\n --summonDarkMark;\n\n if (summonEnderHole != 0 && this.getAttackTarget() != null)\n --summonEnderHole;\n\n if (this.rand.nextFloat() < 7.5E-4F)\n this.worldObj.setEntityState(this, (byte) 15);\n\n if (worldObj.isRemote) {\n MoWitchAndWizard.proxy.spawnParticles(\"dark_normal\", this);\n }\n\n if (this.getAttackTarget() != null) {\n\n if (!deathCircle && this.getHealth() <= 20) {\n\n final EntityDeathCircle entitywitherskull1 = new EntityDeathCircle(worldObj);\n entitywitherskull1.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0);\n entitywitherskull1.mountEntity(this);\n MWAWEntityUtil.spawnInWorld(worldObj, entitywitherskull1);\n\n deathCircle = true;\n }\n\n if (summonSummoner == 0) {\n\n final EntityDarkSummoner entitywitherskull1 = new EntityDarkSummoner(worldObj);\n entitywitherskull1.setLocationAndAngles(this.posX + rand.nextInt(5), this.posY, this.posZ + rand.nextInt(5), this.rotationYaw, 0);\n MWAWEntityUtil.spawnInWorld(worldObj, entitywitherskull1);\n entitywitherskull1.setAttackTarget(this.getAttackTarget());\n summonSummoner = 200;\n\n }\n\n if (summonDarkMark == 0) {\n\n final EntityDarkMark entitywitherskull1 = new EntityDarkMark(worldObj);\n entitywitherskull1.setLocationAndAngles(this.posX, this.posY + 3, this.posZ, this.rotationYaw, 0);\n MWAWEntityUtil.spawnInWorld(worldObj, entitywitherskull1);\n entitywitherskull1.setAttackTarget(this.getAttackTarget());\n summonDarkMark = 600;\n\n }\n\n if (summonEnderHole == 0) {\n\n EntityEnderHole entitysnowball = new EntityEnderHole(worldObj);\n entitysnowball.setLocationAndAngles(this.getAttackTarget().posX, this.getAttackTarget().posY + 2, this.getAttackTarget().posZ, 0, 0);\n MWAWEntityUtil.spawnInWorld(worldObj, entitysnowball);\n summonEnderHole = 300;\n\n }\n\n }\n\n super.onLivingUpdate();\n }",
"title": ""
},
{
"docid": "7090c97a09d2e8740b85bd8cc40b2af3",
"score": "0.4986528",
"text": "public default void onEndPenetration(Combat c, Character self, Character opponent, BodyPart target) {\n // Do nothing, may be overridden in implementing classes.\n if (Global.isDebugOn(DebugFlags.DEBUG_SCENE)) {\n System.out.printf(\"Ending Penetration for %s -> (%s, %s, %s)\\n\", describe(self), self, opponent,\n target.describe(opponent));\n }\n }",
"title": ""
},
{
"docid": "7bc8825535d458173e90dcb8739de1ed",
"score": "0.49827406",
"text": "public abstract Position chaseTarget(PacmanGame game);",
"title": ""
},
{
"docid": "4e4df62257a5246b50d5388ee38de771",
"score": "0.49824655",
"text": "public void setTarget(String player, LivingEntity entity) {\r\n\t\ttargets.put(player, new WeakReference<LivingEntity>(entity));\r\n\t}",
"title": ""
},
{
"docid": "e9573a8441c864ef637b49b3409c46c3",
"score": "0.4980277",
"text": "@Override\n\tpublic\n\tvoid updateTask( )\n\t{\n\t\tEntityLivingBase target = this.theEntity.getAttackTarget( );\n\t\tthis.theEntity.getLookHelper( ).setLookPositionWithEntity( target, 30.0F, 30.0F );\n\t\tif( ++this.giveUpDelay > 400 ) {\n\t\t\tthis.theEntity.getNavigator( ).clearPath( );\n\t\t}\n\t\telse {\n\t\t\tif( this.theEntity.getNavigator( ).noPath( ) ) {\n\t\t\t\tthis.theEntity.getNavigator( ).tryMoveToEntityLiving( target, this.speedMult );\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "4d87ff1dd624301ddf3fbfe2d82a9ff1",
"score": "0.4970492",
"text": "@Override\r\n\tpublic boolean attackEntityWithAircraft(Entity target)\r\n\t{\r\n\t\t//light ammo--\r\n if (this.getNumAircraftLight() <= 0 ||\r\n \t!decrAmmoNum(0, 6 * this.getAmmoConsumption())) return false;\r\n \r\n\t\t//50% clear target every attack\r\n\t\tif (this.rand.nextInt(2) == 0) this.setEntityTarget(null);\r\n\t\t\r\n\t\t//num aircraft--, number check in carrier AI\r\n\t\tthis.setNumAircraftLight(this.getNumAircraftLight()-1);\r\n\t\t\r\n //experience++\r\n addShipExp(ConfigHandler.expGain[3]);\r\n \t\t\r\n \t\t//grudge--\r\n \t\tdecrGrudgeNum(ConfigHandler.consumeGrudgeAction[ID.ShipConsume.LAir]);\r\n \t\t\r\n \t\t//morale--\r\n \t\tdecrMorale(3);\r\n \t\tsetCombatTick(this.ticksExisted);\r\n \r\n \t\t//play attacker effect\r\n applySoundAtAttacker(3, target);\r\n\t applyParticleAtAttacker(3, target, Dist4d.ONE);\r\n \r\n \tfloat summonHeight = (float)(posY + launchHeight);\r\n \t\r\n \t//check the summon block\r\n \tif (!BlockHelper.checkBlockSafe(world, (int)posX, (int)(posY+launchHeight), (int)(posZ)))\r\n \t{\r\n \t\tsummonHeight = (float)posY + 1F;\r\n \t}\r\n \t\r\n \tif (this.getRidingEntity() instanceof BasicEntityMount)\r\n \t{\r\n \t\tsummonHeight -= 1.5F;\r\n \t}\r\n \t\r\n \t//spawn airplane\r\n \tBasicEntityAirplane plane = getAttackAirplane(true);\r\n plane.initAttrs(this, target, 0, summonHeight);\r\n \tthis.world.spawnEntity(plane);\r\n \t\r\n \t//play target effect\r\n \tapplySoundAtTarget(3, target);\r\n applyParticleAtTarget(3, target, Dist4d.ONE);\r\n applyEmotesReaction(3);\r\n \r\n applyAttackPostMotion(3, target, true, 0F);\r\n \r\n return true;\r\n\t}",
"title": ""
},
{
"docid": "715d7a26a4396b701a97daac0ce86719",
"score": "0.49686015",
"text": "@EventHandler(priority = EventPriority.LOW, ignoreCancelled = false)\n public void onMonsterHitPlayer(EntityDamageByEntityEvent event) {\n if (API.isPlayer(event.getDamager()))\n return;\n if ((!(event.getDamager() instanceof LivingEntity)) && (!DamageAPI.isBowProjectile(event.getDamager()) && (!DamageAPI.isStaffProjectile(event.getDamager()))))\n return;\n if (!(API.isPlayer(event.getEntity()))) return;\n if (API.isInSafeRegion(event.getDamager().getLocation()) || API.isInSafeRegion(event.getEntity().getLocation())) {\n event.setCancelled(true);\n event.setDamage(0);\n return;\n }\n double finalDamage = 0;\n Player player = (Player) event.getEntity();\n if (event.getDamager() instanceof LivingEntity) {\n LivingEntity attacker = (LivingEntity) event.getDamager();\n EntityEquipment attackerEquipment = attacker.getEquipment();\n if (attackerEquipment.getItemInMainHand() == null) return;\n attackerEquipment.getItemInMainHand().setDurability(((short) -1));\n //Check if it's a {WEAPON} the mob is hitting with. Once of our custom ones!\n if (!API.isWeapon(attackerEquipment.getItemInMainHand())) return;\n finalDamage = DamageAPI.calculateWeaponDamage(attacker, (LivingEntity) event.getEntity());\n if (CombatLog.isInCombat(player)) {\n CombatLog.updateCombat(player);\n } else {\n CombatLog.addToCombat(player);\n }\n } else if (DamageAPI.isBowProjectile(event.getDamager())) {\n Projectile attackingArrow = (Projectile) event.getDamager();\n if (!(attackingArrow.getShooter() instanceof CraftLivingEntity)) return;\n if (((CraftLivingEntity) attackingArrow.getShooter()).hasMetadata(\"type\")) {\n if (!(attackingArrow.getShooter() instanceof Player) && !(event.getEntity() instanceof Player)) {\n attackingArrow.remove();\n event.setCancelled(true);\n event.setDamage(0);\n return;\n }\n finalDamage = DamageAPI.calculateProjectileDamage((LivingEntity) attackingArrow.getShooter(), (LivingEntity) event.getEntity(), attackingArrow);\n }\n if (CombatLog.isInCombat(player)) {\n CombatLog.updateCombat(player);\n } else {\n CombatLog.addToCombat(player);\n }\n } else if (DamageAPI.isStaffProjectile(event.getDamager())) {\n Projectile staffProjectile = (Projectile) event.getDamager();\n if (!(staffProjectile.getShooter() instanceof CraftLivingEntity)) return;\n if (((CraftLivingEntity) staffProjectile.getShooter()).hasMetadata(\"type\")) {\n if (!(staffProjectile.getShooter() instanceof Player) && !(event.getEntity() instanceof Player)) {\n staffProjectile.remove();\n event.setCancelled(true);\n event.setDamage(0);\n return;\n }\n finalDamage = DamageAPI.calculateProjectileDamage((LivingEntity) staffProjectile.getShooter(), (LivingEntity) event.getEntity(), staffProjectile);\n }\n if (CombatLog.isInCombat(player)) {\n CombatLog.updateCombat(player);\n } else {\n CombatLog.addToCombat(player);\n }\n }\n\n\n Entity theEntity = null;\n if (event.getDamager() instanceof LivingEntity) {\n\n theEntity = event.getDamager();\n\n } else if (DamageAPI.isBowProjectile(event.getDamager())) {\n Projectile attackingArrow = (Projectile) event.getDamager();\n theEntity = (Entity) attackingArrow.getShooter();\n }else if (DamageAPI.isStaffProjectile(event.getDamager())) {\n Projectile attackingSkull = (Projectile) event.getDamager();\n theEntity = (Entity) attackingSkull.getShooter();\n }\n\n if (PowerStrike.powerStrike.contains(theEntity.getUniqueId())) {\n player.sendMessage(ChatColor.RED + \"You've been hit with Power Strike!\");\n finalDamage *= 3;\n PowerStrike.chargedMonsters.remove(theEntity.getUniqueId());\n PowerStrike.powerStrike.remove(theEntity.getUniqueId());\n player.playSound(player.getLocation(), Sound.ENTITY_GENERIC_EXPLODE, 1, 0.5F);\n player.getWorld().playEffect(player.getLocation(), Effect.CLOUD, 1, 40);\n\n }\n\n event.setDamage(finalDamage);\n }",
"title": ""
},
{
"docid": "79b59d38a18460aa064d67a250d6abfe",
"score": "0.49661064",
"text": "public void steeringSeek(GameObject target){\r\n\t\tBehavior b = Steering.seek(target, g);\r\n\t\ttargetMaps[S_SEEK].put(target, b);\r\n\t}",
"title": ""
},
{
"docid": "6066db6ae6af4e96d0cbaf1d41241a32",
"score": "0.49634114",
"text": "public final Target getTarget() {\n ActivationInfo ai = battleEvent.getActivationInfo();\n Target t = (Target)ai.getValue(\"ActivationInfo.THROWNOBJECT\");\n return t;\n }",
"title": ""
},
{
"docid": "84c85d39160f616d28ad5bc7d7bbdc73",
"score": "0.49581483",
"text": "protected static void setLastCombatTime(IAttackEntity host)\r\n {\r\n StateHandler state = HandlerHelper.getStateHandler(host);\r\n \r\n if (state != null)\r\n {\r\n if (host instanceof Entity)\r\n {\r\n state.setLastCombatTick(((Entity) host).ticksExisted);\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "97091ab8786b93f52f3350f617a09329",
"score": "0.49578077",
"text": "@Override\n\tpublic void specialAttack() {\n\t\tfighter.bonusDmg = fighter.stats.speed;\n\t\tfighter.efecto = addEfecto();\n\t\tfighter.stats.mana -= 10;\n\t}",
"title": ""
},
{
"docid": "34e9a1ed20306c6d005522272dfad68b",
"score": "0.49540403",
"text": "public void deathEvent() {\n ShadowDefend.changeMoney(reward);\n }",
"title": ""
},
{
"docid": "28db165814a6bc3127f550defd0f7f65",
"score": "0.4941922",
"text": "void setOpponent( Player opponent );",
"title": ""
},
{
"docid": "6ac793c31fabfadab7697e179e022708",
"score": "0.49363774",
"text": "public void updateTargets() {\r\n for (SentinelCurrentTarget uuid : new HashSet<>(currentTargets)) {\r\n Entity e = SentinelUtilities.getEntityForID(uuid.targetID);\r\n if (e == null) {\r\n currentTargets.remove(uuid);\r\n continue;\r\n }\r\n if (e instanceof Player && (((Player) e).getGameMode() == GameMode.CREATIVE || ((Player) e).getGameMode() == GameMode.SPECTATOR)) {\r\n currentTargets.remove(uuid);\r\n continue;\r\n }\r\n if (e.isDead()) {\r\n currentTargets.remove(uuid);\r\n continue;\r\n }\r\n double d = e.getWorld().equals(getLivingEntity().getWorld()) ?\r\n e.getLocation().distanceSquared(getLivingEntity().getLocation())\r\n : 10000.0 * 10000.0;\r\n if (d > sentinel.range * sentinel.range * 4 && d > sentinel.chaseRange * sentinel.chaseRange * 4) {\r\n currentTargets.remove(uuid);\r\n continue;\r\n }\r\n if (uuid.ticksLeft > 0) {\r\n uuid.ticksLeft -= SentinelPlugin.instance.tickRate;\r\n if (uuid.ticksLeft <= 0) {\r\n currentTargets.remove(uuid);\r\n }\r\n }\r\n }\r\n if (sentinel.chasing != null) {\r\n SentinelCurrentTarget cte = new SentinelCurrentTarget();\r\n cte.targetID = sentinel.chasing.getUniqueId();\r\n if (!currentTargets.contains(cte)) {\r\n sentinel.chasing = null;\r\n getNPC().getNavigator().cancelNavigation();\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "dce458cd14b53b5b25fab267f7f72ff9",
"score": "0.4933621",
"text": "public void handleDefeat() {\n dashboardController.singlePlayerEnd(0);\n }",
"title": ""
},
{
"docid": "d92114906d50432a123cbca29e87044c",
"score": "0.49307638",
"text": "public void newGame() {\n\t\tgameGrid.clearGrid();\n\t\tcurrentState = OTHERS_TURN;\n\t\tmessage = \"You started a new game, it's your opponents turn!\";\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t}",
"title": ""
},
{
"docid": "f0e27f1d0758a5931bb24e827b344bf3",
"score": "0.49278826",
"text": "public void affect(Pokemon offender, Pokemon defender) {\r\n\t\tshort damage;\r\n\t\tif(affectItself) {\t// Rising its own feature\r\n\t\t\toffender.changeFeatureLevel(affectOn, power);\r\n\t\t}\r\n\t\telse if(affectOn == Feature.HpMax){\t// Attacking the ennemy's health points\r\n\t\t\tif(power==Short.MAX_VALUE){\r\n\t\t\t\tdefender.setHp((short) 0);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\t/*\r\n\t\t\t\t * The type of the attack changes the way the damages are calculated.\r\n\t\t\t\t * It depends on whether the attack is physical or not.\r\n\t\t\t\t * The computation have been taken from an online database. They are directly taken from the original Pokemon games of Game Freak\r\n\t\t\t\t */\r\n\t\t\t\tif(Type.Normal.equals(type)||Type.Combat.equals(type)||Type.Vol.equals(type)||Type.Poison.equals(type)||Type.Sol.equals(type)||Type.Roche.equals(type)||Type.Insecte.equals(type)||Type.Spectre.equals(type)){\r\n\t\t\t\t\tshort powerAttack = offender.getFeatureValue(Feature.Attack);\r\n\t\t\t\t\tshort powerDefense = defender.getFeatureValue(Feature.Defense);\r\n\t\t\t\t\tdamage=(short) (((offender.getLvl()*0.4+2)*powerAttack*power)/(powerDefense*50)+2);\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tdamage=(short) (((offender.getLvl()*0.4+2)*offender.getFeatureValue(Feature.Special)*power)/(defender.getFeatureValue(Feature.Special)*50)+2);\r\n\t\t\t\t}\r\n\t\t\t\tdefender.setHp((short)(defender.getHp()-damage));\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\t// Lower a feature of the adversary\r\n\t\t\tdefender.changeFeatureLevel(affectOn, power);\r\n\t\t}\r\n\r\n\t}",
"title": ""
}
] |
25197b4cf814864ecd440f23b9149cb3 | TODO Autogenerated method stub | [
{
"docid": "8e16fa621425ccb0ae957ba4220f49aa",
"score": "0.0",
"text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tint cate = listcates_audio.get(arg2).getId();\n\t\t\t\tIntent i = new Intent(getApplicationContext(),ListChildCateDialogue.class);\n\t\t\t\ti.putExtra(\"cate\", cate);\n\t\t\t\tstartActivity(i);\n\t\t\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": ""
}
] |
9a2f7015e1b7703fe9da501b130f3ae3 | Create an image file name | [
{
"docid": "5aafc2beb6691276bde6598f9289fb9c",
"score": "0.66951907",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"PNG_\" + timeStamp + \"_\";\n File storageDir = this.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".png\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n //currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
}
] | [
{
"docid": "01269efc11ccc20e92f8d50c067cab2f",
"score": "0.7852325",
"text": "private File createImageFileName(){\n\t\tSimpleDateFormat timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", java.util.Locale.getDefault());\n\t\tDate today = Calendar.getInstance().getTime();\n\t String imageFileName = \"IMG_XP_\" + timeStamp.format(today);\n\t File newImage = new File(mImageFolder.getPath() + File.separator + imageFileName + \".jpg\");\n\t \n\n\t // Save a file: path for use with ACTION_VIEW intents\n\t mImagePath = newImage.getPath();\n\t return newImage;\n\t}",
"title": ""
},
{
"docid": "5b55d0ca725fb64ee054787b14cc8152",
"score": "0.7392134",
"text": "private static String generateFileName(Image image) {\n \t\treturn new StringBuilder()\n \t\t\t.append(image.getId())\n \t\t\t.append('.')\n \t\t\t.append(image.getType().toString().toLowerCase())\n \t\t\t.toString();\n \t}",
"title": ""
},
{
"docid": "fdac67548143edee46acc1891b6871bc",
"score": "0.7276305",
"text": "private String createFileName(String nameImgLow) {\n return StringUtils.createMD5(nameImgLow + new Date().getTime() + StringUtils.createRandomHash());\n }",
"title": ""
},
{
"docid": "438e2a3222df6bf7c2b87361c454b4d5",
"score": "0.70509267",
"text": "private File createImageFile() throws IOException {\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n\t\tString imageFileName = JPEG_FILE_PREFIX + timeStamp + \"_\";\n\t\tFile albumF = getAlbumDir();\n\t\tFile imageF = File.createTempFile(imageFileName, JPEG_FILE_SUFFIX, albumF);\n\t\treturn imageF;\n\t}",
"title": ""
},
{
"docid": "b10dd9bdcbe5d50f3663014ba86a70ab",
"score": "0.7014765",
"text": "private File createImageFile() throws IOException {\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.US).format(new Date());\n\t\tString imageFileName = \"renter_\" + timeStamp;\n\t\tFile storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n\n\t\treturn File.createTempFile(\n\t\t\t\timageFileName, /* prefix */\n\t\t\t\t\".jpg\", /* suffix */\n\t\t\t\tstorageDir /* directory */\n\t\t);\n\t}",
"title": ""
},
{
"docid": "9a3a96dea3b8cc86de7ace4e7984f629",
"score": "0.70072454",
"text": "File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.US).format(new Date());\n String imageFileName = \"IMAGE_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n return File.createTempFile(\n imageFileName, // prefix\n \".png\", // suffix\n storageDir // directory\n );\n }",
"title": ""
},
{
"docid": "a15a354ab2f68161496adb5671c089cb",
"score": "0.6927813",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.getDefault()).format(new Date());\n String imageFileName = \"IMG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(imageFileName, \".jpg\", storageDir);\n return image;\n }",
"title": ""
},
{
"docid": "04bddc38ed4203557212f704e7482ce7",
"score": "0.6922588",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = JPEG_FILE_PREFIX + timeStamp + \"_\";\n File albumF = getAlbumDir();\n File imageF = File.createTempFile(imageFileName, JPEG_FILE_SUFFIX, albumF);\n return imageF;\n }",
"title": ""
},
{
"docid": "2d78d4f743129005cec7913452d54138",
"score": "0.6911357",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = JPEG_FILE_PREFIX + timeStamp + \"_\";\n File albumF = getAlbumDir();\n File imageF = File.createTempFile(imageFileName, JPEG_FILE_SUFFIX, albumF);\n return imageF;\n }",
"title": ""
},
{
"docid": "5f53ad55709bd083ccaff9943bc05c03",
"score": "0.68950534",
"text": "public String getImageFileName();",
"title": ""
},
{
"docid": "c5a67f8ef30589a96e8f21ae469c419f",
"score": "0.68584067",
"text": "private File createImageFile() throws IOException{\n @SuppressLint(\"SimpleDateFormat\")\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"img_\"+timeStamp+\"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n return File.createTempFile(imageFileName,\".jpg\",storageDir);\n }",
"title": ""
},
{
"docid": "bb0b74b58eb5ec45450879a903226343",
"score": "0.68224466",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n return File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n }",
"title": ""
},
{
"docid": "329c306b2911204f5aa1bb7ad212d23f",
"score": "0.6801323",
"text": "@SuppressLint(\"SimpleDateFormat\")\n private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMddHHmmss\").format(new Date());\n String mFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n return File.createTempFile(mFileName, \".jpg\", storageDir);\n }",
"title": ""
},
{
"docid": "2394b6329cf80264c98c3b4b419fe0ca",
"score": "0.677627",
"text": "private File createImageFile(Character character, String pill_no) throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = JPEG_FILE_PREFIX + timeStamp + \"_\" + sharefb + \"_\" + character + \"_\" + pill_no + \"_\";\r\n File albumF = getAlbumDir();\r\n File imageF = File.createTempFile(imageFileName + sharefb, PNG_FILE_SUFFIX, albumF);\r\n return imageF;\r\n }",
"title": ""
},
{
"docid": "29d1c9ef97630fb4adc1a21f770b449c",
"score": "0.6773125",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n return image;\n }",
"title": ""
},
{
"docid": "b5e402a2cd6a8d85f9d127c0f6c6b3b6",
"score": "0.6748258",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n return image;\n }",
"title": ""
},
{
"docid": "796c621b400ac3af46c3abb5c7c31c8e",
"score": "0.6736642",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n\n return image;\n }",
"title": ""
},
{
"docid": "3682c74392032ba591cbc9e1302743a8",
"score": "0.67365587",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n File imageFile = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n return imageFile;\n }",
"title": ""
},
{
"docid": "102b77d4397ee9526cf46bf850ab2aa1",
"score": "0.6716195",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n return image;\n }",
"title": ""
},
{
"docid": "b4d3fb63506320d8f6aa9c54519ee6b1",
"score": "0.6714231",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(imageFileName, \".jpg\", storageDir);\n return image;\n }",
"title": ""
},
{
"docid": "78522b74f8275b2f9a1dc957ad6d961f",
"score": "0.6680621",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\")\n .format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = this.getContext()\n .getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n\n File image = File.createTempFile(imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */);\n\n return image;\n }",
"title": ""
},
{
"docid": "02f823cad6e4c78e6e54918f07c3b717",
"score": "0.6630804",
"text": "void saveImage(String fileName) throws IOException;",
"title": ""
},
{
"docid": "cdf7845af51573d0e68e6a56ea0c46e6",
"score": "0.66000605",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(FILENAME_FORMAT, Locale.getDefault())\n .format(new Date());\n System.out.println(timeStamp);\n String imageFileName = \"IMG_\" + timeStamp;\n System.out.println(imageFileName);\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n System.out.println(image);\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n System.out.println(currentPhotoPath);\n return image;\n }",
"title": ""
},
{
"docid": "af023790989b6a6e1ff4520d1152e07e",
"score": "0.6596224",
"text": "private File createImageFile() throws IOException {\n String timeStamp =\n new SimpleDateFormat(\"yyyyMMdd_HHmmss\",\n Locale.getDefault()).format(new Date());\n String imageFileName = \"IMG_\" + timeStamp + \"_\";\n File storageDir =\n getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \"\", /* suffix */\n storageDir /* directory */\n );\n\n imageFilePath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "1c57d03058f6baa80e3e19d8dfc8bc4c",
"score": "0.65788347",
"text": "private File createImageFile() throws IOException {\n @SuppressLint(\"SimpleDateFormat\") String timeStamp =\n new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = ctx.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName,\n \".jpg\",\n storageDir\n );\n\n currentImagePath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "65021d5b1706ea54f8a64db6b0a8bef1",
"score": "0.65715134",
"text": "protected File createFile(Image image) {\n \t\treturn new File(storageDir, generateFileName(image));\n \t}",
"title": ""
},
{
"docid": "b9c223af028c0d2e108ccb218b5e97a4",
"score": "0.6555692",
"text": "public File createImageFile()\r\n\t{\n\t try {\r\n\t\t SimpleDateFormat timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.US);\r\n\t\t String imageFileName = timeStamp.format(new Date(0));\r\n\t\r\n\t\t File storageDir = getStoragePath();\r\n\t\t storageDir.mkdirs();\r\n\t\t \r\n\t\t\tFile image = File.createTempFile(\r\n imageFileName, /* prefix */\r\n \".jpg\", /* suffix */\r\n storageDir /* directory */\r\n );\r\n\t\t\t\r\n\t\t\treturn image;\r\n\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\t\r\n\t\t}\r\n\r\n\t // Save a file: path for use with ACTION_VIEW intents\r\n\t return null;\r\n\t}",
"title": ""
},
{
"docid": "622eddd6a69aad170a4d94aae762ecfb",
"score": "0.65509194",
"text": "private void createImageFile() {\n // Find the default directory for storing images on device\n // Make new directory inside to store images\n mFile = null;\n File imageStorageDir = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES),\n \"PolarisationImages\");\n if(!imageStorageDir.exists()) {\n if(!imageStorageDir.mkdirs()) {\n Log.d(TAG, \"Failed to create directory\");\n Toast.makeText(MainActivity.this, \"Failed to create directory\", Toast.LENGTH_LONG).show();\n return;\n }\n }\n\n // Find the current date and time and use that to create a\n // collision-resistant file name for the image\n timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n mFile = new File(imageStorageDir.getPath(), timeStamp + \"_\" + String.valueOf(azimuth) + \"_IMG\" + \".jpg\");\n }",
"title": ""
},
{
"docid": "9e5da20453dceebbeca1450295bfee8c",
"score": "0.6537182",
"text": "private void createImage(MultipartFile file, String name) {\n\t\tFile image = new File(name);\n\t\ttry (BufferedOutputStream stream = new BufferedOutputStream(new FileOutputStream(image))) {\n\t\n\t\t\tstream.write(file.getBytes());\n\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": "baf276fd5fc0df322f0f7bbcbce41c77",
"score": "0.6527039",
"text": "public static File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, // prefix\n \".jpg\", // suffix\n storageDir // directory\n );\n\n return image;\n }",
"title": ""
},
{
"docid": "7ce30e8857cb47360f14b870bb584d03",
"score": "0.6526555",
"text": "private File generateOutputFileName() {\n\t\tif (mGalleryFolder != null) {\n\t\t\tif (mGalleryFolder.exists()) {\n\t\t\t\tFile file = new File(mGalleryFolder, \"Fotor_\"\n\t\t\t\t\t\t+ System.currentTimeMillis() + \".jpg\");\n\t\t\t\treturn file;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "f5ec6f58574614ab9fbef2d4dde1888a",
"score": "0.6519272",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n capturedImagePath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "93320bc07acbeb43a573fa0845b66e6c",
"score": "0.65171313",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = activity.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n filePath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "7818411278a1d8a0713d292c97865816",
"score": "0.6505072",
"text": "private File CreateImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.CANADA).format(new Date());\n String imageFileName = m_eventType.toString() + \"_\" + timeStamp + \".jpg\";\n\n File image = new File(this.getExternalFilesDir(null), imageFileName);\n\n m_currentPhotoPath = image.getAbsolutePath();\n \n return image;\n }",
"title": ""
},
{
"docid": "05fd96c6f46039d702391e0471164585",
"score": "0.6504485",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n filename=imageFileName;\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n System.out.println(currentPhotoPath);\n return image;\n }",
"title": ""
},
{
"docid": "739aa8e39f6b9a5d9f04deca53f141d7",
"score": "0.64941484",
"text": "public String getImageFileName() ;",
"title": ""
},
{
"docid": "56fe1ed5dceeae6eeba6a1294d14e96c",
"score": "0.6492917",
"text": "private File createImageFile() throws IOException {\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n\t\tString imageFileName = \"JPEG_\" + timeStamp + \"_\";\n\t\tFile storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n\t\tFile image = File.createTempFile(imageFileName, /* prefix */\n\t\t\t\t\".jpg\", /* suffix */\n\t\t\t\tstorageDir /* directory */\n\t\t);\n\n\t\t// Save a file: path for use with ACTION_VIEW intents\n\t\tmCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n\t\treturn image;\n\t}",
"title": ""
},
{
"docid": "011fe9559d802c99f908d0c8afd064a9",
"score": "0.6481495",
"text": "private File createImageFile() throws IOException {\n\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n // imageId = \"sekolah_\" + timeStamp;\n\n // Major change: set imageId with UUID\n imageId = UUID.randomUUID().toString();\n\n // Compose storage path, create the folders if it's not exist yet\n String storagePath = tempPath + sekolahId;\n File storageDir = new File(storagePath);\n if (!storageDir.isDirectory()) {\n storageDir.mkdirs();\n }\n\n // Debugging purposes\n // Toast.makeText(getApplicationContext(), \"Storage dir: \" + storageDir.toString(), Toast.LENGTH_LONG).show();\n\n // Create destination file\n File image = File.createTempFile(\n imageId, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n // mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n\n //Debugging purposes\n //Toast.makeText(getApplicationContext(), \"Image path: \" + mCurrentPhotoPath, Toast.LENGTH_LONG).show();\n\n return image;\n }",
"title": ""
},
{
"docid": "24b7bf33f3c14d3c1eacf55107d83ab2",
"score": "0.64575607",
"text": "private File createImageFile() throws IOException\n\t{\n\t\tString timeStamp = SimpleDateFormat.getDateTimeInstance().format(new Date());\n\t\tString imageFileName = \"JPEG_\" + timeStamp + \"_\";\n\t\tFile storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n\t\tFile image = File.createTempFile(imageFileName, /* prefix */\n\t\t\t\t\".jpg\", /* suffix */\n\t\t\t\tstorageDir /* directory */\n\t\t);\n\n\t\t// Save a file: path for use with ACTION_VIEW intents\n\t\tmCurrentPath = image.getAbsolutePath();\n\t\treturn image;\n\t}",
"title": ""
},
{
"docid": "2c919d0899aefd288372c8a442975163",
"score": "0.64522845",
"text": "private String GetPhotoName()\n {\n String fPath = new String(\"/storage/sdcard0/Pictures/facerec\");\n\n String sTimeStamp = new SimpleDateFormat(\"yyyMMdd_HHmmss\").format(new Date());\n String userName = ((EditText)findViewById(R.id.userName_AddFacialImageForUserActivity)).getText().toString();\n //File newFile = new File(fPath+\"/facerec/\"+userName+File.separator+sTimeStamp+\".png\");\n //return (new String(fPath+\"/facerec/\"+userName+File.separator+sTimeStamp+\".png\"));\n\n File f = new File(fPath,userName);\n if(!f.exists())\n {\n f.mkdir();\n }\n\n return (new String(f.getPath()+File.separator+sTimeStamp+\".png\"));\n //return (new String(fPath+\"/facerec/\"+sTimeStamp+\".png\"));\n //Imgcodecs.imwrite(\"storage/sdcard0/Pictures/facerec\"+File.separator+sTimeStamp+\".png\", m1);\n }",
"title": ""
},
{
"docid": "6ac246578b64d77a4c2af398c748cc11",
"score": "0.64305806",
"text": "private String getOutputFileName() {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String filename =\n \"file://\"\n + Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)\n + \"/JPEG_\"\n + timeStamp\n + \".jpg\";\n Log.i(\"filepath: \", filename);\n return filename;\n }",
"title": ""
},
{
"docid": "4904f8629aede5b23f8113fe7d6b66c3",
"score": "0.6428617",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, // prefix\n \".jpg\", // suffix\n storageDir // directory\n );\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "cd4b940fe5466de46df3b8a568c0815d",
"score": "0.6424862",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\r\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\r\n File image = File.createTempFile(\r\n imageFileName, /* prefix */\r\n \".jpg\", /* suffix */\r\n storageDir /* directory */\r\n );\r\n\r\n // Save a file: path for use with ACTION_VIEW intents\r\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\r\n return image;\r\n }",
"title": ""
},
{
"docid": "8bd8fc300a1f02817938d1b1cc64fcd2",
"score": "0.6414523",
"text": "ImageFile(String name) {\r\n oriName = name; // e.g xxx.jpg\r\n }",
"title": ""
},
{
"docid": "ddf71e41347dc3a1fa918955e5fce8f4",
"score": "0.6412965",
"text": "private File createImageFile() throws IOException {\n timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "a3bbb1bdc40c966db01081fd6a6f051a",
"score": "0.6405838",
"text": "private File createImageFile() throws IOException {\r\n // Create an image file name\r\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\r\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\r\n File image = File.createTempFile(imageFileName, // prefix\r\n \".jpg\", // suffix\r\n storageDir // directory\r\n );\r\n // Save a file: path for use with ACTION_VIEW intents\r\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\r\n return image;\r\n }",
"title": ""
},
{
"docid": "7a1ce12fe787ab4d8c5bfe5b24eb4cad",
"score": "0.6395081",
"text": "public static String createUniqueFilename () {\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd-HH-mm-ss\", Locale.US);\n String filename = sdf.format(new Date());\n return filename;\n }",
"title": ""
},
{
"docid": "959eed70b165a850a6b709fb926fec0c",
"score": "0.63823444",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "d3fcb44b495502f1960b45ee62f40982",
"score": "0.63802135",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = this.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = /*\"file:\" +*/ image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "c995f36858a81a174c9f555f7a3ad304",
"score": "0.63747376",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n System.out.println(\"DIR_PICS: \" + Environment.DIRECTORY_PICTURES);\n System.out.println(\"storageDir: \" + storageDir);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n System.out.println(\"mCurrentPhotoPath: \" + mCurrentPhotoPath);\n\n return image;\n }",
"title": ""
},
{
"docid": "a52b00539ed48499afade55ad8a8b031",
"score": "0.6372155",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = context.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, // prefix\n \".jpg\", // suffix\n storageDir // directory\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "13c8e56ab3e2993f6f3fb02793a64f3d",
"score": "0.6367686",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "84163cd36e17d46cbbe1ce9c7fb87cec",
"score": "0.6365513",
"text": "private void createFile(String filename) {\n String dirPath = Environment.getExternalStorageDirectory().getPath() + File.separator + \"Images\";\n\n File projDir = new File(dirPath);\n\n if (!projDir.exists())\n projDir.mkdirs();\n\n\n mFile = new File(projDir, filename);\n }",
"title": ""
},
{
"docid": "b4014a881178cd8f96ab34dd1a6957c1",
"score": "0.6363938",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n //File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "4ed3fd96b111b14c8314dc1eeaf22d29",
"score": "0.6359218",
"text": "private static String getBitmapName() {\n String imageName = \"PIC_\" + System.currentTimeMillis();\n String fname = imageName + \".png\";\n return fname;\n }",
"title": ""
},
{
"docid": "2efac9e0d192b6fc322204deb8cd25e2",
"score": "0.63560593",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = new File( Environment.getExternalStorageDirectory()+Constants.mImageDirectory);\n if (!storageDir.exists()) {\n storageDir.mkdir();\n\n }\n File image = File.createTempFile(\n imageFileName, // prefix\n \".jpg\", // suffix\n storageDir // directory\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "e2bb88594376f88c7ccb9c5cd1dff67e",
"score": "0.6350402",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\r\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\r\n File image = File.createTempFile(\r\n imageFileName, /* prefix */\r\n \".jpg\", /* suffix */\r\n storageDir /* directory */\r\n );\r\n\r\n // Save a file: path for use with ACTION_VIEW intents\r\n // mTempPhotoPath = \"file:\" + image.getAbsolutePath();\r\n return image;\r\n }",
"title": ""
},
{
"docid": "e2bb88594376f88c7ccb9c5cd1dff67e",
"score": "0.6350402",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\r\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\r\n File image = File.createTempFile(\r\n imageFileName, /* prefix */\r\n \".jpg\", /* suffix */\r\n storageDir /* directory */\r\n );\r\n\r\n // Save a file: path for use with ACTION_VIEW intents\r\n // mTempPhotoPath = \"file:\" + image.getAbsolutePath();\r\n return image;\r\n }",
"title": ""
},
{
"docid": "be31fc17dfcfefeec988fc36da271b34",
"score": "0.63484126",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n String cameraImageUri = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "a3f74bad2ba4073f8addafee159b7914",
"score": "0.63420594",
"text": "private File getImage(String name) {\n // De-URI for Windows\n name = Framework.osName(name);\n return new File(source + main.myFrw.SEP + name);\n }",
"title": ""
},
{
"docid": "122c3935b3f803ac1213ff99e26396b2",
"score": "0.63413775",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n String currentPhotoPath = image.getAbsolutePath();\n Log.d(TAG,currentPhotoPath);\n return image;\n }",
"title": ""
},
{
"docid": "40acca2fadc23ebdb101acb1877d6993",
"score": "0.63378185",
"text": "public void saveImage() {\n String ff = $savePNG ? \".png\" : \".jpg\";\n Date now = new Date();\n SimpleDateFormat df = new SimpleDateFormat(\"yyyyMMdd_hhmmss\");\n save($saveFolder+\"/scan_\" + df.format(now) + ff);\n $msgs = \"Saved image\";\n}",
"title": ""
},
{
"docid": "e798b9732d6c4eb3c1eeec3e5650410c",
"score": "0.6336862",
"text": "public File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n return image;\n }",
"title": ""
},
{
"docid": "3eb58f70399035449e43d1ec1891ebb5",
"score": "0.6329412",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.US).format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "6093475539e459a6d3ff75fcaba43077",
"score": "0.632737",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "6093475539e459a6d3ff75fcaba43077",
"score": "0.632737",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "6093475539e459a6d3ff75fcaba43077",
"score": "0.632737",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "6093475539e459a6d3ff75fcaba43077",
"score": "0.632737",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "287524be5cb31d0e758f27868b366645",
"score": "0.6327283",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n\n if (!storageDir.exists()) {\n storageDir.mkdirs();\n }\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpeg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "48afe030293d9342cbaa28fec04dd7bb",
"score": "0.631879",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = activity.getApplicationContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(imageFileName, \".jpg\", storageDir);\n\n mCurrentPhotoPath = \"file:\" + image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "caceb3c1095edbd80378a7a7e975ad43",
"score": "0.63184905",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "66c3aeef440be3bcd04a7d53d81d242b",
"score": "0.63158417",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "6925e93e1010aa18bda8409d9180e994",
"score": "0.6309775",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "3b8ed4dbf10af7c890265ca4364dec2b",
"score": "0.63097084",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n //currentPhotoPath = image.getAbsolutePath();\n Log.v(TAG, image.getAbsolutePath());\n return image;\n }",
"title": ""
},
{
"docid": "0aee9f3964767dd4a9dbc44e4952a3a9",
"score": "0.6296989",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new java.util.Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "b0443b59cefd505c9104eb05251e87d1",
"score": "0.629268",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", Locale.ENGLISH).format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "69bcdc9173890ad128d1a21c9eaae4e4",
"score": "0.629235",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n// Log.e(\"FilePath\", currentPhotoPath);\n return image;\n }",
"title": ""
},
{
"docid": "0d33973ebd1bfd8fe45f0c6e34b43a71",
"score": "0.6278528",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getActivity().getExternalFilesDir(DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "f6b7be2c4a1e792abd34bc354cbc3721",
"score": "0.6276843",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir/* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "54d0425ae14f4be628e658d24e2939e4",
"score": "0.62745506",
"text": "private File createImageFile() throws IOException {\n String fname = \"photo_\" + (new SimpleDateFormat(\"yy_MM_dd_hh_mm_ss\").format(new Date()));\n File image = File.createTempFile(\n fname, /* prefix */\n \".jpeg\", /* suffix */\n _imageRoot /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n _currentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "275cdc9174c4c5f9d9c804c4ad6e64b0",
"score": "0.62670374",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "468ce858d0893ac6e4aaa646c1068108",
"score": "0.6252736",
"text": "public File createImageFile() throws IOException {\n String folderName = \"test\";\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File f = new File(Environment.getExternalStorageDirectory(), folderName);\n if (!f.exists()) {\n f.mkdirs();\n }\n File storageDir = new File(Environment.getExternalStorageDirectory()+\"/\"+folderName);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "d8d73b0a0f24ab262a80c4458081a736",
"score": "0.6252368",
"text": "private static File createImageFile()\n {\n File result = null;\n\n String imageFileName = \"currentGrid\";\n File storageDir = Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES);\n\n try {\n result = File.createTempFile(imageFileName, \".jpg\", storageDir);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return result;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "9df726d3eee87453f7dc90b1927388d5",
"score": "0.6250627",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "5851372258deb515286e29cec3a076e4",
"score": "0.6243894",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_NEW_PHOTO\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, // prefix\n \".jpg\", // suffix\n storageDir // directory\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "f48227c7de4700d5a5c77c42a9bdb860",
"score": "0.62357044",
"text": "public File createImageFile() throws IOException {\n String folderName = \"CompartilheVida\";\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File f = new File(Environment.getExternalStorageDirectory(), folderName);\n if (!f.exists()) {\n f.mkdirs();\n }\n File storageDir = new File(Environment.getExternalStorageDirectory()+\"/\"+folderName);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "785aad9848ff567a54d61222e691503b",
"score": "0.6233137",
"text": "public File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \".jpg\";\n File imageFile = null;\n File storageDir = new File(Environment.getExternalStorageDirectory() + \"/Pictures\", \"Clone Classifier\");\n\n if (!storageDir.exists()) {\n Log.i(\"mCurrentPhotoPath1\", storageDir.toString());\n storageDir.mkdirs();\n }\n\n imageFile = new File(storageDir, imageFileName);\n mCurrentPhotoPath = imageFile.getAbsolutePath();\n\n return imageFile;\n }",
"title": ""
},
{
"docid": "b07b4f71d19f82e0d295a4b42f92a8e7",
"score": "0.6225361",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "8619487536321fd6c0188f236a6cf0de",
"score": "0.6222",
"text": "private File createImageFile() throws IOException {\n\t String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n\t String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n\t File storageDir = Environment.getExternalStoragePublicDirectory(\n\t Environment.DIRECTORY_PICTURES+\"/CameraSample\");\n\t File image = File.createTempFile(\n\t imageFileName, /* prefix */\n\t \".jpg\", /* suffix */\n\t storageDir /* directory */\n\t );\n\n\t // Save a file: path for use with ACTION_VIEW intents\n\t mCurrentPhotoPath = image.getAbsolutePath();\n\t return image;\n\t}",
"title": ""
},
{
"docid": "d07f8fe030508e90673e00584b7d3d78",
"score": "0.62203085",
"text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\r\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\r\n File storageDir = Environment.getExternalStoragePublicDirectory(\r\n Environment.DIRECTORY_PICTURES);\r\n File image = null;\r\n try {\r\n image = File.createTempFile(\r\n imageFileName, /* prefix */\r\n \".jpg\", /* suffix */\r\n storageDir /* directory */\r\n );\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n // Save a file: path for use with ACTION_VIEW intents\r\n mCurrentPhotoPath =image.getAbsolutePath();\r\n return image;\r\n }",
"title": ""
},
{
"docid": "786f1782f6c5e353a88aedfc3a7fcd6f",
"score": "0.6217754",
"text": "private File createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = image.getAbsolutePath();\n return image;\n }",
"title": ""
},
{
"docid": "e58f770e75dee36792d7ba67d3ed01a5",
"score": "0.62123567",
"text": "String generate(String imageUri);",
"title": ""
},
{
"docid": "51b17b7705cd3281f0a177a94abfd3a0",
"score": "0.6209054",
"text": "public static File createImageFile(String workOrderId) throws IOException {\n //Here we define the image file\n File imageFile=null;\n\n // Create an image file name\n // String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String fileName = \"firma_electronica_\"+workOrderId+\".jpg\";\n\n //create a file to write bitmap data\n File directory= new File(Environment.getExternalStorageDirectory(),PICTURE_DIRECTORY);\n\n //Here we verify if exist the directory\n if(!directory.exists()){\n directory.mkdir();\n }\n\n //create a file to write bitmap data\n imageFile= new File(directory.getAbsolutePath(), fileName);\n if(!imageFile.exists()){\n imageFile.createNewFile();\n }\n\n // Save a file: path for use with ACTION_VIEW intents\n mCurrentPhotoPath = imageFile.getAbsolutePath();\n\n return imageFile;\n }",
"title": ""
}
] |
25197b4cf814864ecd440f23b9149cb3 | TODO Autogenerated method stub | [
{
"docid": "3c61cdc81c060931ffba4334cd795aba",
"score": "0.0",
"text": "public static void main(String[] args) {\n\n\t\ttry {\n\t\t\tFileInputStream fileInputStream = new FileInputStream(\"C:\\\\Users\\\\VJIT\\\\Desktop\\\\CapgPrograms\\\\filedemo.txt\");\n\t\t\tint i;\n\t\t\twhile((i = fileInputStream.read()) != -1)\n\t\t\t\tSystem.out.print((char)i);\n\t\t\tfileInputStream.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": "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": ""
}
] |
f87f05d94747ae60a282d69a78eb12aa | / renamed from: gV | [
{
"docid": "20f40ce350b786a06040450ae05a2c0e",
"score": "0.0",
"text": "public static C1590a m3215gV(int i) {\n switch (i) {\n case 1:\n return release;\n case 2:\n return debug;\n case 3:\n return demo;\n default:\n return null;\n }\n }",
"title": ""
}
] | [
{
"docid": "fde4b9e254805cee80c8c4571215867f",
"score": "0.73256236",
"text": "@Override\n\tpublic void guolv() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "95ce0fc7444d023b91c55224c1aba5ba",
"score": "0.68541384",
"text": "private void gpTomov() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "190a9f37225fa54ff86b6d69921bf532",
"score": "0.6780602",
"text": "private void flvTomov() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "91f4e7e88ad2f79be16e41fb98c69cb6",
"score": "0.65501505",
"text": "private void aviTomov() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "051f88f1f94e36fab8ec66de1946f037",
"score": "0.64935553",
"text": "public void mo27794g() {\n }",
"title": ""
},
{
"docid": "0b319072f0ae7225e83791b70ea23079",
"score": "0.64382267",
"text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "e752700726b9bac395aa3005fc859813",
"score": "0.62407625",
"text": "void mo12914g();",
"title": ""
},
{
"docid": "a67a091dc00cfd57ed5e798e32ef966a",
"score": "0.62297547",
"text": "void mo12507g();",
"title": ""
},
{
"docid": "baf69d6e00b05191468ef5ac1d700719",
"score": "0.616232",
"text": "private void gpToavi() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "2eaf4ba669b17c058267cac66e2a7f1f",
"score": "0.60402006",
"text": "void mo34404u();",
"title": ""
},
{
"docid": "952026bf9881bafa51f75062148d102d",
"score": "0.6039527",
"text": "void mo75231G();",
"title": ""
},
{
"docid": "0c69424878be03e50f19e2ca61ef640b",
"score": "0.5997302",
"text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "3f4df9d7766bfdb4eefd247f06008a7b",
"score": "0.5987922",
"text": "void mo74859g();",
"title": ""
},
{
"docid": "116656f10b2c7ff5230112f65d661bb8",
"score": "0.59610957",
"text": "public void mo9433g() {\n }",
"title": ""
},
{
"docid": "c09c9c3ade4d03fbd623c9793e65e7da",
"score": "0.5946361",
"text": "void mo24572L();",
"title": ""
},
{
"docid": "546f373d880c711d7fabaf297bffdc76",
"score": "0.59437114",
"text": "void mo75228D();",
"title": ""
},
{
"docid": "dfe087381698fddf9d09e1c00c8e8943",
"score": "0.594157",
"text": "void mo20133a(C5382g gVar);",
"title": ""
},
{
"docid": "71315d95fe9e922610d459b27566f4a8",
"score": "0.59409696",
"text": "public void mo60204g() {\n }",
"title": ""
},
{
"docid": "f02c338eb46eb5cdf9d19504df309595",
"score": "0.59284574",
"text": "public void mo28814l() {\n }",
"title": ""
},
{
"docid": "ed648d7f3bf2fd734b2266575104f964",
"score": "0.59105134",
"text": "void mo9216b();",
"title": ""
},
{
"docid": "72b1c4a96aabbf4059a6c86f790c2ccb",
"score": "0.5896173",
"text": "@Override\n\tpublic void g1() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "5eb303064635f4909e997c3effe2511d",
"score": "0.58946556",
"text": "public void mo27792e() {\n }",
"title": ""
},
{
"docid": "203e120e0c17c7a390717d0ca9ff147a",
"score": "0.589221",
"text": "public void mo11316JX() {\n }",
"title": ""
},
{
"docid": "63eb876a297ab150b87da2bdd65a054c",
"score": "0.5886566",
"text": "void mo17865a(C5830g gVar);",
"title": ""
},
{
"docid": "42bd77fa06b5c7843b643c64beacca4f",
"score": "0.58598775",
"text": "java.lang.String getV();",
"title": ""
},
{
"docid": "42bd77fa06b5c7843b643c64beacca4f",
"score": "0.58598775",
"text": "java.lang.String getV();",
"title": ""
},
{
"docid": "2c870913040dbad9b4567f820a8eb535",
"score": "0.5848567",
"text": "void mo34402s();",
"title": ""
},
{
"docid": "d26820dfdf42c8521d38f8eefca019ec",
"score": "0.5842613",
"text": "public abstract void zzpV();",
"title": ""
},
{
"docid": "e97b9580b2c3d1a2b7736315d7169615",
"score": "0.58406913",
"text": "void mo88392a(C29296g gVar);",
"title": ""
},
{
"docid": "e17ece6cbc1f1b2fa26ab31910710b03",
"score": "0.5833457",
"text": "public abstract zzbgd mo30717a();",
"title": ""
},
{
"docid": "381ca210fc42b87f9b8af474719578a0",
"score": "0.5824239",
"text": "public void mo41489c() {\n }",
"title": ""
},
{
"docid": "322697a26a95392e6c258a4f12f2e79f",
"score": "0.58212596",
"text": "void mo35855wL();",
"title": ""
},
{
"docid": "1e34493fdecb11f6bbc24ef12eea2281",
"score": "0.5778911",
"text": "public void mo27791d() {\n }",
"title": ""
},
{
"docid": "222e7b9d44422cda9de5df0085949df1",
"score": "0.5771457",
"text": "public void mo27793f() {\n }",
"title": ""
},
{
"docid": "fdf6bcd763ea5f5b221fd5a7669d1afb",
"score": "0.5766356",
"text": "public void mo28805a() {\n }",
"title": ""
},
{
"docid": "26664d2f71cc960f2b33634035967171",
"score": "0.575448",
"text": "public final void mo61749g() {\n }",
"title": ""
},
{
"docid": "a16bf3877d63f57c7f85b53c4a196acd",
"score": "0.57489765",
"text": "void mo34403t();",
"title": ""
},
{
"docid": "82bebc4d29a688eec66c0f14345597b1",
"score": "0.5745449",
"text": "public boolean bV()\r\n/* 127: */ {\r\n/* 128: 229 */ return (bR()) && (this.g.getItem().e(this.g) == ano.d);\r\n/* 129: */ }",
"title": ""
},
{
"docid": "ddb6bf9bbcbf777196e5c5ae9fef9062",
"score": "0.57396233",
"text": "VLNV createVLNV();",
"title": ""
},
{
"docid": "ad1d4f44e8df13d34d2ccc034f17b479",
"score": "0.57395273",
"text": "protected interface C5465a {\n /* renamed from: a */\n void mo20133a(C5382g gVar);\n }",
"title": ""
},
{
"docid": "6a2294fa42dd479fd6a634a87ed070ca",
"score": "0.57376224",
"text": "void mo24438b_();",
"title": ""
},
{
"docid": "7b2a8a36d16625759db71ee053b514f3",
"score": "0.5734608",
"text": "private void flvTomp4() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "26f94cce5400f511783bc52931d4ad66",
"score": "0.57159436",
"text": "public abstract String mo28771g();",
"title": ""
},
{
"docid": "23a5ac7b72ee3035bb0155bdf97a5a4a",
"score": "0.56952906",
"text": "void mo14841d();",
"title": ""
},
{
"docid": "11456bcd21ff0bc594abe5edbbc0252b",
"score": "0.56806266",
"text": "private void aviTomp4() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "5b0e79cbac12ca0dad35d954adbb478e",
"score": "0.56771815",
"text": "public abstract zzavd mo30720d();",
"title": ""
},
{
"docid": "6fc1bc8405449cd5caa1d0d4cc253eff",
"score": "0.56770086",
"text": "public void mo27783b() {\n }",
"title": ""
},
{
"docid": "9cab072dc83f6e4baae0574ff55a9bf1",
"score": "0.56655455",
"text": "void mo12738b();",
"title": ""
},
{
"docid": "7162284563f859d765a88b6179ae23d4",
"score": "0.56645757",
"text": "void mo3614z();",
"title": ""
},
{
"docid": "ebcb8518846e3a46efb5cd0eda685b65",
"score": "0.56622213",
"text": "void mo6924b(C0425cv cvVar);",
"title": ""
},
{
"docid": "5a690fad018fd77d9a438229fd2f00bb",
"score": "0.5655967",
"text": "void mo19065c();",
"title": ""
},
{
"docid": "7d9880100012c40280175b75ec870fef",
"score": "0.56348443",
"text": "void mo6923a(C0425cv cvVar);",
"title": ""
},
{
"docid": "8c61523f93a24d73841d7fdd374d327d",
"score": "0.56335574",
"text": "void mo26317b();",
"title": ""
},
{
"docid": "e45fc01dcc7e665ce1d7cfb439060d4e",
"score": "0.5631428",
"text": "private void gpTomp4() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "23705880529aa76058a93486a32627c1",
"score": "0.562601",
"text": "void mo19064b();",
"title": ""
},
{
"docid": "5ff22b3f452fafea230958ac44c2ad67",
"score": "0.5625384",
"text": "protected abstract void mo3574f();",
"title": ""
},
{
"docid": "c794d6817346ea63ff034999df167c8a",
"score": "0.5624451",
"text": "private void gpToflv() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "dbac12e2a5daf36f3d7b21dc492324e0",
"score": "0.56223595",
"text": "void mo1597b();",
"title": ""
},
{
"docid": "c079871999fae2e8192332263a949f5b",
"score": "0.56161237",
"text": "public void mo3354g() {\n }",
"title": ""
},
{
"docid": "93c52b77086ddc4ea3caa1950175cf82",
"score": "0.56158674",
"text": "void mo24553b();",
"title": ""
},
{
"docid": "55eadd7ea9e4c565b29f638f5e8e52d3",
"score": "0.5612011",
"text": "float getV();",
"title": ""
},
{
"docid": "55eadd7ea9e4c565b29f638f5e8e52d3",
"score": "0.5612011",
"text": "float getV();",
"title": ""
},
{
"docid": "0bf10041a885560b529e21db34c02a85",
"score": "0.56092674",
"text": "void mo12912d();",
"title": ""
},
{
"docid": "603d667fe3b5fb1e0127a860d0c6c40d",
"score": "0.560853",
"text": "void mo93369j();",
"title": ""
},
{
"docid": "4bf649f910e4eb06680fff2453cb41be",
"score": "0.56071246",
"text": "private void flvTo3gp() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "61b5f34bed8d0ebc39cd8ae396d6b61a",
"score": "0.55970967",
"text": "public abstract void mo114246n();",
"title": ""
},
{
"docid": "85103d67698dd4b00df4656efea0fa0a",
"score": "0.55914116",
"text": "public abstract void mo114244l();",
"title": ""
},
{
"docid": "4b001da5283afe3247e89d1143de16bf",
"score": "0.5589446",
"text": "public abstract jg m516a();",
"title": ""
},
{
"docid": "1802b91c78fb4f2f14658d7a8c46868d",
"score": "0.5575363",
"text": "void mo74854b();",
"title": ""
},
{
"docid": "e8b6a10ed01f50fbe15d66c44e6b001f",
"score": "0.55727404",
"text": "public void mo28809c() {\n }",
"title": ""
},
{
"docid": "c136fbcd65bcf96ac8c64ce78f32c166",
"score": "0.55713075",
"text": "public abstract C14127g mo43892a(C14127g gVar) throws IOException;",
"title": ""
},
{
"docid": "276649d7bfb621b1499df7f7752b2d35",
"score": "0.557091",
"text": "void mo88395b();",
"title": ""
},
{
"docid": "f8f2ccd69783b7bc0bd70d7b906e80d9",
"score": "0.5568856",
"text": "@Override\r\n\tpublic void lanzarPXGPS()\r\n\t{\n\r\n\t}",
"title": ""
},
{
"docid": "2097402406ed48de16ed7ccfe28a85b4",
"score": "0.5566747",
"text": "public void mo5927b() {\n }",
"title": ""
},
{
"docid": "6f42f4a462da36f70adc234c4a8b4e2e",
"score": "0.55573183",
"text": "void mo106241b();",
"title": ""
},
{
"docid": "6abb648c0920139d33c1b273cbd5c7d4",
"score": "0.5553931",
"text": "void mo12808c();",
"title": ""
},
{
"docid": "dd242bddfaefa3e6e71ed966baeb3950",
"score": "0.5553019",
"text": "public interface C44514gg {\n /* renamed from: a_ */\n void mo12502a_();\n\n /* renamed from: e */\n void mo12505e();\n\n /* renamed from: f */\n void mo12506f();\n\n /* renamed from: g */\n void mo12507g();\n\n int getHeight();\n\n C41052ge getVectorMapDelegate();\n\n int getWidth();\n\n void onSizeChanged(int i, int i2, int i3, int i4);\n\n void setZOrderMediaOverlay(boolean z);\n}",
"title": ""
},
{
"docid": "cf1c5f826f36206bea674387b9c08c04",
"score": "0.5549501",
"text": "void mo14847j();",
"title": ""
},
{
"docid": "b623306824ebd023ab9bf4fc0a66aaf3",
"score": "0.554852",
"text": "public void mo5928c() {\n }",
"title": ""
},
{
"docid": "41aabac9dcbb5573fbd69296a01f2662",
"score": "0.55440795",
"text": "public abstract void mo114242j();",
"title": ""
},
{
"docid": "37fb6eea2eaae0833f3d814c6769ce96",
"score": "0.55415046",
"text": "public void mo17726b() {\n }",
"title": ""
},
{
"docid": "f0b23a8df788663d6e67947bed8ac550",
"score": "0.55341846",
"text": "public void mo9426b() {\n }",
"title": ""
},
{
"docid": "a701fab0ebf24a50251922cf4b8bfe86",
"score": "0.5533586",
"text": "@Override\n\tpublic void visit(Guerrero g) {\n\n\t}",
"title": ""
},
{
"docid": "0584703e7c532fdc093afd5252cb858d",
"score": "0.553134",
"text": "long getV();",
"title": ""
},
{
"docid": "10cad81b8ab83038484bb01ebd1eda7d",
"score": "0.5529653",
"text": "void mo18433b();",
"title": ""
},
{
"docid": "7d5a8228551827ad49a611c3f0a23213",
"score": "0.55266845",
"text": "void mo43402c();",
"title": ""
},
{
"docid": "3b4a25cba4c7955a6233166b2278cc54",
"score": "0.5520239",
"text": "void mo13805b();",
"title": ""
},
{
"docid": "9949a065eb60e677e543c64e23afeabd",
"score": "0.55190766",
"text": "@Override\n\tpublic void acceptVisitor(VBASGVisitor visitor) {\n\t\t\tvisitor.visit(this);\n\t\t\n\t}",
"title": ""
},
{
"docid": "94080bf067ca806653936954ea78bf2d",
"score": "0.5514761",
"text": "public T caseGSV(GSV object) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "54e9fe3459df8859a5ec7aa1681ebb9b",
"score": "0.55122095",
"text": "String getVName();",
"title": ""
},
{
"docid": "7037e61659d5f9a6b86aaad13990383d",
"score": "0.55100524",
"text": "void mo1173eH();",
"title": ""
},
{
"docid": "8db8b6b8b90f0e5a8c1a89a2d20d6f0c",
"score": "0.5506177",
"text": "void mo8319b();",
"title": ""
},
{
"docid": "495ca6420aaf8b78111a3253982e6b1e",
"score": "0.5505329",
"text": "private V(com.google.ad r6, com.google.h r7) {\n /*\n r5 = this;\n r1 = 1;\n r0 = -1;\n r2 = org.whispersystems.Y.r;\n r5.<init>();\n r5.e = r0;\n r5.k = r0;\n r5.c();\n r3 = com.google.eV.g();\n r0 = 0;\n L_0x0013:\n if (r0 != 0) goto L_0x0041;\n L_0x0015:\n r4 = r6.z();\t Catch:{ fN -> 0x0051, IOException -> 0x0066 }\n switch(r4) {\n case 0: goto L_0x004b;\n case 8: goto L_0x0025;\n case 18: goto L_0x0033;\n default: goto L_0x001c;\n };\n L_0x001c:\n r4 = r5.a(r6, r3, r7, r4);\t Catch:{ fN -> 0x004f, IOException -> 0x0066 }\n if (r4 != 0) goto L_0x003f;\n L_0x0022:\n if (r2 == 0) goto L_0x0075;\n L_0x0024:\n r0 = r1;\n L_0x0025:\n r4 = r5.g;\t Catch:{ fN -> 0x0062, IOException -> 0x0066 }\n r4 = r4 | 1;\n r5.g = r4;\t Catch:{ fN -> 0x0062, IOException -> 0x0066 }\n r4 = r6.t();\t Catch:{ fN -> 0x0062, IOException -> 0x0066 }\n r5.f = r4;\t Catch:{ fN -> 0x0062, IOException -> 0x0066 }\n if (r2 == 0) goto L_0x003f;\n L_0x0033:\n r4 = r5.g;\t Catch:{ fN -> 0x0064, IOException -> 0x0066 }\n r4 = r4 | 2;\n r5.g = r4;\t Catch:{ fN -> 0x0064, IOException -> 0x0066 }\n r4 = r6.q();\t Catch:{ fN -> 0x0064, IOException -> 0x0066 }\n r5.i = r4;\t Catch:{ fN -> 0x0064, IOException -> 0x0066 }\n L_0x003f:\n if (r2 == 0) goto L_0x0013;\n L_0x0041:\n r0 = r3.d();\n r5.h = r0;\n r5.b();\n return;\n L_0x004b:\n if (r2 == 0) goto L_0x0075;\n L_0x004d:\n r0 = r1;\n goto L_0x001c;\n L_0x004f:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x0051, IOException -> 0x0066 }\n L_0x0051:\n r0 = move-exception;\n r0 = r0.a(r5);\t Catch:{ all -> 0x0057 }\n throw r0;\t Catch:{ all -> 0x0057 }\n L_0x0057:\n r0 = move-exception;\n r1 = r3.d();\n r5.h = r1;\n r5.b();\n throw r0;\n L_0x0062:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x0064, IOException -> 0x0066 }\n L_0x0064:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x0051, IOException -> 0x0066 }\n L_0x0066:\n r0 = move-exception;\n r1 = new com.google.fN;\t Catch:{ all -> 0x0057 }\n r0 = r0.getMessage();\t Catch:{ all -> 0x0057 }\n r1.<init>(r0);\t Catch:{ all -> 0x0057 }\n r0 = r1.a(r5);\t Catch:{ all -> 0x0057 }\n throw r0;\t Catch:{ all -> 0x0057 }\n L_0x0075:\n r0 = r1;\n goto L_0x003f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.whispersystems.V.<init>(com.google.ad, com.google.h):void\");\n }",
"title": ""
},
{
"docid": "43eb41e76d3c71830fb232d009b9f32c",
"score": "0.5499992",
"text": "public abstract void mo41463rb();",
"title": ""
},
{
"docid": "c23545d00d2714274543f223db184eb9",
"score": "0.5490619",
"text": "void mo11425a();",
"title": ""
},
{
"docid": "99ed06cf3e67388492c22044c8628b35",
"score": "0.54901505",
"text": "void mo12506f();",
"title": ""
},
{
"docid": "6b53f3695ce548591db3bbe1f2afb1d8",
"score": "0.5486559",
"text": "void mo9214a();",
"title": ""
},
{
"docid": "393237de9c40b0b47e9d2c845ed92ee5",
"score": "0.548382",
"text": "public void mo45857a() {\n }",
"title": ""
},
{
"docid": "a1d358ef8dde60480477b5c8b2359c6d",
"score": "0.5474478",
"text": "@Override\n\tpublic void compra() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "bb1669324c0e139db3afaa15ecb54802",
"score": "0.54719305",
"text": "void mo75230F();",
"title": ""
},
{
"docid": "79e9e093609f2800a3977394322d2c51",
"score": "0.54708344",
"text": "void mo4982b();",
"title": ""
}
] |
8b0ab8d35155768f217eca8e1e36b0ce | Cria uma ordemServicoProdutoEndereco e associa ao endereco bipado | [
{
"docid": "ea3c8f05dfcf4dab19b924367353f27c",
"score": "0.72578484",
"text": "private Ordemservicoprodutoendereco createOrdemEndereco(Endereco endereco, Ordemservicoproduto osp) {\r\n\t\tOrdemservicoprodutoendereco ospe = null;\r\n\t\t\r\n\t if(osp.getListaOrdemservicoprodutoendereco() != null && !osp.getListaOrdemservicoprodutoendereco().isEmpty()){\r\n\t\t\tospe = osp.getListaOrdemservicoprodutoendereco().get(0);\r\n\t\t}else{\r\n\t\t\tospe = new Ordemservicoprodutoendereco();\r\n\t\t}\r\n\r\n\t\tospe.setEnderecodestino(endereco);\r\n\t\tospe.setOrdemservicoproduto(osp);\r\n\t\tosp.getListaOrdemservicoprodutoendereco().add(ospe);\r\n\t\t\r\n\t\treturn ospe;\r\n\t}",
"title": ""
}
] | [
{
"docid": "0e596b293aac3a5ac7959e06eea1129a",
"score": "0.6775862",
"text": "public String criarEndereco(String rua, int numero, String nomeBairro){\n Bairro bairro = validarBairro(nomeBairro);\r\n if(bairro != null){\r\n //caso exista cria o endereco e adiciona na lista\r\n Endereco endereco = new Endereco(rua, numero, bairro);\r\n listaEnderecos.add(endereco);\r\n return \"OK\";\r\n }\r\n else{\r\n return \"O bairro \" + nomeBairro + \" nao existe!\";\r\n }\r\n }",
"title": ""
},
{
"docid": "3a30ca35f756bc0d2a82fed11bd954aa",
"score": "0.6353663",
"text": "private Endereco calcularEnderecoBlocado(final Endereco enderecoBase, Produto produto) {\r\n\t\tProdutotipoestrutura produtotipoestrutura = ProdutotipoestruturaService.getInstance().findBlocado(produto);\r\n\t\tint restricao = 99;\r\n\t\tif(produtotipoestrutura != null)\r\n\t\t\trestricao = produtotipoestrutura.getRestricaonivel().intValue();\r\n\t\t\r\n\t\tEndereco enderecoCalculado = EnderecoService.getInstance().findBlocadoForUMA(enderecoBase,restricao);\r\n\t\treturn enderecoCalculado;\r\n\t}",
"title": ""
},
{
"docid": "a47fb11306a39071d89adceda08662e7",
"score": "0.63056815",
"text": "public Endereco consultaEndereco() {\n return endereco;\n }",
"title": ""
},
{
"docid": "1ce5a47a681415455d5ada0a126f4851",
"score": "0.6124122",
"text": "public Cliente(String cpf , String nomeCompleto, String rg , \r\n\t\t\t Endereco endereco, String telefone , String email,\r\n\t\t\t Pacote pacote) throws Exception{\r\n\t\t\r\n\t\tsuper(cpf, nomeCompleto, rg, endereco, telefone, email);\r\n\t\tthis.pacote = pacote;\r\n\t}",
"title": ""
},
{
"docid": "cfcbffffd7d07c837a2fa037ea3e04aa",
"score": "0.61105895",
"text": "public Fornecedor(String nome, String email, String telefone) {\n\t\tthis.nome = nome;\n\t\tthis.email = email;\n\t\tthis.telefone = telefone;\n\t\tthis.mapProdutos = new HashMap<>();\n\t}",
"title": ""
},
{
"docid": "2b5686aa84c539419107c85d6ee2b747",
"score": "0.6098567",
"text": "public static void main(String[] args) {\n\t\tBanco cadastroDePessoas = Fabrica.estabelecerConexao(Sgbd.MySQL);\t\t\n\t\tTabela tabelaEndereco = cadastroDePessoas.getTabela(\"endereco\");\n\t\t\n\t\t//teste inserir endereço...\n\t\tEndereco endereco1 = new Endereco();\n\t\tendereco1.setLogradouro(\"Rua projetada Sem Número\");\n\t\tendereco1.setNumero(0);\n\t\tendereco1.setBairro(\"Centro\");\n\t\tendereco1.setMunicipio(\"São João da Serra\");\n\t\tendereco1.setUf(Estado.PB);\n\t\tEnderecoController enderecoController = new EnderecoController(tabelaEndereco);\n\t\tenderecoController.inserir(endereco1);\n\t\t\n\t\t//teste buscar endereço...\n\t\tEndereco endereco = (Endereco) enderecoController.buscar(endereco1);\n\t\tSystem.out.println(endereco.getId());\n\t\tSystem.out.println(endereco.getNumero());\n\t\t\n\t\t//teste alterar endereço...\n\t\tendereco1.setNumero(123);\n\t\tenderecoController.alterar(endereco1);\n\t\tendereco = (Endereco) enderecoController.buscar(endereco1);\n\t\tSystem.out.println(endereco.getId());\n\t\tSystem.out.println(endereco.getNumero());\n\t\t\n\t\t//teste listar endereço...\n\t\tEndereco endereco2 = new Endereco();\t\t\n\t\tendereco2.setLogradouro(\"Avenida das Loucas\");\n\t\tendereco2.setNumero(456);\n\t\tendereco2.setBairro(\"Centro\");\n\t\tendereco2.setMunicipio(\"Remígio\");\n\t\tendereco2.setUf(Estado.PB);\n\t\tenderecoController.inserir(endereco2);\t\t\n\t\tList<Entidade> enderecos = enderecoController.listar();\n\t\tfor (Entidade entidade : enderecos) {\n\t\t\tendereco = (Endereco) entidade; \n\t\t\tSystem.out.println(endereco.getId() \n\t\t\t\t+ \" \" + endereco.getLogradouro()\n\t\t\t\t+ \" \" + endereco.getNumero()\n\t\t\t\t+ \" \" + endereco.getBairro()\n\t\t\t\t+ \" \" + endereco.getMunicipio()\n\t\t\t\t+ \" \" + endereco.getUf());\n\t\t}\t\t\n\t\t//teste excluir endereco...\n\t\tendereco = (Endereco) enderecoController.buscar(endereco1);\n\t\tenderecoController.excluir(endereco);\n\t\tenderecos = enderecoController.listar();\n\t\tfor (Entidade entidade : enderecos) {\n\t\t\tendereco = (Endereco) entidade; \n\t\t\tSystem.out.println(endereco.getId() \n\t\t\t\t+ \" \" + endereco.getLogradouro()\n\t\t\t\t+ \" \" + endereco.getNumero()\n\t\t\t\t+ \" \" + endereco.getBairro()\n\t\t\t\t+ \" \" + endereco.getMunicipio()\n\t\t\t\t+ \" \" + endereco.getUf());\n\t\t}\n\t\t\t\t\n\t\t/*Telefone telefone1 = new Telefone();\n\t\ttelefone1.setTipo(TipoDeTelefone.RESIDENCIAL);\n\t\ttelefone1.setNumero(8366666666l);\n\t\t\n\t\tPessoa pessoa1 = new Pessoa();\n\t\tpessoa1.setNome(\"Fulano DeTall\");\n\t\tpessoa1.setCpf(\"111.111.111-11\");\n\t\tpessoa1.setEndereco(endereco1);\n\t\tpessoa1.setTelefone(telefone1);*/\n\t\t\n\t}",
"title": ""
},
{
"docid": "4ab1d5211db6d2db6e46fc16ddfb55c8",
"score": "0.60273635",
"text": "public Endereco() {\n }",
"title": ""
},
{
"docid": "e1470b8ad2fc772267c25210cb0d9a6e",
"score": "0.601167",
"text": "public PontoRisco(String cep, String solicitacaoBairro, String solicitacaoEndereco, String solicitacaoDescricao, String enderecoReferencia)\r\n\t{\r\n\t\tthis.cep = cep;\r\n\t\tthis.solicitacaoBairro = solicitacaoBairro;\r\n\t\tthis.solicitacaoEndereco = solicitacaoEndereco;\r\n\t\tthis.solicitacaoDescricao = solicitacaoDescricao;\r\n\t\tthis.enderecoReferencia = enderecoReferencia;\r\n\t\t/*\r\n\t\tthis.status = status;\r\n\t\tthis.latitude = latitude;\r\n\t\tthis.longitude = longitude;\r\n\t\tthis.processoNumero = processoNumero;\r\n\t\tthis.dataAceitacao = dataAceitacao;\r\n\t\tthis.risco = risco;\r\n\t\tthis.avaliadorID = avaliadorID;\r\n\t\t*/\r\n\t}",
"title": ""
},
{
"docid": "a5f83176da38768b815c4ce40eea351d",
"score": "0.59564805",
"text": "public void setEndereco(Endereco endereco) {\n\t\tthis.endereco = endereco;\n\t}",
"title": ""
},
{
"docid": "2c0d9f1b33afb364b83babfb2bb38cba",
"score": "0.587072",
"text": "protected void showEndereco(Ordemservicoprodutoendereco ospe) throws IOException{\r\n\t\twriteLine(\"Endereço destino: \");\r\n\t\twriteLine(ospe.getEnderecodestino().getEnderecoArea());\r\n\t\twriteSeparator();\r\n\t}",
"title": ""
},
{
"docid": "a842fbffcf0bbb73f4265c5f0572d327",
"score": "0.58576876",
"text": "public void setCliEndereco(String pCliEndereco){\n this.cliEndereco = pCliEndereco;\n }",
"title": ""
},
{
"docid": "4fcd233a2749ad3bcfd6d1c892d9dea1",
"score": "0.5824529",
"text": "public void setEndereco(String endereco2) {\n\t\tthis.endereco = endereco2;\r\n\t}",
"title": ""
},
{
"docid": "7df85aa1021e0a437352cf408a7ac111",
"score": "0.5814553",
"text": "public void setEndereco(java.lang.String endereco)\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(ENDERECO$2, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDERECO$2);\r\n }\r\n target.setStringValue(endereco);\r\n }\r\n }",
"title": ""
},
{
"docid": "a1fbaa51f3f8bffed855e5c8ba3eb043",
"score": "0.58007544",
"text": "public void setEntidade(Endereco entidade) {\n\n\t\tthis.entidade = entidade;\n\t}",
"title": ""
},
{
"docid": "6a37a884892eb774a1d0ff6274197c3a",
"score": "0.5771447",
"text": "public void novoCadastro() {\r\n\t\tpreparaTela();\r\n\t\tprodutoEdicao = new Produto();\r\n\t}",
"title": ""
},
{
"docid": "fed4d33e2928b5625c1beec53699374c",
"score": "0.57324564",
"text": "public void xsetEndereco(org.apache.xmlbeans.XmlString endereco)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ENDERECO$2, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ENDERECO$2);\r\n }\r\n target.set(endereco);\r\n }\r\n }",
"title": ""
},
{
"docid": "99decff6bd5b1aac70a9e45ff8280180",
"score": "0.57255214",
"text": "public void iniciaProtestoService(){\n\n this.repository = new ProtestoRepository(dataSource.getConnection());\n\n this.consultaFactory = new ConsultaSoapFactory();\n consultaPort = new ConsultaSoapAdapter();\n consultaPort.setConsultaFactory(this.consultaFactory);\n\n Configuracao config = this.getConfig();\n this.cache = new ValidadorProtestoCache(config);\n this.excedidoLimiteDiario = new ValidadorLimiteDiario(this.repository, config);\n this.detalheProtestos = new DetalheProtestos();\n\n this.protestoUseCase = new ProtestoUseCase(this.cache, this.consultaPort, this.repository, this.excedidoLimiteDiario, this.detalheProtestos);\n }",
"title": ""
},
{
"docid": "77ef0061c31b4fdfebf503b03312acc0",
"score": "0.5712243",
"text": "public PessoaJuridicaAprovadaPersist enderecos(List<ObjetoEndereoAprovadoPersist> enderecos) {\n this.enderecos = enderecos;\n return this;\n }",
"title": ""
},
{
"docid": "7d382e7cbd17803d3d59e330d554f54e",
"score": "0.56794333",
"text": "Addresses createAddresses();",
"title": ""
},
{
"docid": "9a3e5e5b04352ef4a2f3b434d860c6a9",
"score": "0.56534654",
"text": "private static void crearServicioCorreo2(ServicioCorreo servicioCorreo1) {\n\t\tservicioCorreo1.setIdServicio(Constantes.ID_TIPO_SERVICIO_PRIORITARIO);\n\t\tservicioCorreo1.setDescripcion(Constantes.DESCRIPCION_TIPO_SERVICIO_CORREOPRIORITARIO); \n\t\t\n\t\tservicioCorreo1.setPesoMaximo(5);\n\t\tservicioCorreo1.setPrecio(30);\n\t\tservicioCorreo1.setRangoPesoDesde(1);\n\t\tservicioCorreo1.setRangoPesoHasta(5);\n\t\t\n\t\t/**\n\t\t * AREA DISTRIBUCION\n\t\t */\n\t\tAreaDistribucion areaDistribucion=new AreaDistribucion();\n\t\tareaDistribucion.setAreaEstandarDistribucion(AreaEstandarDistribucion.REGIONAL); \t\n\t\tservicioCorreo1.setAreaDistribucion(areaDistribucion);\n\t}",
"title": ""
},
{
"docid": "c7c3fec0e44a64a60fd1437a0a311151",
"score": "0.56372106",
"text": "public Pedido( Cliente cliente) {\r\n\t\tif(cliente.isAtivo()){\r\n\t\t\tthis.situacao = \"Pendente\";\t\t\r\n\t\t\tthis.data = new Date();\r\n\t\t\tthis.cliente = cliente;\r\n\r\n\t\t} else{\r\n\t\t\tSystem.out.println(\"Erro: Cliente não ativo.\");\r\n\t\t}\r\n\t\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "27f6ab78e41ffdc70c6678480518d221",
"score": "0.559332",
"text": "public String getEndereco() {\n\t\treturn endereco;\r\n\t}",
"title": ""
},
{
"docid": "358a42d5719f046473b7f9601fde7bd3",
"score": "0.557646",
"text": "public Client createClient(String prenom, String nom, String email,\n\t\t\tString pseudo, String adresse, String codePostal, String phone) {\n\t\t Client customer = new Client();\n\t setCustomerAttribute(customer,adresse, codePostal, email, nom, prenom, pseudo,phone);\n\t customerDaoBean.persist(customer);\n\n\t return customer;\n\t}",
"title": ""
},
{
"docid": "f77fe90fb7fc6951e601b98c128c3698",
"score": "0.5570447",
"text": "public void setComplementoEndereco(String complementoEndereco) {\r\n this.complementoEndereco = complementoEndereco;\r\n }",
"title": ""
},
{
"docid": "d89d6dc3c1d1d795e1894c02b7ca4e4b",
"score": "0.5548944",
"text": "public static void main(String[] args) {\n\n Produto p1;\n\n p1 = new Produto(45, \"Caneta Bic Marking\", 4.50);\n\n p1.setPreco(5);\n\n System.out.println(\"Nome: \" + p1.getNome());\n System.out.println(\"Preço: \" + p1.getPreco());\n System.out.println(p1.toString());\n\n\n\n ProdAlcoolico.setTaxaAlcoolico(25);\n System.out.println(\"Taxa de bebidas alcoolicas: \" + ProdAlcoolico.getTaxaAlcoolico());\n\n\n //CadastroClientes cadCli = new CadastroClientes();\n\n // Cliente c = new Cliente(123, \"Huguinho\");\n\n\n CadastroClientes cadCli = CadastroClientes.getInstance();\n cadCli.inserir(new ClientePF(717, \"Sr. Smith\", \"43434\"));\n cadCli.inserir(new ClientePJ(913, \"Sra. Smith\", \"23123/0001-8\"));\n\n Cliente c = new ClientePF(123, \"Huguinho\", \"12121212\");\n cadCli.inserir( c );\n\n Cliente pf;\n\n pf = new ClientePF(981,\"Zezinho\", \"123.456.789.01\");\n cadCli.inserir(pf);\n\n Cliente estu;\n estu = new Estudante(786, \"Luizinho\", \"111.222.333-55\",\n \"191003456\", \"PUCRS\");\n cadCli.inserir(estu);\n\n System.out.println(cadCli.toString());\n\n\n //CadastroProdutos cadProd = new CadastroProdutos();\n CadastroProdutos cadProd = CadastroProdutos.getInstance();\n cadProd.inserir(21, \"Lápis 1HB\", 1.50);\n cadProd.inserir(22, \"Caneta vermelha\", 3);\n cadProd.inserir(23, \"Recarga Caneta Pilot\", 10);\n\n\n ProdutoEE pee;\n\n pee = new ProdutoEE(67, \"Pendrive 1Tb\", 10, 180);\n\n\n // static binding\n // - tipo estático da variável,\n // - só tenho acesso (na compilação) aos métodos da classe estática\n Produto prod;\n\n // dynamic binding\n // - tipo durante a execução (new)\n // - excuta métodos a partir do tipo dinâmico\n // p.e. excuta toString do ProdutoEE e não do Produto\n // prod = new ProdutoEE(67, \"Super Note 7.0\", 5000, 365);\n prod = new ProdutoEE(167, \"Super note 7.0\", 5000, 365);\n\n // alternativa 1\n if (prod instanceof ProdutoEE) {\n ProdutoEE prodEE = (ProdutoEE) prod; // (casting)\n System.out.println(prodEE.getNome());\n System.out.println(prodEE.getGarantia());\n } else {\n System.out.println(\"\\nnão tem garantia...\\n\");\n }\n\n\n cadProd.inserir(pee);\n cadProd.inserir(prod);\n\n Produto pa = new ProdAlcoolico(77, \"Cachaça Boa Sorte\", 10);\n cadProd.inserir(pa);\n\n System.out.println(cadProd.toString());\n\n Cliente cli = cadCli.pesquisar(786);\n\n // e se... eu quiser pesquisar o cliente pelo seu CPF ou CNPJ?\n Cliente novoCli = cadCli.pesquisar(\"111.222.333-55\");\n\n if (cli == null)\n System.out.println(\"Cliente inválido. Erro\");\n else {\n\n Venda venda1 = new Venda(novoCli);\n prod = cadProd.pesquisar(22);\n\n if (prod != null) venda1.inserir(3, prod);\n //prod = cadProd.pesquisar(67);\n //if (prod != null) venda1.inserir(prod);\n\n prod = cadProd.pesquisar(21);\n if (prod != null) venda1.inserir(prod);\n\n prod = cadProd.pesquisar(67);\n if (prod != null) venda1.inserir(2, prod);\n\n prod = cadProd.pesquisar(77);\n if (prod != null) venda1.inserir(prod);\n //System.out.println(\"Total da venda1: \"+venda1.valorTotal());\n\n prod = cadProd.pesquisar(167);\n if (prod != null) venda1.inserir(1, prod);\n\n System.out.println(venda1.getNotaFiscal());\n\n }\n\n\n\n\n // exemplo de uso da classe LocalDate\n /*\n LocalDate hoje = LocalDate.now();\n\n System.out.println(\"Hoje: \"+ hoje);\n\n LocalDate dia;\n\n dia = LocalDate.of(1999, 12,18);\n System.out.println(\"Aniversario do Vitor: \"+ dia);\n System.out.println(\"nasceu no dia: \"+ dia.getDayOfWeek());\n*/\n\n }",
"title": ""
},
{
"docid": "6a05e62a1e60f09ec1b76f974ecd6163",
"score": "0.5533294",
"text": "public DadosCliente(Venda v){\r\n this();\r\n insere(v);\r\n }",
"title": ""
},
{
"docid": "6a1bfc1edef72485ace7c26d865473c4",
"score": "0.5515925",
"text": "private static void cadastrarCliente(){\n \tJOptionPane.showMessageDialog(null, \"Entre com os dados pedidos: \");\n \tnome = JOptionPane.showInputDialog(\"Nome: \");\n \tendereco = JOptionPane.showInputDialog(\"Endereço: \");\n \tcpf = JOptionPane.showInputDialog(\"CPF: \");\n \ttipo = JOptionPane.showInputDialog(\"Tipo: \");\n \ttelefone = Integer.parseInt(JOptionPane.showInputDialog(\"Telefone: \"));\n \tpessoa = new Cliente(nome, endereco, cpf, telefone, tipo);\n grupoPessoas.addPessoa(pessoa);\n }",
"title": ""
},
{
"docid": "677874925f769db1a4bf5fdc780fc8c5",
"score": "0.5491518",
"text": "private static void crearServicioCorreo1(ServicioCorreo servicioCorreo1) {\n\t\tservicioCorreo1.setIdServicio(Constantes.ID_TIPO_SERVICIO_CORREOCLASICO);\n\t\tservicioCorreo1.setDescripcion(Constantes.DESCRIPCION_TIPO_SERVICIO_CORREOCLASICO); \n\t\t\n\t\tservicioCorreo1.setPesoMaximo(5);\n\t\tservicioCorreo1.setPrecio(30);\n\t\tservicioCorreo1.setRangoPesoDesde(1);\n\t\tservicioCorreo1.setRangoPesoHasta(5);\n\t\t\n\t\t/**\n\t\t * AREA DISTRIBUCION\n\t\t */\n\t\tAreaDistribucion areaDistribucion=new AreaDistribucion();\n\t\tareaDistribucion.setAreaEstandarDistribucion(AreaEstandarDistribucion.NACIONAL); \t\n\t\tservicioCorreo1.setAreaDistribucion(areaDistribucion);\n\t}",
"title": ""
},
{
"docid": "1a628a0745f9018c6c16a900b256dd7d",
"score": "0.54849565",
"text": "public Cliente(String ip, int puerto) throws RemoteException {\n\n this.puerto = puerto;\n this.servidores_backup = new LinkedList<>();\n conectar_con_servidor(ip);\n\n procesos = new ConcurrentHashMap<>();\n\n this.leerProcesos(\"process\");\n\n\n\n }",
"title": ""
},
{
"docid": "0314954cad66c1db27c958a4a58c065c",
"score": "0.5453567",
"text": "@POST\n @Consumes(\"application/json\")\n @Path(\"/create\")\n public void create(Oltpcliente oltpcliente) {\n ejbRef.create(oltpcliente);\n }",
"title": ""
},
{
"docid": "eb1647419b4b9e7e4b88df78d4ed7ef0",
"score": "0.5426599",
"text": "public String getComplementoEndereco() {\r\n return complementoEndereco;\r\n }",
"title": ""
},
{
"docid": "92e55ed4f8146b520e657f8eef5d465e",
"score": "0.53894293",
"text": "public PessoaFisica criarPessoaFisica(Login login, Endereco endereco) {\n Calendar c = Calendar.getInstance();\n c.set(WIDTH, WIDTH, WIDTH);\n try {\n DateFormat formatter = new SimpleDateFormat(\"dd/MM/yyyy\");\n c.setTime((java.util.Date) formatter.parse(ftfDataNasc.getText()));\n } catch (Exception ex) {\n }\n //Feminino = 0 | Masculino = 1\n int sexo = 0;\n if (rbtFeminino.isSelected() == false) {\n sexo = 1;\n }\n return new PessoaFisica(\n login,\n endereco,\n tfCpf.getText(),\n tfRg.getText(),\n tfNome.getText(),\n tfApelido.getText(),\n c.getTime(),\n sexo,\n cbEstCivil.getSelectedItem() + \"\",\n tfNaturalidade.getText(),\n tfNacionalidade.getText(),\n tfOcupacao.getText(),\n tfTel.getText(),\n tfCel.getText(),\n tfEmail.getText(),\n \"www.inativo.com.br\",\n new Perfil());\n }",
"title": ""
},
{
"docid": "004e468ff9d05afa74eb9bf4b022daba",
"score": "0.53887373",
"text": "private EnderecoAssembler() {\r\n }",
"title": ""
},
{
"docid": "6392307d92268ad30bf28342265c570f",
"score": "0.53671277",
"text": "@Override\n\tpublic void resolver(EscuchaCliente cliente) {\n\t\tServidor.getConector().registrarPersonaje(paquetePersonaje, cliente.getPaqueteUsuario());\n\n\t\t// Le envio el id del personaje\n\t\ttry {\n\t\t\tcliente.enviarComando(this);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "f9810e08f39b4fe4208fb1963d45a638",
"score": "0.5359829",
"text": "public Cliente(String idCliente, String nomCliente, String apeCliente) {\r\n\t\tsuper();\r\n\t\tthis.idCliente = idCliente;\r\n\t\tthis.nomCliente = nomCliente;\r\n\t\tthis.apeCliente = apeCliente;\r\n\t}",
"title": ""
},
{
"docid": "df6122a368b92ebc3228a0cb38886f91",
"score": "0.5359527",
"text": "public Empresa(Empresa e){\n super(e);\n this.precoKm = e.getPrecoKm();\n this.nif = e.getNif();\n }",
"title": ""
},
{
"docid": "851e06e864562e6eabd3ed382315426c",
"score": "0.5353854",
"text": "@Override\r\n\tpublic void bajaCliente(ClienteDTO nuevo) throws RemoteException {\n\t\tAdministradorClientes.getInstancia().bajaCliente(nuevo);\r\n\t}",
"title": ""
},
{
"docid": "f3e78e794a35d0ab75838cb69c4e2b1a",
"score": "0.5346273",
"text": "public Endereco getEntidade() {\n\n\t\treturn entidade;\n\t}",
"title": ""
},
{
"docid": "e7d7949300c954679f6f354ce216b531",
"score": "0.5340138",
"text": "public void setCertificato(CertificatoTO certificato);",
"title": ""
},
{
"docid": "e98180c905b8e45159527da4e9504678",
"score": "0.53396595",
"text": "public void mostrarVentanaProximasCitas(){\n \tgetInformacionAgente();\n \t//DatosCitaSinValidar datos= new DatosCitaSinValidar(nombre, apellido, Telf, hora);\n \ttry {\n if (itfUsoRepositorioInterfaces == null) {\n itfUsoRepositorioInterfaces = RepositorioInterfaces.instance();\n }\n\n if (tipoAgenteSecretaria.equals(NombresPredefinidos.TIPO_REACTIVO)) {\n //AgenteAplicacionSecretaria\n ItfUsoAgenteReactivo itfUsoAgente = (ItfUsoAgenteReactivo) itfUsoRepositorioInterfaces.obtenerInterfaz(NombresPredefinidos.ITF_USO + nombreAgenteSecretaria);\n if (itfUsoAgente != null) {\n itfUsoAgente.aceptaEvento(new EventoInput(\"consultarPCitas\", \"VisualizacionSecretaria1\", nombreAgenteSecretaria));\n \n }\n }\n\n } catch (Exception e) {\n System.out.println(\"Ha habido un error al consultarPCitas \");\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "958a585775aebac396a3925cb9eed8e5",
"score": "0.53262514",
"text": "public void aggiornaDipendenti(){\r\n\t\tsetListaDipendenti(servDipendente.getTuttiDipendenti());\r\n\t}",
"title": ""
},
{
"docid": "12b532a8c3d1a2d602e720e6b012973a",
"score": "0.53251207",
"text": "public pnConsulta(Empresa miEmpresa) {\n initComponents();\n this.miEmpresa = miEmpresa; //así recogemos la informacion\n /*si hacemos un\"new\" no regemos los datos que tiene la\n empresa sino que creamos una nueva con datos nuevos*/\n \n modCliente = new DefaultComboBoxModel();\n cmbClientes.setModel(modCliente);\n String[] titulos = {\"Código\", \"Nombre\", \"Capacidad\"};\n modSalas = new miModelo();\n modSalas.setColumnIdentifiers(titulos);\n tblClientes.setModel(modSalas);\n cargarClientes();\n }",
"title": ""
},
{
"docid": "ce3a4bb3975938514a0fc4ba7abe6e3d",
"score": "0.5283748",
"text": "private void inserirPedidoEncomenda() throws IOException, InvalidInputException, NoEntityException{\n if(paraCancelar()) return;\n\n Set<String> encs = gest.getCodEnc();\n \n String codigo = Gerador.gerarCodigoEncomenda(encs);\n View.out(\"o código da encomenda é \" + codigo);\n String codLoja = insira(\"o código da loja\", p_entityCode);\n int nLinhas = Integer.parseInt(insira(\"o número de produtos na encomenda\", p_int));\n HashSet<LinhaEncomenda> linhas = new HashSet<>(nLinhas);\n\n for (int i = 0; i < nLinhas; i++) {\n View.insira(\"os dados referentes ao produto \" + (i+1));\n String cod = insira(\"o código\", p_entityCode);\n String desc = insira(\"a descrição\", p_string);\n int quant = Integer.parseInt(insira(\"a quantidade\", p_int));\n linhas.add(new LinhaEncomenda(cod, desc, quant, BigDecimal.ZERO));\n }\n\n View.out(\"\\nÉ encomenda médica?\");\n View.out(\"(s) - Sim\\t(n) - Não\");\n Boolean medica = input.readLine().equals(\"s\");\n\n\n gest.registaNovaEncomenda(codigo, user.getId(), codLoja, -1.d, linhas, LocalDateTime.now(), null, medica);\n }",
"title": ""
},
{
"docid": "f9584ed426bbc53f752383c30e0d84eb",
"score": "0.52787477",
"text": "private void carregaCepBd() {\n listaModelCadEndereco = controllerCadEndereco.getListaCadEnderecoController(txCep.getText());\n int cont = listaModelCadEndereco.size();\n for (int i = 0; i < cont; i++) {\n txLogradouro.setText(listaModelCadEndereco.get(i).getEnd_logradouro());\n txBairro.setText(listaModelCadEndereco.get(i).getEnd_bairro());\n txMunicipio.setText(listaModelCadEndereco.get(i).getEnd_cidade());\n txEnderecoUF.setText(listaModelCadEndereco.get(i).getEnd_uf());\n\n }\n }",
"title": ""
},
{
"docid": "edb590c905a991ae61997816de5d2f1f",
"score": "0.52615166",
"text": "public void adicionar() {\n\t\ttry {\n\n\t\t\ttpDao.adicionar(this.tiposervico);\n\t\t\tthis.tiposervico = new TipoServico();\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,\n\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_INFO, \"Tipo Servišo cadastrado com sucesso!\", null));\n\t\t}\n\n\t\tcatch (PersistenceException e) {\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,\n\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), null));\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "81afd69ae7e1281996d52d0aa3b2dc90",
"score": "0.5261261",
"text": "private static void agregarClienteCuenta() {\n //En este metodo no creamos si la cuenta o el cliente no existen entra al catch y no hace nada.\n Long idCuenta = null;\n Account account = null;\n Customer customer = null;\n try {\n System.out.println(\"Introduce el id de la cuenta: \");\n idCuenta = (long) Utilidades.leerDouble();\n //Llamamos a este metodo que nos devuelve la cuenta. Sino entra al catch de abajo si sigue en el try vuelve una cuenta\n account = dao.consultarDatosCuenta(idCuenta); \n //Ahora el customer\n String email;\n do {\n System.out.println(\"Introduce el Email del cliente\");\n email = Utilidades.introducirCadena();\n if (!Utilidades.emailCorrecto(email)) {\n System.out.println(\"El formato del email es incorrecto.\");\n }\n } while (!Utilidades.emailCorrecto(email));\n //Buscamos al customer\n customer = dao.consultarCliente(email); \n dao.agregarClienteCuenta(account,customer);\n } catch (CustomerNotExistException ex) {\n System.out.println(ex.getMessage());\n } catch (AccountNotExistException ex) {\n System.out.println(ex.getMessage());\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }",
"title": ""
},
{
"docid": "b63e8df76e317884e98e4c0cdae075e2",
"score": "0.5256848",
"text": "public Cliente(String nome, int idade, String eMail, String senha) {\n super(nome, idade, eMail, senha);\n }",
"title": ""
},
{
"docid": "8620d007958e2496b0ce19de7dabb43c",
"score": "0.52521753",
"text": "private CAPESCorporativoServiceLocator() {\n\t\tsuper(\"capes.corporativo\");\n\t}",
"title": ""
},
{
"docid": "099404ae25ffde6f0f057794279b2ef1",
"score": "0.5250455",
"text": "private void createEpc(String epc){\n Epc epcDb= (Epc) db.findOneByColumn(Constants.table_epcs, Constants.epc, \"'\"+epc+\"'\", Epc.class);\n if(epcDb!=null){\n //Busco el producto zonas al que pertenece este tag\n try {\n ProductHasZone proZon=\n (ProductHasZone) db.getByColumn(\n Constants.table_productsHasZones,\n Constants.column_epc_id,\n epcDb.getId()+\"\",\n ProductHasZone.class).get(0);\n //Busco el producto de este producto zona\n Product producto= (Product) db.findById(\n Constants.table_products,\n proZon.getProduct().getId()+\"\",\n Product.class\n );\n\n if (epcDb!=null) {\n proZon.setEpc(epcDb);\n }\n if(producto!=null){\n proZon.setProduct(producto);\n }\n //Informacion requeria por el servicio web de crear inventory\n TransfersHasZonesProduct pzt = new TransfersHasZonesProduct();\n pzt.setProduct(proZon);\n productos.add(pzt);\n eanPluVieModel.addProductoZona(proZon);\n totalViewModel.setAmount(productos.size());\n epcs.add(epc);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }else{\n// admin.toast(\"Epc no found: \"+ epc);\n }\n }",
"title": ""
},
{
"docid": "fe6f8fddc03c3af9d0c920e6b8fb46c0",
"score": "0.5248132",
"text": "public Empregador(Empresa empresa, String nomeEmpregador, String telefoneEmpregador, String email, String senha) {\n\t\tthis.empresa = empresa;\n\t\tthis.nomeEmpregador = nomeEmpregador;\n\t\tthis.telefoneEmpregador = telefoneEmpregador;\n\t\tthis.email = email;\n\t\tthis.senha = senha;\n\t}",
"title": ""
},
{
"docid": "d14177cc6e61191c558183fb5e6d3eb5",
"score": "0.52431566",
"text": "public void setCliente(String cliente) {\r\n this.cliente = cliente;\r\n }",
"title": ""
},
{
"docid": "a078024e2915fb94cf33325722d8f19c",
"score": "0.5240556",
"text": "public void adicionarCliente() {\n this.lista.add(this.cliente);\n Util.criarMensagem(\"cliente adicionado\");//cria mensagem de cliente adicionado\n resetarForm();//reseta o formulario\n this.cliente = new Cliente();\n }",
"title": ""
},
{
"docid": "4d8d1087fe8fbf27d02fded29c64e963",
"score": "0.52368444",
"text": "public void criarCliente(Cliente cliente) {\n\n validarUsuarioSenha(cliente);\n\n if(cliente.getId() > 0) {\n jsonRequests(Request.Method.POST, cliente, mContext, SERVER_API_TCC_PUC_MINAS);\n }else{\n notificaObservers(cliente);\n }\n }",
"title": ""
},
{
"docid": "f2ba3b605e976686390f3a97a99d2cd2",
"score": "0.52358013",
"text": "private static Customer crearNuevoCliente() {\n Customer oneCustomer = new Customer();\n oneCustomer.setDatos();\n try {\n long id = dao.crearNuevoCliente(oneCustomer);\n System.out.println(\"El cliente con el id: \" + id + \" ha sido dado de alta correctamente.\");\n }catch (EmailExistException ex) {\n System.out.println(ex.getMessage());\n }catch (Exception ex) {\n System.out.println(\"Error al dar de alta \"+ ex.getMessage());\n }\n return oneCustomer;\n }",
"title": ""
},
{
"docid": "b3a4a7bcd439dda90a010acf68baf9cf",
"score": "0.5219649",
"text": "public VentanaRegistro() {\n initComponents();\n \n try { \n this.registry = LocateRegistry.getRegistry(\"127.0.0.1\");\n } catch (RemoteException ex) {\n Logger.getLogger(VentanaRegistro.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n System.out.println(\"VENTANA REGISTRO => Buscando la referencia del objeto remoto en el RMI Registry.\");\n try {\n this.recepcionCola = (RecepcionCola) registry.lookup(\"ReceptorCola\");\n this.recepcion = (Recepcion) registry.lookup(\"Receptor\");\n } catch (RemoteException | NotBoundException ex) {\n Logger.getLogger(VentanaRegistro.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n try {\n this.departamentos = this.recepcion.obtenerDepartamentos().split(\"::\");\n } catch (RemoteException ex) {\n Logger.getLogger(VentanaRegistro.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n for (String departamento : departamentos) {\n this.cbDepartamentoDestino.addItem(departamento);\n }\n }",
"title": ""
},
{
"docid": "67a330a2bb8cfb6b0872bbe9f256f15a",
"score": "0.5208682",
"text": "public pantallaRegistrarEmpresaCliente() {\n gestor = new GestorABMEmpresaCliente(this);\n initComponents();\n habilitarVentana();\n formatearTablaTelefonos();\n grp = null;\n mostrarTiposTelefono();\n }",
"title": ""
},
{
"docid": "29740b29bf93577f1ea1624036b1c6c0",
"score": "0.5207234",
"text": "@Override\r\n\tpublic void altaCliente(ClienteDTO nuevo) throws RemoteException {\n\t\tAdministradorClientes.getInstancia().darDeAltaCliente(nuevo);\r\n\t}",
"title": ""
},
{
"docid": "a3c4c5a807781c3de331fbc76a56e7d7",
"score": "0.51913655",
"text": "private void gerarRelatorioProdutos() {\n\n ReportManage report = new ReportManage();\n\n try { \n report.relatorioPronto(\"produtos\", \"Clientes\");\n \n\n } catch (JRException ex) {\n Logger.getLogger(Home.class.getName()).log(Level.SEVERE, null, ex);\n } catch (SQLException ex) {\n Logger.getLogger(Home.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"title": ""
},
{
"docid": "1c3728c74b44d6f3fdabe955484248e2",
"score": "0.5181877",
"text": "public EMail(String Servidor, String Origem) {\n \tthis.Servidor = Servidor;\n \tthis.Origem = Origem;\n }",
"title": ""
},
{
"docid": "4684a2ab56cd6666bcfae3807781e608",
"score": "0.51817137",
"text": "public void Registrar(Producto p) {\n cont++;\n p.setCodigo(\"PR00\" + cont);\n oproducto = p;\n }",
"title": ""
},
{
"docid": "a6120e285d3abbca072a4a4483ac1a52",
"score": "0.5176125",
"text": "public Cliente(String direccion, String telefono, int cantCompras) {\n this.direccion = direccion;\n this.telefono = telefono;\n this.cantCompras = cantCompras;\n }",
"title": ""
},
{
"docid": "1db55c0528dbc6b5724f347d0336bc5b",
"score": "0.5173208",
"text": "private void crearOrdenDespachoCliente()\r\n/* 431: */ {\r\n/* 432: 427 */ this.ordenDespachoCliente = new OrdenDespachoCliente();\r\n/* 433: 428 */ this.ordenDespachoCliente.setFecha(FuncionesUtiles.getHoraCero(new Date()));\r\n/* 434: 429 */ this.ordenDespachoCliente.setIdOrganizacion(AppUtil.getOrganizacion().getId());\r\n/* 435: 430 */ this.ordenDespachoCliente.setSucursal(AppUtil.getSucursal());\r\n/* 436: 431 */ this.ordenDespachoCliente.setEstado(Estado.ELABORADO);\r\n/* 437: 433 */ if (!getListaDocumentoOrdenDespacho().isEmpty())\r\n/* 438: */ {\r\n/* 439: 434 */ Documento documento = (Documento)getListaDocumentoOrdenDespacho().get(0);\r\n/* 440: 435 */ this.ordenDespachoCliente.setDocumento(documento);\r\n/* 441: */ }\r\n/* 442: 437 */ if (this.lecturaBalanza != null)\r\n/* 443: */ {\r\n/* 444: 438 */ Dispositivo dispositivo = this.lecturaBalanza.getDispositivo();\r\n/* 445: 439 */ this.lecturaBalanza = null;\r\n/* 446: 440 */ getLecturaBalanza().setDispositivo(dispositivo);\r\n/* 447: */ }\r\n/* 448: 442 */ setProcesado(false);\r\n/* 449: */ }",
"title": ""
},
{
"docid": "c566c2d17ddd087caad4c9a878577c34",
"score": "0.51635253",
"text": "@Override\n public void salvar(Cliente c) {\n EntityManager em = ConnectionFactoryHibernate.getEntityManager();\n\n try {\n //abrir uma transacao\n em.getTransaction().begin();\n //solicita ao gerenciador que salve a entidade\n\n EnderecoDAO edao = new EnderecoDAO();\n edao.salvar(c.getEndereco());\n\n em.persist(c);\n //fechar a transacao\n em.getTransaction().commit();\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n //encerra o gerenciador de entidades\n em.close();\n }\n }",
"title": ""
},
{
"docid": "6ae37d21cd65b56dcc91619b1cd228c4",
"score": "0.51571345",
"text": "public void caricaTipiProve()throws WSDidatticaException_Exception,PortUnreachableException {\r\n \r\n // Call Web Service Operation\r\n WSTipoProvaService service = new WSTipoProvaService();\r\n WSTipoProva port = service.getWSTipoProvaPort();\r\n if(port!=null) {\r\n elencoTipiProve = port.recuperaTipiProva();\r\n propertyChangeSupport.firePropertyChange(CARICAMENTO_AVVENUTO, null, null);\r\n } else\r\n throw new PortUnreachableException();\r\n \r\n }",
"title": ""
},
{
"docid": "230d4af59a388aef5851d11e8777fd71",
"score": "0.5152822",
"text": "public void rmvDetalhamentoProdutosServicos() {\n this.dadosNFe.rmvDetalhamentoProdutosServicos(this.produtoServico);\n this.produtoServico = new DetalhamentoProdutoServico();\n }",
"title": ""
},
{
"docid": "a26e7ad7a5cf79056faa5698349bd3a5",
"score": "0.5149937",
"text": "public PedidosAProveedor() {\r\n }",
"title": ""
},
{
"docid": "0117dea742c9c24e57daf5f7c74cc7ec",
"score": "0.51489204",
"text": "public Produto(){\n\t\tserialId=serialId+1;//Incrementa o SerialID para que n�o se repita\n\t\tthis.id=serialId;//id da doacao recebe o serialID da cria��o\n\t}",
"title": ""
},
{
"docid": "27eef09a207e19f4a216932de85eb3df",
"score": "0.514595",
"text": "public void addProduto(Produto p){\n listaProdutos.add(p);\n }",
"title": ""
},
{
"docid": "394b5a8fa08f3b781a1a714489e0530d",
"score": "0.5142971",
"text": "@Override\n\tpublic Endereco getEndereco(String chave) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "93c00be113fa6827a4ec0cb40bf041c8",
"score": "0.5131207",
"text": "public Cliente(int codCliente, String nombre, String direccion, String cedula) {\r\n this.codCliente = codCliente;\r\n this.nombre = nombre;\r\n this.direccion = direccion;\r\n this.cedula = cedula;\r\n }",
"title": ""
},
{
"docid": "3a41c6628ffc24a37a2e12b306af8727",
"score": "0.51308864",
"text": "@Override\r\n\tpublic void altaClientePendiente(ClienteDTO cli) throws RemoteException {\n\t\tAdministradorClientes.getInstancia().agregarCliente(cli);\r\n\t}",
"title": ""
},
{
"docid": "8f991b05432cc129b0d578ba160150c5",
"score": "0.5126152",
"text": "@Override\n\t@Transactional\n\tpublic void createVeiculoCliente(ClienteVeiculo veiculo) {\n\t\ttry {\n\t\t\tmanager.persist(veiculo);\n\t\t}catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tthrow new RuntimeException(e);\t\n\t\t}finally{\n\t\t\tmanager.close();\n\t\t}\t\t\t\n\t}",
"title": ""
},
{
"docid": "e294ad9d326b8efb6d0cd41ed561ac84",
"score": "0.5119917",
"text": "public void criarProntuario() {\n\t}",
"title": ""
},
{
"docid": "e279cd2493acb4d87cf521281e90c5fd",
"score": "0.5112094",
"text": "void populateComboBoxProveedoresCert() throws Exception {\n this.comboBoxCertProveedor.addItem(\"-- Seleccione un proveedor --\");\n this.comboBoxCtaCte.addItem(\"-- Seleccione un proveedor --\");\n for (ProveedorDTO prov : ProveedorController.getInstance().listar()\n ) {\n this.comboBoxCertProveedor.addItem(prov.razonSocial);\n this.comboBoxCtaCte.addItem(prov.razonSocial);\n }\n }",
"title": ""
},
{
"docid": "6aaa8ba3c85dd4af80b5d04b148fb30d",
"score": "0.5087918",
"text": "public FrmNovaEntrada(Config config, Docentrada docEntrada, Nfentrada notaFiscal, List<NfDuplicatas> listaDuplicata, List<NfProdutos> listaProdutos, NotaEletronica nota) {\n this.listaDuplicata = listaDuplicata;\n this.listaProdutos = listaProdutos;\n this.nota = nota;\n datePattern = \"dd/MM/yyyy\";\n maskPattern = \"##/##/##\";\n placeHolder = '_';\n this.caminhoNFe = caminhoNFe;\n this.notaFiscal = notaFiscal;\n this.docEntrada = docEntrada;\n this.config = config;\n linhaPedido=-1;\n produto=null;\n initComponents();\n URL url = this.getClass().getResource(\"/imagens/logo_mini.png\");\n Image imagemTitulo = Toolkit.getDefaultToolkit().getImage(url);\n this.setIconImage(imagemTitulo);\n this.setLocationRelativeTo(null);\n modelarProdutosNotaFiscal();\n setModelContasPagar();\n carregarConfiguracao();\n gerarJTableProdutoEntrada();\n setNFe(listaProdutos, listaDuplicata, nota);\n calcularTotais();\n setVisible(true);\n }",
"title": ""
},
{
"docid": "c5fbbc9894c5833f8235059d4980c587",
"score": "0.5078475",
"text": "private Endereco findEnderecoImovelByRGI(String dsRGI){\n\t\tEndereco endereco = new Endereco();\r\n//\t\tendereco.setImovel(imovel);\r\n\t\tendereco = getEnderecoByRGI(dsRGI);\r\n\t\tif(endereco.getDsEndereco()==null) endereco=null;\r\n\t\treturn endereco;\r\n\t}",
"title": ""
},
{
"docid": "f6e30e670b65378f78a9eeda93761fe3",
"score": "0.5075097",
"text": "public static Adresse createEntity(EntityManager em) {\n Adresse adresse = new Adresse()\n .principale(DEFAULT_PRINCIPALE)\n .prenom(DEFAULT_PRENOM)\n .nom(DEFAULT_NOM)\n .adresse(DEFAULT_ADRESSE)\n .gouvernorat(DEFAULT_GOUVERNORAT)\n .ville(DEFAULT_VILLE)\n .localite(DEFAULT_LOCALITE)\n .indication(DEFAULT_INDICATION)\n .telephone(DEFAULT_TELEPHONE)\n .mobile(DEFAULT_MOBILE)\n .creeLe(DEFAULT_CREE_LE)\n .creePar(DEFAULT_CREE_PAR)\n .modifieLe(DEFAULT_MODIFIE_LE)\n .modifiePar(DEFAULT_MODIFIE_PAR);\n return adresse;\n }",
"title": ""
},
{
"docid": "22ae95722fa7ce9bd5c4edaf316fd6cb",
"score": "0.5073884",
"text": "@Override\n\t\tpublic Adresse createAdresse(Adresse adresse) {\n\t\t\treturn null;\n\t\t}",
"title": ""
},
{
"docid": "660b182f4a12cf961cc0018ce34c1bc6",
"score": "0.50724894",
"text": "public void ordenarEmpleadosPorDepartamento() {\n\n\t}",
"title": ""
},
{
"docid": "f9288dca64c253b372b9366eaf2b943b",
"score": "0.50714886",
"text": "public void setOrdenDespachoCliente(OrdenDespachoCliente ordenDespachoCliente)\r\n/* 712: */ {\r\n/* 713: 695 */ this.ordenDespachoCliente = ordenDespachoCliente;\r\n/* 714: */ }",
"title": ""
},
{
"docid": "2226a408c6fbc8b485cc0d92c6146838",
"score": "0.5071286",
"text": "public co.com.telefonica.atiempo.sigres.emu.ClienteEmuladorLocal create()\n\t\tthrows javax.ejb.CreateException;",
"title": ""
},
{
"docid": "698980d88123c52089135f189f73fa7a",
"score": "0.50708526",
"text": "public Cliente(int id_cliente, String nombre, String direccion, String nit_cliente) {\n this.id_cliente = id_cliente;\n this.nombre = nombre;\n this.direccion = direccion;\n this.nit_cliente = nit_cliente;\n }",
"title": ""
},
{
"docid": "3e00733c0d5d62f7e8321132c81e91f3",
"score": "0.5062673",
"text": "public void setTelefonoContacto(java.lang.String param){\n \n this.localTelefonoContacto=param;\n \n\n }",
"title": ""
},
{
"docid": "2cd053d208f7ac935cd0936fce4e62f3",
"score": "0.5062331",
"text": "Address createAddress();",
"title": ""
},
{
"docid": "8bd8b9f6802d64e41a55bd49ed294325",
"score": "0.50470597",
"text": "public void setAjustePrefacturaCliente(AjustePrefacturaCliente ajustePrefacturaCliente)\r\n/* 822: */ {\r\n/* 823: 982 */ this.ajustePrefacturaCliente = ajustePrefacturaCliente;\r\n/* 824: */ }",
"title": ""
},
{
"docid": "0d9c84ccf8b17ce5f6ba57228601f108",
"score": "0.50456536",
"text": "public Object creaDetPedToBD(int unidades, double precioCompra, String ref_prod, int zona){\r\n PuntoDeVenta.PVProductosProveedores prod = null;\r\n PersistenceManager conexion = null;\r\n PVDetallePedidosAProveedor detalle = null;\r\n Object obj = null;\r\n try{\r\n conexion= new ConexionBD.Utilities().obtenerConexiones(zona);\r\n conexion.currentTransaction().begin();\r\n\r\n Object objProducto = new ConexionBD.Utilities().obtenIdObjeto(PuntoDeVenta.PVProductosProveedores.class,\"this.ref_prod==\\\"\"+ref_prod+\"\\\"\", zona);\r\n prod = (PuntoDeVenta.PVProductosProveedores) conexion.getObjectById(objProducto,false);\r\n\r\n detalle = new PVDetallePedidosAProveedor(unidades, precioCompra, prod);\r\n\r\n conexion.makePersistent(detalle);\r\n\r\n obj = conexion.getObjectId(detalle);\r\n\r\n conexion.currentTransaction().commit();\r\n }catch(Exception e){\r\n System.out.println(\"Error al obtener el producto para ser asignado al objeto.\");\r\n conexion.currentTransaction().rollback();\r\n }finally{\r\n if (!conexion.isClosed()){\r\n conexion.close();\r\n }\r\n }\r\n return(obj); \r\n }",
"title": ""
},
{
"docid": "17ecb6769fb28f7f7215deb8e25d31c3",
"score": "0.50451607",
"text": "public boolean validarEndereco(Endereco endereco){\r\n //para cada Endereco da lista\r\n for(Endereco e : listaEnderecos){\r\n //verifica se algum dos Enderecos cadastrados e igual ao passado por parametro\r\n if(endereco.equals(e)){\r\n //caso seja, retorna o true\r\n return true;\r\n }\r\n }\r\n //caso nao seja encontrado, retorn false\r\n return false;\r\n }",
"title": ""
},
{
"docid": "92f8168dce810bb08617c4052daa5672",
"score": "0.50447977",
"text": "public Cliente(int idcliente, String nombre, String apellidos, int edad, String direccion, String nif, double telefono) {\n this.idcliente = idcliente;\n this.nombre = nombre;\n this.apellidos = apellidos;\n this.edad = edad;\n this.direccion = direccion;\n this.nif = nif;\n this.telefono = telefono;\n }",
"title": ""
},
{
"docid": "415934e54a5623f2a0305a471a4bdb99",
"score": "0.50412893",
"text": "public Company newEntity(String code, String descrizione, Persona contatto, String telefono, String email, Address indirizzo) {\n Company entity = null;\n\n entity = findByKeyUnica(code);\n if (entity != null) {\n return findByKeyUnica(code);\n }// end of if cycle\n\n entity = Company.builderCompany()\n .code(code)\n .descrizione(descrizione)\n .contatto(contatto)\n .telefono(telefono.equals(\"\") ? null : telefono)\n .email(email.equals(\"\") ? null : email)\n .indirizzo(indirizzo)\n .build();\n\n return entity;\n }",
"title": ""
},
{
"docid": "0e857f8b5cbd537f4894097308e65f81",
"score": "0.5038287",
"text": "public void setPrefacturaCliente(PrefacturaCliente prefacturaCliente)\r\n/* 697: */ {\r\n/* 698: 770 */ this.prefacturaCliente = prefacturaCliente;\r\n/* 699: */ }",
"title": ""
},
{
"docid": "c6293cc12d56057ee7107a147d6be44a",
"score": "0.50354683",
"text": "CabeceraProcedimiento createCabeceraProcedimiento();",
"title": ""
},
{
"docid": "08e7406374391afec37815012e545b5f",
"score": "0.50353867",
"text": "@Transactional(propagation = Propagation.REQUIRED)\r\n\tpublic void crearDireccion(Address direccion) {\r\n\t\tsuper.crear(direccion);\r\n\t}",
"title": ""
},
{
"docid": "c393b12e9cb59c0792328f77815c66fc",
"score": "0.5034853",
"text": "public void inserirRegistroAtendimentoSolicitante(\r\n\t\t\tInteger idRegistroAtendimento, Integer idCliente,\r\n\t\t\tCollection colecaoEndereco, String pontoReferencia,\r\n\t\t\tString nomeSolicitante, boolean novoSolicitante,\r\n\t\t\tInteger idUnidadeSolicitante, Integer idFuncionario,\r\n\t\t\tCollection colecaoFone, String protocoloAtendimento,\r\n\t\t\tString habilitarCampoSatisfacaoEmail, String enviarEmailSatisfacao, String enderecoEmail) throws ControladorException;",
"title": ""
},
{
"docid": "cf778b565234da606ebecf4405b08186",
"score": "0.5032545",
"text": "@Override\n\tpublic void editar(Servicos_vendas servico) throws BusinessException {\n\t\t\n\t}",
"title": ""
},
{
"docid": "e3f80d079dc18db2dc4a8d92d74c552b",
"score": "0.5032247",
"text": "public void adicionar(Pessoa valor){\r\n Celula celula = new Celula();\r\n celula.setValor(valor);\r\n\r\n if(primeiro == null && ultimo == null){\r\n primeiro = celula;\r\n ultimo = celula;\r\n } else{\r\n ultimo.setProximo(celula);\r\n ultimo = celula;\r\n }\r\n }",
"title": ""
},
{
"docid": "87ea17caaa7c73bb4e15e6537e277221",
"score": "0.5025407",
"text": "public void setPacote(Pacote novoPacote){\r\n\t\tthis.pacote = novoPacote;\r\n\t}",
"title": ""
},
{
"docid": "7f67d3442866c6da7d2a3b02ea2e8186",
"score": "0.5021065",
"text": "private void agregarCliente() {\r\n long id = Integer.parseInt(vista.txtId.getText());\r\n String nombre = vista.txtNombre.getText();\r\n long tel = Integer.parseInt(vista.txtTelefono.getText());\r\n Genero genero = Genero.getGenero(vista.comboBoxGenero.getSelectedIndex());\r\n if (modelo.getCliente(id) == null) {\r\n modelo.addCliente(new Cliente(id, nombre, tel, genero));\r\n actualizarArchivo(modelo.getClientes());\r\n actualizarTabla(vista.txtBuscarCliente.getText());\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Número de identificación ya existente.\");\r\n }\r\n\r\n vista.txtId.setText(\"\");\r\n vista.txtNombre.setText(\"\");\r\n vista.txtTelefono.setText(\"\");\r\n\r\n }",
"title": ""
},
{
"docid": "e4b96821449606f669dce14ab9006054",
"score": "0.5007779",
"text": "@Override\r\n\tpublic void enviarPedido(PedidoClienteDTO seleccionado) throws RemoteException {\n\t\tAdministradorPedidos.getInstancia().enviarPedido(seleccionado);\r\n\t}",
"title": ""
},
{
"docid": "209406a16c194f4f7912f403a70384d6",
"score": "0.49969038",
"text": "@POST\r\n\t@Path(\"/fetchOrdemServicosByRequest/\")\r\n\tpublic OrdemServicoResponse fetchOrdemServicosByRequest(OrdemServicoInquiryRequest request);",
"title": ""
},
{
"docid": "cacd517085c3f1507e2e1afe09e6e0af",
"score": "0.4993562",
"text": "public void addPuntoVendita(String posizione, String nome) throws Exception {\r\n this.commerciante.addPuntoVendita(nome,posizione);\r\n this.database.savePuntoVendita(this.getPuntiVendita().get(this.getPuntiVendita().size()-1));\r\n }",
"title": ""
}
] |
9be882ba3916f1388148690861fc09f7 | PUBLIC: This method is called when a throwable at finer level needs to be logged. | [
{
"docid": "d1a010799f3e091e5c882ca78ef2494c",
"score": "0.0",
"text": "public void throwing(Throwable throwable);",
"title": ""
}
] | [
{
"docid": "76f3ad59239ee629a168657ddd0d7fc1",
"score": "0.6670194",
"text": "public void logFatalException(Throwable throwable) {\n Logger.getLogger()\n .d(\"Recorded on-demand fatal events: \" + onDemandCounter.getRecordedOnDemandExceptions());\n Logger.getLogger()\n .d(\"Dropped on-demand fatal events: \" + onDemandCounter.getDroppedOnDemandExceptions());\n controller.setInternalKey(\n ON_DEMAND_RECORDED_KEY, Integer.toString(onDemandCounter.getRecordedOnDemandExceptions()));\n controller.setInternalKey(\n ON_DEMAND_DROPPED_KEY, Integer.toString(onDemandCounter.getDroppedOnDemandExceptions()));\n controller.logFatalException(Thread.currentThread(), throwable);\n }",
"title": ""
},
{
"docid": "59c08d153aeed28733af17a1127cb8fb",
"score": "0.6588789",
"text": "public void logException(@NonNull Throwable throwable) {\n controller.writeNonFatalException(Thread.currentThread(), throwable);\n }",
"title": ""
},
{
"docid": "ebbfd8a4c022ab0cdd7db8006c1e21af",
"score": "0.6483112",
"text": "public void logThrowable(int level, Throwable throwable);",
"title": ""
},
{
"docid": "585ef229e192fc7635f5406034227c2f",
"score": "0.64236224",
"text": "void log(Throwable toException);",
"title": ""
},
{
"docid": "2d4f816e314cd18e9ea496768f102557",
"score": "0.6337827",
"text": "@Override\n public void onError(Throwable throwable) {\n throwable.printStackTrace();\n }",
"title": ""
},
{
"docid": "69a8209d428d8e6da69f35a489655690",
"score": "0.6305535",
"text": "void log(Throwable toException, Goliath.Constants.LogType toLogType);",
"title": ""
},
{
"docid": "61e711a157839c259cf7165420153d0d",
"score": "0.6219357",
"text": "@Override\r\n public void log(Level level, String msg, Throwable thrown) {\n if (level.equals(Level.SEVERE) || level.equals(Level.WARNING)) {\r\n System.err.println(level.toString() + \": \" + msg);\r\n }\r\n\r\n super.log(level, msg, thrown);\r\n }",
"title": ""
},
{
"docid": "1c496ecb7bd37afcb42a8c8ed2f2332f",
"score": "0.616735",
"text": "public static void throwable(Throwable t)\n {\n CharArrayWriter stackChars = new CharArrayWriter();\n PrintWriter stackWriter = new PrintWriter(stackChars);\n t.printStackTrace(stackWriter);\n\n StringBuilder message = new StringBuilder(now());\n message.append(' ').append(t.toString()).append('\\n');\n\n if (t instanceof AlreadyExistsException)\n {\n AlreadyExistsException e = (AlreadyExistsException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof AuthorizationException)\n {\n AuthorizationException e = (AuthorizationException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof AuthenticationException)\n {\n AuthenticationException e = (AuthenticationException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof CommunicationException)\n {\n CommunicationException e = (CommunicationException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof DataValidationException)\n {\n DataValidationException e = (DataValidationException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof NotFoundException)\n {\n NotFoundException e = (NotFoundException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof NotAcceptedException)\n {\n NotAcceptedException e = (NotAcceptedException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof NotSupportedException)\n {\n NotSupportedException e = (NotSupportedException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof SystemException)\n {\n SystemException e = (SystemException) t;\n appendDetails(message, e.details);\n }\n else if (t instanceof TransactionFailedException)\n {\n TransactionFailedException e = (TransactionFailedException) t;\n appendDetails(message, e.details);\n }\n\n message.append(stackChars.toCharArray());\n writeFiles(message);\n }",
"title": ""
},
{
"docid": "eb3b3433298fec51e4bee01312f6f09a",
"score": "0.6151386",
"text": "@Override\r\n\t\tpublic void logException(Throwable exception)\r\n\t\t{\n\t\t\tStringWriter writer = new StringWriter();\r\n\t\t\texception.printStackTrace(new PrintWriter(writer));\r\n\t\t\t\r\n\t\t\tthis.log(java.util.logging.Level.SEVERE, this.getCaller(Thread.currentThread().getStackTrace()), writer.toString());\r\n\t\t}",
"title": ""
},
{
"docid": "63919ff7e830c15b3f5a0633caa97663",
"score": "0.6140455",
"text": "public void log(Exception e){\r\n\r\n }",
"title": ""
},
{
"docid": "3a9910fd3c7651b1be3f57eedd1430b9",
"score": "0.61078525",
"text": "protected void innerError(@Nonnull Throwable ex) {\r\n\t\t\t\t\terror(ex);\r\n\t\t\t\t}",
"title": ""
},
{
"docid": "3a9910fd3c7651b1be3f57eedd1430b9",
"score": "0.61078525",
"text": "protected void innerError(@Nonnull Throwable ex) {\r\n\t\t\t\t\terror(ex);\r\n\t\t\t\t}",
"title": ""
},
{
"docid": "3a9910fd3c7651b1be3f57eedd1430b9",
"score": "0.61078525",
"text": "protected void innerError(@Nonnull Throwable ex) {\r\n\t\t\t\t\terror(ex);\r\n\t\t\t\t}",
"title": ""
},
{
"docid": "28657c07f61fa5559fccd24272727594",
"score": "0.6097616",
"text": "@Override\n\tpublic void log(Level level, String msg, Throwable thrown) {\n\t\tJ_Main.getInstance().addConsol(\n\t\t\t\tCalendar.getInstance().getTime().toString() + \" \" + className);\n\t\tJ_Main.getInstance().addConsol(level + \": \" + msg + \"\\n\" + thrown);\n\t\tsuper.log(level, msg, thrown);\n\t}",
"title": ""
},
{
"docid": "090ec476f74e4cff2be970bc0441033b",
"score": "0.60704315",
"text": "private static void errorHandler(Throwable e) {\n logger.error(\"Caught exception during RxJava processing flow: \", e);\n\n // Undeliverable Exceptions may happen because of parallel execution. One thread will\n // throw an exception which will cause the job to fail and (close its consumer).\n // Another thread will throw an exception as well which will be undeliverable\n if (e instanceof UndeliverableException) {\n e = e.getCause();\n }\n if (e instanceof IOException) {\n // Expected: network problem or API that throws on cancellation\n return;\n }\n if (e instanceof InterruptedException) {\n // Expected: some blocking code was interrupted by a dispose call\n return;\n }\n if ((e instanceof NullPointerException) || (e instanceof IllegalArgumentException)) {\n // that's likely a bug in the application\n Thread.currentThread().getUncaughtExceptionHandler().uncaughtException(Thread.currentThread(), e);\n return;\n }\n if (e instanceof IllegalStateException) {\n // that's a bug in RxJava or in a custom operator\n Thread.currentThread().getUncaughtExceptionHandler().uncaughtException(Thread.currentThread(), e);\n return;\n }\n logger.warn(\"Undeliverable exception received: \", e);\n }",
"title": ""
},
{
"docid": "57521104e65ea8ac0b74b1657d4bcbbe",
"score": "0.60560864",
"text": "protected abstract void doLog(final LogLevel logLevel, final String source,\n final String message, final Throwable throwable);",
"title": ""
},
{
"docid": "3c9e8f049ddd5fe2edb424d37e30d8d8",
"score": "0.6055805",
"text": "public boolean shouldLogExceptionStackTrace();",
"title": ""
},
{
"docid": "0dd9da6425c16337113a521b3acbb355",
"score": "0.6053937",
"text": "public final void accept(Throwable th) {\n th.printStackTrace();\n }",
"title": ""
},
{
"docid": "f3700d74955ef0d2422cb90e8a532110",
"score": "0.6041554",
"text": "public void log(Level level, String msg, Throwable thrown);",
"title": ""
},
{
"docid": "b61904dd6d611401d38ec473261b50ad",
"score": "0.60373664",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError \" + arg0);\r\n\t\t\t}",
"title": ""
},
{
"docid": "f32586083287cdeed446fbdf48e18e33",
"score": "0.6033803",
"text": "protected abstract void logNonKey(Level level, String message, Throwable exception);",
"title": ""
},
{
"docid": "04aa4fca4bfb7f3b338c68b0f406e1f6",
"score": "0.6033057",
"text": "public void onThrowable(Throwable p);",
"title": ""
},
{
"docid": "1bede43bbd6d13ddc3ef8bd701464171",
"score": "0.6027414",
"text": "void traceError(Throwable e) {\n if (trace) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "1bede43bbd6d13ddc3ef8bd701464171",
"score": "0.6027414",
"text": "void traceError(Throwable e) {\n if (trace) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "7c2d1825db18f3b9bc20fa7eb149d72f",
"score": "0.60153455",
"text": "@Override\r\n\t\t\tpublic void onError(Throwable arg0) {\n\t\t\t\tSystem.out.println(\"onError\");\r\n\t\t\t}",
"title": ""
},
{
"docid": "a45f8f607af3ccc348aad6a78945e698",
"score": "0.6015197",
"text": "protected void log(String message, Throwable throwable) {\n\n\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\tif (context != null) {\n\t\t\tgetExternalContext().log(message, throwable);\n\t\t} else {\n\t\t\tSystem.out.println(message);\n\t\t\tthrowable.printStackTrace(System.out);\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "5ec8024abd009966a91b53032e90745a",
"score": "0.5999558",
"text": "@AfterThrowing(value = \"coreModuleLogging()\", throwing = \"e\")\n public void logAfterThrowing(final JoinPoint joinPoint, final Throwable e) {\n LOGGER.error(\"An exception has been thrown in {} \", joinPoint.getSignature().getName() + \"()\");\n LOGGER.error(\"Exception Cause {}:\", e.getCause(), e);\n }",
"title": ""
},
{
"docid": "eaa7c3ce7b0466bfa9a3fe7804a6fa2d",
"score": "0.59772044",
"text": "@Override\n\tpublic void onError(Throwable e) {\n\t\tSystem.out.println(\"Some error happened\");\n\t\te.printStackTrace();\n\t}",
"title": ""
},
{
"docid": "6e77174c0bbe9f269a7dd0683b70d2cb",
"score": "0.59627765",
"text": "@Override\n\tpublic void log(Object origin, Exception ex, Level level) {\n\t\tsuper.log(origin, ex, level);\n\t\tLogger.logToStdout(origin, ex, level);\n\t}",
"title": ""
},
{
"docid": "ef622ab035ab6ac3127d2b8a87d48fc1",
"score": "0.5935344",
"text": "protected void handleLogging(Exception e) {\n \tif (logCategory != null) {\n \tif (categoryLogger == null) {\n \t\t// init category logger\n \t\tcategoryLogger = LoggerFactory.getLogger(logCategory);\n \t}\n \tdoLog(categoryLogger, e);\n \t} else {\n \t\tdoLog(LOG, e);\n \t}\n }",
"title": ""
},
{
"docid": "f3005d3006b0e2094468a407aabfd9f7",
"score": "0.59057623",
"text": "public void logException(LogEvent e) {\n if (isEnabled()) {\n dispatchLogException(e);\n }\n }",
"title": ""
},
{
"docid": "36c92ecb50373b112f62648a6cb12b04",
"score": "0.58913684",
"text": "public void alwaysLogListenerException() {\n\t\tthis.loggingStrategy = ListenerExceptionLoggingStrategy.EACH_ATTEMPT;\n\t}",
"title": ""
},
{
"docid": "4dc1ea5a8355bd5c79b0bb00a8ac28a6",
"score": "0.5874495",
"text": "@Override\n public void processError(Throwable e) {\n sink.error(e);\n }",
"title": ""
},
{
"docid": "81c744ba00711d4298a4ef949a8c946d",
"score": "0.58594584",
"text": "@Override\n void failed(IOException e) {\n stateMachine.event().notifyLogFailed(e, null);\n super.failed(e);\n }",
"title": ""
},
{
"docid": "0756d6c5c5c7e8b5ad5357da2e9c1013",
"score": "0.5846965",
"text": "public abstract void handleThrowable(final Throwable t);",
"title": ""
},
{
"docid": "b0b01723cde5edf14a6616e3c950f583",
"score": "0.5836078",
"text": "@Override\n\tpublic void log(String message) {\n\t\tSystem.out.println(\"Exception details: \"+message);\n\t}",
"title": ""
},
{
"docid": "d33a4e0fed41da80e73de4dd8ea4a4ff",
"score": "0.5834021",
"text": "public void exceptionCaught(Throwable throwable) {\n logger.error(\"caught exception starting over\", throwable);\n channel.writeAndFlush(ERROR_START);\n sendStart(true);\n }",
"title": ""
},
{
"docid": "d918962189367e60bc9ed2c15d972162",
"score": "0.5828917",
"text": "@Override\n public void onError(Throwable e) {\n Log.d(\"onError\", \">>>> onError gets called : \" + e.getMessage());\n }",
"title": ""
},
{
"docid": "f4cd2c54b6e71be792173dc15e0bfebf",
"score": "0.5800155",
"text": "@Override\n\t\tpublic void onException(Throwable throwable) {\n\t\t\tLog.e(\"logout\", \"Bad thing happened\", throwable);\n\t\t}",
"title": ""
},
{
"docid": "b801b3ed433f15c46903665b343b0d20",
"score": "0.5799209",
"text": "public void info(String message, Throwable throwable);",
"title": ""
},
{
"docid": "64f6a3296b72f268f4ad261fa583d705",
"score": "0.5798849",
"text": "protected static final void logException(final Exception e) {\n\t\tlog.error(e.getMessage());\n\t\te.printStackTrace();\n\t}",
"title": ""
},
{
"docid": "461f94daf9b1fd95f6bd9a2dce57ef1f",
"score": "0.5763036",
"text": "public void log(Throwable t) {\n if (logger_ != null) {\n logger_.log(t);\n }\n }",
"title": ""
},
{
"docid": "28c8a64b6c7aebf0475ca9b5038bbb64",
"score": "0.57585704",
"text": "public void print( Exception e ) { getTracerOutput().print( e ); }",
"title": ""
},
{
"docid": "aba099aadd95c6b797f0075b8825ea56",
"score": "0.5758501",
"text": "private void log(Object message, Throwable exception, LogType type) {\n if (Gdx.app.getLogLevel() != LOG_NONE) {\n getCallerDetails();\n String tag = callerDetails.className + \"(\" + callerDetails.methodName + \", ln \"\n + callerDetails.lineNumber + \")\";\n write(tag, String.valueOf(message), exception, type);\n if (nextLogger != null) nextLogger.write(tag, String.valueOf(message), exception, type);\n\n }\n }",
"title": ""
},
{
"docid": "3641ceff028f0f041b6543977703c11d",
"score": "0.57540905",
"text": "@Override\n\t\t\tpublic void error(Throwable x) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c3ecc30e23c8b96b18ef2af470a21aee",
"score": "0.57431877",
"text": "@Override\n public synchronized final void printStackTrace(CompilerException e) {\n try {\n if (!hasStopped()) {\n StringBuilder sb = new StringBuilder();\n StackTraceElement[] elements = e.getStackTrace();\n for (int i = 0; i < elements.length; i++) {\n if (i != 0) {\n sb.append(\"\\tat \");\n }\n sb.append(elements[i]);\n sb.append(\"\\n\");\n }\n\n // Print the stack trace for the cause\n if (e.getCause() != null) {\n Throwable cause = e.getCause();\n sb.append(\"Caused by: \");\n sb.append(cause);\n sb.append(\"\\n\");\n\n StackTraceElement[] causeElements = cause.getStackTrace();\n for (int i = 0; i < causeElements.length; i++) {\n sb.append(\"\\tat \");\n sb.append(causeElements[i]);\n sb.append(\"\\n\");\n }\n }\n\n myErrorWriter.write(sb.toString());\n myErrorWriter.flush();\n } else {\n throw new RuntimeException(\"Error handler has been stopped.\");\n }\n } catch (IOException ioe) {\n System.err.println(\"Error writing information to the specified output.\");\n ioe.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "afe46f5fa11c63c4d41ecc1c7775263f",
"score": "0.57357574",
"text": "public static void m23975v(Throwable th) {\n Log.w(\"RxDownload\", th);\n }",
"title": ""
},
{
"docid": "40b935c1495ab48a9eb92485440f525e",
"score": "0.5727089",
"text": "void logInfo(String message, Throwable cause);",
"title": ""
},
{
"docid": "9099c80dfc0f286c5b41f1de88477fb3",
"score": "0.57268095",
"text": "private void log(final LogLevel level, final String source,\n final String message, final Throwable throwable) {\n if (getLevel().getLevel() >= level.getLevel())\n doLog(level, source, message, throwable);\n }",
"title": ""
},
{
"docid": "c405a92d1ffd4fadcf586a6d61b99caa",
"score": "0.5726445",
"text": "@Override\n public void printStackTrace() {\n printStackTrace(System.err);\n }",
"title": ""
},
{
"docid": "0e9396669891db72f6809b4218650d00",
"score": "0.571001",
"text": "private void log(String message, Throwable throwable) {\n\n if ((manager != null) && (manager instanceof ManagerBase)) {\n ((ManagerBase) manager).log(message, throwable);\n } else {\n System.out.println(\"StandardSession: \" + message);\n throwable.printStackTrace(System.out);\n }\n\n }",
"title": ""
},
{
"docid": "2c616a0ccfc0d6fc127650bb0b6859cb",
"score": "0.56973284",
"text": "public void doLogging() {\n\t}",
"title": ""
},
{
"docid": "182cacbea4cc4c277090741073a223c2",
"score": "0.5690508",
"text": "protected void onExceptionCaught(Exception e)\n {\n }",
"title": ""
},
{
"docid": "9624baa0ad87087bf1077be411f6d02f",
"score": "0.56848675",
"text": "void info(String msg, Throwable e);",
"title": ""
},
{
"docid": "f25514c4eb8a71936c09142dadbf737c",
"score": "0.56718165",
"text": "@Override // io.reactivex.rxjava3.functions.Consumer\n public void accept(Throwable th) {\n Logs.error(th);\n }",
"title": ""
},
{
"docid": "f25514c4eb8a71936c09142dadbf737c",
"score": "0.56718165",
"text": "@Override // io.reactivex.rxjava3.functions.Consumer\n public void accept(Throwable th) {\n Logs.error(th);\n }",
"title": ""
},
{
"docid": "6338dbb222694aa0b1a4678aa98829eb",
"score": "0.56669",
"text": "private static void logStackTrace(final Throwable aThrowable, final String methodName) {\n Writer result = new StringWriter();\n aThrowable.printStackTrace(new PrintWriter(result));\n LOGGER.logp(Level.SEVERE, CLASSNAME, methodName, result.toString());\n }",
"title": ""
},
{
"docid": "bc826b36be5df88070786b622598a99a",
"score": "0.56573915",
"text": "public static void log(CoreException e){\n log(e.getStatus().getSeverity(), e.getMessage(), e);\n }",
"title": ""
},
{
"docid": "ecb76bb9b7886642859b104753180b83",
"score": "0.56441456",
"text": "public void logError(Exception e) {\n\t\tAssemblyMachine.LogError(e);\n\n\t}",
"title": ""
},
{
"docid": "166f9a688a27bbc00fb00ea55091e14d",
"score": "0.5638181",
"text": "@Override\n public boolean writeErrorToLog(String message, Exception ex) {\n return true;\n }",
"title": ""
},
{
"docid": "ff637f07dba295b9886ffbf1ed5125a8",
"score": "0.5637013",
"text": "public void error(Throwable t) {\n if (isEnabled() && isErrorEnabled()) {\n dispatchLogException(new LogEvent(this, LogEvent.ERROR_TYPE, t));\n }\n }",
"title": ""
},
{
"docid": "59361e7dce0954cd193269ff9cb214ed",
"score": "0.56338435",
"text": "protected void onFailure(Throwable t) {\n if (log.isDebugEnabled()) {\n log.debug(\"Processing thrown \" + t.getClass().getCanonicalName(), t);\n }\n }",
"title": ""
},
{
"docid": "341642b769a6318ea76c49eb66daf208",
"score": "0.56338006",
"text": "protected void handleIOException(IOException ex) {\n Exceptions.printStackTrace(ex);\n }",
"title": ""
},
{
"docid": "204542a8d30c9da068ea314e0164f055",
"score": "0.5632475",
"text": "public static void addPackageLogWriter(Throwable ex) {\r\n\t\tlogWriter.addLog(ex);\r\n\r\n\t}",
"title": ""
},
{
"docid": "5875d459579a380cfd958d35c33c8b61",
"score": "0.5627753",
"text": "public void notifyException(Throwable throwable, ExceptionPhase exceptionPhase) {\n System.out.printf(exceptionPhase + \"-\" + throwable.getMessage());\n }",
"title": ""
},
{
"docid": "7168aceaf8b8e98b40a0291a5e5756a3",
"score": "0.56249326",
"text": "@Override\n\tpublic void logp(Level level, String sourceClass, String sourceMethod,\n\t\t\tString msg, Throwable thrown) {\n\t\tsuper.logp(level, sourceClass, sourceMethod, msg, thrown);\n\t}",
"title": ""
},
{
"docid": "670d78bd7cbab3bc9b9440b282706090",
"score": "0.56188977",
"text": "@AfterThrowing(pointcut = \"applicationPackagePointcut() && springBeanPointcut()\", throwing = \"e\")\n public void logAfterThrowing(JoinPoint joinPoint, Throwable e){\n log.error(\"Exception in {}.{}() with cause = {}\", joinPoint.getSignature().getDeclaringTypeName(),\n joinPoint.getSignature().getName(), e.getCause() !=null ? e.getCause() : \"NULL\");\n }",
"title": ""
},
{
"docid": "fb4f9fa0613625075b532722b426a0b1",
"score": "0.56183267",
"text": "public void info(Throwable t) {\n if (isEnabled() && isInfoEnabled()) {\n dispatchLogException(new LogEvent(this, LogEvent.INFO_TYPE, t));\n }\n }",
"title": ""
},
{
"docid": "a2d3e998f01ddea371013e46f6252a3e",
"score": "0.5617167",
"text": "public InternalErrorException(final Throwable athrowable) {\r\n\t\tsuper(athrowable.getMessage());\r\n\r\n\t\tthrowable = athrowable;\r\n\t}",
"title": ""
},
{
"docid": "b60905dd8a113a5ba6efd1f07a4efe83",
"score": "0.56165594",
"text": "private static void logException(final Exception exception)\n {\n if (exception instanceof ImageReaderException)\n {\n LOG.error(\"Unable to read image format: ImageReadException\");\n }\n else if (exception instanceof IOException)\n {\n LOG.error(\"Uable to read image source: IOException\");\n }\n LOG.error(exception);\n }",
"title": ""
},
{
"docid": "b1af889f26897beda073e356a61262e6",
"score": "0.5606135",
"text": "@SuppressWarnings(\"CallToPrintStackTrace\")\n private void error(final IOException e) {\n if (reporter != null) {\n final StringWriter buffer = new StringWriter();\n final PrintWriter p = new PrintWriter(buffer);\n e.printStackTrace(p);\n reporter.print(Diagnostic.Kind.ERROR, buffer.toString());\n } else {\n e.printStackTrace(); // This fallback should not be needed, but we are paranoiac.\n }\n }",
"title": ""
},
{
"docid": "26b76969234a5b0db9477232e2b562bf",
"score": "0.56057197",
"text": "@Override\n public void onError(Exception ex) {\n ex.printStackTrace();\n }",
"title": ""
},
{
"docid": "6911e37e4e4f8a0bffe9f5064328f355",
"score": "0.55978614",
"text": "public /* synthetic */ void mo14984a(Throwable throwable) {\n boolean[] $jacocoInit = $jacocoInit();\n Log.e(TAG, \"Error on handleOpenDownloadManager\");\n $jacocoInit[17] = true;\n this.service.removeNotificationAndStop();\n $jacocoInit[18] = true;\n }",
"title": ""
},
{
"docid": "697eeddecaa80578824482695128daa4",
"score": "0.5584901",
"text": "@Override\r\n\tpublic void log() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "91f502aca9aa8050d9e689418dd34c70",
"score": "0.55804276",
"text": "private void handleException(Throwable exception) {\n}",
"title": ""
},
{
"docid": "22b494bd103844c504071022a572e874",
"score": "0.5572394",
"text": "public void neverLogListenerException() {\n\t\tthis.loggingStrategy = ListenerExceptionLoggingStrategy.NEVER;\n\t}",
"title": ""
},
{
"docid": "e5b6541e95290bab7c47672916c12b27",
"score": "0.5570988",
"text": "public void handleError(Throwable t) {\n\t\tSystem.out.println(t.getMessage());\n\t\tt.printStackTrace();\n\t}",
"title": ""
},
{
"docid": "0610f311f8246854590290d299fc3a9f",
"score": "0.5570789",
"text": "@Override public void onError(Throwable e) {\n }",
"title": ""
},
{
"docid": "9756e4d4012f9be0d917a4b0b764eea3",
"score": "0.5565232",
"text": "public final void accept(Throwable th) {\n CrashlyticsLogUtils.m83485a(th);\n }",
"title": ""
},
{
"docid": "577e147accb4e64820ab317e95744e6c",
"score": "0.5561235",
"text": "protected void realLog(String message, Throwable t) {\n if (servletContext != null) {\n servletContext.log(message, t);\n return;\n }\n\ttry {\n\t defaultSink.write(message);\n\t defaultSink.write(newline);\n\t defaultSink.write(throwableToString(t));\n\t defaultSink.write(newline);\n\t flush();\n\t}\n\tcatch (IOException e) {\n\t bad(e, message, t);\n\t}\n }",
"title": ""
},
{
"docid": "921cca8be57564c7ba738866c2de8812",
"score": "0.5554274",
"text": "public void reportErrorsAsExceptions() {\n\t addErrorListener(new ExceptionThrowingErrorListener());\n\t }",
"title": ""
},
{
"docid": "61a9c500500ece01e15d0684d832c5d3",
"score": "0.5550753",
"text": "protected void handleRuntimeException(RuntimeException ex) {\n Exceptions.printStackTrace(ex);\n }",
"title": ""
},
{
"docid": "5b4c50f724c24060119a09c89234b5c2",
"score": "0.55414027",
"text": "public static void e(Throwable t) {\r\n if (DEBUG) android.util.Log.e(TAG, t.getMessage(), t);\r\n //Analytics.Companion.getInstance().logException(t);\r\n }",
"title": ""
},
{
"docid": "cc22715824118c9a549caabf4e4ec274",
"score": "0.554024",
"text": "public void handledException(){\n\t\t\n\t\ttry{\n\t\t\t/*\n\t\t\t * Use a try block to surround risky code that might throw an exception.\n\t\t\t * The try block requires at least ONE catch block assuming you are only using\n\t\t\t * catch blocks.\n\t\t\t */\n\t\t\tString h = null;\n\t\t\th.toString();\n\t\t\t//throw is used to trigger a specific exception.\t\n\t\t\tSystem.out.println(\"THIS CODE IS NEVER REACHED\");\n\t\t}catch(NullPointerException e){\n\t\t\t/*\n\t\t\t * In the event of a try block triggering an exception, program execution\n\t\t\t * will immediately forward over the catch block.\n\t\t\t */\n\t\t\tSystem.out.println(\"CAUGHT!\");\n\t\t}catch(ArithmeticException e){\n\t\t\t/*\n\t\t\t * All these exceptions are unchecked, since they are all a part of RuntimeException,\n\t\t\t * which does NOT require you have a try catch block.\n\t\t\t */\n\t\t}\n\t\tcatch(RuntimeException e){\n\t\t\t/*\n\t\t\t * You cna have multiple catch blocks, but you need ot order them, most specific\n\t\t\t * to least, or you risk dead code.\n\t\t\t */\n\t\t\tSystem.out.println(\"CAUGHT!\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "a757089a2d87d26f6558eff59ce14abd",
"score": "0.5534086",
"text": "@Override\n\tpublic void exceptionCaught(ChannelHandlerContext ctx, Throwable t) {\n\t\tlog.error(ctx.toString());\n\t\tlog.error(t.getMessage());\n\t}",
"title": ""
},
{
"docid": "f72df932dcb618abb092705efcb5a7b7",
"score": "0.55325335",
"text": "@Override\r\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\tSystem.out.println(\"Error : \" + caught);\r\n\t\t\t}",
"title": ""
},
{
"docid": "99b6ec9ef5248725178e4ab79947e504",
"score": "0.5532238",
"text": "private void handleException(java.lang.Throwable exception) {\r\n\r\n\t/* Uncomment the following lines to print uncaught exceptions to stdout */\r\n\tSystem.out.println(\"--------- UNCAUGHT EXCEPTION ---------\");\r\n\texception.printStackTrace(System.out);\r\n}",
"title": ""
},
{
"docid": "99b6ec9ef5248725178e4ab79947e504",
"score": "0.5532238",
"text": "private void handleException(java.lang.Throwable exception) {\r\n\r\n\t/* Uncomment the following lines to print uncaught exceptions to stdout */\r\n\tSystem.out.println(\"--------- UNCAUGHT EXCEPTION ---------\");\r\n\texception.printStackTrace(System.out);\r\n}",
"title": ""
},
{
"docid": "90059ec0ae9612d0a2a5160205b16b6f",
"score": "0.5531509",
"text": "protected void errorOccurred(Throwable throwable) {\r\n // Clear the control listeners and behaviors from the dispatcher\r\n clear();\r\n }",
"title": ""
},
{
"docid": "3214d6aee8f3dda9aa815cd8c6d52793",
"score": "0.551558",
"text": "@Override\n public void log(String message, Throwable e) {\n TreeLogger.Type type = TreeLogger.INFO;\n if (e != null) {\n type = TreeLogger.ERROR;\n }\n // Log at the top level for visibility.\n TreeLogger t = getLogger();\n if (t != null) {\n getLogger().log(type, message, e);\n }\n }",
"title": ""
},
{
"docid": "bbe6032062893814cfead42ca97b4226",
"score": "0.5494601",
"text": "@Override\n public void onError(Throwable e) {\n }",
"title": ""
}
] |
8731634e0f7505964e21157f7b2085bc | Send a message back to the Player | [
{
"docid": "313b607e2312b26cc797c09169d46b5b",
"score": "0.6389746",
"text": "public void sendMessageToPlayer(Player player, String message) {\r\n\t\tif(isInit) {\r\n\t\t\tplayer.sendMessage(layout + message);\r\n\t\t}\r\n\t}",
"title": ""
}
] | [
{
"docid": "47e07eea5683b74938e35ed2116ac769",
"score": "0.7644224",
"text": "public RpgPlayer sendMessage(String msg);",
"title": ""
},
{
"docid": "fb191822158d2e7b4af3ccb4c4678742",
"score": "0.74892235",
"text": "@Override\n\tpublic void playerSentMessage(Player player, String message) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "06b3117210467e0e0975c9be91f9cdec",
"score": "0.73017263",
"text": "public void sendMessage(String message) {\n this.player.sendMessage(message);\n }",
"title": ""
},
{
"docid": "70eef8dbc76414b3c387722d43c162ca",
"score": "0.6896278",
"text": "public void sendMessage(String msg) {\r\n String s = \"$PLAYER-STATUS$,\" + msg;\r\n //System.out.println(\"SENDING MSG \"+s);\r\n out.println(s);\r\n }",
"title": ""
},
{
"docid": "8e8a707649b0ac0d7b5c4628cc13236b",
"score": "0.6888445",
"text": "public void finishTurn(){\r\n\t\tsetCurrentPlayerPosition();\r\n\t\tsetCurrentPlayer();\r\n\t\tsetMessage(currentPlayer.getUserName()+\" ist dran!\");\r\n\r\n\t\t//hier wird die methode sendToServer aufgerufen\r\n\r\n\t}",
"title": ""
},
{
"docid": "bc3168318f49722227251e32dfea9695",
"score": "0.6782999",
"text": "public void sendToPlayer(Player player){\n player.sendMessage(this.build());\n }",
"title": ""
},
{
"docid": "5e2e72ade9b8b17e28860d1ae3f0a3ca",
"score": "0.6773027",
"text": "public static void sendPlayerMessage(Player player, String message) {\n sendMessage(player, message, false);\n }",
"title": ""
},
{
"docid": "dd2445a7c59d2bf05a9ac833cad08b57",
"score": "0.6748674",
"text": "public static void sendMessage(String message)\n {\n try\n {\n if (GamePlayController.playerIsHost)\n {\n server.sendMessage(message);\n }else\n {\n client.sendMessage(message);\n }\n } catch (Exception e)\n {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "6ad27da05643a05fdf0d70582e29e00a",
"score": "0.6734204",
"text": "public void sendToPlayer(Player player) {\n\n ((CraftPlayer) player).getHandle().playerConnection\n .sendPacket(new PacketPlayOutChat(ChatSerializer.a(this\n .toString()), true));\n\n }",
"title": ""
},
{
"docid": "57f451fc838a1225ce693358675f00d9",
"score": "0.67089945",
"text": "public void sendMessage(PlayerCommand msg) {\n\t\ttry {\n\t\t\tsOutput.writeObject(msg);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Exception writing to server: \" + e);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "fec146de0c4f4335c102e0b970cf741c",
"score": "0.6683602",
"text": "@Override\n public boolean onPlayerMessage(Communicator communicator, String message){\n return false;\n }",
"title": ""
},
{
"docid": "3d1be5cdd1e38cba9ce383757d8c9a74",
"score": "0.66811305",
"text": "@Override\n\tpublic void sendMsgToPlayer ( ABSMessage m )\n\t{\n\t\twriter.println(m.toString());\n\t}",
"title": ""
},
{
"docid": "6f001139c5d7644480f6b5a7e22195e4",
"score": "0.6677006",
"text": "public abstract void handlePlayerMessage(Player p);",
"title": ""
},
{
"docid": "d0975a66e7a6717d88fe6df1a937b15b",
"score": "0.6651551",
"text": "private void sendMessage(String message){\n\t\ttry{\n\t\t\toutput.writeObject(encrypt(\"Client - \" + message));\n\t\t\toutput.flush();\n\t\t\tshowMessage(\"\\nClient - \" + message); \n//\t\t\t}\n\t\t}catch(IOException ioException){\n\t\t\tchatWindow.append(\"\\n Oops! Something went wrong!\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e140e8eca05ad702eada766cc42b085f",
"score": "0.6580414",
"text": "public void sendToServer(Player player, String server);",
"title": ""
},
{
"docid": "8681e930365a0019ea643d918da88521",
"score": "0.6563323",
"text": "public void sendGamePlayerMessage(String message) {\r\n\t\tfor (String spleefPlayers : plugin.spleefGame) {\r\n\t\t\t@SuppressWarnings(\"deprecation\")\r\n\t\t\tPlayer players = Bukkit.getServer().getPlayer(spleefPlayers);\r\n\r\n\t\t\tplayers.sendMessage(message);\r\n\t\t\t// players.sendMessage(ChatColor.YELLOW + player.getName() + ChatColor.GREEN + \" has joined the spleef queue.\");\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "6c7bc675a964cb1bcbd4d7fbdc350eb7",
"score": "0.65464205",
"text": "public void message(String s) {\n U.pr(\"Game.message>>> \" + s + \"\\n\");\n map.send(s);\n }",
"title": ""
},
{
"docid": "d2dff866d0b6ea495445a6f4f43f13fa",
"score": "0.65441203",
"text": "public void message(String msg) {\r\n\t\t\r\n\t\tmsg = TextManipulator.addColor(msg);\r\n\t\t\r\n\t\t// Working with sockets\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\t// Write one character at a time to the socket\r\n\t\t\tfor(int i = 0; i < msg.length(); i++) {\r\n\t\t\t\t\r\n\t\t\t\tplayerOut.write(msg.charAt(i));\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// Catch any Exceptions\r\n\t\tcatch (IOException e) {\r\n\t\t\t\r\n\t\t\tif (!playerQuit) {\r\n\r\n\t\t\t\tSystem.out.println(\"Caught IOException in method message: \" + e.getMessage());\r\n\t\t\t\tSystem.out.print(\"Expecting client has disconnected. Removing player from \");\r\n\t\t\t\tSystem.out.println(\"the player list.\");\r\n\t\t\t\t\r\n\t\t\t\tplayerQuit = true;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "4330bc0308dda47a6db6fd998083c4d5",
"score": "0.6518659",
"text": "public void sendGameEnd();",
"title": ""
},
{
"docid": "3666d79587437b64b093ebcfbbb0838e",
"score": "0.6502988",
"text": "private void sendMessage() {\n chatter.tell(new MessageFromMyControllerMsg(chatter, nicknameTextField.getText(), messageTextArea.getText()),ActorRef.noSender());\n messageTextArea.clear();\n }",
"title": ""
},
{
"docid": "352c28f55a2efe9fe9663c4b92d988c6",
"score": "0.6458777",
"text": "public void sendMessage(Player otherPlayer){\n while (this.sentMessages < 10){\n this.sentMessages++;\n System.out.println(\"Message sent by \" + this.name +\" : #\" + sentMessages);\n otherPlayer.sendMessage(this);\n }\n\n }",
"title": ""
},
{
"docid": "d42042e94ca188d6919e3d671df88d40",
"score": "0.6455727",
"text": "private void sendMessage(String message) {\n if (mGameService.getState() != BluetoothGameService.STATE_CONNECTED) {\n Toast.makeText(this, \"Not Connected\", Toast.LENGTH_SHORT).show();\n return;\n }\n // Check that there's actually something to send\n if (message.length() > 0) {\n // Get the message bytes and tell the BluetoothChatService to write\n byte[] send = message.getBytes();\n Toast.makeText(getApplicationContext(), send.toString(), Toast.LENGTH_SHORT).show();\n mGameService.write(send);\n }\n }",
"title": ""
},
{
"docid": "956f330a22d113c26cf8426aebe846fc",
"score": "0.6448002",
"text": "void sendMessage(String message);",
"title": ""
},
{
"docid": "3f2f892218133a57c65dbbb216d5f45d",
"score": "0.6447795",
"text": "public void send(Player player, String message)\n\t{\n\t\tif(player == null)\n\t\t{\n\t\t\tplugin.log.info(message);\n\t\t}else {\n\t\t\tplayer.sendMessage(getColors(message));\n\t\t}\n\t}",
"title": ""
},
{
"docid": "4fb1c26918642ec1cc6be832b8acebe9",
"score": "0.64386415",
"text": "void sendToChatBox(String message) {\n sendToServer(username + \": \" + message);\n }",
"title": ""
},
{
"docid": "7f0e4db6153de630f6584ebbf2d1a31a",
"score": "0.642616",
"text": "public void messagePlayer(Player player, String msg){\n player.sendMessage(plugin.config.prefix + msg);\n }",
"title": ""
},
{
"docid": "4f607848607a9fa647712b951d1368b5",
"score": "0.64134383",
"text": "public void sendMessage(String message);",
"title": ""
},
{
"docid": "4f607848607a9fa647712b951d1368b5",
"score": "0.64134383",
"text": "public void sendMessage(String message);",
"title": ""
},
{
"docid": "387fc82397d9391029180513a662771f",
"score": "0.6404956",
"text": "public void send(Message message);",
"title": ""
},
{
"docid": "a3c7afed185d1cd1435eed3cd7486e40",
"score": "0.63956416",
"text": "@EventHandler\r\n public void onClick(RightClickNPC event) {\r\n Player player = event.getPlayer();\r\n player.sendMessage(\"DID IT WORK ....??\");\r\n }",
"title": ""
},
{
"docid": "4f01fe6b1cd2d1581f727fcd24e1195f",
"score": "0.63934994",
"text": "public void showMessage(Object message){\n connection.send(message);\n }",
"title": ""
},
{
"docid": "1f927a978dffcb0d7cbff843a8d807c2",
"score": "0.6385827",
"text": "void sendMessage(ChatMessage message) {\r\n try {\r\n sOutput.writeObject(message);\r\n System.out.println(\"client sent mes \" + message.getType() + \" : \" + message.getMessage());\r\n } catch (IOException e) {\r\n displayMessage(\"(e) Exception writing to server\");\r\n }\r\n }",
"title": ""
},
{
"docid": "ee2c0f45042ffd2733b68bcb73db0169",
"score": "0.63624495",
"text": "public void endGameMessage(String msg) {\r\n Server.gameHasEnded = true;\r\n Server.messageToEnd = msg;\r\n }",
"title": ""
},
{
"docid": "c9fae987ec903735d73cbe34a6885248",
"score": "0.6348236",
"text": "public void sendMessage(Message msg);",
"title": ""
},
{
"docid": "4eadef8e845d446784ab313b4055e5ea",
"score": "0.6338042",
"text": "public void sendPlayerNormal(Player player, String message) {\n\t\tplayer.sendMessage(this.buildStringPlayer(message, ChatColor.AQUA));\n\t}",
"title": ""
},
{
"docid": "7cb8f88e10707488d7001c3d08f4eddc",
"score": "0.63329816",
"text": "public void sendUsername() {\n //Message is initialized\n UsernameMessage msg = new UsernameMessage(username, playerID);\n //Message is sent to the server\n client.sendMessage(msg);\n }",
"title": ""
},
{
"docid": "86fed10744a16e9c6ce1556d2d301ef7",
"score": "0.6332826",
"text": "@Override\n\tpublic void sendMessage(String message) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "d6cc35f937311260326ff461dacc9756",
"score": "0.6330007",
"text": "public static void sendHaveMessage() {\n\t}",
"title": ""
},
{
"docid": "5c1c5ecf9db4e179d1a9958351e4f25a",
"score": "0.63201505",
"text": "public void sendMessage(String message) {\r\n\t\twriter.println(\r\n\t\t\t\t\"tellraw @a [{\\\"text\\\":\\\"TheBox\\\",\\\"color\\\":\\\"white\\\"},{\\\"text\\\":\\\" > \\\",\\\"color\\\":\\\"gray\\\"},{\\\"text\\\":\\\"\"\r\n\t\t\t\t\t\t+ message + \"\\\",\\\"color\\\":\\\"white\\\"}]\");\r\n\t\twriter.flush();\r\n\t}",
"title": ""
},
{
"docid": "ba401646dd56c08381db804b6fe4bb65",
"score": "0.63198304",
"text": "public void SendMessage() {\n\t\tmConnectedThread.write(\"2\");\n\t}",
"title": ""
},
{
"docid": "ed8d2464a5ddb593c6e9eab8bdde3e34",
"score": "0.631258",
"text": "public void sendMessage(String message)\r\n\t{\n\t\tMinecraft.getMinecraft().ingameGUI.addChatMessage(message);\r\n\t}",
"title": ""
},
{
"docid": "11d4ce9ebc437ce4a1b0ec18cb6e7218",
"score": "0.63098997",
"text": "public void send() {\n try {\n this.remote.sendText(this.response.toString());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "fd40d8a6eda074de73148876985ccbd9",
"score": "0.6291986",
"text": "private void message(String message) {\n\t\tmyServer.message(username + \": \" + message);\n\t}",
"title": ""
},
{
"docid": "4e5d5c0448c72ba8868060249b19a33f",
"score": "0.62861353",
"text": "public void sendMessagetoServer(String text) {\n //Message ist refactored with the players username\n TextMessage message = new TextMessage(username + \": \" + text);\n //Message gets send to the server\n client.sendMessage(message);\n\n }",
"title": ""
},
{
"docid": "7b3c4217103bfef8b69116f7d8b45c8d",
"score": "0.627884",
"text": "@Override\r\n\tvoid sendMessage() {\n\r\n\t}",
"title": ""
},
{
"docid": "e98cc7f47834e7826be5fbc96353fdf7",
"score": "0.6276906",
"text": "public void sendMessage(String message) {\n\n }",
"title": ""
},
{
"docid": "e1095c4aa10c0476cea364b5dde07de3",
"score": "0.6275335",
"text": "public void sendMessage() {\n try {\n if(!chatTF.getText().equals(\"\") && !chatTF.getText().equals(\" \")) {\n client.sendMessage(\"[OP_MESSAGE]\"+\"\\n(\" + client.name + \") \"+chatTF.getText());\n System.out.println(\"message has been sent with client : \" + client.name);\n \n chatTF.setText(\"\");\n }\n }catch(Exception er) {\n er.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "029f94fc59c7e3254ee92eb9365de381",
"score": "0.6266582",
"text": "private void sendGameMessage(MessageEmbed gameMessage) {\n channel.sendMessage(gameMessage).setActionRows(getButtons()).queue(message -> {\n long oldId = gameID;\n gameID = message.getIdLong();\n callback.messageIdUpdated(this, oldId);\n });\n }",
"title": ""
},
{
"docid": "cafba33a19c94f069901b85ba0abcf34",
"score": "0.6259193",
"text": "public static void sendMessage(Player player, String message) {\n\t\tplayer.sendMessage(ChatColor.translateAlternateColorCodes('&', PREFIX + message));\n\t}",
"title": ""
},
{
"docid": "ef9fb3cb9c40b5ff4da579072ebdf5e6",
"score": "0.6255176",
"text": "void send(String message);",
"title": ""
},
{
"docid": "ef9fb3cb9c40b5ff4da579072ebdf5e6",
"score": "0.6255176",
"text": "void send(String message);",
"title": ""
},
{
"docid": "646092b20d99995778527d8acb62367b",
"score": "0.6253989",
"text": "@Override\n public void handleMessage(View p) {\n p.handlePlayerMessage(playerCopy);\n }",
"title": ""
},
{
"docid": "4bc1ae35c7637f0ae9e720ebeedaedcb",
"score": "0.6244392",
"text": "void sendChat(String username, String gameId, String message);",
"title": ""
},
{
"docid": "b11f4d43d69ad0b93ccb57d5dcae271c",
"score": "0.623946",
"text": "public void sendPlayer(String pPublicName, IPlayer p) throws RemoteException{\n\t\ttry {\n\t\t\tNaming.rebind(pPublicName, p);\n\t\t\t\n\t\t} catch (MalformedURLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tIPlayer guest = (IPlayer) Naming.lookup(pPublicName);\n\t\t\tguest.messageFromServer(\"welcome!\");\n\t\t} catch (MalformedURLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (NotBoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0285c15f2486b00c52839f18e085b3b6",
"score": "0.6215251",
"text": "public void sendMessage(String message){\n writer.println(message);\n writer.flush();\n }",
"title": ""
},
{
"docid": "78d54ab27a06785983402dbd8a08a70b",
"score": "0.6198891",
"text": "void sendMessage(Message message, String text);",
"title": ""
},
{
"docid": "3d21663c2edd7d36d6af3239ff4de7c0",
"score": "0.6198362",
"text": "public void sendMessage(String msg){\n\t\tout.println(msg);\n\t}",
"title": ""
},
{
"docid": "d33deb793481e552a30d6804f68cc0ad",
"score": "0.6196875",
"text": "void sendMessage(Entity entity, String message) {\r\n message = \"§6[SmartCart] §7\" + message;\r\n if (entity instanceof Player) {\r\n ((Player) entity).sendRawMessage(message);\r\n }\r\n }",
"title": ""
},
{
"docid": "10d9b4cbd453129e584c07b6f334f043",
"score": "0.6190182",
"text": "public void send(Message m) {}",
"title": ""
},
{
"docid": "b5d48d2aea33a753f4acd87719de6198",
"score": "0.6188193",
"text": "public void play() {\n welcomeMessage();\n gameLoop();\n printFinalMessage();\n }",
"title": ""
},
{
"docid": "7b83cb99fb96a33a2c5b5bda475f278c",
"score": "0.6182753",
"text": "public void sendTurn(TurnMessage message) {\n Log.d(\"Client: \", \"Ein Zug wurde an den Server geschickt\");\n\n //Message gets initialized\n TurnMessage msg = new TurnMessage(playerID, message.getToField(), 0, message.getCard(), message.isCheat());\n Log.d(\"Client\", \"playerID \" + playerID + \" tofield \" + message.getToField() + \" Card;\" + msg.getCard());\n //Message is sent to the Server\n client.sendMessage(msg);\n }",
"title": ""
},
{
"docid": "fe7563a75627d4ce3bdcfde51b026903",
"score": "0.6176287",
"text": "@Override\r\n\tvoid sendMessage() {\r\n\t\tSystem.out.println(\"Hi, I am Rayhan\");\r\n\t}",
"title": ""
},
{
"docid": "1002be175dc90c0cf14186bbfd52d62c",
"score": "0.61684185",
"text": "public void sendMessage(String message) {\n\t\tout.println(message);\n\t}",
"title": ""
},
{
"docid": "328eef28ae87cc743f98c82eea114974",
"score": "0.61645645",
"text": "String apply(String message, Player receivingPlayer);",
"title": ""
},
{
"docid": "7878cbc7cf1d847f63937697c38ae41e",
"score": "0.6163345",
"text": "public static void sendMessage(Player player, String message)\n {\n if (!instance.prefixMessages)\n {\n player.sendMessage(ChatColor.GRAY + message);\n }\n else\n {\n player.sendMessage(ChatColor.DARK_GRAY + \"[Logix-Scythes] \" + ChatColor.GRAY + message);\n }\n }",
"title": ""
},
{
"docid": "b27f2936125139580f419c149794924f",
"score": "0.61551917",
"text": "public static void sendPlayerPluginMessage(Player player, String message) {\n sendMessage(player, message, true);\n }",
"title": ""
},
{
"docid": "343caeae122de69ed08fcfaa61174773",
"score": "0.61547035",
"text": "public void sendMessage(String message){\n if (out != null && !out.checkError()) {\n out.println(message);\n out.flush();\n }\n }",
"title": ""
},
{
"docid": "75a5d6fcd598bc299917ca7f4702e300",
"score": "0.615121",
"text": "private void sendMessage(String message) throws IOException {\n\t\tthis.session.getBasicRemote().sendText(message);\n\t}",
"title": ""
},
{
"docid": "f2eb5f2a3debd01350e32bc44e50bfbe",
"score": "0.614888",
"text": "public void sendMessage(Object object) {\n player().sendMessage(MessageUtil.replaceColors(object.toString()));\n }",
"title": ""
},
{
"docid": "c6bf71e64bae3f9e53f121defb73fa87",
"score": "0.61406285",
"text": "private void sendMessage(String message){\r\n\t\ttry{\r\n\t\t\t//TO ADD, CENSORING WORDS\r\n\t\t\tmessage = censoreWords(message);\r\n\t\t\toutput.writeObject(\"SERVER - \" + message);\r\n\t\t\toutput.flush();\r\n\t\t\tshowMessage(\"\\nSERVER - \" + message);\r\n\t\t}catch(IOException ioException){\r\n\t\t\tchatWindow.append(\"\\nERROR: I cant send it\");\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "dcf8147cef66851cdd511d14b1f205a7",
"score": "0.61298305",
"text": "public void sendQueuePlayerMessage(String message) {\r\n\t\tfor (String spleefPlayers : plugin.spleefQueue) {\r\n\t\t\t@SuppressWarnings(\"deprecation\")\r\n\t\t\tPlayer players = Bukkit.getServer().getPlayer(spleefPlayers);\r\n\r\n\t\t\tplayers.sendMessage(message);\r\n\t\t\t// players.sendMessage(ChatColor.YELLOW + player.getName() + ChatColor.GREEN + \" has joined the spleef queue.\");\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "ef4b6fb94b64a476bd764537ba744ef4",
"score": "0.61297387",
"text": "private void sendMessage(String text) {\n \ttry {\n\t\t\tthis.session.getBasicRemote().sendText(text);\n\t\t} catch (IOException e) {\n\t\t\t// clean up once the WebSocket connection is closed\n\t\t\ttry {\n\t\t\t\tthis.session.close();\n\t\t\t} catch (IOException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n }",
"title": ""
},
{
"docid": "dac5327e2186807be7bf662757fec9e4",
"score": "0.6126911",
"text": "public static void sendMessage(Sender sndr, String target, String message) {\n\t\tif (!sndr.isPlayer()) {\n\t\t\tUser player = Core.getUser(target);\n\t\t\tif (target.equalsIgnoreCase(\"console\") && player == null) {\n\t\t\t\tconversation.put(sndr.getName(), target);\n\t\t\t\tconversation.put(target, sndr.getName());\n\t\t\t\tnew Message(sndr, true, message);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (player == null) {\n\t\t\t\tsndr.sendMessage(Error.UNKNOWN_PLAYER.sendError());\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!player.isMessageable()) {\n\t\t\t\tsndr.sendError(Error.CANNOT_SEND_PM);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconversation.put(sndr.getName(), player.getName());\n\t\t\tconversation.put(player.getName(), sndr.getName());\n\t\t\tnew Message(sndr, player, true, message);\n\t\t\treturn;\n\t\t}\n\t\tUser player = Core.getUser(target);\n\t\tif (target.equalsIgnoreCase(\"console\") && player == null) {\n\t\t\tif (Holder.hasPermission(sndr, Permission.ESS_MESSAGE_CONSOLE)) {\n\t\t\t\tconversation.put(sndr.getName(), target);\n\t\t\t\tconversation.put(target, sndr.getName());\n\t\t\t\tif (Holder.hasPermission(sndr, Permission.ESS_MESSAGE_CHATCOLOR)) {\n\t\t\t\t\tnew Message(sndr, true, message);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tnew Message(sndr, false, message);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tsndr.sendMessage(Parser.parse(Error.NO_PERMISSION.getError(), (Player) sndr, \"Unknown\",\n\t\t\t\t\tPermission.ESS_MESSAGE_CONSOLE));\n\t\t\treturn;\n\t\t}\n\t\tif (player == null) {\n\t\t\tsndr.sendMessage(Error.UNKNOWN_PLAYER.sendError());\n\t\t\treturn;\n\t\t}\n\t\tif (!player.isMessageable()) {\n\t\t\tsndr.sendError(Error.CANNOT_SEND_PM);\n\t\t\treturn;\n\t\t}\n\t\tconversation.put(sndr.getName(), target);\n\t\tconversation.put(target, sndr.getName());\n\t\tif (Holder.hasPermission(sndr, Permission.ESS_MESSAGE_CHATCOLOR)) {\n\t\t\tnew Message(sndr, player, true, message);\n\t\t\treturn;\n\t\t}\n\t\tnew Message(sndr, player, false, message);\n\t\treturn;\n\t}",
"title": ""
},
{
"docid": "90ac63f9f116740545834ef6d7b3685c",
"score": "0.61257774",
"text": "private void sendAllWaitingMessage() {\r\n GameSession game = super.getGameSession();\r\n Player currentPlayer = game.getCurrentPlayer();\r\n\r\n TextMessage broadcastMessage = new TextMessage(currentPlayer.getNickname(), TextMessage.PositionInScreen.HIGH_CENTER);\r\n game.sendBroadCast(broadcastMessage, currentPlayer.getNickname());\r\n\r\n setAllWorkersUnmoved();\r\n }",
"title": ""
},
{
"docid": "2d7fef03da73e2ac116a8cea3fe281cf",
"score": "0.61225307",
"text": "public void play() {\n Mail mail = new Mail();\n\n mail.setFrom(sender.getAddress());\n\n String[] to = new String[victims.size()];\n\n for (int i = 0; i < victims.size(); i++) {\n to[i] = victims.get(i).getAddress();\n }\n\n mail.setTo(to);\n\n //Gets a random message from messages.json\n mail.setMessage(new ConfigurationManager().getRandomMessage() + \"\\n\\n\" + sender.getSurname() + \" \" + sender.getName());\n\n SmtpClient.getInstance().send(mail);\n\n }",
"title": ""
},
{
"docid": "1e5dc2739e5ba8f90582b98e96267ce6",
"score": "0.6119229",
"text": "@Override\n public void sendMessage(Message msg) {\n }",
"title": ""
},
{
"docid": "6e5acdd038ccb1a9ff6fd74022c7a67d",
"score": "0.611813",
"text": "public void bye() {\n playing = false;\n send(\"(bye)\");\n }",
"title": ""
},
{
"docid": "7c26e20e9c5e8f5effab51b35f3ed92d",
"score": "0.61164075",
"text": "void sendMessage()\r\n {\r\n System.out.println(\"Hi, I am karim.\");\r\n }",
"title": ""
},
{
"docid": "4157c087d401c90bbcea73d45bb8aee0",
"score": "0.6108895",
"text": "public void sendToConsole(){\n Bukkit.getConsoleSender().sendMessage(this.build());\n }",
"title": ""
},
{
"docid": "4d9dea1994d35ce6ab808c3be7a71624",
"score": "0.6099609",
"text": "@Override\n\tpublic void run()\n\t{\n\t\tString message;\n\t\twhile (!Thread.currentThread().isInterrupted())\n\t\t{\n\t\t\t// Receive the message\n\t\t\ttry\n\t\t\t{\n\t\t\t\tmessage = currentPlayer.receive();\n\t\t\t}\n\t\t\tcatch (IOException e)\n\t\t\t{\n\t\t\t\tLOGGER.warning(\"Could not receive message from client \" + currentPlayer.getPlayerName() + \": \"\n\t\t\t\t\t\t+ e.getMessage());\n\t\t\t\tcleanUp();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (message == null)\n\t\t\t{\n\t\t\t\tLOGGER.warning(\"Client \" + currentPlayer.getPlayerName() + \" unexpectedly closed the connection.\");\n\t\t\t\tcleanUp();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Interpret the message\n\t\t\tProtocolMessage genericMessage = ProtocolMessage.getProtocolMessage(message);\n\n\t\t\tif (genericMessage instanceof ExitProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" wants to exit.\");\n\t\t\t\tcleanUp();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse if (genericMessage instanceof ResignProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" resigned.\");\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tresign();\n\t\t\t\t}\n\t\t\t\tcatch (GameIsEndedException e)\n\t\t\t\t{\n\t\t\t\t\t// So what?\n\t\t\t\t\t// e.printStackTrace();\n\t\t\t\t}\n\t\t\t\tResignProtocolMessage resignation = (ResignProtocolMessage) genericMessage;\n\t\t\t\tgetOpponent(currentPlayer).send(resignation.getFullMessage());\n\t\t\t\tgamesManager.deleteGame(this);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse if (genericMessage instanceof MoveProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" made a move.\");\n\n\t\t\t\t// Let's make a move\n\t\t\t\tMoveProtocolMessage movement = (MoveProtocolMessage) genericMessage;\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\taddTurnMessage(currentPlayer, movement.getX(), movement.getY());\n\t\t\t\t\tif (controller instanceof BotGameController)\n\t\t\t\t\t{\n\t\t\t\t\t\tPoint botMovement = controller.getLastMovement();\n\t\t\t\t\t\t// LOGGER.info(Integer.toString(movement.getX()) + \", \"\n\t\t\t\t\t\t// + Integer.toString(movement.getY()));\n\t\t\t\t\t\t// LOGGER.info(Integer.toString((int)botMovement.getX())\n\t\t\t\t\t\t// + \", \" + Integer.toString((int)botMovement.getY()));\n\t\t\t\t\t\t// LOGGER.info(Boolean.toString((int)botMovement.getX()\n\t\t\t\t\t\t// == movement.getX() && (int)botMovement.getY() ==\n\t\t\t\t\t\t// movement.getY()));\n\t\t\t\t\t\tif ((int) botMovement.getX() == movement.getX() && (int) botMovement.getY() == movement.getY())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// Bot passed\n\t\t\t\t\t\t\tcurrentPlayer.send(new PassProtocolMessage().getFullMessage());\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcurrentPlayer\n\t\t\t\t\t\t\t\t\t.send(new MoveProtocolMessage((int) botMovement.getX(), (int) botMovement.getY())\n\t\t\t\t\t\t\t\t\t\t\t.getFullMessage());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (BadPlayerException | GameIsEndedException | GameBegginsException e)\n\t\t\t\t{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tcatch (BadFieldException e)\n\t\t\t\t{\n\t\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" made move for the opponent.\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Send the movement to the opponent\n\t\t\t\tgetOpponent(currentPlayer).send(movement.getFullMessage());\n\n\t\t\t\t// Now it's their turn\n\t\t\t\tcurrentPlayer = getOpponent(currentPlayer);\n\t\t\t}\n\t\t\telse if (genericMessage instanceof PassProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" passed.\");\n\n\t\t\t\t// Pass in here\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tpass(currentPlayer);\n\t\t\t\t\tif (controller instanceof BotGameController)\n\t\t\t\t\t{\n\t\t\t\t\t\tcurrentPlayer.send(new PassProtocolMessage().getFullMessage());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (GameBegginsException | GameIsEndedException | BadFieldException e)\n\t\t\t\t{\n\t\t\t\t\t// Should not happen\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\t// Send the movement to the opponent\n\t\t\t\tcurrentPlayer = getOpponent(currentPlayer);\n\t\t\t\tcurrentPlayer.send(genericMessage.getFullMessage());\n\t\t\t}\n\t\t\telse if (genericMessage instanceof ChangeTerritoryProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" changes territory.\");\n\t\t\t\tacceptedPreviousTurn = false;\n\n\t\t\t\tgetOpponent(currentPlayer).send(genericMessage.getFullMessage());\n\t\t\t}\n\t\t\telse if (genericMessage instanceof AcceptTerritoryProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" accepts territory.\");\n\n\t\t\t\tcurrentPlayer = getOpponent(currentPlayer);\n\t\t\t\tcurrentPlayer.send(genericMessage.getFullMessage());\n\n\t\t\t\tif (acceptedPreviousTurn)\n\t\t\t\t{\n\t\t\t\t\tLOGGER.info(\"Players \" + blackPlayer.getPlayerName() + \" and \" + whitePlayer.getPlayerName()\n\t\t\t\t\t\t\t+ \" have ended the game.\");\n\t\t\t\t\tgamesManager.deleteGame(this);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tacceptedPreviousTurn = true;\n\t\t\t}\n\t\t\telse if (genericMessage instanceof ResumeGameProtocolMessage)\n\t\t\t{\n\t\t\t\tLOGGER.info(\"Player \" + currentPlayer.getPlayerName() + \" wants to resume the game.\");\n\t\t\t\tacceptedPreviousTurn = false;\n\n\t\t\t\tcurrentPlayer = getOpponent(currentPlayer);\n\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tinitializeGame(currentPlayer);\n\t\t\t\t}\n\t\t\t\tcatch (GameStillInProgressException e)\n\t\t\t\t{\n\t\t\t\t\tLOGGER.warning(\n\t\t\t\t\t\t\t\"Player \" + currentPlayer.getPlayerName() + \" wanted to resume a game still in progress.\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tcatch (BadFieldException e)\n\t\t\t\t{\n\t\t\t\t\t// Should not happen\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tcurrentPlayer.send(new ResumeGameProtocolMessage().getFullMessage());\n\t\t\t}\n\t\t\telse if (message.isEmpty() && controller instanceof BotGameController)\n\t\t\t{\n\t\t\t\t// The bot turn\n\t\t\t\tif (controller.getState() == GameStateEnum.END)\n\t\t\t\t{\n\t\t\t\t\t// The game ended\n\t\t\t\t\tLOGGER.info(\"Players \" + blackPlayer.getPlayerName() + \" and bot have ended the game.\");\n\t\t\t\t\tgamesManager.deleteGame(this);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcurrentPlayer = getOpponent(currentPlayer);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tLOGGER.warning(\"Got wrong message from client: \" + genericMessage.getFullMessage());\n\t\t\t}\n\t\t}\n\n\t\tcleanUp();\n\t}",
"title": ""
},
{
"docid": "bfaa8f32933d2d821f42b6d742370ec4",
"score": "0.6082693",
"text": "void send();",
"title": ""
},
{
"docid": "30e84836bb076855663ab735f5d0ccd8",
"score": "0.60791355",
"text": "void resendMessage (M message);",
"title": ""
},
{
"docid": "b4681fb069773aa97e83535afaa0697f",
"score": "0.6078604",
"text": "private void transmitMessage(Socket player) throws IOException {\n if (player == player1) {\n String message = gson.toJson(msgToPlayer1);\n toPlayer1.writeUTF(message);\n }\n else {\n String message = gson.toJson(msgToPlayer2);\n toPlayer2.writeUTF(message);\n }\n }",
"title": ""
},
{
"docid": "adc6efcca60d4b36bd9ffb6b05740223",
"score": "0.60688096",
"text": "public static void pmsg(Player pPlayer, String string) {\n\t\tpPlayer.sendMessage(\"[\" + ChatColor.AQUA + \"ClassRanks\" + ChatColor.WHITE + \"] \" + string);\n\t}",
"title": ""
},
{
"docid": "7f8676218d0b1c84f88968d5aac34977",
"score": "0.60677797",
"text": "public void gameMessage(String message) {\n\t\tlog.finest(\"Sending message : \" + message);\n\t\tMatcher matcher = charEscape.matcher(message);\n\t\tmessage = matcher.replaceAll(\"\\\\\\\\$0\");\n\t\tfor (String str : message.split(\"\\n\"))\n\t\t\tif (str.length() > 0)\n\t\t\t\tgameCommand(\"say \" + str, false);\n\t}",
"title": ""
},
{
"docid": "592398c89405e3ec7f2522ec14488839",
"score": "0.60668015",
"text": "public void sendMessage(TirgusMessage message)\n {\n writer.println(message);\n }",
"title": ""
},
{
"docid": "dc8c0fee28aa4668451c438b06d7c433",
"score": "0.60628897",
"text": "public boolean sendMessage(final String message, @Nullable final Player sender);",
"title": ""
},
{
"docid": "a4a95143e31da59d0b1fcc65f70cafeb",
"score": "0.605775",
"text": "private void sendToServer(String message) {\n out.println(message);\n out.flush();\n }",
"title": ""
},
{
"docid": "b38e0700a71ad7863f97a112fa75735d",
"score": "0.60536647",
"text": "void sendMessage(String msg) {\n\t\twriter.println(msg);\n\t\twriter.flush();\n\t\tSystem.out.println(\"[SENDING TO CLIENT]: \" + msg);\n\t}",
"title": ""
},
{
"docid": "ef3d8fd86f31a0a1550c1fa1f8b2c402",
"score": "0.6052419",
"text": "public void sendMessage() {\n try {\n TextChannel c = Main.guild.getTextChannelById(channel);\n assert c != null;\n c.sendMessage(text).queue();\n } catch (Exception ignore) {}\n }",
"title": ""
},
{
"docid": "e23c71cba6bb301723fc715057889a03",
"score": "0.60300064",
"text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tMessage msg = MainActivity.mainHand.obtainMessage();\r\n\t\t\t\tmsg.obj = null;\r\n\t\t\t\tmsg.what = 14;\r\n\t\t\t\tMainActivity.mainHand.sendMessage(msg);// 结果返回\r\n\t\t\t}",
"title": ""
},
{
"docid": "bb3d750cd17d64ce8c15ca2bfe0a044c",
"score": "0.60292953",
"text": "public void clickOnSend() {\r\n\t\tmodel.sendMessage(txtChatMessage.getText());\r\n\t\ttxtChatMessage.clear();\r\n\t}",
"title": ""
},
{
"docid": "fdac87c5bf6dd63c6ef85b278e9b7676",
"score": "0.6029254",
"text": "public void send(String message) {\n\n output.println(message);\n }",
"title": ""
},
{
"docid": "8ff68be787159a71198f38d55922d1ee",
"score": "0.60250056",
"text": "public void outputMessage(String message) {\n WindowManager.getMainController().sendMessage(message);\n\n }",
"title": ""
},
{
"docid": "911aecd9a5434107a18b24bb023e1aa7",
"score": "0.60080963",
"text": "public boolean send(String message);",
"title": ""
},
{
"docid": "dedf75064937015e44bfa6b776b402f0",
"score": "0.60077375",
"text": "public void sendToPlayer(Player player, BarBuilder bar){\n player.sendMessage(bar.build());\n }",
"title": ""
},
{
"docid": "7ec0a9d996afe94b5703fa64faf3a44e",
"score": "0.6006386",
"text": "public void CurrentPlayerChat(String message)\n\t{\n\t\tthis.PlayerChat(gameState.activePlayerIndex, message);\n\t}",
"title": ""
},
{
"docid": "1cb8ea7770c0c9edbcfc73b2474bf05d",
"score": "0.6005881",
"text": "private void sendOpponentTurn() {\n\t\tnew WriteBytesTask().Setup(out,this).execute(\n\t\t\t\tnew byte[] { (byte) Packets.TURN_DONE.getPacketId() });\n\t}",
"title": ""
},
{
"docid": "8178bd3bfaa22fbf975773aea2363949",
"score": "0.60032487",
"text": "public void play() throws Exception {\n\t\tString response;\n\t\ttry {\n\t\t\tresponse = in.readLine();\n\t\t\tif (response.startsWith(\"WELCOME\")) {\n\t\t\t\tString role = response.substring(8);\n\t\t\t\tmyMessageLabel.setText(\"Hello, you are the \" + role.toString());\n\t\t\t}\n\t\t\twhile (true) {\n\t\t\t\tresponse = in.readLine();\n\t\t\t\tif (response.startsWith(\"MESSAGE\")) {\n\t\t\t\t\tString role = response.split(\" \")[1];\n\t\t\t\t\tmyMessageLabel.setVisible(false);\n\t\t\t\t\tmyMessageLabel.setText(\"You are now the \" + role);\n\t\t\t\t}\n\t\t\t}\n//\t\t\tout.println(\"END_GAME\");\n\t\t}\n\t\tfinally {\n\t\t\tsocket.close();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0545970137159a9e34b9aabfbd4a0313",
"score": "0.60010934",
"text": "private void sendMessage (Message m) {\n\t\tif (!connected) {\n\t\t\t// System.out.println(\"Not connected to server, cannot send message\");\n\t\t\treturn;\n\t\t}\n\t\ttry {\n\t\t\tString s = json.toJson(m);\n\t\t\tout.writeObject(s);\n\t\t\t// System.out.println(\"Sent \" + s);\n\t\t} catch (Exception e) {\n\t\t\t// System.out.println(\"Could not send message \" + m);\n\t\t\tif (running) disconnect();\n\t\t}\n\t}",
"title": ""
}
] |
8a0bf32856876abaf11b9b7e4efd0716 | defining class named "pyramid" | [
{
"docid": "2a77fa2d6bc21af5f05496f6957c50e8",
"score": "0.49620876",
"text": "public static void main(String[] args) { //defining main function\r\n\tfor (int i=0;i<=4;i++) { //number of lines in pyramid; here 5\r\n\t\t\tfor (int j=0;j<=i ;j++) { // number of stars per line\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t\t//System.out.print(\"hello\");\r\n\t\t\t}\r\n\t\t\tSystem.out.println(); //goto next line\r\n\t\t}\t\r\n\t}",
"title": ""
}
] | [
{
"docid": "11148791fbc97210c888cab3189aa89e",
"score": "0.66985506",
"text": "public static void main(String[] args) {\n\t\tNewMethod2.Pyramid(10);\r\n\t\t\r\n\t\t}",
"title": ""
},
{
"docid": "bcef9df79b3577144c21c1b2803f6dc5",
"score": "0.64210236",
"text": "public static void main(String[] args) {\n\n int p = 20;\n pyramid(p);\n\n }",
"title": ""
},
{
"docid": "b7621707753be0e23b9f74a37e15f565",
"score": "0.6205595",
"text": "Pyramid(double length, double width, double height) {\n this(length, width, height, Color.white);\n }",
"title": ""
},
{
"docid": "254b79d24fd209ff430cf72d5e677d62",
"score": "0.59104383",
"text": "@Test\n\tpublic void setPyramidTest() {\n\t\tDeck deck = gameGen.createBasicDeck();\n\t\tUser user = new User(\"testUser\", deck);\n\t\tAI ai = gameGen.createBasicAI();\n\t\t\n\t\t//create a fake match (comes with board)\n\t\tMatch match = new Match(user, ai);\n\t\tPyramid pyramid = new Pyramid(40,100, PyramidType.TRIANGLE, true); //got numbers form pyramidTest\n\t\tmatch.getOpponent().setPyramid(pyramid);\n\t}",
"title": ""
},
{
"docid": "969e760ac6b516f0b9459469133cedc5",
"score": "0.567042",
"text": "private void drawPyramid() {\r\n\t\t\r\n\t\tdouble width = (getWidth() - BRICKS_IN_BASE * BRICK_WIDTH) / 2.0;\r\n\t\tdouble height = (getHeight() - 12) * 1.0;\r\n\t\tint bricksNumber = BRICKS_IN_BASE;\r\n\t\t\r\n\t\twhile (bricksNumber > 0) {\r\n\t\t\tdrawTheLine(bricksNumber, width, height);\r\n\t\t\tbricksNumber--;\r\n\t\t\twidth += 15.0;\r\n\t\t\theight = (height - BRICK_HEIGHT) * 1.0;\r\n\t\t}\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "1564ad221b2f730bd2bd25c3652a02b9",
"score": "0.5651117",
"text": "public static void main (String[] args)\r\n\t{\r\n\t\tint pyramid[][] = { {215,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {193,124,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {117,237,442,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {218,935,347,235,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {320,804,522,417,345,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {229,601,723,835,133,124,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {248,202,277,433,207,263,257,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {359,464,504,528,516,716,871,182,0 ,0 ,0 ,0 ,0 ,0 ,0 },\r\n {461,441,426,656,863,560,380,171,923,0 ,0 ,0 ,0 ,0 ,0 },\r\n {381,348,573,533,447,632,387,176,975,449,0 ,0 ,0 ,0 ,0 },\r\n {223,711,445,645,245,543,931,532,937,541,444,0 ,0 ,0 ,0 },\r\n {330,131,333,928,377,733,017,778,839,168,197,197,0 ,0 ,0 },\r\n {131,171,522,137,217,224,291,413,528,520,227,229,928,0 ,0 },\r\n {223,626,034,683,839,53,627,310,713,999,629,817,410,121,0 },\r\n {924,622,911,233,325,139,721,218,253,223,107,233,230,124,233 }};\r\n \r\n\t\tsetPrimesToZero(pyramid);\r\n /*for(int i = 0; i<N; ++i){\r\n for(int j = 0; j<N; ++j){\r\n System.out.print(pyramid[i][j] + \" \");\r\n }\r\n System.out.println(\"\");\r\n }*/\r\n\t\tSystem.out.println ( maxPathSum(pyramid, 14,14));\r\n\t}",
"title": ""
},
{
"docid": "55e88f991c2c50186147e5c104ec7eb4",
"score": "0.5608079",
"text": "Pyramid(double length, double width, double height, Color color) {\n super(length, width, height, color);\n double surfaceArea = (length * width) + Math.pow(Math.pow((width / 2), 2) + Math.pow(height, 2), 1 / 2) + (width * Math.pow(Math.pow(length / 2, 2) + Math.pow(height, 2), (1 / 2)));\n double volume = (length * width * height) / 3;\n super.setSurfaceArea(surfaceArea);\n\n }",
"title": ""
},
{
"docid": "8412e40962ef0360183aff8494d06509",
"score": "0.5469502",
"text": "public PyramidPlay(Deck deck) \n {\n this.deck = deck;\n score = 0;\n isOver = \"\";\n drawIndex = 0;\n pyramidIndex = 0;\n\n }",
"title": ""
},
{
"docid": "d161899c6a27a1262584de33741c3107",
"score": "0.5442624",
"text": "public void run() {\r\n\t\tdrawPyramid();\r\n\t}",
"title": ""
},
{
"docid": "9f40c6a531a15f417a60f68a31e638be",
"score": "0.53121346",
"text": "public static void marioPyramid() {\r\n\r\n Scanner user_input = new Scanner(System.in);\r\n\r\n System.out.print(\"How high is the pyramid\");\r\n\r\n int height = user_input.nextByte();\r\n\r\n for (int i = 0; i < height; i++) {\r\n\r\n int empty_spaces = height - i - 1;\r\n\r\n for (int j = 0; j < height; j++) {\r\n if (empty_spaces <= j) {\r\n System.out.print(\"#\");\r\n\r\n } else {\r\n System.out.print(\" \");\r\n }\r\n }\r\n System.out.print(\" \");\r\n\r\n for (int k = 0; k < (height - empty_spaces); k++) {\r\n System.out.print(\"#\");\r\n }\r\n System.out.print(\"\\n\");\r\n }\r\n\r\n }",
"title": ""
},
{
"docid": "446dec886214a1c14479d534a4d300f1",
"score": "0.51924145",
"text": "public static void main(String[] args) {\n System.out.println(\"Star pyramid pattern:\");\n for (int i = 1; i <= 4; i++) {\n for (int j = 3; j >= i ; j--){\n System.out.print(\" \");\n }\n for(int k = 1; k <= i; k++){\n System.out.print(\"* \");\n //System.out.print(\" *\");\n }\n System.out.println();\n }\n\n }",
"title": ""
},
{
"docid": "202238b20bd2adcefd885d33eb1540ad",
"score": "0.51417506",
"text": "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n System.out.print(\"Enter the number of lines: \");\n int numOfLines = input.nextInt();\n \n // Nested loops to create pyramid pattern\n for (int i = 1; i <= numOfLines; i++) { // Outer loop controls the rows\n for (int j = (2*numOfLines - i * 2); j > 0; j -= 2) {\n System.out.print(\" \"); // Whitespace before numbers on each row\n }\n for (int k = i; k > 0; k--) { // Descending numbers on each row\n if (k < 10)\n System.out.print(k + \" \");\n else\n System.out.print(k + \" \");\n }\n for (int n = 2; n <= i; n++) { // Ascending numbers on each row\n if (n < 10)\n System.out.print(n + \" \");\n else\n System.out.print(n + \" \");\n }\n System.out.println(); // Go to next line after inner loops execute\n }\n \n }",
"title": ""
},
{
"docid": "085dff3406e4b5a83c07436f0b974fca",
"score": "0.4968916",
"text": "public WordGrid(){\n\tthis(10,10,0);\n }",
"title": ""
},
{
"docid": "c2fa341a77c6e6bbc965cdcb6aba9e47",
"score": "0.492738",
"text": "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\r\n\t\tint number = 0;\r\n\t\tboolean works = true;\r\n\t\t\r\n\t\t//loop which controls correct input of number\r\n\t\twhile (works) {\r\n\t\t\ttry {\r\n\t\t\t\tSystem.out.print(\"Enter an integer in the range from 2 to 25: \");\r\n\t\t\t\tnumber = input.nextInt();\r\n\t\t\t\tif (number <= 1 || number > 25) {\r\n\t\t\t\t\tSystem.out.println(\"You must enter the number of the type int, in the range from 2 to 25!\");\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tworks = false;\r\n\t\t\t}\r\n\t\t\tcatch (InputMismatchException ex) {\r\n\t\t\t\tSystem.out.println(\"You must enter the number of the type int!\");\r\n\t\t\t\tinput.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tint spacesPerRow = number;\r\n\t\tSystem.out.println(\"\\nThe pyramid with all numbers from 1 to \" + number +\":\");\r\n\t\t//loop which prints rows of the pyramid\r\n\t\tfor (int i = 1; i <= number; i++){\r\n\t\t\t//loop which prints spaces\r\n\t\t\tfor (int spaces = spacesPerRow; spaces > 1; spaces--){\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t}\r\n\t\t\t//loop which prints left side of the pyramid\r\n\t\t\tif (i > 1){\r\n\t\t\t\tfor (int k = i; k > 1; k--){\r\n\t\t\t\t\tSystem.out.printf(\"%-3d\", k);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//loop which prints right side of the pyramid\r\n\t\t\tfor (int j = 1; j <= i; j++){\r\n\t\t\t\tSystem.out.printf(\"%-3d\", j);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t\tspacesPerRow --;\r\n\t\t}\r\n\t\t\r\n\t\tinput.close();\r\n\t}",
"title": ""
},
{
"docid": "9d4fccf0d60e74429f990362519d07cb",
"score": "0.48310786",
"text": "@Test\n void test() {\n int[][] test = new int[][]{\n {75},\n {95, 64},\n {17, 47, 82},\n {18, 35, 87, 10},\n {20, 4, 82, 47, 65},\n {19, 1, 23, 75, 3, 34},\n {88, 2, 77, 73, 7, 63, 67},\n {99, 65, 4, 28, 6, 16, 70, 92},\n {41, 41, 26, 56, 83, 40, 80, 70, 33},\n {41, 48, 72, 33, 47, 32, 37, 16, 94, 29},\n {53, 71, 44, 65, 25, 43, 91, 52, 97, 51, 14},\n {70, 11, 33, 28, 77, 73, 17, 78, 39, 68, 17, 57},\n {91, 71, 52, 38, 17, 14, 91, 43, 58, 50, 27, 29, 48},\n {63, 66, 4, 68, 89, 53, 67, 30, 73, 16, 69, 87, 40, 31},\n {4, 62, 98, 27, 23, 9, 70, 98, 73, 93, 38, 53, 60, 4, 23},\n };\n assertEquals(1074, PyramidSlideDown.longestSlideDown(test));\n }",
"title": ""
},
{
"docid": "2e80b1fa5aa6f074b8baf835a7c09477",
"score": "0.48139405",
"text": "@Override\n public int taille() {\n return taille;\n }",
"title": ""
},
{
"docid": "7d29065e3fd42895631b38bddba15639",
"score": "0.47997737",
"text": "public PyramidSolitaireTextualView(PyramidSolitaireModel<?> model) {\r\n this.model = model;\r\n this.outputs = System.out;\r\n }",
"title": ""
},
{
"docid": "e3376bf85a561efba4563246b7406715",
"score": "0.4790276",
"text": "public Pistol(){super(4, 4, \"pistol\");}",
"title": ""
},
{
"docid": "d6c27bdcee75e9ae5668899095bc5518",
"score": "0.4785667",
"text": "public Pile() {//constructor used to initialize variables\n\t\tsuper();//call the parent constructor\n\t}",
"title": ""
},
{
"docid": "45187b8461684f8616fcbed637a8c578",
"score": "0.47745204",
"text": "private List<Triangle> generatePyramid(int numFace){\n\t\tList<Triangle> faces=new ArrayList<Triangle>(numFace);\n\t\tList<Vector3f> allVertices=new ArrayList<Vector3f>(numFace);\n\t\tList<Vector3f> basePoints=generateEquilateralBase(numFace-1);\n\t\t\n\t\tfor(int i=0;i<numFace-3;i++){//Base faces\n\t\t\tfaces.add(new Triangle(basePoints.get(i),basePoints.get(i+1),basePoints.get(i+2)));\n\t\t}\n\t\tVector3f center=new Vector3f(0,1,0);\n\t\tallVertices.add(center);//Center\n\t\tallVertices.addAll(basePoints);//Base\n\t\tfor(int i=1;i<numFace-1;i++){\n\t\t\tfaces.add(new Triangle(allVertices.get(i),center,allVertices.get(i+1)));\n\t\t}\n\t\tfaces.add(new Triangle(allVertices.get(numFace-1),center,allVertices.get(1)));//Last face\n\t\treturn faces;\n\t}",
"title": ""
},
{
"docid": "7567e8f67ad9c73a4477853c6afc0fb4",
"score": "0.477284",
"text": "public static void main(String[] args) {\nprintPyramidOne();\n//printPyramidTwo();\nprintPyramidThree();\nSystem.out.println(anagramMappings(new int[]{21,23,11}, new int [] {23,11,21}));\n\n\t}",
"title": ""
},
{
"docid": "465d2d9aa48d523851c2d33b89ed3d7c",
"score": "0.47666192",
"text": "public ViewPaneModule (ImagePalette ip) {\n myImagePalette = ip;\n myDraw = new TurtleDraw(myImagePalette);\n myBackColor = Constants.DEFAULT_BGCOLOR;\n RGB = toRGB(myBackColor);\n updateBGColor(RGB);\n myPane.setPrefSize(Constants.VIEW_DEFAULT_DIMENSION, Constants.VIEW_DEFAULT_DIMENSION);\n createGrid(defColor);\n }",
"title": ""
},
{
"docid": "9838321c355a4ff6c0645818c47d4195",
"score": "0.47564173",
"text": "private Kipper createDumper() {\n Kipper kipper = new Kipper(200,600,0,22,40);\n kipper.setMaxVolumen(50);\n kipper.setGeschwindigkeit(40);\n kipper.setVisible(true);\n return kipper;\n }",
"title": ""
},
{
"docid": "c8bd65660ab27a402f538314a440e496",
"score": "0.4752419",
"text": "public NscDiamond() {\n super(0, 0, 25, 25);\n }",
"title": ""
},
{
"docid": "28ad1abb4c1036a2ac72f52a95c1500f",
"score": "0.47272062",
"text": "Spider(int c){\r\n\t\tsuper(c);\r\n\t}",
"title": ""
},
{
"docid": "72fcd2f0ed63d3e3bfc80ac06d740e93",
"score": "0.47259256",
"text": "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n System.out.print(\"Enter the number of lines: \");\n long answer = input.nextLong();\n long forSpacing = Math.round(Math.pow(2, answer -1 ));\n String forLength = \"\" + forSpacing;\n long len = forLength.length() + 1;\n long spacing = len * answer;\n\n //This below is what will create the pyramid\n for(long i = 0; i < answer; i++){\n //This part is just adding the 1 to each part of the pyramid on the left side\n String format = \"%\" + spacing + \"d\";\n System.out.printf(format, 1);\n spacing -= len;\n\n //For left side of triangle\n for(long k = 1; k <= i; k++ ){\n String format1 = \"%\" + len + \"d\";\n System.out.printf(format1, Math.round(Math.pow(2, k)));\n }\n\n //For right side of triangle\n for(long j = 1; j <= i; j++){\n String format2 = \"%\" + len + \"d\";\n System.out.printf(format2,Math.round(Math.pow(2, (i - j))));\n }\n //This starts a new line\n System.out.println();\n }\n }",
"title": ""
},
{
"docid": "e0da4b93edee406b3202230692efab67",
"score": "0.4721567",
"text": "Laptop(){\n\t\tsuper(100); //varsayilan olarak super() ifadesi yer alir.\n\t\t//bir ust siniftaki default no-arg cosntrucctor i cagirir!\n\t}",
"title": ""
},
{
"docid": "d2e53d90674c833e2c19dcc5eb2627bb",
"score": "0.47191083",
"text": "public MaximalRepeats() {\n }",
"title": ""
},
{
"docid": "f38243f35cdcb0c90db1bba1dd07c7dc",
"score": "0.46951234",
"text": "public Brett(int alterner){\n this.alterner = alterner;\n }",
"title": ""
},
{
"docid": "f43356b75d14e01203e3eae3d71e495c",
"score": "0.46800387",
"text": "public MazeRunner()\n {\n super(1, 1, 10);\n }",
"title": ""
},
{
"docid": "e9d8f7c00034069e3108ed646157fba9",
"score": "0.46679005",
"text": "public DefaultSpaceLayout() {\n }",
"title": ""
},
{
"docid": "ad8a9898432cfac7f03a48c24499e33c",
"score": "0.46442133",
"text": "public NarrowingPipeline() {\n super(\n new int[]{4, 4, 2},\n new int[]{3, 3, 1},\n new int[]{2, 2, 1},\n new int[]{2, 2, 1}\n );\n }",
"title": ""
},
{
"docid": "1f7c465e02fe111300c1ae266185d741",
"score": "0.46238145",
"text": "public KillerSudokuGrid() {\r\n\t\tsuper();\r\n\t}",
"title": ""
},
{
"docid": "03bf533d5785740592faf66daafd660f",
"score": "0.4612581",
"text": "IndentationHint createIndentationHint();",
"title": ""
},
{
"docid": "ddbab8dc448ae8ecafb3ed02f2de96b9",
"score": "0.45976508",
"text": "public Hat()\r\n { \r\n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\r\n super(970, 690, 1); \r\n }",
"title": ""
},
{
"docid": "5d8e28689580f6b8519110ac206d81a3",
"score": "0.45892704",
"text": "PythonCodeGeneratorVisitor(Configuration brickConfiguration, UsedHardwareVisitor usedHardware, int indentation) {\n this.usedHardwareVisitor = usedHardware;\n this.indentation = indentation;\n for ( int i = 0; i < indentation; i++ ) {\n this.indent.append(INDENT);\n }\n }",
"title": ""
},
{
"docid": "571e652acef531275383756921d9ed2c",
"score": "0.45764226",
"text": "public GridGraphLayout() {\n\t}",
"title": ""
},
{
"docid": "9cc006594b2f5da017e4b41ec59afd5a",
"score": "0.45703176",
"text": "public GltfWriter()\r\n {\r\n this.indenting = true;\r\n }",
"title": ""
},
{
"docid": "113c39566d1d69cac001a3f71c648525",
"score": "0.45636618",
"text": "public Bail(){}",
"title": ""
},
{
"docid": "9d5cbbcb49ddc3f2ed9df8114c7ed34a",
"score": "0.45526534",
"text": "public World(int w)\r\n\t{\r\n\t\twidth=w;\r\n\t\tgrid=new Living[width][width]; \r\n\t}",
"title": ""
},
{
"docid": "eaa84d97dc0529cac778089c3f0414d8",
"score": "0.45494154",
"text": "public Level()\r\n { \r\n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\r\n super(1280, 720, 1); \r\n populate();\r\n }",
"title": ""
},
{
"docid": "c803bb343653bcdfa8d19515d278b82a",
"score": "0.4520198",
"text": "Pile()\n {\n }",
"title": ""
},
{
"docid": "e0cfd03bb7e5d8a3f0acc687f236cd62",
"score": "0.45200118",
"text": "public Jogger() {\n\t\tthis(new MiddlewaresFactory() {\n\t\t\t@Override\n\t\t\tpublic Middleware[] create() {\n\t\t\t\treturn new Middleware[0];\n\t\t\t}\n\t\t});\n\t}",
"title": ""
},
{
"docid": "d6c89f88cdc31d6e1ed4209040bb24f0",
"score": "0.4512438",
"text": "static void parkRegestry(){}",
"title": ""
},
{
"docid": "02220b3ff6fc30bf05e7ced8340b8ec7",
"score": "0.45052513",
"text": "public TailViewConfig()\n {\n this(new String[0],\n DEFAULT_AUTOTAIL,\n DEFAULT_LINENUMBERS,\n DEFAULT_ANTIALIAS,\n FontUtil.getPreferredMonoFont(),\n DEFAULT_REGEX,\n DEFAULT_CUT_EXPRESSION,\n DEFAULT_AUTOSTART);\n }",
"title": ""
},
{
"docid": "d6b510dc0318f2087370771010e56889",
"score": "0.45037976",
"text": "public Population() {\n\t\tsuper();\n\t}",
"title": ""
},
{
"docid": "fb63a913f5ff38e747850110eb719f77",
"score": "0.4496213",
"text": "public Bantuan()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1); \n Back back = new Back();\n addObject(back, 246, 311);\n }",
"title": ""
},
{
"docid": "8efc75bf1c9a7766b1193c587987d3eb",
"score": "0.44926718",
"text": "public Grid() {\n\t\tthis.len = 3;\n\t\tthis.dirSteps = new LinkedList<Direction>();\n\t\tthis.squares = new Square[len][len];\n\t\tinitSquares();\n\t}",
"title": ""
},
{
"docid": "55bc0ca570b916bfea76f26f6271c27d",
"score": "0.44841686",
"text": "public Overworld()\n { \n // Create a new world with 500x500 cells with a cell size of 1x1 pixels.\n super(500, 500, 1);\n }",
"title": ""
},
{
"docid": "7c53940fae0fac947c1da8f77a8dabd2",
"score": "0.4483957",
"text": "@Override\n\tpublic void hacer() {\n\n\t}",
"title": ""
},
{
"docid": "b1cc85bbeea0243c03dbe7e7b51a5bf4",
"score": "0.44817546",
"text": "public void run() {\r\n double topindent = getHeight() - NUM_ROWS * BRICK_HEIGHT;\r\n for (int row = 0; row < NUM_ROWS; row++) {\r\n for (int col = 0; col < (1 + row); col++) {\r\n double leftindent = (getWidth() - ((1 + row) * BRICK_WIDTH)) / 2.0;\r\n pyramid[row][col] = putBrick((leftindent + col * BRICK_WIDTH), (topindent + row * BRICK_HEIGHT));\r\n }\r\n }\r\n }",
"title": ""
},
{
"docid": "1de2508a1a0902399d8222dc4414754c",
"score": "0.44790962",
"text": "public OurMaze()\n\t{\n\t\tthis(1);\n\t}",
"title": ""
},
{
"docid": "f2b6f9cbb0d790f24ca0a6f372b0ab43",
"score": "0.4470419",
"text": "@Override\n\tpublic void setHologram() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "399ea5f64a39e7b5ed220cdf831a5383",
"score": "0.44646698",
"text": "public void setDimensions(int num){\n this.numOfPg = num;\n }",
"title": ""
},
{
"docid": "3490e21661f411fea551718c6a2e11a5",
"score": "0.44584933",
"text": "public Wander ( int c ) {\n\t\tthis(30,30,10,c);\n\t}",
"title": ""
},
{
"docid": "25e2e5fb6b908ea0ba5bf5463fd15a15",
"score": "0.44573727",
"text": "public Juggernaut() {\n\t\tsuper(1000,30,40,\"Juggernaut\");\n\t}",
"title": ""
},
{
"docid": "e99f91de387eb663c0a73b4e54244505",
"score": "0.4454477",
"text": "public void genLevel() {\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "fb34528bdd01a7c0efe4cce7403ddc64",
"score": "0.4434843",
"text": "public SimplePaginator() {\n setAttribute(\"class\", styleClass);\n }",
"title": ""
},
{
"docid": "ecc16f7bd7edb1f9d51b3b8de406dbd0",
"score": "0.44338435",
"text": "public ParkingLot() {\n\t\tfor (int i = 0; i < levels.length; i++) {\n\t\t\tlevels [i] = new Level(i+1);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "cf20db23f95b44a2da8c9715b3dc336d",
"score": "0.44291225",
"text": "public Diamond (int suit,int rank){\n this(0,0,1,rank);\n }",
"title": ""
},
{
"docid": "2f4d5e517035b70463fb2698252e78fd",
"score": "0.4428898",
"text": "public static void main(String[] args) {\n Percolation test = new Percolation(1);\n test.open(0, 0);\n /*test.open(1, 2);\n test.open(2, 2);\n test.open(2, 0);*/\n System.out.println(test.percolates());\n System.out.println(test.numberOfOpenSites());\n //System.out.println(test.isFull(0, 2));\n }",
"title": ""
},
{
"docid": "dd9f171db36692feb5ab804c24648ff5",
"score": "0.441668",
"text": "public Dice (){ //automatically the dice has 6 sides. No need of parameters\n sides = 6;\n }",
"title": ""
},
{
"docid": "8b0c369d60425d58c659a16ca4dd6b05",
"score": "0.44087732",
"text": "public Grid() {\n this.size = 10;\n this.grid = new Tile[size][size];\n }",
"title": ""
},
{
"docid": "ad24f7c305330b3eb5f7d8420aa87fb0",
"score": "0.44054332",
"text": "public void printPattern(int n) { //overloaded constructor with integer parameter\r\n\t\t\r\n\t\t//pattern 1st\r\n\t\tfor(int i = 0; i <= n; i++)\r\n\t\t{\r\n\t\t\tfor(int j = 0; j < i; j++) {\r\n\t\t\tSystem.out.print(\"*\");\r\n\t\t}\r\n\t\tSystem.out.println(); \r\n\t}\r\n\t\t\r\n\t\tSystem.out.println(); //skip line\r\n\t\t\r\n\t\t//pattern 2nd\r\n\t\tfor(int i = 0; i <= n; i++) {\r\n\t\t\tfor(int j = n; j > i; j--) {\r\n\t\t\tSystem.out.print(\"*\");\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t//pattern 3rd\r\n\t\tfor(int i = 0; i <= n; i++) {\r\n\t\t\tfor(int j = 0; j < n; j++) {\r\n\t\t\t\tif(j >= i)\r\n\t\t\t\t{\r\n\t\t\t System.out.print(\"*\");\r\n\t\t }\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t//pattern 4th\r\n\t for(int i = 1; i <= n; i++) {\r\n\t\t for(int j = n; j >= 1; j--) {\r\n\t\t\t if(j <= i) \r\n\t\t\t {\r\n\t\t System.out.print(\"*\");\r\n\t }\r\n\t\t\t else\r\n\t\t\t {\r\n\t\t System.out.print(\" \");\r\n\t\t\t }\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}\r\n}",
"title": ""
},
{
"docid": "63186ab7605f5ee0a5f69d615318ab13",
"score": "0.44025633",
"text": "protected SpiralArray(){}",
"title": ""
},
{
"docid": "8d3d0f510696526dde2ab6e79e426f54",
"score": "0.439873",
"text": "public HugLife(int N) {\n g = new Grid(N);\n }",
"title": ""
},
{
"docid": "7f4c716cf33fbe9138828dbfb1c44fd8",
"score": "0.43834358",
"text": "public void setHgap(int hgap) {\n this.hgap = hgap;\n }",
"title": ""
},
{
"docid": "e19b4de7a65b66a324cc207be4bbe115",
"score": "0.43684995",
"text": "@Override\n\tpublic void render() {\n\t\tglViewport(0, 0, width, height);\n\t\t// Set perspective projection\n\t\tglMatrixMode(GL_PROJECTION);\n\t\tglLoadIdentity();\n\t\tgluPerspective(45.0f, (float)width/height, 0.1f, 100.0f);\n\t\tgluLookAt(0, 0, 10f, 0, 0, 0, 0, 1, 0);\n\n\t\t// Clear color buffer to black\n\t\tglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\n\n\t\t// Set background color to black\n\t\tglClearColor(0.0f, 0.0f, 0.0f, 0.0f);\n\n\t\t// Draw pyramid using triangle primitive mode\n\t\tglBegin(GL_TRIANGLES);\n\n\t\t// Set Foreground Color to Red\n\t\tglColor3f(0.7f, 0f, 0.2f);\n\n\t\t// Triangle 1\n\t\tglVertex3f(0, 0, 0f); // 0\n\t\tglVertex3f(4, 0, 0f); // 1\n\t\tglVertex3f(4, 4, 0f); // 2\n\n\t\t// Triangle 2\n\t\t//Wrong-Order\n//\t\tglVertex3f(4, 4, 0f); // 2\n//\t\tglVertex3f(0, 0, 0f); // 0\n//\t\tglVertex3f(0, 4, 0f); // 3\n\t\t\n\t\t// Correct-Order\n\t\tglVertex3f(4, 4, 0f); // 2\n\t\tglVertex3f(0, 4, 0f); // 3\n\t\tglVertex3f(0, 0, 0f); // 0\n\n\t\tglEnd();\n\t\t\n\t\t// Show Information\n\t\trenderText();\n\n\t}",
"title": ""
},
{
"docid": "985fc5788174bc6c6841ae8295c6e2d1",
"score": "0.43674615",
"text": "@Override\n public void report(String indent){\n System.out.format(\"%sClass %s, prob=%4.2f\\n\",\n indent, className, probability);\n }",
"title": ""
},
{
"docid": "cf83befac7f6ac8b43b924e0ad858e3e",
"score": "0.4364261",
"text": "LazyPenniless() {\n \n}",
"title": ""
},
{
"docid": "10555386ee0257232ea31848ae8595a1",
"score": "0.43569532",
"text": "@Override\n\tpublic void generateHeightMap() {\n\t}",
"title": ""
},
{
"docid": "9fb7fcb375e2a184307a339730e54135",
"score": "0.43380147",
"text": "public PanelEjemplo2(){\n super();\n // creacion del layout\n ly = new SpringLayout();\n // cambio de layout para el panel\n setLayout(ly);\n init();\n }",
"title": ""
},
{
"docid": "b80e47001c391f9252f72320fe34ef38",
"score": "0.43361604",
"text": "Hut(int capacity, int population) {\n this.capacity = capacity;\n this.population = population;\n }",
"title": ""
},
{
"docid": "b68f2a859c07a69e25b6960417d96d0f",
"score": "0.43259293",
"text": "void generateLevel2() {\n for (int j = 0; j < 6; j++) {\n for (int i = 0; i < 6; i++) {\n Ball b = new Ball(50 + (170 * i), 50 + (140 * j), 41, 2);\n gameFacade.getBalls().add(b);\n }\n }\n }",
"title": ""
},
{
"docid": "03c433e2a6431354f18d0955a5c4660b",
"score": "0.4317932",
"text": "public Hole(int index){\n super(index<9 ? Side.WHITE : Side.BLACK);\n this.index = index;\n isTuz = false;\n }",
"title": ""
},
{
"docid": "5fa0d988889221d5b37886de68922408",
"score": "0.43142915",
"text": "PageAssembler() {\n textHeight = Defaults.TEXT_HEIGHT;\n }",
"title": ""
},
{
"docid": "be75311435ec24aa87401267e375a8f9",
"score": "0.43070683",
"text": "public RenderProj() {\n\t\tsuper();\n\t// we could have initialized it above, but here is fine as well:\n\t}",
"title": ""
},
{
"docid": "4c15f06d978387518829f9d64bee6522",
"score": "0.43028042",
"text": "@Override\n protected Layout constructShellLayout() {\n GridLayout mainLayout = new GridLayout(1, true);\n mainLayout.marginHeight = 2;\n mainLayout.marginWidth = 2;\n mainLayout.verticalSpacing = 2;\n\n return mainLayout;\n }",
"title": ""
},
{
"docid": "8f8ab4cc3bfbdc7a820da18d808fc3d9",
"score": "0.43016768",
"text": "public NscDiamond(int x, int y, int w, int h) {\n super(x, y, w, h);\n }",
"title": ""
},
{
"docid": "f6a12d55b0222943e9f4ed006b70e193",
"score": "0.43015522",
"text": "public void generateChildren() {\n\t\t// Sdet er bare 9 tall, dvs man kommer bare til pos = 8\n\t\tif(pos == 8) {//den siste posisjonen vil ikke ha noe utbytta av å få endret seg\n\t\t\t//pos 0 har 8, pos 1 har 7... pos 6 har 2, pos 7 har 1 og siste pos (8) vil altså ikke ha noen flyy som ikke hatr vært laga før\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//For hver posisjon, unntatt pos, så bytter man tallet på posisjon(i) med tallet på pos \n\t\tfor (int i = 0; i < 9; i++) {\n\t\t\tif(i == pos) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tchar[] perm = this.permutation.toCharArray();\n\t\t\tchar temp = perm[this.pos];\n\t\t\tperm[this.pos] = perm[i];\n\t\t\tperm[i] = temp;\n\t\t\tString s = new String(perm);\n\t\t\t\n\t\t\t// Må sjekke om vi kanskje har laga dene permutasjonen før, hvis ikke så lager vi en ny node\n\t\t\tif(!TheFractionPuzzle.closedSetStrings.contains(s)) {//siden stringen Permutastion er hashverdien, så trenger man ikke å lage en node først\n\t\t\t\tFractionPuzzleNode child = new FractionPuzzleNode(s, pos + 1);\n\t\t\t\tchild.g = this.g + 1;\n\t\t\t\tthis.children.add(child);\n\t\t\t\tTheFractionPuzzle.closedSetStrings.add(s);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"title": ""
},
{
"docid": "73ccc5fe3eb465d5a000a2b9866a8329",
"score": "0.43001828",
"text": "public PanArbre()\n\t{\n\t}",
"title": ""
},
{
"docid": "c185dc888218d63c1be203fc69cfd2fd",
"score": "0.42973003",
"text": "ILayoutStyle spacing(int f);",
"title": ""
},
{
"docid": "b88817f50c6fa73b9d1496c068eacae9",
"score": "0.42964262",
"text": "public RobotWorld()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(800, 600, 1); \n addObject(new Robot(), 30, 30); \n addObject(new Wall(), 50, 120);\n addObject(new Wall(), 150, 120);\n addObject(new Wall(), 250, 120);\n addObject(new Block(), 412, 120);\n addObject(new Wall(), 575, 120);\n addObject(new Wall(), 650, 120);\n addObject(new Wall(), 750, 120);\n addObject(new Home(), 750, 550);\n addObject(new Scorepanel(), 75, 555);\n addObject(new Pizza(), 700, 40);\n addObject(new Pizza(), 700, 220);\n addObject(new Pizza(), 400, 550);\n addObject(new Pizza(), 360, 120);\n addObject(new Pizza(), 460, 120);\n }",
"title": ""
},
{
"docid": "df66c531e5a19ddc5a047a30e3572b8c",
"score": "0.42945206",
"text": "void generateLevel1() {\n for (int j = 0; j < 6; j++) {\n for (int i = 0; i < 6; i++) {\n Ball b = new Ball(50 + (170 * i), 50 + (140 * j), 41, 1);\n gameFacade.getBalls().add(b);\n }\n }\n }",
"title": ""
},
{
"docid": "dd0a8f119bf849e5a10949369889794a",
"score": "0.4294024",
"text": "public PentagoBoard(int l, int w)\r\n {\r\n length = l;\r\n width = w;\r\n board = new IPiece[length][width];\r\n quadrantSize = (int)l/2;\r\n }",
"title": ""
},
{
"docid": "d50703d3137daaeb09d91247829096f7",
"score": "0.4293479",
"text": "public MultiConfigger() {\n this( new Configger[ 0 ] );\n }",
"title": ""
},
{
"docid": "81120365f43aff1cd79c7f7ed07acc3d",
"score": "0.4292656",
"text": "public Tree(int a, int b,int myColor, int h){\r\n super(a,b, myColor);\r\n height = h;\r\n }",
"title": ""
},
{
"docid": "971e6891608891a5f182c7521158d437",
"score": "0.4290785",
"text": "public Pellet()\n {\n super();\n setColor( new Color( 247, 255, 160 ) );\n }",
"title": ""
},
{
"docid": "48d82ae15e7c2b9f89b1531d2845aa2f",
"score": "0.42900053",
"text": "public Bird(){\n this(\n 2);\n }",
"title": ""
},
{
"docid": "43d56d6a0bafa021eb356fe815f33902",
"score": "0.42825556",
"text": "@Before\n\tpublic void setup()\n\t{\n\t\tpersonnel2=new Personnels.Builder(2,\"Nikiema\", \"Daouda\").build();\n\t\tpersonnel6 =new Personnels.Builder(6,\"Maiga\", \"Rahim\").build();\n\t\tpersonnel7 =new Personnels.Builder(7,\"Seni\", \"Allasane\").build();\n\t\tpersonnel5 =new Personnels.Builder(5,\"Barro \", \"Drissa\").build();\n\t\t\n\t}",
"title": ""
},
{
"docid": "195ad5dc958963f38e5e0437dd77e7fb",
"score": "0.4276595",
"text": "public Bird() {\n\t\tthis.counter = 1; //so that we are index properly for using %\n\t\tthis.direction = Direction.NORTH;\n\t}",
"title": ""
},
{
"docid": "71b607bbacf4f2dff651ffce12fbcfdd",
"score": "0.42759085",
"text": "Pizza() {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "4f7e689dc876caa3a9dacd245d3d14ee",
"score": "0.42732602",
"text": "public MergesortPhase1World()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(800, 600, 1); \n prepare();\n }",
"title": ""
},
{
"docid": "d460154ac57b1a22f66030e26751d41e",
"score": "0.42674488",
"text": "public MazeGeneratorPrims(int size)\n {\n this.size = size;\n maze = new Cell[size][size];\n\n for( int i = 0; i < size; i++ )\n for( int j = 0; j < size; j++ )\n maze[i][j] = new Cell(i, j);\n }",
"title": ""
},
{
"docid": "d54aee19328e2eaa74be976c9c79a2f5",
"score": "0.42662683",
"text": "public YautjaController()\n\t{\n\n\t\t// myPredator = new pepeThePredator(\"Pepe The Predator\",\n\t\t// 2, true, true, 2, 2, 4);\n\n\t}",
"title": ""
},
{
"docid": "68936e00d65dd40bc5b4b4919cae5231",
"score": "0.4263461",
"text": "public Grid() {\n this(0, 0);\n }",
"title": ""
},
{
"docid": "7930456ed2dd83ccb52510b5fdb2efd8",
"score": "0.42570966",
"text": "public Viewport() {\n }",
"title": ""
},
{
"docid": "7dec0a09d8e55eb42f284ec0629d4502",
"score": "0.42528528",
"text": "public World() {\n this(10);\n }",
"title": ""
},
{
"docid": "99926ae5be314a4d04bfce3770a984cc",
"score": "0.42524463",
"text": "private IVerticalRuler createVerticalRuler() {\n \t\treturn new CompositeRuler();\n \t}",
"title": ""
},
{
"docid": "c7e27329a87f8306f2b5f4661ed51311",
"score": "0.42498627",
"text": "public GeneratorPanel() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"title": ""
}
] |
f67ec3d704ed9ae1def6997c899f2d1d | Vehicle type category .maps.fleetengine.v1.Vehicle.VehicleType.Category category = 1; | [
{
"docid": "79896a43f18b0636e2dfc25efbd4566c",
"score": "0.67800826",
"text": "@java.lang.Override public google.maps.fleetengine.v1.Vehicle.VehicleType.Category getCategory() {\n @SuppressWarnings(\"deprecation\")\n google.maps.fleetengine.v1.Vehicle.VehicleType.Category result = google.maps.fleetengine.v1.Vehicle.VehicleType.Category.valueOf(category_);\n return result == null ? google.maps.fleetengine.v1.Vehicle.VehicleType.Category.UNRECOGNIZED : result;\n }",
"title": ""
}
] | [
{
"docid": "f7487f01cc5cecdcf2250113b741346e",
"score": "0.8422868",
"text": "google.maps.fleetengine.v1.Vehicle.VehicleType.Category getCategory();",
"title": ""
},
{
"docid": "955f8f40365f48ac42cdf1576d9ea4aa",
"score": "0.69794893",
"text": "public String getVehicleTypeCategory() {\r\n return vehicleType.getCategory();\r\n }",
"title": ""
},
{
"docid": "2d69d93b533b0458ab4a75f3dc416dc7",
"score": "0.680385",
"text": "@java.lang.Override\n public google.maps.fleetengine.v1.Vehicle.VehicleType.Category getCategory() {\n @SuppressWarnings(\"deprecation\")\n google.maps.fleetengine.v1.Vehicle.VehicleType.Category result = google.maps.fleetengine.v1.Vehicle.VehicleType.Category.valueOf(category_);\n return result == null ? google.maps.fleetengine.v1.Vehicle.VehicleType.Category.UNRECOGNIZED : result;\n }",
"title": ""
},
{
"docid": "53ddba5d32cc2de41ca4e048215b3018",
"score": "0.6297682",
"text": "public Builder setCategory(google.maps.fleetengine.v1.Vehicle.VehicleType.Category value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n category_ = value.getNumber();\n onChanged();\n return this;\n }",
"title": ""
},
{
"docid": "2f1bd05b8e2a32f87877a3eacf0fa463",
"score": "0.6203202",
"text": "public void setCategory(String category);",
"title": ""
},
{
"docid": "2ff6374caedb4abfb921b8a616910c8e",
"score": "0.61997676",
"text": "public Cgg_veh_categoria(){}",
"title": ""
},
{
"docid": "5e6277fd77449ae2ff26f16051f81289",
"score": "0.60853904",
"text": "public void settype(String cat) { this.type = cat; }",
"title": ""
},
{
"docid": "0b5ffa2f0b4410b8c91241e31db50739",
"score": "0.6070169",
"text": "RoomType getCostCategory();",
"title": ""
},
{
"docid": "bcdb232e1838a38686d66c807689d807",
"score": "0.6049118",
"text": "public void setCategory(String category){\n this.category = category;\n }",
"title": ""
},
{
"docid": "6383ee674c4cb2a1ba9fa7c3ae353c5f",
"score": "0.6048882",
"text": "CodeType getCategory();",
"title": ""
},
{
"docid": "5abb6e781c010d75f681e79059148a78",
"score": "0.5998307",
"text": "public String getLocationCategory(){\r\n return this.locationCategory;\r\n }",
"title": ""
},
{
"docid": "b14f1e18fc46b8dacb2a158f2c7c75cf",
"score": "0.597119",
"text": "public VehicleType getVehicleType() {\r\n VehicleType vt = new VehicleType(this.vehicleType.getCategory());\r\n return vt;\r\n }",
"title": ""
},
{
"docid": "9cf4dc0b5965be10c067a6cea258120f",
"score": "0.5946221",
"text": "String getCategory();",
"title": ""
},
{
"docid": "9cf4dc0b5965be10c067a6cea258120f",
"score": "0.5946221",
"text": "String getCategory();",
"title": ""
},
{
"docid": "20e598c38d6455274f5f03b3efd016e4",
"score": "0.59339035",
"text": "String category();",
"title": ""
},
{
"docid": "1eacd89714b68d77551c247bfbbb58a5",
"score": "0.59016055",
"text": "public void setCategory (String mode) { category = mode; }",
"title": ""
},
{
"docid": "0f249a6431e30322f7f1eabbb640c703",
"score": "0.5862805",
"text": "public String getCategory();",
"title": ""
},
{
"docid": "68aae71124081038b192116c53e851c7",
"score": "0.5830938",
"text": "@Override\r\npublic String getCelestialClassification() {\n\treturn \"DwarfPlanets\";\r\n}",
"title": ""
},
{
"docid": "38c49a1a8690f7d98d31df6517bdfc56",
"score": "0.5814314",
"text": "public String getCategory() {\n return this.category;\n }",
"title": ""
},
{
"docid": "0d8e61b7697c71d371a15cf645e5a85e",
"score": "0.57880765",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "78593097210b5efe2525b24d46b00a41",
"score": "0.5774209",
"text": "public String getCategory()\n {\n return category;\n }",
"title": ""
},
{
"docid": "f71b87b6cbe74267ee215b95dc17637b",
"score": "0.57722026",
"text": "public Set<String> getCategory(){return category;}",
"title": ""
},
{
"docid": "620a9c21ecc142dd9498eed88477651f",
"score": "0.57688564",
"text": "public String getCategory(){\r\n\t\treturn this.category;\r\n\t}",
"title": ""
},
{
"docid": "812634a79ce75247a9a931371c8f7cdf",
"score": "0.57663476",
"text": "CategoryType createCategoryType();",
"title": ""
},
{
"docid": "080ffd8839f5d5e060d657a34e80f81a",
"score": "0.5749129",
"text": "CloudCategory(String value) {\n this.value = value;\n }",
"title": ""
},
{
"docid": "7077342ac1be89a0c65a7567941ecf9d",
"score": "0.5742556",
"text": "public void addCategory(String type) {\n\t\tif (type.equals(\"Cheese\")) {\n\t\t\taddIngredient(\"Pepperjack\");\n\t\t\taddIngredient(\"Mozzarella\");\n\t\t\taddIngredient(\"Cheddar\");\n\t\t}\n\t\tif (type.equals(\"Sauces\")) {\n\t\t\taddIngredient(\"Mayonnaise\");\n\t\t\taddIngredient(\"Baron Sauce\");\n\t\t\taddIngredient(\"Mustard\"); \n\t\t\taddIngredient(\"Ketchup\");\n\t\t}\n\t\tif (type.equals(\"Veggies\")) {\n\t\t\taddIngredient(\"Pickle\");\n\t\t\taddIngredient(\"Lettuce\");\n\t\t\taddIngredient(\"Tomato\");\n\t\t\taddIngredient(\"Onions\"); \n\t\t\taddIngredient(\"Mushrooms\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "1caddce6ff065dc35f4fa7eb59e993ab",
"score": "0.57193035",
"text": "public String getName(){\n return category;\n }",
"title": ""
},
{
"docid": "b995ce914e88bfbc5411c386a7b2d647",
"score": "0.5703724",
"text": "public abstract String getCategory();",
"title": ""
},
{
"docid": "b995ce914e88bfbc5411c386a7b2d647",
"score": "0.5703724",
"text": "public abstract String getCategory();",
"title": ""
},
{
"docid": "cae92d6290505aca1710115d480b4921",
"score": "0.56979895",
"text": "public String getCategory() {\r\n return category;\r\n }",
"title": ""
},
{
"docid": "1d76f91773bdb1784b8f2434bebcd177",
"score": "0.56967187",
"text": "public String getLongType() { return \"Technology\"; }",
"title": ""
},
{
"docid": "eaf96ee5e61f3394755aed4b7bfd7cb3",
"score": "0.5690587",
"text": "public void setCategory(String category) {\r\n this.category = category;\r\n }",
"title": ""
},
{
"docid": "4f78945d615ec7341b21562e2d3c98fa",
"score": "0.5686174",
"text": "public VehicleType() { }",
"title": ""
},
{
"docid": "776117295b818e553ada458da7dbd34e",
"score": "0.5660914",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "776117295b818e553ada458da7dbd34e",
"score": "0.5660914",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "304db23a6ee50664069def86fb26b807",
"score": "0.56498206",
"text": "public void setCategory(Category c) {\n this.category = c;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "800898a3dd07640bacd42b3aaf99f67c",
"score": "0.5641463",
"text": "public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "90b462aa13f9fb581f6d3af76e2d7b47",
"score": "0.5628797",
"text": "public String getCategory_name(){return category_name;}",
"title": ""
},
{
"docid": "878c999a2e6853a5050b8d2c9f7e7822",
"score": "0.56269044",
"text": "@Override\n public String getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "922637a3d60f57e88082cd89e7c1772e",
"score": "0.5626895",
"text": "public void addVehicleType(String s){\n\t\tVehicleType v = new VehicleType(s);\n\t\ttypes.add(v);\n\t}",
"title": ""
},
{
"docid": "bcd1e64846657da7eb6e4f0a23d8730c",
"score": "0.5623327",
"text": "public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "bcd1e64846657da7eb6e4f0a23d8730c",
"score": "0.5623327",
"text": "public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "bcd1e64846657da7eb6e4f0a23d8730c",
"score": "0.5623327",
"text": "public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "bcd1e64846657da7eb6e4f0a23d8730c",
"score": "0.5623327",
"text": "public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "bcd1e64846657da7eb6e4f0a23d8730c",
"score": "0.5623327",
"text": "public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "47319832c9d87657183b08a4bcf4352a",
"score": "0.56224185",
"text": "public void setCategory(String category)\r\n {\r\n m_category = category;\r\n }",
"title": ""
},
{
"docid": "301a7affcc6ddb895c4886d330299d90",
"score": "0.5615416",
"text": "public void setCategory(String newCategory) {\n category = newCategory;\n }",
"title": ""
},
{
"docid": "21c280ad41d67f9b5fc55cc6d0eb4ae0",
"score": "0.561438",
"text": "public RoomCategory getRoomCategory(com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.roomcategory.v1.RoomCategory res){\n\t\tRoomCategory roomCategory = new RoomCategory();\n\t\t\n\t\troomCategory.setRoomTypeCode( res.getRoomTypeCode() );\n\t\troomCategory.setRoomTypeDescription( res.getRoomTypeDescription() );\n\t\t\n//\t\tCode to set the room description in UI\n\t\tString roomDescription = res.getRoomTypeDescription();\n\t\tif (roomDescription!=null && roomDescription.contains(\":\")) {\n\t\t\tint firstColonIndex=roomDescription.indexOf(\":\");\n\t\t\tint lastCOlonIndex= roomDescription.lastIndexOf(\":\");\n\t\t\tString removedString = (roomDescription.substring(firstColonIndex,lastCOlonIndex+1));\n\t\t\tString roomTypeToBediplayedonUI = roomDescription.replace(removedString, \"\");\n\t\t\t\n\t\t\troomCategory.setRoomTypeCode( res.getRoomTypeCode() + \"-RD-\" + roomDescription);\n\t\t\troomCategory.setRoomTypeDescription(roomTypeToBediplayedonUI);\n\t\t}\n\t\telse{\n\t\t\t//Start the fix of HBSI 52 - Phase 1 // Setting the default roomTypeCode and Description\n\t\t\troomCategory.setRoomTypeCode( res.getRoomTypeCode());\n\t\t\troomCategory.setRoomTypeDescription(res.getRoomTypeDescription());\n\t\t}\n\t\t //End the fix of HBSI 52 -Phase 1 \n\t\troomCategory.setRatePlanId( res.getRatePlanId() );\n\t\troomCategory.setRatePlanCode( res.getRatePlanCode() );\n\t\troomCategory.setRatePlanDescription( res.getRatePlanDescription() );\n\t\tif( res.getRateIndicator() != null ){\n\t\t\troomCategory.setRateIndicator( res.getRateIndicator() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setRateIndicator( \"\" );\n\t\t}\n\t\tif( res.getCorporateId() != null ){\n\t\t\troomCategory.setCorporateId( res.getCorporateId() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setCorporateId( \"\" );\n\t\t}\n\t\tif( res.getGuaranteeType() != null ){\n\t\troomCategory.setGuaranteeType( res.getGuaranteeType() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setGuaranteeType( \"\" );\n\t\t}\n\t\tif( res.getGuaranteeMethod() != null ){\n\t\troomCategory.setGuaranteeMethod( res.getGuaranteeMethod() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setGuaranteeMethod( \"\" );\n\t\t}\n\t\tif( res.getGuaranteeRequired() != null ){\n\t\troomCategory.setGuaranteeRequired( res.getGuaranteeRequired() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setGuaranteeRequired( \"\" );\n\t\t}\n\t\troomCategory.setRatePlanCategory( res.getRatePlanCategory() );\n\t\troomCategory.setStatus( res.getStatus() );\n\t\tif( res.getCurrency() != null ){\n\t\t\troomCategory.setCurrency( res.getCurrency() );\n\t\t}\n\t\telse{\n\t\t\troomCategory.setCurrency( \"\" );\n\t\t}\n\t\troomCategory.setPosnr( res.getPosnr() );\n\t\troomCategory.setOldPosnr( res.getOldPosnr() );\n\t\troomCategory.setMealplanDesc( res.getMealplanDesc() );\n\t\tif( res.getHotelId() != null ){\n\t\t\troomCategory.setHotelId( res.getHotelId().intValue() );\n\t\t}\n\t\tif( res.getRoomCategoryId() != null ){\n\t\t\troomCategory.setRoomCategoryId( res.getRoomCategoryId().intValue() );\n\t\t}\n\t\tif( res.getNoOfRoomsAvailable() != null ){\n\t\t\troomCategory.setNoOfRoomsAvailable( res.getNoOfRoomsAvailable().intValue() );\n\t\t}\n\t\tif( res.isRiskRoomCategory() != null ){\n\t\t\troomCategory.setRiskRoomCategory( res.isRiskRoomCategory().booleanValue() );\n\t\t}\n\t\tif( res.isAppleChoice() != null ){\n\t\t\troomCategory.setAppleChoice( res.isAppleChoice().booleanValue() );\n\t\t}\n\t\tif( res.getGuaranteeAmount() != null ){\n\t\t\troomCategory.setGuaranteeAmount( res.getGuaranteeAmount() );\n\t\t}\n\t\tif( res.getDisplayRoomPrice() != null ){\n\t\t\troomCategory.setDisplayRoomPrice( this.getRoomPrice( res.getDisplayRoomPrice() ) );\n\t\t}\n\t\tif( (res.getMealPlanType() != null) && (res.getMealPlanType().getCode() != null) ){\n\t\t\troomCategory.setMealPlanType( this.getMealPlanType( res.getMealPlanType() ) );\n\t\t}\n\t\tif( (res.getRoomPrices() != null) && (res.getRoomPrices().size() > 0) ){\n\t\t\tList<RoomPrice> roomPrices = new ArrayList<RoomPrice>();\n\t\t\tfor(int i=0; i < res.getRoomPrices().size(); i++){\n\t\t\t\tif( res.getRoomPrices().get(i) != null )\n\t\t\t\troomPrices.add( this.getRoomPrice( res.getRoomPrices().get(i) ) );\n\t\t\t}\n\t\t\troomCategory.setRoomPrices( roomPrices );\n\t\t}\n\t\tif( (res.getAmenities() != null) && (res.getAmenities().size() > 0) ){\n\t\t\tList<Amenity> amenities = new ArrayList<Amenity>(res.getAmenities().size());\n\t\t\tfor(int i=0; i < res.getAmenities().size(); i++){\n\t\t\t\tif( res.getAmenities().get(i) != null )\n\t\t\t\tamenities.add( this.getAmenity( res.getAmenities().get(i) ) );\n\t\t\t}\n\t\t\troomCategory.setAmenities( amenities );\n\t\t}\n\t\t\n\t\tif(res!=null && res.getHbsiRates()!=null && res.getHbsiRates().size()>0){\n\t\t\tList<HBSiRates> hbsiRates = new ArrayList<HBSiRates>(res.getHbsiRates().size());\n\t\t\tfor(int hbsiRate=0;hbsiRate<res.getHbsiRates().size();hbsiRate++)\n\t\t\t{\n\t\t\t\tif(res.getHbsiRates().get(hbsiRate)!=null)\n\t\t\t\t{\n\t\t\t\t\thbsiRates.add(this.getHBSiRate(res.getHbsiRates().get(hbsiRate)));\n\t\t\t\t\t//roomCategory.getHbsiRates().add(hbsiRate, getHBSiRate(res.getHbsiRates().get(hbsiRate)));\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\troomCategory.setHbsiRates(hbsiRates);\n\t\t}\n\t\t\n\t\t//set Cancel Policy for room category\n\t\tif(res!=null && res.getCancelPolicy()!=null && res.getCancelPolicy().size()>0)\n\t\t{\n\t\t\tList<com.kcdata.abe.data.dto.CancelPolicy> canccelPolicies = new ArrayList<com.kcdata.abe.data.dto.CancelPolicy>(res.getCancelPolicy().size());\n\t\t\tfor(int cancelPolicy=0;cancelPolicy<res.getCancelPolicy().size();cancelPolicy++)\n\t\t\t{\n\t\t\t\tif(res.getCancelPolicy().get(cancelPolicy)!=null)\n\t\t\t\t{\n\t\t\t\t\tcanccelPolicies.add(this.getCancelPolicy(res.getCancelPolicy().get(cancelPolicy)));\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\troomCategory.setCancelPolicy(canccelPolicies);\n\t\t}\n\t\treturn roomCategory;\n\t}",
"title": ""
},
{
"docid": "8cacceabed1ddb2aa39db1eb106e9229",
"score": "0.56130433",
"text": "public void setVehicleType(java.lang.CharSequence value) {\n this.vehicleType = value;\n }",
"title": ""
},
{
"docid": "05f69ac9f52965e3e219b9735b61fbf1",
"score": "0.5610809",
"text": "private Object getAnomizedCategory() {\r\n\tString categorie = (String) record.get(\"categorie\");\r\n\tif (categorie != null) {\r\n\t switch (categorie) {\r\n\t case \"AD\":\r\n\t case \"CO\":\r\n\t case \"FI\":\r\n\t case \"IBL\":\r\n\t case \"KI\":\r\n\t case \"KL\":\r\n\t case \"VO\":\r\n\t\tbreak;\r\n\t default:\r\n\t\tcategorie = null;\r\n\t\tbreak;\r\n\t }\r\n\t}\r\n\r\n\treturn categorie;\r\n }",
"title": ""
},
{
"docid": "57b586cb66722b185f21166fc58bdc15",
"score": "0.56010604",
"text": "public void setCategory(Category category) {\r\n this.category = category;\r\n }",
"title": ""
},
{
"docid": "39f1ebfc25c2c02d0b2499bb80ae5072",
"score": "0.56001437",
"text": "Category selectCategory(String name);",
"title": ""
},
{
"docid": "04d92b23801da1991b8b1bf5efb3eeae",
"score": "0.5596236",
"text": "public void setCategory(Category cat) {\n this.category = cat;\n }",
"title": ""
},
{
"docid": "665be19bace3735429d73328ce50e5bf",
"score": "0.5586307",
"text": "ConfigCategory getCategoryOfTypeAndCode(String typeConstant, String categoryCode);",
"title": ""
},
{
"docid": "fa21823ec3cf72a562aaa67c19a9a232",
"score": "0.55788636",
"text": "void addVehicle(String type, int speed, int roadRef) {\n if (type.equals(\"Car\")) {\n roads.get(roadRef).addCar(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n\n } else if (type.equals(\"Bus\")) {\n roads.get(roadRef).addBus(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n } else if (type.equals(\"Motorbike\")) {\n roads.get(roadRef).addMotorbike(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n\n }\n }",
"title": ""
},
{
"docid": "fb9df8efaacdfb2c5e7cd4d20428d479",
"score": "0.5576746",
"text": "public String getShortType() { return \"Tech\"; }",
"title": ""
},
{
"docid": "d880d6099d1dd5523b4e196ea93b5e88",
"score": "0.5572385",
"text": "void updateCategory(String category){}",
"title": ""
},
{
"docid": "ca333a7c8d4c475f2789b58f4bf42038",
"score": "0.5570128",
"text": "private Category classify() {\n Category category = null;\n if (name != null) {\n if (name.contains(\"potato\") || name.contains(\"apple\")) {\n category = Category.FOOD;\n } else if (name.contains(\"cloths\") || name.contains(\"pants\") || name.contains(\"shirt\")) {\n category = Category.CLOTHING;\n }\n }\n return category;\n }",
"title": ""
},
{
"docid": "4c85db8df47651c4b9d4138fc03e89cf",
"score": "0.55649793",
"text": "public Byte getCategoryType() {\n return categoryType;\n }",
"title": ""
},
{
"docid": "1f892dfec3a4f2b8ddb92e6078a42ca3",
"score": "0.556386",
"text": "public VehicleType() {\n }",
"title": ""
},
{
"docid": "98cc5c2b0879203a0ccb5ce84c9d8dd3",
"score": "0.55625635",
"text": "public Category getCategory();",
"title": ""
},
{
"docid": "98d97aebc9e77f03605f8dfcf64f2a75",
"score": "0.5524827",
"text": "List getCategoriesOfType(String typeConstant);",
"title": ""
},
{
"docid": "dbe823d0930050b6f53f39e8b3197603",
"score": "0.5522034",
"text": "public String getCategory() {\n return this.category;\n }",
"title": ""
},
{
"docid": "175acf69601664f6f9c2bbe3ec263b03",
"score": "0.5516626",
"text": "public void setCategory(Category category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "175acf69601664f6f9c2bbe3ec263b03",
"score": "0.5516626",
"text": "public void setCategory(Category category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "175acf69601664f6f9c2bbe3ec263b03",
"score": "0.5516626",
"text": "public void setCategory(Category category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "175acf69601664f6f9c2bbe3ec263b03",
"score": "0.5516626",
"text": "public void setCategory(Category category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "acf7965aaa4dde9cd1405aa7a28ecb4e",
"score": "0.55140084",
"text": "Category getCategoryByName(String categoryName);",
"title": ""
},
{
"docid": "533bdc1d7109e378b7f62ad4dc600649",
"score": "0.55090123",
"text": "public String category() {\n return this.category;\n }",
"title": ""
},
{
"docid": "533bdc1d7109e378b7f62ad4dc600649",
"score": "0.55090123",
"text": "public String category() {\n return this.category;\n }",
"title": ""
},
{
"docid": "3d53b95562199074ad6ed7207b3f756e",
"score": "0.5505637",
"text": "public String getCategory()\n\t{\n\t\treturn category;\n\t}",
"title": ""
},
{
"docid": "a6d32a1c5fe5c3e578dc3f36f325faae",
"score": "0.5504545",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "ade23418f3c8aac23fea53634e0685ec",
"score": "0.54968625",
"text": "public int getCategory(){\n\t\treturn this.cat;\n\t}",
"title": ""
},
{
"docid": "caf7cd1c56de7c51c0a7ac0bbcbec309",
"score": "0.5493948",
"text": "public Vehicle(VehicleType type) {\n\t\tthis.type = type;\n\t}",
"title": ""
},
{
"docid": "e243c5906666694a49b393bd1e22cfcf",
"score": "0.5493899",
"text": "public com.datawhisperers.restfulexample.avromodel.VehicleInfoAvro.Builder setVehicleType(java.lang.CharSequence value) {\n validate(fields()[0], value);\n this.vehicleType = value;\n fieldSetFlags()[0] = true;\n return this;\n }",
"title": ""
},
{
"docid": "5822fcf30ad8ba443f890ff58d84e03b",
"score": "0.5493508",
"text": "public void setCategory(Integer category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "cb7a90e223165c3f8f7c4b7ba9112280",
"score": "0.5470589",
"text": "@Override\n public String getVehicleType() {\n return super.getVehicleType();\n }",
"title": ""
},
{
"docid": "ed63a34c1e9979e133e66b7709017383",
"score": "0.54703504",
"text": "public int getCategory() {\r\n\t\treturn category;\r\n\t}",
"title": ""
},
{
"docid": "b711f1828eba16bfc29d22ae5ca62aa8",
"score": "0.54672164",
"text": "CategoriesType createCategoriesType();",
"title": ""
},
{
"docid": "b711f1828eba16bfc29d22ae5ca62aa8",
"score": "0.54672164",
"text": "CategoriesType createCategoriesType();",
"title": ""
},
{
"docid": "1ec3c176dfdbb183d8e787a2c52f6f08",
"score": "0.54603714",
"text": "public String getFoodType() {\n return \"Carnivore\";\n }",
"title": ""
},
{
"docid": "99ac0c5b53b5218caa8672be1ae4cb65",
"score": "0.5454707",
"text": "public Category getCategory() {\r\n return category;\r\n }",
"title": ""
},
{
"docid": "8a4e90bbbafde101bc7f4ef6c826e9c3",
"score": "0.5440518",
"text": "private ParkingType getVehicleType() {\n LOGGER.info(\"Please select vehicle type from menu\");\n LOGGER.info(\"1 CAR\");\n LOGGER.info(\"2 BIKE\");\n int input = inputReaderUtil.readSelection();\n switch (input) {\n case 1:\n return ParkingType.CAR;\n case 2:\n return ParkingType.BIKE;\n default:\n LOGGER.error(\"Incorrect input provided\");\n throw new IllegalArgumentException(\"Entered input is invalid\");\n }\n }",
"title": ""
},
{
"docid": "449b36e8c368c96a6a6891ce19699763",
"score": "0.54395956",
"text": "public Integer getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "352696f895199cff0a9f893ce89c2c70",
"score": "0.54289424",
"text": "public com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.roomcategory.v1.RoomCategory getRoomCategoryReq(RoomCategory roomCategory){\n\t\tcom.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.roomcategory.v1.RoomCategory roomCategoryReq =\n\t\t\tnew com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.roomcategory.v1.RoomCategory();\n\t\t\n\t\troomCategoryReq.setHotelId( new Integer( roomCategory.getHotelId() ) );\n\t\troomCategoryReq.setRoomCategoryId( new Integer( roomCategory.getRoomCategoryId() ) );\n\n\t\troomCategoryReq.setRoomTypeCode( roomCategory.getRoomTypeCode() );\n\t\tString desc = roomCategory.getRoomTypeDescription();\n if(desc!=null && desc.contains(\":\")){\n String split[]=desc.split(\":\");\n String description= split[0]+split[split.length-1];\n System.out.println(description);\n roomCategoryReq.setRoomTypeDescription(description); \n }else{\n \troomCategoryReq.setRoomTypeDescription( roomCategory.getRoomTypeDescription()!=null? roomCategory.getRoomTypeDescription().replaceAll(\": \", \"\"):\"\" );\n }\n//\t\tString roomTypeCode = roomCategory.getRoomTypeCode();\n//\t\tif(roomTypeCode.contains(\"-RD-\")) {\n//\t\t\tString [] splitRoomTypeCode = null;\n//\t\t\tsplitRoomTypeCode = roomTypeCode.split(\"-RD-\");\n//\t\t\troomCategoryReq.setRoomTypeCode(splitRoomTypeCode[0]);\n//\t\t\troomCategoryReq.setRoomTypeDescription(splitRoomTypeCode[1]);\n//\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\troomCategoryReq.setRatePlanId( roomCategory.getRatePlanId() );\n\t\troomCategoryReq.setRatePlanCode( roomCategory.getRatePlanCode() );\n\t\troomCategoryReq.setRatePlanDescription( roomCategory.getRatePlanDescription() );\n\t\troomCategoryReq.setRateIndicator( roomCategory.getRateIndicator() );\n\t\troomCategoryReq.setCorporateId( roomCategory.getCorporateId() );\n\t\troomCategoryReq.setGuaranteeType( roomCategory.getGuaranteeType() );\n\t\troomCategoryReq.setGuaranteeMethod( roomCategory.getGuaranteeMethod() );\n\t\troomCategoryReq.setGuaranteeRequired( roomCategory.getGuaranteeRequired() );\n\t\troomCategoryReq.setGuaranteeAmount( new Double( roomCategory.getGuaranteeAmount() ) );\n\t\troomCategoryReq.setRatePlanCategory( roomCategory.getRatePlanCategory() );\n\t\troomCategoryReq.setNoOfRoomsAvailable( new Integer( roomCategory.getNoOfRoomsAvailable() ) );\n\t\troomCategoryReq.setStatus( roomCategory.getStatus() );\n\t\troomCategoryReq.setCurrency( roomCategory.getCurrency() );\n\t\troomCategoryReq.setPosnr( roomCategory.getPosnr() );\n\t\troomCategoryReq.setOldPosnr( roomCategory.getOldPosnr() );\n\t\troomCategoryReq.setRiskRoomCategory( new Boolean( roomCategory.isRiskRoomCategory() ) );\n\t\troomCategoryReq.setAppleChoice( new Boolean( roomCategory.getAppleChoice() ) );\n\t\troomCategoryReq.setMealplanDesc( roomCategory.getMealplanDesc() );\n\t\tif( roomCategory.getDisplayRoomPrice()!= null ){\n\t\t\troomCategoryReq.setDisplayRoomPrice( this.getRoomPriceReq( roomCategory.getDisplayRoomPrice() ) );\n\t\t}\n\t\tif( roomCategory.getMealPlanType() != null ){\n\t\t\troomCategoryReq.setMealPlanType( this.getMealPlanTypeReq( roomCategory.getMealPlanType() ) );\n\t\t}\n\t\t\n\t\tif( (roomCategory.getRoomPrices() != null) && (roomCategory.getRoomPrices().size() > 0) ){\n\t\t\tfor(int i=0; i < roomCategory.getRoomPrices().size(); i++){\n\t\t\t\troomCategoryReq.getRoomPrices().add( this.getRoomPriceReq(roomCategory.getRoomPrices().get(i)));\n\t\t\t}\n\t\t}\n\t\tif( (roomCategory.getAmenities() != null) && (roomCategory.getAmenities().size() > 0) ){\n\t\t\tfor(int i=0; i < roomCategory.getAmenities().size(); i++){\n\t\t\t\troomCategoryReq.getAmenities().add( this.getAmenityReq( roomCategory.getAmenities().get(i) ) );\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(roomCategory!=null && roomCategory.getHbsiRates()!=null && roomCategory.getHbsiRates().size()>0)\n\t\t{\n\t\t\tHBSiRates hbsi;\n\t\t\t \n\t\t\tfor(int hbsiRate=0;hbsiRate<roomCategory.getHbsiRates().size();hbsiRate++)\n\t\t\t{\n\t\t\t\tif(roomCategory.getHbsiRates().get(hbsiRate)!=null)\n\t\t\t\t{\n\t\t\t\t\tObject hbsiRateObject = roomCategory.getHbsiRates().get(hbsiRate);\n\t\t\t\t\tif(hbsiRateObject instanceof HBSiRates)\n\t\t\t\t\t{\n\t\t\t\t\t\troomCategoryReq.getHbsiRates().add(hbsiRate,this.getHBSiRateReq(roomCategory.getHbsiRates().get(hbsiRate)));\n\t\t\t\t\t}\n//\t\t\t\t\telse \tif(hbsiRateObject instanceof ASObject)\n//\t\t\t\t\t{\n//\t\t\t\t\t\tASTranslator ast = new ASTranslator();\n//\t\t\t\t\t\tASObject hbsiAsObject = (ASObject)hbsiRateObject;\n//\t\t\t\t\t\thbsiAsObject.setType(\"com.kcdata.abe.data.dto.HBSiRates\");\n//\t\t\t\t\t\thbsi= (HBSiRates)ast.convert(hbsiAsObject, HBSiRates.class);\n//\t\t\t\t\t\troomCategoryReq.getHbsiRates().add(this.getHBSiRateReq(hbsi));\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Set cancel Policy\n\t\t\n\t\tif(roomCategory!=null && roomCategory.getCancelPolicy()!=null && roomCategory.getCancelPolicy().size()>0)\n\t\t{\n\t\t\tcom.kcdata.abe.data.dto.CancelPolicy cancelPolicy;\n\t\t\t\n\t\t\tfor(int cancel=0;cancel<roomCategory.getCancelPolicy().size();cancel++)\n\t\t\t{\n\t\t\t\tif(roomCategory.getCancelPolicy().get(cancel)!=null)\n\t\t\t\t{\n\t\t\t\t\tObject cancelObject = roomCategory.getCancelPolicy().get(cancel);\n\t\t\t\t\tif(cancelObject instanceof com.kcdata.abe.data.dto.CancelPolicy)\n\t\t\t\t\t{\n\t\t\t\t\t\troomCategoryReq.getCancelPolicy().add(cancel,this.getCancelPolicyReq(roomCategory.getCancelPolicy().get(cancel)));\n\t\t\t\t\t}\n//\t\t\t\t\telse if(cancelObject instanceof ASObject)\n//\t\t\t\t\t{\n//\t\t\t\t\t\tASTranslator ast = new ASTranslator();\n//\t\t\t\t\t\tASObject cancelASObject = (ASObject)cancelObject;\n//\t\t\t\t\t\tcancelASObject.setType(\"com.kcdata.abe.data.dto.CancelPolicy\");\n//\t\t\t\t\t\tcancelPolicy=(com.kcdata.abe.data.dto.CancelPolicy)ast.convert(cancelASObject, com.kcdata.abe.data.dto.CancelPolicy.class);\n//\t\t\t\t\t\t\n//\t\t\t\t\t\troomCategoryReq.getCancelPolicy().add(this.getCancelPolicyReq(cancelPolicy));\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}\n\t\t}\n\t\treturn roomCategoryReq;\n\t}",
"title": ""
},
{
"docid": "e77f153556c1f08ec8204710cfcc8f6d",
"score": "0.54281086",
"text": "CarType(String carCode)\r\n {\r\n this.carCode = carCode;\r\n }",
"title": ""
},
{
"docid": "61ca6237c5ecd9058238152e6af6205f",
"score": "0.5382828",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "61ca6237c5ecd9058238152e6af6205f",
"score": "0.5382828",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "61ca6237c5ecd9058238152e6af6205f",
"score": "0.5382828",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "61ca6237c5ecd9058238152e6af6205f",
"score": "0.5382828",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "61ca6237c5ecd9058238152e6af6205f",
"score": "0.5382828",
"text": "public Category getCategory() {\n return category;\n }",
"title": ""
},
{
"docid": "8bead3eae39e775511b46757637bc82c",
"score": "0.53816974",
"text": "@Override\r\n\tpublic void vehicleType() {\n\r\n\t}",
"title": ""
},
{
"docid": "e3489328e39958711614f719c26ff537",
"score": "0.53779113",
"text": "@Override\n public void setCategory(String category) {\n this.category = category;\n }",
"title": ""
},
{
"docid": "c06e2c3d4bbceac6073ea7ca096058ae",
"score": "0.5376301",
"text": "@JsonProperty(\"category\")\n public String getCategory() {\n return category;\n }",
"title": ""
}
] |
d1e2bce2637fd5fd49b161f12d6328c8 | Indicates if this entry inherits permissions from it's parent object. | [
{
"docid": "9a683b85ce5da41cdaad0105185a4eaf",
"score": "0.6359136",
"text": "public boolean isEntriesInheriting() {\r\n\t\treturn entriesInheriting;\r\n\t}",
"title": ""
}
] | [
{
"docid": "4c6d88257d8d6f336957756488d9ff24",
"score": "0.7009564",
"text": "public boolean getIsInheritedFromParent()\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(ISINHERITEDFROMPARENT$16, 0);\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }",
"title": ""
},
{
"docid": "19cfd5038bf327519cf8397f5ef0c2cb",
"score": "0.6753391",
"text": "public boolean inheritable();",
"title": ""
},
{
"docid": "ce8ef19e0dbc2276dd1ff572f70708d9",
"score": "0.65763104",
"text": "boolean hasInherited();",
"title": ""
},
{
"docid": "ea01deaa8e27431b8dae6a30c1bd6e6c",
"score": "0.6522751",
"text": "public boolean getInheritPermissions(NodeRef nodeRef)\r\n {\r\n Boolean inheritPermissions = this.getPermissionService().getInheritParentPermissions(nodeRef);\r\n return inheritPermissions.booleanValue();\r\n }",
"title": ""
},
{
"docid": "7953391a378deb97e044a801bd62d7ed",
"score": "0.65012497",
"text": "public boolean hasInherited() {\n return inherited_ != null;\n }",
"title": ""
},
{
"docid": "89bba3bdfbab7836bb50c166219a6566",
"score": "0.65002096",
"text": "public boolean isSetIsInheritedFromParent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(ISINHERITEDFROMPARENT$16) != 0;\n }\n }",
"title": ""
},
{
"docid": "79672a2d9ad0e6f19d195a39dfdbc0e7",
"score": "0.6430722",
"text": "public boolean isCanReadPrivilegeInheritance() {\r\n\r\n boolean privilegeInheritanceReadRequireAdmin = GrouperUiConfig.retrieveConfig()\r\n .propertyValueBoolean(\"uiV2.privilegeInheritanceReadRequireAdmin\", false);\r\n\r\n final Subject loggedInSubject = GrouperUiFilter.retrieveSubjectLoggedIn();\r\n\r\n if (privilegeInheritanceReadRequireAdmin && !PrivilegeHelper.isWheelOrRoot(loggedInSubject)) {\r\n return false;\r\n }\r\n \r\n final String privilegeInheritanceReadRequireGroup = GrouperUiConfig.retrieveConfig()\r\n .propertyValueString(\"uiV2.privilegeInheritanceReadRequireGroup\");\r\n\r\n if (!StringUtils.isBlank(privilegeInheritanceReadRequireGroup)) {\r\n \r\n if (false == (Boolean)GrouperSession.callbackGrouperSession(GrouperSession.staticGrouperSession().internal_getRootSession(), new GrouperSessionHandler() {\r\n \r\n public Object callback(GrouperSession grouperSession) throws GrouperSessionException {\r\n Group group = GroupFinder.findByName(grouperSession, privilegeInheritanceReadRequireGroup, true);\r\n if (!group.hasMember(loggedInSubject)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n })) {\r\n return false;\r\n }\r\n\r\n }\r\n \r\n boolean privilegeInheritanceDoesntRequireRulesPrivileges = GrouperUiConfig.retrieveConfig()\r\n .propertyValueBoolean(\"uiV2.privilegeInheritanceDoesntRequireRulesPrivileges\", true);\r\n \r\n if (privilegeInheritanceDoesntRequireRulesPrivileges) {\r\n return true;\r\n }\r\n \r\n return GrouperRequestContainer.retrieveFromRequestOrCreate().getRulesContainer().isCanReadRules();\r\n }",
"title": ""
},
{
"docid": "7715778539f2291e3704b83a1335f858",
"score": "0.62327224",
"text": "public org.apache.xmlbeans.XmlBoolean xgetIsInheritedFromParent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISINHERITEDFROMPARENT$16, 0);\n return target;\n }\n }",
"title": ""
},
{
"docid": "15fe45d8128fe2ec31b3c9b88a4dac8b",
"score": "0.60461366",
"text": "public boolean getEntriesInheriting() {\r\n\t\treturn entriesInheriting;\r\n\t}",
"title": ""
},
{
"docid": "e81d5a61d5a015b2fe59cfa7331ed702",
"score": "0.6001893",
"text": "public boolean isInheritedSecurity() {\r\n return inheritedSecurity;\r\n }",
"title": ""
},
{
"docid": "31a714b175bfe53a175ff2ed0ba04520",
"score": "0.59855384",
"text": "public boolean isParent() {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "2860d85bcd63ce2bb2c8f3f84c74f502",
"score": "0.5970646",
"text": "public boolean isSuper() {\n\t\treturn !getIDLIST().isEmpty();\n\t}",
"title": ""
},
{
"docid": "29dda07b29741b2ce246824f83522f8c",
"score": "0.59586686",
"text": "public boolean hasParent();",
"title": ""
},
{
"docid": "ce19d1e264e56a3c96b69ce12eeb4578",
"score": "0.59502333",
"text": "public boolean isCanUpdatePrivilegeInheritance() {\r\n\r\n boolean privilegeInheritanceUpdateRequireAdmin = GrouperUiConfig.retrieveConfig()\r\n .propertyValueBoolean(\"uiV2.privilegeInheritanceUpdateRequireAdmin\", false);\r\n \r\n final Subject loggedInSubject = GrouperUiFilter.retrieveSubjectLoggedIn();\r\n\r\n if (privilegeInheritanceUpdateRequireAdmin && !PrivilegeHelper.isWheelOrRoot(loggedInSubject)) {\r\n return false;\r\n }\r\n \r\n final String privilegeInheritanceUpdateRequireGroup = GrouperUiConfig.retrieveConfig()\r\n .propertyValueString(\"uiV2.privilegeInheritanceUpdateRequireGroup\");\r\n\r\n if (!StringUtils.isBlank(privilegeInheritanceUpdateRequireGroup)) {\r\n \r\n if (false == (Boolean)GrouperSession.callbackGrouperSession(GrouperSession.staticGrouperSession().internal_getRootSession(), new GrouperSessionHandler() {\r\n \r\n public Object callback(GrouperSession grouperSession) throws GrouperSessionException {\r\n Group group = GroupFinder.findByName(grouperSession, privilegeInheritanceUpdateRequireGroup, true);\r\n if (!group.hasMember(loggedInSubject)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n })) {\r\n return false;\r\n }\r\n }\r\n boolean privilegeInheritanceDoesntRequireRulesPrivileges = GrouperUiConfig.retrieveConfig()\r\n .propertyValueBoolean(\"uiV2.privilegeInheritanceDoesntRequireRulesPrivileges\", true);\r\n \r\n if (privilegeInheritanceDoesntRequireRulesPrivileges) {\r\n return true;\r\n }\r\n \r\n return GrouperRequestContainer.retrieveFromRequestOrCreate().getRulesContainer().isCanUpdateRules();\r\n }",
"title": ""
},
{
"docid": "1551af71774fc02b9e4b75e3b74a4112",
"score": "0.5922392",
"text": "public boolean isParentNAC();",
"title": ""
},
{
"docid": "3e4fb2ca49214a45c63f5f78c0157524",
"score": "0.58592373",
"text": "public boolean isChild()\n {\n return getParent() != null;\n }",
"title": ""
},
{
"docid": "ed2ee7d918d0fe31b6be4792010a90e3",
"score": "0.58334",
"text": "public boolean hasIncludeInherited() {\n return includeInherited_ != null;\n }",
"title": ""
},
{
"docid": "63e5968b5f2082da4070d4c424b8c843",
"score": "0.58155674",
"text": "protected boolean hasParent() {\n return parent != null;\n }",
"title": ""
},
{
"docid": "08b4e607d9d78e290d43428689996ac0",
"score": "0.5807424",
"text": "public boolean isChildable() {\r\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "65b1ea0c07a2be4af3dc8166e7e2e4fe",
"score": "0.57981676",
"text": "boolean hasIncludeInherited();",
"title": ""
},
{
"docid": "43c79e0b113d27d63bd3daec5c129712",
"score": "0.5744929",
"text": "public io.dstore.values.BooleanValue getInherited() {\n return inherited_ == null ? io.dstore.values.BooleanValue.getDefaultInstance() : inherited_;\n }",
"title": ""
},
{
"docid": "b333d27d8fc6c47b2b03759659b6691d",
"score": "0.57165474",
"text": "@Override\n public boolean hasSuper() {\n return false;\n }",
"title": ""
},
{
"docid": "faf7dbf054625c81ace0d5687abb3b3d",
"score": "0.56929594",
"text": "public boolean hasInherited() {\n return inheritedBuilder_ != null || inherited_ != null;\n }",
"title": ""
},
{
"docid": "c622d1df44ae9aba1fe8eeec42ea3570",
"score": "0.5666418",
"text": "@Override\n public boolean hasParent() {\n return false;\n }",
"title": ""
},
{
"docid": "b706d1f50e28781f681ebd9f74b3c808",
"score": "0.56538284",
"text": "public boolean isParent()\n {\n return getLeftChild() != null || getRightChild() != null;\n }",
"title": ""
},
{
"docid": "199e940dc1be9c7aa231dbba219af930",
"score": "0.56314445",
"text": "public boolean hasParent() {\n\t\t\n\t\treturn getParent() != null;\n\t\t\n\t}",
"title": ""
},
{
"docid": "eaed02f103ff943d10edf4831e8242df",
"score": "0.5629139",
"text": "@DISPID(193)\r\n\t// = 0xc1. The runtime will prefer the VTID if present\r\n\t@VTID(130)\r\n\tboolean replacePermissionsOnChildObjects();",
"title": ""
},
{
"docid": "7221334bdafe804842dc0ef05191f82a",
"score": "0.5516979",
"text": "public io.dstore.values.BooleanValue getIncludeInherited() {\n return includeInherited_ == null ? io.dstore.values.BooleanValue.getDefaultInstance() : includeInherited_;\n }",
"title": ""
},
{
"docid": "4b8ecb6acbfb65b4728560a7303646db",
"score": "0.5485315",
"text": "public io.dstore.values.BooleanValue getInherited() {\n if (inheritedBuilder_ == null) {\n return inherited_ == null ? io.dstore.values.BooleanValue.getDefaultInstance() : inherited_;\n } else {\n return inheritedBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "558e2384968262a4d76704db0299c06f",
"score": "0.54716164",
"text": "public boolean hasParent() {\n return mDelegate.hasParent();\n }",
"title": ""
},
{
"docid": "a44d819b4714d835e1b1bee29b1c7fe9",
"score": "0.54683286",
"text": "public boolean hasParentSubject() {\n return fieldSetFlags()[3];\n }",
"title": ""
},
{
"docid": "67e5fa1d2e09dabbf5ac76eff4fefbf3",
"score": "0.5454272",
"text": "protected boolean isExtendsAbstractParent(Element element) {\n\t\treturn context.getParentElementByType(element.getType()) != null;\n\t}",
"title": ""
},
{
"docid": "edf29c29bc6a6783c6bef64363ee66a2",
"score": "0.54363286",
"text": "public boolean isSub() {\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "56abcf7a2751b68661e5ff27a7e91e67",
"score": "0.53937244",
"text": "boolean isChild();",
"title": ""
},
{
"docid": "7a3dbb483a017e52daeeef9e819f1940",
"score": "0.536663",
"text": "@Override\n public boolean hasPermission(User user, E entity, Permission permission) {\n\n // always grant READ access to own user object (of the logged in user)\n if (user != null && user.equals(entity)\n && permission.equals(Permission.READ)) {\n logger.trace(\"Granting READ access on own user object\");\n return true;\n }\n\n // call parent implementation\n return super.hasPermission(user, entity, permission);\n }",
"title": ""
},
{
"docid": "ed6ad05acf7a58d51912410f9fde0818",
"score": "0.53639984",
"text": "public boolean hasParentKeyMeta() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"title": ""
},
{
"docid": "969028d4ae100620629dbae00cc9b254",
"score": "0.53471065",
"text": "public void unsetIsInheritedFromParent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(ISINHERITEDFROMPARENT$16, 0);\n }\n }",
"title": ""
},
{
"docid": "940ecc527a1b485249eca6265e9f6ba9",
"score": "0.5338159",
"text": "boolean hasParentKeyMeta();",
"title": ""
},
{
"docid": "fe4ed3f680a468e3f778035f025b9e33",
"score": "0.5333334",
"text": "boolean hasEffectiveParentDirectory();",
"title": ""
},
{
"docid": "37f83f56a86a1e340fd414b126188a04",
"score": "0.5330284",
"text": "public boolean isHeritable() {\r\n\t\treturn type.getObjectType().equals(\"heritable\");\r\n\t}",
"title": ""
},
{
"docid": "2f8d7865429af3dceb43326979a3aca8",
"score": "0.5316699",
"text": "public void setIsInheritedFromParent(boolean isInheritedFromParent)\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(ISINHERITEDFROMPARENT$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISINHERITEDFROMPARENT$16);\n }\n target.setBooleanValue(isInheritedFromParent);\n }\n }",
"title": ""
},
{
"docid": "ef15c53325bcfe097a0fb74853b7a940",
"score": "0.5311805",
"text": "io.dstore.values.BooleanValue getInherited();",
"title": ""
},
{
"docid": "a7073246990442a2d9bdec7cc856df34",
"score": "0.53048354",
"text": "public io.dstore.values.BooleanValue getIncludeInherited() {\n if (includeInheritedBuilder_ == null) {\n return includeInherited_ == null ? io.dstore.values.BooleanValue.getDefaultInstance() : includeInherited_;\n } else {\n return includeInheritedBuilder_.getMessage();\n }\n }",
"title": ""
},
{
"docid": "326a66d52615fc212b10158ef834a865",
"score": "0.5297392",
"text": "public boolean isBase() {\n\t\treturn this.base;\n\t}",
"title": ""
},
{
"docid": "472d36e318bdc5c48915f581f250ed42",
"score": "0.52930754",
"text": "public boolean IsParentMatch() {\r\n \treturn this.IsMatch(((EntityLlamaWithHat) this.getCaravanHead()).GetType());\r\n }",
"title": ""
},
{
"docid": "b4f353ec431791f1450ddb1bd5e9c89e",
"score": "0.527225",
"text": "boolean isInheritanceFinal();",
"title": ""
},
{
"docid": "89bc2cd8e6f116006e26fda983eeb3e7",
"score": "0.5267277",
"text": "@java.lang.Override\n public boolean hasParentKeyMeta() {\n return parentKeyMeta_ != null;\n }",
"title": ""
},
{
"docid": "c11b647759df74a0b5e5c6bc185038aa",
"score": "0.52419126",
"text": "public String getExtends() {\n return (this.inherit);\n }",
"title": ""
},
{
"docid": "96a3b775f29ea9aa88b74882555d17fc",
"score": "0.52404433",
"text": "public boolean getAllowsChildren()\n {\n return true;\n }",
"title": ""
},
{
"docid": "ff2026d0ef3d486937715134c33ba1ae",
"score": "0.5229868",
"text": "boolean hasPermissions();",
"title": ""
},
{
"docid": "70a23820b2f40c6c66f613213b5c7e3f",
"score": "0.52210695",
"text": "public boolean hasIncludeInherited() {\n return includeInheritedBuilder_ != null || includeInherited_ != null;\n }",
"title": ""
},
{
"docid": "4de5bfb1384477ba1aafe8cfd0471229",
"score": "0.5215513",
"text": "public io.dstore.values.BooleanValueOrBuilder getInheritedOrBuilder() {\n return getInherited();\n }",
"title": ""
},
{
"docid": "3dbd01513f803547c2c41338df8932d8",
"score": "0.5209049",
"text": "public boolean isSubDictionary()\r\n {\r\n return !(this.entry instanceof COSStream);\r\n }",
"title": ""
},
{
"docid": "68336173552547809f30cdb9694ee8e9",
"score": "0.51973593",
"text": "public boolean isAncestorOf(Item item);",
"title": ""
},
{
"docid": "f8cbd759af9bc591c9757b3674cf6e61",
"score": "0.5190554",
"text": "public boolean isHasPermissions() {\n return hasPermissions;\n }",
"title": ""
},
{
"docid": "27255d2447fb8978192089b08cf7206e",
"score": "0.5145443",
"text": "public boolean isParentOf(EdType t) {\r\n\t\tif (this.bType.isParentOf(t.getBasisType()))\r\n\t\t\treturn true;\r\n\t\t\r\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "83057720661b2f53fd4330a0c00f91b7",
"score": "0.51431763",
"text": "public boolean isMappedSuperclass() {\n return getClassAccessor().isMappedSuperclass();\n }",
"title": ""
},
{
"docid": "85b352d1c7c342b7c4eaac259ba420ce",
"score": "0.5141952",
"text": "public boolean hasParent() {\r\n\t\treturn backLink != null && backLink.root != null;\r\n\t}",
"title": ""
},
{
"docid": "a257589d28ba308712fb3a59de58ba2b",
"score": "0.51414794",
"text": "boolean isParentOf(JsonExtendedPointer pointer);",
"title": ""
},
{
"docid": "ab1684e7ad0d5c8f01a63cd8a5de3ca3",
"score": "0.5135157",
"text": "public boolean hasParent(Widget w) {\n\t\treturn getParent(w) != null;\n\t}",
"title": ""
},
{
"docid": "59108fda6c3a406bc6e603bf5d502adb",
"score": "0.51243407",
"text": "private boolean checkInheritance(String fromNode, String toNode) {\n\n\t OWLClass from = mFactory.getOWLClass(IRI.create(fromNode));\n\t OWLClass to = mFactory.getOWLClass(IRI.create(toNode));\n\n\t //If the source of the target are owl:thing then there is no inheritance relation\n\t if(from.isOWLThing() || to.isOWLThing())\n\t \treturn false;\n\t\n\t \n\t \n\t // Collection<OWLClassExpression> superC2 = EntitySearcher.getSuperClasses(from, oOntology);\n\t \n\t\t //1. We look for super classes\n\t\tNodeSet<OWLClass> superC = oReasoner.getSuperClasses(from, true);\n\t\t\n\t\tfor (OWLClass owlClassS : superC.getFlattened()) {\n \t \tif(owlClassS.getIRI().toString().compareTo(toNode) == 0)\n \t \t\treturn true;\n\t\t}\n\t\t\n\t\tNodeSet<OWLClass> subC = oReasoner.getSubClasses(from, false);\n\t\t\n\t\tfor (OWLClass owlClassSu : subC.getFlattened()) {\n\t\t\tif(owlClassSu.getIRI().toString().compareTo(toNode) == 0)\n \t \t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "7d3cb8fc88936524a2cbc4cfd1ff9eb6",
"score": "0.5116906",
"text": "public boolean getIncludeInheritedNull() {\n return includeInheritedNull_;\n }",
"title": ""
},
{
"docid": "82cf0f3fa719f96dd0d4a4a0ba4dc0c0",
"score": "0.51068884",
"text": "public boolean isBaseType() {\n\t\treturn superClassTypeMap == null;\n\t}",
"title": ""
},
{
"docid": "757e6de4f8b37d7ce60d3f82a1b0086e",
"score": "0.5101321",
"text": "boolean getIncludeInheritedNull();",
"title": ""
},
{
"docid": "3b5cf34c49a17c90274db5e2472852bc",
"score": "0.50997514",
"text": "public boolean hasPermissions() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"title": ""
},
{
"docid": "9d8a2e7e1c4487f318c186c3731103f5",
"score": "0.50926334",
"text": "public Boolean getCanSelectParentItems() {\r\n return getAttributeAsBoolean(\"canSelectParentItems\");\r\n }",
"title": ""
},
{
"docid": "28c6f03284597b60972ad58a17b2ea2e",
"score": "0.5085669",
"text": "public boolean getIncludeInheritedNull() {\n return includeInheritedNull_;\n }",
"title": ""
},
{
"docid": "a3a5db98bfb880102eb15fd9deb38186",
"score": "0.50653154",
"text": "public void xsetIsInheritedFromParent(org.apache.xmlbeans.XmlBoolean isInheritedFromParent)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISINHERITEDFROMPARENT$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(ISINHERITEDFROMPARENT$16);\n }\n target.set(isInheritedFromParent);\n }\n }",
"title": ""
},
{
"docid": "f077e12a199dad87be2a6a9ae9cc5d70",
"score": "0.5063814",
"text": "public static boolean checkParentContextRelation(IVariableContextInfo child, IVariableContextInfo parent){\n\t\tif(child == null || parent == null)\n\t\t\treturn false;\n\n\t\tIVariableContextInfo enumInfo = child;\n\t\tdo{\n\t\t\tif(parent.equals(enumInfo))\n\t\t\t\treturn true;\n\t\t}while((enumInfo = enumInfo.getNext()) != null);\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "47454926a282525f89d940efda95d84f",
"score": "0.50565445",
"text": "public MetadataDescriptor getInheritanceParentDescriptor() {\n return m_inheritanceParentDescriptor;\n }",
"title": ""
},
{
"docid": "66dead9c14ffd950a9bc88797ba32e09",
"score": "0.5052399",
"text": "public boolean hasPermissions() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"title": ""
},
{
"docid": "061c9a612c8131560cdeb842e4677f22",
"score": "0.5040189",
"text": "public boolean isBaseline() {\r\n return this == BASELINE_LEFT || this == BASELINE_CENTER \r\n || this == BASELINE_RIGHT;\r\n }",
"title": ""
},
{
"docid": "6c230cfc43e3abcb7794865ff80177b8",
"score": "0.5027102",
"text": "public boolean getAllowsChildren() { return dir != null; }",
"title": ""
},
{
"docid": "aa2b8f411dcf3a32ecd06352dd61527e",
"score": "0.5024066",
"text": "public boolean hasPermissions() {\n\t\treturn has_permissions;\n\t}",
"title": ""
},
{
"docid": "ecbf69b692a6d042b381096aa1ca6cfc",
"score": "0.500416",
"text": "@Override\n\t\t\tpublic boolean isDerived() {\n\t\t\t\treturn false;\n\t\t\t}",
"title": ""
},
{
"docid": "af91b4b14ea6266f7eea0e3c6f2a6808",
"score": "0.5000748",
"text": "public boolean hasSuperTypes();",
"title": ""
},
{
"docid": "d8fab59088d9897a4501be1bc5805099",
"score": "0.4996761",
"text": "@Override public boolean inTrash() {\n if (mId <= Mailbox.HIGHEST_SYSTEM_ID)\n return (mId == Mailbox.ID_FOLDER_TRASH);\n return parent.inTrash();\n }",
"title": ""
},
{
"docid": "73ea60911edf830a0d2d5044ef54c718",
"score": "0.4990035",
"text": "public boolean isSeeContentsPermission() {\n return seeContentsPermission;\n }",
"title": ""
},
{
"docid": "55292629a0d922645454e7a256dcfaf6",
"score": "0.49825054",
"text": "public Acl getParentAcl() {\r\n\t\treturn irParentAcl;\r\n\t}",
"title": ""
},
{
"docid": "b7ce694a4018194ef700dccf7776970c",
"score": "0.49747992",
"text": "@DISPID(221)\r\n\t// = 0xdd. The runtime will prefer the VTID if present\r\n\t@VTID(162)\r\n\tboolean inheritSecurity();",
"title": ""
},
{
"docid": "161210ebc476d13452ef252981b65684",
"score": "0.49717265",
"text": "public boolean isSuper()\n {\n return !isAnonymous() && Roles.hasSuperuserStatus(role);\n }",
"title": ""
},
{
"docid": "7a1283cee5f3b87dd6a2b6d4d8bf41c2",
"score": "0.49711323",
"text": "@java.lang.Override\n public boolean hasParentProcessInstanceId() {\n return ((bitField0_ & 0x00000080) != 0);\n }",
"title": ""
},
{
"docid": "a68fe59873e24a5dc8a7a3740d50e6c9",
"score": "0.49691972",
"text": "public io.dstore.values.BooleanValueOrBuilder getInheritedOrBuilder() {\n if (inheritedBuilder_ != null) {\n return inheritedBuilder_.getMessageOrBuilder();\n } else {\n return inherited_ == null ?\n io.dstore.values.BooleanValue.getDefaultInstance() : inherited_;\n }\n }",
"title": ""
},
{
"docid": "e1a0cee9c77903b0c9d368a58a68df14",
"score": "0.49690765",
"text": "public Boolean isIgnorePermissions() {\n if (permissions != null) {\n return permissions == PermissionMode.ignore;\n }\n return (ignorePermissions != null) ? ignorePermissions : Boolean.FALSE;\n }",
"title": ""
},
{
"docid": "b2062ba4f69e0cbb76ec8cc59ebfcad4",
"score": "0.496674",
"text": "protected boolean checkCircularInheritance(ModuleConfig moduleConfig) {\n String ancestorPath = getExtends();\n\n while (ancestorPath != null) {\n // check if we have the same path as an ancestor\n if (getPath().equals(ancestorPath)) {\n return true;\n }\n\n // get our ancestor's ancestor\n ActionConfig ancestor = moduleConfig.findActionConfig(ancestorPath);\n\n if (ancestor != null) {\n ancestorPath = ancestor.getExtends();\n } else {\n ancestorPath = null;\n }\n }\n\n return false;\n }",
"title": ""
},
{
"docid": "f311f5a346c0d2903b9c60699e838891",
"score": "0.4951143",
"text": "public boolean isDerived() {\n return false;\n }",
"title": ""
},
{
"docid": "e565aeb7cd77d14aae424b161d108d3b",
"score": "0.49404478",
"text": "public boolean isEditPermissionsPermission() {\n return editPermissionsPermission;\n }",
"title": ""
},
{
"docid": "539fa0028bdf466b0bf894c968c8a2b4",
"score": "0.4932612",
"text": "@Override\n\tpublic boolean visit(SuperFieldAccess node) {\n\t\treturn false;\t}",
"title": ""
},
{
"docid": "f7d721fe7d52f55bd257aee29344a356",
"score": "0.4930926",
"text": "boolean isShare() {\n return isTagged(Flag.FlagInfo.NO_INHERIT);\n }",
"title": ""
},
{
"docid": "70912a6ac15eedd2e552087ab41436c2",
"score": "0.49295843",
"text": "public boolean hasPermission(final Object permission) {\n return true;\n }",
"title": ""
},
{
"docid": "149ded16aca0c41aa2ab1deecfdba2f9",
"score": "0.4919346",
"text": "public IrAcl getIrParentAcl() {\r\n\t\treturn irParentAcl;\r\n\t}",
"title": ""
},
{
"docid": "de0f66108185898c8fadad9c692121a0",
"score": "0.49130502",
"text": "public boolean isAncestor(GrammaticalRelation gr) {\n while (gr != null) {\n // Changed this test from this == gr (mrsmith)\n if (this.equals(gr)) { return true; }\n gr = gr.parent;\n }\n return false;\n }",
"title": ""
},
{
"docid": "8c96c865ee88fb97999bee0c6a05782b",
"score": "0.49128133",
"text": "public void setEntriesInheriting(boolean entriesInheriting) {\r\n\t\tthis.entriesInheriting = entriesInheriting;\r\n\t}",
"title": ""
},
{
"docid": "82271a37f273a4e33780fd27596d0f0d",
"score": "0.4905437",
"text": "boolean hasExtend();",
"title": ""
},
{
"docid": "0760940fed478c13dae93c403f570e41",
"score": "0.49041465",
"text": "public boolean hasRolePermissionsResponse() {\n return responseCase_ == 9;\n }",
"title": ""
},
{
"docid": "2e601f40459965a16f4c97c795b8fb3c",
"score": "0.48991552",
"text": "private boolean isAncestorOf(Node anchNode, Node ChildNode) {\n Tree tree = new Tree(anchNode, ChildNode);\r\n return tree.ancestorCheck(anchNode);\r\n }",
"title": ""
},
{
"docid": "a398cc1476c3d7da6e777ce57e46c9d8",
"score": "0.4898499",
"text": "public boolean hasRolePermissionsResponse() {\n return responseCase_ == 9;\n }",
"title": ""
},
{
"docid": "b8ee995e201d7506bdda547b7c2a66bd",
"score": "0.48925588",
"text": "public io.dstore.values.BooleanValueOrBuilder getIncludeInheritedOrBuilder() {\n return getIncludeInherited();\n }",
"title": ""
},
{
"docid": "b698c08fdd68594af6249d944a106733",
"score": "0.48775294",
"text": "@Override\r\n\tpublic boolean isSuperAtomOf(TypeAtom ta) {\n\t\tif( ta.equals(UnknownAtom.getInstance())){\r\n\t\t\treturn false;\r\n\t\t}else\r\n\t\t\treturn true;\r\n\t}",
"title": ""
},
{
"docid": "97ba5e8f8314b0b3645fe51bc512d189",
"score": "0.4876381",
"text": "protected final boolean isParent(String parent) {\n return parent.equals(parent());\n }",
"title": ""
}
] |
5d4fc8e2e5728ac4ebdb445bdb1348ed | Plain Literal is an ordinary Literal that is created with his type infered. This interface is used to tag the Literals that have no explicit type from the user and the XMLSchema.STRING type is automatically inferred. | [
{
"docid": "ea6c0aaaa6dea639148c33cc7c89fd58",
"score": "0.67194194",
"text": "public interface PlainLiteral extends Literal {\n\n}",
"title": ""
}
] | [
{
"docid": "0776e74468e12855ba766a338c5ac223",
"score": "0.70520335",
"text": "RealLiteral createRealLiteral();",
"title": ""
},
{
"docid": "fd979c01c1d57fc274ff44585ddb42a7",
"score": "0.6733962",
"text": "@Override\n\t\tpublic Object createLiteral(Object datatype, String stringValue, String langTag) {\n\t\t\treturn null;\n\t\t}",
"title": ""
},
{
"docid": "2530420284679a459527fc121524de1f",
"score": "0.6719076",
"text": "@Override\n\tpublic Type visit(StringLiteral stringLiteral) {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "087dcdb7fa5ebd920b0f8d8ceb4915dc",
"score": "0.6643641",
"text": "public Literal asLiteral() {\n return node.asLiteral();\n }",
"title": ""
},
{
"docid": "46c360bfc90ad87c04922857c3a11a23",
"score": "0.66040087",
"text": "TextLiteral createTextLiteral();",
"title": ""
},
{
"docid": "9ed601d2c67f3168fff544e11df0a628",
"score": "0.65799016",
"text": "@Test\n public void testObjectLiteralWithDataTypeGarbage() throws Exception {\n ValueFactory vf = new ValueFactoryImpl();\n Statement s;\n String str;\n\n str = \"Alice ^^<Palace>\\\"\";\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str, \"en\"));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str, vf.createURI(\"xsd:string\")));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n\n }",
"title": ""
},
{
"docid": "8f88838f9e030aab20f4d15766d2d387",
"score": "0.65440625",
"text": "private Literal(String text) {\n this._text = Objects.requireNonNull(text, \"Literal must have a value\");\n }",
"title": ""
},
{
"docid": "d114c0eb91952afcc21bccb5ebabb21b",
"score": "0.6361351",
"text": "StringLiteral createStringLiteral();",
"title": ""
},
{
"docid": "d114c0eb91952afcc21bccb5ebabb21b",
"score": "0.6361351",
"text": "StringLiteral createStringLiteral();",
"title": ""
},
{
"docid": "2dea5e009599428a5de30e0d81e110fb",
"score": "0.63535297",
"text": "StringTokenLiteral createStringTokenLiteral();",
"title": ""
},
{
"docid": "3cbdcd163c59683cb11a23fa12b78ed4",
"score": "0.6312542",
"text": "private ParseNode parseLiteral() {\n\t\tif(startsIntNumber(nowReading)) {\n\t\t\treturn parseIntNumber();\n\t\t}\n\t\tif(startsFloatNumber(nowReading)) {\n\t\t\treturn parseFloatNumber();\n\t\t}\n\t\tif(startsCharacter(nowReading)) {\n\t\t\treturn parseCharacter();\n\t\t}\n\t\tif(startsString(nowReading)) {\n\t\t\treturn parseString();\n\t\t}\n\t\tif(startsIdentifier(nowReading)) {\n\t\t\treturn parseIdentifier();\n\t\t}\n\t\tif(startsBooleanConstant(nowReading)) {\n\t\t\treturn parseBooleanConstant();\n\t\t}\n\t\tif(startsLambda(nowReading)) {\n\t\t\treturn parseLambda();\n\t\t}\n\n\t\treturn syntaxErrorNode(\"literal\");\n\t}",
"title": ""
},
{
"docid": "88fc161a4d137fca01c28038a56a66c4",
"score": "0.63058734",
"text": "public interface LiteralExpression<T> extends Expression {\n\tT getLiteralValue();\n}",
"title": ""
},
{
"docid": "e2bb02dcabbc372fb20ef386a8fa28e8",
"score": "0.62617415",
"text": "public boolean isLiteral() {\n return node.isLiteral();\n }",
"title": ""
},
{
"docid": "e1478be9127227cc7c0ac32df3eb2e0c",
"score": "0.6235906",
"text": "private LiteralNode(NodeType type, Lexeme lexeme, Node... nodes){\n super(type, lexeme, nodes);\n }",
"title": ""
},
{
"docid": "233abf1f04c3a0cd2c94aa3786bd7069",
"score": "0.6233978",
"text": "public interface LiteralEvaluation extends Evaluation {\n\t/**\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @model builtInTypeNameRequired=\"true\" typeRequired=\"true\"\n\t * @generated\n\t */\n\tvoid getType(String builtInTypeName, PrimitiveType type);\n\n}",
"title": ""
},
{
"docid": "6438ae1d873091e75c7ab3483a7fb3b9",
"score": "0.6119619",
"text": "public final AstPrinter.literal_return literal() throws RecognitionException {\n AstPrinter.literal_return retval = new AstPrinter.literal_return();\n retval.start = input.LT(1);\n\n\n CommonTree root_0 = null;\n\n CommonTree _first_0 = null;\n CommonTree _last = null;\n\n AstPrinter.scalar_return scalar355 =null;\n\n AstPrinter.map_return map356 =null;\n\n AstPrinter.bag_return bag357 =null;\n\n AstPrinter.tuple_return tuple358 =null;\n\n\n\n try {\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:506:9: ( scalar | map | bag | tuple )\n int alt102=4;\n switch ( input.LA(1) ) {\n case DOUBLENUMBER:\n case FALSE:\n case FLOATNUMBER:\n case INTEGER:\n case LONGINTEGER:\n case MINUS:\n case QUOTEDSTRING:\n case TRUE:\n case NULL:\n {\n alt102=1;\n }\n break;\n case MAP_VAL:\n {\n alt102=2;\n }\n break;\n case BAG_VAL:\n {\n alt102=3;\n }\n break;\n case TUPLE_VAL:\n {\n alt102=4;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 102, 0, input);\n\n throw nvae;\n\n }\n\n switch (alt102) {\n case 1 :\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:506:11: scalar\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_scalar_in_literal3694);\n scalar355=scalar();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, scalar355.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 2 :\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:506:20: map\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_map_in_literal3698);\n map356=map();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, map356.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 3 :\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:506:26: bag\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_bag_in_literal3702);\n bag357=bag();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, bag357.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 4 :\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:506:32: tuple\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_tuple_in_literal3706);\n tuple358=tuple();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, tuple358.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n\n }\n if ( state.backtracking==0 ) {\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n }\n\n }\n\n catch(RecognitionException re) {\n throw re;\n }\n\n finally {\n \t// do for sure before leaving\n }\n return retval;\n }",
"title": ""
},
{
"docid": "8abdb084860f743da9de6ec91045fa8a",
"score": "0.60011363",
"text": "private Expression literal() {\n Token litTok = lex.next();\n switch(litTok.getType()) {\n case \"INT_CONST\":\n try {\n return new IntegerLiteral(litTok.getPosition(),\n Integer.parseInt(litTok.getValue()));\n } catch (NumberFormatException ex) {\n error(\"int literal out of range\");\n }\n case \"FLOAT_CONST\":\n float f = Float.parseFloat(litTok.getValue());\n if(Float.isInfinite(f))\n error(\"float literal out of range\");\n return new FloatLiteral(litTok.getPosition(), Float.parseFloat(litTok.getValue()));\n case \"BOOL_CONST\":\n return new BooleanLiteral(litTok.getPosition(),\n Boolean.parseBoolean(litTok.getValue()));\n case \"STRING_CONST\":\n String s = litTok.getValue();\n return new StringLiteral(litTok.getPosition(),\n unescapeJavaString(s.substring(1, s.length() - 1)));\n case \"IDENTIFIER\":\n if(lex.peek().getType() == \"(\") {\n require(\"(\");\n List<Expression> args = null;\n if(lex.peek().getValue() != \")\")\n args = exprList();\n require(\")\");\n\n return new FuncCallExpression(\n new Identifier(litTok.getPosition(), litTok.getValue()), args);\n }\n return new VarLiteral(new Identifier(litTok.getPosition(), litTok.getValue()));\n case \"(\":\n Expression e = expression();\n require(\")\");\n return e;\n default:\n error(\"expected expression before \\\"%s\\\"\", litTok.getValue());\n return null;\n }\n }",
"title": ""
},
{
"docid": "a52bb19439551fcb594b5e35ed0d3a4d",
"score": "0.59750634",
"text": "@Override\r\n public String toString()\r\n {\r\n return literal;\r\n }",
"title": ""
},
{
"docid": "f2a482c3220c9a36998519eb69d461b0",
"score": "0.5916533",
"text": "@Override\n public String toString()\n {\n return literal;\n }",
"title": ""
},
{
"docid": "f2a482c3220c9a36998519eb69d461b0",
"score": "0.5916533",
"text": "@Override\n public String toString()\n {\n return literal;\n }",
"title": ""
},
{
"docid": "f2a482c3220c9a36998519eb69d461b0",
"score": "0.5916533",
"text": "@Override\n public String toString()\n {\n return literal;\n }",
"title": ""
},
{
"docid": "4182da9be01187095a7a11b32e3edc86",
"score": "0.59150004",
"text": "public boolean isLiteral ()\r\n {\r\n return _text != null;\r\n }",
"title": ""
},
{
"docid": "72285f1116e3d48bffd90e81b777f5f0",
"score": "0.5913119",
"text": "public final DRL6Expressions.literal_return literal() throws RecognitionException {\n\t\tDRL6Expressions.literal_return retval = new DRL6Expressions.literal_return();\n\t\tretval.start = input.LT(1);\n\n\t\tToken STRING1=null;\n\t\tToken DECIMAL2=null;\n\t\tToken HEX3=null;\n\t\tToken FLOAT4=null;\n\t\tToken BOOL5=null;\n\t\tToken NULL6=null;\n\t\tToken TIME_INTERVAL7=null;\n\t\tToken STAR8=null;\n\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:90:5: ( STRING | DECIMAL | HEX | FLOAT | BOOL | NULL | TIME_INTERVAL | STAR )\n\t\t\tint alt1=8;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase STRING:\n\t\t\t\t{\n\t\t\t\talt1=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase DECIMAL:\n\t\t\t\t{\n\t\t\t\talt1=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase HEX:\n\t\t\t\t{\n\t\t\t\talt1=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase FLOAT:\n\t\t\t\t{\n\t\t\t\talt1=4;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase BOOL:\n\t\t\t\t{\n\t\t\t\talt1=5;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase NULL:\n\t\t\t\t{\n\t\t\t\talt1=6;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase TIME_INTERVAL:\n\t\t\t\t{\n\t\t\t\talt1=7;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase STAR:\n\t\t\t\t{\n\t\t\t\talt1=8;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return retval;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 1, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt1) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:90:7: STRING\n\t\t\t\t\t{\n\t\t\t\t\tSTRING1=(Token)match(input,STRING,FOLLOW_STRING_in_literal92); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(STRING1, DroolsEditorType.STRING_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:91:7: DECIMAL\n\t\t\t\t\t{\n\t\t\t\t\tDECIMAL2=(Token)match(input,DECIMAL,FOLLOW_DECIMAL_in_literal109); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(DECIMAL2, DroolsEditorType.NUMERIC_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:92:7: HEX\n\t\t\t\t\t{\n\t\t\t\t\tHEX3=(Token)match(input,HEX,FOLLOW_HEX_in_literal125); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(HEX3, DroolsEditorType.NUMERIC_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:93:7: FLOAT\n\t\t\t\t\t{\n\t\t\t\t\tFLOAT4=(Token)match(input,FLOAT,FOLLOW_FLOAT_in_literal145); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(FLOAT4, DroolsEditorType.NUMERIC_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:94:7: BOOL\n\t\t\t\t\t{\n\t\t\t\t\tBOOL5=(Token)match(input,BOOL,FOLLOW_BOOL_in_literal163); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(BOOL5, DroolsEditorType.BOOLEAN_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:95:7: NULL\n\t\t\t\t\t{\n\t\t\t\t\tNULL6=(Token)match(input,NULL,FOLLOW_NULL_in_literal182); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(NULL6, DroolsEditorType.NULL_CONST);\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:96:9: TIME_INTERVAL\n\t\t\t\t\t{\n\t\t\t\t\tTIME_INTERVAL7=(Token)match(input,TIME_INTERVAL,FOLLOW_TIME_INTERVAL_in_literal203); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\thelper.emit(TIME_INTERVAL7, DroolsEditorType.NULL_CONST); }\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 8 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:97:9: STAR\n\t\t\t\t\t{\n\t\t\t\t\tSTAR8=(Token)match(input,STAR,FOLLOW_STAR_in_literal215); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(STAR8, DroolsEditorType.NUMERIC_CONST); }\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tretval.stop = input.LT(-1);\n\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}",
"title": ""
},
{
"docid": "137dd08f4d23104c5e6d730fa5336ee2",
"score": "0.59021044",
"text": "Plain createPlain();",
"title": ""
},
{
"docid": "7673b1d276e8af9149e3b5f2ab70a139",
"score": "0.58554715",
"text": "public static Literal toLiteral(Object o) {\n\t\t\n\t\tif (! isPrimitive(o.getClass()))\n\t\t\treturn null;\n\t\t\n\t\tif (o instanceof Date) {\n\t\t\tCalendar c = Calendar.getInstance();\n\t\t\tc.setTime((Date) o);\n\t\t\treturn ResourceFactory.createTypedLiteral(c);\n\t\t} else if (o instanceof Calendar) {\n\t\t\treturn ResourceFactory.createTypedLiteral((Calendar) o);\n\t\t} else if (o instanceof Boolean) {\n\t\t\tboolean bool = ((Boolean) o).booleanValue();\n\t\t\tRDFDatatype type = new BaseDatatype(getPrimitiveResource(boolean.class).getURI());\n\t\t\treturn ResourceFactory.createTypedLiteral(bool ? \"1\" : \"0\", type);\n\t\t} else {\n\t\t\tRDFDatatype type = new BaseDatatype(getPrimitiveResource(o.getClass()).getURI());\n\t\t\treturn ResourceFactory.createTypedLiteral(o.toString(), type);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "e1ebc232a972fc5bf42a4256963e1c9f",
"score": "0.5775976",
"text": "NullLiteral createNullLiteral();",
"title": ""
},
{
"docid": "135e62665df1b449dec6f39ef8b6ff6f",
"score": "0.5762036",
"text": "@Override\n public String toString() {\n return literal;\n }",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "af7d80a246bd0bfb8a848054d39dc9b9",
"score": "0.5742843",
"text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "83f2d5cf87bc6c3ded011636e05b1bcb",
"score": "0.5727678",
"text": "public static void main(String[] args) {\n int i = 2121;\n long l = 34212L;\n\n //2. Floating Literal - floating value F\n float f = 232.324F;\n double d = 32343.1231;\n\n //3. Boolean Literal\n\n //4. Character Literal - single quote\n char c1 = '1';\n char c2 = 'a';\n char c3 = '?';\n char c4 = '\\u0000';\n\n //5. String Literal\n\n //6. Null Literal\n String s = null;\n LiteralsDemo ob = new LiteralsDemo(); //this is an object\n LiteralsDemo obj = null;\n }",
"title": ""
},
{
"docid": "d3249dc5f2a253163f2220c7a17c28ca",
"score": "0.57082784",
"text": "public interface Literal<T> extends Instruction {\n\n T getConstant();\n}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "53814d8915d15f44c0e76fc5fe39eaa6",
"score": "0.5704803",
"text": "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "dbd12ba527acf19fd6a025ee168d2e3d",
"score": "0.570369",
"text": "public final void literal() throws RecognitionException {\n int literal_StartIndex = input.index();\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return ; }\n\n // JavaTreeParser.g:642:5: ( HEX_LITERAL | OCTAL_LITERAL | DECIMAL_LITERAL | FLOATING_POINT_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | TRUE | FALSE | NULL )\n // JavaTreeParser.g:\n {\n if ( input.LA(1)==CHARACTER_LITERAL||input.LA(1)==DECIMAL_LITERAL||input.LA(1)==FALSE||input.LA(1)==FLOATING_POINT_LITERAL||input.LA(1)==HEX_LITERAL||input.LA(1)==NULL||input.LA(1)==OCTAL_LITERAL||input.LA(1)==STRING_LITERAL||input.LA(1)==TRUE ) {\n input.consume();\n state.errorRecovery=false;\n state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n throw mse;\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n\n finally {\n \t// do for sure before leaving\n if ( state.backtracking>0 ) { memoize(input, 70, literal_StartIndex); }\n\n }\n return ;\n }",
"title": ""
},
{
"docid": "460fe74045f754d62d7faf5e3fc3c6dd",
"score": "0.5660959",
"text": "public int getLiteral() {\n\t\treturn myLiteral;\n\t}",
"title": ""
},
{
"docid": "fb262de48ac80f0841a25d9d26ab71d4",
"score": "0.5659386",
"text": "@Override\r\n\tpublic String toString(){\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "c7a307d82b397372cc02e09d2f4b2dc5",
"score": "0.5643238",
"text": "public final void literal() throws RecognitionException {\n try {\n // compiler/parser/GramaticaParser.g:103:11: ( int_literal | char_literal | bool_literal )\n int alt34 = 3;\n switch (input.LA(1)) {\n case DIGIT:\n case HEX:\n {\n alt34 = 1;\n }\n break;\n case CHR:\n {\n alt34 = 2;\n }\n break;\n case FALSE:\n case TRUE:\n {\n alt34 = 3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 34, 0, input);\n\n throw nvae;\n\n }\n\n switch (alt34) {\n case 1:\n // compiler/parser/GramaticaParser.g:103:13: int_literal\n {\n pushFollow(FOLLOW_int_literal_in_literal923);\n int_literal();\n\n state._fsp--;\n\n\n }\n break;\n case 2:\n // compiler/parser/GramaticaParser.g:103:27: char_literal\n {\n pushFollow(FOLLOW_char_literal_in_literal927);\n char_literal();\n\n state._fsp--;\n\n\n }\n break;\n case 3:\n // compiler/parser/GramaticaParser.g:103:42: bool_literal\n {\n pushFollow(FOLLOW_bool_literal_in_literal931);\n bool_literal();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return;\n }",
"title": ""
},
{
"docid": "29af3cb4e22c8078e2612a87a10364c3",
"score": "0.56349295",
"text": "protected final IRNode createNullLiteral() {\r\n\t\treturn edu.cmu.cs.fluid.java.operator.NullLiteral.prototype.jjtCreate();\r\n\t}",
"title": ""
},
{
"docid": "17c1b82770e63cc39698018a890da901",
"score": "0.56315523",
"text": "@Test\n public void testObjectLiteralWithAtSignGarbage() throws Exception {\n ValueFactory vf = new ValueFactoryImpl();\n Statement s;\n String str;\n\n str = \"Alice @en\";\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str, \"en\"));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n\n s = new StatementImpl(vf.createURI(\"foo:subject\"), vf.createURI(\"foo:predicate\"), vf.createLiteral(str, vf.createURI(\"xsd:string\")));\n Assert.assertEquals(s, StatementSerializer.readStatement(StatementSerializer.writeStatement(s)));\n }",
"title": ""
},
{
"docid": "8bfb4694dd61cc1cea0632778d078267",
"score": "0.558718",
"text": "private OWLLiteral getOWLLiteral(mxCell cell) {\n\n\t\tOWLDatatype odt = owlDataFactory.getOWLDatatype(getLiteralTypeValue(cell), prefixManager);\n\t\tOWLLiteral literal = owlDataFactory.getOWLLiteral(getLiteralCellValue(cell), odt);\n\n\t\treturn literal;\n\t}",
"title": ""
},
{
"docid": "d34586e5e02b0474ca61742b8e74d4a2",
"score": "0.5544721",
"text": "public LiteralElements getLiteralAccess() {\n\t\treturn (pLiteral != null) ? pLiteral : (pLiteral = new LiteralElements());\n\t}",
"title": ""
},
{
"docid": "683fcf748197f0baaff0376d3be6f32b",
"score": "0.549387",
"text": "public String toLiteral(){\n return getValue().stream().map(p -> p.name()).collect(Collectors.joining(\"\"));\n }",
"title": ""
},
{
"docid": "21c222659695a205ea0ab6d42521bf3d",
"score": "0.5484432",
"text": "protected SqlLiteral(\n @Nullable Object value,\n SqlTypeName typeName,\n SqlParserPos pos) {\n super(pos);\n this.value = value;\n this.typeName = typeName;\n assert typeName != null;\n assert valueMatchesType(value, typeName);\n }",
"title": ""
},
{
"docid": "6ed11455ed4eb9cf0574b6d5431e3f66",
"score": "0.5462486",
"text": "public final MintParser.literal_return literal() throws RecognitionException {\n MintParser.literal_return retval = new MintParser.literal_return();\n retval.start = input.LT(1);\n\n\n Object root_0 = null;\n\n Token set6=null;\n\n Object set6_tree=null;\n\n try {\n // C:\\\\Users\\\\komandox\\\\Desktop\\\\Mint\\\\Mint.g:293:9: ( INTEGER_LITERAL | FLOAT_LITERAL | CHAR_LITERAL | STRING_LITERAL | 'true' | 'false' )\n // C:\\\\Users\\\\komandox\\\\Desktop\\\\Mint\\\\Mint.g:\n {\n root_0 = (Object)adaptor.nil();\n\n\n set6=(Token)input.LT(1);\n\n if ( input.LA(1)==CHAR_LITERAL||input.LA(1)==FALSE||input.LA(1)==FLOAT_LITERAL||input.LA(1)==INTEGER_LITERAL||input.LA(1)==STRING_LITERAL||input.LA(1)==TRUE ) {\n input.consume();\n if ( state.backtracking==0 ) adaptor.addChild(root_0, \n (Object)adaptor.create(set6)\n );\n state.errorRecovery=false;\n state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n throw mse;\n }\n\n\n }\n\n retval.stop = input.LT(-1);\n\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n\n finally {\n \t// do for sure before leaving\n }\n return retval;\n }",
"title": ""
},
{
"docid": "0427a68dbf4f9a58640d7ee8d47be2b6",
"score": "0.54219675",
"text": "default boolean isAnyLiteral() {\n return countUntil(1, Literal.class) > 0;\n }",
"title": ""
},
{
"docid": "e1c7da6f18433e6dd2d37c7e904ccdc3",
"score": "0.5418267",
"text": "boolean allowsTextLiteral();",
"title": ""
},
{
"docid": "820df3085d431485645de366a4aa2c4c",
"score": "0.53793126",
"text": "public abstract String renderPrimitiveValue(Schema schema, String value);",
"title": ""
},
{
"docid": "4dfdb99e7c3c2042b7be5b8a2ce6a6b4",
"score": "0.5374797",
"text": "protected void sequence_literalType(ISerializationContext context, literalType semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"title": ""
},
{
"docid": "5d330c2530465acbcc8b7dd7641c7a46",
"score": "0.5353985",
"text": "public ClaimLiteral(String value) {\n this.value = value;\n }",
"title": ""
},
{
"docid": "0fb96482fda0da2411dcb49e161300db",
"score": "0.53346646",
"text": "public String toLiteral() {\r\n return label;\r\n \r\n }",
"title": ""
},
{
"docid": "c6ae5e0161662c98230f4649b185fe82",
"score": "0.5320024",
"text": "public void literal(Object valor){\r\n\r\n if(valor!= null){\r\n Literal temp = new Literal(valor.toString());\r\n pila.Push(temp);\r\n }\r\n else{\r\n Literal temp = new Literal(\"0\");\r\n pila.Push(temp);}\r\n}",
"title": ""
},
{
"docid": "09a0b09983344e1e48f1dfd9ce735510",
"score": "0.5312852",
"text": "@Override\n\tpublic void visit(VMTypeLiteral node) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "e063a2d33fa46002ae67cab6e07702c9",
"score": "0.5308439",
"text": "public static String literalToString(LiteralArg arg, IDexNode dexNode, boolean fallback) {\n\t\treturn literalToString(arg.getLiteral(), arg.getType(),\n\t\t\t\tdexNode.root().getStringUtils(),\n\t\t\t\tfallback,\n\t\t\t\targ.contains(AFlag.EXPLICIT_PRIMITIVE_TYPE));\n\t}",
"title": ""
},
{
"docid": "00fadbcca43748a6654708153dabb38a",
"score": "0.53039193",
"text": "@Override\n\tpublic void visit(VMStringLiteral node) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "ff13c8dc8b5e54c70e2d59eee1276891",
"score": "0.5295478",
"text": "public interface ObjectLiteral extends JvmIdentifiableElement, XBlockExpression\n{\n}",
"title": ""
},
{
"docid": "4a7cd4116be0df0e4f0f7f67db36944c",
"score": "0.5286418",
"text": "public interface LiteralExp extends Expression {\n}",
"title": ""
},
{
"docid": "00eb1bdbc7e10bb64a8384ebef4d2f27",
"score": "0.528456",
"text": "public final void string_literal() throws RecognitionException {\n try {\n // compiler/parser/GramaticaParser.g:117:17: ( STR )\n // compiler/parser/GramaticaParser.g:117:19: STR\n {\n match(input, STR, FOLLOW_STR_in_string_literal1021);\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return;\n }",
"title": ""
},
{
"docid": "8cc7cd503d0311545d11aafae904546a",
"score": "0.52798796",
"text": "public final ShadowVariablesParser_JavaTreeParser.literal_return literal() throws RecognitionException {\r\n ShadowVariablesParser_JavaTreeParser.literal_return retval = new ShadowVariablesParser_JavaTreeParser.literal_return();\r\n retval.start = input.LT(1);\r\n\r\n int literal_StartIndex = input.index();\r\n\r\n try {\r\n if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return retval; }\r\n\r\n // JavaTreeParser.g:475:5: ( HEX_LITERAL | OCTAL_LITERAL | DECIMAL_LITERAL | FLOATING_POINT_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | TRUE | FALSE | NULL )\r\n // JavaTreeParser.g:\r\n {\r\n if ( input.LA(1)==FALSE||input.LA(1)==NULL||input.LA(1)==TRUE||(input.LA(1) >= HEX_LITERAL && input.LA(1) <= STRING_LITERAL) ) {\r\n input.consume();\r\n state.errorRecovery=false;\r\n state.failed=false;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n throw mse;\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\r\n finally {\r\n \t// do for sure before leaving\r\n if ( state.backtracking>0 ) { memoize(input, 70, literal_StartIndex); }\r\n\r\n }\r\n return retval;\r\n }",
"title": ""
},
{
"docid": "15d7e59bb5f0cc418fce09ffb32fe083",
"score": "0.52725506",
"text": "public static LiteralNode<Object> newInstance(final Node parent) {\n return new NullLiteralNode(parent.getToken(), parent.getFinish());\n }",
"title": ""
},
{
"docid": "8e8a9cb1f05858c9625925931ef64576",
"score": "0.52695304",
"text": "public LiteralToken(int value) {\n\t\tmyLiteral = value;\n\t}",
"title": ""
},
{
"docid": "8406f4e9b12f0d17a808c9d43e7bfbee",
"score": "0.5254595",
"text": "void visit(SyntaxLiteralToken literal, T context);",
"title": ""
},
{
"docid": "ed3da257c8848ab63b5336948b436dba",
"score": "0.5254543",
"text": "public Literal(Integer lit){\n number = lit;\n }",
"title": ""
},
{
"docid": "784793cc69dea2e7ac4cec7270d36644",
"score": "0.52473617",
"text": "public static LiteralNode<?> newInstance(final Node parent, final String value) {\n return new StringLiteralNode(parent.getToken(), parent.getFinish(), value);\n }",
"title": ""
},
{
"docid": "40f66853d1966ec2cb37b538d35e8526",
"score": "0.52390075",
"text": "IntLiteral createIntLiteral();",
"title": ""
},
{
"docid": "40f66853d1966ec2cb37b538d35e8526",
"score": "0.52390075",
"text": "IntLiteral createIntLiteral();",
"title": ""
},
{
"docid": "523b9f6a9d247de67eac0e84e13cee58",
"score": "0.5232882",
"text": "@Override\n public Object visitLiteral(Literal literal) throws ExpressionVisitException, ODataApplicationException {\n\n String literalAsString = literal.getText();\n EdmType edmType = literal.getType();\n if (edmType instanceof EdmString) {\n\n String stringLiteral = \"\";\n if (literal.getText().length() > 2) {\n stringLiteral = literalAsString.substring(1, literalAsString.length() - 1);\n }\n Object enumName = NumsgEnumUtil.getEnum(stringLiteral);\n if (enumName != null) {\n return enumName;\n }\n return stringLiteral;\n }\n if (edmType instanceof EdmDateTimeOffset) {\n String dt = literalAsString.replace('T', ' ').replace('Z', ' ').trim();\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n Date date;\n try {\n date = dateFormat.parse(dt);\n } catch (ParseException e) {\n throw new ODataApplicationException(e.getMessage(), HttpStatusCode.NOT_IMPLEMENTED.getStatusCode(), Locale.ENGLISH);\n }\n return date;\n }\n if (edmType instanceof EdmDouble || edmType instanceof EdmDecimal) {\n return Double.parseDouble(literalAsString);\n }\n if (edmType instanceof EdmBoolean) {\n String boolStr = literalAsString.toLowerCase();\n if (boolStr.contains(\"true\") || boolStr.contains(\"false\")) {\n return Boolean.parseBoolean(literalAsString);\n }\n }\n\n // Try to convert the literal into an Java Integer\n try {\n return Integer.parseInt(literalAsString);\n } catch (NumberFormatException e) {\n throw new ODataApplicationException(\"Only Edm.Int32 and Edm.String literals are implemented\",\n HttpStatusCode.NOT_IMPLEMENTED.getStatusCode(), Locale.ENGLISH);\n }\n }",
"title": ""
},
{
"docid": "c91457995e9310c4416c025a4902b87d",
"score": "0.5221309",
"text": "private boolean isStringLiteral() {\r\n\r\n\t\tif (data[currentIndex] == '\"') {\r\n\t\t\tStringBuilder newString = new StringBuilder();\r\n\t\t\tcurrentIndex++;\r\n\t\t\t\r\n\t\t\tboolean foundStringEnd = false;\r\n\t\t\twhile (currentIndex < data.length) {\r\n\r\n\t\t\t\tif (data[currentIndex] == '\"') {\r\n\t\t\t\t\tfoundStringEnd = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tnewString.append(data[currentIndex]);\r\n\t\t\t\tcurrentIndex++;\r\n\t\t\t}\r\n\r\n\t\t\t// If string is left unclosed at the end of the query\r\n\t\t\tif (!foundStringEnd) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\ttoken = new Token(TokenType.STRING_LITERAL, newString.toString());\r\n\t\t\tcurrentIndex++;\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t}",
"title": ""
},
{
"docid": "2668a3412882b793c6d4e5c9c087617f",
"score": "0.52196187",
"text": "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.TypeDefImpl <em>Type Def</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypeDefImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getTypeDef()\n\t\t * @generated\n\t\t */\n\t\tEClass TYPE_DEF = eINSTANCE.getTypeDef();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.VoidTypeImpl <em>Void Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.VoidTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getVoidType()\n\t\t * @generated\n\t\t */\n\t\tEClass VOID_TYPE = eINSTANCE.getVoidType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.UnionTypeImpl <em>Union Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.UnionTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getUnionType()\n\t\t * @generated\n\t\t */\n\t\tEClass UNION_TYPE = eINSTANCE.getUnionType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Forward Dcl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UNION_TYPE__FORWARD_DCL = eINSTANCE.getUnionType_ForwardDcl();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.EnumTypeImpl <em>Enum Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.EnumTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getEnumType()\n\t\t * @generated\n\t\t */\n\t\tEClass ENUM_TYPE = eINSTANCE.getEnumType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Enumerators</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ENUM_TYPE__ENUMERATORS = eINSTANCE.getEnumType_Enumerators();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.StructTypeImpl <em>Struct Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.StructTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getStructType()\n\t\t * @generated\n\t\t */\n\t\tEClass STRUCT_TYPE = eINSTANCE.getStructType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Forward Declaration</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STRUCT_TYPE__FORWARD_DECLARATION = eINSTANCE.getStructType_ForwardDeclaration();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Forward Dcl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STRUCT_TYPE__FORWARD_DCL = eINSTANCE.getStructType_ForwardDcl();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.TemplateTypeImpl <em>Template Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TemplateTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getTemplateType()\n\t\t * @generated\n\t\t */\n\t\tEClass TEMPLATE_TYPE = eINSTANCE.getTemplateType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TEMPLATE_TYPE__SIZE = eINSTANCE.getTemplateType_Size();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.SequenceTypeImpl <em>Sequence Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.SequenceTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getSequenceType()\n\t\t * @generated\n\t\t */\n\t\tEClass SEQUENCE_TYPE = eINSTANCE.getSequenceType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.IdlStringImpl <em>Idl String</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.IdlStringImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getIdlString()\n\t\t * @generated\n\t\t */\n\t\tEClass IDL_STRING = eINSTANCE.getIdlString();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.WStringImpl <em>WString</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.WStringImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getWString()\n\t\t * @generated\n\t\t */\n\t\tEClass WSTRING = eINSTANCE.getWString();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.PrimitiveTypeImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getPrimitiveType()\n\t\t * @generated\n\t\t */\n\t\tEClass PRIMITIVE_TYPE = eINSTANCE.getPrimitiveType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.ShortImpl <em>Short</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.ShortImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getShort()\n\t\t * @generated\n\t\t */\n\t\tEClass SHORT = eINSTANCE.getShort();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.LongImpl <em>Long</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.LongImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getLong()\n\t\t * @generated\n\t\t */\n\t\tEClass LONG = eINSTANCE.getLong();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.OctetImpl <em>Octet</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.OctetImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getOctet()\n\t\t * @generated\n\t\t */\n\t\tEClass OCTET = eINSTANCE.getOctet();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.FloatImpl <em>Float</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.FloatImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getFloat()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOAT = eINSTANCE.getFloat();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.DoubleImpl <em>Double</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.DoubleImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getDouble()\n\t\t * @generated\n\t\t */\n\t\tEClass DOUBLE = eINSTANCE.getDouble();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.IdlCharImpl <em>Idl Char</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.IdlCharImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getIdlChar()\n\t\t * @generated\n\t\t */\n\t\tEClass IDL_CHAR = eINSTANCE.getIdlChar();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.WCharImpl <em>WChar</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.WCharImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getWChar()\n\t\t * @generated\n\t\t */\n\t\tEClass WCHAR = eINSTANCE.getWChar();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.BooleanImpl <em>Boolean</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.BooleanImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getBoolean()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN = eINSTANCE.getBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.LongLongImpl <em>Long Long</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.LongLongImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getLongLong()\n\t\t * @generated\n\t\t */\n\t\tEClass LONG_LONG = eINSTANCE.getLongLong();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.LongDoubleImpl <em>Long Double</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.LongDoubleImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getLongDouble()\n\t\t * @generated\n\t\t */\n\t\tEClass LONG_DOUBLE = eINSTANCE.getLongDouble();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.UShortImpl <em>UShort</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.UShortImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getUShort()\n\t\t * @generated\n\t\t */\n\t\tEClass USHORT = eINSTANCE.getUShort();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.ULongImpl <em>ULong</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.ULongImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getULong()\n\t\t * @generated\n\t\t */\n\t\tEClass ULONG = eINSTANCE.getULong();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.ULongLongImpl <em>ULong Long</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.ULongLongImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getULongLong()\n\t\t * @generated\n\t\t */\n\t\tEClass ULONG_LONG = eINSTANCE.getULongLong();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.AnyImpl <em>Any</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.AnyImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getAny()\n\t\t * @generated\n\t\t */\n\t\tEClass ANY = eINSTANCE.getAny();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.UnionForwardDclImpl <em>Union Forward Dcl</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.UnionForwardDclImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getUnionForwardDcl()\n\t\t * @generated\n\t\t */\n\t\tEClass UNION_FORWARD_DCL = eINSTANCE.getUnionForwardDcl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Implementation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UNION_FORWARD_DCL__IMPLEMENTATION = eINSTANCE.getUnionForwardDcl_Implementation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.eclipsecorba.idl.types.impl.StructForwardDclImpl <em>Struct Forward Dcl</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.StructForwardDclImpl\n\t\t * @see net.sf.eclipsecorba.idl.types.impl.TypesPackageImpl#getStructForwardDcl()\n\t\t * @generated\n\t\t */\n\t\tEClass STRUCT_FORWARD_DCL = eINSTANCE.getStructForwardDcl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Implementation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STRUCT_FORWARD_DCL__IMPLEMENTATION = eINSTANCE.getStructForwardDcl_Implementation();\n\n\t}",
"title": ""
},
{
"docid": "956963143761bd2f91ff8ec216e6651e",
"score": "0.5213849",
"text": "public static LiteralNode<?> newInstance(final Node parent, final LexerToken value) {\n return new LexerTokenLiteralNode(parent.getToken(), parent.getFinish(), value);\n }",
"title": ""
},
{
"docid": "105e5840bcfb8f741d84a788a09aa633",
"score": "0.520492",
"text": "IndividualPropertyHelper withLiteral(Object rawValue);",
"title": ""
},
{
"docid": "3f9c40d0d3cb013b17563904a7bacbed",
"score": "0.52040166",
"text": "public static String literalToString(long lit, ArgType type, IDexNode dexNode, boolean fallback) {\n\t\treturn literalToString(lit, type, dexNode.root().getStringUtils(), fallback, false);\n\t}",
"title": ""
},
{
"docid": "d798a4b5d14a9030427c0e1f06eae75b",
"score": "0.51790667",
"text": "public abstract PyStringLiteralExpression createStringLiteralAlreadyEscaped(String str);",
"title": ""
},
{
"docid": "c9b52058e62be37ec02c33b277a1fa11",
"score": "0.51674765",
"text": "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.HTMLImpl <em>HTML</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HTMLImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getHTML()\n\t\t * @generated\n\t\t */\n\t\tEClass HTML = eINSTANCE.getHTML();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Head</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HTML__HEAD = eINSTANCE.getHTML_Head();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Body</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HTML__BODY = eINSTANCE.getHTML_Body();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.HTMLElementImpl <em>HTML Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HTMLElementImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getHTMLElement()\n\t\t * @generated\n\t\t */\n\t\tEClass HTML_ELEMENT = eINSTANCE.getHTMLElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HTML_ELEMENT__VALUE = eINSTANCE.getHTMLElement_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HTML_ELEMENT__CHILDREN = eINSTANCE.getHTMLElement_Children();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HTML_ELEMENT__PARENT = eINSTANCE.getHTMLElement_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HTML_ELEMENT__ID = eINSTANCE.getHTMLElement_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HTML_ELEMENT__CLASS = eINSTANCE.getHTMLElement_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HTML_ELEMENT__TITLE = eINSTANCE.getHTMLElement_Title();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.HEADImpl <em>HEAD</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HEADImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getHEAD()\n\t\t * @generated\n\t\t */\n\t\tEClass HEAD = eINSTANCE.getHEAD();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Head Elements</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HEAD__HEAD_ELEMENTS = eINSTANCE.getHEAD_HeadElements();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Html</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HEAD__HTML = eINSTANCE.getHEAD_Html();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.HEADElementImpl <em>HEAD Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HEADElementImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getHEADElement()\n\t\t * @generated\n\t\t */\n\t\tEClass HEAD_ELEMENT = eINSTANCE.getHEADElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Head</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HEAD_ELEMENT__HEAD = eINSTANCE.getHEADElement_Head();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.LINKImpl <em>LINK</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.LINKImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getLINK()\n\t\t * @generated\n\t\t */\n\t\tEClass LINK = eINSTANCE.getLINK();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rel</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LINK__REL = eINSTANCE.getLINK_Rel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ahref</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LINK__AHREF = eINSTANCE.getLINK_Ahref();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LINK__TYPE = eINSTANCE.getLINK_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TITLEImpl <em>TITLE</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TITLEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTITLE()\n\t\t * @generated\n\t\t */\n\t\tEClass TITLE = eINSTANCE.getTITLE();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.BODYImpl <em>BODY</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.BODYImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getBODY()\n\t\t * @generated\n\t\t */\n\t\tEClass BODY = eINSTANCE.getBODY();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Background</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__BACKGROUND = eINSTANCE.getBODY_Background();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Bgcolor</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__BGCOLOR = eINSTANCE.getBODY_Bgcolor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__TEXT = eINSTANCE.getBODY_Text();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Link</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__LINK = eINSTANCE.getBODY_Link();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Alink</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__ALINK = eINSTANCE.getBODY_Alink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vlink</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BODY__VLINK = eINSTANCE.getBODY_Vlink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Body Elements</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BODY__BODY_ELEMENTS = eINSTANCE.getBODY_BodyElements();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Html</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BODY__HTML = eINSTANCE.getBODY_Html();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.BODYElementImpl <em>BODY Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.BODYElementImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getBODYElement()\n\t\t * @generated\n\t\t */\n\t\tEClass BODY_ELEMENT = eINSTANCE.getBODYElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Body</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BODY_ELEMENT__BODY = eINSTANCE.getBODYElement_Body();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.H1Impl <em>H1</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.H1Impl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getH1()\n\t\t * @generated\n\t\t */\n\t\tEClass H1 = eINSTANCE.getH1();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.H2Impl <em>H2</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.H2Impl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getH2()\n\t\t * @generated\n\t\t */\n\t\tEClass H2 = eINSTANCE.getH2();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.H3Impl <em>H3</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.H3Impl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getH3()\n\t\t * @generated\n\t\t */\n\t\tEClass H3 = eINSTANCE.getH3();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.H4Impl <em>H4</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.H4Impl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getH4()\n\t\t * @generated\n\t\t */\n\t\tEClass H4 = eINSTANCE.getH4();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.EMImpl <em>EM</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.EMImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getEM()\n\t\t * @generated\n\t\t */\n\t\tEClass EM = eINSTANCE.getEM();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.STRONGImpl <em>STRONG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.STRONGImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSTRONG()\n\t\t * @generated\n\t\t */\n\t\tEClass STRONG = eINSTANCE.getSTRONG();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.BImpl <em>B</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.BImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getB()\n\t\t * @generated\n\t\t */\n\t\tEClass B = eINSTANCE.getB();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.IImpl <em>I</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.IImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getI()\n\t\t * @generated\n\t\t */\n\t\tEClass I = eINSTANCE.getI();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TTImpl <em>TT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTT()\n\t\t * @generated\n\t\t */\n\t\tEClass TT = eINSTANCE.getTT();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.PREImpl <em>PRE</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.PREImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getPRE()\n\t\t * @generated\n\t\t */\n\t\tEClass PRE = eINSTANCE.getPRE();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.BIGImpl <em>BIG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.BIGImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getBIG()\n\t\t * @generated\n\t\t */\n\t\tEClass BIG = eINSTANCE.getBIG();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.SMALLImpl <em>SMALL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.SMALLImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSMALL()\n\t\t * @generated\n\t\t */\n\t\tEClass SMALL = eINSTANCE.getSMALL();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.SUBImpl <em>SUB</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.SUBImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSUB()\n\t\t * @generated\n\t\t */\n\t\tEClass SUB = eINSTANCE.getSUB();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.SUPImpl <em>SUP</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.SUPImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSUP()\n\t\t * @generated\n\t\t */\n\t\tEClass SUP = eINSTANCE.getSUP();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.STRIKEImpl <em>STRIKE</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.STRIKEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSTRIKE()\n\t\t * @generated\n\t\t */\n\t\tEClass STRIKE = eINSTANCE.getSTRIKE();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.FONTImpl <em>FONT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.FONTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getFONT()\n\t\t * @generated\n\t\t */\n\t\tEClass FONT = eINSTANCE.getFONT();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Color</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FONT__COLOR = eINSTANCE.getFONT_Color();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Face</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FONT__FACE = eINSTANCE.getFONT_Face();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FONT__SIZE = eINSTANCE.getFONT_Size();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.IMGImpl <em>IMG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.IMGImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getIMG()\n\t\t * @generated\n\t\t */\n\t\tEClass IMG = eINSTANCE.getIMG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Src</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__SRC = eINSTANCE.getIMG_Src();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__WIDTH = eINSTANCE.getIMG_Width();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Height</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__HEIGHT = eINSTANCE.getIMG_Height();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Alt</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__ALT = eINSTANCE.getIMG_Alt();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__ALIGN = eINSTANCE.getIMG_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vspace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__VSPACE = eINSTANCE.getIMG_Vspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hspace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__HSPACE = eINSTANCE.getIMG_Hspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ismap</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__ISMAP = eINSTANCE.getIMG_Ismap();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Usemap</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__USEMAP = eINSTANCE.getIMG_Usemap();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Border</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMG__BORDER = eINSTANCE.getIMG_Border();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.BRImpl <em>BR</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.BRImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getBR()\n\t\t * @generated\n\t\t */\n\t\tEClass BR = eINSTANCE.getBR();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Clear</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BR__CLEAR = eINSTANCE.getBR_Clear();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.MAPImpl <em>MAP</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.MAPImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getMAP()\n\t\t * @generated\n\t\t */\n\t\tEClass MAP = eINSTANCE.getMAP();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.AREAImpl <em>AREA</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.AREAImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getAREA()\n\t\t * @generated\n\t\t */\n\t\tEClass AREA = eINSTANCE.getAREA();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Shape</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute AREA__SHAPE = eINSTANCE.getAREA_Shape();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Coords</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute AREA__COORDS = eINSTANCE.getAREA_Coords();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ahref</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute AREA__AHREF = eINSTANCE.getAREA_Ahref();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.STYLEImpl <em>STYLE</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.STYLEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSTYLE()\n\t\t * @generated\n\t\t */\n\t\tEClass STYLE = eINSTANCE.getSTYLE();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.EMBEDImpl <em>EMBED</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.EMBEDImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getEMBED()\n\t\t * @generated\n\t\t */\n\t\tEClass EMBED = eINSTANCE.getEMBED();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Src</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__SRC = eINSTANCE.getEMBED_Src();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__WIDTH = eINSTANCE.getEMBED_Width();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Height</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__HEIGHT = eINSTANCE.getEMBED_Height();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__ALIGN = eINSTANCE.getEMBED_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vspace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__VSPACE = eINSTANCE.getEMBED_Vspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hspace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__HSPACE = eINSTANCE.getEMBED_Hspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Border</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EMBED__BORDER = eINSTANCE.getEMBED_Border();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.NOEMBEDImpl <em>NOEMBED</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.NOEMBEDImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getNOEMBED()\n\t\t * @generated\n\t\t */\n\t\tEClass NOEMBED = eINSTANCE.getNOEMBED();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.SPANImpl <em>SPAN</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.SPANImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSPAN()\n\t\t * @generated\n\t\t */\n\t\tEClass SPAN = eINSTANCE.getSPAN();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Style</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SPAN__STYLE = eINSTANCE.getSPAN_Style();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.AImpl <em>A</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.AImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getA()\n\t\t * @generated\n\t\t */\n\t\tEClass A = eINSTANCE.getA();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ahref</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute A__AHREF = eINSTANCE.getA_Ahref();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute A__NAME = eINSTANCE.getA_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.DIVImpl <em>DIV</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.DIVImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getDIV()\n\t\t * @generated\n\t\t */\n\t\tEClass DIV = eINSTANCE.getDIV();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DIV__ALIGN = eINSTANCE.getDIV_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.PImpl <em>P</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.PImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getP()\n\t\t * @generated\n\t\t */\n\t\tEClass P = eINSTANCE.getP();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TABLEElementImpl <em>TABLE Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TABLEElementImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTABLEElement()\n\t\t * @generated\n\t\t */\n\t\tEClass TABLE_ELEMENT = eINSTANCE.getTABLEElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Bgcolor</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE_ELEMENT__BGCOLOR = eINSTANCE.getTABLEElement_Bgcolor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Background</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE_ELEMENT__BACKGROUND = eINSTANCE.getTABLEElement_Background();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TABLEImpl <em>TABLE</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TABLEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTABLE()\n\t\t * @generated\n\t\t */\n\t\tEClass TABLE = eINSTANCE.getTABLE();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Border</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE__BORDER = eINSTANCE.getTABLE_Border();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE__WIDTH = eINSTANCE.getTABLE_Width();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cellspacing</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE__CELLSPACING = eINSTANCE.getTABLE_Cellspacing();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cellpadding</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TABLE__CELLPADDING = eINSTANCE.getTABLE_Cellpadding();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Trs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TABLE__TRS = eINSTANCE.getTABLE_Trs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TRImpl <em>TR</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TRImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTR()\n\t\t * @generated\n\t\t */\n\t\tEClass TR = eINSTANCE.getTR();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valign</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TR__VALIGN = eINSTANCE.getTR_Valign();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TR__ALIGN = eINSTANCE.getTR_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Table</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TR__TABLE = eINSTANCE.getTR_Table();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tds</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TR__TDS = eINSTANCE.getTR_Tds();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TDImpl <em>TD</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TDImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTD()\n\t\t * @generated\n\t\t */\n\t\tEClass TD = eINSTANCE.getTD();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Colspan</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TD__COLSPAN = eINSTANCE.getTD_Colspan();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rowspan</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TD__ROWSPAN = eINSTANCE.getTD_Rowspan();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valign</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TD__VALIGN = eINSTANCE.getTD_Valign();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TD__ALIGN = eINSTANCE.getTD_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TD__WIDTH = eINSTANCE.getTD_Width();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tr</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TD__TR = eINSTANCE.getTD_Tr();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.THImpl <em>TH</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.THImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTH()\n\t\t * @generated\n\t\t */\n\t\tEClass TH = eINSTANCE.getTH();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.FORMImpl <em>FORM</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.FORMImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getFORM()\n\t\t * @generated\n\t\t */\n\t\tEClass FORM = eINSTANCE.getFORM();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FORM__ACTION = eINSTANCE.getFORM_Action();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Method</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FORM__METHOD = eINSTANCE.getFORM_Method();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.INPUTImpl <em>INPUT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.INPUTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getINPUT()\n\t\t * @generated\n\t\t */\n\t\tEClass INPUT = eINSTANCE.getINPUT();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__ALIGN = eINSTANCE.getINPUT_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Maxlength</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__MAXLENGTH = eINSTANCE.getINPUT_Maxlength();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__SIZE = eINSTANCE.getINPUT_Size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Checked</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__CHECKED = eINSTANCE.getINPUT_Checked();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Src</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__SRC = eINSTANCE.getINPUT_Src();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Input Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__INPUT_VALUE = eINSTANCE.getINPUT_InputValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__NAME = eINSTANCE.getINPUT_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INPUT__TYPE = eINSTANCE.getINPUT_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.TEXTAREAImpl <em>TEXTAREA</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.TEXTAREAImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getTEXTAREA()\n\t\t * @generated\n\t\t */\n\t\tEClass TEXTAREA = eINSTANCE.getTEXTAREA();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TEXTAREA__NAME = eINSTANCE.getTEXTAREA_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rows</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TEXTAREA__ROWS = eINSTANCE.getTEXTAREA_Rows();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cols</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TEXTAREA__COLS = eINSTANCE.getTEXTAREA_Cols();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.SELECTImpl <em>SELECT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.SELECTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getSELECT()\n\t\t * @generated\n\t\t */\n\t\tEClass SELECT = eINSTANCE.getSELECT();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Multiple</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__MULTIPLE = eINSTANCE.getSELECT_Multiple();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__SIZE = eINSTANCE.getSELECT_Size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__NAME = eINSTANCE.getSELECT_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.OPTIONImpl <em>OPTION</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.OPTIONImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getOPTION()\n\t\t * @generated\n\t\t */\n\t\tEClass OPTION = eINSTANCE.getOPTION();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Selected</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPTION__SELECTED = eINSTANCE.getOPTION_Selected();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Option Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPTION__OPTION_VALUE = eINSTANCE.getOPTION_OptionValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.ListElementImpl <em>List Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.ListElementImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getListElement()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_ELEMENT = eINSTANCE.getListElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LIST_ELEMENT__TYPE = eINSTANCE.getListElement_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.OLImpl <em>OL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.OLImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getOL()\n\t\t * @generated\n\t\t */\n\t\tEClass OL = eINSTANCE.getOL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OL__START = eINSTANCE.getOL_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.ULImpl <em>UL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.ULImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getUL()\n\t\t * @generated\n\t\t */\n\t\tEClass UL = eINSTANCE.getUL();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.LIImpl <em>LI</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.LIImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getLI()\n\t\t * @generated\n\t\t */\n\t\tEClass LI = eINSTANCE.getLI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Li Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LI__LI_VALUE = eINSTANCE.getLI_LiValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.DLImpl <em>DL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.DLImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getDL()\n\t\t * @generated\n\t\t */\n\t\tEClass DL = eINSTANCE.getDL();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.DTImpl <em>DT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.DTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getDT()\n\t\t * @generated\n\t\t */\n\t\tEClass DT = eINSTANCE.getDT();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.DDImpl <em>DD</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.DDImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getDD()\n\t\t * @generated\n\t\t */\n\t\tEClass DD = eINSTANCE.getDD();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.APPLETImpl <em>APPLET</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.APPLETImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getAPPLET()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLET = eINSTANCE.getAPPLET();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applet</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__APPLET = eINSTANCE.getAPPLET_Applet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__CLASS = eINSTANCE.getAPPLET_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Src</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__SRC = eINSTANCE.getAPPLET_Src();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Align</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__ALIGN = eINSTANCE.getAPPLET_Align();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__WIDTH = eINSTANCE.getAPPLET_Width();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Height</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLET__HEIGHT = eINSTANCE.getAPPLET_Height();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.PARAMImpl <em>PARAM</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.PARAMImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getPARAM()\n\t\t * @generated\n\t\t */\n\t\tEClass PARAM = eINSTANCE.getPARAM();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PARAM__NAME = eINSTANCE.getPARAM_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Param Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PARAM__PARAM_VALUE = eINSTANCE.getPARAM_ParamValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.OBJECTImpl <em>OBJECT</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.OBJECTImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getOBJECT()\n\t\t * @generated\n\t\t */\n\t\tEClass OBJECT = eINSTANCE.getOBJECT();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Classid</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OBJECT__CLASSID = eINSTANCE.getOBJECT_Classid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OBJECT__DATA = eINSTANCE.getOBJECT_Data();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OBJECT__TYPE = eINSTANCE.getOBJECT_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Standby</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OBJECT__STANDBY = eINSTANCE.getOBJECT_Standby();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.FRAMESETImpl <em>FRAMESET</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.FRAMESETImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getFRAMESET()\n\t\t * @generated\n\t\t */\n\t\tEClass FRAMESET = eINSTANCE.getFRAMESET();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rows</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAMESET__ROWS = eINSTANCE.getFRAMESET_Rows();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cols</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAMESET__COLS = eINSTANCE.getFRAMESET_Cols();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Framespacing</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAMESET__FRAMESPACING = eINSTANCE.getFRAMESET_Framespacing();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Frameborder</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAMESET__FRAMEBORDER = eINSTANCE.getFRAMESET_Frameborder();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Border</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAMESET__BORDER = eINSTANCE.getFRAMESET_Border();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.FRAMEImpl <em>FRAME</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.FRAMEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getFRAME()\n\t\t * @generated\n\t\t */\n\t\tEClass FRAME = eINSTANCE.getFRAME();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Src</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__SRC = eINSTANCE.getFRAME_Src();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__NAME = eINSTANCE.getFRAME_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Marginwidth</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__MARGINWIDTH = eINSTANCE.getFRAME_Marginwidth();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Marginheight</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__MARGINHEIGHT = eINSTANCE.getFRAME_Marginheight();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scrolling</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__SCROLLING = eINSTANCE.getFRAME_Scrolling();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Noresize</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FRAME__NORESIZE = eINSTANCE.getFRAME_Noresize();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.NOFRAMEImpl <em>NOFRAME</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.NOFRAMEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getNOFRAME()\n\t\t * @generated\n\t\t */\n\t\tEClass NOFRAME = eINSTANCE.getNOFRAME();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link co.edu.uniandes.metamodels.Html.impl.IFRAMEImpl <em>IFRAME</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.IFRAMEImpl\n\t\t * @see co.edu.uniandes.metamodels.Html.impl.HtmlPackageImpl#getIFRAME()\n\t\t * @generated\n\t\t */\n\t\tEClass IFRAME = eINSTANCE.getIFRAME();\n\n\t}",
"title": ""
},
{
"docid": "14255769ed6286fe077f6084b2e86c38",
"score": "0.51550335",
"text": "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link lu.uni.bpmn.model.impl.DocumentRootImpl <em>Document Root</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see lu.uni.bpmn.model.impl.DocumentRootImpl\n\t\t * @see lu.uni.bpmn.model.impl.ModelPackageImpl#getDocumentRoot()\n\t\t * @generated\n\t\t */\n\t\tEClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Item</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DOCUMENT_ROOT__ITEM = eINSTANCE.getDocumentRoot_Item();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DOCUMENT_ROOT__VALUE = eINSTANCE.getDocumentRoot_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link lu.uni.bpmn.model.impl.ItemImpl <em>Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see lu.uni.bpmn.model.impl.ItemImpl\n\t\t * @see lu.uni.bpmn.model.impl.ModelPackageImpl#getItem()\n\t\t * @generated\n\t\t */\n\t\tEClass ITEM = eINSTANCE.getItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valuelist</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ITEM__VALUELIST = eINSTANCE.getItem_Valuelist();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__NAME = eINSTANCE.getItem_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__TYPE = eINSTANCE.getItem_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link lu.uni.bpmn.model.impl.ValueImpl <em>Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see lu.uni.bpmn.model.impl.ValueImpl\n\t\t * @see lu.uni.bpmn.model.impl.ModelPackageImpl#getValue()\n\t\t * @generated\n\t\t */\n\t\tEClass VALUE = eINSTANCE.getValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VALUE__MIXED = eINSTANCE.getValue_Mixed();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VALUE__VALUE = eINSTANCE.getValue_Value();\n\n\t}",
"title": ""
},
{
"docid": "cc1a2e39e1f9d19fb78490a9af0584ad",
"score": "0.5141052",
"text": "public static Object asLiteral(final String literal, final String datatType) throws Exception {\r\n\t\tfinal String dataType_ = XmlSchemeDatatypes.toExternalForm(datatType);\r\n\t\t/*\r\n\t\t * handle as date?\r\n\t\t */\r\n\t\tif (dataType_.equalsIgnoreCase(Namespaces.XSD.DATE) && isDate(literal)) {\r\n\t\t\treturn asDate(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as time?\r\n\t\t */\r\n\t\telse if (dataType_.equalsIgnoreCase(Namespaces.XSD.TIME) && isTime(literal)) {\r\n\t\t\treturn asTime(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as dateTime?\r\n\t\t */\r\n\t\telse if (dataType_.equalsIgnoreCase(Namespaces.XSD.DATETIME) && isDateTime(literal)) {\r\n\t\t\treturn asDateTime(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as integer?\r\n\t\t */\r\n\t\telse if (dataType_.equalsIgnoreCase(Namespaces.XSD.INTEGER) && isInteger(literal)) {\r\n\t\t\treturn asInteger(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as decimal?\r\n\t\t */\r\n\t\telse if ((dataType_.equalsIgnoreCase(Namespaces.XSD.DECIMAL) || dataType_.equalsIgnoreCase(Namespaces.XSD.FLOAT)) && isDecimal(literal)) {\r\n\t\t\treturn asDecimal(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as URI?\r\n\t\t */\r\n\t\telse if (dataType_.equalsIgnoreCase(Namespaces.XSD.ANYURI) && isIri(literal)) {\r\n\t\t\treturn asIri(literal);\r\n\t\t}\r\n\t\t/*\r\n\t\t * handle as string\r\n\t\t */\r\n\t\treturn literal;\r\n\t}",
"title": ""
},
{
"docid": "ae996c7cd80d7870e5c3df4b0925aee4",
"score": "0.5134845",
"text": "@Test\n public void testStringType()\n {\n SchemaAttribute schemaAttribute = SchemaAttributeBuilder.builder().name(\"id\").type(Type.STRING).build();\n\n final String content = UUID.randomUUID().toString();\n JsonNode attribute = new TextNode(content);\n JsonNode parsedNode = Assertions.assertDoesNotThrow(() -> SimpleAttributeValidator.parseNodeType(schemaAttribute,\n attribute));\n Assertions.assertNotNull(parsedNode);\n MatcherAssert.assertThat(parsedNode.getClass(), Matchers.typeCompatibleWith(ScimTextNode.class));\n Assertions.assertEquals(content, parsedNode.textValue());\n }",
"title": ""
}
] |
ae55dd13cdcb9c623c45e069ad84d9c3 | ==================== Events ==================== Starts the peers | [
{
"docid": "3d77c6782249fc5abde67ca4fed4e489",
"score": "0.0",
"text": "public synchronized void start()\n\t{\n\t\tif (_host == null)\n\t\t\tthrow new IllegalStateException(\"host not set\");\n\t\t_state.start();\n\t}",
"title": ""
}
] | [
{
"docid": "130f94b9072ffbaa91ef1a8d441bc315",
"score": "0.77461034",
"text": "public void startPeerDiscover(){\n peerConnection.startPeerDiscover();\n }",
"title": ""
},
{
"docid": "2a14a860fc29f3ad95823cdf934bceef",
"score": "0.71236706",
"text": "public void start() {\r\n if (!pComms.isAlive() || \r\n !pDisc.isAlive() || \r\n !leaderSelection.isAlive()) {\r\n pComms = new PeerComms(this);\r\n pDisc = new PeerDiscovery(this);\r\n leaderSelection = new Leader(this);\r\n }\r\n pComms.start();\r\n pDisc.start();\r\n leaderSelection.start();\r\n clock.start();\r\n }",
"title": ""
},
{
"docid": "496c7a7c41a02a836050877cc339cad9",
"score": "0.6837943",
"text": "public synchronized void start() {\n logger.info(\"Starting \" + System.getProperty(\"name\") + \" ...\");\n peerServer.start();\n clientServer.start();\n logger.info(\"Started \" + System.getProperty(\"name\") + \" ...\");\n }",
"title": ""
},
{
"docid": "866bfe5ae6cb23dc9c3caac380b7b52d",
"score": "0.6837096",
"text": "private void startDiscovering() {\n manager.discoverPeers(channel, new WifiP2pManager.ActionListener() {\n @Override\n public void onSuccess() {\n Log.w(TAG, \"discovering, discoverPeers success\");\n manager.addServiceRequest(channel, serviceRequest, new WifiP2pManager.ActionListener() {\n @Override\n public void onSuccess() {\n Log.w(TAG, \"discovering, addServiceRequest success\");\n manager.discoverServices(channel, new WifiP2pManager.ActionListener() {\n @Override\n public void onSuccess() {\n Log.w(TAG, \"discoverServices success\");\n }\n\n @Override\n public void onFailure(int reason) {\n Log.w(TAG, \"discoverServices fail: \" + reason);\n }\n });\n }\n\n @Override\n public void onFailure(int reason) {\n Log.w(TAG, \"addServiceRequest fail: \" + reason);\n }\n });\n }\n\n @Override\n public void onFailure(int reason) {\n Log.w(TAG, \"discoverPeers fail: \" + reason);\n }\n });\n }",
"title": ""
},
{
"docid": "e21294b57658a7b4a0ff6001384030f6",
"score": "0.6816608",
"text": "@Override\n\tpublic void start() \n\t{\n\t\t/* Start listening for new senders from clients. */\n\t\tspawn = new ListenerSpawner();\n\t\tspawn.startAccepting();\n\t\tspawn.start();\n\t\tMessageQueue.getInstance().start();\n\t\t\n\t}",
"title": ""
},
{
"docid": "5207bbf3265f7678a32bb8f81420cc16",
"score": "0.67205226",
"text": "public void start() {\n\t\tupnpStart();\n\t}",
"title": ""
},
{
"docid": "f032db264b05258df0ca7c37306ce39e",
"score": "0.66111684",
"text": "public void onStart() {\n try {\n Socket requestSocket = new Socket(\"localhost\", 8080);\n createNewConnection(requestSocket, SERVER_NAME);\n //send a broadcast message to all other users\n Message joinBroadcastMessage = new Message(userName, null, null, null, 0, \"@\" + userName + \" joined!\");\n sendMessage(SERVER_NAME, joinBroadcastMessage);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "ff631172f1d6780ab392d4c9a57c87a8",
"score": "0.65052736",
"text": "public void start() {\r\n startClient(this);\r\n }",
"title": ""
},
{
"docid": "74b4325ad1d577362f20bb6e23cb94ab",
"score": "0.6503936",
"text": "public void start()\n {\n search_thread = new Thread(() -> listen(udp_search, receive_buffer), \"UDP-receiver \" + local_address);\n search_thread.setDaemon(true);\n search_thread.start();\n\n beacon_thread = new Thread(() -> listen(udp_beacon, beacon_buffer), \"UDP-receiver \" + local_address.getAddress() + \":\" + PVASettings.EPICS_PVA_BROADCAST_PORT);\n beacon_thread.setDaemon(true);\n beacon_thread.start();\n }",
"title": ""
},
{
"docid": "b2ef7dbd9fbcbf89f7cb783ec6ba2e41",
"score": "0.6438587",
"text": "@Override\n public void start() {\n SlowDonkey.getInstance().candidate2Leader();\n\n }",
"title": ""
},
{
"docid": "a79404e42c41bfade57828e2d543a318",
"score": "0.6429996",
"text": "public void start() {\n\t\tstartClient(this);\n\t}",
"title": ""
},
{
"docid": "5b21a850b4f12d96a42acf8d8f8d1a4f",
"score": "0.6342831",
"text": "public void start() {\n //mReceiver.start();\n }",
"title": ""
},
{
"docid": "aee04bfec50dcc18ba73d3f55aabd0b6",
"score": "0.6304567",
"text": "private void setRegisteredPeers() {\n for(String name : this.coordinator.getNodes()) {\n String hostOrIp = nodeNameToHostOrIP(name);\n int port = nodeNameToPort(name);\n Peer p = new PeerImpl(hostOrIp, port, null);\n peers.add(p);\n }\n }",
"title": ""
},
{
"docid": "239bba3b0597772adeff24ff52520a23",
"score": "0.6299676",
"text": "private void initialize(){\n\n context = peerConnection.getContext();\n manager = peerConnection.getManager();\n channel = peerConnection.getChannel();\n view = peerConnection.getView();\n port = peerConnection.getPORT();\n playerName = peerConnection.getPlayerName();\n\n receiver = new ClientReceiver(context, manager, channel, this, view);\n peerConnection.setReceiver(receiver);\n registerReceiver();\n }",
"title": ""
},
{
"docid": "67f8f7d8e5aad689512dea435686d773",
"score": "0.62668705",
"text": "public void Start() {\n StartRTCPSenderThread();\n StartRTCPReceiverThread();\n StartRTPReceiverThread();\n }",
"title": ""
},
{
"docid": "4308b900df14e808df71052c16465dfc",
"score": "0.6251715",
"text": "private void ConnectPeer()\n {\n if(Framework.join==1)\n {\n pMe = new Player();\n pMe.ID = pMe.myID = 1; //Master ID is 1\n \n SimpleServer.clientIP[0] = Framework.machineIP;\n \n SimpleServer serverMac = new SimpleServer();\n serverMac.acceptConnection();\n \n recInfoReg = new String[Framework.numOfPlayers-1];\n sendInfoReg = \"1 20 20 1 20 20 0 20 20 0 0 40 40 1 0 50 50 1 0 0 0 0 0\"; //length=21\n \n //This machine will start its UDP servers now\n SimpleUDPserver ser = new SimpleUDPserver();\n \n //Wait for sometime and then start client\n try{\n TimeUnit.SECONDS.sleep(25);\n }\n catch(Exception e){}\n \n SimpleUDPclient[] cli = new SimpleUDPclient[Framework.numOfPlayers-1];\n for(int i=0;i<Framework.numOfPlayers-1;i++)\n {\n cli[i] = new SimpleUDPclient(SimpleServer.clientIP[i+1], i);\n }\n //This machine is connected with all peers\n }\n else if(Framework.join==0)\n {\n pMe = new Player();\n //Let server start its server sockets//Sleep for 2 seconds\n try{\n TimeUnit.SECONDS.sleep(2);\n }\n catch(Exception e){}\n \n SimpleClient clientM = new SimpleClient();\n \n clientM.setConnection(Framework.serverName);\n \n try{\n TimeUnit.SECONDS.sleep(5);\n }\n catch(Exception e){}\n \n //At this instant, this machine has all required info\n pMe.ID = pMe.myID;\n \n recInfo = new String[Framework.numOfPlayers-1];\n recInfoReg = new String[Framework.numOfPlayers-1];\n sendInfoReg = \"1 20 20 1 20 20 0 20 20 0 0 40 40 1 0 50 50 1 0 0 0 0 0\"; //length=21\n \n //start UDP server\n SimpleUDPserver ser = new SimpleUDPserver();\n \n //Wait for sometime and then start client\n try{\n TimeUnit.SECONDS.sleep(25);\n }\n catch(Exception e){}\n \n \n SimpleUDPclient[] cli = new SimpleUDPclient[Framework.numOfPlayers-1];\n for(int i=0;i<Framework.numOfPlayers;i++)\n {\n if(i<pMe.ID-1)\n cli[i] = new SimpleUDPclient(SimpleServer.clientIP[i], i);\n else if(i>=pMe.ID)\n cli[i-1] = new SimpleUDPclient(SimpleServer.clientIP[i], i-1);\n }\n //This machine is connected with all peers\n }\n }",
"title": ""
},
{
"docid": "ca332605a3f7f1c1de5f15cb49fd2b08",
"score": "0.6245604",
"text": "public void restart(){\n startTime = System.nanoTime();\n started = true;\n peerWorkers = Collections.synchronizedList(new ArrayList());\n List<Peer> localPeers;\n\n RUBTClient.debugPrint(getTorrentInfo().announce_url.toString());\n\n scheduleTimer();\n\n localPeers = announcer.getLocalPeers();\n //create and start peerswingworkers\n for (int i = 0; i < localPeers.size(); i++){\n peerWorkers.add(new PeerSwingWorker(this,localPeers.get(i)));\n peerWorkers.get(i).execute();\n }\n chokingHandler = new ChokingHandler(this);\n chokingHandler.execute();\n \n }",
"title": ""
},
{
"docid": "750f7c4f9d0ff5baf6deefa4dbf783b7",
"score": "0.6242094",
"text": "public void start() {\n registerEvents();\n }",
"title": ""
},
{
"docid": "b01e6fcc18403bea39af9955ec63a62d",
"score": "0.6209952",
"text": "public void start() {\r\n isRunning = true;\r\n allDatanode.start();\r\n namenode.start();\r\n router.start();\r\n }",
"title": ""
},
{
"docid": "7002e0b45587652e771daa9ab21e50d0",
"score": "0.6205175",
"text": "public void start() throws Exception {\n\t\tLOG.info(\"Starting {}\", this);\n\n\t\tthis.listeners.values().forEach(l -> l.getAcceptingChannel().resumeAccepts());\n\t}",
"title": ""
},
{
"docid": "b88749c1f687a9ab7c04e9527a2ebcac",
"score": "0.62029403",
"text": "void notifyNewPeersPresent() {\n\t\tsynchronized (newPeerListeners) {\n\t\t\tfor (NewPeerListener npl : newPeerListeners) {\n\t\t\t\tnpl.newPeersPresent();\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "95da1316cf9f14407ce3b6eee480683e",
"score": "0.6189028",
"text": "private void sendStart()\n\t{\n\t\tJSONObject response = new JSONObject();\n\t\tresponse.put(\"Type\", \"Start\");\n\t\t\n\t\tsendBroadcast(response);\n\t}",
"title": ""
},
{
"docid": "053b86d9f2b1a20e6171c07da06ff78d",
"score": "0.6185508",
"text": "public void start() {\n\n System.out.println(\"Gathering file info\");\n setFileInfo();\n\n if (peer.getVersion().equals(\"1.1\")) {\n Runnable enhancedRestore = new RestoreEnhanced(this);\n peer.getDeliverExecutor().submit(enhancedRestore);\n }\n\n System.out.print(\"Requesting chunks\");\n requestChunks();\n do {\n try {\n sleep(3000);\n if (restoredChunks < numberOfChunks)\n requestChunks();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.println(\"Restored Chunks: \" + restoredChunks);\n System.out.println(\"Number of Chunks: \" + numberOfChunks);\n } while (restoredChunks < numberOfChunks);\n System.out.println(\"Constructing File\");\n constructFile();\n System.out.println(\"Finished Restore\");\n if (peer.getVersion().equals(\"1.1\")) {\n try {\n listener.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }",
"title": ""
},
{
"docid": "71da13f828e87ad1b6ddad9121a00551",
"score": "0.6147652",
"text": "public void startServers()\n {\n MessageServer messageServer = MessageServer.getInstance();\n messageServer.start();\n LoggingManager.log(\"[Server manager] Started Message server\");\n \n ServerMessageSender sendServer = ServerMessageSender.getInstance();\n sendServer.start();\n LoggingManager.log(\"[Server manager] Started Message broadcast server\");\n \n UpdateBroadcastServer broadcastServer = UpdateBroadcastServer.getInstance();\n broadcastServer.start();\n LoggingManager.log(\"[Server manager] Started Update broadcast server\");\n }",
"title": ""
},
{
"docid": "eecf02ff0e9c2dccfdcdfa80658556ea",
"score": "0.6145955",
"text": "void start()\n\t{\n\t\tCommandClient cC = new CommandClient(FileReader.readConfig(\"BotId\"));\n\t\tcC.addListener(new BotListener(\"//\"));\n\t\tactivateCommands();\n\t\t\n\t\t//RockPaperScissors rps = new RockPaperScissors();\n\t\t\n\t\t//System.out.println(bot.getApplicationClientID());\n\t\t\n\t\t// This registers the listener with event dispatcher.\n\t\t//EventDispatcher dispatch = bot.getDispatcher();\n\t\t//dispatch.registerListener(new BotListener());\n\t}",
"title": ""
},
{
"docid": "5a9e2ef84419a0e01715d0b018bcdda7",
"score": "0.61170584",
"text": "public void start() {\r\n\t\tlogOutput(\"started.\");\r\n\t\tthis.addTimer(mPingTimeout, \"pingTimedOut\");\r\n\t\tthis.addTimer(mNeighborTimeout, \"timeoutNeighbors\");\r\n\t\tthis.addTimer(mNeighbroDiscoveryPeriod, \"discoverNeighbors\");\r\n\r\n\t\t// use protocol: distance vector\r\n\t\tif (mProtocol == Protocol.DV_INFO_PKT) {\r\n\t\t\tthis.addTimer(mDistanceVectorPeriod, \"sendDistanceVector\");\r\n\t\t}\r\n\r\n\t\t// use protocol: link state\r\n\t\tif (mProtocol == Protocol.LINK_INFO_PKT) {\r\n\t\t\tthis.addTimer(mLinkStatePeriod, \"sendLinkState\");\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "74db12b2580f12f493bfc5af5be2edb9",
"score": "0.6116148",
"text": "public void startup() {\n LOGGER.log(Level.FINER, \"Beginning startup process\");\n for (Integer room : config.getRooms()) {\n chatInterface.joinChat(new SeChatDescriptor.DescriptorBuilder(config.getSite()).setRoom(() -> room).build());\n }\n bots.forEach(ChatWorker::start);\n LOGGER.log(Level.FINER, \"Startup completed.\");\n }",
"title": ""
},
{
"docid": "3a82e9b15f3b3d823c60343ee489401f",
"score": "0.6095289",
"text": "public synchronized void checkAndStartMainThread() {\n super.checkAndStartMainThread();\n notifyPeerManagerStart();\n }",
"title": ""
},
{
"docid": "46a697adebeb5a4af9c8612d9ac065d6",
"score": "0.6084536",
"text": "private void connect() {\r\n\t\t// The receiver has to be initiated first...\r\n\t\tif (hostNameOrIPAddr.equals(\"localhost\")) {\r\n\t\t\t// add a receiver for the local device...\r\n\t\t\tlocalHostActionReceiver = new ActionReceiver();\r\n\t\t}\r\n\r\n\t\tsender = new ActionSender(hostNameOrIPAddr, ActionReceiver.DEFAULT_JAVA_PORT, ClientServerType.JAVA);\r\n\t}",
"title": ""
},
{
"docid": "a5109ce84541d6cecacfb5ebe2c722cb",
"score": "0.6084154",
"text": "public void onPeersAvailable(WifiP2pDeviceList peers) {\n if (myServiceState == ServiceState.DiscoverService) {\n return;\n }\n\n if (callback != null) {\n // we do want to inform also when we get zero peer list\n // this would inform the plugin that all peers are now unavailable\n callback.gotPeersList(peers.getDeviceList());\n }\n if (peers.getDeviceList().size() > 0) {\n //tests have shown that if we have multiple peers with services advertising\n // who disappear same time when we do this, there is a chance that we get stuck\n // thus, if this happens, in 60 seconds we'll cancel this query and start peer discovery again\n ServiceDiscoveryTimeOutTimer.start();\n startServiceDiscovery();\n } //else //we'll just wait\n }",
"title": ""
},
{
"docid": "b18f157b65289f727ff01806901ff37c",
"score": "0.60770357",
"text": "void initializeConnectionToPeers(Collection<PeerInfoDAO> peersToBeConnected) {\n Iterator<PeerInfoDAO> iter = peersToBeConnected.iterator();\n while (iter.hasNext()) {\n do {\n Socket socket = null;\n PeerInfoDAO peer = iter.next();\n try {\n LoggerConfiguration.getLogger().debug(\" Initializing the Connection from peer:\"+ peerId+ \" to peer: \" + peer.getPeerId()+ \" (\" + peer.peerAddr + \":\" + peer.getPort() + \")\");\n socket = new Socket(peer.peerAddr, peer.getPort());\n // This is used to send the TCP connection requests from this peer to the peers \n if (addConnectionHandlerToList(new CommunicationChannelHandler(peerId, true, peer.getPeerId(),socket, fileManager, peerManager))) {\n iter.remove();\n LoggerConfiguration.getLogger().debug(\"Peer: \"+ peerId +\"makes a connection to Peer: \"+ peer.getPeerId());\n\n }\n }\n catch (ConnectException ex) {\n LoggerConfiguration.getLogger().warning(\"Connection Failed from Peer:\" + peerId + \" to peer: \" + peer.getPeerId()+ \" at address \" + peer.peerAddr + \":\" + peer.getPort());\n if (socket != null) {\n try {\n socket.close();\n } catch (Exception e)\n {\n \tLoggerConfiguration.getLogger().warning(\"Socket Close failed at Peer:\" + peerId + \" Exception:\"+ e);\n }\n }\n }\n catch (IOException ex) {\n \tLoggerConfiguration.getLogger().warning(\"IO Exception Occured while connecting from peer:\" + peerId + \" to peer: \" + peer.getPeerId()+ \" at address \" + peer.peerAddr + \":\" + peer.getPort() + \"\\n Exception:\"+ ex);\n if (socket != null) {\n try {\n socket.close();\n } catch (IOException e)\n {\n \tLoggerConfiguration.getLogger().warning(\"Socket Close failed at Peer:\" + peerId + \" Exception:\"+ e);\n }\n }\n }\n }\n while (iter.hasNext());\n iter = peersToBeConnected.iterator();\n try {\n Thread.sleep(5);\n } catch (InterruptedException ex) {\n }\n }\n }",
"title": ""
},
{
"docid": "0259b749069618994de4a3993ce5cd84",
"score": "0.6075876",
"text": "public void start() {\n\t\tclient.subscribeObserver(mr);\n\t\t\n\t\t//connect clients to the kafka broker and start receiving messages\n\t\tclient.start();\n\t\t\n\t\t//wait for 10 seconds while we receive messages\n\t\t\t\t\n\t\t\t\n\n\t}",
"title": ""
},
{
"docid": "e6dd8ce2adf66bedcbf499f582297371",
"score": "0.60749555",
"text": "private void start() {\n System.out.println(\"Starting server...\");\n try {\n ServerSocket serverSocket = new ServerSocket(port);\n System.out.println(\"Server waiting for Clients on port \" + port + \".\");\n\n while (true) {\n Socket socket = serverSocket.accept();\n Runnable r = new ClientThread(socket, uniqueId++);\n Thread t = new Thread(r);\n clients.add((ClientThread) r);\n t.start();\n System.out.println(\"Server waiting for Clients on port \" + port + \".\");\n }\n } catch (IOException e) {\n// e.printStackTrace();\n System.out.println(\"Could not start server on given port!\");\n }\n }",
"title": ""
},
{
"docid": "aec0758d63b12b1a8e27b3b8b9799794",
"score": "0.6070875",
"text": "private void start() {\r\n System.out.println(\"Server waiting for clients on port 1500.\");\r\n try {\r\n ServerSocket serverSocket = new ServerSocket(port);\r\n while(true) {\r\n Socket socket = serverSocket.accept();\r\n Runnable r = new ClientThread(socket, uniqueId++);\r\n Thread t = new Thread(r);\r\n clients.add((ClientThread) r);\r\n t.start();\r\n System.out.println(((ClientThread) r).username + \" just connected.\");\r\n System.out.println(\"Server waiting for clients on port 1500.\");\r\n\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"title": ""
},
{
"docid": "60385cbe28d41fb3d36cbccb908c71d6",
"score": "0.60489666",
"text": "public void onOpen(WebSocketConnection connection) {\n peers.addPeer(connection);\n Log.info(\"START SOCKET : \");\n }",
"title": ""
},
{
"docid": "a7fcdc6148c85f7fbb6d06adefa43d87",
"score": "0.6032997",
"text": "public static void main(String[] args) {\n {\n try {\n Peer node = parseArguments(args);\n startup(0, node, PeerCommands.getPeerCommands(node), \"Peer->\");\n }\n catch (Exception e) {\n logger.log(Level.SEVERE, \"Startup failed\", e);\n }\n }\n }",
"title": ""
},
{
"docid": "b5bcfe9f1af81469fc71bd017c98c50c",
"score": "0.6024748",
"text": "public void Start()\n\t{\n\t\ttry\n\t\t{\n\t\t\tQueueReceiver receiver = new QueueReceiver(0);\n this.receivers.add(receiver);\n\t\t} catch (MqttException ex) {\n\t\t\tLOG.warn(\"Error creating MqttClient receiver\", ex);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "1fe7509d5d7d50433cd271dae9ce7d6c",
"score": "0.6023388",
"text": "public void start() {\n\t\ttry {\n\t\t\tServerSocket server = ServerSocketFactory.getDefault().createServerSocket(this.port);\n\t\t\t//ServerSocket server = new ServerSocket(this.port);\n\t\t\tSystem.out.println(\"ServerSocket InetAddress: \" + server.getInetAddress());\n\t\t\tSystem.out.println(\"ServerSocket port: \" + server.getLocalPort());\n\t\t\tSystem.out.println(\"ServerSocket localAddress: \" + server.getLocalSocketAddress());\n\t\t\t\n\t\t\t/* Loops and gives a new thread and socket to each client */\n\t\t\twhile (server.isBound() && this.isConnected()) {\n\t\t\t\tSocket client = server.accept();\n\t\t\t\t\n\t\t\t\tSystem.out.printf(\"Client connected: %s%n\", client.getInetAddress());\n\t\t\t\t\n\t\t\t\tClientHandler serverClient = new ClientHandler(client, this);\n\t\t\t\t\n\t\t\t\tthis.clients.add(serverClient);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "06af97d7feebfb7067abdf2434d7562a",
"score": "0.6020949",
"text": "@Override\n public void run() {\n try {\n ServerSocket serverSocket = new ServerSocket(portNo);\n while (!isTerminateFlag.get()) {\n try {\n LoggerConfiguration.getLogger().info(\": Peer:\" + peerId + \" started listening on port \" + portNo + \".\");\n // This is used to accept the connection requests from the peers to this peer\n addConnectionHandlerToList(new CommunicationChannelHandler(peerId, serverSocket.accept(), fileManager, peerManager));\n\n } catch (Exception e) {\n LoggerConfiguration.getLogger().warning(e);\n }\n }\n } catch (IOException ex) {\n LoggerConfiguration.getLogger().warning(ex);\n } finally {\n LoggerConfiguration.getLogger().warning(\"terminating, TCP connections will no longer be accepted.\");\n }\n }",
"title": ""
},
{
"docid": "a3c0f7e574f35646107246509e33325e",
"score": "0.6011957",
"text": "public void start() throws SocketException {\n\t\tthis.senderSocket = new DatagramSocket();\n System.out.println(\n \"Sender socket running on \" + \n this.senderSocket.getLocalAddress().toString() + \":\" + \n this.senderSocket.getLocalPort() + \".\"\n );\n this.receiverSocket = new DatagramSocket(this.port + PORT_OFFSET);\n System.out.println(\n \"Receiver socket running on \" + \n this.receiverSocket.getLocalAddress().toString() + \":\" + \n this.receiverSocket.getLocalPort() + \".\"\n );\n\t}",
"title": ""
},
{
"docid": "f95e7dfe27a8baec2952f38d9ab1578b",
"score": "0.6011038",
"text": "private void startJxta() {\n try {\n //Discover and join (or start) the default peergroup\n netpg = PeerGroupFactory.newNetPeerGroup();\n } catch (PeerGroupException e) {\n //Couldn't initialize; can't continue\n System.out.println(\"Fatal error : creating the NetPeerGroup\");\n System.exit(1);\n }\n\n // Discover (or create) and join the RestoNet peergroup\n try {\n joinRestoNet();\n } catch (Exception e) {\n System.out.println(\"Can't join or create RestoNet\");\n System.exit(1);\n }\n\n // Wait while we process requests\n synchronized(RestoPeer.class) {\n try {\n RestoPeer.class.wait();\n\t } catch (InterruptedException ie) {\n\t System.out.println(\"Interrupted; exiting\");\n\t }\n }\n }",
"title": ""
},
{
"docid": "cdd4f643692a7110eca182fa3a9c0fc1",
"score": "0.59924674",
"text": "public void run()\n\t{\n\t\tlogger.info(\"Controller has been started\");\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\t_init_();\n\t\t\t\n\t\t\ttracker_controller.start();\n\t\t\t\n\t\t\tin_controller.start();\n\n\t\t\tlong check_point = Calendar.getInstance().getTimeInMillis() + 30000;\n\t\t\twhile(am_alive)\n\t\t\t{\n\t\t\t\t//Thread.yield();\n\t\t\t\t//assigns peer controllers to the peers waiting\n\t\t\t\tsynchronized(waiting_list_lock){\n\t\t\t\t\twhile(!waiting_list.isEmpty() /*&& getUnchokeCount() <= 10*/)\n\t\t\t\t\t{\n\t\t\t\t\t\tPeer p = waiting_list.peek();\n\t\t\t\t\t\tpeers.add(p);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(rubt.gui!=null)\n\t\t\t\t\t\t\trubt.gui.update(new ActionEvent(this,GUI.NEW_PEER,\"\"));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tassignController(p);\n\t\t\t\t\t\t//System.out.println(waiting_list.size());\n\t\t\t\t\t\twaiting_list.remove();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (Calendar.getInstance().getTimeInMillis() >= check_point)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"CHECKPOINT REACHED\");\n\t\t\t\t\t\n\t\t\t\t\tchokeWorstPeer();\n\t\t\t\t\tunchokeRandomPeer();\n\t\t\t\t\t\n\t\t\t\t\tcheck_point += 30000;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tlogger.debug(e.getMessage());\n\t\t\tlogger.debug(\"Exception in Controller. Closing...\");\n\t\t\tthis.close();\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "4fe837ba5f41389d0d75e7236da0adae",
"score": "0.5982539",
"text": "public synchronized void start() {\n\t\tif (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;}\n\t\n\t\t// Cancel any thread currently running a connection\n\t\tif (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;}\n\t\n\t\tsetState(STATE_LISTEN);\n\t\n\t\t// Start the thread to listen on a BluetoothServerSocket\n\t\tif (mSecureAcceptThread == null) {\n\t\t\tmSecureAcceptThread = new AcceptThread();\n\t\t\tmSecureAcceptThread.start();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "6486c4d87455624ef831eb9131b30a2a",
"score": "0.59773576",
"text": "public void start() {\n if (receivingCommandsTrue) {\n return;\n }\n System.out.println(welcomeMsg());\n receivingCommandsTrue = true;\n server = new ConnectionWithServer();\n new Thread(this).start();\n }",
"title": ""
},
{
"docid": "ad121e6d55bfb7bc12c63788a07b9599",
"score": "0.5971948",
"text": "@Override\n public void sendStartMessage() {\n\n }",
"title": ""
},
{
"docid": "6f260472c5a343d2fd91a07665c35b5e",
"score": "0.5958458",
"text": "void initializeManagers() {\n \tthis.fileManager.registerListener(this);\n \tthis.peerManager.registerListener(this);\n\n \t// If the peer already has a file, it splits the file to pieces for transferring to other peers\n if (this.hasFile) {\n \n fileManager.splitFile();\n fileManager.setAllPiecesAvailable();\n }\n LoggerConfiguration.getLogger().info(\"Bitfield initialized for peer succesfully. BitSet data:- \" + fileManager.getIsPieceAvailable());\n // Initialize the PeerManager Thread\n Thread t = new Thread(peerManager);\n t.setName(\"peerManager- \"+ peerId);\n t.start();\n }",
"title": ""
},
{
"docid": "8b99ea71e0ba67a7de8ca8a726462bfe",
"score": "0.5946476",
"text": "public void startNewPeer(CKBService ckbService, CKBSystem newPeerCkbSystem, String nodePath)\n throws InterruptedException, IOException {\n // get local node info\n int size = ckbService.localNodeInfo().send().getNodeInfo().addresses.size();\n printout(\"size is\" + size);\n String localAddress = ckbService.localNodeInfo().send().getNodeInfo().addresses.get(0).address;\n printout(\"localAddress is \", localAddress);\n\n // update node2\n String updateAddrCmd = \"echo \" + localAddress + \"| perl -pe 's|\\\\/|\\\\\\\\\\\\/|g;s|0.0.0.0|127.0.0.1|g'\";\n newPeerCkbSystem.runCommandWithDocker(updateAddrCmd);\n String updateAddr = newPeerCkbSystem.getStdoutString();\n newPeerCkbSystem.updateBlockAssemblerConfig();\n String changePort = \"cd \" + nodePath + \" && sed -i 's/8115/8117/;s/8114/8116/' ckb.toml\";\n newPeerCkbSystem.runCommandWithDocker(changePort, \"-d -it\");\n String changeBoot = \"cd \" + nodePath + \" && sed -i 's/bootnodes = \\\\[]/bootnodes = \\\\[\\\\\\\"\" + updateAddr\n + \"\\\\\\\"]/' ckb.toml\";\n newPeerCkbSystem.runCommandWithDocker(changeBoot, \"-d -it\");\n // start node2\n String ckbNode2Run = \"ckb -C \" + nodePath + \" run\";\n newPeerCkbSystem.runCommandWithDocker(ckbNode2Run, \"-d -it\");\n sleep(5000);\n }",
"title": ""
},
{
"docid": "df2b97cd7b45b9db32e217a35f05d882",
"score": "0.5942372",
"text": "public void start() throws IOException {\n serverSocket = new ServerSocket(port); \n //System.out.println(\"Esperando por clientes...\");\n Socket client = serverSocket.accept();\n enviaPepo(client);\n }",
"title": ""
},
{
"docid": "4483884fc39d16ab2e3c30c9b6ea0b7d",
"score": "0.5936696",
"text": "public void requestPeers(WifiP2pManager.PeerListListener listener) {\n\t\tmWifiP2pManager.requestPeers(mChannel, listener);\n\t}",
"title": ""
},
{
"docid": "b055f0b2275b3c8da0be45b14be3d7a5",
"score": "0.5931581",
"text": "public void use()\r\n\t{\r\n\t\tthis.start();\r\n\t\tthis.setListening(true);\r\n\t}",
"title": ""
},
{
"docid": "0f6aa1461a1276eb0f5b0c1eb496f8e2",
"score": "0.5927887",
"text": "public PeerNode() {\r\n peers = new HashMap<>();\r\n //initialize the vector collection\r\n vectorStamps = new HashMap<>();\r\n //begins this vector at zero\r\n vectorStamps.put(this, time);\r\n pDisc = new PeerDiscovery(this);\r\n try {\r\n address = InetAddress.getLocalHost().getHostAddress();\r\n } catch (UnknownHostException ex) {\r\n Logger.getLogger(PeerNode.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n pComms = new PeerComms(this);\r\n leaderSelection = new Leader(this);\r\n observers = new ArrayList<>();\r\n clock = new ClockSet(this);\r\n try {\r\n fileServer = new RMIFileServer(System.getProperty(\"user.home\"), clock);\r\n System.out.println(\"RMI server up.\");\r\n } catch (RemoteException e) {\r\n System.err.println(\"Error making the rmi server: \" );\r\n }\r\n \r\n \r\n }",
"title": ""
},
{
"docid": "d3ac56c3790171722aec247f806a4098",
"score": "0.59254867",
"text": "private void startDiscovery()\n {\n\t\tbtAdapter.cancelDiscovery();\n\t\tbtAdapter.startDiscovery();\n\t}",
"title": ""
},
{
"docid": "1672de0a4350f0d0e6fb585be4536368",
"score": "0.59161204",
"text": "private void startDiscovery() {\n if( !DualStackDiscoveryAgent.getInstance().isDiscovering() ) {\n try {\n DualStackDiscoveryAgent.getInstance().startDiscovery( this );\n } catch (DiscoveryException e) {\n Log.e(\"Sphero\", \"DiscoveryException: \" + e.getMessage());\n }\n }\n }",
"title": ""
},
{
"docid": "22769d978a2101d2339f993bbf05e846",
"score": "0.5902889",
"text": "public void launch() {\n\t\tengine = new RPubNetworkEngine();\r\n \ttry {\r\n\t\t\tengine.connect();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (AlreadyConnectedException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n \tlaunchTime = System.currentTimeMillis();\r\n \tinCooldown = true;\r\n\t}",
"title": ""
},
{
"docid": "78bffb5275906c4cb8d50f68fa288c5f",
"score": "0.5901717",
"text": "public void enableChatter() {\n core.getPeerInstances().forEach(p -> {\n p.communicationState().chatterSyncStarted();\n p.communicationState().chatterSyncStartingPhase3();\n p.communicationState().chatterSyncSucceeded();\n p.communicationState().chatterStarted();\n });\n }",
"title": ""
},
{
"docid": "aa4b632081342b649f510469c06e5511",
"score": "0.58982086",
"text": "public void startClient() {\n\t\tSystem.out.println(\"CLIENTConnectionManager running\");\r\n\t\tSystem.out.println(\"and is NOT connected to userControl\");\r\n\r\n\t\t// TODO connect to ClientManager(helps to find serverParts)\r\n\r\n\t\t// start new Client\r\n\r\n\t}",
"title": ""
},
{
"docid": "34756957235101437cf9fa35746ec28a",
"score": "0.5890683",
"text": "@Override\n\tpublic void run() {\n\t\tIndexServer is = new IndexServer(3003,\"/src/P2Pfile/Peer3/filefolder\" );\n\t\tSystem.out.println(\"Peer3Server Start\");\n\t\tis.ConnectionAccept();\n\t\t\n\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "b4d00fee25e090d5270d6304c967bc42",
"score": "0.5885855",
"text": "public void start() {\n\n\t}",
"title": ""
},
{
"docid": "f53b5a342914aa29958049c53aca99cc",
"score": "0.58796734",
"text": "public void start() {\n\t\tBundleDaemon.getInstance().start();\n \tDiscoveryTable.getInstance().start();\n \tBPF.getInstance().getBPFLogger().info(TAG, \"BPF has been started\");\n \tisRunning = true;\n\t}",
"title": ""
},
{
"docid": "bac3243c43379813280001b2b6ffeec8",
"score": "0.58766437",
"text": "@Override\n public void start() throws Exception {\n super.start();\n EventBus bus = vertx.eventBus();\n bus.consumer(\"news-feed\", message -> System.out.println(\"Received news on consumer 1: \" + message.body()));\n bus.consumer(\"news-feed\", message -> System.out.println(\"Received news on consumer 2: \" + message.body()));\n bus.consumer(\"news-feed\", message -> System.out.println(\"Received news on consumer 3: \" + message.body()));\n System.out.println(\"Ready!\");\n }",
"title": ""
},
{
"docid": "a18656645d5823925bd1a68c29c90a40",
"score": "0.5876633",
"text": "private void startReceivers() {\n\t\t/*\n\t\t * Start command receiver\n\t\t */\n\t\tthis.m_commandReceiverRunnable = new CommandReceiver();\n\t\tthis.m_commandReceiverThread = new Thread(this.m_commandReceiverRunnable);\n\t\tthis.m_commandReceiverThread.start();\n\t\t\n\t\t/*\n\t\t * Start link receiver\n\t\t */\n\t\tthis.m_linkReceiverRunnable = new LinkReceiver();\n\t\tthis.m_linkReceiverThread = new Thread(this.m_linkReceiverRunnable);\n\t\tthis.m_linkReceiverThread.start();\n\t}",
"title": ""
},
{
"docid": "282b3c1bb64e1692d93ec33c4c2b223f",
"score": "0.58617806",
"text": "@Override\n\tpublic void run() {\n\t\tpn.start();\n\t\twhile(shouldRun){\n\t\t\tScanner scan;\n\t\t\tString host=\"\";\n\t\t\t\n\t\t\ttry {\t\n\t\t\t\t\n\t\t\t\tscan = new Scanner(db.getIpListFile());\n\t\t\t\twhile (scan.hasNextLine()) \n\t\t { \n\t\t host = scan.nextLine(); \n\t\t if(!db.integrityCheck(db.getPeerListFile(), host))\n\t\t \tpn.connectToPeer(host, 8015);\n\t\t }\n\t\t\t\tscan.close();\n\t\t\t\t\n//\t\t\t\tpn.connectToPeer(\"192.168.150.11\", 8015);\n\t\t\t\tThread.sleep(term);\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tSystem.out.println(\"connectToPeer ( \"+host+\" ) detected an error...\");\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0abfc5ba7cf133b391c81ea9301ba09c",
"score": "0.5860925",
"text": "public WrapperStatus start_upnp();",
"title": ""
},
{
"docid": "481a23cd6e96aa558da5e04b1d57d18f",
"score": "0.58586025",
"text": "private void start() {\n }",
"title": ""
},
{
"docid": "481a23cd6e96aa558da5e04b1d57d18f",
"score": "0.58586025",
"text": "private void start() {\n }",
"title": ""
},
{
"docid": "481a23cd6e96aa558da5e04b1d57d18f",
"score": "0.58586025",
"text": "private void start() {\n }",
"title": ""
},
{
"docid": "75d19866b6594ac6f1adc52fea5bfca7",
"score": "0.58548796",
"text": "@Override\n public void start() {\n if (heartBeatService != null) {\n return;\n }\n addSeedNodes();\n QueryCoordinator.getINSTANCE().setMetaGroupMember(this);\n super.start();\n }",
"title": ""
},
{
"docid": "e97bde838aeab5e21b76b1e8af823453",
"score": "0.5852234",
"text": "public void start() {\r\n\t}",
"title": ""
},
{
"docid": "e97bde838aeab5e21b76b1e8af823453",
"score": "0.5852234",
"text": "public void start() {\r\n\t}",
"title": ""
},
{
"docid": "825032f7673eacbef6321ebfa9f9a2e6",
"score": "0.58513635",
"text": "protected final void start() {\n\t\ttry {\n\t\t\t// Create a default context for Camel\n\t\t\tcamelContext = new DefaultCamelContext();\n\t\t\tProducerTemplateSingleton.setContext(camelContext);\n\t\t\tURL configFilePath = ClassLoader.getSystemResource(\"config.txt\");\n\t\t\tString jsonString = fileToString(configFilePath.getFile());\n\t\t\ttopology = new HTopology(jsonString);\n\t\t\tif(isValidActors()){\n\t\t\t\tsetStatus(HubotStatus.CREATED);\n\t\t\t\t//Connecting to HNode\n\t\t\t\tHOptions options = new HOptions();\n\t\t\t\toptions.setTransport(\"socketio\");\n\t\t\t\tJSONArray endpoints = new JSONArray();\n\t\t\t\tendpoints.put(topology.getHserver());\n\t\t\t\toptions.setEndpoints(endpoints);\n\t\t\t\thClient.onStatus(statusDelegate);\n\t\t\t\thClient.connect(topology.getActor(), topology.getPwd() , options);\n\t\t\t}\n\t\t\t// see onStatus to know how this actor go the started status\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Oooops a big error on starting this bot : \", e);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "293d38dae742caa5ac5990d25c972fc8",
"score": "0.58501774",
"text": "private void _init_() throws Exception\n\t{\n\t\tHashMap tracker_response = tracker.connect(0,0,rubt.getBytesLeft(),\"started\");\n\t\tif(tracker_response==null){\n\t\t\tlogger.error(\"Bailing out...\");\n\t\t\tthrow new Exception(\"Could not initialize tracker\");\n\t\t}\n\t\t//retrives the peer list from the tracker\n\t\tupdatePeerList(tracker.getPeerList());\n\t\t/*\n\t\tpeers = tracker.getPeerList();\n\t\tif(rubt.gui!=null)\n\t\trubt.gui.update(new ActionEvent(this,GUI.NEW_PEER,\"\"));\n\t\t//assigns the peers their controller\n\t\tfor (int i=0; i<peers.size(); i++)\n\t\t{\n\t\t\tPeer p = peers.get(i);\n\t\t\tif(isPeerValid(p))\n\t\t\t{\n\t\t\t\tassignController(p);\n\t\t\t}\n\t\t}*/\n\t}",
"title": ""
},
{
"docid": "ae5b072efe0ce29bf7161a60e4c5607b",
"score": "0.5846031",
"text": "protected void onServiceStarting()\n {\n super.onServiceStarting();\n \n TcpAcceptor.TcpProcessor processor = getProcessor();\n processor.start();\n \n _trace(\"TcpAcceptor now listening for connections on \"\n + getSocketProvider().getAddressString(processor.getServerSocket()), 3);\n }",
"title": ""
},
{
"docid": "91d516513dc556a961620b6e10cc0311",
"score": "0.58434576",
"text": "public void start() {\r\n generateConnectionPresenter().displayInitialPrompt();\r\n }",
"title": ""
},
{
"docid": "e4269f930bc9c10ce429667af6702fd7",
"score": "0.58366597",
"text": "public synchronized void start() {\n\n // Cancel any thread attempting to make a connection\n if (mConnectThread != null) {\n mConnectThread.cancel();\n mConnectThread = null;\n }\n\n // Cancel any thread currently running a connection\n if (mConnectedThread != null) {\n mConnectedThread.cancel();\n mConnectedThread = null;\n }\n\n setState(STATE_LISTEN);\n\n // Start the thread to listen on a BluetoothServerSocket\n if (mSecureAcceptThread == null) {\n mSecureAcceptThread = new AcceptThread(true);\n mSecureAcceptThread.start();\n }\n if (mInsecureAcceptThread == null) {\n mInsecureAcceptThread = new AcceptThread(false);\n mInsecureAcceptThread.start();\n }\n }",
"title": ""
},
{
"docid": "d5b0b9cbb104b3602ce9390cdad54f77",
"score": "0.58308405",
"text": "public void start() {\n // starts server thread\n server.start();\n server.addListener(this);\n try {\n // bind ports\n server.bind(tcp, udp);\n } catch (IOException ex) {\n // if is unsuccessfull we abort stating\n Utils.error(\"Cannot create server\", ex);\n stop();\n return;\n }\n\n System.out.println(\"Server started on port: \" + tcp);\n System.out.println(\"-------------------------------\\nFor exit press Control+C\\n\");\n\n // server is now running\n running = true;\n updateLoop();\n }",
"title": ""
},
{
"docid": "b63711988479dfd326e1e48ee58d6ee4",
"score": "0.5824404",
"text": "public void start() {\n\t}",
"title": ""
},
{
"docid": "ffb8a844be4e1d55d1e9f94345a1a9ee",
"score": "0.5818964",
"text": "public void fireStart() {\r\n\t\t\tfor (ETMLiveListener<R> listener : getListeners()) {\r\n\t\t\t\tlistener.start();\r\n\t\t\t}\r\n\t\t}",
"title": ""
},
{
"docid": "3e9cd33d538bc8c342a43f593897fc45",
"score": "0.5818131",
"text": "private void receivePeerInfo() {\n\t\t\t\ttry {\n\t\t\t\t\tint port = dis.readInt();\n\t\t\t\t\tSystem.out.println(\"Received Peer Server at Port \" + port);\n\t\t\t\t\tpeerList.add(new Peer(id, this.socket.getInetAddress(), port));\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t}\n\t\t\t}",
"title": ""
},
{
"docid": "bc95c55e0f868c4b2097560cc90ad2ac",
"score": "0.58142257",
"text": "public void start()\n\t{\n\t}",
"title": ""
},
{
"docid": "b5e0766f02fca9c613a4b212fc5c10b9",
"score": "0.5809314",
"text": "public void start() {}",
"title": ""
},
{
"docid": "7c110b16a63ba718a949819fd602a796",
"score": "0.5806119",
"text": "public void start() throws Exception {\n\n\n Inet4Address address;\n try {\n address = getIPv4AddressStatic();\n } catch (UnknownHostException | SocketException e) {\n throw new Error(e);\n }\n\n PortMapping desiredMapping = new PortMapping(\n DEFAULT_PORT,\n address.getHostAddress(),\n PortMapping.Protocol.TCP\n );\n\n UpnpService upnpService = new UpnpServiceImpl(\n new PortMappingListener(desiredMapping)\n );\n\n\n upnpService.getControlPoint().search();\n\n /* Use this is OK, load the ip dynamically\n\n UpnpServiceImpl upnpService = null;\n PortMapping[] arr = null;\n List<String> addressList;\n int i = 0;\n addressList = getIPv4Address();\n\n if(addressList != null) {\n\n arr = new PortMapping[addressList.size()];\n\n for (String address : addressList) {\n\n LOG.info(\"Ip Address \" + address);\n arr[i] = new PortMapping(9090, address, PortMapping.Protocol.TCP, \"My Port Mapping1\");\n i++;\n\n }\n\n upnpService = new UpnpServiceImpl(new PortMappingListener(arr));\n upnpService.getControlPoint().search();\n\n }*/\n\n this.initialize();\n LOG.info(\"Starting the internal server\");\n this.server.start();\n\n LOG.info(\"Server URI = \" + this.server.getURI());\n this.server.join();\n\n }",
"title": ""
},
{
"docid": "08670ec5ebd6a161a3087dd134ab3b2c",
"score": "0.57982886",
"text": "public void init(){\n\t\tListener listener = new Listener(peerID, neighbors, idParser, itemRequest);\n\t\tlistener.start();\n\t\tRequester requester = new Requester(peerID, neighbors, idParser, itemRequest, N, outputFile);\n\t\trequester.start();\n\t}",
"title": ""
},
{
"docid": "6a4b6e25df327dd0fdf534a27800e1f6",
"score": "0.5797152",
"text": "public static void startParticipant()\n {\n secondParticipant = startChromeInstance();\n\n openRoom(secondParticipant, null);\n\n ((JavascriptExecutor) secondParticipant)\n .executeScript(\"document.title='SecondParticipant'\");\n }",
"title": ""
},
{
"docid": "78762631df81ad764c0fd9cb5fe4b8b1",
"score": "0.5795783",
"text": "public void start() {\n System.out.println(\"Welcome to hangman. Type in 'Connect.' to connect to the sever. Type 'Disconnect.' to disconnect.\");\n System.out.println(\"Enter 'ConnectAddr.' to connect to a specific IP.\");\n System.out.println(\"Enter 'Start.' to start a new game after a connection has been established.\");\n if (receivingCommands) {\n return;\n }\n receivingCommands = true;\n controller = new Controller();\n new Thread(this).start();\n }",
"title": ""
},
{
"docid": "c4be4687471b4302986831e77cf8f20b",
"score": "0.57921517",
"text": "public void start() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "45d68ef35466cd74071d9015c154e296",
"score": "0.5791142",
"text": "public void startup() throws Exception {\n\t\tIterator<NotificationListener> iter = listeners.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\titer.next().startup();\n\t\t}\n\t\tIterator<NotificationReceiver> iter2 = receivers.iterator();\n\t\twhile (iter2.hasNext()) {\n\t\t\titer2.next().startup();\n\t\t}\n\n\t\tif (enableAdminSocket) {\n\t\t\tLOGGER.info(\"Starting AdminSocketServer on port 11111\");\n\t\t\tadminSocketServer = new AdminSocketServer();\n\t\t\tadminSocketServer.setClient(this);\n\t\t\tadminSocketServer.startup();\n\t\t}\n\n\t\tif (enableJMX) {\n\t\t\tMBeanServer mbs = ManagementFactory.getPlatformMBeanServer();\n\t\t\tObjectName clientName = new ObjectName(\"ProductClient:name=jmx\");\n\t\t\tmbs.registerMBean(this, clientName);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "75dc68d3085aa995bd8cf4e07a040d52",
"score": "0.57794964",
"text": "private void startFirstRound() {\n\t\tif (currentTurn == 0) {\n\n\t\t\tif (player1First) {\n\t\t\t\tserver.sendToAllClients(\"Player1 Turn : Player2 Wait\");\n\t\t\t\tSystem.out.println(\"Player1 Turn : Player2 Wait\");\n\t\t\t} else {\n\t\t\t\tserver.sendToAllClients(\"Player1 Wait : Player2 Turn\");\n\t\t\t\tSystem.out.println(\"Player1 Wait : Player2 Turn\");\n\t\t\t}\n\t\t}\n\n\t}",
"title": ""
},
{
"docid": "8cab601bf39c2c12e788dff836fab3b9",
"score": "0.57758594",
"text": "PeerInfo waitForOnlinePeer();",
"title": ""
},
{
"docid": "c3f65ee5fe53dff4681e1dad3fbeb8c6",
"score": "0.5775852",
"text": "public synchronized void start() {\r\n\r\n\t\tLog.d(TAG, \"BT Adapter state: \" + bluetoothAdapter.getState());\r\n\t\tLog.d(TAG, \"start up the accept threads.\");\r\n\r\n\t\t// Cancel any thread attempting to make a connection\r\n\t\tif (connectThread != null) {\r\n\t\t\tconnectThread.cancel();\r\n\t\t\tconnectThread = null;\r\n\t\t}\r\n\r\n\t\t// Cancel any thread currently running a connection\r\n\t\tif (connectedThread != null) {\r\n\t\t\tconnectedThread.cancel();\r\n\t\t\tconnectedThread = null;\r\n\t\t}\r\n\r\n\t\tsetState(STATE_LISTEN);\r\n\r\n\t\t// Start the thread to listen on a BluetoothServerSocket\r\n\t\tif (secureAcceptThread == null) {\r\n\t\t\tsecureAcceptThread = new AcceptThread(true);\r\n\t\t\tsecureAcceptThread.start();\r\n\t\t}\r\n\t\tif (insecureAcceptThread == null) {\r\n\t\t\tinsecureAcceptThread = new AcceptThread(false);\r\n\t\t\tinsecureAcceptThread.start();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "f7d0fd82d7dc7aad8429892d8abf2c9b",
"score": "0.5771034",
"text": "public void start(){\n\t\tif(isRunning){\n\t\t\treturn;\n\t\t}\n \tclass AgentThread implements Runnable{\n \t\tpublic void run(){\n \t \tisRunning = true;\n \t\t\tsendCommand(\"run\");\n \t\t\tisRunning = false;\n \t\t}\n \t}\n \tThread agentThread = new Thread(new AgentThread());\n \tagentThread.start();\n\t}",
"title": ""
},
{
"docid": "f733ba5d187eae2dea9a9049d1ad56c9",
"score": "0.5770644",
"text": "public void fetchPeers() {\r\n try {\r\n // Send registration to server\r\n String url = Utilities.formURL(this.serverIPAddress, Endpoint.SERVER_FETCH_PEERS);\r\n System.out.println(\"Fetching peers (\" + url + \")...\");\r\n\r\n ContentResponse resp = Utilities.sendGETRequest(url);\r\n\r\n } catch (Exception e) {\r\n // TODO this can be better\r\n System.out.println(e.getMessage());\r\n }\r\n }",
"title": ""
},
{
"docid": "f1288a1b25e1ddadd733013d0c9a817c",
"score": "0.57621896",
"text": "public void start() {\n }",
"title": ""
},
{
"docid": "1e1d801ce4a056219f5c4702409987c1",
"score": "0.57558167",
"text": "@Start\n void connect();",
"title": ""
},
{
"docid": "890c5a0b505cd310239732234b3cc9bf",
"score": "0.57538474",
"text": "public void start() { }",
"title": ""
},
{
"docid": "3f02487a095a7242f15e6e161f83bcbb",
"score": "0.5749982",
"text": "public void start() {\n }",
"title": ""
},
{
"docid": "baea0e1d1c769cab6b6a76f6bc5c48f6",
"score": "0.57463723",
"text": "@Override\r\n\tpublic void onPeersAvailable(WifiP2pDeviceList peers) {\n\t\tCollection<WifiP2pDevice> myList = peers.getDeviceList();\r\n\t\t\r\n\t\t// Check if list is empty.\r\n\t\tif(myList.isEmpty())\r\n\t\t{\r\n\t\t\tLog.i(\"Charbel\", \"Wifi-Direct List Empty\");\r\n\t\t\ttv2.setText(\"Wifi-Direct List Empty\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tthis.tv1.setText(\"Found Wifi-Direct peers!\");\r\n\t\t\tLog.i(\"Charbel\", \"Found Wifi-Direct peers!\");\r\n\t\t}\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "c4d2102a03577242494f66bd18c22039",
"score": "0.5731026",
"text": "void start(long currentTimeMillis) {\n if (logmon.isLoggable(BasicLevel.DEBUG))\n logmon.log(BasicLevel.DEBUG, getName() + \", starting\");\n\n if (((server.retry < WDNbRetryLevel1) && \n ((server.last + WDRetryPeriod1) < currentTimeMillis)) ||\n ((server.retry < WDNbRetryLevel2) &&\n ((server.last + WDRetryPeriod2) < currentTimeMillis)) ||\n ((server.last + WDRetryPeriod3) < currentTimeMillis)) {\n if (localStart()) {\n // The physical connection is established, starts the corresponding session\n // then sends all waiting messages.\n startEnd();\n } else {\n // TODO: May be we should not set these values if a start is in progress..\n server.last = currentTimeMillis;\n server.retry += 1;\n }\n }\n }",
"title": ""
},
{
"docid": "1c5fd05ee1c3de4b70b217c99048ffd3",
"score": "0.57306886",
"text": "@Override\r\n public void start()\r\n {\r\n linkbird = new V2XClockSourceLinkbird(this);\r\n linkbird.start();\r\n }",
"title": ""
},
{
"docid": "795484769240402d3c551ba1a2b32fe3",
"score": "0.57290936",
"text": "private void startServer() {\n getContext()\n .sendBroadcast(\n new Intent(FtpService.ACTION_START_FTPSERVER)\n .setPackage(getContext().getPackageName()));\n }",
"title": ""
},
{
"docid": "67c7ada5fb3b1d766f02bdcac6a1c509",
"score": "0.57274824",
"text": "public void start() {\n try {\n\n int numMessages = 0;\n long initialTime = System.currentTimeMillis();\n\n Socket cliente = TCPSocket.accept();\n ObjectOutputStream msgOutput = new ObjectOutputStream(cliente.getOutputStream());\n ObjectInputStream msgInput = new ObjectInputStream(cliente.getInputStream());\n\n do {\n\n String msgFromClient = (String) msgInput.readObject();\n\n System.out.print(cliente.getInetAddress() + \" | \" + cliente.getPort());\n System.out.print(\" : \");\n System.out.println(msgFromClient);\n\n String messageOut = \"\";\n\n numMessages++;\n\n if (msgFromClient.intern() == \"NUMREQ\") {\n System.out.println(\"> NUMREQ: \" + numMessages);\n messageOut = Integer.toString(numMessages);\n } else if (msgFromClient.intern() == \"UPTIME\") {\n messageOut = Long.toString((System.currentTimeMillis() - initialTime) / 1000);\n }\n\n if (msgFromClient.intern() == \"CLOSE\") {\n\n break;\n }\n\n msgOutput.writeObject(messageOut);\n msgOutput.flush();\n } while (true);\n } catch (Exception ioEx) {\n ioEx.printStackTrace();\n } finally {\n System.out.println(\"\\n Closing connection...\");\n try {\n TCPSocket.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }",
"title": ""
},
{
"docid": "464297ed472be94894c9b00d4a4b8e4f",
"score": "0.5723491",
"text": "public void startServer() {\n\tkeepGoing = true;\n\ttry {\n serverSocket = new ServerSocket(port);\n while (true) {\n Socket socket = serverSocket.accept();\n //System.out.println(socket.getInetAddress());\n\t\tif (!keepGoing) \n break;\n\t\tClientThread client = new ClientThread(socket);\n\t\tclientThreadArrayList.add(client);\n\t\tclient.start();\n }\n try {\n\t\tdisconnectClients(serverSocket);\n } catch (Exception e) {\n\t\te.printStackTrace();\n }\n\t} catch (IOException e) {}\n }",
"title": ""
}
] |
cae432f997175cbaf3492e7b2970c328 | java.lang.String getDocs() Returns the value of field 'generator'. The field 'generator' has the following description: A string indicating the program used to generate the channel. | [
{
"docid": "2742a1e06dbcafaaf4d54e83fdcbd055",
"score": "0.5983952",
"text": "public java.lang.String getGenerator()\n {\n return this._generator;\n }",
"title": ""
}
] | [
{
"docid": "909c43072efc740de3bb201ccacb19aa",
"score": "0.6896847",
"text": "public java.lang.String getDocs()\n {\n return this._docs;\n }",
"title": ""
},
{
"docid": "f213f9d14746f5044b711c3a7dd4b2e3",
"score": "0.62479466",
"text": "public String getDocumentation() {\n return get(\"Documentation\").toValue();\n }",
"title": ""
},
{
"docid": "5a61b734e8d06a451b41511dd0cb76d9",
"score": "0.6190176",
"text": "public String getDocumentation() {\n\t\treturn this.documentation;\n\t}",
"title": ""
},
{
"docid": "6a680f9d4b9fcc41f91e2499deb4df0d",
"score": "0.61318725",
"text": "String getDocumentation();",
"title": ""
},
{
"docid": "012f169a09029f23cb794bf0c53bbdb8",
"score": "0.5971217",
"text": "@Test\n public void testGenerateDocumentation() throws IOException, GeneratorException {\n GeneratorCore core = new GeneratorCore();\n core.generateDocumentation(createPackages(), createDocumentationsGens());\n }",
"title": ""
},
{
"docid": "be36ef21c155b7d70a3ca656ff387dff",
"score": "0.59621525",
"text": "@Override\n public String toString() {\n return \"Documentation\";\n }",
"title": ""
},
{
"docid": "0f293b925cc4abbe827b83c77622c164",
"score": "0.59600157",
"text": "Documentation getDocumentation();",
"title": ""
},
{
"docid": "d0fdb1a53fbfe3bbb9f085dd58aacacf",
"score": "0.5943754",
"text": "public URL[] getDocs() {\n return null;\n }",
"title": ""
},
{
"docid": "97427f29e092e8737179b0dc6f687724",
"score": "0.58008754",
"text": "public String getDoc() {\n return _doc;\n }",
"title": ""
},
{
"docid": "1249c6076cc5ad02e755529b82b32d0e",
"score": "0.5796008",
"text": "public static String getDocumentation() {\n return methodDocumentation;\n }",
"title": ""
},
{
"docid": "b9353003d091da4c4c1246fcfa922408",
"score": "0.5677346",
"text": "public String getGenerator() {\n return config.getString(\"generator\", null);\n }",
"title": ""
},
{
"docid": "8026fcf31255f7155a96bfee7c6eabf0",
"score": "0.56503934",
"text": "@Override\r\n public String toString() {\r\n return _generator.toString();\r\n }",
"title": ""
},
{
"docid": "2434df1bd2e8e42637191315d820ed1a",
"score": "0.56421405",
"text": "public java.lang.String getDocs()\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(DOCS$6, 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": "cba543d5a780ba52dd21def4674323f9",
"score": "0.5602322",
"text": "public StringList getGenerators() {\n if (GerpTop_Type.featOkTst && ((GerpTop_Type)jcasType).casFeat_generators == null)\n jcasType.jcas.throwFeatMissing(\"generators\", \"org.oaqa.model.gerp.GerpTop\");\n return (StringList)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((GerpTop_Type)jcasType).casFeatCode_generators)));}",
"title": ""
},
{
"docid": "fe87ae127349da7461c55519595ace33",
"score": "0.5573213",
"text": "static String getSwaggerDocsAsString() {\n return getSwaggerDocs().responseBody;\n }",
"title": ""
},
{
"docid": "896fd1eea105e16d341dfba7197e28fa",
"score": "0.55718386",
"text": "public String getHelpDoc();",
"title": ""
},
{
"docid": "98480c76782bd5133001e4b8b26a3159",
"score": "0.55712545",
"text": "static HttpResponseValues getSwaggerDocs() {\n return HttpUtils.httpRequestRawResponse(\n URI.create(AUTOGENERATED_DOC_URL),\n 10,\n HttpMethod.GET,\n null,\n null\n );\n }",
"title": ""
},
{
"docid": "75d3d7204e3b519ac9528024bcd9df1f",
"score": "0.5546217",
"text": "public TextChannel getGenChannel(Guild g){\n return g.getTextChannelsByName(\"general\", true).get(0);\n }",
"title": ""
},
{
"docid": "801f5bbceb7f012c66c9c06be921c93b",
"score": "0.55038357",
"text": "public String [] getHelpDoc() {\n return this.HelpDoc;\n }",
"title": ""
},
{
"docid": "f65d8da2998c5af0f2fefdde8d4ef214",
"score": "0.54960424",
"text": "public void setDocs(java.lang.String docs)\n {\n this._docs = docs;\n }",
"title": ""
},
{
"docid": "67501e4051a592db7d65503352eeb90f",
"score": "0.54664254",
"text": "public String getElementDocs() {\n String docs = \"doc/lit response wrapper for operation \\\"\" + webMethod.getOperationName() + \"\\\".\";\n String methodDocs = webMethod.getJavaDoc().toString();\n if (methodDocs.trim().length() > 0) {\n docs += \" (\" + methodDocs.trim() + \")\";\n }\n return docs;\n }",
"title": ""
},
{
"docid": "bb7453a085af039c4f525e7fd762a1ff",
"score": "0.5392802",
"text": "public String getWebappDocsUrl() {\n return webappDocsUrl;\n }",
"title": ""
},
{
"docid": "43ae7b9cb42851c93503b19ce29d108c",
"score": "0.5373464",
"text": "protected Generator getGenerator() {\n return generator;\n }",
"title": ""
},
{
"docid": "d9fe3d7cd7b311787a8b950e650a20bb",
"score": "0.53168696",
"text": "public void generateDocument();",
"title": ""
},
{
"docid": "e6b3838bdcfb6e6669231f7d702d2877",
"score": "0.5261475",
"text": "public ConcurrentHashMap<String,Integer> getDocs() {\n return docs;\n }",
"title": ""
},
{
"docid": "a4ea9bd880d9e0144032a531dd0351b2",
"score": "0.52563393",
"text": "public abstract RegularFileProperty getRenderedDocumentation();",
"title": ""
},
{
"docid": "bc02cc495d58f55c9985bbdc7d04055b",
"score": "0.5242676",
"text": "public int NbDocuments() {\n return OCCwrapJavaJNI.TDocStd_Application_NbDocuments(swigCPtr, this);\n }",
"title": ""
},
{
"docid": "65c10345b6bc73b1966f2fb1b293efde",
"score": "0.5236518",
"text": "public String getMessageDocs() {\n String docs = \"response message for operation \\\"\" + webMethod.getOperationName() + \"\\\".\";\n String methodDocs = webMethod.getJavaDoc().toString();\n if (methodDocs.trim().length() > 0) {\n docs += \" (\" + methodDocs.trim() + \")\";\n }\n return docs;\n }",
"title": ""
},
{
"docid": "fa877f72a85aa4f55f398a09ed612232",
"score": "0.5215808",
"text": "@Override\n\tpublic String[] getHelp() {\n\t\treturn new String[]{\n\t\t\tChatColor.GRAY + \"Usage: /mcw createf [Generator Options] [World Name]\", \n\t\t\tChatColor.DARK_AQUA + \"Generator Options: Biome ; Layer1 x Thickness . Layer2 x Thickness... ; village.mineshaft.decoration.stronghold.biome_1.dungeon.lake.lava_lake\",\n\t\t\tChatColor.DARK_AQUA + \"Description: Loads/Creates a superflat world with specified generator options and selects the world\",\n\t\t\tChatColor.DARK_RED + \"Notes: This is incredibliy unstable due to Bukkit not implementing the feature. Also, ignore spaces for Generator Options. \"\n\t\t};\n\t}",
"title": ""
},
{
"docid": "b1f4ce28586458f9ce16452e518a9fae",
"score": "0.51887566",
"text": "public org.apache.xmlbeans.XmlString xgetDocs()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DOCS$6, 0);\r\n return target;\r\n }\r\n }",
"title": ""
},
{
"docid": "a868ced85d1793b0de774e28280a1c30",
"score": "0.5149092",
"text": "public void setGenerator(java.lang.String generator)\n {\n this._generator = generator;\n }",
"title": ""
},
{
"docid": "1dc006bd46285080d7b82534e35b1eab",
"score": "0.511994",
"text": "@java.lang.Override public int getGeneratorValue() {\n return generator_;\n }",
"title": ""
},
{
"docid": "83ede01436fed99b974e738d3274382c",
"score": "0.51142704",
"text": "@java.lang.Override public int getGeneratorValue() {\n return generator_;\n }",
"title": ""
},
{
"docid": "d8052fe6c41af1be843121755733956b",
"score": "0.51018673",
"text": "public Collection<String> getExamples() {\n/* 72 */ return EXAMPLES;\n/* */ }",
"title": ""
},
{
"docid": "06e314ba15184f599f4bdd0701655709",
"score": "0.5078234",
"text": "public Collection<URL> getDocuments() {\n return documents;\n }",
"title": ""
},
{
"docid": "6593fc73ce6ce5b3ae528efef3c19f7c",
"score": "0.50714374",
"text": "public Documentation createDocumentation() {\n final Documentation doc = null;\n /*\n * if(this.getClass().getPackage().getName().equals(Constants.WSDL11_PACKAGE\n * )) { doc = new\n * org.ow2.easywsdl.schema.test.impl.wsdl11.Documentation(); } else\n * if\n * (this.getClass().getPackage().getName().equals(Constants.WSDL20_PACKAGE\n * )) { doc = new\n * org.ow2.easywsdl.schema.test.impl.wsdl20.Documentation(); }\n */\n return doc;\n }",
"title": ""
},
{
"docid": "4017f8248e05895d40ea2531071dea3b",
"score": "0.50714123",
"text": "public java.util.List<com.google.speech.recognizer.pipeline.PipelineProto.StreamDef.Builder> \n getStreamBuilderList() {\n return getStreamFieldBuilder().getBuilderList();\n }",
"title": ""
},
{
"docid": "98836889488ab2b46e0f0a1829304267",
"score": "0.5066107",
"text": "public List<Document> getDocuments() {\n\t\treturn documents;\n\t}",
"title": ""
},
{
"docid": "250549acbbaef64d8eb3ee9a29f2de3e",
"score": "0.5036631",
"text": "private Iterable<IDocumentationWriter> createDocumentationsGens() throws IOException {\n File output = new File(TestingUtils.getOutputDir(), \"test.xml\");\n if (!output.exists())\n output.createNewFile();\n\n output.deleteOnExit();\n return Collections.singleton(new IntermediateDocumentationWriter(new FileOutputStream(output)));\n }",
"title": ""
},
{
"docid": "5daab5fdca7a04b8c6fea6726aece9ce",
"score": "0.50314486",
"text": "com.google.api.DocumentationOrBuilder getDocumentationOrBuilder();",
"title": ""
},
{
"docid": "c1d86e3554b33b65154eeb97c38c5dc4",
"score": "0.5028267",
"text": "public Rand getGenerator() {\n\t\treturn generator;\r\n\t}",
"title": ""
},
{
"docid": "d405fb4a4a1b697c9d419e125743086c",
"score": "0.50242007",
"text": "public java.util.List<String> getDocumentURLs();",
"title": ""
},
{
"docid": "cef8592b56afcc38f63b33cb3455071c",
"score": "0.5005758",
"text": "@Deprecated\n public V1ExternalDocumentation getExternalDocs();",
"title": ""
},
{
"docid": "ac23241956da413c9392aaa993fdbaed",
"score": "0.49987397",
"text": "public interface DocGenerator {\r\n\r\n\t/**\r\n\t * Generate the documentation.\r\n\t * \r\n\t * @param s\tthe software used to generate the documentation.\r\n\t * @throws DocException\r\n\t */\r\n\tvoid generate(final Software s) throws DocGenerationException;\r\n}",
"title": ""
},
{
"docid": "31067057121db4f22183b1a952aafb95",
"score": "0.4992107",
"text": "public String[] getDescriptionDocumentPaths() throws IOException;",
"title": ""
},
{
"docid": "3842052c0528fca9c226faf09849d5f2",
"score": "0.49791873",
"text": "public Document getDoc() {\n\t\treturn doc;\n\t}",
"title": ""
},
{
"docid": "f0cfe039156bc3398cb7dec6740665d8",
"score": "0.4977944",
"text": "com.google.protobuf.ByteString\n getPronGeneratorRefBytes();",
"title": ""
},
{
"docid": "c6a0af722a255ce4e1a04a77973218ee",
"score": "0.4977178",
"text": "java.lang.String getPronGeneratorRef();",
"title": ""
},
{
"docid": "e2bdc0ce5df11be0638398ca10bcbfae",
"score": "0.49749666",
"text": "public com.google.protobuf.ByteString\n getPronGeneratorRefBytes() {\n java.lang.Object ref = pronGeneratorRef_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n pronGeneratorRef_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"title": ""
},
{
"docid": "b70cc83d8e27578370116307246de302",
"score": "0.49736747",
"text": "public LinkedHashMap<String, Object> getDoc() {\n return doc;\n }",
"title": ""
},
{
"docid": "59215c4973409a40263f0377a7b629f7",
"score": "0.49713328",
"text": "public String getDocumentGenerationandHandlingServiceDescription() {\n return documentGenerationandHandlingServiceDescription;\n }",
"title": ""
},
{
"docid": "7688c4fc7d5f584a93aef8b4e1375ebe",
"score": "0.49563846",
"text": "public GeneratorResult[] generateFiles() throws IOException {\r\n List results = new ArrayList();\r\n J2Monitor monitor = J2Context.getJ2Context().getJ2Monitor();\r\n DocContext[] contexts = model_.getDocContexts();\r\n for (int i = 0;i < contexts.length;i++) {\r\n DocContext context = contexts[i];\r\n String format = context.getFormat();\r\n Locale locale = context.getLocale();\r\n SmartDocGenerator generator = context.getGenerator();\r\n if (locale != null) {\r\n monitor.info(\r\n \"<<\" +\r\n context.getFormatName() +\r\n \"[\" + locale + \"]>>\"\r\n );\r\n results.add(\r\n _generateFile(\r\n generator,\r\n model_.getDoc(context),\r\n locale,\r\n model_\r\n )\r\n );\r\n } else {\r\n monitor.info(\r\n \"<<\" + context.getFormatName() + \">>\"\r\n );\r\n results.add(\r\n _generateFile(\r\n generator,\r\n model_.getDoc(context),\r\n model_\r\n )\r\n );\r\n }\r\n }\r\n if (model_.isSdocReport()) {\r\n results.add(\r\n _generateReportFile(model_)\r\n );\r\n }\r\n GeneratorResult[] array = new GeneratorResult[results.size()];\r\n return ((GeneratorResult[])results.toArray(array));\r\n }",
"title": ""
},
{
"docid": "2ff74340fce8b5b7f1dc47e6d9e0b72f",
"score": "0.4935618",
"text": "Object getDoc();",
"title": ""
},
{
"docid": "69a12585a779c6a136552b38fc29cff6",
"score": "0.49223456",
"text": "public GoogleDocsAPI() {\n\t\tsuper(\"https://docs.google.com/\");\n\t}",
"title": ""
},
{
"docid": "0251550b97301f5289cdfda3aeb0de52",
"score": "0.4913832",
"text": "public List<Documentation> getOtherDocumentation() {\n\t\treturn this.otherDocumentation;\n\t}",
"title": ""
},
{
"docid": "c1bb80c41b29ce615b61eb478123bbc0",
"score": "0.49069417",
"text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getPronGeneratorRefBytes() {\n java.lang.Object ref = pronGeneratorRef_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n pronGeneratorRef_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"title": ""
},
{
"docid": "f9fe51ad52805e0dd4f0a19c07a0c90a",
"score": "0.48933774",
"text": "public java.util.Map<String, String> getDocuments();",
"title": ""
},
{
"docid": "a3c2c0b7f5f254f6dc456b35b0455c95",
"score": "0.48919654",
"text": "public String getDescription() {\n return \"PDF Files *.pdf\";\n }",
"title": ""
},
{
"docid": "a14cfe83e6ddccdcb0f83cf273641aa1",
"score": "0.48863205",
"text": "public Set<DocRef> listDocuments() {\n return dictionaryStore.listDocuments();\n }",
"title": ""
},
{
"docid": "6ccb2697eb213a576b4d794185a37077",
"score": "0.4866676",
"text": "@Override\n public String description() {\n return \"CoSky Reactive Discovery Client\";\n }",
"title": ""
},
{
"docid": "e0dedbcde303b455111b2acd21619290",
"score": "0.48632812",
"text": "public static Random getGenerator() {\n return generator;\n }",
"title": ""
},
{
"docid": "784b4769e5a344c8b55f4da2c5aa7860",
"score": "0.4859475",
"text": "@Override\n public Set<DocRef> listDocuments() {\n return store.listDocuments();\n }",
"title": ""
},
{
"docid": "d0563c435a471b91e6444cb88c3d2d8c",
"score": "0.48528308",
"text": "public abstract String getDocString();",
"title": ""
},
{
"docid": "c153a5ded8513732910000230a61db13",
"score": "0.48370737",
"text": "public static void registerDocumentationCreator(DocBoxCreator dbc)\n{\n doc_creator = dbc;\n}",
"title": ""
},
{
"docid": "722f84298f69b22c09a6a50cc5e78c73",
"score": "0.48284116",
"text": "java.lang.String[] getDocument() throws java.io.IOException;",
"title": ""
},
{
"docid": "3ad4571b1437286aae45dcedbc4dfa58",
"score": "0.4826084",
"text": "public String getDocType() {\n\t\treturn metadataFormat;\n\t}",
"title": ""
},
{
"docid": "369bbd46d532742a6750c96d01d8bf11",
"score": "0.48147753",
"text": "public String getSHOW_EXPORT_DOC_YN() {\r\n return SHOW_EXPORT_DOC_YN;\r\n }",
"title": ""
},
{
"docid": "786e456a8e91f22f68dfacbcfb47831b",
"score": "0.4806045",
"text": "public String extensionApiDocsLink() {\n return this.innerProperties() == null ? null : this.innerProperties().extensionApiDocsLink();\n }",
"title": ""
},
{
"docid": "bc6e1e99d9e2e1adde53e10aff63f8de",
"score": "0.47892702",
"text": "public String getRandomPSGList() {\n\t\t\tString result=\"\";\n//\t\t\tList <RangeCluster> myVector = SCGeneratorStarter.mySCGenerator.getRCList(csgName, scName);\n//\t\t\tVector <String> ClusterRanges = SCGeneratorStarter.mySCGenerator.getRangeList(csgName, scName);\n\t\t\tfor(int i=0; i<rangeClusters.size(); i++){\n\t\t\t\tRangeCluster rc = rangeClusters.get(i);\n\t\t\t\tif (!(rc.size()<1)){\t\t\t\n\t\t\t\t\tString reference = rc.getRandomPeerReference();\n\t\t\t\t\tSystem.out.println(\"[ \"+SCConfiguration.RESOURCE_NAME+\" ] \"+rc.size()+\": Result = \"+reference);\n//\t\t\t\t\t\"Range\"+i+\"=\"+rangeClusters.get(i).getRange()\n\t\t\t\t\tresult+= \"RC\"+i+\"=\"+reference+\"@\"+\"Range\"+i+\"=\"+rc.getRange(); //ClusterRanges.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}",
"title": ""
},
{
"docid": "14c38c9c517f3f58e6751a8c22e00582",
"score": "0.47794378",
"text": "XBCXHDoc getDocumentation(XBCItem item);",
"title": ""
},
{
"docid": "07e3dfdf55e1ded0f3284e94fe17a3b1",
"score": "0.4765094",
"text": "public String getDescriptor() {\n return _desc;\n }",
"title": ""
},
{
"docid": "f6c81271c8ec68c8dcfd3b162d58fb50",
"score": "0.47646794",
"text": "java.lang.String getDescOutputs();",
"title": ""
},
{
"docid": "fafab0419821cc4ba607fd4867ee04a4",
"score": "0.47593313",
"text": "@Bean\n public Docket apiDocumentation() {\n\n return new Docket(SWAGGER_2)\n .select()\n .apis(basePackage(\"org.tenpo.test.mstenpotest\"))\n .paths(PathSelectors.any())\n .build()\n .apiInfo(new ApiInfo(\n apiTitle,\n apiDescription,\n apiVersion,\n \"\",\n new Contact(apiContactName, apiContactUrl, apiContactEmail),\n \"\",\n \"\",\n emptyList()\n ))\n .securityContexts(Arrays.asList(securityContext())).securitySchemes(Arrays.asList(apiKey()));\n }",
"title": ""
},
{
"docid": "b0236824218c7f4e3253a843abffde4b",
"score": "0.47531727",
"text": "public String getDescriptions()\n {\n return descriptions;\n }",
"title": ""
},
{
"docid": "c0d8a8cf4a0de8b7eb8973813b7c38ed",
"score": "0.47520596",
"text": "public java.util.List<FacedataProcessServer.FacedataProcess.BatchDownloadInfo.Builder> \n getDownloadInfoBuilderList() {\n return getDownloadInfoFieldBuilder().getBuilderList();\n }",
"title": ""
},
{
"docid": "8d7036df83921e1891fe3667dc22825a",
"score": "0.4749479",
"text": "public static Generator generator()\n {\n return new Generator();\n }",
"title": ""
},
{
"docid": "fcda7779044d1b3171fd9859e3e9d3a1",
"score": "0.47463727",
"text": "@Override\n public List<DocRef> list() {\n return store.list();\n }",
"title": ""
},
{
"docid": "04e96c950e14fabfc828d1cbb2f770ab",
"score": "0.47447172",
"text": "public java.lang.String getPronGeneratorRef() {\n java.lang.Object ref = pronGeneratorRef_;\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 pronGeneratorRef_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "3dddcfb1fd874c6c499315caa582d58b",
"score": "0.4739321",
"text": "public String getDescription() {\n return \"The RSS client web service.\";\n }",
"title": ""
},
{
"docid": "826c8742104cd70ae47dbcd6afe455d5",
"score": "0.47392553",
"text": "public List<String> getAllDocuments() {\n return allDocuments;\n }",
"title": ""
},
{
"docid": "bca9753a693c9c92c04f7a9f7787a143",
"score": "0.47289065",
"text": "private String listCommands(){\n String out = \"\";\n for (Command c : m_commands){\n out += c.getUsage() + \"\\n\";\n }\n return out;\n }",
"title": ""
},
{
"docid": "d9cb9e59634b69ab33c8d4d2b0d3e960",
"score": "0.47188994",
"text": "public String getTitle()\n {\n return \"Broker distribution\";\n }",
"title": ""
},
{
"docid": "d434d3cd5d56a0192de9c6547abaa670",
"score": "0.4713476",
"text": "@Override\n public boolean isGenerateBuilders() {\n return true;\n }",
"title": ""
},
{
"docid": "d68356993607ab6b5bcc744a883d5756",
"score": "0.47101226",
"text": "public java.lang.String getDocNumber() {\n return docNumber;\n }",
"title": ""
},
{
"docid": "9b5d12e06317125e0c3c3b3e25fa443a",
"score": "0.4706989",
"text": "public String getChannels() {\n return channels;\n }",
"title": ""
},
{
"docid": "e7d0e965b90301bd70269d401e82ccb3",
"score": "0.470564",
"text": "public boolean getGenerateFlag()\n\t {\n\t return theGenerateFlag;\n\t }",
"title": ""
},
{
"docid": "8a11dfbf732e9d9ba88f6052c35c7e2e",
"score": "0.47052258",
"text": "public String getKubernetesSchemaMarkdown() {\n return kubernetesGenerator == null ? null : kubernetesGenerator.generate(\"Kubernetes Objects\");\n }",
"title": ""
},
{
"docid": "95897dd725b952ff0ad7b57e3764183b",
"score": "0.470211",
"text": "public List<SLDocument> getDocList() throws URISyntaxException {\n\tif (this.docList == null) {\n\t\tthis.docList = computeDocList();\n\t}\n\treturn this.docList;\n}",
"title": ""
},
{
"docid": "00ad012f65dce6992100ac7fe4b96f5a",
"score": "0.46967208",
"text": "@Override\n public boolean isGenerateBuilders() {\n return true;\n }",
"title": ""
},
{
"docid": "5db63b69ae076e6b35c2d1414a687501",
"score": "0.46961555",
"text": "public java.util.List<PlaylistItem.Builder>\n getSongBuilderList() {\n return getSongFieldBuilder().getBuilderList();\n }",
"title": ""
},
{
"docid": "ef2bbf2a002484e23842a9b31795fbb2",
"score": "0.46954662",
"text": "public gw.api.database.IQueryBeanResult<entity.Document> getDocuments() {\n return ((com.guidewire.pc.domain.account.AccountPublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pc.domain.account.AccountPublicMethods\")).getDocuments();\n }",
"title": ""
},
{
"docid": "5ea485ee6a9274a8046df5b513fae1ed",
"score": "0.46904755",
"text": "public gw.api.database.IQueryBeanResult<entity.Document> getDocuments() {\n return ((com.guidewire.pc.domain.account.AccountPublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pc.domain.account.AccountPublicMethods\")).getDocuments();\n }",
"title": ""
},
{
"docid": "11225573061657f565fff659d67a1aa1",
"score": "0.46886486",
"text": "public java.util.List<com.caidt.proto.ProtoCommon.DisplayResource.Builder> \n getResourcesBuilderList() {\n return getResourcesFieldBuilder().getBuilderList();\n }",
"title": ""
},
{
"docid": "255895ab5c93688198f1a5d46c9403ca",
"score": "0.4686146",
"text": "public java.lang.String getDescOutputs() {\n java.lang.Object ref = descOutputs_;\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 descOutputs_ = s;\n }\n return s;\n }\n }",
"title": ""
},
{
"docid": "7c88f5405908313e8842bc611f0daff5",
"score": "0.46796843",
"text": "@Override\r\n\tpublic String getDescription() {\n\t\treturn \"Sends an announcement that you are streaming to each guild this is enabled in\";\r\n\t}",
"title": ""
},
{
"docid": "cfffd5b13ab4fdabbe9dce6abc2ddd15",
"score": "0.46776643",
"text": "public java.lang.String getDescOutputs() {\n java.lang.Object ref = descOutputs_;\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 descOutputs_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"title": ""
},
{
"docid": "18a71c68f862dda17115937953999f1c",
"score": "0.46718636",
"text": "@java.lang.Override\n public com.google.protobuf.ByteString getDescription() {\n return description_;\n }",
"title": ""
},
{
"docid": "18a71c68f862dda17115937953999f1c",
"score": "0.46718636",
"text": "@java.lang.Override\n public com.google.protobuf.ByteString getDescription() {\n return description_;\n }",
"title": ""
},
{
"docid": "e2fd7710077f897bdd1f2d17b198dd3e",
"score": "0.46701476",
"text": "@java.lang.Override\n public com.google.protobuf.ByteString getDescription() {\n return description_;\n }",
"title": ""
},
{
"docid": "e2fd7710077f897bdd1f2d17b198dd3e",
"score": "0.46701476",
"text": "@java.lang.Override\n public com.google.protobuf.ByteString getDescription() {\n return description_;\n }",
"title": ""
}
] |
d05839152d71b856dd9cbc4e8e9149d6 | Gets the row and column of the sprite that should be used from the sprite sheet | [
{
"docid": "f550252a4a79018056e36a9b0043c88a",
"score": "0.0",
"text": "private Point findConnectedTexture() {\r\n\t\tupdateNearbyActors(isWall);\r\n\t\tint row = -1;\r\n\t\tint col = -1;\r\n\t\t\r\n\t\t/** amount of connected actors directly touching */\r\n\t\tint touching = 0;\r\n\t\tif(checkSide(Side.TOP)) {touching++;}\r\n\t\tif(checkSide(Side.RIGHT)) {touching++;}\r\n\t\tif(checkSide(Side.BOTTOM)) {touching++;}\r\n\t\tif(checkSide(Side.LEFT)) {touching++;}\r\n\t\t\r\n\t\t/** gets the correct row and column */\r\n\t\tswitch(touching) {\r\n\t\tcase 0:\r\n\t\t\trow = 0; col = 0;\r\n\t\t\tbreak;\r\n\t\tcase 1:\r\n\t\t\trow = 1;\r\n\t\t\tif(checkSide(Side.TOP)) {col = 0;}\r\n\t\t\telse if(checkSide(Side.RIGHT)) {col = 1;}\r\n\t\t\telse if(checkSide(Side.BOTTOM)) {col = 2;}\r\n\t\t\telse if(checkSide(Side.LEFT)) {col = 3;}\r\n\t\t\telse {row = 3; col = 7;}\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tif(checkSide(Side.TOP) && checkSide(Side.RIGHT)) {col = 0;}\r\n\t\t\telse if(checkSide(Side.RIGHT) && checkSide(Side.BOTTOM)) {col = 1;}\r\n\t\t\telse if(checkSide(Side.BOTTOM) && checkSide(Side.LEFT)) {col = 2;}\r\n\t\t\telse if(checkSide(Side.LEFT) && checkSide(Side.TOP)) {col = 3;}\r\n\t\t\telse if(checkSide(Side.LEFT) && checkSide(Side.RIGHT)) {col = 2; row = 0;}\r\n\t\t\telse if(checkSide(Side.BOTTOM) && checkSide(Side.TOP)) {col = 3; row = 0;}\r\n\t\t\tif(row == -1) {\r\n\t\t\t\trow = 2;\r\n\t\t\t\tswitch(col) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tif(!checkSide(Side.TOP_RIGHT)) {row++;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tif(!checkSide(Side.BOTTOM_RIGHT)) {row++;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tif(!checkSide(Side.BOTTOM_LEFT)) {row++;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tif(!checkSide(Side.TOP_LEFT)) {row++;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\trow = 3; col = 7;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\trow = 4;\r\n\t\t\tif(!checkSide(Side.BOTTOM)) {col = 0;}\r\n\t\t\telse if(!checkSide(Side.LEFT)) {col = 1;}\r\n\t\t\telse if(!checkSide(Side.TOP)) {col = 2;}\r\n\t\t\telse if(!checkSide(Side.RIGHT)) {col = 3;}\r\n\t\t\tswitch(col) {\r\n\t\t\tcase 0:\r\n\t\t\t\tif(!checkSide(Side.TOP_RIGHT)) {row++;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tif(!checkSide(Side.BOTTOM_RIGHT)) {row++;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tif(!checkSide(Side.BOTTOM_LEFT)) {row++;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tif(!checkSide(Side.TOP_LEFT)) {row++;}\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\trow = 3; col = 7;\r\n\t\t\t}\r\n\t\t\tif(row != 3 || col != 7) {\r\n\t\t\t\tswitch(col) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tif(!checkSide(Side.TOP_LEFT)) {row += 2;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tif(!checkSide(Side.TOP_RIGHT)) {row += 2;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tif(!checkSide(Side.BOTTOM_RIGHT)) {row += 2;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tif(!checkSide(Side.BOTTOM_LEFT)) {row += 2;}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\trow = 3; col = 7;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\t/** amount of connected actors diagonally touching */\r\n\t\t\tint emptyCorners = 0;\r\n\t\t\tif(!checkSide(Side.TOP_RIGHT)) {emptyCorners++;}\r\n\t\t\tif(!checkSide(Side.BOTTOM_RIGHT)) {emptyCorners++;}\r\n\t\t\tif(!checkSide(Side.BOTTOM_LEFT)) {emptyCorners++;}\r\n\t\t\tif(!checkSide(Side.TOP_LEFT)) {emptyCorners++;}\r\n\t\t\t\r\n\t\t\tswitch(emptyCorners) {\r\n\t\t\tcase 0:\r\n\t\t\t\trow = 0; col = 1;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\trow = 0;\r\n\t\t\t\tif(!checkSide(Side.TOP_RIGHT)) {col = 4;}\r\n\t\t\t\telse if(!checkSide(Side.BOTTOM_RIGHT)) {col = 5;}\r\n\t\t\t\telse if(!checkSide(Side.BOTTOM_LEFT)) {col = 6;}\r\n\t\t\t\telse if(!checkSide(Side.TOP_LEFT)) {col = 7;}\r\n\t\t\t\telse {row = 3; col = 7;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\trow = 1;\r\n\t\t\t\tif(!checkSide(Side.TOP_RIGHT) && !checkSide(Side.BOTTOM_RIGHT)) {col = 4;}\r\n\t\t\t\telse if(!checkSide(Side.BOTTOM_RIGHT) && !checkSide(Side.BOTTOM_LEFT)) {col = 5;}\r\n\t\t\t\telse if(!checkSide(Side.BOTTOM_LEFT) && !checkSide(Side.TOP_LEFT)) {col = 6;}\r\n\t\t\t\telse if(!checkSide(Side.TOP_LEFT) && !checkSide(Side.TOP_RIGHT)) {col = 7;}\r\n\t\t\t\telse if(!checkSide(Side.TOP_RIGHT) && !checkSide(Side.BOTTOM_LEFT)) {row = 3; col = 5;}\r\n\t\t\t\telse if(!checkSide(Side.TOP_LEFT) && !checkSide(Side.BOTTOM_RIGHT)) {row = 3; col = 6;}\r\n\t\t\t\telse {row = 3; col = 7;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\trow = 2;\r\n\t\t\t\tif(checkSide(Side.TOP_LEFT)) {col = 4;}\r\n\t\t\t\telse if(checkSide(Side.TOP_RIGHT)) {col = 5;}\r\n\t\t\t\telse if(checkSide(Side.BOTTOM_RIGHT)) {col = 6;}\r\n\t\t\t\telse if(checkSide(Side.BOTTOM_LEFT)) {col = 7;}\r\n\t\t\t\telse {row = 3; col = 4;}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\trow = 3; col = 4;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\trow = 3; col = 7;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\trow = 3; col = 7;\r\n\t\t}\r\n\t\t\r\n\t\t/** row: 3 | col: 7 means something went wrong */\r\n\t\treturn new Point(row,col);\r\n\t}",
"title": ""
}
] | [
{
"docid": "18f4d0058d3c0bcf43dbc3fe5100931c",
"score": "0.7059496",
"text": "protected Sprite getSprite(int row, int col) {\n return sprites[row-1][col-1];\n }",
"title": ""
},
{
"docid": "38fd3e5cf904778fdc57c80aef5c02b7",
"score": "0.69155544",
"text": "@Override\n\tpublic int getSprite() {\n\t\treturn 5;\n\t}",
"title": ""
},
{
"docid": "46f30828c0483e51f065da02002eced4",
"score": "0.67277247",
"text": "public int[] getGridLocation(){\r\n \tint[] retInt = new int[2];\r\n \tretInt[0] = ((int)aspect.getSprite().getX()-(16*3))/20;\r\n \tretInt[1] = ((int)aspect.getSprite().getY()-(16*3))/20;\r\n \t\r\n \treturn retInt;\r\n }",
"title": ""
},
{
"docid": "b0ff673ee3b590a0d1550c116db30cc2",
"score": "0.65674025",
"text": "public int getTileX() {\n return x;\n }",
"title": ""
},
{
"docid": "f0d4066512c992ee5dd15a822ffd46de",
"score": "0.6421342",
"text": "public int getCellFromCoordinates(int x, int y) {\r\n if ( (x > this.boardBorderX ) && (x < this.cells * this.cellSize) && (y > 1) && (y < this.cellSize)) {\r\n return (x - this.boardBorderX) / this.cellSize;\r\n }\r\n //else return -1 if failed\r\n return -1; \r\n }",
"title": ""
},
{
"docid": "14b821635275fd321e5a9a3d73b4fca5",
"score": "0.641573",
"text": "public int getTileIdx() {\n return mressrc.getTileIdx();\n }",
"title": ""
},
{
"docid": "cd772d9dc8d2f83c721fa680590c4919",
"score": "0.6413904",
"text": "int getWorldTileX();",
"title": ""
},
{
"docid": "de335e67087034faacc305a2455a8b87",
"score": "0.640241",
"text": "public Sprite getSprite(double x, double y) {\n return blocks[getBlockY(y)][getBlockX(x)];\n }",
"title": ""
},
{
"docid": "55107440d67cb2eea3bff2775f2ecf0b",
"score": "0.63915485",
"text": "public Image getSprite(){\n //This method returns the current sprite of the Lane\n if(isAnimate){\n //If the lane returns animated sprites, then the current Image in the Array is returned\n return animatedSprites[spriteCount/30];\n }\n return sprite; //Non-animated sprite\n }",
"title": ""
},
{
"docid": "7299b5e38aca2637aac0b04d8a8830ad",
"score": "0.63756895",
"text": "public int getTileGridXOffset();",
"title": ""
},
{
"docid": "7ea06f58456ce8428a0f87de040186e7",
"score": "0.636209",
"text": "public int getTileX() {\r\n return this.tileX;\r\n }",
"title": ""
},
{
"docid": "1954f751b93e7b1a2a74e4eba3d8a3b0",
"score": "0.636132",
"text": "public int method_3732() {\r\n return this.method_3730().getSpriteNumber();\r\n }",
"title": ""
},
{
"docid": "bd90dd94da6ce6381dc3fea4a82ecc54",
"score": "0.6356282",
"text": "public final int getTileX() {\n return tileX;\n }",
"title": ""
},
{
"docid": "892eb311ff61c9408adba264cbb71919",
"score": "0.63159865",
"text": "int getStartCellIdx(Game game, Player player);",
"title": ""
},
{
"docid": "401830d5184db506f4247c845cd25e1a",
"score": "0.631281",
"text": "public Sprite getSprite() {\n\t\treturn sprites[dir];\n\t}",
"title": ""
},
{
"docid": "4d6e1c23edb5d7eb246c7269db3fdc32",
"score": "0.6310778",
"text": "public int getTilex() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readInt(__io__address + 480);\n\t\t} else {\n\t\t\treturn __io__block.readInt(__io__address + 464);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "7c63391ed7498008fee4a37a5e763fd1",
"score": "0.63099945",
"text": "public int getMinTileY();",
"title": ""
},
{
"docid": "ad0ef34cf391200550ac550e2fef83a5",
"score": "0.6295682",
"text": "public int getMinTileX();",
"title": ""
},
{
"docid": "819e7b582fb9dedafd38bc6821bfca82",
"score": "0.6264839",
"text": "public int getTileY() {\n return y;\n }",
"title": ""
},
{
"docid": "5c607538c42b1f390debe8ddc27e50d1",
"score": "0.6260566",
"text": "int getC2SHolePos();",
"title": ""
},
{
"docid": "85885678d571e67e1d5d4fd79147fe28",
"score": "0.6253797",
"text": "BoardPosition getPosition(int row, int col);",
"title": ""
},
{
"docid": "d20a125a96fb1500cf7c378945de95f1",
"score": "0.62432927",
"text": "public int getGridY() { return getPx(26); }",
"title": ""
},
{
"docid": "50dc318950f405ac9722219a38d0d2b9",
"score": "0.62170434",
"text": "int getHorizontalPosition();",
"title": ""
},
{
"docid": "c8f66667302ac6ba9a0aaf6d37c05108",
"score": "0.61998963",
"text": "public int getRow() {\n\t\tint Y = (int)Math.round(this.getY());\n\t\treturn Y;\n }",
"title": ""
},
{
"docid": "afac08bbed92d57881763f5d87258593",
"score": "0.6193767",
"text": "@Override\r\n public int getRow()\r\n {\r\n \tint row= Integer.parseInt(cellName.substring(1));\r\n return (row-1);\r\n }",
"title": ""
},
{
"docid": "a3574fadd347fd172af841b1f7a6684f",
"score": "0.6193428",
"text": "Cell getCell(Posn p) {\r\n int px = (p.x - 70 - (FloodItWorld.cellSize / 2)) / FloodItWorld.cellSize;\r\n int py = (p.y - 70 - (FloodItWorld.cellSize / 2)) / FloodItWorld.cellSize;\r\n return this.board.get(px).get(py);\r\n }",
"title": ""
},
{
"docid": "4ace3a6b626f501d09d60be7bb675df1",
"score": "0.61790204",
"text": "public Int2 getGridPosition(){\n return this.gridPosition;\n }",
"title": ""
},
{
"docid": "bd2d15a6a8ad81aaed02da5e6986ea35",
"score": "0.6159693",
"text": "public Tile getTile(int x, int y) {\n return tiles[y >> 5][x >> 5]; \n }",
"title": ""
},
{
"docid": "738eb415f1737e707b0fba09bea8d85a",
"score": "0.615317",
"text": "public int get(int x, int y) {\n if (x < 0 || y < 0 || x > width()-1 || y > height()-1)\n return -1;\n else\n return map[x][y];\n }",
"title": ""
},
{
"docid": "153d7f573c536a8f05e881479db58eda",
"score": "0.61344606",
"text": "public int getGridY() { return getPx(28); }",
"title": ""
},
{
"docid": "6771b371b3837ab9c48a530287bc5905",
"score": "0.6133939",
"text": "Posn tilePosn() {\n return new Posn((this.pos.x / ITile.WIDTH) * ITile.WIDTH + ITile.WIDTH / 2,\n (this.pos.y / ITile.HEIGHT) * ITile.HEIGHT + ITile.HEIGHT / 2);\n }",
"title": ""
},
{
"docid": "8a1316a03c8361cb22d31f0a8ff263ac",
"score": "0.61090946",
"text": "private int getCell() {\n int selectedRow = characterTable.getSelectedRow();\n int column = 0;\n\n return Integer.parseInt(characterTable.getValueAt(selectedRow, column).toString());\n }",
"title": ""
},
{
"docid": "c305234598cc7972737233bd23f6710d",
"score": "0.61060613",
"text": "int getPos();",
"title": ""
},
{
"docid": "c305234598cc7972737233bd23f6710d",
"score": "0.61060613",
"text": "int getPos();",
"title": ""
},
{
"docid": "bc420c3ceeeddfbb57ddac4a03fa4fe1",
"score": "0.610561",
"text": "public int getLocation(int x, int y){\n\t\treturn(grid[x][y]);\n\t}",
"title": ""
},
{
"docid": "0b2046017689078c551637ce88d6b316",
"score": "0.6089969",
"text": "public float getX() {\n\t\treturn sprite_bottom.getX();\n\t}",
"title": ""
},
{
"docid": "e442fedd74737bdc02ea2a75b7803581",
"score": "0.6085696",
"text": "public Sprite getSprite()\r\n\t{\r\n\t\treturn sprite;\r\n\t}",
"title": ""
},
{
"docid": "6c1ad7c60469d0703c325576e6b5a2aa",
"score": "0.6075274",
"text": "public Tile getTile(int xPosition, int yPosition){\n return matrix[xPosition / tileSize][yPosition / tileSize];\n }",
"title": ""
},
{
"docid": "5478937d388fa2ef1fecf456658ed5f8",
"score": "0.6071556",
"text": "public int getGridY();",
"title": ""
},
{
"docid": "c0f723902f20def130874fe786b06e00",
"score": "0.60660183",
"text": "public int getGridX();",
"title": ""
},
{
"docid": "97f8080bdfd96809f797670169cdeb68",
"score": "0.60572743",
"text": "private Rect getLocationOnScreen( ) {\n Rect tempRect = new Rect();\n int[] location = new int[2];\n\n mName.getLocationOnScreen(location);\n\n tempRect.left = location[0];\n tempRect.top = location[1];\n tempRect.right = location[0] + mName.getWidth();\n tempRect.bottom = location[1] + mName.getHeight();\n\n return tempRect;\n }",
"title": ""
},
{
"docid": "936df2136352d663501da094d052960b",
"score": "0.6054364",
"text": "public int getTop() {\r\n \t\tfor (int i = 0; i < 4; ++i){\r\n \t\t\tfor (int j = 0; j < 4; ++j) {\r\n \t\t\t\tif (blocks[i][j] != null)\r\n \t\t\t\t\treturn y + i;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn -1;\r\n \t}",
"title": ""
},
{
"docid": "d61128b05e232c6614a82f458a97a45f",
"score": "0.60460764",
"text": "public Sprite getSprite() \n\t{\n\t\treturn sprite;\n\t}",
"title": ""
},
{
"docid": "c1c0ffa02dde18a45a9bdc8b1103e1a2",
"score": "0.60450643",
"text": "public int getX_pos();",
"title": ""
},
{
"docid": "475fc47533a9163bde05a342591cc20e",
"score": "0.6039044",
"text": "@Override\n public Sprite getSprite(final int index) {\n if (index < tiles.length) {\n return tiles[index];\n } else {\n return null;\n }\n }",
"title": ""
},
{
"docid": "c6c4dd4f838bdb98bf594cedd35a504f",
"score": "0.6036896",
"text": "public abstract int getY(int row);",
"title": ""
},
{
"docid": "a6e627c80f90e655810f8e40dc4c9f09",
"score": "0.60347754",
"text": "public int getTile(Coord c) {\n if (c == null)\n throw new IllegalArgumentException(\"Coord mustn't be null\");\n \n if (!this.bounds.contains(c))\n throw new IllegalArgumentException(\"Coord out of bounds\");\n \n return this.tiles[c.x][c.y];\n }",
"title": ""
},
{
"docid": "43b659d8ba8673c396203743d30b0dc9",
"score": "0.60329646",
"text": "public int getPosition(double x, double y) {\n return arr[getBlockY(y)][getBlockX(x)];\n }",
"title": ""
},
{
"docid": "0117e7d64ae2d0e69a4a97a52aaffa14",
"score": "0.6032465",
"text": "public int getY(){\n return pos.getY();\n }",
"title": ""
},
{
"docid": "015b3e9bc43109b7747bf6246b1e427a",
"score": "0.60269356",
"text": "public Sprite getSprite() {\r\n\t\tif (this.currentAnimation != null && (this.currentAnimation.isPlayed() || this.getSprite() == null)) {\r\n\t\t\treturn this.currentAnimation.getSprite();\r\n\t\t} else {\r\n\t\t\treturn this.tile.getSprite();\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "f036559268e22c849f1830eab1f6087e",
"score": "0.60223746",
"text": "int getWorldTileY();",
"title": ""
},
{
"docid": "f036559268e22c849f1830eab1f6087e",
"score": "0.60223746",
"text": "int getWorldTileY();",
"title": ""
},
{
"docid": "ae92fa4793d180cec7b17718c0ff9af3",
"score": "0.60156727",
"text": "@java.lang.Override\n public int getTileIndexX() {\n return tileIndexX_;\n }",
"title": ""
},
{
"docid": "ba325b884560b1452d364061661a5848",
"score": "0.6014752",
"text": "@Override\r\n\tpublic Sprite getSprite(int index) {\n\t\treturn character[index];\r\n\t}",
"title": ""
},
{
"docid": "57e8f3bcdae25a2f9778516d647cbfaa",
"score": "0.6013289",
"text": "public int getTileGridYOffset();",
"title": ""
},
{
"docid": "1e89df3903028a07e91780a6579eb193",
"score": "0.60064423",
"text": "public int getPoint(int x, int y) {\n if (x < 0 || x >= WIDTH || y < 0 || y >= HEIGHT) {\n return 0;\n } else {\n return this.board[y][x];\n }\n }",
"title": ""
},
{
"docid": "1685c2c8afd304bb0a85b1c5a6b5e70a",
"score": "0.6002825",
"text": "public abstract Drawable getTile(int column, int row);",
"title": ""
},
{
"docid": "c31273b48d4b917d1859552d8864b7cd",
"score": "0.5989624",
"text": "public int getBoardSizeY();",
"title": ""
},
{
"docid": "374c065c87901c8a5761feac3011b46c",
"score": "0.5988048",
"text": "public int getCellNumber(int cellX, int cellY) {\n return cellX*this.boardSize() + cellY;\n }",
"title": ""
},
{
"docid": "05038a6c38ebfe5faa70e01bbe672598",
"score": "0.59780204",
"text": "public int getSpriteID() {\n\treturn currentAnimatedspriteID;\n }",
"title": ""
},
{
"docid": "808069981e074317b23d63a2cc86e779",
"score": "0.5972997",
"text": "public int getCols() {return tiles[0].length;}",
"title": ""
},
{
"docid": "868376c37dae9e747b0634088346bbbf",
"score": "0.59728277",
"text": "public int getPosY();",
"title": ""
},
{
"docid": "e58986a7246b35bd2c4c7e5f678e8e76",
"score": "0.5967813",
"text": "public int getPos(int x, int y)\n {\n \treturn (1 << (m * y + x));\n }",
"title": ""
},
{
"docid": "c8aea4f73aa7806d4893b800edc61114",
"score": "0.5965684",
"text": "public Sprite getSpriteAt(int x, int y) {\n if( x < 0 || x > this.numSpriteZonesWidth || y < 0 || y > this.numSpriteZonesHeight ) {\n System.err.println(\"SpriteSheet \" + this.spriteSheetPath + \"> ERROR: Index out of range: \" + x + \", \" + y);\n return null;\n }\n\n // Estraiamo la sprite dalla cache o dal foglio:\n int sx = this.spriteWidth * x;\n int sy = this.spriteHeight * y;\n int index = sx + (sy * this.numSpriteZonesWidth);\n Sprite sprite = this.mSpriteCache.get( index );\n if( sprite == null ) {\n BufferedImage spriteImage = this.spriteSheet.getSubimage(sx, sy, this.spriteWidth, this.spriteHeight);\n sprite = new Sprite(spriteImage);\n this.mSpriteCache.put( index, sprite );\n }\n // Restituisco la sprite:\n return sprite;\n }",
"title": ""
},
{
"docid": "84df6f668be36a26931a867a8b1df8b3",
"score": "0.5963964",
"text": "public Sprite sprite()\n\t{\n\t\treturn sprite;\n\t}",
"title": ""
},
{
"docid": "030381d55a28711ac1ee196e816e51f0",
"score": "0.5962672",
"text": "Cell getCell(Posn posn);",
"title": ""
},
{
"docid": "10d05f76f1769fe7fa0a4eb2a45d1261",
"score": "0.59518415",
"text": "public String getSprite() {\n return sprite;\n }",
"title": ""
},
{
"docid": "67c2c020010692d237fddfe38e735f53",
"score": "0.59518117",
"text": "public int getPosX();",
"title": ""
},
{
"docid": "838df2e2b030bbf2c5b18c98fe2b44c1",
"score": "0.5948676",
"text": "public BufferedImage getSpriteSheet() {\n return spriteSheet;\n }",
"title": ""
},
{
"docid": "40d285d4f29608ef89900d3490e4471f",
"score": "0.59469354",
"text": "private Point getCardLocation(int tableIndex, int previousCardsCount) {\n Point location = new Point(0, 0);\n\n int topWidthOffset = ImageHelper.SMALL_IMAGE_WIDTH * previousCardsCount;\n int sideWidthOffset = ImageHelper.SMALL_IMAGE_WIDTH * (previousCardsCount % 4);\n int sideHeightOffset = ImageHelper.SMALL_IMAGE_HEIGHT * (previousCardsCount / 4);\n switch (tableIndex) {\n case ImageHelper.BOTTOM_IMAGE_INDEX :\n location.y = TABLE_HEIGHT - ImageHelper.SMALL_IMAGE_HEIGHT;\n location.x = SIDE_OFFSET_WIDTH + topWidthOffset;\n break;\n case ImageHelper.TOP_IMAGE_INDEX :\n location.y = 0;\n location.x = TABLE_WIDTH -\n (SIDE_OFFSET_WIDTH + ImageHelper.SMALL_IMAGE_WIDTH + topWidthOffset);\n break;\n case ImageHelper.LEFT_IMAGE_INDEX :\n location.y = SIDE_OFFSET_HEIGHT + sideWidthOffset;\n location.x = sideHeightOffset;\n break;\n case ImageHelper.RIGHT_IMAGE_INDEX:\n location.y = TABLE_HEIGHT -\n (SIDE_OFFSET_HEIGHT + ImageHelper.SMALL_IMAGE_WIDTH + sideWidthOffset);\n location.x = TABLE_WIDTH -\n (ImageHelper.SMALL_IMAGE_HEIGHT + sideHeightOffset);\n }\n\n return location;\n }",
"title": ""
},
{
"docid": "a5e59988b8ea13d04bb0ba87ede3dda1",
"score": "0.5946098",
"text": "public abstract int getX(int col);",
"title": ""
},
{
"docid": "42a4eef5b9cdc0fdae3cf144f8fa6edd",
"score": "0.59457994",
"text": "@java.lang.Override\n public int getTileIndexY() {\n return tileIndexY_;\n }",
"title": ""
},
{
"docid": "9ffeff094d752b1a3e20354192dfc0b2",
"score": "0.5941688",
"text": "public int getTiley() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readInt(__io__address + 484);\n\t\t} else {\n\t\t\treturn __io__block.readInt(__io__address + 468);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "0064a4eec8fefd712ebaeac193cd3a58",
"score": "0.59408224",
"text": "public BDTile getTile(int x, int y) { return field[x][y]; }",
"title": ""
},
{
"docid": "03f6043435b747318ce862c45877965f",
"score": "0.59382206",
"text": "public final int x() { return bounds.position.x; }",
"title": ""
},
{
"docid": "92819c1dfd9b1fd92cb4299bf38f9636",
"score": "0.59239846",
"text": "public Entry entry(final int idx) {\n final Entry result = new Entry();\n result.spriteY = this.read(idx * 4) & 0xFF;\n result.spriteTile = this.read(idx * 4 + 1) & 0xFF;\n result.spriteAttribute = this.read(idx * 4 + 2);\n result.spriteX = this.read(idx * 4 + 3) & 0xFF;\n return result;\n }",
"title": ""
},
{
"docid": "f24e864c141de3d4dd61ef8c726a55f3",
"score": "0.5923628",
"text": "public Sprite getSprite() {\n\t\treturn sprite;\n\t}",
"title": ""
},
{
"docid": "feed5ec15a6e5140aaa48d790f98e4de",
"score": "0.59206635",
"text": "public int iy() {return (int)_y;}",
"title": ""
},
{
"docid": "7a2ba92a0f12cf4601438aa141e7a93b",
"score": "0.591744",
"text": "public int checkRowandCol(){\n for (int i = 0; i < 3; ++i) {\n if (this.board[i][0] == this.board[i][1] && this.board[i][0] == this.board[i][2]) return this.board[i][0];\n else if(this.board[0][i] == this.board[1][i] && this.board[0][i] == this.board[2][i]) return this.board[0][i];\n }\n return 0;\n }",
"title": ""
},
{
"docid": "b183bfa7a8d3577bb9fa0fcb96cabd1d",
"score": "0.5914935",
"text": "public int getTileY() {\r\n return this.tileY;\r\n }",
"title": ""
},
{
"docid": "cbfebbc5c1d28a5e3555852203b88d48",
"score": "0.59131604",
"text": "public abstract int getOffset(int bx, int by, int w, int h, int px, int py);",
"title": ""
},
{
"docid": "7f9615e71a3d8a9936904633f9f5573d",
"score": "0.591315",
"text": "public abstract int getRow(int y);",
"title": ""
},
{
"docid": "47cecf3ae1e8524dfedbac4f1057d424",
"score": "0.5898323",
"text": "Integer getPosition();",
"title": ""
},
{
"docid": "ec982d0d544c239b1b793d3bb88203cd",
"score": "0.5895742",
"text": "public synchronized int getTileIndex(float px, float py) {\r\n\r\n // Notice: coordinate change\r\n py = screenh - py;\r\n\r\n // map to grid coords\r\n float x = viewx + vieww * (px / screenw - 0.5f);\r\n float y = viewy + viewh * (py / screenh - 0.5f);\r\n\r\n // Normal square grid\r\n if (boardGeometry == 0) {\r\n\r\n if (x < 0.0f) return -1;\r\n if (y < 0.0f) return -1;\r\n if (x > GoSettings.goNormalSide * 40.0f) return -1;\r\n if (y > GoSettings.goNormalSide * 40.0f) return -1;\r\n\r\n int ix = (int) Math.floor(x / 40.0f);\r\n int iy = (int) Math.floor(y / 40.0f);\r\n return ix + iy * GoSettings.goNormalSide;\r\n }\r\n // Hex grid\r\n else if (boardGeometry == 1) {\r\n\r\n GridIndex ind = HexCalc.getTileIndex(x / 40.0f, y / 40.0f);\r\n\r\n if (ind.ix < 0) return -1;\r\n if (ind.iy < 0) return -1;\r\n if (ind.ix >= GoSettings.goNormalSide) return -1;\r\n if (ind.iy >= GoSettings.goNormalSide) return -1;\r\n\r\n return ind.ix + ind.iy * GoSettings.goNormalSide;\r\n }\r\n\r\n return -1;\r\n }",
"title": ""
},
{
"docid": "dbf50cb914e244ddd49db5a1b3e3fbae",
"score": "0.5894181",
"text": "public int getPosition();",
"title": ""
},
{
"docid": "450b0298fd75229f07d8b0ef42139ce1",
"score": "0.5881778",
"text": "@java.lang.Override\n public int getTileIndexY() {\n return tileIndexY_;\n }",
"title": ""
},
{
"docid": "1dc3f4d0597659375cebb33669da28e1",
"score": "0.5878415",
"text": "int getHomeCellIdx(Game game, Player player);",
"title": ""
},
{
"docid": "8b895017981c0d499e6c5109c97f2614",
"score": "0.5876835",
"text": "public int get(int x, int y) {\r\n\t\treturn pixels[x + y * width];\r\n\t}",
"title": ""
},
{
"docid": "06b5a4af8e10c602488699acf8664d51",
"score": "0.58725685",
"text": "public int getBoardY() { return y; }",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "cb737fe96f18ed54b6f2d8a574674a8d",
"score": "0.5869055",
"text": "int getPosX();",
"title": ""
},
{
"docid": "579b85d9db9decfe66c59ad378720f11",
"score": "0.5867354",
"text": "public int getRow()\n\t{\n\t\treturn _point.getRow();\n\t}",
"title": ""
},
{
"docid": "a85482f85350513baca9be36d73c028c",
"score": "0.5864927",
"text": "@Ready\n public int[] getPosition() {\n return new int[]{(int)x, (int)y};\n }",
"title": ""
},
{
"docid": "d790d5ed3a5939859e832b6f9e2b891c",
"score": "0.5863067",
"text": "int getVerticalPosition();",
"title": ""
},
{
"docid": "d9b931608be048e8170ca9778728caf9",
"score": "0.5858421",
"text": "public int getRow() { return row; }",
"title": ""
},
{
"docid": "f9dde05fe1bd6a62cbdb47ab3e4c64b5",
"score": "0.5853647",
"text": "public int getSizeX()\n {\n return this.gameboard.length;\n }",
"title": ""
},
{
"docid": "832d185c526d11908244039c1dc24fab",
"score": "0.58528274",
"text": "public int getSizeY()\n {\n return this.gameboard[0].length;\n }",
"title": ""
}
] |
3cc21096b6eca779a688539d1968913e | Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | [
{
"docid": "1a239553d1a9a50807c9256d7901f3e1",
"score": "0.0",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
}
] | [
{
"docid": "ac3e1bc71579c444b2b4c8c6f32f17e7",
"score": "0.7707419",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n //or can use like below\n //So when user press the Up button it will get the behavior of the back button in the navigation bar.\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "6f2283557f1a31d93885c3596773a8b2",
"score": "0.7702016",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n //called when the up affordance/carat in actionbar is pressed\n super.onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "df62c57bf3ca6fd887e2073ea60b32df",
"score": "0.7695694",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; goto parent activity.\r\n this.finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"title": ""
},
{
"docid": "cf790c1a59e289903e38adfc16bec232",
"score": "0.76778126",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n \n if (id==android.R.id.home){\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n }\n if (id == R.id.home_icon) {\n \t Intent homeIntent = new Intent(this, Home.class);\n homeIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(homeIntent);\n Toast.makeText(getBaseContext(), \"Click on home button\", Toast.LENGTH_LONG).show();\n }\n if (id == R.id.help_icon) {\n \t Intent helpIntent = new Intent(this, Help_Avoid.class);\n helpIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(helpIntent);\n Toast.makeText(getBaseContext(), \"Click on help button\", Toast.LENGTH_LONG).show();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "94282114b63250d4eda51cba662208a8",
"score": "0.76774144",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n }",
"title": ""
},
{
"docid": "94282114b63250d4eda51cba662208a8",
"score": "0.76774144",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n }",
"title": ""
},
{
"docid": "a5720eb3a122cb1353bf70624a5b8eb1",
"score": "0.7614732",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "90b5818b84d985defc0eb35e08cd3cfd",
"score": "0.7613116",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; go home\n Intent intent = new Intent(this, MainActivity_Menu.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n}",
"title": ""
},
{
"docid": "301bf8cfa25464f40ecb7027ead558ba",
"score": "0.7495267",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n // Respond to the action bar's Up/Home button\r\n case android.R.id.home:\r\n NavUtils.navigateUpFromSameTask(this);\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }",
"title": ""
},
{
"docid": "3f028c69c7b9dc6f9a800b27831ecc59",
"score": "0.74846655",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) { onBackPressed(); }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "aed1c4287a22f379bae0e693f741c8d6",
"score": "0.7461295",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "7ecfbe830bdc7db6fb8a58b5a392f79d",
"score": "0.7434352",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\r\n onBackPressed();\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"title": ""
},
{
"docid": "8a7e9a5cd1c1c42fa6ee83d683cd2c2c",
"score": "0.74273276",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case R.id.scoreActionBar:\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "5c08a51176f7935dbae986219f70e5da",
"score": "0.7420065",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n Log.d(\"click\", \"onOptionsItemSelected: \"+\"clicked\");\n finish();\n return true;\n case R.id.action_info:\n Toast.makeText(getApplicationContext(), \"info\", Toast.LENGTH_SHORT).show();\n return true;\n }\n\n\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "b05b775a176b06953229ce33ef4a5bea",
"score": "0.7401002",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n Log.i(\"ActionBar\", \"Atrás!\");\n finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "0cae1706413bf9a757e15ffd6d86f2ef",
"score": "0.74008495",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n\n }",
"title": ""
},
{
"docid": "656337922beda1d188a16b061adf90e0",
"score": "0.7390591",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case R.id.action_delete:\r\n delete();\r\n return true;\r\n case android.R.id.home:\r\n // app icon in action bar clicked; goto parent activity.\r\n onBackPressed();\r\n return true;\r\n case R.id.action_share:\r\n share();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"title": ""
},
{
"docid": "1b798ed7225209edb6cb976aab3f9776",
"score": "0.73855084",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed(); break;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "15cd1e2c4f59f7d6a20e1a1743b226ca",
"score": "0.7380082",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch(item.getItemId()){\n case android.R.id.home:\n onBackPressed();\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "735e174a23b0cb48359efb6448ba1c8d",
"score": "0.736636",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n //按压actionbar中的回退按钮\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "7b695b6c22f7539cfc029a984eace689",
"score": "0.7363732",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n backAction();\n break;\n\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "269c76e9dc4085eba63146d03bacd3db",
"score": "0.73605263",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }",
"title": ""
},
{
"docid": "be0a222a59d8ab9e35b2c107cf8ef17c",
"score": "0.7349597",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n onBackPressed();\n\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "cd2c71ffc389d08f5b34e70e577c480d",
"score": "0.7347529",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if(item.getItemId()==android.R.id.home){\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "2f01bc80f21287cc08f257042f1b61a3",
"score": "0.7331855",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // this takes the user 'back', as if they pressed the left-facing triangle icon on the main android toolbar.\n // if this doesn't work as desired, another possibility is to call `finish()` here.\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "f572fa1ea9a10d9eb592a4ac30a2d2d8",
"score": "0.7331586",
"text": "@Override\r\n\t public boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t \tcase R.id.search:\r\n\t // app icon in action bar clicked; go home\r\n\t Intent intent1 = new Intent(this, SearchNameActivity.class);\r\n\t intent1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n\t startActivity(intent1);\r\n\t return true; \r\n\t \tcase R.id.filter:\r\n\t // app icon in action bar clicked; go home\r\n\t Intent intent2 = new Intent(this, FilterActivity.class);\r\n\t intent2.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n\t startActivity(intent2);\r\n\t return true; \r\n\t \tcase R.id.sorter:\r\n\t // app icon in action bar clicked; go home\r\n\t Intent intent3 = new Intent(this, SortActivity.class);\r\n\t intent3.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n\t startActivity(intent3);\r\n\t return true; \r\n\t case android.R.id.home:\r\n\t // app icon in action bar clicked; go home\r\n\t Intent intent4 = new Intent(this, CookbookActivity.class);\r\n\t intent4.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n\t startActivity(intent4);\r\n\t return true;\r\n\t default:\r\n\t return super.onOptionsItemSelected(item);\r\n\t }\r\n\t }",
"title": ""
},
{
"docid": "c7089d5c1966fb170d30f95ff7084b42",
"score": "0.7324738",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "4fbebccbfa3917dc7710003785317333",
"score": "0.73173285",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // This is called when the Home (Up) button is pressed\n // in the Action Bar.\n\n goBack();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "820356bb3622cba5e0dc1c68b940de92",
"score": "0.73166656",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "dad96b5029818bd4135816f3feaec796",
"score": "0.7315268",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\t\t//id.home is set by android for use as the 'up' button. MainActivity is set as the parent class in the manifest\n\t\tcase android.R.id.home:\n NavUtils.navigateUpFromSameTask(this);\n return true;\n\t\t\n\t\tdefault:\n\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "aa3a114a7b80f643e97ba96920cad732",
"score": "0.73094577",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if(item.getItemId() == R.id.action_home) {\n goToMainActivity();\n return true;\n } else {\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "ec78be6501a99d5d6c511bd9e94063a2",
"score": "0.7304286",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "dc2ccb441c98d8be136917b30ffbef99",
"score": "0.73037523",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\r\n\t\tif (id == R.id.homeAsUp) {\r\n\t\t\tfinish();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"title": ""
},
{
"docid": "18960e2c168ce6af2a6626c4cf7cfb3b",
"score": "0.72982585",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "c962ff814a52885ca0dae984f68c2c9b",
"score": "0.7290295",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n if (item.getItemId() == android.R.id.home || item.getItemId() == 0)\n {\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "e8280c7869869f03194167052c10b763",
"score": "0.72891",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "e8280c7869869f03194167052c10b763",
"score": "0.72891",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "48b23cb71b63f4154fce9b6ebaa389e8",
"score": "0.7282135",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n this.onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "faa8bd8ae7526c6f266f700216702bf6",
"score": "0.7278168",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home){\n // Press Back Icon\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "deeba5958e1ba5565d937885298bee8f",
"score": "0.72651225",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId())\n {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "27c8410963ab9cc758de135802a86143",
"score": "0.7259943",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "571afc70716cfbaac24a618e8c59acda",
"score": "0.7235119",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.action_home:\n //In this case, since we're already on the main UI, we don't want the \"home\" button\n //to actually have any functionality.\n //startActivity(new Intent(getApplicationContext(), MainActivity.class));\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "628c53099b5a4705b9c6e16709ce92a6",
"score": "0.7228587",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n StartActivityMain();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "b89a24617d197b5ebad38f9dc43844e2",
"score": "0.72281444",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item){\n int id = item.getItemId();\n if(id == android.R.id.home){\n this.finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "2a62f4d1330ec19c588e64243687bd7b",
"score": "0.72138745",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\r\n\t\tswitch (id) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tthis.finish();\r\n\t\t\treturn true;\r\n\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"title": ""
},
{
"docid": "51c485def1ae9039442286287c50e97d",
"score": "0.7210947",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if(id == android.R.id.home) {\n onBackPressed();\n }\n\n return true;\n }",
"title": ""
},
{
"docid": "63c7017ab65166ce632fbdf5894e7038",
"score": "0.7199753",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n Intent i = new Intent(this, MainActivity.class);\n startActivity(i);\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "0bfa622a749201d6aeab672c80683701",
"score": "0.7196368",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tthis.finish();\n\t\t}\n\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"title": ""
},
{
"docid": "13c83fcfda2fbf9d5b9bec6ea118a37b",
"score": "0.7193823",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n if (item.getItemId() == R.id.homeAsUp) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "9e8154161303dd650f515506604e82e6",
"score": "0.71933645",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n //this.finish();\n finish();\n overridePendingTransition(R.anim.slide_in_left, R.anim.slide_out_right);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "d5f7e3e23a13fb3895c735ddace30c6a",
"score": "0.71892816",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\r\n\t\tif (id == android.R.id.home) {\r\n\t\t\tnavigateToParent();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"title": ""
},
{
"docid": "90750e69b2489c8e379916831629cf62",
"score": "0.71862704",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n\n return(super.onOptionsItemSelected(item));\n }",
"title": ""
},
{
"docid": "d920dd73bf65cb9c3f3155fd81029d60",
"score": "0.71778536",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n if (id == R.id.action_settings) {\n Intent intent = new Intent(this, SettingsActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n return true;\n }\n\n if (id == R.id.action_supporter) {\n Intent intent = new Intent(this, SupporterActivity.class);\n startActivity(intent);\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "06bcf76cc236528be80d0e3ada83211d",
"score": "0.7176303",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home)\n onBackPressed();\n\n return true;\n }",
"title": ""
},
{
"docid": "849e62a71d2e941c368599ad2ef3a6b2",
"score": "0.7174832",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tfinish();\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\t\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"title": ""
},
{
"docid": "13aa25bd68abdd71e6b689b715c9fa03",
"score": "0.717347",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id)\n {\n case android.R.id.home:\n finish();\n }\n\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "d315070707c53f3d56e4fe21ae5f60d7",
"score": "0.7166554",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n Toast.makeText(getApplicationContext(),\"Back button clicked\", Toast.LENGTH_SHORT).show();\n break;\n }\n return true;\n }",
"title": ""
},
{
"docid": "8be35b371b9b628ab6c55f14125a7a85",
"score": "0.7164105",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case android.R.id.home:\n Intent intent = new Intent(BottomInfo.this,MainActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n intent.putExtra(\"thisTruckIdx\", thisTruckIdx);\n startActivity(intent);\n finish();\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "45a34051288e639eea4515b670406ffb",
"score": "0.71634156",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tswitch (id) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"title": ""
},
{
"docid": "ad0e25b4e9e037d096a5842b3e6c3fdf",
"score": "0.71551496",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch(item.getItemId()){\n\t\tcase android.R.id.home:\n\t\t\tNavUtils.navigateUpTo(this, new Intent(this,SyaratWarisan.class));\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t\t\n\t}",
"title": ""
},
{
"docid": "ddfd5913ee91b415958d95947ddfed04",
"score": "0.7144915",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if(id==android.R.id.home)\n {\n Intent intent=new Intent(getApplicationContext(),MainActivity.class);\n startActivity(intent);\n finish();\n\n }\n\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "9bbbf71d5fa9d8b1e240f5b3487841b7",
"score": "0.71440136",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle item selection\n switch (item.getItemId()) {\n //Back button\n case R.id.about:\n //If this activity started from other activity\n Intent intent = new Intent(getApplicationContext(), AboutActivity.class);\n startActivity(intent);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "8550b599db279800dc703aad97d0ce23",
"score": "0.71425605",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n\n\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "86ddf3d93fe83977bc6b87f20fd64ffd",
"score": "0.71411985",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (t.onOptionsItemSelected(item)) {\n return true;\n }\n // Handle your other action bar items...\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "6f9af9b1e63a323896e79dcbae3ec803",
"score": "0.7141197",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n if(id == android.R.id.home) {\r\n finish();\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"title": ""
},
{
"docid": "a84c5fdda30e95ffce4cd46a526f6414",
"score": "0.71406275",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n onBackPressed();\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "b240b3286ca06edb2fda10e5313a2807",
"score": "0.7135085",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "e0cd8e3db2c5b31f15f3f720dfc8037c",
"score": "0.71328044",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tswitch (id) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"title": ""
},
{
"docid": "f129c08e034935cae1ad377369c362c5",
"score": "0.71318066",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n onBackPressed();\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "f5fff5565c305ec470fbd2af10882307",
"score": "0.7129393",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return false;\n }",
"title": ""
},
{
"docid": "09e589fc8ef986d6a506c732f5bcb2ff",
"score": "0.71287566",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if(id == android.R.id.home){\n finish();\n }\n\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "1fb387deab2340178d0058bb1c3e5778",
"score": "0.7121791",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if(id == android.R.id.home){\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "61136721e86edf1707b574f642770012",
"score": "0.71196723",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n int id = item.getItemId();\n\n if(id == R.id.accountButton){\n Intent intent = new Intent(this, AccountActivity.class);\n startActivity(intent);\n }\n else if(id == R.id.homeAsUp){\n //built in system back button\n NavUtils.navigateUpFromSameTask(this);\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ac4f73847cdf6d352bfa9a8ec282c7a8",
"score": "0.71187997",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n if(item.getItemId()==android.R.id.home)\n {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ecd54f464f82b1f26bfa5577b3bdbfba",
"score": "0.70991665",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n getSupportActionBar().setDisplayShowHomeEnabled(false);\n getSupportActionBar().setDisplayHomeAsUpEnabled(false);\n getSupportActionBar().setHomeButtonEnabled(false);\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "d74319bf038884cf5c505e1e74cbbf0d",
"score": "0.7094168",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "d74319bf038884cf5c505e1e74cbbf0d",
"score": "0.7094168",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "e0d646c2c345dfb74db7632e55b9fa4c",
"score": "0.7094154",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "3cf31f8d25fd958b810a2af7c6dec73d",
"score": "0.7089323",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home){\n Intent myIntent = new Intent(getApplicationContext(), MainActivity.class);\n startActivityForResult(myIntent, 0);\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "66acdb3c331d85688d9659ed07203925",
"score": "0.7087827",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\n\t\tswitch(item.getItemId()){\n\t\tcase android.R.id.home: \n\t\t\tfinish();\n\t\t\tbreak;\t\n\t\tdefault:\n\t\t\tbreak;\n\t\t\t\n\t\t}\n\t\t\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"title": ""
},
{
"docid": "6fee44e56191fd3e43eafb020cde3875",
"score": "0.70874125",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "d21699356b579dd7d679cd40fda18e8c",
"score": "0.708703",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n case android.R.id.home:\n finish();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "45f0ce20e75e806f3e0dfee01260aed2",
"score": "0.7086063",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n this.finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "a7e079bd701ba4eb36ec056d4abe345f",
"score": "0.7084817",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ca59a312a19c3fee646f194d0f989fd5",
"score": "0.7081686",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ca59a312a19c3fee646f194d0f989fd5",
"score": "0.7081686",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ca59a312a19c3fee646f194d0f989fd5",
"score": "0.7081686",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "ca59a312a19c3fee646f194d0f989fd5",
"score": "0.7081686",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "011d3fd848362e42c10a4684a952b4e8",
"score": "0.7073324",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if(id == android.R.id.home)\n {\n sendToMainActivity();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "966e22f51a5463ecebe804d72625c389",
"score": "0.70683426",
"text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item)\r\n {\n int id = item.getItemId();\r\n if(id==android.R.id.home)\r\n {\r\n finish();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"title": ""
},
{
"docid": "828050fa6eb7e726918f28459480a651",
"score": "0.70617986",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == R.id.action_settings) {\n return true;\n }\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked go home\n\n Intent intent = new Intent(this, Main_Setting.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"title": ""
},
{
"docid": "7e2ae55ed128da8e12d74fbe4f0f6ebe",
"score": "0.70585483",
"text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tsuper.onBackPressed();\n\t\treturn super.onOptionsItemSelected(item);\n\t\n\t}",
"title": ""
},
{
"docid": "d74ee3663746fbc5e5add0fd2ffc946a",
"score": "0.7056945",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch(item.getItemId()){\n\n case R.id.action_settings:\n return true;\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "e2c69b8ce6e72edc81ebec4debc267e4",
"score": "0.70567715",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n //noinspection SimplifiableIfStatement\n\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "64fb7b26ab4ae57da0da0d1b6c3beaa2",
"score": "0.70477843",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case 0:\n doFav();\n break;\n case android.R.id.home:\n finish();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "fcdaa1244ad7f3cc45f72cbdbfab6170",
"score": "0.7043057",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n// NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_home_activity) {\n\n Bundle bundle = new Bundle();\n bundle.putString(FirebaseAnalytics.Param.ITEM_ID, \"home_button_base_activity\");\n bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, \"Home Menu Item\");\n bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, \"button\");\n if (mFirebaseAnalytics != null) {\n mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);\n }\n\n startActivity(new Intent(getApplicationContext(), HomeActivity.class));\n return true;\n }\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n startActivity(new Intent(getApplicationContext(), SettingsActivity.class));\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "46a1d0d93aaeaf31ef249c8dba0568c3",
"score": "0.7035876",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "c241fbbab256c19fe7a5eb7bb5fe5f0a",
"score": "0.70299196",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n finish();\n return true;\n\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
},
{
"docid": "04d73925443c3211a1c74cb10da41fb7",
"score": "0.7029901",
"text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tNavUtils.navigateUpFromSameTask(this);\r\n\t\t\treturn true;\r\n\r\n\t\tdefault:\r\n\t\t\treturn super.onOptionsItemSelected(item);\r\n\t\t}\r\n\t}",
"title": ""
},
{
"docid": "327d8c1330e34a9ca7439e2cfb5918a5",
"score": "0.7028334",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n supportFinishAfterTransition();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n\n }",
"title": ""
},
{
"docid": "2e4c85c02173b413ef586c19b5dd1a2f",
"score": "0.70208985",
"text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n break;\n default:\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"title": ""
}
] |
1857263e70afbf5b33092dee4a42c6a3 | /! The number of results to return. Capped at 50. | [
{
"docid": "2176e739924b831ef6e152964be49e9e",
"score": "0.0",
"text": "public NLFoursquareVenueExploreParametersBuilder limit(int limit) {\n // Capped by Foursquare\n _params.put(\"limit\", String.valueOf(limit));\n\n return this;\n }",
"title": ""
}
] | [
{
"docid": "21ee6770541c985dcca28a215a4dd316",
"score": "0.705716",
"text": "int getResultsCount();",
"title": ""
},
{
"docid": "21ee6770541c985dcca28a215a4dd316",
"score": "0.705716",
"text": "int getResultsCount();",
"title": ""
},
{
"docid": "21ee6770541c985dcca28a215a4dd316",
"score": "0.705716",
"text": "int getResultsCount();",
"title": ""
},
{
"docid": "21ee6770541c985dcca28a215a4dd316",
"score": "0.705716",
"text": "int getResultsCount();",
"title": ""
},
{
"docid": "21ee6770541c985dcca28a215a4dd316",
"score": "0.705716",
"text": "int getResultsCount();",
"title": ""
},
{
"docid": "c8dc5d5f4050bc1c3612812fac1d55ea",
"score": "0.68262935",
"text": "@Override\n\tpublic int getNumResults() {\n\t\treturn 0;\n\t}",
"title": ""
},
{
"docid": "322b9012140c0fcf36a64cb7da4bfe81",
"score": "0.672757",
"text": "int getResultPerPage();",
"title": ""
},
{
"docid": "ae9aa8ec8d64955bb3dd0c21c953ebf0",
"score": "0.66008353",
"text": "public void setNumResultsToRetrieve(int value) {\n this.numResultsToRetrieve = value;\n }",
"title": ""
},
{
"docid": "ea4713a9a52b70c99e1ed0ed3db56afd",
"score": "0.64481014",
"text": "public int getNumResultsToRetrieve() {\n return numResultsToRetrieve;\n }",
"title": ""
},
{
"docid": "ac3323e6a088e449492725e484d59cbc",
"score": "0.64398414",
"text": "long getNEntries();",
"title": ""
},
{
"docid": "2367ad96f9bd1a9913ee9013b3153486",
"score": "0.6421349",
"text": "@Test\n public void validNumberOfPages() throws IOException {\n String selectQuery = StringUtils.format(\"SELECT firstname, state FROM %s\", TEST_INDEX_ACCOUNT);\n JSONObject response = new JSONObject(executeFetchQuery(selectQuery, 50, JDBC));\n String cursor = response.getString(CURSOR);\n int pageCount = 1;\n\n while (!cursor.isEmpty()) { //this condition also checks that there is no cursor on last page\n response = executeCursorQuery(cursor);\n cursor = response.optString(CURSOR);\n pageCount++;\n }\n\n assertThat(pageCount, equalTo(20));\n\n // using random value here, with fetch size of 28 we should get 36 pages (ceil of 1000/28)\n response = new JSONObject(executeFetchQuery(selectQuery, 28, JDBC));\n cursor = response.getString(CURSOR);\n System.out.println(response);\n pageCount = 1;\n\n while (!cursor.isEmpty()) {\n response = executeCursorQuery(cursor);\n cursor = response.optString(CURSOR);\n pageCount++;\n }\n assertThat(pageCount, equalTo(36));\n }",
"title": ""
},
{
"docid": "4cde7c8583a8e1062fb5df560fbe1fd4",
"score": "0.6354306",
"text": "public int getNumOfResults() {\r\n return localNumOfResults;\r\n }",
"title": ""
},
{
"docid": "c7fab97dac0dc899e205328d34d51bbb",
"score": "0.6346643",
"text": "@Override\n public int size() {\n return results.size();\n }",
"title": ""
},
{
"docid": "6d017c75852141cdaedbf1ca64d52e86",
"score": "0.62950295",
"text": "@Test\n public void testDoQueryWithLotsOfResults() throws Exception\n {\n System.out.println(\"testDoQueryWithLotsOfResults\");\n //put in an index that we can use with bulk data\n f.insertIndex(Fixtures.createTestIndexWithBulkDataHit());\n List<Document> docs = Fixtures.getBulkDocuments();\n //put a bunch of test docs in\n f.insertDocuments(docs);\n QueryRepository instance = new QueryRepositoryImpl(f.getSession());\n QueryResponseWrapper result = instance.query(Fixtures.createTestParsedQueryBulkData());\n assertNotNull(result);\n assertTrue(!result.isEmpty());\n assertTrue(result.size() == 34);\n assertTrue(result.getNumAdditionalResults() == 0);\n }",
"title": ""
},
{
"docid": "499c295824c7c92e740b9bfc9342dde0",
"score": "0.6294418",
"text": "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }",
"title": ""
},
{
"docid": "499c295824c7c92e740b9bfc9342dde0",
"score": "0.6294418",
"text": "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }",
"title": ""
},
{
"docid": "499c295824c7c92e740b9bfc9342dde0",
"score": "0.6294418",
"text": "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }",
"title": ""
},
{
"docid": "499c295824c7c92e740b9bfc9342dde0",
"score": "0.62927586",
"text": "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }",
"title": ""
},
{
"docid": "625065ac71bc5392464b7e1022a0db44",
"score": "0.626078",
"text": "public int getCount() \n\t\t{\n\t\t cnt=results.size();\t\t\t \n\t\t\treturn cnt;\n\t\t}",
"title": ""
},
{
"docid": "c3650c18a39600945001fa061d7e1757",
"score": "0.61858404",
"text": "public void setResultsSize(long size) {\n resultsSize = size;\n }",
"title": ""
},
{
"docid": "86e49f8e902a209ebbdd74c0bd573e4d",
"score": "0.617548",
"text": "public int getSize() {\r\n return this.m_results.length;\r\n }",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "23305622800c5ba0464628cd825c50ff",
"score": "0.6157338",
"text": "long getCount();",
"title": ""
},
{
"docid": "72e58b05cd427bde4c6a09dc78975017",
"score": "0.61209613",
"text": "public int getCountAll();",
"title": ""
},
{
"docid": "7e83278ea1665f0ffa0c3bbc86831dba",
"score": "0.60985035",
"text": "long getAllCount();",
"title": ""
},
{
"docid": "4c4f55e4824ad904267532793640c6a1",
"score": "0.60926497",
"text": "int getPageSize ();",
"title": ""
},
{
"docid": "62799aae6260fc876fab2d74d3df89c5",
"score": "0.6090619",
"text": "int getPageSize();",
"title": ""
},
{
"docid": "62799aae6260fc876fab2d74d3df89c5",
"score": "0.6090619",
"text": "int getPageSize();",
"title": ""
},
{
"docid": "62799aae6260fc876fab2d74d3df89c5",
"score": "0.6090619",
"text": "int getPageSize();",
"title": ""
},
{
"docid": "1a91677322d27ff17a7965ac21e39eed",
"score": "0.6072803",
"text": "long getPageSize();",
"title": ""
},
{
"docid": "1a91677322d27ff17a7965ac21e39eed",
"score": "0.6072803",
"text": "long getPageSize();",
"title": ""
},
{
"docid": "1a91677322d27ff17a7965ac21e39eed",
"score": "0.6072803",
"text": "long getPageSize();",
"title": ""
},
{
"docid": "1a91677322d27ff17a7965ac21e39eed",
"score": "0.6072803",
"text": "long getPageSize();",
"title": ""
},
{
"docid": "1118d3df9a76f718b4942064d43d963f",
"score": "0.602537",
"text": "public void setNumOfResults(int param) {\r\n this.localNumOfResults = param;\r\n }",
"title": ""
},
{
"docid": "531fc497e1dbe42bc7c96c526fa491ef",
"score": "0.6011442",
"text": "@Test\n public void testDoQueryWithPaging() throws Exception\n {\n System.out.println(\"testDoQueryWithPaging\");\n //put in an index that we can use with bulk data\n f.insertIndex(Fixtures.createTestIndexWithBulkDataHit());\n List<Document> docs = Fixtures.getBulkDocuments();\n //put a bunch of test docs in\n f.insertDocuments(docs);\n //setup\n QueryRepository instance = new QueryRepositoryImpl(f.getSession());\n ParsedQuery query = Fixtures.createTestParsedQueryBulkData();\n //let's get the first 5\n QueryResponseWrapper result = instance.query(query, 5, 0);\n assertNotNull(result);\n assertTrue(!result.isEmpty());\n assertTrue(result.size() == 5);\n assertTrue(result.get(0).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data32\\\"\"));\n assertTrue(result.get(1).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data31\\\"\"));\n assertTrue(result.get(2).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data30\\\"\"));\n assertTrue(result.get(3).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data29\\\"\"));\n assertTrue(result.get(4).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data28\\\"\"));\n assertTrue(result.getNumAdditionalResults() == null);\n\n //now lets get the second 5\n result = instance.query(query, 5, 5);\n assertNotNull(result);\n assertTrue(!result.isEmpty());\n assertTrue(result.size() == 5);\n assertTrue(result.get(0).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data27\\\"\"));\n assertTrue(result.get(1).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data26\\\"\"));\n assertTrue(result.get(2).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data25\\\"\"));\n assertTrue(result.get(3).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data24\\\"\"));\n assertTrue(result.get(4).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data23\\\"\"));\n assertTrue(result.getNumAdditionalResults() == null);\n\n //now lets get the third 5\n result = instance.query(query, 5, 10);\n assertNotNull(result);\n assertTrue(!result.isEmpty());\n assertTrue(result.size() == 5);\n assertTrue(result.get(0).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data22\\\"\"));\n assertTrue(result.get(1).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data21\\\"\"));\n assertTrue(result.get(2).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data20\\\"\"));\n assertTrue(result.get(3).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data19\\\"\"));\n assertTrue(result.get(4).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data18\\\"\"));\n assertTrue(result.getNumAdditionalResults() == null);\n\n //now lets get the last 4\n result = instance.query(query, 5, 30);\n assertNotNull(result);\n assertTrue(!result.isEmpty());\n assertTrue(result.size() == 4);\n assertTrue(result.get(0).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data2\\\"\"));\n assertTrue(result.get(1).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data1\\\"\"));\n assertTrue(result.get(2).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some more random data\\\"\"));\n assertTrue(result.get(3).objectAsString().contains(\"\\\"field2\\\" : \\\"this is some random data\\\"\"));\n assertTrue(result.getNumAdditionalResults() == 0);\n\n }",
"title": ""
},
{
"docid": "237717fdd02691ed309fc78e65b53797",
"score": "0.59845203",
"text": "ResultData getResults();",
"title": ""
},
{
"docid": "4a460935cb9a07f322091c2f0be3bccb",
"score": "0.5983564",
"text": "public int size() {\n\t\treturn results.size();\n\t}",
"title": ""
},
{
"docid": "3857c0fb213a24c53c4304156f3486f1",
"score": "0.5981675",
"text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getTotalResults();",
"title": ""
},
{
"docid": "35c6e81450c4530285a565def23bae20",
"score": "0.5979049",
"text": "private void getResults(){ \n }",
"title": ""
},
{
"docid": "9d3e48760ed87a3bf62d044073a93087",
"score": "0.5968879",
"text": "int getPerPage();",
"title": ""
},
{
"docid": "afd4083c8b71bf77e489d2eecaf91bca",
"score": "0.5966497",
"text": "@Test\n public void respectLimitPassedInSelectClause() throws IOException {\n int limit = 234;\n String selectQuery =\n StringUtils.format(\"SELECT age, balance FROM %s LIMIT %s\", TEST_INDEX_ACCOUNT, limit);\n JSONObject response = new JSONObject(executeFetchQuery(selectQuery, 50, JDBC));\n String cursor = response.getString(CURSOR);\n int actualDataRowCount = response.getJSONArray(DATAROWS).length();\n int pageCount = 1;\n\n while (!cursor.isEmpty()) {\n response = executeCursorQuery(cursor);\n cursor = response.optString(CURSOR);\n actualDataRowCount += response.getJSONArray(DATAROWS).length();\n pageCount++;\n }\n\n assertThat(pageCount, equalTo(5));\n assertThat(actualDataRowCount, equalTo(limit));\n }",
"title": ""
},
{
"docid": "a80cdfad9b49eade8647d37a5233b7a7",
"score": "0.5963114",
"text": "public void setTotalResults(java.lang.Integer value);",
"title": ""
},
{
"docid": "fc11d4afa49393b1c55e083e0dfe8ab4",
"score": "0.596202",
"text": "@Override\n\t\t\tpublic int getMaxResults() {\n\t\t\t\treturn 0;\n\t\t\t}",
"title": ""
},
{
"docid": "a523390207db747ed46d02226c036843",
"score": "0.59597814",
"text": "long getSearchCount();",
"title": ""
},
{
"docid": "b978a304fee2321247726b55611aabd3",
"score": "0.5949984",
"text": "public int numDisplayedResults()\r\n {\r\n return pager_.getCount();\r\n }",
"title": ""
},
{
"docid": "49c2141fcba3b7098d3e6a1e66e09277",
"score": "0.59496737",
"text": "public int searchForListings()\n {\n int result = 0;\n\n for (String url : urls)\n {\n CWHTTPGet request = new CWHTTPGet(url);\n\n if (!request.hadError())\n {\n\n }\n }\n }",
"title": ""
},
{
"docid": "9cbff72d4007cc719e0cebf9debb6284",
"score": "0.5939053",
"text": "public int getPageSize();",
"title": ""
},
{
"docid": "5c7bbd6e5c7cfd4b72d023a15f627aa0",
"score": "0.5916803",
"text": "public Integer getLimitResults() {\r\n return toolBar.getLimitResults();\r\n }",
"title": ""
},
{
"docid": "ea840e401cf6f9139c846528875c7951",
"score": "0.5912327",
"text": "public abstract int getPageHits();",
"title": ""
},
{
"docid": "23482a86e2c96edfa6f4294b698ae2a2",
"score": "0.5888215",
"text": "public long getCount();",
"title": ""
},
{
"docid": "189fe5e44625a237abfc43a437b9ea1a",
"score": "0.58873993",
"text": "int getAtAllCount();",
"title": ""
},
{
"docid": "df65e7adbed281109ef56bd3194c5cf2",
"score": "0.5875313",
"text": "long getTotalItems();",
"title": ""
},
{
"docid": "ed0779c667ed7d48c5a9caaadd056d34",
"score": "0.58619946",
"text": "public int estimateRowsRetrieved(String criteria) throws Exception;",
"title": ""
},
{
"docid": "ac2c32fa47658d730f0b03eee44d6d1b",
"score": "0.5859833",
"text": "long getPage();",
"title": ""
},
{
"docid": "e368f95ec7399b0c5995674f420090eb",
"score": "0.5852401",
"text": "@Test\n public void validTotalResultWithAndWithoutPagination() throws IOException {\n String selectQuery = StringUtils.format(\"SELECT firstname, state FROM %s \", TEST_INDEX_ACCOUNT);\n verifyWithAndWithoutPaginationResponse(selectQuery + \" LIMIT 2000\", selectQuery, 80);\n }",
"title": ""
},
{
"docid": "0373dea97ed38727a97b4a444a94209f",
"score": "0.5845424",
"text": "public int GetNumActiveSearches(){ return searchRequests.size(); }",
"title": ""
},
{
"docid": "51c13b2c471a9179e8c3080be2b114cf",
"score": "0.5831002",
"text": "@java.lang.Override\n public int getResultsCount() {\n return instance.getResultsCount();\n }",
"title": ""
},
{
"docid": "51c13b2c471a9179e8c3080be2b114cf",
"score": "0.5831002",
"text": "@java.lang.Override\n public int getResultsCount() {\n return instance.getResultsCount();\n }",
"title": ""
},
{
"docid": "51c13b2c471a9179e8c3080be2b114cf",
"score": "0.58295906",
"text": "@java.lang.Override\n public int getResultsCount() {\n return instance.getResultsCount();\n }",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.58291334",
"text": "int getLimit();",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.58291334",
"text": "int getLimit();",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.58291334",
"text": "int getLimit();",
"title": ""
},
{
"docid": "3b8209d49413bc76cc371c16537202ce",
"score": "0.58291334",
"text": "int getLimit();",
"title": ""
},
{
"docid": "1f1a88de322216bb55d011b4666494f0",
"score": "0.5821417",
"text": "int getPageCount();",
"title": ""
},
{
"docid": "825c87f6140aad296002f52ba4676799",
"score": "0.58184206",
"text": "@Override\n\tpublic boolean getMoreResults(int arg0) throws SQLException {\n\t\treturn false;\n\t}",
"title": ""
},
{
"docid": "2aed3b27e7b48ea5e883e5e850f690ea",
"score": "0.5810949",
"text": "public void top100() {\n }",
"title": ""
},
{
"docid": "b0ca1e44b16d7780bdb71725ab39e3d0",
"score": "0.581094",
"text": "int getRequestsPerUnit();",
"title": ""
},
{
"docid": "4d9e89bffa795ead77de8ff5b97e6a30",
"score": "0.58083004",
"text": "public static Result index() {\n \treturn page(new Long(1) );\n }",
"title": ""
},
{
"docid": "c20c4d16a50388cbe62bbd12921717cf",
"score": "0.58075225",
"text": "SearchResult getResults(int index);",
"title": ""
},
{
"docid": "c624b1229d7fffa06b59407fd43b7381",
"score": "0.580675",
"text": "public void gatherResults() {\n }",
"title": ""
},
{
"docid": "4eff6ad285a8abff091864cf02fad10f",
"score": "0.58052224",
"text": "int getTotalCount();",
"title": ""
},
{
"docid": "5985f6aa11dedaf4a354d0c8b5c33983",
"score": "0.57933676",
"text": "prometheus.Remote.QueryResult getResults(int index);",
"title": ""
},
{
"docid": "accace7917c43bceb87b77d347c99705",
"score": "0.5770136",
"text": "long getTotalCount();",
"title": ""
},
{
"docid": "accace7917c43bceb87b77d347c99705",
"score": "0.5770136",
"text": "long getTotalCount();",
"title": ""
},
{
"docid": "accace7917c43bceb87b77d347c99705",
"score": "0.5770136",
"text": "long getTotalCount();",
"title": ""
},
{
"docid": "16386464b33cdb6e4e19dd9033f49b32",
"score": "0.57605875",
"text": "int getQueriesCount();",
"title": ""
},
{
"docid": "16386464b33cdb6e4e19dd9033f49b32",
"score": "0.57605875",
"text": "int getQueriesCount();",
"title": ""
},
{
"docid": "42d3d743d9ab0fc7cb8bfdd70a5c6eb6",
"score": "0.5752994",
"text": "public int getMaxResultSize() {\n return MAX_RESULT_SIZE;\n }",
"title": ""
},
{
"docid": "3192ff8c9e6643b124e36d07188cd9e2",
"score": "0.57474804",
"text": "protected long[] getResults()\n {\n return m_alResults;\n }",
"title": ""
},
{
"docid": "cc5736a4b17befe3e93dcf91ca44a7d1",
"score": "0.57136935",
"text": "public int getLimit();",
"title": ""
},
{
"docid": "cc5736a4b17befe3e93dcf91ca44a7d1",
"score": "0.57136935",
"text": "public int getLimit();",
"title": ""
},
{
"docid": "d084b34940dbfd2e31e5bd6ad94ec780",
"score": "0.57050544",
"text": "public int getMaxRequests();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "2bc0c8328870e90988eea69a1bbb08af",
"score": "0.5704036",
"text": "int getCount();",
"title": ""
},
{
"docid": "24070485cd16483dd9dea978027304a1",
"score": "0.5693272",
"text": "private final int getMaxResults()\n\t{\n\t\treturn getIntParam(TagUtility.MAX_RESULTS_PARAM, maxResults);\n\t}",
"title": ""
},
{
"docid": "940c0e9d8e33edf2531d22f1eb5404df",
"score": "0.56923974",
"text": "int getTotalRecords();",
"title": ""
},
{
"docid": "a95a33b101f00db5e635026dfcc36626",
"score": "0.5685381",
"text": "public int getTotalCount();",
"title": ""
},
{
"docid": "21b58e8306d1f0c12f6c3d8b99f43328",
"score": "0.5682374",
"text": "java.math.BigInteger getPageactioncount();",
"title": ""
},
{
"docid": "1ca8c870b70221506671f0ec4666f833",
"score": "0.56709003",
"text": "public boolean getMoreResults() throws tinySQLException\n {\n return false;\n }",
"title": ""
}
] |
50958ff8903b3012554ddf9f9c9baa4a | ///////////////////////////////////////////////////////////////////////// Click handling and listeners ///////////////////////////////////////////////////////////////////////// | [
{
"docid": "de2110a77e3eba11966f296911753419",
"score": "0.0",
"text": "public void keyPadNumberClick( View view ) {\n String buttonText = ( (Button) view ).getText().toString();\n switch (buttonText) {\n default:\n Toast.makeText(getContext(), \"Got a button click with text: \" + buttonText, Toast.LENGTH_SHORT).show();\n }\n Log.d(TAG, \"keyPadNumberClick() called with: \" + \"view = [\" + view + \"]\");\n }",
"title": ""
}
] | [
{
"docid": "250d96b6708dfc1af630330c98cbac7d",
"score": "0.7831479",
"text": "public void click() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "e3c3a7be60e38edca7b6ae7a6993115a",
"score": "0.7737798",
"text": "@Override\n\tprotected void processClick(View v) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "abe55dedffff5c1b7b33cf01eeca8d19",
"score": "0.77223396",
"text": "@Override\r\n\tpublic void handleClick() {}",
"title": ""
},
{
"docid": "0eb8fdc80eb294b36dc8f9708044a144",
"score": "0.7634358",
"text": "@Override\n\tpublic void click(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "c06ea8e70bb72a773dd8858fc9334a39",
"score": "0.75928676",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "afaf5fd3df94dec507f37ac0fb14281f",
"score": "0.758495",
"text": "@Override\n\tpublic void gererClick() {\n\t\t\n\t}",
"title": ""
},
{
"docid": "64d0850e4d5a2d4f6b8b69f6e07eed34",
"score": "0.75597554",
"text": "public void mouseClicked(MouseEvent event){\n \n //Nothing to do for this project\n\n }",
"title": ""
},
{
"docid": "a9b7d13796200e7c73eec57cf81a4758",
"score": "0.7550473",
"text": "@Override\n\t\t\tpublic void didClick() {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "b10be47d62c217d8bbfc1abb29986bea",
"score": "0.75307864",
"text": "@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t\t}",
"title": ""
},
{
"docid": "66f3dfe22889304f694dec3f09f68d36",
"score": "0.75208414",
"text": "@Override\r\n\t\t\tpublic void mouseClicked (MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "dd80b7a94f2df648f77c55d831a5963d",
"score": "0.75164956",
"text": "void clicked(MouseEvent e);",
"title": ""
},
{
"docid": "686b639f5c638a713c0a6d76a2d9e592",
"score": "0.7514875",
"text": "@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t \n\t\t\t\t }",
"title": ""
},
{
"docid": "da1940a69e14503010d588c6c72c7a23",
"score": "0.7512706",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "31e73709005bff00e0e64143c1add898",
"score": "0.750661",
"text": "@Override\n protected void clicked(MouseButtons mouseButtons)\n {\n \n }",
"title": ""
},
{
"docid": "25e3461da0cea03cd0db73ead5b6f17a",
"score": "0.7503994",
"text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "25e3461da0cea03cd0db73ead5b6f17a",
"score": "0.7503994",
"text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "25e3461da0cea03cd0db73ead5b6f17a",
"score": "0.7503994",
"text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}",
"title": ""
},
{
"docid": "4995350c7854564d0d806ae7a053d285",
"score": "0.74932706",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}",
"title": ""
},
{
"docid": "8886f0ddf3790c4ae9ba524ac1d4b43b",
"score": "0.74879295",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "8886f0ddf3790c4ae9ba524ac1d4b43b",
"score": "0.74879295",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "8886f0ddf3790c4ae9ba524ac1d4b43b",
"score": "0.74879295",
"text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "3efcd602833cf1523f4ccd2fdb5bdefd",
"score": "0.7477435",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "c6e2504fa889450cb4e8812ead656b34",
"score": "0.74673927",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) \n\t{\n\n\t}",
"title": ""
},
{
"docid": "cbfc73b2d8a7f57bb4e439de577b6bb2",
"score": "0.74655527",
"text": "@Override\n public void mouseClicked(MouseEvent e) {\n\n }",
"title": ""
},
{
"docid": "6eb6b1b401874f4261907cc80a9bae42",
"score": "0.7461267",
"text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}",
"title": ""
},
{
"docid": "b61c5995077e506b5769503a11e807d1",
"score": "0.7457243",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "3be16ce00bf889f7d66f78a7aec1f962",
"score": "0.74512935",
"text": "public void click();",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "b006d98218a696364584606ff04d54b7",
"score": "0.7450962",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "ad89f52ae4d7a0a5cb70833bae697862",
"score": "0.74490315",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}",
"title": ""
},
{
"docid": "7aa26514d43840062733a7b95962802d",
"score": "0.744834",
"text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t\t\t}",
"title": ""
},
{
"docid": "77d3a448572151d948db5a50e47b6474",
"score": "0.7445235",
"text": "@Override public void mouseClicked(MouseEvent e) {}",
"title": ""
},
{
"docid": "e9ee168979ef8768e9aa4e8b76322459",
"score": "0.7443041",
"text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }",
"title": ""
},
{
"docid": "e9ee168979ef8768e9aa4e8b76322459",
"score": "0.7443041",
"text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }",
"title": ""
},
{
"docid": "0fdc3ddfbba30ae34a20171a43d32cb4",
"score": "0.7426519",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent event) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "d41bd3180d64eedb1ce5c51bfb00b58b",
"score": "0.74148685",
"text": "public void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "8b924f869675b5a492606fc0184f6206",
"score": "0.7413622",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "8b924f869675b5a492606fc0184f6206",
"score": "0.7413622",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "8b924f869675b5a492606fc0184f6206",
"score": "0.7413622",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "8b924f869675b5a492606fc0184f6206",
"score": "0.7413622",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "3e6a3d040d9ab2172a91680bcb015941",
"score": "0.7406982",
"text": "@Override\n\n public void mouseClicked(MouseEvent e) {\n\n\t }",
"title": ""
},
{
"docid": "e7e3b61b65b4712b66e702b355c97da0",
"score": "0.7394852",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t}",
"title": ""
},
{
"docid": "e7e3b61b65b4712b66e702b355c97da0",
"score": "0.7394852",
"text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t}",
"title": ""
},
{
"docid": "152818ebcca1f4cec7899bfb4e7654a4",
"score": "0.7384491",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent evt) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "05e00eec3a3834fb0a0f0ff57398aa9a",
"score": "0.7382816",
"text": "@Override\r\n public void mouseClicked(MouseEvent e) {\r\n\r\n }",
"title": ""
},
{
"docid": "02ba53278a0c1eee342413a680f57c72",
"score": "0.73797846",
"text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t}",
"title": ""
},
{
"docid": "02ba53278a0c1eee342413a680f57c72",
"score": "0.73797846",
"text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t}",
"title": ""
},
{
"docid": "fee486eed3f081fd7f9bb8933b13090c",
"score": "0.73755336",
"text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t}",
"title": ""
},
{
"docid": "1cc304d23382fea8a57a4d40f85fc3f4",
"score": "0.73601806",
"text": "public void mouseClicked(MouseEvent e) {\n\t}",
"title": ""
},
{
"docid": "73c8df1e4b6826a149970bcca75fb1e0",
"score": "0.73581535",
"text": "public ClickListener () {\r\n\t\t\tsuper();\r\n\t\t}",
"title": ""
},
{
"docid": "e0ca0a91e31c9a10b8d4219eaf7dcf5d",
"score": "0.73535854",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent mouseEvent) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "a4e32e78e0937198025eace2c4095219",
"score": "0.734852",
"text": "public void mouseClicked(MouseEvent e) {\n\t\t\t}",
"title": ""
},
{
"docid": "5c9201bb56cf36d3825754783df55b0c",
"score": "0.73469335",
"text": "public void mouseClicked(MouseEvent e) {\n\r\n\t}",
"title": ""
},
{
"docid": "b13177e395f0e103b4de1eea6c017cfb",
"score": "0.7342432",
"text": "public void mouseClicked(MouseEvent e) { }",
"title": ""
},
{
"docid": "b13177e395f0e103b4de1eea6c017cfb",
"score": "0.7342432",
"text": "public void mouseClicked(MouseEvent e) { }",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
},
{
"docid": "153907e28e80ae6f9c2e7e004b33e42b",
"score": "0.734056",
"text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}",
"title": ""
}
] |
7f33271c4724a0f27382fc56dcef0ccb | Returns the Orgnization Names. Returns a set of organization names. The paramter numOfEntries identifies the number of entries to return, if 0 returns all the entries. The paramter recursive determines if to return one level of entries beneath the entryDN or all the entries till the leaf node. | [
{
"docid": "8fb8fd1c5308059b1937c1e06755201c",
"score": "0.54016054",
"text": "Set searchOrganizationNames(SSOToken token, int numOfEntries,\n boolean sortResults, boolean ascendingOrder, String serviceName,\n String attrName, Set values) throws SMSException, SSOException {\n // If backend has proxy enabled, check for delegation\n // permissions and use admin token. Also if JAXRPC is used,\n // permission is checked at the server.\n if (backendProxyEnabled && !SMSJAXRPCObjectFlg) {\n if (isAllowed(token, normalizedDN, readActionSet)) {\n if (adminSSOToken == null) {\n adminSSOToken = (SSOToken) \n AccessController.doPrivileged(\n com.sun.identity.security.AdminTokenAction\n .getInstance());\n }\n token = adminSSOToken;\n }\n } else if (!SMSJAXRPCObjectFlg) {\n // Check for delegation permission throws exception if\n // permission is denied\n getDelegationPermission(token, normalizedDN, readActionSet);\n }\n \n Set resultSet = smsObject.searchOrganizationNames(token, dn,\n numOfEntries, sortResults, ascendingOrder, serviceName,\n attrName, values);\n \n // Check for remote client using JAX-RPC\n if (SMSJAXRPCObjectFlg) {\n // Since this is a JAX-RPC call, the permission checking and\n // parsing would be done at the server\n return (resultSet);\n }\n \n // Check for read permissions\n Set allowedSet = new OrderedSet();\n for (Iterator items = resultSet.iterator(); items.hasNext();) {\n String item = (String) items.next();\n if (hasReadPermission(token, item)) {\n allowedSet.add(item);\n }\n }\n \n if (attrName.equalsIgnoreCase(EXPORTEDARGS))\n return allowedSet;\n \n Set answer = parseResult(allowedSet, normalizedDN, true);\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry: Successfully obtained \"\n + \"organization names for : \" + dn);\n }\n return answer;\n }",
"title": ""
}
] | [
{
"docid": "f63b803ca4bd865911bc4ca3605ccd18",
"score": "0.5761007",
"text": "Set searchSubOrgNames(SSOToken token, String filter, int numOfEntries,\n boolean sortResults, boolean ascendingOrder, boolean recursive)\n throws SMSException, SSOException {\n // If backend has proxy enabled, check for delegation\n // permissions and use admin token. Also if JAXRPC is used,\n // permission is checked at the server.\n if (backendProxyEnabled && !SMSJAXRPCObjectFlg) {\n if (isAllowed(token, normalizedDN, readActionSet)) {\n if (adminSSOToken == null) {\n adminSSOToken = (SSOToken) \n AccessController.doPrivileged(\n com.sun.identity.security.AdminTokenAction\n .getInstance());\n }\n token = adminSSOToken;\n }\n } else if (!SMSJAXRPCObjectFlg) {\n // Check for delegation permission throws exception if\n // permission is denied\n getDelegationPermission(token, normalizedDN, readActionSet);\n }\n \n Set resultSet = smsObject.searchSubOrgNames(token, dn, filter,\n numOfEntries, sortResults, ascendingOrder, recursive);\n \n // Check for remote client using JAX-RPC\n if (SMSJAXRPCObjectFlg) {\n // Since this is a JAX-RPC call, the permission checking and\n // parsing would be done at the server\n return (resultSet);\n }\n \n // Server side. Check for read permissions\n Set allowedSet = new OrderedSet();\n for (Iterator items = resultSet.iterator(); items.hasNext();) {\n String item = (String) items.next();\n if (hasReadPermission(token, item)) {\n allowedSet.add(item);\n }\n }\n \n Set answer = parseResult(allowedSet, normalizedDN);\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry: Successfully obtained \"\n + \"suborganization names for : \" + dn);\n }\n return (answer);\n }",
"title": ""
},
{
"docid": "fd64f16bc2656a52834eb97c921f09cd",
"score": "0.5006589",
"text": "@WebMethod(operationName = \"GetOrganismHierarchy\", action = \"http://nashua.cwru.edu/PathwaysService/GetOrganismHierarchy\")\r\n @WebResult(name = \"GetOrganismHierarchyResult\", targetNamespace = \"http://nashua.cwru.edu/PathwaysService/\")\r\n @RequestWrapper(localName = \"GetOrganismHierarchy\", targetNamespace = \"http://nashua.cwru.edu/PathwaysService/\", className = \"edu.cwru.nashua.pathwaysservice.GetOrganismHierarchy\")\r\n @ResponseWrapper(localName = \"GetOrganismHierarchyResponse\", targetNamespace = \"http://nashua.cwru.edu/PathwaysService/\", className = \"edu.cwru.nashua.pathwaysservice.GetOrganismHierarchyResponse\")\r\n public String getOrganismHierarchy();",
"title": ""
},
{
"docid": "545129a5aa4b002d1241a58b0b72422e",
"score": "0.4937368",
"text": "public List getOrgList() {\n\t\tString[] columns = new String[] { KEY_ORGANISATIONNAME };\n\t\tList docList = new ArrayList<String>();\n\t\tCursor m = ourDatabase.query(DATABASE_TABLE, columns, null, null, KEY_ORGANISATIONNAME, null, KEY_ORGANISATIONNAME\n\t\t\t\t+ \" ASC\");\n\t\tint iEvent = m.getColumnIndex(KEY_ORGANISATIONNAME);\n\n\t\tfor (m.moveToFirst(); !m.isAfterLast(); m.moveToNext()) {\n\n\t\t\tdocList.add(m.getString(iEvent));\n\t\t}\n\n\t\treturn docList;\n\t}",
"title": ""
},
{
"docid": "c8953125badc5739d34c7f91de5fba52",
"score": "0.4891824",
"text": "@GET\n\t@Path(\"/organizations\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getOrganizations() {\n\t\tManageOrganization manager = new ManageOrganization();\n\t\tList<Organization> orgs = manager.getAllOrgs();\n\n\t\tString err = \"unable to fetch orgs\";\n\n\t\treturn manageCollectionResponse(err, orgs);\n\t}",
"title": ""
},
{
"docid": "096cb326237d37c0fef55f54f2ed1b6f",
"score": "0.48738343",
"text": "static String[] parseOrgDN(String dnName) {\n String[] answer = (String[]) cache.get(dnName);\n if (answer != null) {\n return (answer);\n }\n \n // Not in cache, parse the DN\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseOrgDN:DNName \" + dnName);\n }\n answer = new String[5];\n if (dnName == null || dnName.length() == 0) {\n // This is an invalid DN, return \"*\"s\n answer[0] = baseDN;\n answer[1] = \"*\";\n answer[2] = \"*\";\n answer[3] = \"*\";\n answer[4] = \"*\";\n return (answer);\n }\n \n /*\n * We assume \"ou=services\" seperate the organization name from the rest\n * of the service components Hence if the full DN is: ou=subconfig1,\n * ou=default,ou=OrganizationConfig,\n * ou=1.0,ou=iPlanetAMPolicyService,ou=services,\n * o=engg,o=coke,ou=services,dc=iplanet,dc=com the orgDN would be:\n * o=engg,o=coke,ou=services,dc=iplanet,dc=com And if the full DN is:\n * ou=subconfig1, ou=default, ou=OrganizationConfig, ou=1.0,\n * ou=iPlanetAMPolicyService,ou=services, dc=iplanet, dc=com the orgDN\n * would be: dc=iplanet,dc=com\n */\n DN sdn = new DN(dnName);\n String rfcDN = sdn.toRFCString().toLowerCase();\n String restOfDN = null;\n \n // Get the index to the first occurance of \",ou=services,\"\n int oldStrIndex = rfcDN.indexOf(DELEGATION_SERVICES_RDN_WITH_COMMA);\n if (oldStrIndex == -1 || rfcDN.equals(DNMapper.serviceDN)) {\n // The DN must be for root suffix for realm mode\n // and orgname in the case of legacy mode.\n answer[0] = rfcDN;\n restOfDN = \"\";\n } else if (ServiceManager.isRealmEnabled()) {\n // In realm mode there will be 2 ou=services, except\n // for the root org and in Legacy mode, there will be\n // only one \"ou=services\" for the root org.\n // Hence remove baseDN and check if rfcDN contains realm name\n int baseDNIndex = rfcDN.indexOf(DNMapper.serviceDN);\n if (baseDNIndex == -1 || baseDNIndex == 0) {\n // Invalid DN or base DN, return base DN as org\n answer[0] = baseDN;\n restOfDN = \"\";\n } else {\n String dn1 = rfcDN.substring(0, baseDNIndex - 1);\n if ((dn1.indexOf(DELEGATION_SERVICES_RDN) == -1) &&\n (!dn1.startsWith(ORGANIZATION_RDN + EQUALS))) {\n // Since services node is not present, it\n // must be root realm.\n answer[0] = baseDN;\n restOfDN = dn1;\n } else if (dn1.startsWith(DELEGATION_SERVICES_RDN)) {\n answer[0] =\n rfcDN.substring(DELEGATION_SERVICES_RDN.length());\n restOfDN = \"\";\n } else if (dn1.startsWith(ORGANIZATION_RDN + EQUALS)) {\n // In case of subrealms say,\n // o=a3,o=a2,o=a1,o=etat-de-vaud,ou=services,o=smsnode\n answer[0] = rfcDN;\n restOfDN = \"\";\n } else {\n // In realm mode, \"ou=services\" seperates service name\n // from realm name.\n answer[0] = rfcDN.substring(oldStrIndex\n + DELEGATION_SERVICES_RDN_WITH_COMMA_LEN);\n restOfDN = rfcDN.substring(0, oldStrIndex);\n }\n }\n } else {\n // In Legacy mode, there will be only one \"ou=services\"\n answer[0] = rfcDN.substring(oldStrIndex\n + DELEGATION_SERVICES_RDN_WITH_COMMA_LEN);\n restOfDN = rfcDN.substring(0, oldStrIndex);\n }\n \n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseOrgDN: orgDN: \" + answer[0]\n + \" restOfDN: \" + restOfDN);\n }\n \n // Parse restOfDN to get servicename, version, type and subconfig\n String[] rdns = null;\n if (restOfDN.length() > 0) {\n rdns = LDAPDN.explodeDN(restOfDN, true);\n }\n int size = (rdns == null) ? 0 : rdns.length;\n \n // store serviceName,version,configType,subConfigNames\n // from restOfDN which will be of the format:\n // ou=default,ou=globalconfig,ou=1.0,ou=iPlanetAMAdminConsoleService\n answer[4] = (size < 1) ? REALM_SERVICE : rdns[size - 1];\n answer[3] = (size < 2) ? \"*\" : rdns[size - 2];\n answer[2] = (size < 3) ? \"*\" : rdns[size - 3];\n \n // The subconfig names should be \"/\" separated and left to right\n if (size >= 4) {\n StringBuffer sbr = new StringBuffer();\n for (int i = size - 4; i >= 0; i--) {\n sbr.append('/').append(rdns[i]);\n }\n answer[1] = sbr.toString();\n } else {\n answer[1] = \"*\";\n }\n \n // Add to cache\n cache.put(dnName, answer);\n return answer;\n }",
"title": ""
},
{
"docid": "04817f71e4ad5ec794b9155f29a6f662",
"score": "0.47846845",
"text": "public String getResponsibleDesignOrganizations(Context context, String[] args)\r\n\t\tthrows Exception\r\n\t{\r\n\t\t// ignore the filter and return the entire list\r\n\t\t\r\n\t\tMapList organizations = search(context, \"\");\r\n\t\t\r\n\t\t// generate the xml\t\t\r\n Map map;\r\n \tIterator itr = organizations.iterator();\r\n \r\n while (itr.hasNext())\r\n {\r\n\t\t\tmap = (Map) itr.next();\r\n \t\taddValue((String) map.get(DomainConstants.SELECT_NAME),\r\n\t\t\t\t\t (String) map.get(DomainObject.SELECT_ID));\r\n \t\t}\r\n\t\r\n\t\tsetAllDataSentAttribute(true);\r\n\t\treturn (toXML());\r\n\t}",
"title": ""
},
{
"docid": "4aefa1e48135cd04bf063ef16ce28310",
"score": "0.46397534",
"text": "public Annotated<List<Group>> getCombinedOrganizations()\n {\n if(!m_organizations.isEmpty())\n return new Annotated.List<>(m_organizations, getName());\n\n Annotated<List<Group>> combined = new Annotated.List<>();\n for(BaseEntry base : getBaseEntries())\n combined.add(((BaseMonster)base).getCombinedOrganizations());\n\n return combined;\n }",
"title": ""
},
{
"docid": "225e7b892f21f4c8ff7809995ce9e365",
"score": "0.46270958",
"text": "private void generateDN()\n/* */ {\n/* 1061 */ if (this.names.length == 1) {\n/* 1062 */ this.dn = this.names[0].toString();\n/* 1063 */ return;\n/* */ }\n/* */ \n/* 1066 */ StringBuilder localStringBuilder = new StringBuilder(48);\n/* 1067 */ if (this.names != null) {\n/* 1068 */ for (int i = this.names.length - 1; i >= 0; i--) {\n/* 1069 */ if (i != this.names.length - 1) {\n/* 1070 */ localStringBuilder.append(\", \");\n/* */ }\n/* 1072 */ localStringBuilder.append(this.names[i].toString());\n/* */ }\n/* */ }\n/* 1075 */ this.dn = localStringBuilder.toString();\n/* */ }",
"title": ""
},
{
"docid": "5559ec5f346f4d0aa83d8496ba7c17ef",
"score": "0.45859903",
"text": "public abstract String organizationName();",
"title": ""
},
{
"docid": "0e6dd9df3b7b62675894d73425e3b41d",
"score": "0.45499042",
"text": "public void printOrganismTree()\n {\n printOrganismString = \"\";\n preOrderOrgTree(cursor);\n }",
"title": ""
},
{
"docid": "66c4d0b0d220100c543a96f319b64bfb",
"score": "0.44682866",
"text": "String getOrganizationName();",
"title": ""
},
{
"docid": "7f29ab78b2fb2674993f2e30465e4579",
"score": "0.443896",
"text": "public String getOrphans();",
"title": ""
},
{
"docid": "f0044cfb338d20c4cec61fbcb956a205",
"score": "0.44319",
"text": "public List<BasicOrganizationObject> getUserOrganizationHierarchyUptoResidentOrganization() {\n\n String userId = PrivilegedCarbonContext.getThreadLocalCarbonContext().getUserId();\n String accessedOrgId = PrivilegedCarbonContext.getThreadLocalCarbonContext().getOrganizationId();\n if (StringUtils.isBlank(accessedOrgId)) {\n accessedOrgId = SUPER_ORG_ID;\n }\n try {\n List<BasicOrganizationObject> rootDescendantsOrganizationResponseList = new ArrayList<>();\n List<BasicOrganization> basicOrganizationList = getOrganizationUserResidentResolverService()\n .getHierarchyUptoResidentOrganization(userId, accessedOrgId);\n for (BasicOrganization basicOrganization: basicOrganizationList) {\n BasicOrganizationObject basicOrganizationObject = new BasicOrganizationObject();\n basicOrganizationObject.setId(basicOrganization.getId());\n basicOrganizationObject.setName(basicOrganization.getName());\n rootDescendantsOrganizationResponseList.add(basicOrganizationObject);\n }\n return rootDescendantsOrganizationResponseList;\n } catch (OrganizationManagementException e) {\n LOG.error(String.format(\"Server encountered an error while retrieving the descendants of user resident\" +\n \" organization until the accessed organization of user with ID: %s.\", userId), e);\n throw new UserOrganizationManagementEndpointException(Response.Status.INTERNAL_SERVER_ERROR, getError(e));\n }\n }",
"title": ""
},
{
"docid": "a1be12eed49f7f9cb913fecf4956deb4",
"score": "0.44285792",
"text": "public String getOrgname() {\n return orgname;\n }",
"title": ""
},
{
"docid": "8290cdf503be3aa7b84bea0cad400398",
"score": "0.44242787",
"text": "private void getOrganizations(){\n\t\t\n\t\treviewerAdminService.getOrganizations(null,new AsyncCallback<Collection<Organization>>() {\n\t\t\t@Override\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\tWindow.alert(\"Failed get organizations: \" + caught.getMessage());\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onSuccess(Collection<Organization> organizations) {\n\t\t\t\torganizationsList.clear();\n\t\t\t\tfor(Organization organization : organizations){\n\t\t\t\t\tif (organization != null){\n\t\t\t\t\t\torganizationsList.addItem(organization.getName(), organization.getId().toString());\n\t\t\t\t\t\torganizationsMap.put(organization.getId(), organization);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// set organization corresponding to the loggedUser\t\t\t\t\n\t\t\t\tOrganization organization = loggedUser.getOrganization();\n\t\t\t\tint index = getListBoxValuesIndex(organizationsList, organization.getId().toString());\n\t\t\t\torganizationsList.setSelectedIndex(index);\n\t\t\t\torganizationsList.fireEvent(new ListChangeEvent());\n\t\t\t\torganizationsPanel.add(new Label(\"Organization:\"));\n\t\t\t\torganizationsPanel.add(organizationsList);\n\t\t\t}\n\t\t\t\n\t\t});\n\t}",
"title": ""
},
{
"docid": "ed706adec46785c356e6ac06eb7771a8",
"score": "0.4394658",
"text": "@GET\r\n\t@Produces({ MediaType.APPLICATION_JSON })\r\n\tpublic List<Organisation> getOrganisations() {\r\n\t\tList<Organisation> Organisations = new ArrayList<Organisation>();\r\n\t\tOrganisations.addAll(OrganisationDao.getInstance().getModel().values());\r\n\t\tSystem.out.println(\"Hello\");\r\n\t\treturn Organisations;\r\n\t}",
"title": ""
},
{
"docid": "a0ed7c233c2873946e8028b60cd7014c",
"score": "0.43744838",
"text": "@Override\n public Set<String> getOrganizations() {\n try {\n // The organizations of individual repos the user has been granted access to\n final Set<String> orgsViaRepoMembership =\n gitSshUrlToOrgSlashRepositoryMap(RepositoryListFilter.MEMBER).values().stream()\n .map(fullRepoName -> fullRepoName.split(\"/\")[0])\n .collect(Collectors.toSet());\n // The user's account, e.g., coverbeck\n final Set<String> account = Set.of(githubTokenUsername);\n // The organizations that the user is a member of\n final Set<String> orgMemberships = github.getMyOrganizations().keySet();\n return Stream.of(orgsViaRepoMembership, account, orgMemberships)\n .flatMap(Collection::stream).collect(Collectors.toSet());\n } catch (IOException e) {\n LOG.error(\"could not find organizations due to \", e);\n throw new CustomWebApplicationException(\"could not read organizations from github, please re-link your github token\", HttpStatus.SC_INTERNAL_SERVER_ERROR);\n }\n }",
"title": ""
},
{
"docid": "a6edae291479d8110f0f183552a44e69",
"score": "0.43571693",
"text": "Map<String, Result> getOrganizationsMap();",
"title": ""
},
{
"docid": "80751416c6df517a2d876a79a0a0ced3",
"score": "0.4355393",
"text": "public Enumeration getEntryNames() {\r\n\t\treturn _list.elements();\r\n\t}",
"title": ""
},
{
"docid": "5bc0f7e2f3444bdcd92e5a62a03aae0b",
"score": "0.4332736",
"text": "public SortedSet<String> getEntries() { return entries; }",
"title": ""
},
{
"docid": "41f880ad25d9cab8ae02861a41acafba",
"score": "0.43215513",
"text": "public String getOrganization()\n/* */ throws IOException\n/* */ {\n/* 463 */ DerValue localDerValue = findAttribute(orgName_oid);\n/* */ \n/* 465 */ return getString(localDerValue);\n/* */ }",
"title": ""
},
{
"docid": "5ad50870e8904291cc30b70ce178cb07",
"score": "0.42938825",
"text": "private ArrayList<TreeSet<String>> \n groupWorkingAreaSubmenus\n (\n TreeMap<String,TreeSet<String>> views\n ) \n {\n ArrayList<TreeSet<String>> authors = new ArrayList<TreeSet<String>>();\n\n int numAuthors = views.size();\n int maxPerMenu = 12;\n if(numAuthors > maxPerMenu) {\n int numMenus = Math.max(numAuthors / maxPerMenu, 2);\n int perMenu = numAuthors / numMenus;\n int extra = numAuthors % perMenu;\n \n int cnt = 0;\n int max = 0;\n TreeSet<String> agroup = null;\n for(String author : views.keySet()) {\n\tif(cnt == 0) {\n\t agroup = new TreeSet<String>();\n\t authors.add(agroup);\n\t \n\t max = perMenu - 1;\n\t if(extra > 0) \n\t max++;\n\t extra--;\n\t}\n\t \n\tagroup.add(author);\n\tcnt++;\n\t\n\tif(cnt > max) \n\t cnt = 0;\n }\n }\n\n return authors;\n }",
"title": ""
},
{
"docid": "917b0a037d908d8b97af48f0b0968542",
"score": "0.4292248",
"text": "public void getOrgStatus(final PrintWriter out, String indent) {\n out.println(indent + orgId + \", \" + totalNumUsers + \", \" + totalNumFiles+ \", \" + totalNumBytes);\n indent = indent + \" \";\n for (final Org org: childOrgs) {\n org.getOrgStatus(out, indent);\n }\n }",
"title": ""
},
{
"docid": "2847a155a8dfc15b6c856753048580c6",
"score": "0.42836004",
"text": "public java.util.List<java.lang.String> getOrganizationList() {\n return this.organizationList;\n }",
"title": ""
},
{
"docid": "9adf090a143b0640384a30c16b76b976",
"score": "0.42800084",
"text": "List<DimensionMetadata> listHierarchies();",
"title": ""
},
{
"docid": "ddf01e2c600b16c4bccd44ac63ac704d",
"score": "0.42764288",
"text": "java.lang.String getIncludeOrgIds(int index);",
"title": ""
},
{
"docid": "8d82be86d63048c21be4636d564821d9",
"score": "0.42694533",
"text": "private List<String> generateOrganisationReport(Organisation organisation) {\n final List<String> lines = new LinkedList<>();\n\n // append all projects\n lines.add(ReportUtils.collectionLine(\"Projects\", organisation.getProjects().isEmpty()));\n for (final Project project : organisation.getProjects()) {\n lines.add(ReportGenerator.PROJECT_COMMENT);\n lines.addAll(ReportUtils.indentArray(ReportGenerator.INDENT_SIZE, generateProjectReport(project)));\n }\n // append all skills\n if (organisation.getSkills().size() > 0) {\n lines.add(ReportUtils.collectionLine(\"Skills\", organisation.getSkills().isEmpty()));\n for (final Skill skill : organisation.getSkills()) {\n lines.add(ReportGenerator.SKILL_COMMENT);\n lines.addAll(ReportUtils.indentArray(ReportGenerator.INDENT_SIZE, generateSkillReport(skill)));\n }\n }\n\n // append unallocated teams\n lines.add(ReportUtils.collectionLine(\"Unallocated Teams\", teams.isEmpty()));\n if (teams.size() > 0) {\n for (final Team team : new ArrayList<Team>(teams)) {\n lines.add(ReportGenerator.TEAM_COMMENT);\n lines.addAll(ReportUtils.indentArray(ReportGenerator.INDENT_SIZE, generateTeamReport(team)));\n }\n }\n // append unallocated people\n if (people.size() > 0) {\n lines.add(ReportUtils.collectionLine(\"Unallocated People\", organisation.getPeople().isEmpty()));\n for (final Person person : new ArrayList<Person>(people)) {\n lines.add(ReportGenerator.PERSON_COMMENT);\n lines.addAll(ReportUtils.indentArray(ReportGenerator.INDENT_SIZE, generatePersonReport(person)));\n }\n }\n return lines;\n }",
"title": ""
},
{
"docid": "2157f90246d8e2573f6efe809db7f92b",
"score": "0.4259411",
"text": "protected static Set parseResult(Set resultSet, String dn,\n boolean includeThisDN) {\n /*\n * Search results based on scope 'SCOPE_SUB' returns all entries beneath\n * the entry DN, and adding to the set. This piece of code iterates\n * through the list, gets the suborganization names, replaces the\n * namingattribute 'o' with '/' and reverses the result string to be\n * displayed in the slash '/' seperated format. eg., Search for suborgs\n * from 'o=coke' in o=fanta,o=pepsi,o=coke,ou=services,dc=iplanet,dc=com\n * will return the following set: [pepsi, pepsi/fanta]\n */\n \n Set answer = new OrderedSet();\n if (resultSet != null) {\n Iterator Iter = resultSet.iterator();\n while (Iter.hasNext()) {\n DN sdn = new DN((String) Iter.next());\n String rfcDN = sdn.toRFCString();\n String rfcDNlc = sdn.toRFCString().toLowerCase();\n if (!rfcDNlc.equals(baseDN)\n && !rfcDNlc.startsWith(SUN_INTERNAL_REALM_PREFIX)) {\n \n /*\n * Need to include current DN for search operations.\n * Required by AuthN to login to root organization\n */\n if (rfcDNlc.equals(dn)) {\n if (includeThisDN) {\n answer.add(SLASH_STR);\n }\n continue;\n }\n \n /*\n * To handle such a case. eg., ou=policy1,\n * ou=Policies,ou=default,ou=OrganizationConfig,\n * ou=1.0,ou=iPlanetAMPolicyService,ou=services,\n * o=engg,o=coke,ou=services,dc=iplanet,dc=com in which case\n * we return \"/Coke/engg\"\n */\n String orgAttr = ServiceManager.isRealmEnabled() ? \n ORG_PLACEHOLDER_RDN : \n OrgConfigViaAMSDK.getNamingAttrForOrg() \n + EQUALS;\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseResult:orgAttr \"\n + orgAttr);\n }\n int i = rfcDNlc.indexOf(orgAttr.toLowerCase());\n if (i > 0) {\n rfcDN = rfcDN.substring(i);\n }\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseResult:DNName \" + dn);\n debug.message(\"SMSEntry:parseResult:RFCDN \" + rfcDN);\n }\n \n int indx = rfcDNlc.indexOf(dn);\n if (indx < 0) {\n indx = rfcDNlc.lastIndexOf(baseDN);\n }\n String origStr = rfcDN.substring(0, indx - 1);\n \n if (!ServiceManager.isRealmEnabled()) {\n // Continue in the case of Containers in the node in\n // legacy install.\n // eg., o=coke,ou=ContainerOne,dc=planet,dc=com\n ArrayList rdns = new ArrayList();\n StringTokenizer strtok = new StringTokenizer(origStr,\n COMMA);\n while (strtok.hasMoreElements()) {\n String token = (String) strtok.nextToken().trim();\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseResult().token \"\n + token);\n }\n if (token != null && token.length() != 0) {\n rdns.add(token);\n }\n }\n int size = rdns.size();\n Set dnKeyset = new HashSet();\n for (int is = 0; is < size; is++) {\n String[] strArr = DNMapper\n .splitString((String) rdns.get(is));\n dnKeyset.add(strArr[0]);\n }\n String orgUnitAttr = OrgConfigViaAMSDK\n .getNamingAttrForOrgUnit();\n \n if (dnKeyset.contains(orgUnitAttr)) {\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry.parseResult(): \"\n + \"Container node: \" + origStr);\n }\n continue;\n }\n }\n \n // If orgAttr is not null,replace with the org naming\n // attribute which is defined for legacy mode.\n // Replace orgAttr= to '/' and ',' to \"\" (or)\n // Replace 'o=' to '/' and ',' to \"\"\n origStr = DNMapper.replaceString(origStr, orgAttr,\n SLASH_STR);\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseResult:origStr1 \"\n + origStr);\n }\n origStr = DNMapper.replaceString(origStr, SMSEntry.COMMA,\n \"\");\n if (debug.messageEnabled()) {\n debug.message(\"SMSEntry:parseResult:origStr2 \"\n + origStr);\n }\n \n // Logic here is to reverse the string from dn format to\n // slash format.\n String tmpStr = \"\";\n StringBuffer sb = new StringBuffer();\n while (origStr.length() != 0) {\n int id = origStr.lastIndexOf(SLASH_STR);\n if (id >= 0) {\n sb.append(origStr.substring(id + 1)).append(\n SLASH_STR);\n origStr = origStr.substring(0, id);\n }\n }\n tmpStr = sb.toString();\n \n /*\n * To remove the ending slash '/'. eg., pepsi/fanta/ to be\n * added as pepsi/fanta\n */\n if (tmpStr != null && tmpStr.length() > 0) {\n answer.add(tmpStr.substring(0, tmpStr.length() - 1));\n }\n }\n }\n }\n return answer;\n }",
"title": ""
},
{
"docid": "efbdda0d4fedfae1418df93ad9f5daf2",
"score": "0.4251291",
"text": "public Set searchOrganizationNames(String serviceName, String attrName,\n Set values) throws SMSException, SSOException {\n \n try {\n if (subEntries == null) {\n subEntries = CachedSubEntries.getInstance(token,\n SMSEntry.SERVICES_RDN + SMSEntry.COMMA\n + SMSEntry.baseDN);\n }\n return (subEntries.searchOrgNames(token, serviceName.toLowerCase(),\n attrName, values));\n } catch (SSOException ssoe) {\n debug.error(\"OrganizationConfigManagerImpl: Unable to \"\n + \"get sub organization names\", ssoe);\n throw (new SMSException(SMSEntry.bundle\n .getString(\"sms-INVALID_SSO_TOKEN\"),\n \"sms-INVALID_SSO_TOKEN\"));\n }\n }",
"title": ""
},
{
"docid": "d154b3894c30fdbcee232928ff158076",
"score": "0.4246524",
"text": "public X500Name commonAncestor(X500Name paramX500Name)\n/* */ {\n/* 1326 */ if (paramX500Name == null) {\n/* 1327 */ return null;\n/* */ }\n/* 1329 */ int i = paramX500Name.names.length;\n/* 1330 */ int j = this.names.length;\n/* 1331 */ if ((j == 0) || (i == 0)) {\n/* 1332 */ return null;\n/* */ }\n/* 1334 */ int k = j < i ? j : i;\n/* */ \n/* */ \n/* */ \n/* 1338 */ for (int m = 0; \n/* 1339 */ m < k; m++) {\n/* 1340 */ if (!this.names[m].equals(paramX500Name.names[m])) {\n/* 1341 */ if (m != 0) break;\n/* 1342 */ return null;\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1350 */ RDN[] arrayOfRDN = new RDN[m];\n/* 1351 */ for (int n = 0; n < m; n++) {\n/* 1352 */ arrayOfRDN[n] = this.names[n];\n/* */ }\n/* */ \n/* 1355 */ X500Name localX500Name = null;\n/* */ try {\n/* 1357 */ localX500Name = new X500Name(arrayOfRDN);\n/* */ } catch (IOException localIOException) {\n/* 1359 */ return null;\n/* */ }\n/* 1361 */ return localX500Name;\n/* */ }",
"title": ""
},
{
"docid": "6da6e659269da46b54a259922a990caa",
"score": "0.4237392",
"text": "private List<Organization> fetchOrgs() throws IOException {\n final JsonArray orgs = this.req.fetch()\n .as(RestResponse.class)\n .assertStatus(HttpURLConnection.HTTP_OK)\n .as(JsonResponse.class)\n .json()\n .readArray();\n final List<Organization> organizations = new ArrayList<>();\n for(int idx=0; idx<orgs.size(); idx++) {\n organizations.add(\n new RtOrganization(\n orgs.getJsonObject(idx), this.req, this.versionEye\n )\n );\n }\n return organizations;\n }",
"title": ""
},
{
"docid": "fb9ffca6de34ec962791203c6a7897b1",
"score": "0.42344075",
"text": "public java.util.Enumeration getOrganization() throws java.rmi.RemoteException, javax.ejb.FinderException {\n\treturn this.getOrganizationLink().enumerationValue();\n}",
"title": ""
},
{
"docid": "61a730286ce31293ac608b5deda7b315",
"score": "0.4230957",
"text": "private void generateHierarchies() {\n\t\ttry {\n\t\t\t// Design Principle Hierarchies\n\t\t\tcsvWriter.append(\",Hierarchies,,,,,\");\n\t\t\t// For each class in the project\n\t\t\tfor(String key: classNames) {\n\t\t\t\tcsvWriter.append(String.valueOf(calc.getDesignPrincipals().getEncapsulation().get(key)) + \",\");\n\t\t\t}\n\t\t\tcsvWriter.append(\"\\n\");\t\t\n\n\t\t\t// Generate the associated Primary Metrics\n\t\t\tgenerateNOH(); \n\n\t\t\t// Create a space after the Design Principle in the csv\n\t\t\tcsvWriter.append(\"\\n\");\n\t\t} catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "89d00e4aef8c40711d53cffaebee5da0",
"score": "0.42298067",
"text": "public void setOrginName (String orginName) {\n\t\tthis.orginName = orginName;\n\t}",
"title": ""
},
{
"docid": "c86ebe134e0a58baadef7a5b76358a7e",
"score": "0.42182612",
"text": "public Vector<CPLAncestryEntry> getAncestry(int direction, int flags) {\n\t\treturn object.getAncestry(version, direction, flags);\n\t}",
"title": ""
},
{
"docid": "bd491672b86c0e13dca5a4a0ee2e99a2",
"score": "0.41721573",
"text": "public int getOrganic_ligands(BitSet allResSet) {\n return 0;\n }",
"title": ""
},
{
"docid": "fa1ac4646c2f1a37d45ce5f2cce0379f",
"score": "0.4171723",
"text": "private List<String> getNames(DataHolder dh, String dataEntry) throws Exception{\n \t\tList<String> nameslist = new ArrayList<String>();\n \t\tString[] names = dh.getNames();\n \t\tfor (int i = 0; i < names.length; i++) {\n \t\t\tif(names[i].startsWith(dataEntry)){\n \t\t\t\tnameslist.add(names[i].substring(dataEntry.length()+1));\n \t\t\t}\n \t\t}\n \t\tif (nameslist.isEmpty()) throw new Exception(\"Reading Exception: \" +dataEntry+ \" entry does not exist in the file \" + filePath);\n \n \t\treturn nameslist;\n \t}",
"title": ""
},
{
"docid": "eed0de37d95f9ebe317d2e57017e9a5a",
"score": "0.4165362",
"text": "@Override\n public List<String> getAllNpoNames() {\n Injector i = Guice.createInjector(new DealModule());\n // Instead, we should have more guice to create this visitor,\n // and inject dependencies\n\n NpoService dealService = i.getInstance(NpoService.class);\n List<Npo> all = dealService.findAll();\n\n List<String> allNames = new ArrayList<String>();\n for (Npo npo : all) {\n allNames.add(npo.getName());\n }\n\n return allNames;\n }",
"title": ""
},
{
"docid": "414fb469f98741d2cbcea828c454a77a",
"score": "0.4154653",
"text": "Collection<String> getNamespacesRet();",
"title": ""
},
{
"docid": "51fd8b041898e905bee57d9c962d8760",
"score": "0.41412935",
"text": "@Override\r\n public String toString() {\r\n return new StringBuilder(getClass().getSimpleName()).append('[').append(getName()).append(\r\n \", \").append(getOrganization()).append(']').toString();\r\n }",
"title": ""
},
{
"docid": "388d34b1e3fe4dae2a93b5116348d31c",
"score": "0.41327384",
"text": "org.dhis2.ns.schema.dxf2.OrganisationUnitLevelsDocument.OrganisationUnitLevels getOrganisationUnitLevels();",
"title": ""
},
{
"docid": "723942998e9f563e1319a92c334a97de",
"score": "0.4121458",
"text": "public ArrayList<String> getKundenNames()\n {\n\tArrayList<String> ret = new ArrayList<>();\n\t\n\tthis.forEach((aThi) ->\n\t{\n\t ret.add(aThi.getName() + \", \" + aThi.getOrt());\n\t});\n\treturn ret;\n }",
"title": ""
},
{
"docid": "c5458a4cfcb19749058f9522c07d5216",
"score": "0.41178435",
"text": "public Promise<Result> getOrgTypeList() {\n try {\n ProjectLogger.log(\"OrganisationController: getOrgTypeList called\", LoggerEnum.DEBUG.name());\n Request reqObj = new Request();\n reqObj.setOperation(ActorOperations.GET_ORG_TYPE_LIST.getValue());\n reqObj.setRequestId(ExecutionContext.getRequestId());\n reqObj.setEnv(getEnvironment());\n reqObj.put(JsonKey.REQUESTED_BY, ctx().flash().get(JsonKey.USER_ID));\n return actorResponseHandler(getActorRef(), reqObj, timeout, null, request());\n } catch (Exception e) {\n return Promise.<Result>pure(createCommonExceptionResponse(e, request()));\n }\n }",
"title": ""
},
{
"docid": "5a3747ead5b6f3960897f709558a976e",
"score": "0.4115142",
"text": "int getIncludeOrgIdsCount();",
"title": ""
},
{
"docid": "ca760d93423b6ce9503b6aca8f57d65b",
"score": "0.4103328",
"text": "@GET\n\t@Path(\"/organizations/pending\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getPendingOrganizations() {\n\t\tManageOrganization manager = new ManageOrganization();\n\t\tList<Organization> orgs = manager.getAllPendingOrgs();\n\n\t\tString err = \"unable to fetch pending orgs\";\n\n\t\treturn manageCollectionResponse(err, orgs);\n\t}",
"title": ""
},
{
"docid": "f24f34b2800e62c753328df0b22ced99",
"score": "0.41024402",
"text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n appendGroupContents(sb);\n sb.append(\"\\n\");\n TreeMap<AclPrincipal, Group> map = new TreeMap<AclPrincipal, Group>(\n new AclPrincipalComparator());\n map.putAll(groups);\n for (Entry<AclPrincipal, Group> e : map.entrySet()) {\n e.getValue().appendGroupContents(sb);\n sb.append(\"\\n\");\n }\n return new String(sb);\n }",
"title": ""
},
{
"docid": "99f67d15c56fcd348e3a334ed6065806",
"score": "0.408927",
"text": "public List<RDN> rdns()\n/* */ {\n/* 323 */ List localList = this.rdnList;\n/* 324 */ if (localList == null) {\n/* 325 */ localList = Collections.unmodifiableList(Arrays.asList(this.names));\n/* 326 */ this.rdnList = localList;\n/* */ }\n/* 328 */ return localList;\n/* */ }",
"title": ""
},
{
"docid": "39e03971f500bbd6cb838f968f5417a6",
"score": "0.40880063",
"text": "public List<Group> getOrganizations()\n {\n return Collections.unmodifiableList(m_organizations);\n }",
"title": ""
},
{
"docid": "ac2590edb400f93971c6aef33b22c1d6",
"score": "0.40806326",
"text": "Collection<String> getKieBaseNames();",
"title": ""
},
{
"docid": "595047169f2e6a31a9087ba4d494b0fe",
"score": "0.40797845",
"text": "public String organizationName() {\n return this.organizationName;\n }",
"title": ""
},
{
"docid": "23eff06355a8c1bf01858a6950f5ab78",
"score": "0.4077082",
"text": "public ArrayList<Entree>getEntrees()\n\t{\n\t\treturn InstanceCarnetDAdresses.getCarnetDAdresses().getEntrees();\n\t}",
"title": ""
},
{
"docid": "9abbf0b688b2085232125ed510756137",
"score": "0.40674964",
"text": "private static void retstructureHierarchy() {\n\t\tPath hierarchyFile = Paths.get(\"hierarchy-representation-onlygeonames.txt\"); // to\n\t\t// get\n\t\t// the\n\t\tStream<String> gridlines = null;\n\t\ttry {\n\t\t\tgridlines = Files.lines(hierarchyFile, StandardCharsets.UTF_8);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tint totalWrongLocation = 0;\n\t\t// Set<StringBuffer> globalWrongList = new HashSet();\n\n\t\tPrintWriter mbrwriter = null;\n\t\ttry {\n\t\t\tmbrwriter = new PrintWriter(new FileWriter(\"hierarchy-refine-phase1-new.txt\", true));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tPrintWriter globalWrongwriter = null;\n\t\ttry {\n\t\t\tglobalWrongwriter = new PrintWriter(new FileWriter(\"wrong-child-phase1-new.txt\", true));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tPrintWriter independentPresentwriter = null;\n\t\ttry {\n\t\t\tindependentPresentwriter = new PrintWriter(new FileWriter(\"independently-present-phase1-new.txt\", true));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} // we have to first find all the places in this file which are not\n\t\t\t// child or parent in refined hierarchy\n\t\t\t// and then move them as we move the found wrong child..\n\n\t\tint totalProcessed = 0;\n\n\t\tfor (String line : (Iterable<String>) gridlines::iterator) {\n\t\t\tString lineArr[] = line.split(\"\\t\");\n\t\t\t\n\t\t\ttotalProcessed++;\n\t\t\tif (lineArr.length > 6) {\n\t\t\t\tif(!mbrInfoMap.containsKey(lineArr[0])){\n\t\t\t\t\tSystem.out.println(lineArr[0]);\n\t\t\t\t}\n\t\t\t\tMBR parentMbr = mbrInfoMap.get(lineArr[0]);\n\t\t\t\tString children[] = lineArr[6].split(\" \");\n\t\t\t\t// int notInParent = 0;\n\t\t\t\tList<String> validChild = new ArrayList();\n\t\t\t\tfor (int i = 0; i < children.length; i++) {\n\t\t\t\t\tMBR childMbr = mbrInfoMap.get(children[i]);\n\t\t\t\t\tif(childMbr == null){\n\t\t\t\t\t\tSystem.out.println(lineArr[0] + \":\" + children[i]);\n\t\t\t\t\t}\n\t\t\t\t\tif (!isParentMbrContains(parentMbr, childMbr)) {\n\t\t\t\t\t\ttotalWrongLocation++;\n\t\t\t\t\t\tglobalWrongwriter.write(children[i] + \"\\t\" + lineArr[0] + \"\\n\");\n\t\t\t\t\t\tglobalWrongwriter.flush();\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvalidChild.add(children[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// totalWrongLocation = totalWrongLocation + notInParent;\n\t\t\t\tint totalValidChild = validChild.size();\n\t\t\t\t\n\t\t\t\tif(totalValidChild ==0){\n\t\t\t\t\tmbrwriter.write(lineArr[0] + \"\\t\" + lineArr[5] + \"\\n\");\n\t\t\t\t\tmbrwriter.flush();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (totalValidChild > 10000) {\n\t\t\t\t\tSystem.out.println(\"For id:\" + lineArr[0] + \" total valid child is:\" + totalValidChild);\n\t\t\t\t}\n\t\t\t\t// int parentChildArr[][] = new\n\t\t\t\t// int[totalValidChild][totalValidChild];\n\n\t\t\t\tMap<Integer, List<String>> levelLocationIdsMap = new TreeMap();\n\t\t\t\tList<String> mainParentLayer = validChild;\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < totalValidChild; i++) {\n\n\t\t\t\t\tint currSum = 0;\n\t\t\t\t\tfor (int j = 0; j < totalValidChild; j++) {\n\t\t\t\t\t\tif (i == j) {\n\t\t\t\t\t\t\t// parentChildArr[i][j] = 0;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (iIsContainedByj(validChild.get(i), validChild.get(j))) {\n\t\t\t\t\t\t\tcurrSum = currSum + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// } else {\n\t\t\t\t\t\t// parentChildArr[i][j] = 0;\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// currSum = currSum + parentChildArr[i][j];\n\t\t\t\t\t}\n\t\t\t\t\t// if(\"9174359\".equals(validChild.get(i))){\n\t\t\t\t\t// System.out.println(\"break..\");\n\t\t\t\t\t// }\n\t\t\t\t\t// if(\"3182340\".equals(validChild.get(i))){\n\t\t\t\t\t// System.out.println(\"break..\");\n\t\t\t\t\t// }\n\t\t\t\t\t// if(\"6955699\".equals(validChild.get(i))){\n\t\t\t\t\t// System.out.println(\"break..\");\n\t\t\t\t\t// }\n\t\t\t\t\t// if(\"3183072\".equals(validChild.get(i))){\n\t\t\t\t\t// System.out.println(\"break..\");\n\t\t\t\t\t// }\n\t\t\t\t\tif (levelLocationIdsMap.containsKey(currSum)) {\n\t\t\t\t\t\tlevelLocationIdsMap.get(currSum).add(validChild.get(i));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tList<String> levelChildren = new ArrayList();\n\t\t\t\t\t\tlevelChildren.add(validChild.get(i));\n\t\t\t\t\t\tlevelLocationIdsMap.put(currSum, levelChildren);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif (levelLocationIdsMap.size() != 0) {\n\n\t\t\t\t\tIterator it = levelLocationIdsMap.entrySet().iterator();\n\t\t\t\t\tboolean first = true;\n\t\t\t\t\tList<String> parentLayer = null;\n\t\t\t\t\t\n\t\t\t\t\twhile (it.hasNext()) {\n\t\t\t\t\t\tEntry entry = (Entry) it.next();\n\t\t\t\t\t\tint level = (Integer) entry.getKey();\n\t\t\t\t\t\t// System.out.println(\"Current level:\" + level);\n\t\t\t\t\t\tList<String> currLayerList = (List<String>) entry.getValue();\n\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\tparentLayer = currLayerList;\n\t\t\t\t\t\t\tmainParentLayer = currLayerList;\n\t\t\t\t\t\t\tfirst = false;\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tMap<String, StringBuffer> parentChildForPrevCurrLayer = new HashMap();\n\n\t\t\t\t\t\t\tint k = 0;\n\t\t\t\t\t\t\tfor (String currChild : currLayerList) {\n\t\t\t\t\t\t\t\tif (currChild.equals(\"3716981\")) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"BREAK\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tboolean firstParent = true;\n\t\t\t\t\t\t\t\tboolean moreThanOneParent = false;\n\t\t\t\t\t\t\t\tString parentForCurrChild = null;\n\t\t\t\t\t\t\t\tfor (String parent : parentLayer) {\n\t\t\t\t\t\t\t\t\tif (k == 0) {\n\t\t\t\t\t\t\t\t\t\tparentChildForPrevCurrLayer.put(parent, null);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (iIsContainedByj(currChild, parent)) {\n\t\t\t\t\t\t\t\t\t\tif (firstParent) {\n\t\t\t\t\t\t\t\t\t\t\tparentForCurrChild = parent;\n\t\t\t\t\t\t\t\t\t\t\tfirstParent = false;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tmoreThanOneParent = true;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tk = 1;\n\n\t\t\t\t\t\t\t\tif (!moreThanOneParent && parentForCurrChild != null) {\n\t\t\t\t\t\t\t\t\tif (parentChildForPrevCurrLayer.get(parentForCurrChild) != null) {\n\t\t\t\t\t\t\t\t\t\tStringBuffer currChildList = parentChildForPrevCurrLayer\n\t\t\t\t\t\t\t\t\t\t\t\t.get(parentForCurrChild);\n\t\t\t\t\t\t\t\t\t\tcurrChildList.append(\" \").append(currChild);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tStringBuffer child = new StringBuffer(currChild);\n\t\t\t\t\t\t\t\t\t\tparentChildForPrevCurrLayer.put(parentForCurrChild, child);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (!moreThanOneParent && parentForCurrChild == null) {\n\t\t\t\t\t\t\t\t\tmainParentLayer.add(currChild);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (moreThanOneParent) {\n\t\t\t\t\t\t\t\t\tmainParentLayer.add(currChild);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tIterator iter = parentChildForPrevCurrLayer.entrySet().iterator();\n\t\t\t\t\t\t\twhile (iter.hasNext()) {\n\t\t\t\t\t\t\t\tEntry entry1 = (Entry) iter.next();\n\t\t\t\t\t\t\t\tString parent = (String) entry1.getKey();\n\t\t\t\t\t\t\t\tStringBuffer childs = (StringBuffer) entry1.getValue();\n\t\t\t\t\t\t\t\tif (childs == null) {\n\t\t\t\t\t\t\t\t\tmbrwriter.write(parent + \"\\t\" + lineArr[0] + \"\\n\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tmbrwriter.write(parent + \"\\t\" + lineArr[0] + \"\\t\" + childs.toString() + \"\\n\");\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tmbrwriter.flush();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tparentLayer = currLayerList;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\t// writing the leaf node\n\t\t\t\t\tif (parentLayer != null) {\n\t\t\t\t\t\tIterator iter = parentLayer.iterator();\n\t\t\t\t\t\twhile (iter.hasNext()) {\n\t\t\t\t\t\t\tString parent = (String) iter.next();\n\t\t\t\t\t\t\tmbrwriter.write(parent + \"\\t\" + lineArr[0] + \"\\n\");\n\t\t\t\t\t\t\tmbrwriter.flush();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\n\n\t\t\t\t} \n\t\t\t\t// writing main parent layer..\n\t\t\t\tif (mainParentLayer != null) {\n\t\t\t\t\t boolean first = true;\n\t\t\t\t\tStringBuffer childs = new StringBuffer();\n\t\t\t\t\tfor (String parent : mainParentLayer) {\n\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\tchilds.append(parent);\n\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tchilds.append(\" \").append(parent);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(childs.toString().isEmpty()){\n\t\t\t\t\t\tmbrwriter.write(lineArr[0] + \"\\t\" + lineArr[5] + \"\\n\");\n\t\t\t\t\t\tmbrwriter.flush();\n\t\t\t\t\t}else{\n\t\t\t\t\tmbrwriter.write(lineArr[0] + \"\\t\" + lineArr[5] + \"\\t\" + childs.toString() + \"\\n\");\n\t\t\t\t\tmbrwriter.flush();\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} else {\n\n\t\t\t\t// write the line as it is..\n\t\t\t\tindependentPresentwriter.write(lineArr[0] + \"\\n\");\n\t\t\t\tindependentPresentwriter.flush();\n\t\t\t}\n\n\t\t\tif (totalProcessed % 100000 == 0) {\n\t\t\t\tSystem.out.println(\"Processed: \" + totalProcessed);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"Total Wrong locations:\" + totalWrongLocation);\n\t\t// System.out.println(\"Total moves:\" + );\n\t\tglobalWrongwriter.close();\n\t\tmbrwriter.close();\n\t\tindependentPresentwriter.close();\n\t}",
"title": ""
},
{
"docid": "6a27502ab9f11ada8ea3dc61be7f3393",
"score": "0.40589094",
"text": "public Map<String, String> getAllTermParents(String termAccession, String ontologyAbbreviation) {\n // we use a ListOrderedSet so that order is maintained! This is important since order will dictate the way\n // we search within the tree whilst navigating from parent A -> B -> C to get to term ENVO:00001234. If the parents were in\n // an incorrect order, we'd end up with something like B -> A -> C.\n Map<String, String> result = new ListOrderedMap<String, String>();\n\n Map<String, String> termParents = getTermParent(termAccession, ontologyAbbreviation);\n\n if (termParents.size() > 0) {\n for (String parentTermAccession : termParents.keySet()) {\n result.putAll(getAllTermParents(parentTermAccession, ontologyAbbreviation));\n break;\n }\n }\n\n result.putAll(termParents);\n\n return result;\n }",
"title": ""
},
{
"docid": "ebdff025d69224dd52a93a205fccc0ac",
"score": "0.40556383",
"text": "private void reduceInstalledDomainNamesByRight()\n\t{\n\t\tArrayList<String> filteredDomainNamesByRight = new ArrayList<String>();\n\t\t\n\t\tfor(String actDomain : einstellungen.getDomains())\n\t\t{\n\t\t\tif(this.domainUserRights.get(actDomain))\n\t\t\t{\n\t\t\t\tfilteredDomainNamesByRight.add(actDomain);\n\t\t\t}\n\t\t}\n\n\t\t// sortieren\n\t\tCollections.sort(filteredDomainNamesByRight);\n\n\t\t// zentrale daten setzen\n\t\teinstellungen.setDomains((String[]) filteredDomainNamesByRight.toArray(new String[filteredDomainNamesByRight.size()]));\n\t}",
"title": ""
},
{
"docid": "042dce2fee6fbb1c250da20175490cde",
"score": "0.40429863",
"text": "public String toString()\n/* */ {\n/* 610 */ if (this.dn == null) {\n/* 611 */ generateDN();\n/* */ }\n/* 613 */ return this.dn;\n/* */ }",
"title": ""
},
{
"docid": "249cf969226e0e92d4d9d1521d48378d",
"score": "0.40398258",
"text": "public List<String> getAllInterdomainManagers ();",
"title": ""
},
{
"docid": "ecc48fb1ae85d132d0d52c96e487d7eb",
"score": "0.40335146",
"text": "protected Set<String> getStaffEdOrgLineage() {\n return edorgHelper.getStaffEdOrgsAndChildren();\n }",
"title": ""
},
{
"docid": "d09690052b6589f8a794703b058f06f6",
"score": "0.40287197",
"text": "public long countOrganizations() {\n \n return this.findLong(\"select count(o) from Organization o\");\n }",
"title": ""
},
{
"docid": "c0d44c1a733333d18d2758ad84fcdb28",
"score": "0.402297",
"text": "public List<Organization> listarOrganizaciones() throws SQLException;",
"title": ""
},
{
"docid": "5299ef46c8d2de373c0571795e8ec19a",
"score": "0.4022905",
"text": "public Map<Long, List<String>> municipalityNamesPerCountOfMountainHuts() {\n\t\tfor (Municipality m: this.municipalities) {\n\t\t\tif (m.getNMountHuts() < 0) { \n\t\t\t\tlong n = this.mountainHuts.stream().filter(a -> a.getMunicipality().equals(m)).count();\n\t\t\t\tm.setNMountHuts(n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tMap<Long, List<String>> map =\n\t\t\tthis.municipalities.stream().collect(\n\t\t\t\t\tCollectors.groupingBy(Municipality::getNMountHuts,\n\t\t\t\t\t\t\tCollectors.mapping(Municipality::getName, Collectors.toList())));\n\t\t\t\t\n\t\treturn map;\n\t}",
"title": ""
},
{
"docid": "2a50bbbd78c4f3a083f945ede6e24cd9",
"score": "0.40001783",
"text": "public Enumeration entityNames();",
"title": ""
},
{
"docid": "a80c4d9c74d7a9659d79cfcfc5b59c5f",
"score": "0.39982155",
"text": "@Override\n\tpublic Set<N> getNames(N start, N end, int limit) {\n\t\tthrow new RuntimeException(\"not serported\");\n\t}",
"title": ""
},
{
"docid": "017b3448dcfa4aec4c859f55b263f78e",
"score": "0.39969996",
"text": "public Set<String> nouns() {\n Set<String> t = new HashSet<String>();\n for (Integer k: noun.keySet()) {\n for (int i = 0; i < noun.get(k).size(); i++) {\n t.add(noun.get(k).get(i));\n }\n }\n return t;\n }",
"title": ""
},
{
"docid": "ca057f5c675d1e07f6f359c6e9782dd4",
"score": "0.39858556",
"text": "Rdn() {\n entries = new ArrayList<>(DEFAULT_SIZE);\n }",
"title": ""
},
{
"docid": "dcf2916f2c4813a7bcd81fd5016eabbc",
"score": "0.39783892",
"text": "public ArrayList<String> getStartingRelics() {\n ArrayList<String> retVal = new ArrayList<>();\n retVal.add(Nikana_TENNO.ID);\n UnlockTracker.markRelicAsSeen(Nikana_TENNO.ID);\n return retVal;\n }",
"title": ""
},
{
"docid": "ac302b3683cdc0a1e8ebd4ec01be117b",
"score": "0.39662775",
"text": "public String toString() {\r\n\t\t//TODO\r\n\t\tStringBuilder pBook = new StringBuilder();\r\n\t\t\r\n\t\tfor(Map.Entry<Character, BSFamilyTree> entry: directory.entrySet()) {\r\n\t\t\tpBook.append(Character.toUpperCase(entry.getKey()));\r\n\t\t\tpBook.append(\"\\n\");\r\n\t\t\tpBook.append(entry.getValue().toString());\r\n\t\t}\r\n\t\t\r\n\t\treturn pBook.toString();\r\n\t}",
"title": ""
},
{
"docid": "d8f283b048d05d26391dc4b2d9aa3ec1",
"score": "0.39621288",
"text": "public static Collection<String> findClubNames(Organization organization)\n {\n Organization.Type orgType = organization.getType();\n SortedSet<String> result = new TreeSet<String>();\n if (orgType == Organization.Type.FEDERATION) {\n for (Member m: organization.getMembers()) {\n String club = m.getClub(orgType);\n if (club != null && !club.isEmpty()) {\n result.add(club);\n }\n }\n }\n return Collections.unmodifiableList(new ArrayList<String>(result));\n }",
"title": ""
},
{
"docid": "85047a174468276f7098ae9e6f429641",
"score": "0.39606592",
"text": "public HashMap<String, List<RankedString>> buildKeywordsAbstract(Collection<AbsEntry> entries, String outputPath) throws IOException {\n\n HashMap<String, List<RankedString>> res = new HashMap<>();\n //BufferedReader reader = new BufferedReader(new FileReader(infile));\n //String line;\n //Integer id = 0;\n// while((line = reader.readLine()) != null){\n// LinkedList<RankedString> l = new LinkedList<>();\n// res.put(Integer.toString(id), l);\n// if (line.trim().length() > 0) {\n// try {\n// KeywordsRank kr = new KeywordsRank(line.trim(), 10);\n// l.addAll(kr.topRankedKeywords());\n// //System.out.println(entry.getDescription() + \" -> \" + l);\n// } catch (Exception ex) {\n// Logger.getLogger(KeywordsBuilder.class.getName()).log(Level.SEVERE, null, ex);\n// }\n// }\n// id ++;\n// }\n for (AbsEntry entry : entries) {\n LinkedList<RankedString> l = new LinkedList<>();\n res.put(entry.getId(), l);\n if (entry.getDescription() != null && entry.getDescription().trim().length() > 0) {\n try {\n KeywordsRank kr = new KeywordsRank(entry.getDescription(), 10);\n l.addAll(kr.topRankedKeywords());\n //System.out.println(entry.getDescription() + \" -> \" + l);\n } catch (Exception ex) {\n Logger.getLogger(KeywordsBuilder.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }\n\n System.out.println(\"Writing keywords to file \" + outputPath);\n try (ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(outputPath))) {\n out.writeObject(res);\n } catch (Exception ex) {\n Logger.getLogger(KeywordsBuilder.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n return res;\n }",
"title": ""
},
{
"docid": "12991cf142a9b03302564a65992cea21",
"score": "0.39591008",
"text": "private String directory(){\r\n String directory = \"\";\r\n String element;\r\n int s = 0;\r\n int level = 1;\r\n int level1 = 0;\r\n int level2 = 0;\r\n int level3 = 0;\r\n int doubles = 0;\r\n String anchorext = \"\";\r\n if((s=dirElements.size())>2){\r\n for(int i=0;i<s;i++){\r\n element = dirElements.get(i).toString();\r\n //counting double headlines\r\n doubles = 0;\r\n for(int j=0;j<i;j++){\r\n if(dirElements.get(j).toString().substring(1).replaceAll(\" \",\"_\").replaceAll(\"[^a-zA-Z0-9_]\",\"\").equals(element.substring(1).replaceAll(\" \",\"_\").replaceAll(\"[^a-zA-Z0-9_]\",\"\"))){\r\n doubles++;\r\n }\r\n }\r\n //if there are doubles, create anchorextension\r\n if(doubles>0){\r\n anchorext = \"_\" + (doubles+1);\r\n }\r\n \r\n if (element.startsWith(\"3\")){\r\n if(level<3){\r\n level = 3;\r\n level3 = 0;\r\n }\r\n level3++;\r\n String temp = element.substring(1);\r\n element=level1+\".\"+level2+\".\"+level3+\" \"+temp;\r\n directory = directory + \" <a href=\\\"#\"+temp.replaceAll(\" \",\"_\").replaceAll(\"[^a-zA-Z0-9_]\",\"\")+anchorext+\"\\\" class=\\\"WikiTOC\\\">\"+element+\"</a><br>\\n\";\r\n }\r\n else if (element.startsWith(\"2\")){\r\n if(level==1){\r\n level2 = 0;\r\n level = 2;\r\n }\r\n if(level==3){\r\n level = 2;\r\n }\r\n level2++;\r\n String temp = element.substring(1);\r\n element=level1+\".\"+level2+\" \"+temp;\r\n directory = directory + \" <a href=\\\"#\"+temp.replaceAll(\" \",\"_\").replaceAll(\"[^a-zA-Z0-9_]\",\"\")+anchorext+\"\\\" class=\\\"WikiTOC\\\">\"+element+\"</a><br>\\n\";\r\n }\r\n else if (element.startsWith(\"1\")) {\r\n if (level>1) {\r\n level = 1;\r\n level2 = 0;\r\n level3 = 0;\r\n }\r\n level1++;\r\n String temp = element.substring(1);\r\n element=level1+\". \"+temp;\r\n directory = directory + \"<a href=\\\"#\"+temp.replaceAll(\" \",\"_\").replaceAll(\"[^a-zA-Z0-9_]\",\"\")+anchorext+\"\\\" class=\\\"WikiTOC\\\">\"+element+\"</a><br>\\n\";\r\n }\r\n anchorext=\"\";\r\n }\r\n directory = \"<table><tr><td><div class=\\\"WikiTOCBox\\\">\\n\" + directory + \"</div></td></tr></table>\\n\";\r\n }\r\n return directory;\r\n }",
"title": ""
},
{
"docid": "af4f7538ebcf6893e5d20e558f80eb8e",
"score": "0.3955308",
"text": "@Override\n\tpublic Set<N> getNamesReverse(N start, N end, int limit) {\n\t\tthrow new RuntimeException(\"not serported\");\n\t}",
"title": ""
},
{
"docid": "60a68b0ab0e4798a3bc954a02dc7d0e6",
"score": "0.39397463",
"text": "@Override\n\tpublic Name buildDn(UserPreferences person) {\n\t\tif (person.getUserRole() == null) {\n\t\t\treturn null;\n\t\t}\n\t\tDistinguishedName dn = new DistinguishedName();\n\t\tdn.append(\"flexpayGroupRole\", person.getUserRole().getExternalId());\n\t\treturn dn;\n\t}",
"title": ""
},
{
"docid": "ba34a418d8b8c37fd00f1a24534dbf80",
"score": "0.39317605",
"text": "private void getRankingNames() {\n RankingANames.getItems().clear();\n RankingBNames.getItems().clear();\n RankingCNames.getItems().clear();\n RankingDNames.getItems().clear();\n\n for (int i = 0; i < groupModel.getListA().size(); i++) {\n\n RankingANames.getItems().add(groupModel.getListA().get(i).getName());\n\n }\n for (int i = 0; i < groupModel.getListB().size(); i++) {\n\n RankingBNames.getItems().add(groupModel.getListB().get(i).getName());\n }\n for (int i = 0; i < groupModel.getListC().size(); i++) {\n RankingCNames.getItems().add(groupModel.getListC().get(i).getName());\n }\n for (int i = 0; i < groupModel.getListD().size(); i++) {\n RankingDNames.getItems().add(groupModel.getListD().get(i).getName());\n }\n }",
"title": ""
},
{
"docid": "1fa69119d3d0e85cb37b27942321cd47",
"score": "0.3926279",
"text": "public List<National> getAll() throws SQLException{\n\t\tStatement stmt = conn.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\"select unitid,name,parentid from circle where type = 'NATIONAL'\");\n\t\tList<National> nationals = new ArrayList<>();\n\t\twhile(rs.next()){\n\t\t\tNational national = new National();\n\t\t\tnational.setUnitId(rs.getInt(\"unitid\"));\n\t\t\tnational.setName(rs.getString(\"name\"));\n\t\t\tnational.setType(AccessType.NATIONAL);\n\t\t\tnationals.add(national);\n\t\t}\n\t\treturn nationals;\n\t}",
"title": ""
},
{
"docid": "5c450fce0341867dca69bde1586eff0e",
"score": "0.39218286",
"text": "private String getOrganizationForCitizen() {\r\n\t\ttry {\r\n\t\t\tString maOrg = WebserviceFactory.getThamSoService().getValue(\"CMON_ADMIN_CONG_CHUC_ORGANIZATION_ID\");\r\n\t\t\tif (maOrg.length() == 0) {\r\n\t\t\t\tmaOrg = \"CB\";\r\n\t\t\t}\r\n\t\t\treturn DoiTuongSuDungLocalServiceUtil.findByMa(maOrg).getTen();\r\n\t\t} catch (SystemException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn \"\";\r\n\t}",
"title": ""
},
{
"docid": "a19f25975a81c73766e7adb1227391f1",
"score": "0.39165717",
"text": "java.util.List<java.lang.String> getIncludeOrgIdsList();",
"title": ""
},
{
"docid": "d4e40cf591b6990407eb0f346996afdd",
"score": "0.38996854",
"text": "@Override\n\tpublic List<String> getAllEntries(String translation, boolean usedOnly)\n\t\t\tthrows SQLException, CorpusDatabaseException {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "d235ef7ec807225c4bfea97051147ad0",
"score": "0.38993663",
"text": "public com.flexnet.operations.webservices.SimpleQueryType getOrgName() {\n return orgName;\n }",
"title": ""
},
{
"docid": "4bc6fc198375c2ece6bd6b3b013697cc",
"score": "0.38984254",
"text": "int getNbEntriesNamed(String name);",
"title": ""
},
{
"docid": "9c04fec92fe73621135cdd6f0336aff2",
"score": "0.3897647",
"text": "public List<Organization> readJsonOrganizationFile() {\n List<Organization> result = null;\n ObjectMapper mapper = new ObjectMapper();\n TypeReference<List<Organization>> typeReference = new TypeReference<List<Organization>>() {\n };\n InputStream inputStream = TypeReference.class.getResourceAsStream(Constant.JSON_PATH_ORGANIZATION);\n try {\n result = mapper.readValue(inputStream, typeReference);\n inputStream.close();\n } catch (IOException e) {\n \tprintError(\"organizations\", e);\n }\n return result;\n }",
"title": ""
},
{
"docid": "4372259c57437486dd86d4ad22fda627",
"score": "0.38947624",
"text": "private void parseGeneralizations(List<Notion> notions) {\r\n\t\tint gcount = 0;\r\n\t\tfor (Notion child : notions) {\r\n\t\t\t// Reading and setting generalizations\r\n\t\t\tfor (IGeneralization node : astahClassMap.get(child.getId()).getGeneralizations()) {\r\n\t\t\t\tNotion parent = initiative.getNotionById(node.getSuperType().getId());\r\n\t\t\t\tif (parent != null) {\r\n\t\t\t\t\tchild.addGeneralization(parent);\r\n\t\t\t\t\t// System.out.println(child + \" --> \" + parent);\r\n\t\t\t\t\tgcount++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\taddResult(gcount + \" generalizations set.\\n\");\r\n\t}",
"title": ""
},
{
"docid": "1053ca43f51cc57d1b1f458dde95e819",
"score": "0.38945684",
"text": "public List<String> getPaternalAunt(String name){\n Person person = node.get(name);\n List<String> fatherssisters = new ArrayList<>();\n List<String> fatherssistersInLaw = new ArrayList<>();\n if(person.getParent().getSex() == 'M'){\n fatherssisters = getSisters(person.getParent().getName());\n fatherssistersInLaw = getSistersInLaw(person.getParent().getName());\n }\n\n return Stream.concat(fatherssisters.stream(), fatherssistersInLaw.stream()).collect(Collectors.toList());\n\n }",
"title": ""
},
{
"docid": "27026b5a78e6a17f2efd12f98b195ede",
"score": "0.38933173",
"text": "public static ArrayList<String> GetSitePatternsForTreeOrderedAlphabeticallyByTaxaName(STITree sayMyPatterns, String outgroupName) {\n\n ArrayList<HashMap<String,String>> returnMe = new ArrayList<HashMap<String,String>>();\n\n //make sure to root it here\n sayMyPatterns.rerootTreeAtNode(sayMyPatterns.getNode(outgroupName));\n\n Map<STITreeCluster,TNode> theClusters = sayMyPatterns.getClusters(sayMyPatterns.getLeaves());\n\n for(TNode patternThisCluster : theClusters.values()){\n\n //if its a leaf node we dont need it and if its everything we dont need it, otherwise we make a pattern\n\n if(patternThisCluster.getLeafCount() == 1 || patternThisCluster.getLeafCount() == sayMyPatterns.getLeafCount()-1){\n //do nothing (testing string below)\n //System.out.println(\"NOT COUNTING \"+ patternThisCluster.toString()+\" W #LEAVES EQUAL \" +patternThisCluster.getLeafCount());\n }else{\n //System.out.println(\"WE ARE COUNTING \"+ patternThisCluster.toString()+\" W #LEAVES EQUAL \" +patternThisCluster.getLeafCount());\n\n HashMap<String,String> taxaToABValue = new HashMap<String,String>();\n for(TNode bLeaf : patternThisCluster.getLeaves()){\n taxaToABValue.put(bLeaf.getName(),\"B\");\n }\n for(String anyLeaf : sayMyPatterns.getLeaves()){\n if(!taxaToABValue.containsKey(anyLeaf)){\n taxaToABValue.put(anyLeaf,\"A\");\n }\n }\n returnMe.add(taxaToABValue);\n\n }\n\n }\n\n //sayMyPatterns.getCl\n\n //if i wanna return list of strings of patterns like i was originally thinking, extract from list of hashmaps\n ArrayList<String> returnMeStrings = new ArrayList<String>();\n ArrayList<String> sortedTaxa = new ArrayList<String>();\n for(String anyLeaf2 : sayMyPatterns.getLeaves()){\n sortedTaxa.add(anyLeaf2);\n }\n Collections.sort(sortedTaxa);\n for(HashMap onePattern : returnMe){\n StringBuilder thePatternAlphSorted = new StringBuilder();\n for(String oneSiteTaxa : sortedTaxa){\n thePatternAlphSorted.append(onePattern.get(oneSiteTaxa));\n }\n returnMeStrings.add(thePatternAlphSorted.toString());\n }\n\n\n\n //print out patterns for testing\n //debug printing the full site patterns list\n /*\n System.out.println(\"For Tree \"+sayMyPatterns+\" the site patterns are: \");\n for(HashMap onePattern : returnMe){\n System.out.print(\"PTRN: \");\n for(Object oneSiteTaxa : onePattern.entrySet()){\n System.out.print(\"{\"+((Map.Entry)oneSiteTaxa).getKey()+\",\");\n System.out.print(((Map.Entry)oneSiteTaxa).getValue()+\"}\");\n }\n System.out.print(\"\\n\");\n\n System.out.print(\"PTRN(ALPH SORT, CONCAT STRING): \");\n StringBuilder thePatternAlphSortedToPrint = new StringBuilder();\n for(String oneSiteTaxa : sortedTaxa){\n System.out.print(\"{\"+oneSiteTaxa+\",\");\n System.out.print(onePattern.get(oneSiteTaxa)+\"}\");\n thePatternAlphSortedToPrint.append(onePattern.get(oneSiteTaxa));\n }\n System.out.print(\"\\n\" +thePatternAlphSortedToPrint+\"\\n\");\n\n }\n System.out.print(\"\\n\");\n */\n\n //can return in either format from here now, hashmaps of taxa to A/B site patterns for just list of strings of the patterns (where taxa are alphabetically sorted)\n //the hashmaps are in returnMe\n //the list of strings are in returnMeStrings\n\n return returnMeStrings;\n }",
"title": ""
},
{
"docid": "2394b323f68c9a07bfbd390d0058a7de",
"score": "0.38890302",
"text": "public String getOrgNature() {\n return orgNature;\n }",
"title": ""
},
{
"docid": "369ca99c01dae7bf9e53777d82adab48",
"score": "0.38882017",
"text": "@RequestMapping(value = \"/roles/readRoleNamesForUniqueness/{dnId}\", method = RequestMethod.GET)\n\tpublic @ResponseBody List<?> getAllRoleNames(@PathVariable int dnId) \n\t{\t\t\n\t\treturn roleService.readRoleNames(dnId);\n\t}",
"title": ""
},
{
"docid": "8f0193325bcd8e00088400d4d3822534",
"score": "0.38870972",
"text": "@Override\n\tpublic List<String> getSearchedIngrName(String ingrName) {\n\t\treturn recipeDAO.getSearchedIngrName(ingrName);\n\t}",
"title": ""
},
{
"docid": "87e4e539c0d21539fc11ec132b384ad6",
"score": "0.38835332",
"text": "public String printRestrictions()\n {\n StringBuilder restSB = new StringBuilder();\n //go through each index in the array\n //if the restriction matches, add the appropriate word\n //to the return string\n if(restrictions[0])\n {\n restSB.append(\"vegetarian\");\n }\n if(restrictions[1])\n {\n if(restSB.length() > 0)\n {\n restSB.append(\", vegan\");\n }\n else\n {\n restSB.append(\"vegan\");\n }\n }\n if(restrictions[2])\n {\n if(restSB.length() > 0)\n {\n restSB.append(\", kosher/halal\");\n }\n else\n {\n restSB.append(\"kosher/halal\");\n }\n }\n if(restrictions[3])\n {\n if(restSB.length() > 0)\n {\n restSB.append(\", gluten free\");\n }\n else\n {\n restSB.append(\"gluten free\");\n }\n }\n //if it doesn't meet any restrictions\n if(restSB.length()<1)\n {\n restSB.append(\"none\");\n }\n return restSB.toString();\n }",
"title": ""
},
{
"docid": "095f506b83009e5dac4238f01f709055",
"score": "0.3881899",
"text": "public ArrayList<Node> showNameAlphabetically() {\n ArrayList<Node> sortedList = sortAlphabetically(peopleList);\n\n for(Node node : sortedList) {\n printNodePlusPercent(node);\n }\n\n return sortedList;\n }",
"title": ""
},
{
"docid": "6106b386e7f94c3263d8eac2f2dd83c9",
"score": "0.38789123",
"text": "public List<String> getCentimorgans() throws HibernateException {\n List sourceList = null;\n try {\n getCurrentSession().beginTransaction();\n sourceList = getCurrentSession()\n .createSQLQuery(\"SELECT DISTINCT centimorgan FROM genes ORDER BY centimorgan\")\n .list();\n getCurrentSession().getTransaction().commit();\n } catch (HibernateException e) {\n getCurrentSession().getTransaction().rollback();\n throw e;\n }\n\n return sourceList;\n }",
"title": ""
},
{
"docid": "d1443756788bdee1555fa80b269cfb60",
"score": "0.38770014",
"text": "public Integer getOrgLevel() {\n return orgLevel;\n }",
"title": ""
},
{
"docid": "d1443756788bdee1555fa80b269cfb60",
"score": "0.38770014",
"text": "public Integer getOrgLevel() {\n return orgLevel;\n }",
"title": ""
},
{
"docid": "f250c55b6e3474877834ba97f2d61cf9",
"score": "0.3870895",
"text": "java.lang.String getGroupNm();",
"title": ""
},
{
"docid": "f250c55b6e3474877834ba97f2d61cf9",
"score": "0.3870895",
"text": "java.lang.String getGroupNm();",
"title": ""
},
{
"docid": "81d57fe2064014983dcc4666cbb37cfd",
"score": "0.38673967",
"text": "public abstract List<String> getNamespaces();",
"title": ""
},
{
"docid": "371fb89bc30743fc3266a3b0b8a72973",
"score": "0.38638508",
"text": "public ModelAndView getParentAccountingPeriods(HttpServletRequest request, HttpServletResponse response) {\n JSONObject jobj = new JSONObject();\n try {\n JSONArray jArr = new JSONArray();\n\n Map<String, Object> requestParams = new HashMap();\n String companyid = sessionHandlerImpl.getCompanyid(request);\n int periodType = !StringUtil.isNullOrEmpty(request.getParameter(\"periodtype\")) ? Integer.parseInt(request.getParameter(\"periodtype\")) : -1;\n\n if (periodType != -1) {\n requestParams.put(\"periodtype\", periodType);\n requestParams.put(\"company\", companyid);\n KwlReturnObject result = accPeriodSettingsDao.getParentAccountingPeriods(requestParams);\n List subPeriodList = result.getEntityList();\n\n if (subPeriodList != null && !subPeriodList.isEmpty()) {\n for (int i = 0; i < subPeriodList.size(); i++) {\n AccountingPeriod accPeriod = (AccountingPeriod) subPeriodList.get(i);\n JSONObject tempObj = new JSONObject();\n tempObj.put(\"id\", accPeriod.getId());\n tempObj.put(\"name\", accPeriod.getPeriodName());\n tempObj.put(\"entrydate\", accPeriod.getStartDate());\n tempObj.put(\"enddate\", accPeriod.getEndDate());\n jArr.put(tempObj);\n }\n }\n jobj.put(\"data\", jArr);\n }\n } catch (Exception ex) {\n Logger.getLogger(accPeriodSettingsController.class.getName()).log(Level.SEVERE, null, ex);\n }\n return new ModelAndView(\"jsonView\", \"model\", jobj.toString());\n }",
"title": ""
},
{
"docid": "51cc7e51db8110f19c00f6413845a9ef",
"score": "0.3863618",
"text": "public TreeMap<Integer, Set<N>> stratify()\n\t{\n\t\tMap<Integer, Set<N>> res = new HashMap<Integer, Set<N>>();\n\n\t\tint level = 0;\n\t\tSet<N> nodes = null;\n\t\tfor (Entry<N, Integer> entry : this.topLevel().entrySet())\n\t\t{\n\t\t\tlevel = entry.getValue();\n\t\t\tnodes = res.get(level);\n\t\t\tif (nodes == null)\n\t\t\t{\n\t\t\t\tnodes = new HashSet<N>();\n\t\t\t\tres.put(level, nodes);\n\t\t\t}\n\t\t\tnodes.add(entry.getKey());\n\t\t}\n\n\t\treturn new TreeMap<Integer, Set<N>>(res);\n\t}",
"title": ""
},
{
"docid": "4dc42634c07ea9f23f108e84113c33c3",
"score": "0.38558054",
"text": "public int getAD_Org_ID();",
"title": ""
},
{
"docid": "4dc42634c07ea9f23f108e84113c33c3",
"score": "0.38558054",
"text": "public int getAD_Org_ID();",
"title": ""
},
{
"docid": "4dc42634c07ea9f23f108e84113c33c3",
"score": "0.38558054",
"text": "public int getAD_Org_ID();",
"title": ""
},
{
"docid": "4dc42634c07ea9f23f108e84113c33c3",
"score": "0.38558054",
"text": "public int getAD_Org_ID();",
"title": ""
},
{
"docid": "4dc42634c07ea9f23f108e84113c33c3",
"score": "0.38558054",
"text": "public int getAD_Org_ID();",
"title": ""
}
] |
893cdfa56de1b5c1f4576d57ce790311 | Return the min employees number | [
{
"docid": "45e0a1454551614674f78e93eda45b2b",
"score": "0.83492064",
"text": "public int getMinEmployees() {\n\t\treturn this.minEmployees;\n\t}",
"title": ""
}
] | [
{
"docid": "80beee8f1424d4581050f2058221c2f0",
"score": "0.6671183",
"text": "public int findMin() {\n return min;\r\n }",
"title": ""
},
{
"docid": "c905a9a6a09e813546c0c6208dadb887",
"score": "0.6572815",
"text": "public static double lowestSalary(List<Employee> employees) {\n System.out.println(\"-----------------------------\");\n DoubleSummaryStatistics lowest = employees.stream().mapToDouble(e -> e.getSalary()).summaryStatistics();\n return lowest.getMin();\n }",
"title": ""
},
{
"docid": "074b72da222ed23bf498062c01b4f8f8",
"score": "0.6507689",
"text": "Integer getNumberOfEmployees();",
"title": ""
},
{
"docid": "7858781a7bdaceb0c86f59f2002443ce",
"score": "0.6404987",
"text": "public int getMin() {\n\n int min = numbers.get(0);\n\n for(int i = 0; i < numbers.size(); i++) {\n if (numbers.get(i) < min)\n min = numbers.get(i);\n }\n return min;\n }",
"title": ""
},
{
"docid": "415b9ed95164c9d70643482bd28bad9a",
"score": "0.632738",
"text": "private static void minNumber() {\n\n System.out.println(\"Example min: minNumber\");\n\n Integer number = IntStream\n .rangeClosed(1, 20)\n .boxed()\n .mapToInt( n -> n )\n .min()\n .orElse(-1);\n\n System.out.println(number);\n\n System.out.println(\"-------------END-------------\");\n }",
"title": ""
},
{
"docid": "bd3ff47002ab9c2c6a2048748eda77ef",
"score": "0.62550676",
"text": "@Override\n\tpublic int getMinimum()\n\t{\n\t\treturn nMinimum;\n\t}",
"title": ""
},
{
"docid": "f44e31c99226c14e46ae1b9791b0f576",
"score": "0.6229183",
"text": "public static int minimumNumberOfStudents()\n {\n return 1;\n }",
"title": ""
},
{
"docid": "26668b2bfa11c2e8268e1d36fff04d4f",
"score": "0.6161209",
"text": "int getMin();",
"title": ""
},
{
"docid": "26668b2bfa11c2e8268e1d36fff04d4f",
"score": "0.6161209",
"text": "int getMin();",
"title": ""
},
{
"docid": "26668b2bfa11c2e8268e1d36fff04d4f",
"score": "0.6161209",
"text": "int getMin();",
"title": ""
},
{
"docid": "26668b2bfa11c2e8268e1d36fff04d4f",
"score": "0.6161209",
"text": "int getMin();",
"title": ""
},
{
"docid": "ae33456b40fda7a170806bc2b7eb534c",
"score": "0.6148428",
"text": "private int getNumberOfEmployees() {\n int numEmployees = 0;\n \n do {\n System.out.println(\"Enter the number of employees\");\n \n if(!keyboard.hasNextInt()) {\n System.out.println(\"Invalid number! Please enter a number.\");\n }\n else {\n numEmployees = keyboard.nextInt();\n if(numEmployees <= 0) {\n System.out.println(\"Please enter a number >= 0.\");\n }\n }\n keyboard.nextLine();\n \n } while(numEmployees <= 0);\n \n return numEmployees;\n }",
"title": ""
},
{
"docid": "f9cbc2bf321ee5a105e69ce54488f423",
"score": "0.6138111",
"text": "public int getMin() {\n\t\treturn min;\n\t}",
"title": ""
},
{
"docid": "90e8cb2b74a4c12fb6b0075357ba4efc",
"score": "0.6072703",
"text": "public int getMin() {\n return min;\n }",
"title": ""
},
{
"docid": "90e8cb2b74a4c12fb6b0075357ba4efc",
"score": "0.6072703",
"text": "public int getMin() {\n return min;\n }",
"title": ""
},
{
"docid": "87086ed25a00a17f6447b9fca422e566",
"score": "0.60648566",
"text": "public int getMin() {\n\treturn min;\n }",
"title": ""
},
{
"docid": "004ad4146f04e9c52d8f3aca1bd53790",
"score": "0.6064519",
"text": "protected int getMinimum()\n {\n return minMax.getMinimum();\n }",
"title": ""
},
{
"docid": "db55531608de640b31a83aaa18eb0afb",
"score": "0.6063743",
"text": "public int getFirstMinimumOccurence() {\n return firstMinimumOccurence;\n }",
"title": ""
},
{
"docid": "98ffe7ce220dd8678f3964104b318937",
"score": "0.6052384",
"text": "public People getMinimumAge(Collection<People> peoples){\n List<People> res = peoples.stream().sorted(Comparator.comparing(People::getAge)).limit(1).collect(Collectors.toList());\n return res.get(0);\n }",
"title": ""
},
{
"docid": "f343ef56bab90ee2785bbcfce152a44d",
"score": "0.6021576",
"text": "public static int minimumNumberOfProfessors()\n {\n return 1;\n }",
"title": ""
},
{
"docid": "12d647312a7897373162408edbe0ea67",
"score": "0.60181165",
"text": "public abstract int getMinimum();",
"title": ""
},
{
"docid": "8155c0f370014befad87215a25f4a405",
"score": "0.6013009",
"text": "public int getMin() {\n return min_;\n }",
"title": ""
},
{
"docid": "8155c0f370014befad87215a25f4a405",
"score": "0.6013009",
"text": "public int getMin() {\n return min_;\n }",
"title": ""
},
{
"docid": "c441103e6e40e8f43221a3f8422d5d76",
"score": "0.6003729",
"text": "E min() throws NoSuchElementException;",
"title": ""
},
{
"docid": "4190f6b0b4871d4114c93d28716bcea6",
"score": "0.5995192",
"text": "public native final int min() /*-{\n\t\treturn this.get(\"min\");\n\t}-*/;",
"title": ""
},
{
"docid": "1be7adb459f0ed635da593e35977835a",
"score": "0.59946114",
"text": "public int getMin() {\n return min_;\n }",
"title": ""
},
{
"docid": "1be7adb459f0ed635da593e35977835a",
"score": "0.59946114",
"text": "public int getMin() {\n return min_;\n }",
"title": ""
},
{
"docid": "9cecb50323832c9857783feb2d7bcdca",
"score": "0.5974834",
"text": "public int min()\n {\n \tif(this.isEmpty()){\n \t\treturn -1;\n \t}\n \telse{\n \t\treturn heap.get(1).getKey();\n \t}\n }",
"title": ""
},
{
"docid": "9346216bc85e7cf5d9130679d0db1c95",
"score": "0.5972479",
"text": "int getMinValue();",
"title": ""
},
{
"docid": "5b4e916ca57532105c4ed1c1025a1348",
"score": "0.5971971",
"text": "public int getCountEmployees() {\n \t\treturn ((int) (workingHoursPerRound / Constant.HumanResources.HR_WORK_WEEK) < (Constant.HumanResources.HR_EMPLOYEES)?Constant.HumanResources.HR_EMPLOYEES : (int) (workingHoursPerRound / Constant.HumanResources.HR_WORK_WEEK));\n \t}",
"title": ""
},
{
"docid": "980356d0af018b4120957a0fd2ccc76f",
"score": "0.59555775",
"text": "int min();",
"title": ""
},
{
"docid": "d45522d6eebc51b8f96bebce6a15890b",
"score": "0.5951261",
"text": "public static int GetMinValue (int[] randomNumbers)\n\t\t{\n\t\t\t// I set this to be 100 because I know it will change.\n\t\t\tint minValue = 100;\n\t\t\tint currentValue;\n\t\t\t\n\t\t\t\n\t\t\tfor (int i = 0; i < 10; i++)\n\t\t\t{\n\t\t\t\tcurrentValue = randomNumbers[i];\n\t\t\t\t\n\t\t\t\t// See if currentValue is higher than the highest Number\n\t\t\t\tif (currentValue < minValue)\n\t\t\t\t{\n\t\t\t\t\tminValue = currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn minValue;\n\t\t}",
"title": ""
},
{
"docid": "fbcedebfbadfc78455add2e4a1b4984f",
"score": "0.59294033",
"text": "public int getMin() {\n int j;\n boolean flag = true; // set flag to true to begin first pass\n int temp; //holding variable\n\n while ( flag )\n {\n flag= false; //set flag to false awaiting a possible swap\n for( j=0; j < studentScores.length -1; j++ )\n {\n if ( studentScores[ j ] < studentScores[j+1] ) // change to > for ascending sort\n {\n temp = studentScores[ j ]; //swap elements\n studentScores[ j ] = studentScores[ j+1 ];\n studentScores[ j+1 ] = temp;\n flag = true; //shows a swap occurred \n } \n } \n } \n\n\t\t// return a dummy value (which can't be right) to make the example work\n return studentScores[getNumStudents() - 1];\n\t}",
"title": ""
},
{
"docid": "d7c994d77d19f7492c8aa74817c30b36",
"score": "0.59120363",
"text": "public int indexOfMin();",
"title": ""
},
{
"docid": "640bba5f2803dd7a2040e85579dbf962",
"score": "0.59102935",
"text": "public long min() {\r\n return reduce(naturalLongMinReducer(), Long.MAX_VALUE);\r\n }",
"title": ""
},
{
"docid": "258dbf78e53d60e0b86ee78c6ce7a9b6",
"score": "0.588961",
"text": "public int getMinEspectadores() {\n return minEspectadores;\n }",
"title": ""
},
{
"docid": "9916f1e28345d3bf20b847f461e95191",
"score": "0.5868052",
"text": "@Override\r\n\tpublic int min() {\n\t\treturn Integer.MAX_VALUE;\r\n\t}",
"title": ""
},
{
"docid": "69e0fb69257158170978203a6c3db5cb",
"score": "0.5867214",
"text": "public int min() {\n Node nod = minSubTree(root, root);\n return nod.value;\n }",
"title": ""
},
{
"docid": "a43f6fc83c211c1d11e8c3d048909399",
"score": "0.5856247",
"text": "public int getMinInclusive();",
"title": ""
},
{
"docid": "166e40680507bb595dbd8c3894c54a98",
"score": "0.58547354",
"text": "public int getMin() {\n return head.minVal;\n }",
"title": ""
},
{
"docid": "5f8a1663f6b71eaf626f42c53b47b9c1",
"score": "0.585462",
"text": "E minimum();",
"title": ""
},
{
"docid": "13ba0572b2a54d31eac9905ba26c3627",
"score": "0.5852772",
"text": "public int minIndex() {\n int minIndex = 0;\n double[] cpuocu = { 200.0, 200.0, 200.0 };\n for (int i = 0; i < 3; i++) {\n String rspString = sendGet(url[i] + \":8080/info/cpu\");\n String infos[] = rspString.split(\" :: \");\n if (infos[0].equals(\"200\")) {\n int index1 = infos[1].indexOf(\"<body>\") + \"<body>\".length();\n int index2 = infos[1].indexOf(\"</body>\");\n String num = infos[1].substring(index1, index2);\n if (num == null || num.equals(\"\"))\n cpuocu[i] = 200.0 + i;\n else {\n cpuocu[i] = Double.parseDouble(num);\n }\n if (i != 0 && cpuocu[i] < cpuocu[i - 1])\n minIndex = i;\n }\n }\n return minIndex;\n }",
"title": ""
},
{
"docid": "f8883a370a14bef9390aa77bc8a2d034",
"score": "0.58489823",
"text": "public int getMinPLValue();",
"title": ""
},
{
"docid": "f091005fecacc58899a25cba9326d8eb",
"score": "0.5841565",
"text": "String getMinIndex();",
"title": ""
},
{
"docid": "b34cfebb81e1008bd9bb105efb399546",
"score": "0.57990664",
"text": "public int minValue() {\n int min = values[0];\n for(int v : values) {\n if (v < min)\n min = v;\n }\n return min;\n }",
"title": ""
},
{
"docid": "2103784f7f2af0600e939442fe922901",
"score": "0.5785624",
"text": "public int getMin() {\r\n\t\tint x = min.pop();\r\n\t\tmin.push(x);\r\n\t\treturn x;\r\n\t}",
"title": ""
},
{
"docid": "ec83b38a7e4c0049d4a308b57547533f",
"score": "0.57801044",
"text": "public int getQuantityOfEmployees(){\n\t\treturn quantityOfEmployees;\n\t}",
"title": ""
},
{
"docid": "220b1bea09c56e2957e6a9e1616e9dbd",
"score": "0.57795674",
"text": "long getIntMin();",
"title": ""
},
{
"docid": "26e48ae70551a68e87381d3da93e9111",
"score": "0.57789195",
"text": "public abstract int getMinimumValue();",
"title": ""
},
{
"docid": "55d2ed390b718a19ea91967cb4faa10c",
"score": "0.5773846",
"text": "private static void minReduceNumber2() {\n\n System.out.println(\"Example min: minReduceNumber2\");\n\n Integer number = IntStream\n .rangeClosed(1, 20)\n .reduce(Integer::min)\n .orElse(-1);\n\n System.out.println(number);\n\n System.out.println(\"-------------END-------------\");\n }",
"title": ""
},
{
"docid": "b28b436f513654f4e47ca3745931a045",
"score": "0.57681876",
"text": "public static void main(String[] args) {\n int [] collection = {23,3,4,5,6,78,2,56};\n System.out.println(\"Minimum number in collection is \" + smallestNumber(collection));\n }",
"title": ""
},
{
"docid": "ee344cb1f9a7d39c0898fe7227b22b3e",
"score": "0.5767308",
"text": "public int getEmployeeID()\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(EMPLOYEEID$2, 0);\n if (target == null)\n {\n return 0;\n }\n return target.getIntValue();\n }\n }",
"title": ""
},
{
"docid": "5baa2b3f936e642d2221798dfa83bcca",
"score": "0.57437754",
"text": "public int getMinX()\r\n\t{\r\n\t\treturn Math.min(vertices.get(0).x, vertices.get(2).x);\r\n\t}",
"title": ""
},
{
"docid": "05411dfd4468fea54d90b65cca5c3c5a",
"score": "0.5737948",
"text": "private double getMin()\n\t{\n\t\tmin = 1000;\n\t\tfor(double t : times)\n\t\t{\n\t\t\tif(t < min)\n\t\t\t{\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}",
"title": ""
},
{
"docid": "a25077ce25f77f2bd83d5d364590e919",
"score": "0.5734412",
"text": "public String min()\n {\n\t if(this.min == null) return null;\n\t return this.min.getValue(); // to be replaced by student code\n }",
"title": ""
},
{
"docid": "760a0757c969e490c5d23e94e236fb8e",
"score": "0.5721568",
"text": "public int PrimerCliente() {\r\n \r\n sSQL= \"SELECT COUNT(cod_cliente) as cantidad FROM cliente \";\r\n try {\r\n int cantidad = 0;\r\n Statement st = cn.createStatement();\r\n ResultSet rs = st.executeQuery(sSQL);\r\n while (rs.next()) {\r\n cantidad = rs.getInt(\"cantidad\");\r\n }\r\n return cantidad;\r\n } catch (Exception e) {\r\n JOptionPane.showMessageDialog(null, e);\r\n return 0;\r\n }\r\n }",
"title": ""
},
{
"docid": "14d27de1c94dc1429c1be5a2824e647b",
"score": "0.572081",
"text": "public Integer min() {\n\t\treturn null;\n\t}",
"title": ""
},
{
"docid": "a52ae0018cbb6d82687a50245ac229ca",
"score": "0.57136685",
"text": "public int getMinValue() {\r\n\t\treturn this.minValue;\r\n\t}",
"title": ""
},
{
"docid": "103195f2cc68d0625f27a7e95f114c2a",
"score": "0.57071793",
"text": "public int earliest_start() \r\n\t{\r\n\t\tint start = release;\r\n\t\tfor (NodeIns p : prevs)\r\n\t\t{\r\n\t\t\tif (p.finish == 0)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Error: previouse job is not scheduled!\");\r\n\t\t\t\treturn -1;\r\n\t\t\t}\r\n\t\t\tstart = Math.max(start, p.finish);\r\n\t\t}\r\n\t\t\r\n\t\treturn start;\r\n\t}",
"title": ""
},
{
"docid": "f0873f2c806bf484270a724e8f1b705b",
"score": "0.5701557",
"text": "Min createMin();",
"title": ""
},
{
"docid": "57ad9e62ddaaf4aee8b76702b352e35c",
"score": "0.5697462",
"text": "public int min(){\n if (delta < 0){\n return initial + delta*(num-1);\n }\n else\n return initial;\n// else\n// return delta;\n }",
"title": ""
},
{
"docid": "fc93dce2fe63cfff771ee0d773336096",
"score": "0.5696561",
"text": "public int getMinAmount() {\n return MIN_AMOUNT;\n }",
"title": ""
},
{
"docid": "37002e79febbcf9d6b1998e19c4debf2",
"score": "0.5696413",
"text": "public Integer getNumberOfEmployees() {\n\t\treturn numberOfEmployees;\n\t}",
"title": ""
},
{
"docid": "0ac22e3422d884a8ff2345838835e09e",
"score": "0.56890965",
"text": "public double smallestX()\r\n {\r\n // No such value if the list is empty.\r\n if (vertexList.isEmpty()) return Double.NaN;\r\n\r\n double minX = vertexList.get(0).getX();\r\n for(int i = 1; i < vertexList.size(); i++)\r\n {\r\n double xVal = vertexList.get(i).getX();\r\n\r\n if(xVal < minX) minX = xVal;\r\n }\r\n\r\n return minX;\r\n }",
"title": ""
},
{
"docid": "bbe13e22c0c3202c6a4fec2c5a35474c",
"score": "0.56837326",
"text": "public int min() {\n return minValueStack.isEmpty()? -1: minValueStack.peek();\n }",
"title": ""
},
{
"docid": "355ed96acf048c4bd7fe528696171a83",
"score": "0.56831497",
"text": "public int getXMin()\n\t{\n\t\treturn _rangeXMin;\n\t}",
"title": ""
},
{
"docid": "8ffd47f02775a608d1d7f5bac84abbac",
"score": "0.56793654",
"text": "public int getMin_X();",
"title": ""
},
{
"docid": "35d2a0a31746f411bded72f62a8028c5",
"score": "0.567293",
"text": "public String getMinNumberOfInstances() {\n return minNumberOfInstances;\n }",
"title": ""
},
{
"docid": "f0339830fcfe61720c6e234b6d247a48",
"score": "0.5661044",
"text": "public static int entierSupEgal(int min) // lire un nombre entier superieur ou egal a un minimun\r\n {\r\n String chaine;\r\n int x;\r\n boolean erreur;\r\n \r\n do\r\n {\r\n x = 0;\r\n chaine = S();\r\n erreur = false;\r\n\r\n try\r\n {\r\n x = Integer.parseInt(chaine);\r\n }\r\n catch(NumberFormatException e)\r\n {\r\n if(chaineEstUnEntier(chaine))\r\n {\r\n System.out.print(\" > Votre nombre depasse les limites de stockage du format (int) !\\n\"\r\n + \" > Veuillez entrer un nombre compris entre \"\r\n + separer(min) + \" et \" + separer(Integer.MAX_VALUE) + \" : \");\r\n }\r\n else\r\n {\r\n System.out.print(\" > Veuillez entrer un nombre entier superieur ou egal a \" + separer(min) + \" : \");\r\n }\r\n\r\n erreur = true;\r\n }\r\n\r\n if(!erreur && x < min)\r\n {\r\n erreur = true;\r\n System.out.print(\" > Veuillez entrer un nombre entier superieur ou egal a \" + separer(min) + \" : \");\r\n }\r\n } while(erreur);\r\n\r\n return x;\r\n }",
"title": ""
},
{
"docid": "426f93597ec701895919047e9ef3ce87",
"score": "0.5660328",
"text": "public int getMinimum() {\r\n\t\tcheckWidget();\r\n\t\treturn minimum;\r\n\t}",
"title": ""
},
{
"docid": "a535261684c0cfd03c11713022869b45",
"score": "0.56540203",
"text": "public T findMin();",
"title": ""
},
{
"docid": "34d06921cf52ef41e465254b9aede258",
"score": "0.56472456",
"text": "public int getSellFeeMinQuantity() {\n\t\treturn this.sellFeeMinQuantity;\n\t}",
"title": ""
},
{
"docid": "d90547d052df0c32d89ed8cb8152c84a",
"score": "0.56462556",
"text": "public String getMinValue() {\n NumberPickerAdapter numberPickerAdapter = this.numberPickerAdapter;\n if (numberPickerAdapter != null) {\n return numberPickerAdapter.getStringByIndex(this.min);\n }\n return Integer.toString(this.min);\n }",
"title": ""
},
{
"docid": "26f466fedc2a4210928a98d5ba916de4",
"score": "0.56324756",
"text": "public int getMinPlayers(){\n\t\treturn MIN_PLAYERS;\n\t}",
"title": ""
},
{
"docid": "88088b8634c389d165ff98dfa3957469",
"score": "0.5631027",
"text": "public static int smallest() //throws IntegerSetException \r\n {\r\n int small;\r\n \r\n small = Collections.min(setA);\r\n \r\n return small;\r\n }",
"title": ""
},
{
"docid": "570bd7e01d93bca8c0f6f2b7445f60da",
"score": "0.56189144",
"text": "int najdiNejmensiObjem()\r\n\t{\r\n\t\tfloat min= Float.MAX_VALUE;\r\n\t\tint idx=0;\t\t\t\t\t\t\t\t\t\t\r\n\t\tfor (int i = 0;i < Hranol.getPocetHranolu() ; i++)\r\n\t\t{\r\n\t\t\tif (mojeHranoly[i].vypoctiObjem()<min){\r\n\t\t\t\tmin=mojeHranoly[i].vypoctiObjem();\r\n\t\t\t\tidx=i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn idx;\r\n\t}",
"title": ""
},
{
"docid": "2da70bb3c2ccc474141a0810b44b405d",
"score": "0.56135845",
"text": "private int smallest() {\n //main index for tracking where the smallest node is\n int smallNode = index;\n\n //finds the smallest node out of the 4 child nodes\n for (int i = 1; i <= 4; i++) {\n int childNode = 4 * index + i;\n if (childNode < data.length && data[smallNode] != null && data[childNode] != null) {\n if (data[smallNode].compareTo(data[childNode]) > 0) {\n smallNode = childNode;\n }\n }\n }\n //returns the smallest child node to be used for percolation\n return smallNode;\n }",
"title": ""
},
{
"docid": "ad42327fbfdb0617db262cf0e1ae9981",
"score": "0.5612164",
"text": "public int minNumber(int a, int b) {\r\n\t\treturn a < b ? a : b;\r\n\t}",
"title": ""
},
{
"docid": "596d2e0dc96351ce100cc0ae45e86b2e",
"score": "0.56106794",
"text": "public java.lang.Integer getEmployees() {\n return employees;\n }",
"title": ""
},
{
"docid": "cc2ec27c3adb1026b16342a5b8eb04aa",
"score": "0.5600059",
"text": "public int getMinCount() {\n return minCount;\n }",
"title": ""
},
{
"docid": "f153643315ffce7f73f65a1b9b6488e7",
"score": "0.5597448",
"text": "int getMinElement() {\n if (array.length == 0) {\n return 0;\n }\n int minValue = array[0];\n for (int i = 1; i < array.length; i++)\n if (array[i] < minValue) minValue = array[i];\n return minValue;\n }",
"title": ""
},
{
"docid": "fe3e575cbbc1182bd9d9ec11d3438865",
"score": "0.5592816",
"text": "private void calculateMinRequiredNumber(GameDescription game){\n\t\tArrayList<SpriteData> allSprites = game.getAllSpriteData();\n\t\t\n\t\tfor(SpriteData sprite:allSprites){\n\t\t\tif(!sprite.type.equals(resource) && checkIsCreate(sprite.name, game, allSprites)){\n\t\t\t\tminRequiredNumber.put(sprite.name, 0);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(getAllInteractions(sprite.name, InteractionType.ALL, game).size() > 0 || \n\t\t\t\t\t\tspawnerTypes.contains(sprite.type)){\n\t\t\t\t\tif(sprite.isSingleton){\n\t\t\t\t\t\tminRequiredNumber.put(sprite.name, 1);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tminRequiredNumber.put(sprite.name, 2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif(!minRequiredNumber.containsKey(sprite.name)){\n\t\t\t\tminRequiredNumber.put(sprite.name, 0);\n\t\t\t}\n\t\t}\n\t}",
"title": ""
},
{
"docid": "d4b93228f1c15b77b862674fe7a3a619",
"score": "0.55868787",
"text": "public int getLeastFittestIndex() {\r\n int minFitVal = Integer.MAX_VALUE;\r\n int minFitIndex = 0;\r\n for (int i = 0; i < individuals.length; i++) {\r\n if (minFitVal >= individuals[i].fitness) {\r\n minFitVal = individuals[i].fitness;\r\n minFitIndex = i;\r\n }\r\n }\r\n return minFitIndex;\r\n }",
"title": ""
},
{
"docid": "c6e1b9a187f1b13f749b2cb6fdc244e6",
"score": "0.55749005",
"text": "public int getEmployeeNr() {\n\t\treturn (int) super.getUserId();\n\t}",
"title": ""
},
{
"docid": "6cfa08a47f6de11cc61e030d9328057c",
"score": "0.5571724",
"text": "int getMin() {\r\n if (minStack.isEmpty())\r\n return -1;\r\n return minStack.peek();\r\n }",
"title": ""
},
{
"docid": "d432567551c12dfb39dabf4afbcb2744",
"score": "0.55583864",
"text": "private int getMinimalValueIndex(double[] tab) {\r\n\t\tint index = 0;\r\n\t\tdouble min = tab[index];\r\n\t\tfor (int i = index; i < tab.length; i++) {\r\n\t\t\tif (min > tab[i]) {\r\n\t\t\t\tmin = tab[i];\r\n\t\t\t\tindex = i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn index;\r\n\t}",
"title": ""
},
{
"docid": "dde768b5ebb3b7ccd6abc624cbf9cdc1",
"score": "0.5556568",
"text": "public static int minHands(int numPlayers){\n\t\tint minNum = 0;\n\t\tif(numPlayers == 2){\n\t\t\tminNum = 3;\n\t\t}else if(numPlayers == 3){\n\t\t\tminNum = 4;\n\t\t}else if(numPlayers == 4){\n\t\t\tminNum = 5;\n\t\t}else{\n\t\t\tminNum = 6;\n\t\t}\n\t\treturn minNum;\n\t}",
"title": ""
},
{
"docid": "7052f85ffe52c717c0aaa42420ef2d87",
"score": "0.55480874",
"text": "protected int getMinimum()\n {\n return minColumn;\n }",
"title": ""
},
{
"docid": "e0685c5693a5d643c13f64b11b8f1456",
"score": "0.554015",
"text": "@Override\n public int compare(Employee a, Employee b) {\n return Integer.compare(a.getEmployeeNumber(), b.getEmployeeNumber()); // Compare and return the client's employee numbers, lowest to highest.\n }",
"title": ""
},
{
"docid": "435ba43089fc88f5714fed2cf24edf58",
"score": "0.553801",
"text": "public static int getLowestPriority() {\r\n\t\tint min = 0;\r\n\t\tif (tasks.size() != 0) {\r\n\t\t\tmin = tasks.get(0).getPriority();\r\n\t\t\tfor (int i = 0; i < tasks.size(); i++) {\r\n\t\t\t\tif (tasks.get(i).getPriority() <= min) {\r\n\t\t\t\t\tmin = tasks.get(i).getPriority();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn min;\r\n\t}",
"title": ""
},
{
"docid": "936e7bac7037588337fb571ad4c74175",
"score": "0.5536295",
"text": "public Double min(String fieldname) throws Exception {\r\n\t\tIterator<DataRow> it = iterator();\r\n\t\tDouble s = 0.0;\r\n\t\tBoolean first = true;\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tDataRow dr = it.next();\r\n\t\t\tDouble d = dr.getFieldAsNumber(fieldname);\r\n\t\t\tif (first || d < s) {\r\n\t\t\t\ts = d;\r\n\t\t\t\tfirst = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn s;\r\n\t}",
"title": ""
},
{
"docid": "7ce7bbba6035fdef12b50e39c5d67ee2",
"score": "0.55265474",
"text": "public static void firstEmployee(ArrayList<Employee> emp) {\n\t\tDate oldest = emp.get(0).getHireDate();\n\t\tint o = 0;\n\t\tfor (int i = 1; i < emp.size(); i++) {\n\t\t\tif (emp.get(i).isFlag()) {\n\t\t\t\tif (emp.get(i).getHireDate().compareTo(oldest) < 0) {\n\t\t\t\t\toldest = emp.get(i).getHireDate();\n\t\t\t\t\to = i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Info of the employee who has been working the longest:\");\n\t\tSystem.out.println(emp.get(o).toString());\n\t\tSystem.out.println(\"****************************************\");\n\t}",
"title": ""
},
{
"docid": "2627d37bd6b69b719b052c1929e10da3",
"score": "0.5518624",
"text": "public long getPublicMin() {\n\t\treturn publicMin;\n\t}",
"title": ""
},
{
"docid": "8390394e19dd1aa906abd615a92a5f75",
"score": "0.5516781",
"text": "public @NonNull Number getMin() {\r\n return mMin;\r\n }",
"title": ""
},
{
"docid": "7478da3af2603b47b13fc750369c97ec",
"score": "0.5516583",
"text": "public int getMinSelectionRow() {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "2cbe5bf81125cad62c11b99393bea7c4",
"score": "0.5514434",
"text": "public int ListEmployeeCount(int mid);",
"title": ""
},
{
"docid": "18b55ceea34f5d8c7ed360dead5086ff",
"score": "0.55076516",
"text": "public double min();",
"title": ""
},
{
"docid": "995800384144f32a164c645a94d22f42",
"score": "0.54990035",
"text": "double getMin();",
"title": ""
},
{
"docid": "995800384144f32a164c645a94d22f42",
"score": "0.54990035",
"text": "double getMin();",
"title": ""
},
{
"docid": "995800384144f32a164c645a94d22f42",
"score": "0.54990035",
"text": "double getMin();",
"title": ""
}
] |
fc7ad4c4e2fc0fb16de306b53d81fd2e | / / / / / / / / / / / / / / / | [
{
"docid": "a9209cdee1b177de61a3b4c3b98410bd",
"score": "0.0",
"text": "int parameterSlotCount() {\n/* 987 */ return this.form.parameterSlotCount();\n/* */ }",
"title": ""
}
] | [
{
"docid": "d4e5d5fe38cc475eeac92d4fdadfd133",
"score": "0.53869486",
"text": "public double getWidth() { return 1; }",
"title": ""
},
{
"docid": "cd84ee1a68505d1781a1a85ddb9de6de",
"score": "0.52419996",
"text": "String ring();",
"title": ""
},
{
"docid": "1f517844eade22d192351a6845246e98",
"score": "0.5192135",
"text": "double getWidth(){return width;}",
"title": ""
},
{
"docid": "51020f1896955f4ccb4386d92a08da15",
"score": "0.51857054",
"text": "Edge shorten();",
"title": ""
},
{
"docid": "a867dbfdaf3c885aa5b237d545c2a36d",
"score": "0.51420647",
"text": "public static void main(String[] args) {\n TreeNode node1 = new TreeNode(1);\n TreeNode node2 = new TreeNode(2);\n TreeNode node3 = new TreeNode(3);\n TreeNode node4 = new TreeNode(4);\n\n TreeNode node6 = new TreeNode(6);\n TreeNode node7 = new TreeNode(7);\n TreeNode node9 = new TreeNode(9);\n\n /* node4.left = node2;\n node4.right = node7;\n\n node2.left = node1;\n node2.right = node3;\n\n node7.left = node6;\n node7.right = node9;*/\n\n Q257 q = new Q257();\n List<String> rs = q.binaryTreePaths(node4);\n System.out.printf(\"11\");\n }",
"title": ""
},
{
"docid": "ddfadb46d93bdb371817d364b0991343",
"score": "0.51281106",
"text": "public int getWidthPixels() {\n/* 61 */ return 9;\n/* */ }",
"title": ""
},
{
"docid": "e5ce38ae4e88fbb39806f75b806e7671",
"score": "0.51053023",
"text": "private static String fancyHeapDrawingHelper(Object[] items, int index, String soFar) {\r\n if (index >= items.length || items[index] == null) {\r\n return \"\";\r\n } else {\r\n String toReturn = \"\";\r\n int rightIndex = 2 * index + 1;\r\n toReturn += fancyHeapDrawingHelper(items, rightIndex, \" \" + soFar);\r\n if (rightIndex < items.length && items[rightIndex] != null) {\r\n toReturn += soFar + \" /\";\r\n }\r\n toReturn += \"\\n\" + soFar + items[index] + \"\\n\";\r\n int leftIndex = 2 * index;\r\n if (leftIndex < items.length && items[leftIndex] != null) {\r\n toReturn += soFar + \" \\\\\";\r\n }\r\n toReturn += fancyHeapDrawingHelper(items, leftIndex, \" \" + soFar);\r\n return toReturn;\r\n }\r\n }",
"title": ""
},
{
"docid": "e488fbb1bf55f9e1165dcb168516e245",
"score": "0.5076932",
"text": "int blockSize();",
"title": ""
},
{
"docid": "94fbc7cc462bcbd6ae350624f9fd7ce3",
"score": "0.5075529",
"text": "private void dextrose10() {\n\n }",
"title": ""
},
{
"docid": "a501c8a4c48e5db331be628242ac11ea",
"score": "0.50634396",
"text": "float getWidth() {\r\n return 4;\r\n }",
"title": ""
},
{
"docid": "625a6488569238cc9a88b791b4fa1b89",
"score": "0.50562114",
"text": "int lgRadix();",
"title": ""
},
{
"docid": "1632386f6bd8f92e28d20451be3eaf29",
"score": "0.505298",
"text": "int outerWidth();",
"title": ""
},
{
"docid": "9b446b31152d0685562d7765c9809683",
"score": "0.5049432",
"text": "static void write_8 () \n {\n horizLine ();\n leftRight ();\n horizLine ();\n leftRight ();\n horizLine ();\n }",
"title": ""
},
{
"docid": "dd8aa34232922201e510b9283c51748c",
"score": "0.5030689",
"text": "private int leftChild(int parentIndex){return 2*parentIndex+1;}",
"title": ""
},
{
"docid": "ecc767596c795ab5762a9f381fa7a19f",
"score": "0.5017103",
"text": "int width();",
"title": ""
},
{
"docid": "dc9eb104b8c756c12a55484ae0d05b51",
"score": "0.49945143",
"text": "public double getWidth() \n{\n\treturn width;\n}",
"title": ""
},
{
"docid": "dc9eb104b8c756c12a55484ae0d05b51",
"score": "0.49945143",
"text": "public double getWidth() \n{\n\treturn width;\n}",
"title": ""
},
{
"docid": "fd590167c3d06d8d883f95a4da64d370",
"score": "0.4990127",
"text": "private void h() throws IOException {\n/* 274 */ this.c.writeShort(-175);\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 281 */ int markSegLen = 38 + 3 * this.a;\n/* 282 */ this.c.writeShort(markSegLen);\n/* */ \n/* */ \n/* 285 */ this.c.writeShort(0);\n/* */ \n/* */ \n/* 288 */ this.c.writeInt(this.h.getImgWidth() + this.h.getImgULX());\n/* */ \n/* */ \n/* 291 */ this.c.writeInt(this.h.getImgHeight() + this.h.getImgULY());\n/* */ \n/* */ \n/* */ \n/* 295 */ this.c.writeInt(this.h.getImgULX());\n/* */ \n/* */ \n/* */ \n/* 299 */ this.c.writeInt(this.h.getImgULY());\n/* */ \n/* */ \n/* 302 */ this.c.writeInt(this.h.getNomTileWidth());\n/* */ \n/* */ \n/* 305 */ this.c.writeInt(this.h.getNomTileHeight());\n/* */ \n/* 307 */ Point torig = this.h.a(null);\n/* */ \n/* */ \n/* 310 */ this.c.writeInt(torig.x);\n/* */ \n/* */ \n/* */ \n/* 314 */ this.c.writeInt(torig.y);\n/* */ \n/* */ \n/* 317 */ this.c.writeShort(this.a);\n/* */ \n/* */ \n/* 320 */ for (int c = 0; c < this.a; c++) {\n/* */ \n/* */ \n/* 323 */ int tmp = this.d.getNomRangeBits(c) - 1;\n/* */ \n/* 325 */ tmp |= (this.e[c] ? 1 : 0) << 7;\n/* 326 */ this.c.write(tmp);\n/* */ \n/* */ \n/* 329 */ this.c.write(this.h.getCompSubsX(c));\n/* */ \n/* */ \n/* 332 */ this.c.write(this.h.getCompSubsY(c));\n/* */ } \n/* */ }",
"title": ""
},
{
"docid": "3d8e03d4f77af2c25ae2eafad6fcec50",
"score": "0.49899024",
"text": "public static int getObjectWidth(){return 0;}",
"title": ""
},
{
"docid": "f59eb91d64435bd17552b6a2d50e5299",
"score": "0.49495965",
"text": "public int getVert1();",
"title": ""
},
{
"docid": "f272f9a3848ed59bd5e23249bc3eb612",
"score": "0.49340725",
"text": "long stride();",
"title": ""
},
{
"docid": "a560b8f1c59d4a0517d318b4aa3a077c",
"score": "0.49219507",
"text": "int innerWidth();",
"title": ""
},
{
"docid": "58abe55ce9820e29314e32484be613d2",
"score": "0.49197888",
"text": "public abstract String dame_clips();",
"title": ""
},
{
"docid": "ab8b3f56e8d53fe9a3f0c88632493d52",
"score": "0.49082145",
"text": "private void split(){\n double subWidth = (this.spaceMbr.getWidth() / 2);\n double subHeight = (this.spaceMbr.getHeight() / 2);\n Point midWidth;\n Point midHeight; \n midWidth = new Point((this.spaceMbr.x1+subWidth), this.spaceMbr.y1);\n midHeight = new Point(this.spaceMbr.x1,(this.spaceMbr.y1+subHeight));\n \n this.SW = new QuadTree(new Rectangle(this.spaceMbr.x1,this.spaceMbr.y1,midWidth.x,midHeight.y),this.nodeCapacity);\n this.NW = new QuadTree(new Rectangle(midHeight.x,midHeight.y,midWidth.x,this.spaceMbr.y2),this.nodeCapacity);\n this.NE = new QuadTree(new Rectangle(midWidth.x,midHeight.y,this.spaceMbr.x2,this.spaceMbr.y2),this.nodeCapacity);\n this.SE = new QuadTree(new Rectangle(midWidth.x,midWidth.y,this.spaceMbr.x2,midHeight.y),this.nodeCapacity);\n }",
"title": ""
},
{
"docid": "49b352bf76aa475acf6fc72a7ac57d00",
"score": "0.4900594",
"text": "@Override\n public int calculateLength() {\n return 1 + 2 + 2;\n }",
"title": ""
},
{
"docid": "3e77f1494b119cc0e12ccacc23d01e44",
"score": "0.48949125",
"text": "private static int spaceOut(int arg) {\n \treturn arg * (TILES_MARGIN + TILE_SIZE) + TILES_MARGIN;\r\n \t}",
"title": ""
},
{
"docid": "0defa4aacda623e161c2277189ce8a35",
"score": "0.48941055",
"text": "double calculate(){\n return length * breadth ;\n }",
"title": ""
},
{
"docid": "6843f3089cb8b4479059d43e33cdb84e",
"score": "0.4891567",
"text": "protected final int getRhsOffset() {\n\treturn getWidth() - 1;\n }",
"title": ""
},
{
"docid": "3050f6e97b6e19c0e4b64f6058562654",
"score": "0.4890516",
"text": "static void write_4 () \n {\n leftRight ();\n leftRight ();\n horizLine ();\n rightOnly ();\n rightOnly ();\n }",
"title": ""
},
{
"docid": "b45533c1fe1abca554473ddec0c29c4e",
"score": "0.4881387",
"text": "private void dextrose() {\n\n\n }",
"title": ""
},
{
"docid": "1b9205652cea7f7d28441e7159184716",
"score": "0.48759517",
"text": "public abstract int getGrootte();",
"title": ""
},
{
"docid": "b84534607100634bbc4a569f2a41b4ac",
"score": "0.4874213",
"text": "String getImageDoor();",
"title": ""
},
{
"docid": "64001cfca028974b70c1014901c167cc",
"score": "0.4869823",
"text": "static void write_6 () \n {\n horizLine ();\n leftOnly ();\n horizLine ();\n leftRight ();\n horizLine ();\n }",
"title": ""
},
{
"docid": "833e315013204b93025023f0f13c4961",
"score": "0.4833287",
"text": "public int getVert2();",
"title": ""
},
{
"docid": "613fa70f5c475e3bdf58b5a0ce7ce203",
"score": "0.4832542",
"text": "void redepth();",
"title": ""
},
{
"docid": "f303bfabbfdce28c88826d416b34db9f",
"score": "0.48321083",
"text": "@Override\n public int getWidth() {\n return width;\n }",
"title": ""
},
{
"docid": "114fc4cb4d176e02ec886d590e35a1cd",
"score": "0.48294315",
"text": "int getSizeX();",
"title": ""
},
{
"docid": "114fc4cb4d176e02ec886d590e35a1cd",
"score": "0.48294315",
"text": "int getSizeX();",
"title": ""
},
{
"docid": "156c273dbc6d333a326fe14016e22b7b",
"score": "0.48282126",
"text": "int getPathSubCount();",
"title": ""
},
{
"docid": "02699a98134693036160a045239bddba",
"score": "0.48165762",
"text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}",
"title": ""
},
{
"docid": "714105212290de226e6806066a4d759f",
"score": "0.48138192",
"text": "@Override\n\t\tpublic int getSize() {\n\t\t\treturn 1/0;\n\t\t}",
"title": ""
},
{
"docid": "12c5fbaefef8bf558f4497d71587dcb8",
"score": "0.48131555",
"text": "java.lang.String getBlockGubun();",
"title": ""
},
{
"docid": "62fd6fda736d97a60ce632d1654614eb",
"score": "0.48105872",
"text": "private int child(int pos){\n return (pos*2)+1;\n }",
"title": ""
},
{
"docid": "273a06166ecbc3e1f1add29274c91015",
"score": "0.48093432",
"text": "private static BufferedImage imageSegmentation(BufferedImage image, int height, int width) {\n Integer[]universe=new Integer[width*height];\r\n int universeCounter=0;\r\n\r\n //we'll use this hashtable later on to find vertices that might connect to components we're comparing.\r\n Hashtable<String,ArrayList<edge>>edgesLeavingVertex=new Hashtable<>();\r\n for(int y=0;y<height;y++){\r\n for(int x=0;x<width;x++){\r\n universe[universeCounter]=x+(y*width);\r\n universeCounter++;\r\n }\r\n }\r\n disjointSet disjointSet=new disjointSet(universe);\r\n ArrayList<edge>edges=new ArrayList<>();\r\n for(int y=0;y<height;y++){\r\n for(int x=0;x<width;x++) {\r\n if (x == 0 && y!=height-1) {\r\n //very first pixel\r\n ArrayList<edge>currentEdges=edgesLeavingVertex.get(String.valueOf(x)+\",\"+String.valueOf(y));\r\n if(currentEdges==null){\r\n currentEdges=new ArrayList<>();\r\n }\r\n int rgbColorAnchored=image.getRGB(x,y);\r\n Color anchoredColor=new Color(rgbColorAnchored);\r\n vertex anchored=new vertex(x,y,anchoredColor);\r\n //directly to right\r\n int varyingRGB=image.getRGB(x+1,y);\r\n //get the other component to add the list of edges leaving it\r\n Color varyingColor=new Color(varyingRGB);\r\n vertex variedVertex=new vertex(x+1,y,varyingColor);\r\n edge addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n //directly underneath\r\n varyingRGB=image.getRGB(x,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n //bottom diagonal right\r\n varyingRGB=image.getRGB(x+1,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x+1,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n edgesLeavingVertex.replace(String.valueOf(x)+\",\"+String.valueOf(y),currentEdges);\r\n } else if (y != height - 1 && x == width - 1) {\r\n //the ending node of pixel lines that arent the first or last line, same as first case, really. just now you get the left corner and bottom\r\n ArrayList<edge>currentEdges=edgesLeavingVertex.get(String.valueOf(x)+\",\"+String.valueOf(y));\r\n if(currentEdges==null){\r\n currentEdges=new ArrayList<>();\r\n }\r\n int rgbColorAnchored=image.getRGB(x,y);\r\n Color anchoredColor=new Color(rgbColorAnchored);\r\n vertex anchored=new vertex(x,y,anchoredColor);\r\n //directly to right\r\n int varyingRGB=image.getRGB(x,y+1);\r\n Color varyingColor=new Color(varyingRGB);\r\n vertex variedVertex=new vertex(x,y+1,varyingColor);\r\n edge addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n //directly underneath\r\n //bottom diagonal left\r\n varyingRGB=image.getRGB(x-1,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x-1,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n edgesLeavingVertex.replace(String.valueOf(x)+\",\"+String.valueOf(y),currentEdges);\r\n }else if(y==height-1&&x!=width-1){\r\n ArrayList<edge>currentEdges=edgesLeavingVertex.get(String.valueOf(x)+\",\"+String.valueOf(y));\r\n if(currentEdges==null){\r\n currentEdges=new ArrayList<>();\r\n }\r\n //last line of pixels\r\n //just get the rightmost pixel for each besides the last.\r\n int rgbColorAnchored=image.getRGB(x,y);\r\n Color anchoredColor=new Color(rgbColorAnchored);\r\n vertex anchored=new vertex(x,y,anchoredColor);\r\n //directly to right\r\n int varyingRGB=image.getRGB(x+1,y);\r\n Color varyingColor=new Color(varyingRGB);\r\n vertex variedVertex=new vertex(x+1,y,varyingColor);\r\n edge addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n edgesLeavingVertex.replace(String.valueOf(x)+\",\"+String.valueOf(y),currentEdges);\r\n }else if(y!=height-1&&x!=width-1){\r\n ArrayList<edge>currentEdges=edgesLeavingVertex.get(String.valueOf(x)+\",\"+String.valueOf(y));\r\n if(currentEdges==null){\r\n currentEdges=new ArrayList<>();\r\n }\r\n //middle elements\r\n //very first pixel\r\n int rgbColorAnchored=image.getRGB(x,y);\r\n Color anchoredColor=new Color(rgbColorAnchored);\r\n vertex anchored=new vertex(x,y,anchoredColor);\r\n //directly to right\r\n int varyingRGB=image.getRGB(x+1,y);\r\n Color varyingColor=new Color(varyingRGB);\r\n vertex variedVertex=new vertex(x+1,y,varyingColor);\r\n edge addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n //directly underneath\r\n varyingRGB=image.getRGB(x,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n //bottom diagonal right\r\n varyingRGB=image.getRGB(x+1,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x+1,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n varyingRGB=image.getRGB(x-1,y+1);\r\n varyingColor=new Color(varyingRGB);\r\n variedVertex=new vertex(x-1,y+1,varyingColor);\r\n addedEdge=new edge(anchored,variedVertex,width);\r\n edges.add(addedEdge);\r\n currentEdges.add(addedEdge);\r\n edgesLeavingVertex.replace(String.valueOf(x)+\",\"+String.valueOf(y),currentEdges);\r\n }\r\n }\r\n }\r\n int correctedges= (int) ((((width-1)*(height)))+(((height-1)*(width))+(2.0*(width-1)*(height-1))));\r\n System.out.println(\"Edges: \"+edges.size());\r\n System.out.println(\"Correct number of edges: \"+correctedges);\r\n System.out.println(\"Graph Created\");\r\n //each edge holds the 2 vertices it connects, the vertices hold the rgb values and x,y coordinate of the pixel they reference.\r\n //next, we have to sort the edges in nondecreasiing order. we'll sort them based on the entire rgb number\r\n //sorting the edges from least to greatest\r\n int r=edges.size()-1;\r\n mergeSort(edges,0,r);\r\n System.out.println(\"Edges Sorted\");\r\n\r\n int pixels=height*width;\r\n for(edge currentEdge:edges){\r\n int pixelPos1=currentEdge.getPixelPlacement1();\r\n int pixelPos2=currentEdge.getPixelPlacement2();\r\n if(!disjointSet.find(pixelPos1).equals(disjointSet.find(pixelPos2))){\r\n float size1F=Float.valueOf(disjointSet.getSize(pixelPos1));\r\n float size2F=Float.valueOf(disjointSet.getSize(pixelPos2));\r\n float k1=90000/size1F;\r\n float k2=90000/size2F;\r\n //get possible minimum weights connecting the segments by checking the hash table that connects vertices\r\n if((currentEdge.getRgbWeight()<=disjointSet.getInternalDif(pixelPos1)+k1)&&(currentEdge.getRgbWeight()<=disjointSet.getInternalDif(pixelPos2)+k2)){\r\n disjointSet.union(pixelPos1,pixelPos2,currentEdge.getRgbWeight());\r\n }\r\n }\r\n }\r\n\r\n for(edge currentEdge:edges){\r\n int pixelPos1=currentEdge.getPixelPlacement1();\r\n int pixelPos2=currentEdge.getPixelPlacement2();\r\n if(!disjointSet.find(pixelPos1).equals(disjointSet.find(pixelPos2))&&((disjointSet.getSize(pixelPos1)<50)||disjointSet.getSize(pixelPos2)<50)) {\r\n disjointSet.union(pixelPos1,pixelPos2,currentEdge.getRgbWeight());\r\n }\r\n }\r\n\r\n\r\n //fill up the components arrayList with UNIQUE components\r\n Hashtable<Integer,Color>colors=new Hashtable<>();\r\n for(int y=0;y<height;y++){\r\n for(int x=0;x<width;x++){\r\n int current=disjointSet.find(x+(y*width));\r\n Color color=colors.get(current);\r\n if(color==null){\r\n int R = (int)(Math.random()*256);\r\n int G = (int)(Math.random()*256);\r\n int B= (int)(Math.random()*256);\r\n color = new Color(R, G, B);\r\n image.setRGB(x,y,color.getRGB());\r\n colors.put(current,color);\r\n }else{\r\n image.setRGB(x,y,color.getRGB());\r\n }\r\n\r\n }\r\n\r\n }\r\n return image;\r\n }",
"title": ""
},
{
"docid": "b54fc3b332d912af990c521d6ced742d",
"score": "0.48072883",
"text": "static void write_9 () \n {\n horizLine ();\n leftRight ();\n horizLine ();\n rightOnly ();\n horizLine ();\n }",
"title": ""
},
{
"docid": "8ad703ca91228de69dcbaadf224248de",
"score": "0.4805274",
"text": "@Override\n public double perimeter() {\n return 2*height + 2*width;\n }",
"title": ""
},
{
"docid": "7f70b5e8674b5e2901a04f5e67ca2e38",
"score": "0.4793337",
"text": "static void write_5 () \n {\n horizLine ();\n leftOnly ();\n horizLine ();\n rightOnly ();\n horizLine ();\n }",
"title": ""
},
{
"docid": "4fad6131243f2892c2c5ed03b61b2989",
"score": "0.47833812",
"text": "private static void drawHeadAndTail(int size){\n\t\tint lineTotal = size*2-1;\n\t\tfor(int i = 1; i<=lineTotal; i++){\n\t\t\tdrawRepeatChars(lineTotal+1-i,\" \");\n\t\t\tdrawRepeatChars(i,\"/\");\n\t\t\tSystem.out.print(\"**\");\n\t\t\tdrawRepeatChars(i,\"\\\\\");\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"title": ""
},
{
"docid": "5aff9a4ccd74ccd58187a6b3ff01fc24",
"score": "0.47786158",
"text": "@Override\r\n\tpublic int getNbreCoord() {\n\t\treturn 1;\r\n\t}",
"title": ""
},
{
"docid": "ac41cc395a3997cc37fa841ac0cac3be",
"score": "0.47698393",
"text": "@Override\r\n\tpublic int getWidth()\r\n\t{\r\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "0a14b2c4ac9647e6bc7077e1e653d540",
"score": "0.47653708",
"text": "@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}",
"title": ""
},
{
"docid": "d445a7d1d519980de0acae96ce627ae2",
"score": "0.47634062",
"text": "Divide createDivide();",
"title": ""
},
{
"docid": "d445a7d1d519980de0acae96ce627ae2",
"score": "0.47634062",
"text": "Divide createDivide();",
"title": ""
},
{
"docid": "1788b98b4655a31125f2c969449eaa17",
"score": "0.47609112",
"text": "private int parent(int pos){\n return pos / 2;\n }",
"title": ""
},
{
"docid": "cafe0743e92b146b83c54a51863a9721",
"score": "0.47585014",
"text": "public int getWidth(){\n return width;\n }",
"title": ""
},
{
"docid": "2101d18c3226d5e3c73a8a9d850ae06b",
"score": "0.4757354",
"text": "public int getSize() {\r\n\tint size = 32;\r\n\tfor (int i = 0; i < childAToms.length; i++){\r\n\t\tsize += childAToms[i].getSize();\r\n\t}\r\n\treturn size;\r\n}",
"title": ""
},
{
"docid": "fb71369a3a2ee5712fa9e63f3c2a3ce0",
"score": "0.47568622",
"text": "private void buildHeap(int len){\n\t\tint lastParentIndex = ((((len-2)/2)/2)*2);\n\t\tfor(int i = lastParentIndex; i >= 0; i-=2)\n\t\t{\n\t\t\tsiftDown(i, len - 2);\n\t\t}\n\t}",
"title": ""
},
{
"docid": "cc5d4cfc1547a6dfc260a55e784f1c41",
"score": "0.47491595",
"text": "public static void Up() {\n for(int i=0; i<SIZE; i++) {\n StarSlash(i,SIZE);\n System.out.println();\n }\n }",
"title": ""
},
{
"docid": "77a0775a8d92075483a9fd6bd195c85a",
"score": "0.47482118",
"text": "public int getWidth()\n/* */ {\n/* 330 */ return this.width;\n/* */ }",
"title": ""
},
{
"docid": "7d4f4c59be1a9dee406e01756087bc5d",
"score": "0.47413406",
"text": "@Override\n\tpublic String toString() {\n\t\treturn \"Trie: bottomRightX = \" + bottomRightX + \"; bottomRightY = \" + bottomRightY + \"; topLeftX = \" + topLeftX + \"; topLeftY = \" + topLeftY;\n\t}",
"title": ""
},
{
"docid": "0d1936e9bc590ca70654e9dced3eac73",
"score": "0.47389984",
"text": "public int numberOfSegments() {\n return 0;\n }",
"title": ""
},
{
"docid": "10f0cba03e7321edf96b9669946c91ba",
"score": "0.4735035",
"text": "private int branchLength() {\n return end - start;\n }",
"title": ""
},
{
"docid": "d0150b2f912c25ac70f9176516089651",
"score": "0.47339207",
"text": "int getArea() {\n\treturn length * length;\n }",
"title": ""
},
{
"docid": "0855573f14efac8e0db075cdb099fbc1",
"score": "0.47321457",
"text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "0855573f14efac8e0db075cdb099fbc1",
"score": "0.47321457",
"text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "85e44dda4136875f7d847754224df520",
"score": "0.4730575",
"text": "public int getTileCount() { return _pattern.tileCount; }",
"title": ""
},
{
"docid": "26e0baa5d8c014807bce5ca8f6768bf5",
"score": "0.47305018",
"text": "@Override public int getLeafCount()\n{\n return leaf_count;\n}",
"title": ""
},
{
"docid": "09c5becb8c45884e1c01a595b356341e",
"score": "0.4729422",
"text": "@Override\r\n\tint getside1() {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "7d5fb7cf29f5f030017739824c626943",
"score": "0.47209877",
"text": "public int getWidth() {return width;}",
"title": ""
},
{
"docid": "ae273a86d56b1fa9a852286d21f6d327",
"score": "0.47156727",
"text": "int getBaseCount();",
"title": ""
},
{
"docid": "f1e331ed3bcafaf5f5d4820c7bf87975",
"score": "0.47149885",
"text": "public int getLength() {\n/* 78 */ return this.m_firstFree;\n/* */ }",
"title": ""
},
{
"docid": "3c931af4f38b50b6d12a5e3c1a5657be",
"score": "0.47144765",
"text": "public void computeEpipoles(){ \n }",
"title": ""
},
{
"docid": "697d06f6fc78dc1b07180f1e7b470898",
"score": "0.471443",
"text": "@Override\r\n\tint getside2() {\n\t\treturn 0;\r\n\t}",
"title": ""
},
{
"docid": "b76631f0d42d04f0d6fde6f3c69205e9",
"score": "0.47065553",
"text": "public void generateHalfSortedArray() {\n\n }",
"title": ""
},
{
"docid": "11db14df9b1467492cfeabb40753cab7",
"score": "0.4703939",
"text": "private static void drawUpHalf(int size){\n\t\t\n\t\tfor(int i=1; i<=size; i++){\n\t\t\tSystem.out.print(\"|\");\n\t\t\tdrawRepeatChars(size-i,\".\");\n\t\t\tdrawRepeatChars(i,\"/\\\\\");\n\t\t\tdrawRepeatChars((size-i)*2,\".\");\n\t\t\tdrawRepeatChars(i,\"/\\\\\");\n\t\t\tdrawRepeatChars(size-i,\".\");\n\t\t\tSystem.out.println(\"|\");\n\t\t}\n\t\t\n\t}",
"title": ""
},
{
"docid": "6c2fa45ab362625ae567ee8a229630a4",
"score": "0.47023332",
"text": "@Override\n\tprotected void interr() {\n\t}",
"title": ""
},
{
"docid": "a20eb25fccc8470257d57e3133ea0c40",
"score": "0.46995297",
"text": "private int SquareWidth () {return (int) getSize().getWidth()/width; }",
"title": ""
},
{
"docid": "f9fcdf5a96d910074c9c2b1985280d2a",
"score": "0.46995124",
"text": "public int size() {\n\treturn 1 + upper - lower;\n }",
"title": ""
},
{
"docid": "a93a7130d6fd2071f57c4ddba5bd84a4",
"score": "0.46942505",
"text": "public ShortestPathAlgorithm() { \r\n\t\tData data = new Data( \"null\", \"null\", 0);\r\n\t\tarrayData.add(data);\r\n\t\tarrayNode.add(\"null\");\r\n\t}",
"title": ""
},
{
"docid": "45f4c5fa9011b2e5b558b10a2eb08ea7",
"score": "0.46941936",
"text": "int depth();",
"title": ""
},
{
"docid": "c9ac47bc642a9246fb1080e5c0706629",
"score": "0.4688618",
"text": "@Test\n public void createGoodChildOfChildNW01(){\n QuadTree qt = new QuadTree(new BoundingBox(0,0, 200,200),8);\n for (int i = 0; i < qt.MAX_ITEMS * 5; i++) {\n qt.addPoint(new Point2D(99,99));\n //assert( quadTree.getBranchSize() == i+1 );\n }\n System.out.println(\"expecting branch size: \"+ qt.MAX_ITEMS * 5 + \" got: \" + qt.getBranchSize());\n assert( qt.getBranchSize() == qt.MAX_ITEMS * 5 );\n }",
"title": ""
},
{
"docid": "a8dae7f932c12a2ca24bfc5c10adac12",
"score": "0.4687209",
"text": "float getWidth();",
"title": ""
},
{
"docid": "bce0b118239ac1a10514f9621e54131d",
"score": "0.4682606",
"text": "private void m1289x() {\n this.f1910a.clear();\n this.f1911b.clear();\n int childCount = getChildCount();\n for (int i = 0; i < childCount; i++) {\n View childAt = getChildAt(i);\n LayoutParams m = mo3475m(childAt);\n m.mo3533d(this, childAt);\n this.f1911b.addNode(childAt);\n for (int i2 = 0; i2 < childCount; i2++) {\n if (i2 != i) {\n View childAt2 = getChildAt(i2);\n if (m.mo3531b(this, childAt, childAt2)) {\n if (!this.f1911b.contains(childAt2)) {\n this.f1911b.addNode(childAt2);\n }\n this.f1911b.addEdge(childAt2, childAt);\n }\n }\n }\n }\n this.f1910a.addAll(this.f1911b.getSortedList());\n Collections.reverse(this.f1910a);\n }",
"title": ""
},
{
"docid": "47e469b5738e6c2f018fc3fe41dc0dd2",
"score": "0.4675008",
"text": "int diameter(Node root){\nif(root == null) return 0;\n\nint lHeight = height(root.left);\nint rHeight = height(root.right);\n\nint lDiameter = diameter(root.left);\nint rDiameter = diameter(root.right);\n\nreturn Math.max(1+lHeight+rHeight, Math.max(lDiameter, rDiameter));\n}",
"title": ""
},
{
"docid": "86a7ed42e68b37fe696d783a39895eed",
"score": "0.4673404",
"text": "public void expandNodeForAStar(UCSNode parentNode, PriorityQueue openQueue, Hashtable closedList, Hashtable openTable, GridPane GridMap){\n\n int r = parentNode.getRow();\n int c = parentNode.getColumn();\n int tempR;\n int tempC;\n //working on here\n\n tempR = r-1; //up\n tempC = c;\n if(tempR >= 0) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r-1; //up left\n tempC = c-1;\n if(tempR >= 0 && tempC >= 0) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r; //left\n tempC = c-1;\n if(tempC >= 0) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r+1; //down left\n tempC = c-1;\n if( tempC >= 0 && tempR <= 119) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r+1; //down\n tempC = c;\n if(tempR <= 119) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r-1; //up right\n tempC = c+1;\n if(tempR >= 0 && tempC <= 159) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r; //right\n tempC = c+1;\n if(tempC <= 159) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n\n tempR = r+1; //down right\n tempC = c+1;\n if(tempR <= 119 && tempC <= 159) {\n addNodeToAStarList(parentNode, tempR, tempC, openQueue, closedList, openTable, GridMap);\n }\n }",
"title": ""
},
{
"docid": "d781090afa1add8b13d33134c64a7e2e",
"score": "0.4670754",
"text": "int getPathCount();",
"title": ""
},
{
"docid": "33d41636b65afa8267c9085dae3d1a2d",
"score": "0.4669512",
"text": "private void apparence() {\r\n\r\n\t}",
"title": ""
},
{
"docid": "abc4fcafa90aa37a76434c23f63085c8",
"score": "0.46689457",
"text": "public Rect getTileRectInParent(int anIndex)\n{\n double x = _pattern.fill[anIndex*2]*TILE_SIZE;\n double y = _pattern.fill[anIndex*2+1]*TILE_SIZE;\n return new Rect(getX() + x, getY() + y, TILE_SIZE, TILE_SIZE);\n}",
"title": ""
},
{
"docid": "5f33a0e89825f1f676b223c4e570bd30",
"score": "0.46689194",
"text": "int getParent(int pos){\n\t\treturn (pos-1)/2;\n\t}",
"title": ""
},
{
"docid": "cc1e5218ba90757988c8417bb3147215",
"score": "0.4668034",
"text": "private void Buffer() {\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "8e6abf55f777d2ad3af7de5eb7cf3eab",
"score": "0.46677455",
"text": "private static void drawDownHalf(int size){\n\t\tfor(int i=1; i<=size; i++){\n\t\t\tSystem.out.print(\"|\");\n\t\t\tdrawRepeatChars(i-1,\".\");\n\t\t\tdrawRepeatChars(size+1-i,\"\\\\/\");\n\t\t\tdrawRepeatChars((i-1)*2,\".\");\n\t\t\tdrawRepeatChars(size+1-i,\"\\\\/\");\n\t\t\tdrawRepeatChars(i-1,\".\");\n\t\t\tSystem.out.println(\"|\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "1cd67b71d3216cc8610b5385eb7d0c43",
"score": "0.4666728",
"text": "int height(){\r\n \t\t \r\n \treturn height(root); \r\n \t\t \r\n }",
"title": ""
},
{
"docid": "12348dbf17873116090e8425bd379c44",
"score": "0.46658587",
"text": "double depth();",
"title": ""
},
{
"docid": "3003c3a2c2637873a38e4553a8dd1496",
"score": "0.4662927",
"text": "private double SquareHeight() {return getSize().getHeight()/height;}",
"title": ""
},
{
"docid": "f822cabeb05f61ed18f3ee4690fd0f8b",
"score": "0.46619725",
"text": "int size(proxel *p) {\r\n int sl, sr;\r\n\r\n if (p == NULL)\r\n return(0);\r\n sl = size(p->left);\r\n sr = size(p->right);\r\n return(sl+sr+1);\r\n}",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
},
{
"docid": "fccf39977e3c91155fad978d0d4a51bf",
"score": "0.4659219",
"text": "int getWidth();",
"title": ""
}
] |
81aacfe9c611e7205a40b2602345e262 | Create the application. Initialize the contents of the frame. | [
{
"docid": "50fea0d55c250e0ca91594a090b9b1eb",
"score": "0.0",
"text": "public Login() {\r\n\t\tSystem.out.println(facade + \" Login barrun\");\r\n\t\tsetBounds(100, 100, 450, 300);\r\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tgetContentPane().setLayout(null);\r\n\t\tsetVisible(true);\r\n\r\n\t\tpasswordField = new JPasswordField();\r\n\t\tpasswordField.setToolTipText(\"\");\r\n\t\tpasswordField.setBounds(187, 140, 86, 20);\r\n\t\tgetContentPane().add(passwordField);\r\n\r\n\t\tJLabel lblNewLabel = new JLabel(ResourceBundle.getBundle(\"Etiquetas\").getString(\"Password\"));\r\n\t\tlblNewLabel.setBounds(97, 143, 80, 14);\r\n\t\tgetContentPane().add(lblNewLabel);\r\n\r\n\t\tJLabel lblNewLabel_1 = new JLabel(ResourceBundle.getBundle(\"Etiquetas\").getString(\"Username\"));\r\n\t\tlblNewLabel_1.setBounds(97, 97, 80, 14);\r\n\t\tgetContentPane().add(lblNewLabel_1);\r\n\r\n\t\ttxtUser = new JTextField();\r\n\t\ttxtUser.setText(\"\");\r\n\t\ttxtUser.setBounds(187, 94, 86, 20);\r\n\t\tgetContentPane().add(txtUser);\r\n\t\ttxtUser.setColumns(10);\r\n\r\n\t\tJButton btnConfirm = new JButton(ResourceBundle.getBundle(\"Etiquetas\").getString(\"Confirm\"));\r\n\t\tbtnConfirm.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tboolean LangileEdoAdminDa = false;\r\n\t\t\t\tString user = txtUser.getText();\r\n\t\t\t\t@SuppressWarnings(\"deprecation\")\r\n\t\t\t\tString password = passwordField.getText();\r\n\t\t\t\tint f = facade.userIsLogin(user, password);\r\n\t\t\t\t// BLFacadeImplementation facade = new BLFacadeImplementation();\r\n\t\t\t\tif (f == 0) {\r\n\t\t\t\t\tJLabel label = new JLabel(\"Erregistratua\");\r\n\t\t\t\t\tlabel.setBounds(348, 114, 46, 14);\r\n\t\t\t\t\tgetContentPane().add(label);\r\n\t\t\t\t\tSystem.out.println(\"Erregistratua\");\r\n\r\n\t\t\t\t} else if (f == 1) {\r\n\t\t\t\t\tJLabel label = new JLabel(\"Langilea\");\r\n\t\t\t\t\tlabel.setBounds(348, 114, 46, 14);\r\n\t\t\t\t\tgetContentPane().add(label);\r\n\t\t\t\t\tSystem.out.println(\"Langilea\");\r\n\r\n\t\t\t\t\tLangileEdoAdminDa = true;\r\n\r\n\t\t\t\t} else if (f == 2) {\r\n\t\t\t\t\tJLabel label = new JLabel(\"Admin\");\r\n\t\t\t\t\tlabel.setBounds(348, 114, 46, 14);\r\n\t\t\t\t\tgetContentPane().add(label);\r\n\t\t\t\t\tSystem.out.println(\"Admin\");\r\n\r\n\t\t\t\t\tLangileEdoAdminDa = true;\r\n\r\n\t\t\t\t} else if (f == -1) {\r\n\t\t\t\t\t\r\n\t\t\t\t\ttestua = \"Wrong user or password\";\r\n\t\t\t\t\tetiketa.setText(testua);\r\n\t\t\t\t\tJLabel label = new JLabel(\"Errorea\");\r\n\t\t\t\t\tlabel.setBounds(348, 114, 46, 14);\r\n\t\t\t\t\tgetContentPane().add(label);\r\n\t\t\t\t\tSystem.out.println(\"Errorea\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (f == 1 || f == 2) {\r\n\t\t\t\t\tMainGUILangile.setBussinessLogic(facade);\r\n\t\t\t\t\tMainGUILangile M1 = new MainGUILangile();\r\n\t\t\t\t\tthisFrame.setVisible(false);\r\n\t\t\t\t\tM1.setVisible(true);\r\n\t\t\t\t\t\r\n\t\t\t\t} else if (f == 0) {\r\n\t\t\t\t\tMainGUILog.setBussinessLogic(facade);\r\n\t\t\t\t\tMainGUILog L1 = new MainGUILog();\r\n\t\t\t\t\t\r\n\t\t\t\t\tL1.setAccount(facade.getUserIsLogin(user, password));\r\n\t\t\t\t\tL1.setDirua();\r\n\t\t\t\t\tL1.setVisible(true);\r\n\r\n\t\t\t\t\tthisFrame.setVisible(false);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnConfirm.setBounds(187, 207, 86, 23);\r\n\t\tgetContentPane().add(btnConfirm);\r\n\r\n\t\tJLabel lblLogin = new JLabel(ResourceBundle.getBundle(\"Etiquetas\").getString(\"Login\"));\r\n\t\tlblLogin.setFont(new Font(\"Source Serif Pro Semibold\", Font.PLAIN, 28));\r\n\t\tlblLogin.setBounds(184, 10, 183, 73);\r\n\t\tgetContentPane().add(lblLogin);\r\n\t\t\r\n\t\tetiketa = new JLabel(testua);\r\n\t\tetiketa.setForeground(Color.red);\r\n\t\tetiketa.setBounds(109, 182, 219, 14);\r\n\t\tgetContentPane().add(etiketa);\r\n\r\n\t}",
"title": ""
}
] | [
{
"docid": "d451fd0e000380c0e6a80f4b8bbf8460",
"score": "0.7390831",
"text": "private void createFrame() {\n\t\t\n\t\t// set the dimensions of the main frame relative to a set ratio of\n\t\t// the screen's size\n\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tDEFAULT_FRAME_WIDTH = (int)(screenSize.width * FRAME_RATIO);\n\t\tDEFAULT_FRAME_HEIGHT = (int)(screenSize.height * FRAME_RATIO);\n\t\t\n\t\t// initialize the main frame\n myFrame = new JFrame();\n \n // load templates and images from disk\n Template.loadTemplates();\n IShape.loadImages();\n \n // create the menu bar and add it to the main frame\n createMenuBar();\n myFrame.setJMenuBar(myMenuBar);\n \n // create the main panel and add it to the main frame\n createMainPanel();\n\t\tmyFrame.add(myMainPanel);\n \n\t\t// handle the main frame's actions\n\t\tmyFrame.setSize(DEFAULT_FRAME_WIDTH, DEFAULT_FRAME_HEIGHT);\t\t// set the size of the frame\n\t\tmyFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\t\t\t// enable closing\n\t\tmyFrame.setVisible(true);\t\t\t\t\t\t\t\t\t\t// enable visibility\n\t\tmyFrame.setLocationRelativeTo(null);\t\t\t\t\t\t\t// enable centering of screen\n\t\tmyFrame.setResizable(true);\t\t\t\t\t\t\t\t\t\t// enable resizing\n\t\tmyFrame.setTitle(APPLICATION_TITLE);\t\t\t\t\t\t\t// set application title\n myFrame.addWindowListener(new WindowAdapter() {\t\t\t\t\t// handle post-closing actions\n public void windowClosing(WindowEvent event) {\n exitProcedure();\n }\n });\n }",
"title": ""
},
{
"docid": "6c307ecfe351a8f2432f9edfbab64038",
"score": "0.72167176",
"text": "private void initialize() {\n this.setSize(500, 200);\n this.setContentPane(getJContentPane());\n this.setTitle(\"Create Application\");\n }",
"title": ""
},
{
"docid": "5195518794464c341cb4ff695286b391",
"score": "0.69402045",
"text": "private void createFrame() {\r\n\t\tframe = new JFrame(\"Pokedex - \" + pokemon.getName());\r\n\t\tmakeMenuBar(frame);\r\n\t\tframe.setResizable(false);\r\n\r\n\t\tinitialize();\r\n\r\n\t\tGraphicsEnvironment ge = GraphicsEnvironment\r\n\t\t\t\t.getLocalGraphicsEnvironment();\r\n\t\tGraphicsDevice defaultScreen = ge.getDefaultScreenDevice();\r\n\t\tRectangle rect = defaultScreen.getDefaultConfiguration().getBounds();\r\n\t\tint x = (int) rect.getMaxX() / 3;\r\n\t\tint y = (int) rect.getMaxY() / 3;\r\n\t\tframe.setLocation(x, y);\r\n\r\n\t\tframe.pack();\t\t\t\t\t\t\t\t\t// Needed to sort the content.\r\n\t\tframe.setVisible(true);\t\t\t\t\t\t\t// Shows the UI. \r\n\t}",
"title": ""
},
{
"docid": "70ddf3b05fd481c772a0b44c8002a2ab",
"score": "0.6937247",
"text": "private void createFrame() {\n JFrame frame = new JFrame(\"Robot\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n JPanel mainPanel = createMainPanel(frame);\n\n frame.getContentPane().add(BorderLayout.CENTER, mainPanel);\n\n frame.pack();\n frame.setVisible(true);\n frame.setResizable(false);\n frame.setLocation(375, 20);\n }",
"title": ""
},
{
"docid": "c458888b3ca47b9bc7cd9f4c37666c30",
"score": "0.6922382",
"text": "public\n MainFrame()\n {\n setContentPane(new ViewsPanel());\n setIconImage(WINDOWS_LOGO.getIcon().getImage());\n setTitle(APPLICATION_NAME);\n\n buildMenus();\n// buildMacMenus();\n\n // Add listeners.\n addWindowListener(new WindowHandler());\n }",
"title": ""
},
{
"docid": "e04864d4a5051dd4c3e98226e08de349",
"score": "0.6896045",
"text": "private static void createAndShowGUI() {\n\n\t\tframe.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n\t\tframe.createContentPane();// add content pane to frame\n\t\tframe.setSize(760, 600);\n\t\tframe.setLocation(250, 200);\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "c9f533776ab887dfea9ed0341f163b67",
"score": "0.6876725",
"text": "private static void createAndShowGUI() {\n\t\t// Crea el frame principal\n\t\tframe = new JFrame(resourceManager.getString(\"appName\"));\n\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Añadimos el contenido\n\t\ttfgFrame = new TFGFrame(process, resourceManager);\n\t\tframe.add(tfgFrame, BorderLayout.CENTER);\n\t\tframe.setGlassPane(process.getGlassPanel());\n\n\t\t// Mostramos la ventana\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "887c80284304c930909da1568f7ef8c6",
"score": "0.68699676",
"text": "public FrameDemo() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"title": ""
},
{
"docid": "a88a137ae9a4d05b439fafc1ff1d81e4",
"score": "0.6833804",
"text": "private static void createAndShowGUI() {\n //Create and set up the window.\n frame = new JFrame(\"Real Estate\");\n frame.setSize(APP_CONSTANTS.WINDOW_WIDTH, APP_CONSTANTS.WINDOW_HEIGHT);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n Main realEstate = new Main();\n realEstate.addComponentsToPane(frame.getContentPane());\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "4b61957177252363c0746f99d699cc94",
"score": "0.6807916",
"text": "private void setupFrame() {\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n this.setResizable(false);\n this.setLayout(new BorderLayout());\n setVisible(true);\n }",
"title": ""
},
{
"docid": "3c94f6115ae60fa45932a7caa16b87b0",
"score": "0.6801993",
"text": "private void setupFrame()\n\t{\n\t\tthis.setContentPane(basePanel);\n\t\tthis.setSize(640, 480);\n\t\tthis.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "690519724065fc5323b1a10d24ad3949",
"score": "0.67944074",
"text": "public void initFrame() {\n\t\tframe = new JFrame();\n\t\tframe.setTitle(\"Saper by Roman Grupskyi\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(new BorderLayout());\n\t\tcentre(frame);\n\t\tsetmenu();\n\n\t}",
"title": ""
},
{
"docid": "02bb2d2808e7e5e39394d4b3f2073ecf",
"score": "0.6793951",
"text": "private static void createAndShowGUI() {\n\t\tframe = new JFrame(title + \" - \" + author + \" - \" + initalOpen);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\n\t\tJComponent newContentPane = new Binarize();\n\t\tnewContentPane.setOpaque(true); //content panes must be opaque\n\t\tframe.setContentPane(newContentPane);\n\n\t\t//\t\tframe.pack();\n\t\tToolkit toolkit = Toolkit.getDefaultToolkit();\n\t\tDimension screenSize = toolkit.getScreenSize();\n\t\tframe.setSize(800,600);\n\t\tframe.setLocation((screenSize.width - frame.getWidth()) / 2, (screenSize.height - frame.getHeight()) / 2);\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "3882609a08317555051565ef259a0d08",
"score": "0.6772624",
"text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setBounds(100, 100, 450, 300);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\tPanel panel = new Panel();\r\n\t\tframe.getContentPane().add(panel, BorderLayout.CENTER);\r\n\r\n\t\tframe.addWindowListener(new WindowAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void windowActivated(WindowEvent e) {\r\n\t\t\t\tEasyBarcode.getInstance().buildFromXML(\r\n\t\t\t\t\t\t\"E:\\\\Projects\\\\OpenSource\\\\easyjutils\\\\easycommonsio\\\\resources\\\\barcode\\\\Codabar.xml\",\r\n\t\t\t\t\t\t\"12312312312414\", EasyBarcode.OutputType.AWT, \"F:\\\\barcode.svg\",\r\n\t\t\t\t\t\t(Graphics2D) panel.getGraphics());\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"title": ""
},
{
"docid": "490bfb50116edcef20cb9237d726ba53",
"score": "0.6761201",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 900, 600);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\n\t\t// Título\n\t\tframe.getContentPane().add(ComponentBuilder.buildLabel(\"BILHETERIA\", \"Franklin Gothic Medium\", Font.BOLD, 30, SwingConstants.CENTER, null, null, null, 266, 53, 350, 58,Color.DARK_GRAY));\n\n\t\t// Botão Entrar\n\t\tframe.getContentPane().add(ComponentBuilder.buildButton(\"ENTRAR\", \"Franklin Gothic Medium\", Font.PLAIN, 13, 266,440, 350, 58, new Color(0, 250, 154),null, \n\t\t\t\t() -> {\n\t\t\t\t\tnew Login().toggleFrame();\n\t\t\t\t\ttoggleFrame();\n\t\t\t\t}));\n\t}",
"title": ""
},
{
"docid": "0efa8dc1db52108b6f637eb9b7fe58f0",
"score": "0.6752356",
"text": "private static void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setLocation(START_POS_X, START_POS_Y);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setVisible(true);\n\t\tframe.setResizable(false);\n\t\t\n\t\ttry {\n\t\t\tKjDataManager.loadKanjiFromFile();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tcreateCardLayout();\n\t\tframe.pack();\n\t}",
"title": ""
},
{
"docid": "6c10aa375a0bf0b39cada2afb73936e2",
"score": "0.67396843",
"text": "public MainFrame() {\n this.mc = new MainController(this);\n initComponents();\n setIcon();\n setupController();\n setResizable(false);\n setTitle(\"Ejercicios de Programacion\");\n }",
"title": ""
},
{
"docid": "388e59e3afc58a0b7125af31936c614a",
"score": "0.6738816",
"text": "protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(450, 300);\n\n\t}",
"title": ""
},
{
"docid": "4b9d553e0669b0922f97167221881b3a",
"score": "0.67254287",
"text": "public NewMain() {\n NewJFrame jf = new NewJFrame();\n // Validate frames that have preset sizes\n // Pack frames that have useful preferred size info, e.g. from their layout\n if (packFrame) {\n jf.pack();\n } else {\n jf.validate();\n }\n\n // Center the window\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n Dimension frameSize = jf.getSize();\n if (frameSize.height > screenSize.height) {\n frameSize.height = screenSize.height;\n }\n if (frameSize.width > screenSize.width) {\n frameSize.width = screenSize.width;\n }\n jf.setLocation((screenSize.width - frameSize.width) / 2,\n (screenSize.height - frameSize.height) / 2);\n jf.setVisible(true);\n try {\n jbInit();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }",
"title": ""
},
{
"docid": "b33c08acba167275c90003e74718349c",
"score": "0.67125624",
"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}",
"title": ""
},
{
"docid": "a498ac8f67822ab17de52104ace3d79a",
"score": "0.6698723",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 800, 610);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}",
"title": ""
},
{
"docid": "d36c912b8472e6404ccaaa89e0b8ba79",
"score": "0.66936225",
"text": "public void Init()\r\n\t{\r\n\t\tframe = new JFrame(\"Reservations\");\r\n\t\tframe.setMinimumSize(getMinimumSize());\r\n\t\tframe.setSize(getPreferredSize());\r\n\t\tcontentPane = frame.getContentPane();\r\n\t\t//contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.PAGE_AXIS));\r\n\t\t\r\n\t\tmakeContent();\r\n\t\t\r\n\t\tmakeStatusBar();\r\n\t\t//frame.pack();\t//Resizes the window to fit the components, not currently in use\r\n\t}",
"title": ""
},
{
"docid": "7d661dcddf5439408e80ebcb238598ae",
"score": "0.6693301",
"text": "public BlobsalladApplicationDemo() {\n\t\tinitComponents();\n\t}",
"title": ""
},
{
"docid": "ca6c0bebedf35f9e30ee666da36b3aeb",
"score": "0.6686285",
"text": "private void initialize() {\n\t\ttry {\n\t\t\t// user code begin {1}\n\t\t\t// user code end\n\t\t\tsetName(\"MyApp\");\n\t\t\tsetLayout(new java.awt.BorderLayout());\n\t\t\tsetSize(426, 240);\n\t\t\tsetTitle(\"Aspirateur WEB\");\n\t\t\tadd(getContentsPane(), \"Center\");\n\t\t\tinitConnections();\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\thandleException(ivjExc);\n\t\t}\n\t\t// user code begin {2}\n\t\t// user code end\n\t}",
"title": ""
},
{
"docid": "0190406f47b5ce53ff8cf860709ccba7",
"score": "0.6663698",
"text": "public void initFrame(){\n\n\t\tbuiltFrame();\n\t\taddComponets();\n\t\tactionsButtons();\n\t}",
"title": ""
},
{
"docid": "3b2d0749c1e4d9e041a7b99565212a07",
"score": "0.6656934",
"text": "public static void showApplication() {\n JFrame frame = new JFrame(\"App\");\n frame.setContentPane(new App().getPanel1());\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.pack();\n frame.setVisible(true);\n\n }",
"title": ""
},
{
"docid": "131631560503cd72a9887d9f7379fe08",
"score": "0.66566974",
"text": "public AppFrame(Properties config) {\n super(config.getProperty(\"app_title\", \"Print tool\"));\n this.config = config;\n\n initComponents();\n layOutComponents();\n setUpMenuBar();\n }",
"title": ""
},
{
"docid": "0cd14034b07f88a6024487daea2544ab",
"score": "0.6650452",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setResizable(false);\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}",
"title": ""
},
{
"docid": "018f3a9715ee06a904ab291a89640417",
"score": "0.66286176",
"text": "private void constructMainFrame() {\n\t\t\n\t\tJPanel mainFramePanel = new JPanel();\n\t\tJPanel boardPanel = new JPanel();\n\t\tJPanel selectionPanel = new JPanel();\n\n\t\tconstructMainFramePanel(mainFramePanel, boardPanel, selectionPanel);\n\t\t\n\t\tmainFrame = new JFrame(GAME_TITLE);\n\t\tmainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tmainFrame.setPreferredSize(mainFrameDim);\n\t\tmainFrame.setContentPane(mainFramePanel);\n\t}",
"title": ""
},
{
"docid": "20d0513b75506ca9bcf342fcf29cd76b",
"score": "0.66240466",
"text": "private void createAndShowGUI()\n\t{\n frame = GUIFactory.makeFrame(\"Register User\", 325, 250);\n frame.setContentPane(this.createContentPane());\n\n }",
"title": ""
},
{
"docid": "bae502490c93d1eae6a140fee1987bb5",
"score": "0.6618625",
"text": "private void createAndShowGUI() {\r\n\t\t// Create and set up the window.\r\n\t\tJFrame frame = new JFrame(\"Macrosoft Media Works\");\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\t// Set up the content pane.\r\n\t\taddComponentsToPane(frame.getContentPane());\r\n\r\n\t\t// Size and display the window.\r\n\t\tInsets insets = frame.getInsets();\r\n\t\tframe.setSize(800 + insets.left + insets.right, 600 + insets.top\r\n\t\t\t\t+ insets.bottom);\r\n\t\tframe.setVisible(true);\r\n\t}",
"title": ""
},
{
"docid": "b2fb222cedb9bc24fd0b64753b255154",
"score": "0.66146475",
"text": "private static void createAndShowGUI() {\n\t\t// Create and set up the window.\n\t\t\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"Annotation Entry Form\");\n\t\tframe.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "a5c4cc5bda9414227be665f787f2dfae",
"score": "0.66135794",
"text": "public BootFrame() {\r\n initComponents();\r\n centerize();\r\n retrieveData();\r\n }",
"title": ""
},
{
"docid": "9381400b9fb018a527efbf0699870e11",
"score": "0.66022635",
"text": "private static void createAndShowGUI() {\n //Create and set up the window.\n JFrame frame = new JFrame(\"SIN - CROSSROADS\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n \n //Set up the content pane.\n addComponentsToPane(frame.getContentPane());\n \n //No variable size window\n frame.setResizable(false);\n frame.setSize(1400, 860);\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "cdc0fba8fd7734ed4e7bae247685610e",
"score": "0.6599416",
"text": "public void setupFrame()\n\t{\n\t\tthis.setContentPane(basePanel);\n\t\tthis.setSize(400, 300);\n\t\tthis.setTitle(\"Rock, Paper, Scissors\");\n\t\tthis.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "7ca2c8ab3597c55efd053e439f32e989",
"score": "0.6575101",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setTitle(\"Voms proxy tool\");\n\t\tframe.setLocation(100, 100);\n\t\tframe.addWindowListener(new WindowAdapter() {\n\t\t\t@Override\n\t\t\tpublic void windowClosing(final WindowEvent e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\t\tframe.setBounds(100, 100, 474, 447);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().add(getPanel(), BorderLayout.CENTER);\n\t}",
"title": ""
},
{
"docid": "a3c01ca1687b312669ca4b9270c84285",
"score": "0.6573179",
"text": "public MainFrame() {\n initComponents();\n initTree();\n initIntroduction();\n controller.addObserver(this);\n }",
"title": ""
},
{
"docid": "4cf4f54d02f0b455d77fd4daa94317b2",
"score": "0.6569792",
"text": "public MainFrame()\n {\n BeanInjector.getInjector().inject(this);\n ResourceBundleInjector.getInjector().inject(this);\n setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);\n this.dialogFactory.setDialogOwner(this);\n decorateFrame();\n setInitialSize();\n createMenuBar();\n createFile();\n getContentPane().add(this.getMainPanel());\n this.addComponentListener(new ComponentAdapter(){\n \tpublic void componentResized(ComponentEvent e) {\n botoomJSplitPane.setDividerLocation(0.7);\n }\n });\n fresh();\n }",
"title": ""
},
{
"docid": "fe1027f86d792f9ebfbdd68f69d399a4",
"score": "0.6566124",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\n\t\tImagePanel bgPanel = new ImagePanel(new ImageIcon(\"./image/bg_payFrame.jpg\").getImage());\n\t\tframe.setSize(bgPanel.getWidth(), bgPanel.getHeight());\n\t\tframe.getContentPane().add(bgPanel);\n\t\tbgPanel.setLayout(null);\n\n\t\tthis.drawText(bgPanel, new int[] { 369, 205, 261, 31 }); // cardNumber\n\t\tthis.drawText1(bgPanel, new int[] { 75, 311, 151, 31 }); // expirationDate\n\t\tthis.drawFormattedText(bgPanel, new int[] { 369, 311, 151, 31 }); // cvv\n\t\tthis.drawPayButton(bgPanel);\n\t\tthis.drawComboBox(bgPanel);\n\n\t\tframe.setLocationRelativeTo(null);\n\t\tframe.setResizable(false);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t}",
"title": ""
},
{
"docid": "28db4e207a3d37afd626fef0757bf059",
"score": "0.6556455",
"text": "private void initialize() {\n\t\tthis.setBounds(20, 20, 200, 500);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t\taddLabel();\n\t}",
"title": ""
},
{
"docid": "4edb673c06e8c22e720257e719fe7bb6",
"score": "0.65549004",
"text": "public void createFrame(){\n\n playFrame = new JFrame();\n\n playFrame.setTitle(\"Play Quizworld\");\n playFrame.setSize(SCREEN_WIDTH, SCREEN_HEIGHT);\n playFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n playFrame.setLayout(new BorderLayout());\n\n playFrame.add(centerPanel, BorderLayout.CENTER);\n playFrame.add(topPanel, BorderLayout.NORTH);\n playFrame.add(bottomPanel, BorderLayout.SOUTH);\n playFrame.setLocationRelativeTo(null);\n playFrame.setResizable(false);\n playFrame.setVisible(true);\n }",
"title": ""
},
{
"docid": "ffc1009e25a9b6f5c94d63a3d5b720fd",
"score": "0.6550186",
"text": "private void initialize() {\n\t\tframe = new JFrame(\"Doctor Page\");\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().setBackground(Color.blue);\n\n\t\tJLabel label = new JLabel(\"Doctor Page\");\n\t\tlabel.setForeground(Color.blue);\n\t\tlabel.setBounds(50,25,150,75);\n\t\tlabel.setFont(new Font(\"Sans-Serif\", Font.BOLD, 15));\n\t\tframe.getContentPane().add(label);\n\t\t\n\t\tJButton btnViewAppointments = new JButton(\"View Appointments\");\n\t\tbtnViewAppointments.setBounds(200, 111, 169, 23);\n\t\tbtnViewAppointments.setBackground(Color.red);\n\t\tbtnViewAppointments.setBackground(Color.white);\n\t\tframe.getContentPane().add(btnViewAppointments);\n\t\tbtnViewAppointments.addActionListener(new DoctorViewAppPageListener(frame));\n\n\n\t\tJButton backbutton = new JButton();\n\t\tbackbutton.setBounds(0,0,73,73);\n\t\ttry {\n\t\t\tImage img = ImageIO.read(getClass().getResource(\"backmainb.png\"));\n\t\t\tbackbutton.setIcon(new ImageIcon(img));\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\tbackbutton.addActionListener(new backToMainListener(frame));\n\t\tframe.getContentPane().add(backbutton);\n\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "712f4ee8029cec5ded0806762ff5c475",
"score": "0.65460926",
"text": "private void initializeWindow() {\n this.mainFrame = new JFrame(\"Tower of Hanoi\");\n this.mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n this.mainFrame.getContentPane().setLayout(new BoxLayout(this.mainFrame.getContentPane(), BoxLayout.Y_AXIS));\n this.mainFrame.setSize(600, 450);\n this.mainFrame.setResizable(false);\n this.mainFrame.setVisible(true);\n }",
"title": ""
},
{
"docid": "70128b78a18638a1c3f348fe73be8079",
"score": "0.6536599",
"text": "public MainFrame() {\n initComponents();\n \n }",
"title": ""
},
{
"docid": "81c50a9a78c2cab57e924d30dc37b8e7",
"score": "0.65354836",
"text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"Painel Principal\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n MenuGabriel demo = new MenuGabriel();\n frame.setJMenuBar(demo.createMenuBar());\n frame.setContentPane(demo.createContentPane());\n\n //Display the window.\n frame.setSize(450, 260);\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "849adf66f92f3c885b9b6432e2a9cb63",
"score": "0.65327555",
"text": "private void initialize() {\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n this.setJMenuBar(getJJMenuBar());\n this.setSize(300, 200);\n this.setContentPane(getJContentPane());\n this.setTitle(\"Application\");\n intFileChooser();\n }",
"title": ""
},
{
"docid": "21060986d7fe5fe8236d1f1e588007b6",
"score": "0.6521496",
"text": "private void createMainFrameAndListeners() {\n\t\tthis.mf = new MainFrame(\"Schedule Builder\");\n\t\tDimension dim = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tmf.setLocation(dim.width / 2 - mf.getSize().width / 2, dim.height / 2 - mf.getSize().height / 2);\n\t\tmf.setSize(1000, 563);\n\t\tmf.setVisible(true);\n\t\tcreateViewCourseCatalogueListener();\n\t\tcreateSearchCatalogueListener();\n\t\tcreateViewStudentCoursesListener();\n\t\tcreateAddCourseListener();\n\t\tcreateRemoveCourseListener();\n\t\tcreateMainFrameExitListener();\n\n\t}",
"title": ""
},
{
"docid": "3cc798583b392575b1a9d3c3bf6bf459",
"score": "0.6500267",
"text": "private void initialize() {\n\t\t// this.setSize(271, 295);\n\t\tsetDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n\t\tthis.setSize(495, 429);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(ResourceBundle.getBundle(\"Etiquetas\").getString(\"MainTitle\"));\n\t}",
"title": ""
},
{
"docid": "e0fc076569d3660767115a9e5c73c271",
"score": "0.64961976",
"text": "public MainFrame() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"title": ""
},
{
"docid": "c11421e22a0ae6ab309164d3290a2fda",
"score": "0.64814365",
"text": "private void initialize() {\n\t\t\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.setLocationRelativeTo(null);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"New label\");\n\t\tlblNewLabel.setBounds(28, 80, 46, 14);\n\t\tframe.getContentPane().add(lblNewLabel);\n\t\t\n\t\ttextField = new JTextField();\n\t\ttextField.setBounds(203, 77, 86, 20);\n\t\tframe.getContentPane().add(textField);\n\t\ttextField.setColumns(10);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"New button\");\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\tString name = textField.getText();\n\t\t\t\t\n\t\t\t\tSaveFileText();\n\t\t\t\tframe.dispose();\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Your appoint has been saved as : \"+name);\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbtnNewButton.setBounds(74, 168, 89, 23);\n\t\tframe.getContentPane().add(btnNewButton);\n\t\t\n\t\tbtnNewButton_1 = new JButton(\"save\");\n\t\tbtnNewButton_1.setBounds(211, 168, 89, 23);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\t\t\n\t\tbtnBack = new JButton(\"back\");\n\t\tbtnBack.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tFrontEnd front = new FrontEnd();\n\t\t\t\tfront.frame.setVisible(true);\n\t\t\t\tframe.dispose();\n\t\t\t}\n\t\t});\n\t\tbtnBack.setBounds(74, 216, 89, 23);\n\t\tframe.getContentPane().add(btnBack);\n\t}",
"title": ""
},
{
"docid": "51652db43e335d29bed500b44a8561a4",
"score": "0.6478115",
"text": "public void init() {\n /** Instantiate GUI elements */\n contentPane = new MainContainer();\n\n /** Add GUI elements */\n setContentPane(contentPane);\n\n setVisible(true);\n\n }",
"title": ""
},
{
"docid": "f962a79f2b95cd872f1a058c813efca6",
"score": "0.6465743",
"text": "public RunCalendarApp() {\n calendarApp = new CalendarApp();\n mainMenu();\n img = new ImageIcon(\"./data/icon/icon.png\");\n newFrame(mainMenu, BorderLayout.SOUTH, MAIN_MENU_WIDTH, MAIN_MENU_LENGTH);\n playSound(\"appOpen\");\n }",
"title": ""
},
{
"docid": "1587ff546f7ffd03d735b664bc209968",
"score": "0.64644504",
"text": "private static void createAndShowGUI() {\n frame = new JFrame(\"DSO v. \"+VERSION);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane.\n Main p = new Main();\n p.addComponentToPane(frame.getContentPane());\n\n frame.addWindowListener(new java.awt.event.WindowAdapter() {\n @Override\n public void windowClosing(java.awt.event.WindowEvent windowEvent) {\n p.port.close();\n }\n });\n \n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "0e9871561012ad05eb8f9ac848511bfe",
"score": "0.6463729",
"text": "@Override\n public void run(){\n\n frame = new JFrame();\n frame.setPreferredSize(new Dimension(400, 300));\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\n createComponents(frame.getContentPane());\n\n frame.pack();\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "d77d53ea8b3415825f42f9d614b2bf86",
"score": "0.6459465",
"text": "private void buildFrame()\r\n\t{\r\n\t\t//Set frame dimensions\r\n\t\tsetSize(420,250);\r\n\t\t//Set frame title\r\n\t\tsetTitle(\"Credit Card Validator\");\r\n\t\t//Exit when the frame is closed\r\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t//Add a BorderLayout\r\n\t\tsetLayout(new BorderLayout());\r\n\t\t//Prevent the frame from being resized\r\n\t\tsetResizable(false);\r\n\r\n\t\t//Call methods to build and add the panels to the frame\r\n\t\tbuildTopPanel();\r\n\t\tbuildCenterPanel();\r\n\t\tbuildBottomPanel();\r\n\r\n\t\t//Display the frame\r\n\t\tsetVisible(true);\r\n\t}",
"title": ""
},
{
"docid": "510758ec0f2cf0af416019481bc058e9",
"score": "0.6443975",
"text": "private static void createFrame(){\r\n\t\tframe = new JFrame();\r\n\t\t\r\n\t\tframe.setSize(FRAME_WIDTH, FRAME_HEIGHT);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.setTitle(\"Olympic Rings\");\r\n\t\tframe.setVisible(true);\r\n\r\n\t\tJComponent component = new RingComponent();\r\n\t\tframe.add(component);\r\n\t}",
"title": ""
},
{
"docid": "24aa8671dbeb0c7a20d48d47f5a342cc",
"score": "0.644283",
"text": "public StartFrameView() {\n\t\tinitFrame();\n\t\tinitAndAddComponentsToControlePanel();\n\t\taddCellButtonsToBoardPanel(Constants.BOARD_WIDTH_EASY, Constants.BOARD_HEIGHT_EASY,\n\t\t\t\tConstants.COUNT_OF_BOMBS_EASY);\n\t}",
"title": ""
},
{
"docid": "21e78408741a60bf1f7b9abd1ecad15f",
"score": "0.6442521",
"text": "private void SetUpMainFrame() {\n mainframe.setSize(500, 800);\n mainframe.setVisible(false);\n mainframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n mainframe.getContentPane().add(mainPageUIControl.getMainPanel()).setBackground(new Color(156, 234, 228));\n }",
"title": ""
},
{
"docid": "040aebfae704263bd76fc262dede041b",
"score": "0.6435257",
"text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setBounds(100, 100, 450, 300);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\r\n\t\tJMenuBar menuBar = new JMenuBar();\r\n\t\tframe.setJMenuBar(menuBar);\r\n\t\t\r\n\t\tJMenu mnHola = new JMenu(\"File\");\r\n\t\tmenuBar.add(mnHola);\r\n\t\t\r\n\t\tJMenuItem mntmNewGame = new JMenuItem(\"New Game\");\r\n\t\tmnHola.add(mntmNewGame);\r\n\t\t\r\n\t\tJPanel panel = new JPanel();\r\n\t\tframe.getContentPane().add(panel, BorderLayout.CENTER);\r\n\t\tpanel.setLayout(null);\r\n\t}",
"title": ""
},
{
"docid": "fa0e292fd8cc3d67511cb8af44f4a3b5",
"score": "0.6435163",
"text": "private static void createAndShowGUI() {\r\n //Create and set up the window.\r\n \tHidato frame = new Hidato(\"Hidato Puzzle\");\r\n \tframe.setSize(500,480);\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": "391cc9269b4fdc15e6b3cd60dbcbaf98",
"score": "0.63989055",
"text": "public MainFrame() {\n initComponents();\n loadBackgroundImage();\n loadBoxImage();\n }",
"title": ""
},
{
"docid": "f887d79fc1e76a934d0aaaf9047c5fc1",
"score": "0.63929856",
"text": "public static void createAndShowGUI() {\n\t\t// create and set up the window\n\t\tGUI appGUI = new GUI();\n\t\tappGUI.setTitle(\"ANN 4-bit Parity Check\");\n\t\tappGUI.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\t\tappGUI.setResizable(false);\n\t\t\n\t\t// display the window\n\t\tappGUI.pack();\n\t\tappGUI.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "1a065e1d1849cdf625b4418132f23cac",
"score": "0.63915616",
"text": "private static void createAndShowGUI() {\n \n\t\t\n\t\t//Create and set up the window.\n JFrame frame = new JFrame(\"BoxLayoutDemo\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Set up the content pane.\n addComponentsToPane(frame.getContentPane());\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "86c8e68ca2384b34afee795bed14df3f",
"score": "0.63901144",
"text": "private void initialize() {\n\t\tthis.setSize(650, 369);\n\t\tthis.setJMenuBar(getJMenuBar());\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame \");\n\t}",
"title": ""
},
{
"docid": "09750ea8ae8234035bf60275d8e427d3",
"score": "0.63869727",
"text": "public static void buildAndShowGUI() {\n\t\tJFrame jFrame = new JFrame();\n\t\tjFrame.setTitle(\"Shrugs\");\n\t\tjFrame.setResizable(false);\n\t\tjFrame.setSize(WINDOW_WIDTH, WINDOW_HEIGHT);\n\t\tjFrame.setBackground(Color.WHITE);\n\n\t\t// Define how the JFrame should exit\n\t\tjFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Get the JFrame's content pane\n\t\tContainer cPane = jFrame.getContentPane();\n\t\t// Set the content pane's layout\n\t\tcPane.setLayout(new BorderLayout());\n\t\t\n\t\t// Add the components to the content pane\n\t\tcPane.add(new DrawableView(WINDOW_WIDTH, WINDOW_HEIGHT), BorderLayout.CENTER);\n\t\tcPane.add(new OptionsToolBar(jFrame), BorderLayout.NORTH);\n\n\t\t// Add the menu bar to the JFrame\n\t\tjFrame.setJMenuBar(new MainMenuBar());\n\t\tjFrame.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "f0285ece8466a0ec2ea649c28394569c",
"score": "0.63869166",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setAlwaysOnTop(true);\n\t\tframe.setResizable(false);\n\t\tframe.setType(Type.UTILITY);\n\t\tframe.setBounds(100, 100, 280, 200);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setUndecorated(true);\n\t}",
"title": ""
},
{
"docid": "ad9dc66099c7767e5627bd38f6a18dfb",
"score": "0.63770366",
"text": "private void createWindow() {\n frame = new JFrame(\"Manager - View High Balance Accounts\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setSize(800, 600);\n frame.setLayout(null);\n }",
"title": ""
},
{
"docid": "3009cd9ccf1d1e6e671bbe7ab5aaff49",
"score": "0.6376132",
"text": "private void windowSetup() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(cetrePoint.x - width / 2, cetrePoint.y - height / 2, width, height);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetBounds(0, 0, width, height);\n\t\tframe.add(this);\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}",
"title": ""
},
{
"docid": "8da5952f6332fae8333717475a43d16e",
"score": "0.6374702",
"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\t\n\t\tJButton btnview = new JButton(\"View Current Bookings\");\n\t\tbtnview.setFont(new Font(\"Tahoma\", Font.BOLD, 16));\n\t\tbtnview.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tframe.dispose();\n\t\t\t\tCurrentBookings details=new CurrentBookings();\n\t\t\t\tdetails.frame.setVisible(true);\n\t\t\t}\n\t\t});\n\t\tbtnview.setBounds(56, 24, 252, 59);\n\t\tframe.getContentPane().add(btnview);\n\t\t\n\t\tJButton btnNewButton_1 = new JButton(\"New Booking\");\n\t\tbtnNewButton_1.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tframe.dispose();\n\t\t\t\t\tHotel details=new Hotel();\n\t\t\t\t\tdetails.frame.setVisible(true);\n\t\t\t\t}catch(Exception e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnNewButton_1.setFont(new Font(\"Tahoma\", Font.BOLD, 16));\n\t\tbtnNewButton_1.setBounds(56, 131, 174, 59);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"Logout\");\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tframe.dispose();\n\t\t\t\t\tWELCOME register= new WELCOME();\n\t\t\t\t\tregister.frame.setVisible(true);\n\t\t\t\t}catch(Exception e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnNewButton.setBounds(335, 11, 89, 23);\n\t\tframe.getContentPane().add(btnNewButton);\n\t}",
"title": ""
},
{
"docid": "c87712ea9c1d5e4c93dc192db105d273",
"score": "0.63701326",
"text": "public MainFrame() {\n initComponents();\n this.init();\n\n }",
"title": ""
},
{
"docid": "39b91d554574aaecaa39e3c65c402194",
"score": "0.6369487",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setResizable(false);\n\t\tframe.setBounds(100, 100, 671, 455);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tVisualizarNotas visualizar = new VisualizarNotas();\n\t\t\n\t\tJTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);\n\t\ttabbedPane.setBounds(6, 6, 659, 421);\n\t\ttabbedPane.add(new CadastrarNotas(visualizar, 0), \"Cadastrar Notas\");\n\t\ttabbedPane.add(visualizar, \"Ver todos\");\n\t\tframe.getContentPane().add(tabbedPane);\n\t\t\n\n\t}",
"title": ""
},
{
"docid": "bad589c13dbe2c18d591f0d17e5ac41a",
"score": "0.6366032",
"text": "private void initialize() {\r\n\t\tthis.setSize(300, 200);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Exibir Vagas\");\r\n\t}",
"title": ""
},
{
"docid": "34167b24138c332b7b463a0398aba08d",
"score": "0.63622963",
"text": "public MyApp() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"title": ""
},
{
"docid": "e2a8bc0c177fc6fcbba95a1e9703588a",
"score": "0.6359427",
"text": "private void createComponents()\n\t{\n\t\t/* ********************* frame setup started *************************** */\n\t\t\n\t\tthis.setTitle(ConfigUtil.APP_NAME);\n\t\tthis.setSize(ConfigUtil.MAIN_WINDOW_WIDTH, ConfigUtil.MAIN_WINDOW_HEIGHT);\n\t\tthis.setLocation(ConfigUtil.getCenteredX(this), ConfigUtil.getCenteredY(this));\n\t\tthis.setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);\n\t\tthis.setResizable(false);\n\t\tthis.getContentPane().setLayout(null);\n\t\t\n\t\t/* ********************* frame setup completed *************************** */\n\t\t\n\t\t/* ********************* menu bar setup started *************************** */\n\t\t\n\t\tmenubar = new JMenuBar();\n\t\t\n\t\tmnuInfo = new JMenu(\"Info\");\n\t\t\n\t\tmnuitemInfoPanel = new JMenuItem(\"Info Panel\");\n\t\tmnuitemPreferences = new JMenuItem(\"Preferences\");\n\t\t\n\t\tmnuInfo.add(mnuitemInfoPanel);\n\t\tmnuInfo.add(mnuitemPreferences);\n\t\t\n\t\tmnuExit = new JMenu(\"Exit\");\n\t\t\n\t\tmenubar.add(mnuInfo);\n\t\tmenubar.add(mnuExit);\n\t\t\n\t\tsetJMenuBar(menubar);\n\t\t\n\t\t/* ********************* menu bar setup completed *************************** */\n\t\t\n\t\t/* ********************* container panel setup started *************************** */\n\t\t\n\t\t/*create the title label*/\n\t\tlblTitle = new JLabel(\"TRADE INSERT APPLICATION\");\n\t\tlblTitle.setFont(new Font(\"Microsoft Sans Serif\", Font.BOLD, 15));\n\t\tlblTitle.setSize(lblTitle.getPreferredSize());\n\t\t\n\t\t/*the above created title label should be put in a panel, so lets create a penel and add the label in it*/\n\t\tpanelForTitle = new JPanel();\n\t\tpanelForTitle.setSize(250, 30);\n\t\tpanelForTitle.setLocation(ConfigUtil.getCenteredX(this, panelForTitle), 10);\n\t\tpanelForTitle.setBorder(new EtchedBorder(EtchedBorder.LOWERED));\n\t\t\n\t\t/*add the title label in the panel*/\n\t\tpanelForTitle.add(lblTitle);\n\t\t\n\t\t/*add the panel in the frame*/\n\t\tgetContentPane().add(panelForTitle);\n\t\t\n\t\t/* ********************* container panel setup completed *************************** */\n\t\t\n\t\t/* ********************* main window controls setup started *************************** */\n\t\t\n\t\tpanelForFileNameBrowseButton = new JPanel();\n\t\tpanelForFileNameBrowseButton.setSize(720, 40);\n\t\tpanelForFileNameBrowseButton.setLocation(ConfigUtil.getCenteredX(this, panelForFileNameBrowseButton), 50);\n\t\tpanelForFileNameBrowseButton.setBorder(new EtchedBorder(EtchedBorder.LOWERED));\n\t\tpanelForFileNameBrowseButton.setLayout(null);\n\t\t\n\t\tlblFileName = new JLabel(\"Trade FileName : \");\n\t\tlblFileName.setSize(lblFileName.getPreferredSize());\n\t\tlblFileName.setLocation(10, ConfigUtil.getCenteredY(panelForFileNameBrowseButton, lblFileName));\n\t\tpanelForFileNameBrowseButton.add(lblFileName);\n\t\t\n\t\ttxtFileName = new JTextField(\"ENTER FILE NAME\", 45);\n\t\ttxtFileName.setSize(txtFileName.getPreferredSize());\n\t\ttxtFileName.setLocation(115, ConfigUtil.getCenteredY(panelForFileNameBrowseButton, txtFileName));\n\t\tpanelForFileNameBrowseButton.add(txtFileName);\n\t\t\n\t\tbtnBrowse = new JButton(\"Browse...\");\n\t\tbtnBrowse.setSize(btnBrowse.getPreferredSize());\n\t\tbtnBrowse.setLocation(625, ConfigUtil.getCenteredY(panelForFileNameBrowseButton, btnBrowse));\n\t\tpanelForFileNameBrowseButton.add(btnBrowse);\n\t\t\n\t\tgetContentPane().add(panelForFileNameBrowseButton);\n\t\t\n\t\t/* ********************* main window controls setup started *************************** */\n\t\t\n\t\tpanelForLogLoadExitButtons = new JPanel();\n\t\tpanelForLogLoadExitButtons.setSize(720, 435);\n\t\tpanelForLogLoadExitButtons.setLocation(ConfigUtil.getCenteredX(this, panelForLogLoadExitButtons), 100);\n\t\tpanelForLogLoadExitButtons.setBorder(new EtchedBorder(EtchedBorder.LOWERED));\n\t\tpanelForLogLoadExitButtons.setLayout(null);\n\t\t\n\t\tlblLog = new JLabel(\"Trade Insert Log\");\n\t\tlblLog.setSize(lblLog.getPreferredSize());\n\t\tlblLog.setLocation(ConfigUtil.getCenteredX(panelForLogLoadExitButtons, lblLog), 10);\n\t\tpanelForLogLoadExitButtons.add(lblLog);\n\t\t\n\t\ttxtLog = new JTextArea(23,62);\n\t\ttxtLog.setSize(txtLog.getPreferredSize());\n\t\ttxtLog.setLocation(ConfigUtil.getCenteredX(panelForLogLoadExitButtons, txtLog), ConfigUtil.getCenteredY(panelForLogLoadExitButtons, txtLog));\n\t\ttxtLog.setBorder(new EtchedBorder(EtchedBorder.LOWERED));\n\t\ttxtLog.setBackground(Color.LIGHT_GRAY);\n\t\tpanelForLogLoadExitButtons.add(txtLog);\n\t\t\n\t\tbtnLoadTrades = new JButton(\"LOAD TRADES\");\n\t\tbtnLoadTrades.setSize(btnLoadTrades.getPreferredSize());\n\t\tbtnLoadTrades.setLocation(20, 400);\n\t\tpanelForLogLoadExitButtons.add(btnLoadTrades);\n\t\t\n\t\tbtnExitApplication = new JButton(\"EXIT APPLICATION\");\n\t\tbtnExitApplication.setSize(btnExitApplication.getPreferredSize());\n\t\tbtnExitApplication.setLocation(570, 400);\n\t\tpanelForLogLoadExitButtons.add(btnExitApplication);\n\t\t\n\t\tgetContentPane().add(panelForLogLoadExitButtons);\n\t\t\n\t\t/* ********************* main window controls setup completed *************************** */\n\t}",
"title": ""
},
{
"docid": "7790dd65763f3542d3cc9bc71a350691",
"score": "0.6346805",
"text": "public void createAndShowGUI() {\r\n JFrame frame = new JFrame(\"Contact List\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n this.setOpaque(true);\r\n frame.setContentPane(this);\r\n\r\n frame.pack();\r\n frame.setVisible(true);\r\n }",
"title": ""
},
{
"docid": "84825ca12484f1a95c4bd86f227061e2",
"score": "0.6340202",
"text": "private void initApplicationAR() {\r\n // Create OpenGL ES view:\r\n int depthSize = 16;\r\n int stencilSize = 0;\r\n boolean translucent = Vuforia.requiresAlpha();\r\n\r\n mGlView = new SampleApplicationGLView(this);\r\n mGlView.init(translucent, depthSize, stencilSize);\r\n\r\n mRenderer = new FrameMarkerRenderer(this, vuforiaAppSession);\r\n mRenderer.setTextures(mTextures);\r\n mGlView.setRenderer(mRenderer);\r\n\r\n }",
"title": ""
},
{
"docid": "ad55fa52118d7c8422975feac59f4bdf",
"score": "0.6332775",
"text": "private static void createAndShowGUI() {\n\n //Create and set up the window.\n JFrame frame = new JFrame(\"AAC\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setSize(5000, 1800);\n\n //Create and set up the content pane.\n AAC newContentPane = new AAC();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n //frame.setExtendedState(JFrame.MAXIMIZED_BOTH); //maximize window\n\n frame.pack();\n frame.setVisible(true);\n }",
"title": ""
},
{
"docid": "25a5e039d4efa1fa6051024f42e44c6d",
"score": "0.6329115",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 239);\n\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tJLabel lblWantsToAdd = new JLabel(\"invites you to a game.\");\n\t\tlblWantsToAdd.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblWantsToAdd.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\n\t\tlblWantsToAdd.setBounds(121, 79, 193, 28);\n\t\tframe.getContentPane().add(lblWantsToAdd);\n\t\t\n\t\tJButton btnAccept = new JButton(\"Accept\");\n\t\tbtnAccept.setBounds(58, 131, 121, 42);\n\t\tframe.getContentPane().add(btnAccept);\n\t\t\n\t\tJButton btnDecline = new JButton(\"Decline\");\n\t\tbtnDecline.setBounds(253, 131, 121, 42);\n\t\tframe.getContentPane().add(btnDecline);\n\t\t\n\t\tJLabel lblPutanamehere = new JLabel(\"user'sName\");\n\t\tlblPutanamehere.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblPutanamehere.setFont(new Font(\"Tahoma\", Font.BOLD, 16));\n\t\tlblPutanamehere.setBounds(121, 31, 193, 35);\n\t\tframe.getContentPane().add(lblPutanamehere);\n\t}",
"title": ""
},
{
"docid": "985bfc3d7e9cfad1ce5a0a248b7799c3",
"score": "0.63270825",
"text": "public P5MainFrame() {\n initComponents();\n initCanvas();\n }",
"title": ""
},
{
"docid": "4731e0c826abfcba7a94c77c8301e2af",
"score": "0.63240606",
"text": "@Override protected void startup() {\n NovacomInstallerView app = new NovacomInstallerView(this);\n app.getFrame().setResizable(false);\n app.getFrame().setSize(220, 140);\n app.getFrame().setTitle(\"Universal Novacom Installer\");\n app.getFrame().setVisible(true);\n app.getFrame().requestFocus();\n\n show(app);\n }",
"title": ""
},
{
"docid": "b86e1e52903fbb261b85f3b858a76712",
"score": "0.6322059",
"text": "public void setup() {\n\t\tList<Image> appIconImages = new ArrayList<Image>();\n\t\tfor (String appIconFilename : APP_ICON_FILENAMES) {\n\t\t\tappIconImages.add(new ImageIcon(loadBytes(appIconFilename)).getImage());\n\t\t}\n\t\tframe.setIconImages(appIconImages);\n\t\t\n\t\t// TODO still need to deal with moving scrubber\n\t\t// if we want to allow resizing window\n\t\t//surface.setResizable(true);\n\t\tbackground(0);\n\t\t\n\t\tsurface.setTitle(APP_NAME);\n\t\t\n\t\tui = new UserInterface(this);\n\t\tslitLocations = new SlitLocations(this, ui, 0.5f);\n\t\t\n\t\tsetNewOutputFile();\n\t}",
"title": ""
},
{
"docid": "b63d5deb6a71bbc03c2e890f39e3fed1",
"score": "0.63165534",
"text": "private static void createAndShowGUI() {\n //Make sure we have a nice window decoration\n JFrame.setDefaultLookAndFeelDecorated(true);\n \n //Create and set up the window.\n JFrame frame = new JFrame();\n frame.setTitle(\"Hi!\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Add the ubiquitous \"Hello, World!\" label.\n JLabel label = new JLabel(\"Hello, World!\", SwingConstants.CENTER);\n frame.getContentPane().add(label, BorderLayout.NORTH);\n\n //Display the window.\n frame.pack();\n frame.setSize(300,100);\n frame.setLocationRelativeTo(null);\n frame.setVisible(true);\n \n }",
"title": ""
},
{
"docid": "31be150e5e3ae7cf90b407e52e8b657f",
"score": "0.6311793",
"text": "public MainFrame() {\n initComponents();\n setTitle(\"ElGamal signature\");\n setLocationRelativeTo(null);\n setResizable(false);\n }",
"title": ""
},
{
"docid": "2079636100b3452460610e6c2128eb7e",
"score": "0.6306814",
"text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setBounds(100, 100, 981, 662);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\r\n\t\tJPanel panel = new JPanel();\r\n\t\tframe.getContentPane().add(panel, BorderLayout.NORTH);\r\n\t\t\r\n\t\tfileChooser = new JFileChooser();\r\n\t\tpanel.add(fileChooser);\r\n\t\t\r\n\t\ttextField = new JTextField();\r\n\t\tpanel.add(textField);\r\n\t\ttextField.setColumns(10);\r\n\t\t\r\n\t\tbtnNewButton = new JButton(\"New button\");\r\n\t\tpanel.add(btnNewButton);\r\n\t\t\r\n\t\t\r\n\t}",
"title": ""
},
{
"docid": "7539e29b0b1ad2b2b7b9ab818e741ff9",
"score": "0.6300894",
"text": "private void builtFrame(){\n\t\tinitCompon();\n\n\t\tWindow.setTitle(\"Maze Game\");\n\t\tWindow.setIconImage(Toolkit.getDefaultToolkit().getImage(Frame.class.getResource(\"/resource/i.png\")));\n\t\tWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tWindow.setBounds(100, 100, 600, 450);\n\t\tWindow.setResizable(false);\n\n\t\tWindow.setVisible(true);\n\n\t\tsetupComponests();\n\t\tpack();\n\n\t}",
"title": ""
},
{
"docid": "c7ab6c3215b49e1e75e1b2fa9f57bdec",
"score": "0.6300283",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 858, 381);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(\n\t\t\t\tnew MigLayout(\"\", \"[grow][400]\", \"[0][grow]\"));\n\n\t\tmainConsole = new Console();\n\t\tframe.getContentPane().add(mainConsole, \"cell 0 0 1 2,grow\");\n\n\t\tplayerPanel = new PlayerPanel();\n\t\tframe.getContentPane().add(getPlayerPanel(), \"cell 1 0,grow\");\n\n\t\tConsole chatConsole = new Console();\n\t\tframe.getContentPane().add(chatConsole, \"cell 1 1,grow\");\n\t}",
"title": ""
},
{
"docid": "b759c225e9dcb43648d62d5d2aefa5c1",
"score": "0.6290074",
"text": "private void initialize() {\n this.setSize(600, 800);\n this.setContentPane(getJContentPane());\n this.setTitle(\"pgn2fen\");\n }",
"title": ""
},
{
"docid": "7b9b2bf6f9f533e2913a45d524c48e09",
"score": "0.6288637",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setTitle(\" УПРАВЛЕНИЕ НА СЛУЖИТЕЛИ\");\n\t\tframe.getContentPane().setBackground(Color.WHITE);\n\t\tframe.setBounds(100, 100, 426, 124);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tJLabel companyName = new JLabel(\"ФИРМА КОМПАНИЯ\");\n\t\tcompanyName.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tcompanyName.setBounds(122, 26, 200, 25);\n\t\tframe.getContentPane().add(companyName);\n\t\t\n\t\tJButton addEmployee = new JButton(\"добави СЛУЖИТЕЛ\");\n\t\taddEmployee.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tnewEmployeeRegister();\n\t\t\t}\n\t\t});\n\t\taddEmployee.setBounds(12, 66, 194, 25);\n\t\tframe.getContentPane().add(addEmployee);\n\t\t\n\t\tJButton generateReport = new JButton(\"изчисли\");\n\t\tgenerateReport.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcalculate();\n\t\t\t}\n\t\t});\n\t\tgenerateReport.setBounds(218, 66, 194, 25);\n\t\tframe.getContentPane().add(generateReport);\n\t}",
"title": ""
},
{
"docid": "8ebc212b8dba1ac7d3d50f8c800a4755",
"score": "0.6281363",
"text": "private void initJFrame() { //JFrame is a window\n setTitle(\"Virtuel Key Repository: Done by Farouk Laichi 30-jun-2020\");\n setSize(720 + 16, 480 + 39);\n setResizable(false);\n setLocationRelativeTo(null);\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setIconImage(new ImageIcon(\"assets/icon.png\").getImage());\n }",
"title": ""
},
{
"docid": "2e6ba9668e379682e8c07ee222a349b0",
"score": "0.62811065",
"text": "public mainFrame() {\n initComponents();\n }",
"title": ""
},
{
"docid": "3bfa6fc62e9ed697644059f288341dcb",
"score": "0.62808734",
"text": "public void setupFrame(){\r\n\t\t\r\n\t\tRPanel cr8QuestOverview = getMainPanel();\r\n\t\tframe.getContentPane().removeAll();\r\n\t\t\r\n\t\tframe.setTitle(\"Retention - List of Questions\");\r\n\t\t//System.out.println(frame.getSize().toString());\r\n\t\tframe.getContentPane().add(cr8QuestOverview);\r\n\t\tframe.revalidate();\r\n\t\t//frame.pack();\r\n//\t\tframe.setMinimumSize(new Dimension(347,184));\r\n\t}",
"title": ""
},
{
"docid": "678c74a334660c6d97c7139a83c1b8a0",
"score": "0.6279338",
"text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\r\n\t\tframe.setTitle(\"Historias de Zagas\");\r\n\t\tframe.setIconImage(Toolkit.getDefaultToolkit().getImage(\r\n\t\t\t\tAyudaCreacionPNJ.class\r\n\t\t\t\t\t\t.getResource(\"/images/Historias de Zagas, logo.png\")));\r\n\r\n\t\tframe.setResizable(false);\r\n\t\tframe.setBounds(100, 100, 439, 300);\r\n\t\tframe.getContentPane().setLayout(new BorderLayout());\r\n\t\tcontentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));\r\n\t\tframe.setLocationRelativeTo(null);\r\n\t\tframe.getContentPane().add(contentPanel, BorderLayout.CENTER);\r\n\t\tcontentPanel.setLayout(null);\r\n\r\n\t\tJLabel lblAspectosGeneralesDel = new JLabel(\r\n\t\t\t\t\"Ventana de Jugadores\");\r\n\t\tlblAspectosGeneralesDel.setForeground(Color.WHITE);\r\n\t\tlblAspectosGeneralesDel.setFont(mf.MyFont(1, 17));\r\n\t\tlblAspectosGeneralesDel.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblAspectosGeneralesDel.setBounds(10, 13, 414, 63);\r\n\t\tcontentPanel.add(lblAspectosGeneralesDel);\r\n\r\n\t\tfinal JButton btnNewButton = new JButton(\"\\u00CDndice\");\r\n\t\tbtnNewButton.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mousePressed(MouseEvent arg0) {\r\n\t\t\t\tbtnNewButton.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class\r\n\t\t\t\t\t\t.getResource(\"/images/boton aņadir2.png\")));\r\n\r\n\t\t\t}\r\n\r\n\t\t\tpublic void mouseReleased(MouseEvent arg0) {\r\n\t\t\t\tbtnNewButton.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class\r\n\t\t\t\t\t\t.getResource(\"/images/boton aņadir.png\")));\r\n\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnNewButton.setFocusPainted(false);\r\n\t\tbtnNewButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tAyudaPartidaJugar window = new AyudaPartidaJugar();\r\n\t\t\t\twindow.getFrame().setVisible(true);\r\n\t\t\t\tframe.dispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnNewButton.setBorderPainted(false);\r\n\t\tbtnNewButton.setBorder(null);\r\n\t\tbtnNewButton.setFont(mf.MyFont(0, 13));\r\n\t\tbtnNewButton.setContentAreaFilled(false);\r\n\t\tbtnNewButton.setForeground(Color.WHITE);\r\n\t\tbtnNewButton.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class\r\n\t\t\t\t.getResource(\"/images/boton a\\u00F1adir.png\")));\r\n\t\tbtnNewButton.setHorizontalTextPosition(SwingConstants.CENTER);\r\n\t\tbtnNewButton.setBounds(157, 218, 120, 34);\r\n\t\tcontentPanel.add(btnNewButton);\r\n\t\t\r\n\t\tfinal JButton btnStats = new JButton(\"Stats\");\r\n\t\tbtnStats.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mousePressed(MouseEvent arg0) {\r\n\t\t\tbtnStats.setIcon(new ImageIcon(AyudaPartidaJugar.class\r\n\t\t\t\t\t.getResource(\"/images/botonSelecionDiosesInicio2.png\")));\r\n\r\n\t\t}\r\n\r\n\t\tpublic void mouseReleased(MouseEvent arg0) {\r\n\t\t\tbtnStats.setIcon(new ImageIcon(AyudaPartidaJugar.class\r\n\t\t\t\t\t.getResource(\"/images/botonSelecionDiosesInicio.png\")));\r\n\r\n\t\t}\r\n\t});\r\n\t\tbtnStats.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tAyudaPartidaVentanaJugadorStats window = new AyudaPartidaVentanaJugadorStats();\r\n\t\t\t\twindow.getFrame().setVisible(true);\r\n\t\t\t\tframe.dispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnStats.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class.getResource(\"/images/botonSelecionDiosesInicio.png\")));\r\n\t\tbtnStats.setHorizontalTextPosition(SwingConstants.CENTER);\r\n\t\tbtnStats.setForeground(Color.WHITE);\r\n\t\tbtnStats.setFont(mf.MyFont(0, 13));\r\n\t\tbtnStats.setFocusPainted(false);\r\n\t\tbtnStats.setContentAreaFilled(false);\r\n\t\tbtnStats.setBorderPainted(false);\r\n\t\tbtnStats.setBorder(null);\r\n\t\tbtnStats.setBounds(56, 87, 325, 37);\r\n\t\tcontentPanel.add(btnStats);\r\n\t\t\r\n\t\tfinal JButton btnChat = new JButton(\"Chat\");\r\n\t\tbtnChat.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mousePressed(MouseEvent arg0) {\r\n\t\t\tbtnChat.setIcon(new ImageIcon(AyudaPartidaJugar.class\r\n\t\t\t\t\t.getResource(\"/images/botonSelecionDiosesInicio2.png\")));\r\n\r\n\t\t}\r\n\r\n\t\tpublic void mouseReleased(MouseEvent arg0) {\r\n\t\t\tbtnChat.setIcon(new ImageIcon(AyudaPartidaJugar.class\r\n\t\t\t\t\t.getResource(\"/images/botonSelecionDiosesInicio.png\")));\r\n\r\n\t\t}\r\n\t});\r\n\t\tbtnChat.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tAyudaPartidaVentanaJugadorChat window = new AyudaPartidaVentanaJugadorChat();\r\n\t\t\t\twindow.getFrame().setVisible(true);\r\n\t\t\t\tframe.dispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnChat.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class.getResource(\"/images/botonSelecionDiosesInicio.png\")));\r\n\t\tbtnChat.setHorizontalTextPosition(SwingConstants.CENTER);\r\n\t\tbtnChat.setForeground(Color.WHITE);\r\n\t\tbtnChat.setFont(mf.MyFont(0, 13));\r\n\t\tbtnChat.setFocusPainted(false);\r\n\t\tbtnChat.setContentAreaFilled(false);\r\n\t\tbtnChat.setBorderPainted(false);\r\n\t\tbtnChat.setBorder(null);\r\n\t\tbtnChat.setBounds(56, 147, 325, 37);\r\n\t\tcontentPanel.add(btnChat);\r\n\r\n\t\tJLabel label = new JLabel(\"\");\r\n\t\tlabel.setIcon(new ImageIcon(AyudaPartidaVentanaJugador.class\r\n\t\t\t\t.getResource(\"/images/background-inicio.jpg\")));\r\n\t\tlabel.setBounds(0, 0, 434, 265);\r\n\t\tcontentPanel.add(label);\r\n\t}",
"title": ""
},
{
"docid": "4b5158ff67ce8fe0b3c3b5b7f9c415c4",
"score": "0.6276471",
"text": "public void prepareGUI(){\n\t\tmainFrame = new Frame(\"Twitter Data Mining\");\n\t\tmainFrame.setSize(2500,2500);\n\t\tmainFrame.setBackground(Color.orange);\n\t\tmainFrame.setLayout(new GridLayout(3, 1));\n\t\tmainFrame.addWindowListener(new WindowAdapter() {\n\t\t\tpublic void windowClosing(WindowEvent windowEvent){\n\t\t\t\tSystem.exit(0);\n\t\t\t} \n\t\t}); \n\t\th1 = new Label();\n\t\th1.setAlignment(Label.CENTER);\n\t\th2 = new Label();\n\t\th2.setAlignment(Label.CENTER);\n\t\theader = new Panel();\n\t\theader.setLayout(null);\n\t\tcontrolPanel = new Panel();\n\t\tcontrolPanel.setLayout(new FlowLayout());\n\t\tendPanel = new Panel();\n\t\tendPanel.setLayout(new FlowLayout());\n\t\tmainFrame.add(header);\n\t\tmainFrame.add(controlPanel);\n\t\tmainFrame.add(endPanel);\n\t\tmainFrame.setVisible(true);\n\t\tshowTextFieldDemo();\n\t}",
"title": ""
},
{
"docid": "806259a969a7808832a113711b0d7266",
"score": "0.62753564",
"text": "private void initialize() {\r\n this.setSize(300, 200);\r\n this.setTitle(\"A propos de\");\r\n this.setResizable(false);\r\n this.setContentPane(getJContentPane());\r\n this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);\r\n }",
"title": ""
},
{
"docid": "354082881457923957927d725a2c6e1b",
"score": "0.6274318",
"text": "public MainFrame() {\n this.default_owl_file_path = OWLHandler.BFO_FILEPATH;\n this.question_controller = new Questions();\n this.question_history = new Vector<>();\n initDecisionProcess();\n initComponents();\n setupFileChooser();\n enableSelection(false);\n }",
"title": ""
},
{
"docid": "39f4619203b2898b7168acb5b2d8d1e6",
"score": "0.62711203",
"text": "private void initialize() {\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"initialize() - start\");\n\t\t}\n\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setSize(271, 186);\n\t\tthis.setTitle(\"Emitir Reporte X\");\n\t\tthis.setBackground(new java.awt.Color(226,226,222));\n\t\tthis.setModal(true);\n\t\tthis.setResizable(false);\n\t\tthis.addComponentListener(this);\n\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"initialize() - end\");\n\t\t}\n\t}",
"title": ""
},
{
"docid": "58807c969a10776053aab4b5d4a92d5a",
"score": "0.6265942",
"text": "private void initialize() {\r\n this.setSize(new Dimension(522, 405));\r\n this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n this.setTitle(\"Informações da venda\");\r\n this.setContentPane(getJContentPane());\r\n this.setResizable(false); \r\n\t\t\t\r\n\t}",
"title": ""
},
{
"docid": "97ebbe613a1dc3eaf710a1bfb1647172",
"score": "0.6264929",
"text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(400, 100, 700, 500);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setTitle(\"AppGym\");\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setBackground(Color.WHITE);\n\t\tpanel.setLayout(null);\n\t\tframe.getContentPane().add(panel);\n\t\t\n\t\tJLabel empleados = new JLabel(\"Añadir o eliminar empleados\");\n\t\templeados.setFont(new Font(\"Dialog\", Font.BOLD, 16));\n\t\templeados.setBounds(137, 87, 263, 55);\n\t\tpanel.add(empleados);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"<html><body>Modificar las clases,<br> sus horarios y profesores</body></html>\");\n\t\tlblNewLabel.setFont(new Font(\"Dialog\", Font.BOLD, 16));\n\t\tlblNewLabel.setBounds(137, 194, 276, 75);\n\t\tpanel.add(lblNewLabel);\n\t\t\n\t\tJButton btnAcceder = new JButton(\"Acceder\");\n\t\tbtnAcceder.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tbtnAcceder.setBounds(447, 103, 114, 25);\n\t\tpanel.add(btnAcceder);\n\t\t\n\t\tJButton btnAcceder_1 = new JButton(\"Acceder\");\n\t\tbtnAcceder_1.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tbtnAcceder_1.setBounds(447, 222, 114, 25);\n\t\tpanel.add(btnAcceder_1);\n\t\t\n\t\t\n\t}",
"title": ""
},
{
"docid": "1ede40ef0ac7ffa156e9167ca143ca5c",
"score": "0.62606466",
"text": "private void initialize() {\n\t\tsetBounds(500, 500, 1100, 800);\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}",
"title": ""
},
{
"docid": "f6dd8d55497784d3f56f8fa9ebd969eb",
"score": "0.62582",
"text": "public void createAndShowGUI()\r\n\t{\n\t\tJFrame frame = new JFrame(\"My View\");\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.setPreferredSize(new Dimension(250, 150));\r\n\t\t\r\n\t\t//Add the content \r\n\t\tframe.getContentPane().add(this);\r\n\t\t\r\n\t\t//Display the window\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\t\t\r\n\t}",
"title": ""
},
{
"docid": "a07ef9dc21dc3254d90e82288a374636",
"score": "0.6253635",
"text": "private void startMainApplication()\r\n\t{\r\n\t\tVaadinIRC.getS().init(window);\r\n\t}",
"title": ""
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.