query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
end of Before Method
@AfterSuite public void quitDriver() { driver.quit(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void before();", "void before();", "public void before() {\n }", "public void before() {\n }", "protected void runBeforeStep() {}", "@Before\r\n\tpublic void before() {\r\n\t}", "@Override\n public void beforeFirstLogic() {\n }", "@Stub\n\tpublic void before()\n\t{\n\t\t//\n\t}", "@Override\n @Before\n public void before() throws Exception {\n\n super.before();\n }", "@Before\n public void before() {\n }", "@Before\n public void before() {\n }", "void beforeRun();", "protected void runBeforeIteration() {}", "public void beforeInput() {\n }", "public void beforeInput() {\n }", "protected void runBeforeIterations() {}", "@Before\r\n public void before() throws Exception {\r\n }", "protected void beforeJobExecution() {\n\t}", "@Override\n public void beforeStart() {\n \n }", "default void beforeUse() {\n\t}", "@Override\n protected void after() {\n }", "@BeforeMethod\n\tpublic void beforeMethod() {\n\t}", "protected void runBeforeTest() {}", "@Override\r\n\tpublic void doBeforeJob() {\n\r\n\t}", "@Override\r\n\tprotected void doPre() {\n\t\t\r\n\t}", "@Before\r\n\tpublic void Bubbleb(){\n\t}", "@Override\n\tpublic void pre()\n\t{\n\n\t}", "protected abstract void beforeCall();", "@Before\n\tpublic void setup() \n\t{\n\t\tsuper.setup();\n\t\t\n }", "@Before\n\tpublic void setup() {\n\t\t\n\t\t\n\t}", "@Override\r\n public void beforeScript(final String arg0, final WebDriver arg1) {\n\r\n }", "@Override\n public void preRun() {\n super.preRun();\n }", "@Override\n\tpublic void beforeClassSetup() {\n\t\t\n\t}", "@BeforeMethod\n public void preCondtions() {\n }", "@Override\n\tpublic void beforePhase(PhaseEvent arg0) {\n\t\t\n\t}", "@Override\n\t\t\tpublic void beforeJob(JobExecution jobExecution) {\n\t\t\t\t\n\t\t\t}", "void beforeState();", "@Before\r\n\tpublic void set_up(){\n\t}", "@Before\n\t public void setUp() {\n\t }", "@Before\r\n\tpublic void before() {\r\n\t\tSystem.out.println(\" Before() \");\r\n\t\tcalc = new CalculadoraDos();// no forma parte del test es una precondicion para ejecutar el test\r\n\t}", "@Override\r\n\tpublic void beforeScript(String arg0, WebDriver arg1) {\n\t\t\r\n\t}", "@Before\r\n\tpublic void setup() {\r\n\t}", "public void doBefore(JoinPoint jp) {\n }", "@BeforeGroup\n public void beforeGroup() {\n }", "@Before\n public void before() {\n System.out.format(\"In Before of %s\\n\", ExecutionProcedureJunit2.class.getName());\n }", "@Override\n\tpublic void beforeScript(String arg0, WebDriver arg1) {\n\n\t}", "@Before\n public void setup() {\n }", "@Before\n public void setup() {\n }", "@Before\n public void setup() {\n }", "@Override\n\tpublic void beforeJob(JobExecution arg0) {\n\t\t\n\t}", "@Before\n public void setupThis() {\n System.out.println(\"* Before test method *\");\n }", "@Override\n public void beforeAll(ExtensionContext context) {\n }", "@Before\n public void beforeScenario() {\n }", "@Before\n public void setup() {\n }", "private void before() {\n\t\tSystem.out.println(\"程序开始执行!\");\n\t}", "@Before\r\n\t public void setUp(){\n\t }", "@Before\r\n\tpublic void doThisEveryTime() {\n\t}", "@Override\n public void beforePhase(PhaseEvent event) {\n\n }", "@Override\n protected void setup() {\n }", "public void before() {\n process = Thread.currentThread();\n }", "@Override\r\npublic void beforeScript(String arg0, WebDriver arg1) {\n\tSystem.out.println(\"as\");\r\n}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "protected abstract void after();", "@BeforeClass\n\tpublic void beforeClass() {\n\t}", "@Before\n public void beforeTest(){\n\n\n }", "@Before\n @Override\n public void init() {\n }", "@BeforeSuite\r\n\t\tpublic void BeforeSute()\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Before suite\");\r\n\t\t}", "public TestCase afterThis( Procedure callafter );", "@Override\n\tpublic void dispatchBeforeFinish() {\n\t\t\n\t}", "@Override\n\tpublic void afterClassSetup() {\n\t\t\n\t}", "public void beforeInit(){\n System.out.println(\"## beforeInit() - Before Init - Called by Bean Post Processor\");\n }", "protected void runAfterStep() {}", "protected abstract void preRun();", "@BeforeMethod\r\n\tpublic void beforeMethod() {\r\n\t\t//initializeTestBaseSetup();\r\n\t}", "@Before\n\tpublic void before(Method m, Object[] args) throws Exception\n\t{\n\t\tSystem.out.println(\"BEFORE \"+m.getName());\n\t}", "@Override\r\n\tpublic void beforePhase(PhaseEvent event) {\n\t\t\r\n\t}", "void beforeMethod(Object self, Method method, Method originalMethod, Object[] args) throws Throwable;", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\n\tpublic void init() {\n\t}", "@Before\r\n\tpublic void setUp() {\n\t}", "@Override\r\n\tpublic void before(Method m, Object[] arg1, Object traget) throws Throwable {\n\t\tSystem.out.println(\"Before\"+m.getName() + \" this advice call\" );\r\n\t}", "@Before\n public void init() {\n }", "@Override\n public void beforeProc(OperationContext context) throws CommonException {\n\n }", "@Override\n public void setup() {\n }", "@Override\n public void setup() {\n }", "@Before public void setUp() { }", "@BeforeClass\n public static void beforeClass() {\n }", "@Override\r\n\t@Before\r\n\tpublic void callSetup() throws Exception\r\n\t{\r\n\t\tsuper.callSetup();\r\n\t}", "@Before\n\tpublic void setUp() {\n\t}", "void PrepareRun() {\n }", "protected void preRun() {\r\n\t\tthis.preparePairs();\r\n\t}", "@Override\r\n\tpublic void beforeExecuteScript() throws Exception\r\n\t{\n\t}", "@BeforeClass\n public void beforeclass() {\n\t}", "@Stub\n\tpublic void after()\n\t{\n\t\t//\n\t}", "@After\n public void status() {\n }", "@Before\n public void init(){\n }", "@Before public void setUp() {\n }" ]
[ "0.8088492", "0.79838204", "0.76933515", "0.76933515", "0.7578068", "0.74829984", "0.74533236", "0.74388885", "0.7245797", "0.7241847", "0.7241847", "0.70548725", "0.70533776", "0.7016919", "0.7016919", "0.70123047", "0.69923943", "0.6933776", "0.6907281", "0.68941236", "0.6845753", "0.68232405", "0.6792612", "0.6776981", "0.67462796", "0.6738953", "0.6724579", "0.6709835", "0.669307", "0.66731924", "0.66281277", "0.66210663", "0.6597283", "0.6580827", "0.65717095", "0.65677583", "0.6564327", "0.65283436", "0.6503198", "0.6487875", "0.6481275", "0.6480784", "0.6470837", "0.6466327", "0.64627486", "0.645071", "0.6449886", "0.6449886", "0.6449886", "0.6441552", "0.6421997", "0.6412249", "0.64061916", "0.6396795", "0.638654", "0.63711137", "0.6355348", "0.63307005", "0.63157815", "0.6277943", "0.6262147", "0.62617457", "0.62617457", "0.6255656", "0.624508", "0.62434584", "0.6237468", "0.6230481", "0.6228622", "0.6219031", "0.6204184", "0.62021464", "0.6199933", "0.61948496", "0.619302", "0.61896574", "0.6179526", "0.61757714", "0.6171556", "0.6171556", "0.6171556", "0.6171556", "0.61635315", "0.6162339", "0.61595505", "0.61486113", "0.61434704", "0.6131716", "0.6131716", "0.61179954", "0.6117292", "0.6117223", "0.6111801", "0.6108463", "0.6106054", "0.61046124", "0.61009085", "0.6096952", "0.6095904", "0.60947424", "0.6078773" ]
0.0
-1
end of test priority 1
@Test(dependsOnMethods="searchIngoogle") public void captureTheResult() throws InterruptedException { driver.navigate().to(getURL); Thread.sleep(2000); String searchResult = Reusable_Library2.captureText(driver, "//*[@id='result-stats']", "Search Results"); //split String[] arraySearch = searchResult.split(" "); System.out.println("My search number is " + arraySearch[1]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void priorityTest() {\n // TODO: test priority\n }", "@Test(priority=3)\n\tpublic void t1() {\n\t\tReporter.log(\"Running t1 Method\", true);\n\t}", "@Test(priority=4) \r\n public void method1()\r\n {\r\n\t System.out.println(\"I am in method 1\");\r\n\t \r\n }", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Test(priority = 3)\n public void testVerifyQuestionTwo() {\n\t\tassertTrue(true);\n }", "@Test (priority = 4)\n\t@Then(\"^End of Scenario$\")\n\tpublic void end_of_Scenario() throws Throwable {\n\t \n\t}", "@Test(priority = 2)\n public void testVerifyQuestionOne() {\n\t\tassertTrue(true);\n }", "@Override\n public int getPriority() {\n return 1;\n }", "public int getTestOrderHint()\r\n\t\t{\r\n\t\t\treturn 0;\t\r\n\t\t}", "@Test(priority = 4)\n public void testVerifyQuestionThree() {\n\t\tassertTrue(true);\n }", "public void test5() {\n\t\t\n\t}", "private void test() {\n\n\t}", "@Override\n public int getPriority() {\n return 75;\n }", "@Override\n \tpublic int priority() {\n \t\treturn 10;\n \t}", "@Test(priority = 3)\n\tpublic void testHandScoreForExitTestWithOutAnswer(){\n\t\tSystem.out.println(\"************************************************\");\n\t\tSystem.out.println(\"******** logging as the created teacher ********\");\n\t\tdashBoardPage = loginPage.loginSuccess(unitytestdata.getProperty(\"testDomainTeacher\"),\n\t\t\t\tunitytestdata.getProperty(\"genericPassword\"));\n\t\twaitTime();\n\t\thandScoringPage = dashBoardPage.goToHandScoring();\n\t\thandScoringPage.startHandScoring(testName3);\n\t\thandScoringPage.backToDashboard();\n\t\treportPage = dashBoardPage.goToReports();\n\t\treportPage.viewReport();\n\t\twaitTime();\n\t\treportPage.filterReportByClassRoster(testrosterName);\n\t\twaitTime();\n\t\treportPage.filterReportByContentArea(\"N/A\");\n\t\twaitTime();\n\t\treportPage.openTestEventDetail(testName3);\n\t\tcustomeWaitTime(5);\n\t\tsoftAssert.assertEquals(\"scored\", reportPage.getScoreStatusinTestDetail(\"urostudent1\"));\n\t\treportPage.verifyStudentHandScore(\"urostudent1\", 10, \"1\");\n\t\treportPage.logOut();\n\n\t}", "@Test\r\n\tpublic void testOrderPerform() {\n\t}", "@Test\n public void pickUpSomeGoldTest() {\n\tassertNotEquals(0,score);\n }", "private void runBest() {\n }", "public void XtestSetGetApplicationPriority()\n {\n fail(\"Unimplemented test\");\n }", "private void test2(){\n\t}", "@Override\n\tpublic void test() {\n\t\t\n\t}", "@Override\r\n\tpublic int getPriority() {\n\t\treturn 0;\r\n\t}", "@Override\r\n\tpublic int getPriority() {\n\t\treturn 0;\r\n\t}", "@Override\n public void testTwoRequiredGroups() {\n }", "@Override\n public void testTwoRequiredGroups() {\n }", "@Override\n public void testOneRequiredGroup() {\n }", "@Override\n public void testOneRequiredGroup() {\n }", "public boolean isPriority()\r\n/* 49: */ {\r\n/* 50:47 */ return false;\r\n/* 51: */ }", "@Test\n\tpublic void testGive20Back() {\n\t\n\t}", "@Test\n public void temporaryTeamClosingUnavalableOption() {\n\n }", "private test5() {\r\n\t\r\n\t}", "public static void selfTest() {\n System.out.println(\"+++Beginning tests for priority scheduler+++\");\n int numTests = 5;\n int count = 0;\n\n boolean machine_start_status = Machine.interrupt().disabled();\n Machine.interrupt().disable();\n\n PriorityScheduler p = new PriorityScheduler();\n\n ThreadQueue t = p.newThreadQueue(true);\n ThreadQueue t1 = p.newThreadQueue(true);\n ThreadQueue t2 = p.newThreadQueue(true);\n ThreadQueue masterQueue = p.newThreadQueue(true);\n\n KThread tOwn = new KThread();\n KThread t1Own = new KThread();\n KThread t2Own = new KThread();\n\n t.acquire(tOwn);\n t1.acquire(t1Own);\n t2.acquire(t2Own);\n\n\n for (int i = 0; i < 3; i++) {\n for (int j = 1; j <= 3; j++) {\n KThread curr = new KThread();\n\n if (i == 0)\n t.waitForAccess(curr);\n else if (i == 1)\n t1.waitForAccess(curr);\n else\n t2.waitForAccess(curr);\n\n p.setPriority(curr, j);\n }\n }\n\n KThread temp = new KThread();\n t.waitForAccess(temp);\n p.getThreadState(temp).setPriority(4);\n\n temp = new KThread();\n t1.waitForAccess(temp);\n p.getThreadState(temp).setPriority(5);\n\n temp = new KThread();\n t2.waitForAccess(temp);\n p.getThreadState(temp).setPriority(7);\n\n temp = new KThread();\n\n masterQueue.waitForAccess(tOwn);\n masterQueue.waitForAccess(t1Own);\n masterQueue.waitForAccess(t2Own);\n\n masterQueue.acquire(temp);\n\n System.out.println(\"master queue: \"); masterQueue.print();\n// System.out.println(\"t queue: \"); t.print();\n// System.out.println(\"t1 queue: \"); t1.print();\n// System.out.println(\"t2 queue: \"); t2.print();\n//\n// System.out.println(\"tOwn effective priority = \" + p.getThreadState(tOwn).getEffectivePriority() + \" and priority = \" + p.getThreadState(tOwn).getPriority());\n System.out.println(\"temp's effective priority = \" + p.getThreadState(temp).getEffectivePriority());\n\n System.out.println(\"After taking away max from master queue\");\n KThread temp1 = masterQueue.nextThread();\n masterQueue.print();\n System.out.println(\"temp's effective priority = \" + p.getThreadState(temp).getEffectivePriority() + \" and it's priority = \" + p.getThreadState(temp).getPriority());\n System.out.println(\"nextThread's effective priority = \" + p.getThreadState(temp1).getEffectivePriority());\n Machine.interrupt().restore(machine_start_status);\n// while(count < numTests) {\n// KThread toRun = new KThread(new PriSchedTest(count++));\n// System.out.println(toRun);\n// t.waitForAccess(toRun);\n// p.getThreadState(toRun).setPriority(numTests-count);\n// toRun.fork();\n// }\n// count = 0;\n// while(count++ < numTests) {\n// KThread next = t.nextThread();\n// Lib.assertTrue(p.getThreadState(next).getPriority() == numTests-count);\n// System.out.println(\"Priority is \" + p.getThreadState(next).getPriority());\n// }\n }", "public void testCmdUpdate_priority_field() {\n\t\t// Initialize test variables\n\t\tCommandAction expectedCA;\n\t\tTask expectedTask;\n\t\tList<Task> expectedTaskList;\n\n\t\t/*\n\t\t * Test 4: Testing priority field (all ID are valid)(default priority is\n\t\t * normal)\n\t\t */\n\t\tctf.initialize();\n\t\texpectedTaskList = null;\n\t\taddNewTask(TASK_NAME_1);\n\n\t\t// Test 4a: priority is null\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, null, null, null);\n\t\texpectedCA = new CommandAction(MSG_TASKNOUPDATE, false, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\n\t\t// Test 4b: priority is normal\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, null, null, CmdParameters.PARAM_VALUE_TASK_PRIORITY_NORM);\n\t\texpectedCA = new CommandAction(MSG_TASKNOUPDATE, false, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\n\t\texpectedTaskList = new ArrayList<Task>();\n\t\t// Test 4c: priority is high\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, null, null, CmdParameters.PARAM_VALUE_TASK_PRIORITY_HIGH);\n\t\texpectedTask = ctf.createExpectedTask(TASK_NAME_1, NO_TIME, NO_TIME, PRIORITY_TYPE.HIGH);\n\t\texpectedTaskList.add(expectedTask);\n\t\texpectedCA = new CommandAction(String.format(MSG_TASKUPDATED, VALID_TASKID), true, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\t\t\n\t\texpectedTaskList = new ArrayList<Task>();\n\t\t// Test 4d: priority is low\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, null, null, CmdParameters.PARAM_VALUE_TASK_PRIORITY_LOW);\n\t\texpectedTask = ctf.createExpectedTask(TASK_NAME_1, NO_TIME, NO_TIME, PRIORITY_TYPE.LOW);\n\t\texpectedTaskList.add(expectedTask);\n\t\texpectedCA = new CommandAction(String.format(MSG_TASKUPDATED, VALID_TASKID), true, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\t}", "public int getPriority(){\n return 2;\n }", "@Test\r\n @Override\r\n public void testHead() {\r\n Object item = \"Damian\";\r\n int priority = 1;\r\n System.out.println(\"UnsortedArray Priority Test:\");\r\n System.out.println(\"testHead\");\r\n \r\n storage[0] = new PriorityItem<>(item, priority);\r\n String expResult = \"(Damian, 1)\";\r\n String result = storage[0].toString();\r\n // System.out.println(expResult);\r\n // System.out.println(result);\r\n if(expResult.equals(result))\r\n {\r\n System.out.println(\"Passed\");\r\n \r\n }\r\n // TODO review the generated test code and remove the default call to fail.\r\n else\r\n {\r\n System.out.println(\"Failed\");\r\n }\r\n \r\n \r\n }", "@Test\n public void testNoTopUpTasksWithHighPriority() throws Exception {\n\n // SETUP: Set a Task to High Priority\n SchedStaskTable lSchedStask1 = SchedStaskTable.findByPrimaryKey( new TaskKey( 4650, 101 ) );\n lSchedStask1.setTaskPriority( new RefTaskPriorityKey( 4650, \"HIGH\" ) );\n lSchedStask1.update();\n\n SchedStaskTable lSchedStask2 = SchedStaskTable.findByPrimaryKey( new TaskKey( 4650, 102 ) );\n lSchedStask2.setTaskPriority( new RefTaskPriorityKey( 4650, \"HIGH\" ) );\n lSchedStask2.update();\n\n SchedStaskTable lSchedStask3 = SchedStaskTable.findByPrimaryKey( new TaskKey( 4650, 400 ) );\n lSchedStask3.setTaskPriority( new RefTaskPriorityKey( 4650, \"HIGH\" ) );\n lSchedStask3.update();\n\n SchedStaskTable lSchedStask4 = SchedStaskTable.findByPrimaryKey( new TaskKey( 4650, 500 ) );\n lSchedStask4.setTaskPriority( new RefTaskPriorityKey( 4650, \"HIGH\" ) );\n lSchedStask4.update();\n\n // ACTION: Execute the Query\n execute( DateUtils.parseDateTimeString( \"15-MAY-2007 01:00\" ), 5, 4650, 100 );\n\n // TEST: Confirm the Data had no results\n assertEquals( 0, iDataSet.getRowCount() );\n\n // TEARDOWN: Undo the setup changes\n lSchedStask1.setTaskPriority( new RefTaskPriorityKey( 4650, \"LOW\" ) );\n lSchedStask1.update();\n\n lSchedStask2.setTaskPriority( new RefTaskPriorityKey( 4650, \"LOW\" ) );\n lSchedStask2.update();\n\n lSchedStask3.setTaskPriority( new RefTaskPriorityKey( 4650, \"LOW\" ) );\n lSchedStask3.update();\n\n lSchedStask4.setTaskPriority( new RefTaskPriorityKey( 4650, \"LOW\" ) );\n lSchedStask4.update();\n }", "@Override\n\tpublic void postorder() {\n\n\t}", "default byte getPriority() {\n\t\treturn 0;\n\t}", "@Test\n public void testNextWaiting() {\n }", "public void finish(TestCase testCase) {\n }", "@Test\n public void runNewGameTest() {\n\tassertNotEquals(-1,score);\n }", "static public void order66() {\n System.exit(0);\n }", "void test02(){\n\t}", "@Override\n public void runTest() {\n }", "int priority();", "int priority();", "@Test\n\tpublic void testPrimeActionnairePrincipal(){\n\t\tassertEquals(2000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 2));\n\t\tassertEquals(3000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 3));\n\t\tassertEquals(4000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 4));\n\t\tassertEquals(5000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 5));\n\t\tassertEquals(6000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 6));\n\t\tassertEquals(6000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 8));\n\t\tassertEquals(6000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 10));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 11));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 15));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 20));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 21));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 22));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 30));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 31));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 33));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 40));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 41));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.SACKSON, 42));\n\n\t\t// cas categorie hotel = 2\n\t\tassertEquals(3000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 2));\n\t\tassertEquals(4000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 3));\n\t\tassertEquals(5000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 4));\n\t\tassertEquals(6000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 5));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 6));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 8));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 10));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 11));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 15));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 20));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 21));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 22));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 30));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 31));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 33));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 40));\n\t\tassertEquals(11000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 41));\n\t\tassertEquals(11000, TypeChaine.primeActionnairePrincipal(TypeChaine.HYDRA, 42));\n\n\t\t// cas categorie hotel = 3\n\t\tassertEquals(4000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 2));\n\t\tassertEquals(5000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 3));\n\t\tassertEquals(6000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 4));\n\t\tassertEquals(7000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 5));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 6));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 8));\n\t\tassertEquals(8000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 10));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 11));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 15));\n\t\tassertEquals(9000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 20));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 21));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 22));\n\t\tassertEquals(10000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 30));\n\t\tassertEquals(11000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 31));\n\t\tassertEquals(11000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 33));\n\t\tassertEquals(11000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 40));\n\t\tassertEquals(12000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 41));\n\t\tassertEquals(12000, TypeChaine.primeActionnairePrincipal(TypeChaine.PHOENIX, 42));\n\t}", "@Override\n public void test() {\n \n }", "public TracingTestPreProcExit()\n {\n super();\n }", "public void testRemoveOrder() {\n }", "public abstract int priority();", "default int getPriority() {\n return 0;\n }", "public static void main(String[] args) {\n\t\ttest4();\n//\t\ttest7();\n//\t\ttest8();\n//\t\ttest9();\n//\t\ttest10();\n//\t\ttest11();\n//\t\t test13() ;\n\t}", "@Override\n\tpublic void endCheck() {\n\t}", "@Test\n\tpublic void testPrimeActionnaireSecondaire(){\n\t\tassertEquals(1000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 2));\n\t\tassertEquals(1500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 3));\n\t\tassertEquals(2000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 4));\n\t\tassertEquals(2500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 5));\n\t\tassertEquals(3000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 6));\n\t\tassertEquals(3000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 8));\n\t\tassertEquals(3000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 10));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 11));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 15));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 20));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 21));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 22));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 30));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 31));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 33));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 40));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 41));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.SACKSON, 42));\n\n\t\t// cas categorie hotel = 2\n\t\tassertEquals(1500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 2));\n\t\tassertEquals(2000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 3));\n\t\tassertEquals(2500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 4));\n\t\tassertEquals(3000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 5));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 6));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 8));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 10));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 11));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 15));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 20));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 21));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 22));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 30));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 31));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 33));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 40));\n\t\tassertEquals(5500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 41));\n\t\tassertEquals(5500, TypeChaine.primeActionnaireSecondaire(TypeChaine.HYDRA, 42));\n\n\t\t// cas categorie hotel = 3\n\t\tassertEquals(2000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 2));\n\t\tassertEquals(2500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 3));\n\t\tassertEquals(3000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 4));\n\t\tassertEquals(3500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 5));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 6));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 8));\n\t\tassertEquals(4000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 10));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 11));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 15));\n\t\tassertEquals(4500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 20));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 21));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 22));\n\t\tassertEquals(5000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 30));\n\t\tassertEquals(5500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 31));\n\t\tassertEquals(5500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 33));\n\t\tassertEquals(5500, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 40));\n\t\tassertEquals(6000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 41));\n\t\tassertEquals(6000, TypeChaine.primeActionnaireSecondaire(TypeChaine.PHOENIX, 42));\n\t}", "@Test\n public void launchesEventhandlerThreadpoolPriorityTest() {\n // TODO: test launchesEventhandlerThreadpoolPriority\n }", "@Test\n\tpublic void testTotalPuzzleGenerated() {\n\t}", "@Override\r\n\t@AfterTest\r\n\tpublic void endSetting() {\n\t\tSystem.out.println(\"结束系统设置测试\");\r\n\t}", "@Test\n public void test() throws Exception {\n// diversifiedRankingxPM2()\n diversifiedRankingxQuAD();\n }", "@Test\n\tpublic void completeHires()\n\t{\t\t\n\t\tassertTrue(controller.getReport().getNoOfCompleteHires() == 2);\n\t}", "@Test(enabled =true, groups={\"fast\",\"window.One\",\"unix.One\",\"release1.one\"})\n\tpublic void testOne(){\n\t\tSystem.out.println(\"In TestOne\");\n\t}", "@Test\n\tpublic void test4() {\n\t}", "@Test(priority = 28)\r\n\tpublic void removalUserLinkCheckAnew() {\r\n\tAssert.assertEquals(mainPage.removalUserLinkCheck(), true);\r\n\t}", "@Test(priority=3)\n public void TestToFail()\n {\n driver.getTitle();\n System.out.println(\"This method to test fail\");\n }", "@AfterTest\n\tpublic void afterTest() {\n\t}", "@Test\r\n public void testRentOut() {\r\n }", "private void level7() {\n }", "public void testLoadOrder() throws Exception {\n }", "public void test() {\n\t}", "@Test\r\n\tpublic void testEXIT(){\n\t}", "@Test(priority = 1)\n\tpublic void login() {\n\n\t}", "@Test\n\tpublic void CompletePushForwardTest1() {\n\t\tLoadTestCase1WithFirstOrderingExample();\n\t\tRightPush rightPush = new RightPush(this.testCase1, this.testCase1Scenerio);\n\t\tLossCounter counter = new LossCounter(this.testCase1, rightPush.getLossMinimisedParasiteMapping());\n\t\tassertEquals(0, counter.countNumberOfLossEvents());\t\t\t\n\t}", "public void testGetOrder() {\n }", "public int priority(){\n return 0; //TODO codavaj!!\n }", "@Test\n\tpublic void test04() throws Throwable {\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Test\n\tpublic void HeapExtractMaximumtestNoPriorities() {\n\t\t Job jarray[]=new Job[1];\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}", "public Multi2Test( String testName )\n {\n super( testName );\n }", "public static void hvitetest1w(){\r\n\t}", "public void testPerformance() {\n \t}", "public static void endStep() {\n\t\tTestNotify.log(GenLogTC() + \"has been tested.\");\n\t}", "@Test\n\tpublic void evaluarPrioridadEmpleadosTest1() {\n\t\tLOGGER.info(\"*****************************evaluarPrioridadEmpleadosTest1*****************************\");\n\n\t\t\n\t\tQueue<Empleado> colaEmpleados = new PriorityBlockingQueue<>(100, new ComparadorDeEmpleados());\n\n\t\tOperador operador1 = new Operador(\"001\", \"pedro\", \"\");\n\t\tOperador operador2 = new Operador(\"002\", \"pablo\", \"\");\n\t\tOperador operador3 = new Operador(\"003\", \"jorge\", \"\");\n\t\tOperador operador4 = new Operador(\"004\", \"nestor\", \"\");\n\n\t\tSupervisor supervisor = new Supervisor(\"005\", \"carlos\", null);\n\t\tSupervisor supervisor2 = new Supervisor(\"006\", \"pedro\", \"\");\n\t\tSupervisor supervisor3 = new Supervisor(\"007\", \"jorge\", \"\");\n\n\t\tDirector director = new Director(\"008\", \"esteban\", \"\");\n\n\t\tcolaEmpleados.add(director);\n\t\tcolaEmpleados.add(operador1);\n\t\tcolaEmpleados.add(operador2);\n\t\tcolaEmpleados.add(supervisor);\n\t\tcolaEmpleados.add(operador4);\n\t\tcolaEmpleados.add(supervisor2);\n\t\tcolaEmpleados.add(supervisor3);\n\t\tcolaEmpleados.add(operador3);\n\n\t\tint size = colaEmpleados.size();\n\t\tfor (int i = 1; i <= size; i++) {\n\t\t\tEmpleado empleado = colaEmpleados.poll();\n\n\t\t\tif (i <= 4) {\n\t\t\t\tAssert.assertTrue(empleado instanceof Operador);\n\t\t\t} else if (i <= 7) {\n\t\t\t\tAssert.assertTrue(empleado instanceof Supervisor);\n\t\t\t} else if (i == 8) {\n\t\t\t\tAssert.assertTrue(empleado instanceof Director);\n\t\t\t}\n\t\t}\n\n\t}", "@Test\n public void test0() throws Throwable {\n\t\tfr.inria.diversify.sosie.logger.LogWriter.writeTestStart(1115,\"org.apache.commons.collections4.queue.AbstractQueueDecoratorEvoSuiteTest.test0\");\n PriorityQueue<Integer> priorityQueue0 = new PriorityQueue<Integer>();\n Queue<Integer> queue0 = UnmodifiableQueue.unmodifiableQueue((Queue<Integer>) priorityQueue0);\n boolean boolean0 = priorityQueue0.addAll((Collection<? extends Integer>) queue0);\n assertEquals(false, boolean0);\n }", "@Override\n\tpublic void endFail() {\n\t\t\n\t}", "@Test\n public void testFitnessProportionateSelection()\n {\n }", "@Test\n\tpublic void HeapExtractMaximumtestDifferentPriorities() {\n\t\t Job jarray[]=new Job[5];\n\t\t jarray[0]=new Job(\"job1\",50,1);\n\t\t jarray[1]=new Job(\"job2\",20,2);\n\t\t jarray[2]=new Job(\"job3\",80,3);\n\t\t jarray[3]=new Job(\"job4\",20,4);\n\t\t jarray[4]=new Job(\"job5\",1,5);\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}", "public void testBidu(){\n\t}", "@Test\r\n\tpublic void incrementScoretest() \r\n\t{\r\n\t\tscoreBehavior.incrementScore();\r\n\t\tassertEquals(1, scoreBehavior.score());\r\n\t\t\r\n\t\tscoreBehavior.incrementScore();\r\n\t\tassertEquals(2, scoreBehavior.score());\r\n\t}", "@Override\n\tpublic boolean test() {\n\t\treturn false;\n\t}", "public static void main(String argv[]) {\n \r\n PolicyTest bmt = new PolicyTest();\r\n\r\n bmt.create_minibase();\r\n\r\n // run all the test cases\r\n System.out.println(\"\\n\" + \"Running \" + TEST_NAME + \"...\");\r\n boolean status = PASS;\r\n status &= bmt.test1();\r\n \r\n bmt = new PolicyTest();\r\n bmt.create_minibase();\r\n status &= bmt.test2();\r\n\r\n // display the final results\r\n System.out.println();\r\n if (status != PASS) {\r\n System.out.println(\"Error(s) encountered during \" + TEST_NAME + \".\");\r\n } else {\r\n System.out.println(\"All \" + TEST_NAME + \" completed successfully!\");\r\n }\r\n\r\n }", "@Test\r\n\tpublic void decrementScoreTest() \r\n\t{\r\n\t\tscoreBehavior.decrementScore();\r\n\t\tassertEquals(-1, scoreBehavior.score());\r\n\t\t\r\n\t\tscoreBehavior.incrementScore();\r\n\t\tassertEquals(0, scoreBehavior.score());\r\n\t\t\r\n\t\tscoreBehavior.incrementScore();\r\n\t\tassertEquals(1, scoreBehavior.score());\r\n\t\t\r\n\t\tscoreBehavior.incrementScore();\r\n\t\tassertEquals(2, scoreBehavior.score());\r\n\t\t\r\n\t\tscoreBehavior.decrementScore();\r\n\t\tassertEquals(1, scoreBehavior.score());\r\n\t}", "public int getPriority()\r\n\t\t{\r\n\t\t\treturn 25;\r\n\t\t}", "protected void runAfterTest() {}", "public abstract double getPriority();", "@Test\n\tpublic static void invalid_create_Task_priority() {\n\t\tString login_testName = \"Valid Scenario- When all the data are valid\";\n\t\tString task_testName = \"Invalid Scenario- With Invalid priority\";\n\t\tlog.info(\"Invalid Scenario- Create Task With invalid priority\");\n\t\t// report generation start\n\t\textentTest = extent\n\t\t\t\t.startTest(\"Invalid Scenario- Create Task With invalid priority (Priority must be between 1-10)\");\n\n\t\tResponse response = HttpOperation\n\t\t\t\t.createAuthToken(PayLoads.createAuthToken_Payload(extentTest, auth_sheetName, auth_valid_testName));\n\t\tString authToken = ReusableMethods.Auth(extentTest, response);\n\n\t\t// response for login the user\n\t\tresponse = HttpOperation.loginUser(authToken, PayLoads.create_user_Payload(user_sheet, login_testName));\n\t\tlog.info(\"Response received for login\");\n\t\textentTest.log(LogStatus.INFO, \"Response received for login:- \" + response.asString());\n\n\t\t// get the User Token\n\t\tJsonPath jp = ReusableMethods.rawToJson(response);\n\t\tuserToken = jp.get(\"jwt\");\n\t\tlog.info(\"Received User Token:- \" + userToken);\n\t\textentTest.log(LogStatus.INFO, \"User Token:- \" + userToken);\n\n\t\t// Creating the Task response\n\t\tresponse = HttpOperation.create_Task(userToken, PayLoads.create_task_Payload(sheetName, task_testName));\n\n\t\tlog.info(\"Response received to create the task\");\n\t\textentTest.log(LogStatus.INFO, \"Response received to create the task:- \" + response.asString());\n\n\t\t// Assertion\n\t\tAssert.assertEquals(response.getStatusCode(), 406);\n\t\tlog.info(\"Assertion Passed!!\");\n\t\textentTest.log(LogStatus.INFO, \"HTTP Status Code:- \" + response.getStatusCode());\n\n\t}", "@Override\n\tpublic void step2() {\n\t\t\n\t}", "@Test\n @Order(7)\n void taillardTest() {\n try {\n\n for (int i = 0; i < SearchTestUtil.taillardFilenames.length; i++) {\n System.out.println(\"Run#\" + SearchTestUtil.taillardFilenames[i]);\n assignementProblem.taillardInitializer(SearchTestUtil.taillardFilenames[i]);\n assignementProblem.setNeighborsFunction(NEIGHBORHOOD_TYPE, assignementProblem.getAssignmentData().getLength());\n assignementProblem.setInCombination(Combination.generateRandom(assignementProblem.getAssignmentData().getLength()));\n executeAlgo(SearchTestUtil.ALGO.TABU);\n executeAlgo(SearchTestUtil.ALGO.RECUIT);\n\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "void completed(TestResult tr);", "@Test(priority = 2)\n\tpublic void testHandScoring(){\n\t\tSystem.out.println(\"************************************************\");\n\t\tSystem.out.println(\"******** logging as the created teacher ********\");\n\t\tdashBoardPage = loginPage.loginSuccess(unitytestdata.getProperty(\"testDomainTeacher\"),\n\t\t\t\tunitytestdata.getProperty(\"genericPassword\"));\n\t\twaitTime();\n\t\thandScoringPage = dashBoardPage.goToHandScoring();\n\t\thandScoringPage.startHandScoring(testName2);\n\t\thandScoringPage.backToDashboard();\n\t\treportPage = dashBoardPage.goToReports();\n\t\t//reportPage.viewReport();\n\t\twaitTime();\n\t\treportPage.filterReportByClassRoster(testrosterName);\n\t\twaitTime();\n\t\treportPage.filterReportByContentArea(\"N/A\");\n\t\twaitTime();\n\t\treportPage.openTestEventDetail(testName2);\n\t\tcustomeWaitTime(5);\n\t\tsoftAssert.assertEquals(\"scored\", reportPage.getScoreStatusinTestDetail(\"urostudent1\"));\n\t\treportPage.verifyStudentHandScore(\"urostudent1\", 10, \"1\");\n\t\treportPage.logOut();\n\n\t}", "@Override\n public void tests() {\n System.out.println(\"222222222222222222\"); \n }", "public void testReset() {\n\t}" ]
[ "0.6992806", "0.6730504", "0.66854495", "0.64830935", "0.6448804", "0.64445466", "0.6395495", "0.6375439", "0.636854", "0.63286006", "0.6262114", "0.6261201", "0.62332064", "0.62328786", "0.62286067", "0.61888623", "0.61648214", "0.6141592", "0.61216706", "0.6102548", "0.60924", "0.6083584", "0.6083584", "0.60753584", "0.60753584", "0.60291773", "0.60291773", "0.60096496", "0.59895796", "0.59371656", "0.593342", "0.5928801", "0.59184957", "0.5917722", "0.58997196", "0.58898604", "0.5883871", "0.58732384", "0.58637196", "0.5852089", "0.5836664", "0.58348244", "0.5833353", "0.58325285", "0.58317846", "0.58317846", "0.5826007", "0.582325", "0.582155", "0.58134335", "0.58093363", "0.5807308", "0.58000356", "0.5793099", "0.57875156", "0.57795185", "0.577266", "0.5764073", "0.5755921", "0.5746269", "0.5742452", "0.5729293", "0.5727994", "0.5720395", "0.5719223", "0.57174134", "0.5713177", "0.5706904", "0.56958103", "0.5694445", "0.5682634", "0.5680906", "0.56740934", "0.5659893", "0.5653067", "0.5649067", "0.5640979", "0.5640948", "0.5640348", "0.5639227", "0.56366134", "0.563003", "0.56162983", "0.56154925", "0.56149036", "0.5610288", "0.56058395", "0.560185", "0.5591767", "0.55860233", "0.55826575", "0.5571822", "0.55601346", "0.55556905", "0.5555207", "0.5555139", "0.5553632", "0.554676", "0.55452305", "0.5536115", "0.55343246" ]
0.0
-1
/Write a method to convert from degrees to radians. Write a method to convert from radians to degrees. You are given a number n and n queries for conversion. Each conversion query will consist of a number + space + measure. Measures are "deg" and "rad". Convert all radians to degrees and all degrees to radians. Print the results as n lines, each holding a number + space + measure. Format all numbers with 6 digit after the decimal point. Examples:
public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner input = new Scanner(System.in); int count=input.nextInt(); input.nextLine(); for (int i = 0; i < count; i++) { double num=input.nextDouble(); String op=input.nextLine().trim(); System.out.printf("%s\n",Convert(num,op)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static double degToRad(float deg)\r\n/* 25: */ {\r\n/* 26:32 */ return deg * 3.141592653589793D / 180.0D;\r\n/* 27: */ }", "@Test\n\tvoid toRadiansConversionTestWithDegreeInput() throws CustomException {\n\t\tdouble input = 180;\n\t\tdouble actual = 3.141592653589793;\n\t\tdouble result = TrigLib.sine(input);\n\t\tassertNotEquals(result, actual, \"Output is not as expected as input is not converted to radians\");\n\t}", "public static double degreeToRadians(double num) { return (num*0.0174533); }", "public static float deg2rad(float deg) {return deg*D2R;}", "private double deg2rad(double deg) {\r\n return (deg * Math.PI / 180.0);\r\n }", "private static double radToDeg(float rad)\r\n/* 30: */ {\r\n/* 31:39 */ return rad * 180.0F / 3.141592653589793D;\r\n/* 32: */ }", "private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private double deg2rad(double deg) {\r\n return (deg * Math.PI / 180.0);\r\n }", "private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private double deg2rad(double deg) {\r\n\t\t\treturn (deg * Math.PI / 180.0);\r\n\t\t}", "public static float rad2deg(float rad) {return rad/D2R;}", "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private static double deg2rad(double deg) {\r\n\t\treturn (deg * Math.PI / 180.0);\r\n\t}", "private static double deg2rad(double deg) {\r\n\t\treturn (deg * Math.PI / 180.0);\r\n\t}", "private double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}", "private static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}", "private static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}", "private double rad2deg(double rad) {\r\n return (rad * 180.0 / Math.PI);\r\n }", "private double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "private static double rad(double deg) {\n return deg*Math.PI/180;\n }", "private double degToRadian(double angle)\n\t{\n\t\treturn angle/180*Math.PI;\n\t}", "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "private double rad2deg(double rad) {\r\n return (rad * 180.0 / Math.PI);\r\n }", "private double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "private double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "private static double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "public double degToRad(double degs)\r\n\t{\r\n\t\treturn (degs/180)*Math.PI;\r\n\t\t\r\n\t}", "private double rad2deg(double rad) {\r\n\t\t\treturn (rad * 180 / Math.PI);\r\n\t\t}", "private static double rad2deg(double rad) {\r\n\t\treturn (rad * 180.0 / Math.PI);\r\n\t}", "private static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}", "private double rad2deg(double rad) {\n\t\treturn (rad * 180.0 / Math.PI);\n\t}", "private static double rad2deg(double rad) {\n\t\treturn (rad * 180.0 / Math.PI);\n\t}", "@Test\n\tvoid toDegreesConversionTestWithRadianInput() throws CustomException {\n\t\tdouble input = 3.141592653589793;\n\t\tdouble actual = 180.0;\n\t\tdouble result = TrigLib.toDegrees(input);\n\t\tassertEquals(result, actual, \"Radian input converted into degree\");\n\t}", "@Test\n\tvoid tanTestWithConvertingToRadians() throws CustomException {\n\t\tdouble input = 30;\n\t\tdouble actual = 0.5773502691896257;\n\t\tdouble result1 = TrigLib.toRadians(input);\n\t\tdouble result = TrigLib.tan(result1);\n\t\tassertEquals(result, actual, \"Output is as expected as input is converted to radians\");\n\t}", "public static double toRadians(double degree) {\n\t\treturn (degree * 3.14159) / 180;\r\n\t\t\r\n\t}", "@Test\n\tvoid sinTestWithConvertingToRadians() throws CustomException {\n\t\tdouble input = 90;\n\t\tdouble actual = 1.0000000000000002;\n\t\tdouble result1 = TrigLib.toRadians(input);\n\t\tdouble result = TrigLib.sine(result1);\n\t\tassertEquals(result, actual, \"Output is as expected as input is converted to radians\");\n\t}", "public static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "private static double deg2rad(double lat1) {\n return (lat1*Math.PI/180.0);\n }", "public static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}", "static double DEG_to_RAD(double d) {\n return d * Math.PI / 180.0;\n }", "public double radToDeg(double rads)\r\n\t{\r\n\t\treturn (rads * 180)/Math.PI;\r\n\t\t\r\n\t}", "@Test\r\n public void testCalculateAngle1() {\r\n System.out.println(\"calculateAngle1\");\r\n DialDraw instance = new TachometerDraw();\r\n instance.setValue(36);\r\n double expResult = Math.toRadians(115.2);\r\n double result = instance.calculateAngle();\r\n assertEquals(result, expResult, 0.0001);\r\n }", "public static double toDegrees(double radian1) {\n\t\treturn (radian1 * 180) / 3.14159;\r\n\t\t\r\n\t}", "protected static float toRadians(int unit, float value) {\n \t\tswitch (unit) {\n \t\tcase CSSPrimitiveValue.CSS_DEG:\n \t\t\treturn (value * 5 / 9);\n \t\tcase CSSPrimitiveValue.CSS_RAD:\n \t\t\treturn value;\n \t\tcase CSSPrimitiveValue.CSS_GRAD:\n \t\t\treturn (float) (value * 100 / Math.PI);\n \t\tdefault:\n \t\t\tthrow new DOMException(DOMException.INVALID_ACCESS_ERR, \"\");\n \t\t}\n \t}", "public static Expression degreesToRadians(final Expression value) {\n return new Expression(\"$degreesToRadians\", value);\n }", "public static double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "public static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}", "@Test\r\n public void testCalculateAngle5() {\r\n System.out.println(\"calculateAngle5\");\r\n DialDraw instance = new TachometerDraw();\r\n instance.setValue(50);\r\n double expResult = Math.toRadians(90);\r\n double result = instance.calculateAngle();\r\n assertEquals(result, expResult, 0.0001);\r\n }", "public void calculateAngleAndRotate(){\n\t\tdouble cumarea = 0;\n\t\tdouble sina = 0;\n\t\tdouble cosa = 0;\n\t\tdouble area, angle;\n\t\tfor (int n = 0; n < rt.size();n++) {\n\t\t\tarea = rt.getValueAsDouble(rt.getColumnIndex(\"Area\"),n);\n\t\t\tangle = 2*rt.getValueAsDouble(rt.getColumnIndex(\"Angle\"),n);\n\t\t\tsina = sina + area*Math.sin(angle*Math.PI/180);\n\t\t\tcosa = cosa + area*Math.cos(angle*Math.PI/180);\n\t\t\tcumarea = cumarea+area;\n\t\t}\n\t\taverageangle = Math.abs(0.5*(180/Math.PI)*Math.atan2(sina/cumarea,cosa/cumarea)); // this is the area weighted average angle\n\t\t// rotate the data \n\t\tIJ.run(ActiveImage,\"Select All\",\"\");\n\t\tActiveImageConverter.convertToGray32();\n\t\tIJ.run(ActiveImage,\"Macro...\", \"code=[v= x*sin(PI/180*\"+averageangle+\")+y*cos(PI/180*\"+averageangle+\")]\");\n\t\treturn;\n\t}", "@Test\r\n public void testCalculateAngle4() {\r\n System.out.println(\"calculateAngle4\");\r\n DialDraw instance = new TachometerDraw();\r\n instance.setValue(90);\r\n double expResult = Math.toRadians(18);\r\n double result = instance.calculateAngle();\r\n assertEquals(result, expResult, 0.0001);\r\n }", "public static double degreesToRadians(double degrees) {\n double radians = degrees % 360;\n return radians * Math.PI / 180;\n }", "@Test\n\tvoid cosTestWithConvertingToRadians() throws CustomException {\n\t\tdouble input = 60;\n\t\tdouble actual = 0.5000000000000001;\n\t\tdouble result1 = TrigLib.toRadians(input);\n\t\tdouble result = TrigLib.cosine(result1);\n\t\tassertEquals(result, actual, \"Output is as expected as input is converted to radians\");\n\t}", "private void setRadians(double rad) {\r\n setDegreeNum(rad * (180.0 / Math.PI));\r\n }", "public static double DegToRad(double deg) {\n\t\treturn (deg / 180.0 * Math.PI);\n\t}", "float calcRotate(float rotateDeg, float anglePerIn)\n {\n return rotateDeg / anglePerIn;\n }", "public static float toRadians(float degrees) {\n float result = degrees * FastMath.DEG_TO_RAD;\n return result;\n }", "public double getRadians() {\r\n return degreeNum * (Math.PI / 180.0);\r\n }", "public static Expression radiansToDegrees(final Expression value) {\n return new Expression(\"$radiansToDegrees\", value);\n }", "@Test\n\tvoid tanTestWithRadiansInput() throws CustomException {\n\t\tdouble input = 0.5235987755982988;\n\t\tdouble actual = 0.5773502691896257;\n\t\tdouble result = TrigLib.tan(input);\n\t\tassertEquals(result, actual, \"Output is as expected as input is in radians\");\n\t}", "@Test\r\n public void testCalculateAngle2() {\r\n System.out.println(\"calculateAngle2\");\r\n DialDraw instance = new TachometerDraw();\r\n instance.setValue(0);\r\n double expResult = Math.toRadians(180);\r\n double result = instance.calculateAngle();\r\n assertEquals(result, expResult, 0.0001);\r\n }", "public static double findRadiun(int degree) {\r\n\t\treturn Math.toRadians(degree);\r\n\t}", "private static int convertDegreesToPolar(int degrees) {\n switch (degrees) {\n case -90:\n return 270;\n case -60:\n return 300;\n case -30:\n return 330;\n default:\n return degrees;\n }\n }", "public double convertToRadians(final double value) {\n return value * Math.PI / 180;\n }", "public float getRollRad(float[] quat) {\n float x = quat[0];\n float y = quat[1];\n float z = quat[2];\n float w = quat[3];\n final int pole = getGimbalPole(quat);\n return (float) (pole == 0 ? Math.atan2((double) (2f * (w * z + y * x)), (double) (1f - 2f * (x * x + z * z))) : (float) pole * 2f\n * Math.atan2(y, w));\n }", "public static double degreesToRadians(double degrees) {\n return degrees * 0.0174533;\n }", "public static void main(String args[])\n {\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int f = n/100;\n int s = ((n/10)%10);\n int t = n%10;\n int r = (t*100)+(s*10)+f;\n System.out.println(r);\n }", "public static double toRadians(double angdeg) {\n return angdeg * ((2 * PI) / 360.0);\n }", "static void chapter1Milestone3(double radius){\n double pi = 3.14;\n double circumfrence = radius * pi * 2;\n double area = pi * radius * radius;\n DecimalFormat df = new DecimalFormat(\"######.##\");\n System.out.println(\"Circumfrence is: \" + df.format(circumfrence));\n System.out.println(\"Area is: \" + df.format(area) + \"\\n\");\n }", "static private String decimalToDMS(double coord) {\n\t\tString output, degrees, minutes, seconds;\n\t\t// gets the modulus the coordinate divided by one (MOD1). In other words gets all the numbers after the decimal point. e.g. mod :=\n\t\t//-79.982195 % 1 == 0.982195. Next get the integer part of the coord. On other words the whole number part. e.g. intPart := -79\n\t\tdouble mod = coord % 1;\n\t\tint intPart = (int)coord;\n\t\t//set degrees to the value of intPart e.g. degrees := \"-79\"\n\t\tdegrees = String.valueOf(intPart);\n\t\t// next times the MOD1 of degrees by 60 so we can find the integer part for minutes. get the MOD1 of the new coord to find the\n\t\t//numbers after the decimal point. e.g. coord := 0.982195 * 60 == 58.9317 mod := 58.9317 % 1 == 0.9317\n\t\t// next get the value of the integer part of the coord. e.g. intPart := 58\n\t\tcoord = mod * 60;\n\t\tmod = coord % 1;\n\t\tintPart = (int)coord;\n\t\tif (intPart < 0) {// Convert number to positive if it's negative.\n\t\t\tintPart *= -1;\n\t\t}\n\t\t// set minutes to the value of intPart. e.g. minutes = \"58\"\n\t\tminutes = String.valueOf(intPart);\n\t\t//do the same again for minutes e.g. coord := 0.9317 * 60 == 55.902 e.g. intPart := 55\n\t\tcoord = mod * 60;\n\t\tintPart = (int)coord;\n\t\tif (intPart < 0) {// Convert number to positive if it's negative.\n\t\t\tintPart *= -1;\n\t\t}\n\t\t// set seconds to the value of intPart. e.g. seconds = \"55\"\n\t\tseconds = String.valueOf(intPart);\n\t\t// I used this format for android but you can change it to return in whatever format you like\n\t\toutput = degrees + \"°\" + minutes + \"'\" + seconds + \"″\";\n\t\t//Standard output of D°M′S″\n\t\t//output = degrees + \"°\" + minutes + \"′\" + seconds + \"\\\"\";\n\t\treturn output;\n\t}", "public double translateAngle( Figure f, double angle, double dir);", "public static void main(String[] args) {\n double x0=Math.PI/2;\n double dx=0.01;\n double f1;\n double f2;\n double m;\n\n double dr;\n f1=Math.cos(x0+dx);\n f2=Math.cos(x0-dx);\n m= Math.cos(x0)*2;\n dr=((f1)-(m)+(f2))/(dx*dx);\n\n System.out.println(dr);\n\n\n }", "public static double radiansToDegrees(double radians) {\n double degrees = radians % (2 * Math.PI);\n return degrees * 180 / Math.PI;\n }", "EDataType getAngleDegrees();", "public float calculateCelestialAngle(long par1, float par3)\n {\n return 0.5F;\n }", "@Test\r\n public void testCalculateAngle3() {\r\n System.out.println(\"calculateAngle3\");\r\n DialDraw instance = new TachometerDraw();\r\n instance.setValue(100);\r\n double expResult = Math.toRadians(0);\r\n double result = instance.calculateAngle();\r\n assertEquals(result, expResult, 0.0001);\r\n }", "protected static float toGradians(int unit, float value) {\n \t\tswitch (unit) {\n \t\tcase CSSPrimitiveValue.CSS_DEG:\n \t\t\treturn (float) (value * Math.PI / 180);\n \t\tcase CSSPrimitiveValue.CSS_RAD:\n \t\t\treturn (float) (value * Math.PI / 100);\n \t\tcase CSSPrimitiveValue.CSS_GRAD:\n \t\t\treturn value;\n \t\tdefault:\n \t\t\tthrow new DOMException(DOMException.INVALID_ACCESS_ERR, \"\");\n \t\t}\n \t}", "public void printRad(){\n System.out.println(\"The radius of the circle is: \" + getRadius());\n }", "@Test\n\tvoid sinTestWithDegreeInput() throws CustomException {\n\t\tdouble input = 90;\n\t\tdouble actual = 1.0000000000000002;\n\t\tdouble result = TrigLib.sine(input);\n\t\tassertNotEquals(result, actual, \"Output is not as expected as input is not converted to radians\");\n\t}", "@Test\n\tvoid tanTestWithDegreeInput() throws CustomException {\n\t\tdouble input = 30;\n\t\tdouble actual = 0.5773502691896257;\n\t\tdouble result = TrigLib.tan(input);\n\t\tassertNotEquals(result, actual, \"Output is not as expected as input is not converted to radians\");\n\t}", "public static double degreesToRadians(double degrees) {\n return normalizedRadians(degrees / 180.0 * Math.PI);\n }", "public double radians() {\n return Math.toRadians(this.degrees);\n }", "public static void print(int n) {\n int[][] data = new int[n][n];\n data[0][0] = 1;\n data[n - 1][n - 1] = n * n;\n\n //将蛇形矩阵按照正对角线分为上半部分和下半部分\n //现在先来设计上半部分,并且负责对角线,上半部分可将斜线的顺序记为k,按k的奇偶性进行判断\n //以斜线为基准打印\n for (int k = 1; k <= (n - 1); k++) {\n if (k % 2 == 1) {//当k为奇数时,代表每条斜线的最小值在上方\n data[0][k] = 1 + k * (k + 1) / 2;\n for (int i = 1; i <= k; i++) {\n data[i][k - i] = data[0][k] + i;//行递增,列递减\n\n }\n } else {//当k为偶数时,代表每条斜线的最小值在下方\n data[k][0] = 1 + k * (k + 1) / 2;\n for (int i = 0; i <= k; i++) {\n data[k - i][i] = data[k][0] + i;//行递减,列递增\n }\n }\n }//上半部分就已经设计好了,接着设计下半部分\n\n //下半部分就会显得比较复杂,首先要先判断n的奇偶性,还要再判断k的奇偶性\n //从左向右按照从大到小的顺序进行斜线的连接,同样以k代表斜线的序号\n if (n % 2 == 0) {//如果n为偶数\n for (int k = 1; k <= (n - 2); k++) {\n if (k % 2 == 1) {//当k为奇数的时候每条斜线的最大值在上方\n data[k][n - 1] = data[n - 1][n - 1] - (n - k - 1) * (n - k) / 2;\n for (int i = 1; i < n - k; i++) {\n data[k + i][n - 1 - i] = data[k][n - 1] - i;//行递增,列递减\n }\n } else {//当k为偶数的时候,每条斜线的最大值在下方\n data[n - 1][k] = data[n - 1][n - 1] - (n - k - 1) * (n - k) / 2;\n for (int i = 1; i < n - k; i++) {\n data[n - 1 - i][k + i] = data[n - 1][k] - i;//行递减,列递增\n }\n }\n }\n } else {//如果n为奇数,那么就是相反的\n for (int k = 1; k <= (n - 2); k++) {\n if (k % 2 == 0) {//当k为偶数的时候每条斜线的最大值在上方\n data[k][n - 1] = data[n - 1][n - 1] - (n - k - 1) * (n - k) / 2;\n for (int i = 1; i < n - k; i++) {\n data[k + i][n - 1 - i] = data[k][n - 1] - i;//行递增,列递减\n }\n } else {//当k为奇数的时候,每条斜线的最大值在下方\n data[n - 1][k] = data[n - 1][n - 1] - (n - k - 1) * (n - k) / 2;\n for (int i = 1; i < n - k; i++) {\n data[n - 1 - i][k + i] = data[n - 1][k] - i;//行递减,列递增\n }\n }\n }\n }//下半部分的就设计好咯\n\n //接下来就是显示矩阵咯\n\n for (int i = 0; i < data.length; i++) {\n for (int j = 0; j < data[i].length; j++) {\n System.out.print(data[i][j] + \"\\t\");\n }\n System.out.println();\n }//结束显示,结束print方法,进入main方法\n }", "public static double radiansToDegrees(double radians) {\n return radians / 0.0174533;\n }", "public static float radToDeg(float rad) {\n return (float) (rad*(180/Math.PI));\n }", "public static double RadToDeg(double rad) {\n\t\treturn (rad / Math.PI * 180.0);\n\t}", "public String raiz1 (){\r\n //primero, invocamos el determiante\r\n float det=determinante(); //se asigna al determinante de arriba\r\n String sol=\"raiz 1\"; //la solucion la evuelve como string\r\n if (det<0){\r\n sol=\"Raiz imaginaria\";\r\n }else {\r\n float r1= (float)(-b+ Math.sqrt(det) )/(2*a); \r\n //tambien aplicamos casting pata Math, con (float)\r\n sol=\"Raiz 1: \"+r1; //texto + valor agregado\r\n }\r\n return sol;\r\n \r\n //Uno para R1 y otro para R2 \r\n }", "int calDeg(int u){\n int ans=0;\n for (int i=0;i<n;i++){\n ans+=a[u][i];\n }\n return ans;\n }", "private int DirectionCalculation(int angle)\r\n\t{\t\r\n\t\treturn (int) ((angle/14.28)+1); //Angle divided by (100/(parts-1)) = 1-8\r\n\t}", "public static double radiansToDegrees(double radians) {\n return normalizedDegrees(radians / Math.PI * 180);\n }", "@Test\n\tvoid cosTestWithDegreeInput() throws CustomException {\n\t\tdouble input = 60;\n\t\tdouble actual = 0.5000000000000001;\n\t\tdouble result = TrigLib.cosine(input);\n\t\tassertNotEquals(result, actual, \"Output is not as expected as input is not converted to radians\");\n\t}", "public long getDenominator();", "public static float toDegrees(float radians) {\n float result = radians * FastMath.RAD_TO_DEG;\n return result;\n }", "public static void main(String[] args) {\n\t\tSystem.out.println(\"1. Dialing code for Tucson, AZ: \" + 520);\r\n\t\tSystem.out.println(\"2. Dialing code for Tempe, AZ: \" + 480);\r\n\t\tSystem.out.println(\"3. It is good to be \" + 9 + 9);\r\n\t\tSystem.out.println(\"4. It is good to be \" + (9 + 9));\r\n\t\tSystem.out.println(\"5. \" + 15.0 / 4.0);\r\n\t\tSystem.out.println(\"6. \" + 15.0 / 4);\r\n\t\tSystem.out.println(\"7. \" + 15 / 4.0);\r\n\t\tSystem.out.println(\"8. \" + 15 / 4);\r\n\t\tSystem.out.println(\"9. \" + 27 % 5);\r\n\t\tSystem.out.println(\"10. \" + 43 % 11);\r\n\t\tSystem.out.println(\"11. \" + -20 % 6);\r\n\t\tSystem.out.println(\"12. \" + (11 + 7 * 4));\r\n\t\tSystem.out.println(\"13. \" + ((11 + 7) * 4));\r\n\t\tSystem.out.println(\"14. \" + (8 * 4 + 10 / 2 + 7));\r\n\t\tSystem.out.println(\"15. \" + (28 % 6 + 9 % 4));\r\n\t\tSystem.out.println(\"16. \" + ((3 + 56 % 9) / 4));\r\n\t\tSystem.out.println(\"17. \" + ((3 + 56 % 9) / 4.0));\r\n\t\tSystem.out.println(\"18. \" + (150 / 2 / 2 / 2));\r\n\t\tSystem.out.println(\"19. \" + (150.0 / 2 / 2 / 2));\r\n\t\tSystem.out.println(\"20. \" + (150 / (2 / 2) / 2));\r\n\t\tint num;\r\n\t\tnum = 4;\r\n\t\tnum = num * 3;\r\n\t\tSystem.out.println(\"21. \" + num);\r\n\t\tint ber;\r\n\t\tber = 4;\r\n\t\tber = ber / 5;\r\n\t\tSystem.out.println(\"22. \" + ber);\r\n\t\tdouble total;\r\n\t\ttotal = 67;\r\n\t\ttotal = total + 2;\r\n\t\ttotal = total * 3;\r\n\t\ttotal = total / 9.0;\r\n\t\tSystem.out.println(\"23. \" + total);\r\n\t\tdouble width;\r\n\t\twidth = 1.8;\r\n\t\twidth = (43 - width * 10);\r\n\t\twidth = width / 6;\r\n\t\tSystem.out.println(\"24. \" + width);\r\n\t\tint count;\r\n\t\tdouble frac;\r\n\t\tcount = 17;\r\n\t\tfrac = 3.0 / 4.0;\r\n\t\tfrac = count * frac;\r\n\t\tcount = ((count + 7) / 3);\r\n\t\tfrac = count + frac;\r\n\t\tSystem.out.println(\"25. \" + count);\r\n\t\tSystem.out.println(\" \" + frac);\r\n\t\t\t\t\t\r\n\t}", "public String getRad() {\n\t\treturn rad;\r\n\t}", "double getAngle();" ]
[ "0.6278927", "0.6193188", "0.6099077", "0.6065252", "0.60403097", "0.6006806", "0.5989746", "0.5984784", "0.59697026", "0.59697026", "0.59656996", "0.59617853", "0.59302753", "0.59263945", "0.59263945", "0.59263945", "0.58859074", "0.58859074", "0.5857445", "0.5835958", "0.5835958", "0.58307755", "0.5828752", "0.5817923", "0.5791679", "0.57716304", "0.57716304", "0.57716304", "0.5766407", "0.57470685", "0.57470685", "0.57337147", "0.5725875", "0.56969285", "0.56909394", "0.56566787", "0.56295353", "0.56221837", "0.5593348", "0.55891544", "0.5521923", "0.54936177", "0.5416279", "0.54032123", "0.5390589", "0.5344897", "0.5328499", "0.5297061", "0.5281519", "0.52658993", "0.5247392", "0.52455187", "0.5240366", "0.5235834", "0.52174205", "0.520195", "0.51872015", "0.51555604", "0.5145374", "0.51443356", "0.5134736", "0.5128753", "0.5126122", "0.50914603", "0.5090782", "0.50841826", "0.50792", "0.5057592", "0.5044295", "0.50332296", "0.5030296", "0.50178397", "0.4998262", "0.49933985", "0.49907604", "0.49889138", "0.4988282", "0.4986345", "0.49747318", "0.49649516", "0.49526024", "0.49378502", "0.49341896", "0.49292484", "0.49184772", "0.49120915", "0.48934573", "0.4891999", "0.48881385", "0.48821664", "0.48265904", "0.4823436", "0.4799605", "0.47984934", "0.47812766", "0.47685704", "0.47492272", "0.47486222", "0.47485802", "0.4733772", "0.4721368" ]
0.0
-1
TODO Autogenerated method stub
@Override //@Transactional这个注解表示此方法运用事务 //SUPPORTS:支持当前事务,如果当前没有事务,就以非事务方式执行。 @Transactional(propagation = Propagation.SUPPORTS) public List<OrderHeader> batchUpdate(IRequest requestContext, List<OrderHeader> headers) { for (OrderHeader header : headers) { if (header!= null) { System.out.println(header.toString()); orderHeaderMapper.insertOrderHeader(header); } } return headers; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Gets the "TrafficControl" element
org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl getTrafficControl();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.landxml.schema.landXML11.TrafficControlType xgetControlType();", "org.landxml.schema.landXML11.TrafficControlType.Enum getControlType();", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().add_element_user(TRAFFICCONTROL$0);\r\n return target;\r\n }\r\n }", "public java.util.List<org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl> getTrafficControlList()\r\n {\r\n final class TrafficControlList extends java.util.AbstractList<org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl>\r\n {\r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl get(int i)\r\n { return IntersectionImpl.this.getTrafficControlArray(i); }\r\n \r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl set(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl o)\r\n {\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl old = IntersectionImpl.this.getTrafficControlArray(i);\r\n IntersectionImpl.this.setTrafficControlArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl o)\r\n { IntersectionImpl.this.insertNewTrafficControl(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl remove(int i)\r\n {\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl old = IntersectionImpl.this.getTrafficControlArray(i);\r\n IntersectionImpl.this.removeTrafficControl(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfTrafficControlArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new TrafficControlList();\r\n }\r\n }", "public String getTrafficType() {\n return this.trafficType;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n return traffic;\n }", "org.landxml.schema.landXML11.TrafficControlPosition.Enum getControlPosition();", "public Long getTraffic() {\n\t\treturn traffic;\n\t}", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] getTrafficControlArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(TRAFFICCONTROL$0, targetList);\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] result = new org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public double getTraffic() {\n return traffic;\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl getTrafficControlArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().find_element_user(TRAFFICCONTROL$0, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl();", "void setTrafficControl(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl);", "public Float getTraffic() {\r\n return traffic;\r\n }", "void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);", "public List<TrafficWeight> traffic() {\n return this.traffic;\n }", "public ElementHeader getControlFlowHeader()\n {\n return controlFlowHeader;\n }", "@java.lang.Override\n public MetricOuterClass.Metric getMetricControl() {\n return metricControl_ == null ? MetricOuterClass.Metric.getDefaultInstance() : metricControl_;\n }", "void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);", "public MetricOuterClass.Metric getMetricControl() {\n if (metricControlBuilder_ == null) {\n return metricControl_ == null ? MetricOuterClass.Metric.getDefaultInstance() : metricControl_;\n } else {\n return metricControlBuilder_.getMessage();\n }\n }", "public Boolean getInTrafficZone() {\n return inTrafficZone;\n }", "public int getNetworkApplicationInputTraffic() { return networkApplicationInputTraffic; }", "public FlowControl getFlowControl() {\n\t\treturn flowControl;\n\t}", "public int getTrafficClass()\r\n/* 135: */ {\r\n/* 136: */ try\r\n/* 137: */ {\r\n/* 138:158 */ return this.javaSocket.getTrafficClass();\r\n/* 139: */ }\r\n/* 140: */ catch (SocketException e)\r\n/* 141: */ {\r\n/* 142:160 */ throw new ChannelException(e);\r\n/* 143: */ }\r\n/* 144: */ }", "public Float getBhTraffic() {\r\n return bhTraffic;\r\n }", "public int sizeOfTrafficControlArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(TRAFFICCONTROL$0);\r\n }\r\n }", "public com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType getControlData()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType target = null;\n target = (com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType)get_store().find_element_user(CONTROLDATA$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl insertNewTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().insert_element_user(TRAFFICCONTROL$0, i);\r\n return target;\r\n }\r\n }", "public Control getControl() {\n checkWidget();\n return control;\n }", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "public int getNetworkPFInputTraffic() { return networkPFInputTraffic; }", "TrafficSelector selector();", "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "public Double getPercentTraffic() {\n return this.percentTraffic;\n }", "public java.lang.String getControlNumber() {\n return controlNumber;\n }", "public String getLightingControl() {\n return lightingControl;\n }", "public void setTrafficType(String trafficType) {\n this.trafficType = trafficType;\n }", "public int getNetworkPFOutputTraffic() { return networkPFOutputTraffic; }", "public Float getItraffic() {\r\n return itraffic;\r\n }", "public MetricOuterClass.MetricOrBuilder getMetricControlOrBuilder() {\n if (metricControlBuilder_ != null) {\n return metricControlBuilder_.getMessageOrBuilder();\n } else {\n return metricControl_ == null ?\n MetricOuterClass.Metric.getDefaultInstance() : metricControl_;\n }\n }", "public InetSocketAddress getControlAddress()\n {\n return rtcpTarget;\n }", "public int getNetworkApplicationOutputTraffic() { return networkApplicationOutputTraffic; }", "public java.lang.String getControlNumber() {\n return controlNumber;\n }", "TrafficTreatment treatment();", "Control getControl(String controlType);", "protected CircuitBreaker getCircuitBreaker() {\n return circuitBreaker;\n }", "public com.vmware.converter.DvsHostInfrastructureTrafficResource[] getInfrastructureTrafficResourceConfig() {\r\n return infrastructureTrafficResourceConfig;\r\n }", "static public LnTrafficController instance() {\n if (Meter == null) {\n new MeterLnTrafficController();\n }\n return Meter;\n }", "RunControlType getRunControl();", "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "public com.google.api.ads.adwords.axis.v201502.o.TrafficEstimatorResult get(com.google.api.ads.adwords.axis.v201502.o.TrafficEstimatorSelector selector) throws java.rmi.RemoteException, com.google.api.ads.adwords.axis.v201502.cm.ApiException;", "public ConnectPoint ingressCP() {\n return ingressCP;\n }", "private ControlPoint readControl(XmlPullParser parser) throws XmlPullParserException, IOException {\n\t\tparser.require(XmlPullParser.START_TAG, ns, \"control\");\n\n\t\tHashMap<String, String> attrs = getAttributesAsHashMap(parser);\n\t\tString point = attrs.get(\"point\");\n\t\tif(point == null) {\n\t\t\tmissingAttributeError(\"control\", \"point\");\n\t\t}\n\n\t\treturn new ControlPoint(point, attrs);\n\t}", "public Object getControl(String controlType) {\n\t\tif (translator == null)\n\t\t\treturn manager.getControl(controlType);\n\t\telse\n\t\t\treturn translator.getControl(this, controlType);\n\t}", "public TrafficLight getNextTrafficLight() {\n current_traffic_light_index += 1;\n current_traffic_light_index %= trafficLights.size();\n return trafficLights.get(current_traffic_light_index);\n }", "ElementCircuit getCible();", "public Control getControl(int index) {\n\t\tif (index < 0 || index >= controls.size())\n\t\t\treturn null;\n\t\treturn controls.get(index);\n\t}", "public Control getControl () {\r\n\tcheckWidget();\r\n\treturn control;\r\n}", "public HTMLDivElement getElementDivTableroControl() { return this.$element_DivTableroControl; }", "public CtrlPorta getCtrlP() {\r\n return this.ctrlPorta;\r\n }", "public void removeTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(TRAFFICCONTROL$0, i);\r\n }\r\n }", "public static CCControl instance() {\n if (cccontrol == null) {\n return (cccontrol = new CCControl());\n } else {\n return cccontrol;\n }\n }", "public void setTraffic(Float traffic) {\r\n this.traffic = traffic;\r\n }", "public String getWetCurtainOperation() {\n return wetCurtainOperation;\n }", "public static RcsServiceControl getRcsServiceControl() {\n return mRcsServiceControl;\n }", "public Waypoint getWpt() {\n return wpt;\n }", "static public LnTrafficController findLNController() {\n\t\tList<LocoNetSystemConnectionMemo> list = InstanceManager.getList(LocoNetSystemConnectionMemo.class);\n\t\tif (list.isEmpty()) {\n\t\t\tlog.fatal(\"No Loconet connection was detected\");\n\t\t\treturn null;\n\t\t}\n\t\tif (list.size() == 1) {\n\t\t\treturn list.get(0).getLnTrafficController();\n\t\t}\n\t\tfor (Object memo : list) {\n\t\t\tif (\"L\".equals(((SystemConnectionMemo) memo).getSystemPrefix())) {\n\t\t\t\treturn ((LocoNetSystemConnectionMemo) memo).getLnTrafficController();\n\t\t\t}\n\t\t}\n\t\treturn list.get(0).getLnTrafficController();\n\t}", "public ControlFlowProperties getControlFlowProperties()\n {\n return controlFlowProperties;\n }", "MetricOuterClass.Metric getMetricControl();", "public ControlPanel controlPanel() {\n return this.controlPanel;\n }", "@java.lang.Override\n public MetricOuterClass.MetricOrBuilder getMetricControlOrBuilder() {\n return getMetricControl();\n }", "default public int getControlToDevicePort()\t\t\t\t{ return 2226; }", "public double getKControl(int index) {\n return this.kControl[index];\n }", "public Float getOtraffic() {\r\n return otraffic;\r\n }", "public String getCacheControl() {\n return this.cacheControl;\n }", "public void _getControl() {\n model = oObj.getControl() ;\n\n tRes.tested(\"getControl()\", true) ;\n }", "public void setTraffic(Long traffic) {\n\t\tthis.traffic = traffic;\n\t}", "public java.lang.String getOpControl() {\r\n return localOpControl;\r\n }", "public java.lang.String getNetworkResourceControlVersion() {\r\n return networkResourceControlVersion;\r\n }", "public void setTrafficType(TrafficType trafficType) {\n withTrafficType(trafficType);\n }", "@Override public byte priority() { return UDP_PRIORITIES[_ctrl]; }", "public FlowElement getElement() {\n return element;\n }", "PlotControlType getPlotControl();", "public XmuCoreSwitchAdaptionElements getXmuCoreSwitchAdaptionAccess() {\r\n\t\treturn pXmuCoreSwitchAdaption;\r\n\t}", "public float[] controls_GET()\n {return controls_GET(new float[8], 0);}", "public float[] controls_GET()\n {return controls_GET(new float[8], 0);}", "public CtrlTelas getCtrlTelas() {\r\n return this.ctrlTelas;\r\n }", "public ChartPanel getChartPanel(){ \n\t\t return CPUframe; \n\t}", "private String getConnectionAirportFromHtmlElement(FlightHtmlRowsModel model) {\n if (model.getRowInfo1().select(EleSelectors.DIRECT.get()).first().html().equals(\"Direct\")) {\n return null;\n }\n if (!model.getLastRow().select(EleSelectors.STOP_INFO.get()).isEmpty()) {\n String stopInfo = model.getLastRow().select(EleSelectors.STOP_INFO.get()).first().html();\n return removeUnnecessaryInfo(EleSelectors.STOP_INFO, stopInfo);\n }\n if (!model.getLastRow().select(EleSelectors.STOP_INFO2.get()).isEmpty()) {\n String stopInfo = model.getLastRow().select(EleSelectors.STOP_INFO2.get()).first().html();\n return removeUnnecessaryInfo(EleSelectors.STOP_INFO2, stopInfo);\n }\n return null;\n }", "private boolean isControlPacket(Ethernet eth) {\n short type = eth.getEtherType();\n return type == Ethernet.TYPE_LLDP || type == Ethernet.TYPE_BSN;\n }", "ElementCircuit getSource();", "public Double latency() {\n return this.latency;\n }", "org.landxml.schema.landXML11.Station xgetStaStart();", "public String getSwitch() {\n return this.Switch;\n }", "public String getSwitch() {\n return this.Switch;\n }", "public static int getCTRL(String name) {\n return mapCTRL.get(name);\n }", "public short getLatencyTimer() throws FTD2XXException {\n ByteByReference byReference = new ByteByReference();\n ensureFTStatus(ftd2xx.FT_GetLatencyTimer(ftHandle, byReference));\n return (short) (byReference.getValue() & 0xFF);\n }" ]
[ "0.7130002", "0.6730046", "0.6518572", "0.6352506", "0.6306119", "0.62931174", "0.6270048", "0.6270048", "0.61675286", "0.6091648", "0.5967953", "0.5953476", "0.5942533", "0.5772555", "0.57679", "0.5709072", "0.56817496", "0.5576301", "0.55138713", "0.5485899", "0.5425705", "0.5383504", "0.5265455", "0.52593154", "0.52505046", "0.5237589", "0.52231115", "0.5214507", "0.5200478", "0.5178974", "0.51765937", "0.51606023", "0.51606023", "0.51201594", "0.50850785", "0.50760144", "0.5036816", "0.49956855", "0.4989761", "0.49574438", "0.49566427", "0.49521565", "0.49476302", "0.49132574", "0.48918995", "0.48784915", "0.48752648", "0.4857471", "0.48542875", "0.4848078", "0.4834332", "0.48325786", "0.4809497", "0.4789427", "0.47847676", "0.47599453", "0.47585553", "0.475315", "0.4737889", "0.47319406", "0.47158015", "0.4715132", "0.46947452", "0.46917543", "0.4689359", "0.46873915", "0.4670841", "0.46543404", "0.46277386", "0.46212614", "0.45961726", "0.45860863", "0.45662495", "0.45437288", "0.45367676", "0.45286474", "0.45236447", "0.45144764", "0.4513624", "0.45090112", "0.4489832", "0.44797722", "0.44757771", "0.44711202", "0.44656664", "0.44583622", "0.44514853", "0.44501573", "0.44501573", "0.44449726", "0.44382057", "0.44352123", "0.442951", "0.44270012", "0.4426708", "0.44243923", "0.44087744", "0.44087744", "0.44042766", "0.4395827" ]
0.82192343
0
Sets the "TrafficControl" element
void setTrafficControl(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);", "void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);", "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl();", "public void setTraffic(Float traffic) {\r\n this.traffic = traffic;\r\n }", "public void setTrafficClass (int tc) {\n if ( tc < 0 || tc > 255)\n throw new IllegalArgumentException();\n trafficClass = tc;\n }", "org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl getTrafficControl();", "public void setTraffic(Long traffic) {\n\t\tthis.traffic = traffic;\n\t}", "public void setTrafficType(TrafficType trafficType) {\n withTrafficType(trafficType);\n }", "public void setControlFlowHeader(ElementHeader controlFlowHeader)\n {\n this.controlFlowHeader = controlFlowHeader;\n }", "public void setTrafficControlArray(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] trafficControlArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(trafficControlArray, TRAFFICCONTROL$0);\r\n }\r\n }", "public void setTrafficControlArray(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().find_element_user(TRAFFICCONTROL$0, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(trafficControl);\r\n }\r\n }", "public void setTrafficType(String trafficType) {\n this.trafficType = trafficType;\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().add_element_user(TRAFFICCONTROL$0);\r\n return target;\r\n }\r\n }", "public void set(ControlMode controlMode, double value)\n {\n switch (controlMode)\n {\n case Throttle:\n super.set(value);\n// System.out.printf(\"Port: %d value %f\\n\", port, value);\n break;\n case Position:\n super.getPIDController().setReference(value, ControlType.kPosition);\n break;\n case Velocity:\n super.getPIDController().setReference(value, ControlType.kVelocity);\n break;\n }\n }", "public void setPercentTraffic(Double percentTraffic) {\n this.percentTraffic = percentTraffic;\n }", "public void setBhTraffic(Float bhTraffic) {\r\n this.bhTraffic = bhTraffic;\r\n }", "public void setFlowControl(FlowControl flowControl) throws FTD2XXException {\n ensureFTStatus(ftd2xx.FT_SetFlowControl(ftHandle, (short) flowControl.constant(), (byte) 0, (byte) 0));\n }", "org.landxml.schema.landXML11.TrafficControlType xgetControlType();", "public void setFlowControl(FlowControl flowControl, byte uXon, byte uXoff) throws FTD2XXException {\n ensureFTStatus(ftd2xx.FT_SetFlowControl(ftHandle, (short) flowControl.constant(), uXon, uXoff));\n }", "public void setController() {\n\t\tthis.controller = CarcassonneController.getInstance(null, this);\n\t\tcontroller.setControl(ClientControl.getInstance(controller,\n\t\t\t\ttxtAdress.getText(), Integer.parseInt(txtPort.getText())));\n\t\tthis.controller.getControl().addObserver(this);\n\t}", "public void setTrafficFromEachSuperAS(double traffic) {\n this.trafficFromSuperAS = traffic;\n }", "public SocketChannelConfig setTrafficClass(int trafficClass)\r\n/* 271: */ {\r\n/* 272: */ try\r\n/* 273: */ {\r\n/* 274:265 */ this.javaSocket.setTrafficClass(trafficClass);\r\n/* 275: */ }\r\n/* 276: */ catch (SocketException e)\r\n/* 277: */ {\r\n/* 278:267 */ throw new ChannelException(e);\r\n/* 279: */ }\r\n/* 280:269 */ return this;\r\n/* 281: */ }", "void setSettings(ControlsSettings settings);", "public void evel_threshold_cross_networkservice_set(String sheader)\r\n\t {\r\n\t\t EVEL_ENTER();\r\n\r\n\t\t /***************************************************************************/\r\n\t\t /* Check preconditions. */\r\n\t\t /***************************************************************************/\r\n\t\t assert(event_domain == EvelHeader.DOMAINS.EVEL_DOMAIN_THRESHOLD_CROSSING);\r\n\t\t \r\n\t\t assert(sheader != null);\r\n\r\n\t\t networkService.SetValuePr(\r\n\t\t sheader,\r\n\t\t \"Networking service value\");\r\n\t\t EVEL_EXIT();\r\n\t }", "void setReservedPacketCircuitType(int reservedPacketCircuitType);", "void setReservedPacketCircuitType(int reservedPacketCircuitType);", "public void setCrust(){\n this.crust = \"Thin\";\n }", "public void set(ControlType control_type, double magnitude) {\n climb_pid_controller.setReference(magnitude, control_type);\n }", "public void setInfrastructureTrafficResourceConfig(com.vmware.converter.DvsHostInfrastructureTrafficResource[] infrastructureTrafficResourceConfig) {\r\n this.infrastructureTrafficResourceConfig = infrastructureTrafficResourceConfig;\r\n }", "@Override\n\tpublic void set(double speed) {\n\t\tsuper.changeControlMode(TalonControlMode.PercentVbus);\n\t\tsuper.set(speed);\n\t\tsuper.enableControl();\n\t}", "public void setRegisterWriteControl() {\r\n // registers.setRegWrite();\r\n //this.registerWrite.setData(1);\r\n //registers.setRegWriteControl(this.registerWrite);\r\n }", "public void setControl(int c) {\n // PROGRAM 1: Student must complete this method\n //if c is on of the accepted controls, set control to c.\n if (c == 0 || c == 1 || c == 2 || c == 6 || c == 7) {\n \t\tcontrol = c;\n \t} else {\n //otherwise, throw exception\n \t\tthrow new IllegalArgumentException(\"Control value invalid\");\n \t}\n }", "public void setOpControl(java.lang.String param) {\r\n localOpControlTracker = param != null;\r\n\r\n this.localOpControl = param;\r\n }", "public void setControlFlowProperties(ControlFlowProperties controlFlowProperties)\n {\n this.controlFlowProperties = controlFlowProperties;\n }", "public void setItraffic(Float itraffic) {\r\n this.itraffic = itraffic;\r\n }", "public void operatorControl() {\n myRobot.setSafetyEnabled(true);\n while (isOperatorControl() && isEnabled()) {\n \tmyRobot.tankDrive(controller, 2, controller, 5);\n Timer.delay(0.005);\t\t// wait for a motor update time\n }\n }", "@SuppressWarnings(\"unused\")\n private void setTrafficEnabled(final JSONArray args, final CallbackContext callbackContext) throws JSONException {\n Boolean isEnabled = args.getBoolean(1);\n map.setTrafficEnabled(isEnabled);\n this.sendNoResult(callbackContext);\n }", "public void removeTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(TRAFFICCONTROL$0, i);\r\n }\r\n }", "public TPSControlWebServiceClient() {\n controlExecutor = newControlExecutor();\n controlExecutor.setControlUnit(TimeUnit.SECONDS);\n Executor executor = new RetryExecutor();\n ((RetryExecutor)executor).setExecutor(controlExecutor);\n this.setExecutor(executor);\n }", "public void setClan(String value);", "void setStaStart(double staStart);", "private void setupTurnRoadCharacteristic() {\n turnRoadCharacteristic =\n new BluetoothGattCharacteristic(CHARACT_TURNROAD_UUID,\n BluetoothGattCharacteristic.PROPERTY_READ | BluetoothGattCharacteristic.PROPERTY_WRITE | BluetoothGattCharacteristic.PROPERTY_NOTIFY,\n BluetoothGattCharacteristic.PERMISSION_READ | BluetoothGattCharacteristic.PERMISSION_WRITE);\n\n turnRoadCharacteristic.addDescriptor(\n Peripheral.getClientCharacteristicConfigurationDescriptor());\n\n turnRoadCharacteristic.addDescriptor(\n Peripheral.getCharacteristicUserDescriptionDescriptor(CHARACT_TURNROAD_DESC));\n\n turnRoadCharacteristic.setValue(turnRoadCharacteristic_value);\n }", "public String getTrafficType() {\n return this.trafficType;\n }", "public void setSetpoint(double setpoint) {\n \tthis.CTCSpeed = setpoint;\n }", "public void setBandwidth(String name,\n\t\t\t int value)\n\tthrows SdpException {\n\tif (name == null)\n\t throw new SdpException(\"The name is null\");\n\telse {\n\t for (int i = 0; i < bandwidthFields.size(); i++) {\n\t\tBandwidthField bandwidthField = (BandwidthField) \n\t\t bandwidthFields.elementAt(i);\n\t\tString type = bandwidthField.getBwtype();\n\t\tif (type != null && \n\t\t type.equals(name)) \n\t\t bandwidthField.setBandwidth(value);\n\t }\n \n\t}\n }", "public void setControls() {\r\n System.out.println(\"wire data is \" + this.controllerWire.getData());\r\n String operation = this.controlMemory.get(this.controllerWire.getData());\r\n System.out.println(\"Setting the controls for \" + operation);\r\n if (operation.equalsIgnoreCase(\"add\")) {\r\n //alu.setControl(1);\r\n this.ALUControl.setData(1);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n //aluMUX.setSelect(0);\r\n //regMUX.setSelect(0);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"addi\")) {\r\n //alu.setControl(1);\r\n this.ALUControl.setData(1);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"sub\")) {\r\n //alu.setControl(2);\r\n this.ALUControl.setData(2);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"lw\")) {\r\n// alu.setControl(8); // TODO \r\n this.ALUControl.setData(8);\r\n this.REG_MUXControl.setData(1);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.readWire.setData(1);\r\n memory.setReadWire(this.readWire);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"sw\")) {\r\n //alu.setControl(9); // TODO\r\n this.ALUControl.setData(9);\r\n //regMUX.setSelect(1);\r\n this.writeWire.setData(1);\r\n memory.setWriteWire(writeWire);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"sll\")) {\r\n //alu.setControl(6);\r\n this.ALUControl.setData(6);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"srl\")) {\r\n //alu.setControl(5);\r\n this.ALUControl.setData(5);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"and\")) {\r\n //alu.setControl(4);\r\n this.ALUControl.setData(4);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"andi\")) {\r\n //alu.setControl(4);\r\n this.ALUControl.setData(4);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"or\")) {\r\n //alu.setControl(3);\r\n this.ALUControl.setData(3);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"ori\")) {\r\n //alu.setControl(3);\r\n this.ALUControl.setData(3);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"nor\")) {\r\n //alu.setControl(7);\r\n this.ALUControl.setData(7);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"beq\")) {\r\n this.PC_MUXControl.setData(0);\r\n this.ALUControl.setData(10);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.ALU_MUXControl.setData(0);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n } else if (operation.equalsIgnoreCase(\"bne\")) {\r\n this.PC_MUXControl.setData(0);\r\n this.ALUControl.setData(11);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.ALU_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n\r\n } else if (operation.equalsIgnoreCase(\"jr\")) {\r\n this.PC_MUXControl.setData(1);\r\n this.ALUControl.setData(12);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.ALU_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"j\")) {\r\n this.PC_MUXControl.setData(1);\r\n this.ALUControl.setData(12);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.ALU_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n\r\n } else if (operation.equalsIgnoreCase(\"jal\")) {\r\n this.PC_MUXControl.setData(1);\r\n this.ALUControl.setData(16);\r\n this.PC_MUXControl.setData(1);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.ALU_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n this.REG_MUXControl.setData(0);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n\r\n } else if (operation.equalsIgnoreCase(\"slt\")) {\r\n this.ALUControl.setData(13);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n } else if (operation.equalsIgnoreCase(\"slti\")) {\r\n this.ALUControl.setData(13);\r\n this.ALU_MUXControl.setData(1);\r\n this.REG_MUXControl.setData(0);\r\n this.PC_MUXControl.setData(0);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n } else if (operation.equalsIgnoreCase(\"sltu\")) {\r\n this.ALUControl.setData(14);\r\n this.ALU_MUXControl.setData(0);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n } else if (operation.equalsIgnoreCase(\"sltui\")) {\r\n this.ALUControl.setData(14);\r\n this.ALU_MUXControl.setData(1);\r\n this.registerWrite.setData(1);\r\n registers.setRegWriteControl(this.registerWrite);\r\n this.REG_MUXControl.setData(0);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n regMUX.setSelect(this.REG_MUXControl);\r\n this.PC_MUXControl.setData(0);\r\n this.pcMUX.setSelect(this.PC_MUXControl);\r\n } else if (operation.equalsIgnoreCase(\"beq\")) {\r\n this.ALUControl.setData(14);\r\n this.ALU_MUXControl.setData(1);\r\n aluMUX.setSelect(this.ALU_MUXControl);\r\n this.registerWrite.setData(0);\r\n registers.setRegWriteControl(this.registerWrite);\r\n }\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"ALU CONTROL: \" + this.ALUControl.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"ALU MUX CONTROL: \" + this.ALU_MUXControl.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"PC MUX CONTROL: \" + this.PC_MUXControl.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"REG MUX CONTROL: \" + this.REG_MUXControl.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"MEMORY READ: \" + this.readWire.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"MEMORY WRITE: \" + this.writeWire.toString());\r\n instructionMemory.wiresLog.get(instructionMemory.COMMANDS_COUNTER).get(1).add(\"REGISTER WRITE: \" + this.registerWrite.toString());\r\n this.setRegisterWriteControl();\r\n }", "public void setControlListener(ControlListener c) { cListener = c; }", "public com.example.DNSLog.Builder setTC(boolean value) {\n validate(fields()[18], value);\n this.TC = value;\n fieldSetFlags()[18] = true;\n return this;\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl insertNewTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().insert_element_user(TRAFFICCONTROL$0, i);\r\n return target;\r\n }\r\n }", "public Ingress withTraffic(List<TrafficWeight> traffic) {\n this.traffic = traffic;\n return this;\n }", "@Override\n\tpublic void onTrafficStatusUpdate() {\n\n\t}", "public static void setCTRL(String name, int port) {\n mapCTRL.put(name, port);\n }", "public void setOtraffic(Float otraffic) {\r\n this.otraffic = otraffic;\r\n }", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "public void turnLightsOn()\n {\n set(Relay.Value.kForward);\n }", "public void setController(TimedControllerIfc controller);", "@Override\n public void onTrafficStatusUpdate() {\n\n }", "public MeterLnTrafficController() {\n super();\n Meter = this;\n MyGovernor = new Governor();\n Governor.OutputThread = new Thread(MyGovernor);\n Governor.OutputThread.setName(\"LnMeter\");\n Governor.OutputThread.start();\n Governor.OutputThread.setPriority(Thread.MAX_PRIORITY);\n if (FlowRate == null) {\n FlowRate = CounterFactory.CountKeeper.findSequence(\n CounterFactory.LNTAG);\n CounterFactory.CountKeeper.exposeSequence(CounterFactory.LNTAG);\n FlowRate.registerAdjustmentListener(this);\n DecoratedController = findLNController();\n }\n }", "org.landxml.schema.landXML11.TrafficControlType.Enum getControlType();", "public void setControl(EmployeeController control) {\r\n\t\tthis.control = control;\r\n\t}", "public void markAsControlPV(String pvPropId, String pvValuePropId){\n controlPVPropId = pvPropId;\n controlPVValuePropId = pvValuePropId;\n initUpdateSuppressTimer();\n }", "public void setNetworkConnection(boolean airplaneMode, boolean wifi, boolean data) {\n\n long mode = 1L;\n\n if (wifi) {\n mode = 2L;\n } else if (data) {\n mode = 4L;\n }\n\n ConnectionState connectionState = new ConnectionState(mode);\n ((AndroidDriver) getDriver()).setConnection(connectionState);\n System.out.println(\"Your current connection settings are :\" + ((AndroidDriver) getDriver()).getConnection());\n }", "@Override\r\n\tpublic void onTrafficStatusUpdate() {\n\r\n\t}", "public void setPort(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n localPortTracker =\r\n param != java.lang.Integer.MIN_VALUE;\r\n \r\n this.localPort=param;\r\n \r\n\r\n }", "public void setPort(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n localPortTracker =\r\n param != java.lang.Integer.MIN_VALUE;\r\n \r\n this.localPort=param;\r\n \r\n\r\n }", "public DeploymentCanarySettings withPercentTraffic(Double percentTraffic) {\n setPercentTraffic(percentTraffic);\n return this;\n }", "void setSpeed(RobotSpeedValue newSpeed);", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public void modifyTestElement(TestElement element)\n {\n configureTestElement(element);\n element.setProperty(TCPSampler.SERVER, server.getText());\n element.setProperty(TCPSampler.PORT, port.getText());\n\t\telement.setProperty(TCPSampler.FILENAME, filename.getText());\n\t\telement.setProperty(TCPSampler.NODELAY, nodelay.getText());\n\t\telement.setProperty(TCPSampler.TIMEOUT, timeout.getText());\n }", "public void setValue(short value) {\n this.value = value;\n }", "public final void setControls(ControlPosition controlPosition, Element element) {\n setControls(controlPosition.value(), element);\n }", "private void\nremotetrafficScroll_Change() {\n\n\t// 22sept03\n\tfloat remotetrafficscalemax = 1000 / ((systemDesign_.remotetrafficmax - systemDesign_.remotetrafficmin) / 2); // 'en 1.1 change scale\n\tfloat remotetrafficscalemin = 0.00001f / ((systemDesign_.remotetrafficmax - systemDesign_.remotetrafficmin) / 2); // 'en 1.1 change scale\n\tfloat scalelogmin = (float)Math.log(remotetrafficscalemin);\n\tfloat scalelogmax = (float)Math.log(remotetrafficscalemax);\n\tfloat remotetrafficscalelog = scalelogmin \n\t\t\t\t+ (scalelogmax - scalelogmin) \n\t\t\t\t* (systemDesign_.remotetraffic - systemDesign_.remotetrafficmin) \n\t\t\t\t/ (systemDesign_.remotetrafficmax - systemDesign_.remotetrafficmin);\n\n\tif (remotetrafficCheck) {\n\t\tsystemDesign_.remotetrafficscale = RnR.Exp(remotetrafficscalelog);\n//\t remotetrafficscale = remotetrafficscalex\n//\t scinumformat remotetrafficscale, remotetrafficscaleouttext\n//\t remotetrafficscaleText.Text = remotetrafficscaleouttext\n//\t remotetrafficvalue = remotetrafficaveText.Text * remotetrafficscale\n//\t scinumformat remotetrafficvalue, remotetrafficvalueouttext\n\t\t}\n\telse {\n\t\tsystemDesign_.remotetrafficscale = 0;\n//\t remotetrafficvalueouttext = \"0\"\n//\t remotetrafficvalue = 0\n//\t scinumformat remotetrafficvalue, remotetrafficvalueouttext\n\t\t}\n\n\n\tupdateStatelistScale(MetroParams.UPDATE_STATELIST_SCALE_REMOTE_TRAFFIC);\n\t}", "public void setTC(boolean value) {\n this.TC = value;\n }", "public void setValue(short value) {\n this.value = value;\n }", "public void operatorControl() {\n for (int i = 0; i < autoControllers.size(); i++) {\n ((EventController) autoControllers.elementAt(i)).disable();\n }\n for (int i = 0; i < teleopControllers.size(); i++) {\n ((EventController) teleopControllers.elementAt(i)).enable();\n }\n \n }", "public void setControlView() {\n\t\tif (mControlView != null) {\n\t\t\tmControlView.setRepeat(Const.FILTER_TEXT);\n\t\t\tmControlView.setPhotoTimeType(mLogicManager.getPageNum());\n\t\t\tmControlView.setFileName(mLogicManager\n\t\t\t\t\t.getCurrentFileName(Const.FILTER_TEXT));\n\t\t\tmControlView.setFilePosition(mLogicManager.getTextPageSize());\n\t\t}\n\t\tif(null!=mInfo && mInfo.isShowing())\n\t\t{\n\t\t\tmInfo.setTextView();\n\t\t}\n\t}", "@Override\n public void valueChanged(double control_val) {\n playbackRate.setValue((float)control_val);\n // Write your DynamicControl code above this line\n }", "@Override\n public void valueChanged(Boolean control_val) {\n if (!control_val){\n playbackDirection.setValue(PLAY_FORWARD);\n }\n else{\n playbackDirection.setValue(PLAY_REVERSE);\n }\n // Write your DynamicControl code above this line\n }", "public FlowLog withTrafficType(TrafficType trafficType) {\n this.trafficType = trafficType.toString();\n return this;\n }", "public void setTransport(String value) {\n setAttributeInternal(TRANSPORT, value);\n }", "public void setAttack(int attack) {\n base.setAttack(attack);\n }", "public void configVelocityControl() {\n leftDrive.configTeleopVelocity();\n rightDrive.configTeleopVelocity();\n }", "public void setControlPanelMotor(double speed) {\n controlPanelMotor.set(ControlMode.PercentOutput, speed);\n }", "public void setParameter(short param) throws TFTPPacketException;", "public void setGainControl(GainControl c) {\n if (this.gainControl != null) {\n removeControl(this.gainControl);\n }\n addControl(c);\n this.gainControl = c;\n }", "private void setControlModel(String setting, Object value) {\n\t\tHub.dataModel.put(setting, value);\n\t\tLog.d(TAG, \"Control model updated.\");\n\t}", "private void activateTrafficLight(TrafficLight activeTrafficLight) {\n for (TrafficLight trafficLight : trafficLights) {\n trafficLight.setState(TrafficLight.State.RED);\n }\n\n // Activating light\n this.activeTrafficLight = activeTrafficLight;\n activeTrafficLight.nextState();\n stepCounter = 0;\n }", "public void setActivity(Activity activity) {\n lastNeuron().setActivity(activity);\n }", "public void setBandwidth(long bandwidth) {\n data.setBandwidth(bandwidth);\n List<FlowPath> subPaths = getSubPaths();\n if (subPaths != null) {\n subPaths.forEach(path -> path.getData().setBandwidth(bandwidth));\n }\n }", "public void setSpeed(float val) {speed = val;}", "SoftSwitches(SoftSwitch softswitch) {\n this.softswitch = softswitch;\n }", "@Override\n\tpublic void setAttack(double attack) {\n\n\t}", "public ToggleControl() {\n\t\tfieldName = \"Untitled Control\";\n\t\tvalue = false;\n\t}", "@objid (\"c3f1412d-ca73-479b-8bf7-561601b3f34c\")\n void setStart(CommunicationNode value);", "public interface OutputControl extends Control {\n\n /**\n * Keys of value used for the http request\n */\n\n String KEY_STATE = \"state\";\n String KEY_FREQUENCE = \"frequency\";\n String KEY_DUTY_CYCLE = \"duty_cycle\";\n String KEY_SIGNAL_TYPE = \"signal_type\";\n String KEY_PWM_OUTPUT_TYP = \"pwm_output_type\";\n\n\n /**\n * direction of the Pin; Output\n */\n Direction direction = Direction.OUT;\n\n /**\n * return the name of the control\n * @return name of control\n */\n String getName();\n\n\n ContentValues getRequestParams();\n\n /**\n * Define the action to execute when View change its state.\n * The Event type depent of the type of control and should be implemented by the class\n * Its Stricty recomended to call it in all Constructors.\n */\n // TODO [L] try to wrap this in a parent class BaseSwitchControl\n public void setChangeListener();\n\n}" ]
[ "0.73623896", "0.72316974", "0.6997732", "0.69695306", "0.6672577", "0.6672577", "0.659941", "0.6422167", "0.62843025", "0.6065092", "0.6049651", "0.5984126", "0.58139867", "0.57840514", "0.5752835", "0.5738729", "0.5660101", "0.5538519", "0.5475612", "0.5471642", "0.54432464", "0.54093325", "0.53835815", "0.53701836", "0.52797836", "0.52674997", "0.5250873", "0.52330095", "0.5219047", "0.5219047", "0.51982516", "0.5140599", "0.5082688", "0.5057494", "0.5040393", "0.5009185", "0.49984807", "0.4997361", "0.49725276", "0.49697027", "0.49542177", "0.4949004", "0.49287224", "0.49096373", "0.48927024", "0.48852655", "0.48700392", "0.48622283", "0.48537663", "0.48278153", "0.48204765", "0.48102617", "0.48096386", "0.48092502", "0.48089936", "0.48058638", "0.48041287", "0.47926012", "0.47888425", "0.47865316", "0.4785588", "0.4768663", "0.47655857", "0.47562623", "0.47501543", "0.47499695", "0.47271085", "0.47270396", "0.47270396", "0.4721417", "0.47183442", "0.47176108", "0.47176108", "0.47134927", "0.46933234", "0.4688942", "0.46879524", "0.46846214", "0.46729034", "0.46652874", "0.4656825", "0.4640525", "0.46396556", "0.46367198", "0.46340883", "0.4621902", "0.46179396", "0.45959538", "0.45954436", "0.45941928", "0.45911664", "0.45879266", "0.4585083", "0.4583214", "0.45700127", "0.45589444", "0.45580274", "0.45572716", "0.45553115", "0.4548746" ]
0.8179234
0
Appends and returns a new empty "TrafficControl" element
org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl addNewTrafficControl()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().add_element_user(TRAFFICCONTROL$0);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl insertNewTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().insert_element_user(TRAFFICCONTROL$0, i);\r\n return target;\r\n }\r\n }", "org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl getTrafficControl();", "void setTrafficControl(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl);", "org.landxml.schema.landXML11.TrafficVolumeDocument.TrafficVolume addNewTrafficVolume();", "void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);", "void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);", "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "public java.util.List<org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl> getTrafficControlList()\r\n {\r\n final class TrafficControlList extends java.util.AbstractList<org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl>\r\n {\r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl get(int i)\r\n { return IntersectionImpl.this.getTrafficControlArray(i); }\r\n \r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl set(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl o)\r\n {\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl old = IntersectionImpl.this.getTrafficControlArray(i);\r\n IntersectionImpl.this.setTrafficControlArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl o)\r\n { IntersectionImpl.this.insertNewTrafficControl(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl remove(int i)\r\n {\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl old = IntersectionImpl.this.getTrafficControlArray(i);\r\n IntersectionImpl.this.removeTrafficControl(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfTrafficControlArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new TrafficControlList();\r\n }\r\n }", "public com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType addNewControlData()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType target = null;\n target = (com.amx.mexico.telcel.esb.v1_2.ControlDataResponseHeaderType)get_store().add_element_user(CONTROLDATA$0);\n return target;\n }\n }", "org.landxml.schema.landXML11.TrafficControlType xgetControlType();", "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "public void append(Node newNode)\r\n {\n newNode.prev = this;\r\n newNode.next = next;\r\n if (next != null)\r\n {\r\n next.prev = newNode;\r\n }\r\n next = newNode;\r\n System.out.println(\"Node added with Traffic Data \" + Arrays.toString(newNode.trafficEntry.toStringArray()) + \" added ontop of \" \r\n + prev.trafficEntry.convertToString());\r\n \r\n }", "void add(Control control);", "public void removeTrafficControl(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(TRAFFICCONTROL$0, i);\r\n }\r\n }", "public void c2pAddWire(IPWire presentation);", "public Ingress withTraffic(List<TrafficWeight> traffic) {\n this.traffic = traffic;\n return this;\n }", "public void addControl( Object aThing ){\n controls.push( aThing );\n }", "Builder withSelector(TrafficSelector selector);", "org.landxml.schema.landXML11.TrafficVolumeDocument.TrafficVolume insertNewTrafficVolume(int i);", "ch.crif_online.www.webservices.crifsoapservice.v1_00.ControlPerson addNewControlPersonsExt();", "Node()\r\n { // constructor for head Node \r\n prev = this;\r\n next = this;\r\n trafficEntry = new TrafficEntry();\r\n }", "@Override\n\tpublic Control build() {\n\t\treturn null;\n\t}", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] getTrafficControlArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(TRAFFICCONTROL$0, targetList);\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] result = new org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public int sizeOfTrafficControlArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(TRAFFICCONTROL$0);\r\n }\r\n }", "org.landxml.schema.landXML11.NoPassingZoneDocument.NoPassingZone addNewNoPassingZone();", "ch.crif_online.www.webservices.crifsoapservice.v1_00.AddressDescription addNewControlPersons();", "org.landxml.schema.landXML11.TrafficControlType.Enum getControlType();", "@Override\r\n\tpublic void createControl(Composite parent) {\r\n\t\t// the container\r\n\t\tcontainer = new Composite(parent, SWT.NULL);\r\n\t\tFillLayout fillLayout = new FillLayout();\r\n\t\tfillLayout.type = SWT.VERTICAL;\r\n\t\tcontainer.setLayout(fillLayout);\r\n\r\n\t\t// the status of the connection\r\n\t\tconnectionStatus = new CLabel(container, SWT.LEFT);\r\n\t\t// the image to display\r\n\t\tif (NetSource.getInstance().getConnection() != null) {\r\n\t\t\tsetTitle(\"Verbindung hergestellt\");\r\n\t\t\tsetDescription(\"Die Ausführung des Assistenten ist nicht notwendig\");\r\n\t\t\t// show true image\r\n\t\t\tconnectionStatus.setText(\"Es besteht bereits eine Verbindung zum Server.\\n\" + \"Die Ausführung des Assistenten is nicht nötig\");\r\n\t\t\tconnectionStatus.setImage(ImageFactory.getInstance().getRegisteredImage(\"wizars.server.connected\"));\r\n\t\t}\r\n\t\telse {\r\n\t\t\tsetTitle(\"Verbindung zum Server unterbrochen\");\r\n\t\t\tsetDescription(\"Mit diesem Assistenten können sie eine neue Verbindung aufbauen\");\r\n\t\t\t// show true image\r\n\t\t\tconnectionStatus.setText(\"Verbindung zum Server wurde unterbrochen.\\n\"\r\n\t\t\t\t\t+ \"Mit diesem Wizard kann die Verbindung zum Server wiederhergstellt werden\");\r\n\t\t\tconnectionStatus.setImage(ImageFactory.getInstance().getRegisteredImage(\"wizard.server.disconnected\"));\r\n\r\n\t\t\t// the label\r\n\t\t\tinfoText = new CLabel(container, SWT.LEFT);\r\n\t\t\tinfoText.setText(\"Klicken Sie auf weiter um einen neuen Server auszuwählen.\");\r\n\t\t}\r\n\t\t// Required to avoid an error in the system\r\n\t\tsetControl(container);\r\n\t}", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "public void setTraffic(Integer traffic) {\n this.traffic = traffic;\n }", "public void setTrafficControlArray(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl[] trafficControlArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(trafficControlArray, TRAFFICCONTROL$0);\r\n }\r\n }", "public void addControls() {\n }", "public AbstractPacketizer()\n {\n addControl(new PSC());\n }", "public org.hl7.fhir.GroupCharacteristic addNewCharacteristic()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.GroupCharacteristic target = null;\n target = (org.hl7.fhir.GroupCharacteristic)get_store().add_element_user(CHARACTERISTIC$12);\n return target;\n }\n }", "private Element generateEmptyOutboundElem(XmlProcessor hqmfXmlProcessor) {\n\t\tElement outboundRelElem = hqmfXmlProcessor.getOriginalDoc().createElement(OUTBOUND_RELATIONSHIP);\n\t\toutboundRelElem.setAttribute(TYPE_CODE, \"COMP\");\n\t\treturn outboundRelElem;\n\t}", "public DriverControl(){\n super(0);\n }", "@Override\n\tprotected void addToControl(Composite control) {\n\t\t\n\t}", "TrafficTreatment treatment();", "public static TapControlDSL addTapControl(String fromBusId, String toBusId, String cirId, AclfNetwork net) {\r\n\t\treturn new TapControlDSL(fromBusId, toBusId, cirId, net);\r\n\t}", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "abstract void createLowerTransportControlPDU(@NonNull final ControlMessage message);", "public void addElement() {\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\taddElement(newNode);\n\t}", "private void newNetworkDialogCreateButton(){\n //Create new networkData object here based on the field info\n LabData.NetworkData newNetworkData = new LabData.NetworkData(\n NetworkAddDialogNameTextfield.getText().toUpperCase(),\n NetworkAddDialogMaskTextfield.getText(),\n NetworkAddDialogGatewayTextfield.getText(),\n (int)NetworkAddDialogMacVLanExtSpinner.getValue(),\n (int)NetworkAddDialogMacVLanSpinner.getValue(),\n NetworkAddDialogIPRangeTextfield.getText(),\n NetworkAddDialogTapRadioButton.isSelected()\n );\n \n // Update the list of labs in the current UI data object\n labDataCurrent.getNetworks().add(newNetworkData);\n \n // Add the network into the UI \n addNetworkPanel(newNetworkData);\n \n // Update the Container Config dialogs to include the new network\n updateNetworkReferenceInContainerConfigDialogs(\"Add\", NetworkAddDialogNameTextfield.getText().toUpperCase(), null);\n }", "private void addWiFiUsage() {\n BatterySipper bs = new BatterySipper(DrainType.WIFI, null, 0);\n mWifiPowerCalculator.calculateRemaining(bs, mStats, mRawRealtimeUs, mRawUptimeUs,\n mStatsType);\n aggregateSippers(bs, mWifiSippers, \"WIFI\");\n if (bs.totalPowerMah > 0) {\n mUsageList.add(bs);\n }\n }", "public org.landxml.schema.landXML11.TimingDocument.Timing addNewTiming()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TimingDocument.Timing target = null;\r\n target = (org.landxml.schema.landXML11.TimingDocument.Timing)get_store().add_element_user(TIMING$2);\r\n return target;\r\n }\r\n }", "public void addAtStart(T value) {\n Node<T> newNode = new Node<>();\n newNode.data = value;\n newNode.next = head;\n head = newNode;\n }", "@Override\r\n\tpublic void initAditionalPanelElements() {\n\t\tchartDataset = new TimeSeriesCollection();\r\n\t\tfor(int i = 0; i < categoryVariableBuffers.size(); i++) \r\n\t\t\tchartDataset.addSeries(categoryVariableBuffers.get(i).getDataSerie());\r\n\t}", "public FlowLog withTrafficType(TrafficType trafficType) {\n this.trafficType = trafficType.toString();\n return this;\n }", "private Label addNewLabel() {\n getElement().getChildren().forEach(e -> getElement().removeChild(e));\n // Create and add a new slotted label\n Label label = new Label();\n label.getElement().setAttribute(\"slot\", \"label\");\n this.getElement().appendChild(label.getElement());\n return label;\n }", "@Override\n\tpublic Structure createNew() {\n\t\treturn new FloorSwitch();\n\t}", "public org.openxmlformats.schemas.presentationml.x2006.main.CTEmpty addNewPresent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.presentationml.x2006.main.CTEmpty target = null;\n target = (org.openxmlformats.schemas.presentationml.x2006.main.CTEmpty)get_store().add_element_user(PRESENT$0);\n return target;\n }\n }", "private void withdrawIntercepts() {\n TrafficSelector.Builder selector = DefaultTrafficSelector.builder();\n selector.matchEthType(Ethernet.TYPE_IPV4);\n packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);\n selector.matchEthType(Ethernet.TYPE_ARP);\n packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);\n selector.matchEthType(Ethernet.TYPE_IPV6);\n packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);\n }", "@Override\n\tpublic void crearControl(Control Control) throws Exception {\n\t\tcontrolMapper.crearControl(Control);\n\t}", "ComplicationOverlayWireFormat() {}", "public void setTraffic(Float traffic) {\r\n this.traffic = traffic;\r\n }", "public MeterLnTrafficController() {\n super();\n Meter = this;\n MyGovernor = new Governor();\n Governor.OutputThread = new Thread(MyGovernor);\n Governor.OutputThread.setName(\"LnMeter\");\n Governor.OutputThread.start();\n Governor.OutputThread.setPriority(Thread.MAX_PRIORITY);\n if (FlowRate == null) {\n FlowRate = CounterFactory.CountKeeper.findSequence(\n CounterFactory.LNTAG);\n CounterFactory.CountKeeper.exposeSequence(CounterFactory.LNTAG);\n FlowRate.registerAdjustmentListener(this);\n DecoratedController = findLNController();\n }\n }", "private void addComponents()\n\t{\n\t\tint x = 10;\n\t\tint y = 10;\n\t\tint stepY = 25;\n\t\taddFrequencyRouter(x,y);\n\t\ty = y + stepY;\n\t\taddFrequencyIpInput(x,y);\n\t\ty = y + stepY;\n\t\taddFrequencyIpOutput(x,y);\n\t\ty = y + stepY;\n\t\taddOk(x+80,y);\n\t}", "private void sendTrafficSummary() {\n\t\ttry {\n\t\t\tregistry.getSender().sendData(\n\t\t\t\t\tnew OverlayNodeReportsTrafficSummary(myAssignedID,\n\t\t\t\t\t\t\tsendTracker, relayTracker, sendSummation,\n\t\t\t\t\t\t\treceiveTracker, receiveSummation).getBytes());\n\t\t\tthis.sendTracker = 0; // reset all counters after reporting\n\t\t\tthis.relayTracker = 0;\n\t\t\tthis.receiveTracker = 0;\n\t\t\tthis.sendSummation = 0;\n\t\t\tthis.receiveSummation = 0;\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.getMessage()\n\t\t\t\t\t+ \" Trouble reporting traffic summary or closing sockets.\");\n\t\t}\n\t}", "public void addAtStart(T data) {\n Node<T> newNode = new Node<T>();\n newNode.data = data;\n\n newNode.next = head;\n head = newNode;\n size++;\n }", "public org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl getTrafficControlArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().find_element_user(TRAFFICCONTROL$0, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public OBGPControlPlane(Config aConfig, SimulationAccounting aAccounting) {\r\n\t\t\r\n\t\r\n\r\n\t\tsuper(aConfig);\r\n\t\t// System.out.println(\"Carregando plano de controle\");\r\n\t\tthis.accounting = (Accounting) aAccounting;\r\n\t\t// Get the links of this network\r\n\t\tlinks = config.getLinks();\r\n\t\t// System.out.println(links.toString());\r\n\t\t// Create the nodes of this network\r\n\t\tnodes = new LinkedHashMap<String, OBGPLabelSwitchRouter>();\r\n\t\t// Create the storage of disrupted connections by failure\r\n\t\tdisruptedLSP = new Hashtable<String, LightpathRequest>();\r\n\t\trestoredLSP = new Hashtable<String, Connection>();\r\n\t\t// Get the simulation parameters\r\n\t\tHashtable<String, Vector<String>> parameters = config\r\n\t\t\t\t.getSimulationParameters();\r\n\t\t// see all the parameters\r\n\t\tif (verbose)\r\n\t\t\tSystem.out.println(parameters.toString());\r\n\r\n\t\t// get all the asbrs. It will be important to identify the node\r\n\t\tasbrs = parameters.get(\"/Domains/ASBR\");\r\n\r\n\t\t// policyFrom = parameters.get(\"/Domains/POLICY/@from\");\r\n\t\tsetPolicy = new LinkedHashMap<String, Vector<String>>();\r\n\r\n\t\thopLimit = Integer.parseInt(parameters.get(\"/OPS/Hop/@limit\")\r\n\t\t\t\t.firstElement());\r\n\t\t// Get details about the RWA algorithm used\r\n\t\trerouting = ReRouting.valueOf(parameters.get(\"/RWA/Routing/@rerouting\")\r\n\t\t\t\t.firstElement());\r\n\r\n\t\t// Get the number of rerounting attempts\r\n\t\treroutingAttempts = Integer.parseInt(parameters.get(\r\n\t\t\t\t\"/RWA/Routing/@attempts\").firstElement());\r\n\t\t// Get the number of interomdina rerouting attempts\r\n\t\tmaxInterReroutingAttempts = Integer.parseInt(parameters.get(\r\n\t\t\t\t\"/RWA/Routing/@interAttempts\").firstElement());\r\n\t\t// The max number of rerouting attempts\r\n\t\tmaxReroutingAttempts = Integer.parseInt(parameters.get(\r\n\t\t\t\t\"/RWA/Routing/@maxAttempts\").firstElement());\r\n\t\tthis.alternative = reroutingAttempts + 1; // Number of k-shortest paths\r\n\t\twa = WavelengthAssignment.valueOf(parameters.get(\"/RWA/WA/@type\")\r\n\t\t\t\t.firstElement());\r\n\r\n\t\tmaxInterRoutes = Integer.parseInt(parameters.get(\r\n\t\t\t\t\"/RWA/Routing/@interRoutes\").firstElement());\r\n\r\n\t\tboolean serRT = Boolean.parseBoolean(parameters.get(\r\n\t\t\t\t\"/RWA/Serialize/@rt\").firstElement());\r\n\r\n\t\t// Gets the size of the time slice\r\n\t\ttimeSlice = Double.parseDouble(parameters.get(\r\n\t\t\t\t\"/Outputs/Transient/@timeSlice\").firstElement());\r\n\t\tactualTimeSlice = timeSlice;\r\n\t\t// Gets the time necessary for fault localization.\r\n\t\tfaultLocalizationTime = Double.parseDouble(parameters.get(\r\n\t\t\t\t\"/Failure/Timing/@localization\").firstElement());\r\n\t\tidentificationLength = Integer.parseInt(parameters.get(\r\n\t\t\t\t\"/OPS/Hop/@bytes\").firstElement());\r\n\r\n\t\tLinkedHashMap<String, ExplicitRoutingTable> rTables = null;\r\n\r\n\t\t// create the collection of graphs\r\n\t\tdomainGraphs = new LinkedHashMap<String, Graph>();\r\n\t\treroutedLSP = new LinkedHashMap<String, Connection>();\r\n\r\n\t\t/** GENERATION OF PER DOMAIN GRAPH */\r\n\r\n\t\tsetPerDomainPaths(graph, domainGraphs);\r\n\r\n\t\tif (serRT) {\r\n\t\t\tString fileRT = parameters.get(\"/RWA/Serialize/@file\")\r\n\t\t\t\t\t.firstElement();\r\n\r\n\t\t\trTables = this.read(fileRT);\r\n\t\t} else {\r\n\r\n\t\t\t/** COMMAND BLOCK: GENERATION OF PER-DOMAIN ROUTES */\r\n\r\n\t\t\tdomainSetPaths = new LinkedHashMap<String, LinkedHashMap<String, Vector<Path>>>();\r\n\t\t\t// Populates the hash table domainSetPaths with path inside each\r\n\t\t\t// domain\r\n\t\t\tfor (String domain : domainGraphs.keySet()) {\r\n\t\t\t\tdomainSetPaths.put(domain,\r\n\t\t\t\t\t\tthis.getPaths(domainGraphs.get(domain), alternative));\r\n\t\t\t}\r\n\t\t\t// Now, each domain has all the best paths from one node to another\r\n\t\t\t// (inside the same domain)\r\n\t\t}\r\n\r\n\t\t// We need to create a routing table of the node inside its own domain.\r\n\t\tfor (String domain : domainGraphs.keySet()) {\r\n\t\t\t// the Graph representing the domain\r\n\t\t\tGraph gDomain = domainGraphs.get(domain);\r\n\t\t\t// for each node inside the domain\r\n\t\t\tfor (String node : gDomain.nodes()) {\r\n\t\t\t\t// creates the routing table of this node\r\n\t\t\t\tExplicitRoutingTable rtable;\r\n\r\n\t\t\t\t// if this table comes from a file, so we need to load it\r\n\t\t\t\tif (rTables != null) {\r\n\t\t\t\t\trtable = rTables.get(node);\r\n\r\n\t\t\t\t} else { // otherwise, we need to create a new one\r\n\t\t\t\t\trtable = new ExplicitRoutingTable(node, alternative);\r\n\r\n\t\t\t\t\t// and the new routing table will be updated from the\r\n\t\t\t\t\t// topology\r\n\t\t\t\t\trtable.updateFromTopology(gDomain,\r\n\t\t\t\t\t\t\tdomainSetPaths.get(domain));\r\n\r\n\t\t\t\t\tRoutingTableEntry[][] teste = rtable.getRoutingTable();\r\n\r\n\t\t\t\t}\r\n\t\t\t\t// the adjacents nodes from this node\r\n\t\t\t\tVector<String> adjacent = gDomain.adjacentNodes(node);\r\n\t\t\t\t// the linkstate hashmap\r\n\t\t\t\tLinkedHashMap<String, LinkState> linkStateSet = new LinkedHashMap<String, LinkState>();\r\n\r\n\t\t\t\tfor (String adjId : adjacent) {\r\n\t\t\t\t\t// get the link between node and adjacent\r\n\t\t\t\t\tLink link = links.get(node + \"-\" + adjId);\r\n\t\t\t\t\t// create a linkState\r\n\t\t\t\t\tLinkState linkState = new LinkState(link);\r\n\t\t\t\t\t// put this on a link state\r\n\t\t\t\t\tlinkStateSet.put(adjId.toString(), linkState);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// if the current node is an ASBR, so, we need to\r\n\t\t\t\t// generate all links to its neighbors\r\n\t\t\t\tif (asbrs.contains(node)) {\r\n\t\t\t\t\tif (verbose)\r\n\t\t\t\t\t\tSystem.out.println(\"OBGP Info: Este no eh um ASBR\");\r\n\r\n\t\t\t\t\tVector<String> adjancent = graph.adjacentNodes(node);\r\n\r\n\t\t\t\t\tfor (int i = 0; i < adjancent.size(); i++) {\r\n\t\t\t\t\t\tif (!getDomain(adjancent.get(i))\r\n\t\t\t\t\t\t\t\t.equals(getDomain(node))) {\r\n\t\t\t\t\t\t\tLink link = links\r\n\t\t\t\t\t\t\t\t\t.get(node + \"-\" + adjancent.get(i));\r\n\t\t\t\t\t\t\tLinkState lstate = new LinkState(link);\r\n\t\t\t\t\t\t\tlinkStateSet.put(adjancent.get(i).toString(),\r\n\t\t\t\t\t\t\t\t\tlstate);\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Create the node and put it into the table.\r\n\t\t\t\tOBGPLabelSwitchRouter obgpLSR = new OBGPLabelSwitchRouter(node,\r\n\t\t\t\t\t\trtable, linkStateSet, gDomain, wa, rerouting,\r\n\t\t\t\t\t\tmaxReroutingAttempts, reroutingAttempts,\r\n\t\t\t\t\t\tasbrs.contains(node), getDomain(node),\r\n\t\t\t\t\t\tmaxInterReroutingAttempts);\r\n\r\n\t\t\t\tnodes.put(node, obgpLSR);\r\n\r\n\t\t\t\t// System.out.println(\"=== Routing Table ===\\n\"\r\n\t\t\t\t// + obgpLSR.getRoutingTable().toString());\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t * GUSTAVO [old] // Initialize the state of each node for (String id :\r\n\t\t * graph.nodes()) { // System.out.println(\"...: \"+id); // Create the\r\n\t\t * routing table for this node ExplicitRoutingTable ert; if (rTables !=\r\n\t\t * null) { ert = rTables.get(id); } else { ert = new\r\n\t\t * ExplicitRoutingTable(id, alternative); ert.updateFromTopology(graph,\r\n\t\t * setPaths); // System.out.println(ert.toString()); } // Create the\r\n\t\t * links adjacent to this node. Vector<String> adjacent =\r\n\t\t * graph.adjacentNodes(id); // System.out.println(adjacent.toString());\r\n\t\t * LinkedHashMap<String, LinkState> linkStateSet = new\r\n\t\t * LinkedHashMap<String, LinkState>(); // for each adjacent node do for\r\n\t\t * (String adjId : adjacent) { Link link = links.get(id + \"-\" + adjId);\r\n\t\t * LinkState linkState = new LinkState(link);\r\n\t\t * linkStateSet.put(adjId.toString(), linkState); } // Create the node\r\n\t\t * and put it into the table. // AQUI EU CRIO OS NODES\r\n\t\t * OBGPLabelSwitchRouter node = new OBGPLabelSwitchRouter(id, ert,\r\n\t\t * linkStateSet, graph, wa, rerouting, maxReroutingAttempts,\r\n\t\t * reroutingAttempts); nodes.put(id, node); }\r\n\t\t */\r\n\r\n\t\t/** INTER-DOMAIN ROUTING POLICY */\r\n\r\n\t\t// generates the inter-domain routing\r\n\t\t// required by the next steps\r\n\t\t// read policy from XML and generates the policy rules\r\n\t\tsetPolicy(setPolicy);\r\n\t\t// generateASPathv2(setPolicy);\r\n\t\t// simulates Path dissemation from BGP generating AS-PATH\r\n\t\tLinkedHashMap<String, ArrayList<Vector<String>>> ASPath = generateASPath(setPolicy);\r\n\t\tOBGPRoutingTable interdomainRoutes = new OBGPRoutingTable(ASPath);\r\n\t\t// System.out.println(domainGraphs.toString());\r\n\t\t// Fill the Interdomain Routing Table\r\n\t\t// All interdomain routes does not contain :\r\n\t\t// Example: 1:a-1:g is an intra-domain route\r\n\t\t// and 1-2 is an interdomain route\r\n\t\t// for (String key : setPolicy.keySet()) {\r\n\t\t// if (!key.contains(\":\")) {\r\n\t\t// interdomainRoutes.putEntry(key, ASPath.get(key));\r\n\t\t// interdomainRoutes.putEntry(key, setPolicy.get(key));\r\n\t\t// }\r\n\r\n\t\t// }\r\n\r\n\t\tSystem.out.println(\"Tabela de Rotas - Interdominio\");\r\n\t\tSystem.out.println(interdomainRoutes.toString());\r\n\t\t// System.out.println(\"Os links:\");\r\n\t\t// System.out.println(config.getLinks().toString());\r\n\r\n\t\tSystem.out.println(\"JA PASSEI PELO CONSTRUTOR\");\r\n\t}", "public eu.aladdin_project.xsd.OperationResult addNewOut()\n {\n synchronized (monitor())\n {\n check_orphaned();\n eu.aladdin_project.xsd.OperationResult target = null;\n target = (eu.aladdin_project.xsd.OperationResult)get_store().add_element_user(OUT$0);\n return target;\n }\n }", "public Builder addCurrentTripsBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureCurrentTripsIsMutable();\n currentTrips_.add(value);\n onChanged();\n return this;\n }", "public CircuitPanel createBlankCircuit(boolean isSubCircuit) {\r\n \r\n // Construct the containing frame, also set position\r\n CircuitFrame cir = new CircuitFrame(this, untitledIndex++, isSubCircuit);\r\n if(getActiveCircuit() != null){\r\n cir.setBounds(getActiveCircuit().getParentFrame().getBounds().x,\r\n getActiveCircuit().getParentFrame().getBounds().y,\r\n cir.getWidth(),\r\n cir.getHeight());\r\n }\r\n final CircuitFrame finalCir = cir;\r\n cir.addInternalFrameListener(new InternalFrameAdapter(){\r\n @Override\r\n public void internalFrameClosed(InternalFrameEvent e) {\r\n circuitwindows.remove(finalCir);\r\n if(circuitwindows.size()==0){\r\n enableToolbar(false);\r\n refreshWindowsMenu();\r\n }\r\n }\r\n });\r\n \r\n // Add the new frame to the list of windows and to the Desktop Window Pane\r\n circuitwindows.add(cir);\r\n enableToolbar(true);\r\n DesktopPane.add(cir, javax.swing.JDesktopPane.DEFAULT_LAYER);\r\n \r\n // Make the new circuit active\r\n setActiveCircuit(cir.getCircuitPanel());\r\n \r\n // Register the Command History components with the new circuits Command History\r\n cir.getCircuitPanel().getCommandHistory().addUndoEmptyListener(UndoButton);\r\n cir.getCircuitPanel().getCommandHistory().addRedoEmptyListener(RedoButton);\r\n cir.getCircuitPanel().getCommandHistory().addUndoEmptyListener(Undo);\r\n cir.getCircuitPanel().getCommandHistory().addRedoEmptyListener(Redo);\r\n \r\n // Populate Windows menu \r\n refreshWindowsMenu();\r\n \r\n return getActiveCircuit(); \r\n }", "public FlowLog withTrafficType(String trafficType) {\n setTrafficType(trafficType);\n return this;\n }", "public void setTrafficType(String trafficType) {\n this.trafficType = trafficType;\n }", "public void setControlFlowHeader(ElementHeader controlFlowHeader)\n {\n this.controlFlowHeader = controlFlowHeader;\n }", "org.landxml.schema.landXML11.SpeedsDocument.Speeds addNewSpeeds();", "Builder withTreatment(TrafficTreatment treatment);", "private void addNetworkPanel(NetworkData data){\n networkPanePanelLength+=51;\n NetworkPanePanel.setPreferredSize(new Dimension(0,networkPanePanelLength));\n \n // Create the Network Obj Panel and add it\n NetworkPanePanel.add(new NetworkObjPanel(this, data)); \n \n // Redraw GUI with the new Panel\n NetworkPanePanel.revalidate();\n NetworkPanePanel.repaint(); \n \n //Lower the Scroll Bar to show the newly added container (BUG[6/25/20]: still always off by a single panel)\n networkScrollPaneBar.setValue(networkScrollPaneBar.getMaximum());\n \n // Make the Network Add Dialog Disappear\n NetworkAddDialog.setVisible(false);\n }", "private void addNetworkButton(){\n NetworkAddDialogGatewayTextfield.setText(\"\");\n NetworkAddDialogIPRangeTextfield.setText(\"\");\n NetworkAddDialogMacVLanExtSpinner.setValue(0);\n NetworkAddDialogMacVLanSpinner.setValue(0);\n NetworkAddDialogMaskTextfield.setText(\"\");\n NetworkAddDialogNameTextfield.setText(\"\");\n NetworkAddDialogTapRadioButton.setSelected(false);\n NetworkAddDialog.setVisible(true);\n }", "@Override\n public void onTrafficStatusUpdate() {\n\n }", "@Override\n protected Node newNode() {\n return new WebXStyleElementImpl();\n }", "private void createNetworksPanel() {\n\t\ttabs = new ArrayList<>();\n\t\tnetworksPanel = new JTabbedPane();\n\t\tthis.add(networksPanel, BorderLayout.CENTER);\n\t}", "public com.walgreens.rxit.ch.cda.StrucDocThead addNewThead()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.StrucDocThead target = null;\n target = (com.walgreens.rxit.ch.cda.StrucDocThead)get_store().add_element_user(THEAD$6);\n return target;\n }\n }", "public nc.vo.crd.bd.interf.zyhtvo.ZyhtVO addNewZyhtVO()\n {\n synchronized (monitor())\n {\n check_orphaned();\n nc.vo.crd.bd.interf.zyhtvo.ZyhtVO target = null;\n target = (nc.vo.crd.bd.interf.zyhtvo.ZyhtVO)get_store().add_element_user(ZYHTVO$0);\n return target;\n }\n }", "private Composite createDeviceControls(final Device device) {\n\t\tif (device == null || device.getDeviceType() == null) {\n\t\t\treturn top;\n\t\t}\n\n\t\ttop.setLayout(new GridLayout());\n\n\t\tComposite mainPartControl = new DevicePanelDecorator(device).getPanel(\n\t\t\t\ttop, SWT.NONE, device);\n\t\tif (mainPartControl == null) {\n\t\t\tmainPartControl = new Composite(top, SWT.NONE);\n\t\t\tViewUtils.createLabelPane(mainPartControl, \"No control defined\");\n\t\t} else {\n\t\t\tfinal GridData centering = new GridData(SWT.FILL, SWT.FILL, true,\n\t\t\t\t\ttrue);\n\t\t\tmainPartControl.setLayoutData(centering);\n\n\t\t\t((DeviceUI) mainPartControl).updateControls(device);\n\t\t\tmainPartControl.getShell().layout(false, true);\n\t\t\t((DeviceUI) mainPartControl).finishLayout();\n\t\t}\n\n\t\treturn mainPartControl;\n\t}", "TrafficSelector selector();", "org.landxml.schema.landXML11.RoadwayDocument.Roadway addNewRoadway();", "private static void prepareAdvData() {\n ADV_DATA.add(createDateTimePacket());\n ADV_DATA.add(createDeviceIdPacket());\n ADV_DATA.add(createDeviceSettingPacket());\n for (int i = 0; i < 3; i++) {\n ADV_DATA.add(createBlackOutTimePacket(i));\n }\n for (int i = 0; i < 3; i++) {\n ADV_DATA.add(createBlackOutDatePacket(i));\n }\n }", "@Override\r\n\tpublic Element newEvent(String source, String type, int t) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tif(!mEventStarted) {\r\n\t\t\tmRoot = mDocument.createElement(\"slice\");\r\n\t\t\tmRoot.setAttribute(\"date\", Integer.toString(t));\r\n\t\t\tmDocument.appendChild(mRoot);\r\n\t\t} else if (t != mLastCycle) {\r\n\t\t\tthis.finishEvent();\r\n\t\t\tmRoot = mDocument.createElement(\"slice\");\r\n\t\t\tmRoot.setAttribute(\"date\", Integer.toString(t));\r\n\t\t\tmDocument.appendChild(mRoot);\r\n\t\t}\r\n\t\tmLastCycle = t;\r\n\t\tmEventStarted = true;\r\n\t\t\r\n\t\tmID++;\r\n\t\tmCurrentEvent = mDocument.createElement(\"event\");\r\n\t\tmCurrentEvent.setAttribute(\"id\", Integer.toString(mID));\r\n\t\tmCurrentEvent.setAttribute(\"source\", source);\r\n\t\tmCurrentEvent.setAttribute(\"date\", Integer.toString(t));\r\n\t\tElement typeElement = mDocument.createElement(\"type\");\r\n//\t\ttypeElement.setTextContent(type);\r\n\t\ttypeElement.appendChild(mDocument.createTextNode(type));\r\n\t\tmCurrentEvent.appendChild(typeElement);\r\n\t\tmRoot.appendChild(mCurrentEvent);\r\n\r\n\t\treturn mCurrentEvent;\r\n\t}", "org.landxml.schema.landXML11.BridgeElementDocument.BridgeElement addNewBridgeElement();", "void addPC(PCDevice pc);", "@Override\n\tpublic void ConstructNetwork() {\n\t\t\n\t\tAddUnit add_r_t=new AddUnit();\n\t\tUnitIterator ui=new UnitIterator();\n\t\tui.unit=add_r_t;\n\n\t\tnetwork=new UnitList();\n\t\tnetwork.unitList.add(ui);\n\t\tnetwork.unitList.add(new AddUnit());\n\t\t\t\n\t}", "public Element createEmptyElement(EmptyTask task) {\n\t\tElement empty = this.document.createElement(\"empty\");\n\t\t\n//\t\tBPELUtil.setStandardAttributes(empty, task);\n\t\t\n//\t\treturn createScopeForAttachedHandlers(empty, task);\n\t\treturn null;\n\t\t\n\t}", "public TrafficService() {\n\t\tLog.i(TAG, \"service started\");\n\t}", "protected XMLElement createAnotherElement() {\n return new XMLElement(this.conversionTable,\n this.skipLeadingWhitespace,\n false,\n this.ignoreCase);\n }", "public com.example.DNSLog.Builder clearTC() {\n fieldSetFlags()[18] = false;\n return this;\n }", "void makeControlFlowGraph(SubpDefinition pSubpDef, SubpFlow pSubpFlow) {\n BBlock firstBBlock;\n BBlock lastBBlock;\n Stmt lHirBody = pSubpDef.getHirBody();\n generateBBlocks(lHirBody, pSubpFlow);\n flowRoot.ioRoot.dbgFlow.print(2, //##11 //##25\n \"makeControlFlowGraph\", \"of HIR\"); //##11\n\n firstBBlock = null;\n lastBBlock = null;\n lastBBlock = makeEdge(lHirBody, firstBBlock);\n firstBBlock = findEntryBlock();\n deleteEdge(firstBBlock);\n recordReachableBBlocks();\n findExitBlock();\n pSubpFlow.correlateBBlockAndIR(); //##25\n }", "private Widget buildElementWithVSACValueSetWidget() {\r\n mainPanel = new VerticalPanel();\r\n mainPanel.getElement().setId(\"mainPanel_VerticalPanel\");\r\n mainPanel.setWidth(\"95%\");\r\n mainPanel.add(new SpacerWidget());\r\n mainPanel.add(new SpacerWidget());\r\n return mainPanel;\r\n }", "public org.landxml.schema.landXML11.TurnSpeedDocument.TurnSpeed addNewTurnSpeed()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TurnSpeedDocument.TurnSpeed target = null;\r\n target = (org.landxml.schema.landXML11.TurnSpeedDocument.TurnSpeed)get_store().add_element_user(TURNSPEED$6);\r\n return target;\r\n }\r\n }", "@Override\n public void addNew(int latency) {\n count.getAndIncrement();\n }", "public TrackCircuit()\n {\n \tfailureMode = 0; //set to Normal Operation\n trackOccupancy = false;\n }", "public void setTrafficControlArray(int i, org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl target = null;\r\n target = (org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl)get_store().find_element_user(TRAFFICCONTROL$0, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(trafficControl);\r\n }\r\n }", "public com.eviware.soapui.coverage.SegmentType addNewSegment()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.eviware.soapui.coverage.SegmentType target = null;\n target = (com.eviware.soapui.coverage.SegmentType)get_store().add_element_user(SEGMENT$2);\n return target;\n }\n }", "@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)\n private void addTrafficStatsTag(Request<?> request) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {\n TrafficStats.setThreadStatsTag(request.getTrafficStatsTag());\n }\n }", "public void setTraffic(Long traffic) {\n\t\tthis.traffic = traffic;\n\t}", "public com.walgreens.rxit.ch.cda.CE addNewEthnicGroupCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.CE target = null;\n target = (com.walgreens.rxit.ch.cda.CE)get_store().add_element_user(ETHNICGROUPCODE$20);\n return target;\n }\n }", "public ChildSA withTraffic(Long traffic) {\n\t\tthis.traffic = traffic;\n\t\treturn this;\n\t}" ]
[ "0.72119415", "0.5940448", "0.5864771", "0.5735787", "0.5662564", "0.56413454", "0.5446943", "0.52750236", "0.5232815", "0.52066886", "0.5054267", "0.5034545", "0.50101495", "0.49265012", "0.48510885", "0.47602138", "0.47313938", "0.4701996", "0.46862537", "0.4667485", "0.4658153", "0.46346897", "0.45868927", "0.4570317", "0.453379", "0.45326507", "0.45237547", "0.45112774", "0.45050138", "0.4474478", "0.4474478", "0.4466719", "0.44607052", "0.4456265", "0.44522002", "0.444672", "0.4411535", "0.44056746", "0.4395878", "0.43860066", "0.4363467", "0.4347679", "0.434474", "0.43432498", "0.4324975", "0.4319269", "0.43069082", "0.4306101", "0.43058056", "0.43033487", "0.4299118", "0.4298793", "0.42928997", "0.42912236", "0.42886606", "0.42714903", "0.42673385", "0.4263971", "0.42608225", "0.42600733", "0.42541623", "0.42514533", "0.42399442", "0.4235927", "0.42271113", "0.42150533", "0.4213628", "0.42107198", "0.4200622", "0.41999635", "0.4196911", "0.41945323", "0.41935375", "0.41909647", "0.41891143", "0.4182966", "0.4178861", "0.41717163", "0.41627827", "0.4157538", "0.41465756", "0.41436988", "0.41406888", "0.413907", "0.41347805", "0.41252142", "0.4123574", "0.41224828", "0.41182235", "0.41170856", "0.41153705", "0.4115035", "0.4113347", "0.41120252", "0.41059017", "0.41050068", "0.41029537", "0.4098283", "0.40960056", "0.40868852" ]
0.7594828
0
Gets a List of "Feature" elements
java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Feature> getFeatures();", "List<IFeature> getFeatureList();", "java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();", "java.util.List<java.lang.String> getFeaturesList();", "List<String> getFeatures();", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "public Iterator<SimpleFeature> getFeatures() {\n \treturn this.iterator();\n }", "public List<String> getFeatures() {\n return features;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$14, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public java.util.List getFeature() \n {\n \tModelFacade instance = ModelFacade.getInstance(this.refOutermostPackage().refMofId());\n \tif (instance != null && \n \t\tinstance.isRepresentative(this.refMofId())&&\n \t\tinstance.hasRefObject(this.refMofId()))\n \t{ \t\n \t\tList list = instance.getFeature(this.refMofId());\n \t\tlist.addAll(super_getFeature());\n \t\t\n \t\treturn list; \t\t\n \t}\n \n \treturn super_getFeature();\n }", "public FeatureSet getFeatures() {\n\treturn features;\n }", "public Set<String> getFeatures();", "public Feature[] getFeatures() {\n Feature[] features = new Feature[rows.size()];\n for(int i=0;i<features.length;i++){\n features[i] = (Feature)rows.elementAt(i);\n }\n return features;\n }", "public DasFeature[] getAllFeatures() {\n Vector feats = new Vector();\n while (iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9) != -1) {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n if (feature.indexOf(\"<NOTE>No features found for the segment</NOTE>\") < 0) {\n DasFeature f = new DasFeature(feature);\n feats.add(f);\n }\n }\n DasFeature[] features = new DasFeature[feats.size()];\n feats.toArray(features);\n return features;\n }", "public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;", "@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }", "java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();", "public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }", "@Override\n public synchronized Set<FeatureType> getFeatures() {\n return features = nonNullSet(features, FeatureType.class);\n }", "public vis.smart.webservice.ProteinFeaturesFeature[] getFeature() {\n return feature;\n }", "public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}", "public FeatureElements getFeatureAccess() {\n\t\treturn pFeature;\n\t}", "Collection<StructuralFeature> getTypedFeatures();", "private static List<IFeature> parseFeatures(WMElement features) {\n List<IFeature> trainingFeatures = new ArrayList<>();\n for (int i = 0; i < features.ConvertToIdentifier().GetNumberChildren(); i++) {\n IFeature res;\n WMElement curFeatureType = features.ConvertToIdentifier().GetChild(i);\n WMElement curFeature = curFeatureType.ConvertToIdentifier().GetChild(0);\n String featureName = curFeature.GetAttribute();\n String featureVal = curFeature.GetValueAsString();\n double featureValNumerical = -1.0;\n try {\n featureValNumerical = Double.parseDouble(featureVal);\n } catch (Exception e) {\n if (featureVal.equalsIgnoreCase(\"true\")) {\n featureValNumerical = 1.0;\n } else if (featureVal.equalsIgnoreCase(\"false\")) {\n featureValNumerical = 0.0;\n }\n }\n\n switch (curFeatureType.GetAttribute()) {\n case \"boolean\":\n res = new BooleanFeature(featureName, featureValNumerical);\n break;\n case \"numerical\":\n res = new NumericalFeature(featureName, featureValNumerical);\n break;\n case \"categorical\":\n res = new CategoricalFeature(featureName, featureVal);\n break;\n default:\n throw new IllegalArgumentException(\"Given feature type is not supported.\");\n }\n\n trainingFeatures.add(res);\n }\n return trainingFeatures;\n }", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature[] getPlanFeatureArray();", "Iterator features();", "Collection<Feature> getReference();", "java.lang.String getFeatures(int index);", "public Collection<String> getProvideFeature();", "ArrayList<Feature> getFeatures(String userid, String project)throws Exception;", "private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}", "@Override\n public synchronized Set<FeatureType> getFeatureInstances() {\n return featureInstances = nonNullSet(featureInstances, FeatureType.class);\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }", "public List<FeatureDataBean> getAllFeatures() throws GenericDatabaseException {\n List<String> ids = new ArrayList<>();\n ids.add(UMFeatureDao.PARENT);\n \n Map<String,Object> equals=new HashMap<>();\n equals.put(UMFeatureDao.IS_ACTIVE, Boolean.TRUE);\n \n Map<QueryOperators, Object> criteria = new HashMap<>();\n criteria.put(QueryOperators.IS_NULL, ids);\n criteria.put(QueryOperators.EQUAL, equals);\n \n return (convertFeatureDataBeanToFeatureModel(featureService.retrieveFeatures(null, criteria, null)));\n }", "public Set<SimpleFeature> getFeatures(Name name) throws Exception {\n\t\tif (typeNameIndex.get(name)==null) throw new Exception(\"Type not found\");\n\t\treturn typeNameIndex.get(name);\n\t}", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature getPlanFeatureArray(int i);", "private List<String> extractFeatures() {\n List<String> result = new ArrayList<String>();\n\n int startPoint = -1;\n\n List<TextPosition> featureItem;\n for (int i = 0; i < infoBlock.size(); i++) {\n // To get index of the text in the information block, if the text does not exist, the index will be -1.\n int index = CommonUtils.collectTextBuffer(infoBlock.get(i)).indexOf(FEATURE_KEY);\n if (index != -1) {\n startPoint = i + 1;\n\n // To locate the PDF object from the text feature to the end of the information block.\n featureItem = infoBlock.get(i).subList(index, index + FEATURE_KEY.length());\n\n // To extract information vertically. startPoint now is where the information block next to the\n // one that contains text feature.\n if (startPoint != -1) {\n result = filterTextBuffersVerical(featureItem, infoBlock, startPoint, 10);\n/*\t\t\t\t\t\tfor(String item: result)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println(item);\n\t\t\t\t\t\t}*/\n }\n\n break;\n }\n }\n\n return result;\n }", "public abstract List<QualifiedName> getAffectedFeatureTypes();", "java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode> \n getNodeList();", "public List<IDataSet> extractAll(String featureType);", "List<FeatureDistribution> asFeatureDistributions();", "public IDataSet extractFeatures(String featureType);", "public Iterator<Feature> featureIterator(){\n\t\treturn indexByFeature.keySet().iterator();\n\t}", "@UML(identifier=\"featureType\", obligation=OPTIONAL, specification=ISO_19139)\n Collection<? extends LocalName> getFeatureTypes();", "iet.distributed.telemetry.Feature getFeature(int index);", "public String getFeature() {\r\n return feature;\r\n }", "public MyRectangle[] getFeature() {\n return rectangles;\n }", "Feature getFeature();", "Feature getFeature();", "String getFeature();", "String getFeature();", "@SuppressWarnings(\"rawtypes\")\n\tfinal public List<Class<? extends Feature>> getFeatureClasses(String name) {\n\t\treturn this.featureClasses.get(name);\n\t}", "public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode> getNodeList() {\n return node_;\n }", "public static List<Feature> getList(int id) throws SQLException {\r\n\t\tString VideoIdColumnName = \"VIDEO_ID\";\r\n\t\tResultSet rs = operation.getRow(\"VENDOR_MODEL\", VideoIdColumnName, id);\r\n\t\t\t\t\r\n\t\tList<Feature> list = new ArrayList<Feature>();\r\n\r\n\t\twhile (rs.next()) {\r\n\t\t\t\r\n\t\t\tFeature feature = new Feature()\r\n\t\t\t\t\t.setFeatureId(rs.getString(\"FEATURE_ID\"))\r\n\t\t\t\t\t.setVideoId(rs.getString(\"VIDEO_ID\"))\r\n\t\t\t\t\t.setFeatureName(rs.getString(\"FEATURE_NAME\"))\r\n\t\t\t\t\t.setFeatureVector(rs.getString(\"FEATURE_VECTOR\"))\r\n\t\t\t\t\t.setCreationDate(rs.getString(\"CREATION_DATE\"));\r\n\r\n\t\t\tlist.add(feature);\r\n\t\t}\r\n\r\n\t\tSystem.out.println(list.size());\r\n\t\treturn list;\r\n\t}", "public FeatureCollection<SimpleFeatureType,SimpleFeature> getCollection() {\n return (SimpleFeatureCollection) collection;\n }", "private ArrayList<IFeatureClass> getFeatureClassFromLayers(IMxDocument mxd) throws Exception{\n\t\tIMap map = mxd.getFocusMap();\n\t\tArrayList<IFeatureClass> features = new ArrayList<IFeatureClass>();\n\t\tILayer layer;\n\t\tfor(int i = 0; i < map.getLayerCount(); i++){\n\t\t\tlayer = map.getLayer(i);\n\t\t\tif(layer instanceof IFeatureLayer){\n\t\t\t\tIFeatureLayer featurelayer = (IFeatureLayer) layer;\n\t\t\t\tfeatures.add(featurelayer.getFeatureClass());\n\t\t\t}\n\t\t}\n\t\treturn features;\n\t}", "java.util.List<? extends uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNodeOrBuilder> \n getNodeOrBuilderList();", "public Integer getFeature() {\n return feature;\n }", "com.google.protobuf.ByteString getFeaturesBytes(int index);", "public org.pentaho.pms.cwm.pentaho.meta.core.CwmStructuralFeature getFeature();", "public ListOfOnixElement<ResourceFileFeatureDescription, String> resourceFileFeatureDescriptions() {\n _initialize();\n return resourceFileFeatureDescriptions;\n }", "List<PolicyEngineFeatureApi> getFeatureProviders();", "@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(URI uri);", "private String[] detectFeatures() {\n \t\t\tchangeStampIsValid = false;\n \t\t\tfeaturesChangeStampIsValid = false;\n \t\t\tparent.changeStampIsValid = false;\n \t\t\tparent.featuresChangeStampIsValid = false;\n \n \t\t\tfeatures = new ArrayList();\n \n \t\t\tif (!supportsDetection(resolvedURL))\n \t\t\t\treturn new String[0];\n \n \t\t\t// locate feature entries on site\n \t\t\tFile siteRoot = new File(resolvedURL.getFile().replace('/', File.separatorChar));\n \t\t\tFile root = new File(siteRoot, FEATURES);\n \n \t\t\tString[] list = root.list();\n \t\t\tString path;\n \t\t\tFile plugin;\n \t\t\tfor (int i = 0; list != null && i < list.length; i++) {\n \t\t\t\tpath = list[i] + File.separator + FEATURE_XML;\n \t\t\t\tplugin = new File(root, path);\n \t\t\t\tif (!plugin.exists()) {\n \t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\tfeatures.add(FEATURES + \"/\" + path.replace(File.separatorChar, '/')); //$NON-NLS-1$\n \t\t\t}\n \t\t\tif (DEBUG) {\n \t\t\t\tdebug(resolvedURL.toString() + \" located \" + features.size() + \" feature(s)\"); //$NON-NLS-1$ //$NON-NLS-2$\n \t\t\t}\n \n \t\t\treturn (String[]) features.toArray(new String[0]);\n \t\t}", "public static Vector TEST_LIST(Feature f) {\n\n Vector v = new Vector();\n if (IS_CONTINUOUS(f.type)) {\n if (f.dmax - f.dmin <= 0.0) {\n v = null;\n } else {\n double vmin = f.dmin;\n double vmax = f.dmax;\n double delta = (vmax - vmin) / ((double) (NUMBER_CONTINUOUS_TIES + 1));\n double vcur = vmin + delta;\n int i;\n for (i = 0; i < NUMBER_CONTINUOUS_TIES; i++) {\n v.addElement(new Double(vcur));\n vcur += delta;\n }\n }\n } else if (IS_INTEGER(f.type)) {\n if (f.imax - f.imin <= 0) {\n v = null;\n } else {\n int vmin = f.imin;\n int nvals = f.imax - f.imin;\n int i;\n for (i = 0; i < nvals; i++) {\n v.addElement(new Integer(vmin + i));\n }\n }\n } else if (IS_NOMINAL(f.type)) {\n if (!Discriminator_Tree.RANDOMISE_SPLIT_FINDING_WHEN_TOO_MANY_SPLITS)\n v = Utils.ALL_NON_TRIVIAL_SUBSETS(f.modalities);\n else if (f.modalities.size() <= Discriminator_Tree.MAX_CARD_MODALITIES_BEFORE_RANDOMISATION)\n v = Utils.ALL_NON_TRIVIAL_SUBSETS(f.modalities);\n else\n v =\n Utils.ALL_NON_TRIVIAL_BOUNDED_SUBSETS(\n f.modalities, Discriminator_Tree.MAX_SIZE_FOR_RANDOMISATION);\n if (v.size() == 0) v = null;\n }\n\n return v;\n }", "protected Vector getFeatureSet()\n {\n // get the superclass' vector\n Vector v = super.getFeatureSet();\n\n // add the features\n\n // return the vector\n return v;\n }", "private List<XmlElementNameAndContents> encodeFeatures(TOP fs, AttributesImpl attrs,\n boolean insideListNode) throws SAXException {\n List<XmlElementNameAndContents> childElements = new ArrayList<>();\n // int heapValue = cds.cas.getHeapValue(addr);\n // int[] feats = cds.tsi.ll_getAppropriateFeatures(heapValue);\n\n String attrValue;\n // boolean isSofa = false;\n // if (sofaTypeCode == heapValue)\n // {\n // // set isSofa flag to apply SofaID mapping and to store sofaNum->xmi:id mapping\n // isSofa = true;\n // }\n for (final FeatureImpl fi : fs._getTypeImpl().getFeatureImpls()) {\n\n if (cds.isFiltering) {\n // skip features that aren't in the target type system\n String fullFeatName = fi.getName();\n if (cds.filterTypeSystem_inner.getFeatureByFullName(fullFeatName) == null) {\n continue;\n }\n }\n\n final String featName = fi.getShortName();\n final int featureValueClass = fi.rangeTypeClass;\n\n switch (featureValueClass) {\n\n case LowLevelCAS.TYPE_CLASS_BYTE:\n case LowLevelCAS.TYPE_CLASS_SHORT:\n case LowLevelCAS.TYPE_CLASS_INT:\n case LowLevelCAS.TYPE_CLASS_LONG:\n case LowLevelCAS.TYPE_CLASS_FLOAT:\n case LowLevelCAS.TYPE_CLASS_DOUBLE:\n case LowLevelCAS.TYPE_CLASS_BOOLEAN:\n attrValue = fs.getFeatureValueAsString(fi);\n break;\n\n case LowLevelCAS.TYPE_CLASS_STRING:\n attrValue = fs.getFeatureValueAsString(fi);\n break;\n\n // Arrays\n case LowLevelCAS.TYPE_CLASS_INTARRAY:\n case LowLevelCAS.TYPE_CLASS_FLOATARRAY:\n case LowLevelCAS.TYPE_CLASS_BOOLEANARRAY:\n case LowLevelCAS.TYPE_CLASS_BYTEARRAY:\n case LowLevelCAS.TYPE_CLASS_SHORTARRAY:\n case LowLevelCAS.TYPE_CLASS_LONGARRAY:\n case LowLevelCAS.TYPE_CLASS_DOUBLEARRAY:\n case LowLevelCAS.TYPE_CLASS_FSARRAY:\n if (cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n } else {\n attrValue = arrayToString(fs.getFeatureValue(fi), featureValueClass);\n }\n break;\n\n // special case for StringArrays, which stored values as child elements rather\n // than attributes.\n case LowLevelCAS.TYPE_CLASS_STRINGARRAY:\n StringArray stringArray = (StringArray) fs.getFeatureValue(fi);\n if (cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(stringArray);\n } else if (stringArray != null && stringArray.size() == 0) {\n attrValue = \"\"; // https://issues.apache.org/jira/browse/UIMA-5558\n } else {\n stringArrayToElementList(featName, (StringArray) fs.getFeatureValue(fi),\n childElements);\n attrValue = null;\n }\n break;\n\n // Lists\n case CasSerializerSupport.TYPE_CLASS_INTLIST:\n case CasSerializerSupport.TYPE_CLASS_FLOATLIST:\n case CasSerializerSupport.TYPE_CLASS_FSLIST:\n TOP startNode = fs.getFeatureValue(fi);\n if (insideListNode || cds.isStaticMultiRef(fi)) {\n // If the feature has multipleReferencesAllowed = true OR if we're already\n // inside another list node (i.e. this is the \"tail\" feature), serialize as a normal\n // FS.\n // Otherwise, serialize as a multi-valued property.\n // if (cds.isStaticMultRef(feats[i]) ||\n // cds.embeddingNotAllowed.contains(featVal) ||\n // insideListNode) {\n\n attrValue = cds.getXmiId(startNode);\n } else {\n attrValue = listToString((CommonList) fs.getFeatureValue(fi));\n }\n break;\n\n // special case for StringLists, which stored values as child elements rather\n // than attributes.\n case CasSerializerSupport.TYPE_CLASS_STRINGLIST:\n if (insideListNode || cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n } else {\n // it is not safe to use a space-separated attribute, which would\n // break for strings containing spaces. So use child elements instead.\n StringList stringList = (StringList) fs.getFeatureValue(fi);\n if (stringList == null) {\n attrValue = null;\n } else {\n if (stringList instanceof EmptyStringList) {\n attrValue = \"\";\n } else {\n List<String> listOfStrings = stringList.anyListToStringList(null, cds);\n // if (array.length > 0 && !arrayAndListFSs.put(featVal, featVal)) {\n // reportWarning(\"Warning: multiple references to a ListFS. Reference identity\n // will not be preserved.\");\n // }\n for (String string : listOfStrings) {\n childElements.add(new XmlElementNameAndContents(\n new XmlElementName(\"\", featName, featName), string));\n }\n attrValue = null;\n }\n }\n }\n break;\n\n default: // Anything that's not a primitive type, array, or list.\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n break;\n\n } // end of switch\n\n if (attrValue != null && featName != null) {\n addAttribute(attrs, featName, attrValue, \"\");\n }\n } // end of for loop over all features\n\n // add out-of-typesystem features, if any\n if (cds.sharedData != null) {\n OotsElementData oed = cds.sharedData.getOutOfTypeSystemFeatures(fs);\n if (oed != null) {\n // attributes\n Iterator<XmlAttribute> attrIter = oed.attributes.iterator();\n while (attrIter.hasNext()) {\n XmlAttribute attr = attrIter.next();\n addAttribute(workAttrs, attr.name, attr.value);\n }\n // child elements\n childElements.addAll(oed.childElements);\n }\n }\n return childElements;\n }", "public double getFeature(int i) {\n\t return _features[i];\r\n\t//return 0;\r\n}", "@RequestLine(\"GET /v1/users/{userId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(@Param(\"userId\") String userId);", "public ArrayList<Feature> getAlternativeFeatures(){\r\n\t\tArrayList<Feature> res = new ArrayList<Feature>();\r\n\t\t//The first feature group contains variant fatures\r\n\t\tFeatureGroup featureGroup = null;\r\n\t\tfor(int i = 1; i < this.getAlternativeFeatureGroup().size(); i++ ){\r\n\t\t\tfeatureGroup = this.getAlternativeFeatureGroup().get(i);\r\n\t\t\tfor(int j = 0; j < featureGroup.getFeatures().size(); j++){\r\n\t\t\t\tres.add(featureGroup.getFeatures().get(j));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn res;\r\n\t\t\r\n\t}", "List<FeatureController<MODEL>> getFeatureControllers() {\n return featureItems.getFeatureControllers();\n }", "@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(URI uri);", "public int getFeatureCount() {\n\r\n\t\treturn _features.length;\r\n\t}", "public AbstractMFeature2 getFeature() {\n return feature;\n }", "com.google.protobuf.Struct getCustomFeatures();", "iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);", "public List<? extends IFlexoOntologyFeatureAssociation<TA>> getStructuralFeatureAssociations();", "public List selectByExample(ElemFeatureExample example) throws SQLException {\r\n\t\tList list = getSqlMapClientTemplate().queryForList(\r\n\t\t\t\t\"cementerio_elem_feature.ibatorgenerated_selectByExample\",\r\n\t\t\t\texample);\r\n\t\treturn list;\r\n\t}", "@RequestLine(\"GET /v1/accounts/{accountId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(@Param(\"accountId\") String accountId);", "public ISlideData getFeature(int index);", "public void setFeatures(List<String> features) {\n this.features = features;\n }", "public List<Feature> getSupportedFeatures(String objectType) {\n\t\treturn Arrays.asList(Feature.values());\n\t}", "public DOMImplementationList getDOMImplementationList(String features)\n throws ClassNotFoundException,\n InstantiationException, IllegalAccessException, ClassCastException\n {\n\tint size = _sources.size();\n DOMImplementationListImpl list = new DOMImplementationListImpl();\n String name = null;\n for (int i = 0; i < size; i++) {\n DOMImplementationSource source =\n (DOMImplementationSource) _sources.get(i);\n\n DOMImplementationList impls =\n source.getDOMImplementationList(features);\n for (int j = 0; j < impls.getLength(); j++) {\n list.add(impls.item(j));\n }\n }\n return list;\n }", "FTCommand getFeature();", "public FeatureCursor queryFeatures() {\n return featureDao.queryIn(queryIdsSQL());\n }", "default Feature[] extractFeatures(LensResult facet) {\n return extractFeatures(facet, NaiscListener.DEFAULT);\n }", "public String feature() {\n return feature;\n }" ]
[ "0.8773742", "0.8419684", "0.8260446", "0.80482674", "0.80223644", "0.79324466", "0.7794034", "0.778159", "0.778159", "0.77691215", "0.7689697", "0.76682246", "0.76682246", "0.76032937", "0.7504648", "0.7437057", "0.7437057", "0.74345946", "0.73984194", "0.73776525", "0.7339469", "0.73378915", "0.72280294", "0.7181993", "0.7180256", "0.71799254", "0.71228975", "0.7019665", "0.6970218", "0.6945662", "0.68908435", "0.68413556", "0.678526", "0.6777796", "0.6753205", "0.67441463", "0.6714468", "0.66766995", "0.6648565", "0.66200316", "0.66120785", "0.6576742", "0.6567944", "0.6567944", "0.65598625", "0.655596", "0.6552263", "0.65314555", "0.6510689", "0.64825386", "0.64597404", "0.64450157", "0.6439287", "0.64015275", "0.6391697", "0.63759786", "0.63689166", "0.6364966", "0.63292396", "0.63216543", "0.63216543", "0.6317475", "0.6317475", "0.6303297", "0.6269977", "0.62628305", "0.62605494", "0.6245126", "0.6234833", "0.6210525", "0.61980426", "0.61979157", "0.61832106", "0.61737466", "0.6167424", "0.6152273", "0.61489785", "0.6141278", "0.61174667", "0.6098669", "0.60968965", "0.6068382", "0.6053264", "0.6048374", "0.60351676", "0.6027443", "0.6003185", "0.5999476", "0.5999434", "0.5992244", "0.599069", "0.5986608", "0.59735256", "0.5967063", "0.596601", "0.5943485", "0.59378207", "0.5935703", "0.59340197" ]
0.86848277
2
Gets array of all "Feature" elements
org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$14, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "List<Feature> getFeatures();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "public Feature[] getFeatures() {\n Feature[] features = new Feature[rows.size()];\n for(int i=0;i<features.length;i++){\n features[i] = (Feature)rows.elementAt(i);\n }\n return features;\n }", "java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();", "List<IFeature> getFeatureList();", "public DasFeature[] getAllFeatures() {\n Vector feats = new Vector();\n while (iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9) != -1) {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n if (feature.indexOf(\"<NOTE>No features found for the segment</NOTE>\") < 0) {\n DasFeature f = new DasFeature(feature);\n feats.add(f);\n }\n }\n DasFeature[] features = new DasFeature[feats.size()];\n feats.toArray(features);\n return features;\n }", "public Iterator<SimpleFeature> getFeatures() {\n \treturn this.iterator();\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "List<String> getFeatures();", "public vis.smart.webservice.ProteinFeaturesFeature[] getFeature() {\n return feature;\n }", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature[] getPlanFeatureArray();", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public FeatureSet getFeatures() {\n\treturn features;\n }", "@Override\n public synchronized Set<FeatureType> getFeatures() {\n return features = nonNullSet(features, FeatureType.class);\n }", "@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }", "java.util.List<java.lang.String> getFeaturesList();", "public List<String> getFeatures() {\n return features;\n }", "public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;", "@Override\n public synchronized Set<FeatureType> getFeatureInstances() {\n return featureInstances = nonNullSet(featureInstances, FeatureType.class);\n }", "public Set<String> getFeatures();", "java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();", "public java.util.List getFeature() \n {\n \tModelFacade instance = ModelFacade.getInstance(this.refOutermostPackage().refMofId());\n \tif (instance != null && \n \t\tinstance.isRepresentative(this.refMofId())&&\n \t\tinstance.hasRefObject(this.refMofId()))\n \t{ \t\n \t\tList list = instance.getFeature(this.refMofId());\n \t\tlist.addAll(super_getFeature());\n \t\t\n \t\treturn list; \t\t\n \t}\n \n \treturn super_getFeature();\n }", "public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}", "public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }", "public MyRectangle[] getFeature() {\n return rectangles;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "Collection<StructuralFeature> getTypedFeatures();", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "Iterator features();", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature getPlanFeatureArray(int i);", "java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();", "public Iterator<Feature> featureIterator(){\n\t\treturn indexByFeature.keySet().iterator();\n\t}", "public List<IDataSet> extractAll(String featureType);", "public FeatureElements getFeatureAccess() {\n\t\treturn pFeature;\n\t}", "public int getFeatureCount() {\n\r\n\t\treturn _features.length;\r\n\t}", "public List<FeatureDataBean> getAllFeatures() throws GenericDatabaseException {\n List<String> ids = new ArrayList<>();\n ids.add(UMFeatureDao.PARENT);\n \n Map<String,Object> equals=new HashMap<>();\n equals.put(UMFeatureDao.IS_ACTIVE, Boolean.TRUE);\n \n Map<QueryOperators, Object> criteria = new HashMap<>();\n criteria.put(QueryOperators.IS_NULL, ids);\n criteria.put(QueryOperators.EQUAL, equals);\n \n return (convertFeatureDataBeanToFeatureModel(featureService.retrieveFeatures(null, criteria, null)));\n }", "Object[] getElements() {\n\tif (this.results == null) {\n\t\tinitResults();\n\t\tif (this.filterAdvancedScenarios != null) {\n\t\t\tthis.results.setFingerprints(this.filterAdvancedScenarios.isChecked());\n\t\t}\n\t}\n\treturn this.results.getElements();\n}", "private String[] detectFeatures() {\n \t\t\tchangeStampIsValid = false;\n \t\t\tfeaturesChangeStampIsValid = false;\n \t\t\tparent.changeStampIsValid = false;\n \t\t\tparent.featuresChangeStampIsValid = false;\n \n \t\t\tfeatures = new ArrayList();\n \n \t\t\tif (!supportsDetection(resolvedURL))\n \t\t\t\treturn new String[0];\n \n \t\t\t// locate feature entries on site\n \t\t\tFile siteRoot = new File(resolvedURL.getFile().replace('/', File.separatorChar));\n \t\t\tFile root = new File(siteRoot, FEATURES);\n \n \t\t\tString[] list = root.list();\n \t\t\tString path;\n \t\t\tFile plugin;\n \t\t\tfor (int i = 0; list != null && i < list.length; i++) {\n \t\t\t\tpath = list[i] + File.separator + FEATURE_XML;\n \t\t\t\tplugin = new File(root, path);\n \t\t\t\tif (!plugin.exists()) {\n \t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\tfeatures.add(FEATURES + \"/\" + path.replace(File.separatorChar, '/')); //$NON-NLS-1$\n \t\t\t}\n \t\t\tif (DEBUG) {\n \t\t\t\tdebug(resolvedURL.toString() + \" located \" + features.size() + \" feature(s)\"); //$NON-NLS-1$ //$NON-NLS-2$\n \t\t\t}\n \n \t\t\treturn (String[]) features.toArray(new String[0]);\n \t\t}", "List<FeatureDistribution> asFeatureDistributions();", "default Feature[] extractFeatures(LensResult facet) {\n return extractFeatures(facet, NaiscListener.DEFAULT);\n }", "public final Set<AnalysisFeature<?>> getOutputFeatures() {\n return outputFeatures;\n }", "private List<String> extractFeatures() {\n List<String> result = new ArrayList<String>();\n\n int startPoint = -1;\n\n List<TextPosition> featureItem;\n for (int i = 0; i < infoBlock.size(); i++) {\n // To get index of the text in the information block, if the text does not exist, the index will be -1.\n int index = CommonUtils.collectTextBuffer(infoBlock.get(i)).indexOf(FEATURE_KEY);\n if (index != -1) {\n startPoint = i + 1;\n\n // To locate the PDF object from the text feature to the end of the information block.\n featureItem = infoBlock.get(i).subList(index, index + FEATURE_KEY.length());\n\n // To extract information vertically. startPoint now is where the information block next to the\n // one that contains text feature.\n if (startPoint != -1) {\n result = filterTextBuffersVerical(featureItem, infoBlock, startPoint, 10);\n/*\t\t\t\t\t\tfor(String item: result)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println(item);\n\t\t\t\t\t\t}*/\n }\n\n break;\n }\n }\n\n return result;\n }", "java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode> \n getNodeList();", "Collection<Feature> getReference();", "public Set<SimpleFeature> getFeatures(Name name) throws Exception {\n\t\tif (typeNameIndex.get(name)==null) throw new Exception(\"Type not found\");\n\t\treturn typeNameIndex.get(name);\n\t}", "public abstract List<QualifiedName> getAffectedFeatureTypes();", "public double getFeature(int i) {\n\t return _features[i];\r\n\t//return 0;\r\n}", "protected Vector getFeatureSet()\n {\n // get the superclass' vector\n Vector v = super.getFeatureSet();\n\n // add the features\n\n // return the vector\n return v;\n }", "private Object[] elements() {\n return elements.toArray();\n }", "public IDataSet extractFeatures(String featureType);", "java.lang.String getFeatures(int index);", "public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode> getNodeList() {\n return node_;\n }", "public Collection<String> getProvideFeature();", "Feature[] extractFeatures(LensResult facet, NaiscListener log);", "public Object[] getElements() {\r\n\t\treturn data.toArray();\r\n\t}", "private static List<IFeature> parseFeatures(WMElement features) {\n List<IFeature> trainingFeatures = new ArrayList<>();\n for (int i = 0; i < features.ConvertToIdentifier().GetNumberChildren(); i++) {\n IFeature res;\n WMElement curFeatureType = features.ConvertToIdentifier().GetChild(i);\n WMElement curFeature = curFeatureType.ConvertToIdentifier().GetChild(0);\n String featureName = curFeature.GetAttribute();\n String featureVal = curFeature.GetValueAsString();\n double featureValNumerical = -1.0;\n try {\n featureValNumerical = Double.parseDouble(featureVal);\n } catch (Exception e) {\n if (featureVal.equalsIgnoreCase(\"true\")) {\n featureValNumerical = 1.0;\n } else if (featureVal.equalsIgnoreCase(\"false\")) {\n featureValNumerical = 0.0;\n }\n }\n\n switch (curFeatureType.GetAttribute()) {\n case \"boolean\":\n res = new BooleanFeature(featureName, featureValNumerical);\n break;\n case \"numerical\":\n res = new NumericalFeature(featureName, featureValNumerical);\n break;\n case \"categorical\":\n res = new CategoricalFeature(featureName, featureVal);\n break;\n default:\n throw new IllegalArgumentException(\"Given feature type is not supported.\");\n }\n\n trainingFeatures.add(res);\n }\n return trainingFeatures;\n }", "public ArrayList<Feature> getAlternativeFeatures(){\r\n\t\tArrayList<Feature> res = new ArrayList<Feature>();\r\n\t\t//The first feature group contains variant fatures\r\n\t\tFeatureGroup featureGroup = null;\r\n\t\tfor(int i = 1; i < this.getAlternativeFeatureGroup().size(); i++ ){\r\n\t\t\tfeatureGroup = this.getAlternativeFeatureGroup().get(i);\r\n\t\t\tfor(int j = 0; j < featureGroup.getFeatures().size(); j++){\r\n\t\t\t\tres.add(featureGroup.getFeatures().get(j));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn res;\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getFeaturesBytes(int index);", "public FeatureCollection<SimpleFeatureType,SimpleFeature> getCollection() {\n return (SimpleFeatureCollection) collection;\n }", "private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }", "private Vector<ResourceLocation> getElements() {\n return getRef().elements;\n }", "public int getFeaturesCount();", "@SuppressWarnings(\"rawtypes\")\n\tfinal public List<Class<? extends Feature>> getFeatureClasses(String name) {\n\t\treturn this.featureClasses.get(name);\n\t}", "public Integer getFeature() {\n return feature;\n }", "private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}", "@Override\n public String toString() {\n return mFeatureStructures.toString();\n }", "private ArrayList<IFeatureClass> getFeatureClassFromLayers(IMxDocument mxd) throws Exception{\n\t\tIMap map = mxd.getFocusMap();\n\t\tArrayList<IFeatureClass> features = new ArrayList<IFeatureClass>();\n\t\tILayer layer;\n\t\tfor(int i = 0; i < map.getLayerCount(); i++){\n\t\t\tlayer = map.getLayer(i);\n\t\t\tif(layer instanceof IFeatureLayer){\n\t\t\t\tIFeatureLayer featurelayer = (IFeatureLayer) layer;\n\t\t\t\tfeatures.add(featurelayer.getFeatureClass());\n\t\t\t}\n\t\t}\n\t\treturn features;\n\t}", "public Webpage[] getFathers() {\t\n\t\tWebpage[] array = new Webpage[fathers.size()];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = getWebpage(fathers.get(i));\n\t\t}\n\t\treturn array;\n\t}", "public ElementList[] getAnnotations() {\r\n return union.value();\r\n }", "public java.util.List[] getPointArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(POINT$0, targetList);\n java.util.List[] result = new java.util.List[targetList.size()];\n for (int i = 0, len = targetList.size() ; i < len ; i++)\n result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getListValue();\n return result;\n }\n }", "int getFeaturesCount();", "ArrayList<Feature> getFeatures(String userid, String project)throws Exception;", "int getFeatureCount();", "public Feature[] getFeatures(Extent ex) throws DataSourceException {\n //TODO: this diff when not null bit could be more elegent\n Extent toLoad[];\n if(loadedExtent!=null){\n toLoad = loadedExtent.difference(ex);\n }\n else{\n toLoad = new Extent[]{ex};\n }\n \n for(int i=0;i<toLoad.length;i++){\n //TODO: move this code to its own method?\n if(toLoad[i]!=null){\n datasource.importFeatures(this,toLoad[i]);\n if(loadedExtent==null){\n loadedExtent = toLoad[i];\n }\n else{\n loadedExtent = loadedExtent.combine(toLoad[i]);\n }\n }\n }\n return getFeatures();\n }", "@UML(identifier=\"featureType\", obligation=OPTIONAL, specification=ISO_19139)\n Collection<? extends LocalName> getFeatureTypes();", "public ArrayPtr getFeatures(boolean training) {\n return ArrayPtrFactory.fromData(getFeaturesArray(training));\n }", "public String getFeature() {\r\n return feature;\r\n }", "public List<? extends IFlexoOntologyFeatureAssociation<TA>> getStructuralFeatureAssociations();", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$6);\r\n }\r\n }", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$6);\r\n }\r\n }", "public List<ITabDescriptor> getElements() {\n\t\treturn elements;\n\t}", "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "String getFeature();", "String getFeature();", "iet.distributed.telemetry.Feature getFeature(int index);", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$14);\r\n }\r\n }", "int sizeOfFeatureArray();", "int sizeOfFeatureArray();", "public Element[] getAnnotations() {\r\n return union.value();\r\n }", "static FaceSegment[] allFaces() {\n FaceSegment[] faces = new FaceSegment[6];\n for (int i = 0; i < faces.length; i++) {\n faces[i] = new FaceSegment();\n }\n return faces;\n }" ]
[ "0.8268561", "0.82670134", "0.82670134", "0.8055511", "0.79728377", "0.79728377", "0.78956044", "0.78956044", "0.7713429", "0.76701015", "0.7618657", "0.7555063", "0.7346499", "0.73286754", "0.7278872", "0.7249029", "0.7234206", "0.7218973", "0.7169345", "0.7168903", "0.7145008", "0.70510924", "0.7037875", "0.7018811", "0.7000009", "0.695511", "0.69420403", "0.690632", "0.689701", "0.6882495", "0.6803682", "0.67982197", "0.6744135", "0.67340004", "0.6728681", "0.6728681", "0.66837895", "0.6673549", "0.65074515", "0.6506178", "0.6506159", "0.65032095", "0.6334524", "0.63332766", "0.6327896", "0.6321458", "0.6302803", "0.62987065", "0.6280731", "0.62591136", "0.6251444", "0.620698", "0.6179557", "0.6171423", "0.61511564", "0.61462736", "0.61260307", "0.6112461", "0.6094569", "0.6086483", "0.60784465", "0.6078398", "0.60771656", "0.6065189", "0.6028827", "0.6008123", "0.6006712", "0.59846675", "0.5975149", "0.59556943", "0.59479976", "0.5931229", "0.5917187", "0.5909462", "0.5898897", "0.5876813", "0.58697045", "0.58507687", "0.58456403", "0.584532", "0.58451897", "0.58355707", "0.58348805", "0.5833366", "0.5828723", "0.58213854", "0.5812726", "0.5812726", "0.58101547", "0.5797994", "0.5797994", "0.5788239", "0.5788239", "0.57865465", "0.578294", "0.5775039", "0.5775039", "0.5770688", "0.5770033" ]
0.8331222
1
Gets ith "Feature" element
org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getFeature() {\n return feature;\n }", "iet.distributed.telemetry.Feature getFeature(int index);", "public FeatureElements getFeatureAccess() {\n\t\treturn pFeature;\n\t}", "public ComponentFeature getFeature(int index) {\r\n\t\tif (index >= features.length)\r\n\t\t\treturn null;\r\n\r\n\t\treturn features[index];\r\n\t}", "public String getFeature() {\r\n return feature;\r\n }", "public AbstractMFeature2 getFeature() {\n return feature;\n }", "public Iterator<SimpleFeature> getFeatures() {\n \treturn this.iterator();\n }", "public double getFeature(int i) {\n\t return _features[i];\r\n\t//return 0;\r\n}", "Feature getFeature();", "Feature getFeature();", "public org.pentaho.pms.cwm.pentaho.meta.core.CwmStructuralFeature getFeature();", "public ISlideData getFeature(int index);", "@Nullable JvmIdentifiableElement getFeature();", "public java.util.List getFeature() \n {\n \tModelFacade instance = ModelFacade.getInstance(this.refOutermostPackage().refMofId());\n \tif (instance != null && \n \t\tinstance.isRepresentative(this.refMofId())&&\n \t\tinstance.hasRefObject(this.refMofId()))\n \t{ \t\n \t\tList list = instance.getFeature(this.refMofId());\n \t\tlist.addAll(super_getFeature());\n \t\t\n \t\treturn list; \t\t\n \t}\n \n \treturn super_getFeature();\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.pentaho.pms.cwm.pentaho.meta.expressions.CwmFeatureNode getFeatureNode();", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public vis.smart.webservice.ProteinFeaturesFeature[] getFeature() {\n return feature;\n }", "public String feature() {\n return feature;\n }", "List<Feature> getFeatures();", "int getFeatureValue();", "String getFeature();", "String getFeature();", "public Object getUnderlyingObject() {\n return feature;\n }", "FeatureId getFeatureId();", "public Example getExample(Feature f,int i){\n\t\treturn featureIndex(f).get(i);\n\t}", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "Feature loadFeature(Integer id);", "public SimpleFeature get(String featureID) {\n\t\treturn idIndex.get(featureID);\n\t}", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "public EStructuralFeature getFeatureByXMLElementName(String namespace, String xmlElementName) {\n \t\t\t// try to find the EStructural feature locally\n \t\t\t// TODO: consider namespace\n \t\t\tEStructuralFeature result = xmlNameToEStructuralFeatureMap.get(xmlElementName);\n \t\t\tif (null == result) {\n \t\t\t\tIterator<EStructuralFeature> allFeaturesIter = eClass.getEAllStructuralFeatures().iterator();\n \t\t\t\tList<EStructuralFeature> results = new ArrayList<EStructuralFeature>();\n \t\t\t\twhile (allFeaturesIter.hasNext()) {\n \t\t\t\t\tEStructuralFeature feature = allFeaturesIter.next();\n \t\t\t\t\tString xmlWrapperName = getRMFExtendedMetaData(feature).getXMLWrapperName();\n \n \t\t\t\t\t// search by feature wrapper\n \t\t\t\t\tif (xmlWrapperName.equals(xmlElementName)) {\n \t\t\t\t\t\tif (isIdentifiedByFeatureWrapper(feature)) {\n \t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t}\n \t\t\t\t\t} else {\n \t\t\t\t\t\t// search by feature name\n \t\t\t\t\t\tString xmlName = getRMFExtendedMetaData(feature).getXMLName();\n \t\t\t\t\t\tif (xmlName.equals(xmlElementName)) {\n \t\t\t\t\t\t\tif (isIdentifiedByFeature(feature)) {\n \t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t// search by type wrapper (assuming type is type of feature)\n \t\t\t\t\t\t\tString classifierWrapperXMLName = getRMFExtendedMetaData(feature.getEType()).getXMLWrapperName();\n \t\t\t\t\t\t\tif (classifierWrapperXMLName.equals(xmlElementName)) {\n \t\t\t\t\t\t\t\tif (isIdentifiedByClassifierWrapper(feature)) {\n \t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t// search by type wrapper name (assuming type not type of feature)\n \t\t\t\t\t\t\t\tEClassifier classifier = getTypeByXMLWrapperName(namespace, xmlElementName);\n \t\t\t\t\t\t\t\tif (null != classifier) {\n \t\t\t\t\t\t\t\t\tif (feature.getEType().equals(classifier)) {\n \t\t\t\t\t\t\t\t\t\tif (isIdentifiedByClassifierWrapper(feature)) {\n \t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t} else if (classifier instanceof EClass) {\n \t\t\t\t\t\t\t\t\t\tEClass eClass = (EClass) classifier;\n \t\t\t\t\t\t\t\t\t\tif (eClass.getEAllSuperTypes().contains(feature.getEType())) {\n \t\t\t\t\t\t\t\t\t\t\tif (isIdentifiedByClassifierWrapper(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t// search by type name (assuming type not type of feature)\n \t\t\t\t\t\t\t\t\tclassifier = getTypeByXMLName(namespace, xmlElementName);\n \t\t\t\t\t\t\t\t\tif (null != classifier) {\n \t\t\t\t\t\t\t\t\t\tif (feature.getEType().equals(classifier)) {\n \t\t\t\t\t\t\t\t\t\t\tif (isIdentifiedByClassifier(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t} else if (isNone(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t} else if (classifier instanceof EClass) {\n \t\t\t\t\t\t\t\t\t\t\tif (eClass.getEAllSuperTypes().contains(feature.getEType())) {\n \t\t\t\t\t\t\t\t\t\t\t\tif (isIdentifiedByClassifier(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t\t} else if (isNone(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t\t} else if (isNone(feature)) {\n \t\t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t} else if (isNone(feature)) {\n \t\t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t} else if (isNone(feature)) {\n \t\t\t\t\t\t\t\t\t\tresults.add(feature);\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\t// not found, continue with next feature\n \t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t} // if (null != classifier && classifier instanceof EClass)\n \t\t\t\t\t\t\t} // if (classifierXMLName.equals(xmlElementName))\n \t\t\t\t\t\t} // if (xmlName.equals(xmlElementName))\n \t\t\t\t\t} // if (xmlWrapperName.equals(xmlElementName))\n \t\t\t\t} // while\n \n \t\t\t\t// if there are multiple valid features, we prefer the feature that is many and is not NONE\n \t\t\t\tint size = results.size();\n \t\t\t\tif (1 == size) {\n \t\t\t\t\tresult = results.get(0);\n \t\t\t\t} else if (0 < size) {\n \t\t\t\t\t// rule 1 we like the features that are explicitly selected\n \t\t\t\t\tList<EStructuralFeature> identifiedFeatures = new ArrayList<EStructuralFeature>();\n \t\t\t\t\tList<EStructuralFeature> noneFeatures = new ArrayList<EStructuralFeature>();\n \t\t\t\t\tfor (int i = 0; i < size; i++) {\n \t\t\t\t\t\tEStructuralFeature feature = results.get(i);\n \t\t\t\t\t\tif (isNone(feature)) {\n \t\t\t\t\t\t\tnoneFeatures.add(feature);\n \t\t\t\t\t\t} else {\n \t\t\t\t\t\t\tidentifiedFeatures.add(feature);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (identifiedFeatures.isEmpty()) {\n \t\t\t\t\t\t// there are none Features only\n \t\t\t\t\t\tresults = noneFeatures;\n \t\t\t\t\t} else {\n \t\t\t\t\t\tresults = identifiedFeatures;\n \t\t\t\t\t}\n \n \t\t\t\t\tresult = results.get(0);\n \n \t\t\t\t\t// try to find a better features that is many\n \t\t\t\t\tfor (EStructuralFeature feature : results) {\n \t\t\t\t\t\tif (feature.isMany()) {\n \t\t\t\t\t\t\tresult = feature;\n \t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n\t\t\t}\n \n \t\t\t// TODO: fall back to standard serialization?\n \n \t\t\treturn result;\n \t\t}", "iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);", "public FeatureSet getFeatures() {\n\treturn features;\n }", "public DasFeature getNextFeature() {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n DasFeature f = new DasFeature(feature);\n return f;\n }", "public Feature getTestedFeature() {\n return testedFeature;\n }", "List<IFeature> getFeatureList();", "public Iterator<Feature> featureIterator(){\n\t\treturn indexByFeature.keySet().iterator();\n\t}", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public static Feature get(int id) throws SQLException {\r\n\t\tString featureIdColumnName = \"FEATURE_ID\";\r\n\t\tResultSet rs = operation.getRow(\"FEATURE\", featureIdColumnName, id);\r\n\t\tFeature feature = new Feature();\r\n\t\t\r\n\t\twhile (rs.next()) {\r\n\t\t\tfeature.setFeatureId(rs.getString(\"FEATURE_ID\"))\r\n\t\t\t\t.setVideoId(rs.getString(\"VIDEO_ID\"))\r\n\t\t\t\t.setFeatureName(rs.getString(\"FEATURE_NAME\"))\r\n\t\t\t\t.setFeatureVector(rs.getString(\"FEATURE_VECTOR\"))\r\n\t\t\t\t.setCreationDate(rs.getString(\"CREATION_DATE\"));\r\n\t\t}\r\n\t\t\r\n\t\t//System.out.println(\"Name: \" + feature.getFeatureName());\r\n\t\treturn feature;\r\n\t}", "public Feature[] getFeatures() {\n Feature[] features = new Feature[rows.size()];\n for(int i=0;i<features.length;i++){\n features[i] = (Feature)rows.elementAt(i);\n }\n return features;\n }", "private Object getFeature (EObject o, String feature) {\n\n if(o == null){\n System.out.println(\"Null object given\");\n }\n\n return o.eGet(o.eClass().getEStructuralFeature(feature));\n }", "Collection<Feature> getReference();", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature getPlanFeatureArray(int i);", "int indexOfFeature(Feature feature);", "public FeatureStream getFeatureStream() {\n\treturn stream;\n }", "@Override\r\n\t\tpublic Object getFeature(String feature, String version)\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "FTCommand getFeature();", "@Override\n\tpublic String getFeatureName() {\n\t\treturn this.name();\n\t}", "private NamedFeature getUnigeneTestFeature(){\n BasicFeature testFeat = new BasicFeature(\"chr2\", 179908392, 179909870);\n testFeat.setName(\"hs.516555\");\n return testFeat;\n }", "Feature findById(Long featureId);", "java.lang.String getFeatures(int index);", "Iterator features();", "public FeatureModel getFeatureModel() {\r\n\t\treturn featureModel;\r\n\t}", "public Integer getProductFeatureId() {\r\n\t\treturn productFeatureId;\r\n\t}", "public gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType xgetFeatureType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n return target;\n }\n }", "public ElemFeature selectByPrimaryKey(Integer id) throws SQLException {\r\n\t\tElemFeature key = new ElemFeature();\r\n\t\tkey.setId(id);\r\n\t\tElemFeature record = (ElemFeature) getSqlMapClientTemplate()\r\n\t\t\t\t.queryForObject(\r\n\t\t\t\t\t\t\"cementerio_elem_feature.ibatorgenerated_selectByPrimaryKey\",\r\n\t\t\t\t\t\tkey);\r\n\t\treturn record;\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic <T extends ComponentFeature> T getFeature(Class<T> featureClass) {\r\n\t\tfor (final ComponentFeature f : features)\r\n\t\t\tif (f.getClass().isAssignableFrom(featureClass))\r\n\t\t\t\treturn (T) f;\r\n\r\n\t\treturn null;\r\n\t}", "@JsonGetter\n private Feature<Impact> feature() {\n return feature;\n }", "public Layer getElement(int index) {\n\t\treturn layers[index];\n\t}", "public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;", "FeatureProvider getFeatureProvider() {\n return this.provider;\n }", "public FeatureCollection<SimpleFeatureType,SimpleFeature> getCollection() {\n return (SimpleFeatureCollection) collection;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "@Override\n\tpublic String getFeatureCode() {\n\t\treturn featureCode;\n\t}", "public int getFeatureCount() {\n\r\n\t\treturn _features.length;\r\n\t}", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$14, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "@Test\n public void getFeatureFlagTest() throws ApiException {\n String projectKey = null;\n String featureFlagKey = null;\n String env = null;\n FeatureFlag response = api.getFeatureFlag(projectKey, featureFlagKey, env);\n\n // TODO: test validations\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "Feature createFeature();", "@Override\n public FeatureContainer getFeatureContainer() {\n return featureContainer;\n }", "public RTWElementRef getAsElement(int i);", "@Override\n public int getStart() {\n return feature.getStart();\n }", "private SimpleFeature findFeature( FeatureStore<SimpleFeatureType, SimpleFeature> store, String fid) throws SOProcessException {\n \n try {\n FidFilter filter = FILTER_FACTORY.createFidFilter(fid);\n \n FeatureCollection<SimpleFeatureType, SimpleFeature> featuresCollection = store.getFeatures(filter);\n FeatureIterator<SimpleFeature> iter = featuresCollection.features();\n \n assert iter.hasNext();\n \n SimpleFeature feature = iter.next();\n \n return feature;\n \n } catch (IOException e) {\n final String msg = e.getMessage();\n LOGGER.severe(msg);\n throw new SOProcessException(msg);\n }\n }", "public FeatureDependencyElements getFeatureDependencyAccess() {\r\n\t\treturn pFeatureDependency;\r\n\t}", "public int featureDimension() {\n assert featureDimension > 0;\n return featureDimension;\n }", "public void setFeature(Integer feature) {\n this.feature = feature;\n }", "@Override\n public String getFeature() {\n return this.exteriorFeature;\n }", "public UMFeature getFeatureById(Long featureID) throws UMUserManagementException {\n return (featureService.getFeatureByFeatureId(featureID));\n }", "public HashMap<String, HashMap<String, String>> getNearestFacility() {\n if (this.featureInfoHashMap==null) {\n return null;\n }\n return (HashMap<String, HashMap<String, String>>) this.featureInfoHashMap.entrySet().iterator().next();\n }", "public String getFeatureID() {\r\n if (line == null) {\r\n return null;\r\n }\r\n\r\n return fid;\r\n }", "public int get_feature_dimension() {\n\t\treturn nFeatures;\n\t}", "void addFeature(int index, Feature feature);", "uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode getNode(int index);", "private static List<IFeature> parseFeatures(WMElement features) {\n List<IFeature> trainingFeatures = new ArrayList<>();\n for (int i = 0; i < features.ConvertToIdentifier().GetNumberChildren(); i++) {\n IFeature res;\n WMElement curFeatureType = features.ConvertToIdentifier().GetChild(i);\n WMElement curFeature = curFeatureType.ConvertToIdentifier().GetChild(0);\n String featureName = curFeature.GetAttribute();\n String featureVal = curFeature.GetValueAsString();\n double featureValNumerical = -1.0;\n try {\n featureValNumerical = Double.parseDouble(featureVal);\n } catch (Exception e) {\n if (featureVal.equalsIgnoreCase(\"true\")) {\n featureValNumerical = 1.0;\n } else if (featureVal.equalsIgnoreCase(\"false\")) {\n featureValNumerical = 0.0;\n }\n }\n\n switch (curFeatureType.GetAttribute()) {\n case \"boolean\":\n res = new BooleanFeature(featureName, featureValNumerical);\n break;\n case \"numerical\":\n res = new NumericalFeature(featureName, featureValNumerical);\n break;\n case \"categorical\":\n res = new CategoricalFeature(featureName, featureVal);\n break;\n default:\n throw new IllegalArgumentException(\"Given feature type is not supported.\");\n }\n\n trainingFeatures.add(res);\n }\n return trainingFeatures;\n }", "@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }", "public FeatType getFeatType()\n {\n return m_featType;\n }", "java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();", "public boolean getFeature(@Nonnull Feature f) {\r\n return features.contains(f);\r\n }", "public Object getElement();", "public DasFeature[] getAllFeatures() {\n Vector feats = new Vector();\n while (iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9) != -1) {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n if (feature.indexOf(\"<NOTE>No features found for the segment</NOTE>\") < 0) {\n DasFeature f = new DasFeature(feature);\n feats.add(f);\n }\n }\n DasFeature[] features = new DasFeature[feats.size()];\n feats.toArray(features);\n return features;\n }", "public Set<SimpleFeature> getFeatures(Name name) throws Exception {\n\t\tif (typeNameIndex.get(name)==null) throw new Exception(\"Type not found\");\n\t\treturn typeNameIndex.get(name);\n\t}" ]
[ "0.73654866", "0.7245774", "0.7196299", "0.7083809", "0.70292205", "0.6987689", "0.6970695", "0.69087356", "0.6907502", "0.6907502", "0.6887405", "0.6845539", "0.6809979", "0.6805172", "0.6784114", "0.6784114", "0.67792743", "0.6771839", "0.67177945", "0.6716564", "0.6673536", "0.66347307", "0.66335154", "0.66335154", "0.66296065", "0.6614345", "0.6545249", "0.64818025", "0.6449886", "0.64487433", "0.6408604", "0.639592", "0.639543", "0.639543", "0.63916737", "0.63916737", "0.6377855", "0.6377156", "0.6305183", "0.63033694", "0.6301414", "0.6295949", "0.6275668", "0.62654305", "0.62412196", "0.6239726", "0.6231548", "0.61927235", "0.6186004", "0.6173773", "0.61629164", "0.6159207", "0.6137861", "0.6119843", "0.6096582", "0.60742813", "0.6070989", "0.60647887", "0.6063403", "0.6030259", "0.6021144", "0.600258", "0.5986782", "0.5971434", "0.59680504", "0.594091", "0.5928607", "0.58990085", "0.58977485", "0.58977485", "0.5895206", "0.5880304", "0.587496", "0.5847406", "0.5841637", "0.5841637", "0.5838095", "0.5834951", "0.5834755", "0.5807457", "0.5805321", "0.5805016", "0.5803512", "0.57912827", "0.5791127", "0.57621914", "0.5761934", "0.57401186", "0.5705341", "0.569638", "0.5693544", "0.5667653", "0.56575847", "0.5656487", "0.564975", "0.56496125", "0.56461203", "0.564529", "0.5634893" ]
0.7101987
4
Returns number of "Feature" element
int sizeOfFeatureArray();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFeatureCount();", "public int getFeatureCount() {\n\r\n\t\treturn _features.length;\r\n\t}", "int getFeaturesCount();", "public int getFeaturesCount();", "public int numberOfFeatures(){\n\t\treturn indexByFeature.keySet().size();\n\t}", "public int size(Feature f){\n\t\treturn featureIndex(f).size();\n\t}", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$6);\r\n }\r\n }", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$6);\r\n }\r\n }", "public int sizeOfFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FEATURE$14);\r\n }\r\n }", "int countFeatures();", "int countFeatures();", "public int getNumberOfFeatures() {\n\t\treturn numberOfFeatures;\n\t}", "public int getNumberOfFeatures() {\n return features.size() - 1; // because slot 0 is skipped\n }", "public int numFeatures() {\n return FTypes.values().length;\n }", "public int getFeaturesSize();", "int countTypedFeatures();", "public int get_feature_dimension() {\n\t\treturn nFeatures;\n\t}", "public int size() {\n return mFeatureStructures.size();\n }", "public com.flexnet.opsembedded.webservices.NumberQueryType getFeatureCount() {\n return featureCount;\n }", "public int featureDimension() {\n assert featureDimension > 0;\n return featureDimension;\n }", "public int getProcessedCount()\r\n {\r\n return myFeatureCount;\r\n }", "int sizeOfPlanFeatureArray();", "long getFeaturesUsed();", "Long getNumberOfElement();", "public void increaseFeatureCount() {\n this.featureCount++;\n }", "int getFeatureValue();", "public Long getElementCount();", "public Integer getFeature() {\n return feature;\n }", "public int getNumberOfElements();", "public int getFeaturesSize(int chromosome);", "public double getFeatureSize() {\n\t\t\treturn featureDensity.length;\n\t\t}", "int getTagCount();", "int getAttributesCount();", "int getAttributesCount();", "public int getAttributeCount()\n/* */ {\n/* 728 */ return this.attributes.size();\n/* */ }", "public int getNbFacto() {\r\n return this.factories.size();\r\n }", "int getNodeCount();", "int getNodeCount();", "public abstract Integer getNumberOfElements();", "@XmlAttribute\r\n public Integer getCount() {\r\n return count;\r\n }", "int getMetricDescriptorsCount();", "public int getTypeWithElementsCount() {\n\t\t\treturn this.TypeWithElements.size();\n\t\t}", "@Override\n public int getCount() {\n return featureBean.size();\n }", "public int getNumElements() {\n return theMap.size();\n }", "public int countFeatures(GeometryEnvelope envelope) {\n return featureDao.countIn(queryIdsSQL(envelope));\n }", "public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }", "public int getNumOfElements() {\n return numOfElements;\n }", "int getPointsCount();", "public int getNumElements()\n {\n return numElements;\n }", "public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }", "public static int numberOfElement()\n\t{\n\t\treturn REF_INT_STRING.size();\n\t}", "int nodeCount();", "public int dataCount() {\n return this.root.dataCount();\n }", "int indexOfFeature(Feature feature);", "private int getNumberOfInputFeatures(final Collection<TrainingEntry<Login>> trainingDataSet) {\n return trainingDataSet.iterator().next().getEntity().getKeystrokeTimestamps().size();\n }", "public int getAttributeCount() {\r\n return type.getAttributeCount();\r\n }", "public int getNumElements() {\n return numElements;\n }", "public int getNumElements() {\n return numElements;\n }", "int getFigureListCount();", "@Override\n public int getAttributeCount()\n {\n return attributes.getSubNodes().size();\n }", "public int getNumElements() {\n\t\treturn numElements;\n\t}", "int getAnnotationCount();", "public int getSubElementCount() { throw new RuntimeException(\"Stub!\"); }", "public abstract int getScenarioCount();", "int getFieldCount();", "public int my_node_count();", "int countAnnotations() {\n \tSet<Annotation> set = new LinkedHashSet<Annotation>();\n \tfor (Layer layer : layers.values())\n \t\tset.addAll(layer);\n \treturn set.size();\n }", "@Test\n public void testElementCounts() {\n assertEquals(0, model3d.getBlocks().size());\n\n assertEquals(28, model3d.getEdges().size());\n assertEquals(16, model3d.getFaces().size());\n assertEquals(14, model3d.getPoints().size());\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "public int getNrOfElements() {\n return this.nrOfElements;\n }", "int getInfoCount();", "int getInfoCount();", "int getInfoCount();", "public int countFeatures(BoundingBox boundingBox) {\n return countFeatures(false, null, boundingBox);\n }", "public int numFields() { \n\t\treturn element.getContentSize(); \n\t}", "public int countFeatures(GeometryEnvelope envelope, String where) {\n return countFeatures(false, null, envelope, where);\n }", "int getNodesCount();", "int getNodesCount();", "int getLabelAnnotationsCount();", "int getLabelAnnotationsCount();", "@Override\n\tpublic int size()\n\t{\n\t\tint count = 0;\n\t\tfor (Variable var : FactorGraphIterables.variables(rootGraph()))\n\t\t{\n\t\t\tif (var.getPrior() != null)\n\t\t\t{\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "public int getTypeElementCount() {\n\t\t\treturn this.TypeElements.size();\n\t\t}", "public int size(){\n\t\tListMapEntry temp = first;\n\t\tint c=0;\n\t\twhile(temp!=null){\n\t\t\tc++;\n\t\t\ttemp = temp.getNext();\n\t\t}\n\t\treturn c;\n\t}", "public XPath getCount()\n {\n return m_countMatchPattern;\n }", "public int getNumOfClasses();", "int getInterestsCount();", "public int countFeatures(String column, BoundingBox boundingBox) {\n return countFeatures(false, column, boundingBox);\n }", "public int getTagCount() {\n return tag_.size();\n }", "public int nodeCount() {\n\treturn nodeList.size();\n }", "int getWifisCount();", "public int getElementCount(final String elementLocator);", "public int getNumEClassifiers () { \r\n\t\treturn this.classifiers.size(); \r\n\t}", "public int getNumber() {\n\t\treturn nodeList.size();\n\t}", "public long getNumDefinedData();", "int getLabelsCount();", "int getLabelsCount();", "int getLabelsCount();", "int getLabelsCount();" ]
[ "0.8455797", "0.82311", "0.8189297", "0.8175046", "0.79531467", "0.7900231", "0.77681404", "0.77681404", "0.77415675", "0.77278954", "0.77278954", "0.75117", "0.7459172", "0.73487455", "0.7178075", "0.7158966", "0.7154373", "0.7112217", "0.71096694", "0.70961475", "0.6969181", "0.69421023", "0.6875895", "0.6871342", "0.68494", "0.6798216", "0.67496", "0.670362", "0.6668683", "0.655903", "0.6517134", "0.651116", "0.6425155", "0.6425155", "0.6406703", "0.64040184", "0.6391185", "0.6391185", "0.63641644", "0.63564783", "0.6346632", "0.6334868", "0.63338435", "0.632377", "0.6320417", "0.63200843", "0.63059646", "0.6292315", "0.6286125", "0.6285871", "0.6268364", "0.626475", "0.62250876", "0.62232256", "0.62224674", "0.6206286", "0.62023216", "0.62023216", "0.6199849", "0.6185904", "0.6177128", "0.61700386", "0.6165781", "0.6160469", "0.6155641", "0.6152453", "0.6139456", "0.61375886", "0.61372876", "0.61372876", "0.61348015", "0.61297274", "0.61297274", "0.61297274", "0.6119051", "0.6117426", "0.6107305", "0.6104611", "0.6104611", "0.6096423", "0.6096423", "0.60855967", "0.6080988", "0.6079218", "0.60624", "0.60578805", "0.60571176", "0.6053561", "0.60402966", "0.6011447", "0.6002864", "0.6001265", "0.59950835", "0.59875315", "0.59820074", "0.5980086", "0.5980086", "0.5980086", "0.5980086" ]
0.75709176
12
Sets array of all "Feature" element
void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$6);\r\n }\r\n }", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$6);\r\n }\r\n }", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$14);\r\n }\r\n }", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "void setFeatures(Features f) throws Exception;", "void setFeature(int index, Feature feature);", "void setPlanFeatureArray(int i, org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature planFeature);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "void setPlanFeatureArray(org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature[] planFeatureArray);", "public void setInstances(List<double[]> features) {\n\t\tthis.instances = features;\n\t}", "public void addFeatures(Feature... f) {\r\n addFeatures(Arrays.asList(f));\r\n }", "public void setFeature(vis.smart.webservice.ProteinFeaturesFeature[] feature) {\n this.feature = feature;\n }", "public void addFeatures(@Nonnull Collection<Feature> f) {\r\n features.addAll(f);\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$6, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(FEATURE$14, targetList);\r\n org.landxml.schema.landXML11.FeatureDocument.Feature[] result = new org.landxml.schema.landXML11.FeatureDocument.Feature[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "public synchronized void setFeatures(final Set<? extends FeatureType> newValues) {\n features = copySet(newValues, features, FeatureType.class);\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "org.landxml.schema.landXML11.FeatureDocument.Feature[] getFeatureArray();", "public void setFeatureIndex(int i) {\n featureIndex = i;\n }", "public synchronized void setFeatureInstances(final Set<? extends FeatureType> newValues) {\n featureInstances = copySet(newValues, featureInstances, FeatureType.class);\n }", "protected void setArray (JField jf, Vector nodes, Object obj, XmlDescriptor desc,\n\t\t\t\t\t\t\t UnmarshalContext context) throws Exception {\n\t\tif (nodes.size () == 0) return;\n\t\tClass thisClass = obj.getClass();\n\n\t\tObject theArray = Array.newInstance (getAClass (jf.getObjectType ()), nodes.size ());\n\t\tObject value = null;\n Method m = null;\n\n\t\tm = getASetMethod (thisClass, \"set\" + jf.getGetSet(), theArray.getClass ());\n\n\t\tfor (int i=0; i< nodes.size (); i++) {\n\t\t\t// W3CXmlNode ..\n\t\t\tXmlNode thisNode = ((XmlNode)nodes.elementAt (i));\n\t\t\tif (jf instanceof JCompositeField) {\n\t\t\t\tXmlDescriptor fieldDesc = (XmlDescriptor)this.classList.get (jf.getObjectType());\n\t\t\t\tvalue = unmarshal (thisNode, context, fieldDesc);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tvalue = getPrimitive (thisNode, jf, context);\n\t\t\t\t\n\t\t\t}\n\n\t\t\tArray.set (theArray, i, value);\n\t\t}\n\t\tm.invoke(obj, new Object[]{theArray});\n\t}", "public void setFeatures(List<String> features) {\n this.features = features;\n }", "public FeatureSet getFeatures() {\n\treturn features;\n }", "private void createFeatures() {\n\t\tfeatures = new Feature[NUM_FEATURES];\n\n\t\t// Create dummy feature\n\t\tfeatures[0] = new DummyFeature(width, height, 0, 0 - THRESHOLD);\n\n\t\t// Create the rest of the features\n\t\tfor (int i = 1; i < NUM_FEATURES; i++) {\n\t\t\tfeatures[i] = new Feature(width, height, i);\n\t\t}\n\t}", "public void setFeatureFactory(FeatureFactory featureFactory) {\n factory = featureFactory;\n }", "public void setArray(float[] paramArrayOfFloat)\n/* */ {\n/* 791 */ if (paramArrayOfFloat == null) {\n/* 792 */ setNullArray();\n/* */ }\n/* */ else {\n/* 795 */ setArrayGeneric(paramArrayOfFloat.length);\n/* */ \n/* 797 */ this.elements = new Object[this.length];\n/* */ \n/* 799 */ for (int i = 0; i < this.length; i++) {\n/* 800 */ this.elements[i] = Float.valueOf(paramArrayOfFloat[i]);\n/* */ }\n/* */ }\n/* */ }", "@Override\n public synchronized Set<FeatureType> getFeatures() {\n return features = nonNullSet(features, FeatureType.class);\n }", "private void handleArrayElementFeature(XMLStreamReader reader, int attributeIndex, String attrName, String typeName, Type nodeType, Feature feature, ByteArrayOutputStream baos, TypeSystem ts) {\n final String[] valueSplit = reader.getAttributeValue(attributeIndex).split(\" \");\n writeInt(valueSplit.length, baos);\n Stream<String> arrayValues = Stream.of(valueSplit);\n // The list subtype names have already been resolved at the calling method\n String arrayTypeName = XmiSplitUtilities.isMultiValuedFeatureAttribute(nodeType, attrName) ? typeName : feature.getRange().getName();\n Type arrayType = ts.getType(arrayTypeName);\n if (ts.subsumes(ts.getType(CAS.TYPE_NAME_DOUBLE_ARRAY), arrayType) || ts.subsumes(ts.getType(CAS.TYPE_NAME_FLOAT_LIST), arrayType)) {\n arrayValues.mapToDouble(Double::valueOf).forEach(d -> writeDouble(d, baos));\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_SHORT_ARRAY), arrayType)) {\n arrayValues.mapToInt(Integer::valueOf).forEach(i -> writeShort((short) i, baos));\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_BYTE_ARRAY), arrayType)) {\n arrayValues.mapToInt(Integer::valueOf).forEach(baos::write);\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_BOOLEAN_ARRAY), arrayType)) {\n arrayValues.map(s -> Boolean.valueOf(s) ? 1 : 0).forEach(baos::write);\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_INTEGER_ARRAY), arrayType) || ts.subsumes(ts.getType(CAS.TYPE_NAME_INTEGER_LIST), arrayType)) {\n arrayValues.mapToInt(Integer::valueOf).forEach(i -> writeInt(i, baos));\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_LONG_ARRAY), arrayType)) {\n arrayValues.mapToLong(Long::valueOf).forEach(l -> writeLong(l, baos));\n } else if (ts.subsumes(ts.getType(CAS.TYPE_NAME_STRING_ARRAY), arrayType)) {\n // String arrays should only be embedded into the element if they are empty\n if (arrayValues.filter(Predicate.not(String::isBlank)).count() > 0)\n throw new IllegalArgumentException(\"Unhandled case of a StringArray that is embedded into the type element but is not empty for feature '\" + attrName + \"' of type '\" + typeName + \"'.\");\n // String of length 0\n writeInt(0, baos);\n } else throw new IllegalArgumentException(\"Unhandled feature '\" + attrName + \"' of type '\" + typeName + \"'.\");\n }", "List<Feature> getFeatures();", "public Feature[] getFeatures() {\n Feature[] features = new Feature[rows.size()];\n for(int i=0;i<features.length;i++){\n features[i] = (Feature)rows.elementAt(i);\n }\n return features;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n return target;\r\n }\r\n }", "public void setFeatureVector(double[][] featureVector) {\r\n\t\tthis.featureVector = featureVector;\r\n\t}", "public final void set(float t[]) {\n\t\tthis.x = t[0];\n\t\tthis.y = t[1];\n\t\tthis.z = t[2];\n\t}", "public vis.smart.webservice.ProteinFeaturesFeature[] getFeature() {\n return feature;\n }", "void addFeature(int index, Feature feature);", "public void setArray(int i, Array x);", "@Override\n public synchronized Set<FeatureType> getFeatureInstances() {\n return featureInstances = nonNullSet(featureInstances, FeatureType.class);\n }", "void addFeatures(Features features);", "public void setAllNodesArray(ArrayList<Student> x) {\n students = x;\n }", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature getPlanFeatureArray(int i);", "void setPlaces(Place[] places);", "private void addFeatureFieldGetSet(FeatureImpl fi) {\n this.fi = fi;\n featureFieldName = getFeatureFieldName(fi);\n rangeJavaDescriptor = fi.getRangeAsJavaDescriptor();\n \n addFeatureField(); // add declares for fields\n addFeatureGetSet();\n TypeImpl range = (TypeImpl) fi.getRange();\n if (range.isArray()) {\n rangeArrayElementJavaDescriptor = fi.getRangeArrayElementAsJavaDescriptor();\n addArrayFeatureGetSet();\n }\n }", "@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }", "public void set(float[] matrix) {\n System.arraycopy(matrix, 0, this.matrix, 0, 16);\n }", "public void setFeature(Integer feature) {\n this.feature = feature;\n }", "public void addFeatures(IFeature feature);", "public final void set(float m[]) {\n\tm00 = m[ 0]; m01 = m[ 1]; m02 = m[ 2];\n\tm10 = m[ 3]; m11 = m[ 4]; m12 = m[ 5];\n\tm20 = m[ 6]; m21 = m[ 7]; m22 = m[ 8];\n }", "public Set<String> getFeatures();", "protected Vector getFeatureSet()\n {\n // get the superclass' vector\n Vector v = super.getFeatureSet();\n\n // add the features\n\n // return the vector\n return v;\n }", "public FeatureCollection() {\n//\t\tif (featureTypes!=null) {\n//\t\t\tavailableFeatureTypes = featureTypes;\n//\t\t}\n\t}", "protected void setArray(Object[] array){\r\n\t \tthis.array = array;\r\n\t }", "public void addFeatures(Feature[] features) {\n for(int i=0;i<features.length;i++){\n if(!rows.contains(features[i])){\n rows.addElement(features);\n }\n }\n }", "public void setInstance(int index, double[] feature) {\n\t\tinstances.set(index,feature);\n\t}", "void setAllEdges(List<IEdge> allEdges);", "public void set(double[] ad);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "public void set(boolean[] abol);", "public void setUniverse(byte[][] input)\n\t{\n\t\tfor(int row =0; row<input.length; row++)\n\t\t{\t//for loop for column\n\t\t\tfor(int column =0; column<input[row].length; column++)\n\t\t\t{\n\t\t\t\t//assign value from input array to currentversion\n\t\t\t\tthis.currentVersion[row][column] = input[row][column];\n\t\t\t}\n\t\t}\n\t}", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature[] getPlanFeatureArray();", "public MyRectangle[] getFeature() {\n return rectangles;\n }", "@Override\n public void setFeature(String feature) {\n this.exteriorFeature = feature;\n }", "List<IFeature> getFeatureList();", "void setClassificationArray(int i, org.landxml.schema.landXML11.ClassificationDocument.Classification classification);", "void setStarArray(stars.StarType[] starArray);", "public void setIntensity(double[] value){\n\t\tintensity = new double[value.length];\n\t\tintensity = value;\n\t}", "public void set_data(short[] value) {\n for (int index0 = 0; index0 < value.length; index0++) {\n setElement_data(index0, value[index0]);\n }\n }", "public void merge(FeatureSet<T> set) {\n\t\taddAllFeatures(set.getFeaturesList());\n\t}", "public void set(float[] values) {\n for (int i = 0; i < values.length; i++) {\n storage[i] = values[i];\n }\n }", "public void set(GPointsArray pts) {\n\t\tif (pts.getNPoints() == points.size()) {\n\t\t\tfor (int i = 0; i < points.size(); i++) {\n\t\t\t\tpoints.get(i).set(pts.get(i));\n\t\t\t}\n\t\t} else if (pts.getNPoints() > points.size()) {\n\t\t\tfor (int i = 0; i < points.size(); i++) {\n\t\t\t\tpoints.get(i).set(pts.get(i));\n\t\t\t}\n\n\t\t\tfor (int i = points.size(); i < pts.getNPoints(); i++) {\n\t\t\t\tpoints.add(new GPoint(pts.get(i)));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (int i = 0; i < pts.getNPoints(); i++) {\n\t\t\t\tpoints.get(i).set(pts.get(i));\n\t\t\t}\n\n\t\t\tpoints.subList(pts.getNPoints(), points.size()).clear();\n\t\t}\n\t}", "void setFunctionArray(int i, org.globus.swift.language.Function function);", "public ZYArraySet(){\n elements = (ElementType[])new Object[DEFAULT_INIT_LENGTH];\n }", "void addFeature(Feature feature);", "void setContents(T[] contents);", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "@Override\n public void modifyFeatures(String[] nameArray, Object[] attributeValues, Filter filter)\n throws IOException {\n SimpleFeatureBuilder fb = new SimpleFeatureBuilder(getSchema());\n for (int i = 0; i < nameArray.length; i++) {\n fb.set(nameArray[i], attributeValues[i]);\n }\n SimpleFeature sample = fb.buildFeature(null);\n\n // invert the values\n List<String> names = Arrays.asList(nameArray);\n Map<String, Object> invertedValueMap = new HashMap<String, Object>();\n for (Definition definition : transformer.getDefinitions()) {\n if(names.contains(definition.getName())) { \n List<Definition> ids = definition.inverse();\n if(ids != null) {\n for (Definition id : ids) {\n Object value = id.getExpression().evaluate(sample);\n invertedValueMap.put(id.getName(), value);\n }\n }\n }\n }\n \n // if we have any inverted value, call through\n if(!invertedValueMap.isEmpty()) {\n String[] invertedNames = new String[invertedValueMap.size()];\n Object[] invertedValues = new Object[invertedValueMap.size()];\n int i = 0;\n for (String name : invertedValueMap.keySet()) {\n invertedNames[i] = name;\n invertedValues[i] = invertedValueMap.get(name);\n i++;\n }\n Filter txFilter = transformer.transformFilter(filter);\n store.modifyFeatures(invertedNames, invertedValues, txFilter);\n }\n }", "protected abstract void setFaces();", "void setStarArray(int i, stars.StarType star);", "public void clearFeatures() {\n localFeatureVector.clear();\n }", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "void setArrayElement(int index, Object value);", "void setArrayElement(int index, Object value);", "void clearFeatures();", "public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}", "void setDatumArray(Datum[] paramArrayOfDatum)\n/* */ {\n/* 979 */ if (paramArrayOfDatum == null) {\n/* 980 */ setNullArray();\n/* */ }\n/* */ else {\n/* 983 */ this.length = paramArrayOfDatum.length;\n/* 984 */ this.elements = null;\n/* 985 */ this.datums = ((Datum[])paramArrayOfDatum.clone());\n/* 986 */ this.pickled = null;\n/* 987 */ this.pickledCorrect = false;\n/* */ }\n/* */ }", "public void setAllValues() {\n//\t\tNewRestaurantDetailsByStoreId newRestaurantDetailsByStoreId = null;\n\t\t\n\t\tif (Constants.allthemes!=null){\n\t\t int length = Constants.allthemes.size();\n\t\t for(int i=0;i<length;i++){\n\t\t \tThemes currentTheme = Constants.allthemes.get(i);\n\t\t \tAddObjectToList(currentTheme.photo_url,\n\t\t \t\t\tcurrentTheme.title, \n\t\t\t\t\t\t\"~\"+currentTheme.content,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tcurrentTheme.themeIndex);\n\t\t }\n\t\t \n\t\t \n\t\t runOnUiThread(new Runnable() {\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tprepareArrayLits();//CREATE LIST VIEW OF THE NEW RESTAURANTS\n\t\t\t\t}\n\t\t\t});\n\t\t}else{\n\t\t\tToast.makeText(SlyThemesActivity.this, \"無資料,請重開App.\",Toast.LENGTH_SHORT).show();\n\t\t}\n\t}", "void setRoadsideArray(int i, org.landxml.schema.landXML11.RoadsideDocument.Roadside roadside);", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "private void setPointArray(Point heartPoint, Point calPoint, Point activePoint, Point sedPoint)\n\t{\n\t\tthis.pointArray[1] = heartPoint;\n\t\tthis.pointArray[2] = calPoint;\n\t\tthis.pointArray[3] = activePoint;\n\t\tthis.pointArray[4] = sedPoint;\n\t\t\n\t}" ]
[ "0.80588627", "0.80588627", "0.71688396", "0.71688396", "0.7144149", "0.7121031", "0.71121496", "0.71121496", "0.69640315", "0.67518634", "0.67465526", "0.66042405", "0.66042405", "0.660271", "0.6601007", "0.658869", "0.6521212", "0.6343569", "0.6322774", "0.6322774", "0.6318739", "0.62453246", "0.61946213", "0.61946213", "0.61898375", "0.6121919", "0.6020088", "0.59823227", "0.5939385", "0.5895914", "0.5893717", "0.5889703", "0.5859539", "0.585437", "0.58058184", "0.58034426", "0.5761582", "0.5760771", "0.5760771", "0.5747776", "0.57393557", "0.5713291", "0.5712854", "0.5697086", "0.5692175", "0.5662718", "0.5635592", "0.5632654", "0.5627366", "0.56205845", "0.5618602", "0.5612761", "0.56079745", "0.5588207", "0.5585254", "0.5554389", "0.55449224", "0.55310106", "0.5525095", "0.5516451", "0.5497499", "0.548884", "0.5488713", "0.54809237", "0.54809237", "0.5478974", "0.5464861", "0.5453526", "0.5450228", "0.544628", "0.5432565", "0.5430481", "0.54195935", "0.5409315", "0.5406604", "0.5397738", "0.53969", "0.5396105", "0.5395257", "0.5390095", "0.53840417", "0.53770727", "0.5376699", "0.5374148", "0.53526855", "0.5338931", "0.53372365", "0.5322954", "0.532146", "0.532146", "0.5319937", "0.5319937", "0.5315922", "0.53008103", "0.52966577", "0.52965474", "0.52840614", "0.5282694", "0.5277513" ]
0.7949801
3
Sets ith "Feature" element
void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setFeature(int index, Feature feature);", "void setFeatures(Features f) throws Exception;", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$6, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "public void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().find_element_user(FEATURE$14, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(feature);\r\n }\r\n }", "public void setFeatureIndex(int i) {\n featureIndex = i;\n }", "public void setFeature(Integer feature) {\n this.feature = feature;\n }", "void addFeature(int index, Feature feature);", "void addFeature(Feature feature);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray);", "void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray);", "Feature update(Feature feature);", "@Override\n public void setFeature(String feature) {\n this.exteriorFeature = feature;\n }", "void setPlanFeatureArray(int i, org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature planFeature);", "public void setFeature(vis.smart.webservice.ProteinFeaturesFeature[] feature) {\n this.feature = feature;\n }", "public void setInstance(int index, double[] feature) {\n\t\tinstances.set(index,feature);\n\t}", "public void setElement(T newvalue);", "public void setFeatureFactory(FeatureFactory featureFactory) {\n factory = featureFactory;\n }", "public void setFeature(String featureId, boolean value)\n throws SAXNotRecognizedException, SAXNotSupportedException\n {\n boolean state;\n \n // Features with a defined value, we just change it if we can.\n state = getFeature (featureId);\n \n if (state == value)\n {\n return;\n }\n if (parser != null)\n {\n throw new SAXNotSupportedException(\"not while parsing\");\n }\n \n if ((FEATURE + \"namespace-prefixes\").equals(featureId))\n {\n // in this implementation, this only affects xmlns reporting\n xmlNames = value;\n // forcibly prevent illegal parser state\n if (!xmlNames)\n {\n namespaces = true;\n }\n return;\n }\n \n if ((FEATURE + \"namespaces\").equals(featureId))\n {\n namespaces = value;\n // forcibly prevent illegal parser state\n if (!namespaces)\n {\n xmlNames = true;\n }\n return;\n }\n \n if ((FEATURE + \"external-general-entities\").equals(featureId))\n {\n extGE = value;\n return;\n }\n if ((FEATURE + \"external-parameter-entities\").equals(featureId))\n {\n extPE = value;\n return;\n }\n if ((FEATURE + \"resolve-dtd-uris\").equals(featureId))\n {\n resolveAll = value;\n return;\n }\n \n if ((FEATURE + \"use-entity-resolver2\").equals(featureId))\n {\n useResolver2 = value;\n return;\n }\n \n throw new SAXNotRecognizedException(featureId);\n }", "private void addFeature()\r\n {\r\n MapGeometrySupport mgs = myCurrentGeometryHandler.getGeometry();\r\n MetaDataProvider mdp = myMetaDataHandler.getMetaDataProvider();\r\n TimeSpan span = buildTimeSpan(mdp);\r\n mgs.setTimeSpan(span);\r\n MapDataElement element = new DefaultMapDataElement(myFeatureId, span, myType, mdp, mgs);\r\n Color typeColor = myType.getBasicVisualizationInfo().getTypeColor().equals(DEFAULT_FEATURE_COLOR) ? myFeatureColor\r\n : myType.getBasicVisualizationInfo().getTypeColor();\r\n element.getVisualizationState().setColor(typeColor);\r\n myConsumer.addFeature(element);\r\n myFeatureCount++;\r\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();", "org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();", "public void addFeatures(IFeature feature);", "public void addFeature(Feature feature) {\n rows.addElement(feature);\n }", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$6);\r\n }\r\n }", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$6);\r\n }\r\n }", "void set(int index, Object element);", "void setElement(int row, String field, Object value);", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature insertNewPlanFeature(int i);", "public void xsetFeatureType(gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType featureType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n if (target == null)\n {\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().add_element_user(FEATURETYPE$4);\n }\n target.set(featureType);\n }\n }", "public void setFeatureArray(org.landxml.schema.landXML11.FeatureDocument.Feature[] featureArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(featureArray, FEATURE$14);\r\n }\r\n }", "public void setElement(String newElem) { element = newElem;}", "public void setElement(T elem)\n {\n\n element = elem;\n }", "public void addFeatures(Feature... f) {\r\n addFeatures(Arrays.asList(f));\r\n }", "public void setFeatureType(gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType.Enum featureType)\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(FEATURETYPE$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEATURETYPE$4);\n }\n target.setEnumValue(featureType);\n }\n }", "Feature createFeature();", "void addFeatures(Features features);", "public void addFeature(@Nonnull Feature f) {\r\n features.add(f);\r\n }", "public void addVariant(Feature feature){\r\n\t\tthis.alternativeFeatureGroup.get(0).addFeature(feature);\r\n\t}", "public void increaseFeatureCount() {\n this.featureCount++;\n }", "@Override\n\tpublic void setElement(Element element) {\n\t\t\n\t}", "public void setElementAt(Object obj, int index);", "void add_element_to_feature(Fact factInf, Feature feature_to_assign, Element element, boolean is_fprivate, boolean is_fpublic, Feature parent_feature, boolean by_inference){\n\t\tFeatureBound eb = this.partition.boundsCalc.get_earliest_bound(element, partition.get_all_features(), parent_feature);\n\t\tFeatureBound lb = this.partition.boundsCalc.get_latest_bound(element, partition.get_all_features(), parent_feature);\n\t\tFeaturePossibility poss = this.partition.boundsCalc.get_element_possibilities(element, parent_feature, false);\n\t\t\n\t\tif(eb != null && eb.getFeature() != null){\n\t\t\telement.setEarliest_bound(eb.getFeature());\n\t\t}\n\t\tif(lb != null && lb.getFeature() != null){\n\t\t\telement.setLatest_bound(lb.getFeature());\n\t\t}\n\t\t\n\t\tif(poss != null & poss.getButton_options() != null){\n\t\t\telement.setNumber_possibilities(poss.getButton_options().size());\n\t\t}\n\t\t\n\t\tboolean already_hook = element.isIs_hook();\n\t\tboolean is_hook = hookHandler.check_is_hook(feature_to_assign, element);\n\t\t\n\t\tif(is_hook){\n\t\t\tis_fprivate = false;\n\t\t\tis_fpublic = true;\n\t\t}\n\t\t\n\t\tif(!already_hook && is_hook){\n\t\t\tfactInf.addInference(element.getIdentifier() + \", BttF says it's a hook because it references declaration(s) classified in future features\", element, is_fprivate, is_fpublic, is_hook, feature_to_assign);\n\t\t}\n\t\t\n\t\tif(already_hook && !is_hook){\n\t\t\tfactInf.addInference(element.getIdentifier() + \", BttF says it's no longer a hook, referenced declaration(s) got reclassified\", element, is_fprivate, is_fpublic, is_hook, feature_to_assign);\n\t\t}\n\t\t\n\t\tif(element.getFeature()!= null){\n\t\t\tFeature orig_feature = element.getFeature();\n\t\t\torig_feature.removeElement(element);\n\t\t}\n\t\t\n\t\tfeature_to_assign.addElement(element, is_fprivate, is_fpublic, is_hook, by_inference);\n\t\telement.setOrderOfAssignment(orderOfAssignment);\n\t\torderOfAssignment++;\n\t\t\n\t\tif(is_fprivate){\n\t\t\tpropagate_childs_of_fprivate_containers(element, feature_to_assign, factInf, parent_feature);\n\t\t\tpropagate_fprivate(element, feature_to_assign, factInf, parent_feature);\n\t\t}\n\t\t\n\t\tpropagate_childs_with_no_calls(element, feature_to_assign, factInf, parent_feature);\n\n\t\tif(cycle_stuff_on){\n\t\t\tcycleHandler.propagate_elems_in_cycle(cycle_list, element, feature_to_assign, factInf);\n\t\t}\n\t\t\n\t\t//if we are partitioning into fw+pi and we have a non terminal class, \n\t\t//all of its members go to its same feature\n\t\tif(is_fwpi){\n\t\t\tif(element.getElement_type().equals(ElementType.ELEM_TYPE_CLASS)){\n\t\t\t\t//check if it not should be pulled apart and add all of its members go to its same feature\n\t\t\t\tpropagate_members_of_unbreakable_fwpi(element, feature_to_assign, factInf, parent_feature);\n\t\t\t\t//propagate_members_of_nonterminal(element, feature_to_assign, factInf, parent_feature);\n\t\t\t}\n\t\t\tif(element.getElement_type().equals(ElementType.ELEM_TYPE_METHOD)){\n\t\t\t\tpropagate_reffrom_cannotbehook_fwpi(element, feature_to_assign, factInf, parent_feature);\n\t\t\t\tpropagate_reffrom_staticmethodmember_fwpi(element, feature_to_assign, factInf, parent_feature);\n\t\t\t}\n\t\t}\n\t\thookHandler.late_check_for_hooks(element, factInf, parent_feature);\n\t\thookHandler.recheck_hook(element, factInf);\n\t\t\n\t}", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature addNewPlanFeature();", "public void setFeatureSet(byte featureSet) {\n\t\t\n\t\tthis.featureSet = featureSet;\n\t\tupdateTrigger(new NotificationPacket(myAddress() + \"/featureSet\", \"\" + featureSet, NotificationPacket.NPACTION_UPDATE));\n\t\tupdateTrigger(new NotificationPacket(myAddress() + \"/featureSet/text\", getFeatureSetText(), NotificationPacket.NPACTION_UPDATE));\n\n\t}", "public void updateFeatue(Long id, FeatureLookup feature) {\n\r\n\t}", "public void setElement(E element)\n\t{\n\t\tthis.data = element;\n\t}", "public void setElement (T element) {\r\n\t\t\r\n\t\tthis.element = element;\r\n\t\r\n\t}", "public void setAt(int iterator, T element) {\n data[iterator] = element;\n }", "public void setFeatureVector(double[][] featureVector) {\r\n\t\tthis.featureVector = featureVector;\r\n\t}", "public void putFeature(FeatureData feature, CoinData coin) {\n String sql = \"SELECT Coin.id FROM Coin, Country WHERE \" +\n \"Coin.Country_id = Country.id AND \" +\n \"Country.Name = '\" + coin.country + \"' AND \" +\n \"Coin.Value = \" + coin.value + \";\";\n Cursor cursor = database.rawQuery(sql, null);\n cursor.moveToFirst();\n int coinId = cursor.getInt(0);\n cursor.close();\n\n // put the feature data into the database\n ContentValues values = new ContentValues();\n values.put(\"Type\", feature.type);\n values.put(\"Coin_id\", coinId);\n values.put(\"Keypoints\", MatSerializer.matToBytes(feature.keypoints));\n values.put(\"Descriptor\", MatSerializer.matToBytes(feature.descriptor));\n values.put(\"Mask\", MatSerializer.matToBytes(feature.mask));\n database.insert(\"Feature\", null, values);\n\n }", "@Override\n protected SimpleFeature buildFeature() {\n synchronized(EDGE_FEATURE_BUILDER) {\n EDGE_FEATURE_BUILDER.add(getId());\n EDGE_FEATURE_BUILDER.add(displayName);\n EDGE_FEATURE_BUILDER.add(url);\n EDGE_FEATURE_BUILDER.add(selected);\n EDGE_FEATURE_BUILDER.add(lineString);\n return EDGE_FEATURE_BUILDER.buildFeature(null);\n }\n }", "public void setInstances(List<double[]> features) {\n\t\tthis.instances = features;\n\t}", "void setArrayElement(int index, Object value);", "void setArrayElement(int index, Object value);", "public void setFeatureSerializationStructure(EStructuralFeature eStructuralFeature, int serializationStructure) {\n \n \t}", "public void set(int index, float value) {\r\n RangeCheck(index);\r\n elementData[index] = value;\r\n }", "void setPlanFeatureArray(org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature[] planFeatureArray);", "public void addFeatures(@Nonnull Collection<Feature> f) {\r\n features.addAll(f);\r\n }", "public void setElement(Object e) {\n element = e;\n }", "public @Override E set(int index, E element) {\n \tNode n = getNode(index);\n \tE result = n.data;\n \tn.data = element;\n \treturn result;\n }", "private void addFeatureFieldGetSet(FeatureImpl fi) {\n this.fi = fi;\n featureFieldName = getFeatureFieldName(fi);\n rangeJavaDescriptor = fi.getRangeAsJavaDescriptor();\n \n addFeatureField(); // add declares for fields\n addFeatureGetSet();\n TypeImpl range = (TypeImpl) fi.getRange();\n if (range.isArray()) {\n rangeArrayElementJavaDescriptor = fi.getRangeArrayElementAsJavaDescriptor();\n addArrayFeatureGetSet();\n }\n }", "@Override\n public void onBindViewHolder(@NonNull SpecificationFeatureAdaptor.FeatureViewHolder holder, int position) {\n holder.setFeature( position );\n }", "public void setElement(T element) {\n\t\tthis.element = element;\n\t}", "@RequestLine(\"PUT /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: multipart/form-data\",\n \"Accept: application/json\",\n })\n FeatureFlag setFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature, @Param(\"state\") String state);", "public void setValue(T element) {\n\t\t\n\t}", "public void addElement(final FeatureElement newElement)\n\t{\n\t\tfeatureElements.add(newElement);\n\t}", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "@RequestMapping(value=\"/updateValue/{value}/{name}\", method = RequestMethod.POST)\n public void updateFeature(@PathVariable(value = \"value\") Integer value,\n \t\t @PathVariable(value = \"name\") String name) throws JsonProcessingException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n Feature feature = new Feature(value, name);\n restTemplate.postForEntity( uri, feature, Feature[].class);\n System.out.println(\"End of updateFeature() \");\n }", "public synchronized void setFeatureInstances(final Set<? extends FeatureType> newValues) {\n featureInstances = copySet(newValues, featureInstances, FeatureType.class);\n }", "public synchronized void setFeatures(final Set<? extends FeatureType> newValues) {\n features = copySet(newValues, features, FeatureType.class);\n }", "public E set(int index, E element);", "void setData(int node_index, int element) {\n\t\tm_list_nodes.setField(node_index, 0, element);\n\t}", "private void addToIndex(SimpleFeature feature) {\n\t\t// ID Index\n\t\tif (idIndex==null) idIndex = new HashMap<String, SimpleFeature>();\n\t\tidIndex.put(feature.getID(), feature);\n\t\t\n\t\t// Type name index\n\t\tif (typeNameIndex==null) typeNameIndex = new HashMap<Name, Set<SimpleFeature>>();\n\t\tName type = feature.getType().getName();\n\t\tSet<SimpleFeature> prev = typeNameIndex.get(type);\n\t\tif (prev==null) prev = new HashSet<SimpleFeature>();\n\t\tprev.add(feature);\n\t\ttypeNameIndex.put(type, prev);\n\t\t\n\t\t// Tile Index\n\t\t// Image features are separated by - and last parts are xref-yref-zoom\n\t\tif (feature.getID().matches(\".*-[0-9]+-[0-9]+-[0-9]+\")) {\n\t\t\tOSMTile tile = new OSMTile(feature.getID());\n\t\t\tprev = tileIndex.get( tile );\n\t\t\tif (prev==null) prev = new HashSet<SimpleFeature>();\n\t\t\tprev.add(feature);\n\t\t\ttileIndex.put(tile, prev);\n\t\t\t\n\t\t} else {\n\t\t\t/* TODO Something for features..?\n\t\t\t * get geometry bounds, calculate tile and insert into relevant index positions?\n\t\t\t * This would then also work for removal...\t */\n\t\t}\n\t\t\n\t}", "Feature loadFeature(Integer id);", "public static Feature update(Feature feature) throws SQLException {\r\n\r\n\t\tString[] data = new String[4];\r\n\r\n\t\tdata[0] = \"\" + feature.getFeatureId() + \"\";\r\n\t\tdata[1] = \"\" + feature.getVideoId() + \"\";\r\n\t\tdata[2] = \"\\'\" + feature.getFeatureName() + \"\\'\";\r\n\t\tdata[3] = \"\\'\" + feature.getFeatureVector() + \"\\'\";\r\n\t\t//data[4] = \"TO_DATE(\\'\" + feature.getCreationDate() + \"\\', \\'yyyy-MM-dd\\', \\'GMT+9\\')\"; //no need to update date\r\n\r\n\t\t//System.out.println(\"Data = \" + Arrays.toString(data));\r\n\t\toperation.insertOrUdate(\"FEATURE\", data);\r\n\r\n\t\treturn feature;\r\n\t}", "@RequestLine(\"PUT /v1/accounts/{accountId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: multipart/form-data\",\n \"Accept: application/json\",\n })\n FeatureFlag setFeatureFlagAccounts(@Param(\"accountId\") String accountId, @Param(\"feature\") String feature, @Param(\"state\") String state);", "public void setFeature(String aFeatureId, boolean aBoolean)\n\t\t\t\t\tthrows SAXNotSupportedException, SAXNotRecognizedException {\n\t\tparserImpl.setFeature(aFeatureId, aBoolean);\n\t}", "public boolean is_set_feature() {\n return this.feature != null;\n }", "public void setObject(Object element, int row, int column) {\n\t\tcolumns[column].setRow(element, subset[row]);\n\t}", "public void setFeatures(List<String> features) {\n this.features = features;\n }", "protected void setElement (XmlNode thisNode, Object obj, XmlDescriptor desc, UnmarshalContext context) throws Exception {\n String elName = thisNode.getName (); //getTagName();\n\n JField jf = (JField)desc.elementList.get(elName);\n if (jf == null)\n throw new FieldNotFoundException (\"ephman.abra.tools.nofield\", \n\t\t\t\t\t\t\t\t\t\t\t new Object[]{elName, desc.className});\n\n\t\tif (jf.isArray ()) return ; // will do seperately..\n Class thisClass = obj.getClass();\n\n Object value = null;\n Method m = null;\n if (jf.isCollection()) {\n m = getASetMethod (thisClass, \"addTo\" + jf.getGetSet(), jf.getObjectType());\n } else {\n m = getASetMethod (thisClass, \"set\" + jf.getGetSet(), jf.getObjectType());\n }\n\n if (jf instanceof JCompositeField) {\n XmlDescriptor fieldDesc = (XmlDescriptor)this.classList.get (jf.getObjectType());\n value = unmarshal (thisNode, context, fieldDesc);\n }\n else {\n\t\t\tvalue = getPrimitive (thisNode, jf, context);\n \n }\n\n m.invoke(obj, new Object[]{value});\n\t\t//\t\tif (jf.getObjectType ().equals (\"char\"))\n\t\t//System.out.println (\"was ok\");\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "@RequestLine(\"PUT /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: multipart/form-data\",\n \"Accept: application/json\",\n })\n FeatureFlag setFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature, @Param(\"state\") String state);", "public void setAttribute(FactAttribute[] param) {\r\n\r\n validateAttribute(param);\r\n\r\n localAttributeTracker = true;\r\n\r\n this.localAttribute = param;\r\n }", "public Integer getFeature() {\n return feature;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$14, i);\r\n return target;\r\n }\r\n }", "public void setValue(T v){\n \telement = v;\n }", "public void add(Feature f){\n if (debug) logger.info(\"feature added\");\n int z = fc.size();\n fc.add(f);\n fcLastEdits.clear();//clear possible feature edits\n fcLastEdits.add(f);\n lastEditType = EDIT_ADD;\n fireTableRowsInserted(z+1, z+1);\n }", "void removeFeature(int i);", "void removeFeature(int i);", "public Feature(String name) {\n\t\tthis(name.split(\"\\\\.\"));\n\t}", "public void set(int index, T element) {\n genericArrayList[index] = element;\n }", "public abstract void setDataToElementXY();", "void set(int index, T data);" ]
[ "0.81057084", "0.73668224", "0.69845116", "0.69845116", "0.69805217", "0.6979606", "0.69000524", "0.6785458", "0.66490173", "0.6556751", "0.6556751", "0.65112054", "0.65112054", "0.6473489", "0.6460772", "0.6423529", "0.6421798", "0.64173895", "0.63779587", "0.6362048", "0.6299468", "0.6175554", "0.6163047", "0.6163047", "0.6133667", "0.6038104", "0.5925778", "0.5925778", "0.59059703", "0.589627", "0.58882827", "0.5878717", "0.58648926", "0.58607745", "0.5853727", "0.58483654", "0.5833834", "0.5825267", "0.5817378", "0.5805888", "0.5797942", "0.5765077", "0.5763542", "0.57374316", "0.5733715", "0.5732252", "0.5726715", "0.5712925", "0.5679815", "0.5664939", "0.56484604", "0.56446236", "0.56266016", "0.56184876", "0.5616245", "0.5599175", "0.5599175", "0.5595351", "0.5595062", "0.55780137", "0.55765367", "0.55722564", "0.55699414", "0.55545354", "0.5552168", "0.5551721", "0.55417985", "0.5520779", "0.5518803", "0.5517294", "0.5517294", "0.55125403", "0.54963535", "0.5472967", "0.5470871", "0.54612494", "0.54539293", "0.54526", "0.545241", "0.54491556", "0.54457146", "0.543238", "0.5411857", "0.54094034", "0.54066825", "0.53983533", "0.53983533", "0.53916246", "0.5380036", "0.5377051", "0.53705084", "0.53478175", "0.53477484", "0.5346521", "0.5346521", "0.5341711", "0.53377503", "0.5321548", "0.53173757" ]
0.7382774
2
Inserts and returns a new empty value (as xml) as the ith "Feature" element
org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();", "org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature insertNewPlanFeature(int i);", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$14, i);\r\n return target;\r\n }\r\n }", "public org.w3c.dom.Element createFeaturesElement(Document xmldoc) {\n\tElement e = xmldoc.createElement(XML.FEATURES);\n\tStringBuffer b=new StringBuffer();\n\tfor(int i=0; i< id2label.size();i++) {\n\t if (b.length()>0) b.append(\" \");\n\t b.append(getLabel(i));\n\t}\n\tText textNode = xmldoc.createTextNode(b.toString());\n\te.appendChild(textNode);\n\treturn e;\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$6);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$6);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$14);\r\n return target;\r\n }\r\n }", "private void addFeature()\r\n {\r\n MapGeometrySupport mgs = myCurrentGeometryHandler.getGeometry();\r\n MetaDataProvider mdp = myMetaDataHandler.getMetaDataProvider();\r\n TimeSpan span = buildTimeSpan(mdp);\r\n mgs.setTimeSpan(span);\r\n MapDataElement element = new DefaultMapDataElement(myFeatureId, span, myType, mdp, mgs);\r\n Color typeColor = myType.getBasicVisualizationInfo().getTypeColor().equals(DEFAULT_FEATURE_COLOR) ? myFeatureColor\r\n : myType.getBasicVisualizationInfo().getTypeColor();\r\n element.getVisualizationState().setColor(typeColor);\r\n myConsumer.addFeature(element);\r\n myFeatureCount++;\r\n }", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature addNewPlanFeature();", "public Document saveAsXML() {\n\tDocument xmldoc= new DocumentImpl();\n\tElement root = createFeaturesElement(xmldoc);\n\txmldoc.appendChild(root);\n\treturn xmldoc;\n }", "void addFeature(Feature feature);", "@Override\n protected SimpleFeature buildFeature() {\n synchronized(EDGE_FEATURE_BUILDER) {\n EDGE_FEATURE_BUILDER.add(getId());\n EDGE_FEATURE_BUILDER.add(displayName);\n EDGE_FEATURE_BUILDER.add(url);\n EDGE_FEATURE_BUILDER.add(selected);\n EDGE_FEATURE_BUILDER.add(lineString);\n return EDGE_FEATURE_BUILDER.buildFeature(null);\n }\n }", "public static Feature create(Feature feature) throws SQLException {\r\n\r\n\t\tString[] data = new String[5];\r\n\r\n\t\tdata[0] = \"NEXT VALUE FOR siat.feature_pk\";\r\n\t\tdata[1] = \"\" + feature.getVideoId() + \"\";\r\n\t\tdata[2] = \"\\'\" + feature.getFeatureName() + \"\\'\";\r\n\t\tdata[3] = \"\\'\" + feature.getFeatureVector() + \"\\'\";\r\n\t\tdata[4] = \"TO_DATE(\\'\" + feature.getCreationDate() + \"\\', \\'yyyy-MM-dd\\', \\'GMT+9\\')\";\r\n\r\n\t\t//System.out.println(\"Data = \" + Arrays.toString(data));\r\n\t\toperation.insertOrUdate(\"FEATURE\", data);\r\n\r\n\t\treturn feature;\r\n\t}", "void addFeature(int index, Feature feature);", "public void addElement() {\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\taddElement(newNode);\n\t}", "public DasFeature getNextFeature() {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n DasFeature f = new DasFeature(feature);\n return f;\n }", "private void insert(String component, String feature) {\n\tthis.entities.putIfAbsent(component, new HashSet<String>());\n\tSet<String> componentFeatures = this.entities.get(component);\n\tcomponentFeatures.add(feature);\n\tthis.entities.put(component, componentFeatures);\n\t// From features to components which possess them\n\tthis.features.putIfAbsent(feature, new HashSet<String>());\n\tSet<String> components = this.features.get(feature);\n\tcomponents.add(component);\n\t//LogInfo.logs(\" adding: %s :: %s\", feature, component);\n\tthis.features.put(feature, components);\n }", "public void addFeature(Feature feature) {\n rows.addElement(feature);\n }", "com.synergyj.cursos.webservices.ordenes.XMLBFactura addNewXMLBFactura();", "public Integer insert(ElemFeature record) throws SQLException {\r\n\t\tObject newKey = getSqlMapClientTemplate().insert(\r\n\t\t\t\t\"cementerio_elem_feature.ibatorgenerated_insert\", record);\r\n\t\treturn (Integer) newKey;\r\n\t}", "Feature createFeature();", "public org.apache.xmlbeans.XmlObject addNewValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlObject target = null;\n target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(VALUE$2);\n return target;\n }\n }", "public void setFeature(String featureId, boolean value)\n throws SAXNotRecognizedException, SAXNotSupportedException\n {\n boolean state;\n \n // Features with a defined value, we just change it if we can.\n state = getFeature (featureId);\n \n if (state == value)\n {\n return;\n }\n if (parser != null)\n {\n throw new SAXNotSupportedException(\"not while parsing\");\n }\n \n if ((FEATURE + \"namespace-prefixes\").equals(featureId))\n {\n // in this implementation, this only affects xmlns reporting\n xmlNames = value;\n // forcibly prevent illegal parser state\n if (!xmlNames)\n {\n namespaces = true;\n }\n return;\n }\n \n if ((FEATURE + \"namespaces\").equals(featureId))\n {\n namespaces = value;\n // forcibly prevent illegal parser state\n if (!namespaces)\n {\n xmlNames = true;\n }\n return;\n }\n \n if ((FEATURE + \"external-general-entities\").equals(featureId))\n {\n extGE = value;\n return;\n }\n if ((FEATURE + \"external-parameter-entities\").equals(featureId))\n {\n extPE = value;\n return;\n }\n if ((FEATURE + \"resolve-dtd-uris\").equals(featureId))\n {\n resolveAll = value;\n return;\n }\n \n if ((FEATURE + \"use-entity-resolver2\").equals(featureId))\n {\n useResolver2 = value;\n return;\n }\n \n throw new SAXNotRecognizedException(featureId);\n }", "public void addFeatures(IFeature feature);", "public Integer insertSelective(ElemFeature record) throws SQLException {\r\n\t\tObject newKey = getSqlMapClientTemplate().insert(\r\n\t\t\t\t\"cementerio_elem_feature.ibatorgenerated_insertSelective\",\r\n\t\t\t\trecord);\r\n\t\treturn (Integer) newKey;\r\n\t}", "private String createFeatureInStore( final Geometry finalGeometry, final FeatureStore<SimpleFeatureType, SimpleFeature> store ) throws SOProcessException{\n \n SimpleFeature newFeature;\n try {\n newFeature = DataUtilities.template(store.getSchema());\n\n newFeature.setDefaultGeometry(finalGeometry);\n \n Set fidSet = store.addFeatures(DataUtilities.collection(new SimpleFeature[]{newFeature}));\n \n Iterator iter = fidSet.iterator();\n assert iter.hasNext();\n String fid = (String)iter.next();\n \n return fid;\n\n } catch (Exception e) {\n \n final String msg = Messages.ClipProcess_failed_creating_new_feature ;\n LOGGER.severe(msg);\n throw new SOProcessException(msg);\n \n }\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "public static Feature update(Feature feature) throws SQLException {\r\n\r\n\t\tString[] data = new String[4];\r\n\r\n\t\tdata[0] = \"\" + feature.getFeatureId() + \"\";\r\n\t\tdata[1] = \"\" + feature.getVideoId() + \"\";\r\n\t\tdata[2] = \"\\'\" + feature.getFeatureName() + \"\\'\";\r\n\t\tdata[3] = \"\\'\" + feature.getFeatureVector() + \"\\'\";\r\n\t\t//data[4] = \"TO_DATE(\\'\" + feature.getCreationDate() + \"\\', \\'yyyy-MM-dd\\', \\'GMT+9\\')\"; //no need to update date\r\n\r\n\t\t//System.out.println(\"Data = \" + Arrays.toString(data));\r\n\t\toperation.insertOrUdate(\"FEATURE\", data);\r\n\r\n\t\treturn feature;\r\n\t}", "org.landxml.schema.landXML11.BridgeElementDocument.BridgeElement addNewBridgeElement();", "private NamedFeature getUnigeneTestFeature(){\n BasicFeature testFeat = new BasicFeature(\"chr2\", 179908392, 179909870);\n testFeat.setName(\"hs.516555\");\n return testFeat;\n }", "public FeatureDictionary(Element e) throws BoxerXMLException {\n\tif (!e.getTagName().equals(XML.FEATURES)) {\n\t throw new BoxerXMLException(\"FeatureDictionary can only be deserialized from an XML element named `\" + XML.FEATURES + \"'\");\n\t}\n\n\tfor(Node n = e.getFirstChild(); n!=null; n = n.getNextSibling()) {\n\t int type = n.getNodeType();\n\t //System.out.println(\"Node Name = \" + n.getNodeName()+ \t\t\t\t \", type=\" + type + \", val= \" + val);\n\t \n\t boolean found = false;\n\t if (type == Node.COMMENT_NODE) { // skip \n\t } else if (type == Node.TEXT_NODE) {\n\t\tString val = n.getNodeValue().trim();\n\t\tif (val.length()==0) { \t\t//skip\n\t\t} else {\n\t\t if (found) throw new BoxerXMLException(\"FeatureDictionary deserializer expects only one non-empty TEXT element in the XML element being parsed\");\n\t\t found = true;\n\t\t String[] tokens = val.split(\"\\\\s+\");\n\t\t if (ADD_DUMMY_COMPONENT && \n\t\t\t(tokens.length==0 || !tokens[0].equals(DUMMY_LABEL))) {\n\t\t\tthrow new BoxerXMLException(\"FeatureDictionary deserializer: ADD_DUMMY_COMPONENT flag is on, but the feature list in the XML element does not start with \" + DUMMY_LABEL);\n\t\t }\n\t\t id2label.setSize(tokens.length);\n\n\t\t for(int i=0; i<tokens.length; i++) {\n\t\t\tif (!IDValidation.validateFeatureName(tokens[i])) {\n\t\t\t throw new BoxerXMLException(\"Can't add feature with the name '\"+ tokens[i]+\"' to the feature dictionary, because this is not a legal name\");\n\t\t\t}\n\t\t\tid2label.set( i, tokens[i]);\n\t\t\tlabel2id.put( tokens[i], i);\n\t\t }\n\t\t}\n\t } else {\n\t\tthrow new IllegalArgumentException(\"FeatureDictionary deserializer: encountered unexpected node type \" + type);\n\t }\n\t}\n }", "public static String SAVE_FEATURE(Feature f) {\n String ret = \"\";\n ret += f.name + \"\\t\" + f.type + \"\\t\";\n int i;\n\n if (Feature.IS_NOMINAL(f.type)) {\n if (f.modalities == null) ret += \"null\";\n else if (f.modalities.size() == 0) ret += \"{}\";\n else\n for (i = 0; i < f.modalities.size(); i++) {\n ret += (String) f.modalities.elementAt(i);\n if (i < f.modalities.size() - 1) ret += \"\\t\";\n }\n } else if (Feature.IS_CONTINUOUS(f.type)) {\n ret += f.dmin + \"\\t\" + f.dmax;\n if (f.dmin_from_data != f.dmax_from_data)\n ret += \"\\t\" + f.dmin_from_data + \"\\t\" + f.dmax_from_data;\n } else if (Feature.IS_INTEGER(f.type)) {\n ret += f.imin + \"\\t\" + f.imax;\n if (f.imin_from_data != f.imax_from_data)\n ret += \"\\t\" + f.imin_from_data + \"\\t\" + f.imax_from_data;\n }\n return ret;\n }", "public void addFeature() throws UMUserManagementException {\n UMFeature uMFeature = convertFeatureDataBeanToFeatureModel(featureDataBean);\n featureService.createFeature(uMFeature);\n clearFeatureData();\n }", "SchemaBuilder withFeature(String name, Boolean value);", "public <T> void addValue(EObject container, EStructuralFeature structuralFeature, T value) {\n\t\t//Insert at index null appends items.\n\t\tinsertValue(container, structuralFeature, value, null);\n\t}", "public Feature createFeature(Feature.Template ft)\n throws BioException, ChangeVetoException;", "public Element toXMLElement() {\n return null;\n }", "public String getFeature() {\r\n return feature;\r\n }", "public org.pentaho.pms.cwm.pentaho.meta.expressions.CwmFeatureNode getFeatureNode();", "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "void setFeatureArray(int i, org.landxml.schema.landXML11.FeatureDocument.Feature feature);", "protected XMLElement createAnotherElement() {\n return new XMLElement(this.conversionTable,\n this.skipLeadingWhitespace,\n false,\n this.ignoreCase);\n }", "@Override\r\n\t\tpublic Object getFeature(String feature, String version)\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "org.landxml.schema.landXML11.BridgeElementDocument.BridgeElement insertNewBridgeElement(int i);", "public int insertNewElement() {\r\n\t\treturn insertElements(Arrays.asList(getNewObject()));\r\n\t}", "public boolean insert(featureBase Obj){\n int index = -1;\n\n //Determine which array index this should go into.\n switch( Obj.getClass().getName() ) {\n\n case \"featureWheels\":\n index = 2;\n break;\n case \"featureEngine\":\n index = 1;\n break;\n case \"featureColor\":\n index = 0;\n break;\n default:\n return false;\n }\n\n if( Array[index] == null ) {\n Array[index] = new node(Obj);\n return true;\n }\n return Array[index].insert(Obj);\n }", "public void addVariant(Feature feature){\r\n\t\tthis.alternativeFeatureGroup.get(0).addFeature(feature);\r\n\t}", "protected Object atInsert(Object value) {\n return null;\n }", "public <T> void insertValue(EObject container, EStructuralFeature structuralFeature, T value, Integer index) {\n\t\tDEModelLocker.activateWriter(this);\n\t\t\n\t\ttry {\n\t\t\tEList<T> currentListValue = getManyValueOrFail(container, structuralFeature, value);\n\t\n\t\t\t//EObjects may be contained in a containment EReference, which they are removed from\n\t\t\t//upon adding them to a new containment reference.\n\t\t\tif (value instanceof EObject) {\n\t\t\t\tEObject valueObject = (EObject) value;\n\t\t\t\tscheduleRemoveFromContainment(valueObject);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t//If the target structural feature is single and a previous value exists, it will be removed.\n\t\t\t//TODO: Untested\n\t\t\tif (!FeatureMapUtil.isMany(container, structuralFeature)) {\n\t\t\t\tObject previousValue = container.eGet(structuralFeature);\n\t\t\t\t\n\t\t\t\tscheduleRemove(container, container, structuralFeature, previousValue);\n\t\t\t}\n\t\t\t\n\t\t\tif (index == null) {\n\t\t\t\t//Append to list of nothing else specified.\n\t\t\t\tindex = currentListValue.size();\n\t\t\t}\n\t\t\t\n\t\t\tDEModelLocker.scheduleAddValueWriteAccess(container, structuralFeature, value, index);\n\t\t\tcurrentListValue.add(value);\n\t\t} finally {\n\t\t\tDEModelLocker.deactivateWriter(this);\n\t\t}\n\t}", "public void add(Feature f){\n if (debug) logger.info(\"feature added\");\n int z = fc.size();\n fc.add(f);\n fcLastEdits.clear();//clear possible feature edits\n fcLastEdits.add(f);\n lastEditType = EDIT_ADD;\n fireTableRowsInserted(z+1, z+1);\n }", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n\tFeature<T, ?> convertFeature(Feature<T,?> feature) {\n\t\tFeature<T, ?> convertedFeature = feature;\n\t\tif (feature.getFeatureType().equals(StringFeature.class) && !(feature instanceof StringFeature)) {\n\t\t\tconvertedFeature = new StringFeatureWrapper(feature);\n\t\t} else if (feature.getFeatureType().equals(BooleanFeature.class) && !(feature instanceof BooleanFeature)) {\n\t\t\tconvertedFeature = new BooleanFeatureWrapper(feature);\n\t\t} else if (feature.getFeatureType().equals(DoubleFeature.class) && !(feature instanceof DoubleFeature)) {\n\t\t\tconvertedFeature = new DoubleFeatureWrapper(feature);\n\t\t} else if (feature.getFeatureType().equals(IntegerFeature.class) && !(feature instanceof IntegerFeature)) {\n\t\t\tconvertedFeature = new IntegerFeatureWrapper(feature);\n\t\t} else {\n\t\t\tconvertedFeature = this.convertFeatureCustomType(feature);\n\t\t\tif (convertedFeature==null)\n\t\t\t\tconvertedFeature = feature;\n\t\t}\n\t\treturn convertedFeature;\n\t}", "ShipmentItemFeature createShipmentItemFeature();", "public void openBlankXmlFile() {\n\t\t\n\t\t// the root of the xmlElement tree\n\t\trootNode = new XmlNode(this);\n\t\tXmlElement rootField = rootNode.getXmlElement();\n\t\t\n\t\trootField.setName(\"rootElement\", true);\n\t\t\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\trootNode.addChild(newNode);\n\t}", "@Override\n\tpublic Element saveToXml(boolean includeConfigState) {\n\t\treturn null;\n\t}", "private static void _valueToStorageDocument(\n\t\tValue value,\n\t\tElement element,\n\t\tDocument doc\n\t) {\n\t\t// Supports only string, int and double\n\t\tif ( value.isString() ) {\n\t\t\telement.appendChild( doc.createTextNode( value.strValue() ) );\n\t\t\telement.setAttribute( JOLIE_TYPE_ATTRIBUTE, \"string\" );\n\t\t} else if ( value.isInt() ) {\n\t\t\telement.appendChild( doc.createTextNode( new Integer( value.intValue() ).toString() ) );\n\t\t\telement.setAttribute( JOLIE_TYPE_ATTRIBUTE, \"int\" );\n\t\t} else if ( value.isDouble() ) {\n\t\t\telement.appendChild( doc.createTextNode( new Double( value.doubleValue() ).toString() ) );\n\t\t\telement.setAttribute( JOLIE_TYPE_ATTRIBUTE, \"double\" );\n\t\t} else {\n\t\t\telement.setAttribute( JOLIE_TYPE_ATTRIBUTE, \"void\" );\n\t\t}\n\n\t\t// adding other attributes\n\t\tMap<String, ValueVector> attrs = getAttributesOrNull( value );\n\t\tif ( attrs != null ) {\n\t\t\tfor( Entry<String, ValueVector> attrEntry : attrs.entrySet() ) {\n\t\t\t\telement.setAttribute(\n\t\t\t\t\tattrEntry.getKey(),\n\t\t\t\t\tattrEntry.getValue().first().strValue() );\n\t\t\t}\n\t\t}\n\n\t\t// adding subelements\n\t\tElement currentElement;\n\t\tfor( Entry<String, ValueVector> entry : value.children().entrySet() ) {\n\t\t\tif ( !entry.getKey().startsWith( \"@\" ) ) {\n\t\t\t\tfor( Value val : entry.getValue() ) {\n\t\t\t\t\tcurrentElement = doc.createElement( entry.getKey() );\n\t\t\t\t\telement.appendChild( currentElement );\n\t\t\t\t\t_valueToStorageDocument( val, currentElement, doc );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "org.landxml.schema.landXML11.NoPassingZoneDocument.NoPassingZone insertNewNoPassingZone(int i);", "private void writeElementWithCharacters(String name, String value) throws ServiceFailureException {\r\n try {\r\n writer.writeStartElement(name);\r\n writer.writeCharacters(value);\r\n writer.writeEndElement();\r\n } catch (XMLStreamException ex) {\r\n LOGGER.log(Level.SEVERE, \"Error while writing element \" \r\n + name + \"!\", ex);\r\n throw new ServiceFailureException(\"Error while writing\"\r\n + \" element \" + name + \"!\", ex);\r\n }\r\n }", "private String setAttributeValuesOfChildFeatureObj(Context context,Map flMap,Map htChildObjData,boolean bConflictSelType)\r\n throws Exception{\r\n\r\n \tString strChildFeatureId = (String)htChildObjData.get(ConfigurationConstants.SELECT_ID);\r\n \tString strChildFeatureType = (String)htChildObjData.get(ConfigurationConstants.SELECT_TYPE);\r\n\r\n \tmqlLogRequiredInformationWriter(\"Inside method 'setAttributeValuesOfChildFeatureObj' \" +\"\\n\\n\");\r\n \tmqlLogRequiredInformationWriter(\"Feature List Info ---->\"+ \"\\n\" + flMap +\"\\n\\n\");\r\n \tmqlLogRequiredInformationWriter(\"Child Object Data ---->\"+ \"\\n\" + htChildObjData +\"\\n\\n\");\r\n\r\n\r\n \tString strChildNewFeatureType = strChildFeatureType;\r\n\r\n\t\t//Check if child is already converted to New Type\r\n\t\tif(strChildFeatureType!=null\r\n\t\t && !mxType.isOfParentType(context,strChildFeatureType, ConfigurationConstants.TYPE_CONFIGURATION_FEATURES)\r\n\t\t\t && !mxType.isOfParentType(context,strChildFeatureType, ConfigurationConstants.TYPE_LOGICAL_FEATURE)\r\n\t\t\t && !mxType.isOfParentType(context,strChildFeatureType, ConfigurationConstants.TYPE_LOGICAL_STRUCTURES)\r\n\t\t\t && !mxType.isOfParentType(context,strChildFeatureType, ConfigurationConstants.TYPE_PRODUCTS)){\r\n\r\n\t\t\t\tString newChildFeatureType = (String)htChildObjData.get(\"attribute[\"+ATTRIBUTE_NEW_FEATURE_TYPE+\"]\");\r\n\t\t\t\t//String newChildFeatureChangeType = PropertyUtil.getSchemaProperty(context,newChildFeatureType);\r\n\t\t\t\tString newChildFeatureChangeType = getSchemaProperty(context,newChildFeatureType);\r\n\r\n\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Object id :: \"+strChildFeatureId +\"\\n\");\r\n\t\t\t //Get the new Feature Policy\r\n\t\t\t Map mNewChildFeatPolicy = mxType.getDefaultPolicy(context, newChildFeatureChangeType, true);\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Feature New Type :: \"+ newChildFeatureChangeType +\"\\n\");\r\n\r\n\r\n\t\t\t String strNewChildFeatPolicy = (String) mNewChildFeatPolicy.get(ConfigurationConstants.SELECT_NAME);\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Feature New Policy :: \"+ strNewChildFeatPolicy +\"\\n\\n\");\r\n\r\n\t\t\t //change the feature to new type\r\n\t\t\t //BusinessObject childFeatureBO = changeType(context,htChildObjData,strChildFeatureId,newChildFeatureChangeType,strNewChildFeatPolicy);\r\n\t\t\t BusinessObject boChildFeatureObj = new DomainObject(strChildFeatureId);\r\n\r\n\t\t\t boChildFeatureObj.change(context,\r\n\t\t\t\t\t \t\t\t\t\t\t newChildFeatureChangeType,\r\n\t\t\t\t\t\t\t\t\t\t\t (String) htChildObjData.get(DomainConstants.SELECT_NAME),\r\n\t\t\t\t\t\t\t\t\t\t\t (String) htChildObjData.get(DomainConstants.SELECT_REVISION),\r\n\t\t\t\t\t\t\t\t\t\t\t (String) htChildObjData.get(DomainConstants.SELECT_VAULT),\r\n\t\t\t\t\t\t\t\t\t\t\t strNewChildFeatPolicy);\r\n\r\n\r\n\t \t\t mqlLogRequiredInformationWriter(\"Child Object changed from type :: \"\r\n\t \t\t\t\t\t\t\t\t\t\t\t+ strChildFeatureType\r\n\t \t\t\t\t\t\t\t\t\t\t\t+ \" to new type \"\r\n\t \t\t\t\t\t\t\t\t\t\t\t+ newChildFeatureChangeType\r\n\t \t\t\t\t\t\t\t\t\t\t + \" new policy \"\r\n\t \t\t\t\t\t\t\t\t\t\t + strNewChildFeatPolicy\r\n\t \t\t\t\t\t\t\t\t\t\t\t+ \"\\n\");\r\n\r\n\t\t\t strChildNewFeatureType = newChildFeatureChangeType;\r\n\r\n\t\t}\r\n\r\n\t\tif(strChildFeatureType!=null && isOfDerivationChangedType(context, strChildFeatureType)){\r\n\t\t\t Map mNewFeaturePolicy = mxType.getDefaultPolicy(context, strChildFeatureType, true);\r\n\t\t\t String newFeaturePolicy = (String) mNewFeaturePolicy.get(ConfigurationConstants.SELECT_NAME);\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Object id :: \"+strChildFeatureId +\"\\n\");\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Feature New Type :: \"+ strChildNewFeatureType +\"\\n\");\r\n\t\t\t mqlLogRequiredInformationWriter(\"Child Feature New Policy :: \"+ newFeaturePolicy +\"\\n\\n\");\r\n\r\n\t\t\t DomainObject boFeatureObj = new DomainObject(strChildFeatureId);\r\n\t\t\t boFeatureObj.setPolicy(context, newFeaturePolicy);\r\n\t\t}\r\n\t\t //Need to set the attribute values for the child object\r\n\t\t String strFeatSelType = (String)flMap.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_FEATURE_SELECTION_TYPE+\"]\");\r\n\t\t String strSelType =\"\";\r\n\t\t String strSelCriterion =\"\";\r\n\r\n\t\t //Set the attribute values of new Type Child Feature object\r\n\t\t HashMap mapChildFeatAttribute = new HashMap();\r\n\t\t \r\n\t\t \r\n\t\t String MarketText = (String)htChildObjData.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_MARKETING_TEXT+\"]\");\r\n\t\t String MarketName = (String)htChildObjData.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_MARKETING_NAME+\"]\");\r\n\r\n\t\t \r\n\t\t \r\n\t\t if(MarketText!=null && !MarketText.equals(\"\")){\r\n\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_VARIANT_DISPLAY_TEXT, MarketText);\r\n\t\t }\r\n\t\t if(MarketName!=null && !MarketName.equals(\"\")){\r\n\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_DISPLAY_NAME, MarketName);\r\n\t\t }\r\n\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_SUBFEATURECOUNT,\r\n\t\t\t\t (String)htChildObjData.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_SUBFEATURECOUNT+\"]\"));\r\n\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_ORIGINATOR,\r\n\t\t\t\t (String)htChildObjData.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_ORIGINATOR+\"]\"));\r\n\r\n\r\n\t\t if(strFeatSelType!=null && strFeatSelType.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_KEY_IN)){\r\n\t\t\t strSelType = ConfigurationConstants.RANGE_VALUE_SINGLE; //Default values\r\n\t\t\t strSelCriterion = ConfigurationConstants.RANGE_VALUE_MUST;\r\n\t\t }else if(strFeatSelType!=null && strFeatSelType.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_MAY_SELECT_ONE_OR_MORE)){\r\n\t\t\t strSelType = ConfigurationConstants.RANGE_VALUE_MULTIPLE;\r\n\t\t\t strSelCriterion = ConfigurationConstants.RANGE_VALUE_MAY;\r\n\t\t }else if(strFeatSelType!=null && strFeatSelType.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_MAY_SELECT_ONLY_ONE)){\r\n\t\t\t strSelType = ConfigurationConstants.RANGE_VALUE_SINGLE;\r\n\t\t\t strSelCriterion = ConfigurationConstants.RANGE_VALUE_MAY;\r\n\t\t }else if(strFeatSelType!=null && strFeatSelType.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_MUST_SELECT_AT_LEAST_ONE)){\r\n\t\t\t strSelType = ConfigurationConstants.RANGE_VALUE_MULTIPLE;\r\n\t\t\t strSelCriterion = ConfigurationConstants.RANGE_VALUE_MUST;\r\n\t\t }else if(strFeatSelType!=null && strFeatSelType.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_MUST_SELECT_ONLY_ONE)){\r\n\t\t\t strSelType = ConfigurationConstants.RANGE_VALUE_SINGLE;\r\n\t\t\t strSelCriterion = ConfigurationConstants.RANGE_VALUE_MUST;\r\n\t\t }\r\n\r\n\t\t //When Feature is used in more than one context with Conflict Sel Type\r\n\t\t if(bConflictSelType){\r\n\t\t\t\t //strSelType = getResourceProperty(context,\"emxConfiguration.Migration.DefaultSelectionType\");\r\n\t\t\t\t strSelType = EnoviaResourceBundle.getProperty(context, \"emxConfigurationMigration\", Locale.US, \"emxConfiguration.Migration.DefaultSelectionType\");\r\n\t\t }\r\n\r\n\t\t if(strChildNewFeatureType!=null & mxType.isOfParentType(context,strChildNewFeatureType, ConfigurationConstants.TYPE_CONFIGURATION_FEATURES)){\r\n\t\t\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_CONFIGURATION_SELECTION_TYPE,strSelType);\r\n\t\t }\r\n\r\n\t\t //For type \"Configuration Feature\" add \"Key-In Type\"\r\n\t\t if(strChildNewFeatureType!=null && strChildNewFeatureType.equalsIgnoreCase(TYPE_CONFIGURATION_FEATURE)){\r\n\r\n\r\n\t\t\t StringList slKITOnChildFLs = new StringList();\r\n\t\t\t Object objKITOnChildFLs = flMap.get(\"from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+\"].to.from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_FROM+\"].to.attribute[\"+ConfigurationConstants.ATTRIBUTE_KEY_IN_TYPE+\"]\");\r\n\t\t\t if (objKITOnChildFLs instanceof StringList) {\r\n\t\t\t\t slKITOnChildFLs = (StringList) flMap.get(\"from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+\"].to.from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_FROM+\"].to.attribute[\"+ConfigurationConstants.ATTRIBUTE_KEY_IN_TYPE+\"]\");\r\n\r\n\t\t\t\t} else if (objKITOnChildFLs instanceof String) {\r\n\t\t\t\t\tslKITOnChildFLs.addElement((String) flMap.get(\"from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+\"].to.from[\"+ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_FROM+\"].to.attribute[\"+ConfigurationConstants.ATTRIBUTE_KEY_IN_TYPE+\"]\"));\r\n\t\t\t\t}\r\n\r\n\t\t\t if(slKITOnChildFLs.contains(RANGE_VALUE_INPUT))\r\n\t\t\t {\r\n\t\t\t\t String strKeyInType = RANGE_VALUE_INPUT;\r\n\t\t\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_KEY_IN_TYPE,strKeyInType);\r\n\t\t\t }\r\n\t\t }else if(strChildNewFeatureType!=null && strChildNewFeatureType.equalsIgnoreCase(ConfigurationConstants.TYPE_LOGICAL_FEATURE)){\r\n\t\t\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_LOGICAL_SELECTION_TYPE,strSelType);\r\n\t\t }\r\n\r\n\t\t if(strChildNewFeatureType!=null\r\n\t\t\t && (strChildNewFeatureType.equalsIgnoreCase(ConfigurationConstants.TYPE_LOGICAL_FEATURE)\r\n\t\t\t\t || strChildNewFeatureType.equalsIgnoreCase(ConfigurationConstants.TYPE_MANUFACTURING_FEATURE))\r\n\t\t\t\t ){\r\n\r\n\t\t\t String strDupPartXML = (String)htChildObjData.get(ConfigurationConstants.ATTRIBUTE_DUPLICATE_PART_XML);\r\n\t\t\t mapChildFeatAttribute.put(ConfigurationConstants.ATTRIBUTE_DUPLICATE_PART_XML,strDupPartXML);\r\n\t\t }\r\n\r\n\t\t //Set attribute values on Feature Object\r\n\t\t DomainObject domChildFeat = new DomainObject(strChildFeatureId);\r\n\t\t mqlLogRequiredInformationWriter(\"Attribute value Map set for this id ---->\" + \"\\n\" + mapChildFeatAttribute +\"\\n\\n\");\r\n\t\t domChildFeat.setAttributeValues(context,mapChildFeatAttribute);\r\n\t\t return strSelCriterion;\r\n }", "void addFeatures(Features features);", "public void addElement(final FeatureElement newElement)\n\t{\n\t\tfeatureElements.add(newElement);\n\t}", "public static void unionByAttributeValue(FeatureCollection featureCollection, String attributeName) throws Exception {\n FeatureSchema schema = featureCollection.getFeatureSchema();\n if (featureCollection.getFeatures().size() > 1 && featureCollection.getFeatures().get(0).getGeometry() != null) {\n featureCollection.getFeatures().get(0).getGeometry().getFactory();\n } else {\n Logger.error(I18N.get(\"ui.plugin.analysis.DissolvePlugIn.needs-two-features-or-more\"));\n // return null;\n }\n FeatureSchema newSchema;\n newSchema = schema;\n Map<Object, FeatureCollection> map = new HashMap<Object, FeatureCollection>();\n for (Feature feature : featureCollection.getFeatures()) {\n Object key = feature.getAttribute(attributeName);\n if (!map.containsKey(key)) {\n FeatureCollection fd = new FeatureDataset(featureCollection.getFeatureSchema());\n fd.add(feature);\n map.put(key, fd);\n } else {\n map.get(key).add(feature);\n }\n }\n featureCollection.removeAll(featureCollection.getFeatures());\n for (Iterator<Object> i = map.keySet().iterator(); i.hasNext();) {\n Object key = i.next();\n FeatureCollection fca = map.get(key);\n if (fca.size() > 0) {\n Feature feature = union(fca);\n feature.setAttribute(attributeName, key);\n Feature newFeature = new BasicFeature(newSchema);\n // Copy feature attributes in newFeature\n for (int j = 0, max = newSchema.getAttributeCount(); j < max; j++) {\n newFeature.setAttribute(j, feature.getAttribute(newSchema.getAttributeName(j)));\n }\n featureCollection.add(newFeature);\n }\n }\n // return featureCollection;\n }", "protected void addPoint( SimpleFeature feature, PointMergeOperations mergeOps )\n \t{\n \t\tmergePoint( feature, 0 );\n \t}", "public Integer getFeature() {\n return feature;\n }", "public Tag addDefaultTag(){\n StringProperty tagName = new SimpleStringProperty();\n tagName.setValue(\"New Tag\");\n Tag newTag = new Tag(tagName);\n\n\n /* verify if id is integer or string, we handle just strings here\n newTag.setIdProperty(0);\n */\n\n addTag(newTag);\n\n System.out.println(contentFromTags(tags));\n\n return newTag;\n }", "private List<XmlElementNameAndContents> encodeFeatures(TOP fs, AttributesImpl attrs,\n boolean insideListNode) throws SAXException {\n List<XmlElementNameAndContents> childElements = new ArrayList<>();\n // int heapValue = cds.cas.getHeapValue(addr);\n // int[] feats = cds.tsi.ll_getAppropriateFeatures(heapValue);\n\n String attrValue;\n // boolean isSofa = false;\n // if (sofaTypeCode == heapValue)\n // {\n // // set isSofa flag to apply SofaID mapping and to store sofaNum->xmi:id mapping\n // isSofa = true;\n // }\n for (final FeatureImpl fi : fs._getTypeImpl().getFeatureImpls()) {\n\n if (cds.isFiltering) {\n // skip features that aren't in the target type system\n String fullFeatName = fi.getName();\n if (cds.filterTypeSystem_inner.getFeatureByFullName(fullFeatName) == null) {\n continue;\n }\n }\n\n final String featName = fi.getShortName();\n final int featureValueClass = fi.rangeTypeClass;\n\n switch (featureValueClass) {\n\n case LowLevelCAS.TYPE_CLASS_BYTE:\n case LowLevelCAS.TYPE_CLASS_SHORT:\n case LowLevelCAS.TYPE_CLASS_INT:\n case LowLevelCAS.TYPE_CLASS_LONG:\n case LowLevelCAS.TYPE_CLASS_FLOAT:\n case LowLevelCAS.TYPE_CLASS_DOUBLE:\n case LowLevelCAS.TYPE_CLASS_BOOLEAN:\n attrValue = fs.getFeatureValueAsString(fi);\n break;\n\n case LowLevelCAS.TYPE_CLASS_STRING:\n attrValue = fs.getFeatureValueAsString(fi);\n break;\n\n // Arrays\n case LowLevelCAS.TYPE_CLASS_INTARRAY:\n case LowLevelCAS.TYPE_CLASS_FLOATARRAY:\n case LowLevelCAS.TYPE_CLASS_BOOLEANARRAY:\n case LowLevelCAS.TYPE_CLASS_BYTEARRAY:\n case LowLevelCAS.TYPE_CLASS_SHORTARRAY:\n case LowLevelCAS.TYPE_CLASS_LONGARRAY:\n case LowLevelCAS.TYPE_CLASS_DOUBLEARRAY:\n case LowLevelCAS.TYPE_CLASS_FSARRAY:\n if (cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n } else {\n attrValue = arrayToString(fs.getFeatureValue(fi), featureValueClass);\n }\n break;\n\n // special case for StringArrays, which stored values as child elements rather\n // than attributes.\n case LowLevelCAS.TYPE_CLASS_STRINGARRAY:\n StringArray stringArray = (StringArray) fs.getFeatureValue(fi);\n if (cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(stringArray);\n } else if (stringArray != null && stringArray.size() == 0) {\n attrValue = \"\"; // https://issues.apache.org/jira/browse/UIMA-5558\n } else {\n stringArrayToElementList(featName, (StringArray) fs.getFeatureValue(fi),\n childElements);\n attrValue = null;\n }\n break;\n\n // Lists\n case CasSerializerSupport.TYPE_CLASS_INTLIST:\n case CasSerializerSupport.TYPE_CLASS_FLOATLIST:\n case CasSerializerSupport.TYPE_CLASS_FSLIST:\n TOP startNode = fs.getFeatureValue(fi);\n if (insideListNode || cds.isStaticMultiRef(fi)) {\n // If the feature has multipleReferencesAllowed = true OR if we're already\n // inside another list node (i.e. this is the \"tail\" feature), serialize as a normal\n // FS.\n // Otherwise, serialize as a multi-valued property.\n // if (cds.isStaticMultRef(feats[i]) ||\n // cds.embeddingNotAllowed.contains(featVal) ||\n // insideListNode) {\n\n attrValue = cds.getXmiId(startNode);\n } else {\n attrValue = listToString((CommonList) fs.getFeatureValue(fi));\n }\n break;\n\n // special case for StringLists, which stored values as child elements rather\n // than attributes.\n case CasSerializerSupport.TYPE_CLASS_STRINGLIST:\n if (insideListNode || cds.isStaticMultiRef(fi)) {\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n } else {\n // it is not safe to use a space-separated attribute, which would\n // break for strings containing spaces. So use child elements instead.\n StringList stringList = (StringList) fs.getFeatureValue(fi);\n if (stringList == null) {\n attrValue = null;\n } else {\n if (stringList instanceof EmptyStringList) {\n attrValue = \"\";\n } else {\n List<String> listOfStrings = stringList.anyListToStringList(null, cds);\n // if (array.length > 0 && !arrayAndListFSs.put(featVal, featVal)) {\n // reportWarning(\"Warning: multiple references to a ListFS. Reference identity\n // will not be preserved.\");\n // }\n for (String string : listOfStrings) {\n childElements.add(new XmlElementNameAndContents(\n new XmlElementName(\"\", featName, featName), string));\n }\n attrValue = null;\n }\n }\n }\n break;\n\n default: // Anything that's not a primitive type, array, or list.\n attrValue = cds.getXmiId(fs.getFeatureValue(fi));\n break;\n\n } // end of switch\n\n if (attrValue != null && featName != null) {\n addAttribute(attrs, featName, attrValue, \"\");\n }\n } // end of for loop over all features\n\n // add out-of-typesystem features, if any\n if (cds.sharedData != null) {\n OotsElementData oed = cds.sharedData.getOutOfTypeSystemFeatures(fs);\n if (oed != null) {\n // attributes\n Iterator<XmlAttribute> attrIter = oed.attributes.iterator();\n while (attrIter.hasNext()) {\n XmlAttribute attr = attrIter.next();\n addAttribute(workAttrs, attr.name, attr.value);\n }\n // child elements\n childElements.addAll(oed.childElements);\n }\n }\n return childElements;\n }", "org.landxml.schema.landXML11.CrashDataDocument.CrashData addNewCrashData();", "public String toXML() {\n return null;\n }", "@View( VIEW_CREATE_FEATURE )\r\n public String getCreateFeature( HttpServletRequest request )\r\n {\r\n _feature = ( _feature != null ) ? _feature : new Feature( );\r\n\r\n Map<String, Object> model = getModel( );\r\n model.put( MARK_FEATURE, _feature );\r\n model.put( MARK_CATEGORIES_LIST, FeatureCategoryHome.getCategoriesList( ) );\r\n model.put( MARK_TARGETS_LIST, ActionLinkService.getTargetList( getLocale( ) ) );\r\n model.put( MARK_DISPLAY_LEVELS_LIST, FeatureService.getFeatureDisplayLevels( getLocale( ) ) );\r\n\r\n return getPage( PROPERTY_PAGE_TITLE_CREATE_FEATURE, TEMPLATE_CREATE_FEATURE, model );\r\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "@Override\n public Object getSubElement(int index)\n {\n return null;\n }", "public String\ttoXML()\t{\n\t\treturn toXML(0);\n\t}", "Feature update(Feature feature);", "public gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType xgetFeatureType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n return target;\n }\n }", "public ExtElement insertFirst(ExtElement element, BaseModel value) {\r\n\t\treturn insertFirst(element, value.getJsObj());\r\n\t}", "public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}", "public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}", "@Test\n\tpublic void addElement() {\n\t\tXMLTagParser.addNewElement(\"Person\");\n\t\tassertEquals(XMLTagParser.containsElement(\"Person\"), true);\n\t}", "private static List<IFeature> parseFeatures(WMElement features) {\n List<IFeature> trainingFeatures = new ArrayList<>();\n for (int i = 0; i < features.ConvertToIdentifier().GetNumberChildren(); i++) {\n IFeature res;\n WMElement curFeatureType = features.ConvertToIdentifier().GetChild(i);\n WMElement curFeature = curFeatureType.ConvertToIdentifier().GetChild(0);\n String featureName = curFeature.GetAttribute();\n String featureVal = curFeature.GetValueAsString();\n double featureValNumerical = -1.0;\n try {\n featureValNumerical = Double.parseDouble(featureVal);\n } catch (Exception e) {\n if (featureVal.equalsIgnoreCase(\"true\")) {\n featureValNumerical = 1.0;\n } else if (featureVal.equalsIgnoreCase(\"false\")) {\n featureValNumerical = 0.0;\n }\n }\n\n switch (curFeatureType.GetAttribute()) {\n case \"boolean\":\n res = new BooleanFeature(featureName, featureValNumerical);\n break;\n case \"numerical\":\n res = new NumericalFeature(featureName, featureValNumerical);\n break;\n case \"categorical\":\n res = new CategoricalFeature(featureName, featureVal);\n break;\n default:\n throw new IllegalArgumentException(\"Given feature type is not supported.\");\n }\n\n trainingFeatures.add(res);\n }\n return trainingFeatures;\n }", "public ExtElement insertFirst(String element, BaseModel value) {\r\n\t\treturn insertFirst(element, value.getJsObj());\r\n\t}", "public String toXML() {\n return null;\n }", "public void AssembleFeatureFromTree(Tree parse) {\n String feature=parse.value() + \"->\";\n Tree[] sub_tree = parse.children();\n for(Tree t: sub_tree) {\n if (!t.isPreTerminal()) {\n AssembleFeatureFromTree(t);\n }\n feature+=t.value() + \"+\";\n }\n \n if(!global_dict.containsKey(feature)){\n global_dict.put(feature, global_dict.size()+1);\n }\n fn = global_dict.get(feature);\n //System.out.println(feature + \" : \" + fn);\n ftlist.add(fn);\n }", "private static void addTag(StringBuilder xml, final String name,\n\t\t\tfinal String value) {\n\t\tString v = StringMethods.stripHTML(value, true);\n\t\t\n\t\tv = v.replace(\"&\", \"&amp;\");\n\t\tv = v.replace(\"<\", \"&lt;\").replace(\">\", \"&gt;\");\n\t\tv = v.replaceAll(\"\\\\s+\", \" \");\n\n\t\txml.append(\"\\t<\").append(name).append(\">\");\n\t\txml.append(v.trim());\n\t\txml.append(\"</\").append(name).append(\">\\n\");\n\t}", "public boolean CreateFeature(Feature feature, String nameTable){\n try {\n String sql = \"INSERT INTO \" + nameTable + \"(`\" + FEATURE_DB_TEXTFEATURE + \"`, `\" + FEATURE_DB_ELO + \"`, `\"\n + FEATURE_DB_MMR + \"`, `\" + FEATURE_DB_AUTHOR + \"`) VALUES (?, ?, ?, ?)\";\n\n\n // Prepare SQL query\n PreparedStatement statement = conn.prepareStatement(sql);\n statement.setString(1, feature.getTextFeature());\n statement.setInt(2, feature.getELO());\n statement.setInt(3, feature.getMMR());\n statement.setString(4, feature.getAuthorEmail());\n\n int result = statement.executeUpdate();\n if (result > 0) {\n System.out.println(\"A new user was inserted successfully!\");\n return true;\n } else {\n return false;\n }\n } catch (SQLException e) {\n e.printStackTrace();\n return false;\n }\n }", "protected abstract T _createWithSingleElement(DeserializationContext ctxt, Object value);", "public static FeatureNode up(FeatureNode fn)\n\t{\n\t\tif (fn == null) return null;\n\t\tfn = fn.get(\"phr-head\");\n\t\tif (fn == null) return null;\n\t\tfn = fn.get(\"phr-root\");\n\t\treturn fn;\n\t}", "public void xsetFeatureType(gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType featureType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n if (target == null)\n {\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().add_element_user(FEATURETYPE$4);\n }\n target.set(featureType);\n }\n }", "public void setFeature(Integer feature) {\n this.feature = feature;\n }", "public void saveFeatureMetadata();", "public void addFeature(@Nonnull Feature f) {\r\n features.add(f);\r\n }", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "org.landxml.schema.landXML11.RoadsideDocument.Roadside insertNewRoadside(int i);", "org.landxml.schema.landXML11.NoPassingZoneDocument.NoPassingZone addNewNoPassingZone();", "private static Element createNode(Document doc, Element element, String tagName, String value) {\n\t\tif (value == null || \"\".equals(value)) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tif (EMPTY_STRING.equals(value)) {\n\t\t\t\tvalue = \"\";\n\t\t\t}\n\t\t\tElement node = doc.createElement(tagName);\n\t\t\telement.appendChild(node);\n\t\t\tnode.appendChild(doc.createTextNode(value));\n\t\t\treturn node;\n\t\t}\n\t}", "public void putFeature(FeatureData feature, CoinData coin) {\n String sql = \"SELECT Coin.id FROM Coin, Country WHERE \" +\n \"Coin.Country_id = Country.id AND \" +\n \"Country.Name = '\" + coin.country + \"' AND \" +\n \"Coin.Value = \" + coin.value + \";\";\n Cursor cursor = database.rawQuery(sql, null);\n cursor.moveToFirst();\n int coinId = cursor.getInt(0);\n cursor.close();\n\n // put the feature data into the database\n ContentValues values = new ContentValues();\n values.put(\"Type\", feature.type);\n values.put(\"Coin_id\", coinId);\n values.put(\"Keypoints\", MatSerializer.matToBytes(feature.keypoints));\n values.put(\"Descriptor\", MatSerializer.matToBytes(feature.descriptor));\n values.put(\"Mask\", MatSerializer.matToBytes(feature.mask));\n database.insert(\"Feature\", null, values);\n\n }" ]
[ "0.65355325", "0.65355325", "0.6184197", "0.61094517", "0.61094517", "0.6108916", "0.59525836", "0.5905022", "0.5905022", "0.5871856", "0.58447427", "0.5661006", "0.56224614", "0.550559", "0.5501026", "0.5380016", "0.532821", "0.52842957", "0.5273521", "0.5260906", "0.5247082", "0.5162673", "0.5129125", "0.51148045", "0.50821394", "0.5079961", "0.5077326", "0.5069062", "0.49952844", "0.49784806", "0.49784806", "0.49665508", "0.49493834", "0.49321645", "0.48957086", "0.48893353", "0.48793426", "0.4871837", "0.4871183", "0.48597243", "0.4838914", "0.4835877", "0.48155564", "0.4808996", "0.4808996", "0.4806345", "0.48004398", "0.47854254", "0.47795048", "0.47764075", "0.47751716", "0.47738752", "0.47728506", "0.47721684", "0.47600183", "0.47577846", "0.47453666", "0.47332028", "0.4733033", "0.47157875", "0.47147632", "0.4710585", "0.47080964", "0.4690436", "0.4689922", "0.46851876", "0.46774045", "0.46725485", "0.46714547", "0.46693483", "0.4662915", "0.46609947", "0.4658457", "0.46576017", "0.46572843", "0.46548206", "0.4654418", "0.46517566", "0.46405458", "0.46405458", "0.463831", "0.46333805", "0.46319845", "0.46263832", "0.46169582", "0.4614537", "0.4614056", "0.46118003", "0.46046966", "0.46032304", "0.4599988", "0.45965794", "0.45924056", "0.45880663", "0.45880663", "0.45841703", "0.45703316", "0.4569565", "0.4569386" ]
0.71010745
1
Appends and returns a new empty value (as xml) as the last "Feature" element
org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i);", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$6);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$6);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().add_element_user(FEATURE$14);\r\n return target;\r\n }\r\n }", "@Override\n protected SimpleFeature buildFeature() {\n synchronized(EDGE_FEATURE_BUILDER) {\n EDGE_FEATURE_BUILDER.add(getId());\n EDGE_FEATURE_BUILDER.add(displayName);\n EDGE_FEATURE_BUILDER.add(url);\n EDGE_FEATURE_BUILDER.add(selected);\n EDGE_FEATURE_BUILDER.add(lineString);\n return EDGE_FEATURE_BUILDER.buildFeature(null);\n }\n }", "private void addFeature()\r\n {\r\n MapGeometrySupport mgs = myCurrentGeometryHandler.getGeometry();\r\n MetaDataProvider mdp = myMetaDataHandler.getMetaDataProvider();\r\n TimeSpan span = buildTimeSpan(mdp);\r\n mgs.setTimeSpan(span);\r\n MapDataElement element = new DefaultMapDataElement(myFeatureId, span, myType, mdp, mgs);\r\n Color typeColor = myType.getBasicVisualizationInfo().getTypeColor().equals(DEFAULT_FEATURE_COLOR) ? myFeatureColor\r\n : myType.getBasicVisualizationInfo().getTypeColor();\r\n element.getVisualizationState().setColor(typeColor);\r\n myConsumer.addFeature(element);\r\n myFeatureCount++;\r\n }", "public DasFeature getNextFeature() {\n String feature = iXml.substring(iXml.indexOf(\"<FEATURE\", lastFeatureEndPosition + 9), iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9) + 10);\n lastFeatureEndPosition = iXml.indexOf(\"</FEATURE>\", lastFeatureEndPosition + 9);\n DasFeature f = new DasFeature(feature);\n return f;\n }", "public Document saveAsXML() {\n\tDocument xmldoc= new DocumentImpl();\n\tElement root = createFeaturesElement(xmldoc);\n\txmldoc.appendChild(root);\n\treturn xmldoc;\n }", "public org.w3c.dom.Element createFeaturesElement(Document xmldoc) {\n\tElement e = xmldoc.createElement(XML.FEATURES);\n\tStringBuffer b=new StringBuffer();\n\tfor(int i=0; i< id2label.size();i++) {\n\t if (b.length()>0) b.append(\" \");\n\t b.append(getLabel(i));\n\t}\n\tText textNode = xmldoc.createTextNode(b.toString());\n\te.appendChild(textNode);\n\treturn e;\n }", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature addNewPlanFeature();", "public org.apache.xmlbeans.XmlObject addNewValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlObject target = null;\n target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(VALUE$2);\n return target;\n }\n }", "public void addElement() {\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\taddElement(newNode);\n\t}", "public String\ttoXML()\t{\n\t\treturn toXML(0);\n\t}", "public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}", "public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}", "org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature insertNewPlanFeature(int i);", "public String toXML() {\n return null;\n }", "public Element toXMLElement() {\n return null;\n }", "protected HL7DataTree more() {\n return null;\n }", "public static String SAVE_FEATURE(Feature f) {\n String ret = \"\";\n ret += f.name + \"\\t\" + f.type + \"\\t\";\n int i;\n\n if (Feature.IS_NOMINAL(f.type)) {\n if (f.modalities == null) ret += \"null\";\n else if (f.modalities.size() == 0) ret += \"{}\";\n else\n for (i = 0; i < f.modalities.size(); i++) {\n ret += (String) f.modalities.elementAt(i);\n if (i < f.modalities.size() - 1) ret += \"\\t\";\n }\n } else if (Feature.IS_CONTINUOUS(f.type)) {\n ret += f.dmin + \"\\t\" + f.dmax;\n if (f.dmin_from_data != f.dmax_from_data)\n ret += \"\\t\" + f.dmin_from_data + \"\\t\" + f.dmax_from_data;\n } else if (Feature.IS_INTEGER(f.type)) {\n ret += f.imin + \"\\t\" + f.imax;\n if (f.imin_from_data != f.imax_from_data)\n ret += \"\\t\" + f.imin_from_data + \"\\t\" + f.imax_from_data;\n }\n return ret;\n }", "public amdocs.iam.pd.webservices.productattrrel.productdetailsoutput.Value addNewValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n amdocs.iam.pd.webservices.productattrrel.productdetailsoutput.Value target = null;\n target = (amdocs.iam.pd.webservices.productattrrel.productdetailsoutput.Value)get_store().add_element_user(VALUE$0);\n return target;\n }\n }", "void addFeature(Feature feature);", "public String toXML() {\n return null;\n }", "public void addFeature(Feature feature) {\n rows.addElement(feature);\n }", "@Override\n\tprotected Node newNode() {\n\t\treturn new SVGOMFETurbulenceElement();\n\t}", "public ExteriorFeature() {\n this.exteriorFeature = \"Generic\";\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$14, i);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "public org.landxml.schema.landXML11.FeatureDocument.Feature insertNewFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FeatureDocument.Feature target = null;\r\n target = (org.landxml.schema.landXML11.FeatureDocument.Feature)get_store().insert_element_user(FEATURE$6, i);\r\n return target;\r\n }\r\n }", "@Override\n public String toString() {\n return \"Exterior : [\" + this.exteriorFeature + \"]\";\n }", "@Override\n\tpublic Element saveToXml(boolean includeConfigState) {\n\t\treturn null;\n\t}", "public String getFeature() {\r\n return feature;\r\n }", "public org.pentaho.pms.cwm.pentaho.meta.expressions.CwmFeatureNode getFeatureNode();", "public gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType xgetFeatureType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n return target;\n }\n }", "private NamedFeature getUnigeneTestFeature(){\n BasicFeature testFeat = new BasicFeature(\"chr2\", 179908392, 179909870);\n testFeat.setName(\"hs.516555\");\n return testFeat;\n }", "@Override\n public void writeEndElement() throws XMLStreamException {\n closeStartTag();\n if(_depth == 0){\n return;\n }\n if(_ncContextState[_depth]){\n nsContext.popContext();\n }\n try {\n _stream .write(_END_TAG);\n //writeStringToUtf8 (qname,_stream);\n ElementName en =elementNames[--_depth];\n _stream.write(en.getUtf8Data().getBytes(), 0,en.getUtf8Data().getLength());\n en.getUtf8Data().reset();\n _stream .write('>');\n } catch (IOException ex) {\n throw new RuntimeException(ex);\n }\n }", "@Override\n\t\tpublic void endElement(String uri, String localName, String qName)\n\t\t\t\tthrows SAXException {\n\t\t\tNode lastElement = nodeStack.lastElement();\n\t\t\tlastElement.setValue(buffer.toString());\n\t\t\tLog.d(\"xml\", \"\\\\ \" + uri + \" \" + localName + \" | found data: \" + lastElement.getValue());\n\t\t\tnodeStack.pop();\n\t\t\t\n\t\t\t\n\t\t}", "public Builder addNode(uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode value) {\n if (nodeBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureNodeIsMutable();\n node_.add(value);\n onChanged();\n } else {\n nodeBuilder_.addMessage(value);\n }\n return this;\n }", "public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return GPSSetupImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { GPSSetupImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = GPSSetupImpl.this.getFeatureArray(i);\r\n GPSSetupImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return GPSSetupImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }", "public String toXMLTag() {\n\t\tfinal StringBuffer buffer = new StringBuffer();\n\t\ttoXMLTag(buffer,0);\n\t\treturn buffer.toString();\n\t}", "@Override\n public String getFeature() {\n return this.exteriorFeature;\n }", "@Override\r\n\t\tpublic Object getFeature(String feature, String version)\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "public void addFeature() throws UMUserManagementException {\n UMFeature uMFeature = convertFeatureDataBeanToFeatureModel(featureDataBean);\n featureService.createFeature(uMFeature);\n clearFeatureData();\n }", "void addFeature(int index, Feature feature);", "public RTWElementRef lastAsElement();", "public void addFeatures(IFeature feature);", "public void addVariant(Feature feature){\r\n\t\tthis.alternativeFeatureGroup.get(0).addFeature(feature);\r\n\t}", "public ExteriorFeature(String exteriorFeature) {\n this.exteriorFeature = exteriorFeature;\n }", "public void addElement(final FeatureElement newElement)\n\t{\n\t\tfeatureElements.add(newElement);\n\t}", "com.synergyj.cursos.webservices.ordenes.XMLBFactura addNewXMLBFactura();", "XomNode appendElement(Element element) throws XmlBuilderException;", "@Override\n public Object getSubElement(int index)\n {\n return null;\n }", "private void finalizeRefValue(int extId, TOP fs, FeatureImpl fi) {\n FSInfo fsInfo = fsTree.get(extId);\n if (fsInfo == null) {\n\n // this feature may be a ref to an out-of-typesystem FS.\n // add it to the Out-of-typesystem features list (APL)\n if (extId != 0 && outOfTypeSystemData != null) {\n List<Pair<String, Object>> ootsAttrs = outOfTypeSystemData.extraFeatureValues\n .computeIfAbsent(fs, k -> new ArrayList<>());\n String featFullName = fi.getName();\n int separatorOffset = featFullName.indexOf(TypeSystem.FEATURE_SEPARATOR);\n String featName = \"_ref_\" + featFullName.substring(separatorOffset + 1);\n ootsAttrs.add(new Pair(featName, Integer.toString(extId)));\n }\n CASImpl.setFeatureValueMaybeSofa(fs, fi, null);\n } else {\n // the sofa ref in annotationBase is set when the fs is created, not here\n if (fi.getCode() != TypeSystemConstants.annotBaseSofaFeatCode) {\n if (fs instanceof Sofa) {\n // special setters for sofa values\n Sofa sofa = (Sofa) fs;\n switch (fi.getRangeImpl().getCode()) {\n case TypeSystemConstants.sofaArrayFeatCode:\n sofa.setLocalSofaData(fsInfo.fs);\n break;\n default:\n throw new CASRuntimeException(UIMARuntimeException.INTERNAL_ERROR);\n }\n return;\n }\n\n // handle case where feature is xyz[] (an array ref, not primitive) but the value of fs is\n // FSArray\n ts.fixupFSArrayTypes(fi.getRangeImpl(), fsInfo.fs);\n CASImpl.setFeatureValueMaybeSofa(fs, fi, fsInfo.fs);\n }\n }\n }", "protected XMLElement createAnotherElement() {\n return new XMLElement(this.conversionTable,\n this.skipLeadingWhitespace,\n false,\n this.ignoreCase);\n }", "public void writeToXML(){\n\t\t\n\t\t String s1 = \"\";\n\t\t String s2 = \"\";\n\t\t String s3 = \"\";\n\t\t Element lastElement= null;\n\t\t\n\t\tDocumentBuilderFactory dbfactory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder dbElement;\n\t\tBufferedReader brRead=null;\n\n\t\ttry{\n\t\t\tdbElement = dbfactory.newDocumentBuilder();\n\t\t\t\n\t\t\t//Create the root\n\t\t\tDocument docRoot = dbElement.newDocument();\n\t\t\tElement rootElement = docRoot.createElement(\"ROYAL\");\n\t\t\tdocRoot.appendChild(rootElement);\n\t\t\t\n\t\t\t//Create elements\n\t\t\t\n\t\t\t//Element fam = docRoot.createElement(\"FAM\");\n\t\t\tElement e= null;\n\t\t\tbrRead = new BufferedReader(new FileReader(\"complet.ged\"));\n\t\t\tString line=\"\";\n\t\t\twhile((line = brRead.readLine()) != null){\n\t\t\t\tString lineTrim = line.trim();\n\t\t\t\tString str[] = lineTrim.split(\" \");\n\t\t\t\t//System.out.println(\"length = \"+str.length);\n\n\t\t\t\tif(str.length == 2){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2 = str[1];\n\t\t\t\t\ts3 = \"\";\n\t\t\t\t}else if(str.length ==3){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2=\"\";\n\n\t\t\t\t\ts2 = str[1];\n//\t\t\t\t\tSystem.out.println(\"s2=\"+s2);\n\t\t\t\t\ts3=\"\";\n\t\t\t\t\ts3 = str[2];\n//\t\t\t\t\ts3 = s[0];\n\t\t\t\t\t\n\t\t\t\t}else if(str.length >3){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2 = str[1];\n\t\t\t\t\ts3=\"\";\n\t\t\t\t\tfor(int i =2; i<str.length; i++){\n\t\t\t\t\t\ts3 = s3 + str[i]+ \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//System.out.println(s1+\"!\"+s2+\"!\"+s3+\"!\");\n\t\t\t\t//Write to file xml\n\t\t\t\t//writeToXML(s1, s2, s3);\n\t\t\t//Element indi = docRoot.createElement(\"INDI\");\t\n\t\t\t//System.out.println(\"Check0 :\" + s1);\n\t\t\tif( Integer.parseInt(s1)==0){\n\t\t\t\t\n\t\t\t\t//System.out.println(\"Check1\");\n\t\t\t\tif(s3.equalsIgnoreCase(\"INDI\")){\n\t\t\t\t\t//System.out.println(\"Check2\");\n\t\t\t\t\tSystem.out.println(\"This is a famille Individual!\");\n\t\t\t\t\te = docRoot.createElement(\"INDI\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t\n\t\t\t\t\t//Set attribute to INDI\n\t\t\t\t\tAttr indiAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tindiAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(indiAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\n\t\t\t\t}if(s3.equalsIgnoreCase(\"FAM\")){\n\t\t\t\t\t//System.out.println(\"Check3\");\n\t\t\t\t\tSystem.out.println(\"This is a famille!\");\n\t\t\t\t\te = docRoot.createElement(\"FAM\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t//Set attribute to FAM\n\t\t\t\t\tAttr famAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tfamAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(famAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}if(s2.equalsIgnoreCase(\"HEAD\")){\n\t\t\t\t\tSystem.out.println(\"This is a head!\");\n\t\t\t\t\te = docRoot.createElement(\"HEAD\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\n\t\t\t\t}if(s3.equalsIgnoreCase(\"SUBM\")){\n\n\t\t\t\t\tSystem.out.println(\"This is a subm!\");\n\t\t\t\t\te = docRoot.createElement(\"SUBM\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t//Set attribute to FAM\n\t\t\t\t\tAttr famAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tfamAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(famAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(Integer.parseInt(s1)==1){\n\n\t\t\t\tString child = s2;\n\t\t\t\tif(child.equalsIgnoreCase(\"SOUR\")||child.equalsIgnoreCase(\"DEST\")||child.equalsIgnoreCase(\"DATE\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"FILE\")||child.equalsIgnoreCase(\"CHAR\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"NAME\")||child.equalsIgnoreCase(\"TITL\")||child.equalsIgnoreCase(\"SEX\")||child.equalsIgnoreCase(\"REFN\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"PHON\")||child.equalsIgnoreCase(\"DIV\")){\n\t\t\t\t\tString name = lastElement.getNodeName();\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"HEAD\")||name.equalsIgnoreCase(\"FAM\")||name.equalsIgnoreCase(\"SUBM\")){\t\n\t\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\t\te.setTextContent(s3);\n\t\t\t\t\t\t\n\t\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\t\tx.setTextContent(s3);\n\t\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"BIRT\")||child.equalsIgnoreCase(\"DEAT\")||child.equalsIgnoreCase(\"COMM\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"BURI\")||child.equalsIgnoreCase(\"ADDR\")||child.equalsIgnoreCase(\"CHR\")){\n\t\t\t\t\t\n\t\t\t\t\tString name = lastElement.getNodeName();\t\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"FAM\")||name.equalsIgnoreCase(\"SUBM\")){\t\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\te.setTextContent(s3);\n\t\t\t\t\t\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\tx.setTextContent(s3);\n\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\tlastElement = x;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"FAMS\")||child.equalsIgnoreCase(\"FAMC\")){\n\t\t\t\t\tString name = lastElement.getNodeName();\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"FAM\")){\t\n\t\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\t\te.setAttribute(\"id\",s3);\n\t\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\t\t\tx.setAttribute(\"id\",s3);\n\t\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\t\tlastElement = x;\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"HUSB\")||child.equalsIgnoreCase(\"WIFE\")||child.equalsIgnoreCase(\"CHIL\")){\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\te.setAttribute(\"id\",s3);\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"MARR\")){\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(Integer.parseInt(s1)==2){\n\t\t\t\tString lastName = lastElement.getNodeName();\n\t\t\t\tif((lastName.equalsIgnoreCase(\"BIRT\"))||(lastName.equalsIgnoreCase(\"DEAT\"))||(lastName.equalsIgnoreCase(\"BURI\"))\n\t\t\t\t\t\t||(lastName.equalsIgnoreCase(\"MARR\"))||(lastName.equalsIgnoreCase(\"CHR\"))){\n\t\t\t\t\t//Add child nodes to birt, deat or marr\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"DATE\")){\n\t\t\t\t\t\tElement date = docRoot.createElement(\"DATE\");\n\t\t\t\t\t\tdate.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(date);\n\t\t\t\t\t}\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"PLAC\")){\n\t\t\t\t\t\tElement plac = docRoot.createElement(\"PLAC\");\n\t\t\t\t\t\tplac.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(plac);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tif(lastName.equalsIgnoreCase(\"COMM\")||lastName.equalsIgnoreCase(\"ADDR\")){\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"CONT\")){\n\t\t\t\t\t\tElement plac = docRoot.createElement(\"CONT\");\n\t\t\t\t\t\tplac.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(plac);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//lastElement = e;\n\t\t\t}\n\n\t\t\t\n\t\t\t\n\t\t\t//Saved this element for the next step\n\t\t\t\n\t\t\t//Write to file\n\t\t\tTransformerFactory transformerFactory = TransformerFactory.newInstance();\n\t\t\tTransformer transformer = transformerFactory.newTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"iso-8859-1\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, \"Royal.dtd\");\n\t\t\tDOMSource source = new DOMSource(docRoot);\n\t\t\tStreamResult result = new StreamResult(new File(\"complet.xml\"));\n\t \n\t\t\t// Output to console for testing\n\t\t\t// StreamResult result = new StreamResult(System.out);\t \n\t\t\ttransformer.transform(source, result);\n\t \n\t\t\tSystem.out.println(\"\\nXML DOM Created Successfully.\");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "public void openBlankXmlFile() {\n\t\t\n\t\t// the root of the xmlElement tree\n\t\trootNode = new XmlNode(this);\n\t\tXmlElement rootField = rootNode.getXmlElement();\n\t\t\n\t\trootField.setName(\"rootElement\", true);\n\t\t\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\trootNode.addChild(newNode);\n\t}", "public String doneXML() {\r\n return null;\r\n }", "private void clearFullTree()\r\n {\r\n fullXmlTree = new StringBuilder();\r\n }", "public static FeatureNode up(FeatureNode fn)\n\t{\n\t\tif (fn == null) return null;\n\t\tfn = fn.get(\"phr-head\");\n\t\tif (fn == null) return null;\n\t\tfn = fn.get(\"phr-root\");\n\t\treturn fn;\n\t}", "public String toXml() {\n\t\treturn(toString());\n\t}", "org.landxml.schema.landXML11.BridgeElementDocument.BridgeElement addNewBridgeElement();", "@Override\r\n public GenValueAppendStrategy getGenValueAppendStrategy() {\n return null;\r\n }", "@Override protected void outputLocalXml(IvyXmlWriter xw)\n{\n xw.field(\"KIND\",\"FLOAT\");\n}", "public void saveFeatureMetadata();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();", "private org.apache.axiom.soap.SOAPEnvelope toEnvelope(\r\n org.apache.axiom.soap.SOAPFactory factory,\r\n org.tempuri.HISWebServiceStub.GetXFList param, boolean optimizeContent,\r\n javax.xml.namespace.QName elementQName)\r\n throws org.apache.axis2.AxisFault {\r\n try {\r\n org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();\r\n emptyEnvelope.getBody()\r\n .addChild(param.getOMElement(\r\n org.tempuri.HISWebServiceStub.GetXFList.MY_QNAME, factory));\r\n\r\n return emptyEnvelope;\r\n } catch (org.apache.axis2.databinding.ADBException e) {\r\n throw org.apache.axis2.AxisFault.makeFault(e);\r\n }\r\n }", "private void serializeOutOfTypeSystemElements() throws SAXException {\n if (cds.marker != null) {\n return;\n }\n if (cds.sharedData == null) {\n return;\n }\n Iterator<OotsElementData> it = cds.sharedData.getOutOfTypeSystemElements().iterator();\n while (it.hasNext()) {\n OotsElementData oed = it.next();\n workAttrs.clear();\n // Add ID attribute\n addIdAttribute(workAttrs, oed.xmiId);\n\n // Add other attributes\n Iterator<XmlAttribute> attrIt = oed.attributes.iterator();\n while (attrIt.hasNext()) {\n XmlAttribute attr = attrIt.next();\n addAttribute(workAttrs, attr.name, attr.value);\n }\n // debug\n if (oed.elementName.qName.endsWith(\"[]\")) {\n Misc.internalError(new Exception(\n \"XMI Cas Serialization: out of type system data has type name ending with []\"));\n }\n // serialize element\n startElement(oed.elementName, workAttrs, oed.childElements.size());\n\n // serialize features encoded as child elements\n Iterator<XmlElementNameAndContents> childElemIt = oed.childElements.iterator();\n while (childElemIt.hasNext()) {\n XmlElementNameAndContents child = childElemIt.next();\n workAttrs.clear();\n Iterator<XmlAttribute> attrIter = child.attributes.iterator();\n while (attrIter.hasNext()) {\n XmlAttribute attr = attrIter.next();\n addAttribute(workAttrs, attr.name, attr.value);\n }\n\n if (child.contents != null) {\n startElement(child.name, workAttrs, 1);\n addText(child.contents);\n } else {\n startElement(child.name, workAttrs, 0);\n }\n endElement(child.name);\n }\n\n endElement(oed.elementName);\n }\n }", "Feature createFeature();", "@Override\n public String toString() {\n return mFeatureStructures.toString();\n }", "public uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode.Builder addNodeBuilder() {\n return getNodeFieldBuilder().addBuilder(\n uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureNode.getDefaultInstance());\n }", "@Override\r\n\tpublic XmlDataStruct getOutputStruct()\r\n\t{\n\t\treturn null;\r\n\t}", "@Override\n public void setFeature(String feature) {\n this.exteriorFeature = feature;\n }", "public XMLDocument endElement() {\r\n return this.endElement(null);\r\n }", "@Override\n public int getEnd() {\n return feature.getEnd();\n }", "@Override\n\tpublic JAXBElement<MissingValue> toJAXBElementVectorValue() {\n\t\treturn MasterObjectFactory.createMissingValue(this);\n\t}", "public void xsetFeatureType(gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType featureType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType target = null;\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().find_element_user(FEATURETYPE$4, 0);\n if (target == null)\n {\n target = (gov.weather.graphical.xml.dwmlgen.schema.dwml_xsd.FeatureTypeType)get_store().add_element_user(FEATURETYPE$4);\n }\n target.set(featureType);\n }\n }", "public static void unionByAttributeValue(FeatureCollection featureCollection, String attributeName) throws Exception {\n FeatureSchema schema = featureCollection.getFeatureSchema();\n if (featureCollection.getFeatures().size() > 1 && featureCollection.getFeatures().get(0).getGeometry() != null) {\n featureCollection.getFeatures().get(0).getGeometry().getFactory();\n } else {\n Logger.error(I18N.get(\"ui.plugin.analysis.DissolvePlugIn.needs-two-features-or-more\"));\n // return null;\n }\n FeatureSchema newSchema;\n newSchema = schema;\n Map<Object, FeatureCollection> map = new HashMap<Object, FeatureCollection>();\n for (Feature feature : featureCollection.getFeatures()) {\n Object key = feature.getAttribute(attributeName);\n if (!map.containsKey(key)) {\n FeatureCollection fd = new FeatureDataset(featureCollection.getFeatureSchema());\n fd.add(feature);\n map.put(key, fd);\n } else {\n map.get(key).add(feature);\n }\n }\n featureCollection.removeAll(featureCollection.getFeatures());\n for (Iterator<Object> i = map.keySet().iterator(); i.hasNext();) {\n Object key = i.next();\n FeatureCollection fca = map.get(key);\n if (fca.size() > 0) {\n Feature feature = union(fca);\n feature.setAttribute(attributeName, key);\n Feature newFeature = new BasicFeature(newSchema);\n // Copy feature attributes in newFeature\n for (int j = 0, max = newSchema.getAttributeCount(); j < max; j++) {\n newFeature.setAttribute(j, feature.getAttribute(newSchema.getAttributeName(j)));\n }\n featureCollection.add(newFeature);\n }\n }\n // return featureCollection;\n }", "public String feature() {\n return feature;\n }", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);", "public eu.aladdin_project.xsd.OperationResult addNewOut()\n {\n synchronized (monitor())\n {\n check_orphaned();\n eu.aladdin_project.xsd.OperationResult target = null;\n target = (eu.aladdin_project.xsd.OperationResult)get_store().add_element_user(OUT$0);\n return target;\n }\n }", "public void addValue() {\n addValue(1);\n }", "void addFeatures(Features features);", "void writeNullObject() throws SAXException {\n workAttrs.clear();\n addIdAttribute(workAttrs, \"0\");\n XmlElementName elemName = uimaTypeName2XmiElementName(\"uima.cas.NULL\");\n startElement(elemName, workAttrs, 0);\n endElement(elemName);\n }", "protected Vector getFeatureSet()\n {\n // get the superclass' vector\n Vector v = super.getFeatureSet();\n\n // add the features\n\n // return the vector\n return v;\n }", "Element toXML();", "public void AssembleFeatureFromTree(Tree parse) {\n String feature=parse.value() + \"->\";\n Tree[] sub_tree = parse.children();\n for(Tree t: sub_tree) {\n if (!t.isPreTerminal()) {\n AssembleFeatureFromTree(t);\n }\n feature+=t.value() + \"+\";\n }\n \n if(!global_dict.containsKey(feature)){\n global_dict.put(feature, global_dict.size()+1);\n }\n fn = global_dict.get(feature);\n //System.out.println(feature + \" : \" + fn);\n ftlist.add(fn);\n }", "@Override\n\tpublic String toGeoJSON(FeatureDto featureDto) {\n\t\tif (featureDto == null) {\n\t\t\treturn BuilderConstants.NULL_VALUE;\n\t\t}\n\t\n\t\tStringBuilder builder = initializeBuilder();\n\t\tbuildTypePart(builder, GeoJSONObjectTypeEnum.Feature);\n\n\t\tbuilder.append(BuilderConstants.GEOMETRY_SPACE);\n\t\tif (featureDto.getGeometry() == null) {\n\t\t\tbuilder.append(BuilderConstants.NULL_VALUE);\n\t\t} else {\n\t\t\tbuilder.append(CommonGeometryBuilder.toGeometryGeoJSON(featureDto.getGeometry()));\n\t\t}\n\n\t\tbuilder.append(BuilderConstants.COMMA_NEWLINE);\n\t\tbuilder.append(BuilderConstants.PROPERTIES_SPACE);\n\n\t\tbuilder.append(featureDto.getProperties());\n\n\t\tif (featureDto.getId() != null) {\n\t\t\tbuilder.append(BuilderConstants.COMMA_NEWLINE);\n\t\t\tbuilder.append(BuilderConstants.ID_SPACE);\n\t\t\tbuilder.append(featureDto.getId());\n\t\t}\n\n\t\tbuildBbox(builder, featureDto.getBbox());\n\t\tendBuilder(builder);\n\n\t\treturn builder.toString();\n\t}", "public Integer getFeature() {\n return feature;\n }", "public String getKMLExtendedData(){\r\n String exData = \"\";\r\n for (int i = 0; i<attributes.size(); i++){\r\n String exDataRow = \"<Data name=\\\"\"+attributes.get(i).getAttName()+\"\\\"><value>\"+attributes.get(i).getAttValue()+\"</value></Data>\\n\";\r\n exData = exData+exDataRow;\r\n }\r\n return exData;\r\n }", "public org.hl7.fhir.String addNewVersion()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.String target = null;\n target = (org.hl7.fhir.String)get_store().add_element_user(VERSION$4);\n return target;\n }\n }", "public void createFile(){\r\n JFileChooser chooser = new JFileChooser();\r\n chooser.setAcceptAllFileFilterUsed(false);\r\n FileNameExtensionFilter filter = new FileNameExtensionFilter(\"Only XML Files\", \"xml\");\r\n chooser.addChoosableFileFilter(filter);\r\n chooser.showSaveDialog(null);\r\n File f = chooser.getSelectedFile();\r\n if (!f.getName().endsWith(\".xml\")){\r\n f = new File(f.getAbsolutePath().concat(\".xml\"));\r\n }\r\n try {\r\n BufferedWriter bw = new BufferedWriter(new FileWriter(f));\r\n try (PrintWriter pw = new PrintWriter(bw)) {\r\n pw.println(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\");\r\n pw.println(\"<osm>\");\r\n for (Node node : this.getListNodes()) {\r\n if(node.getType() == TypeNode.INCENDIE){\r\n pw.println(\" <node id=\\\"\"+node.getId()+\"\\\" x=\\\"\"+node.getX()+\"\\\" y=\\\"\"+node.getY()+\"\\\" type=\\\"\"+node.getType()+\"\\\" intensity=\\\"\"+node.getFire()+\"\\\" />\");\r\n } else {\r\n pw.println(\" <node id=\\\"\"+node.getId()+\"\\\" x=\\\"\"+node.getX()+\"\\\" y=\\\"\"+node.getY()+\"\\\" type=\\\"\"+node.getType()+\"\\\" />\");\r\n }\r\n }\r\n for (Edge edge : this.getListEdges()) {\r\n pw.println(\" <edge nd1=\\\"\"+edge.getNode1().getId()+\"\\\" nd2=\\\"\"+edge.getNode2().getId()+\"\\\" type=\\\"\"+edge.getType()+\"\\\" />\");\r\n }\r\n pw.println(\"</osm>\");\r\n }\r\n } catch (IOException e) {\r\n System.out.println(\"Writing Error : \" + e.getMessage());\r\n }\r\n }", "public void writeXMLFinisher() {\n\t\tJavaIO.createXMLFile(getCurrentPath(), \"coveragePriorJ.xml\", \"</list>\", true);\n\t}", "public void add(Feature f){\n if (debug) logger.info(\"feature added\");\n int z = fc.size();\n fc.add(f);\n fcLastEdits.clear();//clear possible feature edits\n fcLastEdits.add(f);\n lastEditType = EDIT_ADD;\n fireTableRowsInserted(z+1, z+1);\n }", "public abstract StringBuffer toXML();", "public org.apache.xmlbeans.XmlAnySimpleType addNewOutputEncoding()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnySimpleType target = null;\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(OUTPUTENCODING$18);\n return target;\n }\n }", "public String exportXML() {\n\n\t\tXStream xstream = new XStream();\n\t\txstream.setMode(XStream.NO_REFERENCES);\n\n\t\treturn xstream.toXML(this);\n\t}" ]
[ "0.5928968", "0.5928968", "0.58948916", "0.58948916", "0.5881476", "0.5856327", "0.57552284", "0.56087846", "0.55609834", "0.5544772", "0.5342502", "0.53145003", "0.5262389", "0.52376676", "0.5181151", "0.5181151", "0.5159556", "0.5121166", "0.50993866", "0.5097389", "0.5095546", "0.50902474", "0.50790745", "0.50728625", "0.49819568", "0.49666193", "0.49498776", "0.49224317", "0.49200913", "0.49200913", "0.48782524", "0.4846985", "0.48442155", "0.48430258", "0.4833555", "0.48198", "0.47826222", "0.47738737", "0.47577357", "0.47463512", "0.47428888", "0.4729545", "0.47233114", "0.47233015", "0.4707015", "0.46983105", "0.46976495", "0.4697232", "0.4692035", "0.4685625", "0.46720332", "0.467057", "0.465614", "0.4651483", "0.46474788", "0.464557", "0.46439445", "0.46318892", "0.46263498", "0.4623359", "0.46169832", "0.4613562", "0.4612054", "0.46062434", "0.4604598", "0.45958272", "0.45958272", "0.45883307", "0.4587404", "0.45852706", "0.45825735", "0.45784926", "0.4570413", "0.45614362", "0.4558549", "0.45573488", "0.4550951", "0.4545485", "0.4537206", "0.45366842", "0.45366177", "0.45366177", "0.45357385", "0.4534515", "0.45310384", "0.45286828", "0.45250863", "0.45207804", "0.45173207", "0.45092398", "0.4508289", "0.45000505", "0.44984183", "0.44957557", "0.4487114", "0.4480912", "0.4477845", "0.4473904", "0.44724104" ]
0.6081155
1
Removes the ith "Feature" element
void removeFeature(int i);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Feature removeFeature(int index);", "public void removeFeature(Feature feature) {\n rows.removeElement(feature);\n }", "public void removeFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(FEATURE$6, i);\r\n }\r\n }", "public void removeFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(FEATURE$6, i);\r\n }\r\n }", "public void removeFeature(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(FEATURE$14, i);\r\n }\r\n }", "void removePlanFeature(int i);", "void deleteFeature(Integer id);", "public void removeFeature(Feature f)\n throws ChangeVetoException, BioException;", "boolean removeFeature(Feature feature);", "protected void removeFromIndex(SimpleFeature feature) {\n\t\tif (feature==null) return;\n\t\t\n\t\t// ID Index\n\t\tidIndex.remove( feature.getID() );\n\t\t\n\t\t// Type name index\n\t\tName type = feature.getType().getName();\n\t\tSet<SimpleFeature> prev = typeNameIndex.get(type);\n\t\tif ( prev.remove( feature ) ) {\n\t\t\tif (prev.size()>0) {\n\t\t\t\ttypeNameIndex.put(type,prev);\n\t\t\t} else {\n\t\t\t\ttypeNameIndex.remove(type);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Tile Index\n\t\tif (feature.getID().matches(\".*-[0-9]+-[0-9]+-[0-9]+\")) {\n\t\t\tOSMTile tile = new OSMTile(feature.getID());\n\t\t\tprev = tileIndex.get( tile );\n\t\t\tif ( prev.remove( feature ) ) {\n\t\t\t\tif (prev.size()>0) {\n\t\t\t\t\ttileIndex.put(tile, prev);\n\t\t\t\t} else {\n\t\t\t\t\ttileIndex.remove(type);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// Whatever for features\n\t\t}\n\t}", "public void remove(Feature f){\n if (debug) logger.info(\"feature removed\");\n int row = fc.indexOf(f);\n fc.remove(f);\n fcLastEdits.clear();\n fcLastEdits.add(f);\n lastEditType = EDIT_REMOVE;\n fireTableRowsDeleted(row,row);\n }", "public void removeFromfeatures (org.unitime.timetable.model.RoomFeature roomFeature) {\n \t\tif (null == getFeatures()) \n \t\t\tsetFeatures(new java.util.HashSet());\n \t\tgetFeatures().remove(roomFeature);\n \t}", "public void removeFeatures(Feature[] features) {\n //TODO: remove the features\n }", "Feature delete(Long featureId);", "void clearFeatures();", "public void removeUsedFeature(final String name) {\n \t final List<Element> elementsToRemove = new LinkedList<Element>();\n for (final Element child : manifestElement.getChildren(ELEMENT_USES_FEATURE)) {\n if (name.equals(child.getAttributeValue(ATTRIBUTE_NAME))) {\n elementsToRemove.add(child);\n }\n }\n\n for (final Element element : elementsToRemove) {\n removeElementAndPrefix(element);\n }\n }", "private void deleteFeature(final SimpleFeature feature ) {\n\n\n try {\n //Deletes only if the target is equal to the layer to clip\n if(this.layerToClip.equals(this.targetLayer)){\n FidFilter filter = FILTER_FACTORY.createFidFilter(feature.getID());\n FeatureStore<SimpleFeatureType, SimpleFeature> store = getTargetStore();\n store.removeFeatures(filter);\n }\n\n } catch (IOException e) {\n final String msg = Messages.ClipProcess_failed_deleting;\n LOGGER.severe(msg);\n throw (RuntimeException) new RuntimeException(msg).initCause( e );\n }\n\n }", "public void removeFeatures(Extent ex) {\n //TODO: remove the features\n }", "@Override\r\n \t\tprotected Object removeListItem(EObject object, EStructuralFeature feature, int index) {\n \t\t\tEList<EObject> list = (EList<EObject>)object.eGet(feature);\r\n \t\t\tEObject item = list.get(index);\r\n \t\t\tOutputSet outputSet = catchEvent.getOutputSet();\r\n \t\t\tif (outputSet.getDataOutputRefs().contains(item))\r\n \t\t\t\toutputSet.getDataOutputRefs().remove(item);\r\n \t\t\t\r\n \t\t\t// remove Input or Output DataAssociations\r\n \t\t\tList<DataOutputAssociation> dataOutputAssociations = catchEvent.getDataOutputAssociation();\r\n \t\t\tList<DataOutputAssociation> removed = new ArrayList<DataOutputAssociation>();\r\n \t\t\tfor (DataOutputAssociation doa : dataOutputAssociations) {\r\n \t\t\t\tif (doa.getTargetRef().equals(item))\r\n \t\t\t\t\tremoved.add(doa);\r\n \t\t\t}\r\n \t\t\tdataOutputAssociations.removeAll(removed);\r\n \r\n \t\t\treturn super.removeListItem(object, feature, index);\r\n \t\t}", "boolean removeTypedFeature(StructuralFeature typedFeature);", "public static void delete(int id) {\r\n\t\tString IdColumnName = \"feature_id\";\r\n\t\toperation.removeRow(\"FEATURE\", IdColumnName, id);\r\n\t}", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "public void clearFeatures() {\n localFeatureVector.clear();\n }", "@Override\r\n \t\tprotected Object removeListItem(EObject object, EStructuralFeature feature, int index) {\n \t\t\tEList<EObject> list = (EList<EObject>)object.eGet(feature);\r\n \t\t\tEObject item = list.get(index);\r\n \t\t\tInputSet inputSet = throwEvent.getInputSet();\r\n \t\t\tif (inputSet.getDataInputRefs().contains(item))\r\n \t\t\t\tinputSet.getDataInputRefs().remove(item);\r\n \t\t\t\r\n \t\t\t// remove Input or Output DataAssociations\r\n \t\t\tList<DataInputAssociation> dataInputAssociations = throwEvent.getDataInputAssociation();\r\n \t\t\tList<DataInputAssociation> removed = new ArrayList<DataInputAssociation>();\r\n \t\t\tfor (DataInputAssociation dia : dataInputAssociations) {\r\n \t\t\t\tif (dia.getTargetRef().equals(item))\r\n \t\t\t\t\tremoved.add(dia);\r\n \t\t\t}\r\n \t\t\tdataInputAssociations.removeAll(removed);\r\n \r\n \t\t\treturn super.removeListItem(object, feature, index);\r\n \t\t}", "@Override\n\t\t\tpublic void remove() {\n\t\t\t\tthrow new UnsupportedOperationException();\n//\t\t\t\tif (i == begin || removed)\n//\t\t\t\t\tthrow new IllegalStateException();\n//\t\t\t\telements.set(i-1, null);\n//\t\t\t\tremoved = true;\n\t\t\t}", "public void remove () {}", "public static Instances removeFeatures(Instances input_data, double[] features, int nbrFea) {\n\n\t\tInstances new_data = new Instances(input_data);\n\n\t\tint num_del_fea = 0;\n\t\t//Remove features from new_data\n\t\tfor(int i=0; i< features.length; i++){\n\t\t\tif(features[i] == 0) {\n\t\t\t\tnew_data.deleteAttributeAt(i - num_del_fea);\n\t\t\t\tnum_del_fea++;\n\t\t\t}\n\t\t}\n\t\treturn new_data;\n\t}", "@Override\n\t/**\n\t * feature is not supported\n\t */\n\tpublic void remove() {\n\t}", "public void remove() {\n\t }", "public void remove() {\n\t }", "public void remove() {\n\t }", "void removeFeature(FriendPresence friendPresence);", "@Action( ACTION_REMOVE_FEATURE )\r\n public String doRemoveFeature( HttpServletRequest request )\r\n {\r\n int nId = Integer.parseInt( request.getParameter( PARAMETER_ID_FEATURE ) );\r\n FeatureHome.remove( nId );\r\n addInfo( INFO_FEATURE_REMOVED, getLocale( ) );\r\n\r\n return redirectView( request, VIEW_MANAGE_FEATURES );\r\n }", "Object remove();", "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "Object removeFirst();", "@Override\n\t\t\t\tpublic void remove() {\n\t\t\t\t\t\n\t\t\t\t}", "public int deleteByPrimaryKey(Integer id) throws SQLException {\r\n\t\tElemFeature key = new ElemFeature();\r\n\t\tkey.setId(id);\r\n\t\tint rows = getSqlMapClientTemplate().delete(\r\n\t\t\t\t\"cementerio_elem_feature.ibatorgenerated_deleteByPrimaryKey\",\r\n\t\t\t\tkey);\r\n\t\treturn rows;\r\n\t}", "public void remove() {\n\n }", "public Object remove();", "public void remove() {\r\n //\r\n }", "public void remove(FSElement fsele) {\n\t\tif(fsele.isLeaf()){\n\t\t\tif (fselements.contains(fsele)) {\n \tfselements.remove(fsele);\n }\n\t\t}else if (fsele.getCurrentDir().getChildren().isEmpty()) {\n if (fselements.contains(fsele)) {\n \tfselements.remove(fsele);\n }\n\n } else {\n \tfsele.getCurrentDir().fselements.clear();\n if (fselements.contains(fsele)) {\n \tfselements.remove(fsele);\n }\n }\n\t\t\n\t}", "public static void deleteFeature(Feature feature, String allFeaturesFilePath, Project project) throws IOException {\n\t\tFileReader r = new FileReader(allFeaturesFilePath);\n\t\tCSVParser parser = new CSVParser(r);\n\t\tList<CSVRecord> records = parser.getRecords();\n\t\tr.close();\n\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tint size = records.size();\n\t\tfor(int i = 1; i < size; i++){\n\t\t\tCSVRecord rec = records.get(i);\n\t\t\tString featureName = rec.get(0).trim();\n\t\t\tif (!featureName.equals(feature.getName())) {\n\t\t\t\tString functionName = rec.get(1).trim();\n\t\t\t\tString attr1Name = rec.get(2).trim();\n\t\t\t\tString attr1Type = rec.get(3).trim();\n\t\t\t\tString attr2Name = rec.get(4).trim();\n\t\t\t\tString attr2Type = rec.get(5).trim();\n\t\t\t\t\n\t\t\t\tString projectName = project.getName();\n\t\t\t\tFunction function = project.findFunctionByName(functionName);\n\t\t\t\tAttribute attribute1 = new Attribute(attr1Name, Attribute.Type.valueOf(attr1Type));\n\t\t\t\tAttribute attribute2 = new Attribute(attr2Name, Attribute.Type.valueOf(attr2Type));\n\t\t\t\tFeature f = new Feature(featureName, function, projectName, attribute1, attribute2);\n\t\t\t\tfeatures.add(f);\n\t\t\t}\n\t\t}\n\t\t// save all the features\n\t\tsaveAllFeatures(features, allFeaturesFilePath);\n\t}", "void removeClassification(int i);", "public void remove() {\n\t}", "public void remove() {\n\t}", "@Override\n\tpublic void remove() { }", "@Test\n public void deleteFeatureFlagTest() throws ApiException {\n String projectKey = null;\n String featureFlagKey = null;\n api.deleteFeatureFlag(projectKey, featureFlagKey);\n\n // TODO: test validations\n }", "@Override\r\n\tpublic void remove() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void remove() {\n\t\t\r\n\t}", "public void remove() {\r\n return;\r\n }", "@RequestLine(\"DELETE /v1/accounts/{accountId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: application/json\",\n \"Accept: application/json\",\n })\n FeatureFlag removeFeatureFlagAccounts(@Param(\"accountId\") String accountId, @Param(\"feature\") String feature);", "@RequestLine(\"DELETE /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: application/json\",\n \"Accept: application/json\",\n })\n FeatureFlag removeFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature);", "@Override\n public void remove() {\n }", "void remove();", "void remove();", "void remove();", "void remove();", "void remove();", "public void removeFromSteps(entity.LoadStep element);", "@Override\n public void remove() {\n }", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@RequestLine(\"DELETE /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Content-Type: application/json\",\n \"Accept: application/json\",\n })\n FeatureFlag removeFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature);", "private Element removeSubElements(Element p_seg)\n {\n ArrayList elems = new ArrayList();\n\n findSubElements(elems, p_seg);\n\n for (int i = 0; i < elems.size(); i++)\n {\n Element sub = (Element)elems.get(i);\n\n removeSubElement(sub);\n }\n\n return p_seg;\n }", "public @Override E remove(int i) {\n \treturn removeNode(getNode(i));\n }", "public void remove()\n {\n removed();\n node.shapeRemoved(shape);\n }", "public void removeFlag()\r\n\t{\r\n\t\thasFlag = false;\r\n\t\tflag = null;\r\n\t}", "public void clearRemovalTag() {\n\t levelOfRemoval = 0;\n\t}", "public void untagAsRemoved() {\n\t levelOfRemoval --;\n\t}", "@Override\n\tpublic void clear() {\n\t\tsuper.clear();\n\t\tidIndex = new HashMap<String, SimpleFeature>();\n\t\ttypeNameIndex = new HashMap<Name, Set<SimpleFeature>>();\n\t\ttileIndex = new HashMap<OSMTile, Set<SimpleFeature>>();\n\t}", "void clearTypedFeatures();", "public void remove(){\n }", "public void remove() {\n btRemove().push();\n }", "public void remove() {\n btRemove().push();\n }", "public final void remove () {\r\n }", "void removeLayer(int whichLayer);", "void removeHasPart(WrappedIndividual oldHasPart);", "public void remove() {\n int size = itinerary.size();\n if (size != 1) {\n \n // Removes last Flight in this Itinerary.\n Flight removedFlight = this.itinerary.remove(size - 1);\n \n // Gets the new last Flight in this Itinerary.\n Flight flight = this.itinerary.get(size - 2);\n \n // Updates all the relevant fields in this Itinerary.\n this.price -= removedFlight.getCost();\n this.arrivalDateTime = flight.getArrivalDateTime();\n this.destination = flight.getDestination();\n this.travelTime = arrivalDateTime.timeDiff(departDateTime);\n this.places.remove(size);\n }\n }", "void removeRoadside(int i);", "@Override\r\n\t\tpublic void remove() {\r\n\t\t\t// YOU DO NOT NEED TO WRITE THIS\r\n\t\t}", "public void remove() {\n elements[index] = null;\n size--;\n next();\n }", "@Override\n\tpublic void remove(Element e) {\n\t\t\n\t}", "@Override\r\n\t\tpublic void remove() {\n\r\n\t\t}", "Form removeElement(Element element);", "public void removePoint(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(POINT$0, i);\n }\n }", "public void remove(String name)\n/* */ {\n/* 1177 */ for (int i = 0; i < this.attributes.size(); i++) {\n/* 1178 */ XMLAttribute attr = (XMLAttribute)this.attributes.elementAt(i);\n/* 1179 */ if (attr.getName().equals(name)) {\n/* 1180 */ this.attributes.removeElementAt(i);\n/* 1181 */ return;\n/* */ }\n/* */ }\n/* */ }", "public void deleteInterest(TXSemanticTag i);" ]
[ "0.7983761", "0.7642704", "0.75618553", "0.75618553", "0.7515041", "0.7320212", "0.71069795", "0.70447224", "0.689986", "0.6799276", "0.67934424", "0.6710031", "0.66962737", "0.6630069", "0.6606125", "0.6529459", "0.6466736", "0.64242876", "0.6293582", "0.62894607", "0.6284926", "0.6273139", "0.6273139", "0.6273139", "0.6273139", "0.6273139", "0.6268769", "0.6242839", "0.62239534", "0.61991745", "0.6187431", "0.6184106", "0.6113808", "0.6113808", "0.6113808", "0.60895264", "0.607819", "0.60701454", "0.60435367", "0.60435367", "0.6034068", "0.6030129", "0.6012056", "0.60066307", "0.6001404", "0.5995209", "0.5987456", "0.598154", "0.5979565", "0.596459", "0.596459", "0.5942791", "0.5935682", "0.5926633", "0.5926633", "0.59093314", "0.5901837", "0.5888351", "0.58856505", "0.58828086", "0.58828086", "0.58828086", "0.58828086", "0.58828086", "0.58792", "0.58716804", "0.58584285", "0.58584285", "0.58584285", "0.58584285", "0.58584285", "0.58584285", "0.58584285", "0.58584285", "0.5840452", "0.58339185", "0.5828184", "0.5826549", "0.5826103", "0.5805621", "0.580216", "0.579246", "0.5786782", "0.57832813", "0.5778793", "0.5778793", "0.57725257", "0.57710296", "0.5749292", "0.5748889", "0.573039", "0.57301813", "0.57186764", "0.5713334", "0.57105327", "0.57063293", "0.56971854", "0.56960946", "0.56960654" ]
0.8124915
1
Gets the "station" attribute
double getStation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStation() {\n return stationName;\n }", "public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }", "public String getFromStation();", "public String getStationld() {\n return stationld;\n }", "public String getName(){\r\n return this.station.getName();\r\n }", "public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }", "org.landxml.schema.landXML11.Station xgetStation();", "public String getStationId() {\n return location.getStationId();\n }", "public int getStationIdx() {\n return stationIdx;\n }", "public String getFromStationName();", "public int getStationID() {\n\t\treturn stationID;\n\t}", "public int getStation_ID() {\n\t\treturn station_ID;\n\t}", "public String getStationName(){\r\n return name;\r\n }", "public org.apache.xmlbeans.XmlAnySimpleType getStationName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONNAME$12);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target;\r\n }\r\n }", "public Object getStationId() {\n\t\treturn null;\n\t}", "public int getStartStation() {\n\t\treturn startStation;\n\t}", "public String getStationNumber()\n\t{\n\t\treturn getValue(ASLocation.STATIONNUMBER).toString();\n\t}", "public String getStationNumber()\n\t{\n\t\treturn getValue(WareHouse.STATIONNUMBER).toString();\n\t}", "public String getToStation();", "public String getStationTitle() {\r\n return stationTitle;\r\n }", "public void setStation(String station) {\n \tthis.station = station;\n }", "public Station station1() {\n return station1;\n }", "public String getStationNumber ()\n\t{\n\t\tString stationNo = getContent().substring(OFF_ID27_STATION, OFF_ID27_STATION + LEN_ID27_STATION) ;\n\t\treturn (stationNo);\n\t}", "public String getToStationName();", "String getStationBand();", "public org.apache.xmlbeans.XmlAnySimpleType getStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONDESCRIPTION$20);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target;\r\n }\r\n }", "public String getPrestation() {\r\n\t\treturn prestation;\r\n\t}", "public Station station2() {\n return station2;\n }", "public int getEndStation() {\n\t\treturn endStation;\n\t}", "TTC getSTART_STATION() {\n return START_STATION;\n }", "public StationSet getStation()\n {\n StationSet result = new StationSet();\n \n for (Train obj : this)\n {\n result.with(obj.getStation());\n }\n \n return result;\n }", "public String getStationTableName() {\n return stationTableName;\n }", "private ObStation getStationInfo(String icao) {\n ObStation station = null;\n ObStationDao dao = new ObStationDao();\n if (dao != null) {\n try {\n station = dao.queryByIcao(icao);\n } catch (Exception e) {\n statusHandler.handle(Priority.ERROR, icao\n + \" -Could not create datauri in getStationInfo() \", e);\n }\n }\n\n return station;\n }", "@ApiModelProperty(required = true, value = \"Location of the charging station\")\n public LocationDTO getStationLocation() {\n return stationLocation;\n }", "org.landxml.schema.landXML11.Station xgetStaStart();", "public ArrayList<GeoMagStation> getGeoMagStationList() {\n\t\treturn stationList;\n\t}", "public ArrayList<Station> getStations() {\n\t\treturn stations;\n\t}", "public LinkedList<Station> getStations() {\n return stations;\n }", "public void setFromStation(String fromStation);", "public String getNext() {\n return nextStation;\n }", "String getAttribute();", "private boolean isAtStation(){\n\n if (this.selectedTrain.getGPS().getCurrBlock().getStationName() != null){return true; }\n else { return false; }\n }", "public abstract Station getStation(int stationId) throws DataAccessException;", "java.lang.String getAttribute();", "public String getSeat() {\n\t\t\treturn seat;\n\t\t}", "public void addStation(String station) {\n this.station = station;\n }", "public static BusStation getStation(int id)\r\n\t{\r\n\t\treturn (BusStation) stations.get(\"\" + id);\r\n\t}", "public String getLastUsedStationNumber()\n\t{\n\t\treturn getValue(WareHouse.LASTUSEDSTATIONNUMBER).toString();\n\t}", "boolean isSetStation();", "public String getAttribute() {\n return attribute;\n }", "public void setStationName(String name){\r\n this.name = name;\r\n }", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "public String getArrivalAirport();", "public String getAgentStipend() {\r\n return (String) getAttributeInternal(AGENTSTIPEND);\r\n }", "RailWayStation getStationByTitle(String title);", "public HashMap<String, ArrayList<String>> getStations() \n\t{\n\t\t//return stations hashMap\n\t\treturn stations;\n\t}", "void setStation(double station);", "public boolean hasStation(String station) {\n if(this.station.equals(station)) {\n return true;\n } else {\n return false;\n }\n }", "public String getTopegalprestation() {\r\n\t\treturn topegalprestation;\r\n\t}", "public String attribute() {\n return this.attribute;\n }", "public String getSsid() {\r\n\t\treturn ssid;\r\n\t}", "public String getSrcCity() {\r\n return (String) getAttributeInternal(SRCCITY);\r\n }", "public java.lang.String getSW() {\r\n return localSW;\r\n }", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "Attribute getAttribute();", "public String getSensor()\n {\n return sensor;\n }", "public NST getAttrNST() {\n return attrNST;\n }", "public abstract Map<Integer, Station> getStations(boolean includeSilent);", "public String getGPS();", "public void setToStation(String toStation);", "public String getSeasonNew() {\n return (String) getAttributeInternal(SEASONNEW);\n }", "public String getStitchingLine() {\n return (String)getAttributeInternal(STITCHINGLINE);\n }", "public void setFromStationName(String fromStationName);", "public java.lang.String getSMCAT() {\n return SMCAT;\n }", "public String getCity() {\n return (String)getAttributeInternal(CITY);\n }", "@JsonIgnore public String getArrivalTerminal() {\n return (String) getValue(\"arrivalTerminal\");\n }", "@Override\n\tpublic String getEndStation() {\n\t\treturn \"부산\";\n\t}", "public String toStringSta_() {\n\t\treturn \"Station: \"+ name+ \", Adresse: \" + address + \", CB: \" + ((banking) ? \"oui\" : \"non\" ) + \", bonus: \" + ((bonus) ? \"oui\" : \"non\" )\n\t\t\t\t+ \", Etat: \" + ((status) ? \"OK\" : \"Fermé\" );\n\t}", "public String getSeatAvailable() {\n\t\treturn seatAvailable;\n\t}", "public String getNorthSide() {\n return (String) getAttributeInternal(NORTHSIDE);\n }", "public abstract Map<Integer, Station> getStationsCurrentlyWithSmSt() throws DataAccessException;", "org.landxml.schema.landXML11.Station xgetStaEnd();", "public String getState()\r\n\t{\r\n\t\treturn this.etat;\r\n\t}", "java.lang.String getTransitAirport();", "public String getAttribute12()\n {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }", "public String getStat() {\r\n\t\treturn stat;\r\n\t}", "public String getStore_location()\n {\n \treturn store_location;\n }", "public String getStyleSeason() {\n return (String)getAttributeInternal(STYLESEASON);\n }", "public Seat getSeat()\r\n\t{\r\n\t\tif( seat != null )\r\n\t\t{\r\n\t\t\treturn seat;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn null;\r\n\r\n\t\t}\r\n\t}", "public String getWashingPlant() {\n return (String) getAttributeInternal(WASHINGPLANT);\n }", "public java.lang.String getStreet() {\n return street;\n }", "public java.lang.String getStreet() {\n return street;\n }", "public String getAttribute12() {\n return (String) getAttributeInternal(ATTRIBUTE12);\n }", "public ArrayList<SeatHold> getSeat() {\n\t\treturn seat;\n\t}", "public @Nullable String getSSID() {\n return mSSID;\n }", "public double getAltitude() {\n return selv;\n }", "java.lang.String getTransitAirportCity();", "public String getaAtcity() {\n return aAtcity;\n }", "public String getWestSide() {\n return (String) getAttributeInternal(WESTSIDE);\n }" ]
[ "0.7952298", "0.7694531", "0.7554454", "0.752113", "0.7417537", "0.7347013", "0.72979593", "0.7110674", "0.7107731", "0.705886", "0.70431036", "0.7032776", "0.69525766", "0.694087", "0.6910657", "0.687651", "0.6857671", "0.6824484", "0.68179816", "0.66871846", "0.6598677", "0.6498091", "0.64942205", "0.6366874", "0.63632834", "0.636026", "0.6346244", "0.62649846", "0.62465787", "0.62221855", "0.61716926", "0.61137307", "0.6100981", "0.6007535", "0.59614015", "0.5938038", "0.5923642", "0.58905905", "0.5872071", "0.5819511", "0.5815168", "0.5775439", "0.5767656", "0.57333475", "0.5724116", "0.57210344", "0.5659602", "0.56465954", "0.5638305", "0.5630761", "0.56298995", "0.56267935", "0.5590782", "0.5585671", "0.55713624", "0.5570038", "0.5552272", "0.5550072", "0.55482024", "0.55444187", "0.55394644", "0.55359787", "0.5510996", "0.55104196", "0.55104196", "0.55062616", "0.5501708", "0.5484302", "0.5479033", "0.54772377", "0.54692936", "0.5448058", "0.54476", "0.5437244", "0.54341817", "0.5430409", "0.5426313", "0.5423823", "0.54183626", "0.5417967", "0.5400817", "0.5390281", "0.5387612", "0.53848636", "0.5378427", "0.53773856", "0.53701633", "0.53696877", "0.53564304", "0.5355339", "0.5340178", "0.5319764", "0.5319764", "0.5319488", "0.5317852", "0.53096926", "0.53024876", "0.5299469", "0.5294557", "0.52871984" ]
0.72596365
7
Gets (as xml) the "station" attribute
org.landxml.schema.landXML11.Station xgetStation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStation() {\n return stationName;\n }", "public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }", "public String getFromStation();", "public String getStationld() {\n return stationld;\n }", "public String getName(){\r\n return this.station.getName();\r\n }", "public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }", "public org.apache.xmlbeans.XmlAnySimpleType getStationName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONNAME$12);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target;\r\n }\r\n }", "public String getToStation();", "public String getStationId() {\n return location.getStationId();\n }", "public String getFromStationName();", "public String getStationName(){\r\n return name;\r\n }", "double getStation();", "org.landxml.schema.landXML11.Station xgetStaStart();", "public int getStartStation() {\n\t\treturn startStation;\n\t}", "public String getStationTitle() {\r\n return stationTitle;\r\n }", "public org.apache.xmlbeans.XmlAnySimpleType getStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONDESCRIPTION$20);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target;\r\n }\r\n }", "public String getStationNumber()\n\t{\n\t\treturn getValue(ASLocation.STATIONNUMBER).toString();\n\t}", "public Object getStationId() {\n\t\treturn null;\n\t}", "public String getStationNumber()\n\t{\n\t\treturn getValue(WareHouse.STATIONNUMBER).toString();\n\t}", "public int getStationIdx() {\n return stationIdx;\n }", "public int getStation_ID() {\n\t\treturn station_ID;\n\t}", "public int getStationID() {\n\t\treturn stationID;\n\t}", "void xsetStation(org.landxml.schema.landXML11.Station station);", "public String getStationNumber ()\n\t{\n\t\tString stationNo = getContent().substring(OFF_ID27_STATION, OFF_ID27_STATION + LEN_ID27_STATION) ;\n\t\treturn (stationNo);\n\t}", "public void setStation(String station) {\n \tthis.station = station;\n }", "public String getToStationName();", "String getStationBand();", "public String getPrestation() {\r\n\t\treturn prestation;\r\n\t}", "TTC getSTART_STATION() {\n return START_STATION;\n }", "public Station station1() {\n return station1;\n }", "org.landxml.schema.landXML11.Station xgetStaEnd();", "String getAttribute();", "public Station station2() {\n return station2;\n }", "java.lang.String getAttribute();", "public NST getAttrNST() {\n return attrNST;\n }", "public void setFromStation(String fromStation);", "public StationSet getStation()\n {\n StationSet result = new StationSet();\n \n for (Train obj : this)\n {\n result.with(obj.getStation());\n }\n \n return result;\n }", "public StnInfoAPIParser(Element stnBase, StationInfo currentStation) {\r\n\t\t//Now for the more specialised ones\r\n\t\tElement station = stnBase.getChild(\"station\");\r\n\t\t\r\n\t\t//<station/>\r\n\t\tstation.setElementListener(StationListener);\r\n\t\tstation.getChild(\"name\").setEndTextElementListener(NameEndListener);\r\n\t\tstation.getChild(\"abbr\").setEndTextElementListener(AbbrEndListener);\r\n\t\tstation.getChild(\"gtfs_latitude\").setEndTextElementListener(LatEndListener);\r\n\t\tstation.getChild(\"gtfs_longitude\").setEndTextElementListener(LongEndListener);\r\n\t\t\r\n\t\tstation.getChild(\"address\").setEndTextElementListener(StreetListener);\r\n\t\tstation.getChild(\"city\").setEndTextElementListener(CityListener);\r\n\t\tstation.getChild(\"county\").setEndTextElementListener(CountyListener);\r\n\t\tstation.getChild(\"state\").setEndTextElementListener(StateListener);\r\n\t\tstation.getChild(\"zipcode\").setEndTextElementListener(ZipListener);\r\n\t\t\r\n\t\t//<station><north_routes/></station>\r\n\t\tElement nroutes = station.getChild(\"north_routes\");\r\n\t\tnroutes.setElementListener(NRoutesListener);\r\n\t\tnroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\t\t//<station><south_routes/></station>\r\n\t\tElement sroutes = station.getChild(\"south_routes\");\r\n\t\tsroutes.setElementListener(SRoutesListener);\r\n\t\tsroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\r\n\t\t//<station><north_platforms/></station>\r\n\t\tElement nplats = station.getChild(\"north_platforms\");\r\n\t\tnplats.setElementListener(NPlatsListener);\r\n\t\tnplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\t\t//<station><south_platforms/></station>\r\n\t\tElement splats = station.getChild(\"south_platforms\");\r\n\t\tsplats.setElementListener(SPlatsListener);\r\n\t\tsplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\r\n\t\tstation.getChild(\"platform_info\").setEndTextElementListener(PlatInfoListener);\r\n\t\t\r\n\t\t//Misc Info\r\n\t\tstation.getChild(\"intro\").setEndTextElementListener(IntroListener);\r\n\t\tstation.getChild(\"cross_street\").setEndTextElementListener(CrossStreetListener);\r\n\t\tstation.getChild(\"food\").setEndTextElementListener(FoodListener);\r\n\t\tstation.getChild(\"shopping\").setEndTextElementListener(ShoppingListener);\r\n\t\tstation.getChild(\"attraction\").setEndTextElementListener(AttractionListener);\r\n\t\tstation.getChild(\"link\").setEndTextElementListener(LinkListener);\r\n\t}", "public int getEndStation() {\n\t\treturn endStation;\n\t}", "private ObStation getStationInfo(String icao) {\n ObStation station = null;\n ObStationDao dao = new ObStationDao();\n if (dao != null) {\n try {\n station = dao.queryByIcao(icao);\n } catch (Exception e) {\n statusHandler.handle(Priority.ERROR, icao\n + \" -Could not create datauri in getStationInfo() \", e);\n }\n }\n\n return station;\n }", "@Override\n public ArrayList<SCANAttributesXML> getAttributes() {\n return mesoCfgXML.getAttributesData();\n }", "@ApiModelProperty(required = true, value = \"Location of the charging station\")\n public LocationDTO getStationLocation() {\n return stationLocation;\n }", "public String getXML() {\n\t\treturn getXML(false);\n\t}", "public ArrayList<Station> getStations() {\n\t\treturn stations;\n\t}", "public ArrayList<GeoMagStation> getGeoMagStationList() {\n\t\treturn stationList;\n\t}", "public String getAgentStipend() {\r\n return (String) getAttributeInternal(AGENTSTIPEND);\r\n }", "public String getAttribute12() {\n return (String) getAttributeInternal(ATTRIBUTE12);\n }", "@Override\n\tpublic String getEndStation() {\n\t\treturn \"부산\";\n\t}", "public String toString() {\r\n\t\tString result = \" \" + StunConstants.getAttributeName(type) \r\n\t\t\t+ \"=[\" + Conversion.hexString(type)\r\n\t\t\t+ \"] valueLen=[\" + length \r\n\t\t\t+ \"] value=[\" + Conversion.hexString(value) + \"] padding=[\" + padding + \"]\";\r\n\t\treturn result;\r\n\t}", "public String getAttribute12()\n {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }", "public LinkedList<Station> getStations() {\n return stations;\n }", "public String getSsid() {\r\n\t\treturn ssid;\r\n\t}", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "public String getAttribute12() {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }", "public String getAttribute12() {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }", "public String getAttribute() {\n return attribute;\n }", "@GET\n @Produces(MediaType.APPLICATION_XML)\n \n public String getXml() {\n \n return \"<gps_data>\"\n + \"<gps_id>1</gps_id>\"\n + \"<gps_coord>107,-40</gps_coord>\"\n + \"<gps_time>12:00</gps_time>\"\n + \"</gps_data>\";\n }", "public String toStringSta_() {\n\t\treturn \"Station: \"+ name+ \", Adresse: \" + address + \", CB: \" + ((banking) ? \"oui\" : \"non\" ) + \", bonus: \" + ((bonus) ? \"oui\" : \"non\" )\n\t\t\t\t+ \", Etat: \" + ((status) ? \"OK\" : \"Fermé\" );\n\t}", "public String getStationTableName() {\n return stationTableName;\n }", "public String getAttribute11()\n {\n return (String)getAttributeInternal(ATTRIBUTE11);\n }", "java.lang.String getSsid();", "public HashMap<String, ArrayList<String>> getStations() \n\t{\n\t\t//return stations hashMap\n\t\treturn stations;\n\t}", "@Override\n\t\tprotected String getValueAsString() {\n\t\t\tAttr attr = element.getAttributeNodeNS(namespaceURI, localName);\n\t\t\tif (attr == null) {\n\t\t\t\treturn defaultValue;\n\t\t\t}\n\t\t\treturn attr.getValue();\n\t\t}", "public java.lang.String getXml();", "public void setToStation(String toStation);", "public String getNodeAttribute() {\n\treturn nodeAttribute;\n }", "public String getXml() {\n return xml;\n }", "public Element get_xml_info() {\n\t\treturn _xml_info;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"Station: \"+ name+ \", Adresse: \" + address + \", Wiki: Velos: \" + UVelosDispos + \", Places: \"\n\t\t\t\t+ UPlacesDispos + \", CB: \" + ((banking) ? \"oui\" : \"non\" ) + \", bonus: \" + ((bonus) ? \"oui\" : \"non\" )\n\t\t\t\t+ \", Etat: \" + ((status) ? \"OK\" : \"Fermé\" ) +\", Places libres: \" + available_bike_stands\n\t\t\t\t+ \", Velos disponibles: \" + available_bikes;\n\t}", "public String getAttribute11() {\n return (String) getAttributeInternal(ATTRIBUTE11);\n }", "public abstract Map<Integer, Station> getStations(boolean includeSilent);", "public final String getXmlspace() {\n return ((SVGFilterElement)ot).getXmlspace();\n }", "public void setStationName(String name){\r\n this.name = name;\r\n }", "public String getAttribute11() {\n return (String)getAttributeInternal(ATTRIBUTE11);\n }", "public String getAttribute11() {\n return (String)getAttributeInternal(ATTRIBUTE11);\n }", "public void addStation(String station) {\n this.station = station;\n }", "public String getArrivalAirport();", "public String attribute() {\n return this.attribute;\n }", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "public String getSystemdatum() {\n\t\treturn systemdatum;\n\t}", "public String getNext() {\n return nextStation;\n }", "public String getSeat() {\n\t\t\treturn seat;\n\t\t}", "public String getXml() {\n\t\treturn _xml;\n\t}", "public XmlElement getConfig()\n {\n return m_xml;\n }", "public String getSrcCity() {\r\n return (String) getAttributeInternal(SRCCITY);\r\n }", "public java.lang.String getSMCAT() {\n return SMCAT;\n }", "public String getExtAttribute12() {\n return (String) getAttributeInternal(EXTATTRIBUTE12);\n }", "public abstract String getConfigElementName();", "public void setFromStationName(String fromStationName);", "@Override\r\n\t\tpublic void writeAttribute(Element melement,Measurement m) {\n\t\t\tmelement.setAttribute(\"BoardingStop\", m.getAttribute(Measurement.transitBoardingStopAtrributeName).toString());\r\n\t\t\tmelement.setAttribute(\"AlightingStop\", m.getAttribute(Measurement.transitAlightingStopAttributeName).toString());\r\n\t\t\tmelement.setAttribute(\"Mode\", m.getAttribute(Measurement.transitModeAttributeName).toString());\r\n\t\t\t\r\n\t\t\tif(!m.getAttribute(Measurement.transitModeAttributeName).toString().equals(\"train\")) {\r\n\t\t\t\tmelement.setAttribute(\"LineId\", m.getAttribute(Measurement.transitLineAttributeName).toString());\r\n\t\t\t\tmelement.setAttribute(\"RouteId\", m.getAttribute(Measurement.transitRouteAttributeName).toString());\r\n\t\t\t}\r\n\t\t}", "public String getExtAttribute11() {\n return (String) getAttributeInternal(EXTATTRIBUTE11);\n }", "public String getXMLConfiguration()\n {\n return this.XMLConfiguration;\n }", "public String getAttr() {\n return attr;\n }", "java.lang.String getTransitAirport();", "public Element getConfig() {\n Element out = new Element(getElementName(),MarsModel.NAMESPACE);\n out.setAttribute(\"enabled\",String.valueOf(enabled));\n out.setAttribute(\"xmlfile\",xmlfile.getPath());\n out.setAttribute(\"period\",String.valueOf(period));\n out.setAttribute(\"xslthref\",xslthref);\n return out;\n }", "Attribute getAttribute();", "public String getSeasonNew() {\n return (String) getAttributeInternal(SEASONNEW);\n }", "public String getWestSide() {\n return (String) getAttributeInternal(WESTSIDE);\n }", "@Override\n\tpublic String getStartStation() {\n\t\treturn \"서울\";\n\t}" ]
[ "0.71047145", "0.6960947", "0.6794653", "0.67840564", "0.6749465", "0.6641028", "0.6416055", "0.63654613", "0.6331055", "0.62984467", "0.62778807", "0.6235459", "0.61721176", "0.61652815", "0.6164458", "0.613745", "0.61268175", "0.61067146", "0.6085111", "0.6078749", "0.6014732", "0.60130054", "0.59726584", "0.5954617", "0.5948628", "0.5930575", "0.5884114", "0.5776213", "0.5765086", "0.57388663", "0.57079417", "0.5648864", "0.5631073", "0.5568143", "0.556365", "0.5555376", "0.5516728", "0.5515553", "0.55014426", "0.54885906", "0.5476607", "0.54719305", "0.54357934", "0.5427446", "0.541485", "0.5397891", "0.537036", "0.53698444", "0.5359066", "0.535038", "0.5349716", "0.53325105", "0.53186125", "0.5314607", "0.5314607", "0.5287399", "0.5277122", "0.5275067", "0.52422184", "0.5237159", "0.5235471", "0.5229393", "0.5226641", "0.5218037", "0.5217159", "0.5215493", "0.52148354", "0.52078515", "0.52076626", "0.5203806", "0.5198238", "0.51900685", "0.5188446", "0.51824975", "0.51824975", "0.51819426", "0.5174182", "0.5171847", "0.51618576", "0.51618576", "0.5149682", "0.51493305", "0.51341033", "0.5133946", "0.5132237", "0.51120114", "0.5103527", "0.51007366", "0.5094547", "0.5090024", "0.5086101", "0.5084954", "0.50813204", "0.5077545", "0.5072202", "0.5070581", "0.50690204", "0.50688905", "0.50664526", "0.50654984" ]
0.769996
0
True if has "station" attribute
boolean isSetStation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isAtStation(){\n\n if (this.selectedTrain.getGPS().getCurrBlock().getStationName() != null){return true; }\n else { return false; }\n }", "public boolean hasStation(String station) {\n if(this.station.equals(station)) {\n return true;\n } else {\n return false;\n }\n }", "public boolean isSetStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(STATIONDESCRIPTION$20) != null;\r\n }\r\n }", "boolean hasStoreAttribute();", "private boolean isStation(SensorEvent e) {\n for (int[] p : STATION_POSITIONS) {\n if (atSensor(e, p[0], p[1])) {\n return true;\n }\n }\n return false;\n }", "org.landxml.schema.landXML11.Station xgetStation();", "public String getStation() {\n return stationName;\n }", "boolean hasSer();", "public final boolean hasAttribute ()\r\n {\r\n return _value.hasAttribute();\r\n }", "boolean hasHotelCenter();", "boolean hasSsid();", "boolean isAttribute();", "boolean hasAttributes();", "boolean hasAttributes();", "boolean hasFlightdetails();", "public void setStation(String station) {\n \tthis.station = station;\n }", "boolean hasOriginFlightLeg();", "boolean hasForecast();", "boolean hasLocation();", "boolean hasLocation();", "public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }", "boolean hasTrainingDataType();", "public boolean hasSsid() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "boolean isSetRoadTerrain();", "boolean hasAttribute(String name);", "public boolean hasLocation()\n\t{\n\t\treturn location != null;\n\t}", "public boolean hasValue() throws SdpParseException {\n\t\tNameValue nameValue = getAttribute();\n\t\tif (nameValue == null)\n\t\t\treturn false;\n\t\telse {\n\t\t\tObject value = nameValue.getValue();\n\t\t\tif (value == null)\n\t\t\t\treturn false;\n\t\t\telse\n\t\t\t\treturn true;\n\t\t}\n\t}", "@Test\n public void testIsStation() {\n System.out.println(\"isStation\");\n Block instance = new Block(\"Green\",\"A\",2,328.1,3.281,180.455,\"STATION; PIONEER\",1,1,3.281,4.9215);\n boolean expResult = true;\n boolean result = instance.isStation();\n assertEquals(expResult, result);\n }", "public boolean hasAttribute(String name) {\n // if attribute() returns a value, then this jode has that attribute\n return attribute(name, true) != null;\n }", "public boolean hasSsid() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean isSetTServerInfo() {\n return this.tServerInfo != null;\n }", "boolean hasLatitude();", "boolean hasLatitude();", "private void checkStationPresent(int station) throws JposException {\r\n Device.checkMember(station, SingleStations, JposConst.JPOS_E_ILLEGAL, \"Invalid print station: \" + station);\r\n Device.check(station == POSPrinterConst.PTR_S_JOURNAL && !Data.CapJrnPresent, JposConst.JPOS_E_ILLEGAL, \"No journal\");\r\n Device.check(station == POSPrinterConst.PTR_S_RECEIPT && !Data.CapRecPresent, JposConst.JPOS_E_ILLEGAL, \"No receipt\");\r\n Device.check(station == POSPrinterConst.PTR_S_SLIP && !Data.CapSlpPresent, JposConst.JPOS_E_ILLEGAL, \"No slip\");\r\n }", "public void check_station(Station s) throws Exception{\r\n\t\ts.add_user(this);\r\n\t\tSystem.out.println(\"Station State: \" + s.isState());\r\n\t\tSystem.out.println(\"Station Id: \" + s.getId());\r\n\t\tSystem.out.println(\"Station Type: \" + s.getType());\r\n\t\tSystem.out.println(\"Station Position: \" + s.getPosition()[0] + \" \" + s.getPosition()[1]);\r\n\t\tSystem.out.println(\"Mech Slots Available: \" + (s.getPlaces_mech().size()-s.count_mech()));\r\n\t\tSystem.out.println(\"Elec Slots Available: \" + (s.getPlaces_elec().size()-s.count_elec()));\r\n\t\tSystem.out.println(\"Mech Bicycles Available: \" + (s.count_mech()));\r\n\t\tSystem.out.println(\"Elec Bicycles Available: \" + (s.count_elec()));\r\n\t}", "@Override\n public boolean isSet() {\n return locusLocus != null;\n }", "boolean hasSegment();", "boolean hasWidevine();", "boolean hasHasCity();", "boolean isSetDSTSavings();", "boolean hasHasLatitude();", "@java.lang.Override\n public boolean hasWidevine() {\n return widevine_ != null;\n }", "public boolean hasLocation() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasLocation() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasVlan(){\n return vlanPacket;\n }", "boolean hasAltitude();", "public boolean isProvidesSight() {\n\t\treturn providesSight;\n\t}", "@Override\r\n\tpublic boolean create(Station obj) {\n\t\treturn false;\r\n\t}", "boolean isSetSegmented();", "public String getStationld() {\n return stationld;\n }", "public String getFromStation();", "public final boolean modstate_has_forecast () {\n\t\treturn modstate >= MODSTATE_FORECAST;\n\t}", "@java.lang.Override\n public boolean hasDistrict() {\n return district_ != null;\n }", "public boolean isSetShfit() {\n return this.shfit != null;\n }", "public boolean isKnown();", "@JsonIgnore\n public boolean isOndemandSet() {\n return isSet.contains(\"ondemand\");\n }", "boolean hasScheduling();", "boolean hasScheduling();", "boolean hasManufacturer();", "public boolean isSetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(STOPTIME$24) != null;\r\n }\r\n }", "public boolean isSapling() {\n return this.type == Type.SAPLING;\n }", "public boolean isStateKnown(){\n\t\treturn (state != null);\n\t}", "boolean hasReturnFlightLeg();", "boolean hasCarrierConstant();", "public void setFromStation(String fromStation);", "void checkStationExists() {\n\n stationExists = false;\n dataExists = false;\n stationExistsCount = 0;\n thisSubdesCount = 0;\n// stationIgnore = false;\n\n for (int i = 0; i < MAX_STATIONS; i++) {\n stationExistsArray[i] = false;\n loadedDepthMin[i] = 9999;\n loadedDepthMax[i] = -9999;\n spldattimArray[i] = \"\";\n currentsRecordCountArray[i] = 0;\n watphyRecordCountArray[i] = 0;\n stationStatusDB[i] = \"\";\n subdesCount[i] = 0;\n for (int j = 0; j < MAX_SUBDES; j++) {\n subdesArray[i][j] = \"\";\n } // for (int j = 0; j < MAX_SUBDES; j++)\n\n } // for (int i = 0; i < MAX_STATIONS; i++)\n\n // true if station with same station Id (first select) or\n // station with same date_start & latitude & longitude &\n // <data>.spltim & <data>.subdes (second select)\n String where = MrnStation.STATION_ID + \"='\" + station.getStationId() + \"'\";\n if (dbg) System.out.println(\"<br>checkStationExists: station: where = \" +\n where);\n\n // Is there already a station record with the same station-id?\n MrnStation[] tStation2 = new MrnStation().get(where);\n if (dbg) System.out.println(\"<br>checkStationExists: tStation2.length = \" +\n tStation2.length);\n if (tStation2.length > 0) {\n //stationStatusLD = \"di\"; // == duplicate station-id\n outputDebug(\"checkStationExists: station Id found: \" +\n station.getStationId(\"\"));\n stationExists = true;\n stationExistsArray[0] = true;\n } else {\n //stationStatusLD = \"ds\"; // == duplicate station (lat/lon/date/time)\n outputDebug(\"checkStationExists: station Id not found: \" +\n station.getStationId(\"\"));\n } // if (tStation2.length > 0)\n\n // are there any other stations around the same day that fall within the\n // latitude range? (it could include the station found above)\n\n // get the previous and next day for the select, in case the\n // spldattim is just before or after midnight\n java.text.SimpleDateFormat formatter =\n new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n java.util.GregorianCalendar calDate = new java.util.GregorianCalendar();\n calDate.setTime(station.getDateStart());\n calDate.add(java.util.Calendar.DATE, -1);\n String dateStartMin = formatter.format(calDate.getTime());\n\n calDate.setTime(station.getDateEnd());\n calDate.add(java.util.Calendar.DATE, +1);\n String dateEndMax = formatter.format(calDate.getTime());\n\n where =\n MrnStation.DATE_START + \">=\" +\n Tables.getDateFormat(dateStartMin) + \" and \" +\n MrnStation.DATE_END + \"<=\" +\n Tables.getDateFormat(dateEndMax) + \" and \" +\n MrnStation.LATITUDE + \" between \" +\n (station.getLatitude()-areaRangeVal) + \" and \" +\n (station.getLatitude()+areaRangeVal) + \" and \" +\n MrnStation.LONGITUDE + \" between \" +\n (station.getLongitude()-areaRangeVal) + \" and \" +\n (station.getLongitude()+areaRangeVal);\n if (dbg) System.out.println(\"<br><br>checkStationExists: station: \" +\n \"where = \" + where);\n\n // get the records\n MrnStation[] tStation3 = new MrnStation().get(\n \"*\", where, MrnStation.STATION_ID);\n if (dbg) System.out.println(\"<br><br>checkStationExists: \" +\n \"tStation3.length = \" + tStation3.length);\n\n // put both sets of stations found in one array for processing\n tStation = new MrnStation[tStation2.length + tStation3.length];\n if (dbg) System.out.println(\"<br><br>checkStationExists: \" +\n \"tStation.length = \" + tStation.length);\n int ii = 0;\n for (int i = 0; i < tStation2.length; i++) { // same station_id\n tStation[ii] = tStation2[i];\n ii++;\n } // for (int i = 0; i < tStation2.length; i++)\n for (int i = 0; i < tStation3.length; i++) { // satem lat/lon/date/time\n tStation[ii] = tStation3[i];\n ii++;\n } // for (int i = 0; i < tStation3.length; i++)\n\n // process the records\n stationUpdated = false;\n for (int i = 0; i < tStation.length; i++) {\n\n // same station id already done\n if ((i == 0) ||\n !tStation[i].getStationId().equals(station.getStationId())) {\n\n if (tStation[i].getStationId().equals(station.getStationId())) {\n stationStatusTmp = \"di\"; // == duplicate station-id\n } else {\n stationStatusTmp = \"ds\"; // == duplicate station (lat/lon/date/time)\n } // if (tStation[i].getStationId().equals(station.getStationId()))\n\n String dbgMess = \"checkStationExists: station found in area: \" +\n i + \" \" + station.getStationId(\"\") + \" \" +\n tStation[i].getStationId(\"\");\n\n getExistingStationDetails(tStation[i], i);\n\n if (stationExistsArray[i]) {\n stationExistsCount++;\n\n outputDebug(dbgMess + \": within time range\");\n\n// if (loadFlag) {\n// updateStationDetails(i);\n// } else {\n // d == Duplicate stationId/station only\n // s == Subdes: duplicate Station (lat/lon/date/time) && subdes\n stationStatusDB[i] = stationStatusTmp;\n if (subdesCount[i] == 0) {\n // d == Duplicate stationId/station only (lat/lon/date/time)\n stationStatusDB[i] += \"d\";\n if (\"did\".equals(stationStatusDB[i])) {\n didCount++;\n } else {\n dsdCount++;\n } // if (\"did\".equals(stationStatusDB))\n } else { // if (subdesCount == 0)\n // s == Subdes: duplicate Station (lat/lon/date/time) && subdes\n stationStatusDB[i] += \"s\";\n if (\"dis\".equals(stationStatusDB[i])) {\n disCount++;\n } else {\n dssCount++;\n } // if (\"dia\".equals(stationStatusDB))\n\n thisSubdesCount += subdesCount[i];\n\n } // if (subdesCount == 0)\n// } // if (loadFlag)\n } else {\n outputDebug(dbgMess + \": NOT within time range\");\n } // if (stationExistsArray[i]) {\n\n } // if (!tStation.getStationId().equals(station.getStationId())\n\n } // for (int i = 0; i < tStation.length; i++)\n\n if (dbg) System.out.println(\"checkStationExists: stationStatusTmo = \" + stationStatusTmp);\n\n // either stations with same station Id or within same\n // area & date-time range found\n if (stationExists) {\n duplicateStations = true;\n if (dataExists) {\n stationStatusLD = \"dup\";\n } else {\n stationStatusLD = \"new\";\n newStationCount++;\n } // if (dataExists)\n } else {\n stationStatusLD = \"new\";\n newStationCount++;\n } // if (stationExists)\n\n if (dbg) System.out.println(\"checkStationExists: stationStatusLD = \" + stationStatusLD);\n if (dbg) System.out.println(\"checkStationExists: stationStatusTmo = \" + stationStatusTmp);\n for (int i = 0; i < tStation.length; i++) {\n if (dbg) System.out.println(\"checkStationExists: stationStatusDB[i] = \" +\n i + \" \" + stationStatusDB[i]);\n } // for (int i = 0; i < tStation.length; i++)\n\n }", "public boolean isSetSwCell()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(SWCELL$20) != 0;\n }\n }", "boolean isSetStraight();", "public String getName(){\r\n return this.station.getName();\r\n }", "public Object getStationId() {\n\t\treturn null;\n\t}", "public boolean hasInstant() {\n return instant_ != null;\n }", "public boolean isSetObservedScanAnalysis() {\n return ((this.observedScanAnalysis != null) && (!this.observedScanAnalysis.isEmpty()));\n }", "@java.lang.Override\n public boolean hasAttributes() {\n return attributes_ != null;\n }", "public boolean hasFlightdetails() {\n return flightdetails_ != null;\n }", "public boolean hasAttribute(String name)\n/* */ {\n/* 1234 */ return findAttribute(name) != null;\n/* */ }", "@Override\r\n\tpublic boolean update(Station obj) {\n\t\treturn false;\r\n\t}", "boolean isSetSchedule();", "public boolean isSynthetic()\n {\n ensureLoaded();\n return m_tblAttribute.contains(ATTR_SYNTHETIC);\n }", "public boolean isAvailable(){\r\n // return statement\r\n return (veh == null);\r\n }", "boolean hasSsn();", "public boolean isStorniert() {\n\t\treturn this.storniert;\n\t}", "public boolean isSeatAllReserved() {\n return airplane.isFull();\n }", "boolean hasProperty();", "boolean hasProperty();", "boolean hasProperty();", "boolean hasHasSCF();", "public boolean hasTime() {\n return this.timeWrapper.isPresent();\n }", "public boolean isSetDeviceType() {\n return this.DeviceType != null;\n }", "@Override\n public boolean isSet() {\n return loci != null;\n }", "public boolean hasCaloriesData() {\n return calories.isPresent();\n }", "public boolean hasScheduling() {\n return scheduling_ != null;\n }", "boolean hasVenue();", "public boolean is_set_feature() {\n return this.feature != null;\n }", "public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }", "boolean isSetStaStart();", "@Override\r\n\tpublic final boolean isAvailale(final String service) {\n\r\n\t\tMapAware mapAware = new MapAware() {\r\n\t\t\t@Override\r\n\t\t\tpublic Object getKey() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\treturn service;\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic Object getValue() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t};\r\n\t\treturn KxTopologyCacheContext.getSingleCacheContext().contains(ObjectHelper.CLASSKEY, ObjectHelper.CLASSVALUE,\r\n\t\t\t\tmapAware)\r\n\t\t\t\t|| KxTopologyCacheContext.getSingleCacheContext().contains(ObjectHelper.CLASSKEY,\r\n\t\t\t\t\t\tObjectHelper.WASTECLASS, mapAware);\r\n\t}", "boolean hasPhy();", "public void addStation(String station) {\n this.station = station;\n }", "boolean hasAddMountPoint();", "public boolean isDeployed(){\n return !places.isEmpty();\n }" ]
[ "0.7740368", "0.75422364", "0.71579456", "0.69446886", "0.6816942", "0.6391264", "0.6387357", "0.63631594", "0.634895", "0.6268695", "0.6247551", "0.62365025", "0.62272114", "0.62272114", "0.61842716", "0.6166986", "0.6120836", "0.60771155", "0.607368", "0.607368", "0.6070316", "0.6039726", "0.6014408", "0.60028553", "0.59320545", "0.5923071", "0.5919045", "0.5907928", "0.59016126", "0.5869045", "0.58529824", "0.58514667", "0.58514667", "0.5851312", "0.5848449", "0.5847959", "0.58475095", "0.5846999", "0.5846507", "0.5823575", "0.58054286", "0.5801039", "0.5800232", "0.5798361", "0.5795157", "0.57802933", "0.5773695", "0.57679254", "0.5761942", "0.5758693", "0.57453436", "0.5733981", "0.57293594", "0.5727134", "0.5721998", "0.5711483", "0.5709601", "0.5709601", "0.5705964", "0.570329", "0.5697762", "0.569429", "0.5684072", "0.56795794", "0.56686276", "0.56651884", "0.5663155", "0.566157", "0.5656946", "0.56559575", "0.5645284", "0.56445545", "0.56420714", "0.5641913", "0.5638049", "0.5636577", "0.5636051", "0.5635559", "0.5632957", "0.5632056", "0.56313705", "0.5624458", "0.5624067", "0.5624067", "0.5624067", "0.562403", "0.5622321", "0.56221604", "0.56218755", "0.5620755", "0.56170624", "0.5601094", "0.55998194", "0.5598952", "0.55970085", "0.5596548", "0.5594838", "0.55908203", "0.5590038", "0.5587014" ]
0.80915385
0
Sets the "station" attribute
void setStation(double station);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStation(String station) {\n \tthis.station = station;\n }", "void xsetStation(org.landxml.schema.landXML11.Station station);", "public void setFromStation(String fromStation);", "void setStation(String stationType, double band);", "public void setStationIdx(int idx) {\n stationIdx = idx;\n }", "public void setToStation(String toStation);", "public final void setStation(Station station, StationData data) {\n\n\t\tif (station != null) {\n\t\t\tthis.data = data;\n\t\t\t// labelStation.setText(station.getName());\n\t\t\tchartPanel.setTitle(station.getName());\n\t\t\t// labelState.setText(station.getState().getName());\n\t\t}\n\n\t\tupdateChart();\n\t}", "public void setFromStationName(String fromStationName);", "public void addStation(String station) {\n this.station = station;\n }", "public void setStationName(org.apache.xmlbeans.XmlAnySimpleType stationName)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONNAME$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONNAME$12);\r\n }\r\n target.set(stationName);\r\n }\r\n }", "public void setStationNumber(String arg)\n\t{\n\t\tsetValue(STATIONNUMBER, arg);\n\t}", "public void setStationNumber(String arg)\n\t{\n\t\tsetValue(STATIONNUMBER, arg);\n\t}", "public void setStations(LinkedList<Station> stations) {\n this.stations = stations;\n }", "public void setStationName(String name){\r\n this.name = name;\r\n }", "public void setInitStationLocation(String l) {\n initStationLocation = l;\n }", "public void setToStationName(String toStationName);", "public void setSatellite( Satellite sat ) {\r\n /*========================================================================*/ \r\n this.sat = sat;\r\n }", "public TrainSet withStation(Station value)\n {\n for (Train obj : this)\n {\n obj.withStation(value);\n }\n \n return this;\n }", "void xsetStaStart(org.landxml.schema.landXML11.Station staStart);", "public String getStation() {\n return stationName;\n }", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "public void setStationDescription(org.apache.xmlbeans.XmlAnySimpleType stationDescription)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONDESCRIPTION$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONDESCRIPTION$20);\r\n }\r\n target.set(stationDescription);\r\n }\r\n }", "public void setChannel(int station) {\r\n\t\tchannel = station;\r\n\t}", "public void buildStation(Station station) {\n stations.add(station);\n }", "public void placePowerStation() {\n this.powerStation = true;\n\n }", "public L04Station(String name) {\r\n if (findByName(name)==null) {\r\n setName(name);\r\n stationList.add(this);\r\n }\r\n }", "public void setWHStationNumber(String arg) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.WHSTATIONNUMBER.toString(), arg);\n\t}", "void setEndStation(TTC endStation) {\n this.endStation = endStation;\n }", "public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }", "public void setStationCodeTable(IStationCodeTable stationCodeTable);", "private void setupStationEndPoint(int stationNumber) {\n switch (stationNumber) {\n case 1:\n this.stationX = 60;\n this.stationY = 60;\n this.angle = new Angle(90 + Map.LOADING_STATION_ANGLE / 2);\n break;\n case 2:\n this.stationX = 70;\n this.stationY = 60;\n this.angle = new Angle(90 + Map.LOADING_STATION_ANGLE / 2);\n break;\n case 3:\n break;\n case 4:\n break;\n }\n }", "public int getStationID() {\n\t\treturn stationID;\n\t}", "public void setStationTableName(String value) {\n stationTableName = value;\n }", "public void setWHStationNumber(String arg, String compcode) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.WHSTATIONNUMBER.toString(), arg, compcode);\n\t}", "@Override\n public void onChanged(@Nullable Station newStation) {\n if (mThisStation != null && newStation!= null &&\n mThisStation.getStreamUri().equals(newStation.getStreamUri())) {\n\n String newName = newStation.getStationName();\n long newImageSize = newStation.getStationImageSize();\n String newMetaData = newStation.getMetadata();\n\n String oldName = mThisStation.getStationName();\n long oldImageSize = mThisStation.getStationImageSize();\n String oldMetaData = mThisStation.getMetadata();\n\n // CASE: NAME\n if (!(newName.equals(oldName))) {\n updateStationNameView(newStation);\n }\n // CASE: IMAGE\n else if (newImageSize != oldImageSize) {\n updateStationImageView(newStation);\n }\n // CASE: METADATA\n else if (!(newMetaData.equals(oldMetaData))) {\n updateStationMetadataView(newStation);\n }\n // CASE: PLAYBACK STATE\n if (mPlaybackState != newStation.getPlaybackState()) {\n mPlaybackState = newStation.getPlaybackState();\n changeVisualState(newStation);\n }\n\n // update this station\n mThisStation = newStation;\n\n }\n }", "public int getStation_ID() {\n\t\treturn station_ID;\n\t}", "public Station(String location) {\n this.stationID = counter++;\n this.location = location;\n this.bikes = new ArrayList<>();\n }", "void xsetStaEnd(org.landxml.schema.landXML11.Station staEnd);", "public int getStationIdx() {\n return stationIdx;\n }", "public Object getStationId() {\n\t\treturn null;\n\t}", "public String getStationld() {\n return stationld;\n }", "void unsetStation();", "boolean isSetStation();", "public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }", "private NamedStationTable setStations() {\n NamedStationTable stationTable;\n if (stationTableName == null) {\n stationTable =\n getControlContext().getResourceManager().findLocations(\n \"NEXRAD Sites\");\n } else {\n stationTable =\n getControlContext().getResourceManager().findLocations(\n stationTableName);\n }\n\n if (stationTable == null) {\n stationList = new ArrayList();\n } else {\n stationList = new ArrayList(\n Misc.sort(new ArrayList(stationTable.values())));\n }\n if (stationCbx != null) {\n setStations(stationList, stationCbx);\n stationCbx.setSelectedIndex(stationIdx);\n }\n return stationTable;\n }", "void setStaStart(double staStart);", "public void setInternetRadioStationName(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), INTERNETRADIOSTATIONNAME, value);\r\n\t}", "public static void putStation(String key, JSONArray entry){\n\t\tJSON.put(radioStationsMap, key, entry);\n\t}", "void saveCurrentStation();", "public void setValue( ArticulationParameter parameter )\n\t{\n\t\tthis.station.setEnum( StationEnum32.valueOf(parameter.getAttachedPartStationId()) );\n\t\tthis.storeType.setLongValue( Double.doubleToLongBits(parameter.getAttachedPartParameterValue()) );\n\t}", "public boolean hasStation(String station) {\n if(this.station.equals(station)) {\n return true;\n } else {\n return false;\n }\n }", "public int getStartStation() {\n\t\treturn startStation;\n\t}", "public Station(Point point) {\n super(point, j2a.Factory.Color.getCYAN());\n }", "public void setSeat( Seat seat )\r\n\t{\r\n\t\tthis.seat = seat;\r\n\t}", "org.landxml.schema.landXML11.Station xgetStation();", "@Override\r\n\t\tpublic void writeAttribute(Element melement,Measurement m) {\n\t\t\tmelement.setAttribute(\"BoardingStop\", m.getAttribute(Measurement.transitBoardingStopAtrributeName).toString());\r\n\t\t\tmelement.setAttribute(\"AlightingStop\", m.getAttribute(Measurement.transitAlightingStopAttributeName).toString());\r\n\t\t\tmelement.setAttribute(\"Mode\", m.getAttribute(Measurement.transitModeAttributeName).toString());\r\n\t\t\t\r\n\t\t\tif(!m.getAttribute(Measurement.transitModeAttributeName).toString().equals(\"train\")) {\r\n\t\t\t\tmelement.setAttribute(\"LineId\", m.getAttribute(Measurement.transitLineAttributeName).toString());\r\n\t\t\t\tmelement.setAttribute(\"RouteId\", m.getAttribute(Measurement.transitRouteAttributeName).toString());\r\n\t\t\t}\r\n\t\t}", "private Observer<Station> createStationObserver() {\n return new Observer<Station>() {\n @Override\n public void onChanged(@Nullable Station newStation) {\n\n // check if this station parameters have changed\n if (mThisStation != null && newStation!= null &&\n mThisStation.getStreamUri().equals(newStation.getStreamUri())) {\n\n String newName = newStation.getStationName();\n long newImageSize = newStation.getStationImageSize();\n String newMetaData = newStation.getMetadata();\n\n String oldName = mThisStation.getStationName();\n long oldImageSize = mThisStation.getStationImageSize();\n String oldMetaData = mThisStation.getMetadata();\n\n // CASE: NAME\n if (!(newName.equals(oldName))) {\n updateStationNameView(newStation);\n }\n // CASE: IMAGE\n else if (newImageSize != oldImageSize) {\n updateStationImageView(newStation);\n }\n // CASE: METADATA\n else if (!(newMetaData.equals(oldMetaData))) {\n updateStationMetadataView(newStation);\n }\n // CASE: PLAYBACK STATE\n if (mPlaybackState != newStation.getPlaybackState()) {\n mPlaybackState = newStation.getPlaybackState();\n changeVisualState(newStation);\n }\n\n // update this station\n mThisStation = newStation;\n\n }\n }\n };\n }", "public FieldStation(String id, String name){\n this.id = id;\n this.name = name;\n \n //Initialises the SetOfSensors sensors.\n sensors = new SetOfSensors();\n }", "public void copy(Station a)\n\t{\n\t\tthis.latitude=a.latitude;\n\t\tthis.longitude=a.longitude;\n\t\tthis.name=a.name;\n\t\tthis.temp1=a.temp1;\n\t\tthis.temp2=a.temp2;\n\t\tthis.temp3=a.temp3;\n\t\tthis.rain1=a.rain1;\n\t\tthis.rain2=a.rain2;\n\t\tthis.rain3=a.rain3;\n\t\tthis.raint=a.raint;\n\t}", "@Override\r\n\t\tpublic void parseAttribute(Attributes atr,Measurement m) {\n\t\t\tm.setAttribute(Measurement.transitBoardingStopAtrributeName, atr.getValue(\"BoardingStop\"));\r\n\t\t\tm.setAttribute(Measurement.transitAlightingStopAttributeName, atr.getValue(\"AlightingStop\"));\r\n\t\t\tm.setAttribute(Measurement.transitModeAttributeName, atr.getValue(\"Mode\"));\r\n\t\t\tif(!atr.getValue(\"Mode\").equals(\"train\")) {\r\n\t\t\t\tm.setAttribute(Measurement.transitLineAttributeName, atr.getValue(\"LineId\"));\r\n\t\t\t\tm.setAttribute(Measurement.transitRouteAttributeName, atr.getValue(\"RouteId\"));\r\n\t\t\t}\r\n\t\t}", "public Station(String name, float latitude, float longitude) { //Data is passed to this constructor via forms and a route.\n this.name = name;\n this.latitude = latitude;\n this.longitude = longitude;\n }", "void setStreet(String street);", "public String getStationId() {\n return location.getStationId();\n }", "public void setSatelliteDistance(int distance) {\n this.satelliteDistance = distance;\n resetItems();\n }", "public WeatherStation(String city, ArrayList<ie.nuig.stattion.Measurement> Measurement) \n\t{\n\t\tthis.city = city;\n\t\tthis.Measurement = Measurement;\n\t\tstations.add(this);// Every time you make new weather station it will get added to this list\n\t}", "void loadStation() {\n\n // only do this if the station does not exist\n if (!stationExists) {\n\n station.setStatusCode(35); // open & unknown\n if (!\"\".equals(passkey)) { // ub02\n station.setPasskey(passkey); // ub02\n } // if (!\"\".equals(passkey)) // ub02\n\n if (dbg3) System.out.println(\"<br>loadStation: put station = \" + station);\n if (dbg4) System.out.println(\"<br>loadStation: put station = \" + station);\n try {\n station.put();\n } catch(Exception e) {\n System.err.println(\"loadStation: put station = \" + station);\n System.err.println(\"loadStation: put sql = \" + station.getInsStr());\n e.printStackTrace();\n } // try-catch\n if (dbg3) System.out.println(\"loadStation: sql = \" + station.getInsStr());\n\n //stationCount++;\n\n if (!\"\".equals(sfriGrid.getGridNo(\"\"))) {\n try {\n sfriGrid.put();\n } catch(Exception e) {\n System.err.println(\"loadStation: put sfriGrid = \" + sfriGrid);\n System.err.println(\"loadStation: put sql = \" + sfriGrid.getInsStr());\n e.printStackTrace();\n } // try-catch\n if (dbg3) System.out.println(\"<br>loadStation: put sfriGrid = \" + sfriGrid);\n } // if (!\"\".equals(sfriGrid.getGridNo(\"\")))\n\n weatherIsLoaded = false;\n\n } // if (!stationExists)\n\n }", "public void onStationSelected(AjaxBehaviorEvent event){\n SelectOneMenu som = (SelectOneMenu)event.getSource();\n selectedStation = (Stations)som.getValue();\n if(selectedStation==null){\n stationIdChanged = true;\n FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put(Constants.STATION_ID, new Long(-1));\n }else{\n if(!defaultStationId.equals(selectedStation.getStationId())){\n stationIdChanged = true;\n System.out.println(\"STATION ID CHANGED!\");\n }\n FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put(Constants.STATION_ID, selectedStation.getStationId());\n }\n }", "public void setInternetRadioStationName( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), INTERNETRADIOSTATIONNAME, value);\r\n\t}", "protected void sendDataToStation(int station, String data) {\n\t\thandler.sendStationData(station, data);\n\t}", "@Override\r\n\tpublic boolean update(Station obj) {\n\t\treturn false;\r\n\t}", "public TaxiStation(final int size) {\n this.carPark = createCarPark(size);\n }", "public void updateStationPositions() {\r\n \t\tObject key;\r\n \t\tObject[] cells = graph.getDescendants(graph.getRoots());\r\n \t\tfor (Object cell : cells) {\r\n \t\t\tif (cell instanceof JmtCell) {\r\n \t\t\t\tJmtCell jcell = (JmtCell) cell;\r\n \t\t\t\tkey = ((CellComponent) jcell.getUserObject()).getKey();\r\n \t\t\t\t// Sets cell coordinate into data structure\r\n \t\t\t\tmodel.setStationPosition(key, new JMTPoint(getCellCoordinates(jcell), !jcell.isLeftInputCell()));\r\n \t\t\t}\r\n \t\t}\r\n \t}", "private void updateStationViews() {\n // set name, image, metadata and url\n updateStationNameView(mThisStation);\n updateStationImageView(mThisStation);\n updateStationMetadataView(mThisStation);\n mStationDataSheetStreamUrl.setText(mThisStation.getStreamUri().toString());\n }", "private void updateStationImageView(Station station) {\n if (isAdded()) {\n Bitmap stationImage = createStationImage(station);\n if (stationImage != null) {\n mStationImageView.setImageBitmap(stationImage);\n }\n }\n }", "public MesoAbstract(MesoStation mesostation) {\r\n\t\tStID = mesostation.getStID();\r\n\t}", "double getStation();", "public void setLesStations(String n) {\n\t\tlesStations.removeAll(lesStations);\n\t\t\n\t\tfor(int i=0;i<laCarte.nbStations();i++){\n\t\t\tif (laCarte.getLaStation(i).getArrondissement().equals(n)){\n\t\t\t\tlesStations.add(laCarte.getLaStation(i));\n\t\t\t}\n\t\t}\n\t}", "@PathParam(\"stand\")\n public void setStand(@NotNull(message = \"stand name can't be NULL\")\n final String stnd) {\n this.stand = stnd;\n }", "public String getName(){\r\n return this.station.getName();\r\n }", "public SensorStation(){\n\n }", "public String getStationName(){\r\n return name;\r\n }", "private boolean isAtStation(){\n\n if (this.selectedTrain.getGPS().getCurrBlock().getStationName() != null){return true; }\n else { return false; }\n }", "protected void init( S station, String id, CLocation location, CommonDockable dockable ){\n \tif( station == null )\n \t\tthrow new IllegalArgumentException( \"station must not be null\" );\n \t\n \tif( id == null )\n \t\tthrow new IllegalArgumentException( \"id must not be null\" );\n \t\n \tif( location == null )\n \t\tthrow new IllegalArgumentException( \"location must not be null\" );\n \t\n \tsuper.init( dockable );\n \t\n this.station = station;\n this.id = id;\n this.location = location;\t\n }", "@Override\r\n\t\tpublic void parseAttribute(Attributes atr,Measurement m) {\n\t\t\tm.setAttribute(Measurement.transitLineAttributeName, Id.create(atr.getValue(\"LineId\"),TransitLine.class));\r\n\t\t\tm.setAttribute(Measurement.transitRouteAttributeName, Id.create(atr.getValue(\"RouteId\"),TransitRoute.class));\r\n\t\t\tm.setAttribute(Measurement.transitBoardingStopAtrributeName, atr.getValue(\"BoardingStop\"));\r\n\t\t}", "public void setSat(float sat) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 4, sat);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 4, sat);\n\t\t}\n\t}", "public void setORM_Stalstal(orm.Stal value) {\r\n\t\tthis.stalstal = value;\r\n\t}", "public Builder setSsid(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n ssid_ = value;\n onChanged();\n return this;\n }", "public void setSeat(String seat) {\n\t\t\tthis.seat = seat;\n\t\t}", "public String getStationTitle() {\r\n return stationTitle;\r\n }", "public Builder connect(Station station1, Station station2) {\n stationSet[representative(station1.id())] = stationSet[representative(station2.id())];\n return this;\n }", "public Station station1() {\n return station1;\n }", "@Override\n\tpublic int addStation(Station stationDTO) {\n\t\tcom.svecw.obtr.domain.Station stationDomain = new com.svecw.obtr.domain.Station();\n\t\tstationDomain.setStationName(stationDTO.getStationName());\n\t\tstationDomain.setCityId(stationDTO.getCityId());\n\t\treturn iStationDAO.addStation(stationDomain);\n\t}", "@ApiModelProperty(required = true, value = \"Location of the charging station\")\n public LocationDTO getStationLocation() {\n return stationLocation;\n }", "public void setUnit (jkt.hms.masters.business.MasStoreAirForceDepot unit) {\n\t\tthis.unit = unit;\n\t}", "void updateStation() {\n\n // only do this if the station did not exist ????\n if ((!stationExists || stationUpdated)\n && !\"\".equals(station.getStationId(\"\")) &&\n station.getMaxSpldep()!= Tables.FLOATNULL) { // for sediments\n\n MrnStation updStation = new MrnStation();\n updStation.setMaxSpldep(station.getMaxSpldep());\n\n MrnStation whereStation =\n new MrnStation(station.getStationId());\n\n try {\n whereStation.upd(updStation);\n } catch(Exception e) {\n System.err.println(\"updateStation: upd whereStation = \" + whereStation);\n System.err.println(\"updateStation: upd updStation = \" + updStation);\n System.err.println(\"updateStation: upd sql = \" + whereStation.getUpdStr());\n e.printStackTrace();\n } // try-catch\n if (dbg3) System.out.println(\"<br>updateStation: upd whereStation = \" + whereStation);\n if (dbg3) System.out.println(\"<br>updateStation: upd updStation = \" + updStation);\n //if (dbg3) System.out.println(\"<br>updateStation: sql = \" + whereStation.getUpdStr());\n\n } // if (!stationExists)\n\n // commit this station's data - for stations with many depths\n common2.DbAccessC.commit(); //ub04\n\n }", "private void updateStationPositions() {\n //stations going east\n if(layout == Layout.square) {\n for (int i = 0; i < numStations; i++) {\n northbound.get(i).setPosition(i+1,2*numStations+1);\n eastbound.get(i).setPosition(0,numStations+(i+1));\n southbound.get(i).setPosition(numStations+1+i,0);\n westbound.get(i).setPosition(numStations*2+1,1+i);\n }\n }else{\n for (int i = 0; i < numStations; i++) {\n eastbound.get(i).setPosition(i,2*numStations+i);\n northbound.get(i).setPosition(numStations+i,3*numStations+i);\n southbound.get(i).setPosition(2*numStations+i,i);\n westbound.get(i).setPosition(3*numStations+i,numStations+i);\n }\n }\n\n }", "public void setWHStationNumber(String arg[]) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.WHSTATIONNUMBER.toString(), arg);\n\t}", "public String getStationNumber()\n\t{\n\t\treturn getValue(ASLocation.STATIONNUMBER).toString();\n\t}", "public StnInfoAPIParser(Element stnBase, StationInfo currentStation) {\r\n\t\t//Now for the more specialised ones\r\n\t\tElement station = stnBase.getChild(\"station\");\r\n\t\t\r\n\t\t//<station/>\r\n\t\tstation.setElementListener(StationListener);\r\n\t\tstation.getChild(\"name\").setEndTextElementListener(NameEndListener);\r\n\t\tstation.getChild(\"abbr\").setEndTextElementListener(AbbrEndListener);\r\n\t\tstation.getChild(\"gtfs_latitude\").setEndTextElementListener(LatEndListener);\r\n\t\tstation.getChild(\"gtfs_longitude\").setEndTextElementListener(LongEndListener);\r\n\t\t\r\n\t\tstation.getChild(\"address\").setEndTextElementListener(StreetListener);\r\n\t\tstation.getChild(\"city\").setEndTextElementListener(CityListener);\r\n\t\tstation.getChild(\"county\").setEndTextElementListener(CountyListener);\r\n\t\tstation.getChild(\"state\").setEndTextElementListener(StateListener);\r\n\t\tstation.getChild(\"zipcode\").setEndTextElementListener(ZipListener);\r\n\t\t\r\n\t\t//<station><north_routes/></station>\r\n\t\tElement nroutes = station.getChild(\"north_routes\");\r\n\t\tnroutes.setElementListener(NRoutesListener);\r\n\t\tnroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\t\t//<station><south_routes/></station>\r\n\t\tElement sroutes = station.getChild(\"south_routes\");\r\n\t\tsroutes.setElementListener(SRoutesListener);\r\n\t\tsroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\r\n\t\t//<station><north_platforms/></station>\r\n\t\tElement nplats = station.getChild(\"north_platforms\");\r\n\t\tnplats.setElementListener(NPlatsListener);\r\n\t\tnplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\t\t//<station><south_platforms/></station>\r\n\t\tElement splats = station.getChild(\"south_platforms\");\r\n\t\tsplats.setElementListener(SPlatsListener);\r\n\t\tsplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\r\n\t\tstation.getChild(\"platform_info\").setEndTextElementListener(PlatInfoListener);\r\n\t\t\r\n\t\t//Misc Info\r\n\t\tstation.getChild(\"intro\").setEndTextElementListener(IntroListener);\r\n\t\tstation.getChild(\"cross_street\").setEndTextElementListener(CrossStreetListener);\r\n\t\tstation.getChild(\"food\").setEndTextElementListener(FoodListener);\r\n\t\tstation.getChild(\"shopping\").setEndTextElementListener(ShoppingListener);\r\n\t\tstation.getChild(\"attraction\").setEndTextElementListener(AttractionListener);\r\n\t\tstation.getChild(\"link\").setEndTextElementListener(LinkListener);\r\n\t}", "@PUT\n\t@Path(\"{id}\")\n\tpublic Response putStation(@PathParam(\"id\") int id, Station update) throws SQLException, JsonProcessingException{\n\t\tConnection conn = establishConnection();\n\t\tMap<String,Object> stationMap = StationDataService.getStation(conn,id);\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tStation currentStation = mapper.convertValue(stationMap.get(0),Station.class);\n\t\tint response = StationDataService.updateStationEntry(conn, id, update);\n\t\tif(response == 0) return Response.status(Status.INTERNAL_SERVER_ERROR).entity(\"UPDATE statment failed.\").build();\n\t\telse return Response.ok().build();\n\t}" ]
[ "0.82427746", "0.7759571", "0.7651877", "0.7382851", "0.7280644", "0.7278273", "0.70748395", "0.7059499", "0.70103854", "0.6846989", "0.6710939", "0.6710939", "0.66543514", "0.6631525", "0.6578177", "0.64825195", "0.6434709", "0.64252424", "0.6381716", "0.6377738", "0.6334361", "0.63152146", "0.62771934", "0.6149079", "0.6070917", "0.6067511", "0.60499823", "0.60405725", "0.6020666", "0.5980753", "0.596055", "0.59557885", "0.5921053", "0.5890827", "0.5877001", "0.5866776", "0.5822513", "0.5814821", "0.57949", "0.5764833", "0.5725139", "0.5713237", "0.57059646", "0.5670291", "0.5660104", "0.5648533", "0.5576842", "0.55521107", "0.5531068", "0.55050194", "0.5502842", "0.5495054", "0.5485521", "0.5483177", "0.54363513", "0.5433315", "0.54320645", "0.54172057", "0.54141784", "0.54035634", "0.5395597", "0.5393367", "0.53761184", "0.5367502", "0.53669065", "0.53572965", "0.53560495", "0.53547686", "0.5346482", "0.534446", "0.5342752", "0.5337605", "0.5336856", "0.5317079", "0.5314428", "0.52909535", "0.52701414", "0.5266298", "0.52649975", "0.5264249", "0.5261289", "0.5255931", "0.5254575", "0.52432233", "0.5242942", "0.52398896", "0.52364343", "0.5235676", "0.5222652", "0.5219935", "0.5217249", "0.5208851", "0.52047557", "0.5193188", "0.51898175", "0.51835984", "0.5181092", "0.5177977", "0.51677597", "0.51671886" ]
0.79424316
1
Sets (as xml) the "station" attribute
void xsetStation(org.landxml.schema.landXML11.Station station);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStation(String station) {\n \tthis.station = station;\n }", "public void setFromStation(String fromStation);", "void setStation(double station);", "public void setToStation(String toStation);", "void setStation(String stationType, double band);", "public void setFromStationName(String fromStationName);", "void xsetStaStart(org.landxml.schema.landXML11.Station staStart);", "public void setStationName(org.apache.xmlbeans.XmlAnySimpleType stationName)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONNAME$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONNAME$12);\r\n }\r\n target.set(stationName);\r\n }\r\n }", "public void setStationIdx(int idx) {\n stationIdx = idx;\n }", "public void addStation(String station) {\n this.station = station;\n }", "public void setStationName(String name){\r\n this.name = name;\r\n }", "org.landxml.schema.landXML11.Station xgetStation();", "public void setStationNumber(String arg)\n\t{\n\t\tsetValue(STATIONNUMBER, arg);\n\t}", "public void setStationNumber(String arg)\n\t{\n\t\tsetValue(STATIONNUMBER, arg);\n\t}", "public String getStation() {\n return stationName;\n }", "public void setStationDescription(org.apache.xmlbeans.XmlAnySimpleType stationDescription)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONDESCRIPTION$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONDESCRIPTION$20);\r\n }\r\n target.set(stationDescription);\r\n }\r\n }", "public void setToStationName(String toStationName);", "public final void setStation(Station station, StationData data) {\n\n\t\tif (station != null) {\n\t\t\tthis.data = data;\n\t\t\t// labelStation.setText(station.getName());\n\t\t\tchartPanel.setTitle(station.getName());\n\t\t\t// labelState.setText(station.getState().getName());\n\t\t}\n\n\t\tupdateChart();\n\t}", "public void setInitStationLocation(String l) {\n initStationLocation = l;\n }", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "void xsetStaEnd(org.landxml.schema.landXML11.Station staEnd);", "@Override\r\n\t\tpublic void writeAttribute(Element melement,Measurement m) {\n\t\t\tmelement.setAttribute(\"BoardingStop\", m.getAttribute(Measurement.transitBoardingStopAtrributeName).toString());\r\n\t\t\tmelement.setAttribute(\"AlightingStop\", m.getAttribute(Measurement.transitAlightingStopAttributeName).toString());\r\n\t\t\tmelement.setAttribute(\"Mode\", m.getAttribute(Measurement.transitModeAttributeName).toString());\r\n\t\t\t\r\n\t\t\tif(!m.getAttribute(Measurement.transitModeAttributeName).toString().equals(\"train\")) {\r\n\t\t\t\tmelement.setAttribute(\"LineId\", m.getAttribute(Measurement.transitLineAttributeName).toString());\r\n\t\t\t\tmelement.setAttribute(\"RouteId\", m.getAttribute(Measurement.transitRouteAttributeName).toString());\r\n\t\t\t}\r\n\t\t}", "public void setSatellite( Satellite sat ) {\r\n /*========================================================================*/ \r\n this.sat = sat;\r\n }", "public void setStations(LinkedList<Station> stations) {\n this.stations = stations;\n }", "public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }", "@Override\r\n\t\tpublic void writeAttribute(Element melement,Measurement m) {\n\t\t\tmelement.setAttribute(\"LineId\", m.getAttribute(Measurement.transitLineAttributeName).toString());\r\n\t\t\tmelement.setAttribute(\"RouteId\", m.getAttribute(Measurement.transitRouteAttributeName).toString());\r\n\t\t\tmelement.setAttribute(\"BoardingStop\", m.getAttribute(Measurement.transitBoardingStopAtrributeName).toString());\r\n\t\t}", "public TrainSet withStation(Station value)\n {\n for (Train obj : this)\n {\n obj.withStation(value);\n }\n \n return this;\n }", "public void setWHStationNumber(String arg) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.WHSTATIONNUMBER.toString(), arg);\n\t}", "public String getStationld() {\n return stationld;\n }", "public void placePowerStation() {\n this.powerStation = true;\n\n }", "public StnInfoAPIParser(Element stnBase, StationInfo currentStation) {\r\n\t\t//Now for the more specialised ones\r\n\t\tElement station = stnBase.getChild(\"station\");\r\n\t\t\r\n\t\t//<station/>\r\n\t\tstation.setElementListener(StationListener);\r\n\t\tstation.getChild(\"name\").setEndTextElementListener(NameEndListener);\r\n\t\tstation.getChild(\"abbr\").setEndTextElementListener(AbbrEndListener);\r\n\t\tstation.getChild(\"gtfs_latitude\").setEndTextElementListener(LatEndListener);\r\n\t\tstation.getChild(\"gtfs_longitude\").setEndTextElementListener(LongEndListener);\r\n\t\t\r\n\t\tstation.getChild(\"address\").setEndTextElementListener(StreetListener);\r\n\t\tstation.getChild(\"city\").setEndTextElementListener(CityListener);\r\n\t\tstation.getChild(\"county\").setEndTextElementListener(CountyListener);\r\n\t\tstation.getChild(\"state\").setEndTextElementListener(StateListener);\r\n\t\tstation.getChild(\"zipcode\").setEndTextElementListener(ZipListener);\r\n\t\t\r\n\t\t//<station><north_routes/></station>\r\n\t\tElement nroutes = station.getChild(\"north_routes\");\r\n\t\tnroutes.setElementListener(NRoutesListener);\r\n\t\tnroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\t\t//<station><south_routes/></station>\r\n\t\tElement sroutes = station.getChild(\"south_routes\");\r\n\t\tsroutes.setElementListener(SRoutesListener);\r\n\t\tsroutes.getChild(\"route\").setEndTextElementListener(RouteListener);\r\n\r\n\t\t//<station><north_platforms/></station>\r\n\t\tElement nplats = station.getChild(\"north_platforms\");\r\n\t\tnplats.setElementListener(NPlatsListener);\r\n\t\tnplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\t\t//<station><south_platforms/></station>\r\n\t\tElement splats = station.getChild(\"south_platforms\");\r\n\t\tsplats.setElementListener(SPlatsListener);\r\n\t\tsplats.getChild(\"platform\").setEndTextElementListener(PlatformListener);\r\n\r\n\t\tstation.getChild(\"platform_info\").setEndTextElementListener(PlatInfoListener);\r\n\t\t\r\n\t\t//Misc Info\r\n\t\tstation.getChild(\"intro\").setEndTextElementListener(IntroListener);\r\n\t\tstation.getChild(\"cross_street\").setEndTextElementListener(CrossStreetListener);\r\n\t\tstation.getChild(\"food\").setEndTextElementListener(FoodListener);\r\n\t\tstation.getChild(\"shopping\").setEndTextElementListener(ShoppingListener);\r\n\t\tstation.getChild(\"attraction\").setEndTextElementListener(AttractionListener);\r\n\t\tstation.getChild(\"link\").setEndTextElementListener(LinkListener);\r\n\t}", "public void setChannel(int station) {\r\n\t\tchannel = station;\r\n\t}", "public L04Station(String name) {\r\n if (findByName(name)==null) {\r\n setName(name);\r\n stationList.add(this);\r\n }\r\n }", "public Object getStationId() {\n\t\treturn null;\n\t}", "void setEndStation(TTC endStation) {\n this.endStation = endStation;\n }", "public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }", "public int getStationID() {\n\t\treturn stationID;\n\t}", "public void setWHStationNumber(String arg, String compcode) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.WHSTATIONNUMBER.toString(), arg, compcode);\n\t}", "private void setupStationEndPoint(int stationNumber) {\n switch (stationNumber) {\n case 1:\n this.stationX = 60;\n this.stationY = 60;\n this.angle = new Angle(90 + Map.LOADING_STATION_ANGLE / 2);\n break;\n case 2:\n this.stationX = 70;\n this.stationY = 60;\n this.angle = new Angle(90 + Map.LOADING_STATION_ANGLE / 2);\n break;\n case 3:\n break;\n case 4:\n break;\n }\n }", "public void buildStation(Station station) {\n stations.add(station);\n }", "public void setInternetRadioStationName(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), INTERNETRADIOSTATIONNAME, value);\r\n\t}", "public int getStation_ID() {\n\t\treturn station_ID;\n\t}", "void saveCurrentStation();", "@Override\r\n\t\tpublic void parseAttribute(Attributes atr,Measurement m) {\n\t\t\tm.setAttribute(Measurement.transitBoardingStopAtrributeName, atr.getValue(\"BoardingStop\"));\r\n\t\t\tm.setAttribute(Measurement.transitAlightingStopAttributeName, atr.getValue(\"AlightingStop\"));\r\n\t\t\tm.setAttribute(Measurement.transitModeAttributeName, atr.getValue(\"Mode\"));\r\n\t\t\tif(!atr.getValue(\"Mode\").equals(\"train\")) {\r\n\t\t\t\tm.setAttribute(Measurement.transitLineAttributeName, atr.getValue(\"LineId\"));\r\n\t\t\t\tm.setAttribute(Measurement.transitRouteAttributeName, atr.getValue(\"RouteId\"));\r\n\t\t\t}\r\n\t\t}", "public void setInternetRadioStationName( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), INTERNETRADIOSTATIONNAME, value);\r\n\t}", "private NamedStationTable setStations() {\n NamedStationTable stationTable;\n if (stationTableName == null) {\n stationTable =\n getControlContext().getResourceManager().findLocations(\n \"NEXRAD Sites\");\n } else {\n stationTable =\n getControlContext().getResourceManager().findLocations(\n stationTableName);\n }\n\n if (stationTable == null) {\n stationList = new ArrayList();\n } else {\n stationList = new ArrayList(\n Misc.sort(new ArrayList(stationTable.values())));\n }\n if (stationCbx != null) {\n setStations(stationList, stationCbx);\n stationCbx.setSelectedIndex(stationIdx);\n }\n return stationTable;\n }", "public String getStationName(){\r\n return name;\r\n }", "public String getName(){\r\n return this.station.getName();\r\n }", "@Override\r\n\t\tpublic void parseAttribute(Attributes atr,Measurement m) {\n\t\t\tm.setAttribute(Measurement.transitLineAttributeName, Id.create(atr.getValue(\"LineId\"),TransitLine.class));\r\n\t\t\tm.setAttribute(Measurement.transitRouteAttributeName, Id.create(atr.getValue(\"RouteId\"),TransitRoute.class));\r\n\t\t\tm.setAttribute(Measurement.transitBoardingStopAtrributeName, atr.getValue(\"BoardingStop\"));\r\n\t\t}", "boolean isSetStation();", "public int getStartStation() {\n\t\treturn startStation;\n\t}", "public int getStationIdx() {\n return stationIdx;\n }", "@Override\n public void onChanged(@Nullable Station newStation) {\n if (mThisStation != null && newStation!= null &&\n mThisStation.getStreamUri().equals(newStation.getStreamUri())) {\n\n String newName = newStation.getStationName();\n long newImageSize = newStation.getStationImageSize();\n String newMetaData = newStation.getMetadata();\n\n String oldName = mThisStation.getStationName();\n long oldImageSize = mThisStation.getStationImageSize();\n String oldMetaData = mThisStation.getMetadata();\n\n // CASE: NAME\n if (!(newName.equals(oldName))) {\n updateStationNameView(newStation);\n }\n // CASE: IMAGE\n else if (newImageSize != oldImageSize) {\n updateStationImageView(newStation);\n }\n // CASE: METADATA\n else if (!(newMetaData.equals(oldMetaData))) {\n updateStationMetadataView(newStation);\n }\n // CASE: PLAYBACK STATE\n if (mPlaybackState != newStation.getPlaybackState()) {\n mPlaybackState = newStation.getPlaybackState();\n changeVisualState(newStation);\n }\n\n // update this station\n mThisStation = newStation;\n\n }\n }", "public void setStationTableName(String value) {\n stationTableName = value;\n }", "public String getStationId() {\n return location.getStationId();\n }", "public void setStationCodeTable(IStationCodeTable stationCodeTable);", "public String getStationTitle() {\r\n return stationTitle;\r\n }", "public String getFromStation();", "private void updateStationViews() {\n // set name, image, metadata and url\n updateStationNameView(mThisStation);\n updateStationImageView(mThisStation);\n updateStationMetadataView(mThisStation);\n mStationDataSheetStreamUrl.setText(mThisStation.getStreamUri().toString());\n }", "public void setValue( ArticulationParameter parameter )\n\t{\n\t\tthis.station.setEnum( StationEnum32.valueOf(parameter.getAttachedPartStationId()) );\n\t\tthis.storeType.setLongValue( Double.doubleToLongBits(parameter.getAttachedPartParameterValue()) );\n\t}", "@PathParam(\"stand\")\n public void setStand(@NotNull(message = \"stand name can't be NULL\")\n final String stnd) {\n this.stand = stnd;\n }", "public Station(String location) {\n this.stationID = counter++;\n this.location = location;\n this.bikes = new ArrayList<>();\n }", "void setStaStart(double staStart);", "public String getToStation();", "void setStreet(String street);", "public org.apache.xmlbeans.XmlAnySimpleType addNewStationName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONNAME$12);\r\n return target;\r\n }\r\n }", "public static void setInternetRadioStationName( Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(model, instanceResource, INTERNETRADIOSTATIONNAME, value);\r\n\t}", "void unsetStation();", "private Observer<Station> createStationObserver() {\n return new Observer<Station>() {\n @Override\n public void onChanged(@Nullable Station newStation) {\n\n // check if this station parameters have changed\n if (mThisStation != null && newStation!= null &&\n mThisStation.getStreamUri().equals(newStation.getStreamUri())) {\n\n String newName = newStation.getStationName();\n long newImageSize = newStation.getStationImageSize();\n String newMetaData = newStation.getMetadata();\n\n String oldName = mThisStation.getStationName();\n long oldImageSize = mThisStation.getStationImageSize();\n String oldMetaData = mThisStation.getMetadata();\n\n // CASE: NAME\n if (!(newName.equals(oldName))) {\n updateStationNameView(newStation);\n }\n // CASE: IMAGE\n else if (newImageSize != oldImageSize) {\n updateStationImageView(newStation);\n }\n // CASE: METADATA\n else if (!(newMetaData.equals(oldMetaData))) {\n updateStationMetadataView(newStation);\n }\n // CASE: PLAYBACK STATE\n if (mPlaybackState != newStation.getPlaybackState()) {\n mPlaybackState = newStation.getPlaybackState();\n changeVisualState(newStation);\n }\n\n // update this station\n mThisStation = newStation;\n\n }\n }\n };\n }", "public String getStationNumber()\n\t{\n\t\treturn getValue(ASLocation.STATIONNUMBER).toString();\n\t}", "public void setLesStations(String n) {\n\t\tlesStations.removeAll(lesStations);\n\t\t\n\t\tfor(int i=0;i<laCarte.nbStations();i++){\n\t\t\tif (laCarte.getLaStation(i).getArrondissement().equals(n)){\n\t\t\t\tlesStations.add(laCarte.getLaStation(i));\n\t\t\t}\n\t\t}\n\t}", "@ApiModelProperty(required = true, value = \"Location of the charging station\")\n public LocationDTO getStationLocation() {\n return stationLocation;\n }", "@Override\n\t\tprotected void setAttributeValue(String value) {\n\t\t\ttry {\n\t\t\t\tchanging = true;\n\t\t\t\telement.setAttributeNS(namespaceURI, localName, value);\n\t\t\t} finally {\n\t\t\t\tchanging = false;\n\t\t\t}\n\t\t}", "public Station station1() {\n return station1;\n }", "public boolean hasStation(String station) {\n if(this.station.equals(station)) {\n return true;\n } else {\n return false;\n }\n }", "public Station(String name, float latitude, float longitude) { //Data is passed to this constructor via forms and a route.\n this.name = name;\n this.latitude = latitude;\n this.longitude = longitude;\n }", "public Builder setSsid(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n ssid_ = value;\n onChanged();\n return this;\n }", "public Station(Point point) {\n super(point, j2a.Factory.Color.getCYAN());\n }", "public WeatherStation(String city, ArrayList<ie.nuig.stattion.Measurement> Measurement) \n\t{\n\t\tthis.city = city;\n\t\tthis.Measurement = Measurement;\n\t\tstations.add(this);// Every time you make new weather station it will get added to this list\n\t}", "double getStation();", "public static void putStation(String key, JSONArray entry){\n\t\tJSON.put(radioStationsMap, key, entry);\n\t}", "public void updateStationPositions() {\r\n \t\tObject key;\r\n \t\tObject[] cells = graph.getDescendants(graph.getRoots());\r\n \t\tfor (Object cell : cells) {\r\n \t\t\tif (cell instanceof JmtCell) {\r\n \t\t\t\tJmtCell jcell = (JmtCell) cell;\r\n \t\t\t\tkey = ((CellComponent) jcell.getUserObject()).getKey();\r\n \t\t\t\t// Sets cell coordinate into data structure\r\n \t\t\t\tmodel.setStationPosition(key, new JMTPoint(getCellCoordinates(jcell), !jcell.isLeftInputCell()));\r\n \t\t\t}\r\n \t\t}\r\n \t}", "public String getStationNumber()\n\t{\n\t\treturn getValue(WareHouse.STATIONNUMBER).toString();\n\t}", "public static void setInternetRadioStationName(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.set(model, instanceResource, INTERNETRADIOSTATIONNAME, value);\r\n\t}", "@Override\r\n\t\tpublic void writeAttribute(Element melelement,Measurement m) {\n\t\t\t\r\n\t\t}", "@Override\r\n\t\tpublic void writeAttribute(Element melelement,Measurement m) {\n\t\t\t\r\n\t\t}", "public void setSatelliteDistance(int distance) {\n this.satelliteDistance = distance;\n resetItems();\n }", "public FieldStation(String id, String name){\n this.id = id;\n this.name = name;\n \n //Initialises the SetOfSensors sensors.\n sensors = new SetOfSensors();\n }", "void setRoadway(org.landxml.schema.landXML11.RoadwayDocument.Roadway roadway);", "@Override\r\n\t\tpublic void writeAttribute(Element melelement,Measurement m) {\n\t\t}", "private void updateStationImageView(Station station) {\n if (isAdded()) {\n Bitmap stationImage = createStationImage(station);\n if (stationImage != null) {\n mStationImageView.setImageBitmap(stationImage);\n }\n }\n }", "protected void init( S station, String id, CLocation location, CommonDockable dockable ){\n \tif( station == null )\n \t\tthrow new IllegalArgumentException( \"station must not be null\" );\n \t\n \tif( id == null )\n \t\tthrow new IllegalArgumentException( \"id must not be null\" );\n \t\n \tif( location == null )\n \t\tthrow new IllegalArgumentException( \"location must not be null\" );\n \t\n \tsuper.init( dockable );\n \t\n this.station = station;\n this.id = id;\n this.location = location;\t\n }", "public void setAttribute12(String value)\n {\n setAttributeInternal(ATTRIBUTE12, value);\n }", "public void set_loc(String locaton)\n {\n d_loc =locaton;\n }", "org.landxml.schema.landXML11.Station xgetStaStart();", "public void setGPSAntennaDetailsID(java.lang.String gpsAntennaDetailsID)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GPSANTENNADETAILSID$14);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(GPSANTENNADETAILSID$14);\r\n }\r\n target.setStringValue(gpsAntennaDetailsID);\r\n }\r\n }", "public void setAttrib(String name, String value);", "public void setAttributeDef (ServerAttribute.ServerAttributeDef attributeDef) {\n this.attributeDef = attributeDef;\n this.type = TYPE_ATTRIBUTE_DEF;\n this.id = attributeDef.getId();\n }", "public String getFromStationName();", "public void setSeat( Seat seat )\r\n\t{\r\n\t\tthis.seat = seat;\r\n\t}" ]
[ "0.7550983", "0.7264476", "0.717533", "0.6943594", "0.68648535", "0.6636123", "0.655534", "0.6532279", "0.6514265", "0.64780277", "0.6310617", "0.62594146", "0.62410885", "0.62410885", "0.6179623", "0.6177691", "0.61738163", "0.613203", "0.60318506", "0.60204375", "0.60034513", "0.600037", "0.5996382", "0.59366626", "0.5850457", "0.57950056", "0.57813483", "0.5678768", "0.567419", "0.5673882", "0.5664128", "0.5582601", "0.5574597", "0.5561082", "0.55551994", "0.5537967", "0.5525708", "0.5521407", "0.55095726", "0.5504947", "0.5494613", "0.5472794", "0.5462628", "0.54517436", "0.5449662", "0.5387759", "0.53664625", "0.53634924", "0.53603005", "0.5360159", "0.53334635", "0.53316724", "0.52979547", "0.5293686", "0.52868074", "0.5262826", "0.5241777", "0.52097124", "0.51908535", "0.5181153", "0.5170132", "0.5162914", "0.5162781", "0.51589584", "0.5156437", "0.51460624", "0.5145062", "0.5124965", "0.50835943", "0.5063998", "0.5061919", "0.50592333", "0.5052617", "0.50408053", "0.5036968", "0.5036664", "0.5029461", "0.50210285", "0.5004739", "0.4995269", "0.49764594", "0.4975182", "0.49706182", "0.49612603", "0.49471343", "0.49471343", "0.49407387", "0.49361464", "0.49282676", "0.49251962", "0.49197736", "0.49195722", "0.49176016", "0.4908238", "0.49061581", "0.48993465", "0.4898388", "0.4885759", "0.48795563", "0.4872482" ]
0.820562
0
Unsets the "station" attribute
void unsetStation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsaveCurrentStation();", "public void unsetStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(STATIONDESCRIPTION$20);\r\n }\r\n }", "public void remove(Station station)\n {\n world.removeActor(station.getId());\n\n for (int i = 0; i < stations.length; ++i)\n {\n if (station == stations[i])\n {\n stations[i] = null;\n break;\n }\n }\n }", "void xsetStation(org.landxml.schema.landXML11.Station station);", "public void setStation(String station) {\n \tthis.station = station;\n }", "void unsetRoadTerrain();", "void unsetState();", "public void unsetState()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(STATE$14);\r\n }\r\n }", "void unsetDSTSavings();", "public void setFromStation(String fromStation);", "public void unsetSeCell()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(SECELL$18, 0);\n }\n }", "protected void reset()\n {\n this.shapeDataCache.removeAllEntries();\n this.sector = null;\n }", "void unsetValue();", "void unsetValue();", "public void clearDetourStreet()\r\n {\r\n detour_streets = null;\r\n }", "public void unsetValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(VALUE$12);\n }\n }", "public void unsetSwCell()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(SWCELL$20, 0);\n }\n }", "public void resetState() {\n \ts = State.STRAIGHT;\n }", "@Override\n\t\tprotected void resetAttribute() {\n\t\t}", "void setStation(double station);", "public void unsetDataMsng()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DATAMSNG$18, 0);\n }\n }", "public void unsetObservedScanAnalysis() {\n this.observedScanAnalysis = null;\n }", "public Builder clearStamina() {\n \n stamina_ = 0;\n onChanged();\n return this;\n }", "void unsetSegmented();", "void resetStationStatistics() {\n\n if (dbg) System.out.println(\"<br>resetStationStatistics: \" +\n \"depthMin, depthMax = \" + depthMin + \" \" + depthMax);\n if (dbg) System.out.println(\"<br>resetStationStatistics: \" +\n \"sampleCount = \" + sampleCount);\n if (dbg) System.out.println(\"<br>resetStationStatistics: \" +\n \"stationSampleCount = \" + stationSampleCount);\n if (dbg) System.out.println(\"<br>resetStationStatistics: \" +\n \"sampleRejectCount = \" + sampleRejectCount);\n if (dbg) System.out.println(\"<br>resetStationStatistics: \" +\n \"stationSampleRejectCount = \" + stationSampleRejectCount);\n\n depthMin = 9999.99f;\n depthMax = -9999.99f;\n stationSampleCount = 0;\n stationSampleRejectCount = 0;\n prevDepth = 0f;\n\n }", "public void unsetRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(ROADWAYREF$16);\r\n }\r\n }", "public void unsetState()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(STATE$8, 0);\r\n }\r\n }", "public Builder clearIndividualStamina() {\n \n individualStamina_ = 0;\n onChanged();\n return this;\n }", "public void reset() {\n this.state = null;\n }", "public void unsetIntersectRoadwayPI()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(INTERSECTROADWAYPI$22);\r\n }\r\n }", "void unsetDirection();", "@Generated(hash = 74421150)\n public synchronized void resetForecast() {\n forecast = null;\n }", "public void unsetAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ADDRESS$2);\n }\n }", "public void removeAllInternetRadioStationName() {\r\n\t\tBase.removeAll(this.model, this.getResource(), INTERNETRADIOSTATIONNAME);\r\n\t}", "private void clear() {\r\n\t\tpstate.clear();\r\n\t\tdisplay.setLegend(\"\");\r\n\t\tship = null;\r\n\t}", "public void unsetIntersectingRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(INTERSECTINGROADWAYREF$20);\r\n }\r\n }", "public void unsetObservationDataLink()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(OBSERVATIONDATALINK$18);\r\n }\r\n }", "void unsetRegisteredOfficeCity();", "public void reset() {\r\n this.x = resetX;\r\n this.y = resetY;\r\n state = 0;\r\n }", "public void unsetRoadwayPI()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(ROADWAYPI$18);\r\n }\r\n }", "public void clear() {\n\t\tstate = null;\n\t}", "public void unsetFrame()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(FRAME$24);\n }\n }", "public void unAssignSeat(int seatId){\n seat[seatId-1].unAssign();\n numEmptySeat++;\n }", "public Builder clearSsid() {\n bitField0_ = (bitField0_ & ~0x00000020);\n ssid_ = getDefaultInstance().getSsid();\n onChanged();\n return this;\n }", "void unsetStraight();", "public void reset(){\n star.clear();\n planet.clear();\n }", "public void setStationIdx(int idx) {\n stationIdx = idx;\n }", "public void unset(){\n\t\tcurrentInst = -1;\n\t}", "void unsetCit();", "public void unsetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(STOPTIME$24);\r\n }\r\n }", "void unsetSchedule();", "public void setFromStationName(String fromStationName);", "void unset() {\n size = min = pref = max = UNSET;\n }", "public void unsetPatent()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(PATENT$16, 0);\r\n }\r\n }", "public void deconnect_station(Station s) throws Exception{\r\n\t\ts.remove_user(this);\r\n\t}", "public void reset()\n\t{\n\t\tthis.sourceUnit.setSelectedIndex(0);\n\t\tthis.destUnit.setSelectedIndex(0);\n\t\tthis.input.setText(\"\");\n\t\tthis.outputLabel.setText(\"\");\n\t}", "private void softReset() {\n // variables\n lapMap.clear();\n // ui\n sessionTView.setText(\"\");\n positionTView.setText(\"-\");\n currentLapTView.setText(\"--:--:---\");\n lastLapTView.setText(\"--:--:---\");\n bestLapTView.setText(\"--:--:---\");\n currentLapNumberTView.setText(\"-\");\n gapTView.setText(\" -.---\");\n fastestDriver = Float.MAX_VALUE;\n fastestDriverName = null;\n fastestDriverTView.setText(\"--:--:---\");\n fastestDriverNameTView.setText(\"Fastest lap\");\n Log.d(TAG, \"SOFT Reset: between game states\");\n }", "public void reset() {\n onoff.reset();\n itiefe.reset();\n itiefe.setEnabled(false);\n }", "public void reset () {\n if (!this.on) {\n return;\n }\n\n this.currentSensorValue = 0;\n }", "public void unReset () {\n count = lastSave;\n }", "public void unAssign(){\n\t\tthis.value = 0;\n\t}", "public void unsetMoveMode(CSGSolid solid)\r\n\t{\r\n\t\tmoveMode = false;\r\n\t\tthis.solid = solid;\r\n\t\tthis.solid2 = null;\r\n\t\tsolid.light();\r\n\t}", "public void unsetSldAll()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(SLDALL$6, 0);\n }\n }", "@Override\n\t\tprotected void resetAttribute(SVGItem item) {\n\t\t}", "public void reset() {\n\t\tx = 0;\n\t\ty = 0;\n\t\tdir = -90;\n\t\tcoul = 0;\n\t\tcrayon = true;\n\t\tlistSegments.clear();\n \t}", "public void unsetFromAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(FROMADDRESS$6, 0);\n }\n }", "public void reset() {\n gameStatus = null;\n userId = null;\n gameId = null;\n gameUpdated = false;\n selectedTile = null;\n moved = false;\n }", "public void resetState();", "public void reset() {\n\t\tvar.clear();\n\t\tname.clear();\n\t}", "public void setToStation(String toStation);", "@Override\n\t\tprotected void resetAttribute() {\n\t\t\tsuper.resetAttribute();\n\t\t\tmissing = false;\n\t\t\tmalformed = false;\n\t\t}", "public void setStationName(org.apache.xmlbeans.XmlAnySimpleType stationName)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlAnySimpleType target = null;\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(STATIONNAME$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(STATIONNAME$12);\r\n }\r\n target.set(stationName);\r\n }\r\n }", "void unsetWheel();", "public void resetAttributes()\r\n\t{\r\n\t\t// TODO Keep Attribute List upto date\r\n\t\tintelligence = 0;\r\n\t\tcunning = 0;\r\n\t\tstrength = 0;\r\n\t\tagility = 0;\r\n\t\tperception = 0;\r\n\t\thonor = 0;\r\n\t\tspeed = 0;\r\n\t\tloyalty = 0;\r\n\t}", "private void resetSense() {\r\n\t\tArrays.fill(this.senseBytes, (byte)0x00);\r\n\t\tthis.updateUnitStatus();\r\n\t}", "public void resetLocation()\r\n {\r\n locations.clear();\r\n }", "public void resetLastRoom(){this.aLastRooms.clear();}", "public void unsetSwissprot()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(SWISSPROT$14, 0);\r\n }\r\n }", "public void clearState(){\r\n\t\tinsideSemiringWeightsTable.clear();\r\n\t}", "public void unsetReset() {\n\t\twasReset=false;\n\t}", "public void unsetSldRg()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(SLDRG$8, 0);\n }\n }", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "void unsetValuePeriod();", "public void clearPathData()\r\n {\r\n // Clear out all paths\r\n for(String key: network_topology.keyset())\r\n {\r\n //System.out.println(\"Clearing : \"+ key);\r\n network_topology.get(key).previous=null;\r\n network_topology.get(key).minDistance = Double.POSITIVE_INFINITY;\r\n }\r\n }", "public void unsetPatient()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(PATIENT$2, 0);\n }\n }", "@Override\n public void resetTour(){\n tour=null;\n this.setChanged();\n this.notifyObservers();\n }", "public Builder clearSs() {\n \n ss_ = 0;\n onChanged();\n return this;\n }", "public void unsetSummary()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(SUMMARY$18);\n }\n }", "public void unsetWeatherImage()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(WEATHERIMAGE$2, 0);\n }\n }", "public void reset() {\r\n minX = null;\r\n maxX = null;\r\n minY = null;\r\n maxY = null;\r\n\r\n minIn = null;\r\n maxIn = null;\r\n\r\n inverted = false;\r\n }", "public void removeAllInternetRadioStationOwner() {\r\n\t\tBase.removeAll(this.model, this.getResource(), INTERNETRADIOSTATIONOWNER);\r\n\t}", "public void unsetLocal()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(LOCAL$0, 0);\r\n }\r\n }", "void unsetSOID();", "public void unsetGeneral()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(GENERAL$20, 0);\r\n }\r\n }", "protected void reset() {\n LocalDStruct ls = (LocalDStruct)input;\n ls.result = null;\n }", "public void unsetProtocol()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(PROTOCOL$0);\n }\n }", "public void setOff(){\n state = false;\n //System.out.println(\"El requerimiento esta siendo atendido!\");\n }", "public void reset() {\n setPrimaryDirection(-1);\n setSecondaryDirection(-1);\n flags.reset();\n setResetMovementQueue(false);\n setNeedsPlacement(false);\n }", "void setStation(String stationType, double band);", "public void unsetSource()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(SOURCE$30);\n }\n }" ]
[ "0.7369266", "0.70762515", "0.6336499", "0.6201975", "0.6145265", "0.6124161", "0.61017174", "0.6056837", "0.6030822", "0.59730995", "0.59394854", "0.5896029", "0.58945316", "0.58945316", "0.5869679", "0.5863804", "0.5825555", "0.5803646", "0.5774561", "0.57659703", "0.5752945", "0.574873", "0.5747408", "0.57458365", "0.5745603", "0.5745253", "0.5732136", "0.56957483", "0.5688272", "0.5674468", "0.56639624", "0.56532377", "0.56455", "0.5637856", "0.5628206", "0.56178695", "0.5610756", "0.5606244", "0.5602014", "0.56004936", "0.55998605", "0.5598449", "0.5597062", "0.5587111", "0.5585368", "0.5581714", "0.5580607", "0.55767846", "0.55738777", "0.5560669", "0.55605704", "0.5556412", "0.55533624", "0.5544943", "0.5525067", "0.55233485", "0.55213594", "0.5521093", "0.55209106", "0.55174404", "0.5502875", "0.549116", "0.54891455", "0.548086", "0.54800117", "0.5477064", "0.5473319", "0.546343", "0.5461979", "0.54562306", "0.5447556", "0.54462606", "0.5446122", "0.5433466", "0.5430194", "0.5427239", "0.5419048", "0.54154307", "0.5410231", "0.54024404", "0.5397564", "0.5397469", "0.5396187", "0.53955376", "0.53945845", "0.53899837", "0.53879964", "0.5377238", "0.53744954", "0.5368242", "0.5367138", "0.536375", "0.53601897", "0.53577125", "0.53505635", "0.53495204", "0.53461254", "0.5343951", "0.53418994", "0.53408647" ]
0.8378096
0
Gets the "signalPeriod" attribute
double getSignalPeriod();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.apache.xmlbeans.XmlDouble xgetSignalPeriod();", "public int getPeriod()\r\n\t{\r\n\t\treturn period;\r\n\t}", "public int getPeriod() {\n return period;\n }", "public double getPeriod() {\n return period;\n }", "public String getPeriod() {\n return period;\n }", "public int getTimePeriod() {\n return timePeriod;\n }", "public Long getPeriod() {\n return this.Period;\n }", "public String getPeriod() {\n return this.period;\n }", "double getPeriod();", "long getSamplePeriod();", "void setSignalPeriod(double signalPeriod);", "public int getTimePeriod()\n\t{\n\t\treturn timePeriod;\n\t}", "public long getSamplingPeriod();", "public Period getPeriod() {\n return period;\n }", "int getPeriod();", "BigInteger getPeriod();", "public TimePeriod getPeriod();", "public DateInterval getTimePeriod() {\n return this.timePeriod;\n }", "public DateInterval getTimePeriod() {\n return this.timePeriod;\n }", "public int getChannelPeriod() {\n return channelPeriod;\n }", "public Integer periodSeconds() {\n return this.periodSeconds;\n }", "public Number getPeriodNum() {\n return (Number) getAttributeInternal(PERIODNUM);\n }", "public double getSignal() {return _signal;}", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "@Updatable\n public Integer getPeriod() {\n return period;\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Number getPeriodId() {\n return (Number) getAttributeInternal(PERIODID);\n }", "public double period()\n\t{\n\t\tdouble n = meanMotion();\n\t\tdouble period = 2.0 * Constants.pi / n;\n\t\treturn period;\n\t}", "public int getConfiguredPeriod() {\n return configuredPeriod;\n }", "double getCalibrationPeriod();", "public AdjustmentPeriodTypeId getPeriod() {\n return this.period;\n }", "boolean isSetSignalPeriod();", "public double getSignal() {\r\n return signals.lastEntry().getValue();\r\n }", "public double getSignal(){\n\t\t\treturn SIGNAL; //a constant for olfactory\n\t\t}", "org.hl7.fhir.Period getValuePeriod();", "public long getPeriodId() {\n return periodId;\n }", "public Integer getPeriodId() {\n\t\treturn periodId;\n\t}", "@Override\n\tpublic java.lang.String getNoticePeriod() {\n\t\treturn _candidate.getNoticePeriod();\n\t}", "public final int getPulse() {\n\t\treturn this.getProc().getServer().getConsole().getPulse();\n\t}", "public Period onsetPeriod() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_ONSET_PERIOD);\n }", "public Integer getPVTgracePeriod() {\n return (Integer) getAttributeInternal(PVTGRACEPERIOD);\n }", "void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);", "public java.lang.String getChargePeriod() {\n\treturn chargePeriod;\n}", "public float getPeriodicRateChange() {\n return periodicRateChange;\n }", "Constant getCyclePeriodConstant();", "public long getMilliseconds()\n\t{\n\t\treturn unit.toMillis(period);\n\t}", "public com.google.protobuf.ByteString\n getSignalBytes() {\n java.lang.Object ref = signal_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n signal_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSignalBytes() {\n java.lang.Object ref = signal_;\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 signal_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n public int getSignal() {\n return signal & 0xFF;\n }", "public String getOpenPeriod() {\n return openPeriod;\n }", "public DR getBillingPeriod() { \r\n\t\tDR retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }", "void unsetSignalPeriod();", "public Integer getSampleRate() {\n return this.sampleRate;\n }", "public org.hl7.fhir.Period getPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.Period target = null;\n target = (org.hl7.fhir.Period)get_store().find_element_user(PERIOD$2, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public Number getPeriodicalId() {\n return (Number)getAttributeInternal(PERIODICALID);\n }", "com.google.protobuf.ByteString\n getSignalBytes();", "public java.lang.String getPeriodicidad() {\n return periodicidad;\n }", "@Override\n\tpublic long getTimePeriod() {\n\t\treturn 0;\n\t}", "public int freq()\n\t{\n\t\treturn _lsPeriod.get (0).freq();\n\t}", "@NotNull(message = \"empty.paymentPeriod\")\n public PaymentPeriod getPaymentPeriod() {\n\n return paymentPeriod;\n }", "public jigl.signal.Signal getSignal() {\n\t\treturn jsignal;\n\t}", "java.lang.String getSignal();", "public int getHowManyInPeriod();", "public double interval() {\n return interval;\n }", "public java.lang.Integer getPeriodo() {\n return periodo;\n }", "int getPulsePercentage();", "public void setPeriod(Long Period) {\n this.Period = Period;\n }", "public java.math.BigDecimal getQtyPeriod8() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod8\");\r\n \r\n }", "public int periodCount() {\n\t\treturn message.getPeriodCount();\n\t}", "public double getRotationalPeriod() {\n return rotationalPeriod;\n }", "public java.lang.String getSignal() {\n java.lang.Object ref = signal_;\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 signal_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public TimeInterval\n getTimeInterval()\n {\n return pTimeInterval;\n }", "public void setPeriod(int period) {\n this.period = period;\n }", "@ApiModelProperty(example = \"null\", value = \"The frequency with which to schedule the reporting task. The format of the value willd epend on the valud of the schedulingStrategy.\")\n public String getSchedulingPeriod() {\n return schedulingPeriod;\n }", "public int getSignalStrength() {\n return mSignalStrength;\n }", "public int getInterval() {\r\n return interval;\r\n }", "public java.lang.String getSignal() {\n java.lang.Object ref = signal_;\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 signal_ = s;\n }\n return s;\n }\n }", "float getBlackoutPeriod();", "public Integer getDefaultWakeupPeriod() {\n return wakeupDefaultPeriod;\n }", "public long period() throws TimeWindowException {\n return div();\n }", "public long getIntervalInMs() {\n return intervalInMs;\n }", "public java.math.BigDecimal getQtyPeriod1() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod1\");\r\n \r\n }", "public double basis()\n\t{\n\t\treturn _lsPeriod.get (0).basis();\n\t}", "public int getInterval() { return _interval; }", "public DR getPsl26_BillingPeriod() { \r\n\t\tDR retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }", "public void setChannelPeriod(int period){\n this.channelPeriod=period;\n }", "public String getPeriodicalType() {\n return (String)getAttributeInternal(PERIODICALTYPE);\n }", "public Period getDurationValue() {\n throw new OurBadException(\" Item '\" + this.serialize() + \"' is not a duration.\");\n }", "public String getXpePeriodType() {\n return (String) getAttributeInternal(XPEPERIODTYPE);\n }", "public java.util.List<org.drip.analytics.cashflow.CompositePeriod> cashFlowPeriod()\n\t{\n\t\treturn _lsPeriod;\n\t}", "public YangUInt32 getFileCreationPeriodValue() throws JNCException {\n return (YangUInt32)getValue(\"file-creation-period\");\n }", "public java.math.BigDecimal getQtyPeriod11() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod11\");\r\n \r\n }", "public Interval getInterval() { return interval; }", "public Integer getInterval() {\n\t\treturn interval;\n\t}", "public Rational getAudioSampleRate();", "public float getChirpFrequency() {\n return chirpFrequency;\n }", "Signal getSignal();" ]
[ "0.81279397", "0.7427438", "0.7396468", "0.73930883", "0.72743064", "0.7213091", "0.7188411", "0.7184781", "0.7098652", "0.7060738", "0.7031588", "0.70292753", "0.7006272", "0.70020336", "0.6935024", "0.6909783", "0.68588626", "0.67824566", "0.67824566", "0.67062855", "0.6704287", "0.6625714", "0.6592726", "0.65796244", "0.65796244", "0.65796244", "0.65796244", "0.65690416", "0.65676206", "0.65561336", "0.65533215", "0.65022886", "0.64235693", "0.63998365", "0.6389301", "0.63725895", "0.63487196", "0.62886965", "0.6282695", "0.6276658", "0.6269653", "0.6133685", "0.6068428", "0.6036252", "0.6024278", "0.5953452", "0.59409505", "0.5940734", "0.59383494", "0.5873587", "0.5872361", "0.5865555", "0.58581716", "0.58426285", "0.58309066", "0.582103", "0.5818586", "0.5809359", "0.58062094", "0.57849604", "0.57811064", "0.5779925", "0.5776882", "0.57482743", "0.574243", "0.5727784", "0.5700398", "0.56877774", "0.5684228", "0.5666854", "0.5662658", "0.56355786", "0.56281763", "0.5571234", "0.5570986", "0.55622137", "0.55600035", "0.5554305", "0.55540806", "0.5544088", "0.554205", "0.55389696", "0.55360943", "0.5519892", "0.5510101", "0.5508794", "0.5497807", "0.54927754", "0.5492227", "0.5475816", "0.5474617", "0.54717153", "0.54698926", "0.54667926", "0.54472274", "0.5442765", "0.54378986", "0.54304755", "0.54269356", "0.5423455" ]
0.8845842
0
Gets (as xml) the "signalPeriod" attribute
org.apache.xmlbeans.XmlDouble xgetSignalPeriod();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "double getSignalPeriod();", "public String getPeriod() {\n return period;\n }", "public int getPeriod()\r\n\t{\r\n\t\treturn period;\r\n\t}", "public String getPeriod() {\n return this.period;\n }", "public int getPeriod() {\n return period;\n }", "public double getPeriod() {\n return period;\n }", "void setSignalPeriod(double signalPeriod);", "double getPeriod();", "long getSamplePeriod();", "public int getTimePeriod() {\n return timePeriod;\n }", "void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);", "BigInteger getPeriod();", "public long getSamplingPeriod();", "int getPeriod();", "public Long getPeriod() {\n return this.Period;\n }", "public Period getPeriod() {\n return period;\n }", "public int getTimePeriod()\n\t{\n\t\treturn timePeriod;\n\t}", "public Number getPeriodNum() {\n return (Number) getAttributeInternal(PERIODNUM);\n }", "org.apache.xmlbeans.XmlString xgetDuration();", "public Number getPeriodId() {\n return (Number) getAttributeInternal(PERIODID);\n }", "public TimePeriod getPeriod();", "double getCalibrationPeriod();", "org.apache.xmlbeans.XmlInt xgetDuration();", "public int getChannelPeriod() {\n return channelPeriod;\n }", "public DateInterval getTimePeriod() {\n return this.timePeriod;\n }", "public DateInterval getTimePeriod() {\n return this.timePeriod;\n }", "public Integer periodSeconds() {\n return this.periodSeconds;\n }", "public int getConfiguredPeriod() {\n return configuredPeriod;\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "public Period period() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_PERIOD);\n }", "boolean isSetSignalPeriod();", "org.hl7.fhir.Period getValuePeriod();", "public double period()\n\t{\n\t\tdouble n = meanMotion();\n\t\tdouble period = 2.0 * Constants.pi / n;\n\t\treturn period;\n\t}", "org.apache.xmlbeans.XmlDuration xgetDuration();", "@Updatable\n public Integer getPeriod() {\n return period;\n }", "public double getSignal() {return _signal;}", "@Override\n\tpublic java.lang.String getNoticePeriod() {\n\t\treturn _candidate.getNoticePeriod();\n\t}", "public double getSignal(){\n\t\t\treturn SIGNAL; //a constant for olfactory\n\t\t}", "org.apache.xmlbeans.XmlInt xgetRecurrenceDuration();", "public AdjustmentPeriodTypeId getPeriod() {\n return this.period;\n }", "public Integer getPVTgracePeriod() {\n return (Integer) getAttributeInternal(PVTGRACEPERIOD);\n }", "public String getXpePeriodType() {\n return (String) getAttributeInternal(XPEPERIODTYPE);\n }", "public String getOpenPeriod() {\n return openPeriod;\n }", "public Integer getPeriodId() {\n\t\treturn periodId;\n\t}", "public long getPeriodId() {\n return periodId;\n }", "void unsetSignalPeriod();", "public long getMilliseconds()\n\t{\n\t\treturn unit.toMillis(period);\n\t}", "public Period onsetPeriod() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_ONSET_PERIOD);\n }", "public double getSignal() {\r\n return signals.lastEntry().getValue();\r\n }", "public java.lang.String getChargePeriod() {\n\treturn chargePeriod;\n}", "public java.math.BigDecimal getQtyPeriod8() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod8\");\r\n \r\n }", "java.lang.String getSignal();", "@Override\n\tpublic long getTimePeriod() {\n\t\treturn 0;\n\t}", "com.google.protobuf.ByteString\n getSignalBytes();", "public java.math.BigDecimal getQtyPeriod11() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod11\");\r\n \r\n }", "public com.google.protobuf.ByteString\n getSignalBytes() {\n java.lang.Object ref = signal_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n signal_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSignalBytes() {\n java.lang.Object ref = signal_;\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 signal_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Constant getCyclePeriodConstant();", "public YangUInt32 getFileCreationPeriodValue() throws JNCException {\n return (YangUInt32)getValue(\"file-creation-period\");\n }", "public Number getPeriodicalId() {\n return (Number)getAttributeInternal(PERIODICALID);\n }", "public String getPeriodicalType() {\n return (String)getAttributeInternal(PERIODICALTYPE);\n }", "@Override\n public String toString() {\n return \"Visitor{\" +\n \"period=\" + period +\n '}';\n }", "public java.lang.String getPeriodicidad() {\n return periodicidad;\n }", "public float getPeriodicRateChange() {\n return periodicRateChange;\n }", "public java.math.BigDecimal getQtyPeriod1() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod1\");\r\n \r\n }", "public int getHowManyInPeriod();", "public void setPeriod(int period) {\n this.period = period;\n }", "public java.math.BigDecimal getQtyPeriod7() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod7\");\r\n \r\n }", "private String getPollingRate(Document dom) {\n String pollingRateValue = null;\n \n //get the root element\n Element element = dom.getDocumentElement();\n \n //get a nodelist of elements\n \n NodeList nl = element.getElementsByTagName(\"pollingrate\");\n if(nl != null && nl.getLength() > 0) {\n for(int i = 0 ; i < nl.getLength();i++) {\n //get the list element\n Element pollingrate = (Element)nl.item(i);\n pollingRateValue = pollingrate.getTextContent();\n }\n }\n \n return pollingRateValue;\n }", "public Integer getDefaultWakeupPeriod() {\n return wakeupDefaultPeriod;\n }", "@Override\n public int getSignal() {\n return signal & 0xFF;\n }", "@ApiModelProperty(example = \"null\", value = \"The frequency with which to schedule the reporting task. The format of the value willd epend on the valud of the schedulingStrategy.\")\n public String getSchedulingPeriod() {\n return schedulingPeriod;\n }", "org.apache.xmlbeans.XmlString xgetSchedule();", "public Integer getSampleRate() {\n return this.sampleRate;\n }", "public String toString() {\r\n\t\tStringBuilder b = new StringBuilder();\r\n\t\tb.append(instrument.toString());\r\n\t\tb.append(\" ----- \");\r\n\t\tb.append(period.name());\r\n\t\tb.append(\" ----- \");\r\n\t\tb.append(new Timestamp(timeStart));\r\n\t\treturn b.toString();\r\n\t}", "public YangUInt32 getFileRetentionPeriodValue() throws JNCException {\n return (YangUInt32)getValue(\"file-retention-period\");\n }", "public double interval() {\n return interval;\n }", "public void setChannelPeriod(int period){\n this.channelPeriod=period;\n }", "public org.hl7.fhir.Period getPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.Period target = null;\n target = (org.hl7.fhir.Period)get_store().find_element_user(PERIOD$2, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public int freq()\n\t{\n\t\treturn _lsPeriod.get (0).freq();\n\t}", "float getBlackoutPeriod();", "public SummaryWindowPeriodCodeType getSummaryPeriod() {\n\t return this.summaryPeriod;\n\t}", "public final int getPulse() {\n\t\treturn this.getProc().getServer().getConsole().getPulse();\n\t}", "public int periodCount() {\n\t\treturn message.getPeriodCount();\n\t}", "public java.lang.Integer getPeriodo() {\n return periodo;\n }", "public void setPeriod(String period) {\n this.period = period;\n }", "public void setPeriod(String period) {\n this.period = period;\n }", "public java.lang.String getSignal() {\n java.lang.Object ref = signal_;\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 signal_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public int getInterval() { return _interval; }", "public java.math.BigDecimal getQtyPeriod10() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod10\");\r\n \r\n }", "@NotNull(message = \"empty.paymentPeriod\")\n public PaymentPeriod getPaymentPeriod() {\n\n return paymentPeriod;\n }", "@Override protected String getRateUnit() {\n return \"events/\" + super.getRateUnit();\n }", "public DR getBillingPeriod() { \r\n\t\tDR retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }", "public void setPeriod(Long Period) {\n this.Period = Period;\n }", "public java.lang.String getSignal() {\n java.lang.Object ref = signal_;\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 signal_ = s;\n }\n return s;\n }\n }", "protected byte[] getDailyTimerSetting() {return null;}", "public void setPeriod(double value) {\n this.period = value;\n }" ]
[ "0.80286586", "0.6707825", "0.66900146", "0.6632724", "0.6631127", "0.6559409", "0.6481861", "0.6422867", "0.64225215", "0.63832533", "0.6367224", "0.63361645", "0.6314858", "0.6292091", "0.6259636", "0.6198447", "0.6186876", "0.61822015", "0.6164478", "0.6035547", "0.6028589", "0.5963785", "0.59306324", "0.59223247", "0.5903103", "0.5903103", "0.5884267", "0.5882491", "0.5839655", "0.5839655", "0.5839655", "0.5839655", "0.58189344", "0.5813658", "0.58028823", "0.58014876", "0.57891375", "0.57741", "0.5765282", "0.5741534", "0.5699604", "0.5670041", "0.5665849", "0.56516427", "0.5626908", "0.5580421", "0.55178696", "0.55129546", "0.5501283", "0.54910076", "0.5471004", "0.54455113", "0.5414692", "0.5403046", "0.5351035", "0.53456485", "0.5338478", "0.5332745", "0.5327973", "0.53008825", "0.52923316", "0.52840537", "0.527976", "0.5216837", "0.5201022", "0.5193381", "0.51905906", "0.51904845", "0.5180289", "0.5165812", "0.5155442", "0.51530623", "0.5142889", "0.51376766", "0.51262957", "0.5121768", "0.5121646", "0.5095482", "0.50890434", "0.50790346", "0.5070797", "0.50688326", "0.50656474", "0.50635767", "0.50601494", "0.5033853", "0.5027957", "0.502612", "0.5025603", "0.5025603", "0.5023773", "0.50215733", "0.5012904", "0.50107455", "0.50107163", "0.5010097", "0.5007286", "0.49761546", "0.4968834", "0.4966394" ]
0.8223315
0
True if has "signalPeriod" attribute
boolean isSetSignalPeriod();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isPeriodic() {\n return period != 0;\n }", "boolean hasSignal();", "boolean isSetValuePeriod();", "public boolean isSetPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(PERIOD$2) != 0;\n }\n }", "public boolean hasSignal() {\n return ((bitField0_ & 0x00004000) == 0x00004000);\n }", "double getSignalPeriod();", "boolean isSignal();", "public boolean hasSignal() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }", "public boolean hasFrequency() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "public boolean hasFrequency() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }", "public boolean isSetRFBasicClockPeriod() {\n return (this.rfBasicClockPeriod != null ? this.rfBasicClockPeriod.isSetValue() : false);\n }", "public boolean isSetRFPatternPeriod() {\n return (this.rfPatternPeriod != null ? this.rfPatternPeriod.isSetValue() : false);\n }", "void setSignalPeriod(double signalPeriod);", "@Override\n public synchronized boolean hasPeriodPassed(double period) {\n if (get() > period) {\n // Advance the start time by the period.\n // Don't set it to the current time... we want to avoid drift.\n m_startTime += period * 1000;\n return true;\n }\n return false;\n }", "boolean isSetTimeInterval();", "boolean isSetAppliesPeriod();", "org.apache.xmlbeans.XmlDouble xgetSignalPeriod();", "public boolean isPeriodsGenerated() {\r\n return isPeriodsGenerated;\r\n }", "public boolean isSetDataRetentionPeriodLength()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DATARETENTIONPERIODLENGTH$26) != 0;\n }\n }", "public boolean isSetRFSlotDuration() {\n return (this.rfSlotDuration != null ? this.rfSlotDuration.isSetValue() : false);\n }", "boolean isSetRecurrenceDuration();", "boolean isSetDuration();", "boolean isSetDuration();", "boolean isSetDuration();", "public boolean isSetDataRetentionPeriodUnitOfMeasure()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DATARETENTIONPERIODUNITOFMEASURE$28) != 0;\n }\n }", "public boolean hasSig() {\n return sig_ != null;\n }", "boolean hasDuration();", "boolean hasFrequency();", "public boolean hasFreq() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "boolean isSetPaymentDelay();", "public boolean hasFreq() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasSig() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasFrequencyOffset() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "public boolean hasSig() {\n return sigBuilder_ != null || sig_ != null;\n }", "public boolean hasSig() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasTimestamp() {\r\n return ((bitField0_ & 0x00000001) == 0x00000001);\r\n }", "public boolean hasTimestamp() {\r\n return ((bitField0_ & 0x00000001) == 0x00000001);\r\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean iCurrentInputSourceHasSignal() {\n\t\treturn mTVInputManager.getDefaultOutput().hasSignal();\n\t}", "boolean hasTimespanConfig();", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasTimestamp() {\r\n return ((bitField0_ & 0x00000001) == 0x00000001);\r\n }", "public boolean hasTimestamp() {\r\n return ((bitField0_ & 0x00000001) == 0x00000001);\r\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean receivedSignal() {\r\n return receivedSignal;\r\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public double getSignal() {return _signal;}", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasTimestamp() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public boolean hasTimestamp() {\n return timestamp_ != null;\n }", "public boolean hasFrequency() {\n return fieldSetFlags()[1];\n }", "public boolean hasMPPerSecond() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public boolean hasMPPerSecond() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public boolean hasFrequencyOffset() {\n return ((bitField0_ & 0x00000800) == 0x00000800);\n }", "public boolean hasDuration() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasDuration() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasTick();", "public boolean containsDomainValue(long millisecond) { return true; }", "public final boolean hasActiveRetentionPeriod() {\n\t if ( m_retainUntil == -1L)\n\t return false;\n\t return System.currentTimeMillis() < m_retainUntil ? true : false;\n\t}", "boolean hasMPPerSecond();", "boolean hasFrequencyOffset();", "public boolean isSetSign() {\n return this.Sign != null;\n }", "public double getPeriod() {\n return period;\n }", "public boolean isDuration() {\n return false;\n }", "public boolean hasEventTimestamp() {\n return fieldSetFlags()[14];\n }", "public boolean isSetFreqMin() {\n return (this.freqMin != null ? this.freqMin.isSetValue() : false);\n }", "private boolean hasTimeSig (Measure measure)\r\n {\r\n for (Staff.SystemIterator sit = new Staff.SystemIterator(measure);\r\n sit.hasNext();) {\r\n Staff staff = sit.next();\r\n\r\n if (sit.getMeasure()\r\n .getTimeSignature(staff) != null) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }", "boolean hasSendTime();", "boolean hasTimestamp();", "boolean hasTimestamp();", "boolean hasTimestamp();", "boolean hasTimestamp();", "boolean hasTimestamp();", "boolean hasTimestamp();", "boolean hasTimestamp();", "public boolean isSetSign() {\n\t\treturn this.sign != null;\n\t}", "public boolean shouldRecord() {\n return !this.instrumentationSampling.isSampleRateExceeded();\n }", "public boolean hasSimspeed() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasTimestamp() {\n return timestampBuilder_ != null || timestamp_ != null;\n }", "@java.lang.Override\n public boolean hasTime() {\n return instance.hasTime();\n }", "public boolean hasTimeRecord() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public boolean hasSimspeed() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean hasTimeRecord() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public boolean mo42417p() {\n return this.f12828k != null;\n }", "public boolean hasAudio() {\n\t\treturn this.recordingProperties.hasAudio();\n\t}", "public boolean hasTimestamp() {\n return fieldSetFlags()[6];\n }", "boolean hasQos();", "boolean hasSig();", "boolean hasSimspeed();", "public boolean hasTimestamp() {\n return result.hasTimestamp();\n }", "public int getPeriod()\r\n\t{\r\n\t\treturn period;\r\n\t}", "public boolean hasPayload() {\n return (mPayload != null);\n }", "boolean hasSubscription();", "public Period getPeriod() {\n return period;\n }", "public boolean hasDailyBonus() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);", "boolean hasMPValue();", "boolean hasTransactionDateTime();" ]
[ "0.74436665", "0.7331806", "0.73059356", "0.7160074", "0.7140812", "0.7045174", "0.7007983", "0.7001783", "0.65960574", "0.65666777", "0.6540112", "0.65398175", "0.6490818", "0.64750195", "0.6437389", "0.64213604", "0.6404307", "0.63357955", "0.62549406", "0.6251832", "0.6184147", "0.6148642", "0.6148642", "0.6148642", "0.6141756", "0.61296195", "0.6118944", "0.6003406", "0.5964116", "0.59458786", "0.59436446", "0.5910987", "0.5895631", "0.5888068", "0.5882454", "0.587829", "0.587829", "0.5877899", "0.5874666", "0.5865794", "0.5856085", "0.5854979", "0.5854476", "0.5854476", "0.5849964", "0.5845323", "0.5844254", "0.58428794", "0.58425283", "0.5840142", "0.5826535", "0.5823092", "0.58158386", "0.5808352", "0.57984024", "0.579762", "0.5785526", "0.5783895", "0.5774902", "0.57731587", "0.5757343", "0.57502955", "0.57255775", "0.57115424", "0.5692971", "0.567706", "0.56604296", "0.565939", "0.5657195", "0.5649017", "0.56448567", "0.56448567", "0.56448567", "0.56448567", "0.56448567", "0.56448567", "0.56448567", "0.56305313", "0.5619155", "0.56112653", "0.5610812", "0.56023425", "0.56021595", "0.55987746", "0.55837935", "0.55799973", "0.5567356", "0.5560064", "0.5554624", "0.55345714", "0.55209875", "0.5519205", "0.5517377", "0.5514358", "0.55035144", "0.550289", "0.5485819", "0.54823035", "0.5481681", "0.54801506" ]
0.878138
0
Sets the "signalPeriod" attribute
void setSignalPeriod(double signalPeriod);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);", "public void setSignal(double signal) {_signal = signal;}", "double getSignalPeriod();", "void unsetSignalPeriod();", "public void setPeriod(double value) {\n this.period = value;\n }", "void setValuePeriod(org.hl7.fhir.Period valuePeriod);", "public void setPeriod(Long Period) {\n this.Period = Period;\n }", "public void setPeriod(int period) {\n this.period = period;\n }", "public void set(float signal);", "public void setPeriod(int period) {\r\n\t\tif (isValidPeriod(period)) {\r\n\t\t\tthis.period = period;\r\n\t\t}\r\n\t}", "ChangeObserver<T> setPeriod(TimeUnit timeUnit, int period);", "public void setTimePeriod(int timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void changeTimePeriod(int period)\n\t{\n\t\tthis.timePeriod = period;\n\t}", "public void setChannelPeriod(int period){\n this.channelPeriod=period;\n }", "public void setTimePeriod(DateInterval timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void setTimePeriod(DateInterval timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void setTickPeriod(TimeSpan tickperiod)\r\n\t{\r\n\t\ttickPeriod = tickperiod.Ticks();\r\n\t}", "org.apache.xmlbeans.XmlDouble xgetSignalPeriod();", "boolean isSetSignalPeriod();", "public void setPeriod(String period) {\n this.period = period;\n }", "public void setPeriod(String period) {\n this.period = period;\n }", "@Generated\n @Selector(\"setRollingPeriod:\")\n public native void setRollingPeriod(int value);", "public void setPeriod(org.hl7.fhir.Period period)\n {\n generatedSetterHelperImpl(period, PERIOD$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "public void setTickPeriod(long tickperiod)\r\n\t{\r\n\t\ttickPeriod = tickperiod;\r\n\t}", "void setCalibrationPeriod(double calibrationPeriod);", "void setPulsePercentage(int percentage);", "protected void setConfiguredPeriod(int configuredPeriod) {\n this.configuredPeriod = configuredPeriod;\n }", "public void setTransferFrequency(final PeriodDuration newValue) {\n checkWritePermission(transferFrequency);\n transferFrequency = newValue;\n }", "public void setPeriodNum(Number value) {\n setAttributeInternal(PERIODNUM, value);\n }", "public Timer setPeriod(long millisecond) {\r\n this.period = millisecond;\r\n return this;\r\n }", "public void setControlPeriod(int controlPeriod) {\n\t\tthis.controlExecutor.setControlPeriod(controlPeriod);\n\t}", "public void setPeriodId(Number value) {\n setAttributeInternal(PERIODID, value);\n }", "public void setPVTgracePeriod(Integer value) {\n setAttributeInternal(PVTGRACEPERIOD, value);\n }", "public void configurePeriod(int period) throws RemoteHomeConnectionException, RemoteHomeManagerException {\n if ((period < 0) || (period > 255)) {\n throw new RemoteHomeManagerException(\"The value should be 0 - 255\", RemoteHomeManagerException.WRONG_PARAMETER_VALUE);\n }\n m.sendCommand(parseDeviceIdForMultipleDevice(getRealDeviceId()), \"l\"+getSubDeviceNumber()+\"cm=\"+period);\n setConfiguredPeriod(period); \n }", "public int getPeriod()\r\n\t{\r\n\t\treturn period;\r\n\t}", "public double getPeriod() {\n return period;\n }", "public String getPeriod() {\n return period;\n }", "void setPWMRate(double rate);", "@Updatable\n public Integer getPeriod() {\n return period;\n }", "public void setQtyPeriod1 (java.math.BigDecimal QtyPeriod1)\r\n {\r\n set_Value (\"QtyPeriod1\", QtyPeriod1);\r\n \r\n }", "public void setPeriod(AdjustmentPeriodTypeId value) {\n this.period = value;\n }", "@Override\n\tpublic void setNoticePeriod(java.lang.String noticePeriod) {\n\t\t_candidate.setNoticePeriod(noticePeriod);\n\t}", "public int getPeriod() {\n return period;\n }", "public void setSignalPosition(int signalPosition) {\n this.signalPosition = signalPosition;\n }", "public String getPeriod() {\n return this.period;\n }", "public void setSampleRate(float rate)\n {\n samplingDelay = (int)(ONE_SECOND/rate);\n }", "public double getSignal() {return _signal;}", "public void setQtyPeriod8 (java.math.BigDecimal QtyPeriod8)\r\n {\r\n set_Value (\"QtyPeriod8\", QtyPeriod8);\r\n \r\n }", "org.hl7.fhir.Period addNewValuePeriod();", "void unsetValuePeriod();", "public void setPaymentPeriod(PaymentPeriod paymentPeriod) {\n\n this.paymentPeriod = paymentPeriod;\n }", "public long getSamplingPeriod();", "public void setPeriod(int periodInYears) {\nnumberOfPayments = periodInYears * MONTHS;\n}", "public void setPingInterval(Period interval)\n {\n _pingInterval = interval.getPeriod();\n \n if (_pingInterval < 0)\n _pingInterval = Long.MAX_VALUE / 2;\n else if (_pingInterval < 1000)\n _pingInterval = 1000;\n }", "long getSamplePeriod();", "void setLastVibrationFrequency(int lastVibrationFrequency);", "public int getTimePeriod() {\n return timePeriod;\n }", "public void setRotationalPeriod(double value) {\n this.rotationalPeriod = value;\n }", "public Long getPeriod() {\n return this.Period;\n }", "public void setPeriodId(Number value) {\n\t\tsetNumber(PERIOD_ID, value);\n\t}", "public int getTimePeriod()\n\t{\n\t\treturn timePeriod;\n\t}", "public void setFrequency(int f){\n this.frequency = f;\n }", "public void setTransactionTimeout(Period period)\n {\n _transactionTimeout = period.getPeriod();\n }", "public void setPeriod(String period) throws SQLException\r\n\t{\r\n\t\tif (period == null)\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tString SQL_USER = \"UPDATE user SET period =? WHERE id=?;\";\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Prepare the statement\r\n\t\t\tPreparedStatement statement = this.getConn().prepareStatement(SQL_USER);\r\n\r\n\t\t\t//Bind the variables\r\n\t\t\tstatement.setString(1, period);\r\n\t\t\tstatement.setInt(2, userId);\r\n\r\n\t\t\t//Execute the update\r\n\t\t\tstatement.executeUpdate();\r\n\r\n\t\t} catch (SQLException e)\r\n\t\t{\r\n\t\t\tGWT.log(\"Error in SQL: Student->setPeriod(String \"+ period+ \")\", e);\r\n\t\t\tthis.getConn().rollback();\r\n\t\t\tthrow e;\t\r\n\t\t}\r\n\t\t\r\n\t\t//commit change\r\n\t\tDatabase.get().commit();\r\n\t}", "void setAppliesPeriod(org.hl7.fhir.Period appliesPeriod);", "public void setQtyPeriod10 (java.math.BigDecimal QtyPeriod10)\r\n {\r\n set_Value (\"QtyPeriod10\", QtyPeriod10);\r\n \r\n }", "public Period getPeriod() {\n return period;\n }", "public void setSampleRate(int value) {\n this.sampleRate = value;\n }", "public void setPeriodicRateChange(float value) {\n this.periodicRateChange = value;\n }", "BigInteger getPeriod();", "public void setAvpfRrInterval(int interval);", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public void unsetPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(PERIOD$2, 0);\n }\n }", "double getPeriod();", "public void setConnectionWaitTime(Period waitTime)\n {\n long period = waitTime.getPeriod();\n \n _connectionWaitTime = period;\n \n if (period < 0)\n _connectionWaitCount = 3600; // wait for an hour == infinity\n else {\n _connectionWaitCount = (int) ((period + 999) / 1000);\n \n if (_connectionWaitCount <= 0)\n _connectionWaitCount = 1;\n }\n }", "public void setChannelRFfreq(int freq){\n this.channelRF=freq;\n }", "public void setQtyPeriod7 (java.math.BigDecimal QtyPeriod7)\r\n {\r\n set_Value (\"QtyPeriod7\", QtyPeriod7);\r\n \r\n }", "public final void setSignalConnection(SignalConnection signalConnection) {\n\n if (isStarted()){\n stop();\n }\n\n this.signalConnection = signalConnection;\n }", "void setSamplingIntervalMs(long ms);", "public void setQtyPeriod11 (java.math.BigDecimal QtyPeriod11)\r\n {\r\n set_Value (\"QtyPeriod11\", QtyPeriod11);\r\n \r\n }", "public void setSampleRate(Integer sampleRate) {\n this.sampleRate = sampleRate;\n }", "public void setInterval(int x){\n interval = x;\n }", "@TmfSignalHandler\n public void timestampFormatUpdated(TmfTimestampFormatUpdateSignal signal) {\n setValue(getValue());\n }", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public int getChannelPeriod() {\n return channelPeriod;\n }", "boolean isSetValuePeriod();", "public void setSynthInstrument(int synthInstrument) {\n\t\t// no error checking\n\t\tthis.synthInstrument = synthInstrument;\n\t\tsynthChannel.programChange(synthInstrument);\n\t}", "public synchronized void setRampRate(Double rampRate)\n {\n this.rampRate = rampRate;\n }", "synchronized boolean setInterval(int newPeriod) {\n if (newPeriod < 1 || newPeriod > 65535) {\n return false;\n }\n interval = newPeriod;\n version++;\n sendInterval();\n return true;\n }", "public void setQtyPeriod5 (java.math.BigDecimal QtyPeriod5)\r\n {\r\n set_Value (\"QtyPeriod5\", QtyPeriod5);\r\n \r\n }", "public void setQtyPeriod9 (java.math.BigDecimal QtyPeriod9)\r\n {\r\n set_Value (\"QtyPeriod9\", QtyPeriod9);\r\n \r\n }", "public void setFrequency(Double frequency) {\n this.frequency = frequency;\n }", "int getPeriod();", "public void setRate(float wpm) {\n\tif (wpm > 0 && wpm < 1000) {\n\t setDurationStretch(nominalRate / wpm);\n\t}\n }", "public Period onsetPeriod() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_ONSET_PERIOD);\n }", "@Override\n\tpublic void handlePeriod() {\n\t}", "public void setSampleRate(int sampleRate) {\r\n\t\tthis.sampleRate = sampleRate;\r\n\t}", "void setRecurrenceFrequency(long seconds) throws NoUserSelectedException;", "public void setFileCreationPeriodValue(YangUInt32 fileCreationPeriodValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"file-creation-period\",\n fileCreationPeriodValue,\n childrenNames());\n }", "public void setPeriodicalId(Number value) {\n setAttributeInternal(PERIODICALID, value);\n }" ]
[ "0.7952729", "0.712624", "0.7032992", "0.6832462", "0.6662278", "0.6567903", "0.6560474", "0.65451837", "0.65094256", "0.6505599", "0.65025145", "0.63939106", "0.6349574", "0.6272647", "0.613408", "0.613408", "0.60925525", "0.6074685", "0.6060773", "0.60552996", "0.60552996", "0.60504127", "0.6028945", "0.60070556", "0.59934217", "0.5858712", "0.57493144", "0.56955516", "0.5567635", "0.555767", "0.55529267", "0.5535196", "0.5532259", "0.5525043", "0.55248374", "0.5520241", "0.5514575", "0.55068845", "0.5480346", "0.5478341", "0.5470476", "0.5445303", "0.5440564", "0.54309404", "0.5422951", "0.5420572", "0.53958297", "0.53942", "0.5364398", "0.53445876", "0.52867305", "0.5284255", "0.527614", "0.52504855", "0.5243478", "0.5239757", "0.52280957", "0.5222777", "0.52169734", "0.5193821", "0.51875657", "0.5185176", "0.51788235", "0.5163594", "0.5159467", "0.5155278", "0.51458114", "0.51436746", "0.5141976", "0.5135628", "0.5110584", "0.50841504", "0.50765556", "0.5069396", "0.50541764", "0.5044576", "0.5037204", "0.5029266", "0.5019252", "0.5017625", "0.50158876", "0.50104034", "0.5001298", "0.49944824", "0.49858975", "0.49791527", "0.49727952", "0.49715707", "0.49649453", "0.4954131", "0.49533272", "0.49383938", "0.49369174", "0.49322397", "0.4932031", "0.49257538", "0.4925678", "0.4923791", "0.49121943", "0.49041867" ]
0.9110974
0
Sets (as xml) the "signalPeriod" attribute
void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSignalPeriod(double signalPeriod);", "double getSignalPeriod();", "public void setSignal(double signal) {_signal = signal;}", "org.apache.xmlbeans.XmlDouble xgetSignalPeriod();", "void unsetSignalPeriod();", "void setValuePeriod(org.hl7.fhir.Period valuePeriod);", "public void setPeriod(double value) {\n this.period = value;\n }", "ChangeObserver<T> setPeriod(TimeUnit timeUnit, int period);", "public void setPeriod(int period) {\n this.period = period;\n }", "public void set(float signal);", "public void setPeriod(int period) {\r\n\t\tif (isValidPeriod(period)) {\r\n\t\t\tthis.period = period;\r\n\t\t}\r\n\t}", "public void setPeriod(Long Period) {\n this.Period = Period;\n }", "public void setTimePeriod(int timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void setChannelPeriod(int period){\n this.channelPeriod=period;\n }", "public void changeTimePeriod(int period)\n\t{\n\t\tthis.timePeriod = period;\n\t}", "boolean isSetSignalPeriod();", "public void setPeriod(String period) {\n this.period = period;\n }", "public void setPeriod(String period) {\n this.period = period;\n }", "void setCalibrationPeriod(double calibrationPeriod);", "public void setPeriod(org.hl7.fhir.Period period)\n {\n generatedSetterHelperImpl(period, PERIOD$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "public void setTickPeriod(TimeSpan tickperiod)\r\n\t{\r\n\t\ttickPeriod = tickperiod.Ticks();\r\n\t}", "@Generated\n @Selector(\"setRollingPeriod:\")\n public native void setRollingPeriod(int value);", "public void setTickPeriod(long tickperiod)\r\n\t{\r\n\t\ttickPeriod = tickperiod;\r\n\t}", "public void setPVTgracePeriod(Integer value) {\n setAttributeInternal(PVTGRACEPERIOD, value);\n }", "public void setTimePeriod(DateInterval timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void setTimePeriod(DateInterval timePeriod) {\n this.timePeriod = timePeriod;\n }", "public void setPeriodNum(Number value) {\n setAttributeInternal(PERIODNUM, value);\n }", "void setPulsePercentage(int percentage);", "public void setPeriodId(Number value) {\n setAttributeInternal(PERIODID, value);\n }", "public String getPeriod() {\n return period;\n }", "void xsetDuration(org.apache.xmlbeans.XmlInt duration);", "org.hl7.fhir.Period addNewValuePeriod();", "public int getPeriod()\r\n\t{\r\n\t\treturn period;\r\n\t}", "protected void setConfiguredPeriod(int configuredPeriod) {\n this.configuredPeriod = configuredPeriod;\n }", "public String getPeriod() {\n return this.period;\n }", "void xsetDuration(org.apache.xmlbeans.XmlString duration);", "public int getPeriod() {\n return period;\n }", "public double getPeriod() {\n return period;\n }", "public void setQtyPeriod8 (java.math.BigDecimal QtyPeriod8)\r\n {\r\n set_Value (\"QtyPeriod8\", QtyPeriod8);\r\n \r\n }", "public void setQtyPeriod1 (java.math.BigDecimal QtyPeriod1)\r\n {\r\n set_Value (\"QtyPeriod1\", QtyPeriod1);\r\n \r\n }", "@Updatable\n public Integer getPeriod() {\n return period;\n }", "void xsetDuration(org.apache.xmlbeans.XmlDuration duration);", "public void setTransferFrequency(final PeriodDuration newValue) {\n checkWritePermission(transferFrequency);\n transferFrequency = newValue;\n }", "public void configurePeriod(int period) throws RemoteHomeConnectionException, RemoteHomeManagerException {\n if ((period < 0) || (period > 255)) {\n throw new RemoteHomeManagerException(\"The value should be 0 - 255\", RemoteHomeManagerException.WRONG_PARAMETER_VALUE);\n }\n m.sendCommand(parseDeviceIdForMultipleDevice(getRealDeviceId()), \"l\"+getSubDeviceNumber()+\"cm=\"+period);\n setConfiguredPeriod(period); \n }", "BigInteger getPeriod();", "public void setPeriod(AdjustmentPeriodTypeId value) {\n this.period = value;\n }", "public void setPeriod(int periodInYears) {\nnumberOfPayments = periodInYears * MONTHS;\n}", "long getSamplePeriod();", "@Override\n\tpublic void setNoticePeriod(java.lang.String noticePeriod) {\n\t\t_candidate.setNoticePeriod(noticePeriod);\n\t}", "public long getSamplingPeriod();", "void xsetRecurrenceDuration(org.apache.xmlbeans.XmlInt recurrenceDuration);", "public int getTimePeriod() {\n return timePeriod;\n }", "public void setPeriodicalId(Number value) {\n setAttributeInternal(PERIODICALID, value);\n }", "public void setFileCreationPeriodValue(YangUInt32 fileCreationPeriodValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"file-creation-period\",\n fileCreationPeriodValue,\n childrenNames());\n }", "double getPeriod();", "public void setAvpfRrInterval(int interval);", "public void setQtyPeriod10 (java.math.BigDecimal QtyPeriod10)\r\n {\r\n set_Value (\"QtyPeriod10\", QtyPeriod10);\r\n \r\n }", "void setPWMRate(double rate);", "public void setQtyPeriod11 (java.math.BigDecimal QtyPeriod11)\r\n {\r\n set_Value (\"QtyPeriod11\", QtyPeriod11);\r\n \r\n }", "void unsetValuePeriod();", "public void setSampleRate(float rate)\n {\n samplingDelay = (int)(ONE_SECOND/rate);\n }", "public Long getPeriod() {\n return this.Period;\n }", "public Period getPeriod() {\n return period;\n }", "public void setPeriodId(Number value) {\n\t\tsetNumber(PERIOD_ID, value);\n\t}", "public void setSignalPosition(int signalPosition) {\n this.signalPosition = signalPosition;\n }", "int getPeriod();", "public double getSignal() {return _signal;}", "public int getTimePeriod()\n\t{\n\t\treturn timePeriod;\n\t}", "@TmfSignalHandler\n public void timestampFormatUpdated(TmfTimestampFormatUpdateSignal signal) {\n setValue(getValue());\n }", "public Timer setPeriod(long millisecond) {\r\n this.period = millisecond;\r\n return this;\r\n }", "public void setPingInterval(Period interval)\n {\n _pingInterval = interval.getPeriod();\n \n if (_pingInterval < 0)\n _pingInterval = Long.MAX_VALUE / 2;\n else if (_pingInterval < 1000)\n _pingInterval = 1000;\n }", "public void setPeriod(String period) throws SQLException\r\n\t{\r\n\t\tif (period == null)\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tString SQL_USER = \"UPDATE user SET period =? WHERE id=?;\";\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Prepare the statement\r\n\t\t\tPreparedStatement statement = this.getConn().prepareStatement(SQL_USER);\r\n\r\n\t\t\t//Bind the variables\r\n\t\t\tstatement.setString(1, period);\r\n\t\t\tstatement.setInt(2, userId);\r\n\r\n\t\t\t//Execute the update\r\n\t\t\tstatement.executeUpdate();\r\n\r\n\t\t} catch (SQLException e)\r\n\t\t{\r\n\t\t\tGWT.log(\"Error in SQL: Student->setPeriod(String \"+ period+ \")\", e);\r\n\t\t\tthis.getConn().rollback();\r\n\t\t\tthrow e;\t\r\n\t\t}\r\n\t\t\r\n\t\t//commit change\r\n\t\tDatabase.get().commit();\r\n\t}", "public void setQtyPeriod5 (java.math.BigDecimal QtyPeriod5)\r\n {\r\n set_Value (\"QtyPeriod5\", QtyPeriod5);\r\n \r\n }", "public void setControlPeriod(int controlPeriod) {\n\t\tthis.controlExecutor.setControlPeriod(controlPeriod);\n\t}", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public void setDuration(int val){this.duration = val;}", "public void setQtyPeriod7 (java.math.BigDecimal QtyPeriod7)\r\n {\r\n set_Value (\"QtyPeriod7\", QtyPeriod7);\r\n \r\n }", "public void setTransactionTimeout(Period period)\n {\n _transactionTimeout = period.getPeriod();\n }", "boolean isSetValuePeriod();", "public int getConfiguredPeriod() {\n return configuredPeriod;\n }", "public void unsetPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(PERIOD$2, 0);\n }\n }", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public void setFrequency(int f){\n this.frequency = f;\n }", "void setLastVibrationFrequency(int lastVibrationFrequency);", "public void setInterval(int x){\n interval = x;\n }", "public void setPeriodicRateChange(float value) {\n this.periodicRateChange = value;\n }", "void setAppliesPeriod(org.hl7.fhir.Period appliesPeriod);", "public void setSampleRate(int value) {\n this.sampleRate = value;\n }", "public void setConnectionWaitTime(Period waitTime)\n {\n long period = waitTime.getPeriod();\n \n _connectionWaitTime = period;\n \n if (period < 0)\n _connectionWaitCount = 3600; // wait for an hour == infinity\n else {\n _connectionWaitCount = (int) ((period + 999) / 1000);\n \n if (_connectionWaitCount <= 0)\n _connectionWaitCount = 1;\n }\n }", "public Period onsetPeriod() {\n return getObject(Period.class, FhirPropertyNames.PROPERTY_ONSET_PERIOD);\n }", "public abstract void setValue(R1Interval interval, double value);", "public int getChannelPeriod() {\n return channelPeriod;\n }", "public void setQtyPeriod9 (java.math.BigDecimal QtyPeriod9)\r\n {\r\n set_Value (\"QtyPeriod9\", QtyPeriod9);\r\n \r\n }", "public void setRotationalPeriod(double value) {\n this.rotationalPeriod = value;\n }", "public void setChannelRFfreq(int freq){\n this.channelRF=freq;\n }", "public void setQtyPeriod12 (java.math.BigDecimal QtyPeriod12)\r\n {\r\n set_Value (\"QtyPeriod12\", QtyPeriod12);\r\n \r\n }", "void setSamplingIntervalMs(long ms);", "public void setPeriodicalType(String value) {\n setAttributeInternal(PERIODICALTYPE, value);\n }", "@Override\n\tpublic void handlePeriod() {\n\t}", "protected final void setP(IntervalNode x) {\n\tthis.p = x;\n\n\t// recalc max and min\n\tsetMax();\n\tsetMin();\n }" ]
[ "0.86506456", "0.6948321", "0.6667789", "0.6643316", "0.64894366", "0.6486793", "0.6485478", "0.63956267", "0.63153404", "0.6270103", "0.6251882", "0.6167836", "0.60410243", "0.60280645", "0.5973469", "0.5945853", "0.58975726", "0.58975726", "0.5875661", "0.5858548", "0.58519363", "0.5842438", "0.57826465", "0.5768287", "0.5735065", "0.5735065", "0.57187134", "0.5679293", "0.56748974", "0.56653804", "0.56374377", "0.5628417", "0.56206626", "0.56111664", "0.5576498", "0.55701834", "0.5542511", "0.55243933", "0.5514596", "0.5510123", "0.54780734", "0.5472746", "0.5425559", "0.53632843", "0.53180844", "0.5313551", "0.5299139", "0.5291027", "0.52659976", "0.5255151", "0.52527004", "0.5240192", "0.5233613", "0.52315986", "0.5231021", "0.5227565", "0.52264637", "0.52243", "0.520996", "0.51656663", "0.51602703", "0.51573676", "0.51481766", "0.5146045", "0.514531", "0.5144267", "0.5139318", "0.5134306", "0.513388", "0.5129185", "0.51188534", "0.5107946", "0.5093494", "0.5075462", "0.5072978", "0.50693035", "0.5068126", "0.50646996", "0.5053971", "0.5052951", "0.504562", "0.50300467", "0.50217843", "0.501759", "0.49831495", "0.49830675", "0.4982189", "0.49814457", "0.49737427", "0.49675697", "0.49616683", "0.49544194", "0.49472678", "0.4941482", "0.49402618", "0.49393868", "0.4931195", "0.49246672", "0.49191335", "0.49182752" ]
0.819988
1
Unsets the "signalPeriod" attribute
void unsetSignalPeriod();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsetValuePeriod();", "void setSignalPeriod(double signalPeriod);", "public void unsetPeriod()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(PERIOD$2, 0);\n }\n }", "void xsetSignalPeriod(org.apache.xmlbeans.XmlDouble signalPeriod);", "void unsetAppliesPeriod();", "private void reset () {\n this.logic = null;\n this.lastPulse = 0;\n this.pulseDelta = 0;\n }", "void unsetTimeInterval();", "void unsetRecurrenceDuration();", "public Builder clearSignal() {\n bitField0_ = (bitField0_ & ~0x00020000);\n signal_ = getDefaultInstance().getSignal();\n onChanged();\n return this;\n }", "public void setSignal(double signal) {_signal = signal;}", "void unsetDuration();", "void unsetDuration();", "void unsetDuration();", "void unsetValueRatio();", "double getSignalPeriod();", "public void unsetObservedPolarisationAnalysis() {\n this.observedPolarisationAnalysis = null;\n }", "org.apache.xmlbeans.XmlDouble xgetSignalPeriod();", "public edu.pa.Rat.Builder clearFrequency() {\n fieldSetFlags()[1] = false;\n return this;\n }", "public void detonate()\r\n\t{\r\n\t\tdetonated = true;\r\n\t}", "public void unsetObservedRFValues() {\n this.observedRFValues = null;\n }", "void unsetValue();", "void unsetValue();", "void unsetPaymentDelay();", "public void unsetDataRetentionPeriodLength()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DATARETENTIONPERIODLENGTH$26, 0);\n }\n }", "void unsetValueSampledData();", "public void unsetFileCreationPeriodValue() throws JNCException {\n delete(\"file-creation-period\");\n }", "public void unsetDataRetentionPeriodUnitOfMeasure()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DATARETENTIONPERIODUNITOFMEASURE$28, 0);\n }\n }", "@Override\n public void run() {\n signalPanel.clearChart();\n }", "public void reset(){\r\n maxDate = null;\r\n minDate = null;\r\n }", "public Builder clearSig() {\n if (sigBuilder_ == null) {\n sig_ = null;\n onChanged();\n } else {\n sig_ = null;\n sigBuilder_ = null;\n }\n\n return this;\n }", "public void unsetBand1V()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BAND1V$8, 0);\n }\n }", "public void unReset () {\n count = lastSave;\n }", "public void reset() {\n\t\tsuper.reset(); // reset the Reportable, too.\n\n\t\tif (_interArrivalTimeActivated && _interArrivalTally != null)\n\t\t\t_interArrivalTally.reset();\n\t\t\n\t\t// really reset the counter value?\n\t\tif (!this.isResetResistant) {\n\t\t\tthis._value = 0;\n \t this._min = this._max = 0;\n\t\t}\n\t}", "public void unsetMaxRecordsPerPeriodValue() throws JNCException {\n delete(\"max-records-per-period\");\n }", "public void reset()\n\t{\n\t\tdelayCount = 0f;\n\t\trepeatCount = 0;\n\t\tenabled = true;\n\t}", "public void unsetFileRetentionPeriodValue() throws JNCException {\n delete(\"file-retention-period\");\n }", "public void reset () {\n if (!this.on) {\n return;\n }\n\n this.currentSensorValue = 0;\n }", "public Builder clearFrequency() {\n bitField0_ = (bitField0_ & ~0x00000400);\n frequency_ = getDefaultInstance().getFrequency();\n onChanged();\n return this;\n }", "boolean isSetSignalPeriod();", "public Builder clearScaler() {\n bitField0_ = (bitField0_ & ~0x00000001);\n scaler_ = 0F;\n onChanged();\n return this;\n }", "public void setPeriod(double value) {\n this.period = value;\n }", "void unsetRecurrenceTimeZoneCode();", "void setValuePeriod(org.hl7.fhir.Period valuePeriod);", "public void setPeriod(int period) {\r\n\t\tif (isValidPeriod(period)) {\r\n\t\t\tthis.period = period;\r\n\t\t}\r\n\t}", "public Builder clearMPPerSecond() {\n bitField0_ = (bitField0_ & ~0x00000020);\n mPPerSecond_ = 0;\n onChanged();\n return this;\n }", "public void blackout(TimePeriod t) {\n\t\t\n\t}", "void unset() {\n size = min = pref = max = UNSET;\n }", "public void set(float signal);", "public void reset() { \r\n stop(); \r\n if (midi) \r\n sequencer.setTickPosition(0); \r\n else \r\n clip.setMicrosecondPosition(0); \r\n audioPosition = 0; \r\n progress.setValue(0); \r\n }", "public Builder clearSig() {\n bitField0_ = (bitField0_ & ~0x00000002);\n sig_ = getDefaultInstance().getSig();\n onChanged();\n return this;\n }", "void unsetValueQuantity();", "void unsetDate();", "public void unsetObservedScanAnalysis() {\n this.observedScanAnalysis = null;\n }", "public void setPeriod(Long Period) {\n this.Period = Period;\n }", "void unsetSchedule();", "public void setPeriod(int period) {\n this.period = period;\n }", "public Builder clearRate() {\n \n rate_ = 0;\n onChanged();\n return this;\n }", "public void unAssign(){\n\t\tthis.value = 0;\n\t}", "public void unsetValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(VALUE$12);\n }\n }", "public Builder clearFreq() {\n bitField0_ = (bitField0_ & ~0x00000008);\n freq_ = 0;\n onChanged();\n return this;\n }", "public void clear() {\n\t\tsample.clear();\n\t\tcount.set(0);\n\t\t_max.set(Long.MIN_VALUE);\n\t\t_min.set(Long.MAX_VALUE);\n\t\t_sum.set(0);\n\t\tvarianceM.set(-1);\n\t\tvarianceS.set(0);\n\t}", "public void unsetReset() {\n\t\twasReset=false;\n\t}", "public void unsetTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(TIME$2, 0);\n }\n }", "public void reset() {\n setValuesInternal(new Date(clock.getTime()), false, true);\n }", "public baconhep.TTau.Builder clearHpsDisc() {\n fieldSetFlags()[23] = false;\n return this;\n }", "public void unsetRequestTimerValue() throws JNCException {\n delete(\"request-timer\");\n }", "public Builder clearUpdateIntervalInSec() {\n \n updateIntervalInSec_ = 0L;\n onChanged();\n return this;\n }", "public void unset(){\n\t\tcurrentInst = -1;\n\t}", "public void changeTimePeriod(int period)\n\t{\n\t\tthis.timePeriod = period;\n\t}", "public void unsetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(STOPTIME$24);\r\n }\r\n }", "public void reset() {\nsuper.reset();\nsetIncrease_( \"no\" );\nsetSwap_( \"tbr\" );\nsetMultrees_( \"no\" );\nsetRatchetreps_(\"200\");\nsetRatchetprop_(\"0.2\");\nsetRatchetseed_(\"0\");\n}", "void unsetAppliesDateTime();", "public void setVibrationOff() {\n\n }", "public void reset ()\r\n\t{\r\n\t\tsuper.reset();\r\n\t\tlastSampleTime = 0;\r\n\t\tfirstSampleTime = 0;\r\n\t\tlastSampleSize = 0;\r\n\t}", "void unsetFractional();", "public double getSignal() {return _signal;}", "void unsetValueAttachment();", "public void reset() {\r\n\t\tfor(AnalogInput m_analog : mAnalogs)\r\n\t\t{\r\n\t\t\tif (m_analog != null) {\r\n\t\t\t\tm_analog.resetAccumulator();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public Builder clearFrequencyOffset() {\n bitField0_ = (bitField0_ & ~0x00000800);\n frequencyOffset_ = getDefaultInstance().getFrequencyOffset();\n onChanged();\n return this;\n }", "public void unsetAntFreqs() {\n this.antFreqs = null;\n }", "private void discardSegment() {\n synchronized (lastSegment) {\n lastSegment.clear();\n lastSegmentTimes.clear();\n lastSegmentCurve.clear();\n }\n }", "private void reset(){\n plotValues.clear();\n xLabels.clear();\n }", "public void unsetDomain() {\n bean = null;\n domain = null;\n }", "public void unsetBand1H()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BAND1H$4, 0);\n }\n }", "public void resetTimer() {\n button.setText(\"Notify Me!\");\n timerSeekBar.setProgress(60);\n timerSeekBar.setEnabled(true);\n timerText.setText(\"1:00\");\n counter.cancel();\n counterActive = false;\n }", "public void setPeriod(org.hl7.fhir.Period period)\n {\n generatedSetterHelperImpl(period, PERIOD$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "public void reset() {\n\t\tthis.startTime = 0;\n\t\tthis.stopTime = 0;\n\t\tthis.running = false;\n\t}", "public Builder clearSettingsUpdateIntervalInSec() {\n \n settingsUpdateIntervalInSec_ = 0L;\n onChanged();\n return this;\n }", "public Builder clearSimspeed() {\n bitField0_ = (bitField0_ & ~0x00000004);\n simspeed_ = 0;\n onChanged();\n return this;\n }", "@Override\n\tpublic long getTimePeriod() {\n\t\treturn 0;\n\t}", "public void reset(){\n value = 0;\n }", "public void reset() {\n mNewNotificationCount.setValue(0);\n }", "@Override\r\n\tpublic void unsetGiveValue() {\n\t\t\r\n\t}", "public void reset() {\n onoff.reset();\n itiefe.reset();\n itiefe.setEnabled(false);\n }", "public void setTimePeriod(int timePeriod) {\n this.timePeriod = timePeriod;\n }", "protected void reset() {\r\n super.reset();\r\n this.ring = null;\r\n }", "public void resetLine() {\n reactorLine.setCurrentFrequency(reactorLine.getBaseFrequency());\n reactorLine.setCurrentAmplitude(reactorLine.getBaseAmplitude());\n reactorLine.setCurrentPhase(reactorLine.getBasePhase());\n inputAdjuster.setCurrentFrequency(inputAdjuster.getBaseFrequency());\n inputAdjuster.setCurrentAmplitude(inputAdjuster.getBaseAmplitude());\n inputAdjuster.setCurrentPhase(inputAdjuster.getBasePhase());\n this.updateOscilloscopeData();\n }", "public final synchronized void reset() {\r\n\t\tunblocked = false;\r\n\t\tcancelled = null;\r\n\t\terror = null;\r\n\t\tlistenersInline = null;\r\n\t}", "@Override\n public synchronized void reset() {\n m_accumulatedTime = 0;\n m_startTime = getMsClock();\n }", "public void resetGraph(){\n removeAllSeries();\n removeSeries(xySeries);\n removeSeries(currentPoint);\n xySeries = new PointsGraphSeries<>();\n currentPoint = new PointsGraphSeries<>();\n initGraph();\n }" ]
[ "0.7906733", "0.7395579", "0.7320015", "0.6910281", "0.6897734", "0.6512772", "0.64643854", "0.63166595", "0.62934047", "0.62497866", "0.6105614", "0.6105614", "0.6105614", "0.6085441", "0.6009187", "0.58369255", "0.5751157", "0.57442486", "0.5734794", "0.5679361", "0.56785756", "0.56785756", "0.5658936", "0.56428903", "0.55825365", "0.55690706", "0.5561878", "0.554446", "0.5541794", "0.55354756", "0.5526547", "0.55133593", "0.5511694", "0.55042285", "0.54796714", "0.5464503", "0.5463331", "0.5456416", "0.5453585", "0.5452419", "0.5446626", "0.54262817", "0.5425756", "0.54189974", "0.5409462", "0.5404646", "0.54040116", "0.5401472", "0.5387262", "0.53769207", "0.5375887", "0.53741306", "0.53623635", "0.5360975", "0.53590155", "0.5355896", "0.5326363", "0.53260523", "0.5323913", "0.5312737", "0.52968955", "0.5295928", "0.529556", "0.529316", "0.5289985", "0.5287883", "0.5264946", "0.5263805", "0.5257116", "0.525615", "0.5252919", "0.5241757", "0.5235735", "0.5231086", "0.522559", "0.5222573", "0.52199465", "0.52195376", "0.52189636", "0.52070576", "0.52002096", "0.5190088", "0.5178353", "0.5171198", "0.5169394", "0.51660746", "0.5158543", "0.5155685", "0.51549035", "0.5151331", "0.5151134", "0.5149944", "0.51420283", "0.51399344", "0.5133186", "0.5129183", "0.5125745", "0.5120254", "0.51146424", "0.51137185" ]
0.88957924
0
Gets the "controlPosition" attribute
org.landxml.schema.landXML11.TrafficControlPosition.Enum getControlPosition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final ControlPosition getPosition() {\n return impl.getPosition();\n }", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "@JsOverlay\n\tpublic final String getPosition() {\n\t\treturn this.position;\n\t}", "boolean isSetControlPosition();", "@Override\n\tpublic D3int getPos() {\n\t\treturn myPos;\n\t}", "public Coordinate getPosition() {\n return cPosition;\n }", "public Pos getPos()\r\n\t{\r\n\t\treturn position;\r\n\t}", "public int getPos()\n {\n return pos;\n }", "public GuiPositions getPosCoor() {\r\n\t\treturn posCoor;\r\n\t}", "@Override\n public int getLayerPosition() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SystemAttributeSymbols.LAYER_POSITION_);\n return ((Integer)retnValue).intValue ();\n }", "public String getPos() {\n return this.pos;\n }", "public String getPosition(){\r\n\t\treturn position;\r\n\t}", "public final native CoOrdinates getPosition() /*-{\r\n\t\treturn this.position;\r\n\t}-*/;", "public Integer getPosition() {\n return this.position;\n }", "public int getPos()\n {\n return pos;\n }", "public int getPosition() {\r\n\t\treturn position;\r\n\t}", "public int getPosition() {\r\n return position;\r\n }", "public int getPosition()\n\t{\n\t\treturn position;\n\t}", "public Integer getCaretPosX() {\n\t\tint[] caretPos = getCaretPos();\n\t\treturn (caretPos == null) ? null : caretPos[0];\n\t}", "public int getPosition()\r\n {\r\n return position;\r\n }", "public int getPosition()\n {\n return getInt(\"Position\");\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public IntegerTulep getPosition() {\n return position;\n }", "public int getX() {\n return positionX;\n }", "public int getPositionX(){\n\t\treturn positionx;\n\t}", "public int getPosicaoX() {\r\n\t\treturn posicaoX;\r\n\t}", "public int getX() { return position.x; }", "public int getPosition() {\n return position;\n }", "public int getPosition() {\n return position;\n }", "public int getPosition() {\n return position;\n }", "public String getPos(){\r\n\t\t return pos;\r\n\t }", "public Point getPosition(){\n\t\treturn position;\n\t}", "public int getPosition() {\n return position;\n }", "public int getPosX() {\n return posX;\n }", "public PVector getPos() {\n\t\treturn pos;\n\t}", "@Override\n\tpublic Position getPosition() {\n\t\treturn this.posn;\n\t}", "public int getXPosition() {\n return this.xPosition;\n }", "public Point getPosition() {\n return this.position;\n }", "public final int getPosition() {\n return position;\n }", "public Location getOffset() {\n\t\treturn pos;\n\t}", "public int getPositionX() {\n return positionX;\n }", "public Position getPosition(){\n return this.position;\n }", "String getPosY();", "public short getXPos(){\n return xPos;\n }", "public int getPos();", "public int getPos();", "public int getTextPosition() {\r\n return TextPosition;\r\n }", "public long position() {\n return _pos;\n }", "public Integer getPosition() {\n return position;\n }", "public Position getPosition() {\n return this.position;\n }", "private final native MVCArray<Element> getControls(int controlPosition) /*-{\n return this.controls[controlPosition];\n }-*/;", "@Override\n public double getPosition()\n {\n final String funcName = \"getPosition\";\n double pos = getMotorPosition() - zeroPosition;\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%f\", pos);\n }\n\n return pos;\n }", "public Point getPos() {\n return this.pos;\n }", "String getPosX();", "public int getXPosition()\n {\n return xPosition;\n }", "public int getXPosition()\n {\n return xPosition;\n }", "public PVector getPosition(){\n\t\treturn position;\n\t}", "public int getPosX(){\n\t\treturn this.posX; \n\t}", "public int getXPosition(){\n\t\treturn xPosition;\n\t}", "public int getStart ()\r\n {\r\n return glyph.getBounds().x;\r\n }", "public int getPosX() {\r\n\t\treturn posX;\r\n\t}", "public Position getTextPosition()\n {\n int hpos = getComponent().getHorizontalTextPosition();\n int vpos = getComponent().getVerticalTextPosition();\n return Position.get(hpos, vpos);\n }", "public int getxPos() {\n return xPos;\n }", "public Punto getPos() {\n\t\treturn pos;\n\t}", "public int getXPosition() {\n return xPosition;\n }", "public Point getPosition()\n\t{\n\t\treturn pos;\n\t}", "public Integer getPosition()\n {\n return position;\n }", "public Vector3f getPosition() {\r\n\t\treturn this.position;\r\n\t}", "protected Vector3D getStartPosition(){\r\n\t\treturn new Vector3D(\r\n\t\t\t\tpnlSubDeviceButtons.getPosition( TransformSpace.GLOBAL).getX(),\r\n\t\t\t\tpnlSubDeviceButtons.getPosition( TransformSpace.GLOBAL).getY() + pnlSubDeviceButtons.getHeightXY( TransformSpace.GLOBAL)\r\n\t\t);\r\n\t}", "public Position getPosition() {\n\t\treturn position;\n\t}", "public int getX() {\n return posX;\n }", "public Point getPosition() {\n return position;\n }", "public int PositionGet();", "public int position() {\n return pos;\n }", "private double getPosX() {\n\t\treturn this.posX.get();\n\t}", "public int getPosX() {\n\t\treturn posX;\n\t}", "public java.lang.Integer getPosition() {\n return position;\n }", "int getcPosC() {\n return cPosC;\n }", "@Override\n\t/**\n\t * returns the position of the class\n\t * \n\t * @return position\n\t */\n\tpublic int getPosition() {\n\t\treturn position;\n\t}", "public int getX() {\n return pos_x;\n }", "public Position getOffset() {\r\n return offset;\r\n }", "public PointF get_position() { return _position; }", "public Position getPosition()\n\t{\n\t\treturn position;\n\t}", "public Vector2D getPosition() {\n\t\treturn position;\n\t}", "public static Dimension getPos()\n {\n Dimension pos = new Dimension( cX, cY );\n next();\n return pos;\n }", "@Override\n\tpublic int getPosX() {\n\t\treturn posX;\n\t}", "public int getPositionX() {\r\n\t\treturn positionX;\r\n\t}", "public java.lang.Integer getPosition() {\n return position;\n }", "int getStartPosition();", "int getStartPosition();", "public Integer getPlacement() {\n return placement;\n }", "public MowerPosition getPosition() {\n return position;\n }", "public long getPos()\n\t{\n\t\treturn -1;\n\t}", "public PointF getPositionAnchor()\n {\n return positionAnchor;\n }", "public double getPosX(){\n return posX;\n }", "public java.lang.String getControlNumber() {\n return controlNumber;\n }" ]
[ "0.749115", "0.7119866", "0.69853336", "0.6577207", "0.6501621", "0.6464566", "0.6411136", "0.63911444", "0.6365089", "0.63524055", "0.6322769", "0.6308909", "0.6273803", "0.6256502", "0.6247742", "0.6238205", "0.6228013", "0.61985207", "0.61941594", "0.6187546", "0.6184051", "0.6176542", "0.6176542", "0.6176542", "0.6176542", "0.6176542", "0.6172258", "0.6163406", "0.6155309", "0.61550677", "0.6142093", "0.61407167", "0.61407167", "0.61407167", "0.6126507", "0.61221665", "0.61219215", "0.6112385", "0.61062914", "0.6084478", "0.60837567", "0.60783255", "0.60737216", "0.60622174", "0.6058228", "0.60570294", "0.6056929", "0.6049693", "0.6048583", "0.6048583", "0.6045208", "0.60391426", "0.60390747", "0.6038419", "0.6036631", "0.60223806", "0.6019295", "0.60120034", "0.60108984", "0.60108984", "0.5997123", "0.59953713", "0.59898", "0.5984362", "0.59843045", "0.59828216", "0.5981382", "0.59809697", "0.59800446", "0.5979306", "0.5977835", "0.5973017", "0.59713227", "0.59665775", "0.5965342", "0.5964295", "0.5960446", "0.595732", "0.59560025", "0.5954242", "0.5954133", "0.5953212", "0.59523886", "0.59519005", "0.5946355", "0.5942859", "0.5936022", "0.5935603", "0.59344476", "0.5919333", "0.59061545", "0.5905702", "0.5905365", "0.5905365", "0.5902422", "0.5902087", "0.5899364", "0.5898135", "0.58975583", "0.58972836" ]
0.6939243
3
Gets (as xml) the "controlPosition" attribute
org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.landxml.schema.landXML11.TrafficControlPosition.Enum getControlPosition();", "public final ControlPosition getPosition() {\n return impl.getPosition();\n }", "@JsOverlay\n\tpublic final String getPosition() {\n\t\treturn this.position;\n\t}", "@XmlElement(name = \"xposition\") //TODO: Bonnie added this line!\r\n public int getxPos() {\r\n return xPos;\r\n }", "public String getPos() {\n return this.pos;\n }", "@Override\n public int getLayerPosition() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SystemAttributeSymbols.LAYER_POSITION_);\n return ((Integer)retnValue).intValue ();\n }", "public String getPosition(){\r\n\t\treturn position;\r\n\t}", "public String getPos(){\r\n\t\t return pos;\r\n\t }", "public short getXPos(){\n return xPos;\n }", "public int getPosicaoX() {\r\n\t\treturn posicaoX;\r\n\t}", "@Override\n\tpublic D3int getPos() {\n\t\treturn myPos;\n\t}", "public Pos getPos()\r\n\t{\r\n\t\treturn position;\r\n\t}", "String getPosX();", "@XmlElement(name = \"yposition\") //TODO: Bonnie added this line!\r\n public int getyPos() {\r\n return yPos;\r\n }", "public int getXOffset();", "public int getPos()\n {\n return pos;\n }", "public int getX() { return position.x; }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public String getPosition() {\n return position;\n }", "public int getPositionX(){\n\t\treturn positionx;\n\t}", "public int getX() {\n return positionX;\n }", "public int getXPosition() {\n return this.xPosition;\n }", "org.apache.xmlbeans.XmlInt xgetAnchorOffset();", "public int getXPosition(){\n\t\treturn xPosition;\n\t}", "public GuiPositions getPosCoor() {\r\n\t\treturn posCoor;\r\n\t}", "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "public int getPosX() {\n return posX;\n }", "public Coordinate getPosition() {\n return cPosition;\n }", "public int getXPosition()\n {\n return xPosition;\n }", "public int getXPosition()\n {\n return xPosition;\n }", "public int getXPosition() {\n return xPosition;\n }", "public int getxPos() {\n return xPos;\n }", "public int getLocX() {\n return locX;\n }", "default String getPos() {\n return meta(\"nlpcraft:nlp:pos\");\n }", "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "public int getPos()\n {\n return pos;\n }", "boolean isSetControlPosition();", "public Location getOffset() {\n\t\treturn pos;\n\t}", "public int getxPosition() {\n\t\treturn xPosition;\n\t}", "public int getPosition()\n {\n return getInt(\"Position\");\n }", "int getLabelOffset();", "public int getLocX() {\n return locX;\n }", "public int getPositionX() {\n return positionX;\n }", "public Integer getPosition() {\n return this.position;\n }", "public final native CoOrdinates getPosition() /*-{\r\n\t\treturn this.position;\r\n\t}-*/;", "public int getX(){ return xPosition; }", "public int getPosX() {\r\n\t\treturn posX;\r\n\t}", "public int getX() {\n return pos_x;\n }", "public int getX() {\n return posX;\n }", "public int getPosX(){\n\t\treturn this.posX; \n\t}", "@Override\n\tpublic int getPosX() {\n\t\treturn posX;\n\t}", "public int getPosX() {\n\t\treturn posX;\n\t}", "public IntegerTulep getPosition() {\n return position;\n }", "public int getPosition() {\r\n\t\treturn position;\r\n\t}", "String getPosY();", "public int getXPos();", "public int getStart ()\r\n {\r\n return glyph.getBounds().x;\r\n }", "public static Dimension getPos()\n {\n Dimension pos = new Dimension( cX, cY );\n next();\n return pos;\n }", "public Integer getCaretPosX() {\n\t\tint[] caretPos = getCaretPos();\n\t\treturn (caretPos == null) ? null : caretPos[0];\n\t}", "public int getPosition() {\r\n return position;\r\n }", "public int getPos_x(){\n\t\treturn pos_x;\n\t}", "public Point getPosition(){\n\t\treturn position;\n\t}", "public int getPos();", "public int getPos();", "public double getPosX(){\n return posX;\n }", "public Position getOffset() {\r\n return offset;\r\n }", "private double getPosX() {\n\t\treturn this.posX.get();\n\t}", "public int getPosition()\n\t{\n\t\treturn position;\n\t}", "public int getxPos() {\n\t\treturn xPos;\n\t}", "public PVector getPos() {\n\t\treturn pos;\n\t}", "public double getXPos(){\n return xPos;\n }", "@Override\n\tpublic Position getPosition() {\n\t\treturn this.posn;\n\t}", "public Point2D getNodePositionXY () { return n.getXYPositionMap(); }", "public int getPositionX() {\r\n\t\treturn positionX;\r\n\t}", "public int getPosition()\r\n {\r\n return position;\r\n }", "public Point getPos() {\n return this.pos;\n }", "public abstract String getPos();", "public int getxPos() \n\t{\n\t\treturn xPos;\n\t}", "public Point getLabelPosition();", "public int getAnchorX() {\r\n return anchorX;\r\n }", "public int getX() {\r\n return xpos;\r\n }", "public int getTagPosition() {\n\t\treturn (position);\n\t}", "public int getX()\r\n {\r\n \treturn xPos;\r\n }", "@Override\n\tpublic int getPos() {\n\t\treturn 0;\n\t}", "public float getPosX() {\n return posX;\n }", "public int getDesplaceOffsetX(){\n\t\tif(style==Style.ROUTES){\r\n\t\t\treturn -10;\r\n\t\t}else{\r\n\t\t\treturn -6;\r\n\t\t}\r\n\t}", "public int getTextPosition() {\r\n return TextPosition;\r\n }", "public long position() {\n return _pos;\n }", "protected Vector3D getStartPosition(){\r\n\t\treturn new Vector3D(\r\n\t\t\t\tpnlSubDeviceButtons.getPosition( TransformSpace.GLOBAL).getX(),\r\n\t\t\t\tpnlSubDeviceButtons.getPosition( TransformSpace.GLOBAL).getY() + pnlSubDeviceButtons.getHeightXY( TransformSpace.GLOBAL)\r\n\t\t);\r\n\t}", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public int getPosition() {\n return position;\n }", "public int getPosition() {\n return position;\n }", "public int getPosition() {\n return position;\n }", "public Punto getPos() {\n\t\treturn pos;\n\t}", "public float getxPosition() {\n return xPosition;\n }" ]
[ "0.7088857", "0.67137307", "0.66436815", "0.6344583", "0.6250162", "0.6224025", "0.6132923", "0.6117019", "0.60921276", "0.6081524", "0.604712", "0.5996497", "0.59914565", "0.5973339", "0.595441", "0.5953392", "0.59499776", "0.59416926", "0.59416926", "0.59416926", "0.59416926", "0.59416926", "0.59374475", "0.59357166", "0.5917706", "0.59035087", "0.5901409", "0.5891025", "0.5884613", "0.58815825", "0.5877027", "0.5871211", "0.5871211", "0.5853803", "0.5847465", "0.58416384", "0.58390695", "0.5832796", "0.58303696", "0.5829589", "0.5816252", "0.5809141", "0.580612", "0.57961696", "0.5793527", "0.57875395", "0.5786351", "0.5785826", "0.57845473", "0.57812935", "0.5780843", "0.57748115", "0.57663125", "0.57571006", "0.57553226", "0.5738562", "0.57317233", "0.5727246", "0.5725641", "0.5723514", "0.5720061", "0.5718385", "0.5703428", "0.5700822", "0.5698844", "0.56949514", "0.56949514", "0.569204", "0.5688237", "0.5680284", "0.56756896", "0.5674217", "0.5670621", "0.5669654", "0.5668321", "0.5664145", "0.56638426", "0.5661689", "0.56614435", "0.56612104", "0.56610847", "0.5652435", "0.56440026", "0.56419694", "0.56361437", "0.5635558", "0.56182647", "0.5614357", "0.5613394", "0.56130695", "0.56110984", "0.5608762", "0.5606307", "0.5605678", "0.5605678", "0.5605416", "0.5605416", "0.5605416", "0.5601208", "0.5600293" ]
0.7378835
0
True if has "controlPosition" attribute
boolean isSetControlPosition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetPos() {\n return this.pos != null;\n }", "public boolean isSetPos() {\n return this.pos != null;\n }", "public boolean hasPosition() {\n return fieldSetFlags()[7];\n }", "boolean hasPosition();", "boolean hasPosition();", "boolean hasPosition();", "boolean hasPosition();", "boolean isSetAnchorOffset();", "boolean isSetBeginPosition();", "boolean hasTargetPos();", "public boolean hasStartPosition() {\n return ((bitField0_ & 0x00000008) != 0);\n }", "boolean hasStartPosition();", "boolean hasStartPosition();", "public boolean hasStartPosition() {\n return ((bitField0_ & 0x00000008) != 0);\n }", "public boolean hasPosition() {\n return positionBuilder_ != null || position_ != null;\n }", "public boolean hasPosition() {\n return positionBuilder_ != null || position_ != null;\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean isSetControls() {\n return this.Controls != null;\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "boolean hasPositionX();", "boolean hasPositionX();", "boolean hasPositionX();", "@java.lang.Override\n public boolean hasPosition() {\n return position_ != null;\n }", "@java.lang.Override\n public boolean hasPosition() {\n return position_ != null;\n }", "public boolean isSetPositionX() {\r\n return EncodingUtils.testBit(__isset_bitfield, __POSITIONX_ISSET_ID);\r\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean hasPositionX() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean isAutoPosition();", "boolean isSetOffset();", "public java.lang.Boolean getIsposition() {\n\treturn isposition;\n}", "public boolean hasControlNumber() {\n return fieldSetFlags()[4];\n }", "public boolean isSetPositionY() {\r\n return EncodingUtils.testBit(__isset_bitfield, __POSITIONY_ISSET_ID);\r\n }", "public synchronized boolean isInPosition(){\r\n\t\tSystem.out.println(\"wheel: \" + flywheel.isFlywheelAtSpeed() + \r\n\t\t\t\t\" hood: \" + hood.isInPosition() + \r\n\t\t\t\t\" turret: \" + turret.isInPosition() + \r\n\t\t\t\t\" kicker: \" + kicker.isInPosition());\r\n\t\treturn flywheel.isFlywheelAtSpeed() && \r\n\t\t\t\thood.isInPosition() && \r\n\t\t\t\tturret.isInPosition() && \r\n\t\t\t\tkicker.isInPosition();\r\n\t}", "boolean hasPositionY();", "boolean hasPositionY();", "boolean hasPositionY();", "boolean isSetControlType();", "public boolean hasOriginp() {\n return fieldSetFlags()[2];\n }", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean isSetOffsets() {\n return this.offsets != null;\n }", "public boolean hasLocation() {\n return fieldSetFlags()[3];\n }", "public boolean isCenteringOverCoords()\n\t{\n\t\treturn centerOverCoords;\n\t}", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "boolean isOffset();", "boolean isOffset();", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "boolean isSetRawOffset();", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "public boolean hasPositionY() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "boolean hasOffset();", "public boolean atPosition() {\n return m_X.getClosedLoopError() < Constants.k_ToleranceX;\n }", "boolean hasManagedPlacementView();", "@java.lang.Override\n public boolean hasScrollOffsetX() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "public boolean isSetShortPosition() {\n return EncodingUtils.testBit(__isset_bitfield, __SHORTPOSITION_ISSET_ID);\n }", "boolean hasScrollOffsetX();", "public boolean isSetNetPosition() {\n return EncodingUtils.testBit(__isset_bitfield, __NETPOSITION_ISSET_ID);\n }", "boolean hasCoordInfo();", "public boolean hasPositionCall() {\n if (_left.hasPositionCall()) return true;\n if (_right.hasPositionCall()) return true;\n return false;\n }", "boolean isSetEndPosition();", "public boolean hasOriginh() {\n return fieldSetFlags()[1];\n }", "boolean hasCoordinates();", "boolean hasCoordinates();", "boolean hasCoordinates();", "boolean isSetDirection();", "public boolean hasCoordInfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "@java.lang.Override\n public boolean hasScrollOffsetX() {\n return instance.hasScrollOffsetX();\n }", "public boolean isSetPositionId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __POSITIONID_ISSET_ID);\n }", "public boolean hasCoordInfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean hasPt() {\n return fieldSetFlags()[0];\n }", "public boolean hasOffset() {\n return fieldSetFlags()[2];\n }", "public boolean hasControl() throws IllegalStateException\n {\n return audioEffect.hasControl();\n }", "boolean hasOrigin();", "boolean hasOrigin();", "public boolean isShowControls() {\r\n return showControls;\r\n }", "public boolean getEnablePositionIncrements() {\n return enablePositionIncrements;\n }", "public boolean needCoordinates() { return needCoords; }", "public Boolean getCanMoveFacets() {\r\n return getAttributeAsBoolean(\"canMoveFacets\");\r\n }", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "boolean hasGroupPlacementView();", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "boolean hasHasXCoordinate();", "public boolean hasOffset() {\n return fieldSetFlags()[6];\n }", "public boolean hasMetricControl() {\n return metricControlBuilder_ != null || metricControl_ != null;\n }", "public void checkPosition(){\n int absPos = mArm.getSensorCollection().getPulseWidthPosition();\n // mArm.configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder);\n mArm.setSelectedSensorPosition(absPos - offset);\n }", "public boolean isEditing() { RMShape p = getParent(); return p!=null && p.isEditing(); }", "public boolean\ngetShowBoundingShape()\n{\n\treturn (this.showBoundingShape);\n}", "public boolean someLegalPos() {\n return !legalPos.isEmpty();\n }", "boolean isPlaced();", "protected boolean checkScrollPosition(){\n\t\treturn false;\n\t}", "private boolean visible() {\r\n return NOT(GO() && CATS(Cc,Cn,Co,Cs,Zl,Zp)) && POINT();\r\n }", "public boolean getBorderVisible() {\n checkWidget();\n return borderLeft == 1;\n }", "public boolean isSetPositionAvgPrice() {\n return EncodingUtils.testBit(__isset_bitfield, __POSITIONAVGPRICE_ISSET_ID);\n }", "public boolean hasUiPlace() {\n return ((bitField0_ & 0x00000010) != 0);\n }" ]
[ "0.7175118", "0.7175118", "0.7173384", "0.6918224", "0.6918224", "0.6918224", "0.6918224", "0.6753249", "0.6752585", "0.6742937", "0.67365324", "0.6735415", "0.6735415", "0.67190206", "0.66611964", "0.66611964", "0.66507673", "0.6627912", "0.662444", "0.66126376", "0.66124785", "0.6593395", "0.65861094", "0.65650153", "0.65650153", "0.65650153", "0.65591896", "0.65591896", "0.654493", "0.6540052", "0.6519387", "0.64491546", "0.6357366", "0.63561946", "0.63305974", "0.63073796", "0.6275811", "0.6262145", "0.6262145", "0.6262145", "0.6207019", "0.6185388", "0.617342", "0.61705726", "0.61697245", "0.616933", "0.6163656", "0.616096", "0.6154635", "0.6154635", "0.61508155", "0.60996693", "0.6097137", "0.6095686", "0.6093051", "0.6063097", "0.606196", "0.60612977", "0.6055469", "0.60403687", "0.6026347", "0.6008749", "0.5982536", "0.5963914", "0.5904", "0.5899529", "0.5899529", "0.5899529", "0.5898802", "0.5896374", "0.5891408", "0.589129", "0.58854944", "0.5882758", "0.5875717", "0.58695", "0.58580023", "0.58580023", "0.5847557", "0.58175504", "0.5814927", "0.58083415", "0.58047354", "0.58047354", "0.58045876", "0.57983935", "0.5794394", "0.5794083", "0.57925236", "0.5789484", "0.5789089", "0.57845986", "0.5784217", "0.57749635", "0.573449", "0.5730653", "0.57295114", "0.5729065", "0.56867087", "0.56846666" ]
0.88725793
0
Sets the "controlPosition" attribute
void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "@Override\npublic void setControlXControlY(int newControlXValue, int newControlYValue) {\n\tsetControlX(newControlXValue);\n\tsetControlY(newControlYValue);\n\t\n}", "public final void setControls(ControlPosition controlPosition, Element element) {\n setControls(controlPosition.value(), element);\n }", "@Override\n\tpublic void setPosition(int left)\n\t{\n\t\t_mainPanel.getElement().getStyle().setLeft(left, Style.Unit.PX) ;\n\t}", "public void setPos(int pos);", "public void setPos(int pos);", "public void setPosition(Position pos);", "public void setPosition(int position);", "boolean isSetControlPosition();", "void unsetControlPosition();", "void setPosition(Position position);", "void setPosition(Position position);", "protected final void windowLocationControl(){\n\t\tthis.setLocation(0, 0);\n\t}", "void setPosition(double xPos, double yPos);", "private void setPosition(int startPosition) {\n switch (direction) {\n case UP:\n case DOWN:\n this.posX = componentToMove.getX();\n this.posY = componentToMove.getY() + (direction == Direction.UP ? startPosition : -startPosition);\n break;\n default:\n this.posX = componentToMove.getX() + (direction == Direction.LEFT ? startPosition : -startPosition);\n this.posY = componentToMove.getY();\n }\n }", "public void setPosition(Integer position);", "public void setPosition(int position) {\r\n if (position > 24) position = 24;\r\n this.position = position;\r\n }", "public void PositionSet(int position);", "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetPos(MetaVarVector positionVar);", "public void setPosition(Point position);", "public void setPosition(Position p);", "public void setControl( Control control ) {\n checkWidget();\n if ( control != null ) {\n if ( control.isDisposed() )\n error( SWT.ERROR_INVALID_ARGUMENT );\n if ( control.parent != parent )\n error( SWT.ERROR_INVALID_PARENT );\n }\n this.control = control;\n if ( control != null ) {\n int controlWidth = itemBounds.width - MINIMUM_WIDTH;\n if ( (style & SWT.DROP_DOWN) != 0 && itemBounds.width < preferredWidth ) {\n controlWidth -= CHEVRON_IMAGE_WIDTH + CHEVRON_HORIZONTAL_TRIM\n + CHEVRON_LEFT_MARGIN;\n }\n control.setBounds( parent.fixRectangle( itemBounds.x + MINIMUM_WIDTH,\n itemBounds.y, controlWidth, itemBounds.height ) );\n }\n }", "@PropertySetter(role = POSITION)\n\t<E extends CtElement> E setPosition(SourcePosition position);", "public void setLabelPosition(int x, int y);", "public void setPosition(){\r\n currentPosition = 0; \r\n }", "public void setPosition(Coordinate position) {\n cPosition = position;\n }", "public void setPosition(Point newPosition);", "public void setPosition(int position) {\r\r\r\r\r\r\n this.position = position;\r\r\r\r\r\r\n }", "public void setPosition(int newPos) {\n this.position = newPos;\n\n this.database.update(\"AnswerOptions\", \"matchingPosition = '\" + position + \"'\", \"optionId = \" + this.optionId);\n }", "public abstract void setPosition(Position position);", "void setPosition(Position p);", "private void setCurrentPos() {\n\t\tcurrentPos=layout_Circle[l.y][l.x];\n\t\tcurrentPos.setFill(Paint.valueOf(\"Red\"));\n\n\t\tsetValidMoves();\n\t}", "public void setPosition(int position)\r\n {\r\n this.position = position;\r\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public void setPosition(Dot position) {\r\n\t\tthis.position = position;\r\n\t}", "public void setPosition(ServoPosition sp) {\n\t\tif (sp.equals(ServoPosition.UP)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, upPulse);\n\t\t} else if (sp.equals(ServoPosition.CENTER)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, centerPulse);\n\t\t} else if (sp.equals(ServoPosition.DOWN)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, downPulse);\n\t\t}\n\t}", "public void setPosicao() {\n Dimension d = this.getDesktopPane().getSize();\n this.setLocation((d.width - this.getSize().width) / 2, (d.height - this.getSize().height) / 2);\n }", "public void setPosition(int posX, int posY) {\n\t}", "public void setTabPosition( final int position ) {\n checkWidget();\n if( position != SWT.TOP && position != SWT.BOTTOM ) {\n SWT.error( SWT.ERROR_INVALID_ARGUMENT );\n }\n if( onBottom != ( position == SWT.BOTTOM ) ) {\n onBottom = position == SWT.BOTTOM;\n borderTop = onBottom ? borderLeft : 0;\n borderBottom = onBottom ? 0 : borderRight;\n updateTabHeight( true );\n updateItemsWithResizeEvent();\n }\n }", "public void resetRobotPositionOnUI() {\r\n\t\tthis.x = checkValidX(1);\r\n\t\tthis.y = checkValidY(1);\r\n\t\ttoggleValid();\r\n\t\trobotImage.setLocation(Constant.MARGINLEFT + (Constant.GRIDWIDTH * 3 - Constant.ROBOTWIDTH)/2 + (x-1) * Constant.GRIDWIDTH, Constant.MARGINTOP + (Constant.GRIDHEIGHT * 3 - Constant.ROBOTHEIGHT)/2 + (y-1) * Constant.GRIDHEIGHT);\r\n\t\t\r\n\t}", "public void setTextPosition(Position position)\n {\n int pos = position.value;\n JLabel jl = getComponent();\n if ((pos&NORTH.value) != 0)\n jl.setVerticalTextPosition(SwingConstants.TOP);\n else if ((pos&SOUTH.value) != 0)\n jl.setVerticalTextPosition(SwingConstants.BOTTOM);\n else\n jl.setVerticalTextPosition(SwingConstants.CENTER);\n if ((pos&EAST.value) != 0)\n jl.setHorizontalTextPosition(SwingConstants.RIGHT);\n else if ((pos&WEST.value) != 0)\n jl.setHorizontalTextPosition(SwingConstants.LEFT);\n else\n jl.setHorizontalTextPosition(SwingConstants.CENTER);\n invalidateSize();\n }", "public void setPosition(float x, float y);", "public void setControl (Control control) {\r\n\tcheckWidget();\r\n\tif (control != null) {\r\n\t\tif (control.isDisposed()) error (SWT.ERROR_INVALID_ARGUMENT);\r\n\t\tif (control.parent != parent) error (SWT.ERROR_INVALID_PARENT);\r\n\t}\r\n\tif ((style & SWT.SEPARATOR) == 0) return;\r\n\tControl oldControl = this.control;\r\n\tthis.control = control;\r\n\tif (oldControl != null) {\r\n\t\tOS.PtReParentWidget(oldControl.handle, parent.parentingHandle ());\r\n\t}\r\n\tif (control != null && !control.isDisposed ()) {\r\n\t\tOS.PtReParentWidget(control.handle, handle);\r\n\t\tcontrol.setBounds (getBounds ());\r\n\t}\r\n}", "@Override\n public void valueChanged(double control_val) {\n samplePlayer.setPosition(control_val);\n setAudioTextPosition(control_val);\n // Write your DynamicControl code above this line \n }", "@Override\n public void triggerEvent() {\n samplePlayer.setPosition(loop_start.getCurrentValue());\n // Write your DynamicControl code above this line \n }", "<E extends CtElement> E setPositions(SourcePosition position);", "public void setPosition(Position pos) {\n \tthis.position = pos;\n \t//setGrade();\n }", "public void setPosition(int position) {\r\n this.position = position;\r\n }", "public void setPosition ( TextPosition position ) throws OutOfBoundsException { _cursorPosition = position; }", "public LabelBuilder setPosition(Position position) {\n\t\tIsBuilder.checkIfValid(getOptionsBuilder());\n\t\tlabel.setPosition(position);\n\t\treturn this;\n\t}", "public void setAutoPosition(boolean autoPosition);", "private void positionMode() {\n\t\ttestMotor.setProfile(0);\n\t\ttestMotor.ClearIaccum();\n\t\ttestMotor.set(testMotor.getPosition());\n\t\ttestMotor.ClearIaccum();\n\t}", "@Override\n public void setPosition(float x, float y) {\n }", "public void setPosition(int position) {\r\n\t\tthis.position = position;\r\n\t}", "void setPos(float x, float y);", "@Override\n\t/**\n\t * sets the position of the class\n\t * \n\t * @param i\n\t */\n\tpublic void setPosition(int i) {\n\t\tposition = i;\n\t}", "@Generated\n @Selector(\"setPosition:\")\n public native void setPosition(@ByValue CGPoint value);", "void setOffsetPosition(double x, double y, double z);", "@Test\r\n\tpublic void testSetPosition(){\n\t\tWinnerTitle title = new WinnerTitle(1, 0, 0);\r\n\t\ttitle.setPosition(10, 40);\r\n\t\t\r\n\t\tassertEquals(10, title.getPositionX());\r\n\t\tassertEquals(40, title.getPositionY());\r\n\t}", "public void setCurrentPosition(int value) {\n this.currentPosition = value;\n }", "public void setPlayerPosition() throws IOException\r\n\t{\r\n\t\tboolean flag = false;\r\n\t\t\r\n\t\tint X = 0;\r\n\t\tint Y = 0;\r\n\t\t\r\n\t\twhile(flag == false)\r\n\t\t{\r\n\t\t\toStream.writeInt(X);\r\n\t\t\toStream.writeInt(Y);\r\n\t\t\tflag = iStream.readBoolean();\r\n\t\t\tX++;\r\n\t\t\tY++;\r\n\t\t}\r\n\t\tboard.makePlayer(X-1, Y-1);\r\n\t}", "void setPosition(Point point);", "public void setPosition(Vector2fc position){\n glfwSetWindowPos(handle, (int) position.x(), (int) position.y());\n this.position.set(position);\n }", "public void setPosition(int position)\n {\n put(\"Position\", position);\n }", "void setAnchorOffset(int anchorOffset);", "public void setPositionPauseMenu(){\r\n\t\tpauseMenu.setPosition(camera.position.x- canvas.getWidth()/PAUSE_MENU_POSITION_SCALE , camera.position.y-canvas.getHeight()/PAUSE_MENU_POSITION_SCALE );\r\n\t}", "@Override\n protected void positionChanged () {\n\n\n valueLabel.setPosition( this.getX() + ((this.getScaleX() * this.getWidth() - valueLabel.getScaleX() * valueLabel.getWidth()) / 2),\n this.getY() + ((this.getScaleY() * this.getHeight() - valueLabel.getScaleY() * valueLabel.getHeight()) / 2) );\n }", "void set_marker_position (double p_position) {\n //\n // Ensure the specific value is legal.\n //\n double l_position = Range.clip\n (p_position , SERVO_MARKER_MIN\n , SERVO_MARKER_MAX); // Servo position is restricted to protect from mechanical damage\n\n\n\n //\n // Set the right value.\n //\n if (marker!= null)\n {\n marker.setPosition (l_position);\n }\n\n }", "@Override\n public void setPosition(long position) throws IOException {\n super.setPosition(position - startPosition);\n }", "public void setControlView() {\n\t\tif (mControlView != null) {\n\t\t\tmControlView.setRepeat(Const.FILTER_TEXT);\n\t\t\tmControlView.setPhotoTimeType(mLogicManager.getPageNum());\n\t\t\tmControlView.setFileName(mLogicManager\n\t\t\t\t\t.getCurrentFileName(Const.FILTER_TEXT));\n\t\t\tmControlView.setFilePosition(mLogicManager.getTextPageSize());\n\t\t}\n\t\tif(null!=mInfo && mInfo.isShowing())\n\t\t{\n\t\t\tmInfo.setTextView();\n\t\t}\n\t}", "public void setPosition(Position pos) {\n position = new Position(pos);\n }", "public void setNodePositionXY (Point2D position) { n.setXYPositionMap(position); }", "public void setLocation(Point p) {\n // Not supported for MenuComponents\n }", "@Override\n public void setPosition(int position) {\n this.position = position;\n }", "public void setStartPosition() {\n bounds.offsetTo((SanitizorGame.mSurfaceWidth - bounds.width()) / 2,\n SanitizorGame.mSurfaceHeight - (BOTTOM_PADDING + bounds.height()));\n }", "public void setLoc(int x, int y)\n {\n powerUp.setBounds(x,y,65,29);\n text.setBounds(x,y,65,29);\n }", "public void setTopRight( final Control control ) {\n checkWidget();\n setTopRight( control, SWT.RIGHT );\n }", "void setPosition(Vector3f position);", "public void setCursor(int renglon){\n panel.setCaretPosition(renglon);\n }", "void setPosition(int position) {\n mPosition = position;\n }", "public void setPosition(final MowerPosition position) {\n this.position = position;\n }", "public com.opentext.bn.converters.avro.entity.ContentErrorEvent.Builder setPosition(int value) {\n validate(fields()[7], value);\n this.position = value;\n fieldSetFlags()[7] = true;\n return this;\n }", "public Builder setTargetPos(int value) {\n bitField0_ |= 0x00000008;\n targetPos_ = value;\n onChanged();\n return this;\n }", "public void setPosition(Integer position) {\n this.position = position;\n }", "public void SetPosition(Vector2 position)\n\t{\n\t\tTransform transform = parent.transform;\n\t\ttransform.position = position;\n\t\t// Dont loose your dP!\n\t\tpreviousPosition = Vector2.Add(position,velocity.negate());\n\t}", "public static final void setPosition(UIObject o, Rect pos) {\n Style style = o.getElement().getStyle();\n style.setPropertyPx(\"left\", pos.x);\n style.setPropertyPx(\"top\", pos.y);\n }", "public void setX(int x){ xPosition = x; }", "public void setLoc(int lx, int ly){\r\n \tbox.setLocation(lx,ly);\r\n }", "public void SetPosition(int i)\n {\n SetPosition(i, 1.0);\n }", "private void componentPositionAdjustment() {\n // set the y position of each element\n AnchorPane.setTopAnchor(nameLabel, 30.0);\n AnchorPane.setTopAnchor(name, 30.0);\n AnchorPane.setTopAnchor(fiberLabel, 70.0);\n AnchorPane.setTopAnchor(proteinLabel, 110.0);\n AnchorPane.setTopAnchor(fatLabel, 150.0);\n AnchorPane.setTopAnchor(caloriesLabel, 190.0);\n AnchorPane.setTopAnchor(carbohydrateLabel, 230.0);\n AnchorPane.setTopAnchor(fiber, 70.0);\n AnchorPane.setTopAnchor(calories, 190.0);\n AnchorPane.setTopAnchor(fat, 150.0);\n AnchorPane.setTopAnchor(carbohydrate, 230.0);\n AnchorPane.setTopAnchor(protein, 110.0);\n AnchorPane.setTopAnchor(id, 270.0);\n AnchorPane.setTopAnchor(idLabel, 270.0);\n AnchorPane.setTopAnchor(confirm, 310.0);\n AnchorPane.setTopAnchor(cancel, 310.0);\n // set the x position of each element\n AnchorPane.setLeftAnchor(fiberLabel, 20.0);\n AnchorPane.setLeftAnchor(proteinLabel, 20.0);\n AnchorPane.setLeftAnchor(fatLabel, 20.0);\n AnchorPane.setLeftAnchor(caloriesLabel, 20.0);\n AnchorPane.setLeftAnchor(carbohydrateLabel, 20.0);\n AnchorPane.setLeftAnchor(nameLabel, 20.0);\n AnchorPane.setLeftAnchor(idLabel, 20.0);\n AnchorPane.setLeftAnchor(name, 120.0);\n AnchorPane.setLeftAnchor(fiber, 120.0);\n AnchorPane.setLeftAnchor(calories, 120.0);\n AnchorPane.setLeftAnchor(fat, 120.0);\n AnchorPane.setLeftAnchor(id, 120.0);\n AnchorPane.setLeftAnchor(carbohydrate, 120.0);\n AnchorPane.setLeftAnchor(protein, 120.0);\n AnchorPane.setLeftAnchor(confirm, 50.0);\n AnchorPane.setLeftAnchor(cancel, 200.0);\n }", "public void setPosition(Point position) {\n this.position = new Point(position);\n update();\n }", "private void setCharacterPosition(Point position) {\n\t\tthis.characterPosition = position;\n\t}", "public void setPosition(Point position) {\n this.position = position;\n }", "void setPosition (double x, double y, double z);", "public void setPosition(BlockVector position)\n {\n this.position = position;\n }", "protected void setPosition(Position p) {\n\t\tposition = p;\n\t}", "public void setStartPosition(int y,int z,int x)\r\n\t{\r\n\t\tthis.startPosition = new Position(y,z,x);\r\n\t}", "public void move(){\n\t\t\tbx += (int)movex;\n\t\t\tby += (int)movey;\n\t\t\tthis.setBounds((int)bx,(int)by,10,10);\n\n\t\t\t\n\t\t}", "@Override\n\tpublic void setPosition(Vector3 pos) {\n\t\t\n\t}", "public void setMapPosition() {\n\t\txmap = levelState.getx();\n\t\tymap = levelState.gety();\n\t}" ]
[ "0.7113529", "0.6781173", "0.66223484", "0.6347161", "0.63276553", "0.63276553", "0.6298403", "0.62895846", "0.6191613", "0.61850756", "0.61228436", "0.61228436", "0.6107817", "0.6074384", "0.6072322", "0.6063389", "0.60301876", "0.60036874", "0.59472895", "0.5931693", "0.59243566", "0.59072095", "0.5893059", "0.5869927", "0.58680046", "0.5867108", "0.5861866", "0.58498335", "0.5842338", "0.58321536", "0.58126575", "0.57986987", "0.57978714", "0.57885975", "0.5786818", "0.57820076", "0.5767964", "0.5763106", "0.5761031", "0.5758642", "0.5731945", "0.5725557", "0.5705373", "0.57036245", "0.569707", "0.56900764", "0.5682522", "0.5673848", "0.56635225", "0.56603277", "0.5659729", "0.56468517", "0.5645248", "0.56445485", "0.56434256", "0.56285405", "0.56222934", "0.5613323", "0.56125766", "0.5609526", "0.5607873", "0.56027794", "0.5591228", "0.5571904", "0.556955", "0.5568026", "0.556286", "0.55442506", "0.55425346", "0.55328315", "0.55297494", "0.55292296", "0.551982", "0.55063784", "0.5503268", "0.5495675", "0.5486441", "0.54736066", "0.54727316", "0.5463439", "0.54550177", "0.54493344", "0.5449063", "0.54449916", "0.54419196", "0.5441647", "0.5441149", "0.5429063", "0.5427384", "0.54232526", "0.54200906", "0.541991", "0.54192257", "0.54161566", "0.5407013", "0.5396646", "0.53928417", "0.5388642", "0.5383966", "0.53811586" ]
0.72682357
0
Sets (as xml) the "controlPosition" attribute
void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "@Override\npublic void setControlXControlY(int newControlXValue, int newControlYValue) {\n\tsetControlX(newControlXValue);\n\tsetControlY(newControlYValue);\n\t\n}", "public void setPos(int pos);", "public void setPos(int pos);", "public void setPosition(int position);", "public void setPosition(Position pos);", "public final void setControls(ControlPosition controlPosition, Element element) {\n setControls(controlPosition.value(), element);\n }", "void setPosition(double xPos, double yPos);", "@Override\n\tpublic void setPosition(int left)\n\t{\n\t\t_mainPanel.getElement().getStyle().setLeft(left, Style.Unit.PX) ;\n\t}", "@PropertySetter(role = POSITION)\n\t<E extends CtElement> E setPosition(SourcePosition position);", "public void setPosition(Integer position);", "void setPosition(Position position);", "void setPosition(Position position);", "public void PositionSet(int position);", "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetPos(MetaVarVector positionVar);", "public void setPosition(Point position);", "boolean isSetControlPosition();", "public void setPosition(Position p);", "<E extends CtElement> E setPositions(SourcePosition position);", "public void setPosition(int position) {\r\n if (position > 24) position = 24;\r\n this.position = position;\r\n }", "public void setPosition(Point newPosition);", "public void setLabelPosition(int x, int y);", "public void setPosition(float x, float y);", "public abstract void setPosition(Position position);", "void setPosition(Position p);", "protected final void windowLocationControl(){\n\t\tthis.setLocation(0, 0);\n\t}", "public void setPosition(int posX, int posY) {\n\t}", "void setPos(float x, float y);", "private void setPosition(int startPosition) {\n switch (direction) {\n case UP:\n case DOWN:\n this.posX = componentToMove.getX();\n this.posY = componentToMove.getY() + (direction == Direction.UP ? startPosition : -startPosition);\n break;\n default:\n this.posX = componentToMove.getX() + (direction == Direction.LEFT ? startPosition : -startPosition);\n this.posY = componentToMove.getY();\n }\n }", "void unsetControlPosition();", "public void setNodePositionXY (Point2D position) { n.setXYPositionMap(position); }", "@Override\n public void setPosition(float x, float y) {\n }", "public void setPosition(Coordinate position) {\n cPosition = position;\n }", "@Generated\n @Selector(\"setPosition:\")\n public native void setPosition(@ByValue CGPoint value);", "void xsetAnchorOffset(org.apache.xmlbeans.XmlInt anchorOffset);", "public void setX(int x){ xPosition = x; }", "public void setPosition(Dot position) {\r\n\t\tthis.position = position;\r\n\t}", "public void setPosition(int position) {\r\r\r\r\r\r\n this.position = position;\r\r\r\r\r\r\n }", "public void setPosition(int newPos) {\n this.position = newPos;\n\n this.database.update(\"AnswerOptions\", \"matchingPosition = '\" + position + \"'\", \"optionId = \" + this.optionId);\n }", "void setPosition(Point point);", "public void setPosition(int position)\r\n {\r\n this.position = position;\r\n }", "org.landxml.schema.landXML11.TrafficControlPosition xgetControlPosition();", "public void setPlayerPosition() throws IOException\r\n\t{\r\n\t\tboolean flag = false;\r\n\t\t\r\n\t\tint X = 0;\r\n\t\tint Y = 0;\r\n\t\t\r\n\t\twhile(flag == false)\r\n\t\t{\r\n\t\t\toStream.writeInt(X);\r\n\t\t\toStream.writeInt(Y);\r\n\t\t\tflag = iStream.readBoolean();\r\n\t\t\tX++;\r\n\t\t\tY++;\r\n\t\t}\r\n\t\tboard.makePlayer(X-1, Y-1);\r\n\t}", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "@Test\r\n\tpublic void testSetPosition(){\n\t\tWinnerTitle title = new WinnerTitle(1, 0, 0);\r\n\t\ttitle.setPosition(10, 40);\r\n\t\t\r\n\t\tassertEquals(10, title.getPositionX());\r\n\t\tassertEquals(40, title.getPositionY());\r\n\t}", "void setOffsetPosition(double x, double y, double z);", "private MsoSmartArtNodePosition(int value) { this.value = value; }", "public void setPosition(ServoPosition sp) {\n\t\tif (sp.equals(ServoPosition.UP)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, upPulse);\n\t\t} else if (sp.equals(ServoPosition.CENTER)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, centerPulse);\n\t\t} else if (sp.equals(ServoPosition.DOWN)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, downPulse);\n\t\t}\n\t}", "@Override\n public void valueChanged(double control_val) {\n samplePlayer.setPosition(control_val);\n setAudioTextPosition(control_val);\n // Write your DynamicControl code above this line \n }", "private void setCurrentPos() {\n\t\tcurrentPos=layout_Circle[l.y][l.x];\n\t\tcurrentPos.setFill(Paint.valueOf(\"Red\"));\n\n\t\tsetValidMoves();\n\t}", "public LabelBuilder setPosition(Position position) {\n\t\tIsBuilder.checkIfValid(getOptionsBuilder());\n\t\tlabel.setPosition(position);\n\t\treturn this;\n\t}", "public void setPosition(int position)\n {\n put(\"Position\", position);\n }", "public void setLoc(int x, int y)\n {\n powerUp.setBounds(x,y,65,29);\n text.setBounds(x,y,65,29);\n }", "public void setPosition(){\r\n currentPosition = 0; \r\n }", "public void setPosition(Position pos) {\n \tthis.position = pos;\n \t//setGrade();\n }", "public void setPosition(Vector2fc position){\n glfwSetWindowPos(handle, (int) position.x(), (int) position.y());\n this.position.set(position);\n }", "@Override\n\tpublic void setOffsetBackToFile() {\n\t\tString newXString;\n\t\tString newYString;\n\t\t newXString = String.valueOf(getX().getValueInSpecifiedUnits())+getX().getUserUnit();\n\t newYString = String.valueOf(getY().getValueInSpecifiedUnits())+getY().getUserUnit();\n\t\tjc.getElement().setAttribute(\"x\", newXString);\n\t\tjc.getElement().setAttribute(\"y\", newYString);\n\t\ttry {\n\t\t\tjc.getView().getFrame().writeFile();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} \n\t}", "void set_marker_position (double p_position) {\n //\n // Ensure the specific value is legal.\n //\n double l_position = Range.clip\n (p_position , SERVO_MARKER_MIN\n , SERVO_MARKER_MAX); // Servo position is restricted to protect from mechanical damage\n\n\n\n //\n // Set the right value.\n //\n if (marker!= null)\n {\n marker.setPosition (l_position);\n }\n\n }", "public void setAutoPosition(boolean autoPosition);", "@Override\n\t/**\n\t * sets the position of the class\n\t * \n\t * @param i\n\t */\n\tpublic void setPosition(int i) {\n\t\tposition = i;\n\t}", "public static final void setPosition(UIObject o, Rect pos) {\n Style style = o.getElement().getStyle();\n style.setPropertyPx(\"left\", pos.x);\n style.setPropertyPx(\"top\", pos.y);\n }", "public void setPosition(int position) {\r\n this.position = position;\r\n }", "public void setCurrentPosition(int value) {\n this.currentPosition = value;\n }", "public void setLocation(Point p) {\n // Not supported for MenuComponents\n }", "public void setControl( Control control ) {\n checkWidget();\n if ( control != null ) {\n if ( control.isDisposed() )\n error( SWT.ERROR_INVALID_ARGUMENT );\n if ( control.parent != parent )\n error( SWT.ERROR_INVALID_PARENT );\n }\n this.control = control;\n if ( control != null ) {\n int controlWidth = itemBounds.width - MINIMUM_WIDTH;\n if ( (style & SWT.DROP_DOWN) != 0 && itemBounds.width < preferredWidth ) {\n controlWidth -= CHEVRON_IMAGE_WIDTH + CHEVRON_HORIZONTAL_TRIM\n + CHEVRON_LEFT_MARGIN;\n }\n control.setBounds( parent.fixRectangle( itemBounds.x + MINIMUM_WIDTH,\n itemBounds.y, controlWidth, itemBounds.height ) );\n }\n }", "public void setPosicao() {\n Dimension d = this.getDesktopPane().getSize();\n this.setLocation((d.width - this.getSize().width) / 2, (d.height - this.getSize().height) / 2);\n }", "public void setPosition(int position) {\r\n\t\tthis.position = position;\r\n\t}", "void setPosition (double x, double y, double z);", "public void setTextPosition(Position position)\n {\n int pos = position.value;\n JLabel jl = getComponent();\n if ((pos&NORTH.value) != 0)\n jl.setVerticalTextPosition(SwingConstants.TOP);\n else if ((pos&SOUTH.value) != 0)\n jl.setVerticalTextPosition(SwingConstants.BOTTOM);\n else\n jl.setVerticalTextPosition(SwingConstants.CENTER);\n if ((pos&EAST.value) != 0)\n jl.setHorizontalTextPosition(SwingConstants.RIGHT);\n else if ((pos&WEST.value) != 0)\n jl.setHorizontalTextPosition(SwingConstants.LEFT);\n else\n jl.setHorizontalTextPosition(SwingConstants.CENTER);\n invalidateSize();\n }", "public void resetRobotPositionOnUI() {\r\n\t\tthis.x = checkValidX(1);\r\n\t\tthis.y = checkValidY(1);\r\n\t\ttoggleValid();\r\n\t\trobotImage.setLocation(Constant.MARGINLEFT + (Constant.GRIDWIDTH * 3 - Constant.ROBOTWIDTH)/2 + (x-1) * Constant.GRIDWIDTH, Constant.MARGINTOP + (Constant.GRIDHEIGHT * 3 - Constant.ROBOTHEIGHT)/2 + (y-1) * Constant.GRIDHEIGHT);\r\n\t\t\r\n\t}", "public void setX(int xpos) {\r\n this.xpos = xpos;\r\n }", "void setAnchorOffset(int anchorOffset);", "public void set(int pos);", "public void setPosition(Position pos) {\n position = new Position(pos);\n }", "public void setMapPosition() {\n\t\txmap = levelState.getx();\n\t\tymap = levelState.gety();\n\t}", "void setX(int newX) {\n this.xPos = newX;\n }", "@Override\n protected void positionChanged () {\n\n\n valueLabel.setPosition( this.getX() + ((this.getScaleX() * this.getWidth() - valueLabel.getScaleX() * valueLabel.getWidth()) / 2),\n this.getY() + ((this.getScaleY() * this.getHeight() - valueLabel.getScaleY() * valueLabel.getHeight()) / 2) );\n }", "void setPos(Vec3 pos);", "public final void setXDPosition(final String xpos) {_xdpos = xpos;}", "public void setPosition(Vector2 pos) {\n\t\tsetX(pos.x);\n\t\tsetY(pos.y);\n\t}", "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public ControlNode(int controlID,String controlTypeId,int x, int y, int w, int h, int zOrder){\n this.controlID = controlID;\n this.controlTypeId = controlTypeId;\n this.x = x;\n this.y = y;\n this.w = w;\n this.h = h;\n this.zOrder = zOrder;\n \n }", "void setX(int x) {\n position = position.setX(x);\n }", "private void positionMode() {\n\t\ttestMotor.setProfile(0);\n\t\ttestMotor.ClearIaccum();\n\t\ttestMotor.set(testMotor.getPosition());\n\t\ttestMotor.ClearIaccum();\n\t}", "void setPosition(Vector3f position);", "public void setLoc(int lx, int ly){\r\n \tbox.setLocation(lx,ly);\r\n }", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "public void setStartPosition(int y,int z,int x)\r\n\t{\r\n\t\tthis.startPosition = new Position(y,z,x);\r\n\t}", "public void setControl (Control control) {\r\n\tcheckWidget();\r\n\tif (control != null) {\r\n\t\tif (control.isDisposed()) error (SWT.ERROR_INVALID_ARGUMENT);\r\n\t\tif (control.parent != parent) error (SWT.ERROR_INVALID_PARENT);\r\n\t}\r\n\tif ((style & SWT.SEPARATOR) == 0) return;\r\n\tControl oldControl = this.control;\r\n\tthis.control = control;\r\n\tif (oldControl != null) {\r\n\t\tOS.PtReParentWidget(oldControl.handle, parent.parentingHandle ());\r\n\t}\r\n\tif (control != null && !control.isDisposed ()) {\r\n\t\tOS.PtReParentWidget(control.handle, handle);\r\n\t\tcontrol.setBounds (getBounds ());\r\n\t}\r\n}", "public void setPosition(java.util.List position)\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(POSITION$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(POSITION$0);\n }\n target.setListValue(position);\n }\n }", "private void setCharacterPosition(Point position) {\n\t\tthis.characterPosition = position;\n\t}", "void setRawOffset(int rawOffset);", "void setPosNr(String posNr);", "@Override\n\tpublic void setPosition(Vector3 pos) {\n\t\t\n\t}", "@Test\r\n\tpublic void testSetPositionX(){\n\t\tWinnerTitle title = new WinnerTitle(1, 0, 0);\r\n\t\ttitle.setPositionX(10);\r\n\t\t\r\n\t\tassertEquals(10, title.getPositionX());\r\n\t}", "public void setPosition(Integer position) {\n this.position = position;\n }", "public void setPosition(Point position) {\n this.position = position;\n }", "PositionedObject(){\n float x = DrawingHelper.getGameViewWidth()/2;\n float y = DrawingHelper.getGameViewHeight()/2;\n _position.set(x,y);\n }", "public void setTabPosition( final int position ) {\n checkWidget();\n if( position != SWT.TOP && position != SWT.BOTTOM ) {\n SWT.error( SWT.ERROR_INVALID_ARGUMENT );\n }\n if( onBottom != ( position == SWT.BOTTOM ) ) {\n onBottom = position == SWT.BOTTOM;\n borderTop = onBottom ? borderLeft : 0;\n borderBottom = onBottom ? 0 : borderRight;\n updateTabHeight( true );\n updateItemsWithResizeEvent();\n }\n }", "public Builder setTargetPos(int value) {\n bitField0_ |= 0x00000008;\n targetPos_ = value;\n onChanged();\n return this;\n }" ]
[ "0.7518791", "0.6862644", "0.6414762", "0.6414762", "0.63311577", "0.63086313", "0.6269905", "0.6199976", "0.6195112", "0.61892444", "0.6173889", "0.6117504", "0.6117504", "0.61118007", "0.6102487", "0.60553247", "0.6052731", "0.60190254", "0.60127103", "0.6011755", "0.5948646", "0.59486365", "0.59301084", "0.5911423", "0.5903172", "0.58852774", "0.58811396", "0.58624786", "0.5857846", "0.5850577", "0.58492225", "0.5830074", "0.58196867", "0.58132434", "0.57891643", "0.57870483", "0.57791215", "0.5771147", "0.5755734", "0.5753939", "0.5719468", "0.5710597", "0.5699629", "0.5698492", "0.5696929", "0.56946003", "0.56590146", "0.56488764", "0.5648513", "0.56476927", "0.5634757", "0.56329566", "0.5630068", "0.56289387", "0.5626638", "0.5617583", "0.56141263", "0.56049085", "0.5604496", "0.55994314", "0.55810946", "0.5577615", "0.55740654", "0.55691695", "0.5564504", "0.5537654", "0.5534497", "0.55221105", "0.5521895", "0.55130744", "0.55127347", "0.5510887", "0.5504094", "0.5502564", "0.55006", "0.54990304", "0.5490465", "0.54892683", "0.54819375", "0.5479853", "0.5477415", "0.5466311", "0.545732", "0.5452924", "0.54525495", "0.5452394", "0.5436989", "0.5435318", "0.5432721", "0.5430422", "0.54298025", "0.5428695", "0.5425673", "0.5419796", "0.5418306", "0.54163027", "0.5412642", "0.5410268", "0.54063", "0.5402002" ]
0.757701
0
Unsets the "controlPosition" attribute
void unsetControlPosition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void resetPosition()\n {\n resetPosition(false);\n }", "void unsetControlType();", "void unsetBeginPosition();", "void unsetAnchorOffset();", "public void resetHorizontalPanelPosition() {\n setHorizontalPanelTranslation(0.0f);\n }", "void positionCleared();", "void reset() {\n setVisible(false);\n myJumpedOver = false;\n }", "void unsetOffset();", "public void reset() {\n position = 0;\n }", "public void resetRobotPositionOnUI() {\r\n\t\tthis.x = checkValidX(1);\r\n\t\tthis.y = checkValidY(1);\r\n\t\ttoggleValid();\r\n\t\trobotImage.setLocation(Constant.MARGINLEFT + (Constant.GRIDWIDTH * 3 - Constant.ROBOTWIDTH)/2 + (x-1) * Constant.GRIDWIDTH, Constant.MARGINTOP + (Constant.GRIDHEIGHT * 3 - Constant.ROBOTHEIGHT)/2 + (y-1) * Constant.GRIDHEIGHT);\r\n\t\t\r\n\t}", "public void remove(){\n\t\tsetBounds(800, 600, WIDTH, HEIGHT);\n\t}", "public void resetDrag(){\n\t\tsetCurrentPosition( new Point(0,0) );\n\t\tsetScale(1);\n\t\tlengthsYShift = defaultYShift;\n\t}", "public Builder clearPositionX() {\n bitField0_ = (bitField0_ & ~0x00000040);\n positionX_ = 0D;\n onChanged();\n return this;\n }", "public Builder clearPositionX() {\n bitField0_ = (bitField0_ & ~0x00000008);\n positionX_ = 0D;\n onChanged();\n return this;\n }", "public void reset(){\n\t\tthis.setPosition(DEFAULT_X, DEFAULT_Y);\t\n\t\tsetBounds(getX(), getY(), getDefaultWidth(), getHeight());\n\t\tcollisionBounds.setWidth(defaultWidth);\n\t\tspeed = 400;\n\t\tsetGlue(true);\n\t}", "public Builder clearPositionX() {\n bitField0_ = (bitField0_ & ~0x00000004);\n positionX_ = 0D;\n onChanged();\n return this;\n }", "public void reset()\r\n/* 89: */ {\r\n/* 90:105 */ this.pos = 0;\r\n/* 91: */ }", "@Override\npublic void setControlXControlY(int newControlXValue, int newControlYValue) {\n\tsetControlX(newControlXValue);\n\tsetControlY(newControlYValue);\n\t\n}", "void unsetRawOffset();", "public void reset() {\n setPrimaryDirection(-1);\n setSecondaryDirection(-1);\n flags.reset();\n setResetMovementQueue(false);\n setNeedsPlacement(false);\n }", "private void reset(){\n locationFieldX.setText(\"0.00\");\n locationFieldY.setText(\"0.00\");\n locationFieldZ.setText(\"0.00\");\n rotationFieldX.setText(\"0.00\");\n rotationFieldY.setText(\"0.00\");\n rotationFieldZ.setText(\"0.00\");\n scaleField.setText(\"1.00\");\n \n setObjects();\n setImage();\n }", "void unsetEndPosition();", "void unsetDirection();", "public void resetMoveCtr() {\n\t\t\n\t\t moveCtr=0;\n\t}", "public Builder clearTargetPos() {\n bitField0_ = (bitField0_ & ~0x00000008);\n targetPos_ = 0;\n onChanged();\n return this;\n }", "public void resetPaddleToStartingPosition(){\n myRectangle.setX(initialXLocation);\n }", "@Override\r\n\tpublic void reset() {\n\t\tposition.set(0, 0);\r\n\t\talive = false;\r\n\t}", "public Builder clearPositionY() {\n bitField0_ = (bitField0_ & ~0x00000010);\n positionY_ = 0D;\n onChanged();\n return this;\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder clearControlNumber() {\n controlNumber = null;\n fieldSetFlags()[4] = false;\n return this;\n }", "protected abstract boolean resetcontrols();", "public Builder clearPositionY() {\n bitField0_ = (bitField0_ & ~0x00000080);\n positionY_ = 0D;\n onChanged();\n return this;\n }", "public void reset()\n {\n currentPosition = 0;\n }", "public Builder clearPositionY() {\n bitField0_ = (bitField0_ & ~0x00000008);\n positionY_ = 0D;\n onChanged();\n return this;\n }", "public void reset() {\n\t\tif (marker >= 0) {\n\t\t\tsetSize(marker);\n\t\t\tmarker = -1;\n\t\t}\n\t}", "public void setPosition(){\r\n currentPosition = 0; \r\n }", "public Builder clearPosition() {\n if (positionBuilder_ == null) {\n position_ = null;\n onChanged();\n } else {\n position_ = null;\n positionBuilder_ = null;\n }\n\n return this;\n }", "public Builder clearPosition() {\n if (positionBuilder_ == null) {\n position_ = null;\n onChanged();\n } else {\n position_ = null;\n positionBuilder_ = null;\n }\n\n return this;\n }", "public void deActivateButton(){\n\t\tMainActivity.resetXY();\r\n\t}", "boolean isSetControlPosition();", "public void reset() {\n\t\tpos.tijd = 0;\r\n\t\tpos.xposbal = xposstruct;\r\n\t\tpos.yposbal = yposstruct;\r\n\t\tpos.hoek = Math.PI/2;\r\n\t\tpos.start = 0;\r\n\t\topgespannen = 0;\r\n\t\tpos.snelh = 0.2;\r\n\t\tbooghoek = 0;\r\n\t\tpos.geraakt = 0;\r\n\t\tgeraakt = 0;\r\n\t\t\r\n\t}", "void clearOffset();", "void xsetControlPosition(org.landxml.schema.landXML11.TrafficControlPosition controlPosition);", "public void resetPlayerPosition() {\n\t\tthis.tilePositionX = this.STARTING_X;\n\t\tthis.tilePositionY = this.STARTING_Y;\n\t}", "private synchronized void clearLayout() {\n\t\tmLeftViewIndex = -1;\n\t\tmRightViewIndex = 0;\n\t\tmDisplayOffset = 0;\n\t\tmCurrentX = mOffsetLeft;\n\t\tmNextX = 0;\n\t\tmMaxX = Integer.MAX_VALUE;\n\t}", "public void resetPuck() {\n this.puck.setPosition(new Point(this.center_point));\n }", "private void clearScrollOffsetX() {\n bitField0_ = (bitField0_ & ~0x00000010);\n scrollOffsetX_ = 0;\n }", "public void cleanUp(){\n\t\t//offset(-1*bounds.left, -1*bounds.top);\n\t}", "public void reset() {\r\n this.x = resetX;\r\n this.y = resetY;\r\n state = 0;\r\n }", "void unsetLabel();", "void setControlPosition(org.landxml.schema.landXML11.TrafficControlPosition.Enum controlPosition);", "@Override\n\tpublic void unsetVisible() {\n\t\tviewer.setVisible(false);\n\t\tscrollbar.setVisible(false);\n\t}", "public com.opentext.bn.converters.avro.entity.ContentErrorEvent.Builder clearPosition() {\n fieldSetFlags()[7] = false;\n return this;\n }", "public Builder clearStartPosition() {\n bitField0_ = (bitField0_ & ~0x00000008);\n startPosition_ = 0;\n onChanged();\n return this;\n }", "private void reset()\r\n\t{\r\n\t\t\r\n\t\toriginDock = null;\r\n\t\tdraggedDockable = null;\r\n\r\n\t}", "public Builder clearOffset() {\n \n offset_ = 0;\n onChanged();\n return this;\n }", "private void reset() {\n darkSquare.reset();\n lightSquare.reset();\n background.reset();\n border.reset();\n showCoordinates.setSelected(resetCoordinates);\n pieceFont.reset();\n }", "private void unsetValidMoves() {\n\t\tcurrentPos.setFill(Paint.valueOf(\"Dodgerblue\"));\n\n\t\tif(l.upValid) {\n\t\t\ttmp=layout_Circle[l.y-1][l.x];\n\t\t\ttmp.setFill(Paint.valueOf(\"Dodgerblue\"));\n\t\t}\n\n\t\tif(l.leftValid) {\n\t\t\ttmp=layout_Circle[l.y][l.x-1];\n\t\t\ttmp.setFill(Paint.valueOf(\"Dodgerblue\"));\n\t\t}\n\n\t\tif(l.rightValid) {\n\t\t\ttmp=layout_Circle[l.y][l.x+1];\n\t\t\ttmp.setFill(Paint.valueOf(\"Dodgerblue\"));}\n\t}", "void unsetOrganizationPositionList();", "public void hideControlPoints(){\n\t\tfor (ControlPoint c : controlPoints){\n\t\t\tc.setVisible(false);\n\t\t}\n\t}", "void unset() {\n size = min = pref = max = UNSET;\n }", "public void undoMove(){\n circleObj.setX(oldX);\n circleObj.setY(oldY); \n }", "public void resetTipoLayoutBuscador()\r\n {\r\n this.tipoLayoutBuscador = null;\r\n }", "public static void reset(){\r\n\t\tx=0;\r\n\t\ty=0;\r\n\t}", "public void resetEdit() {\n\t\t\n\t\textend.setSelected(false);\n\t\tpart.setSelected(false);\n\t\tendTypeLT.setSelected(false);\n\t\tendTypeRB.setSelected(false);\n\t\tpfFormL.setSelected(false);\n\t\t\n\t\tparts.setSelectedIndex(0);\n\t\t\n\t\tlCut.setSelectedIndex(0);\n\t\trCut.setSelectedIndex(0);\n\t\tpfCombo.setSelectedIndex(0);\n\t\t\n\t\tmullionPartForm = 1;\n\t\t\n\t\tendLT = 0;\n\t\tendRB = 0;\n\t\toffsetTL = 0; // offset from center (- or +)\n\t\toffsetBR = 0;\n\t\tdeltaTL = 0;\n\t\tdeltaRB = 0;\n\t\tcurveCenterTL = 0;\n\t\tcurveCenterRB = 0;\n\t\t\n\t\tpartID = 0;\n\t\tmullionThick = 0;\n\t\tmullionBtoC = 0;\n\t\tmullionC = 0;\n\t\tmullionA = 0;\n\t\t\n\t\t\n\t\tenableDisableBySeries();\n\t}", "public void resetState() {\n events.clear();\n justPressedKeys.clear();\n justReleasedKeys.clear();\n\n setAxisValue(InputAxis.MOUSE_X, 0);\n setAxisValue(InputAxis.MOUSE_Y, 0);\n setAxisValue(InputAxis.MOUSE_WHEEL_Y, 0);\n }", "private void clearButtonDown(Floor floor)\r\n\t{\r\n\t\t\tdirectionButtonPanels[floor.getNumber()][0]=LiftButton.NOT_ACTIVE;\r\n\t}", "public void reset(){\n active = false;\n done = false;\n state = State.invisible;\n curX = 0;\n }", "public void setPosicion(){\n ejeX = 0;\n ejeY = 0;\n }", "public void resetVisibleArea()\n {\n StandardDrawingEditor e = view.getEditor();\n e.getLWS().getUpdateManager().performUpdate();\n\n DoubleSize extent = frameUI.getPreferredSize();\n\n e.setMinVisibleArea(PrecisionUtilities.round(extent.width),\n PrecisionUtilities.round(extent.height),\n false);\n }", "void clearAnimatorPanel();", "public void reset()\n {\n // put your code here\n position = 0;\n order = \"\";\n set[0] = 0;\n set[1] = 0;\n set[2] = 0;\n }", "private void clearButtonUp(Floor floor)\r\n\t{\r\n\t\t\tdirectionButtonPanels[floor.getNumber()][1]=LiftButton.NOT_ACTIVE;\r\n\t}", "@Override\n public void undo() {\n node.toggleBoundaryMarker();\n }", "public final void moveInitialPanelOffsceen() {\n if (phasesUI != null) {\n phasesUI.setVisible(false);\n toggle = false;\n }\n }", "public void reset() {\r\n minX = null;\r\n maxX = null;\r\n minY = null;\r\n maxY = null;\r\n\r\n minIn = null;\r\n maxIn = null;\r\n\r\n inverted = false;\r\n }", "void unsetValue();", "void unsetValue();", "public void removeControl(int index) {\n\t\tif (index < 0 || index >= controls.size())\n\t\t\treturn;\n\t\tcontrols.remove(index);\n\t}", "public void resetMouseState() {\r\n \t\tmouseListner.setDefaultState();\r\n \t\tcomponentBar.clearButtonGroupSelection(0);\r\n \t\tif (graph != null) {\r\n \t\t\tgraph.clearSelection();\r\n \t\t\tsetGraphCursor(Cursor.getDefaultCursor());\r\n \t\t}\r\n \t}", "private void unsetWorking(){\n\t\tcalibrationButtonImageView.setClickable(true);\n\t\tcalibrationButtonImageView.setEnabled(true);\n progressDialog.dismiss();\n\t}", "public void deselectPanel() {\n\t\tthis.displayNumberBlock.setBackground(dispNormal);\n\t}", "void removeFocus();", "public synchronized void resetStyle() {\n \t\tstyleInitialized = false;\n \t}", "public void resetY() {this.startY = 11.3f;}", "public void zero() {\r\n\t\tthis.x = 0.0f;\r\n\t\tthis.y = 0.0f;\r\n\t}", "public void clearCommand(){\n up = false;\n left = false;\n right = false;\n }", "public void reset() { \r\n stop(); \r\n if (midi) \r\n sequencer.setTickPosition(0); \r\n else \r\n clip.setMicrosecondPosition(0); \r\n audioPosition = 0; \r\n progress.setValue(0); \r\n }", "public void clearEditMode()\n\t{\n\t\tpromptTarget = \"\";\n\t\tpromptType = \"\";\n\t\tcs = lastCs;\n\t}", "public void resetButtons() {\n\t\t group.clearSelection();\n\t }", "public void resetPosition() {\n\t\tposition = new double[3];\n\t\tgyroOffset = 0;\n\t}", "@Override\n\tpublic void removeLabelCharacter() {\n\t\tif (!editingLabel()) return;\n\t\tgetLabelState().setViewLabel(getCurrentViewLabel());\n\t\tgetLabelState().removeCharacter();\n\t}", "public void resetMove() {\n pointer = 0;\n }", "public void reset() {\n this.setIndex(0);\n }", "private void truncatePosition()\r\n {\n setTranslateX(getTranslateX() - Constants.inchesToPixels(getXInches() % 0.25));\r\n setTranslateY(getTranslateY() + Constants.inchesToPixels(getFlippedYInches() % 0.25));\r\n }", "private void reset(){\n plotValues.clear();\n xLabels.clear();\n }", "private void helperSwitchMoveOff()\r\n\t{\r\n\t\tFormMainMouse.isSampleMovable = false;\r\n\r\n\t\tImageIcon iconButton = FormUtils.getIconResource(FormStyle.RESOURCE_PATH_ICO_MOVE);\r\n\r\n\t\tmainFormLink.getComponentToolbar().getComponentButtonMove().setIcon(iconButton);\r\n\t}", "public void ClearActionPerformed(java.awt.event.ActionEvent evt) {\n drawingPanel.setPath(\"null\"); \r\n }", "public void reset() {\n\t\tx = 0;\n\t\ty = 0;\n\t\tdir = -90;\n\t\tcoul = 0;\n\t\tcrayon = true;\n\t\tlistSegments.clear();\n \t}", "void resetFocus();", "void resetFocus();" ]
[ "0.6972143", "0.69592226", "0.6675364", "0.65680605", "0.64053327", "0.63267666", "0.6308531", "0.62881196", "0.6286965", "0.6270659", "0.62499094", "0.62198675", "0.6137128", "0.6133139", "0.61317575", "0.6072614", "0.6064631", "0.60579145", "0.60542244", "0.601221", "0.60088766", "0.5996932", "0.59559476", "0.5936037", "0.5924574", "0.5921101", "0.59068984", "0.5887341", "0.5880851", "0.58789015", "0.5858336", "0.58582735", "0.58348876", "0.57854337", "0.5775409", "0.57684684", "0.57684684", "0.57530236", "0.5737682", "0.57212305", "0.57178795", "0.57085174", "0.5694807", "0.5691761", "0.5685716", "0.5683602", "0.567847", "0.56597567", "0.56476563", "0.56448984", "0.56323075", "0.5625135", "0.56198555", "0.56055003", "0.55946475", "0.55918586", "0.55853593", "0.55774504", "0.55596554", "0.5558297", "0.5554249", "0.553898", "0.5530185", "0.55265653", "0.55167055", "0.55088216", "0.550614", "0.5494268", "0.54918325", "0.5488948", "0.5488941", "0.5488587", "0.54876065", "0.54843414", "0.54736805", "0.5468722", "0.5468722", "0.5458794", "0.54518354", "0.5450227", "0.54500073", "0.54357564", "0.5430975", "0.5430369", "0.5427594", "0.5427235", "0.5425456", "0.54202294", "0.5413894", "0.541073", "0.5409968", "0.54044926", "0.54010344", "0.53871894", "0.53809756", "0.5373959", "0.5373656", "0.53693897", "0.5369019", "0.5369019" ]
0.91151196
0
Gets the "controlType" attribute
org.landxml.schema.landXML11.TrafficControlType.Enum getControlType();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Control getControl(String controlType);", "boolean isSetControlType();", "public int getReqType()\r\n {\r\n return safeConvertInt(getAttribute(\"type\"));\r\n }", "org.landxml.schema.landXML11.TrafficControlType xgetControlType();", "public String getcType() {\n return cType;\n }", "public String type() {\n\t\treturn IUIControl.TYPE_BUTTON;\n\t}", "public String get_type()\r\n\t{\r\n\t\treturn this.type;\r\n\t}", "public String getType(){\r\n return type;\r\n }", "public String getType()\r\n {\r\n return type;\r\n }", "public String getType()\n {\n\treturn type;\n }", "Type getHtmlInputFieldType();", "public String type(){\n\t\treturn type;\n\t}", "public String getType()\n \t{\n \t\treturn this.type;\n \t}", "public String getType() \n {\n return type;\n }", "public char getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType(){\n\treturn type;\n }", "public String getType() {\n\treturn type;\n }", "public String getType() \n {\n return this.type;\n }", "String getType() {\n return type;\n }", "public String getType() {\n return type; \n }", "public String getCocType() {\n\t\treturn cocType;\n\t}", "RunControlType getRunControl();", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String getType () {\n return type;\n }", "public String getType () {\n return type;\n }", "public String getType () {\n return type;\n }", "public String getTYPE() {\n return TYPE;\n }", "public String getType() {\r\n return type;\r\n }", "public String getType(){\r\n\t\treturn this.type;\r\n\t}", "public String getType() {\r\n return type;\r\n }", "public int Gettype(){\n\t\treturn type;\n\t}", "String getType() {\r\n return this.type;\r\n }", "public String getType(){\n\t\treturn type;\n\t}", "public String getType(){\n\t\treturn type;\n\t}", "public String getType()\r\n\t{\r\n\t\treturn type;\r\n\t}", "public String getType() {\r\n return this.type;\r\n }", "public char getType(){\n\t\treturn type;\n\t}", "public Object getControl(String controlType) {\n\t\tif (translator == null)\n\t\t\treturn manager.getControl(controlType);\n\t\telse\n\t\t\treturn translator.getControl(this, controlType);\n\t}", "public String getType() {\n return type;\n }", "public String getType(){\n \treturn this.type;\n }", "public char getType() {\n return type;\n }", "public char getType() {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType() {\r\r\n\t\treturn type;\r\r\n\t}", "public String getType()\n {\n return type;\n }", "String getTYPE() {\n return TYPE;\n }", "public String getType()\n\t{\n\t\treturn type;\n\t}", "public String getType() {\r\n\t\treturn this.type;\r\n\t}", "public char getType() {\n\t\treturn type;\n\t}", "public CIType getType() {\r\n\t\treturn type;\r\n\t}", "public String settingType() {\n return this.innerProperties() == null ? null : this.innerProperties().settingType();\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "protected String getType() {\n\t\treturn type;\n\t}", "public String getType(){\n return this.type;\n }", "public String getType() {\n return (String) getObject(\"type\");\n }", "public String getType() {\r\n\t\treturn type_;\r\n\t}", "public String getType() { return type; }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }" ]
[ "0.7206687", "0.6549649", "0.63327974", "0.6325051", "0.6290709", "0.6151159", "0.60990053", "0.60957336", "0.60899335", "0.6070567", "0.606146", "0.6054704", "0.6053452", "0.60497695", "0.602704", "0.6026117", "0.6026117", "0.6026117", "0.6026117", "0.6026117", "0.6025898", "0.6023964", "0.6023501", "0.6021733", "0.60175073", "0.6016424", "0.6013433", "0.6012514", "0.6012514", "0.6012514", "0.6012514", "0.6012514", "0.6012514", "0.6012019", "0.6012019", "0.6012019", "0.6010371", "0.6007363", "0.6004867", "0.60043675", "0.6003128", "0.60013855", "0.59995794", "0.59995794", "0.5999352", "0.59948415", "0.5994721", "0.5992892", "0.5987153", "0.59864163", "0.5984201", "0.5984201", "0.59807247", "0.59807247", "0.59807247", "0.59807247", "0.59807247", "0.59807247", "0.598048", "0.5968563", "0.5953126", "0.59517425", "0.5947683", "0.59465325", "0.594579", "0.59427667", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.5942353", "0.59371614", "0.5926812", "0.59226334", "0.59222686", "0.5920315", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826", "0.591826" ]
0.68222237
1
Gets (as xml) the "controlType" attribute
org.landxml.schema.landXML11.TrafficControlType xgetControlType();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.landxml.schema.landXML11.TrafficControlType.Enum getControlType();", "Control getControl(String controlType);", "public int getReqType()\r\n {\r\n return safeConvertInt(getAttribute(\"type\"));\r\n }", "public String getType () { return getAttributeOrDefault(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , \"\"); }", "public String getElementType() {\n\t\treturn (element_type);\n\t}", "public String getType(){\r\n return type;\r\n }", "public String getcType() {\n return cType;\n }", "public String getType()\r\n {\r\n return type;\r\n }", "public String getType(){\n\treturn type;\n }", "boolean isSetControlType();", "public String getType()\n {\n\treturn type;\n }", "public String getCocType() {\n\t\treturn cocType;\n\t}", "public String type(){\n\t\treturn type;\n\t}", "public final String getTypeAttribute() {\n return getAttributeValue(\"type\");\n }", "public String getType() \n {\n return type;\n }", "public String getType() { return type; }", "public String getType() {\n\treturn type;\n }", "public String getType()\n \t{\n \t\treturn this.type;\n \t}", "public String getType() {return type;}", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\r\n return type;\r\n }", "public String getType() {\n return type; \n }", "public String getType() {\n return type;\n }", "public String getType() {\r\n return type;\r\n }", "String getType() {\n return type;\n }", "public String getType(){\r\n\t\treturn this.type;\r\n\t}", "public String getType(){\n\t\treturn type;\n\t}", "public String getType(){\n\t\treturn type;\n\t}", "public String getType(){\n \treturn this.type;\n }", "public String getType() {\r\n return type;\r\n }", "public String getType () {\n return type;\n }", "public String getType () {\n return type;\n }", "public String getType () {\n return type;\n }", "public String settingType() {\n return this.innerProperties() == null ? null : this.innerProperties().settingType();\n }", "public String getType() {\r\n return this.type;\r\n }", "public String getType() \n {\n return this.type;\n }", "public String getType()\r\n\t{\r\n\t\treturn type;\r\n\t}", "public String getType()\n {\n return type;\n }", "String getType() {\r\n return this.type;\r\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "public String getType()\n {\n return type;\n }", "protected String getType() {\n\t\treturn type;\n\t}", "private String getType(){\r\n return type;\r\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "public String type() {\n return this.type;\n }", "String getTYPE() {\n return TYPE;\n }", "public String getType(){\n return this.type;\n }", "public String getType() {\r\r\n\t\treturn type;\r\r\n\t}", "public String get_type()\r\n\t{\r\n\t\treturn this.type;\r\n\t}", "public String getElementType()\n {\n return MENU_ELEMENT_TYPE;\n }", "protected String xmlType()\n {\n return PRS_XML;\n }", "public String getTYPE() {\n return TYPE;\n }", "public String getType() {\r\n\t\treturn this.type;\r\n\t}", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType() {\n return this.type;\n }", "public String getType()\n\t{\n\t\treturn type;\n\t}", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }", "public String getType() {\n return type;\n }" ]
[ "0.7015384", "0.6740713", "0.6272551", "0.6180262", "0.6089521", "0.6085066", "0.60470974", "0.6023964", "0.6011436", "0.5999356", "0.5997712", "0.59960693", "0.5991649", "0.59871453", "0.59832495", "0.5982885", "0.5977353", "0.59710807", "0.59633595", "0.5962597", "0.5962597", "0.5962597", "0.5962597", "0.5962597", "0.59614074", "0.5960788", "0.59594065", "0.5953227", "0.5951054", "0.5950751", "0.5950751", "0.59381133", "0.5936095", "0.5935142", "0.5935142", "0.5935142", "0.59312326", "0.59283453", "0.59254503", "0.59181005", "0.59132147", "0.5903795", "0.5897636", "0.5897636", "0.5897636", "0.5897636", "0.5897636", "0.5897636", "0.58972293", "0.5893193", "0.5893039", "0.5893039", "0.5893039", "0.5893039", "0.5893039", "0.5893039", "0.5890939", "0.5889568", "0.5886957", "0.58764553", "0.58686554", "0.58629376", "0.5860754", "0.5860108", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5858658", "0.5854918", "0.5854918", "0.58538723", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754", "0.58460754" ]
0.67362684
2
True if has "controlType" attribute
boolean isSetControlType();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetControls() {\n return this.Controls != null;\n }", "public boolean hasControlNumber() {\n return fieldSetFlags()[4];\n }", "public boolean isSetType() {\n return this.type != null;\n }", "public boolean isSetType() {\n return this.type != null;\n }", "public boolean isSetType() {\n return this.type != null;\n }", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "public boolean isSetType() {\n return (this.type != null ? this.type.isSetValue() : false);\n }", "public boolean hasType() {\n return fieldSetFlags()[0];\n }", "public boolean isSetType() {\n return this.type != null;\n }", "public boolean hasVehicleType() {\n return vehicleTypeBuilder_ != null || vehicleType_ != null;\n }", "@Override\n public boolean isTipoValido() {\n return true;\n }", "public boolean hasIntrospectionType() {\n return fieldSetFlags()[17];\n }", "boolean isSetControlPosition();", "public boolean isSetTypes() {\n return this.types != null;\n }", "public boolean isSetContructionType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(CONTRUCTIONTYPE$24) != null;\r\n }\r\n }", "boolean hasCriterionType();", "public boolean hasVehicleType() {\n return fieldSetFlags()[0];\n }", "public boolean getStructureRequired() {\n // Get server.properties's contentTypeGroupingInCX key value\n String contentTypesGrouping = PSServer.getProperty(SERVER_PROP_GROUP_CONTENTTYPES);\n\n // If server.properties contentTypeGroupingInCX key value (\"true\" to\n // turn on and other\n // than true to turn off)is set then toggle the content type grouping\n // feature.\n if (contentTypesGrouping != null)\n return contentTypesGrouping.trim().equalsIgnoreCase(\"true\");\n else\n return false;\n }", "public boolean hasDocumentType() {\n return fieldSetFlags()[11];\n }", "boolean hasFieldTypeId();", "boolean isNilAttributeTypeDisplayName();", "public boolean isSetCartypeconfig() {\n return this.cartypeconfig != null;\n }", "boolean hasPlaceholderType();", "public boolean isSetVendortype() {\n return __isset_bit_vector.get(__VENDORTYPE_ISSET_ID);\n }", "@java.lang.Override\n public boolean hasVehicleType() {\n return vehicleType_ != null;\n }", "public boolean hasMetricControl() {\n return metricControlBuilder_ != null || metricControl_ != null;\n }", "boolean isSetType();", "public boolean isAddTypeInfo() {\n\t\treturn this.addTypeInfo;\n\t}", "public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "boolean hasPropType();", "public boolean isDeviceTypeFieldPresent() {\r\n\t\treturn isElementPresent(addVehiclesHeader.replace(\"Add Vehicle\", \"Select Device Type\"), SHORTWAIT);\r\n\t}", "boolean hasDocumentType();", "public boolean isSetEntity_type() {\n return this.entity_type != null;\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public boolean hasControlNumberLevel1() {\n return fieldSetFlags()[5];\n }", "boolean hasFieldId();", "public boolean isTypeRegistrationRequired() {\n return typeRegistrationRequired;\n }", "public boolean getType() {\r\n\t\treturn type;\r\n\t}", "boolean isAttribute();", "boolean hasAttributes();", "boolean hasAttributes();", "boolean hasCardType();", "public boolean hasDynamicAttributes();", "public boolean isValidType() {\n return this.type == RADIUS_ATTR_USERNAME ||\n this.type == RADIUS_ATTR_NAS_IP ||\n this.type == RADIUS_ATTR_NAS_PORT ||\n this.type == RADIUS_ATTR_VENDOR_SPECIFIC ||\n this.type == RADIUS_ATTR_CALLING_STATION_ID ||\n this.type == RADIUS_ATTR_NAS_ID ||\n this.type == RADIUS_ATTR_ACCT_SESSION_ID ||\n this.type == RADIUS_ATTR_NAS_PORT_TYPE ||\n this.type == RADIUS_ATTR_EAP_MESSAGE ||\n this.type == RADIUS_ATTR_MESSAGE_AUTH ||\n this.type == RADIUS_ATTR_NAS_PORT_ID;\n }", "public boolean hasContainingParentType() {\n return fieldSetFlags()[2];\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean isSetTableType() {\n return this.tableType != null;\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean isSetOrderType() {\n return this.orderType != null;\n }" ]
[ "0.64627695", "0.6287893", "0.61961126", "0.61961126", "0.61961126", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61686724", "0.61400515", "0.6129858", "0.6119695", "0.61015224", "0.6090429", "0.6036919", "0.59875983", "0.59723467", "0.59645617", "0.5923272", "0.5871743", "0.58652437", "0.5850497", "0.5850155", "0.5840588", "0.58398736", "0.5832041", "0.58319813", "0.5829256", "0.5828002", "0.5826042", "0.57909656", "0.5777026", "0.57746553", "0.5767643", "0.5763644", "0.57627696", "0.5757117", "0.5744308", "0.57360363", "0.5724167", "0.5722287", "0.5701574", "0.56876767", "0.56876767", "0.56774306", "0.5676", "0.5674278", "0.5671314", "0.566927", "0.5657191", "0.56556654", "0.56556654", "0.56556654", "0.56555957", "0.56555957", "0.56555957", "0.56542355", "0.56541234", "0.56541234", "0.56541234", "0.5654066", "0.5649642" ]
0.8583862
0
Sets the "controlType" attribute
void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);", "void unsetControlType();", "boolean isSetControlType();", "public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;", "public void setType(String type);", "public void setType(String type);", "public void setType(String type);", "private void setControls(char functionType){\r\n if (functionType == 'I' ) {\r\n setControlsEnabled(true);\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'M') {\r\n setControlsEnabled(true);\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'V') {\r\n setControlsEnabled(false);\r\n btnOK.setEnabled(false);\r\n btnCancel.setEnabled(true);\r\n btnSponsor.setEnabled(false);\r\n txtComments.setOpaque(false);\r\n }else if (functionType == 'C') {\r\n setControlsEnabled(true);\r\n txtRolodexId.setText(\"\");\r\n txtLastUpdate.setText(\"\");\r\n txtUpdateUser.setText(\"\");\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'N') {\r\n setControlsEnabled(false);\r\n txtComments.setOpaque(false);\r\n }\r\n \r\n \r\n }", "public void setType(String inType)\n {\n\ttype = inType;\n }", "Control getControl(String controlType);", "public void setType (String type) { n.setAttribute(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , type); }", "protected void setTypeId(String typeId) {\n\t\tcontext.getElement().setAttribute(\"typeId\", \"org.csstudio.opibuilder.widgets.\" + typeId);\n\t}", "protected void setType(String requiredType){\r\n type = requiredType;\r\n }", "void setType(java.lang.String type);", "@Override\n\tpublic void setType(String type) {\n\t}", "void setDataType(int type );", "public void setType(int type) {\n type_ = type;\n }", "public void setType(char type) {\n this.type = type;\n }", "public void setType(char type) {\n this.type = type;\n }", "public void setType(String type){\n \tthis.type = type;\n }", "public void set_type(String t)\n {\n type =t;\n }", "void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setTypeName(java.lang.String value);", "public void setType(String type) \n {\n this.type = type;\n }", "public void setType(int nType) { m_nType = nType; }", "public void setNametype(Integer nametype) {\r\n this.nametype = nametype;\r\n }", "final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }", "void setType(Type type)\n {\n this.type = type;\n }", "public void setType(String type){\n this.type = type;\n }", "public void setType(String newtype)\n {\n type = newtype;\n }", "void setRendererType(String rendererType);", "public void setType(String t) {\n\ttype = t;\n }", "public void setType(int atype)\n {\n type = atype;\n }", "@JsProperty(name = \"type\")\n public native void setType(String value);", "public final void setType(String type){\n\t\tthis.type = type;\t\n\t}", "public void setType( String type )\n {\n this.type = type;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType( int type ) {\r\n typ = type;\r\n }", "void setClassType(String classType);", "public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }", "public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}", "private void setType(String type) {\n mType = type;\n }", "public void setType(int type) {\r\n this.type = type;\r\n }", "public void setType(int type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setTypeLabel(String typeLabel) {\r\n this.typeLabelText = typeLabel;\r\n this.typeLabel.setText(this.typeLabelText);\r\n }", "public void setType(int pType) {\n mType = pType;\n }", "void setControlSchema(Schema controlSchema);", "public void setType (int type) {\n this.type = type;\n }", "public void setType (int type) {\n this.type = type;\n }", "public void setType (int nType)\n\t{\n\t\tm_nType = nType;\n\t}", "public static void setType(String type) {\n Globals.type = type;\n setProperty(\"type\", type);\n }", "public void setType(int t) {\r\n\t\ttype = t;\r\n\t}", "public void setType( String type ) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType(int t){\n this.type = t;\n }", "@Override\n public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String aType) {\n iType = aType;\n }", "public void setClientType(String value) {\n setAttributeInternal(CLIENTTYPE, value);\n }", "public void setType(String type) {\r\r\n\t\tthis.type = type;\r\r\n\t}", "public final void setType(ApplicationFormItemType type){\n\t\tsetType(String.valueOf(type));\n\t}", "public void setType(java.lang.String newType) {\n\ttype = newType;\n}", "public void setType(String type)\r\n {\r\n this.mType = type;\r\n }", "public void setType(String value) {\n this.type = value;\n }", "public void setType(String type) {\r\n\t\tthis.type=type;\r\n\t}", "@JSProperty(\"type\")\n void setType(Type value);", "public void setType(int type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setPrmTypeCode(String value) {\n setAttributeInternal(PRMTYPECODE, value);\n }", "public void setType(String type){\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\r\n this.type = type.trim();\r\n }", "public void setType(String type) {\n m_Type = type;\n }", "public void setType (String typ) {\n type = typ;\n }", "private void setControlsForMethodType ( String methodType ) {\n \t\tif (getCurrentTestType().equalsIgnoreCase(JAX_RS) &&\n \t\t\t\t(methodType.equalsIgnoreCase(GET) ||\n \t\t\t\t methodType.equalsIgnoreCase(OPTIONS))) {\n \t\t\tbodyText.setEnabled(false);\n \t\t\ttreeRequestBody.getTree().setEnabled(false);\n \t\t} else {\n \t\t\tbodyText.setEnabled(true);\n \t\t\ttreeRequestBody.getTree().setEnabled(true);\n \t\t}\n \t}", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }" ]
[ "0.65632653", "0.62259376", "0.6158585", "0.6047671", "0.6006688", "0.6006688", "0.6006688", "0.59409523", "0.5920074", "0.5906241", "0.5885905", "0.578431", "0.57799137", "0.57638747", "0.57145", "0.57075924", "0.568068", "0.5670361", "0.5670361", "0.5667633", "0.5650961", "0.5649788", "0.56469834", "0.5615651", "0.56087816", "0.558684", "0.55834633", "0.5578625", "0.5577138", "0.55345464", "0.5533413", "0.5529287", "0.55165803", "0.5513736", "0.5510979", "0.5492569", "0.5484592", "0.5474238", "0.5472492", "0.54663587", "0.5464298", "0.54616654", "0.54528624", "0.54511446", "0.54511446", "0.5446344", "0.5446344", "0.5446344", "0.5446344", "0.54391664", "0.5428442", "0.542841", "0.542811", "0.542811", "0.54260105", "0.5420601", "0.5410424", "0.5410081", "0.5405969", "0.5405969", "0.5405969", "0.5403494", "0.5399454", "0.53983", "0.5387378", "0.5385285", "0.5371523", "0.53667593", "0.5364442", "0.5352341", "0.5346642", "0.5339281", "0.5337734", "0.53353053", "0.53340644", "0.53340644", "0.5330204", "0.5330204", "0.53225905", "0.53215635", "0.53100985", "0.5304347", "0.53028756", "0.53024405", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138", "0.530138" ]
0.68080604
0
Sets (as xml) the "controlType" attribute
void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);", "public void setType (String type) { n.setAttribute(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , type); }", "public void setType(String type);", "public void setType(String type);", "public void setType(String type);", "public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;", "boolean isSetControlType();", "void unsetControlType();", "protected void setTypeId(String typeId) {\n\t\tcontext.getElement().setAttribute(\"typeId\", \"org.csstudio.opibuilder.widgets.\" + typeId);\n\t}", "void setType(java.lang.String type);", "public void setType(String inType)\n {\n\ttype = inType;\n }", "Control getControl(String controlType);", "void xsetType(org.apache.xmlbeans.XmlString type);", "@Override\n\tpublic void setType(String type) {\n\t}", "final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }", "protected void setType(String requiredType){\r\n type = requiredType;\r\n }", "void setDataType(int type );", "void setClassType(String classType);", "void setControlSchema(Schema controlSchema);", "public void setType(String type){\n \tthis.type = type;\n }", "public void set_type(String t)\n {\n type =t;\n }", "void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(int type) {\n type_ = type;\n }", "public void setTypeName(java.lang.String value);", "public void setType(String type) \n {\n this.type = type;\n }", "public static void setType(String type) {\n Globals.type = type;\n setProperty(\"type\", type);\n }", "public void setType(int nType) { m_nType = nType; }", "private void setControls(char functionType){\r\n if (functionType == 'I' ) {\r\n setControlsEnabled(true);\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'M') {\r\n setControlsEnabled(true);\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'V') {\r\n setControlsEnabled(false);\r\n btnOK.setEnabled(false);\r\n btnCancel.setEnabled(true);\r\n btnSponsor.setEnabled(false);\r\n txtComments.setOpaque(false);\r\n }else if (functionType == 'C') {\r\n setControlsEnabled(true);\r\n txtRolodexId.setText(\"\");\r\n txtLastUpdate.setText(\"\");\r\n txtUpdateUser.setText(\"\");\r\n txtRolodexId.setEditable(false);\r\n txtLastUpdate.setEditable(false);\r\n txtUpdateUser.setEditable(false);\r\n }else if (functionType == 'N') {\r\n setControlsEnabled(false);\r\n txtComments.setOpaque(false);\r\n }\r\n \r\n \r\n }", "public void setClientType(String value) {\n setAttributeInternal(CLIENTTYPE, value);\n }", "public final void setType(String type){\n\t\tthis.type = type;\t\n\t}", "public void setType(String type){\n this.type = type;\n }", "public void setType(String t) {\n\ttype = t;\n }", "void setType(Type type)\n {\n this.type = type;\n }", "public void setType(char type) {\n this.type = type;\n }", "public void setType(char type) {\n this.type = type;\n }", "@JsProperty(name = \"type\")\n public native void setType(String value);", "private void setType(String type) {\n mType = type;\n }", "public void setType(String newtype)\n {\n type = newtype;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType( String type )\n {\n this.type = type;\n }", "public void setType(String value) {\n this.type = value;\n }", "public void setType(String type)\n\t\t{\n\t\t\tElement typeElement = XMLUtils.findChild(mediaElement, TYPE_ELEMENT_NAME);\n\t\t\tif (type == null || type.equals(\"\")) {\n\t\t\t\tif (typeElement != null)\n\t\t\t\t\tmediaElement.removeChild(typeElement);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (typeElement == null) {\n\t\t\t\t\ttypeElement = document.createElement(TYPE_ELEMENT_NAME);\n\t\t\t\t\tmediaElement.appendChild(typeElement);\n\t\t\t\t}\n\t\t\t\ttypeElement.setTextContent(type);\n\t\t\t}\n\t\t}", "public void setNametype(Integer nametype) {\r\n this.nametype = nametype;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "@Override\n public void setType(String type) {\n this.type = type;\n }", "void setRendererType(String rendererType);", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType(java.lang.String newType) {\n\ttype = newType;\n}", "public void setType(int atype)\n {\n type = atype;\n }", "public void setType(int type) {\r\n this.type = type;\r\n }", "public void setType(int type) {\r\n this.type = type;\r\n }", "public void setType( int type ) {\r\n typ = type;\r\n }", "public void setType( String type ) {\n this.type = type;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType (int type) {\n this.type = type;\n }", "public void setType (int type) {\n this.type = type;\n }", "public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }", "public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}", "public void setTypeSettings(java.lang.String typeSettings) {\n this.typeSettings = typeSettings;\n }", "public void setType(String type)\r\n {\r\n this.mType = type;\r\n }", "public void setType(String type) {\r\r\n\t\tthis.type = type;\r\r\n\t}", "public void setType(int t){\n this.type = t;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(int t) {\r\n\t\ttype = t;\r\n\t}", "public void setpermitTypeName(String value) {\n setAttributeInternal(PERMITTYPENAME, value);\n }", "public void setType (int nType)\n\t{\n\t\tm_nType = nType;\n\t}", "public void setType(String type) {\n m_Type = type;\n }", "public void setType(String type){\r\n if(type == null){\r\n throw new IllegalArgumentException(\"Type can not be null\");\r\n }\r\n this.type = type;\r\n }", "protected void setType(String newType) {\n\t\ttype = newType;\n\t}", "public void setType(int pType) {\n mType = pType;\n }", "public void setType (String typ) {\n type = typ;\n }", "public void setType(String type){\n\t\tthis.type = type;\n\t}", "public void setType(String aType) {\n iType = aType;\n }", "@JSProperty(\"type\")\n void setType(Type value);", "public void setTypeLabel(String typeLabel) {\r\n this.typeLabelText = typeLabel;\r\n this.typeLabel.setText(this.typeLabelText);\r\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\r\n\t\tthis.type=type;\r\n\t}", "public void setType(short type){\n\t\tthis.type = type;\n\t}", "public abstract void setType();", "@Override\r\n\tpublic void setTipo(Tipo t) {\n\t\t\r\n\t}", "public void setType(int type) {\n \t\tbrowserType = type;\n \t\tif (type == FILE_BROWSER) {\n \t\t\tdialogLabel = Messages.RemoteResourceBrowser_fileLabel;\n \t\t\tsetTitle(Messages.RemoteResourceBrowser_fileTitle);\n \t\t} else if (type == DIRECTORY_BROWSER) {\n \t\t\tdialogLabel = Messages.RemoteResourceBrowser_directoryLabel;\n \t\t\tsetTitle(Messages.RemoteResourceBrowser_directoryTitle);\n \t\t} else {\n \t\t\tdialogLabel = Messages.RemoteResourceBrowser_resourceLabel;\n \t\t\tsetTitle(Messages.RemoteResourceBrowser_resourceTitle);\n \t\t}\n \t}", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }" ]
[ "0.7145411", "0.63913935", "0.6219024", "0.6219024", "0.6219024", "0.6199407", "0.61132795", "0.6096444", "0.608307", "0.60583913", "0.5985018", "0.5984728", "0.5984547", "0.59627134", "0.5957281", "0.5951621", "0.58816755", "0.5873473", "0.5851673", "0.5833518", "0.58214307", "0.58160436", "0.58153135", "0.58104163", "0.580596", "0.57799846", "0.5759416", "0.572265", "0.57194126", "0.5718187", "0.57111424", "0.5695931", "0.5675093", "0.5667416", "0.56650805", "0.56650805", "0.56526357", "0.56501853", "0.5649502", "0.5646509", "0.5640798", "0.5632851", "0.562444", "0.5619123", "0.56105506", "0.56105506", "0.56105506", "0.56105506", "0.5601172", "0.55758405", "0.5572051", "0.5572051", "0.5572051", "0.5568276", "0.55663615", "0.55662215", "0.55662215", "0.55551434", "0.55548954", "0.55542105", "0.5552501", "0.5552501", "0.5551315", "0.5535246", "0.55226195", "0.5519369", "0.55149496", "0.5509266", "0.55024874", "0.55024874", "0.5500579", "0.549851", "0.54961604", "0.5495787", "0.54921776", "0.5489315", "0.54885876", "0.54880756", "0.5480328", "0.54797333", "0.54780823", "0.54680055", "0.54658633", "0.54658633", "0.54648346", "0.5463207", "0.5462324", "0.5460454", "0.545998", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166", "0.54542166" ]
0.71321446
1
Unsets the "controlType" attribute
void unsetControlType();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsetType();", "void unsetControlPosition();", "public void resetForm() {\n selectedTipo = null;\n }", "protected void typesReset() {\n\t valueList.setListData(nullValues);\n\t valueField.setEnabled(false);\n\t valueList.setEnabled(false);\t \t \n }", "public void resetTipoLayoutBuscador()\r\n {\r\n this.tipoLayoutBuscador = null;\r\n }", "public static void uninitJavaControls( ServletContext servletContext, PageFlowManagedObject controlClient )\n {\n Map controlFields = getAccessibleControlFieldAnnotations( controlClient.getClass(), servletContext );\n\n for ( Iterator i = controlFields.keySet().iterator(); i.hasNext(); )\n {\n Field controlField = ( Field ) i.next();\n\n try\n {\n Object fieldValue = controlField.get( controlClient );\n\n if ( fieldValue != null )\n {\n controlField.set( controlClient, null );\n destroyControl( fieldValue );\n }\n }\n catch ( IllegalAccessException e )\n {\n LOG.error( \"Exception while uninitializing Java Control \" + controlField.getName(), e );\n }\n }\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder clearControlNumber() {\n controlNumber = null;\n fieldSetFlags()[4] = false;\n return this;\n }", "public Builder clearType() {\n\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n type_ = 0;\n onChanged();\n return this;\n }", "public void clearProperties(){\n\t\tcbDataType.setSelectedIndex(DT_INDEX_NONE);\n\t\tchkVisible.setValue(false);\n\t\tchkEnabled.setValue(false);\n\t\tchkLocked.setValue(false);\n\t\tchkRequired.setValue(false);\n\t\ttxtDefaultValue.setText(null);\n\t\ttxtHelpText.setText(null);\n\t\ttxtText.setText(null);\n\t\ttxtBinding.setText(null);\n\t\ttxtDescTemplate.setText(null);\n\t\ttxtCalculation.setText(null);\n\t\ttxtFormKey.setText(null);\n\t}", "public void unsetContructionType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(CONTRUCTIONTYPE$24);\r\n }\r\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n\t\t\t\t\ttype_ = 0;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}", "public void unsetTypeId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(TYPEID$2, 0);\n }\n }", "public Builder clearType() {\n\n\t\t\t\ttype_ = 0;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = 0;\n onChanged();\n return this;\n }", "Form clearValidators();", "public void removeInputType(IInputType type);", "public void unsetMediaType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(MEDIATYPE$18);\n }\n }", "public void reset() {\r\n availableOptionsModel.getObject().clear();\r\n selectedOptionsModel.getObject().clear();\r\n paletteForm.visitChildren(FormComponent.class, new IVisitor<Component>() {\r\n @Override\r\n public Object component(Component component) {\r\n ((FormComponent<?>) component).clearInput();\r\n return Component.IVisitor.CONTINUE_TRAVERSAL;\r\n }\r\n });\r\n paletteForm.getModelObject().setSearchString(\"\");\r\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n type_ = 1;\n onChanged();\n return this;\n }", "public void resetTipoBusqueda()\r\n {\r\n this.tipoBusqueda = null;\r\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000008);\n type_ = 1;\n onChanged();\n return this;\n }", "private void clearInputFieldStyle(){\n nameInput.styleProperty().setValue(\"\");\n cogInput.styleProperty().setValue(\"\");\n wheelBaseInput.styleProperty().setValue(\"\");\n frontRollDistInput.styleProperty().setValue(\"\");\n cornerWeightFLInput.styleProperty().setValue(\"\");\n cornerWeightRLInput.styleProperty().setValue(\"\");\n cornerWeightRRInput.styleProperty().setValue(\"\");\n cornerWeightFRInput.styleProperty().setValue(\"\");\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000020);\n type_ = 0;\n onChanged();\n return this;\n }", "private void resetForm() {\r\n groupName = \"\";\r\n clearErrors();\r\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 1;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 1;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000004);\n type_ = 1;\n onChanged();\n return this;\n }", "void resetTextFields();", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000004);\n type_ = 0;\n onChanged();\n return this;\n }", "public void unsetAggregationType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(AGGREGATIONTYPE$2);\n }\n }", "public void reset() {\n\t\t\t// clear the field\n\t\t\ttextField.setValue(null);\n\t\t}", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = 0;\n onChanged();\n return this;\n }", "protected abstract void resetInputFields();", "public Builder clearTipo() {\n \n tipo_ = getDefaultInstance().getTipo();\n onChanged();\n return this;\n }", "public void unsetMemberTypes()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(MEMBERTYPES$2);\n }\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000008);\n type_ = fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType.FT_DEFAULT;\n onChanged();\n return this;\n }", "void unsetLabel();", "public Builder clearVehicleType() {\n if (vehicleTypeBuilder_ == null) {\n vehicleType_ = null;\n onChanged();\n } else {\n vehicleType_ = null;\n vehicleTypeBuilder_ = null;\n }\n\n return this;\n }", "public Builder clearType() {\n\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "protected abstract boolean resetcontrols();", "void xsetControlType(org.landxml.schema.landXML11.TrafficControlType controlType);", "public void unKingMe() {\r\n this.type = Type.SINGLE;\r\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000008);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "private void clearFields(){\n\t\tmiMatriculaLabel.setText(\"-\");\n\t\tmatriculaSearch.setText(\"\");\n\t\tmarcaText.setText(\"\");\n\t\tmodeloText.setText(\"\");\n\t\tanioText.setText(\"\");\n\t\titvText.setText(\"\");\n\t\tvehiculoSelected = null;\n\t\tchangeFieldsState(false);\n\t}", "public Builder clearLoginType() {\n \n loginType_ = 0;\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder clearControlNumberLevel1() {\n controlNumberLevel1 = null;\n fieldSetFlags()[5] = false;\n return this;\n }", "public void resetTextFields()\n {\n formattedFirstName.setValue(null);\n formattedLastName.setValue(null);\n formattedTitleOfWork.setValue(null);\n }", "public void reset() {\n tid.setEnabled(true);\n tid.setText(\"\");\n tname.setText(\"\");\n }", "Form removeDefaultRendererForElementClass(Class<? extends Element> clazz);", "public Builder clearType() {\n \n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n \n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000001);\n type_ = getDefaultInstance().getType();\n onChanged();\n return this;\n }", "public void resetAddressPanelType(String addressPanelType) {\n\t\tif (addressPanelType == null)\n\t\t\treturn;\n\t\tthis.addressPanelType = addressPanelType;\n\t\tif (this.addressPanelType.trim().equalsIgnoreCase(FULL_ADDRESS_PANEL)) {\n\t\t\tlblPhone2 = new JCMSLabel();\n\t\t\ttxtPhone2 = getJCMSMaskedTextField();\n\t\t\ttxtPhone3 = getJCMSMaskedTextField();\n\t\t\tif (nameSpec != null && nameSpec.length() > 0) {\n\t\t\t\ttxtPhone2.setDocument(new TextFilter(nameSpec, 15));\n\t\t\t\ttxtPhone3.setDocument(new TextFilter(nameSpec, 15));\n\t\t\t}\n\t\t\tlblPhone3 = new JCMSLabel();\t\t\t\n\t\t\tlblPhoneType1 = new JCMSLabel();\n\t\t\tcbxPhoneType1 = new JCMSComboBox();\n\t\t\tlblPhoneType2 = new JCMSLabel();\n\t\t\tcbxPhoneType2 = new JCMSComboBox();\n\t\t\tlblPhoneType3 = new JCMSLabel();\n\t\t\tcbxPhoneType3 = new JCMSComboBox();\n\t\t\tlblAddressType = new JCMSLabel();\n\t\t\tcbxAddressType = new JCMSComboBox();\n\t\t\tlblPhone1.setText(RESOURCE.getString(\"Phone 1\"));\n\t\t\tlblPhoneType1.setText(RESOURCE.getString(\"Type \"));\n\t\t\tlblPhone2.setText(RESOURCE.getString(\"Phone 2\"));\n\t\t\tlblPhoneType2.setText(RESOURCE.getString(\"Type\"));\n\t\t\tlblPhone3.setText(RESOURCE.getString(\"Phone 3\"));\n\t\t\tlblPhoneType3.setText(RESOURCE.getString(\"Type\"));\n\t\t\tlblAddressType.setText(RESOURCE.getString(\"Address Type\"));\n\t\t\ttxtPhone1.setName(\"PHONE1\");\n\t\t\ttxtPhone2.setName(\"PHONE2\");\n\t\t\ttxtPhone3.setName(\"PHONE3\");\n\t\t\tcbxPhoneType1.setName(\"PHONE_TYPE_1\");\n\t\t\tcbxPhoneType2.setName(\"PHONE_TYPE_2\");\n\t\t\tcbxPhoneType3.setName(\"PHONE_TYPE_3\");\n\t\t\tcbxAddressType.setName(\"ADDRESS_TYPE\");\n\t\t} else if (this.addressPanelType.trim().equalsIgnoreCase(SHIPPING_ADDRESS_PANEL)) {\n\t\t\tremove(lblPhone2);\n\t\t\tremove(txtPhone2);\n\t\t\tremove(lblPhone3);\n\t\t\tremove(txtPhone3);\n\t\t\tremove(lblPhoneType1);\n\t\t\tremove(cbxPhoneType1);\n\t\t\tremove(lblPhoneType2);\n\t\t\tremove(cbxPhoneType2);\n\t\t\tremove(lblPhoneType3);\n\t\t\tremove(cbxPhoneType3);\n\t\t\tremove(lblAddressType);\n\t\t\tremove(cbxAddressType);\n\t\t\tlblPhone2 = null;\n\t\t\ttxtPhone2 = null;\n\t\t\tlblPhone3 = null;\n\t\t\ttxtPhone3 = null;\n\t\t\tlblPhoneType1 = null;\n\t\t\tcbxPhoneType1 = null;\n\t\t\tlblPhoneType2 = null;\n\t\t\tcbxPhoneType2 = null;\n\t\t\tlblPhoneType3 = null;\n\t\t\tcbxPhoneType3 = null;\n\t\t\tlblAddressType = null;\n\t\t\tlblPhone1.setText(RESOURCE.getString(\"Phone\"));\n\t\t}\n\t}", "public ToggleControl() {\n\t\tfieldName = \"Untitled Control\";\n\t\tvalue = false;\n\t}", "public void unsetFacilityType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(FACILITYTYPE$4, 0);\n }\n }", "@Override\n\tpublic void clearForm() {\n\t\t\n\t}", "void setControlType(org.landxml.schema.landXML11.TrafficControlType.Enum controlType);", "public void unsetEnodebTypeValue() throws JNCException {\n delete(\"enodeb-type\");\n }", "private static void clearField(Object componente) {\r\n if (componente instanceof TextField) {\r\n ((TextField) componente).setText(\"\");\r\n } else if (componente instanceof ComboBox) {\r\n ((ComboBox) componente).getSelectionModel().clearSelection();\r\n } else if (componente instanceof DatePicker) {\r\n ((DatePicker) componente).setValue(null);\r\n } else if (componente instanceof TextArea) {\r\n ((TextArea) componente).setText(\"\");\r\n } else if (componente instanceof ChoiceBox) {\r\n ((ChoiceBox) componente).getSelectionModel().clearSelection();\r\n } else if (componente instanceof CheckBox) {\r\n ((CheckBox) componente).setSelected(false);\r\n }\r\n }", "void unsetInstallmentType();", "public Builder clearContentType() {\n \n contentType_ = 0;\n onChanged();\n return this;\n }", "public Builder clearRealValue() {\n if (typeCase_ == 4) {\n typeCase_ = 0;\n type_ = null;\n onChanged();\n }\n return this;\n }", "public void resetTipoBusquedaArbol()\r\n {\r\n this.tipoBusquedaArbol = null;\r\n }", "public void clear_type(String type) {\n\t\t/* Iterate through draw list */\n\t\tIterator<ArrayList<Drawable>> iter = this.drawlist.iterator();\n\t\twhile(iter.hasNext()) {\n\t\t\tArrayList<Drawable> layer = iter.next();\n\t\t\t/* Iterate through the layer. */\n\t\t\tIterator<Drawable> jter = layer.iterator();\n\t\t\twhile(jter.hasNext()) {\n\t\t\t\tif(jter.next().getType().equals(type)) {\n\t\t\t\t\tjter.remove();\n\t\t\t\t}//fi\n\t\t\t}//elihw\n\t\t}//elihw\n\t}", "public Builder clearDataType() {\n \n dataType_ = 0;\n onChanged();\n return this;\n }", "public void accountViewReset(){\n\t\taccountNameViewTextField.setText(null);\n\t\tuserRadioButton.setSelected(false);\n\t\tviewerRadioButton.setSelected(false);\n\t\t//\t\tuserClick = false;\n\t\t//\t\tviewerClick = false;\n\t\t//\t\tuserCheckBox.setSelected(userClick);\n\t\t//\t\tviewerCheckBox.setSelected(viewerClick);\n\t}", "void clearValidators();", "@SuppressWarnings(\"unused\")\r\n\tprivate SWTRadioButtonView() {\r\n\t\tthis.containingForm = null;\r\n\t}", "public void clearEditMode()\n\t{\n\t\tpromptTarget = \"\";\n\t\tpromptType = \"\";\n\t\tcs = lastCs;\n\t}", "public Builder clearStringValue() {\n if (typeCase_ == 5) {\n typeCase_ = 0;\n type_ = null;\n onChanged();\n }\n return this;\n }", "private void resetFields() {\n\t\tthis.barcodeField.clear();\r\n\t\tthis.barcodeField.setDisable(false);\r\n\t\tthis.nameField.clear();\r\n\t\tthis.descriptionField.clear();\r\n\t\tthis.mrpField.clear();\r\n\t\tthis.revisedMrpField.clear();\r\n\t\tthis.stockField.clear();\r\n\t\tthis.availableStockLabelValue.setText(\"0.0\");\r\n\t\tthis.barcodeImageView.setImage(null);\r\n\t\tthis.barcodeDisplayLabel.setVisible(true);\r\n\t\tthis.barcodeNumberLabel.setVisible(false);\r\n\r\n\t}", "public void resetTipoRecurso()\r\n {\r\n this.tipoRecurso = null;\r\n }", "public Builder clearUserType() {\n bitField0_ = (bitField0_ & ~0x00000010);\n userType_ = 0;\n onChanged();\n return this;\n }" ]
[ "0.665575", "0.640985", "0.6291456", "0.62638116", "0.611541", "0.6035882", "0.59788436", "0.59647256", "0.59647256", "0.59647256", "0.5956782", "0.59542394", "0.59319174", "0.5925369", "0.58913296", "0.5860942", "0.58524674", "0.5826418", "0.5807009", "0.5807009", "0.5807009", "0.5807009", "0.5807009", "0.5807009", "0.5807009", "0.5798661", "0.579423", "0.5728468", "0.57090455", "0.5708808", "0.57073927", "0.5702228", "0.56950825", "0.5677154", "0.5656196", "0.565444", "0.565444", "0.56527835", "0.5651367", "0.5643467", "0.56432086", "0.5639448", "0.5635979", "0.56348413", "0.5627661", "0.5596368", "0.5596368", "0.5596368", "0.5596368", "0.5596368", "0.5596368", "0.55891466", "0.55794334", "0.55776364", "0.5573133", "0.5571234", "0.5569414", "0.5535553", "0.5535553", "0.5525163", "0.5515453", "0.55106115", "0.54845715", "0.5472976", "0.5472228", "0.54678875", "0.5462748", "0.54622835", "0.546136", "0.54598975", "0.54502034", "0.54502034", "0.54502034", "0.54502034", "0.54502034", "0.5446676", "0.5446676", "0.5446676", "0.5446676", "0.54351896", "0.54192126", "0.5413726", "0.5411818", "0.54106635", "0.5390431", "0.5389141", "0.5386152", "0.5383375", "0.5380101", "0.53781295", "0.53695107", "0.53692025", "0.53532785", "0.5351543", "0.53510505", "0.5346101", "0.534204", "0.53417885", "0.53413343", "0.53361446" ]
0.887257
0
Allocates a name for for a new temporary table having the specified schema.
public TempTable(Schema sch, Transaction tx) { String tblname = nextTableName(); ti = new TableInfo(tblname, sch); this.tx = tx; FileHeaderFormatter fhf = new FileHeaderFormatter(); Buffer buff = tx.bufferMgr().pinNew(ti.fileName(), fhf); tx.bufferMgr().unpin(buff); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String generateSqlServerTemporaryTableName() {\n return \"temp\" + temporaryTableCounter.getAndIncrement();\n }", "String getTempTableName(String name);", "public String getCreateTemporaryTableString() {\n \t\treturn \"create table\";\n \t}", "private void createTemporaryTable(Session session, final Dialect dialect, final String tempTable) {\n\t\tsession.doWork(connection -> {\n\t\t\t// check if table exists\n if (!getConfiguration().isUsingPostgreSQL()) {\n try {\n Statement s = connection.createStatement();\n s.execute(\"select id from \" + tempTable + \" where id = 1\");\n\n s.close();\n // table already exists\n return;\n } catch (Exception ex) {\n // we expect this on the first time\n }\n }\n\n TemporaryTableDialect ttDialect = TemporaryTableDialect.getTempTableDialect(dialect);\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tsb.append(ttDialect.getCreateTemporaryTableString());\n\t\t\tsb.append(' ').append(tempTable).append(\" (id \");\n\t\t\tsb.append(dialect.getTypeName(Types.BIGINT));\n\t\t\tsb.append(\" not null)\");\n\t\t\tsb.append(ttDialect.getCreateTemporaryTablePostfix());\n\n Statement s = connection.createStatement();\n s.execute(sb.toString());\n s.close();\n\t\t});\n\t}", "public String generateTemporaryTableName(String baseTableName) {\n \t\treturn \"HT_\" + baseTableName;\n \t}", "public Name createTemporaryName() {\n return Name.makeFresh(\"t\");\n }", "public void createTmpTable(GenericService genericService, String nonce) {\n // Get the current method name\n String methodName = new Throwable().getStackTrace()[0].getMethodName();\n\n // To time how long function takes to run\n Stopwatch stopwatch = Stopwatch.createStarted();\n\n // Use non-external table so that temporary file can be removed with table drop\n String sql =\n \"CREATE TABLE %s (%s)\"\n + \" STORED AS ORC LOCATION '%s' TBLPROPERTIES ('ORC.COMPRESS' = 'ZLIB')\";\n String query = String.format(\n sql,\n genericService.getTmpTableName() + \"_\" + nonce,\n genericService.getSchemaStr(),\n genericService.getOutputPath(nonce)\n );\n jdbcTemplate.execute(query);\n\n stopwatch.stop(); // Optional\n log.info(\"[{} - {}] -> Time elapsed: [{}] ms\",\n genericService.getTableName(),\n methodName,\n stopwatch.elapsed(TimeUnit.MILLISECONDS)\n );\n }", "public void createNewSchema() throws SQLException {\n ResultSet resultSet = databaseStatement.executeQuery(\"select count(datname) from pg_database\");\n int uniqueID = 0;\n if(resultSet.next()) {\n uniqueID = resultSet.getInt(1);\n }\n if(uniqueID != 0) {\n uniqueID++;\n databaseStatement.executeQuery(\"CREATE DATABASE OSM\"+uniqueID+\";\");\n }\n }", "public void setTableName(String tmp) {\n this.tableName = tmp;\n }", "public static void createSchema(Connection conn, String schema) throws SQLException {\n\t\tString sqlString = \"CREATE SCHEMA `\" + schema + \"`\";\r\n\r\n\t\tif (PostgreSQL.isPostgreSQLConnection(conn))\r\n\t\t\tsqlString = PostgreSQL.replaceMySQLQuotes(sqlString);\r\n\r\n\t\tStatement stmt = null;\r\n\t\ttry {\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\tstmt.executeUpdate(sqlString);\r\n\t\t\tSystem.out.println(\"SQLTableCreator.createSchema: schema \" + schema + \" created\");\r\n\t\t} catch (SQLException se) {\r\n//\t\t\tse.printStackTrace();\r\n\t\t} catch (Exception e) {\r\n//\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tif (stmt != null)\r\n\t\t\t\tstmt.close();\r\n\t\t}\r\n\t}", "TABLE createTABLE();", "private TableSchema createTableSchema(Node entity) {\n\t\tString physicalName = handler.getChildValueByProperty(entity,\n\t\t\t\t\"EntityProps.Physical_Name\");\n\t\tString name = entity.getAttributes().getNamedItem(\"Name\").getNodeValue().trim();\n\t\tString id = entity.getAttributes().getNamedItem(\"id\").getNodeValue().trim();\n\t\tnodeMap.put(id, entity);\n\t\tTableSchema tableSchema = new TableSchema(\"\", \"\");\n\t\tif (physicalName != null) {\n\t\t\tphysicalNameMap.put(id, physicalName);\n\t\t\ttableSchema.setName(physicalName);\n\t\t} else {\n\t\t\ttableSchema.setName(name);\n\t\t}\n\n\t\treturn tableSchema;\n\t}", "public static Schema buildFromDBTable(Connection conn, String tableName,\n String newSchemaName)\n {\n try\n {\n DatabaseMetaData DBMeta = conn.getMetaData();\n ResultSet rset = DBMeta.getColumns(null, null,\n tableName, null);\n\n Schema schema = new Schema(newSchemaName);\n\n /*\n * Actually, this code is not needed if we return the\n * result set. But, I am just doing it for the sake!\n */\n while (rset.next())\n {\n String columnName = rset\n .getString(\"COLUMN_NAME\");\n // Get the java.sql.Types type to which this database-specific type is mapped\n short dataType = rset.getShort(\"DATA_TYPE\");\n // Get the name of the java.sql.Types value.\n String columnType = JDBCUtils.getJdbcTypeName(dataType);\n\n schema.addAttribute(columnName, columnType, columnType);\n }\n return schema;\n }\n\n catch (Exception e)\n {\n System.out.println(\" Cannot retrieve the schema : \"\n + e.toString());\n e.printStackTrace();\n return null;\n }\n }", "public void createTempTable() throws Exception {\n Db db = getDb();\n try {\n db.enter();\n _logger.info(\"Creating temporary table t_http_log_data\");\n PreparedStatement createTable = db.prepareStatement(create_temp_table);\n db.executeUpdate(createTable);\n } catch (Exception e) {\n _logger.fatal(\"Error when creating temporary table t_http_log_data\", e);\n throw e;\n } finally {\n db.exit();\n }\n st_insert_temp_table = db.prepareStatement(sql_insert_temp_table);\n }", "String getCreateTableSql(String name, DataSet dataSet, boolean isTemporary,\r\n String key, FieldsRepository fieldsRepository);", "public void creatTable(String tableName,LinkedList<String> columnsName,LinkedList<String> columnsType );", "ExpRunTable createRunTable(String name, UserSchema schema, ContainerFilter cf);", "tbls createtbls();", "public void createNewTable(String dbName, String tableName) {\r\n\t\t// SQL statement for creating a new table\r\n\t\tString sql = \"CREATE TABLE IF NOT EXISTS \" + tableName + \" (\\n\"\r\n\t\t\t\t+ \"id integer PRIMARY KEY,\\n\"\r\n\t\t\t\t+ \"first_name VARCHAR(20) NOT NULL,\\n\"\r\n\t\t\t\t+ \"last_name VARCHAR(20) NOT NULL,\\n\"\r\n\t\t\t\t+ \"manager_id integer NOT NULL,\\n\"\r\n\t\t\t\t+ \"join_date DATE NOT NULL,\\n\"\r\n\t\t\t\t+ \"billable_hours double NOT NULL);\";\r\n\t\t\r\n\t\ttry {\r\n\t\t\tConnection conn = this.connect(dbName);\t\t\t// open connection\r\n\t\t\t\r\n\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\t\r\n\t\t\t// create a new table using prepared sql statement\r\n\t\t\tstmt.execute(sql);\r\n\t\t\tSystem.out.println(\"Executed create table statement\");\r\n\t\t\t\r\n\t\t\tconn.close();\t\t\t\t\t\t\t\t\t// close connection\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}", "@Override\n public SqlDatabaseTable createTable(String tableName, int columnCount, boolean dropExist) {\n StringBuilder sql = new StringBuilder();\n if (dropExist) {\n sql.append(\"DROP TABLE IF EXISTS `\").append(tableName).append(\"`;\");\n executeSql(sql.toString());\n sql.setLength(0);\n }\n\n // Ignored check because only one statement is executed\n // if (!dropExist && SqlStorageEngine.getInstance().checkTableExist(tableName))\n\n sql.append(\"CREATE TEMPORARY TABLE\");\n if (!dropExist) {\n sql.append(\" IF NOT EXISTS\");\n }\n sql.append(\" `\").append(tableName).append(\"`\");\n sql.append(\" ( `id` INT NOT NULL AUTO_INCREMENT, `uniq` CHAR(32) NOT NULL UNIQUE,\");\n for (int i = 0; i < columnCount; i++) {\n sql.append(\" `_\").append(i).append(\"` VARCHAR(32) NULL,\");\n sql.append(\"INDEX (`_\").append(i).append(\"`),\");\n }\n sql.append(\" PRIMARY KEY (`id`)) ENGINE = MEMORY;\");\n executeSql(sql.toString());\n\n // Ignore this, we use create clause to create index\n // createIndexes(tableName, columnCount);\n\n return new SqlDatabaseRefTable(tableName, columnCount);\n }", "DbObjectName createDbObjectName();", "private void createTableOrdersWaiting() throws SQLException\r\n {\r\n String sqlQuery = \r\n \"CREATE TABLE orders \" +\r\n \"(id auto_increment INT NOT NULL PRIMARY KEY, \" +\r\n \"custname VARCHAR(25) NOT NULL, \" +\r\n \"tablenumber INT NOT NULL, \" +\r\n \"foodname VARCHAR(100) NOT NULL, \" + \r\n \"beveragename VARCHAR(100) NOT NULL, \" + \r\n \"served BOOLEAN NOT NULL, \" + \r\n \"billed BOOLEAN NOT NULL, \" + \r\n \"time DATETIME DEFAULT CURRENT_TIMESTAMP)\";\r\n myStmt.executeUpdate(sqlQuery);\r\n }", "private void saveToTempTable(JavaRDD<Row> hashTagCounts, String tableName, SparkContext sparkContext) {\n SparkSession sparkSession = SparkSession.builder().sparkContext(sparkContext).getOrCreate();\n\n Dataset<Row> dataset = sparkSession.createDataFrame(hashTagCounts, SchemaUtils.generateSchemaStructure());\n dataset.cache();\n dataset.count();\n dataset.createOrReplaceTempView(tableName);\n\n LOG.info(String.format(\"%s table successfully created\", tableName));\n }", "private String getCreateUserSQL(String targetSchemaName) {\n\t\treturn \"CREATE USER \" + targetSchemaName + \";\";\n\t}", "public void createTable(String tableName) {\n db.execSQL(\"create table if not exists '\" + tableName.replaceAll(\"\\\\s\", \"_\") + \"' (\"\n + KEY_ROWID + \" integer primary key autoincrement, \"\n + KEY_QUESTION + \" string not null, \"\n + KEY_ANSWER + \" string not null);\");\n }", "public static String AssetRef_CreateTable()\n\t{\n\t\tString str = \"create table assetref (\" \n\t\t\t\t+ \"id INTEGER PRIMARY KEY,\"\n\t\t\t\t+ \"uniqueId string,\"\n\t\t\t\t+ \"path string,\"\n\t\t\t\t+ \"name string,\"\n\t\t\t\t+ \"size int,\"\n\t\t\t\t+ \"lastChanged time\"\n\t\t\t\t+ \")\";\n\t\treturn str;\t\n\t}", "public void dropTempTable (java.lang.String tableName) { throw new RuntimeException(); }", "public static boolean is_Create_Table_Statement(String schemaStr)\n\t{\n\t\treturn schemaStr.toLowerCase().contains(\"create table\");\n\t}", "public void createTable(String tableName) {\n //SQL Statement\n String query = \"call aTable\";\n\n try {\n //connection\n stmt = con.createStatement();\n //execute query\n stmt.executeUpdate(query);\n System.out.println(\"\\n--Table \" + tableName + \" created--\");\n } catch (SQLException ex) {\n System.out.println(\"\\n--Query did not execute--\");\n ex.printStackTrace();\n }\n }", "private TempTable createTempTable() throws Exception{\n\t\treturn new TempTableFile();\n\t}", "public String getCreateTableString() {\n \t\treturn \"create table\";\n \t}", "private void createTransactionsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE transactions \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY, \"\n\t\t\t\t\t+ \"owner INT, amount DOUBLE, source BIGINT, sourceType VARCHAR(20), target BIGINT, targetType VARCHAR(20), comment VARCHAR(255), time BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table transactions\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of transactions table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "public TableName name();", "private void createGetTableName(){\n //---------------------------------------------------------------------------\n buffer.append(\" /**\\n\");\n buffer.append(\" * <code>getTableName</code>\\n\");\n buffer.append(\" * <p>\\n\");\n buffer.append(\" * This method return the current tablename.\\n\");\n buffer.append(\" * </p>\\n\");\n buffer.append(\" * @author Booker Northington II\\n\");\n buffer.append(\" * @version 1.0\\n\");\n buffer.append(\" * @since 1.3\\n\");\n buffer.append(\" * @return tableName <code>String</code> the name \");\n buffer.append(\"of this table.\\n\");\n buffer.append(\" */\\n\");\n buffer.append(spacer);\n buffer.append(\" public String getTableName(){\\n\");\n buffer.append(spacer);\n buffer.append(\" return tableName;\\n\");\n buffer.append(\" }//getTableName() ENDS\\n\\n\");\n }", "private void createLoginTable() {\r\n jdbcExecutor.executeQuery(new Work() {\r\n @Override\r\n public void execute(Connection connection) throws SQLException {\r\n connection.createStatement().executeUpdate(\"CREATE TABLE login ( id numeric(19,0), user_id numeric(19,0), timestamp TIMESTAMP )\");\r\n }\r\n });\r\n }", "String createNewTable(String name,\n String[] colNames, String[] colTypes) {\n\n try {\n if (tables.get(name) != null) {\n return \"ERROR: Table already exists\";\n\n }\n Table t = new Table(name, colNames, colTypes);\n tables.put(name, t);\n\n return \"\";\n } catch (NullPointerException e) {\n return \"ERROR: Malformed Table\";\n } catch (IllegalArgumentException e) {\n return \"ERROR: Malformed Table\";\n }\n\n\n }", "private void createTable() {\n try (Statement st = this.conn.createStatement()) {\n st.execute(\"CREATE TABLE IF NOT EXISTS users (user_id SERIAL PRIMARY KEY, name VARCHAR(100) NOT NULL, \"\n + \"login VARCHAR(100) UNIQUE NOT NULL, email VARCHAR(100) NOT NULL, createDate TIMESTAMP NOT NULL);\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public void doCreateTable();", "public static void createEmployees(Connection connection) throws SQLException {\n try (Statement statement = connection.createStatement()) { \r\n try (ResultSet resultSet = statement\r\n .executeQuery(\"create table employees (first_name varchar(255), last_name varchar(255))\")) {\r\n System.out.println(\"table employees created\");\r\n System.out.println(\"---------------------\");\r\n }\r\n } \r\n }", "@Test(enabled = false)\n public void testCreateTemporaryExternalTable() throws Exception {\n String tableName = tableName();\n String colName = columnName();\n String query = String.format(\"create TEMPORARY EXTERNAL table %s.%s(%s, %s)\", DEFAULT_DB , tableName , colName + \" int\", \"name string\");\n String tableQualifiedName = HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName, true);\n\n Configuration configuration = ApplicationProperties.get();\n configuration.setProperty(HiveHook.HOOK_HIVE_SKIP_ALL_TEMP_TABLES, true);\n runCommand(query);\n\n Thread.sleep(10000);\n\n try {\n atlasClientV2.getEntityByAttribute(HiveDataTypes.HIVE_TABLE.getName(), Collections.singletonMap(ATTRIBUTE_QUALIFIED_NAME, tableQualifiedName));\n } catch (AtlasServiceException e) {\n if (e.getStatus() == ClientResponse.Status.NOT_FOUND) {\n return;\n }\n }\n\n fail(String.format(\"Entity was not supposed to exist for typeName = %s, attributeName = %s, attributeValue = %s\", HiveDataTypes.HIVE_TABLE.getName(), ATTRIBUTE_QUALIFIED_NAME, tableQualifiedName));\n }", "private void statsTable() {\n try (Connection connection = hikari.getConnection()) {\n try (PreparedStatement statement = connection.prepareStatement(\"CREATE TABLE IF NOT EXISTS `\" + TABLE_STATS + \"` \" +\n \"(id INT NOT NULL AUTO_INCREMENT UNIQUE, \" +\n \"uuid varchar(255) PRIMARY KEY, \" +\n \"name varchar(255), \" +\n \"kitSelected varchar(255), \" +\n \"points INT, \" +\n \"kills INT, \" +\n \"deaths INT, \" +\n \"killstreaks INT, \" +\n \"currentKillStreak INT, \" +\n \"inGame BOOLEAN)\")) {\n statement.execute();\n statement.close();\n connection.close();\n }\n } catch (SQLException e) {\n LogHandler.getHandler().logException(\"TableCreator:statsTable\", e);\n }\n }", "private void createCustomersTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE customers \"\n\t\t\t\t\t+ \"(id INT GENERATED ALWAYS AS IDENTITY, \"\n\t\t\t\t\t+ \"name VARCHAR(40), \" + \"email VARCHAR(40), \"\n\t\t\t\t\t+ \"pass VARCHAR(40), \" + \"ssn VARCHAR(9), \"\n\t\t\t\t\t+ \"address VARCHAR(255), \" + \"hphone VARCHAR(10), \"\n\t\t\t\t\t+ \"cphone VARCHAR(10), \" + \"signuptime BIGINT, \"\n\t\t\t\t\t+ \"chkacct BIGINT, \" + \"savacct BIGINT, \" + \"cdacct BIGINT, \"\n\t\t\t\t\t+ \"hasStock VARCHAR(6))\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table users\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of user table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "private void createStocksTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE stocks \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY, \" + \"owner INT, \"\n\t\t\t\t\t+ \"shareAmount INT, \" + \"purchasePrice DOUBLE, \" + \"symb VARCHAR(10), \"\n\t\t\t\t\t+ \"timePurchased BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table stocks\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of stocks table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "private void CreatTable() {\n String sql = \"CREATE TABLE IF NOT EXISTS \" + TABLE_NAME\n + \" (name varchar(30) primary key,password varchar(30));\";\n try{\n db.execSQL(sql);\n }catch(SQLException ex){}\n }", "void gen_table_names(Connection c, PreparedStatement pst ) throws ClassNotFoundException, SQLException\n\t{\n\t String lambda_term_query = \"select subgoal_names from view2subgoals where view = '\"+ name +\"'\";\n\n\t\t\n\t pst = c.prepareStatement(lambda_term_query);\n\t \n\t ResultSet rs = pst.executeQuery();\n\t \n\t if(!rs.wasNull())\n\t {\n\t \twhile(rs.next())\n\t\t {\n\t\t \t\t \t\n\t\t \ttable_names.add(rs.getString(1));\n\t\t }\n\t }\n\t \n\t else\n\t {\n\t \tlambda_term_query = \"select subgoal from web_view_table where renamed_view = '\"+ name +\"'\";\n\n\t\t\t\n\t\t pst = c.prepareStatement(lambda_term_query);\n\t\t \n\t\t ResultSet r = pst.executeQuery();\n\n\t\t while(r.next())\n\t\t {\n\t\t \t\t \t\n\t\t \ttable_names.add(r.getString(1));\n\t\t }\n\t }\n\t \n\t \n\t \n\n\t}", "TableInstance createTableInstance();", "public PgTable(final String name) {\n this.name = name;\n }", "private void createTables() throws SQLException\r\n {\r\n createTableMenuItems();\r\n createTableOrdersWaiting();\r\n }", "public void createAccountTable() throws SQLException {\r\n\t\tConnection connection = dbAdministration.getConnection();\r\n\t\t// Prüfung, ob Tabelle bereits besteht\r\n\t\tResultSet resultSet = connection.getMetaData().getTables(\"%\", \"%\", \"%\", new String[] { \"TABLE\" });\r\n\t\tboolean shouldCreateTable = true;\r\n\t\twhile (resultSet.next() && shouldCreateTable) {\r\n\t\t\tif (resultSet.getString(\"TABLE_NAME\").equalsIgnoreCase(\"ACCOUNT\")) {\r\n\t\t\t\tshouldCreateTable = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tresultSet.close();\r\n\r\n\t\tif (shouldCreateTable) {\r\n\t\t\tStatement statement = connection.createStatement();\r\n\t\t\tString sql = \"CREATE table account (id int not null primary key, owner varchar(\"\r\n\t\t\t\t\t+ DatabaseAdministration.ownerLength + \") not null, number varchar(4) not null)\";\r\n\t\t\t// Tabelle wird erstellt\r\n\t\t\tstatement.execute(sql);\r\n\t\t\tstatement.close();\r\n\t\t\tlogger.info(\"SQL-Statement ausgeführt: \" + sql);\r\n\t\t\tlogger.info(\"Tabelle \\\"Account\\\" wurde erstellt.\");\r\n\t\t\tbankAccountExists = false;\r\n\t\t\t// Das Bank-Konto wird angelegt\r\n\t\t\taddAccount(\"0000\", \"BANK\", BigDecimal.ZERO);\r\n\t\t\tbankAccountExists = true;\r\n\t\t}\r\n\t\tconnection.close();\r\n\t}", "public static void createTempMapsetName() {\r\n UUID id;\r\n String tmpPrefix;\r\n String tmpSuffix;\r\n String tmpBase;\r\n String tmpFolder;\r\n\r\n id = UUID.randomUUID();\r\n tmpPrefix = new String(GrassUtils.TEMP_PREFIX);\r\n tmpSuffix = new String(\"_\" + id);\r\n tmpBase = new String(System.getProperty(\"java.io.tmpdir\"));\r\n if (tmpBase.endsWith(File.separator)) {\r\n tmpFolder = new String(tmpBase + tmpPrefix + tmpSuffix.replace('-', '_') + File.separator + \"user\");\r\n }\r\n else {\r\n tmpFolder = new String(tmpBase + File.separator + tmpPrefix + tmpSuffix.replace('-', '_') + File.separator + \"user\");\r\n }\r\n m_sGrassTempMapsetFolder = tmpFolder;\r\n\r\n }", "public void createNewTable() throws WoodsException{\n\t\t\tuserTable = new Table(tableName);\n\t\t\tDatabase.get().storeTable(tableName, userTable);\n\t\t}", "public TableCreation(Table table) {\n this.table = table;\n }", "protected void createInitialTables() throws SQLException {\n\t\n\t\t// create one table per type with the corresponding attributes\n\t\tfor (String type: entityType2attributes.keySet()) {\n\t\t\tcreateTableForEntityType(type);\n\t\t}\n\t\t\n\t\t// TODO indexes !\n\t\t\n\t}", "public static void createTable() {\n\n // Create statement\n Statement statement = null;\n try {\n statement = Database.getDatabase().getConnection().createStatement();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n // Attempt to create table\n try {\n statement.execute(\n \"CREATE TABLE \" + Constants.SANITATION_TABLE + \"(\" +\n \"requestID INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),\" +\n \"nodeID VARCHAR(100) References \" + Constants.LOCATION_TABLE + \" (nodeID), \" +\n \"priority VARCHAR(10), \" +\n \"status VARCHAR(100), \" +\n \"description VARCHAR(100), \" +\n \"requesterID INT REFERENCES \" + Constants.USERS_TABLE + \"(userID), \" +\n \"requestTime TIMESTAMP, \" +\n \"servicerID INT REFERENCES \" + Constants.USERS_TABLE + \"(userID), \" +\n \"claimedTime TIMESTAMP, \" +\n \"completedTime TIMESTAMP, \" +\n \"CONSTRAINT priority_enum CHECK (priority in ('LOW', 'MEDIUM', 'HIGH')), \" +\n \"CONSTRAINT status_enum CHECK (status in ('INCOMPLETE', 'COMPLETE')))\"\n );\n } catch (SQLException | NullPointerException e) {\n e.printStackTrace();\n }\n }", "@Override\n public void createMetaTable(Connection conn) throws PersistenceException {\n String sql = String.format(\"CREATE TABLE %1$s (%2$s %3$s NOT NULL)\", metaTableName, META_TABLE_DATA_COLUMN, config.dataColumnType());\n executeUpdateSql(conn, sql);\n updateMetaTable(conn);\n }", "public static final String getTopicTableCreationSQL(String shortname) {\r\n\t\tString crTopicTableSQL = \"CREATE TABLE IF NOT EXISTS dblp_topic_\" +shortname +\r\n\t\t\"(tid varchar(50) NOT NULL, \" +\r\n\t\t\" keyword varchar(255) NOT NULL, \" + \r\n\t\t\" istop tinyint UNSIGNED ZEROFILL, \" + // Is this keyword a top keyword for this topic\r\n\t\t\" PRIMARY KEY (tid,keyword)) \";\r\n\t\treturn crTopicTableSQL;\r\n\t}", "public String getCreationSQL(final boolean quoteNames) {\n final StringBuilder sbSQL = new StringBuilder();\n sbSQL.append(\"CREATE TABLE \");\n sbSQL.append(PgDiffUtils.getQuotedName(name, quoteNames));\n sbSQL.append(\" (\\n\");\n \n for (PgColumn column : columns) {\n sbSQL.append(\"\\t\");\n sbSQL.append(column.getFullDefinition(quoteNames, false));\n sbSQL.append(\",\\n\");\n }\n \n sbSQL.setLength(sbSQL.length() - 2);\n sbSQL.append(\"\\n)\");\n \n if ((inherits != null) && (inherits.length() > 0)) {\n sbSQL.append(\"\\nINHERITS \");\n sbSQL.append(inherits);\n }\n \n sbSQL.append(';');\n \n for (PgColumn column : getColumnsWithStatistics()) {\n sbSQL.append(\"\\nALTER TABLE ONLY \");\n sbSQL.append(PgDiffUtils.getQuotedName(name, quoteNames));\n sbSQL.append(\" ALTER COLUMN \");\n sbSQL.append(\n PgDiffUtils.getQuotedName(column.getName(), quoteNames));\n sbSQL.append(\" SET STATISTICS \");\n sbSQL.append(column.getStatistics());\n sbSQL.append(';');\n }\n \n return sbSQL.toString();\n }", "public void CreateTable(String nameTable) throws SQLException {\n\n String FEATURE_DB_SQL = \"CREATE TABLE IF NOT EXISTS \" + nameTable + \"(id INT NOT NULL AUTO_INCREMENT, \"\n + FEATURE_DB_TEXTFEATURE + \" VARCHAR(255), \" + FEATURE_DB_ELO + \" INT, \" + FEATURE_DB_MMR + \" INT,\"\n + FEATURE_DB_AUTHOR + \" VARCHAR(255),\"\n +\" PRIMARY KEY ( id ))\";\n\n statement = conn.createStatement();\n statement.executeUpdate(FEATURE_DB_SQL);\n }", "String tableName2Name(String name);", "public void create(Connection db) throws SQLException {\n if (tableName == null) {\n throw new SQLException(\"Table Name not specified\");\n }\n\n Statement st = db.createStatement();\n\n if (dbType == DatabaseUtils.POSTGRESQL) {\n if (hasSequence()) {\n st.executeUpdate(\"CREATE SEQUENCE \" + sequenceName);\n }\n }\n\n StringBuffer sql = new StringBuffer();\n sql.append(\"CREATE TABLE \" + tableName + \" (\");\n\n String primaryKey = \"\";\n Iterator fields = columns.iterator();\n while (fields.hasNext()) {\n DatabaseColumn thisColumn = (DatabaseColumn) fields.next();\n if (thisColumn.isPrimaryKey()) {\n primaryKey = thisColumn.getName();\n sql.append(thisColumn.getCreateSQL(dbType, sequenceName));\n } else {\n sql.append(thisColumn.getCreateSQL(dbType));\n }\n if (fields.hasNext()) {\n sql.append(\",\");\n }\n }\n if (dbType == DatabaseUtils.ORACLE) {\n sql.append(\", PRIMARY KEY (\" + primaryKey + \")\");\n }\n sql.append(\");\");\n st.executeUpdate(sql.toString());\n st.close();\n }", "private void createTempDatabase() {\n\t\thandler = new ERXmlDocumentHandler(doc);\n\t\tList<String> filter = initFilter(subjectId);\n\t\tparseEntitys(filter);\n\t}", "public static void buildCustomerTable(Connection conn)\n {\n try\n {\n // Get a Statement object.\n Statement stmt = conn.createStatement();\n\n // Create the table.\n stmt.execute(\"CREATE TABLE Customer\" +\n \"( CustomerNumber INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1), \" +\n \" CustomerName CHAR(25),\" +\n \" Address CHAR(25),\" +\n \" City CHAR(12),\" +\n \" State CHAR(2),\" +\n \" Zip CHAR(5) )\");\n\n // Add some rows to the new table.\n stmt.execute(\"INSERT INTO Customer (CustomerName, Address, City, State, Zip) VALUES \" +\n \"('.', '13400 Commons Dr.',\" +\n \" 'Brookfield', 'WI', '53005')\");\n\n stmt.execute(\"INSERT INTO Customer (CustomerName, Address, City, State, Zip) VALUES \" +\n \"('Best Buy.',\" +\n \" '19555 W Bluemound Rd.',\" +\n \" 'Brookfield', 'WI', '53045')\");\n\n stmt.execute(\"INSERT INTO Customer (CustomerName, Address, City, State, Zip) VALUES \" +\n \"('.', '1615 Tallgrass Circle.',\" +\n \" 'Waukesha', 'WI', '53188')\");\n\n System.out.println(\"Customer table created.\");\n } catch (SQLException ex)\n {\n System.out.println(\"ERROR: \" + ex.getMessage());\n }\n }", "private static void createTables(String tableNames, Statement stat) {\n\t\t\n\t\t//creates a table with the name of the file\n\t\ttry {\n\t\t\tstat.executeQuery(comd.createTable(\"stevenwbroussard.\" + tableNames));\n\t\t}\n\t\tcatch(SQLException s) {\n\t\t\tSystem.out.println(\"CREATE Statement Failed.\");\n\t\t\ts.printStackTrace();\n\t\t\tSystem.exit(-1);\n\t\t}\n\t}", "public void createVirtualTable(){\n\n\t\t\n\t\tif(DBHandler.getConnection()==null){\n\t\t\treturn;\n\t\t}\n\n\t\tif(DBHandler.tableExists(name())){\n\t\t\treturn;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tStatement s = DBHandler.getConnection().createStatement();\n\t\t\ts.execute(\"create virtual table \"+name()+\" using fts4(\"+struct()+\")\");\n\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tMainFrame.print(e.getMessage());\n\t\t}\n\t}", "private String createSEQTable() {\n\t\tStringBuffer buildSQL = new StringBuffer();\n\t\tbuildSQL.append(\" CREATE TABLE \" + DEFAULT_SEQUENCE_NAME + \" ( \");\n\t\tbuildSQL.append(\"id bigint(20) NOT NULL AUTO_INCREMENT, \");\n\t\tbuildSQL.append(\"prefix_value varchar(12) NOT NULL, \");\n\t\tbuildSQL.append(\"next_val int(11) NOT NULL, \");\n\t\tbuildSQL.append(\"increment int(11) NOT NULL, \");\n\t\tbuildSQL.append(\"PRIMARY KEY (id) \");\n\t\tbuildSQL.append(\") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\");\n\t\t// --log.debug(buildSQL.toString());\n\t\treturn buildSQL.toString();\n\t}", "public CreateStatementBuilder setSchema(String hiveSchema) {\n this.hiveSchema = \"(\" + hiveSchema + \")\";\n return this;\n }", "public static void createSalesPersonTable(Connection conn){\n try {\n String query = \"CREATE TABLE IF NOT EXISTS salesperson(\"\n + \"SALESPERSON_ID INT PRIMARY KEY,\"\n + \"FIRST_NAME VARCHAR(25) NOT NULL,\"\n + \"LAST_NAME VARCHAR(25) NOT NULL,\"\n + \"PHONE VARCHAR(20) NOT NULL,\"\n + \"EMAIL VARCHAR(50) NOT NULL,\"\n + \"DEALER_ID INT\"\n// + \"FOREIGN KEY (DEALER_ID) REFERENCES dealer(DEALER_ID)\"\n + \");\";\n Statement stmt = conn.createStatement();\n stmt.execute(query);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public static final String getAuthKWRelTableCreationSQL(String shortname) {\r\n\t\tString crTopicTableSQL = \"CREATE TABLE IF NOT EXISTS dblp_authkw_\" +shortname +\r\n\t\t\"(author varchar(70) NOT NULL, \" +\r\n\t\t\" keyword varchar(255) NOT NULL, \" + \r\n\t\t\" PRIMARY KEY (keyword,author)) \";\r\n\t\treturn crTopicTableSQL;\r\n\t}", "public TableId(String catalogName, String schemaName, String tableName) {\n this(catalogName, schemaName, tableName, null);\n }", "public String createTable(){\r\n return \"CREATE TABLE Doctor \" +\r\n \"(idDoctor decimal primary key, \" +\r\n \"firstNameDoctor char(14), \" +\r\n \"lastNameDoctor char(14), \" +\r\n \"costPerVisit integer,\" +\r\n \"qualification varchar(32))\";\r\n }", "private void createCDAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE cdAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 3000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"term INT, \" + \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table cdAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of cdAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "public static void CreateTable(Supermarket supermarket) throws SQLException {\r\n\t\tPreparedStatement statement = null;\r\n\t\tString market_name = supermarket.getSuper_name();\r\n\t\ttry {\r\n\t\t\tString query = \"CREATE TABLE CS_\"+market_name+\"(\"\r\n\t\t\t\t\t+ \"PRODUCT_NAME VARCHAR(30) NOT NULL,\"\r\n\t\t\t\t\t+ \"PRODUCT_COMPANY VARCHAR(30) NOT NULL,\"\r\n\t\t\t\t\t+ \"PRODUCT_EXIST BOOLEAN DEFAULT FALSE,\"\r\n\t\t\t\t\t+ \"PRODUCT_PRICE DOUBLE DEFAULT 0,\"\r\n\t\t\t\t\t+ \"PRODUCT_CATEGORY VARCHAR(30) NOT NULL\"\r\n\t\t\t\t\t+ \");\";\r\n\t\t\tstatement = JdbcCommon.connection.prepareStatement(query);\r\n\t\t\tstatement.executeUpdate();\r\n\t\t} catch (SQLException e) {e.printStackTrace();}\r\n\t\tstatement.close();\r\n\t}", "public static void createEmployees() {\n Connection con = getConnection();\n\n String createString;\n createString = \"create table Employees (\" +\n \"Employee_ID INTEGER, \" +\n \"Name VARCHAR(30))\";\n try {\n stmt = con.createStatement();\n stmt.executeUpdate(createString);\n stmt.close();\n con.close();\n\n } catch (SQLException ex) {\n System.err.println(\"SQLException: \" + ex.getMessage());\n }\n JOptionPane.showMessageDialog(null, \"Employees Table Created\");\n }", "public String createTable() {\n\n String statement = \"CREATE TABLE \" + tableName + \"( \";\n\n //go through INTEGER, FLOAT, TEXT columns\n Iterator iterator = Iterables.filter(columns.entrySet(), entry -> entry.getValue().getType() instanceof String).iterator();\n\n while (iterator.hasNext()) {\n Map.Entry<Element, FieldData> fieldDataEntry = (Map.Entry<Element, FieldData>) iterator.next();\n statement += fieldDataEntry.getValue().createColumn() + \",\";\n }\n\n return (new StringBuilder(statement).replace(statement.length() - 1, statement.length(), \"\").toString() + \")\").toUpperCase();\n }", "public void createNewTable() {\n String dropOld = \"DROP TABLE IF EXISTS card;\";\n\n // SQL statement for creating a new table\n String sql = \"CREATE TABLE IF NOT EXISTS card (\\n\"\n + \"id INTEGER PRIMARY KEY AUTOINCREMENT, \\n\"\n + \"number TEXT, \\n\"\n + \"pin TEXT,\\n\"\n + \"balance INTEGER DEFAULT 0\"\n + \");\";\n\n try (Connection connection = connect();\n Statement stmt = connection.createStatement()) {\n\n //drop old table\n stmt.execute(dropOld);\n\n //create a new table\n stmt.execute(sql);\n } catch (SQLException e) {\n System.out.println(\"Exception3: \" + e.getMessage());\n }\n }", "public String getCreateTemporaryTablePostfix() {\n \t\treturn \"\";\n \t}", "public String getDropTemporaryTableString() {\n \t\treturn \"drop table\";\n \t}", "public String getTablename() {\n return tablename;\n }", "String pvTableName();", "private void createSavingsAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE savingsAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 2000000001, INCREMENT BY 1), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table SavingsAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of SavingsAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "@Override\r\n\tpublic void createTable(Connection con) throws SQLException {\r\n\t\tString sql = \"CREATE TABLE \" + tableName\r\n\t\t\t\t+ \"(pc_id integer, class_id varchar(20), level integer,\"\r\n\t\t\t\t+ \" PRIMARY KEY (pc_id,class_id,level) )\";\r\n\r\n\t\tif (DbUtils.doesTableExist(con, tableName)) {\r\n\r\n\t\t} else {\r\n\t\t\ttry (PreparedStatement ps = con.prepareStatement(sql);) {\r\n\t\t\t\tps.execute();\r\n\t\t\t}\r\n \r\n\t\t}\r\n\r\n\r\n\r\n\t\tString[] newInts = new String[] { \r\n\t\t\t\t\"hp_Increment\",};\r\n\t\tDAOUtils.createInts(con, tableName, newInts);\r\n\r\n\t}", "DbObjectNameAll createDbObjectNameAll();", "private void generateTemporaryTable(String tableName, Collection<?> items, SQLProcessor sqlP)\n throws GenericEntityException {\n //Ensure connection is created\n sqlP.getConnection();\n\n //Determine the data type to create based on the item element type\n //Right now this only works for SQL server so we hardcode the SQL server data types\n //And we only support numbers and strings at this point\n Object firstItem = items.iterator().next();\n String dataType;\n if (firstItem instanceof Number) {\n dataType = \"bigint\";\n } else {\n dataType = \"varchar(8000)\"; //8000 is max size of varchar for SQL server\n }\n\n sqlP.executeUpdate(\"create table #\" + tableName + \" (item \" + dataType + \" primary key)\");\n\n //Insert data into this temporary table\n sqlP.prepareStatement(\"insert into #\" + tableName + \" (item) values (?)\");\n PreparedStatement stat = sqlP.getPreparedStatement();\n try {\n for (Object item : items) {\n if (item instanceof Number) {\n stat.setLong(1, ((Number) item).longValue());\n } else if (item instanceof String) {\n stat.setString(1, (String) item);\n } else {\n stat.setObject(1, item);\n }\n\n stat.addBatch();\n }\n stat.executeBatch();\n } catch (SQLException e) {\n throw new GenericEntityException(e.getMessage(), e);\n } finally {\n try {\n stat.close();\n } catch (SQLException ignore) {\n }\n }\n }", "String getTableName(String name);", "public String getTableDbName() {\r\n return \"t_testplans\";\r\n }", "public static String getSQLForUserTableCreation() {\n return \"CREATE TABLE \" + USER_TABLE + \"(\" +\n USER_ID + \" varchar(8) PRIMARY KEY, \" +\n USER_LAST_NAME + \" varchar(32), \" +\n USER_FIRST_NAME + \" varchar(32), \" +\n USER_EMAIL + \" varchar(256), \" +\n USER_PASSWORD + \" varchar(64), \" +\n USER_IS_TEACHER + \" bool, \" +\n USER_GROUP + \" varchar(32))\";\n\n }", "private void createSchemaInfo() {\n\t\tfor (String tableName : tableSchemas.keySet()) {\n\t\t\tERWinSchemaInfo schemaInfo = new ERWinSchemaInfo();\n\t\t\tschemaInfo.setType(\"user\");\n\t\t\tschemaInfo.setUniqueName(tableName);\n\t\t\tschemaInfos.put(tableName, schemaInfo);\n\t\t}\n\n\t\tinitCache();\n\t\tparseKeyGroupGroups();\n\n\t\tparseEntityProps();\n\t\tparseRelationGroups();\n\t\tparseAttributes();\n\n\t\tcreateSchemaDDL();\n\t}", "private void createStressTestStatusTable() {\n Column runId = new Column(\"RUN_ID\");\n runId.setMappedType(\"INTEGER\");\n runId.setPrimaryKey(true);\n runId.setRequired(true);\n Column nodeId = new Column(\"NODE_ID\");\n nodeId.setMappedType(\"VARCHAR\");\n nodeId.setPrimaryKey(true);\n nodeId.setRequired(true);\n nodeId.setSize(\"50\");\n Column status = new Column(\"STATUS\");\n status.setMappedType(\"VARCHAR\");\n status.setSize(\"10\");\n status.setRequired(true);\n status.setDefaultValue(\"NEW\");\n Column startTime = new Column(\"START_TIME\");\n startTime.setMappedType(\"TIMESTAMP\");\n Column endTime = new Column(\"END_TIME\");\n endTime.setMappedType(\"TIMESTAMP\");\n\n Table table = new Table(STRESS_TEST_STATUS, runId, nodeId, status, startTime, endTime);\n\n engine.getDatabasePlatform().createTables(true, true, table);\n }", "public String getTableName() throws DatabaseSchemaException {\n return Database.getTableName(clazz);\n }", "private void createStressTestControlTable() {\n Column runId = new Column(\"RUN_ID\");\n runId.setMappedType(\"INTEGER\");\n runId.setPrimaryKey(true);\n runId.setRequired(true);\n Column clientCommitSleepMs = new Column(\"CLIENT_COMMIT_SLEEP_MS\");\n clientCommitSleepMs.setMappedType(\"BIGINT\");\n Column clientCommitRows = new Column(\"CLIENT_COMMIT_ROWS\");\n clientCommitRows.setMappedType(\"BIGINT\");\n Column serverCommitSleepMs = new Column(\"SERVER_COMMIT_SLEEP_MS\");\n serverCommitSleepMs.setMappedType(\"BIGINT\");\n Column serverCommitRows = new Column(\"SERVER_COMMIT_ROWS\");\n serverCommitRows.setMappedType(\"BIGINT\");\n Column payloadColumns = new Column(\"PAYLOAD_COLUMNS\");\n payloadColumns.setMappedType(\"INTEGER\");\n Column initialSeedSize = new Column(\"INITIAL_SEED_SIZE\");\n initialSeedSize.setMappedType(\"BIGINT\");\n Column duration = new Column(\"DURATION_MINUTES\");\n duration.setMappedType(\"BIGINT\");\n\n Table table = new Table(STRESS_TEST_CONTROL, runId, clientCommitSleepMs, clientCommitRows, serverCommitSleepMs, serverCommitRows,\n payloadColumns, initialSeedSize, duration);\n engine.getDatabasePlatform().createTables(true, true, table);\n }", "private void createCheckingAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE checkingAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 1000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table checkingAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of checkingAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "public static SchemaTableBuilder tableBuilder(String schemaName, String tableName) {\n return new SchemaTableBuilderImpl(schemaName, tableName);\n }", "private String buildStaticViewString(Stream strm, String name) {\n\t\tString viewString = \"CREATE TEMP TABLE \"+name;\n\t\tviewString += \" AS \";\n\t\tviewString += \"SELECT * FROM \" + generateStreamData(strm, name, false) + \";\\r\\n\";\n\t\treturn viewString;\n\t}", "static String getTableName(Configuration conf) {\n String layout = conf.get(MRUtils.TABLE_LAYOUT_PROP,\n RdfCloudTripleStoreConstants.TABLE_LAYOUT.SPO.toString());\n String prefix = conf.get(MRUtils.TABLE_PREFIX_PROPERTY,\n RdfCloudTripleStoreConstants.TBL_PRFX_DEF);\n return RdfCloudTripleStoreUtils.layoutPrefixToTable(\n RdfCloudTripleStoreConstants.TABLE_LAYOUT.valueOf(layout), prefix);\n }", "public TableId(String catalogName, String schemaName, String tableName) {\n this.catalogName = catalogName;\n this.schemaName = schemaName;\n this.tableName = tableName;\n assert this.tableName != null;\n this.id = tableId(this.catalogName, this.schemaName, this.tableName);\n }", "public DynamicSchemaTable(String alias) {\n this(alias, DYNAMIC_SCHEMA);\n }", "Table createTable();", "private List<String> generateDropStatementsForTestTable(String schema, String tableType, String objectType) throws SQLException {\n String dropTablesGenQuery = \"select rtrim(NAME) from SYSIBM.SYSTABLES where TYPE='\" + tableType + \"' and creator = '\"\n + schema + \"'\";\n return buildDropStatements(\"DROP \" + objectType, dropTablesGenQuery, schema);\n }", "final public SqlStatement CreateTableStatement() throws ParseException {Token tk = null, tk2 = null;\n String tableName;\n CreateTableDefinition definition = null;\n List<CreateTableOption> options = null;\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case TEMPORARY:{\n tk = jj_consume_token(TEMPORARY);\n break;\n }\n default:\n jj_la1[16] = jj_gen;\n ;\n }\n jj_consume_token(TABLE);\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case IF:{\n tk2 = jj_consume_token(IF);\n jj_consume_token(NOT);\n jj_consume_token(EXISTS);\n break;\n }\n default:\n jj_la1[17] = jj_gen;\n ;\n }\n tableName = DbObjectName();\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case 118:{\n definition = CreateTableDefinition();\n break;\n }\n default:\n jj_la1[18] = jj_gen;\n ;\n }\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case K_DEFAULT:\n case AUTO_INCREMENT:\n case COMMENT:\n case S_IDENTIFIER:{\n options = CreateTableOptions();\n break;\n }\n default:\n jj_la1[19] = jj_gen;\n ;\n }\nreturn new CreateTableStatement(tk != null, tk2 != null, tableName, definition, options);\n}", "public abstract String[] createTablesStatementStrings();" ]
[ "0.7126995", "0.6553606", "0.6187478", "0.6158081", "0.61549675", "0.61234915", "0.5860203", "0.57999647", "0.5765377", "0.5712795", "0.5699941", "0.5664847", "0.55797863", "0.5500894", "0.5497527", "0.54714864", "0.54087603", "0.5407769", "0.54056555", "0.53986937", "0.53940773", "0.5393867", "0.53119266", "0.52996385", "0.52991825", "0.5285824", "0.52695435", "0.5214144", "0.5188609", "0.51815975", "0.5178344", "0.51736206", "0.51735044", "0.51632154", "0.51593006", "0.5154883", "0.51452893", "0.5144226", "0.51189923", "0.51142126", "0.51104844", "0.5109746", "0.5109135", "0.5099017", "0.5090939", "0.508503", "0.50791276", "0.50543064", "0.5051572", "0.5051464", "0.5041263", "0.50249565", "0.50120246", "0.49771914", "0.49727657", "0.49706957", "0.4964621", "0.49452206", "0.49413174", "0.4938213", "0.49292204", "0.49247965", "0.49176958", "0.49140015", "0.4910697", "0.49069425", "0.48946524", "0.48893195", "0.4884722", "0.48748872", "0.48699832", "0.4867727", "0.4866317", "0.48596308", "0.48576286", "0.4849637", "0.48485675", "0.4847367", "0.48464918", "0.48343322", "0.48331633", "0.48329797", "0.4807844", "0.48040542", "0.4798007", "0.47938132", "0.47884962", "0.47760203", "0.47733608", "0.47659948", "0.47653958", "0.47626925", "0.47612306", "0.47504774", "0.4749513", "0.47417563", "0.47369114", "0.47366333", "0.4736327", "0.47354847" ]
0.5599751
12
Opens a table scan for the temporary table.
public UpdateScan open() { return new TableScan(ti, tx); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private TempTable createTempTable() throws Exception{\n\t\treturn new TempTableFile();\n\t}", "public void createTempTable() throws Exception {\n Db db = getDb();\n try {\n db.enter();\n _logger.info(\"Creating temporary table t_http_log_data\");\n PreparedStatement createTable = db.prepareStatement(create_temp_table);\n db.executeUpdate(createTable);\n } catch (Exception e) {\n _logger.fatal(\"Error when creating temporary table t_http_log_data\", e);\n throw e;\n } finally {\n db.exit();\n }\n st_insert_temp_table = db.prepareStatement(sql_insert_temp_table);\n }", "private void createTemporaryTable(Session session, final Dialect dialect, final String tempTable) {\n\t\tsession.doWork(connection -> {\n\t\t\t// check if table exists\n if (!getConfiguration().isUsingPostgreSQL()) {\n try {\n Statement s = connection.createStatement();\n s.execute(\"select id from \" + tempTable + \" where id = 1\");\n\n s.close();\n // table already exists\n return;\n } catch (Exception ex) {\n // we expect this on the first time\n }\n }\n\n TemporaryTableDialect ttDialect = TemporaryTableDialect.getTempTableDialect(dialect);\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tsb.append(ttDialect.getCreateTemporaryTableString());\n\t\t\tsb.append(' ').append(tempTable).append(\" (id \");\n\t\t\tsb.append(dialect.getTypeName(Types.BIGINT));\n\t\t\tsb.append(\" not null)\");\n\t\t\tsb.append(ttDialect.getCreateTemporaryTablePostfix());\n\n Statement s = connection.createStatement();\n s.execute(sb.toString());\n s.close();\n\t\t});\n\t}", "@Test(enabled = false)\n public void testCreateTemporaryExternalTable() throws Exception {\n String tableName = tableName();\n String colName = columnName();\n String query = String.format(\"create TEMPORARY EXTERNAL table %s.%s(%s, %s)\", DEFAULT_DB , tableName , colName + \" int\", \"name string\");\n String tableQualifiedName = HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName, true);\n\n Configuration configuration = ApplicationProperties.get();\n configuration.setProperty(HiveHook.HOOK_HIVE_SKIP_ALL_TEMP_TABLES, true);\n runCommand(query);\n\n Thread.sleep(10000);\n\n try {\n atlasClientV2.getEntityByAttribute(HiveDataTypes.HIVE_TABLE.getName(), Collections.singletonMap(ATTRIBUTE_QUALIFIED_NAME, tableQualifiedName));\n } catch (AtlasServiceException e) {\n if (e.getStatus() == ClientResponse.Status.NOT_FOUND) {\n return;\n }\n }\n\n fail(String.format(\"Entity was not supposed to exist for typeName = %s, attributeName = %s, attributeValue = %s\", HiveDataTypes.HIVE_TABLE.getName(), ATTRIBUTE_QUALIFIED_NAME, tableQualifiedName));\n }", "public TempTable(Schema sch, Transaction tx) {\r\n\t\tString tblname = nextTableName();\r\n\t\tti = new TableInfo(tblname, sch);\r\n\t\tthis.tx = tx;\r\n\t\tFileHeaderFormatter fhf = new FileHeaderFormatter();\r\n\t\tBuffer buff = tx.bufferMgr().pinNew(ti.fileName(), fhf);\r\n\t\ttx.bufferMgr().unpin(buff);\r\n\t}", "public void createTmpTable(GenericService genericService, String nonce) {\n // Get the current method name\n String methodName = new Throwable().getStackTrace()[0].getMethodName();\n\n // To time how long function takes to run\n Stopwatch stopwatch = Stopwatch.createStarted();\n\n // Use non-external table so that temporary file can be removed with table drop\n String sql =\n \"CREATE TABLE %s (%s)\"\n + \" STORED AS ORC LOCATION '%s' TBLPROPERTIES ('ORC.COMPRESS' = 'ZLIB')\";\n String query = String.format(\n sql,\n genericService.getTmpTableName() + \"_\" + nonce,\n genericService.getSchemaStr(),\n genericService.getOutputPath(nonce)\n );\n jdbcTemplate.execute(query);\n\n stopwatch.stop(); // Optional\n log.info(\"[{} - {}] -> Time elapsed: [{}] ms\",\n genericService.getTableName(),\n methodName,\n stopwatch.elapsed(TimeUnit.MILLISECONDS)\n );\n }", "public TempTable() {\r\n\t\t\tsuper();\r\n\t\t\tthis.clauses = new ArrayList<TempTableHeaderCell>();\r\n\t\t}", "TableInstance createTableInstance();", "TABLE createTABLE();", "private void saveToTempTable(JavaRDD<Row> hashTagCounts, String tableName, SparkContext sparkContext) {\n SparkSession sparkSession = SparkSession.builder().sparkContext(sparkContext).getOrCreate();\n\n Dataset<Row> dataset = sparkSession.createDataFrame(hashTagCounts, SchemaUtils.generateSchemaStructure());\n dataset.cache();\n dataset.count();\n dataset.createOrReplaceTempView(tableName);\n\n LOG.info(String.format(\"%s table successfully created\", tableName));\n }", "public boolean openTable(String tblName)\r\n {\r\n String sql = \"Select * From \" + tblName;\r\n return querySql(sql);\r\n }", "public boolean supportsTemporaryTables() {\n \t\treturn false;\n \t}", "@Override\n\t\tpublic void open() throws DbException, TransactionAbortedException {\n\t\t\ttplItr = tpls.iterator();\n\t\t}", "private void fillTempTableWithId() throws Exception {\n Db db = getDb();\n try {\n db.enter();\n _logger.info(\"fill temp table with id\");\n StringBuffer sqlSelect = new StringBuffer(\"SELECT DISTINCT t_domain_site_id, sit.site_name, dom.domain_name FROM http.t_domain_site sit INNER JOIN http.t_domain dom ON sit.t_domain_id = dom.t_domain_id INNER JOIN t_http_log_data log ON (log.site_name = sit.site_name AND log.domain_name = dom.domain_name) \");\n PreparedStatement pstSelect = db.prepareStatement(sqlSelect.toString());\n PreparedStatement pstUpdate = db.prepareStatement(\"UPDATE t_http_log_data SET site_id = ? WHERE site_id IS NULL AND site_name = ? AND domain_name = ?\");\n int i = 0;\n ResultSet rs = db.executeQuery(pstSelect);\n if (rs.next()) {\n do {\n pstUpdate.setInt(1, rs.getInt(1));\n pstUpdate.setString(2, rs.getString(2));\n pstUpdate.setString(3, rs.getString(3));\n i += db.executeUpdate(pstUpdate);\n } while (rs.next());\n } else {\n _logger.debug(\"fillTempTableWithId - no rows found.\");\n }\n _logger.debug(i + \" temp table site_id updated\");\n if (DbHelper.indexExists(db, \"t_http_log_site_id\")) {\n _logger.warn(\"Index t_http_log_site_id already exists. Wont be created\");\n } else {\n PreparedStatement createIndex = db.prepareStatement(create_index4);\n db.executeUpdate(createIndex);\n _logger.debug(\"temp index recreated\");\n }\n } finally {\n db.exit();\n }\n }", "public void doCreateTable();", "public final static void open(Transaction t) {\n Transaction o = (Transaction) transactionTable.get();\n if (o != null) {\n throw new RuntimeException(\"Attempt to open a nested transaction:\\n\"+\n \"\\tPrevious was: \"+o+\"\\n\"+\n \"\\tNext is: \"+t);\n }\n transactionTable.set(t);\n }", "@Test(enabled = false)\n public void testInsertIntoTempTable() throws Exception {\n String tableName = createTable();\n String insertTableName = createTable(false, false, true);\n\n assertTableIsRegistered(DEFAULT_DB, tableName);\n assertTableIsNotRegistered(DEFAULT_DB, insertTableName, true);\n\n String query = \"insert into \" + insertTableName + \" select id, name from \" + tableName;\n\n runCommand(query);\n\n Set<ReadEntity> inputs = getInputs(tableName, Entity.Type.TABLE);\n Set<WriteEntity> outputs = getOutputs(insertTableName, Entity.Type.TABLE);\n\n outputs.iterator().next().setWriteType(WriteEntity.WriteType.INSERT);\n\n HiveEventContext event = constructEvent(query, HiveOperation.QUERY, inputs, outputs);\n AtlasEntity hiveProcess = validateProcess(event);\n AtlasEntity hiveProcessExecution = validateProcessExecution(hiveProcess, event);\n AtlasObjectId process = toAtlasObjectId(hiveProcessExecution.getRelationshipAttribute(\n BaseHiveEvent.ATTRIBUTE_PROCESS));\n Assert.assertEquals(process.getGuid(), hiveProcess.getGuid());\n Assert.assertEquals(numberOfProcessExecutions(hiveProcess), 1);\n\n assertTableIsRegistered(DEFAULT_DB, tableName);\n assertTableIsRegistered(DEFAULT_DB, insertTableName, null, true);\n }", "private void initInternal() throws AccumuloException, AccumuloSecurityException, TableNotFoundException,\n TableExistsException {\n final String doctable = getFreeTextDocTablename(conf);\n final String termtable = getFreeTextTermTablename(conf);\n\n docTableNumPartitions = ConfigUtils.getFreeTextDocNumPartitions(conf);\n final int termTableNumPartitions = ConfigUtils.getFreeTextTermNumPartitions(conf);\n\n final TableOperations tableOps = ConfigUtils.getConnector(conf).tableOperations();\n\n // Create term table partitions\n final boolean createdTermTable = ConfigUtils.createTableIfNotExists(conf, termtable);\n if (createdTermTable && !ConfigUtils.useMockInstance(conf) && termTableNumPartitions > 0) {\n final TreeSet<Text> splits = new TreeSet<Text>();\n\n // split on the \"Term List\" and \"Reverse Term list\" boundary\n splits.add(new Text(ColumnPrefixes.getRevTermListColFam(\"\")));\n\n // Symmetrically split the \"Term List\" and \"Reverse Term list\"\n final int numSubpartitions = ((termTableNumPartitions - 1) / 2);\n if (numSubpartitions > 0) {\n final int step = (26 / numSubpartitions);\n for (int i = 0; i < numSubpartitions; i++) {\n final String nextChar = String.valueOf((char) ('a' + (step * i)));\n splits.add(new Text(ColumnPrefixes.getTermListColFam(nextChar)));\n splits.add(new Text(ColumnPrefixes.getRevTermListColFam(nextChar)));\n }\n }\n tableOps.addSplits(termtable, splits);\n }\n\n // Create document (text) table partitions\n final boolean createdDocTable = ConfigUtils.createTableIfNotExists(conf, doctable);\n if (createdDocTable && !ConfigUtils.useMockInstance(conf)) {\n final TreeSet<Text> splits = new TreeSet<Text>();\n for (int i = 0; i < docTableNumPartitions; i++) {\n splits.add(genPartition(i, docTableNumPartitions));\n }\n tableOps.addSplits(doctable, splits);\n\n // Add a tablet level Bloom filter for the Column Family.\n // This will allow us to quickly determine if a term is contained in a tablet.\n tableOps.setProperty(doctable, \"table.bloom.key.functor\", ColumnFamilyFunctor.class.getCanonicalName());\n tableOps.setProperty(doctable, \"table.bloom.enabled\", Boolean.TRUE.toString());\n }\n\n // Set mtbw by calling setMultiTableBatchWriter(). The DAO does this and manages flushing.\n // If you create it here, tests work, but a real Accumulo may lose writes due to unmanaged flushing.\n if (mtbw != null) {\n\t docTableBw = mtbw.getBatchWriter(doctable);\n\t termTableBw = mtbw.getBatchWriter(termtable);\n }\n tokenizer = ConfigUtils.getFreeTextTokenizer(conf);\n validPredicates = ConfigUtils.getFreeTextPredicates(conf);\n\n queryTermLimit = ConfigUtils.getFreeTextTermLimit(conf);\n }", "public static ResultScanner scanAll(HTable table) throws Exception {\n\t\tScan s = new Scan();\n\t\tResultScanner rs = table.getScanner(s);\n\t\treturn rs;\n\t}", "private void statsTable() {\n try (Connection connection = hikari.getConnection()) {\n try (PreparedStatement statement = connection.prepareStatement(\"CREATE TABLE IF NOT EXISTS `\" + TABLE_STATS + \"` \" +\n \"(id INT NOT NULL AUTO_INCREMENT UNIQUE, \" +\n \"uuid varchar(255) PRIMARY KEY, \" +\n \"name varchar(255), \" +\n \"kitSelected varchar(255), \" +\n \"points INT, \" +\n \"kills INT, \" +\n \"deaths INT, \" +\n \"killstreaks INT, \" +\n \"currentKillStreak INT, \" +\n \"inGame BOOLEAN)\")) {\n statement.execute();\n statement.close();\n connection.close();\n }\n } catch (SQLException e) {\n LogHandler.getHandler().logException(\"TableCreator:statsTable\", e);\n }\n }", "private TableAccessET() {\n\n }", "@Test\n public void testInjectOnScan_Empty_Reg() throws Exception {\n Connector conn = tester.getConnector();\n\n // create table, add table split, write data\n final String tableName = getUniqueNames(1)[0];\n SortedSet<Text> splitset = new TreeSet<>();\n splitset.add(new Text(\"f\"));\n TestUtil.createTestTable(conn, tableName, splitset);\n\n // expected data back\n Map<Key, Value> expect = new HashMap<>(HardListIterator.allEntriesToInject);\n\n // attach InjectIterator\n IteratorSetting itset = new IteratorSetting(15, InjectIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n itset = new IteratorSetting(16, DebugIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n\n // read back both tablets in parallel\n Scanner scan = conn.createScanner(tableName, Authorizations.EMPTY);\n// Key startKey = new Key(new Text(\"d\"), cf, cq);\n\n log.debug(\"Results of scan on table \" + tableName + ':');\n Map<Key, Value> actual = new TreeMap<>(TestUtil.COMPARE_KEY_TO_COLQ); // only compare row, colF, colQ\n for (Map.Entry<Key, Value> entry : scan) {\n Key k = entry.getKey();\n Value v = entry.getValue();\n log.debug(k + \" \" + v);\n Assert.assertFalse(\"Duplicate entry found: \" + k, actual.containsKey(k)); // passes on normal scanner\n actual.put(k, v);\n }\n Assert.assertEquals(expect, actual);\n\n // delete test data\n conn.tableOperations().delete(tableName);\n }", "public TableSorter() {\n indexes = new int[0];\n }", "String getTempTableName(String name);", "public void testCreateTable1() throws Exception {\n Properties props = new Properties();\n props.setProperty(LockssRepositoryImpl.PARAM_CACHE_LOCATION, tempDirPath);\n props\n\t.setProperty(ConfigManager.PARAM_PLATFORM_DISK_SPACE_LIST, tempDirPath);\n ConfigurationUtil.setCurrentConfigFromProps(props);\n\n createTable();\n }", "private void loadData(CopyTable table) throws Exception\n\t{\n\t\tLOG.info(\"Starting to load data of '\" + table.getDescription() + \"' into MonetDB...\");\n\t\tlong startTime = System.currentTimeMillis();\n\t\t\n\t\t// verify all temp files are available\n\t\tFile dataFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_data.csv\");\n\t\tFile countFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_count.txt\");\n\t\tFile metaDataFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_metadata.ser\");\n\t\t\n\t\tif (!countFile.exists())\n\t\t{\n\t\t\tthrow new Exception(\"Missing temporary count file for '\" + table.getDescription() + \"'\");\n\t\t}\n\t\t\n\t\tif (!metaDataFile.exists())\n\t\t{\n\t\t\tthrow new Exception(\"Missing temporary metadata file for '\" + table.getDescription() + \"'\");\n\t\t}\n\t\t\n\t\t// read count\n\t\tBufferedReader br = new BufferedReader(new FileReader(countFile));\n\t\tString countStr = br.readLine();\n\t\tbr.close();\n\t\t\n\t\tLong insertCount = null;\n\t\ttry {\n\t\t\tinsertCount = Long.parseLong(countStr);\n\t\t} catch (NumberFormatException e) {\n\t\t\tthrow new Exception(\"Unable to read row count from temporary count file for '\" + table.getDescription() + \"'\");\n\t\t}\n\t\t\t\n\t\t// read metadata\n\t\tSerializableResultSetMetaData metaData = null;\n\t\ttry {\n\t\t\tFileInputStream fileIn = new FileInputStream(metaDataFile);\n\t\t ObjectInputStream in = new ObjectInputStream(fileIn);\n\t\t metaData = (SerializableResultSetMetaData) in.readObject();\n\t\t in.close();\n\t\t fileIn.close();\n\t\t} catch (IOException | ClassNotFoundException e) {\n\t\t\tthrow new Exception(\"Unable to read metadata from temporary metadata file for '\" + table.getDescription() + \"'\", e);\n\t\t}\n\t\t\n\t\tif (metaData == null)\n\t\t\tthrow new Exception(\"Unable to read metadata from temporary metadata file for '\" + table.getDescription() + \"'\");\n\t\t\n\t\tMonetDBTable copyToTable =\n\t\t\ttable.isCopyViaTempTable() ? table.getTempTable() : table.getCurrentTable();\n\n\t\t// check tables in monetdb\n\t\tcheckTableInMonetDb(copyToTable, metaData);\n\t\t\n\t\t// do truncate?\n\t\tif (table.truncate())\n\t\t{\n\t\t\tMonetDBUtil.truncateMonetDBTable(copyToTable);\n\t\t}\n\t\t\n\t\t// no records to insert? then this method is done\n\t\tif (insertCount == 0)\n\t\t{\n\t\t\tLOG.info(\"Finished loading data into '{}': no data to load\", copyToTable.getName());\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// verify data file exists\n\t\tif (!dataFile.exists())\n\t\t{\n\t\t\tthrow new Exception(\"Missing temporary data file for '\" + table.getDescription() + \"'\");\n\t\t}\n\t\t\n\t\t// load data\n\t\tboolean isLoaded = false;\n\t\t\n\t\t// is it allowed to use COPY INTO method?\n\t\tif (copyToTable.getCopyTable().getCopyMethod() != CopyTable.COPY_METHOD_INSERT)\n\t\t{\n\t\t\t// try to load directly via COPY INTO FROM FILE\n\t\t\ttry {\n\t\t\t\tisLoaded = loadDataFromFile(copyToTable, dataFile, metaData, insertCount, table.isUseLockedMode());\n\t\t\t} catch (SQLException e) {\n\t\t\t\tLOG.warn(\"Failed to load data directly from file: \" + e.getMessage());\n\t\t\t}\n\t\t\t\t\t\n\t\t\t// not loaded? then try loading via COPY INTO FROM STDIN\n\t\t\tif (!isLoaded)\n\t\t\t{\n\t\t\t\ttry {\n\t\t\t\t\tisLoaded = loadDataFromStdin (copyToTable, dataFile, metaData, insertCount, table.isUseLockedMode());\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tLOG.warn(\"Failed to load data directly via STDIN: \" + e.getMessage());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t// still not loaded? final try with manual INSERTs\n\t\tif (!isLoaded)\n\t\t{\n\t\t\ttry {\n\t\t\t\tisLoaded = loadDataWithInserts (copyToTable, dataFile, metaData, insertCount);\n\t\t\t} catch (Exception e) {\n\t\t\t\tLOG.error(\"Failed to load data with INSERTs: \" + e.getMessage());\n\t\t\t}\n\t\t}\n\t\t\n\t\t// still not loaded? then unable to load, throw exception\n\t\tif (!isLoaded) \n\t\t{\n\t\t\tthrow new Exception(\"Unable to load data into MonetDB for '\" + table.getDescription() + \"'\");\n\t\t}\n\t\t\n\t\tlong loadTime = (System.currentTimeMillis() - startTime) / 1000;\n\t\tLOG.info(\"Finished loading data into \" + copyToTable.getName() + \" in \" + loadTime + \" seconds\");\n\t}", "@Test\n public void testInsertScan() throws Exception {\n Connector conn = tester.getConnector();\n\n // create table, add table split, write data\n final String tableName = getUniqueNames(1)[0];\n Map<Key, Value> input = new HashMap<>();\n input.put(new Key(\"aTablet1\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n input.put(new Key(\"kTablet2\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n input.put(new Key(\"zTablet2\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n SortedSet<Text> splitset = new TreeSet<>();\n splitset.add(new Text(\"f\"));\n TestUtil.createTestTable(conn, tableName, splitset, input);\n\n IteratorSetting itset = new IteratorSetting(16, DebugIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n\n // expected data back\n Map<Key, Value> expect = new HashMap<>(input);\n\n // read back both tablets in parallel\n BatchScanner scan = conn.createBatchScanner(tableName, Authorizations.EMPTY, 2);\n// Key startKey = new Key(new Text(\"d\"), cf, cq);\n Range rng = new Range();\n scan.setRanges(Collections.singleton(rng));\n log.debug(\"Results of scan on table \" + tableName + ':');\n Map<Key, Value> actual = new TreeMap<>(TestUtil.COMPARE_KEY_TO_COLQ); // only compare row, colF, colQ\n for (Map.Entry<Key, Value> entry : scan) {\n Key k = entry.getKey();\n Value v = entry.getValue();\n log.debug(k + \" \" + v);\n actual.put(k, v);\n }\n Assert.assertEquals(expect, actual);\n\n // delete test data\n conn.tableOperations().delete(tableName);\n }", "private void createTempDatabase() {\n\t\thandler = new ERXmlDocumentHandler(doc);\n\t\tList<String> filter = initFilter(subjectId);\n\t\tparseEntitys(filter);\n\t}", "private void copyTempTableToCurrentTable(CopyTable copyTable) throws SQLException\n\t{\n\t\tLOG.info(\"Copying the temp table to the result table\");\n\n\t\t// drop result table before replacing with temp table\n\t\tif (MonetDBUtil.monetDBTableExists(copyTable.getCurrentTable()))\n\t\t{\n\t\t\tMonetDBUtil.dropMonetDBTable(copyTable.getCurrentTable());\n\t\t}\n\t\tMonetDBUtil.copyMonetDBTableToNewMonetDBTable(copyTable.getTempTable(),\n\t\t\tcopyTable.getCurrentTable());\n\t\t// drop temp table, we wont need it anymore\n\t\tMonetDBUtil.dropMonetDBTable(copyTable.getTempTable());\n\n\n\t\tLOG.info(\"Finished copying the temp table to the result table\");\n\t}", "void initTable();", "public DbFileIterator iterator(final TransactionId tid) { \t\n// some code goes here\n \t\n \tDbFileIterator dbfi = new DbFileIterator() {\n \tint pgno = 0;\n \tHeapPage currPg = null;\n \tString name = Database.getCatalog().getTableName(getId());\n \tint tblid = Database.getCatalog().getTableId(name);\n \tint open = 0; \t\n \t\n \t//Todo: pass along the tid from the outer method.\n \t//DONE. by making tid param final.\n \tTransactionId m_tid = tid;\n \t\n \tIterator<Tuple> titr = null;\n \t\n\t\t\t@Override\n\t\t\tpublic void rewind() throws DbException, TransactionAbortedException {\n\t\t\t\tclose();\n\t\t\t\topen();\n\t\t\t}\n\t\t\t\n\t\t\tpublic void nextPage() throws DbException, TransactionAbortedException {\n\n\t\t\t\tif (pgno >= numPages())\n\t\t\t\t\treturn;\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tcurrPg = (HeapPage) Database.getBufferPool().getPage(m_tid, new HeapPageId(tblid, pgno), simpledb.Permissions.READ_ONLY);\n\t\t\t\t\ttitr = currPg.iterator();\n\t\t\t\t\tif (titr == null)\n\t\t\t\t\t\tthrow new DbException(\"blah blah blah\");\n\t\t\t\t\tpgno++;\n\t\t\t\t\treturn;\n\t\t\t\t} catch (DbException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tthrow new DbException(\"page was not found or no more iterators..?\");\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void open() throws DbException, TransactionAbortedException {\n\t\t\t\topen = 1;\n\t\t\t\tpgno = 0;\n\t\t\t\tnextPage();\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic Tuple next() throws DbException, TransactionAbortedException,\n\t\t\t\t\tNoSuchElementException {\n\t\t\t\tif (open != 1)\n\t\t\t\t\tthrow new NoSuchElementException();\n\t\t\t\tif (!titr.hasNext())\n\t\t\t\t\tnextPage();\n\t\t\t\treturn titr.next();\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic boolean hasNext() throws DbException, TransactionAbortedException {\n\t\t\t\tif (open !=1)\n\t\t\t\t\treturn false;\n\t\t\t\tif (titr == null) //TODO: remove\n\t\t\t\t\tthrow new DbException(Integer.toString(pgno) + Integer.toString(open) + Integer.toString(numPages()) + m_f.getPath());\n\t\t\t\tif (!titr.hasNext())\n\t\t\t\t\tnextPage();\n\t\t\t\tif (titr.hasNext())\n\t\t\t\t\treturn true;\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void close() {\n\t\t\t\topen = 0;\n\t\t\t\ttitr = null;\n\t\t\t}\n\t\t};\n return dbfi;\n }", "public boolean dropTemporaryTableAfterUse() {\n \t\treturn true;\n \t}", "public void testCreateTable2() throws Exception {\n Properties props = new Properties();\n props.setProperty(LockssRepositoryImpl.PARAM_CACHE_LOCATION, tempDirPath);\n props\n\t.setProperty(ConfigManager.PARAM_PLATFORM_DISK_SPACE_LIST, tempDirPath);\n props.setProperty(SqlDbManager.PARAM_DATASOURCE_DATABASENAME,\n\t\t new File(tempDirPath, \"db/TestSqlDbManager\")\n\t\t\t .getCanonicalPath());\n ConfigurationUtil.setCurrentConfigFromProps(props);\n\n createTable();\n }", "protected abstract void initTable() throws RemoteException, NotBoundException, FileNotFoundException;", "public DbFileIterator iterator(TransactionId tid) {\n // some code goes here\n return new HeapFileIterator(this, tid);\n }", "public void initTable();", "@Override\n public SqlDatabaseTable createTable(String tableName, int columnCount, boolean dropExist) {\n StringBuilder sql = new StringBuilder();\n if (dropExist) {\n sql.append(\"DROP TABLE IF EXISTS `\").append(tableName).append(\"`;\");\n executeSql(sql.toString());\n sql.setLength(0);\n }\n\n // Ignored check because only one statement is executed\n // if (!dropExist && SqlStorageEngine.getInstance().checkTableExist(tableName))\n\n sql.append(\"CREATE TEMPORARY TABLE\");\n if (!dropExist) {\n sql.append(\" IF NOT EXISTS\");\n }\n sql.append(\" `\").append(tableName).append(\"`\");\n sql.append(\" ( `id` INT NOT NULL AUTO_INCREMENT, `uniq` CHAR(32) NOT NULL UNIQUE,\");\n for (int i = 0; i < columnCount; i++) {\n sql.append(\" `_\").append(i).append(\"` VARCHAR(32) NULL,\");\n sql.append(\"INDEX (`_\").append(i).append(\"`),\");\n }\n sql.append(\" PRIMARY KEY (`id`)) ENGINE = MEMORY;\");\n executeSql(sql.toString());\n\n // Ignore this, we use create clause to create index\n // createIndexes(tableName, columnCount);\n\n return new SqlDatabaseRefTable(tableName, columnCount);\n }", "public static void checkTableForReg(Connection con, String tableName, String createTableQuery)\n throws SQLException\n {\n \tSystem.out.println(\"Checking for table \"+tableName);\n if(con.isValid(0))\n {\n Statement stmt = con.createStatement();\n DatabaseMetaData md = con.getMetaData();\n ResultSet rs = md.getTables(null, null, \"%\", null);\n if( !rs.next() )\n {\n \tSystem.out.println(\"Creating Table --> +\"+tableName);\n stmt.executeUpdate(createTableQuery);\n }\n else\n {\n do\n {\n if( tableName.equals(rs.getString(3)) )\n {\n \tSystem.out.println(\"Table \"+tableName+\" already present\");\n stmt.close();\n return;\n }\n }while (rs.next());\n System.out.println(\"Creating Table --> +\"+tableName);\n stmt.executeUpdate(createTableQuery);\n }\n stmt.close();\n System.out.println(\"Checking \"+tableName+\" done!!\");\n }\n }", "@Test\n// @Ignore(\"KnownBug: ACCUMULO-3646\")\n public void testInjectOnScan_Empty() throws Exception {\n Connector conn = tester.getConnector();\n\n // create table, add table split, write data\n final String tableName = getUniqueNames(1)[0];\n SortedSet<Text> splitset = new TreeSet<>();\n splitset.add(new Text(\"f\"));\n TestUtil.createTestTable(conn, tableName, splitset);\n\n // expected data back\n Map<Key, Value> expect = new HashMap<>(HardListIterator.allEntriesToInject);\n\n // attach InjectIterator\n IteratorSetting itset = new IteratorSetting(15, InjectIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n itset = new IteratorSetting(16, DebugIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n\n // read back both tablets in parallel\n BatchScanner scan = conn.createBatchScanner(tableName, Authorizations.EMPTY, 2);\n// Key startKey = new Key(new Text(\"d\"), cf, cq);\n Range rng = new Range();\n scan.setRanges(Collections.singleton(rng));\n log.debug(\"Results of scan on table \" + tableName + ':');\n Map<Key, Value> actual = new TreeMap<>(TestUtil.COMPARE_KEY_TO_COLQ); // only compare row, colF, colQ\n for (Map.Entry<Key, Value> entry : scan) {\n Key k = entry.getKey();\n Value v = entry.getValue();\n log.debug(k + \" \" + v);\n // fails on BatchScanner when iterator generates entries past its range\n Assert.assertFalse(\"Duplicate entry found: \" + k, actual.containsKey(k));\n actual.put(k, v);\n }\n Assert.assertEquals(expect, actual);\n\n // delete test data\n conn.tableOperations().delete(tableName);\n }", "@Override\n\tpublic void scan(Transaction tx) {\n\n\t}", "ExpRunTable createRunTable(String name, UserSchema schema, ContainerFilter cf);", "private String generateSqlServerTemporaryTableName() {\n return \"temp\" + temporaryTableCounter.getAndIncrement();\n }", "@Override\n\tpublic void createTable(Object connectionHandle, DataTable table) throws DataSourceException\n\t{\n\t\tList<DataField> fields = new LinkedList<DataField>();\n\t\tList<String> indexes = new LinkedList<String>();\n\t\t\n\t\tList<String> keys = table.getFields();\n\t\tIterator<String> it = keys.iterator();\n\t\twhile(it.hasNext()){\n\t\t\tString fld = it.next();\n\t\t\tDataField df = table.getDataField(fld);\n\t\t\t\n\t\t\tfields.add(df);\n\t\t\t\n\t\t//\tif(df.isPrimary()){\n\t\t//\t\tindexes.add(fld);\n\t\t//\t}\n\t\t}\n\t\t\n\t\tIterator<DataField> primaryIt = table.getPrimaryKeys().iterator();\n\t\twhile(primaryIt.hasNext()){\n\t\t\tDataField pf = primaryIt.next();\n\t\t\t\n\t\t\tindexes.add(pf.getName());\n\t\t}\n\t\t\n\t\t\n\t\t// Make SQL String\n\t\tStringBuffer sqlString = new StringBuffer();\n\t\tsqlString.append(\"CREATE TABLE \");\n\t\tsqlString.append(table.getName());\n\t\tsqlString.append(\" ( \\n\");\n\t\t\n\t\tboolean first = true;\n\t\tIterator<DataField> itDf = fields.iterator();\n\t\twhile(itDf.hasNext()){\n\t\t\tDataField fld = itDf.next();\n\t\t\t\n\t\t\tif(first){\n\t\t\t\tfirst = false;\n\t\t\t}else{\n\t\t\t\tsqlString.append(\",\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tsqlString.append(fld.getName());\n\t\t\tsqlString.append(\" \");\n\t\t\tsqlString.append(getSQLType(fld.getType()));\n\t\t\t\n\t\t\t// not null\n\t\t\tif(fld.isNotnull()){\n\t\t\t\tsqlString.append(\" NOT NULL\");\n\t\t\t}\n\t\t\t\n\t\t\t// unique\n\t\t\tif(fld.isUnique()){\n\t\t\t\tsqlString.append(\" UNIQUE\");\n\t\t\t}\n\t\t\t\n\t\t\t// default\n\t\t\tif(fld.getDefaultValue() != null){\n\t\t\t\tsqlString.append(\" \");\n\t\t\t\tsqlString.append(fld.getDefaultString());\n\t\t\t}\n\t\t\t\n\t\t\t// check\n\t\t\tif(fld.getCheck() != null){\n\t\t\t\tsqlString.append(\" \");\n\t\t\t\ttry {\n\t\t\t\t\tsqlString.append(fld.getCheck().extract(null, null, null, null, null));\n\t\t\t\t} catch (ExecutionException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthrow new DataSourceException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t// check\n\t\tIterator<CheckDefinition> checkIt = table.getCheck().iterator();\n\t\twhile(checkIt.hasNext()){\n\t\t\tCheckDefinition def = checkIt.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\ttry {\n\t\t\t\tsqlString.append(def.extract(null, null, null, null, null));\n\t\t\t} catch (ExecutionException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new DataSourceException(e);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// foreign key\n\t\tIterator<ForeignKey> foreignIt = table.getForeignKey().iterator();\n\t\twhile(foreignIt.hasNext()){\n\t\t\tForeignKey fkey = foreignIt.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\ttry {\n\t\t\t\tsqlString.append(fkey.extract(null, null, null, null, null));\n\t\t\t} catch (ExecutionException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new DataSourceException(e);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// primary key\n\t\tif(indexes.size() > 0){\n\t\t\tsqlString.append(\",\\n\");\n\t\t\tsqlString.append(\"PRIMARY KEY(\");\n\t\t\t\n\t\t\tfirst = true;\n\t\t\tit = indexes.iterator();\n\t\t\twhile(it.hasNext()){\n\t\t\t\tString idxFld = it.next();\n\t\t\t\t\n\t\t\t\tif(first){\n\t\t\t\t\tfirst = false;\n\t\t\t\t}else{\n\t\t\t\t\tsqlString.append(\", \");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsqlString.append(idxFld);\n\t\t\t}\n\n\t\t\tsqlString.append(\")\");\n\t\t}\n\t\t\n\t\t// unique\n\t\tIterator<Unique> itU = table.getUnique().iterator();\n\t\twhile(itU.hasNext()){\n\t\t\tUnique unique = itU.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\tsqlString.append(\"UNIQUE(\");\n\t\t\t\n\t\t\tfirst = true;\n\t\t\tIterator<String> itUnique = unique.getKey().iterator();\n\t\t\twhile(itUnique.hasNext()){\n\t\t\t\tString col = itUnique.next();\n\t\t\t\t\n\t\t\t\tif(first){\n\t\t\t\t\tfirst = false;\n\t\t\t\t}else{\n\t\t\t\t\tsqlString.append(\",\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsqlString.append(col);\n\t\t\t}\n\t\t\t\n\t\t\tsqlString.append(\")\");\n\t\t}\n\t\t\n\t\tsqlString.append(\"\\n)\\n\");\n\t\t\n\t\tif(this.logger != null && this.outSql){\n\t\t\tthis.logger.reportInfo(sqlString.toString());\n\t\t}\n\t\t\n\t\t// \n\t\tAlinousDebug.debugOut(core, sqlString.toString());\n\t\t\n\t\texecuteUpdateSQL(connectionHandle, sqlString.toString(), false);\n\n\t}", "public synchronized void criarTabela(){\n \n String sql = \"CREATE TABLE IF NOT EXISTS CPF(\\n\"\n + \"id integer PRIMARY KEY AUTOINCREMENT,\\n\"//Autoincrement\n// + \"codDocumento integer,\\n\"\n + \"numCPF integer\\n\"\n + \");\";\n \n try (Connection c = ConexaoJDBC.getInstance();\n Statement stmt = c.createStatement()) {\n // create a new table\n stmt.execute(sql);\n stmt.close();\n c.close();\n } catch (SQLException e) {\n System.err.println(e.getClass().getName() + \": \" + e.getMessage()); \n// System.out.println(e.getMessage());\n }\n System.out.println(\"Table created successfully\");\n }", "public boolean createIndex(Hashtable<String, Hashtable<Integer,Quad>> ind_buffer){\n\t\tSet<String> keys = ind_buffer.keySet();\n\t\tHashtable<Integer,Quad> list;\n\t\tQuad comp;\n\t\tint part;\n\t\tint type1_s, type1_o;\n\t\tint type_s,type_o;\n\t\tint wei, wei1; // compared use\n\t\tint o_bytes, s_bytes, o_bytes1, s_bytes1;\n\t\tString check = \"select resource, part, type_s, type_o, weight, o_bytes, s_bytes from `\"+table+\"` where \";\n\t\t//String insert = \"insert into `sindex` values \";\n//\t\tString update = \"update \"\n\t\tResultSet rs = null;\n\t\tPreparedStatement prepstmt = null;\n\t\tString res;\n\t\tfor(String key : keys){\n\t\t\tlist = ind_buffer.get(key);\n\t\t\tif(key.indexOf('\\'') != -1 )\n\t\t\t\tres = key.replaceAll(\"'\", \"''\");\n\t\t\telse res = key;\n\t\t// hashcode sealing\t\n\t\t//\tkey = String.valueOf(key.hashCode()); \n\t\t\t\n\t\t\tfor(int i : list.keySet()){\n\t\t\t\tcomp = list.get(i);\n\t\t\t\tpart = i;\n\t\t\t\ttype_s = comp.type_s;\n\t\t\t\ttype_o = comp.type_o;\n\t\t\t\twei = comp.weight;\n\t\t\t\to_bytes = comp.o_bytes;\n\t\t\t\ts_bytes = comp.s_bytes;\n\t\t\t// seach if have res in table\n\t\t\t\tStringBuilder sql = new StringBuilder();\n\t\n\t\t\t\tsql.append(check).append(\"resource='\").append(res).append(\"' and part=\").append(part);\n\n\t\t\t\ttry {\n\t\t\t\t\tprepstmt = conn.prepareStatement(sql.toString(),ResultSet.TYPE_SCROLL_INSENSITIVE,\n\t\t\t\t\t\t\tResultSet.CONCUR_UPDATABLE);\n\t\t\t\t\trs = prepstmt.executeQuery();\n\t\t\t\t\tif(rs.next()){\n\t\t\t\t\t\t// updates the records\t\n\t\t\t\t\t\ttype1_o = rs.getInt(\"type_o\");\n\t\t\t\t\t\ttype1_s = rs.getInt(\"type_s\");\n\t\t\t\t\t\twei1 = rs.getInt(\"weight\");\n\t\t\t\t\t\to_bytes1 = rs.getInt(\"o_bytes\");\n\t\t\t\t\t\ts_bytes1 = rs.getInt(\"s_bytes\");\n\t\t\t\t\t\t// unpdate records\t\n\t\t\t\t\t\twei += wei1;\n\t\t\t\t\t\t/*if(wei < wei1){\n\t\t\t\t\t\t\twei = wei1;\n\t\t\t\t\t\t\tflag2 = 1;\n\t\t\t\t\t\t}*/\n\t\t\t\t\t\t\n\t\t\t\t\t\to_bytes1 += o_bytes;\n\t\t\t\t\t\ts_bytes1 += s_bytes;\n\t\t\t\t\t\tif(type_s != 0 && type1_s == 0)\n\t\t\t\t\t\t\trs.updateInt(\"type_s\", type_s);\n\t\t\t\t\t\tif(type_o != 0 && type1_o == 0)\n\t\t\t\t\t\t\trs.updateInt(\"type_o\", type_o);\n\t\t\t\t\t//\tif(flag2 == 1)\n\t\t\t\t\t\t\trs.updateInt(\"weight\", wei);\n\t\t\t\t\t\trs.updateInt(\"o_bytes\", o_bytes1);\n\t\t\t\t\t\trs.updateInt(\"s_bytes\", s_bytes1);\n\t\t\t\t\t\t\n\t\t\t\t\t\trs.updateRow();\n\t\t\t\t\t}else {\n\t\t\t\t// directly insert the record\n\t\t\t\t\t\n\t\t\t\t/**\t\t(option 1 as below)\t\n\t\t\t\t *\t\tvalue = \"('\"+key+\"',\"+part+\",'\"+type+\"',\"+wei+\")\";\n\t\t\t\t *\t\tupdateSql(insert+value);\n\t\t\t\t */\n\t\t\t\t//\t\toption 2 to realize\t\t\n\t\t\t\t\t\trs.moveToInsertRow();\n\t\t\t\t\t\trs.updateString(\"resource\", key);\n\t\t\t\t\t\trs.updateInt(\"part\", part);\n\t\t\t\t\t\trs.updateInt(\"type_s\", type_s);\n\t\t\t\t\t\trs.updateInt(\"type_o\", type_o);\n\t\t\t\t\t\trs.updateInt(\"weight\", wei);\n\t\t\t\t\t\trs.updateInt(\"o_bytes\", o_bytes);\n\t\t\t\t\t\trs.updateInt(\"s_bytes\", s_bytes);\n\t\t\t\t\t\trs.insertRow();\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tSystem.out.println(key);\n\t\t\t\t}finally{\n\t\t\t\t// ??should wait until all database operation finished!\t\t\n\t\t\t\t\tif (rs != null) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\trs.close();\n\t\t\t\t\t\t\tprepstmt.close();\n\t\t\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "TableFull createTableFull();", "void prepareTables();", "public void setTableName(String tmp) {\n this.tableName = tmp;\n }", "private void createLoginTable() {\r\n jdbcExecutor.executeQuery(new Work() {\r\n @Override\r\n public void execute(Connection connection) throws SQLException {\r\n connection.createStatement().executeUpdate(\"CREATE TABLE login ( id numeric(19,0), user_id numeric(19,0), timestamp TIMESTAMP )\");\r\n }\r\n });\r\n }", "public int volatileIndex(String tableName) {\r\n\t\tint index = -1;\r\n\t\tint distance = 100000; // 当脚本中同一名称的表有多个create语句时,判断使用哪个create语句\r\n\t\tfor (int i = 0; i < volatileTableList.size(); i++) {\r\n\t\t\tHashMap volatileTable = (HashMap) volatileTableList.get(i);\r\n\t\t\tif (tableName.equalsIgnoreCase((String) volatileTable.get(\"table_name\"))) {\r\n\t\t\t\tInteger createIndex = (Integer) volatileTable.get(\"sqlIndex\");\r\n\t\t\t\tif ((sqlIndex - createIndex.intValue()) <= distance) {\r\n\t\t\t\t\tdistance = sqlIndex - createIndex.intValue();\r\n\t\t\t\t\tindex = createIndex.intValue();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn index;\r\n\t}", "static int OPL_LockTable() {\n num_lock++;\n if (num_lock > 1) {\n return 0;\n }\n /* first time */\n cur_chip = null;\n /* allocate total level table (128kb space) */\n if (OPLOpenTable() == 0) {\n num_lock--;\n return -1;\n }\n return 0;\n }", "public static void init_traffic_table() throws SQLException{\n\t\treal_traffic_updater.create_traffic_table(Date_Suffix);\n\t\t\n\t}", "private void validateInternalTable(ConnectorTableMetadata meta)\n {\n String table = AccumuloTable.getFullTableName(meta.getTable());\n String indexTable = Indexer.getIndexTableName(meta.getTable());\n String metricsTable = Indexer.getMetricsTableName(meta.getTable());\n\n if (conn.tableOperations().exists(table)) {\n throw new PrestoException(ACCUMULO_TABLE_EXISTS,\n \"Cannot create internal table when an Accumulo table already exists\");\n }\n\n if (AccumuloTableProperties.getIndexColumns(meta.getProperties()).size() > 0) {\n if (conn.tableOperations().exists(indexTable) || conn.tableOperations().exists(metricsTable)) {\n throw new PrestoException(ACCUMULO_TABLE_EXISTS,\n \"Internal table is indexed, but the index table and/or index metrics table(s) already exist\");\n }\n }\n }", "public DbFileIterator iterator(TransactionId tid) {\n // some code goes here\n return new HeapFileIterator(tid, this);\n }", "public void dropTempTable (java.lang.String tableName) { throw new RuntimeException(); }", "private void createCheckingAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE checkingAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 1000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table checkingAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of checkingAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}", "public boolean createTable(String input) throws IOException{\n\t\tString orgQuery = input;\n\t\torgQuery = orgQuery.trim();\n\t\tString query = input.toLowerCase().trim();\n\t\tboolean queryFailed = false;\n\t\t//Schema Instance \n\t\tSchema currentSchema = Schema.getSchemaInstance();\n\t\tString currentSchemaName = currentSchema.getCurrentSchema();\n\n\t\t//TableSchemaManager Instance\n\t\tTableSchemaManager currentTableSchemaManager = TableSchemaManager.getTableSchemaManagerInstance();\n\n\t\t//Extracting Table name\n\t\ttableName = orgQuery.substring(query.indexOf(\"table \")+6,query.indexOf(\"(\")).trim();\n\n\t\t//Updating SCHEMA.TABLE.TBL\n\t\tif(updateInformationSchemaTable()){\n\t\t\tqueryFailed = true;\n\t\t\treturn queryFailed;\n\t\t}\n\n\t\t//Extracting Table contents\n\t\tString tableContentsWithQuotes = orgQuery.substring(orgQuery.indexOf(\"(\")+1,orgQuery.length());\n\t\tString tableContents = tableContentsWithQuotes.replace(\"))\", \")\");\n\t\ttableContents = tableContents.trim();\n\n\t\tTableSchemaManager.ordinalMap = new TreeMap<Integer,List<String>>();\n\t\tTableSchemaManager.tableMap = new TreeMap<String,TreeMap<Integer,List<String>>>();\n\t\t\n\t\t//Creating n instances of Table helper\n\t\tString[] createTableContents = tableContents.split(\"\\\\,\"); \n\t\tnoOfColumns = createTableContents.length;\n\t\tCreateTableHelper[] th = new CreateTableHelper[noOfColumns];\n\n\t\t\n\t\t//Handles single row of Create Table \n\t\tfor(int item = 0; item < noOfColumns ; item++){\n\t\t\tth[item] = new CreateTableHelper(); \n\t\t\t//To remove any leading or trailing spaces\n\t\t\tcreateTableContents[item] = createTableContents[item].trim();\n\t\t\tString columnName = createTableContents[item].substring(0, createTableContents[item].indexOf(\" \"));\n\t\t\tth[item].setColumnName(columnName);\n\n\t\t\t//Setting Primary Key\n\t\t\tString primaryKeyExp = \"(.*)[pP][rR][iI][mM][aA][rR][yY](.*)\";\n\t\t\tif (createTableContents[item].matches(primaryKeyExp))\n\t\t\t\tth[item].setPrimaryKey(true);\n\t\t\telse\n\t\t\t\tth[item].setPrimaryKey(false);\n\n\t\t\t//Setting Null Value\t\n\t\t\tString notNullExp = \"(.*)[nN][uU][lL][lL](.*)\";\n\t\t\tif (createTableContents[item].matches(notNullExp))\n\t\t\t\tth[item].setNull(true);\n\t\t\telse\n\t\t\t\tth[item].setNull(false);\n\n\t\t\t//Extracting data types \n\t\t\t//BYTE\n\t\t\tString byteExp = \"(.*)[bB][yY][tT][eE](.*)\";\n\t\t\tif (createTableContents[item].matches(byteExp)){\n\t\t\t\tth[item].setDataType(\"BYTE\");\n\t\t\t}\n\t\t\t//SHORT\n\t\t\tString shortExp = \"(.*)[sS][hH][oO][rR][tT](.*)\";\n\t\t\tif (createTableContents[item].matches(shortExp)){\n\t\t\t\tth[item].setDataType(\"SHORT\");\n\t\t\t}\n\t\t\t//INT\n\t\t\tString intExp = \"(.*)[iI][nN][tT](.*)\";\n\t\t\tif (createTableContents[item].matches(intExp)){\n\t\t\t\tth[item].setDataType(\"INT\");\n\t\t\t}\n\t\t\t//LONG\n\t\t\tString longExp = \"(.*)[lL][oO][nN][gG](.*)\";\n\t\t\tif (createTableContents[item].matches(longExp)){\n\t\t\t\tth[item].setDataType(\"LONG\");\n\t\t\t}\n\t\t\t//CHAR\n\t\t\tString charExp = \"(.*)[cC][hH][aA][rR](.*)\";\n\t\t\tif (createTableContents[item].matches(charExp)){\n\t\t\t\tString size = createTableContents[item].substring(createTableContents[item].indexOf(\"(\")+1, createTableContents[item].indexOf(\")\"));\n\t\t\t\tth[item].setDataType(\"CHAR(\" + size + \")\");\n\t\t\t}\n\t\t\t//VARCHAR\n\t\t\tString varcharExp = \"(.*)[vV][aA][rR][cC][hH][aA][rR](.*)\";\n\t\t\tif (createTableContents[item].matches(varcharExp)){\n\t\t\t\tString size = createTableContents[item].substring(createTableContents[item].indexOf(\"(\")+1, createTableContents[item].indexOf(\")\"));\n\t\t\t\tth[item].setDataType(\"VARCHAR(\" + size + \")\");\n\t\t\t}\n\t\t\t//FLOAT\n\t\t\tString floatExp = \"(.*)[fF][lL][oO][aA][tT](.*)\";\n\t\t\tif (createTableContents[item].matches(floatExp)){\n\t\t\t\tth[item].setDataType(\"FLOAT\");\t\t\t\t\n\t\t\t}\n\t\t\t//DOUBLE\n\t\t\tString doubleExp = \"(.*)[dD][oO][uU][bB][lL][eE](.*)\";\n\t\t\tif (createTableContents[item].matches(doubleExp)){\n\t\t\t\tth[item].setDataType(\"DOUBLE\");\n\t\t\t}\n\t\t\t//DATETIME\n\t\t\tString dateTimeExp = \"(.*)[dD][aA][tT][eE][tT][iI][mM][eE](.*)\";\n\t\t\tif (createTableContents[item].matches(dateTimeExp)){\n\t\t\t\tth[item].setDataType(\"DATETIME\");\n\t\t\t}\n\t\t\t//DATE\n\t\t\tString dateExp = \"(.*)[dD][aA][tT][eE](.*)\";\n\t\t\tif (createTableContents[item].matches(dateExp)){\n\t\t\t\tth[item].setDataType(\"DATE\");\n\t\t\t}\n\n\t\t\tcurrentTableSchemaManager.newTableSchema(\n\t\t\t\t\ttableName,\n\t\t\t\t\titem,\n\t\t\t\t\tth[item].getColumnName(),\n\t\t\t\t\tth[item].getDataType(),\n\t\t\t\t\tth[item].isNull(),\n\t\t\t\t\tth[item].isPrimaryKey()\n\t\t\t\t\t);\n\n\t\t\t//Updating SCHEMA.COLUMNS.TBL\n\t\t\tupdateInformationSchemaColumn(\n\t\t\t\t\tth[item].getColumnName(),\n\t\t\t\t\titem,\n\t\t\t\t\tth[item].getDataType(),\n\t\t\t\t\tth[item].isNull(),\n\t\t\t\t\tth[item].isPrimaryKey()\n\t\t\t\t\t);\n\t\t\t//Create tables to insert index\n\t\t\tString newTableIndexName = currentSchemaName + \".\" + tableName + \".\" +th[item].getColumnName()+ \".tbl.ndx\";\n\t\t\tRandomAccessFile newTableIndexFile = new RandomAccessFile(newTableIndexName, \"rw\");\n\t\t\tnewTableIndexFile.close();\n\n\t\t}\n\n\t\tTableSchemaManager.tableMap.put(tableName, TableSchemaManager.ordinalMap);\n\t\tcurrentTableSchemaManager.updateTableSchema(currentSchemaName,tableName);\n\t\t\n\t\t//Create tables to insert data \n\t\tString newTableDataName = currentSchemaName + \".\" + tableName + \".tbl\";\n\t\tRandomAccessFile newTableDataFile = new RandomAccessFile(newTableDataName, \"rw\");\n\t\tnewTableDataFile.close();\n\t\treturn queryFailed;\n\t}", "protected abstract void initialiseTable();", "Table createTable();", "private void calcTableList() throws SQLException {\n tableList = new TableList(session);\n SQLTokenizer[] tzs = tableListTokens.parse(SQLTokenizer.COMMA);\n for(int i = 0; tzs != null && i < tzs.length; i++) {\n if(tzs[i].countTokens() == 0) throw new SQLException(\"Syntax error\");\n String correlation = null;\n String table = tzs[i].getToken(0);\n int n = 1;\n if(tzs[i].getType(1) == Keyword.AS) {\n n++;\n }\n correlation = tzs[i].getToken(n);\n tableList.addTable(table, correlation);\n }\n }", "public static void useTempFileDatabase() {\n\t\tsetDatabaseMap(TempFileDatabaseMap.class);\n\t}", "private void refTable() {\n try {\n String s = \"select * from stock\";\n pstm = con.prepareStatement(s);\n res = pstm.executeQuery(s);\n table.setModel(DbUtils.resultSetToTableModel(res));\n\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"There Is No Data In Server\");\n }\n }", "public void testScanDataByIndex() {\n LOG.info(\"Entering testScanDataByIndex.\");\n\n Table table = null;\n ResultScanner scanner = null;\n try {\n table = conn.getTable(tableName);\n\n // Create a filter for indexed column.\n Filter filter = new SingleColumnValueFilter(Bytes.toBytes(\"info\"), Bytes.toBytes(\"name\"),\n CompareOp.EQUAL, \"Li Gang\".getBytes());\n Scan scan = new Scan();\n scan.setFilter(filter);\n scanner = table.getScanner(scan);\n LOG.info(\"Scan indexed data.\");\n\n for (Result result : scanner) {\n for (Cell cell : result.rawCells()) {\n LOG.info(Bytes.toString(CellUtil.cloneRow(cell)) + \":\"\n + Bytes.toString(CellUtil.cloneFamily(cell)) + \",\"\n + Bytes.toString(CellUtil.cloneQualifier(cell)) + \",\"\n + Bytes.toString(CellUtil.cloneValue(cell)));\n }\n }\n LOG.info(\"Scan data by index successfully.\");\n } catch (IOException e) {\n LOG.error(\"Scan data by index failed \", e);\n } finally {\n if (scanner != null) {\n // Close the scanner object.\n scanner.close();\n }\n try {\n if (table != null) {\n table.close();\n }\n } catch (IOException e) {\n LOG.error(\"Close table failed \", e);\n }\n }\n\n LOG.info(\"Exiting testScanDataByIndex.\");\n }", "@Test(timeout = 4000)\n public void test112() throws Throwable {\n DefaultDBTable defaultDBTable0 = new DefaultDBTable(\"O\\\"6T\");\n File file0 = MockFile.createTempFile(\"<*kYz\", \"BLOB\");\n MockPrintWriter mockPrintWriter0 = new MockPrintWriter(file0);\n NameSpec nameSpec0 = NameSpec.ALWAYS;\n SQLUtil.renderCreateTable(defaultDBTable0, true, nameSpec0, mockPrintWriter0);\n assertNull(defaultDBTable0.getDoc());\n }", "public String getCreateTemporaryTableString() {\n \t\treturn \"create table\";\n \t}", "public void setTmp_tables(Long tmp_tables) {\n this.tmp_tables = tmp_tables;\n }", "private void createTable() {\n try (Statement st = this.conn.createStatement()) {\n st.execute(\"CREATE TABLE IF NOT EXISTS users (user_id SERIAL PRIMARY KEY, name VARCHAR(100) NOT NULL, \"\n + \"login VARCHAR(100) UNIQUE NOT NULL, email VARCHAR(100) NOT NULL, createDate TIMESTAMP NOT NULL);\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "tbls createtbls();", "public boolean createIndex_random(Hashtable<String, Hashtable<Integer,Quad>> ind_buffer){\n\t\tSet<String> keys = ind_buffer.keySet();\n\t\tHashtable<Integer,Quad> list;\n\t\tint part;\n\t\t\n\t\tint type_s, type_o, type1_s, type1_o;\n\t\tint o_bytes, s_bytes, o_bytes1, s_bytes1;\n\t\t\n\t\tString check = \"select resource, part, type_s, type_o, weight, o_bytes, s_bytes from `\"+table+\"` where \";\n\t\tResultSet rs = null;\n\t\tPreparedStatement prepstmt = null;\n\t\tQuad item;\n\t\tString res;\n\t\tfor(String key : keys){\n\t\t\tlist = ind_buffer.get(key);\n\t\t\tif(key.indexOf('\\'') != -1 )\n\t\t\t\tres = key.replaceAll(\"'\", \"''\");\n\t\t\telse\n\t\t\t\tres = key;\n\t\t\tfor(int i : list.keySet()){\n\t\t\t\titem = list.get(i);\n\t\t\t\ttype_s = item.type_s;\n\t\t\t\ttype_o = item.type_o;\n\t\t\t\t\n\t\t\t\to_bytes = item.o_bytes;\n\t\t\t\ts_bytes = item.s_bytes;\n\t\t\t\tpart = i;\n\t\n\t\t\t// seach if have res in table\n\t\t\t\tStringBuilder sql = new StringBuilder();\n\t\t\t\n\t\t\t\tsql.append(check).append(\"resource='\").append(res).append(\"' and part=\").append(part);\n\t\t\t//\trs = search(sql.toString());\n\t\t\t\ttry {\n\t\t\t\t\tprepstmt = conn.prepareStatement(sql.toString(),ResultSet.TYPE_SCROLL_INSENSITIVE,\n\t\t\t\t\t\t\tResultSet.CONCUR_UPDATABLE);\n\t\t\t\t\trs = prepstmt.executeQuery();\n\t\t\t\t\tif(rs.next()){\n\t\t\t\t\t// updates the records\t\n\t\t\t\t\t\ttype1_s = rs.getInt(\"type_s\");\n\t\t\t\t\t\ttype1_o = rs.getInt(\"type_o\");\n\t\t\t\t\t\to_bytes1 = rs.getInt(\"o_bytes\");\n\t\t\t\t\t\ts_bytes1 = rs.getInt(\"s_bytes\");\n\t\t\t\t\t\t\n\t\t\t\t\t\to_bytes1 += o_bytes;\n\t\t\t\t\t\ts_bytes1 += s_bytes;\n\t\t\t\t\t// unpdate records\t\t\n\t\t\t\t\t\tif(type_s != 0 && type1_s == 0)\n\t\t\t\t\t\t\trs.updateInt(\"type_s\", type_s);\n\t\t\t\t\t\tif(type_o != 0 && type1_o == 0)\n\t\t\t\t\t\t\trs.updateInt(\"type_o\", type_o);\n\t\t\t\t\t\trs.updateInt(\"o_bytes\", o_bytes1);\n\t\t\t\t\t\trs.updateInt(\"s_bytes\", s_bytes1);\n\t\t\t\t\t\trs.updateRow();\n\t\t\t\t\t}else {\n\t\t\t\t\t// directly insert the record\n\t\t\t\t\t\trs.moveToInsertRow();\n\t\t\t\t\t\trs.updateString(\"resource\", key);\n\t\t\t\t\t\trs.updateInt(\"part\", part);\n\t\t\t\t\t\trs.updateInt(\"type_s\", type_s);\n\t\t\t\t\t\trs.updateInt(\"type_o\", type_o);\n\t\t\t\t\t\trs.updateInt(\"o_bytes\", o_bytes);\n\t\t\t\t\t\trs.updateInt(\"s_bytes\", s_bytes);\n\t\t\t\t\t\trs.insertRow();\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\treturn false;\n\t\t\t\t}finally{\n\t\t\t\t\tif (rs != null) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\trs.close();\n\t\t\t\t\t\t\tprepstmt.close();\n\t\t\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public synchronized ResultScanner getScanner(String startRow,\n String stopRow, Filter filter, int caching, boolean cacheBlocks)\n throws IOException {\n Scan scan = new Scan(Bytes.toBytes(startRow), Bytes.toBytes(stopRow));\n scan.setCacheBlocks(cacheBlocks);\n scan.setCaching(caching);\n if (filter != null) {\n scan.setFilter(filter);\n }\n return table.getScanner(scan);\n }", "public TableCreation(Table table) {\n this.table = table;\n }", "@Test\n public void testScanRequestTimeout() throws IOException {\n final int NUM_ROWS_DESIRED = 100;\n final int SCAN_REQUEST_TIMEOUT_MS = 20;\n KuduTable table = createDefaultTable(client, testTableName);\n loadDefaultTable(client, testTableName, NUM_ROWS_DESIRED);\n KuduScanToken.KuduScanTokenBuilder builder =\n new KuduScanToken.KuduScanTokenBuilder(asyncClient, table);\n builder.scanRequestTimeout(SCAN_REQUEST_TIMEOUT_MS);\n List<KuduScanToken> tokens = builder.build();\n for (KuduScanToken token : tokens) {\n byte[] serialized = token.serialize();\n KuduScanner scanner = KuduScanToken.deserializeIntoScanner(serialized, client);\n assertEquals(SCAN_REQUEST_TIMEOUT_MS, scanner.getScanRequestTimeout());\n }\n }", "public static boolean checkOrCreateTable(jsqlite.Database db, String tableName){\n\t\t\n\t\tif (db != null){\n\t\t\t\n\t String query = \"SELECT name FROM sqlite_master WHERE type='table' AND name='\"+tableName+\"'\";\n\n\t boolean found = false;\n\t try {\n\t Stmt stmt = db.prepare(query);\n\t if( stmt.step() ) {\n\t String nomeStr = stmt.column_string(0);\n\t found = true;\n\t Log.v(\"SPATIALITE_UTILS\", \"Found table: \"+nomeStr);\n\t }\n\t stmt.close();\n\t } catch (Exception e) {\n\t Log.e(\"SPATIALITE_UTILS\", Log.getStackTraceString(e));\n\t return false;\n\t }\n\n\t\t\tif(found){\n\t\t\t\treturn true;\n\t\t\t}else{\n\t\t\t\t// Table not found creating\n Log.v(\"SPATIALITE_UTILS\", \"Table \"+tableName+\" not found, creating..\");\n\t\t\t\t\n if(tableName.equalsIgnoreCase(\"punti_accumulo_data\")){\n\n \tString create_stmt = \"CREATE TABLE 'punti_accumulo_data' (\" +\n \t\t\t\"'PK_UID' INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n \t\t\t\"'ORIGIN_ID' TEXT, \" +\n \t\t\t\"'DATA_SCHEDA' TEXT, \" +\n \t\t\t\"'DATA_AGG' TEXT, \" +\n \t\t\t\"'NOME_RILEVATORE' TEXT, \" +\n \t\t\t\"'COGNOME_RILEVATORE' TEXT, \" +\n \t\t\t\"'ENTE_RILEVATORE' TEXT, \" +\n \t\t\t\"'TIPOLOGIA_SEGNALAZIONE' TEXT, \" +\n \t\t\t\"'PROVENIENZA_SEGNALAZIONE' TEXT, \" +\n \t\t\t\"'CODICE_DISCARICA' TEXT, \" +\n \t\t\t\"'TIPOLOGIA_RIFIUTO' TEXT, \" +\n \t\t\t\"'COMUNE' TEXT, \" +\n \t\t\t\"'LOCALITA' TEXT, \" +\n \t\t\t\"'INDIRIZZO' TEXT, \" +\n \t\t\t\"'CIVICO' TEXT, \" +\n \t\t\t\"'PRESA_IN_CARICO' TEXT, \" +\n \t\t\t\"'EMAIL' TEXT, \" +\n \t\t\t\"'RIMOZIONE' TEXT, \" +\n \t\t\t\"'SEQUESTRO' TEXT, \" +\n \t\t\t\"'RESPONSABILE_ABBANDONO' TEXT, \" +\n \t\t\t\"'QUANTITA_PRESUNTA' NUMERIC);\";\n\n \tString add_geom_stmt = \"SELECT AddGeometryColumn('punti_accumulo_data', 'GEOMETRY', 4326, 'POINT', 'XY');\";\n \tString create_idx_stmt = \"SELECT CreateSpatialIndex('punti_accumulo_data', 'GEOMETRY');\";\n \n \t// TODO: check if all statements are complete\n \t\n \ttry { \t\n \t\tStmt stmt01 = db.prepare(create_stmt);\n\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t\t//TODO This will never happen, CREATE statements return empty results\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Table Created\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// TODO: Check if created, fail otherwise\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01 = db.prepare(add_geom_stmt);\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Geometry Column Added \"+stmt01.column_string(0));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01 = db.prepare(create_idx_stmt);\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Index Created\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01.close();\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (jsqlite.Exception e) {\n\t\t\t\t\t\tLog.e(\"UTILS\", Log.getStackTraceString(e));\n\t\t\t\t\t}\n \treturn true;\n }\n\t\t\t}\n\t\t}else{\n\t\t\tLog.w(\"UTILS\", \"No valid database received, aborting..\");\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public static void main(String[] argv) {\n Type types[] = new Type[]{Type.INT_TYPE, Type.INT_TYPE, Type.INT_TYPE};\n String names[] = new String[]{\"field0\", \"field1\", \"field2\"};\n TupleDesc descriptor = new TupleDesc(types, names);\n\n // create the table, associate it with some_data_file.dat\n // and tell the catalog about the schema of this table.\n HeapFile table1 = new HeapFile(new File(\"some_data_file.dat\"), descriptor);\n Database.getCatalog().addTable(table1, \"test\");\n\n // construct the query: we use a simple SeqScan, which spoonfeeds\n // tuples via its iterator.\n TransactionId tid = new TransactionId();\n SeqScan f = new SeqScan(tid, table1.getId());\n\n try {\n // and run it\n f.open();\n TupleDesc td;\n while (f.hasNext()) {\n Tuple tup = f.next();\n td = tup.getTupleDesc();\n IntField field1 = (IntField) tup.getField(1);\n if (field1.getValue() < 3) {\n System.out.print(\"Update tuple: \" + tup + \" to be: \");\n table1.deleteTuple(tid, tup);\n tup.setField(1, new IntField(3));\n System.out.println(tup.toString());\n table1.insertTuple(tid, tup);\n }\n }\n\n Tuple newtup = Utility.getHeapTuple(99, 3);\n System.out.println(\"Insert tuples: \" + newtup);\n table1.insertTuple(tid, newtup);\n\n System.out.println(\"The table now contains the following records\");\n\n f.rewind();\n while (f.hasNext()) {\n Tuple tup = f.next();\n System.out.println(\"Tuple: \" + tup);\n }\n\n f.close();\n Database.getBufferPool().transactionComplete(tid);\n } catch (Exception e) {\n System.out.println(\"Exception : \" + e);\n }\n\n }", "private void openStore()\n throws Exception {\n\n dbStore = Utils.openStore(master, Utils.DB_NAME);\n primaryIndex = \n dbStore.getPrimaryIndex(Integer.class, RepTestData.class);\n }", "@Before\n public void createAndFillTable() {\n try {\n DBhandler dBhandler = new DBhandler(h2DbConnection);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public void createVirtualTable(){\n\n\t\t\n\t\tif(DBHandler.getConnection()==null){\n\t\t\treturn;\n\t\t}\n\n\t\tif(DBHandler.tableExists(name())){\n\t\t\treturn;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tStatement s = DBHandler.getConnection().createStatement();\n\t\t\ts.execute(\"create virtual table \"+name()+\" using fts4(\"+struct()+\")\");\n\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tMainFrame.print(e.getMessage());\n\t\t}\n\t}", "TableIndexDAO getConnection(String tableId);", "protected ResultSet search(String tableName, Connection myConn) {\n String sql = \"SELECT * FROM \" + tableName + \";\";\n try {\n Statement newCommand = myConn.createStatement();\n ResultSet result = newCommand.executeQuery(sql);\n\n // will closed when ResultSet is closed\n newCommand.closeOnCompletion();\n return result;\n\n } catch (SQLException e) {\n e.printStackTrace();\n return null;\n }\n }", "private static void populateTable(String name, File fileObj, Statement stat) {\n\t\tString tableName = \"\";\n\t\tScanner scan = null;\n\t\tString line = \"\";\n\t\tString[] splitLine = null;\n\t\t\n\t\ttableName = \"stevenwbroussard.\" + name;\n\t\ttry {\n\t\t\tscan = new Scanner(fileObj);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(\"Failed make thread with file.\");\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(-1);\n\t\t}\n\t\t\n\t\t//use a for loop to go through, later use a while loop\n\t\twhile (scan.hasNext() != false) {\n\t\t//for (int i = 0; i < 10; i++) {\n\t\t\tline = scan.nextLine();\n\t\t\tsplitLine = line.split(\"\\\\,\");\n\t\t\t\n\t\t\t//if the type for integer column is NULL\n\t\t\tif (splitLine[0].equals(\"NULL\")) {\n\t\t\t\tsplitLine[0] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[1].equals(\"NULL\")) {\n\t\t\t\tsplitLine[1] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[4].equals(\"NULL\")) {\n\t\t\t\tsplitLine[4] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[5].equals(\"NULL\")) {\n\t\t\t\tsplitLine[5] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[7].equals(\"NULL\")) {\n\t\t\t\tsplitLine[7] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[9].equals(\"NULL\")) {\n\t\t\t\tsplitLine[9] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[11].equals(\"NULL\")) {\n\t\t\t\tsplitLine[11] = \"-1\";\n\t\t\t}\n\t\t\tif (splitLine[13].equals(\"NULL\")) {\n\t\t\t\tsplitLine[13] = \"-1\";\n\t\t\t}\n\t\t\t\n\t\t\t//if the type for double column is NULL\n\t\t\tif (splitLine[6].equals(\"NULL\")) {\n\t\t\t\tsplitLine[6] = \"-1.0\";\n\t\t\t}\n\t\t\tif (splitLine[8].equals(\"NULL\")) {\n\t\t\t\tsplitLine[8] = \"-1.0\";\n\t\t\t}\n\t\t\tif (splitLine[10].equals(\"NULL\")) {\n\t\t\t\tsplitLine[10] = \"-1.0\";\n\t\t\t}\n\t\t\tif (splitLine[12].equals(\"NULL\")) {\n\t\t\t\tsplitLine[12] = \"-1.0\";\n\t\t\t}\n\t\t\tif (splitLine[14].equals(\"NULL\")) {\n\t\t\t\tsplitLine[14] = \"-1.0\";\n\t\t\t}\n\t\t\t\n\t\t\ttry {\n\t\t\t\tstat.executeQuery(comd.insert(tableName, \n\t\t\t\t\t \t Integer.parseInt(splitLine[0]), \n\t\t\t\t\t \t Integer.parseInt(splitLine[1]), \n\t\t\t\t\t \t splitLine[2], \n\t\t\t\t\t \t splitLine[3], \n\t\t\t\t\t \t Integer.parseInt(splitLine[4]),\n\t\t\t\t\t \t Integer.parseInt(splitLine[5]),\n\t\t\t\t\t \t Double.parseDouble(splitLine[6]), \n\t\t\t\t\t \t Integer.parseInt(splitLine[7]), \n\t\t\t\t\t \t Double.parseDouble(splitLine[8]), \n\t\t\t\t\t \t Integer.parseInt(splitLine[9]), \n\t\t\t\t\t \t Double.parseDouble(splitLine[10]), \n\t\t\t\t\t \t Integer.parseInt(splitLine[11]), \n\t\t\t\t\t \t Double.parseDouble(splitLine[12]), \n\t\t\t\t\t \t Integer.parseInt(splitLine[13]), \n\t\t\t\t\t \t Double.parseDouble(splitLine[14])));\n\t\t\t}\n\t\t\tcatch(SQLException s) {\n\t\t\t\tSystem.out.println(\"SQL insert statement failed.\");\n\t\t\t\ts.printStackTrace();\n\t\t\t\tSystem.exit(-1);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "protected void constructTable(Logger l, Statement s, int run)\n throws SQLException{\n createTable(s, run);\n insertResults(l,s,run);\n }", "public abstract void startSingleScan();", "private static void TA(Connection conn, Statement stmt, Scanner reader) {\n\n\t}", "private void createStressTestControlTable() {\n Column runId = new Column(\"RUN_ID\");\n runId.setMappedType(\"INTEGER\");\n runId.setPrimaryKey(true);\n runId.setRequired(true);\n Column clientCommitSleepMs = new Column(\"CLIENT_COMMIT_SLEEP_MS\");\n clientCommitSleepMs.setMappedType(\"BIGINT\");\n Column clientCommitRows = new Column(\"CLIENT_COMMIT_ROWS\");\n clientCommitRows.setMappedType(\"BIGINT\");\n Column serverCommitSleepMs = new Column(\"SERVER_COMMIT_SLEEP_MS\");\n serverCommitSleepMs.setMappedType(\"BIGINT\");\n Column serverCommitRows = new Column(\"SERVER_COMMIT_ROWS\");\n serverCommitRows.setMappedType(\"BIGINT\");\n Column payloadColumns = new Column(\"PAYLOAD_COLUMNS\");\n payloadColumns.setMappedType(\"INTEGER\");\n Column initialSeedSize = new Column(\"INITIAL_SEED_SIZE\");\n initialSeedSize.setMappedType(\"BIGINT\");\n Column duration = new Column(\"DURATION_MINUTES\");\n duration.setMappedType(\"BIGINT\");\n\n Table table = new Table(STRESS_TEST_CONTROL, runId, clientCommitSleepMs, clientCommitRows, serverCommitSleepMs, serverCommitRows,\n payloadColumns, initialSeedSize, duration);\n engine.getDatabasePlatform().createTables(true, true, table);\n }", "protected void constructTable(Logger l, Statement s, int run)\n throws SQLException{\n createTable(s, run);\n insertResults(l,s,run);\n }", "public void analyzeCreateTableStmt(TCreateTableSqlStatement stmt) {\n\t\tString tableName=stmt.getTargetTable().toString();\n\t\tif(Input.tablesInfo.get(tableName)!=null){System.out.println(\"Table already exists..\"); return;}\n\t\tTColumnDefinition column;\n\t\ttry \n\t\t{\n\t\tFile file =new File(\"Resources/metadata.txt\");\n\t\tString NF=\"Resources/\"+tableName+\".csv\";\n\t\tFile newFile =new File(NF);\n\t\tif(!newFile.exists())\n\t\t\tnewFile.createNewFile();\n\t\tif(!file.exists())\n\t\t\t\tfile.createNewFile();\n\t\t\t\t\n\t\t\tFileWriter fileWritter = new FileWriter(file,true);\n\t\t\tBufferedWriter bufferWritter = new BufferedWriter(fileWritter);\n\t\t\t//bufferWritter.newLine(); \n\t\t\tbufferWritter.write(\"<begin_table>\".trim());\n\t\t\tbufferWritter.newLine(); bufferWritter.write(tableName);\n\t\t\n\t\t\tfor(int i=0;i<stmt.getColumnList().size();i++)\n\t\t{\n bufferWritter.newLine();\n column = stmt.getColumnList().getColumn(i);\n bufferWritter.write(column.getColumnName().toString().trim());\n \n }\n\t\t\n\t\tbufferWritter.newLine();\n\t\tbufferWritter.write(\"<end_table>\".trim());bufferWritter.newLine(); \n\t\tbufferWritter.close();\n\t\tSystem.out.println(\"Table created successfully...\");\n\t\t}\t\n\t\t catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t\n\t}", "@Test\n public void testScanTokensWithTableRename() throws Exception {\n Schema schema = getBasicSchema();\n CreateTableOptions createOptions = new CreateTableOptions();\n createOptions.setRangePartitionColumns(ImmutableList.of());\n createOptions.setNumReplicas(1);\n KuduTable table = client.createTable(testTableName, schema, createOptions);\n\n KuduScanToken.KuduScanTokenBuilder tokenBuilder = client.newScanTokenBuilder(table);\n List<KuduScanToken> tokens = tokenBuilder.build();\n assertEquals(1, tokens.size());\n KuduScanToken token = tokens.get(0);\n\n // Rename the table.\n client.alterTable(\n testTableName,\n new AlterTableOptions().renameTable(testTableName + \"-renamed\"));\n\n assertEquals(0, countRowsInScan(token.intoScanner(client)));\n }", "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"'RECYCLE_SCAN' (\" + //\n \"'_id' INTEGER PRIMARY KEY ,\" + // 0: id\n \"'L_PDTG_BATCH' INTEGER NOT NULL ,\" + // 1: lPdtgBatch\n \"'RECYCLE_SCAN_TIME' INTEGER NOT NULL ,\" + // 2: recycleScanTime\n \"'SCAN_CODE' TEXT NOT NULL ,\" + // 3: scanCode\n \"'STATUS' TEXT NOT NULL ,\" + // 4: status\n \"'EDIT_TIME' INTEGER,\" + // 5: editTime\n \"'USER_NAME' TEXT NOT NULL ,\" + // 6: userName\n \"'RECYCLE_TYPE' INTEGER NOT NULL ,\" + // 7: recycleType\n \"'RECYCLE_TYPE_VALUE' TEXT NOT NULL );\"); // 8: recycleTypeValue\n }", "HashTable() {\n int trueTableSize = nextPrime(tableSize);\n HT = new FlightDetails[nextPrime(trueTableSize)];\n }", "protected void createTable() {\n table = (MapEntry<K, V>[]) new MapEntry[capacity]; // safe cast\n }", "private Statement createStatement(Connection conn) throws SQLException {\n Statement statement = conn.createStatement(java.sql.ResultSet.TYPE_FORWARD_ONLY, java.sql.ResultSet.CONCUR_READ_ONLY);\n if (fetchSize != -1) {\n statement.setFetchSize(fetchSize);\n }\n if (queryTimeout > 0) {\n statement.setQueryTimeout(queryTimeout);\n }\n return statement;\n }", "public void populateHiveTable(GenericService genericService, String nonce) {\n // Get the current method name\n String methodName = new Throwable().getStackTrace()[0].getMethodName();\n\n // To time how long function takes to run\n Stopwatch stopwatch = Stopwatch.createStarted();\n\n String numberColName = \"number\";\n if (!genericService.getTableName().equals(\"blocks\")\n && !genericService.getTableName().equals(\"block_timestamp_mapping\")) {\n numberColName = \"block_number\";\n }\n\n String liveTableCols = genericService.getFieldDescriptors().stream()\n .map(s -> String.format(\"`%s`\", s.getName()))\n .collect(Collectors.joining(\",\"));\n\n // Generate all columns of table\n String columns = genericService.getFieldDescriptors().stream()\n .map(s -> String.format(\"a.`%s`\", s.getName()))\n .collect(Collectors.joining(\",\"));\n\n // Strict mode insertion (for multi-user environment)\n // Use this mode when multiple imports are happening at once\n// String sql =\n// \"INSERT INTO %s.%s (%s) \"\n// + \"SELECT %s FROM %s a \"\n// + \"LEFT OUTER JOIN %s.%s b ON a.%s = b.%s \"\n// + \"WHERE b.%s IS NULL\";\n// String query = String.format(\n// sql,\n// schema,\n// genericService.getTableName(),\n// liveTableCols,\n// columns,\n// genericService.getTmpTableName() + \"_\" + nonce,\n// schema,\n// genericService.getTableName(),\n// numberColName,\n// numberColName,\n// numberColName\n// );\n\n // Non-strict mode insertion\n String sql =\n \"INSERT INTO %s.%s (%s) \"\n + \"SELECT %s FROM %s a\";\n String query = String.format(\n sql,\n schema,\n genericService.getTableName(),\n liveTableCols,\n columns,\n genericService.getTmpTableName() + \"_\" + nonce\n );\n \n jdbcTemplate.execute(query);\n\n stopwatch.stop(); // Optional\n log.info(\"[{} - {}] -> Time elapsed: [{}] ms\",\n genericService.getTableName(),\n methodName,\n stopwatch.elapsed(TimeUnit.MILLISECONDS)\n );\n }", "@Test(timeout = 4000)\n public void test042() throws Throwable {\n DBUtil.close((ResultSet) null);\n }", "public static boolean emptyTempTables() {\n ArrayList temp_tables = new ArrayList();\n // Since the mrblock depends on mrfile it actually\n // could be skipped but this way the program will also\n // check if the tables exist and give an error back if any doesn't.\n temp_tables.add( \"mrfile\" );\n temp_tables.add( \"mrblock\" );\n boolean status = sql_epiII.emptyTables( temp_tables, false );\n return status;\n }", "@Test\n public void testPgRegressHashIndex() throws Exception {\n runPgRegressTest(\"yb_hash_index_serial_schedule\",\n getPerfMaxRuntime(60000, 0, 0, 0, 0) /* maxRuntimeMillis */);\n\n // Number of executions for each statement and the total run time for all executions.\n final int execCount = 3;\n long scanTime;\n\n try (Statement stmt = connection.createStatement()) {\n // Find the full-scan time.\n long fullscanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\",\n -1 /* expectedRowCount */,\n execCount);\n LOG.info(String.format(\"Full scan: %d ms\", fullscanTime));\n\n //--------------------------------------------------------------------------------------------\n // Check elapsed time for various statements that use PRIMARY INDEX.\n // PRIMARY KEY (iso_region HASH, ident ASC)\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"PRIMARY-KEY-SCAN Test Start - PRIMARY KEY (iso_region HASH, ident ASC)\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT count(*) FROM airports\" +\n \" WHERE iso_region = 'US-CA'\",\n -1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' LIMIT 1\",\n 1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY ident LIMIT 1\",\n 1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY ident ASC LIMIT 1\",\n 1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n LOG.info(\"Reverse scan is expected to be slower\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY ident DESC LIMIT 1\",\n 1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY iso_region, ident LIMIT 1\",\n 1 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND ident >= '4' LIMIT 2\",\n 2 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n long opTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND ident < '4' LIMIT 2\",\n 2 /* expectedRowCount */,\n execCount);\n perfAssertLessThan(opTime, fullscanTime);\n\n //--------------------------------------------------------------------------------------------\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx1 ON airports(iso_region hash, name DESC);\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN Start - airports_idx1 (iso_region hash, name DESC)\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' ORDER BY name DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' ORDER BY name ASC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n //--------------------------------------------------------------------------------------------\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx2 ON airports(iso_region ASC, gps_code ASC);\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN Start - airports_idx2 (iso_region ASC, gps_code ASC)\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' ORDER BY gps_code ASC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' ORDER BY gps_code DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // Forward scan is a lot slower than reverse scan.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" ORDER BY iso_region, gps_code LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" ORDER BY iso_region ASC, gps_code ASC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // Reverse scan is faster.\n long reverseTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" ORDER BY iso_region DESC, gps_code DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(reverseTime, fullscanTime);\n\n // The following statement is doing full scan due to ordering in different direction.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" ORDER BY iso_region ASC, gps_code DESC LIMIT 1\",\n 1,\n execCount);\n\n //--------------------------------------------------------------------------------------------\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx3 ON airports((iso_region, type) HASH,\n // coordinates, ident, name) INCLUDE (gps_code);\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN (Has LIMIT, Fully covered) Start - airports_idx3\" +\n \" ((iso_region, type) HASH, coordinates, ident, name) INCLUDE (gps_code)\");\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates ASC, ident, name LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates DESC, ident DESC, name DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name ASC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // Wrong order direction for name (Must be all ASC or all DESC).\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // Wrong order direction for ident and name (Must be all ASC or all DESC).\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates DESC, ident, name LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should not be optimized. Missing hash column.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY type, coordinates LIMIT 1\",\n 1,\n execCount);\n\n // This ORDER BY statement behavior is dependent on the cost estimator. It might choose the\n // PRIMARY INDEX over this index.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY ident LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n //--------------------------------------------------------------------------------------------\n // The following test cases are also for airports_idx3 but they use \"SELECT *\", so the\n // selected fields are not fully covered by the index.\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx3 ON airports((iso_region, type) HASH,\n // coordinates, ident, name) INCLUDE (gps_code);\n\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN (Has LIMIT, Not Fully covered) Start - airports_idx3\" +\n \" ((iso_region, type) HASH, coordinates, ident, name) INCLUDE (gps_code)\");\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates ASC, ident, name LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates DESC, ident DESC, name DESC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name ASC LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // Wrong order direction for name (Must be all ASC or all DESC).\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name DESC LIMIT 1\",\n 1,\n execCount);\n\n // Wrong order direction for ident and name (Must be all ASC or all DESC).\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates DESC, ident, name LIMIT 1\",\n 1,\n execCount);\n\n // This ORDER BY should not be optimized. Missing hash column.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY type, coordinates LIMIT 1\",\n 1,\n execCount);\n\n // This ORDER BY statement behavior is dependent on the cost estimator. It might choose the\n // PRIMARY INDEX over this index.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY ident LIMIT 1\",\n 1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n //--------------------------------------------------------------------------------------------\n // The following test cases are also for airports_idx3 but wihtout LIMIT clause.\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx3 ON airports((iso_region, type) HASH,\n // coordinates, ident, name) INCLUDE (gps_code);\n // Without LIMIT, the queries should be a bit slower.\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN (No LIMIT, Fully covered) Start - airports_idx3\" +\n \" ((iso_region, type) HASH, coordinates, ident, name) INCLUDE (gps_code)\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name\",\n -1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident\",\n -1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates\",\n -1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n // This ORDER BY should not be optimized. Missing hash column.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY type, coordinates\",\n -1,\n execCount);\n\n // This ORDER BY statement behavior is dependent on the cost estimator. It might choose the\n // PRIMARY INDEX over this index.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT gps_code FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY ident\",\n -1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n\n //--------------------------------------------------------------------------------------------\n // The following test cases are also for airports_idx3 but not fully covered and no LIMIT.\n // Check elapsed time for various statements that use the following INDEX.\n // CREATE INDEX airports_idx3 ON airports((iso_region, type) HASH,\n // coordinates, ident, name) INCLUDE (gps_code);\n // Without LIMIT and not-fully-covered by the index, the queries should be slow.\n LOG.info(\"---------------------------------------------------------------------------------\");\n LOG.info(\"SECONDARY-INDEX-SCAN (No LIMIT, Not Fully covered) Start - airports_idx3\" +\n \" ((iso_region, type) HASH, coordinates, ident, name) INCLUDE (gps_code)\");\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident, name\",\n -1,\n execCount);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates, ident\",\n -1,\n execCount);\n\n // This ORDER BY should be HASH + RANGE optimized.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY coordinates\",\n -1,\n execCount);\n\n // This ORDER BY should not be optimized. Missing hash column.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA'\" +\n \" ORDER BY type, coordinates\",\n -1,\n execCount);\n\n // This ORDER BY statement behavior is dependent on the cost estimator. It might choose the\n // PRIMARY INDEX over this index.\n scanTime = timeQueryWithRowCount(stmt,\n \"SELECT * FROM airports\" +\n \" WHERE iso_region = 'US-CA' AND type = 'small_airport'\" +\n \" ORDER BY ident\",\n -1,\n execCount);\n perfAssertLessThan(scanTime, fullscanTime);\n }\n }", "private static void criarTabela(Connection connection) throws IOException, SQLException {\n final Path sqlFile = Paths.get(\"coursera.sql\");\n String sqlData = new String(Files.readAllBytes(sqlFile));\n Statement statement = connection.createStatement();\n statement.executeUpdate(sqlData);\n statement.close();\n connection.close();\n }", "@Test\n// @Ignore(\"KnownBug: ACCUMULO-3646\")\n public void testInjectOnScan() throws Exception {\n Connector conn = tester.getConnector();\n\n // create table, add table split, write data\n final String tableName = getUniqueNames(1)[0];\n Map<Key, Value> input = new HashMap<>();\n input.put(new Key(\"aTablet1\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n input.put(new Key(\"kTablet2\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n input.put(new Key(\"zTablet2\", \"\", \"cq\"), new Value(\"7\".getBytes(StandardCharsets.UTF_8)));\n SortedSet<Text> splitset = new TreeSet<>();\n splitset.add(new Text(\"f\"));\n TestUtil.createTestTable(conn, tableName, splitset, input);\n\n // expected data back\n Map<Key, Value> expect = new HashMap<>(input);\n expect.putAll(HardListIterator.allEntriesToInject);\n\n // attach InjectIterator\n IteratorSetting itset = new IteratorSetting(15, InjectIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n itset = new IteratorSetting(16, DebugIterator.class);\n conn.tableOperations().attachIterator(tableName, itset, EnumSet.of(IteratorUtil.IteratorScope.scan));\n\n // read back both tablets in parallel\n BatchScanner scan = conn.createBatchScanner(tableName, Authorizations.EMPTY, 2);\n// Key startKey = new Key(new Text(\"d\"), cf, cq);\n Range rng = new Range();\n scan.setRanges(Collections.singleton(rng));\n log.debug(\"Results of scan on table \" + tableName + ':');\n Map<Key, Value> actual = new TreeMap<>(TestUtil.COMPARE_KEY_TO_COLQ); // only compare row, colF, colQ\n for (Map.Entry<Key, Value> entry : scan) {\n Key k = entry.getKey();\n Value v = entry.getValue();\n log.debug(k + \" \" + v);\n Assert.assertFalse(\"Duplicate entry found: \" + k, actual.containsKey(k)); // Fails\n actual.put(k, v);\n }\n //TestUtil.assertEqualEntriesRowColFColQ(expect, actual);\n Assert.assertEquals(expect, actual);\n\n // delete test data\n conn.tableOperations().delete(tableName);\n }", "public static ResultScanner scanFilter(HTable table, String startrow, Filter filter) throws Exception {\n\t\tScan s = new Scan(Bytes.toBytes(startrow), filter);\n\t\tResultScanner rs = table.getScanner(s);\n\t\treturn rs;\n\t}", "private EstabelecimentoTable() {\n\t\t\t}", "@Test\n public void testAllDirtySucceeds()\n throws IOException, DbException, TransactionAbortedException {\n HeapFile f = SystemTestUtil.createRandomHeapFile(2, 512 * 10, null, null);\n Database.resetBufferPool(1);\n\n // BEGIN TRANSACTION\n Transaction t = new Transaction();\n t.start();\n\n // Insert a new row\n TransactionTestUtil.insertRow(f, t);\n\n // Scanning the table must fail because it can't evict the dirty page\n try {\n TransactionTestUtil.findMagicTuple(f, t);\n } catch (DbException e) {\n fail(\"Expected scan to run be able to evict buffer pages\");\n }\n t.commit();\n }" ]
[ "0.6037978", "0.5811719", "0.5653793", "0.5515021", "0.539781", "0.50909", "0.50905806", "0.50043", "0.49819207", "0.4935032", "0.4929144", "0.4925313", "0.4919402", "0.4881061", "0.48371276", "0.47733173", "0.47723868", "0.47643933", "0.47623473", "0.47619686", "0.47574642", "0.47529155", "0.4751431", "0.47398943", "0.47153687", "0.4708036", "0.47001722", "0.46807638", "0.46770427", "0.46390742", "0.46375307", "0.4637209", "0.4614528", "0.4602147", "0.4592562", "0.45911992", "0.45823327", "0.45596522", "0.45588735", "0.4557485", "0.45536563", "0.45349935", "0.45327356", "0.45174187", "0.4513494", "0.45133597", "0.4505957", "0.44940788", "0.44886467", "0.4479535", "0.4472502", "0.44661972", "0.44661584", "0.44546106", "0.44488606", "0.44360963", "0.44273183", "0.44246355", "0.44207516", "0.4417803", "0.441753", "0.44174168", "0.44170937", "0.44119096", "0.44053322", "0.43986753", "0.4395706", "0.43896693", "0.4381618", "0.4375854", "0.436913", "0.43604738", "0.43530393", "0.43527105", "0.4347076", "0.43452495", "0.4344324", "0.43439078", "0.43395814", "0.43273678", "0.4323743", "0.43197745", "0.43195418", "0.43070763", "0.42996457", "0.4296795", "0.42938834", "0.42872176", "0.4285255", "0.4276114", "0.4275354", "0.4274737", "0.42743373", "0.42711985", "0.4265529", "0.42601684", "0.4258907", "0.42544258", "0.4250531", "0.4241082" ]
0.6478182
0
Return the table's metadata.
public TableInfo getTableInfo() { return ti; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ShowTableMetadataResponse showTableMetadata(ShowTableMetadataRequest request) throws GPUdbException {\n ShowTableMetadataResponse actualResponse_ = new ShowTableMetadataResponse();\n submitRequest(\"/show/table/metadata\", request, actualResponse_, false);\n return actualResponse_;\n }", "<K, C> TableMetadata<K, C> getTableMetadata(TableName tableName);", "public MetaData getMetaData();", "public abstract List<ColumnSpecification> metadata();", "Metadata getMetaData();", "public interface TableMetaData {\n\n\t/** Adds normal column. */\n\tpublic void addColumn(final ColumnMetaData column);\n\n\t/** Adds primary key column. */\n\tpublic void addPrimaryKey(final ColumnMetaData column);\n\n\t/** Returns map of column meta data, keyed by the column label (the alias if provided in the query, otherwise the name). */\n\tpublic Map<String, ColumnMetaData> getColumns();\n\n\t/** Returns database name. */\n\tpublic String getDatabaseName();\n\n\t/** Returns ordered list of columns that are primary keys. */\n\tpublic List<ColumnMetaData> getPrimaryKeys();\n\n\t/**\n\t * Returns fully qualified table name in database-specific form for use in SQL statements. MySQL uses the form\n\t * <code>database.table</code>, for example <code>sakila.film</code>. PostgreSQL uses the form\n\t * <code>database.schema.table</code>, for example <code>sakila.public.film</code>.\n\t */\n\tpublic String getQualifiedTableName();\n\n\t/** Returns row alias. */\n\tpublic String getRowAlias();\n\t\n\t/** Returns row set alias. */\n\tpublic String getRowSetAlias();\n\t\n\t/**\n\t * Returns row alias.\n\t * \n * @deprecated As of 0.8.11 use {@link #getRowAlias()}\n\t */\n\t@Deprecated\n\tpublic String getTableAlias();\n\n\t/** Returns table name. */\n\tpublic String getTableName();\n\n\t/** Returns role of table in the SQL Resource. */\n\tpublic TableRole getTableRole();\n\n\t/** Returns true if the SQL Resource role is child. */\n\tpublic boolean isChild();\n\n\t/** Returns true if the SQL Resource role is parent. */\n\tpublic boolean isParent();\n\n\t/** Sets all the row and row set aliases. */\n\tpublic void setAliases(final String alias, final String rowAlias, final String rowSetAlias);\n\n\t/** Sets attributes. */\n\tpublic void setAttributes(final String tableName, final String qualifedTableName,\n\t\t\tfinal String databaseName, final TableRole tableRole);\n\n\t/**\n\t * Sets table alias.\n\t * \n * @deprecated As of 0.8.11 use {@link #setAliases(String, String, String)}\n\t */\n\t@Deprecated\n\tpublic void setTableAlias(final String tableAlias);\n\t\n\t/** Represents all of the roles a table may plan in a SQL Resource. */\n\t@XmlType(namespace = \"http://restsql.org/schema\")\n\tpublic enum TableRole {\n\t\tChild, ChildExtension, Join, Parent, ParentExtension, Unknown;\n\t}\n}", "public MetaData getMetaData() {\n return metaData;\n }", "public DataSetMetaData getMetaData() {\n return this.metadata;\n }", "public Map<String, Object> getMetadata() {\n return metadata;\n }", "public MetaData getMetaData() {\r\n \treturn metaData;\r\n }", "public DBMetaDataSet getMetaData()\n\t{\n\t\treturn _MetaData;\n\t}", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "@Override\n\tpublic DBMetadata getMetadata() {\n\t\treturn null;\n\t}", "Map<String, Object> getAllMetadata();", "public AbstractMetadata getMetadata() {\n\t\treturn metadata;\n\t}", "public ResultSetMetaData getMetaData() throws SQLException\n {\n return m_rs.getMetaData();\n }", "public Object getMetadata() {\n return this.metadata;\n }", "public Map getMetadata() {\n return metadata;\n }", "public BaseTableInfo info() {\n return info;\n }", "public Map<String, Object> getMetaData() {\n\t\treturn metaData;\n\t}", "@Override\r\n\t\tpublic DatabaseMetaData getMetaData() throws SQLException {\n\t\t\treturn null;\r\n\t\t}", "public String getTableSummary() {\n return \"A summary description of table data\";\n }", "public String getTableData() {\r\n return tableData;\r\n }", "com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();", "ResultSetMetaData getMetaData() throws SQLException;", "public HashMap getMetaData() ;", "@GET\n @Path( \"/databaseMetadata\" )\n @Produces( { APPLICATION_XML, APPLICATION_JSON } )\n public IDatabaseConnection getDatabaseMetadata() {\n return stagingDatabase.getDatbaseMetadata();\n }", "public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}", "@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }", "public String getTabledesc() {\n return tabledesc;\n }", "@Override\n public RavenJObject getMetadata() {\n return metadata;\n }", "@Override\n\tpublic JDBCMetaData getMetaData() throws SQLException {\n\t\treturn null;\n\t}", "public DefaultMetaData getMetaData() {\n\t\treturn this.metaData;\n\t}", "@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}", "@Nullable\n public Metadata getMetadata() {\n return mMetadata;\n }", "public String getTable() {\n return table;\n }", "com.google.cloud.compute.v1.Metadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();", "public String getTable()\n {\n return table;\n }", "@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public GenericMetadata getMetadata()\n {\n // return definition metadata\n GenericMetadata metadata = definition.getMetadata();\n if ((metadata != null) && (metadata.getFields() != null) && !metadata.getFields().isEmpty())\n {\n return metadata;\n }\n\n // return node metadata\n return super.getMetadata();\n }", "public ResultSetMetaData getMetaData() throws SQLException {\n return currentPreparedStatement.getMetaData();\n }", "private HashMap<Long, String> getTable() {\n return table;\n }", "@Override\n public DatabaseMetaData getMetaData() throws SQLException\n {\n logger.debug(\n \" public DatabaseMetaData getMetaData() throws SQLException\");\n\n return new SnowflakeDatabaseMetaData(this);\n }", "public JobMetadata getMetaData() {\n return this.metaData;\n }", "public String getTable() {\n return table;\n }", "public DatabaseMetaData(Statement s) {\n\t\t_stmt = s; // SQL-Connection\n\t\t_buffer = new StringBuffer(); // Output goes here\n\t\t_tables = new ArrayList<String>(); // List of tables\n\t\t\n\t\ttry {\n\t\t\t// Put table names in `_tables`\n\t\t\textractTableNames(_stmt.executeQuery(composeTableNamesQuery()));\n\n\t\t\t// fetch the string representation of each tables meta-data\n\t\t\tfor (String name : _tables)\n\t\t\t\t_buffer.append(new TableMeta(name)); \n\t\t} catch (SQLException e) { _error = true;}\n\t}", "ColumnMeta getColumnMeta() {\n return cmeta_;\n }", "public List<Metadata> getMetadata()\n\t{\n\t\treturn mMetadata;\n\t}", "public static ImmutableList<ColumnMetadata> getColumnMetaFromJson(String schemaName, String tableName, String metaDir) {\n long startTime = System.currentTimeMillis();\n ImmutableList.Builder<ColumnMetadata> columnsMetadata = ImmutableList.builder();\n try {\n String jsonStr = readTableJson(schemaName, tableName, metaDir);\n JSONObject obj = new JSONObject(jsonStr);\n JSONArray cols = obj.getJSONArray(JSON_TABLEMETA_COLUMNES);\n for (int i = 0; i < cols.length(); i++) {\n JSONObject temp = new JSONObject(cols.getString(i));\n String family = temp.getString(JSON_TABLEMETA_FAMILY);\n String columnName = temp.getString(JSON_TABLEMETA_COLUMNNAME);\n String type = temp.getString(JSON_TABLEMETA_TYPE);\n columnsMetadata.add(new HBaseColumnMetadata(family, columnName, matchType(type)));\n }\n } catch (Exception e) {\n logger.error(e.getMessage(), e);\n } finally {\n logger.info(String.format(\"Read COLUMN meta info of TABLE %s.%s from json, totally used %d ms.\",\n schemaName, tableName, (System.currentTimeMillis() - startTime)));\n }\n return columnsMetadata.build();\n }", "@NotNull\n\tpublic StringBuilder getMetadata() {\n\t\tStringBuilder metadata = new StringBuilder();\n\t\tif (title != null)\n\t\t\tmetadata.append(title).append(\" \");\n\t\tif (authors != null)\n\t\t\tfor (String author : authors)\n\t\t\t\tmetadata.append(author).append(\" \");\n\t\tif (miscMetadata != null)\n\t\t\tfor (String metadata0 : miscMetadata)\n\t\t\t\tmetadata.append(metadata0).append(\" \");\n\t\treturn metadata;\n\t}", "@NonNull\n JsonMap getMetadata();", "@JsonGetter(\"metadata\")\n public Object getMetadata ( ) {\n return this.metadata;\n }", "@Test\n public void testGetTableMetadata()\n {\n final ConnectorTableMetadata result = partitionTableUnderTest.getTableMetadata();\n\n // Verify the results\n }", "@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();", "public Map<String, ColumnMetaData> getColumns();", "public Table getTable() {\n return table;\n }", "public PDMetadata getMetadata() {\n/* 528 */ PDMetadata retval = null;\n/* 529 */ COSBase mdStream = this.stream.getDictionaryObject(COSName.METADATA);\n/* 530 */ if (mdStream != null)\n/* */ {\n/* 532 */ if (mdStream instanceof COSStream) {\n/* */ \n/* 534 */ retval = new PDMetadata((COSStream)mdStream);\n/* */ }\n/* 536 */ else if (!(mdStream instanceof org.apache.pdfbox.cos.COSNull)) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 542 */ throw new IllegalStateException(\"Expected a COSStream but was a \" + mdStream\n/* */ \n/* 544 */ .getClass().getSimpleName());\n/* */ } \n/* */ }\n/* 547 */ return retval;\n/* */ }", "public com.google.protobuf.Struct getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }", "public io.grafeas.v1.Metadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }", "public MetaDataHolder getMetaOfMeta ()\n\t{\n\t\treturn metaData;\n\t}", "public Map<String, String> getTable() {\n return map; // TODO\n }", "public ResultSetMetaData getMetaData() throws SQLException {\n\n try {\n int id = getNextId(TraceObject.RESULT_SET_META_DATA);\n if (isDebugEnabled()) {\n debugCodeAssign(\"ResultSetMetaData\", TraceObject.RESULT_SET_META_DATA, id, \"getMetaData()\");\n }\n checkClosed();\n String catalog = conn.getCatalog();\n JdbcResultSetMetaData meta = new JdbcResultSetMetaData(this, null, result, catalog, conn.getSession().getTrace(), id);\n return meta;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "public Table getTable() {\n return table;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }", "public ShowTableMetadataResponse showTableMetadata(List<String> tableNames, Map<String, String> options) throws GPUdbException {\n ShowTableMetadataRequest actualRequest_ = new ShowTableMetadataRequest(tableNames, options);\n ShowTableMetadataResponse actualResponse_ = new ShowTableMetadataResponse();\n submitRequest(\"/show/table/metadata\", actualRequest_, actualResponse_, false);\n return actualResponse_;\n }", "public PropertyMetaData[] getPropertyMetaData() \n {\n return METADATA;\n }", "public final Table getTable()\n {\n return table;\n }", "public String getTableName() {\r\n\t\treturn this.tableMetaDataContext.getTableName();\r\n\t}" ]
[ "0.73042655", "0.72903776", "0.71699417", "0.7164119", "0.71494687", "0.71320194", "0.6936285", "0.6883361", "0.6880913", "0.6844418", "0.6787449", "0.6784124", "0.6784124", "0.6751599", "0.67508537", "0.67503965", "0.6742017", "0.6716582", "0.67142886", "0.66827357", "0.6645801", "0.662213", "0.66002154", "0.6542981", "0.6530922", "0.65155584", "0.65068746", "0.6495298", "0.6475393", "0.6473888", "0.6464678", "0.6391802", "0.6381419", "0.6369509", "0.6363147", "0.6357039", "0.63537025", "0.6338399", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.63346195", "0.6331037", "0.6330487", "0.6328734", "0.6328734", "0.6326351", "0.6326351", "0.63178504", "0.6313075", "0.63084227", "0.6308247", "0.6285058", "0.62847584", "0.6262388", "0.62615544", "0.6229266", "0.6203081", "0.6195204", "0.619018", "0.61624223", "0.6155363", "0.614581", "0.6145425", "0.6129626", "0.6115696", "0.6113638", "0.61070967", "0.6104811", "0.6096277", "0.6090839", "0.60805464", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6075143", "0.6064541", "0.6064178", "0.6046547", "0.5996965" ]
0.6881243
8
TODO Autogenerated method stub
@Transactional public void addRegistration(Registration reg) { entityManager.persist(reg); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Transactional public Registration findRegistration(String email) { return entityManager.find(Registration.class, email); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Transactional public List<Registration> findRegistrations() { List<Registration> regList; regList = new ArrayList<Registration>(); String queryString = "from Registrations"; Query query=entityManager.createQuery(queryString); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Transactional public void modifyRegistration(Registration reg) { entityManager.merge(reg); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", "0.6076905", "0.6041205", "0.6024897", "0.60200036", "0.59985113", "0.5967729", "0.5967729", "0.5965808", "0.5949083", "0.5941002", "0.59236866", "0.5909713", "0.59030116", "0.589475", "0.58857024", "0.58837134", "0.586915", "0.58575684", "0.5850424", "0.5847001", "0.5824116", "0.5810248", "0.5809659", "0.58069366", "0.58069366", "0.5800507", "0.5792168", "0.5792168", "0.5792168", "0.5792168", "0.5792168", "0.5792168", "0.57900196", "0.5790005", "0.578691", "0.578416", "0.578416", "0.5774115", "0.5774115", "0.5774115", "0.5774115", "0.5774115", "0.5761079", "0.57592577", "0.57592577", "0.5749888", "0.5749888", "0.5749888", "0.5748457", "0.5733414", "0.5733414", "0.5733414", "0.57209575", "0.57154554", "0.57149583", "0.57140404", "0.57140404", "0.57140404", "0.57140404", "0.57140404", "0.57140404", "0.57140404", "0.571194", "0.57043016", "0.56993437", "0.5696782", "0.5687825", "0.5677794", "0.5673577", "0.5672046", "0.5669512", "0.5661156", "0.56579345", "0.5655569", "0.5655569", "0.5655569", "0.56546396", "0.56543446", "0.5653163", "0.56502634" ]
0.0
-1
TODO Autogenerated method stub
@Transactional public void removeRegistration(String email) { Registration regTemp= entityManager.find(Registration.class, email); entityManager.remove(regTemp); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
This method gives us the english number value by parsing the roman number
public static Double convertRomanNumber (String romanNumber) throws InvalidRegularExpressionException { validate(romanNumber); String[] listOfRomanCharacters = TextUtil.splitWordIntoCharacters(romanNumber); Double totalValue = 0.0; int currentNumericValue = 0, nextNumericValue = 0; for (int i=0; i<listOfRomanCharacters.length && !listOfRomanCharacters[i].isEmpty(); i++) { currentNumericValue = RomanNumbers.fromString(listOfRomanCharacters[i]).getValue(); if (i < listOfRomanCharacters.length-1) { nextNumericValue = RomanNumbers.fromString(listOfRomanCharacters[i+1]).getValue(); } if (currentNumericValue < nextNumericValue) { totalValue += nextNumericValue - currentNumericValue; i++; } else { totalValue += currentNumericValue; } } return totalValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int romanToInt(String roman) throws NumberFormatException {\r\n int value = 0;\r\n if (roman != null) {\r\n for (int p = 0; p < roman.length(); p++) {\r\n char c = roman.charAt(p);\r\n if (c == 'X') {\r\n value += 10;\r\n } else if (c == 'V') {\r\n value += 5;\r\n } else if (c == 'I') {\r\n if (p + 1 < roman.length()) {\r\n char p1 = roman.charAt(p + 1);\r\n if (p1 == 'V') {\r\n value += 4;\r\n p++;\r\n } else if (p1 == 'X') {\r\n value += 9;\r\n p++;\r\n } else {\r\n value += 1;\r\n }\r\n } else {\r\n value += 1;\r\n }\r\n } else\r\n throw new NumberFormatException(\"Not a roman character: \" + p);\r\n }\r\n }\r\n return value;\r\n }", "public int convertRomanToNumber() {\n\n // Iterate each letter of the RomanNumeral input.\n for (int i = 0; i < romanNumeral.length(); i++) {\n \n int currentLetterValue = 0;\n int nextLetterValue = 0;\n \n char c = romanNumeral.charAt(i);\n String currentLetter = Character.toString(c);\n\n // If it is not the last letter..\n if (i + 1 < romanNumeral.length()) {\n \n // Get the next letter.\n char d = romanNumeral.charAt(i + 1);\n String nextLetter = Character.toString(d);\n\n // Get the values of the currentLetter and nextLetter.\n for (int j = 0; j < romanNumerals.length; j++) {\n\n if (currentLetter.equalsIgnoreCase(romanNumerals[j])) {\n currentLetterValue = values[j];\n }\n\n if (nextLetter.equalsIgnoreCase(romanNumerals[j])) {\n nextLetterValue = values[j];\n }\n }\n \n if (currentLetterValue < nextLetterValue) {\n\n number += nextLetterValue - currentLetterValue;\n i++;\n\n } else {\n\n number += currentLetterValue;\n }\n\n // If it is the last letter..\n } else {\n\n for (int j = 0; j < romanNumerals.length; j++) {\n\n if (currentLetter.equalsIgnoreCase(romanNumerals[j])) {\n\n number += values[j];\n i++;\n }\n }\n }\n\n }\n return number;\n }", "public int romanToInt(String s) {\n int res = 0;\n for (int i=0;i<s.length();i++){\n switch (s.charAt(i)){\n case 'M':\n res+=1000;\n break;\n case 'D':\n res+=500;\n break;\n case 'C':\n if (i< s.length()-1 && (s.charAt(i+1) == 'M' || s.charAt(i+1) == 'D'))\n res-=100;\n else\n res+=100;\n break;\n case 'L':\n res+=50;\n break;\n case 'X':\n if (i< s.length()-1 && (s.charAt(i+1) == 'L' || s.charAt(i+1) == 'C'))\n res-=10;\n else\n res+=10;\n break;\n case 'V':\n res+=5;\n break;\n case 'I':\n if (i< s.length()-1 && (s.charAt(i+1) == 'X' || s.charAt(i+1) == 'V'))\n res-=1;\n else\n res+=1;\n break;\n }\n }\n return res;\n }", "public static int romanToInt(String s) {\n int a = 0, n = 0;\n for (int i = s.length() - 1; i >= 0; i--) {\n switch (s.charAt(i)) {\n case 'I':\n n = 1;\n break;\n case 'V':\n n = 5;\n break;\n case 'X':\n n = 10;\n break;\n case 'L':\n n = 50;\n break;\n case 'C':\n n = 100;\n break;\n case 'D':\n n = 500;\n break;\n case 'M':\n n = 1000;\n break;\n }\n if (4 * n < a)\n a -= n;\n else\n a += n;\n }\n return a;\n }", "public int romanToInt(String s)\n {\n int result=0;\n HashMap<Character, Integer> map=new HashMap<Character, Integer>();\n map.put('I', 1);\n map.put('V', 5);\n map.put('X', 10);\n map.put('L', 50);\n map.put('C', 100);\n map.put('D', 500);\n map.put('M', 1000);\n for(int i=0; i<s.length();i++)\n {\n int temp=map.get(s.charAt(i));\n //if next position is larger than this position, then we need to minus the number\n if((i+1)<s.length() && map.get(s.charAt(i+1))>temp)\n temp=-temp;\n result+=temp;\n }\n return result;\n }", "public static int romanToInt2(String s) {\n int result = 0;\n\n if (s.indexOf(\"IV\") != -1) {\n result += 4;\n s = s.replace(\"IV\", \"\");\n }\n if (s.indexOf(\"IX\") != -1) {\n result += 9;\n s = s.replace(\"IX\", \"\");\n }\n if (s.indexOf(\"XL\") != -1) {\n result += 40;\n s = s.replace(\"XL\", \"\");\n }\n if (s.indexOf(\"XC\") != -1) {\n result += 90;\n s = s.replace(\"XC\", \"\");\n }\n if (s.indexOf(\"CD\") != -1) {\n result += 400;\n s = s.replace(\"CD\", \"\");\n }\n if (s.indexOf(\"CM\") != -1) {\n result += 900;\n s = s.replace(\"CM\", \"\");\n }\n\n if (s != \"\") {\n for (int i = 0; i < s.length(); i++) {\n switch (s.charAt(i)) {\n case 'I': {\n result += 1;\n break;\n }\n case 'V': {\n result += 5;\n break;\n }\n case 'X': {\n result += 10;\n break;\n }\n case 'L': {\n result += 50;\n break;\n }\n case 'C': {\n result += 100;\n break;\n }\n case 'D': {\n result += 500;\n break;\n }\n case 'M': {\n result += 1000;\n break;\n }\n }\n }\n }\n\n return result;\n }", "public static int romanToInt3(String s) {\n int result = 0;\n for (int i = 0; i < s.length(); i++) {\n switch (s.charAt(i)) {\n case 'I':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'V' || s.charAt(i + 1) == 'X'))\n result = result - 1;\n else\n result = result + 1;\n\n break;\n case 'V':\n result = result + 5;\n break;\n case 'X':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'L' || s.charAt(i + 1) == 'C'))\n result = result - 10;\n else\n result = result + 10;\n break;\n case 'L':\n result = result + 50;\n break;\n case 'C':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'D' || s.charAt(i + 1) == 'M'))\n result = result - 100;\n else\n result = result + 100;\n break;\n case 'D':\n result = result + 500;\n break;\n case 'M':\n result = result + 1000;\n break;\n\n }\n }\n return result;\n }", "public static int romanToInt1(String s) {\n int result = 0;\n\n if (s.contains(\"IV\")) {\n result += 4;\n s = s.replace(\"IV\", \"\");\n }\n if (s.contains(\"IX\")) {\n result += 9;\n s = s.replace(\"IX\", \"\");\n }\n if (s.contains(\"XL\")) {\n result += 40;\n s = s.replace(\"XL\", \"\");\n }\n if (s.contains(\"XC\")) {\n result += 90;\n s = s.replace(\"XC\", \"\");\n }\n if (s.contains(\"CD\")) {\n result += 400;\n s = s.replace(\"CD\", \"\");\n }\n if (s.contains(\"CM\")) {\n result += 900;\n s = s.replace(\"CM\", \"\");\n }\n\n if (s != \"\") {\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n map.put('I', 1);\n map.put('V', 5);\n map.put('X', 10);\n map.put('L', 50);\n map.put('C', 100);\n map.put('D', 500);\n map.put('M', 1000);\n map.put(' ', 0);\n\n int length = s.length();\n if (length % 2 != 0) {\n s += \" \";\n }\n\n for (int i = 0; i < length; i += 2) {\n result += map.get(s.charAt(i)) + map.get(s.charAt(i + 1));\n }\n }\n\n return result;\n }", "abstract String convertEnglishNumber(String number);", "public int romanToInt(String s) {\n\t\tString[] dict = { \"M\", \"CM\", \"D\", \"CD\", \"C\", \"XC\", \"L\", \"XL\", \"X\", \"IX\", \"V\", \"IV\", \"I\" };\n\t\tint[] vals = { 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };\n\n\t\tint num = 0;\n\n\t\tfor (int i = 0; i < dict.length && !s.equals(\"\"); i++) {\n\t\t\twhile (s.indexOf(dict[i]) == 0) {\n\t\t\t\tint inx = s.indexOf(dict[i]);\n\t\t\t\ts = s.substring(inx + dict[i].length());\n\t\t\t\tnum = num + vals[i];\n\t\t\t}\n\t\t}\n\n\t\treturn num;\n\t}", "private static int ProcessRomanNumeral(String roman) {\n\t\tint sum = 0;\n\t\tString[] tokens = roman.split(\"\");\n\t\tfor (int i = 1; i < tokens.length - 1; i++) {\n\t\t\tint currVal = GetDecimalFromRomanSymbol(tokens[i]);\n\t\t\tif (isNextBigger(tokens[i], tokens[i + 1])) {\n\t\t\t\tcurrVal *= -1;\n\t\t\t}\n\t\t\tsum += currVal;\n\t\t}\n\t\tint currVal = GetDecimalFromRomanSymbol(tokens[tokens.length - 1]);\n\t\tsum += currVal;\n\t\treturn sum;\n\t}", "public int romanToInt(String s) {\n int res = 0;\n char[] arr = s.toCharArray();\n int i = 0;\n for (; i < arr.length - 1; ) {\n int tempPre = getValue(arr[i]);\n int tempCur = getValue(arr[i + 1]);\n if (tempPre < tempCur) {\n res = res + tempCur - tempPre;\n i = i + 2;\n } else {\n res = res + tempPre;\n i++;\n }\n }\n if (i == arr.length - 1) {\n res = res + getValue(arr[i]);\n }\n return res;\n }", "public int romanToInt(String s) {\r\n\t\t// Start typing your Java solution below\r\n\t\t// DO NOT write main() function\r\n\t\tchar[] cs = s.toCharArray();\r\n\t\tint num = 0;\r\n\t\tint tmp = 0;\r\n\t\tint tmpStep = -1;\r\n\t\tfor (char c : cs) {\r\n\t\t\tint ttmp = r2a.get(c);\r\n\t\t\tif (-1 == tmpStep) {\r\n\t\t\t\ttmpStep = ttmp;\r\n\t\t\t\ttmp = ttmp;\r\n\t\t\t} else if (ttmp == tmpStep) {\r\n\t\t\t\ttmp += ttmp;\r\n\t\t\t} else if (ttmp > tmpStep) {\r\n\t\t\t\ttmp = ttmp - tmp;\r\n\t\t\t\tnum += tmp;\r\n\t\t\t\ttmp = 0;\r\n\t\t\t\ttmpStep = -1;\r\n\t\t\t} else if (ttmp < tmpStep) {\r\n\t\t\t\tnum += tmp;\r\n\t\t\t\ttmpStep = ttmp;\r\n\t\t\t\ttmp = ttmp;\r\n\t\t\t}\r\n\t\t}\r\n\t\tnum += tmp;\r\n\t\treturn num;\r\n\t}", "@Override\n\tpublic int fromRomanNumeral(String romanNumeral) throws IllegalArgumentException {\n\t\t// Basic sanitization where it throws an error when a decimal number is detected in the roman numeral string\n\t\tif(\n\t\t\tromanNumeral == null ||\n\t\t\tromanNumeral.matches(\".*\\\\d.*\")\n\t\t) throw new IllegalArgumentException(\"Not a valid Roman Numeral\");\n\n\t\tint toReturn = 0;\n\n\t\tfor(String romanNumeralKey : romanNumeralMap.keySet()) {\n\t\t\t// Determine how many consecutive roman numerals are there starting from the maximmum value\n\t\t\tint consecutiveCount = 0;\n\t\t\tfor(int index = 0; index < romanNumeral.length(); index += romanNumeralKey.length()) {\n\t\t\t\t// Firstly, prevent an `IndexOutOfBoundsException` that will happen if the `romanNumeralKey` is longer than the parameterized `romanNumeral` String\n\t\t\t\tif\n\t\t\t\t(\n\t\t\t\t\tromanNumeral.length() < romanNumeralKey.length() ||\n\t\t\t\t\tromanNumeral.length() < romanNumeralKey.length() + index\n\t\t\t\t) break;\n\n\t\t\t\tif(romanNumeralKey.equals(romanNumeral.substring(index, index + romanNumeralKey.length()))) consecutiveCount++;\n\t\t\t\telse break;\n\t\t\t}\n\n\t\t\t// If there is one or more consecutive count of the numeric value from the parameterized roman numeral string, calculate the `toReturn` variable accordingly\n\t\t\tif(consecutiveCount > 0) {\n\t\t\t\t// Add the corresponding decimal value to the `toReturn` by using the `romanNumeralKey` variable in the `romanNumeralMap`\n\t\t\t\ttoReturn += romanNumeralMap.get(romanNumeralKey) * consecutiveCount;\n\n\t\t\t\t// Determine how many characters to pop from the parameterized `romanNumeral` string to make way for the other roman numeral keys\n\t\t\t\t// Java 11 String object has a `repeat()` function that repeats the string `n` times. I however only have Java 8 installed.\n\t\t\t\tint charsToRemove = new String(new char[consecutiveCount]).replace(\"\\0\", romanNumeralKey).length();\n\n\t\t\t\t// Truncate the roman numeral from the original string value to make way for the other roman numeral keys\n\t\t\t\tromanNumeral = romanNumeral.substring(charsToRemove);\n\t\t\t}\n\n\t\t\t// Exit out of the loop once all of the roman numerals have been eliminated\n\t\t\tif(romanNumeral.length() <= 0) break;\n\t\t}\n\n\t\treturn toReturn;\n\t}", "public static String toRoman(int inputNum) {\n\n String roman_str = \"\";\n //string declared to store the roman conversion\n while (inputNum >= 1000) {\n \troman_str += \"M\";\n inputNum -= 1000; //value for M is 1000\n }\n while (inputNum >= 900) {\n \troman_str += \"CM\";\n inputNum -= 900;\t\t//value for CM is 900\n }\n while (inputNum >= 500) {\n \troman_str += \"D\";\n inputNum -= 500;\t\t//value for D is 500\n }\n while (inputNum >= 400) {\n \troman_str += \"CD\";\n inputNum -= 400;\t\t//value for CD is 400\n }\n while (inputNum >= 100) {\n \troman_str += \"C\";\n inputNum -= 100;\t\t//value for C is 100\n }\n while (inputNum >= 90) {\n \troman_str += \"XC\";\n inputNum -= 90;\t\t\t//value for XC is 90\n }\n while (inputNum >= 50) {\n \troman_str += \"L\";\n inputNum -= 50;\t\t\t//value for L is 50\n }\n while (inputNum >= 40) {\n \troman_str += \"XL\";\n inputNum -= 40;\t\t\t//value for XL is 40\n }\n while (inputNum >= 10) {\n \troman_str += \"X\";\n inputNum -= 10;\t\t\t//value for X is 10\n }\n while (inputNum >= 9) {\n \troman_str += \"IX\";\n inputNum -= 9;\t\t\t//value for IX is 9\n }\n while (inputNum >= 5) {\n \troman_str += \"V\";\n inputNum -= 5;\t\t\t//value for V is 5\n }\n while (inputNum >= 4) {\n \troman_str += \"IV\";\n inputNum -= 4;\t\t\t//value for IV is 4\n }\n while (inputNum >= 1) {\n \troman_str += \"I\";\n inputNum -= 1;\t\t\t//value for I is 1\n } \n return roman_str;\n //returning the string of minimal roman converted for the input decimal number\n}", "@Test\n\tpublic void input_II_() throws ValueOutOfBoundsException, MalformedNumberException {\n\t assertEquals(2, new RomanArabicConverter(\"II\").toArabic());\n\t assertEquals(\"II\", new RomanArabicConverter(\"II\").toRoman());\n\t}", "public static int roman2Decimal(String romanNumber) {\n\t\t//<write your code here>\n\t}", "public static String toRomanNumeral(int number)\n\t{\n\t\tString total = \"\";\n\t\tint times = 0;\n// take roman strings and integers \n\t\tString[] romans = new String[] { \"I\", \"IV\", \"V\", \"IX\", \"X\", \"XL\", \"L\",\n\n\t\t\"XC\", \"C\", \"CD\", \"D\", \"CM\", \"M\" };\n\n\t\tint[] ints = new int[] { 1, 4, 5, 9, 10, 40, 50, 90, 100, 400, 500,\n\n\t\t900, 1000 };\n// convert from decimal to roman numerals\n\t\tfor (int i = ints.length - 1; i >= 0; i--) {\n\n\t\ttimes = number / ints[i];\n\n\t\tnumber %= ints[i];\n\n\t\twhile (times > 0) {\n\n\t\ttotal += romans[i];\n\n\t\ttimes--;\n\n\t\t}\n\n\t\t}\n\t\t\n\t\t// return total \n\t\treturn total;\n\t}", "protected String long2roman(long val, boolean prefixesAreOK)\n {\n\n if (val <= 0)\n {\n return getZeroString();\n }\n\n String roman = \"\";\n int place = 0;\n\n if (val <= 3999L)\n {\n do\n {\n while (val >= m_romanConvertTable[place].m_postValue)\n {\n roman += m_romanConvertTable[place].m_postLetter;\n val -= m_romanConvertTable[place].m_postValue;\n }\n\n if (prefixesAreOK)\n {\n if (val >= m_romanConvertTable[place].m_preValue)\n {\n roman += m_romanConvertTable[place].m_preLetter;\n val -= m_romanConvertTable[place].m_preValue;\n }\n }\n\n place++;\n }\n while (val > 0);\n }\n else\n {\n roman = XSLTErrorResources.ERROR_STRING;\n }\n\n return roman;\n }", "@Test\n public void input_M_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"M\");\n assertEquals(1000, rac.toArabic());\n assertEquals(\"M\", rac.toRoman());\n }", "@Override\n\tpublic String toRomanNumeral(int number) throws IllegalArgumentException {\n\t\t// Basic sanitization where it throws an error if it's a negative value or over the `Integer.MAX_VALUE`\n\t\tif\n\t\t(\n\t\t\tnumber < 0 ||\n\t\t\tnumber > Integer.MAX_VALUE\n\t\t) throw new IllegalArgumentException(\"Not a valid decimal value\");\n\n\t\t// Considering we append the String object to return, it's best to use a `StringBuilder` class as it uses buffer to allocate String objects\n\t\tStringBuilder toReturn = new StringBuilder();\n\n\t\tfor(String romanNumeralKey : romanNumeralMap.keySet()) {\n\t\t\t// This defines the value to divide the original number with\n\t\t\tint divisor = romanNumeralMap.get(romanNumeralKey);\n\n\t\t\t// This will define how many times the roman numeral character is written\n\t\t\tint quotient = number/divisor;\n\n\t\t\tif(quotient > 0) {\n\t\t\t\t// Repeat the current `romanNumeralKey` variable by the quotient\n\t\t\t\t// Java 11 String object has a `repeat()` function that repeats the string `n` times. I however only have Java 8 installed.\n\t\t\t\tString finalString = new String(new char[quotient]).replace(\"\\0\", romanNumeralKey);\n\n\t\t\t\ttoReturn.append(finalString);\n\t\t\t}\n\n\t\t\t// Subtract the number to eliminate the qualifying roman numeral from the result string\n\t\t\tnumber -= divisor * quotient;\n\t\t}\n\n\t\treturn toReturn.toString();\n\t}", "public static String decimal2Roman(int number) {\n\t\t//<write your code here>\n\t}", "static long fromRomanNumeral(String s) {\n long total = 0;\n long a = 0;\n RomanNumeral prev = null;\n\n for (String numeral : s.split(\"\")) {\n RomanNumeral curr = RomanNumeral.of(numeral);\n\n if (prev == null || (curr.compareTo(prev) == 0)) {\n a += curr.getValue();\n } else if (curr.compareTo(prev) < 0) {\n total += a;\n a = curr.getValue();\n } else if (curr.compareTo(prev) > 0) {\n total += curr.getValue() - a;\n a = 0;\n }\n\n prev = curr;\n }\n\n return total + a;\n }", "@Test\n\tvoid testRomanToInteger() {\n\t\tassertEquals(3, new RomanToInteger().romanToInt(\"III\"));\n\t\tassertEquals(4, new RomanToInteger().romanToInt(\"IV\"));\n\t\tassertEquals(9, new RomanToInteger().romanToInt(\"IX\"));\n\t\tassertEquals(58, new RomanToInteger().romanToInt(\"LVIII\"));\n\t\tassertEquals(1994, new RomanToInteger().romanToInt(\"MCMXCIV\"));\n\t}", "@Test\n public void input_XX_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"XX\");\n assertEquals(20, rac.toArabic());\n assertEquals(\"XX\", rac.toRoman());\n }", "@Test\n public void input_1000_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"1000\");\n assertEquals(1000, rac.toArabic());\n assertEquals(\"M\", rac.toRoman());\n }", "private static int value(char r) {\n if (r == 'I')\n return 1;\n if (r == 'V')\n return 5;\n if (r == 'X')\n return 10;\n if (r == 'L')\n return 50;\n if (r == 'C')\n return 100;\n if (r == 'D')\n return 500;\n if (r == 'M')\n return 1000;\n return -1;\n }", "public String intToRoman(int num) {\n String result = \"\";\n\n while (num > 0) {\n if (num >= 1000) {\n result += \"M\";\n num -= 1000;\n } else if (num >= 900) {\n result += \"CM\";\n num -= 900;\n } else if (num >= 500) {\n result += \"D\";\n num -= 500;\n } else if (num >= 400) {\n result += \"CD\";\n num -= 400;\n } else if (num >= 100) {\n result += \"C\";\n num -= 100;\n } else if (num >= 90) {\n result += \"XC\";\n num -= 90;\n } else if (num >= 50) {\n result += \"L\";\n num -= 50;\n } else if (num >= 40) {\n result += \"XL\";\n num -= 40;\n } else if (num >= 10) {\n result += \"X\";\n num -= 10;\n } else if (num >= 9) {\n result += \"IX\";\n num -= 9;\n } else if (num >= 5) {\n result += \"V\";\n num -= 5;\n } else if (num >= 4) {\n result += \"IV\";\n num -= 4;\n } else if (num >= 1) {\n result += \"I\";\n num -= 1;\n }\n }\n return result;\n }", "public static String convertToRoman(int num) {\n\n if (num > 3999 || num < 1) return null;\n StringBuilder builder = new StringBuilder();\n Map<Integer, String> map = new HashMap<>(7);\n map.put(1, \"I\");\n map.put(5, \"V\");\n map.put(10, \"X\");\n map.put(50, \"L\");\n map.put(100, \"C\");\n map.put(500, \"D\");\n map.put(1000, \"M\");\n\n int digit = 1;\n while (num / digit != 0) {\n int n = num % (digit * 10);\n n /= digit;\n if (n > 0 && n < 4)\n builder.append(map.get(digit).repeat(n));\n if (n == 4)\n builder.append(map.get(digit * 5)).append(map.get(digit));\n if (n > 4 && n < 9)\n builder.append(map.get(digit).repeat(n % 5)).append(map.get(digit * 5));\n if (n == 9)\n builder.append(map.get(digit * 10)).append(map.get(digit));\n\n digit *= 10;\n }\n return builder.reverse().toString();\n }", "@Test\n public void input_100_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"100\");\n assertEquals(100, rac.toArabic());\n assertEquals(\"C\", rac.toRoman());\n }", "@Test (expected=MalformedNumberException.class)\n\tpublic void inputIIII() throws MalformedNumberException\n\t{\n\t\tnew RomanArabicConverter(\"IIII\");\n\t}", "java.lang.String getNum2();", "public String intToRoman(int num) {\n\t\tString[] dict = { \"M\", \"CM\", \"D\", \"CD\", \"C\", \"XC\", \"L\", \"XL\", \"X\", \"IX\", \"V\", \"IV\", \"I\" };\n\t\tint[] vals = { 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };\n\t\tStringBuilder res = new StringBuilder();\n\t\tfor (int i = 0; i < vals.length; i++) {\n\t\t\tif (num >= vals[i]) {\n\t\t\t\tint count = num / vals[i];\n\t\t\t\tnum = num % vals[i];\n\t\t\t\tfor (int j = 0; j < count; j++) {\n\t\t\t\t\tres.append(dict[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn res.toString();\n\t}", "public final static String NumberToRoman(int number) {\n\t\tint l = romanMap.floorKey(number);\n\t\tif (number == l) {\n\t\t\treturn romanMap.get(number);\n\t\t}\n\t\treturn romanMap.get(l) + NumberToRoman(number - l);\n\t}", "public String intToRoman(int num)\n {\n String[] digit={\"\", \"I\", \"II\", \"III\", \"IV\", \"V\", \"VI\", \"VII\", \"VIII\", \"IX\"};\n String[] ten={\"\", \"X\", \"XX\", \"XXX\", \"XL\", \"L\", \"LX\", \"LXX\", \"LXXX\", \"XC\"};\n String[] hundred={\"\", \"C\", \"CC\", \"CCC\", \"CD\", \"D\", \"DC\", \"DCC\", \"DCCC\", \"CM\"};\n String[] thousand={\"\", \"M\", \"MM\", \"MMM\"};\n if(num>3999)\n num=3999;\n if(num<0)\n num=0;\n StringBuilder sb=new StringBuilder();\n sb.append(thousand[num/1000]);\n sb.append(hundred[num/100%10]);\n sb.append(ten[num/10%10]);\n sb.append(digit[num%10]);\n return sb.toString();\n }", "public String intToRoman(int num) {\n StringBuilder ans = new StringBuilder(\"\");\n char a[][] ={ {'I','V','X'}, {'X','L','C'}, {'C','D','M'}, {'M','M','M'}};\n int threshold = 1000;\n for(int i=3;i>=0;i--){\n if(num>=threshold){\n int k = num/threshold;\n num -= k*threshold;\n if(k==0){\n \n }\n else if(k==9){\n ans.append(a[i][0]);\n ans.append(a[i][2]);\n }else if(k<=3){\n for(int j=0;j<k;j++){\n ans.append(a[i][0]);\n }\n }else if(k==4){\n ans.append(a[i][0]);\n ans.append(a[i][1]);\n }else if(k<=8){\n ans.append(a[i][1]);\n for(int j=0;j<k-5;j++){\n ans.append(a[i][0]);\n }\n }\n }\n threshold /=10;\n }\n return ans.toString();\n }", "public static String intToNumeral(int number)\n\t{\n\t\tString numeral = \"\";\n\t\twhile(number > 0)\n\t\t{\n\t\t\tif(number >= 1000)\n\t\t\t{\n\t\t\t\tnumber -= 1000;\n\t\t\t\tnumeral = numeral + \"M\";\n\t\t\t}\n\t\t\telse if(number >= 900)\n\t\t\t{\n\t\t\t\tnumber -= 900;\n\t\t\t\tnumeral = numeral + \"CM\";\n\t\t\t}\n\t\t\telse if(number >= 500)\n\t\t\t{\n\t\t\t\tnumber -= 500;\n\t\t\t\tnumeral = numeral + \"D\";\n\t\t\t}\n\t\t\telse if(number >= 400)\n\t\t\t{\n\t\t\t\tnumber -= 400;\n\t\t\t\tnumeral = numeral + \"DC\";\n\t\t\t}\n\t\t\telse if(number >= 100)\n\t\t\t{\n\t\t\t\tnumber -= 100;\n\t\t\t\tnumeral = numeral + \"C\";\n\t\t\t}\n\t\t\telse if(number >= 90)\n\t\t\t{\n\t\t\t\tnumber -= 90;\n\t\t\t\tnumeral = numeral + \"XC\";\n\t\t\t}\n\t\t\telse if(number >= 50)\n\t\t\t{\n\t\t\t\tnumber -= 50;\n\t\t\t\tnumeral = numeral + \"L\";\n\t\t\t}\n\t\t\telse if(number >= 40)\n\t\t\t{\n\t\t\t\tnumber -= 40;\n\t\t\t\tnumeral = numeral + \"XL\";\n\t\t\t}\n\t\t\telse if(number >= 10)\n\t\t\t{\n\t\t\t\tnumber -= 10;\n\t\t\t\tnumeral = numeral + \"X\";\n\t\t\t}\n\t\t\telse if(number >= 9)\n\t\t\t{\n\t\t\t\tnumber -= 9;\n\t\t\t\tnumeral = numeral + \"IX\";\n\t\t\t}\n\t\t\telse if(number >= 5)\n\t\t\t{\n\t\t\t\tnumber -= 5;\n\t\t\t\tnumeral = numeral + \"V\";\n\t\t\t}\n\t\t\telse if(number >= 4)\n\t\t\t{\n\t\t\t\tnumber -= 4;\n\t\t\t\tnumeral = numeral + \"IV\";\n\t\t\t}\n\t\t\telse if(number >= 1)\n\t\t\t{\n\t\t\t\tnumber -= 1;\n\t\t\t\tnumeral = numeral + \"I\";\n\t\t\t}\n\t\t\tif(number < 0) return \"ERROR\";\n\t\t}\n\t\treturn numeral;\n\t}", "@Test\n\tpublic void input_1_() throws ValueOutOfBoundsException, MalformedNumberException\n\t{\n\t\tassertEquals(1, new RomanArabicConverter(\" 1 \").toArabic());\n\t\tassertEquals(\"I\", new RomanArabicConverter(\" 1 \").toRoman());\n\t}", "java.lang.String getNum1();", "@Test\n public void input_C_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"C\");\n assertEquals(100, rac.toArabic());\n assertEquals(\"C\", rac.toRoman());\n }", "public static String toRoman(int num, int mult){\n if(num==4){\n if (mult==1){\n return \"IV\";\n }else if(mult == 10){\n return \"XL\";\n }else {\n return \"CD\";\n }\n }else if(num==9){\n if (mult==1){\n return \"IX\";\n }else if(mult == 10){\n return \"XC\";\n }else {\n return \"CM\";\n }\n }else {\n return castNoException(num,mult);\n }\n }", "@Test\n\tpublic void input_10_() throws ValueOutOfBoundsException, MalformedNumberException {\n\t assertEquals(10, new RomanArabicConverter(\"10\").toArabic());\n assertEquals(\"X\", new RomanArabicConverter(\"10\").toRoman());\n\t}", "public Roman(String roman_value) {\n\t\t\n\t\tsuper(roman_value);\n\t\tthis.roman_value = roman_value;\n\t}", "@Test (expected=MalformedNumberException.class)\n public void inputVLX() throws MalformedNumberException\n {\n new RomanArabicConverter(\"VLX\");\n }", "private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }", "public static Float parseInput(String romanNr) throws InvalidCharacterException, InvalidNumber, InvalidNrOfCharacters {\r\n if (romanNr.length() == 1) {\r\n //if the length is 1, you just have to return the value\r\n if (!disableSyntax) {\r\n checkIfIsValid(romanNr);\r\n }\r\n return symbols.get(romanNr);\r\n }\r\n \r\n if (!disableSyntax) {\r\n checkIfIsValid(romanNr);\r\n checkRomanNumber(romanNr);\r\n checkSubstractions(romanNr);\r\n }\r\n \r\n \r\n //the roman number will pe processed from right to left so\r\n //I have to save the previous letter in case of a subtract operation\r\n String prevLetter = romanNr.charAt(romanNr.length() - 1) + \"\";\r\n Float decimalNr = symbols.get(prevLetter + \"\");\r\n String curLetter;\r\n int j = romanNr.length() - 2;\r\n while (j >= 0) {\r\n curLetter = romanNr.charAt(j) + \"\";\r\n if (symbols.get(curLetter) < symbols.get(prevLetter)) {\r\n //when smaller values precede larger values, \r\n //the smaller values are subtracted from the larger values\r\n decimalNr -= symbols.get(curLetter);\r\n } else {\r\n //otherwise, they are added to the total\r\n decimalNr += symbols.get(curLetter);\r\n }\r\n prevLetter = romanNr.charAt(j--) + \"\";\r\n }\r\n return decimalNr;\r\n }", "static boolean isRomanNumeral(String s) {\n return s.matches(\"^(?=.)M*(C[MD]|D?C{0,3})\"\n + \"(X[CL]|L?X{0,3})(I[XV]|V?I{0,3})$\");\n }", "private String readNumber() {\n StringBuilder sb = new StringBuilder();\n char currentChar = code.charAt(currentIndex);\n while (!isEndOfCode() && Character.isDigit(currentChar)) {\n sb.append(currentChar);\n currentIndex++;\n if (isEndOfCode()) break;\n currentChar = code.charAt(currentIndex);\n }\n return sb.toString();\n }", "private String Interpretar(String num) {\r\n\t\tif(num.length() > 3)\r\n\t\t\treturn \"\";\r\n\t\tString salida=\"\";\r\n\t\t\r\n\t\tif(Dataposi(num,2) != 0)\r\n\t\t\tsalida = Centenas[Dataposi(num,2)-1];\r\n\t\t\r\n\t\tint k = Integer.parseInt(String.valueOf(Dataposi(num,1))+String.valueOf(Dataposi(num,0)));\r\n\r\n\t\tif(k <= 20)\r\n\t\t\tsalida += Numero[k];\r\n\t\telse {\r\n\t\t\tif(k > 30 && Dataposi(num,0) != 0)\r\n\t\t\t\tsalida += Decenas[Dataposi(num,1)-2] + \"Y \" + Numero[Dataposi(num,0)];\r\n\t\t\telse\r\n\t\t\t\tsalida += Decenas[Dataposi(num,1)-2] + Numero[Dataposi(num,0)];\r\n\t\t}\r\n\t\t//Caso especial con el 100\r\n\t\tif(Dataposi(num,2) == 1 && k == 0)\r\n\t\t\tsalida=\"CIEN\";\r\n\t\t\r\n\t\treturn salida;\r\n\t}", "@Test (expected=MalformedNumberException.class)\n public void inputDLIXLD() throws MalformedNumberException\n {\n new RomanArabicConverter(\"DLIXLD\"); \n }", "public String convert(int input) {\n\t\tif (input < 1 || input > 3000)\n\t\t\treturn \"invalid numeral\" ;\n\t\tString n = \"\";\n\t\t\n\t\twhile (input >= 1000) {\n\t\t\tn += \"M\";\n\t\t\tinput -= 1000;\n\t\t}\n\t\t\n\t\twhile (input >= 900) {\n\t\t\tn += \"CM\";\n\t\t\tinput -= 900;\n\t\t}\n\t\t\n\t\twhile (input >= 500) {\n\t\t\tn += \"D\";\n\t\t\tinput -= 500;\n\t\t}\n\t\t\n\t\twhile (input >= 400) {\n\t\t\tn += \"CD\";\n\t\t\tinput -= 400;\n\t\t}\n\t\t\n\t\twhile (input >= 100) {\n\t\t\tn += \"C\";\n\t\t\tinput -= 100;\n\t\t}\n\t\t\n\t\twhile (input >= 90) {\n\t\t\tn += \"XC\";\n\t\t\tinput -= 90;\n\t\t}\n\t\t\n\t\twhile (input >= 50) {\n\t\t\tn += \"L\";\n\t\t\tinput -= 50;\n\t\t}\n\t\t\n\t\twhile (input >= 40) {\n\t\t\tn += \"XL\";\n\t\t\tinput -= 40;\n\t\t}\n\t\t\n\t\twhile (input >= 10) {\n\t\t\tn += \"X\";\n\t\t\tinput -= 10;\n\t\t}\n\t\t\n\t\twhile (input >= 9) {\n\t\t\tn += \"IX\";\n\t\t\tinput -= 9;\n\t\t}\n\t\t\n\t\twhile (input >= 5) {\n\t\t\tn += \"V\";\n\t\t\tinput -= 5;\n\t\t}\n\t\t\n\t\twhile (input >= 4) {\n\t\t\tn += \"IV\";\n\t\t\tinput -= 4;\n\t\t}\n\t\t\n\t\twhile (input >= 1) {\n\t\t\tn += \"I\";\n\t\t\tinput -= 1;\n\t\t}\n\t\t\n\t\treturn n; \n\t}", "public Integer toInt(String lex) {\r\n\t\tInteger i=-1;\r\n\t\ttry{\r\n\t\t\ti=Integer.parseInt(lex);\r\n\t\t}catch(NumberFormatException e){\r\n\t\t\tSystem.err.println(\"error, numero demasiado largo\");\r\n\t\t}\r\n\t\treturn i;\r\n\t}", "java.lang.String getNumber();", "java.lang.String getNumber();", "java.lang.String getNumber();", "@Test\n\tpublic void testSymbolToRomanNumericParserInValid1() {\n\t\tList<IRomanNumericalValidator> validatorList = new ArrayList<IRomanNumericalValidator>();\n\t\tvalidatorList.add(new RepeatSymbolValidator());\n\t\tvalidatorList.add(new SubstractionValidator());\n\t\tRomanNumber romanNumerical = new RomanNumber(validatorList);\n\t\tSymbolToRomanNumericParser parser = new SymbolToRomanNumericParser(romanNumerical);\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.IS, new IsTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.CREDIT_TEXT, new CreditTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_IS, new HowMuchIsQuestionCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_CREDIT, new HowMuchCreditQuestionCommand());\n\t\tparser.decodeSymbol(\"glob is Z\");\n\t\tparser.decodeSymbol(\"glob glob Silver is 34 Credits\");\n\t\tassertEquals(parser.decodeSymbol(\"how manyssCredits is glob Silver ?\"), \"I have no idea what you are talking about\");\n\t}", "public static void main(String[] args) {\n\n System.out.println();\n\n Scanner in = new Scanner(System.in);\n System.out.print(\"Enter a number within the range of 1 through 10: \");\n byte number = in.nextByte();\n\n switch (number){\n case 1:\n System.out.print(\"The Roman numeral version of this number is: I\\n\");\n break;\n case 2:\n System.out.print(\"The Roman numeral version of this number is: II\\n\");\n break;\n case 3:\n System.out.print(\"The Roman numeral version of this number is: III\\n\");\n break;\n case 4:\n System.out.print(\"The Roman numeral version of this number is: IV\\n\");\n break;\n case 5:\n System.out.print(\"The Roman numeral version of this number is: V\\n\");\n break;\n case 6:\n System.out.print(\"The Roman numeral version of this number is: VI\\n\");\n break;\n case 7:\n System.out.print(\"The Roman numeral version of this number is: VII\\n\");\n break;\n case 8:\n System.out.print(\"The Roman numeral version of this number is: VIII\\n\");\n break;\n case 9:\n System.out.print(\"The Roman numeral version of this number is: IX\\n\");\n break;\n case 10:\n System.out.print(\"The Roman numeral version of this number is: X\\n\");\n break;\n default:\n System.out.print(\"Entered wrong number\");\n }\n }", "@Test\n\tpublic void testSymbolToRomanNumericParserInValid() {\n\t\tList<IRomanNumericalValidator> validatorList = new ArrayList<IRomanNumericalValidator>();\n\t\tvalidatorList.add(new RepeatSymbolValidator());\n\t\tvalidatorList.add(new SubstractionValidator());\n\t\tRomanNumber romanNumerical = new RomanNumber(validatorList);\n\t\tSymbolToRomanNumericParser parser = new SymbolToRomanNumericParser(romanNumerical);\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.IS, new IsTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.CREDIT_TEXT, new CreditTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_IS, new HowMuchIsQuestionCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_CREDIT, new HowMuchCreditQuestionCommand());\n\t\tparser.decodeSymbol(\"glob is Z\");\n\t\tparser.decodeSymbol(\"glob glob Silver is 34 Credits\");\n\t\tassertEquals(parser.decodeSymbol(\"how many Credits is glob Silver ?\"), \"I have no idea what you are talking about\");\n\t}", "public int convertToInt(String i) {\n\t\tswitch (i) {\n\t\t\tcase \".\": return 0;\n\t\t\tcase \"1\": return 1;\n\t\t\tcase \"2\": return 2;\n\t\t\tcase \"3\": return 3;\n\t\t\tcase \"4\": return 4;\n\t\t\tcase \"5\": return 5;\n\t\t\tcase \"6\": return 6;\n\t\t\tcase \"7\": return 7;\n\t\t\tcase \"8\": return 8;\n\t\t\tcase \"9\": return 9;\n\t\t\tcase \"A\": return 10;\n\t\t\tcase \"B\": return 11;\n\t\t\tcase \"C\": return 12;\n\t\t\tcase \"D\": return 13;\n\t\t\tcase \"E\": return 14;\n\t\t\tcase \"F\": return 15;\n\t\t\tcase \"G\": return 16;\n\t\t\tcase \"H\": return 17;\n\t\t\tcase \"I\": return 18;\n\t\t\tcase \"J\": return 19;\n\t\t\tcase \"K\": return 20;\n\t\t\tcase \"L\": return 21;\n\t\t\tcase \"M\": return 22;\n\t\t\tcase \"N\": return 23;\n\t\t\tcase \"O\": return 24;\n\t\t\tcase \"P\": return 25;\n\t\t\tcase \"Q\": return 26;\n\t\t\tcase \"R\": return 27;\n\t\t\tcase \"S\": return 28;\n\t\t\tcase \"T\": return 29;\n\t\t\tcase \"U\": return 30;\n\t\t\tcase \"V\": return 31;\n\t\t\tcase \"W\": return 32;\n\t\t\tcase \"X\": return 33;\n\t\t\tcase \"Y\": return 34;\n\t\t\tcase \"Z\": return 35;\n\t\t\tdefault: System.out.println(\"The number is too high.\");\n\t\t\t return 9000;\n\t\t}\n }", "public static Interval intervalFromRoman(String str, boolean isMinor) {\n\t\tstr = str.replaceAll(\"[0-9]\", \"\").replaceAll(\" \", \"\");\n\t\tswitch(str) {\n\t\t// Unison\n\t\tcase \"I\":\n\t\tcase \"i\":\n\t\t\treturn Interval.UNISON;\n\t\t// 2nds\n\t\tcase \"bII\":\n\t\tcase \"bii\":\n\t\t\treturn Interval.m2;\n\t\tcase \"II\":\n\t\tcase \"ii\":\n\t\t\treturn Interval.M2;\n\t\tcase \"#II\":\n\t\tcase \"#ii\":\n\t\t\treturn Interval.A2;\n\t\t// 3rds\n\t\tcase \"bIII\":\n\t\tcase \"biii\":\n\t\t\tif(!isMinor)\n\t\t\t\treturn Interval.m3;\n\t\tcase \"III\":\n\t\tcase \"iii\":\n\t\t\tif(isMinor) return Interval.m3;\n\t\t\treturn Interval.M3;\n\t\tcase \"#III\":\n\t\tcase \"#iii\":\n\t\t\tif(isMinor) return Interval.M3;\n\t\t\treturn Interval.A3;\n\t\t// 4ths\n\t\tcase \"bIV\":\n\t\tcase \"biv\":\n\t\t\treturn Interval.d4;\n\t\tcase \"IV\":\n\t\tcase \"iv\":\n\t\t\treturn Interval.P4;\n\t\tcase \"#IV\":\n\t\tcase \"#iv\":\n\t\t\treturn Interval.A4;\n\t\t// 5ths\n\t\tcase \"bV\":\n\t\tcase \"bv\":\n\t\t\treturn Interval.d5;\n\t\tcase \"V\":\n\t\tcase \"v\":\n\t\t\treturn Interval.P5;\n\t\tcase \"#V\":\n\t\tcase \"#v\":\n\t\t\treturn Interval.A5;\n\t\t// 6ths\n\t\tcase \"bVI\":\n\t\tcase \"bvi\":\n\t\t\tif(!isMinor)\n\t\t\t\treturn Interval.m6;\n\t\tcase \"VI\":\n\t\tcase \"vi\":\n\t\t\tif(isMinor) return Interval.m6;\n\t\t\treturn Interval.M6;\n\t\tcase \"#VI\":\n\t\tcase \"#vi\":\n\t\t\tif(isMinor) return Interval.M6;\n\t\t\treturn Interval.A6;\n\t\t// 7ths\n\t\tcase \"bVII\":\n\t\tcase \"bvii\":\n\t\t\treturn Interval.m7;\n\t\tcase \"VII\":\n\t\tcase \"vii\":\n\t\t\treturn Interval.M7;\n\t\tcase \"#VII\":\n\t\tcase \"#vii\":\n\t\t\treturn Interval.A7;\n\t\t}\n\t\tthrow new IllegalArgumentException(\"Could not parse roman numeral \\\"\" + str + \"\\\" into an interval\");\n\t}", "static int getValue(String str, int i, int m) {\n\t\tif (i + m > str.length()) {\n\t\t\treturn -1;\n\t\t}\n\n\t\t// Find value at index i and length m.\n\t\tint value = 0;\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint c = str.charAt(i + j) - '0';\n\t\t\tif (c < 0 || c > 9) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tvalue = value * 10 + c;\n\t\t}\n\t\treturn value;\n\t}", "public ILoLoString translate() {\n return this.ribosome(new MtLoString(), new MtLoLoString(), false); \n }", "java.lang.String getNumb();", "public void tokenizeAndParse(){\n StringTokenizer st1 = new StringTokenizer(Strinput, \" \");\n while (st1.hasMoreTokens()){\n String temp = st1.nextToken();\n if(!temp.equals(\"Rs\")&&!temp.equals(\"Ri\")){\n melody.add(Integer.decode(temp.substring(0,2)));\n }\n\n }\n\n }", "static int type_of_inr(String passed){\n\t\tif(general_registers.contains(passed.charAt(4)))\n\t\t\treturn 1;\n\t\telse if(passed.charAt(4)=='M')\n\t\t\treturn 2;\n\t\telse\n\t\t\treturn 0;\n\t}", "public void convertToMaori(int number){\n\t\tint temp = number;\n\t\tint digit = temp % 10;\n\t\tint placeHolder = 0;\n\n\t\tif (digit > 0){\n\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString();\n\t\t\tif (temp > 10) {\n\t\t\t\t_maoriNumber = \"maa\" + \"\\n\" + _maoriNumber; //note /n because the recording records seperate words on seperate lines\n\t\t\t}\n\t\t} else if (digit == 0){\n\t\t\twhile (digit == 0) {\n\t\t\t\ttemp = temp/10;\n\t\t\t\tdigit = temp % 10;\n\t\t\t\tplaceHolder++;\n\t\t\t}\n\t\t\t_maoriNumber = MaoriNumbers.getValue((int)Math.pow(10, placeHolder)).toString();\n\t\t\tif (digit > 1){\n\t\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString() + \"\\n\" + _maoriNumber;\n\t\t\t}\n\t\t}\n\n\t\twhile (temp > 9) {\n\t\t\tplaceHolder++;\n\t\t\ttemp = temp/10;\n\t\t\tdigit = temp % 10;\n\t\t\t_maoriNumber = MaoriNumbers.getValue((int)Math.pow(10, placeHolder)).toString() + \"\\n\" + _maoriNumber;\n\t\t\tif (digit > 1){\n\t\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString() + \"\\n\" + _maoriNumber;\n\t\t\t}\n\t\t}\n\t}", "private String parseNumber () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n fBuffer.delete(0, fBuffer.length());//empty string buffer\r\n \r\n char chr=next();//get next character\r\n assert \"-0123456789\".indexOf(chr)>=0;//assert valid start character\r\n while (\"0123456789.Ee+-\".indexOf(chr)>=0) {//until non number character\r\n fBuffer.append(chr);//append to string buffer\r\n chr=next();//get next character\r\n if (chr==NONE) throw new RuntimeException(\"Invalid syntax : \"+context());//gee, thanks...\r\n }//until non number character\r\n \r\n if (\"]},\".indexOf(chr)<0) throw new RuntimeException(\"Invalid syntax : \"+context());//no way jose\r\n\r\n back(); //rewind to the terminator character\r\n \r\n return fBuffer.toString();//return string in buffer\r\n \r\n }", "public TamilWord readNumber(String number) throws NotANumberException;", "public boolean isRomanNumeral(String s) {\n\t\tif (s.length()>4)\r\n\t\t\treturn false;\r\n\t\t// check characters\r\n\t\ts = s.toLowerCase();\r\n\t\tchar last = '.';\r\n\t\tfor (int i=0; i<s.length(); i++) {\r\n\t\t\tCharacter c = new Character(s.charAt(i));\r\n\t\t\t// check if Roman numeral letter\r\n\t\t\tif (!isRomanCharacter(s.charAt(i)))\r\n\t\t\t\treturn false;\r\n\t\t\t// check not allowed repetition\r\n\t\t\tif (last=='v' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='l' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='d' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\t// not allowed sequences\r\n\t\t\tif (last=='i' && (c=='l' || c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='v' && (c=='x' || c=='l' || c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='x' && (c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='l' && (c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='d' && (c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tlast = c;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "int getI18();", "protected java.lang.String readNum() throws java.io.IOException {\n char c = readCharWord();\n java.lang.StringBuilder result = new java.lang.StringBuilder();\n if (c!='-' && !java.lang.Character.isDigit(c))\n throw error();\n do {\n result.append(c);\n c = next();\n } while (java.lang.Character.isDigit(c));\n return result.toString();\n }", "String getLo();", "private String getUnidades(String numero) {// 1 - 9\r\n //si tuviera algun 0 antes se lo quita -> 09 = 9 o 009=9\r\n String num = numero.substring(numero.length() - 1);\r\n return UNIDADES[Integer.parseInt(num)];\r\n }", "public static String getLevelName (int level)\n {\n level += 1;\n String roman = \"\";\n for (int ii = 0; ii < ROMAN_TIERS.length; ii++) {\n while (level >= ROMAN_TIERS[ii]) {\n roman += ROMAN_NUMERALS[ii];\n level -= ROMAN_TIERS[ii];\n }\n }\n return roman;\n }", "@Test\n public void arabicOutOfBounds() throws MalformedNumberException {\n final RomanArabicConverter rac_low = new RomanArabicConverter(\"-1\");\n final RomanArabicConverter rac_high = new RomanArabicConverter(\"124121\");\n \n assertEquals(-1, rac_low.toArabic());\n assertEquals(124121, rac_high.toArabic());\n }", "private static String convertToRomaji(String katakana)\r\n\t\t\tthrows EasyJaSubException {\r\n\t\ttry {\r\n\t\t\treturn Kurikosu.convertKatakanaToRomaji(katakana);\r\n\t\t} catch (EasyJaSubException ex) {\r\n\t\t\ttry {\r\n\t\t\t\treturn LuceneUtil.katakanaToRomaji(katakana);\r\n\t\t\t} catch (Throwable luceneEx) {\r\n\t\t\t\tthrow ex;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public TamilWord readNumber(long number);", "Integer getTxtOrent();", "public int translateNum(int num) {\n String s = String.valueOf(num);\n int a=1,b=1;\n for(int i=s.length()-2; i>-1; i--){\n String tmp = s.substring(i, i+2);\n int c= tmp.compareTo(\"10\") >= 0 && tmp.compareTo(\"25\") <= 0 ? a+b:a;\n b=a;\n a=c;\n }\n return a;\n }", "public void convertNumbers(Scanner input){\n\t\tint number;\n\t\tString format = \"\";\n\t\tSystem.out.println(\"Please Enter Number (1-3999)\");\n\t\t//Number input\n\t\tnumber = input.nextInt();\n\t\tif(number < 1){\n\t \t throw new NumberFormatException(\"Please Enter Positive Numbers Only.\"); \n\t\t}else if(number > 3999){\n\t\t\tSystem.out.println(\"Please Enter Less Than or Equal 3999\");\n\t\t\tnumber = input.nextInt();\n\t\t}\n\t\tSystem.out.println(\"Please Enter Format (WORDS or ROMAN)\");\n\t\t//Format input\n\t\tformat = input.next();\n\t\t//Checking Format to convert numbers\n\t\tif(format.equalsIgnoreCase(\"WORDS\")){\n\t\t\tNumberToWords convertWord = new NumberToWords();\n\t\t\tString word = convertWord.numbersToWordsConverter(number);\n\t\t\tSystem.out.println(number+\"'s English Word is \"+'\"'+ word+'\"');\n\t\t}else if(format.equalsIgnoreCase(\"ROMAN\")){\n\t\t\tNumberToRoman convertRoman = new NumberToRoman();\n\t\t\tString roman =convertRoman.convertNumberToRomanLetters(number);\n\t\t\tSystem.out.println(number+\"'s Roman Letter is \"+'\"'+ roman+'\"');\n\t\t}else{\n\t\t\tSystem.out.print(\"Please Enter Valid Format \\n\");\n\t\t}\n\t\n\t}", "private long getNumber(String num, int l, int r) {\n if (num.charAt(l) == '0' && r > l)\n return -1;\n int i = l;\n long sum = 0;\n while (i <= r) {\n sum = sum * 10 + num.charAt(i) - '0';\n i++;\n }\n return sum;\n }", "private String parseStringtoInt(String welcome,Student s1){\n\n String time = TimeUitl.getTime(s1);\n\n String slogan = welcome + time;\n\n return slogan;\n }", "private static String NUmberToEnglishString(long number) {\n\t\tString s;\r\n\t\tif(number<0)\r\n\t\t{\r\n\t\t\ts=\"error\";\r\n\t\t\treturn s;\r\n\t\t}\r\n\t\tif(number<20)\r\n\t\t{\r\n\t\t\tswitch ((int)number)\r\n\t\t\t{\r\n\t\t\tcase 0:\r\n\t\t\t\ts=\"zero\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 1:\r\n\t\t\t\ts=\"one\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 2:\r\n\t\t\t\ts=\"two\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 3:\r\n\t\t\t\ts=\"three\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 4:\r\n\t\t\t\ts=\"four\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 5:\r\n\t\t\t\ts=\"five\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 6:\r\n\t\t\t\ts=\"six\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 7:\r\n\t\t\t\ts=\"seven\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 8:\r\n\t\t\t\ts=\"eight\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 9:\r\n\t\t\t\ts=\"nine\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 10:\r\n\t\t\t\ts=\"ten\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 11:\r\n\t\t\t\ts=\"eleven\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 12:\r\n\t\t\t\ts=\"twelve\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 13:\r\n\t\t\t\ts=\"thirteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 14:\r\n\t\t\t\ts=\"fourteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 15:\r\n\t\t\t\ts=\"fifteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 16:\r\n\t\t\t\ts=\"sixteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 17:\r\n\t\t\t\ts=\"seventeen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 18:\r\n\t\t\t\ts=\"eighteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tcase 19:\r\n\t\t\t\ts=\"nineteen\";\r\n\t\t\t\treturn s;\r\n\t\t\tdefault:\r\n\t\t\t\ts=\"error\";\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(number<100) //21-99\r\n\t\t{\r\n\t\t\tif (number % 10 == 0) //20,30,40,...90的输出\r\n\t\t\t{\r\n\t\t\t\tswitch ((int)number)\r\n\t\t\t\t{\r\n\t\t\t\tcase 20:\r\n\t\t\t\t\ts=\"twenty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 30:\r\n\t\t\t\t\ts=\"thirty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 40:\r\n\t\t\t\t\ts=\"forty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 50:\r\n\t\t\t\t\ts=\"fifty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 60:\r\n\t\t\t\t\ts=\"sixty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 70:\r\n\t\t\t\t\ts=\"seventy\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 80:\r\n\t\t\t\t\ts=\"eighty\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tcase 90:\r\n\t\t\t\t\ts=\"ninety\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\ts=\"error\";\r\n\t\t\t\t\treturn s;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/10*10)+' '+NUmberToEnglishString(number%10);\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tif(number<1000) //100-999\r\n\t\t{\r\n\t\t\tif(number%100==0)\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/100)+\" hundred\";\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/100)+\" hundred and \"+NUmberToEnglishString(number%100);\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(number<1000000) //1000-999999 百万以下\r\n\t\t{\r\n\t\t\tif(number%1000==0)\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/1000)+\" thousand\";\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/1000)+\" thousand \"+NUmberToEnglishString(number%1000);\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(number<1000000000) //十亿以下\r\n\t\t{\r\n\t\t\tif(number%1000000==0)\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/1000000)+\" million\";\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\ts=NUmberToEnglishString(number/1000000)+\" million \"+NUmberToEnglishString(number%1000000);\r\n\t\t\t\treturn s;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (number>999999999)\r\n\t\t{\r\n\t\t\ts=\"error\";\r\n\t\t\treturn s;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "private void convertDigit(int i)\n {\n if(tempString.charAt(i) == '0' && i == 0)//Checks to see if the digit is equal to '0' and the first character.\n {\n tempString.replace(i, i+1, \"Zero\"); //Converts to capitalized version.\n }\n else if(tempString.charAt(i) == '0' && i != 0) //If it's equal to '0' and not the first, then not capital.\n tempString.replace(i, i+1, \"zero\"); //Converts to non-capitalized version.\n //The rest are very similar to the one above for numbers 1-9.\n if(tempString.charAt(i) == '1' && i == 0)\n {\n tempString.replace(i, i+1, \"One\");\n }\n else if(tempString.charAt(i) == '1' && i != 0)\n tempString.replace(i, i+1, \"one\");\n \n if(tempString.charAt(i) == '2' && i == 0)\n {\n tempString.replace(i, i+1, \"Two\");\n }\n else if(tempString.charAt(i) == '2' && i != 0)\n tempString.replace(i, i+1, \"two\");\n \n if(tempString.charAt(i) == '3' && i == 0)\n {\n tempString.replace(i, i+1, \"Three\");\n }\n else if(tempString.charAt(i) == '3' && i != 0)\n tempString.replace(i, i+1, \"three\");\n \n if(tempString.charAt(i) == '4' && i == 0)\n {\n tempString.replace(i, i+1, \"Four\");\n }\n else if(tempString.charAt(i) == '4' && i != 0)\n tempString.replace(i, i+1, \"four\");\n \n if(tempString.charAt(i) == '5' && i == 0)\n {\n tempString.replace(i, i+1, \"Five\");\n }\n else if(tempString.charAt(i) == '5' && i != 0)\n tempString.replace(i, i+1, \"five\");\n \n if(tempString.charAt(i) == '6' && i == 0)\n {\n tempString.replace(i, i+1, \"Six\");\n }\n else if(tempString.charAt(i) == '6' && i != 0)\n tempString.replace(i, i+1, \"six\");\n \n if(tempString.charAt(i) == '7' && i == 0)\n {\n tempString.replace(i, i+1, \"Seven\");\n }\n else if(tempString.charAt(i) == '7' && i != 0)\n tempString.replace(i, i+1, \"seven\");\n \n if(tempString.charAt(i) == '8' && i == 0)\n {\n tempString.replace(i, i+1, \"Eight\");\n }\n else if(tempString.charAt(i) == '8' && i != 0)\n tempString.replace(i, i+1, \"eight\");\n \n if(tempString.charAt(i) == '9' && i == 0)\n {\n tempString.replace(i, i+1, \"Nine\");\n }\n else if(tempString.charAt(i) == '9' && i != 0)\n tempString.replace(i, i+1, \"nine\");\n }", "private int tokenVal()\n\t{\n\t\t//check that token is keyword or special\n\t\tif( core.containsKey(token))\t\t\t\n\t\t{ \n\t\t\t//return the value\n\t\t\treturn core.get(token); \n\t\t}\n\t\telse\n\t\t{\n\t\t\t try{ //see if token is integer\n\t\t\t\t Integer.parseInt(token);\n\t\t\t return INTEGER;\n\t\t\t }\n\t\t\t catch(NumberFormatException e){\n\t\t\t \t //token must be an identifier\n\t\t\t \t return IDENTIFIER;\t \n\t\t\t }\n\t\t}\t\n\t}", "@Test(expected=ValueOutOfBoundsException.class) \n\tpublic void tooHigh() throws ValueOutOfBoundsException, MalformedNumberException {\n\t new RomanArabicConverter(\"4000\").toRoman();\n\t}", "public static String translateNumber(BigInteger standardNumber) {\n\t\tRuleBasedNumberFormat ruleBasedNumberFormat = new RuleBasedNumberFormat(\n\t\t\t\tULocale.ENGLISH, RuleBasedNumberFormat.SPELLOUT);\n\n\t\tString translatedNumber = \"inputed value is null\";\n\t\tif (standardNumber != null) {\n\t\t\tString ruleBasedTranslatedNumber = ruleBasedNumberFormat\n\t\t\t\t\t.format(standardNumber);\n\t\t\t\n\t\t\tif (ruleBasedTranslatedNumber != null) {\n\t\t\t\ttranslatedNumber = ruleBasedTranslatedNumber.replace('-', ' ');\n\t\t\t\ttranslatedNumber = Character.toString(\n\t\t\t\t\t\ttranslatedNumber.charAt(0)).toUpperCase()\n\t\t\t\t\t\t+ translatedNumber.substring(1);\n\t\t\t}\n\t\t}\n\n\t\tLOGGER.info(\"Number \" + standardNumber + \" has been translated to \"\n\t\t\t\t+ translatedNumber);\n\n\t\treturn translatedNumber;\n\t}", "public String getMn010() {\n return mn010;\n }", "int main()\n{\n\n string line;\n\n while (getline(cin, line))\n {\n if (line == \"\")\n {\n cout << 0 << endl;\n continue;\n }\n\n int num = roman2num(line);\n string n_line = num2roman(num);\n\n if (line != n_line || num >= 4000)\n {\n cout << \"This is not a valid number\" << endl;\n }\n else\n {\n cout << num << endl;\n }\n }\n\n return 0;\n}", "public static void main(String args[]){\n \r\n BufferedReader br =new BufferedReader(new InputStreamReader(System.in));\r\n System.out.print(\"Enter Roman Number : \" );\r\n \r\n String roman = null;\r\n try\r\n {\r\n roman = br.readLine();\r\n }\r\n catch(IOException e)\r\n {\r\n System.out.println(e.getMessage());\r\n }\r\n romanToDecimal(roman);\r\n }", "public int titleToNumber(String s) {\n int val = 0;\n //go thru string\n for (int i = 0; i < s.length(); i++){\n \t//26 letts of alph add the int val of that character \n val = val * 26 + (int) s.charAt(i) - (int) 'A' + 1;\n }\n return val;\n }", "public abstract String getOrdinalString(WholeNumber number, Form form);", "public String getLocale () throws java.io.IOException, com.linar.jintegra.AutomationException;", "@Test\n public void canConvertValidRomanString() {\n String romanStr = \"mMmCMxciX\";\n //when\n BigDecimal b = RomanNumberUtil.toDecimal(romanStr);\n //then\n Assert.assertEquals(b, BigDecimal.valueOf(3999L));\n\n }", "public int numero(String p) {\n\n String palabra = p.trim().toLowerCase();\n int numero = 0;\n palabra = palabra.replaceAll(\"(.)\\1\", \"$1\");\n\n \n if (palabra.equals(\"uno\")) numero = 1;\n if (palabra.equals(\"dos\")) numero = 1;\n if (palabra.equals(\"tres\"))numero = 1;\n if (palabra.equals(\"cuatro\")) numero = 1;\n if (palabra.equals(\"cinco\")) numero = 1;\n if (palabra.equals(\"seis\")) numero = 1;\n if (palabra.equals(\"siete\")) numero = 1;\n if (palabra.equals(\"ocho\")) numero = 1;\n if (palabra.equals(\"nueve\")) numero =9 ;\n \n\n return numero ;\n }", "private static String toNumber(String in) {\n in = in.toLowerCase();\n for (int i = 0; i < MONTHS.length; i++)\n if (MONTHS[i].equals(in))\n return Integer.toString(i + 1);\n for (int i = 0; i < DAYS.length; i++)\n if (DAYS[i].equals(in))\n return Integer.toString(i);\n try {\n Integer.parseInt(in);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"'\" + in + \"' is not a number!\");\n }\n return in;\n }", "public int numerico(String n){\n if(n.equals(\"Limpieza\")){\r\n tipon=1;\r\n }\r\n if(n.equals(\"Electrico\")){\r\n tipon=2;\r\n } \r\n if(n.equals(\"Mecanico\")){\r\n tipon=3;\r\n } \r\n if(n.equals(\"Plomeria\")){\r\n tipon=4;\r\n } \r\n if(n.equals(\"Refrigeracion\")){\r\n tipon=5;\r\n }\r\n if(n.equals(\"Carpinteria\")){\r\n tipon=6;\r\n }\r\n if(n.equals(\"Area Verde\")){\r\n tipon=7;\r\n } \r\n if(n.equals(\"Preventivo\")){\r\n tipon=8;\r\n } \r\n if(n.equals(\"Pintura\")){\r\n tipon=9;\r\n } \r\n if(n.equals(\"TI\")){\r\n tipon=10;\r\n }\r\n return tipon; \r\n }", "private int getNumberFromString(String text){\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor(int i=text.length() - 1, j=0; i >= 0 ; i--, j++){\n\t\t\t\n\t\t\tresult += (Character.getNumericValue(text.charAt(i))) * Math.pow(10, j);\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public String get(){\n\t\tString s = value%13+1+\"\"+suits[value/13]+\" \";\r\n\t\treturn s;\r\n\t}", "String getInt_lit();" ]
[ "0.7245726", "0.6972899", "0.69559884", "0.683279", "0.6807943", "0.67966324", "0.6770935", "0.67390954", "0.6732676", "0.6693926", "0.66509473", "0.6642196", "0.6572416", "0.65642864", "0.65244746", "0.643395", "0.63923055", "0.6391739", "0.63802135", "0.63554245", "0.6309134", "0.6286491", "0.6237359", "0.61795473", "0.6173879", "0.60933447", "0.60781765", "0.6003121", "0.6000801", "0.59977394", "0.5960574", "0.5939408", "0.59239995", "0.5856612", "0.58525693", "0.5827898", "0.5793302", "0.57502854", "0.5732824", "0.5682726", "0.565306", "0.5652727", "0.5631268", "0.56290996", "0.56229025", "0.5621699", "0.55941147", "0.5554536", "0.5528646", "0.5476426", "0.5470601", "0.5465463", "0.54518425", "0.54518425", "0.54518425", "0.544416", "0.54321355", "0.5429422", "0.54191005", "0.5397545", "0.53889817", "0.5347579", "0.53211945", "0.53061944", "0.5283408", "0.5266603", "0.5253342", "0.5234067", "0.52268386", "0.5212304", "0.5209994", "0.5189654", "0.5189441", "0.5179537", "0.5145508", "0.51437503", "0.51369166", "0.5125421", "0.51238906", "0.51230776", "0.51191884", "0.5113575", "0.5107838", "0.51022327", "0.5098115", "0.50903714", "0.508979", "0.5088883", "0.50873965", "0.50838447", "0.50802374", "0.50795794", "0.50786483", "0.5077043", "0.5067764", "0.50556064", "0.5050165", "0.49951416", "0.49907467", "0.49863893" ]
0.5623541
44
Utility method that determines if benchmarks are anonymized in a PrimitivesToAnonmize enum.
public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) { return isEverythingAnonymized(primitivesToAnonymize); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public boolean containsAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOP -> \t{return true;}\n\t\tcase DECI -> \t{return true;}\n\t\tcase DECO -> \t{return true;}\n\t\tcase STRO -> \t{return true;}\n\t\tcase CHARI -> \t{return true;}\n\t\tcase CHARO -> \t{return true;}\n\t\t\n//\t\tcase RETn\n\t\t\n\t\tcase ADDSP -> \t{return true;}\n\t\tcase SUBSP -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasMetrics();", "boolean hasMetrics();", "boolean hasPrimitive();", "boolean hasMetric();", "boolean hasMetric();", "public boolean containsUMneumonics() {\n\t\tswitch(this) {\n\t\tcase STOP -> \t{return true;}\n\t\tcase RETTR -> \t{return true;}\n\t\tcase MOVSPA -> \t{return true;}\n\t\tcase MOVFLGA -> {return true;}\n\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "boolean hasAabbValue();", "public boolean containsAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase BR -> \t\t{return true;}\n\t\tcase BRLE -> \t{return true;}\n\t\tcase BRLT -> \t{return true;}\n\t\tcase BREQ -> \t{return true;}\n\t\tcase BRNE -> \t{return true;}\n\t\tcase BRGE -> \t{return true;}\n\t\tcase BRGT -> \t{return true;}\n\t\tcase BRV -> \t{return true;}\n\t\tcase BRC -> \t{return true;}\n\t\tcase CALL -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\n\t\t}\n\t\t\n\t}", "public boolean areMedianIntensities();", "boolean shouldReportMetrics();", "boolean isApplicableForAllAssetTypes();", "public boolean isBuiltinSort() {\n return equals(Sort.BUILTIN_BOOL)\n || equals(Sort.BUILTIN_INT)\n || equals(Sort.BUILTIN_STRING)\n || equals(Sort.BUILTIN_FLOAT)\n /* LTL builtin sorts */\n// || sort.equals(Sort.SHARP_LTL_FORMULA)\n || equals(Sort.BUILTIN_PROP)\n || equals(Sort.BUILTIN_MODEL_CHECKER_STATE)\n || equals(Sort.BUILTIN_MODEL_CHECK_RESULT);\n }", "boolean hasUnknown12();", "public boolean is (String name) {\n \t/* Avoid roundoff issues */\n return Math.abs(this.lookup(name)) < 0.0000001;\n }", "boolean hasMachineType();", "protected static boolean isBiomeOceanic(int p_151618_0_) { return !(p_151618_0_ != BiomeGenBase.ocean.biomeID && p_151618_0_ != BiomeGenBase.deepOcean.biomeID && p_151618_0_ != BiomeGenBase.frozenOcean.biomeID); }", "private static Map<Integer, String> buildAnonymizedBenchmarkNamesMap(final List<Benchmark> benchmarks) {\n\t\tfinal String methodName = \"buildAnonymizedBenchmarkNamesMap\";\n\t\tlog.entry(methodName);\n\n\t\tMap<Integer, String> benchmarkIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Benchmark bench : benchmarks) {\n\t\t\tint benchId = bench.getId();\n\t\t\tif (!benchmarkIdToAnonymizedName.containsKey(benchId)) {\n\t\t\t\tbenchmarkIdToAnonymizedName.put(benchId, \"Benchmark\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn benchmarkIdToAnonymizedName;\n\t}", "boolean hasConstantValue();", "boolean hasUnknown2();", "boolean hasUnknown2();", "boolean hasUnknown2();", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasHasAlcoholSpecimanType();", "boolean isTargetStatistic();", "private boolean mo102a(int i) {\n switch (i) {\n case 0:\n return true;\n case 1:\n return this.f340a != null;\n case 2:\n return this.f341b != null;\n case 3:\n return (this.f341b == null || this.f340a == null) ? false : true;\n default:\n return false;\n }\n }", "boolean hasNumb();", "boolean hasMetricControl();", "boolean hasMagic();", "boolean hasUnknown();", "static boolean isInteresting(String mode, RecordedEvent event) {\n String name = event.getEventType().getName();\n switch(mode) {\n case \"cpu\":\n return (name.equals(\"jdk.ExecutionSample\") || name.equals(\"jdk.NativeMethodSample\")) &&\n !isGradlePollThread(event.getThread(\"sampledThread\"));\n case \"heap\":\n return (name.equals(\"jdk.ObjectAllocationInNewTLAB\") || name.equals(\"jdk.ObjectAllocationOutsideTLAB\")) &&\n !isGradlePollThread(event.getThread(\"eventThread\"));\n default:\n throw new UnsupportedOperationException(event.toString());\n }\n }", "boolean canBeCompared(short controlType, short testType);", "static int type_of_ana(String passed){\n\t\tif(general_registers.contains(passed.charAt(4)))\n\t\t\treturn 1;\n\t\telse if(passed.charAt(4)=='M')\n\t\t\treturn 2;\n\t\telse\n\t\t\treturn 0;\n\t}", "boolean hasStatistics();", "boolean hasMetricTreatment();", "boolean hasI17();", "boolean isOp();", "public boolean isConstant();", "boolean mo25262a(int i);", "boolean supportsExplainPlan();", "boolean hasI10();", "private final boolean m28064c(Number number) {\n return (number instanceof Short) || (number instanceof Byte);\n }", "public boolean isDistinctLike() {\n List<AggregationDesc> aggregators = getAggregators();\n for (AggregationDesc ad : aggregators) {\n if (!ad.getDistinct()) {\n GenericUDAFEvaluator udafEval = ad.getGenericUDAFEvaluator();\n UDFType annot = AnnotationUtils.getAnnotation(udafEval.getClass(), UDFType.class);\n if (annot == null || !annot.distinctLike()) {\n return false;\n }\n }\n }\n return true;\n }", "boolean hasBonusStats();", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "boolean hasShort();", "public static boolean mo101a() {\n return f335b != 0;\n }", "public boolean isKnown();", "public boolean containsRAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase ADDA -> \t{return true;}\n\t\tcase SUBA -> \t{return true;}\n\t\tcase ANDA -> \t{return true;}\n\t\tcase ORA -> \t{return true;}\n\t\tcase CPA -> \t{return true;}\n\t\tcase LDA -> \t{return true;}\n\t\tcase LDBYTEA -> {return true;}\n\t\tcase STA -> \t{return true;}\n\t\tcase STBYTEA -> {return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "public boolean isOp(){\n return opSet.contains(symbol());\n }", "boolean hasIntSize();", "public boolean mo30335m(Object obj) {\n return mo29818a(obj, 1) > 0;\n }", "boolean hasUsage();", "public abstract boolean isConstant();", "public static final boolean m34339a(int i) {\n return i == 1;\n }", "boolean isAdaptive();", "boolean hasScaler();", "boolean hasUa();", "boolean isNilWagerMinimum();", "boolean getWary(Unit unit);", "public boolean mo30333l(@C5952h Object obj) {\n return mo29708b(obj) > 0;\n }", "@Benchmark\n public void testJMH(@SuppressWarnings(\"unused\") GraalState s) {\n }", "boolean hasI11();", "public boolean mo26995a(int i) {\n return i == 0 || i == 1;\n }", "@Generated\n @Selector(\"isExpensive\")\n public native boolean isExpensive();", "boolean hasMinCpuPlatform();", "static boolean IS_NOMINAL(String t) {\n\n return (t.equals(Feature.NOMINAL));\n }", "public boolean hasDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) != 0;\n }", "boolean hasEnumValue();", "boolean haveMBQuant()\n {\n return ((mbType & QUANT) != 0);\n }", "private static boolean m145767a(int i) {\n return i == 2 || i == 1;\n }", "default boolean isPrimitive() {\n return false;\n }", "public static String[] names() {\n return ListableValuesHelper.names(LogicalFragmentBenchmarked.values());\n }", "public boolean isBuiltin() {\n return builtin;\n }", "boolean isSimpleValue();", "boolean hasConst();", "boolean isInternal();", "boolean isNilMultipleBetMinimum();", "boolean hasGeoTargetConstant();", "public boolean isUnknown() {\n\t\treturn (access & Opcodes.ACC_UNKNOWN) != 0;\n\t}", "boolean hasUses();", "boolean isReserved();", "@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }", "boolean hasCustomFeatures();", "abstract boolean isOverflow();", "boolean hasSummonMaxCountMeta();", "public boolean hasIntrospectionType() {\n return fieldSetFlags()[17];\n }", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }" ]
[ "0.63539135", "0.6243305", "0.6074458", "0.559229", "0.5417837", "0.54102033", "0.517975", "0.5075906", "0.5075906", "0.5036228", "0.50314057", "0.50314057", "0.50090283", "0.493658", "0.49152768", "0.49036413", "0.48934975", "0.48467514", "0.48080927", "0.47760975", "0.47384533", "0.4727191", "0.47045603", "0.47028786", "0.46951103", "0.46823797", "0.46823797", "0.46823797", "0.46777242", "0.46644285", "0.46644285", "0.46644285", "0.46644285", "0.46644285", "0.46644285", "0.465784", "0.4652561", "0.4633528", "0.46311387", "0.46296662", "0.46271235", "0.46234703", "0.46199363", "0.461641", "0.46106598", "0.4572354", "0.45651564", "0.45445704", "0.45350704", "0.4516273", "0.45053643", "0.45022193", "0.44908273", "0.44779631", "0.44725895", "0.44684067", "0.44606233", "0.4459632", "0.44588804", "0.44546792", "0.44499582", "0.44481125", "0.44385353", "0.44352993", "0.44335324", "0.44260865", "0.4421045", "0.44201624", "0.44171974", "0.4416539", "0.44101813", "0.44051245", "0.44036296", "0.440089", "0.44005877", "0.43940592", "0.43858364", "0.43848202", "0.43782163", "0.43736577", "0.43736002", "0.43720013", "0.43719238", "0.43700424", "0.4362711", "0.43583074", "0.43551743", "0.43542486", "0.43534008", "0.43410814", "0.43386674", "0.433865", "0.43335897", "0.43296504", "0.4328614", "0.43212238", "0.4319041", "0.43188182", "0.43176365", "0.4317149" ]
0.7084025
0
Utility method that determines if solves are anonymized in a PrimitivesToAnonmize enum.
public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) { return isEverythingAnonymized(primitivesToAnonymize) || primitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public boolean containsAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOP -> \t{return true;}\n\t\tcase DECI -> \t{return true;}\n\t\tcase DECO -> \t{return true;}\n\t\tcase STRO -> \t{return true;}\n\t\tcase CHARI -> \t{return true;}\n\t\tcase CHARO -> \t{return true;}\n\t\t\n//\t\tcase RETn\n\t\t\n\t\tcase ADDSP -> \t{return true;}\n\t\tcase SUBSP -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasPrimitive();", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public boolean isKnownPrimitive() {\r\n return id > 0 && type != null;\r\n }", "boolean hasUnknown2();", "boolean hasUnknown2();", "boolean hasUnknown2();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForSolver(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.SOLVER);\n\t}", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "public boolean containsUMneumonics() {\n\t\tswitch(this) {\n\t\tcase STOP -> \t{return true;}\n\t\tcase RETTR -> \t{return true;}\n\t\tcase MOVSPA -> \t{return true;}\n\t\tcase MOVFLGA -> {return true;}\n\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "public final boolean isIntegral() {\n return this.equals(BYTE)\n || this.equals(CODE)\n || this.equals(SHORT)\n || this.equals(INT)\n || this.equals(LONG)\n || this.equals(UBYTE)\n || this.equals(UINT)\n || this.equals(ULONG)\n || this.equals(USHORT);\n }", "boolean hasUnknown12();", "boolean hasUnknown();", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "public boolean isMaybePrimitiveOrSymbol() {\n return isMaybePrimitive() || isMaybeSymbol();\n }", "public boolean containsAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase BR -> \t\t{return true;}\n\t\tcase BRLE -> \t{return true;}\n\t\tcase BRLT -> \t{return true;}\n\t\tcase BREQ -> \t{return true;}\n\t\tcase BRNE -> \t{return true;}\n\t\tcase BRGE -> \t{return true;}\n\t\tcase BRGT -> \t{return true;}\n\t\tcase BRV -> \t{return true;}\n\t\tcase BRC -> \t{return true;}\n\t\tcase CALL -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\n\t\t}\n\t\t\n\t}", "boolean hasI17();", "private boolean diaHabilLunesPlacaA(int diaActual){\n\t\treturn diaActual == LUNES;\t\t\n\t}", "public boolean isMaybePrimitive() {\n checkNotPolymorphicOrUnknown();\n return (flags & PRIMITIVE) != 0 || num != null || str != null;\n }", "public boolean isKnown();", "public boolean containsRMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOTA -> \t{return true;}\n\t\tcase NOTX -> \t{return true;}\n\t\tcase NEGA -> \t{return true;}\n\t\tcase NEGX -> \t{return true;}\n\t\tcase ASLA -> \t{return true;}\n\t\tcase ASLX -> \t{return true;}\n\t\tcase ASRA -> \t{return true;}\n\t\tcase ASRX -> \t{return true;}\n\t\tcase ROLA -> \t{return true;}\n\t\tcase ROLX -> \t{return true;}\n\t\tcase RORA -> \t{return true;}\n\t\tcase RORX -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "public boolean is (String name) {\n \t/* Avoid roundoff issues */\n return Math.abs(this.lookup(name)) < 0.0000001;\n }", "default boolean isPrimitive() {\n return false;\n }", "private boolean mo102a(int i) {\n switch (i) {\n case 0:\n return true;\n case 1:\n return this.f340a != null;\n case 2:\n return this.f341b != null;\n case 3:\n return (this.f341b == null || this.f340a == null) ? false : true;\n default:\n return false;\n }\n }", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "boolean hasResidues();", "boolean hasSolverType();", "boolean hasHasAlcoholSpecimanType();", "public boolean isOp(){\n return opSet.contains(symbol());\n }", "boolean hasI11();", "boolean hasUnknown4();", "public boolean containsRAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase ADDA -> \t{return true;}\n\t\tcase SUBA -> \t{return true;}\n\t\tcase ANDA -> \t{return true;}\n\t\tcase ORA -> \t{return true;}\n\t\tcase CPA -> \t{return true;}\n\t\tcase LDA -> \t{return true;}\n\t\tcase LDBYTEA -> {return true;}\n\t\tcase STA -> \t{return true;}\n\t\tcase STBYTEA -> {return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "public boolean isNumberVariablesCoherent() {\n\n\t\tint m = getVariablesNumberInMap();\n\t\tint t = getVariablesNumberInTree();\n\t\treturn m == t;\n\t}", "boolean hasNoUnions();", "boolean hasUnknown7();", "boolean known() {\n\t\t\treturn !varAddress && !varMask;\n\t\t}", "boolean hasGeoTargetConstant();", "private boolean iguales(Pares f){\n\t\t\tboolean devolucion = false;\n\t\t\t\n\t\t\tif(f!=null){\n\t\t\t\tif(primero.iguales(f.getSegundo())){\n\t\t\t\t\tif(segundo.iguales(f.getPrimero())){\n\t\t\t\t\t\tif(distancia==f.getDistancia()){\n\t\t\t\t\t\t\tdevolucion=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\treturn devolucion;\n\t\t}", "public boolean isMaybeObjectOrSymbol() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null;\n }", "boolean hasNumb();", "boolean hasShort();", "boolean hasSymbolTuple();", "public boolean isAmbiguous() {\n return positionMap.size() > 1;\n }", "boolean getNoUnions();", "@Override\r\n public Boolean isI(Ring ring) {\r\n return (re.isZero(ring) && im.isOne(ring));\r\n }", "public boolean areIntegral(Type typeone, Type typetwo){\n /* if they are both the same alias type, get the underlying type */\n if(areBinaryAlias(typeone,typetwo)){\n typeone = removeAlias(typeone);\n typetwo = removeAlias(typetwo);\n }\n if((typeone instanceof IntType && typetwo instanceof IntType) || (typeone instanceof RuneType && typetwo instanceof RuneType)) return true;\n else return false;\n }", "private boolean allMUsSet() {\n\t\tVector meaningUnits = Model.getIllocutionUnitRoots().getMeaningUnits();\n\t\tfor (int i = 0; i < meaningUnits.size(); i++) {\n\t\t\tMeaningUnit mu = (MeaningUnit) meaningUnits.get(i);\n\t\t\tVector sememeGroups = mu.getSememeGroups();\n\t\t\tif (sememeGroups.isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean isOne() {\n\n return realPart == 1d && imaginaryPart == 0d;\n }", "protected abstract boolean isShapeSimple();", "public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "public boolean isMaybeObject() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.stream().anyMatch(x -> x.getKind() != Kind.SYMBOL);\n }", "boolean hasSymbolId();", "public boolean isSymbolic() throws PDFNetException {\n/* 583 */ return IsSymbolic(this.a);\n/* */ }", "boolean hasI12();", "boolean hasUnknown73();", "boolean hasUnknown71();", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "boolean hasSurrogateType();", "boolean isReserved();", "boolean hasSymbol();", "boolean hasSymbol();", "boolean typeCheck(SearchBox box) {\n for (String oSymbol : box.m_bindings.keySet()) {\n String dSymbol = box.m_bindings.get(oSymbol);\n if (!box.m_destRegistry.isSymbolInTable(dSymbol)) {\n if (!oSymbol.contains(\"¢\")) {\n System.err.println(\"Unbound: \" + oSymbol + \":'\" + dSymbol\n + \"' in \" + m_theoremString);\n box.m_failedBindings = box.m_bindings;\n return false;\n }\n continue;\n }\n MTType oType, dType;\n oType =\n box.m_origRegistry.getTypeByIndex(box.m_origRegistry\n .getIndexForSymbol(oSymbol));\n dType =\n box.m_destRegistry.getTypeByIndex(box.m_destRegistry\n .getIndexForSymbol(dSymbol));\n if (oType.alphaEquivalentTo(dType))\n continue;\n if (dType.isSubtypeOf(oType))\n continue;\n if (oType.getClass().getSimpleName().contains(\"MTFunction\")\n && dType.getClass().getSimpleName().contains(\"MTFunction\")) {\n dType = (MTFunction) dType;\n MTType oRange = ((MTFunction) oType).getRange();\n MTType oDomain = ((MTFunction) oType).getDomain();\n MTType dRange = ((MTFunction) dType).getRange();\n MTType dDomain = ((MTFunction) dType).getDomain();\n if (oRange == null || oDomain == null || dRange == null\n || dDomain == null) {\n //System.err.println(\"null type error\");\n return false;\n }\n // Check if these are type variables\n\n String bDomain, bRange;\n if (box.m_bindings.containsKey(oRange.toString().replace(\"'\",\n \"\"))) {\n bRange =\n box.m_bindings.get(oRange.toString().replace(\"'\",\n \"\"));\n oRange = box.m_destRegistry.m_typeDictionary.get(bRange);\n if (oRange == null) {\n //System.err.println(\"null type for: \" + bRange);\n return false;\n }\n }\n if (box.m_bindings.containsKey(oDomain.toString().replace(\"'\",\n \"\"))) {\n bDomain =\n box.m_bindings.get(oDomain.toString().replace(\"'\",\n \"\"));\n oDomain = box.m_destRegistry.m_typeDictionary.get(bDomain);\n if (oDomain == null) {\n //System.err.println(\"null type for:\" + bDomain);\n return false;\n }\n }\n\n if ((oDomain.alphaEquivalentTo(dDomain) || (dDomain\n .isSubtypeOf(oDomain)))\n && (oRange.alphaEquivalentTo(dRange) || (dRange\n .isSubtypeOf(oRange)))) {\n /*System.out.println(\"Type match: \" + oSymbol + \":\" + oType\n + \" maps to \" + dSymbol + \":\" + dType); */\n continue;\n }\n /*System.err.println(\"Type Mismatch: orig: \" + oDomain + \"->\"\n + oRange + \" dest: \" + dType); */\n }\n /*System.err.println(\"Failed type check: \" + oSymbol + \"(from theorem): \" + oType\n + \" \" + dSymbol + \": \" + dType);\n System.err.println(m_theoremString);\n */\n box.m_failedBindings = box.m_bindings;\n return false;\n\n }\n //System.out.println(box.m_bindings);\n\n return true;\n }", "public boolean isPolymorphicOrUnknown() {\n return var != null || (flags & UNKNOWN) != 0;\n }", "abstract boolean isOverflow();", "protected static boolean isBiomeOceanic(int p_151618_0_) { return !(p_151618_0_ != BiomeGenBase.ocean.biomeID && p_151618_0_ != BiomeGenBase.deepOcean.biomeID && p_151618_0_ != BiomeGenBase.frozenOcean.biomeID); }", "boolean isApplicableForAllAssetTypes();", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }", "public final boolean mo28423a(int i) {\n return zzwx.m31481a(i) != null;\n }", "boolean hasAabbValue();", "boolean internal();", "boolean isInternal();", "public static final boolean m34339a(int i) {\n return i == 1;\n }", "public boolean isUnknownType() {\n switch (type) {\n case ICNS.ICON:\n case ICNS.ICN_:\n case ICNS.icm_:\n case ICNS.ics_:\n case ICNS.ich_:\n case ICNS.icm4:\n case ICNS.ics4:\n case ICNS.icl4:\n case ICNS.ich4:\n case ICNS.icm8:\n case ICNS.ics8:\n case ICNS.icl8:\n case ICNS.ich8:\n case ICNS.s8mk:\n case ICNS.l8mk:\n case ICNS.h8mk:\n case ICNS.t8mk:\n case ICNS.is32:\n case ICNS.il32:\n case ICNS.ih32:\n case ICNS.it32:\n case ICNS.ic08:\n case ICNS.ic09:\n case ICNS.ic10:\n return false;\n }\n\n return true;\n }", "public boolean hasSpecial(){\n return (alg.containSpecial(input.getText().toString()));\n }", "public boolean isPrimitive() {\n return (getCockpitType() == Mech.COCKPIT_PRIMITIVE) || (getCockpitType() == Mech.COCKPIT_PRIMITIVE_INDUSTRIAL);\n }", "boolean hasAuvLoc();", "public boolean checkNaturals() {\n return getSize() == 2 && handValue() == 21;\n }", "public boolean m21281OooO00o(int i) {\n if (i < 0) {\n throw new RuntimeException();\n } else if (i > this.f22758OooO00o - 1) {\n return false;\n } else {\n return (OooO0O0[i & 31] & this.f22759OooO00o[i >>> 5]) != 0;\n }\n }", "@Override\n public boolean isMaybeUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & UNDEF) != 0;\n }", "boolean hasMachineType();", "boolean hasUa();", "private static boolean isOcean(RegistryKey<Biome> id) {\n return BiomeKeys.OCEAN.getValue().equals(id.getValue())\n || BiomeKeys.WARM_OCEAN.getValue().equals(id.getValue())\n || BiomeKeys.LUKEWARM_OCEAN.getValue().equals(id.getValue())\n || BiomeKeys.COLD_OCEAN.getValue().equals(id.getValue())\n || BiomeKeys.FROZEN_OCEAN.getValue().equals(id.getValue());\n }", "boolean hasI16();", "boolean hasConst();", "private boolean isGoodState() {\n\t resetMask();\n\t checkHorizontal();\n\t checkVertical();\n\n\t for(int i = 0; i < maskArray.length; i++){\n\t for (int j = 0; j < maskArray[i].length; j++){\n\n\t if (maskArray[i][j] == 1){\n\t return false;\n\t }\n\n\t }\n\t }\n\n\t return true;\n }", "boolean hasConstantValue();", "boolean isAtom(Formula f);", "@Override public byte isBitShape(Type t) { throw AA.unimpl(); }", "private static boolean m145767a(int i) {\n return i == 2 || i == 1;\n }", "boolean hasInt();" ]
[ "0.6828361", "0.6412777", "0.6167454", "0.6000568", "0.5688884", "0.5548281", "0.55466026", "0.51411474", "0.5107489", "0.5107489", "0.5107489", "0.5099785", "0.5097573", "0.5097573", "0.5097573", "0.5097573", "0.5097573", "0.5097573", "0.5094306", "0.5047107", "0.49839097", "0.49746883", "0.49423188", "0.49164233", "0.48974127", "0.48754448", "0.48572087", "0.48336345", "0.48190632", "0.48139614", "0.47780788", "0.47666028", "0.47548863", "0.475035", "0.47274545", "0.47149882", "0.47016767", "0.47010937", "0.46965295", "0.46942982", "0.46941707", "0.46907473", "0.468594", "0.46714965", "0.46641958", "0.46601212", "0.46574673", "0.46391392", "0.46371233", "0.46354783", "0.4632336", "0.46314412", "0.46177855", "0.46014577", "0.45896748", "0.45833784", "0.45798525", "0.4579775", "0.45755878", "0.4572463", "0.4565776", "0.45652184", "0.45587134", "0.45582843", "0.4555023", "0.45505702", "0.45484307", "0.454591", "0.45405796", "0.45365587", "0.45365587", "0.45330402", "0.453205", "0.45276737", "0.4527625", "0.45196766", "0.45180956", "0.4517923", "0.45177135", "0.4517546", "0.45175004", "0.4516326", "0.4513867", "0.45127907", "0.45122492", "0.45061263", "0.45058784", "0.45008752", "0.44916826", "0.4483501", "0.4482122", "0.44769666", "0.44667187", "0.44608498", "0.44606617", "0.4460625", "0.4458028", "0.44467804", "0.44452304", "0.44429392" ]
0.72438496
0
Utility method that determines if jobs are anonymized in a PrimitivesToAnonmize enum.
public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) { return isEverythingAnonymized(primitivesToAnonymize) || primitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForJob(String linkUuid) throws SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.JOB);\n\t}", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public boolean containsAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOP -> \t{return true;}\n\t\tcase DECI -> \t{return true;}\n\t\tcase DECO -> \t{return true;}\n\t\tcase STRO -> \t{return true;}\n\t\tcase CHARI -> \t{return true;}\n\t\tcase CHARO -> \t{return true;}\n\t\t\n//\t\tcase RETn\n\t\t\n\t\tcase ADDSP -> \t{return true;}\n\t\tcase SUBSP -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasPrimitive();", "public boolean isKnownPrimitive() {\r\n return id > 0 && type != null;\r\n }", "boolean hasLongNames();", "public boolean containsAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase BR -> \t\t{return true;}\n\t\tcase BRLE -> \t{return true;}\n\t\tcase BRLT -> \t{return true;}\n\t\tcase BREQ -> \t{return true;}\n\t\tcase BRNE -> \t{return true;}\n\t\tcase BRGE -> \t{return true;}\n\t\tcase BRGT -> \t{return true;}\n\t\tcase BRV -> \t{return true;}\n\t\tcase BRC -> \t{return true;}\n\t\tcase CALL -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\n\t\t}\n\t\t\n\t}", "public boolean containsUMneumonics() {\n\t\tswitch(this) {\n\t\tcase STOP -> \t{return true;}\n\t\tcase RETTR -> \t{return true;}\n\t\tcase MOVSPA -> \t{return true;}\n\t\tcase MOVFLGA -> {return true;}\n\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "default boolean isPrimitive() {\n return false;\n }", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }", "boolean hasBatchJob();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "boolean hasAabbValue();", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "public boolean containsRAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase ADDA -> \t{return true;}\n\t\tcase SUBA -> \t{return true;}\n\t\tcase ANDA -> \t{return true;}\n\t\tcase ORA -> \t{return true;}\n\t\tcase CPA -> \t{return true;}\n\t\tcase LDA -> \t{return true;}\n\t\tcase LDBYTEA -> {return true;}\n\t\tcase STA -> \t{return true;}\n\t\tcase STBYTEA -> {return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean isApplicableForAllAssetTypes();", "public boolean isBuiltinSort() {\n return equals(Sort.BUILTIN_BOOL)\n || equals(Sort.BUILTIN_INT)\n || equals(Sort.BUILTIN_STRING)\n || equals(Sort.BUILTIN_FLOAT)\n /* LTL builtin sorts */\n// || sort.equals(Sort.SHARP_LTL_FORMULA)\n || equals(Sort.BUILTIN_PROP)\n || equals(Sort.BUILTIN_MODEL_CHECKER_STATE)\n || equals(Sort.BUILTIN_MODEL_CHECK_RESULT);\n }", "public boolean isKnown();", "public boolean isMaybePrimitive() {\n checkNotPolymorphicOrUnknown();\n return (flags & PRIMITIVE) != 0 || num != null || str != null;\n }", "boolean isOp();", "boolean hasProduceResType();", "public boolean isMaybeSingleObjectLabel() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.size() == 1;\n }", "public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "public boolean hasJobId() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isPrimitive() {\n return (getCockpitType() == Mech.COCKPIT_PRIMITIVE) || (getCockpitType() == Mech.COCKPIT_PRIMITIVE_INDUSTRIAL);\n }", "boolean isSetType();", "boolean hasMachineType();", "public boolean isBuiltin() {\n return builtin;\n }", "private boolean mo102a(int i) {\n switch (i) {\n case 0:\n return true;\n case 1:\n return this.f340a != null;\n case 2:\n return this.f341b != null;\n case 3:\n return (this.f341b == null || this.f340a == null) ? false : true;\n default:\n return false;\n }\n }", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "public static boolean isAtomic(byte dataType) {\n return ((dataType == BYTEARRAY) ||\n (dataType == CHARARRAY) ||\n (dataType == BIGCHARARRAY) ||\n (dataType == INTEGER) ||\n (dataType == BIGINTEGER) ||\n (dataType == BIGDECIMAL) ||\n (dataType == LONG) ||\n (dataType == FLOAT) ||\n (dataType == DOUBLE) ||\n (dataType == BOOLEAN) ||\n (dataType == BYTE) ||\n (dataType == DATETIME) ||\n (dataType == GENERIC_WRITABLECOMPARABLE));\n }", "private boolean isUmJogador(String nome) {\n for (int i = 0; i < listaJogadores.size(); i++) {\n Jogador jogador = listaJogadores.get(i);\n\n if (jogador.getNome().equals(nome)) {\n return true;\n }\n\n }\n\n return false;\n }", "boolean hasUnknown();", "private boolean isBuiltInProcedureTokenType()\n\t{\n\t\tswitch(theCurrentToken.TokenType)\n\t\t{\n\t\t\tcase GETBOOL: case GETFLOAT: case GETINTEGER: case GETSTRING: case GETCHAR:\n\t\t\tcase PUTBOOL: case PUTFLOAT: case PUTINTEGER: case PUTSTRING: case PUTCHAR:\n\t\t\t\treturn true;\n\t\t\tdefault:\n\t\t\t\treturn false;\n\t\t}\n}", "public boolean is (String name) {\n \t/* Avoid roundoff issues */\n return Math.abs(this.lookup(name)) < 0.0000001;\n }", "boolean hasUnknown2();", "boolean hasUnknown2();", "boolean hasUnknown2();", "public boolean hasJobId() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isOp(){\n return opSet.contains(symbol());\n }", "public boolean areParallel() {\n if (areParallel == null) {\n throw new UndefinedSubspace(\"It was not possible to establish the parallelism, probably because a parameter segment had zero length.\");\n }\n return areParallel;\n }", "public static synchronized boolean isPrimitive(String value){\n\t\treturn ClassRegistry.xmlprimitives.containsKey(value);\n\t}", "boolean hasUa();", "public boolean is_empilable()\n\t{\n\t\tif (this.nb_disk >= this.nb_disk_max)\n\t\t\treturn false;\n\t\treturn true;\n\t}", "boolean isSetObjectives();", "boolean hasTargetJobName();", "public boolean isAPrime(){\r\n\t\tHugeInt denominator = new HugeInt(this.p);\r\n\t\treturn denominator.isAPrime();\r\n\t}", "public boolean equals(AMRStitchCellAttributes obj)\n {\n return ((CreateCellsOfType == obj.CreateCellsOfType));\n }", "boolean hasJobId();", "private static boolean isPrimitiveType(DetailAST ast) {\n boolean result = false;\n final DetailAST parameterType = ast.findFirstToken(TokenTypes.TYPE);\n final DetailAST identToken = parameterType.getFirstChild();\n\n if (identToken != null) {\n switch (identToken.getType()) {\n case TokenTypes.LITERAL_BOOLEAN:\n case TokenTypes.LITERAL_INT:\n case TokenTypes.LITERAL_LONG:\n case TokenTypes.LITERAL_SHORT:\n case TokenTypes.LITERAL_BYTE:\n case TokenTypes.LITERAL_CHAR:\n case TokenTypes.LITERAL_VOID:\n case TokenTypes.LITERAL_DOUBLE:\n case TokenTypes.LITERAL_FLOAT:\n result = !isArrayOrElipsis(parameterType);\n break;\n default:\n }\n }\n return result;\n }", "boolean hasNoUnions();", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "boolean getIsOccupation();", "boolean hasPropType();", "boolean getLongNames();", "public boolean needsAllocation(TypeReference type) {\n if (type == null) {\n throw new IllegalArgumentException(\"The argument type may not be null\");\n }\n\n if (seenTypes.containsKey(type)) {\n if (seenTypes.get(type).size() > 1) { // TODO INCORRECT may all be UNALLOCATED\n return false;\n } else {\n return (seenTypes.get(type).get(0).status == ValueStatus.UNALLOCATED);\n }\n } else {\n return true;\n }\n }", "public boolean isAutonym() {\n return flags != null && flags.contains(NameFlag.AUTONYM);\n }", "public boolean isSetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(NAME$8) != 0;\n }\n }", "boolean hasJobIDTarget();", "boolean hasUnknown12();", "boolean isAtom(Formula f);", "boolean isReserved();", "public final boolean m2276k() {\n return this.f2952a == ValueType.object;\n }", "@VisibleForTesting\n public boolean queryCurrentOperatorName(byte[] address) {\n return queryCurrentOperatorNameNative(address);\n }", "boolean hasPkiType();", "boolean hasHasAlcoholSpecimanType();", "protected abstract boolean isShapeSimple();", "boolean hasIntSize();", "private boolean allMUsSet() {\n\t\tVector meaningUnits = Model.getIllocutionUnitRoots().getMeaningUnits();\n\t\tfor (int i = 0; i < meaningUnits.size(); i++) {\n\t\t\tMeaningUnit mu = (MeaningUnit) meaningUnits.get(i);\n\t\t\tVector sememeGroups = mu.getSememeGroups();\n\t\t\tif (sememeGroups.isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "boolean getNoUnions();", "public boolean isMaybeSingleAllocationSite() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && newSet(getObjectSourceLocations()).size() == 1;\n }", "@Override\n public boolean isPrimitive() {\n return true;\n }", "public boolean hasTargetJobName() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public boolean isPolymorphicOrUnknown() {\n return var != null || (flags & UNKNOWN) != 0;\n }", "public boolean isSetEnumSkillName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(ENUMSKILLNAME$8) != null;\n }\n }", "boolean isSetProbables();", "public final boolean m2275j() {\n return this.f2952a == ValueType.array;\n }", "public boolean m16299OooO00o() {\n return this.OooO00o.OooO00o().m16143OooO00o() != null;\n }", "public boolean isAccessibilityComputationAreaFromBoundingBox() {\n return accessibilityComputationAreaFromBoundingBox;\n }", "boolean isSimpleValue();", "public boolean isPrimitive() {\n return false;\n }", "boolean hasMetric();", "boolean hasMetric();", "public final boolean isSimpleName() {\n return (_names.length == 1);\n }", "public boolean isSetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(NAME$0) != 0;\n }\n }", "public boolean isSetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(NAME$0) != 0;\n }\n }", "public boolean isMaybeObjectOrSymbol() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null;\n }", "private boolean startsWithAny(List<String> packagesToTreatAsOpaque, String qualifiedTypeName) {\n for (String packageName : packagesToTreatAsOpaque) {\n if (!Strings.isNullOrEmpty(packageName) && qualifiedTypeName.startsWith(packageName)) {\n return true;\n }\n }\n return false;\n }", "boolean hasMagic();", "public boolean hasTargetJobName() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }" ]
[ "0.65265733", "0.6483961", "0.6102693", "0.5746852", "0.54874474", "0.5428526", "0.5267001", "0.5249332", "0.4990709", "0.49855104", "0.49670786", "0.49520594", "0.49464315", "0.49445814", "0.4887847", "0.4863556", "0.48593885", "0.4767394", "0.4711017", "0.47061345", "0.46700135", "0.4656508", "0.46329072", "0.45885122", "0.4587829", "0.45858896", "0.45828718", "0.4580217", "0.4580217", "0.4580217", "0.4580217", "0.4580217", "0.4580217", "0.4578605", "0.45779333", "0.45683733", "0.45681334", "0.45658144", "0.45621344", "0.45583907", "0.4552183", "0.45433533", "0.45316193", "0.45274243", "0.45219228", "0.4518683", "0.4518683", "0.4518683", "0.4509673", "0.4504814", "0.4500496", "0.449669", "0.4493636", "0.44913048", "0.44870722", "0.44771835", "0.44655392", "0.44593778", "0.44556516", "0.44490302", "0.444275", "0.4442321", "0.4430403", "0.44224405", "0.4415491", "0.44136265", "0.44089922", "0.4405955", "0.44056678", "0.44018507", "0.43997836", "0.43960372", "0.43921456", "0.43897507", "0.43885386", "0.43880236", "0.4387171", "0.4380306", "0.4376313", "0.43707648", "0.43701977", "0.43688482", "0.43684867", "0.43670166", "0.43664402", "0.43634158", "0.43561623", "0.43474072", "0.43414673", "0.4339121", "0.43379548", "0.43347862", "0.43347862", "0.4331202", "0.43289724", "0.43289724", "0.4327508", "0.43256733", "0.43218538", "0.43212992" ]
0.75352335
0
Utility method that determines if all primitives are anonymized in a PrimitivesToAnonmize enum.
public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) { return primitivesToAnonymize == PrimitivesToAnonymize.ALL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public boolean containsAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOP -> \t{return true;}\n\t\tcase DECI -> \t{return true;}\n\t\tcase DECO -> \t{return true;}\n\t\tcase STRO -> \t{return true;}\n\t\tcase CHARI -> \t{return true;}\n\t\tcase CHARO -> \t{return true;}\n\t\t\n//\t\tcase RETn\n\t\t\n\t\tcase ADDSP -> \t{return true;}\n\t\tcase SUBSP -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasPrimitive();", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "public boolean containsAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase BR -> \t\t{return true;}\n\t\tcase BRLE -> \t{return true;}\n\t\tcase BRLT -> \t{return true;}\n\t\tcase BREQ -> \t{return true;}\n\t\tcase BRNE -> \t{return true;}\n\t\tcase BRGE -> \t{return true;}\n\t\tcase BRGT -> \t{return true;}\n\t\tcase BRV -> \t{return true;}\n\t\tcase BRC -> \t{return true;}\n\t\tcase CALL -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\n\t\t}\n\t\t\n\t}", "public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "public boolean containsUMneumonics() {\n\t\tswitch(this) {\n\t\tcase STOP -> \t{return true;}\n\t\tcase RETTR -> \t{return true;}\n\t\tcase MOVSPA -> \t{return true;}\n\t\tcase MOVFLGA -> {return true;}\n\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "public boolean isKnownPrimitive() {\r\n return id > 0 && type != null;\r\n }", "public boolean containsRAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase ADDA -> \t{return true;}\n\t\tcase SUBA -> \t{return true;}\n\t\tcase ANDA -> \t{return true;}\n\t\tcase ORA -> \t{return true;}\n\t\tcase CPA -> \t{return true;}\n\t\tcase LDA -> \t{return true;}\n\t\tcase LDBYTEA -> {return true;}\n\t\tcase STA -> \t{return true;}\n\t\tcase STBYTEA -> {return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasNoUnions();", "public boolean isMaybePrimitive() {\n checkNotPolymorphicOrUnknown();\n return (flags & PRIMITIVE) != 0 || num != null || str != null;\n }", "boolean hasUnknown();", "public final boolean isIntegral() {\n return this.equals(BYTE)\n || this.equals(CODE)\n || this.equals(SHORT)\n || this.equals(INT)\n || this.equals(LONG)\n || this.equals(UBYTE)\n || this.equals(UINT)\n || this.equals(ULONG)\n || this.equals(USHORT);\n }", "public boolean hasDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) != 0;\n }", "default boolean isPrimitive() {\n return false;\n }", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "static boolean anyObjectTypes(Object[] ptypes) {\n for (Object ptype : ptypes) {\n if (isObjectType(ptype)) {\n return true;\n }\n }\n return false;\n }", "public boolean isPolymorphicOrUnknown() {\n return var != null || (flags & UNKNOWN) != 0;\n }", "boolean hasUnknown2();", "boolean hasUnknown2();", "boolean hasUnknown2();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "boolean getNoUnions();", "public boolean containsRMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOTA -> \t{return true;}\n\t\tcase NOTX -> \t{return true;}\n\t\tcase NEGA -> \t{return true;}\n\t\tcase NEGX -> \t{return true;}\n\t\tcase ASLA -> \t{return true;}\n\t\tcase ASLX -> \t{return true;}\n\t\tcase ASRA -> \t{return true;}\n\t\tcase ASRX -> \t{return true;}\n\t\tcase ROLA -> \t{return true;}\n\t\tcase ROLX -> \t{return true;}\n\t\tcase RORA -> \t{return true;}\n\t\tcase RORX -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "boolean hasAabbValue();", "boolean isApplicableForAllAssetTypes();", "boolean isSetObjectives();", "private boolean allMUsSet() {\n\t\tVector meaningUnits = Model.getIllocutionUnitRoots().getMeaningUnits();\n\t\tfor (int i = 0; i < meaningUnits.size(); i++) {\n\t\t\tMeaningUnit mu = (MeaningUnit) meaningUnits.get(i);\n\t\t\tVector sememeGroups = mu.getSememeGroups();\n\t\t\tif (sememeGroups.isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "boolean isNilObjectives();", "boolean hasUnknown12();", "public boolean isDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) == ATTR_DONTENUM;\n }", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "public boolean isAutonym() {\n return flags != null && flags.contains(NameFlag.AUTONYM);\n }", "private boolean checkSelectAll(){\n\t\tboolean ans = false;\n\t\tint i =0;//# of *\n\t\tfor(String temp : this.attrList){\n\t\t\tif(temp.equals(\"*\")){\n\t\t\t\t// ans = true;\n\t\t\t\ti++;\n\t\t\t\t// break;\n\t\t\t\tif (i==tableNames.size()) {\n\t\t\t\t\tans = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn ans;\n\t}", "public boolean isNotDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) == ATTR_NOTDONTENUM;\n }", "public boolean isMaybeSingleObjectLabel() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.size() == 1;\n }", "boolean hasMagic();", "public boolean isMaybeObject() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.stream().anyMatch(x -> x.getKind() != Kind.SYMBOL);\n }", "public boolean isMaybeObjectOrSymbol() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null;\n }", "static boolean anyObjectTypes(List<?> ptypes) {\n for (Object ptype : ptypes) {\n if (isObjectType(ptype)) {\n return true;\n }\n }\n return false;\n }", "public static boolean isObjectIdSet(Set<Map<String, Object>> denaObjects) {\n return denaObjects.stream().allMatch(DenaSerializer::isObjectIdSet);\n }", "public boolean hasIntrospectionType() {\n return fieldSetFlags()[17];\n }", "public boolean isMaybeDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM) != 0;\n }", "@Test\n void shouldReturnPrimitiveTypeOnly() {\n assertThat(TypeVisitor.gatherAllTypes(int.class), contains(int.class));\n assertThat(TypeVisitor.gatherAllTypes(double.class), contains(double.class));\n assertThat(TypeVisitor.gatherAllTypes(char.class), contains(char.class));\n }", "public boolean areMedianIntensities();", "public boolean isUnknown() {\n\t\treturn (access & Opcodes.ACC_UNKNOWN) != 0;\n\t}", "boolean hasSurrogateType();", "public boolean isMaybeNotDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_NOTDONTENUM) != 0;\n }", "boolean hasUa();", "boolean hasPersonCharacteristicIds();", "protected static boolean isBiomeOceanic(int p_151618_0_) { return !(p_151618_0_ != BiomeGenBase.ocean.biomeID && p_151618_0_ != BiomeGenBase.deepOcean.biomeID && p_151618_0_ != BiomeGenBase.frozenOcean.biomeID); }", "@Override\n public boolean isMaybeUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & UNDEF) != 0;\n }", "boolean hasIntSize();", "boolean hasExplicitAnnotation();", "boolean hasExplicitAnnotation();", "public boolean isPrimitive() {\n return (getCockpitType() == Mech.COCKPIT_PRIMITIVE) || (getCockpitType() == Mech.COCKPIT_PRIMITIVE_INDUSTRIAL);\n }", "boolean hasHasAlcoholSpecimanType();", "public static boolean dicomImportAnonymizerEnabled() {\n\t\tif ((xml == null) || (dicomImportAnonymize == null)) return false;\n\t\treturn dicomImportAnonymize.equals(\"yes\");\n\t}", "protected boolean isPrimitiveObject(Object object) {\r\n return PropertyType.PRIMITIVE.equals(determinePropertyType(object));\r\n }", "protected abstract boolean isShapeSimple();", "public boolean isMaybePrimitiveOrSymbol() {\n return isMaybePrimitive() || isMaybeSymbol();\n }", "@Override public byte isBitShape(Type t) { throw AA.unimpl(); }", "private static boolean isPrimitiveType(DetailAST ast) {\n boolean result = false;\n final DetailAST parameterType = ast.findFirstToken(TokenTypes.TYPE);\n final DetailAST identToken = parameterType.getFirstChild();\n\n if (identToken != null) {\n switch (identToken.getType()) {\n case TokenTypes.LITERAL_BOOLEAN:\n case TokenTypes.LITERAL_INT:\n case TokenTypes.LITERAL_LONG:\n case TokenTypes.LITERAL_SHORT:\n case TokenTypes.LITERAL_BYTE:\n case TokenTypes.LITERAL_CHAR:\n case TokenTypes.LITERAL_VOID:\n case TokenTypes.LITERAL_DOUBLE:\n case TokenTypes.LITERAL_FLOAT:\n result = !isArrayOrElipsis(parameterType);\n break;\n default:\n }\n }\n return result;\n }", "static private boolean isArray(Object[] ids) \n { \n boolean result = true; \n for (Object id : ids) \n { \n if (id instanceof Integer == false) \n { \n result = false; \n break; \n } \n } \n return result; \n }", "boolean isReserved();", "public boolean haveNiceHashCodeSpread(Set<ComplexOomage> oomages) {\n int[] bucketFillCount = new int[10];\n int size = oomages.size();\n for (ComplexOomage oom: oomages) {\n int code = oom.hashCode();\n int bucket = (code & 0x7FFFFFFF) % 10;\n bucketFillCount[bucket] += 1;\n }\n\n double min = size / 50;\n double max = size / 2.5;\n for (int count: bucketFillCount) {\n if (count < min || count > max) {\n return false;\n }\n }\n return true;\n }", "@Pure\n\tprotected Primitives getPrimitiveTypes() {\n\t\treturn this.primitives;\n\t}", "public boolean checkNaturals() {\n return getSize() == 2 && handValue() == 21;\n }", "public boolean hasSpecial(){\n return (alg.containSpecial(input.getText().toString()));\n }", "boolean hasI17();", "public boolean isKnown();", "boolean hasNestedEnum();", "public boolean isPrimitive() {\n return false;\n }", "private boolean noangles() {\r\n return OPT(GO() && NOT(GO() && CHAR('>')) && literal() && noangles());\r\n }", "public boolean isUnknown() {\n return (flags & UNKNOWN) != 0;\n }", "default boolean areRelated(Triple... elements) {\n return witnesses(elements).anyMatch(x -> true);\n }", "public boolean isBuiltin() {\n return builtin;\n }", "boolean hasPersonOutputCharacteristics();", "public boolean isBuiltinSort() {\n return equals(Sort.BUILTIN_BOOL)\n || equals(Sort.BUILTIN_INT)\n || equals(Sort.BUILTIN_STRING)\n || equals(Sort.BUILTIN_FLOAT)\n /* LTL builtin sorts */\n// || sort.equals(Sort.SHARP_LTL_FORMULA)\n || equals(Sort.BUILTIN_PROP)\n || equals(Sort.BUILTIN_MODEL_CHECKER_STATE)\n || equals(Sort.BUILTIN_MODEL_CHECK_RESULT);\n }", "boolean hasConst();", "private boolean literals() {\r\n return OPT(GO() && literal() && literals());\r\n }", "private boolean mo102a(int i) {\n switch (i) {\n case 0:\n return true;\n case 1:\n return this.f340a != null;\n case 2:\n return this.f341b != null;\n case 3:\n return (this.f341b == null || this.f340a == null) ? false : true;\n default:\n return false;\n }\n }", "@Override\n public boolean isPrimitive() {\n return true;\n }", "static boolean allBitsAreSet(int n)\r\n {\r\n // if true, then all bits are set\r\n if (((n + 1) & n) == 0)\r\n return true;\r\n\r\n // else all bits are not set\r\n return false;\r\n }", "boolean hasUnknown4();", "boolean hasConstantValue();", "boolean isSimpleValue();", "public boolean hasAnio()\r\n {\r\n return this._has_anio;\r\n }", "boolean hasCustomInterest();" ]
[ "0.6847401", "0.673415", "0.6628199", "0.6514083", "0.5816851", "0.56527233", "0.55644464", "0.5070315", "0.49921423", "0.49615726", "0.49247015", "0.49134558", "0.48809004", "0.48734036", "0.48722672", "0.48344773", "0.482628", "0.4771041", "0.47690395", "0.47675842", "0.47344586", "0.47127688", "0.47127688", "0.47127688", "0.47127688", "0.47127688", "0.47127688", "0.46885872", "0.46810135", "0.46640503", "0.46640503", "0.46640503", "0.4659353", "0.46516114", "0.4646017", "0.46240643", "0.46114764", "0.45999777", "0.45802304", "0.45730618", "0.45694983", "0.4563436", "0.4562575", "0.4552747", "0.45200923", "0.45112094", "0.4493816", "0.44765455", "0.44658148", "0.4463045", "0.44450915", "0.4432287", "0.44318745", "0.44291455", "0.44272527", "0.4426157", "0.44254872", "0.4422265", "0.44220087", "0.44214523", "0.44190174", "0.4414082", "0.44022313", "0.44004628", "0.43994537", "0.43994537", "0.4395493", "0.43874022", "0.43773523", "0.436704", "0.43669426", "0.43597984", "0.43546796", "0.43487766", "0.43439424", "0.43407518", "0.43388888", "0.43344474", "0.43303627", "0.43238804", "0.43222257", "0.4320888", "0.43133634", "0.4311", "0.4300443", "0.4296163", "0.4295479", "0.42918912", "0.42905554", "0.42890182", "0.4288995", "0.4287683", "0.42780334", "0.42725128", "0.42696357", "0.42693686", "0.42679274", "0.42629087", "0.4260568", "0.42578474" ]
0.7695392
0
Utility method that determines if no primitives are anonymized in a PrimitivesToAnonmize enum.
public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) { return primitivesToAnonymize == PrimitivesToAnonymize.NONE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "boolean hasPrimitive();", "public boolean hasDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) != 0;\n }", "public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "public boolean isMaybePrimitive() {\n checkNotPolymorphicOrUnknown();\n return (flags & PRIMITIVE) != 0 || num != null || str != null;\n }", "@Override\n public boolean isMaybeUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & UNDEF) != 0;\n }", "boolean isNilObjectives();", "public boolean containsAAAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOP -> \t{return true;}\n\t\tcase DECI -> \t{return true;}\n\t\tcase DECO -> \t{return true;}\n\t\tcase STRO -> \t{return true;}\n\t\tcase CHARI -> \t{return true;}\n\t\tcase CHARO -> \t{return true;}\n\t\t\n//\t\tcase RETn\n\t\t\n\t\tcase ADDSP -> \t{return true;}\n\t\tcase SUBSP -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t\t\n\t}", "boolean hasNoUnions();", "public boolean isNotDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) == ATTR_NOTDONTENUM;\n }", "boolean hasUnknown();", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "public boolean isMaybeNotDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_NOTDONTENUM) != 0;\n }", "public boolean isDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM_ANY) == ATTR_DONTENUM;\n }", "public boolean isMaybeDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM) != 0;\n }", "boolean getNoUnions();", "public boolean isPolymorphicOrUnknown() {\n return var != null || (flags & UNKNOWN) != 0;\n }", "public boolean isUnknown() {\n\t\treturn (access & Opcodes.ACC_UNKNOWN) != 0;\n\t}", "public boolean isMaybeObject() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.stream().anyMatch(x -> x.getKind() != Kind.SYMBOL);\n }", "public boolean isUnknown() {\n return (flags & UNKNOWN) != 0;\n }", "public boolean isKnownPrimitive() {\r\n return id > 0 && type != null;\r\n }", "default boolean isPrimitive() {\n return false;\n }", "private boolean noangles() {\r\n return OPT(GO() && NOT(GO() && CHAR('>')) && literal() && noangles());\r\n }", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public boolean isNullOrUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & (NULL | UNDEF)) != 0\n && (flags & (NUM | STR | BOOL)) == 0 && num == null && str == null && object_labels == null && getters == null && setters == null;\n }", "public void checkNotPolymorphicOrUnknown() {\n if (isPolymorphic())\n throw new AnalysisException(\"Unexpected polymorphic value!\");\n if (isUnknown())\n throw new AnalysisException(\"Unexpected 'unknown' value!\");\n }", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "boolean hasUnknown1();", "public boolean containsUMneumonics() {\n\t\tswitch(this) {\n\t\tcase STOP -> \t{return true;}\n\t\tcase RETTR -> \t{return true;}\n\t\tcase MOVSPA -> \t{return true;}\n\t\tcase MOVFLGA -> {return true;}\n\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "public boolean isMaybeObjectOrSymbol() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null;\n }", "public boolean isPrimitive() {\n return false;\n }", "public boolean hasUncountable() {\n return ops.hasUncountable(mat);\n }", "boolean hasUnknown2();", "boolean hasUnknown2();", "boolean hasUnknown2();", "public boolean isNone() {\n if (var == null)\n return (flags & (PRIMITIVE | ABSENT | UNKNOWN)) == 0 && num == null && str == null && object_labels == null && getters == null && setters == null;\n else\n return (flags & (ABSENT | PRESENT_DATA | PRESENT_ACCESSOR)) == 0;\n }", "public boolean isMaybePrimitiveOrSymbol() {\n return isMaybePrimitive() || isMaybeSymbol();\n }", "boolean isNoop();", "public boolean isEmptySpecials() {\n return emptySpecials;\n }", "public Value restrictToNotTypeofObject() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n r.flags &= ~NULL;\n r.object_labels = newSet();\n if (object_labels != null)\n for (ObjectLabel objlabel : object_labels)\n if (objlabel.getKind() == Kind.FUNCTION || objlabel.getKind() == Kind.SYMBOL)\n r.object_labels.add(objlabel);\n if (r.object_labels.isEmpty())\n r.object_labels = null;\n return canonicalize(r);\n }", "public boolean isUnknownType() {\n switch (type) {\n case ICNS.ICON:\n case ICNS.ICN_:\n case ICNS.icm_:\n case ICNS.ics_:\n case ICNS.ich_:\n case ICNS.icm4:\n case ICNS.ics4:\n case ICNS.icl4:\n case ICNS.ich4:\n case ICNS.icm8:\n case ICNS.ics8:\n case ICNS.icl8:\n case ICNS.ich8:\n case ICNS.s8mk:\n case ICNS.l8mk:\n case ICNS.h8mk:\n case ICNS.t8mk:\n case ICNS.is32:\n case ICNS.il32:\n case ICNS.ih32:\n case ICNS.it32:\n case ICNS.ic08:\n case ICNS.ic09:\n case ICNS.ic10:\n return false;\n }\n\n return true;\n }", "boolean hasUnknown12();", "Boolean isOmitTf();", "public boolean containsAMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase BR -> \t\t{return true;}\n\t\tcase BRLE -> \t{return true;}\n\t\tcase BRLT -> \t{return true;}\n\t\tcase BREQ -> \t{return true;}\n\t\tcase BRNE -> \t{return true;}\n\t\tcase BRGE -> \t{return true;}\n\t\tcase BRGT -> \t{return true;}\n\t\tcase BRV -> \t{return true;}\n\t\tcase BRC -> \t{return true;}\n\t\tcase CALL -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\n\t\t}\n\t\t\n\t}", "protected static boolean isBiomeOceanic(int p_151618_0_) { return !(p_151618_0_ != BiomeGenBase.ocean.biomeID && p_151618_0_ != BiomeGenBase.deepOcean.biomeID && p_151618_0_ != BiomeGenBase.frozenOcean.biomeID); }", "boolean hasPossiblyBad();", "public boolean isEmpty() {\r\n\tfor (int i = 0; i < this.size; i++) {\r\n\t if (this.territory[0][i] != 0 || this.territory[1][i] != 0) {\r\n\t\treturn false;\r\n\t }\r\n\t}\r\n\r\n\treturn true;\r\n }", "public boolean isNotASingletonObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "public boolean hasNoUnions() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "boolean isNullOmittable();", "public boolean hasNullSig() {\n for (Mounted mEquip : getMisc()) {\n MiscType mtype = (MiscType) mEquip.getType();\n if (mtype.hasFlag(MiscType.F_NULLSIG)) {\n // The Mek has Null-Sig\n return true;\n }\n }\n return false;\n }", "public boolean isMaybeSingleObjectLabel() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && object_labels.size() == 1;\n }", "public boolean hasNoUnions() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "boolean isNilConstraints();", "public boolean isTrivial(String nameProperty) {\n return false;\n }", "boolean getPersonCharacteristicIdsNull();", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "boolean isNoOp();", "boolean isNilRequiredResources();", "public boolean isEmpty() {\n\t\treturn tamano == 0;\n\t}", "static boolean IS_NOMINAL(String t) {\n\n return (t.equals(Feature.NOMINAL));\n }", "default boolean isSpecial() { return false; }", "boolean getPersonOutputCharacteristicsNull();", "@JsonIgnore\n public boolean noPhMeasure() {\n \treturn this.noMeasure(false, null);\n }", "public boolean containsRMneumonics() {\n\t\tswitch(this) {\n\t\t\n\t\tcase NOTA -> \t{return true;}\n\t\tcase NOTX -> \t{return true;}\n\t\tcase NEGA -> \t{return true;}\n\t\tcase NEGX -> \t{return true;}\n\t\tcase ASLA -> \t{return true;}\n\t\tcase ASLX -> \t{return true;}\n\t\tcase ASRA -> \t{return true;}\n\t\tcase ASRX -> \t{return true;}\n\t\tcase ROLA -> \t{return true;}\n\t\tcase ROLX -> \t{return true;}\n\t\tcase RORA -> \t{return true;}\n\t\tcase RORX -> \t{return true;}\n\t\t\n\t\tdefault -> {return false;}\n\t\t\n\t\t}\n\t}", "Boolean isOmitNorms();", "public boolean isUndefined(Address start, Address end);", "@Override\n public boolean isPrimitive() {\n return true;\n }", "boolean isReserved();", "public boolean isPracticallyEmpty() {\n\treturn getDimension()==0 ||\n\t getDimension()==1 && id2label.elementAt(0).equals(DUMMY_LABEL);\n }", "public Value restrictToNonSymbolObject() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitiveOrSymbol() && !isMaybeGetterOrSetter())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.getters = r.setters = null;\n r.excluded_strings = r.included_strings = null;\n r.object_labels = newSet();\n if (object_labels != null)\n for (ObjectLabel objlabel : object_labels)\n if (objlabel.getKind() != Kind.SYMBOL)\n r.object_labels.add(objlabel);\n if (r.object_labels.isEmpty())\n r.object_labels = null;\n return canonicalize(r);\n }", "boolean isNilAttributeTypeDisplayName();", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "private boolean isNillable(String name) {\r\n if (schema == null) {\r\n return true;\r\n }\r\n PropertyDescriptor descriptor = schema.getDescriptor(name);\r\n return descriptor == null || descriptor.isNillable();\r\n }", "boolean isNilWagerMinimum();", "boolean isNilLabel();", "boolean isNilIsManaged();", "public boolean isPrimitive() {\n return (getCockpitType() == Mech.COCKPIT_PRIMITIVE) || (getCockpitType() == Mech.COCKPIT_PRIMITIVE_INDUSTRIAL);\n }", "public Value restrictToFalsy() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n if (isMaybeStr(\"\"))\n r.str = \"\";\n else\n r.str = null;\n r.flags &= ~STR;\n if (r.num != null && Math.abs(r.num) != 0.0)\n r.num = null;\n r.object_labels = r.getters = r.setters = null;\n r.flags &= ~(BOOL_TRUE | STR_PREFIX | (NUM & ~(NUM_ZERO | NUM_NAN)));\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public boolean hasIntrospectionType() {\n return fieldSetFlags()[17];\n }", "@Override public byte isBitShape(Type t) { throw AA.unimpl(); }", "boolean hasAabbValue();", "private void checkNotUnknown() {\n if (isUnknown())\n throw new AnalysisException(\"Unexpected 'unknown' value!\");\n }", "public boolean isAnyAllowed() {\n return _types.size() == 0 || hasType(JSONSchemaTypes.ANY.getClass());\n }", "public boolean isMaybePolymorphicPresent() {\n return (flags & (PRESENT_DATA | PRESENT_ACCESSOR)) != 0;\n }", "boolean isSetObjectives();", "boolean isNotAllMedia();", "static boolean anyObjectTypes(Object[] ptypes) {\n for (Object ptype : ptypes) {\n if (isObjectType(ptype)) {\n return true;\n }\n }\n return false;\n }", "public static boolean hasNoExplicitBound(final AnnotatedTypeMirror wildcard) {\n return ((Type.WildcardType) wildcard.getUnderlyingType()).isUnbound();\n }", "private boolean isPhantom(Type t) {\n boolean isPhantom = false;\n if (t instanceof RefLikeType) {\n if (t instanceof RefType)\n isPhantom = ((RefType) t).getSootClass().isPhantom();\n else if (t instanceof ArrayType)\n isPhantom = isPhantom(((ArrayType) t).getElementType());\n }\n if (isPhantom)\n _writer.writePhantomType(t);\n return isPhantom;\n }", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }", "boolean isNilMaximum();", "boolean hasUknown();" ]
[ "0.70701885", "0.615011", "0.6125295", "0.6093962", "0.5919079", "0.5836839", "0.5776024", "0.576985", "0.57639086", "0.5744014", "0.568609", "0.56465405", "0.56310326", "0.56079453", "0.5593544", "0.55795527", "0.5565532", "0.5531149", "0.551147", "0.5504524", "0.5502851", "0.54552335", "0.54298794", "0.54130715", "0.5403726", "0.5326468", "0.53009313", "0.52960056", "0.52954245", "0.5282613", "0.5282613", "0.5282613", "0.5282613", "0.5282613", "0.5282613", "0.5244337", "0.5223192", "0.51853824", "0.5170587", "0.51553315", "0.51553315", "0.51553315", "0.5134973", "0.512194", "0.50990784", "0.50623226", "0.5052345", "0.5037459", "0.5017941", "0.4986148", "0.4946596", "0.49391", "0.49237266", "0.4921117", "0.49210638", "0.49103817", "0.4909857", "0.49070755", "0.4903035", "0.4868287", "0.48480108", "0.4834722", "0.48284432", "0.4819622", "0.4819245", "0.48097098", "0.48096883", "0.4808036", "0.48033324", "0.48025042", "0.47965476", "0.479439", "0.478262", "0.47653073", "0.47575265", "0.47536385", "0.4748768", "0.47360945", "0.4722235", "0.4718495", "0.47158033", "0.47125623", "0.4710037", "0.47084433", "0.4707635", "0.46974552", "0.4696816", "0.46957177", "0.46953467", "0.46944955", "0.46924585", "0.4690176", "0.46896708", "0.4687096", "0.46819386", "0.46815798", "0.46783838", "0.46707067", "0.4668195", "0.4665991" ]
0.7294029
0
Converts from a PrimitivesToAnonymize enum name to a PrimitiveToAnonymize enum.
public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) { PrimitivesToAnonymize primitivesToAnonymize = null; switch (enumName) { case R.ANONYMIZE_ALL: primitivesToAnonymize = PrimitivesToAnonymize.ALL; break; case R.ANONYMIZE_ALL_BUT_BENCH: primitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH; break; case R.ANONYMIZE_NONE: primitivesToAnonymize = PrimitivesToAnonymize.NONE; break; default: throw new IllegalArgumentException( "There is no PrimitivesToAnonymize enum associated with the string: " + enumName); } return primitivesToAnonymize; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "EnumTypeRule createEnumTypeRule();", "EnumTypeDefinition createEnumTypeDefinition();", "public static Type valueOfIgnoreCase(String name) throws IllegalArgumentException {\n for(Type type: Type.values()) {\n if(type.getName().equalsIgnoreCase(name)) return type;\n }\n\n throw new IllegalArgumentException(String.format(\"Type object with the name '%s' could not be found.\", name));\n }", "private static QualifiedName makePrimitiveInstanceMethodName(String methodName, String primitiveTypeName) {\r\n \r\n if(methodName == null || primitiveTypeName == null) {\r\n throw new IllegalArgumentException(\"makePrimitiveInstanceMethodName must not be passed null values\");\r\n }\r\n \r\n // Trivial case: If we are given the name of a primitive type in CAL form (eg, \"Int\")\r\n // then we don't need to do any particular work to get things into the correct form.\r\n if(Character.isUpperCase(primitiveTypeName.charAt(0))) {\r\n return QualifiedName.make(CAL_Prelude.MODULE_NAME, methodName + primitiveTypeName);\r\n }\r\n \r\n // Non-trivial case: we need to convert the first character of the primitive type name\r\n // to upper-case.\r\n StringBuilder buffer = new StringBuilder(methodName.length() + primitiveTypeName.length());\r\n buffer.append(methodName);\r\n buffer.append(Character.toUpperCase(primitiveTypeName.charAt(0)));\r\n buffer.append(primitiveTypeName.substring(1));\r\n \r\n return QualifiedName.make(CAL_Prelude.MODULE_NAME, buffer.toString());\r\n }", "PrimitiveType(String name) {\n\tthis.primitiveElem = new PrimitiveElem(name);\n\t\n }", "public void renameEnumConstant(String oldEnumConstant, String newEnumConstant) {\n\t\tEnumConstantRenamer renamer = buildEnumConstantRenamer(oldEnumConstant, newEnumConstant);\n\t\tgetStateObject().accept(renamer);\n\t}", "EnumRef createEnumRef();", "EnumConstant createEnumConstant();", "public static AccessType fromExternalName(String externalName) {\n\t\tif (externalName == null) {\n\t\t\treturn null;\n\t\t}\n\t\tfor (AccessType accessType : AccessType.values()) {\n\t\t\tif (accessType.getExternalName().equals(externalName)) {\n\t\t\t\treturn accessType;\n\t\t\t}\n\t\t}\n\t\tthrow new UnknownEnumExternalNameException(externalName);\n\t}", "public CustomMof14EnumLiteral createCustomMof14EnumLiteral();", "EnumValue createEnumValue();", "EnumValue createEnumValue();", "EnumValue createEnumValue();", "public EnumConstantRenamer(IManagedTypeProvider managedTypeProvider,\n\t\t String oldEnumConstant,\n\t\t String newEnumConstant) {\n\n\t\t\tsuper();\n\t\t\tthis.oldEnumConstant = oldEnumConstant;\n\t\t\tthis.newEnumConstant = newEnumConstant;\n\t\t\tthis.managedTypeProvider = managedTypeProvider;\n\t\t}", "public interface KmipEnum {\n\n String name();\n\n Long getValue();\n}", "public static String formatEnumName(String name) {\n String[] words = name.replace('_', ' ').split(\"\\\\s\");\n StringBuilder formatted = new StringBuilder(name.length());\n for (String word : words) {\n formatted.append(word.substring(0, 1).toUpperCase());\n formatted.append(word.substring(1).toLowerCase());\n formatted.append(' ');\n }\n return formatted.toString().trim();\n }", "EEnumLiteral createEEnumLiteral();", "public static CommandEnum stringToEnum(String commandEnum) {\n if (lookup.containsKey(commandEnum)) {\n return lookup.get(commandEnum);\n } else {\n return CommandEnum.INVALID;\n }\n }", "public static String enumToCounter(Enum e) {\n\t\treturn e.name();\n\t}", "public final PrimitiveType findPrimitiveType(String name)\n {\n for (int i = 0; i < primitiveTypes.size(); i++) {\n PrimitiveType a = (PrimitiveType)(primitiveTypes.elementAt(i));\n if (a.getName().equals(name))\n return a;\n }\n return null;\n }", "PrimitiveType createPrimitiveType();", "EEnum createEEnum();", "public static AudioNormalizationAlgorithm fromValue(String value) {\n if (value == null || \"\".equals(value)) {\n throw new IllegalArgumentException(\"Value cannot be null or empty!\");\n }\n\n for (AudioNormalizationAlgorithm enumEntry : AudioNormalizationAlgorithm.values()) {\n if (enumEntry.toString().equals(value)) {\n return enumEntry;\n }\n }\n\n throw new IllegalArgumentException(\"Cannot create enum from \" + value + \" value!\");\n }", "@Override\n public T convert(String source, Class<T> enumType, T defaultTarget) {\n // If source is null or empty, defaultTarget is returned\n if (source == null || source.isEmpty()) {\n return defaultTarget;\n }\n try {\n // Try to get the enum constant with the specified name\n return (T) Enum.valueOf(enumType, source.trim().toUpperCase());\n } catch (IllegalArgumentException iae) {\n // If no matching enum constant is found, an exception is\n // thrown and defaultTarget is returned\n return defaultTarget;\n }\n }", "private static DirType getEnum(String name) {\n\t\t\t//Find provided string in directions map.\n\t\t\tDirType direction = directions.get(name.toUpperCase());\n\t\t\tif (direction == null) {\n\t\t\t\tdirection = DirType.NONE;\n\t\t\t}\n\t\t\treturn direction;\n\t\t}", "public Concept nameToConcept(String name) {\r\n return concepts.get(name);\r\n }", "public static ButtonStyle fromName(String name) {\n switch (name) {\n case \"blurple\":\n return PRIMARY;\n case \"grey\":\n return SECONDARY;\n case \"green\":\n return SUCCESS;\n case \"red\":\n return DANGER;\n case \"url\":\n return LINK;\n default:\n return UNKNOWN;\n }\n }", "EnumLiteralExp createEnumLiteralExp();", "private String out_name(Enum<?> e) {\n return e.name().toLowerCase();\n }", "public static ReadShellPreference valueOf(final String name) {\n\n Assertions.voidNotNull(\"Name\", name);\n\n String nameToCheck = name.toLowerCase();\n\n if (nameToCheck.equals(PRIMARY.getName().toLowerCase())) {\n return PRIMARY;\n }\n if (nameToCheck.equals(SECONDARY.getName().toLowerCase())) {\n return SECONDARY;\n }\n if (nameToCheck.equals(SECONDARY_PREFERRED.getName().toLowerCase())) {\n return SECONDARY_PREFERRED;\n }\n if (nameToCheck.equals(PRIMARY_PREFERRED.getName().toLowerCase())) {\n return PRIMARY_PREFERRED;\n }\n if (nameToCheck.equals(NEAREST.getName().toLowerCase())) {\n return NEAREST;\n }\n\n throw new IllegalArgumentException(\"No match for read preference of \" + name);\n }", "public String toPrimitive(String fieldType) {\n String res = \"\";\n if (fieldType.equals(\"Integer\")) { res = \"int\"; }\n else if (fieldType.equals(\"Short\")) { res = \"short\"; }\n else if (fieldType.equals(\"Long\")) { res = \"long\"; }\n else if (fieldType.equals(\"Byte\")) { res = \"byte\"; }\n else if (fieldType.equals(\"Character\")) { res = \"char\"; }\n else if (fieldType.equals(\"Float\")) { res = \"float\"; }\n else if (fieldType.equals(\"Double\")) { res = \"double\"; }\n else if (fieldType.equals(\"Boolean\")) { res = \"boolean\"; }\n else { return fieldType; }\n return res;\n }", "@SuppressWarnings( { \"rawtypes\", \"unchecked\" })\n protected Object[] convertToEnums( Object[] args ) throws ActionExecutionException {\n\n Object[] processedArgs = new Object[args.length];\n\n //try to convert all strings to enums\n Class<?>[] parameterTypes = method.getParameterTypes();\n for (int i = 0; i < parameterTypes.length; i++) {\n\n if (args[i] == null) {\n processedArgs[i] = null;\n continue;\n }\n\n boolean isParamArray = parameterTypes[i].isArray();\n Class<?> paramType;\n Class<?> argType;\n if (isParamArray) {\n paramType = parameterTypes[i].getComponentType();\n argType = args[i].getClass().getComponentType();\n } else {\n paramType = parameterTypes[i];\n argType = args[i].getClass();\n }\n\n if (argType == String.class && paramType.isEnum()) {\n try {\n if (isParamArray) {\n Object convertedEnums = Array.newInstance(paramType, Array.getLength(args[i]));\n\n //convert all array elements to enums\n for (int j = 0; j < Array.getLength(args[i]); j++) {\n String currentValue = (String) Array.get(args[i], j);\n if (currentValue != null) {\n Array.set(convertedEnums, j,\n Enum.valueOf((Class<? extends Enum>) paramType,\n currentValue));\n }\n }\n\n processedArgs[i] = convertedEnums;\n } else {\n processedArgs[i] = Enum.valueOf((Class<? extends Enum>) paramType,\n (String) args[i]);\n }\n } catch (IllegalArgumentException iae) {\n throw new ActionExecutionException(\"Could not convert string \" + args[i]\n + \" to enumeration of type \" + paramType.getName());\n }\n } else {\n processedArgs[i] = args[i];\n }\n }\n\n return processedArgs;\n }", "public T caseIntEnum(IntEnum object)\n {\n return null;\n }", "public IntType asInt(){\n return TypeFactory.getIntType(this.toInt(this.getValue()));\n }", "public static Enum forInt(int i)\n { return (Enum)table.forInt(i); }", "public static Enum forInt(int i)\n { return (Enum)table.forInt(i); }", "public static Enum forInt(int i)\n { return (Enum)table.forInt(i); }", "public int typeExchange(Element element) {\n TypeMirror typeMirror = element.asType();\n\n // Primitive\n if (typeMirror.getKind().isPrimitive()) {\n return element.asType().getKind().ordinal();\n }\n\n switch (typeMirror.toString()) {\n case BYTE:\n return TypeKind.BYTE.ordinal();\n case SHORT:\n return TypeKind.SHORT.ordinal();\n case INTEGER:\n return TypeKind.INT.ordinal();\n case LONG:\n return TypeKind.LONG.ordinal();\n case FLOAT:\n return TypeKind.FLOAT.ordinal();\n case DOUBEL:\n return TypeKind.DOUBLE.ordinal();\n case BOOLEAN:\n return TypeKind.BOOLEAN.ordinal();\n case STRING:\n return TypeKind.STRING.ordinal();\n case CHARSEQUENCE:\n return TypeKind.CHARSEQUENCE.ordinal();\n default: // Other side, maybe the PARCELABLE, SERIALIZABLE or OBJECT.\n if (types.isSubtype(typeMirror, parcelableType)) { // PARCELABLE\n return TypeKind.PARCELABLE.ordinal();\n } else { // For others\n return TypeKind.OBJECT.ordinal();\n }\n }\n }", "public static Enum forInt(int i)\r\n { return (Enum)table.forInt(i); }", "public static int getType(String name) {\n if (name == null)\n return UNKNOWN_TYPE;\n Integer i = (Integer) TYPE_MAP.get(name);\n if (i != null) {\n return i.intValue();\n } else {\n return UNKNOWN_TYPE;\n }\n }", "public static Enum forInt(int i)\n { return (Enum)table.forInt(i); }", "<C, EL> EnumLiteralExp<C, EL> createEnumLiteralExp();", "public static Enum forInt(int i)\n { return (Enum)table.forInt(i); }", "public int toIntType(String questionType) {\n int type = 0;\n\n if (questionType.equals(\"MA\")) {\n type = 0;\n } else if (questionType.equals(\"MC\")) {\n type = 1;\n } else if (questionType.equals(\"TF\")) {\n type = 2;\n } else {\n type = 3;\n }\n\n return type;\n }", "private SheetTraitEnum(int value, String name, String literal) {\r\n\t\tthis.value = value;\r\n\t\tthis.name = name;\r\n\t\tthis.literal = literal;\r\n\t}", "public Operator nameToOperator(String name) {\r\n return operators.get(name);\r\n }", "public interface CustomMof14EnumLiteralClass extends javax.jmi.reflect.RefClass {\n /**\n * The default factory operation used to create an instance object.\n * @return The created instance object.\n */\n public CustomMof14EnumLiteral createCustomMof14EnumLiteral();\n}", "private AssociationKind(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static ActionNameEnum getByLowerValue(String lowerValue) {\n for(ActionNameEnum value : values()) {\n if (value.lowerValue.equals(lowerValue)) {\n return value;\n }\n }\n return UNKNOWN;\n }", "private ScalarEnum getInputType(final String inputType) {\n String temp = inputType.replaceAll(\"-\", \"_\");\n INPUT_TYPE answer = Arrays.stream(\n INPUT_TYPE.values()\n )\n .filter(value -> value.name().equals(temp))\n .findFirst()\n .orElse(INPUT_TYPE.unknown);\n return answer.getScalar();\n }", "int toInt(String a){\n\t\tint name=0;\r\n\t\tfor(int i=0;i<a.length();i++){\r\n\t\t\tname+=(int)a.charAt(i);\r\n\t\t}\r\n\t\treturn name;\r\n\t}", "Enumeration createEnumeration();", "public static final StatusOrder stringToEnum(int statusInt) throws Exception {\n\t\tswitch (statusInt) {\n\t\tcase 0:\n\t\t\treturn AWAITING;\n\t\tcase 1:\n\t\t\treturn APPROVED;\n\t\tcase 2:\n\t\t\treturn REJECTED;\n\t\tcase 3:\n\t\t\treturn CLOSED;\n\t\tdefault:\n\t\t\tthrow new EnumNotFindException(\"Значение <\"+statusInt+\"> не входит в заданный список\");\n\t\t}\n\t}", "public static Class<?> getPrimitiveClass(String name) {\n Method method = null;\n try {\n method = Class.class.getDeclaredMethod(\"getPrimitiveClass\", String.class);\n } catch (NoSuchMethodException e) {\n throw new RuntimeException(e);\n }\n method.setAccessible(true);\n Class<?> clazz = null;\n try {\n clazz = (Class<?>) method.invoke(null, name);\n } catch (IllegalAccessException | InvocationTargetException e) {\n throw new RuntimeException(e);\n }\n return clazz;\n }", "private PseudostateKind(int value, String name, String literal) {\r\n\t\tthis.value = value;\r\n\t\tthis.name = name;\r\n\t\tthis.literal = literal;\r\n\t}", "public IDLType getSpecialCaseIDLTypeMapping(Class<Object> paramClass) {\n/* 411 */ if (paramClass == null) {\n/* 412 */ throw new IllegalArgumentException();\n/* */ }\n/* */ \n/* 415 */ if (paramClass == Object.class) {\n/* 416 */ return new IDLType(paramClass, new String[] { \"java\", \"lang\" }, \"Object\");\n/* */ }\n/* 418 */ if (paramClass == String.class) {\n/* 419 */ return new IDLType(paramClass, new String[] { \"CORBA\" }, \"WStringValue\");\n/* */ }\n/* 421 */ if (paramClass == Class.class) {\n/* 422 */ return new IDLType(paramClass, new String[] { \"javax\", \"rmi\", \"CORBA\" }, \"ClassDesc\");\n/* */ }\n/* 424 */ if (paramClass == Serializable.class) {\n/* 425 */ return new IDLType(paramClass, new String[] { \"java\", \"io\" }, \"Serializable\");\n/* */ }\n/* 427 */ if (paramClass == Externalizable.class) {\n/* 428 */ return new IDLType(paramClass, new String[] { \"java\", \"io\" }, \"Externalizable\");\n/* */ }\n/* 430 */ if (paramClass == Remote.class) {\n/* 431 */ return new IDLType(paramClass, new String[] { \"java\", \"rmi\" }, \"Remote\");\n/* */ }\n/* 433 */ if (paramClass == Object.class) {\n/* 434 */ return new IDLType(paramClass, \"Object\");\n/* */ }\n/* 436 */ return null;\n/* */ }", "@JsonCreator\n public static DecryptionRuleTypeEnum fromString(String name) {\n return fromString(name, DecryptionRuleTypeEnum.class);\n }", "private EnumButton(String name) {\r\n\t\tthis.name = name;\r\n\t}", "public static SortOrder valueOfName(String name) {\n\t\tif (name == null) {\n\t\t\treturn null;\n\t\t}\n\t\tfor (SortOrder p : SortOrder.values()) {\n\t\t\tif (name.equals(p.getSimpleName())) {\n\t\t\t\treturn p;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public Registry registerEnum(EnumIO<?> eio, int id);", "public Variable castOidType(OIDType type, String value) {\n Variable oidValue = null;\n switch (type) {\n case INTEGER32:\n oidValue = new Integer32(Integer.parseInt(value));\n break;\n case UNSIGNED32:\n oidValue = new UnsignedInteger32(Integer.parseInt(value));\n break;\n case COUNTER32:\n oidValue = new Counter32(Long.parseLong(value));\n break;\n case GAUGE32:\n oidValue = new Gauge32(Long.parseLong(value));\n break;\n case OCTETSTRING:\n oidValue = new OctetString(value);\n break;\n case BITSTRING:\n int val = Integer.parseInt(value);\n int arrayIndex = val / 8;\n byte[] buf = new byte[] { 0x00, 0x00, 0x00, 0x00 };\n buf[arrayIndex] |= 1 << (8 - (val % 8));\n OctetString oct = new OctetString();\n oct.append(buf);\n oidValue = new OctetString(oct);\n break;\n default:\n break;\n }\n return oidValue;\n }", "public static SignatureAlgoEnum fromSpki(String spkiName) {\n int pos = spkiName.lastIndexOf(\"-\");\n if (pos==-1) {\n throw new JsdsiRuntimeException(\"Illegal SPKI SignatureAlgo: \"+spkiName);\n }\n String s = spkiName.substring(pos+1);\n DigestAlgoEnum digest = DigestAlgoEnum.fromSpki( s );\n s = spkiName.substring(0, pos);\n KeyEnum key = KeyEnum.fromSpki( s );\n return new SignatureAlgoEnum(digest, key);\n }", "public EnumC30728c fromValue(int i) {\n return EnumC30728c.fromValue(i);\n }", "public j$a m18303a(String name, int value) {\n return m18292b(name, String.valueOf(value));\n }", "AclActiveStatusEnum(int aclActiveStatusEnum, String schemaName) {\n this.aclActiveStatusEnum = aclActiveStatusEnum;\n this.schemaName = schemaName;\n }", "<E> E encodeType(Class<E> enumType);", "private Severity_MIL_STD_882D(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "EnumValueDefinition createEnumValueDefinition();", "public interface LMCPEnum {\n\n public long getSeriesNameAsLong();\n\n public String getSeriesName();\n\n public int getSeriesVersion();\n\n public String getName(long type);\n\n public long getType(String name);\n\n public LMCPObject getInstance(long type);\n\n public java.util.Collection<String> getAllTypes();\n}", "public static ClassReference fromPrimitive(Primitive primitive) {\n\t\tswitch (primitive) {\n\t\tcase BOOLEAN:\n\t\t\treturn BOOLEAN;\n\t\tcase BYTE:\n\t\t\treturn BYTE;\n\t\tcase CHAR:\n\t\t\treturn CHAR;\n\t\tcase SHORT:\n\t\t\treturn SHORT;\n\t\tcase INT:\n\t\t\treturn INT;\n\t\tcase LONG:\n\t\t\treturn LONG;\n\t\tcase FLOAT:\n\t\t\treturn FLOAT;\n\t\tcase DOUBLE:\n\t\t\treturn DOUBLE;\n\t\tcase REFERENCE:\n\t\t\treturn OBJECT;\n\t\tdefault:\n\t\t\treturn null;\n\t\t}\n\t}", "PrimitiveTypesLibrary createPrimitiveTypesLibrary();", "private void swapNameType(Properties props, String newType, String newName) {\n String oldType = props.getProperty(ObjectNames.kMonitoringClassName);\n String oldName = props.getProperty(ObjectNames.kNameKeyName);\n props.put(ObjectNames.kMonitoringClassName, newType);\n props.put(ObjectNames.kNameKeyName, newName);\n props.put(oldType, oldName);\n }", "public IDLType getPrimitiveIDLTypeMapping(Class<void> paramClass) {\n/* 375 */ if (paramClass == null) {\n/* 376 */ throw new IllegalArgumentException();\n/* */ }\n/* */ \n/* 379 */ if (paramClass.isPrimitive()) {\n/* 380 */ if (paramClass == void.class)\n/* 381 */ return new IDLType(paramClass, \"void\"); \n/* 382 */ if (paramClass == boolean.class)\n/* 383 */ return new IDLType(paramClass, \"boolean\"); \n/* 384 */ if (paramClass == char.class)\n/* 385 */ return new IDLType(paramClass, \"wchar\"); \n/* 386 */ if (paramClass == byte.class)\n/* 387 */ return new IDLType(paramClass, \"octet\"); \n/* 388 */ if (paramClass == short.class)\n/* 389 */ return new IDLType(paramClass, \"short\"); \n/* 390 */ if (paramClass == int.class)\n/* 391 */ return new IDLType(paramClass, \"long\"); \n/* 392 */ if (paramClass == long.class)\n/* 393 */ return new IDLType(paramClass, \"long_long\"); \n/* 394 */ if (paramClass == float.class)\n/* 395 */ return new IDLType(paramClass, \"float\"); \n/* 396 */ if (paramClass == double.class) {\n/* 397 */ return new IDLType(paramClass, \"double\");\n/* */ }\n/* */ } \n/* */ \n/* 401 */ return null;\n/* */ }", "public static JPrimitiveType parse(JCodeModel codeModel, String typeName) {\n if (typeName.equals(\"void\"))\n return codeModel.VOID;\n else if (typeName.equals(\"boolean\"))\n return codeModel.BOOLEAN;\n else if (typeName.equals(\"byte\"))\n return codeModel.BYTE;\n else if (typeName.equals(\"short\"))\n return codeModel.SHORT;\n else if (typeName.equals(\"char\"))\n return codeModel.CHAR;\n else if (typeName.equals(\"int\"))\n return codeModel.INT;\n else if (typeName.equals(\"float\"))\n return codeModel.FLOAT;\n else if (typeName.equals(\"long\"))\n return codeModel.LONG;\n else if (typeName.equals(\"double\"))\n return codeModel.DOUBLE;\n else\n throw new IllegalArgumentException(\"Not a primitive type: \" + typeName);\n }", "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "private static String kebapToConstant(String input) {\n return CaseFormat.LOWER_HYPHEN.to(CaseFormat.UPPER_UNDERSCORE, input);\n }", "private APIVersionType(int value, String name, String literal) {\n this.value = value;\n this.name = name;\n this.literal = literal;\n }", "public String makeConversion(String value);", "public static Enum forString(java.lang.String s)\r\n { return (Enum)table.forString(s); }", "public static BasicEnum fromOrdinal(int ordinal)\n {\n return _ENUMERATIONS[ordinal];\n }", "public static CosmosMetricTagName fromString(String name) {\n checkNotNull(name, \"Argument 'name' must not be null.\");\n\n String normalizedName = name.trim().toLowerCase(Locale.ROOT);\n switch (normalizedName) {\n case \"all\": return CosmosMetricTagName.ALL;\n case \"default\": return CosmosMetricTagName.DEFAULT;\n case \"minimum\": return CosmosMetricTagName.MINIMUM;\n case \"consistencylevel\": return CosmosMetricTagName.CONSISTENCY_LEVEL;\n case \"container\": return CosmosMetricTagName.CONTAINER;\n case \"serviceaddress\": return CosmosMetricTagName.SERVICE_ADDRESS;\n case \"serviceendpoint\": return CosmosMetricTagName.SERVICE_ENDPOINT;\n case \"regionname\": return CosmosMetricTagName.REGION_NAME;\n case \"operationstatuscode\": return CosmosMetricTagName.OPERATION_STATUS_CODE;\n case \"operationsubstatuscode\": return CosmosMetricTagName.OPERATION_SUB_STATUS_CODE;\n case \"operation\": return CosmosMetricTagName.OPERATION;\n case \"requeststatuscode\": return CosmosMetricTagName.REQUEST_STATUS_CODE;\n case \"requestoperationtype\": return CosmosMetricTagName.REQUEST_OPERATION_TYPE;\n case \"clientcorrelationid\": return CosmosMetricTagName.CLIENT_CORRELATION_ID;\n case \"isforcerefresh\": return CosmosMetricTagName.ADDRESS_RESOLUTION_FORCED_REFRESH;\n case \"isforcecollectionroutingmaprefresh\":\n return CosmosMetricTagName.ADDRESS_RESOLUTION_COLLECTION_MAP_REFRESH;\n case \"partitionkeyrangeid\": return CosmosMetricTagName.PARTITION_KEY_RANGE_ID;\n case \"partitionid\": return CosmosMetricTagName.PARTITION_ID;\n case \"replicaid\": return CosmosMetricTagName.REPLICA_ID;\n\n default:\n String errorMessage = String.format(\n \"Argument 'name' has invalid value '%s' - valid values are: %s\",\n name,\n getValidValues());\n\n throw new IllegalArgumentException(errorMessage);\n }\n }", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "private Resource_kind(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "@SuppressWarnings(\"unchecked\")\r\n public EnumByteConverter(final String theEnumType) {\r\n super((Class<E>) SystemUtils.forName(theEnumType));\r\n constants = init();\r\n }", "public static byte findTypeByName(String name) {\n if (name == null) return NULL;\n else if (\"boolean\".equalsIgnoreCase(name)) return BOOLEAN;\n else if (\"byte\".equalsIgnoreCase(name)) return BYTE;\n else if (\"int\".equalsIgnoreCase(name)) return INTEGER;\n else if (\"biginteger\".equalsIgnoreCase(name)) return BIGINTEGER;\n else if (\"bigdecimal\".equalsIgnoreCase(name)) return BIGDECIMAL;\n else if (\"long\".equalsIgnoreCase(name)) return LONG;\n else if (\"float\".equalsIgnoreCase(name)) return FLOAT;\n else if (\"double\".equalsIgnoreCase(name)) return DOUBLE;\n else if (\"datetime\".equalsIgnoreCase(name)) return DATETIME;\n else if (\"bytearray\".equalsIgnoreCase(name)) return BYTEARRAY;\n else if (\"bigchararray\".equalsIgnoreCase(name)) return BIGCHARARRAY;\n else if (\"chararray\".equalsIgnoreCase(name)) return CHARARRAY;\n else if (\"map\".equalsIgnoreCase(name)) return MAP;\n else if (\"internalmap\".equalsIgnoreCase(name)) return INTERNALMAP;\n else if (\"tuple\".equalsIgnoreCase(name)) return TUPLE;\n else if (\"bag\".equalsIgnoreCase(name)) return BAG;\n else if (\"generic_writablecomparable\".equalsIgnoreCase(name)) return GENERIC_WRITABLECOMPARABLE;\n else return UNKNOWN;\n }", "private Class<?> resolveBuiltInAttrType(String anAlloyAttrType){\n\t\tif(anAlloyAttrType == \"int\" || anAlloyAttrType == \"Int\") return int.class;\n\t\telse if(anAlloyAttrType == \"String\") return String.class;\n\t\telse if(anAlloyAttrType == \"univ\") assertMessage(\"TODO: Map univ with Java type\");\n\t\telse if(anAlloyAttrType == \"none\") assertMessage(\"TODO: Map none with Java type\");\n\t\telse if(anAlloyAttrType.contains(\"seq\")) assertMessage(\"TODO: Map seqInt with Java type\");\n\t\t\n\t\treturn null;\n\t}", "private OperatorPair chooseOperators(String name) {\n\t\t\n\t\tswitch(name) {\n\t\t\n\t\tcase \"sin\":\n\t\t\treturn new OperatorPair(SIN, ASIN);\n\t\t\t\n\t\tcase \"cos\":\n\t\t\treturn new OperatorPair(COS, ACOS);\n\t\t\t\n\t\tcase \"tan\":\n\t\t\treturn new OperatorPair(TAN, ATAN);\n\t\t\t\n\t\tcase \"ctg\":\n\t\t\treturn new OperatorPair(CTG, ACTG);\n\t\t\t\n\t\tcase \"log\":\n\t\t\treturn new OperatorPair(LOG, LOG_INV);\n\t\t\t\n\t\tcase \"ln\":\n\t\t\treturn new OperatorPair(LN, LN_INV);\n\t\t\n\t\tcase \"1/x\":\n\t\t\treturn new OperatorPair(X_INV, X_INV);\n\t\t\t\n\t\tdefault:\n\t\t\tthrow new IllegalStateException(\"Invalid unary operator\");\n\t\t}\n\t}", "public static Enum forString(java.lang.String s)\n { return (Enum)table.forString(s); }", "public static EvalTypes valueOf(int s) throws IllegalArgumentException\n {\n EvalTypes types[] = values();\n for (int i = 0; i < types.length; i++)\n {\n if (types[i].getValue() == s)\n return types[i];\n }\n throw new IllegalArgumentException(\"No match for value: \" + s);\n }", "private static ContextType stringToContextType(String s) \n {\n for (ContextType enumVal : ContextType.values())\n {\n if (enumVal.toString().equals(s))\n return enumVal;\n }\n \n // in case of failure:\n return ContextType.UNKNOWN;\n }", "private Constant(String name) {\n this.name = name.trim().intern();\n if (StringUtils.isNumeric(this.name())){\n if (StringUtils.isInteger(this.name())){\n this.intValue = Integer.parseInt(this.name());\n this.doubleValue = Double.parseDouble(this.name());\n this.constantType = INTEGER;\n } else if (StringUtils.isDouble(this.name())){\n this.doubleValue = Double.parseDouble(this.name());\n this.constantType = DOUBLE;\n }\n } else {\n this.constantType = GENERIC;\n }\n }", "@Override\n public String toModelName(String name) {\n if (reservedWords.contains(name)) {\n throw new RuntimeException(name + \" (reserved word) cannot be used as a model name\");\n }\n\n // camelize the model name\n // phone_number => PhoneNumber\n return camelize(name);\n }", "@Override\r\n\tpublic Class<?> mapPrimitive2Wrapper(Class<?> pri) {\n\t\treturn _DefUtil.primitiveTypeMap.get(pri);\r\n\t}", "public Object elConvertType(Object value);", "public static String toAttributeName(String name)\r\n {\r\n return StringUtils.uncapitalize(toClassName(name));\r\n }", "public static <B extends Enum<B>> B convert(Enum<?> source, Class<B> targetClass) {\n if (source == null || targetClass == null) {\n return null;\n }\n return EnumUtils.getEnum(targetClass, source.name());\n }", "public static Enum forString(java.lang.String s)\n { return (Enum)table.forString(s); }", "public static Enum forString(java.lang.String s)\n { return (Enum)table.forString(s); }", "public static Enum forString(java.lang.String s)\n { return (Enum)table.forString(s); }" ]
[ "0.71674126", "0.46775985", "0.46647942", "0.46425828", "0.46220255", "0.45834327", "0.45828393", "0.4581167", "0.44844267", "0.44809353", "0.44667798", "0.43901482", "0.43901482", "0.43901482", "0.43766022", "0.43377006", "0.43290418", "0.432181", "0.430899", "0.42675588", "0.42652464", "0.42615816", "0.42599416", "0.42565602", "0.423403", "0.4216545", "0.42125303", "0.42114967", "0.41718337", "0.41676897", "0.4165484", "0.41640437", "0.4156977", "0.41560218", "0.414286", "0.41283983", "0.41283983", "0.41283983", "0.4127567", "0.41225198", "0.41200215", "0.41145793", "0.41094878", "0.41030988", "0.40979484", "0.40925398", "0.40882385", "0.40848923", "0.4073909", "0.40629563", "0.40415853", "0.4031612", "0.40253", "0.4021709", "0.39723685", "0.39691", "0.3965724", "0.39525682", "0.39398053", "0.39384472", "0.39261144", "0.39138925", "0.3910734", "0.39079952", "0.39053088", "0.3889418", "0.38851106", "0.38822934", "0.38801208", "0.38792393", "0.3868939", "0.38663697", "0.38654014", "0.38572016", "0.38535905", "0.385255", "0.3850619", "0.38474837", "0.38445428", "0.38405392", "0.38378844", "0.38266766", "0.38238817", "0.3812011", "0.380966", "0.38088983", "0.38082996", "0.37990826", "0.3780758", "0.3775936", "0.3774325", "0.37724128", "0.37675306", "0.3761468", "0.37584388", "0.3757252", "0.3756163", "0.37535152", "0.37535152", "0.37535152" ]
0.7135855
1
Converts from a PrimitivesToAnonymize enum to the string representation of that enum.
public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) { String enumName = null; switch (primitivesToAnonymize) { case ALL: enumName = R.ANONYMIZE_ALL; break; case ALL_BUT_BENCH: enumName = R.ANONYMIZE_ALL_BUT_BENCH; break; case NONE: enumName = R.ANONYMIZE_NONE; break; default: throw new IllegalArgumentException( "A case has not been implemented for the input PrimitivesToAnonymize."); } return enumName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String asString() {\n\t\t\tString enumName;\n\t\t\tswitch(this) {\n\t\t\tcase INDEX:\n\t\t\t\tenumName = \"index\";\n\t\t\t\tbreak;\n\t\t\tcase NAME:\n\t\t\t\tenumName = \"name\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tenumName = \"unsupported\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn enumName;\n\t\t}", "protected String _convertEnumObjectToString(Enum<?> object) {\n\t\treturn object.toString();\n\t}", "public String toString() {\n return _iotaEnum + \" - \" + _value ;\n }", "@SuppressWarnings(\"unchecked\")\n private String toString(Object obj)\n {\n if (obj instanceof Enum)\n return ((Enum) obj).name();\n return obj.toString();\n\n }", "public String convertEnum()\n {\n \tswitch (pattern.ordinal())\n \t{\n \tcase 0:\n \t\treturn \"Red Cards\";\n \tcase 1:\n \t\treturn \"Black Cards\";\n \tcase 2:\n \t\treturn \"Hearts\";\n \tcase 3:\n \t\treturn \"Diamonds\";\n \tcase 4:\n \t\treturn \"Clubs\";\n \tcase 5:\n \t\treturn \"Spades\";\n \tcase 6:\n \t\treturn \"Twos\";\n \tcase 7:\n \t\treturn \"Threes\";\n \tcase 8:\n \t\treturn \"Fours\";\n \tcase 9:\n \t\treturn \"Fives\";\n \tcase 10:\n \t\treturn \"Sixes\";\n \tcase 11:\n \t\treturn \"Sevens\";\n \tcase 12:\n \t\treturn \"Eights\";\n \tcase 13:\n \t\treturn \"Nines\";\n \tcase 14:\n \t\treturn \"Tens\";\n \tcase 15:\n \t\treturn \"Jacks\";\n \tcase 16:\n \t\treturn \"Queens\";\n \tcase 17:\n \t\treturn \"Kings\";\n \tcase 18:\n \t\treturn \"Aces\";\n \tcase 19:\n \t\treturn \"Single Digit Primes\";\n \tcase 20:\n \t\treturn \"Pairs\";\n \tcase 21:\n \t\treturn \"Sum of Pairs\";\n \tcase 22:\n \t\treturn \"Incrementing Cards\";\n \tcase 23:\n \t\treturn \"Decrementing Cards\";\n \tdefault:\n \t\treturn \"\";\n \t}\n }", "public static String enumToCounter(Enum e) {\n\t\treturn e.name();\n\t}", "public String toString() {\n switch (m_type) {\n case OPENTAG:\n return \"OPEN-\" + m_value.toUpperCase();\n case CLOSETAG:\n return \"CLOSE-\" + m_value.toUpperCase();\n case WORD:\n return \"WORD(\" + m_value + \")\";\n case NUMBER:\n return \"NUMBER(\" + m_value + \")\";\n case APOSTROPHIZED:\n return \"APOSTROPHIZED(\" + m_value + \")\";\n case HYPHENATED:\n return \"HYPHENATED(\" + m_value + \")\";\n case PUNCTUATION:\n return \"PUNCTUATION(\" + m_value + \")\";\n default:\n return \"UNKNOWN(\" + m_value + \")\";\n }\n }", "private String out_name(Enum<?> e) {\n return e.name().toLowerCase();\n }", "String toStringAsInt();", "static String ammoTypeToString(AmmoType ammoType) throws IllegalArgumentException{\n String color;\n switch (ammoType) {\n case BLUE:\n color = \"blue\";\n break;\n case YELLOW:\n color = \"yellow\";\n break;\n case RED:\n color = \"red\";\n break;\n default:\n throw new IllegalArgumentException(\"This ammo type is neither blue, yellow or red.\");\n }\n return color;\n }", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "public static String IngredientTypeToString(IngredientType type){\n switch(type){\n case ANIMAL:\n return \"Animal\";\n case VEGETAL:\n return \"Vegetal\";\n case MINERAL:\n return \"Mineral\";\n default:\n return \"Invalido\";\n }\n }", "@Override\n public String toString() {\n return value + symbol(this.type);\n }", "public String backup() {\n try {\n// System.out.println(\"enum backup====\");\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n ObjectOutputStream out = new ObjectOutputStream(baos);\n int nodeCount = EnumFactory.numberOfTypes;\n out.writeInt(nodeCount);\n for(int i=0; i<nodeCount; i++) {\n out.writeInt(countKeys[i]);\n out.writeInt(countKeys[i]);\n }\n out.close();\n return Base64.getEncoder().encodeToString(baos.toByteArray());\n } catch (IOException e) {\n System.out.print(\"IOException occurred.\" + e.toString());\n e.printStackTrace();\n return \"\";\n }\n }", "public String genotypeToString()\n {\n StringBuilder s = new StringBuilder();\n s.append( Code.encode( genome.length ) );\n for( int i = 0 ; i < genome.length ; i++ ) {\n s.append(Code.encode(genome[i].toString()));\n }\n return s.toString();\n }", "public static String eventTypeToString(EventType e) {\n return TypeToString.eventTypeToString(e);\n }", "@Override\n public String toString() {\n return String.valueOf(value());\n }", "@Override\n\tpublic String toString() {\n\t\treturn Integer.toUnsignedString(value);\n\t}", "public static String genotypeToString(Map<Allele, String> allelesMap, htsjdk.variant.variantcontext.Genotype genotype) {\n String genotypeValue;\n StringBuilder gt = new StringBuilder();\n for (Allele allele : genotype.getAlleles()) {\n if (gt.length() > 0) {\n gt.append(genotype.isPhased() ? VCFConstants.PHASED : VCFConstants.UNPHASED);\n }\n gt.append(allelesMap.get(allele));\n }\n genotypeValue = gt.toString();\n return genotypeValue;\n }", "protected static String toString(Value value) {\n String result = StringProvider.toIvmlString(value);\n IDatatype type = value.getType();\n if (StringType.TYPE.isAssignableFrom(type)) {\n while (result.startsWith(\"\\\"\")) {\n result = result.substring(1);\n }\n while (result.endsWith(\"\\\"\")) {\n result = result.substring(0, result.length() - 1);\n }\n } else if (Enum.TYPE.isAssignableFrom(type)) {\n int pos = result.lastIndexOf(\".\");\n if (pos > 0 && pos + 1 < result.length()) {\n result = result.substring(pos + 1);\n }\n } else if (Container.TYPE.isAssignableFrom(type)) {\n if (result.startsWith(\"{\\\"\")) {\n result = result.substring(2);\n }\n while (result.endsWith(\"\\\"}\")) {\n result = result.substring(0, result.length() - 2);\n }\n }\n return result;\n }", "public static String convertToString(int type) {\n\t\tswitch(type) {\n\t\tcase LOCATION:\t\t\t\treturn \"Location\";\n\t\tcase ACCELEROMETER:\t\t\treturn \"Acceleration\";\n\t\tcase MAGNETIC_FIELD:\t\treturn \"Magnetic Field\";\n\t\tcase ORIENTATION:\t\t\treturn \"Orientation\";\n\t\tcase GYROSCOPE:\t\t\t\treturn \"Gyroscope\";\n\t\tcase LIGHT:\t\t\t\t\treturn \"Light\";\n\t\tcase PRESSURE:\t\t\t\treturn \"Pressure\";\n\t\tcase TEMPERATURE:\t\t\treturn \"Temperature\";\n\t\tcase PROXIMITY:\t\t\t\treturn \"Proximity\";\n\t\tcase GRAVITY:\t\t\t\treturn \"Gravity\";\n\t\tcase LINEAR_ACCELERATION:\treturn \"Linear Acceleration\";\n\t\tcase ROTATION_VECTOR:\t\treturn \"Rotation Vector\";\n\t\tcase RELATIVE_HUMIDITY:\t\treturn \"Relative Humidity\";\n\t\tcase AMBIENT_TEMPERATURE:\treturn \"Ambient Temperature\";\n\t\t}\n\t\treturn \"\";\n\t}", "public static String getValidValues()\r\n\t{\r\n\t\tString comma = \"\";\r\n\t\tStringBuilder enumValue = new StringBuilder();\r\n\r\n\t\tfor (TabelaEnum i : TabelaEnum.class.getEnumConstants())\r\n\t\t{\r\n\t\t\tenumValue.append(comma).append(i.getValue());\r\n\t\t\tcomma = \", \";\r\n\t\t}\r\n\r\n\t\treturn enumValue.toString();\r\n\t}", "public String toString() {\n return type.toString();\n }", "String getTypeAsString();", "public String toString( )\n {\n return Integer.toString( value );\n }", "public Value restrictToStrBoolNum() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n r.object_labels = r.getters = r.setters = null;\n r.flags &= STR | BOOL | NUM;\n return canonicalize(r);\n }", "public abstract String toHumanString();", "public String toString()\n {\n if (stringRep == null)\n {\n StringBuilder sb = new StringBuilder();\n switch (type)\n {\n case THREE_PRIME:\n sb.append(\"DNA 3'-\");\n break;\n case FIVE_PRIME:\n sb.append(\"DNA 5'-\");\n break;\n case RNA:\n sb.append(\"RNA \");\n break;\n }\n \n for (int i = 0; i < seq.length; i++)\n {\n sb.append(seq[i]); // Java magic with Enum types -- converts to string.\n }\n \n switch (type)\n {\n case THREE_PRIME:\n sb.append(\"-5'\");\n break;\n case FIVE_PRIME:\n sb.append(\"-3'\");\n break;\n }\n \n stringRep = sb.toString();\n }\n \n return stringRep;\n }", "@Override\n public StringType asString() {\n return TypeFactory.getStringType(this.getValue());\n }", "static final String typeToString(int type) {\n switch (type) {\n case (UNKNOWN): return \"UNKNOWN\";\n case (STRING_FIELD): return \"STRING_FIELD\";\n case (NUMERIC_FIELD): return \"NUMERIC_FIELD\";\n case (DATE_FIELD): return \"DATE_FIELD\";\n case (TIME_FIELD): return \"TIME_FIELD\";\n case (DATE_TIME_FIELD): return \"DATE_TIME_FIELD\";\n case (TIMESTAMP_FIELD): return \"TIMESTAMP_FIELD\";\n default: return \"NOT_DEFINED\";\n }\n }", "public String convert(int input) {\n\n\t\tStringBuilder result = new StringBuilder();\n\n\t\tfor(FBQValues enumValue: FBQValues.values()) {\n\t\t\tresult.append(enumValue.replaceDivisible(input));\n\t\t}\n\n\t\treplaceCharacters(input, result);\n\n\t\tif(result.length() == 0) {\n\t\t\tresult.append(Integer.toString(input));\n\t\t}\n\n\t\treturn result.toString();\n\t}", "public String toJava() {\n return String.valueOf(getValue());\n }", "static String numToStr(int type)\r\n\t{\r\n\t\tif (type==MUTEX)\r\n\t\t\treturn \"Mutex\";\r\n\t\telse if (type==SEMAPHORE)\r\n\t\t\treturn \"Semaphore\";\r\n\t\telse if (type==SIGNAL)\r\n\t\t\treturn \"Signal\";\r\n\t\telse\r\n\t\t\treturn \"Unknown\";\r\n\t}", "public String getTypeStr(Type t)\n\t{\n\t\tString type;\n\t\t\n\t\tif(t instanceof IntegerType)\n\t\t{\n\t\t\ttype = \"int\";\n\t\t}\n\t\telse if(t instanceof IntArrayType)\n\t\t{\n\t\t\ttype = \"int[]\";\n\t\t}\n\t\telse if(t instanceof BooleanType)\n\t\t{\n\t\t\ttype = \"boolean\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\tIdentifierType t1 = (IdentifierType)t;\n\t\t\ttype = t1.s;\n\t\t}\n\t\t\n\t\treturn type;\n\t}", "static String referenceKindToString(int referenceKind) throws IllegalArgumentException {\n\t\tswitch(referenceKind) {\n\t\tcase REF_getField: \t\t\treturn \"getField\"; //$NON-NLS-1$\n\t\tcase REF_getStatic: \t\treturn \"getStatic\"; //$NON-NLS-1$\n\t\tcase REF_putField: \t\t\treturn \"putField\"; //$NON-NLS-1$\n\t\tcase REF_putStatic: \t\treturn \"putStatic\"; //$NON-NLS-1$\n\t\tcase REF_invokeVirtual: \treturn \"invokeVirtual\"; //$NON-NLS-1$\n\t\tcase REF_invokeStatic: \t\treturn \"invokeStatic\"; //$NON-NLS-1$\n\t\tcase REF_invokeSpecial: \treturn \"invokeSpecial\"; //$NON-NLS-1$\n\t\tcase REF_newInvokeSpecial: \treturn \"newInvokeSpecial\"; //$NON-NLS-1$\n\t\tcase REF_invokeInterface: \treturn \"invokeInterface\"; //$NON-NLS-1$\n\t\t}\n\t\t// K0582 = Reference kind \"{0\"} is invalid\n\t\tthrow new IllegalArgumentException(com.ibm.oti.util.Msg.getString(\"K0582\", referenceKind)); //$NON-NLS-1$\n\t}", "@Override\n public String toString(){\n return String.valueOf(value);\n }", "public String toString() {\n return Integer.toString(name);\n }", "default String getTypeName() {\n JdlFieldEnum type = getType();\n return switch (type) {\n case ENUM -> getEnumEntityName()\n .orElseThrow(() -> new IllegalStateException(\"An enum field must have its enum entity name set\"));\n default -> ((\"UUID\".equals(type.name())) ? type.name() : type.toCamelUpper());\n };\n }", "public void testEnumUsingToString() throws Exception\n {\n assertEquals(\"\\\"c2\\\"\", MAPPER.writeValueAsString(AnnotatedTestEnum.C2));\n }", "public String toStr() {\r\n return value.toString();\r\n }", "@Override\r\n\tpublic String toString() {\r\n\t\treturn name + \" \" + Arrays.toString(types);\r\n\t}", "private String toBaseString(final Object o) {\n return o.getClass().getName() + \"@\" + Integer.toHexString(System.identityHashCode(o));\n }", "public String\ttoString() { return Integer.toString(value); }", "public String osFlagsToString() {\n String result = \"\";\n if ((osFlags & FLAG_OS_RECOVERY) != 0) {\n result += \"Recovery,\";\n }\n if ((osFlags & FLAG_OS_SIGNED_MCU) != 0) {\n result += \"Signed MCU,\";\n }\n if ((osFlags & FLAG_OS_ONBOARDED) != 0) {\n result += \"Onboarded,\";\n }\n if ((osFlags & FLAG_TRUST_ISSUER) != 0) {\n result += \"Trust issuer,\";\n }\n if ((osFlags & FLAG_TRUST_CUSTOMCA) != 0) {\n result += \"Trust Custom CA,\"; \n }\n if ((osFlags & FLAG_HSM_INITIALIZED) != 0) {\n result += \"Personalized,\";\n }\n if ((osFlags & FLAG_PIN_VALIDATED) != 0) {\n result += \"PIN ready,\";\n }\n if (result.length() == 0) {\n return result;\n }\n else {\n return result.substring(0, result.length() - 1);\n }\n }", "public String toString()\n\t{\n\t\tString result = new String();\n\t\tfor (boolean bit : bits)\n\t\t{\n\t\t\tif (bit) result += '1';\n\t\t\telse result += '0';\n\t\t}\n\t\treturn result;\n\t}", "public static String formatEnumName(String name) {\n String[] words = name.replace('_', ' ').split(\"\\\\s\");\n StringBuilder formatted = new StringBuilder(name.length());\n for (String word : words) {\n formatted.append(word.substring(0, 1).toUpperCase());\n formatted.append(word.substring(1).toLowerCase());\n formatted.append(' ');\n }\n return formatted.toString().trim();\n }", "@Override\n public String toString() {\n int t = 0;\n while (true) {\n final Class<?> type;\n switch (t++) {\n case 0: type = Hints.class; break;\n case 1: type = getValueClass(); break;\n default: return super.toString();\n }\n final String name = nameOf(type, this);\n if (name != null) {\n return name;\n }\n }\n }", "public static String m106642a(Integer num) {\n String str = \"\";\n switch (num.intValue()) {\n case 0:\n return \"HOME\";\n case 1:\n return \"DISCOVER\";\n case 2:\n return \"PUBLISH\";\n case 3:\n return \"NOTIFICATION\";\n case 4:\n return \"USER\";\n case 5:\n return \"DISCOVER\";\n default:\n return str;\n }\n }", "public static String getObjectEquivalentClassName(BasicType t) {\n switch (t.getType()) {\n case Constants.T_INT:\n return \"java.lang.Integer\";\n\n case Constants.T_SHORT:\n return \"java.lang.Short\";\n\n case Constants.T_BOOLEAN:\n return \"java.lang.Boolean\";\n\n case Constants.T_CHAR:\n return \"java.lang.Character\";\n\n case Constants.T_BYTE:\n return \"java.lang.Byte\";\n\n case Constants.T_FLOAT:\n return \"java.lang.Float\";\n\n case Constants.T_DOUBLE:\n return \"java.lang.Double\";\n\n case Constants.T_LONG:\n return \"java.lang.Long\";\n\n default:\n throw new IllegalArgumentException(\"Unexpected Type: \" + t);\n }\n }", "@Override\n public String toString() {\n switch (this) {\n case CODE128_A:\n return \"code128A\";\n case CODE25INTER:\n return \"2/5 interleave\";\n default:\n return name();\n }\n }", "public String toString() {\n\t\treturn String.format(\"%s = %d\",name,value);\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"%s:%s\", type, value);\n\t}", "@ToString\n @Override\n public String toString() {\n return NAMES.format(this);\n }", "@Test\n public void testStandardToString() {\n for (PdfaFlavour.IsoStandard standard : PdfaFlavour.IsoStandard.values()) {\n System.out.println(standard.toString());\n }\n }", "public String toASCIIString() {\n return Utilities.convertHexToASCII(this.toHexString());\n }", "public String toCodedString() {\n\t\t//System.out.println(toString());\n\t\treturn String.format(\"%s%s\", getColor().toInt(), getShape().toString());\n\t}", "public static String getValidValues()\r\n\t{\r\n\t\tLanguagesEnum[] enums = LanguagesEnum.class.getEnumConstants();\r\n\r\n\t\tString comma = \"\";\r\n\t\tStringBuilder enumValue = new StringBuilder();\r\n\t\tfor (LanguagesEnum i : enums)\r\n\t\t{\r\n\t\t\tenumValue.append(comma + i.getValue());\r\n\t\t\tcomma = \", \";\r\n\t\t}\r\n\t\treturn enumValue.toString();\r\n\t}", "@Override\n public String toString(){\n switch(this){\n case GROUND : return \"0\";\n case SECOND_DAY_AIR: return \"1\";\n case INTERNATIONAL_STANDARD: return \"3\";\n case INTERNATIONAL_PREMIUM: return \"4\";\n default: return \"-1\";\n }\n }", "public String toString() {\n\t\t\n\t\treturn \"Uniform\";\n\t}", "public String toInvariantString() {\n\t\treturn fInvariantName;\n\t}", "@Override\r\n\tpublic String toString() {\n\t\treturn value + \"\";\r\n\t}", "public String toString() {\n \t\tint bn = 0;\n \t\tString s = String.valueOf(bn);\n\t\t\treturn s;\n\t\t}", "public String toString()\n {\n String string = new Integer(this.getValue()).toString();\n return string; \n }", "public static String MaterialToString(Material tipo){\n \n switch(tipo){\n case CARBONO:\n return \"Bicicleta Feita de Carbono\";\n case ALUMINIO:\n return \"Bicicleta Feita de Aluminio\";\n default:\n return \"Material Invalido\";\n }\n }", "public FieldEnumString(List<PropertyModel> fields) {\n final StringBuilder sb = new StringBuilder(128);\n for (PropertyModel mappedField : fields) {\n if (sb.length() > 0) {\n sb.append(\", \");\n }\n sb.append(mappedField.getMappedName());\n }\n display = sb.toString();\n }", "@Override\r\n public String convert(Long input) {\r\n return String.valueOf(input);\r\n }", "public String toString() {\n return super.toString() + \" (\" + constants.size() + \" constants)\";\n }", "public String convertToString(int i) {\n\t\tswitch (i) {\n\t\t\tcase 0: return \"\";\n\t\t\tcase 1: return \"1\";\n\t\t\tcase 2: return \"2\";\n\t\t\tcase 3: return \"3\";\n\t\t\tcase 4: return \"4\";\n\t\t\tcase 5: return \"5\";\n\t\t\tcase 6: return \"6\";\n\t\t\tcase 7: return \"7\";\n\t\t\tcase 8: return \"8\";\n\t\t\tcase 9: return \"9\";\n\t\t\tcase 10: return \"A\";\n\t\t\tcase 11: return \"B\";\n\t\t\tcase 12: return \"C\";\n\t\t\tcase 13: return \"D\";\n\t\t\tcase 14: return \"E\";\n\t\t\tcase 15: return \"F\";\n\t\t\tcase 16: return \"G\";\n\t\t\tcase 17: return \"H\";\n\t\t\tcase 18: return \"I\";\n\t\t\tcase 19: return \"J\";\n\t\t\tcase 20: return \"K\";\n\t\t\tcase 21: return \"L\";\n\t\t\tcase 22: return \"M\";\n\t\t\tcase 23: return \"N\";\n\t\t\tcase 24: return \"O\";\n\t\t\tcase 25: return \"P\";\n\t\t\tcase 26: return \"Q\";\n\t\t\tcase 27: return \"R\";\n\t\t\tcase 28: return \"S\";\n\t\t\tcase 29: return \"T\";\n\t\t\tcase 30: return \"U\";\n\t\t\tcase 31: return \"V\";\n\t\t\tcase 32: return \"W\";\n\t\t\tcase 33: return \"X\";\n\t\t\tcase 34: return \"Y\";\n\t\t\tcase 35: return \"Z\";\n\t\t\tdefault: System.out.println(\"The number is too high.\");\n\t\t return \"0\";\n\t\t}\n }", "@Override\n public String toString() {\n return getClass().getSimpleName() + \"[\" + value + \"]\";\n }", "public String getEnum() {\n if (model == null)\n return strEnum;\n return model.getEnum();\n }", "public String convertRoomType(){\r\n String str = null;\r\n if (this.roomType == Room.ROOM_TYPE_BASIC_ROOM){\r\n str = \"Basic Room\";\r\n }\r\n if (this.getRoomType() == Room.ROOM_TYPE_JUNIOR_SUITE) {\r\n str = \"Junior Suite\";\r\n }\r\n if (this.getRoomType() == Room.ROOM_TYPE_FULL_SUITE) {\r\n str = \"Full Suite\";\r\n }\r\n return str;\r\n }", "public String toSL() {\n String results = new String(\"\");\n String attribute;\n ValueFunction value;\n for(Enumeration enum = this.keys(); enum.hasMoreElements(); ) {\n attribute = (String) enum.nextElement();\n value = (ValueFunction) this.get(attribute);\n\n results += \":\" + attribute + \" \" + value + \" \";\n }\n return results.trim() ;\n }", "protected String formatValue (Object value)\n {\n return String.valueOf(value);\n }", "public String transformValueToOHCommand() {\n//\t\tSystem.out.println(\"COMMAND: \" + propType.transformPropValueToOHCommand(value.toString()));\n\t\treturn propType.transformPropValueToOHCommand(value.toString());\n\t}", "public static String toUI(int value) {\n return toUI(value, SCALE);\n }", "public String NumberToString(int number){return \"\"+number;}", "public final String getPrimitiveStringValue() {\r\n return (String) (value = value.toString());\r\n }", "@Test\n public void testFlavourToString() {\n for (PdfaFlavour flavour : PdfaFlavour.values()) {\n System.out.println(flavour.toString());\n }\n }", "public String toString() {\r\n\t\tString result = \" \" + StunConstants.getAttributeName(type) \r\n\t\t\t+ \"=[\" + Conversion.hexString(type)\r\n\t\t\t+ \"] valueLen=[\" + length \r\n\t\t\t+ \"] value=[\" + Conversion.hexString(value) + \"] padding=[\" + padding + \"]\";\r\n\t\treturn result;\r\n\t}", "public String toPrimitive(String fieldType) {\n String res = \"\";\n if (fieldType.equals(\"Integer\")) { res = \"int\"; }\n else if (fieldType.equals(\"Short\")) { res = \"short\"; }\n else if (fieldType.equals(\"Long\")) { res = \"long\"; }\n else if (fieldType.equals(\"Byte\")) { res = \"byte\"; }\n else if (fieldType.equals(\"Character\")) { res = \"char\"; }\n else if (fieldType.equals(\"Float\")) { res = \"float\"; }\n else if (fieldType.equals(\"Double\")) { res = \"double\"; }\n else if (fieldType.equals(\"Boolean\")) { res = \"boolean\"; }\n else { return fieldType; }\n return res;\n }", "String toStr(Object o);", "@Override\n\tpublic String toString() {\n\t\treturn Integer.toString(a);\n\t}", "public List<String> emitGenotype() {\n\t\tList<String> genotype = new ArrayList<String>();\n\t\tfor (int i = 0; i < 2; i++) {\n\t\t\tdouble random = Math.random();\n\t\t\tif (random < 0.0005) {\n\t\t\t\tgenotype.add(\"1\");\n\t\t\t} else {\n\t\t\t\tgenotype.add(\"0\");\n\t\t\t}\n\t\t}\n\t\treturn(genotype);\n\t}", "public String toString() {\n return type;\n }", "private static String getMessageTypeAsString(int messageType)\n\t{\n\t\tswitch (messageType)\n\t\t{\n\t\tcase WARNING_MESSAGE:\n\t\t\treturn \"Warning\";\n\n\t\tcase ERROR_MESSAGE:\n\t\t\treturn \"Error\";\n\n\t\tdefault:\n\t\t\treturn \"\";\n\t\t}\n\t}", "public String toString() { return stringify(this, true); }", "public String toString()\r\n\t\t{\r\n\t\t\tString str = \" \" ;\r\n\t\t\tif (this.num.size() == 0)\r\n\t\t\t\tstr = \"<vacia>\";\r\n\t\t\telse \r\n\t\t\t{\r\n\t\t\t\tfor (int i = 0; i < this.num.size(); i++) \r\n\t\t\t\t\tstr = str + this.num.get(i) + \" \";\r\n\t\t\t}\r\n\t\t\treturn str;\r\n\t\t}", "public String toString() {\r\n return \"Type: Integer\";\r\n }", "public static String A(BaseObject obj)\n\t{\t\t\n\t\tString aStr = Format.a(obj);\n\t\treturn aStr.substring(0, 1).toUpperCase();\n\t}", "public String toString(){\n StringBuilder sb = new StringBuilder();\n\n for(Encomenda u : this.encomendas.values())\n sb.append(u.toString()).append(\"\\n\");\n\n return sb.toString();\n }", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();" ]
[ "0.57119644", "0.57107437", "0.56934494", "0.5532337", "0.5517992", "0.5414938", "0.5360882", "0.53561074", "0.53369564", "0.5267392", "0.5236", "0.5212947", "0.5142771", "0.51042503", "0.5090145", "0.4993574", "0.49813452", "0.49738815", "0.4966119", "0.49501806", "0.49430025", "0.4935428", "0.49200487", "0.49058867", "0.49006656", "0.48882297", "0.48826882", "0.48681605", "0.4858763", "0.48549545", "0.4847327", "0.4838281", "0.48333055", "0.48262393", "0.48149663", "0.4812399", "0.48102367", "0.47971433", "0.47969666", "0.47682577", "0.4766506", "0.47551537", "0.47521865", "0.4749428", "0.47420114", "0.47373405", "0.47237158", "0.47123408", "0.47061443", "0.46827883", "0.46627048", "0.46491414", "0.4647502", "0.4644598", "0.4641796", "0.4633954", "0.46251708", "0.46244767", "0.4602817", "0.4577573", "0.45663375", "0.45649618", "0.4558415", "0.4557986", "0.45552096", "0.45465893", "0.45402896", "0.45361143", "0.45356175", "0.4530698", "0.4506714", "0.4505708", "0.45032573", "0.44983175", "0.4490407", "0.4490291", "0.44901952", "0.44875562", "0.44850364", "0.44789773", "0.44776833", "0.4476867", "0.44719794", "0.44719288", "0.44716153", "0.44597766", "0.44562766", "0.44512913", "0.44493118", "0.44394255", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546", "0.44389546" ]
0.7285785
0
Adds a new anonymous link entry to the database.
public static String addAnonymousLink( final String primitiveType, final int primitiveId, final PrimitivesToAnonymize primitivesToAnonymize ) throws SQLException { final String methodName = "addAnonymousLink"; log.entry(methodName); final String universallyUniqueId = UUID.randomUUID().toString(); log.debug("Adding anonymous link for " + primitiveType + " with id=" + primitiveId); Connection con = null; CallableStatement procedure = null; try { // Setup the AddAnonymousLink procedure. con = Common.getConnection(); Common.beginTransaction(con); procedure = con.prepareCall("{CALL AddAnonymousLink(?, ?, ?, ?)}"); // Set the parameters procedure.setString(1, universallyUniqueId); procedure.setString(2, primitiveType); procedure.setInt(3, primitiveId); procedure.setString(4, getPrimitivesToAnonymizeName(primitivesToAnonymize)); // Do update and commit the changes. procedure.executeUpdate(); Common.endTransaction(con); return universallyUniqueId; } catch (SQLException e) { log.error(methodName, "Threw an exception while adding anonymous link for " + primitiveType + " with id=" + primitiveId + "\nError message: " + e.getMessage()); Common.doRollback(con); throw e; } finally { Common.safeClose(con); Common.safeClose(procedure); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Link add(Link link);", "public void testLinkPersists() {\n\t\tJabberMessage msg = new JabberMessage();\n\t\tmsg.setMessage(\"Hello There! http://google.com/fwd.txt This is a test\");\n\t\tmsg.setId(1);\n\t\tmsg.setUsername(\"Test\");\n\t\tmsg.setTimestamp(\"NOW!\");\n\t\tLink link;\n\t\ttry {\n\t\t\tlh.putLink(msg);\n\t\t\tlink = dao.getLink(\"http://google.com/fwd.txt\");\n\t\t\tassert(link.getCount() == 1);\n\t\t\tif (link.getCount() != 1) {\n\t\t\t\tfail(\"Link count meant to be 1 but is:\" + link.getCount());\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tfail();\n\t\t}\n\t\tfail(\"I'm bad at logic\");\n\t}", "public void addlink(TparselinksEntity newlink);", "boolean insertLink(Link link);", "@Override\n\tpublic int addLink(Link link) {\n\t\treturn 0;\n\t}", "public void AddLink() {\n snake.add(tail + 1, new Pair(snake.get(tail).GetFirst(), snake.get(tail).GetSecond())); //Set the new link to the current tail link\n tail++;\n new_link = true;\n }", "@Override\r\n public void onInserted(ParserItemLink link) {\r\n tableAdd(link);\r\n selectedLink = link;\r\n tableSelect(link);\r\n }", "public void onClickAddLink(View v) {\n linkDefined = true;\n switch ((int) linkType.getSelectedItemId()) {\n case 0:\n linkTypeValue = \"link\";\n break;\n case 1:\n linkTypeValue = \"media\";\n break;\n default:\n break;\n }\n linkStringList += links.getText() + \"|\" + linkTypeValue + \";\";\n links.setText(\"\");\n }", "SimpleLink createSimpleLink();", "void addLink(BlockChainLink link);", "Link createLink();", "void addNewEntry(BlogEntry entry) throws DAOException;", "void addNode(CommunicationLink communicationLink)\n {\n int nodeId = communicationLink.getInfo().hashCode();\n assert !nodeIds.contains(nodeId);\n nodeIds.add(nodeId);\n allNodes.put(nodeId, communicationLink);\n }", "public void AddIncomingLink(Link l) {\r\n\t\tif (l == null) {\r\n\t\t\tSystem.out.println(\"ERROR! Attempted to link a non-existant node!\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tincoming.addElement(l);\r\n\t\tSystem.out.println(\"Added incoming link to Node \" + id);\r\n\t}", "public void onClick(View v) {\n\t\tString name = nameField.getText().toString();\n\t\tString email = emailField.getText().toString();\n\t\tSQLiteHelper sqh = new SQLiteHelper(this);\n\t\tsqh.addFriend(name, email);\n\t\tnew AddMeToHisPF().execute(email);\n\t\tfinish();\n\t}", "void add(Member node, long now);", "public void linkAccount() {}", "public void addLink(AtomLink link) {\n if(!links.contains(link)) {\n \tthis.links.add(link);\n }\n }", "public org.w3.x2005.sparqlResults.LinkDocument.Link addNewLink()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.w3.x2005.sparqlResults.LinkDocument.Link target = null;\n target = (org.w3.x2005.sparqlResults.LinkDocument.Link)get_store().add_element_user(LINK$0);\n return target;\n }\n }", "public void addLink(String spid, Link link) throws EVDBRuntimeException, EVDBAPIException {\n\t\t\n\t\tsuper.addLink(PERFORMERS_LINKS_NEW, spid, link);\n\t}", "public void addAccess(String accessId);", "public IHyperLink attachLink()\n throws OculusException;", "protected void mutateAddLink() {\n\t\t// Make sure network is not fully connected\n\n\t\t// Sum number of connections\n\t\tint totalconnections = numGenes();\n\n\t\t// Find number of each type of node\n\t\tint in = population.numInputs;\n\t\tint out = population.numOutputs;\n\t\tint hid = numNodes() - (in + out);\n\n\t\t// Find the number of possible connections.\n\t\t// Links cannot end with an input\n\t\tint fullyconnected = 0;\n\t\tfullyconnected = (in + out + hid) * (out + hid);\n\n\t\tif (totalconnections == fullyconnected)\n\t\t\treturn;\n\n\t\t// Pick 2 nodes for a new connection and submit it\n\t\tNNode randomstart;\n\t\tNNode randomend;\n\t\tdo {\n\t\t\trandomstart = getRandomNode();\n\t\t\trandomend = getRandomNode();\n\t\t} while (randomend.type == NNode.INPUT\n\t\t\t\t|| hasConnection(randomstart.ID, randomend.ID));\n\n\t\tint newgeneinno = population\n\t\t\t\t.getInnovation(randomstart.ID, randomend.ID);\n\t\tGene newgene = new Gene(newgeneinno, randomstart.ID, randomend.ID,\n\t\t\t\tBraincraft.randomWeight(), true);\n\t\tpopulation.registerGene(newgene);\n\t\tsubmitNewGene(newgene);\n\n\t\tif (Braincraft.gatherStats)\n\t\t\tBraincraft.genetics.add(\"link creation mutation \" + ID + \" \"\n\t\t\t\t\t+ newgene.innovation + \" \" + randomstart.ID + \" \"\n\t\t\t\t\t+ randomend.ID);\n\t}", "LinkedEntries.LinkNode add(NodeEntry cne, int index) {\n LinkedEntries.LinkNode ln = new LinkedEntries.LinkNode(cne, index);\n addNode(ln, getHeader());\n return ln;\n }", "public void setLinkName(String linkName);", "public LinkRecord (String key, String info, LinkRecord next)\n {\n this.key = key;\n this.info = info;\n this.next = next;\n }", "@PostMapping(\"/add\")\n public Result addUrl(@RequestBody CreateLinkRequest request){\n return this.urlMapService.addUrlIntoUser(request.getUserId(), request.getToLink());\n }", "void addLink(byte start, byte end);", "public void addLink(E data){\n\t\t\n\t\tNode temp = new Node(data);\n\t\tNode current = head;\t\t//starting at head node and moving to end of list\t\t\t\t\n\t\t\n\t\twhile(current.getNext() != null){\n\t\t\tcurrent = current.getNext();\n\t\t}\n\t\t\n\t\tcurrent.setNext(temp);\n\t\tsize++; \t\t\t\t\t// increment the number of element\n\t}", "@Override\n public void onAdded() {\n /**\n * EventsBus: Fetching data.\n */\n EventBus.getDefault().post(new Authenticating());\n }", "public boolean addLink(LinkData link) {\n log.debug(\"Adding link {}\", link);\n\n KVLink rcLink = new KVLink(link.getSrc().getDpid(),\n link.getSrc().getPortNumber(),\n link.getDst().getDpid(),\n link.getDst().getPortNumber());\n\n // XXX This method is called only by discovery,\n // which means what we are trying to write currently is the truth\n // so we can force write here\n //\n // TODO: We need to check for errors\n rcLink.setStatus(KVLink.STATUS.ACTIVE);\n rcLink.forceCreate();\n\n return true; // Success\n }", "public static void addUserOnline(String name)\n {\n onList.add(name);\n }", "void addHadithUrl(Object newHadithUrl);", "void addLink(URI link) {\n if (link == null) {\n throw new IllegalArgumentException(\"Missing Link\");\n }\n List<URI> copy = new ArrayList<>(links.size() + 1);\n copy.addAll(links);\n copy.add(link);\n links = Collections.unmodifiableList(copy);\n }", "@Override\n\t@Transactional\n\tpublic String createLinks(int page, int limit) {\n\t\treturn agamaDAO.createLinks(page, limit);\n\t}", "@Override\r\n\tpublic void add() {\n\t\tif(alreadyAdded()) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Member is already added\");\r\n\t\t}else {\r\n\t\t\t\r\n\t\t\t\ttry(Connection connection= db.getConnection();) {\r\n\t \t\r\n\t\t\t\t\r\n\t\t\t\tString addString=\"INSERT INTO members VALUES(?,?,?,?)\";\r\n\t\t\t\tpreparedStatement=connection.prepareStatement(addString);\r\n\t\t\t\tpreparedStatement.setString(1, super.getIdString());\r\n\t\t\t\tpreparedStatement.setString(2, super.getNameString());\r\n\t\t\t\tpreparedStatement.setString(3, super.getSurnameString());\r\n\t\t\t\tpreparedStatement.setString(4, super.getEmailString());\r\n\t\t\t\t\r\n\t\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t}", "void storeLinks();", "public void AddOutgoingLink(Link l) {\r\n\t\tif (l == null) {\r\n\t\t\tSystem.out.println(\"ERROR! Attempted to link a non-existant node!\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\toutgoing.addElement(l);\r\n\t\tSystem.out.println(\"Added outgoing link to Node \" + id);\r\n\t}", "@Test\n\tpublic void testAddLinkOkMult1to1() {\n\n\t\t// set up\n\t\tPerson martin = new Person(\"\\\"Bl�mel\\\" \\\"Martin\\\" \\\"19641014\\\"\");\n\t\tTestUser umartin = new TestUser(\"martin\");\n\t\tAssert.assertNull(martin.getUser());\n\t\tAssert.assertNull(umartin.getPerson());\n\n\t\t// test\n\t\t((PropertyCollection) umartin.getProperty(\"person\")).addLink(martin);\n\t\tAssert.assertSame(martin, umartin.getPerson());\n\t\tAssert.assertSame(umartin, martin.getUser());\n\t}", "LINK createLINK();", "void register(String linkName, Link link) throws CCAException;", "@Override\n public void addConnection(Link link)\n {\n connections.add(link);\n if (executableProcess != null)\n addConnectionToExec(link);\n }", "@Test(groups=\"authentication\")\n public void anonymousPost() throws Exception {\n String json =\n given().\n headers(\"X-OpenIDM-Username\", \"anonymous\",\"X-OpenIDM-Password\", \"anonymous\",\"Content-Type\", \"application/json\").\n request().\n body(\"{\\\"userName\\\":\\\"djoe\\\", \\\"givenName\\\":\\\"Joe\\\",\\\"familyName\\\":\\\"Doe\\\", \\\"email\\\":\\\"[email protected]\\\",\\\"password\\\":\\\"ldap12345\\\"}\").\n expect().\n statusCode(201).\n when().\n post(\"/openidm/managed/user?_action=create\").asString();\n JsonPath jp = new JsonPath(json);\n String userID = jp.get(\"_id\");\n if(userID == null) {\n throw new IllegalArgumentException(\"Test Failed(AnonyPost): No result was returned\");\n }\n // we clean the repo after the test\n given().\n headers(\"X-OpenIDM-Username\", \"openidm-admin\", \"X-OpenIDM-Password\", \"openidm-admin\", \"If-Match\", \"*\").\n pathParam(\"id\", userID).\n expect().\n statusCode(204).\n when().\n delete(\"/openidm/managed/user/{id}\");\n }", "public LinkRecord (String key, String info)\n {\n this.key = key;\n this.info = info;\n next = null;\n }", "@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}", "public static void addNewToDataBase(String name, String bio) {\n FirebaseAuth mAuth = FirebaseAuth.getInstance();\n String uid = mAuth.getUid();\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference();\n\n // Initialize the new user with a fridge, a list of friends, a list of allergies, and preferred units\n ref.child(\"users\").child(uid).child(\"fridge\").setValue(\"null\");\n ref.child(\"users\").child(uid).child(\"followers\").child(uid).setValue(uid);\n ref.child(\"users\").child(uid).child(\"following\").setValue(\"null\");\n ref.child(\"users\").child(uid).child(\"allergies\").setValue(\"null\");\n ref.child(\"users\").child(uid).child(\"units\").setValue(\"imperial\");\n ref.child(\"users\").child(uid).child(\"feed\").setValue(\"null\");\n ref.child(\"users\").child(uid).child(\"name\").setValue(name);\n ref.child(\"displayNames\").child(name).setValue(name);\n ref.child(\"users\").child(uid).child(\"bio\").setValue(bio);\n ref.child(\"users\").child(uid).child(\"posts\").setValue(\"null\");\n }", "public void newUserAdded(String ID)\n {\n try\n {\n this.writeData(Message.getNewUserNotifyMessage(ID));\n }catch(Exception ex){ex.printStackTrace();}\n }", "@Override\n public void insertEntry(Entry entry) {\n members.add(entry);\n\n }", "protected void addMember() {\n\t\tString mPhoneNumber = phoneEditView.getText().toString();\n\t\t\n\t\tApiProxy apiProxy = new ApiProxy(this);\n\t\tapiProxy.addMember(mPhoneNumber);\n\t\t\n\t\tgoToFriendListPage();\n\t}", "public void newUserAdded(String userID);", "@Override\n public void createObject (Link l,\n Connection conn)\n throws GeneralException\n {\n\n List params = new ArrayList ();\n params.add (l.getKey ());\n params.add (l.getObject1 ().getKey ());\n params.add (l.getObject1 ().getObjectType ());\n params.add (l.getObject2 ().getKey ());\n params.add (l.getObject2 ().getObjectType ());\n\n this.objectManager.executeStatement (\"INSERT INTO link (dbkey, object1dbkey, object1objtype, object2dbkey, object2objtype) VALUES (?, ?, ?, ?, ?)\",\n params,\n conn);\n\n }", "@Override\n\tpublic void add() {\n\t\tperson.addRelationship(\"Friend\", friend);\n\t}", "public String add() {\r\n\t\tuserAdd = new User();\r\n\t\treturn \"add\";\r\n\t}", "protected void NewIdentity()\n\t{\n\t\tthis.identity=0L;\n\t\tNodeReference nodeRef = getNodeReference();\n\t\tnodeRef.appendSubscript(0L);\n\t\tnodeRef.appendSubscript(\"id\");\n\t\tthis.identity=nodeRef.increment(1);\n\t}", "LinkRelation createLinkRelation();", "public void addNode() {\r\n \r\n Nod nod = new Nod(capacitate_noduri);\r\n numar_noduri++;\r\n noduri.add(nod);\r\n }", "public void addNewUser(String email) {\n String userName = email.split(\"@\")[0];\n mUsersRef.child(userName).setValue(userName);\n userRef = db.getReference(\"users/\" + getUsername());\n userRef.child(\"email\").setValue(email);\n userSigns = new HashMap<String, UserSign>();\n }", "private void link(DefaultDirectedGraph<FStream, IndexedEdge<FStream>> G, FStream node, FStream n) {\n\t\tif (!G.containsVertex(n)) {\n\t\t\tG.addVertex(n);\n\t\t}\n\t\t\n\t\tindex_counter += 1;\n\t\tIndexedEdge<FStream> e = new IndexedEdge<FStream>(node, n, index_counter);\n\t\tG.addEdge(node, n, e);\n\t}", "void memberAdded(final String id);", "public void setLink(String link) {\r\n this.link = link;\r\n }", "boolean save(Link link);", "public void addNewEventToWall(String event, String userUuid);", "public void addFriend(String friendName, String user, boolean online){\n try {\n statement = connection.createStatement();\n //add the friend in the database table of the user\n if (online){\n statement.executeUpdate(\"INSERT INTO \" + user + \"(friend,online) VALUES('\" + friendName +\n \"','online')\");\n }\n else {\n statement.executeUpdate(\"INSERT INTO \" + user + \"(friend,online) VALUES('\" + friendName +\n \"','offline')\");\n }\n\n statement.close();\n }catch (SQLException ex){ex.printStackTrace();}\n }", "public void setLink(String link)\n {\n this.link = link;\n }", "private void addNote(){\n DatabaseReference noteRef = mDB.getReference(\"Notes\");\n\n Long time = System.currentTimeMillis();\n\n Bundle bundleNote = new Bundle();\n bundleNote.putString(\"notesDetail\", notes.getText().toString());\n bundleNote.putString(\"notesTime\", time.toString());\n\n Note note = new Note(bundleNote);\n String currNoteKey;\n currNoteKey = noteRef.push().getKey();\n noteRef.child(LoginActivity.currUserID).child(currNoteKey).setValue(note);\n\n }", "void onLinkClicked(@Nullable ContentId itemId);", "public void add(String nickname, String username, String hostname) {\r\n this.UserList.add(new User(nickname, username, hostname));\r\n }", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tnewNote();//新建一条记录\n\t\t\t}", "private void addMember(String firstName, String lastName, String emailId) {\n Log.e(\"AddMember\", \"Fn \" + firstName + \", Ln \" + lastName + \"eid \" + emailId);\n\n\n// myRef.setValue(\"Hello, World!\");\n String key = myRef.push().getKey();\n Log.e(\"AddMember\", \"key \" + key);\n\n CoreMember member = new CoreMember(firstName, lastName, emailId);\n myRef.child(key).setValue(member, new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if (databaseError != null) {\n System.out.println(\"Data could not be saved \" + databaseError.getMessage());\n } else {\n System.out.println(\"Data saved successfully.\" + databaseReference.toString());\n memberKey = databaseReference.getKey();\n hideInputForm(true);\n\n }\n }\n });\n }", "public void setLink(String link) {\r\n this.link = link;\r\n }", "public void addRegistrationLink(final RegistrationLink registrationLink) {\n LOG.info(\"Adding registration link {}\", registrationLink);\n try {\n registrationLinkRepo.add(registrationLink);\n LOG.info(\"Registration link {} added successfully\", registrationLink);\n } catch (RepoException e) {\n LOG.warn(\"Unable to add registration link {}: {}\", registrationLink, e.getMessage());\n throw new ServiceException(\"Unable to save registration link.\");\n }\n }", "public void setLink(String link) {\n this.link = link;\n }", "public void setLink(String link) {\n this.link = link;\n }", "public void setLink(String link) {\n this.link = link;\n }", "private void addArbitraryDataToDatabase() {\n\n try (Transaction tx = graphDatabaseService.beginTx()) {\n Node arbitraryNode = graphDatabaseService.createNode(DynamicLabel.label(\"NotAClass\"));\n arbitraryNode.setProperty(\"name\", \"Colin\");\n Node otherNode = graphDatabaseService.createNode(DynamicLabel.label(\"NotAClass\"));\n otherNode.setProperty(\"age\", 39);\n arbitraryNode.createRelationshipTo(otherNode, DynamicRelationshipType.withName(\"TEST\"));\n\n tx.success();\n }\n }", "public void setLink(java.lang.String link)\n {\n this.link = link;\n }", "@Override\n public void onClick(View v) {\n\n String firstName = firstName_et.getText().toString();\n String lastName = lastName_et.getText().toString();\n String emailId = email_et.getText().toString();\n\n addMember(firstName, lastName, emailId);\n\n }", "public interface IdentityLinkEventHandler {\n\n /**\n * Handle an event of the {@link IdentityLink} addition\n *\n * @param identityLink identityLink which was recently added\n */\n void handleIdentityLinkAddition(IdentityLink identityLink);\n\n /**\n * Handle an event of {@link IdentityLink} deletion\n *\n * @param identityLink identityLink which is going to be deleted\n */\n void handleIdentityLinkDeletion(IdentityLink identityLink);\n}", "public void addNewFriend(View v) {\n final EditText editText = (EditText) findViewById(R.id.editText);\n String friendUsername = editText.getText().toString();\n //System.out.println(\"Add friend: \" + friendUsername);\n UserProfileManager.getInstance().addFriend(friendUsername);\n }", "public void link(Post p) {\n _next = p;\n }", "private void actionAdd() {\n\t\tURL verifiedUrl = verifyUrl(addTextField.getText());\n\t\tif (verifiedUrl != null) {\n\t\t\ttableModel.addDownload(new Download(verifiedUrl));\n\t\t\taddTextField.setText(\"\"); // reset add text field\n\t\t} else {\n\t\t\ttf.dispose();\n\t\t\tJOptionPane.showMessageDialog(this,\n\t\t\t\"Invalid Download URL\", \"Error\",\n\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\t}\n\t}", "void addUser(BlogUser user) throws DAOException;", "public Link() {\n }", "private void createUser(String Address, String Phone_number,String needy) {\n // TODO\n // In real apps this userId should be fetched\n // by implementing firebase auth\n if (TextUtils.isEmpty(userId)) {\n userId = mFirebaseDatabase.push().getKey();\n }\n\n com.glitch.annapurna.needy user = new needy(Address,Phone_number,needy);\n\n mFirebaseDatabase.child(userId).setValue(user);\n\n addUserChangeListener();\n }", "public AssassinNode(String name, AssassinNode next)\r\n {\r\n this.name = name;\r\n this.killer = null;\r\n this.next = next;\r\n }", "public void addPartnerLinkUser(IAePartnerLinkOperationUser aPartnerLinkUser) {\r\n mUsers.add(aPartnerLinkUser);\r\n }", "public void add(Node<T> n){\n\t\tconnect.add(n);\n\t}", "public GridUser(String name, Link link) throws Exception\n {\n super(name, link);\n gisID_ = -1;\n gisName_ = null;\n }", "private Link() {\n }", "private void addAlias(Entity e, String alias){\n\t\tif(e != null){\n\t\t\tif(!this.wikiLookup.containsKey(alias))\n\t\t\t\tthis.wikiLookup.put(alias, new HashSet<Entity>());\n\t\t\tthis.wikiLookup.get(alias).add(e);\n\t\t}\n\t}", "public AssassinNode(String name, AssassinNode next) {\n this.name = name;\n this.killer = null;\n this.next = next;\n }", "public void addInlink(String url) {\r\n\t\tif (!inlinks.contains(url)) {\r\n\t\t\tinlinks.add(url);\r\n\t\t}\r\n\t}", "public LinkImpl(String href) {\n this.href = href;\n }", "public boolean addAll(Link<T> link);", "@Override\r\n\tpublic void setAddNewObjectIdentifier(String arg0, Long arg1)\r\n\t{\n\r\n\t}", "public void setLinkid(Integer linkid) {\n this.linkid = linkid;\n }", "public void addEdge(String inLabel, double inDistance, String inMode,\n int inTime, int inPeakTime, DSAGraphNode<E> inNode)\n {\n links.insertLast(inNode);\n DSAGraphEdge<E> edge = new DSAGraphEdge<E>(inLabel, inDistance, inMode,\n inTime, inPeakTime, this,\n inNode);\n edgeList.insertLast(edge);\n }", "private void addToRealDB(String GoogleId){\n this.newUser.setGOOGLE_ID(GoogleId);\n dbRootRef.child(USERS).child(this.newUser.getGOOGLE_ID()).setValue(this.newUser);\n dbRootRef.child(USERS_NOTES).child(this.newUser.getGOOGLE_ID()).child(\"numOfNotesInAllTime\").setValue(\"0\");\n }", "void onUserAdded();", "int insert(LikedKey record);" ]
[ "0.58358306", "0.5676557", "0.55171776", "0.55018836", "0.5457281", "0.5391272", "0.5317161", "0.5234913", "0.52048224", "0.5169048", "0.5140277", "0.5131021", "0.5069013", "0.5002221", "0.49630517", "0.49556768", "0.4935919", "0.49020213", "0.4897081", "0.4895171", "0.48888126", "0.4874586", "0.4849866", "0.4834379", "0.48338994", "0.4820237", "0.4790246", "0.4790126", "0.47891945", "0.4787724", "0.47791702", "0.4764172", "0.47638905", "0.47559413", "0.4755076", "0.47491914", "0.47436517", "0.4741509", "0.47315565", "0.47297162", "0.47284734", "0.4721915", "0.4719424", "0.47005334", "0.46978408", "0.468039", "0.46746898", "0.4671219", "0.4669687", "0.46602792", "0.4658074", "0.46542916", "0.4652272", "0.46506336", "0.46419334", "0.46412343", "0.46315405", "0.46306014", "0.46303487", "0.46168056", "0.4614642", "0.460572", "0.4604433", "0.45942762", "0.45872787", "0.45864135", "0.45823827", "0.4582114", "0.4579913", "0.45770273", "0.4564634", "0.45626122", "0.45626122", "0.45626122", "0.45502007", "0.45500615", "0.4544583", "0.4540206", "0.45384258", "0.4537753", "0.45262876", "0.45240507", "0.45222092", "0.45017004", "0.45010653", "0.44975048", "0.44967523", "0.4492761", "0.44902897", "0.44783318", "0.44779846", "0.44705856", "0.44689348", "0.4466913", "0.44651043", "0.4464911", "0.4463854", "0.4462108", "0.44615236", "0.44524196" ]
0.5405206
5
Get the unique code that links to a given primitive from the database.
public static Optional<String> getAnonymousLinkCode( final String primitiveType, final int primitiveId, final PrimitivesToAnonymize primitivesToAnonymize ) throws SQLException { final String methodName = "getAnonymousLinkCode"; log.entry(methodName); Connection con = null; CallableStatement procedure = null; ResultSet results = null; try { con = Common.getConnection(); Common.beginTransaction(con); // Setup the GetAnonymousLink procedure. procedure = con.prepareCall("{CALL GetAnonymousLink(?, ?, ?)}"); procedure.setString(1, primitiveType); procedure.setInt(2, primitiveId); procedure.setString(3, getPrimitivesToAnonymizeName(primitivesToAnonymize)); results = procedure.executeQuery(); Common.endTransaction(con); // If the code is in the database return it otherwise return an empty Optional. if (results.next()) { return Optional.of(results.getString("unique_id")); } else { return Optional.empty(); } } catch (SQLException e) { log.error("Caught an exception while trying to get an anonymous link from database.", e); Common.doRollback(con); throw e; } finally { Common.safeClose(con); Common.safeClose(procedure); Common.safeClose(results); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getCodeId();", "long getCodeId();", "long getCodeId();", "private static Optional<Integer> getIdOfPrimitiveAssociatedWithLink(\n\t\t\tfinal String universallyUniqueId, final String primitiveType\n\t) throws SQLException {\n\n\t\tfinal String methodName = \"getIdOfPrimitiveAssociatedWithCode\";\n\t\tlog.entry(methodName);\n\n\t\t// UUIDs have a max size of 36.\n\t\tif (universallyUniqueId.length() > MAX_UUID_LENGTH) {\n\t\t\treturn Optional.empty();\n\t\t}\n\n\t\tConnection con = null;\n\t\tCallableStatement procedure = null;\n\t\tResultSet results = null;\n\n\t\ttry {\n\t\t\tcon = Common.getConnection();\n\t\t\tCommon.beginTransaction(con);\n\n\t\t\t// Setup the GetAnonymousLink procedure.\n\t\t\tprocedure = con.prepareCall(\"{CALL GetIdOfPrimitiveAssociatedWithLink(?, ?)}\");\n\t\t\tprocedure.setString(1, universallyUniqueId);\n\t\t\tprocedure.setString(2, primitiveType);\n\n\t\t\tresults = procedure.executeQuery();\n\t\t\tCommon.endTransaction(con);\n\t\t\t// If the code is in the database return it otherwise return an empty Optional.\n\t\t\tif (results.next()) {\n\t\t\t\treturn Optional.of(results.getInt(\"primitive_id\"));\n\t\t\t} else {\n\t\t\t\treturn Optional.empty();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tlog.error(methodName, e.toString());\n\t\t\tCommon.doRollback(con);\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tCommon.safeClose(con);\n\t\t\tCommon.safeClose(procedure);\n\t\t\tCommon.safeClose(results);\n\t\t}\n\t}", "Integer getCode();", "public native String getIdentifier();", "public String code() {\n\t\treturn (\"ID\"+this.hashCode()).replace(\"-\", \"M\");\n\t}", "String getIdNumber();", "String mo10312id();", "public int identifier();", "Short getId();", "Object getRefid();", "public int getIdentifier();", "String getModeledPrimitiveType(Object elementID) throws Exception;", "public int getCode();", "public long getPrimitiveId() {\r\n return id;\r\n }", "int getIdentifier();", "public abstract long mo20901UQ();", "public abstract Integer getCompteId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "public Long getCode() {\n return code;\n }", "public Long getCode() {\n return code;\n }", "public byte getCode();", "int getObjId();", "int getObjId();", "int getObjId();", "int getObjId();", "int getObjId();", "int getObjId();", "Identifier getId();", "java.lang.String getCode();", "java.lang.String getCode();", "Object getId();", "Integer getId();", "Integer getId();", "Integer getId();", "public String getCode();", "public String getCode();", "String getValueId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();" ]
[ "0.66872686", "0.66872686", "0.66872686", "0.6629433", "0.6361331", "0.6236036", "0.62331784", "0.61724013", "0.61425877", "0.60976917", "0.60964257", "0.6029987", "0.59198594", "0.5880514", "0.5850665", "0.5762611", "0.57593185", "0.5747331", "0.5741322", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5733446", "0.5705868", "0.5705868", "0.5700614", "0.5697965", "0.5697965", "0.5697965", "0.5697965", "0.5697965", "0.5697965", "0.5684089", "0.5679214", "0.5679214", "0.5676974", "0.56618476", "0.56618476", "0.56618476", "0.56276286", "0.56276286", "0.5623066", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676", "0.56094676" ]
0.5635525
78
Gets the id of the job associated with a given UUID
public static Optional<Integer> getIdOfJobAssociatedWithLink(final String universallyUniqueId) throws SQLException { return getIdOfPrimitiveAssociatedWithLink(universallyUniqueId, R.JOB); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UUID getId();", "public UUID getID() {\r\n if(!getPayload().has(\"id\")) return null;\r\n return UUID.fromString(getPayload().getString(\"id\"));\r\n }", "UUID id();", "UUID getUniqueId();", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "java.lang.String getJobId();", "public JobID getJobID() {\n \n \t\treturn this.environment.getJobID();\n \t}", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "@DISPID(1)\r\n\t// = 0x1. The runtime will prefer the VTID if present\r\n\t@VTID(7)\r\n\tint jobID();", "public String getJobId();", "long getJobIDTarget();", "public abstract UUID getId();", "public java.lang.String getJobId() {\n java.lang.Object ref = jobId_;\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 jobId_ = s;\n }\n return s;\n }\n }", "public UUID getIdentifier() {\n\t\treturn this.id;\n\t}", "@Override\n\tpublic long getJobId() {\n\t\treturn model.getJobId();\n\t}", "public UUID getComponentId();", "public static String getIDFromW3CEndPointReference(\n W3CEndpointReference endpointReference) {\n if (endpointReference == null) {\n return null;\n }\n\n int j0 = endpointReference.toString().indexOf(\"<job \") + 5;\n j0 = endpointReference.toString().indexOf(\">\", j0) + 1;\n\n int j1 = endpointReference.toString().indexOf(\"</job>\");\n return endpointReference.toString().substring(j0, j1);\n }", "java.lang.String getWorkerId();", "public java.lang.String getJobId() {\n java.lang.Object ref = jobId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n jobId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "private synchronized int generateJobID() {\n\t\t/* generate JobID */\n\t\tint jobID = lastJobID;\n\t\tlastJobID += 1;\n\t\treturn jobID;\n\t}", "public JobId job() { return Objects.requireNonNull(job, \"production revisions have no associated job\"); }", "protected abstract String getJobSubmitId();", "public Long getJobID() {\n return jobID;\n }", "public UUID getId() {\n return mId;\n }", "public String getId(){\n\t\treturn uuid;\n\t}", "@NonNull\n public final synchronized String getId() {\n if (id == null) {\n id = UUID.randomUUID().toString();\n }\n return id;\n }", "public UUID getUniqueId ( ) {\n\t\treturn extract ( handle -> handle.getUniqueId ( ) );\n\t}", "public int getJobId() ;", "private T getIdentifier(Runnable runnable) {\n T id = null;\n if (runnable instanceof SerialRunnable) {\n //Grab the identifier\n id = (((SerialRunnable<T>) runnable).getIdentifier());\n }\n return id;\n }", "public static Job fetchByUUID_G(String uuid, long groupId) {\n\t\treturn getPersistence().fetchByUUID_G(uuid, groupId);\n\t}", "String getUniqueId();", "public UUID executionId();", "public String getJobId() {\n return this.jobId;\n }", "public String getJobId() {\n return this.jobId;\n }", "public String getJobId() {\n return this.jobId;\n }", "public static JobID generate() {\n return new JobID();\n }", "Object getId();", "public String getJobId() {\n return jobId;\n }", "UUID getTransmissionId();", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-09-06 12:50:58.282 -0400\", hash_original_method = \"2053F7A68C82ABE32C2AF1BAEC4B5064\", hash_generated_method = \"ADA06475869C2F7BC91A27631CA3BF7E\")\n \npublic PrintJobId getId() {\n return mCachedInfo.getId();\n }", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "public static JobID fromHexString(String hexString) {\n try {\n return new JobID(StringUtils.hexStringToByte(hexString));\n } catch (Exception e) {\n throw new IllegalArgumentException(\"Cannot parse JobID from \\\"\" + hexString + \"\\\".\", e);\n }\n }", "public String getJobId() {\n\t\treturn this.jobId;\n\t}", "public JobEntry getJob(String jobId)\n {\n JobEntry je = null;\n\n try\n {\n je = schedulerService.getJob(Integer.parseInt(jobId));\n }\n catch (TurbineException e)\n {\n log.error(\"Could not retreive job id #{}\", jobId, e);\n }\n\n return je;\n }", "public int getJobId() {\r\n\t\treturn jobId;\r\n\t}", "private static String createNewJobid(V2JobDefinition jobDefinition, NamedJobs namedJobs) throws InvalidNamedJobException {\n final NamedJobs.JobIdForSubmit jobIdForSubmit = namedJobs.getJobIdForSubmit(jobDefinition.getName(), jobDefinition);\n return jobIdForSubmit.getJobId();\n }", "public long getID(String transactionUID){\n long id = -1;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry._ID},\n TransactionEntry.COLUMN_UID + \"='\" + transactionUID + \"'\",\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n id = c.getLong(0);\n }\n c.close();\n }\n return id;\n }", "@Override\n\tpublic UUID getUniqueId() {\n\t\treturn uid;\n\t}", "Optional<Job> findOne(String id);", "public String getJobID() {\n\t\t\treturn JobID;\n\t\t}", "java.lang.String getUUID();", "private String getUniqueId(JCas jCas) {\n return ConsumerUtils.getExternalId(getDocumentAnnotation(jCas), contentHashAsId);\n }", "AsyncJob getPseudoJob(long accountId, long userId);", "public static Job removeByUUID_G(String uuid, long groupId)\n\t\tthrows com.kisti.osp.icebreaker.exception.NoSuchJobException {\n\t\treturn getPersistence().removeByUUID_G(uuid, groupId);\n\t}", "String getExistingId();", "public static Long extractJobID(CDXEntry entry) {\n\t\tif(entry == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString filename = entry.getFilename();\n\t\tif(filename == null || filename.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\tif(!filename.contains(\"-\")) {\n\t\t\tlogger.warn(\"CDXEntry with odd filename: \" + filename);\n\t\t\treturn null;\n\t\t}\n\t\treturn Long.parseLong(filename.split(\"[-]\")[0]);\n\t}", "public long getId() {\n\t\treturn Long.parseLong(_id);\n\t}", "Serializable extractId(Object entity);", "public java.lang.Long getId();", "public String getJob() {\n return job;\n }", "public BigDecimal getJOB_ID() {\r\n return JOB_ID;\r\n }", "UUID getUUID();", "public UUID getID() {\n return ID;\n }", "com.google.protobuf.ByteString\n getJobIdBytes();", "private String getId(final ImmutableMessage immutableMessage) {\n String messageId;\n\n if (isRequestOrReply(immutableMessage.getType())) {\n messageId = getRequestReplyId(immutableMessage);\n } else {\n messageId = immutableMessage.getId();\n }\n\n if (messageId == null) {\n throw new JoynrIllegalStateException(\"The id of message or request is null.\");\n }\n return messageId;\n }", "com.google.protobuf.ByteString getWorkerIdBytes();", "public final String getResourceId(\n ExecutionContext context,\n ExecutionScript script) throws InterruptedException, IOException {\n return resourceId;\n }", "Integer getId();", "Integer getId();", "Integer getId();", "public static String getId(NameSpaceContainer container) {\n EntityId entityId;\n switch (container.getType()) {\n case SOURCE:\n entityId = container.getSource().getId();\n break;\n case SPACE:\n entityId = container.getSpace().getId();\n break;\n case HOME:\n entityId = container.getHome().getId();\n break;\n case FOLDER:\n entityId = container.getFolder().getId();\n break;\n case DATASET:\n entityId = container.getDataset().getId();\n break;\n default:\n throw new RuntimeException(\"Invalid container type\");\n }\n\n return entityId != null ? entityId.getId() : null;\n }", "public java.lang.String getId() {\n java.lang.Object ref = id_;\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 id_ = s;\n }\n return s;\n }\n }", "public java.lang.String getId() {\n java.lang.Object ref = id_;\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 id_ = s;\n }\n return s;\n }\n }", "public java.lang.String getId() {\n java.lang.Object ref = id_;\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 id_ = s;\n return s;\n }\n }", "public String createJobId(String date) {\n\t\t// if not date is specified take todaays date. that is not usable in a\n\t\t// same software.\n\t\t// otherwise database foramt for id would change. its only for using in\n\t\t// some other context.\n\t\tif (date.equals(null) || date.equals(\"\"))\n\t\t\tif (!this.startDate.equals(null))\n\t\t\t\tdate = DateMethods.getDate(\"yyyy-MM-dd\", this.startDate);\n\t\t\telse\n\t\t\t\tdate = DateMethods.getDate(\"-\");\n\t\telse\n\t\t\tdate = DateMethods.getDate(\"yyyy-MM-dd\",\n\t\t\t\t\tDateMethods.parseDate(date, \"MMM dd, yyyy\"));\n\t\t// get jobs to get the last digit\n\t\tLinkedList<Job> jobs = Jobs.getJobs(\"startDate='\" + date + \"'\");\n\t\tint lastId = 0;\n\t\tif (jobs.size() > 0) {\n\t\t\tJob lastJob = jobs.getLast();\n\t\t\tlastId = (Integer.parseInt((lastJob.jobId.substring(7, 9))));\n\t\t\t// making next id\n\t\t\tlastId++;\n\t\t}\n\t\tdate = DateMethods.getDate(\"yyMMdd\",\n\t\t\t\tDateMethods.parseDate(date, \"yyyy-MM-dd\"));\n\t\tString id = date + \"-\" + (lastId < 10 ? \"0\" + lastId : lastId);\n\t\treturn id;\n\t}", "long getJobIDSource();", "public static String getUniqueIdentifier() {\r\n UUID uuid = UUID.randomUUID();\r\n return uuid.toString();\r\n }", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}" ]
[ "0.6485722", "0.6142574", "0.59806377", "0.594854", "0.59311026", "0.59311026", "0.59126395", "0.5906543", "0.5903481", "0.5903481", "0.5903481", "0.5903481", "0.5901625", "0.58936566", "0.58815205", "0.58760434", "0.5873845", "0.58703107", "0.58409387", "0.58289427", "0.5826513", "0.57830983", "0.57795274", "0.57704943", "0.5709719", "0.5693032", "0.5677336", "0.5655358", "0.56405795", "0.56242406", "0.56230074", "0.56051016", "0.5603528", "0.559444", "0.55521786", "0.5496221", "0.548509", "0.548509", "0.548509", "0.5475033", "0.5474733", "0.546674", "0.54409593", "0.54352796", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.54091245", "0.5400403", "0.53910315", "0.53903484", "0.5382933", "0.5381823", "0.5362074", "0.5361086", "0.53515255", "0.53509444", "0.53442013", "0.5335949", "0.53301984", "0.52935404", "0.52932084", "0.52834314", "0.5272902", "0.5271888", "0.52689373", "0.5262979", "0.526215", "0.525723", "0.5242987", "0.5241299", "0.5201899", "0.52005035", "0.51892805", "0.51753306", "0.51753306", "0.51753306", "0.5170399", "0.5168045", "0.5168045", "0.51679814", "0.516716", "0.51580626", "0.514716", "0.5144432" ]
0.6161786
1
Gets the id of the benchmark associated with a given UUID
public static Optional<Integer> getIdOfBenchmarkAssociatedWithLink(final String universallyUniqueId) throws SQLException { return getIdOfPrimitiveAssociatedWithLink(universallyUniqueId, R.BENCHMARK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UUID getId();", "UUID id();", "UUID getUniqueId();", "String getUniqueId();", "java.lang.String getUUID();", "public abstract UUID getId();", "UUID getUUID();", "private static String getUniqueId()\n\t{\n\t\tfinal int limit = 100000000;\n\t\tint current;\n\t\tsynchronized (DiskFileItem.class)\n\t\t{\n\t\t\tcurrent = counter.nextInt();\n\t\t}\n\t\tString id = Integer.toString(current);\n\n\t\t// If you manage to get more than 100 million of ids, you'll\n\t\t// start getting ids longer than 8 characters.\n\t\tif (current < limit)\n\t\t{\n\t\t\tid = (\"00000000\" + id).substring(id.length());\n\t\t}\n\t\treturn id;\n\t}", "UUID getMonarchId();", "public String getId(){\n\t\treturn uuid;\n\t}", "String experimentId();", "public int getThreadPoolNumericId(String threadpoolId);", "public String getThreadPoolStringId(int numericIdForThreadpool);", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID executionId();", "String getUuid();", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "@NonNull\n public final synchronized String getId() {\n if (id == null) {\n id = UUID.randomUUID().toString();\n }\n return id;\n }", "public UUID getUniqueId ( ) {\n\t\treturn extract ( handle -> handle.getUniqueId ( ) );\n\t}", "UUID getTransmissionId();", "String getIdNumber();", "public static String getTestId() {\n\t\t\trandomTestId+=1;\n\t\t\treturn Integer.toString(randomTestId);\n\t\t}", "public static String getUniqueIdentifier() {\r\n UUID uuid = UUID.randomUUID();\r\n return uuid.toString();\r\n }", "io.dstore.values.IntegerValue getUnitId();", "public long threadId();", "String getInstanceID();", "public UUID getComponentId();", "UUID getDeviceId();", "private String generateUniqueIdString() {\r\n return TimeBasedUUID.getUUIDAsString();\r\n }", "public Beer getBeerById(UUID uuid){\n return restTemplate.getForObject(apiHost + BEER_SERVICE_PATH_V1\n + uuid.toString(), Beer.class);\n }", "public static String getUUID() {\n\t\treturn UUID.randomUUID().toString().toUpperCase().replace(\"-\", \"\").substring(0, 5);\n\t}", "public UUID getIdentifier() {\n\t\treturn this.id;\n\t}", "private int IdRandom() {\n\t\tRandom random = new Random();\n\t\tint id = random.nextInt(899999) + 100000;\n\t\treturn id;\n\t}", "public UUID getUuid();", "public static long getID() {\n int localizador = 0;\n Long min = 1000000000L;\n Long max = 9999999999L;\n\n do {\n localizador = (int) Math.floor(Math.random() * (max - min + 1) + min);\n } while (Integer.toString(localizador).length() != 10);\n return localizador;\n }", "public UUID getID() {\r\n if(!getPayload().has(\"id\")) return null;\r\n return UUID.fromString(getPayload().getString(\"id\"));\r\n }", "public java.lang.String getUUID() {\n java.lang.Object ref = uUID_;\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 uUID_ = s;\n }\n return s;\n }\n }", "String getUniqueID();", "UUID primaryFormat();", "private T getIdentifier(Runnable runnable) {\n T id = null;\n if (runnable instanceof SerialRunnable) {\n //Grab the identifier\n id = (((SerialRunnable<T>) runnable).getIdentifier());\n }\n return id;\n }", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "java.lang.String getWorkerId();", "static String generateId() {\r\n\t\treturn UUID.randomUUID().toString().replaceAll(\"-\", \"\");\r\n\t}", "@org.jetbrains.annotations.NotNull\n public static String getUniquePsuedoID() {\n\n String m_szDevIDShort = \"35\" + (Build.BOARD.length() % 10) + (Build.BRAND.length() % 10) + (Build.CPU_ABI.length() % 10) + (Build.DEVICE.length() % 10) + (Build.MANUFACTURER.length() % 10) + (Build.MODEL.length() % 10) + (Build.PRODUCT.length() % 10);\n\n String serial = null;\n try {\n serial = android.os.Build.class.getField(\"SERIAL\").get(null).toString();\n\n return new UUID(m_szDevIDShort.hashCode(), serial.hashCode()).toString();\n } catch (Exception exception) {\n serial = \"serial\";\n }\n\n return new UUID(m_szDevIDShort.hashCode(), serial.hashCode()).toString();\n }", "public java.lang.String getUUID() {\n java.lang.Object ref = uUID_;\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 uUID_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "private String getUUID(final String filename) {\n \t\t\tString uuid = uuids.get(filename);\n \t\t\tif (uuid == null) {\n \t\t\t\tuuid = UUID.randomUUID().toString();\n \t\t\t\tuuids.put(filename, uuid);\n \t\t\t}\n \t\t\treturn uuid;\n \t\t}", "public static long generateUniqueId() {\n // A UUID represents a 128-bit value, that is 16 bytes long value.\n final UUID uuid = UUID.randomUUID();\n return Math.abs(uuid.getMostSignificantBits());\n }", "Object getId();", "public UUID getId() {\n return mId;\n }", "UUID clientId();", "long getInstanceID();", "protected UUID getId(String name) {\n\t\treturn names.get(name);\n\t}", "public static int generateUniqueId(){\r\n String returnme = GregorianCalendar.getInstance().getTimeInMillis() + \"\";\r\n return Integer.parseInt(returnme.substring(returnme.length() - 9, returnme.length()));\r\n }", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();" ]
[ "0.64371717", "0.64011455", "0.6151297", "0.5850662", "0.5838132", "0.5708197", "0.5664511", "0.5660057", "0.5623854", "0.5602628", "0.5565815", "0.5521144", "0.5455443", "0.5443444", "0.5443444", "0.54340917", "0.5426658", "0.53292185", "0.53292185", "0.53292185", "0.53292185", "0.5329126", "0.53255343", "0.52851164", "0.52726555", "0.5272242", "0.52363914", "0.52278537", "0.52225846", "0.521919", "0.5218491", "0.52053094", "0.51835376", "0.5182521", "0.51723313", "0.5164264", "0.5163701", "0.51446176", "0.5139941", "0.5129106", "0.5109041", "0.5092269", "0.5073168", "0.5067925", "0.5051001", "0.50479436", "0.50456816", "0.50418025", "0.50359565", "0.5032805", "0.5026575", "0.50143045", "0.5012696", "0.500828", "0.500383", "0.50034225", "0.49873927", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558", "0.49858558" ]
0.60020375
3
Gets the id of the solver associated with a given UUID
public static Optional<Integer> getIdOfSolverAssociatedWithLink(final String universallyUniqueId) throws SQLException { return getIdOfPrimitiveAssociatedWithLink(universallyUniqueId, R.SOLVER); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UUID getId();", "UUID id();", "UUID getTransmissionId();", "public UUID getComponentId();", "public String getId(){\n\t\treturn uuid;\n\t}", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "String getProgramId();", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "Integer getId();", "Integer getId();", "Integer getId();", "String getIdNumber();", "public abstract UUID getId();", "Object getId();", "UUID getUniqueId();", "UUID getInitiativeId();", "public UUID getID() {\r\n if(!getPayload().has(\"id\")) return null;\r\n return UUID.fromString(getPayload().getString(\"id\"));\r\n }", "String getExistingId();", "public UUID getIdentifier() {\n\t\treturn this.id;\n\t}", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "public UUID executionId();", "public Integer getProgramId();", "public long getId(BerylliumSphere s) {\n\t\ttry {\n\t\t\tField f = BerylliumSphere.class.getDeclaredField(\"id\");\n\t\t\tf.setAccessible(true);\n\t\t\treturn f.getLong(s);\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn -1L;\n\t}", "String getUniqueId();", "UUID getNegotiationId();", "@NonNull\n public final synchronized String getId() {\n if (id == null) {\n id = UUID.randomUUID().toString();\n }\n return id;\n }", "String experimentId();", "public static Optional<UUID> getGameIdFromSpecifiedGameEndpoint(String endpoint) {\n Optional<String> strId = getIdAsStrFromSpecifiedGameEndpoint(endpoint);\n if (strId.isPresent()) {\n if (UUIDUtils.isValidUUID(strId.get())) {\n return Optional.of(UUID.fromString(strId.get()));\n }\n return Optional.empty();\n } else {\n return Optional.empty();\n }\n }", "Integer getID();", "Integer getID();", "public UUID getId() {\n return mId;\n }", "Short getId();", "Identifier getId();", "Integer getSOLid();", "java.lang.String getUUID();" ]
[ "0.62409467", "0.57642186", "0.56874734", "0.56612545", "0.5573702", "0.55612344", "0.55612344", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55511296", "0.55188054", "0.55153173", "0.55153173", "0.55153173", "0.55153173", "0.5508838", "0.5508838", "0.5508838", "0.55058587", "0.5497919", "0.5461531", "0.5460492", "0.5444872", "0.5438673", "0.54161483", "0.53912985", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.5362612", "0.53335226", "0.5318874", "0.53063035", "0.52797264", "0.52678", "0.522647", "0.5221604", "0.52213526", "0.5202084", "0.5202084", "0.5168673", "0.51576114", "0.51540786", "0.51393604", "0.5137614" ]
0.5829953
1
Gets the id of the primitive associated with a given UUID
private static Optional<Integer> getIdOfPrimitiveAssociatedWithLink( final String universallyUniqueId, final String primitiveType ) throws SQLException { final String methodName = "getIdOfPrimitiveAssociatedWithCode"; log.entry(methodName); // UUIDs have a max size of 36. if (universallyUniqueId.length() > MAX_UUID_LENGTH) { return Optional.empty(); } Connection con = null; CallableStatement procedure = null; ResultSet results = null; try { con = Common.getConnection(); Common.beginTransaction(con); // Setup the GetAnonymousLink procedure. procedure = con.prepareCall("{CALL GetIdOfPrimitiveAssociatedWithLink(?, ?)}"); procedure.setString(1, universallyUniqueId); procedure.setString(2, primitiveType); results = procedure.executeQuery(); Common.endTransaction(con); // If the code is in the database return it otherwise return an empty Optional. if (results.next()) { return Optional.of(results.getInt("primitive_id")); } else { return Optional.empty(); } } catch (SQLException e) { log.error(methodName, e.toString()); Common.doRollback(con); throw e; } finally { Common.safeClose(con); Common.safeClose(procedure); Common.safeClose(results); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UUID getId();", "public abstract UUID getId();", "UUID id();", "public UUID getID() {\r\n if(!getPayload().has(\"id\")) return null;\r\n return UUID.fromString(getPayload().getString(\"id\"));\r\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "Object getId();", "Integer getId();", "Integer getId();", "Integer getId();", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getId() {\n return id;\n }", "public UUID getIdentifier() {\n\t\treturn this.id;\n\t}", "public UUID getId() {\n return mId;\n }", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "Short getId();", "public long getPrimitiveId() {\r\n return id;\r\n }", "UUID getUniqueId();", "public String getId(){\n\t\treturn uuid;\n\t}", "@NonNull\n public final synchronized String getId() {\n if (id == null) {\n id = UUID.randomUUID().toString();\n }\n return id;\n }", "Integer getID();", "Integer getID();", "String getIdNumber();", "Serializable extractId(Object entity);", "public String getId ()\n {\n org.omg.CORBA.portable.InputStream $in = null;\n try {\n org.omg.CORBA.portable.OutputStream $out = _request (\"getId\", true);\n $in = _invoke ($out);\n String $result = $in.read_string ();\n return $result;\n } catch (org.omg.CORBA.portable.ApplicationException $ex) {\n $in = $ex.getInputStream ();\n String _id = $ex.getId ();\n throw new org.omg.CORBA.MARSHAL (_id);\n } catch (org.omg.CORBA.portable.RemarshalException $rm) {\n return getId ( );\n } finally {\n _releaseReply ($in);\n }\n }", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "public UUID getUniqueId ( ) {\n\t\treturn extract ( handle -> handle.getUniqueId ( ) );\n\t}", "public java.lang.Long getId();", "public UUID getID() {\n return ID;\n }", "public java.lang.String getId() {\n java.lang.Object ref = id_;\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 id_ = s;\n }\n return s;\n }\n }", "public java.lang.String getId() {\n java.lang.Object ref = id_;\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 id_ = s;\n }\n return s;\n }\n }", "public abstract long getId(T obj);", "Identifier getId();", "Long getId();", "Long getId();", "Long getId();", "public Integer getId() {\n return id.get();\n }", "com.google.protobuf.ByteString getIdBytes();" ]
[ "0.7371468", "0.69046897", "0.67692035", "0.67341214", "0.6666565", "0.6666565", "0.66617817", "0.6606605", "0.6606605", "0.6606605", "0.6595925", "0.6595925", "0.6595925", "0.6595925", "0.6529031", "0.6364822", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.625621", "0.6230189", "0.62298834", "0.62163603", "0.62043256", "0.618874", "0.6185078", "0.6185078", "0.6132013", "0.6121021", "0.6105084", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6088739", "0.6065925", "0.60353166", "0.6031604", "0.6030552", "0.6030552", "0.60178864", "0.5998581", "0.598966", "0.598966", "0.598966", "0.59792805", "0.59616184" ]
0.6375673
15
Gets which primitives to anonymize for an anonymous solver page.
public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForSolver(String linkUuid) throws SQLException { return getPrimitivesToAnonymize(linkUuid, R.SOLVER); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public Table<Integer, Integer, String> getAnonymizedData();", "public abstract String getNaturalIdentity();", "int getMisc();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "long getUnknown12();", "public static boolean areSolversAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public int getNiveauIA() {\n\t\treturn niveauIA;\r\n\t}", "int getIndividualStamina();", "public String getAppletInfo() {\n/* 367 */ return null;\n/* */ }", "int getPants();", "private DataHandle getAnonymizedData(Data data) {\n final ARXAnonymizer anonymizer = new ARXAnonymizer();\n final ARXConfiguration config = ARXConfiguration.create();\n config.addPrivacyModel(new KAnonymity(2));\n config.setSuppressionLimit(0d);\n config.setQualityModel(Metric.createLossMetric(AggregateFunction.RANK));\n \n ARXResult result = null;\n try {\n result = anonymizer.anonymize(data, config);\n } catch (IOException e) {\n e.printStackTrace();\n }\n final DataHandle outHandle = result.getOutput(false);\n return outHandle;\n }", "public int[] getFromName(String text) {\n return Optional.ofNullable(names.get(text))\n .map(i -> i.stream().findFirst()\n .map(OidTreeNode::getElements)\n .orElseGet(() -> new int[] {}))\n .orElseGet(() -> new int[] {});\n }", "int getEyes();", "int getUknown();", "public BasicAttributesGrammarAccess.PrimitiveTypeElements getPrimitiveTypeAccess() {\n\t\treturn gaBasicAttributes.getPrimitiveTypeAccess();\n\t}", "String getPersonality();", "String getANY_OTHER();", "Integer getSobjNmHi();", "String getAssignmentApproaches();", "public final /* bridge */ /* synthetic */ C16930eu mo43587s() {\n return super.mo43587s();\n }", "public List<IntegerVariable> getObjectiveVariables() {\n return objectiveVariables;\n }", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }", "@DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present\n @VTID(22)\n GeometricElements geometricElements();", "int getI12();", "public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {\r\n\t\treturn gaXtype.getJvmLowerBoundAndedAccess();\r\n\t}", "public Node[] getInternalNodes() {\n return internalPins;\n }", "public abstract Object mo1771a();", "public int getAisles ()\n {\n return (aisles);\n }", "protected abstract void getAllUniformLocations();", "public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {\n\t\treturn gaXtype.getJvmLowerBoundAndedAccess();\n\t}", "public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {\n\t\treturn gaXtype.getJvmLowerBoundAndedAccess();\n\t}", "private int getAnonIndex(Type type)\n {\n String typeName = NameFormatter.retrieveClassName(type.getName());\n Integer cell = anonIdCounts.get(typeName);\n int i = cell == null ? 1 : cell.intValue();\n anonIdCounts.put(typeName, new Integer(i + 1));\n return i;\n }", "@Override\r\n\tpublic Integer[] getDynamicMapVariables() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Integer[] getDynamicMapVariables() {\n\t\treturn null;\r\n\t}", "public static Optional<String> getAnonymousLinkCode(\n\t\t\tfinal String primitiveType, final int primitiveId, final PrimitivesToAnonymize primitivesToAnonymize\n\t) throws SQLException {\n\n\t\tfinal String methodName = \"getAnonymousLinkCode\";\n\t\tlog.entry(methodName);\n\n\t\tConnection con = null;\n\t\tCallableStatement procedure = null;\n\t\tResultSet results = null;\n\n\t\ttry {\n\t\t\tcon = Common.getConnection();\n\t\t\tCommon.beginTransaction(con);\n\n\t\t\t// Setup the GetAnonymousLink procedure.\n\t\t\tprocedure = con.prepareCall(\"{CALL GetAnonymousLink(?, ?, ?)}\");\n\t\t\tprocedure.setString(1, primitiveType);\n\t\t\tprocedure.setInt(2, primitiveId);\n\t\t\tprocedure.setString(3, getPrimitivesToAnonymizeName(primitivesToAnonymize));\n\n\t\t\tresults = procedure.executeQuery();\n\t\t\tCommon.endTransaction(con);\n\t\t\t// If the code is in the database return it otherwise return an empty Optional.\n\t\t\tif (results.next()) {\n\t\t\t\treturn Optional.of(results.getString(\"unique_id\"));\n\t\t\t} else {\n\t\t\t\treturn Optional.empty();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tlog.error(\"Caught an exception while trying to get an anonymous link from database.\", e);\n\t\t\tCommon.doRollback(con);\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tCommon.safeClose(con);\n\t\t\tCommon.safeClose(procedure);\n\t\t\tCommon.safeClose(results);\n\t\t}\n\t}", "public String showAllNhanvien();", "public BasicAttributesGrammarAccess.PRIMITIVE_TYPE_NAMEElements getPRIMITIVE_TYPE_NAMEAccess() {\n\t\treturn gaBasicAttributes.getPRIMITIVE_TYPE_NAMEAccess();\n\t}", "int getStamina();", "@DISPID(1610940426) //= 0x6005000a. The runtime will prefer the VTID if present\n @VTID(32)\n GeometricElements geometricElements();", "void mo5017a();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForJob(String linkUuid) throws SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.JOB);\n\t}", "String[] getReservedWords();", "private static /* synthetic */ boolean[] m5631a() {\n boolean[] zArr = f3814a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-2921565739953886628L, \"android/support/compat/R$styleable\", 2);\n f3814a = probes;\n return probes;\n }", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public int getNumAyuAtracc();", "Aliasing getVariable();", "public static IndexON[] indexONArray() {\n return new IndexON[] {EUREONIA };\n }", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "public abstract Integer mo36212o();", "public Integer getOutlets(){\n\t\treturn this.outlets;\n\t}", "VectorArray getPhsAHar();", "String getInter_contestable();", "public InternalInstructionsElements getInternalInstructionsAccess() {\r\n\t\treturn pInternalInstructions;\r\n\t}", "String getPersonalityIdentifier();", "public HashMap<Integer, Administrative> getAdministratives() {\n return _administratives;\n }", "long getUnknown2();", "String getAccess();", "String getAccess();", "private void drawModelElements_PlainVariables_xjal(Panel _panel, Graphics2D _g, boolean _publicOnly)\n/* 237: */ {\n/* 238:320 */ if (!_publicOnly) {\n/* 239:321 */ drawPlainVariable(_panel, _g, 20, 50, 10, 0, \"mapPanel\", this.mapPanel, false);\n/* 240: */ }\n/* 241: */ }", "public String globalInfo() {\n\n return \"Nearest-neighbor-like algorithm using non-nested generalized exemplars \"\n + \"(which are hyperrectangles that can be viewed as if-then rules). For more \"\n + \"information, see \\n\\n\"\n + getTechnicalInformation().toString();\n }", "int getIndividualAttack();", "void mo6501a(C41531v c41531v, View view, Object obj, int i);", "public int mo12720a() {\n return 0;\n }", "public Map<Entity, Integer> computeHyponymCountMap()\r\n\t{\n\t\treturn null;\r\n\t}", "java.lang.String getIndispensableYn();", "java.lang.String getIndispensableYn();", "public Object getNoAccess() {\r\n return new Integer(3 / 0);\r\n }", "Object getPerm(String name);", "public int[] findVerticalSeam() {\n return null;\n }", "private boolean onClickModelAt_PlainVariables_xjal(Panel _panel, double _x, double _y, int _clickCount, boolean _publicOnly)\n/* 316: */ {\n/* 317:396 */ if ((!_publicOnly) && (modelElementContains(_x, _y, 20.0D, 50.0D)))\n/* 318: */ {\n/* 319:397 */ _panel.addInspect(20.0D, 50.0D, this, \"mapPanel\");\n/* 320:398 */ return true;\n/* 321: */ }\n/* 322:400 */ return false;\n/* 323: */ }", "int[] getVisualToLogicalMap() {\n if (v2lMap == null) {\n v2lMap = createVisualToLogicalMap(levels);\n }\n return v2lMap;\n }", "@SubL(source = \"cycl/sbhl/sbhl-link-methods.lisp\", position = 37159) \n public static final SubLObject non_fort_isa_table() {\n return $non_fort_isa_table$.getGlobalValue();\n }", "public String getAccess();", "public Tile[] getAdjs(){\r\n return adjTiles;\r\n }", "Pokemon.RequestEnvelop.Unknown6 getUnknown6();", "int[] mo12208a(int i);", "public abstract int getGuideSchematics();", "public double getMoles() {\n return NT;\n }", "Integer getIPos();", "int realnVars();", "String getPlus4_contestable();", "int getI17();", "public Collection findOtherPresentationsUnrestricted(Agent owner, String toolId, String showHidden);", "public IVariable getInternalVariable(String name) {\n return fInternalVariables.get(name);\n }", "public int getSymbology() {\r\n return Symbology;\r\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public entity.PolicyNamedInsured getNamedInsured();", "int[] getLogicalToVisualMap() {\n if (l2vMap == null) {\n l2vMap = getInverseOrder(getVisualToLogicalMap());\n }\n return l2vMap;\n }", "void mo41083a();", "public ArrayList<String> getAnalytes() {\n ArrayList<String> analytes = new ArrayList<>();\n getData(analytes, \"getAnalytes\");\n return analytes;\n }", "void mo6247nm(int i);", "void mo27575a();", "@java.lang.Override\n public int getIndividualStamina() {\n return individualStamina_;\n }", "public int queryPlateAsianInfoById(String id);" ]
[ "0.48979738", "0.48229423", "0.47545967", "0.4726822", "0.47057822", "0.47015634", "0.47015634", "0.47015634", "0.47015634", "0.46909723", "0.4673536", "0.46274048", "0.46194622", "0.46099213", "0.455558", "0.4547664", "0.45378885", "0.4537119", "0.4493094", "0.44807115", "0.44732717", "0.44727364", "0.44702762", "0.4444764", "0.4427724", "0.442657", "0.4424868", "0.44246888", "0.44216096", "0.44163468", "0.44136134", "0.43921283", "0.43775725", "0.43663588", "0.43660194", "0.43645865", "0.43601227", "0.43601227", "0.4358966", "0.4358322", "0.4358322", "0.4354697", "0.43523395", "0.43477732", "0.4340369", "0.434034", "0.43382895", "0.43344653", "0.43258005", "0.4324786", "0.43245098", "0.43155053", "0.43082258", "0.430431", "0.43011266", "0.43005934", "0.4297471", "0.42843798", "0.42822766", "0.42793727", "0.42716172", "0.4268761", "0.42651787", "0.42424458", "0.42424458", "0.42363745", "0.42361724", "0.42358094", "0.4234812", "0.42287043", "0.42284167", "0.42247984", "0.42247984", "0.42227933", "0.42192462", "0.4210345", "0.42095006", "0.42067045", "0.42052633", "0.4200394", "0.41996583", "0.41898423", "0.41887784", "0.41869596", "0.4180501", "0.41782433", "0.41779983", "0.41766065", "0.41765764", "0.41717815", "0.4170488", "0.41642386", "0.41638863", "0.4163784", "0.41594756", "0.41566443", "0.4155365", "0.41552153", "0.4147365", "0.4143229" ]
0.5593092
0
Gets which primitives to anonymize for an anonymous job page.
public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForJob(String linkUuid) throws SQLException { return getPrimitivesToAnonymize(linkUuid, R.JOB); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String mo69547a() {\n return \"user\";\n }", "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "private String jobs() {\r\n\t\tint[] j=tile.getJobs();\r\n\t\tString out = \"Jobs Are: \";\r\n\t\tfor(int i=0; i<j.length;i++) {\r\n\t\t\tout=out.concat(i+\": \"+(j[i])+\" || \");\r\n\t\t}\r\n\t\treturn out;\r\n\t}", "public static Map<Integer, String> getAnonymizedJobSpaceNames(final int jobId) {\n\t\tJob job = Jobs.get(jobId);\n\n\t\tList<JobSpace> jobSpaces = Spaces.getSubSpacesForJob(job.getPrimarySpace(), true);\n\t\tjobSpaces.add(Spaces.getJobSpace(job.getPrimarySpace()));\n\t\tjobSpaces.sort(Comparator.comparingInt(Identifiable::getId));\n\n\t\tMap<Integer, String> jobSpaceIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (JobSpace space : jobSpaces) {\n\t\t\tint spaceId = space.getId();\n\t\t\tif (!jobSpaceIdToAnonymizedName.containsKey(spaceId)) {\n\t\t\t\tjobSpaceIdToAnonymizedName.put(spaceId, \"Space\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn jobSpaceIdToAnonymizedName;\n\t}", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public Table<Integer, Integer, String> getAnonymizedData();", "public String getAppletInfo() {\n/* 367 */ return null;\n/* */ }", "public Long getAnonymousAccountId() {\n return 4294967295L;\n }", "public int getMetaUsers();", "private int getAnonIndex(Type type)\n {\n String typeName = NameFormatter.retrieveClassName(type.getName());\n Integer cell = anonIdCounts.get(typeName);\n int i = cell == null ? 1 : cell.intValue();\n anonIdCounts.put(typeName, new Integer(i + 1));\n return i;\n }", "public static Object getImei() {\n\t\treturn null;\n\t}", "public abstract String getNaturalIdentity();", "int getUnapprovedUserNumber();", "public final String mo85338c() {\n if (this.f94528N == 0) {\n return \"personal_homepage\";\n }\n return \"personal_collection\";\n }", "@Override\n\tpublic String getNaam(){\n\t\tString pName= ctx.getCallerPrincipal().getName();\n\t\tPerson p=userEJB.findPerson(pName);\n\t\tString w=p.getName();\n\t\treturn w;\n\t}", "public String getIdentity();", "public String getAccess();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForSolver(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.SOLVER);\n\t}", "public String toString() {\n\t URI uri = getURI();\n\t return (uri == null) \n\t \t? \"Anonymous (\" + getAnonID() + \")\"\n\t \t: uri.toString();\n//\t \t: (kb == null)\n//\t \t ? uri.toString() \n//\t \t : kb.getQNames().shortForm(uri);\n\t}", "public static String makeAnonID() {\n String id = \"__anon\" + nextAnonID;\n nextAnonID++;\n return id;\n }", "private DataHandle getAnonymizedData(Data data) {\n final ARXAnonymizer anonymizer = new ARXAnonymizer();\n final ARXConfiguration config = ARXConfiguration.create();\n config.addPrivacyModel(new KAnonymity(2));\n config.setSuppressionLimit(0d);\n config.setQualityModel(Metric.createLossMetric(AggregateFunction.RANK));\n \n ARXResult result = null;\n try {\n result = anonymizer.anonymize(data, config);\n } catch (IOException e) {\n e.printStackTrace();\n }\n final DataHandle outHandle = result.getOutput(false);\n return outHandle;\n }", "public String getIsanonymous() {\n return isanonymous;\n }", "String getAccess();", "String getAccess();", "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "String getAssignmentApproaches();", "public Map<String, Long> getUserIdLetterMap() throws UserManagementException;", "public String[] getAllJobs();", "public int getLoggedInUsers();", "public int getL1UserInformation();", "HumanProfile getUserProfile();", "public String annaNimi()\n\t{\n\t\treturn this.nimi;\n\t}", "public int getAno() {\n\t\t\treturn ano;\n\t\t}", "public Boolean isAnonymousAccessible() {\n return this.isAnonymousAccessible;\n }", "public java.lang.String getRndManagingInstituteName() {\n return rndManagingInstituteName;\n }", "String getPageFullName();", "public String getInstructor ( )\n\t{\n\t\tif(instructor.length ( )==0 || instructor ==null)\n\t\t{\n\t\t\tinstructor=\"Instructor\";\n\t\t}\n\t\treturn instructor;\n\t\t\n\t}", "@Override\n public ArrayList<Thing> getNonCurrentUserThings() {\n User owner = new User();\n owner.setFirstName(\"Bob\");\n owner.setLastName(\"Jones\");\n owner.setEmail(\"[email protected]\");\n\n ArrayList<Thing> things = new ArrayList<>();\n for (int i = 0; i < 15; ++i) {\n Thing thing = new Thing(owner);\n thing.setOwner(owner); // ???\n thing.setTitle(\"Thing \" + (i + 1));\n thing.setDescription(\"The description of Thing \" + (i + 1));\n\n things.add(thing);\n }\n\n return things;\n }", "public static int anonymousSize() {\n\t\tInteger count = new Integer(0);\n\t\tObject object = cache.get(FQN_COUNT, ANONYMOUS_COUNT);\n\t\tif (object != null) {\n\t\t\tcount = (Integer) object;\n\t\t}\n\n\t\treturn (count == null ? 0 : count.intValue());\n\t}", "int getUserQuestJobsCount();", "public static Optional<String> getAnonymousLinkCode(\n\t\t\tfinal String primitiveType, final int primitiveId, final PrimitivesToAnonymize primitivesToAnonymize\n\t) throws SQLException {\n\n\t\tfinal String methodName = \"getAnonymousLinkCode\";\n\t\tlog.entry(methodName);\n\n\t\tConnection con = null;\n\t\tCallableStatement procedure = null;\n\t\tResultSet results = null;\n\n\t\ttry {\n\t\t\tcon = Common.getConnection();\n\t\t\tCommon.beginTransaction(con);\n\n\t\t\t// Setup the GetAnonymousLink procedure.\n\t\t\tprocedure = con.prepareCall(\"{CALL GetAnonymousLink(?, ?, ?)}\");\n\t\t\tprocedure.setString(1, primitiveType);\n\t\t\tprocedure.setInt(2, primitiveId);\n\t\t\tprocedure.setString(3, getPrimitivesToAnonymizeName(primitivesToAnonymize));\n\n\t\t\tresults = procedure.executeQuery();\n\t\t\tCommon.endTransaction(con);\n\t\t\t// If the code is in the database return it otherwise return an empty Optional.\n\t\t\tif (results.next()) {\n\t\t\t\treturn Optional.of(results.getString(\"unique_id\"));\n\t\t\t} else {\n\t\t\t\treturn Optional.empty();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tlog.error(\"Caught an exception while trying to get an anonymous link from database.\", e);\n\t\t\tCommon.doRollback(con);\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tCommon.safeClose(con);\n\t\t\tCommon.safeClose(procedure);\n\t\t\tCommon.safeClose(results);\n\t\t}\n\t}", "int getAid();", "public int getHC_EmployeeJob_ID();", "public String getAuthority () throws java.io.IOException, com.linar.jintegra.AutomationException;", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "Object getPurpose();", "public java.lang.String getAccession()\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(ACCESSION$2, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public List<Ano> getAno() {\n\t\treturn ano;\n\t}", "public String getInseam() {\n return (String)getAttributeInternal(INSEAM);\n }", "public static Object anonymous(final Object self) {\n return ScriptRuntime.UNDEFINED;\n }", "int getPants();", "String getLoginapifailhitcount();", "public String getUtterance();", "public Object ak() {\n Object[] objArr = this.aq;\n int i = this.ar + 715964991;\n this.ar = i;\n return objArr[i * 1523192013];\n }", "public int getUserA() {\n\t\treturn userA;\n\t}", "String getPersonalityIdentifier();", "public List<String> grantpermission() {\n\t\tList<Integer> userids = new ArrayList<>();\n\t\tuserids = crud1.grantPermission();\n\t\tList<String> username = new ArrayList<>();\n\t\tfor (Integer x : userids) {\n\n\t\t\tusername.add(crud1.findById(x).get().getUsername());\n\t\t}\n\t\treturn username;\n\t}", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "public ArrayList<double[]> getAnonymizedPartition(){\n\t\treturn anoynmizedPartition;\n\t}", "public List<Manuscript> showAllMyManuscripts() {\t\t\r\n\t\treturn myManuscripts;\r\n\t}", "public Object getUserObject();", "public String getKawyiname() {\n return kawyiname;\n }", "public String getIsmanage() {\n return ismanage;\n }", "String getInter_contestable();", "public String Identity();", "public static String getImei() {\n\t\treturn null;\n\t}", "public int getNiveauIA() {\n\t\treturn niveauIA;\r\n\t}", "public boolean isAnonymousBrowsing() {\n return anonymousBrowsing;\n }", "public List<String> getAllSIDs() {\n\t\tSet<String> r = new HashSet<String>();\n\t\tfor (Set<String> set : grantedPermissions.values())\n\t\t\tr.addAll(set);\n\t\tr.remove(\"anonymous\");\n\n\t\tString[] data = r.toArray(new String[r.size()]);\n\t\tArrays.sort(data);\n\t\treturn Arrays.asList(data);\n\t}", "public UserPollAns getUserPollsAns() {\n return userPollsAns;\n }", "String getPersonality();", "@Override\r\n\tpublic List<Job> ShowAllJobs() {\n\t\treturn null;\r\n\t}", "public int getAnthill() {\r\n\t\treturn this.anthill;\r\n\t}", "public String getAnfitrion() {\r\n\t\treturn anfitrion;\r\n\t}", "public List<String> mo29954a() {\n return Collections.singletonList(\"com.oppo.launcher\");\n }", "private static /* synthetic */ boolean[] m38470a() {\n boolean[] zArr = f36241a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-8388961941596973774L, \"com/mopub/nativeads/InMobiNativeCustomEvent$InMobiNativeAd$3\", 3);\n f36241a = probes;\n return probes;\n }", "public static String applicationPermission() {\n return holder.format(\"applicationPermission\");\n }", "public java.lang.String get__OID() throws com.intersys.objects.CacheException {\n com.intersys.cache.Dataholder dh = mInternal.getProperty(\"%%OID\",false);\n return dh.getString();\n }", "String getOssHomepage();", "long getUnknown12();", "public static void addAnonymousNamesForJob(final int jobId) throws SQLException {\n\t\tfinal String methodName = \"addAnonymousNamesForJob\";\n\t\tlog.entry(methodName);\n\n\t\tJob job = Jobs.getWithSimplePairs(jobId);\n\n\t\tList<JobPair> jobPairs = job.getJobPairs();\n\n\t\tList<Benchmark> benchmarks = new ArrayList<>();\n\t\tList<Solver> solvers = new ArrayList<>();\n\t\tfor (JobPair pair : jobPairs) {\n\t\t\tbenchmarks.add(pair.getBench());\n\t\t\tfor (JoblineStage stage : pair.getStages()) {\n\t\t\t\tsolvers.add(stage.getSolver());\n\t\t\t}\n\t\t}\n\n\t\tConnection con = null;\n\t\ttry {\n\n\t\t\t// Generate a map of anonymized solver names and add them to the database.\n\t\t\tMap<Integer, String> anonymizedSolverNames = buildAnonymizedSolverNamesMap(solvers);\n\n\t\t\tcon = Common.getConnection();\n\t\t\tCommon.beginTransaction(con);\n\n\t\t\tfor (Integer solverId : anonymizedSolverNames.keySet()) {\n\n\t\t\t\t// For each solver, add all the anonymous config names.\n\t\t\t\tMap<Integer, String> anonymizedConfigNames = buildAnonymizedConfigNamesMap(solverId);\n\t\t\t\tfor (Integer configId : anonymizedConfigNames.keySet()) {\n\t\t\t\t\tString anonymousConfigName = anonymizedConfigNames.get(configId);\n\t\t\t\t\taddAnonymousPrimitiveName(anonymousConfigName, configId, R.CONFIGURATION, jobId, con);\n\t\t\t\t}\n\n\t\t\t\tString anonymousSolverName = anonymizedSolverNames.get(solverId);\n\t\t\t\taddAnonymousPrimitiveName(anonymousSolverName, solverId, R.SOLVER, jobId, con);\n\t\t\t}\n\n\t\t\t// Generate a map of anonymized benchmark names and add them to the database.\n\t\t\tMap<Integer, String> anonymizedBenchmarkNames = buildAnonymizedBenchmarkNamesMap(benchmarks);\n\t\t\tfor (Integer benchmarkId : anonymizedBenchmarkNames.keySet()) {\n\t\t\t\tString anonymousBenchmarkName = anonymizedBenchmarkNames.get(benchmarkId);\n\t\t\t\taddAnonymousPrimitiveName(anonymousBenchmarkName, benchmarkId, R.BENCHMARK, jobId, con);\n\t\t\t}\n\n\t\t\tCommon.endTransaction(con);\n\t\t} catch (SQLException e) {\n\t\t\tlog.error(methodName, e.getMessage(), e);\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tCommon.doRollback(con);\n\t\t\tCommon.safeClose(con);\n\t\t}\n\t}", "public String getXPageAltClient();", "public HashMap<Integer, Administrative> getAdministratives() {\n return _administratives;\n }", "private static VKApiUserFull[] m147575a(int i) {\n return new VKApiUserFull[i];\n }", "public String getAccessionNumber() {\n return aao.getAccessionNumber();\n }", "public Object am() {\n Object[] objArr = this.aq;\n int i = this.ar - 2081709061;\n this.ar = i;\n return objArr[i * 1523192013];\n }", "public interface AuthorizationMapping {\n\n /**\n * Returns true if the principal is explicity authorized to the JID\n *\n * @param principal The autheticated principal requesting authorization.\n * @return The name of the default username to use.\n */\n String map( String principal );\n\n /**\n * Returns the short name of the Policy\n *\n * @return The short name of the Policy\n */\n String name();\n\n /**\n * Returns a description of the Policy\n *\n * @return The description of the Policy.\n */\n String description();\n}", "public String getProfile();", "public String getAccession() {\n return accession;\n }", "public long getAnnounces() {\n return localAnnounces;\n }", "int getUknown();", "public Map<String, String> getAnonymousClassMap() {\n if (anonymousClassMap == null) {\n return Collections.emptyMap();\n }\n return anonymousClassMap;\n }", "public ao m50838a() {\n return m50836b();\n }", "public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }", "public Integer getPublicuserid() {\n return publicuserid;\n }", "@Test(groups = {\"Sorting_002\"})\n @Execute(asUser = User.ANONYMOUS)\n @InBrowser(browserSize = DESKTOP_RESOLUTION)\n public void anonUserOnDesktopCanSortPostList() {\n userCanSwitchBetweenLatestAndTrendingTab();\n }", "public String getAgentAlias() {\n return (String)getAttributeInternal(AGENTALIAS);\n }", "String getProfile();", "public String getAuthorizedArea() {\n return (String)getAttributeInternal(AUTHORIZEDAREA);\n }" ]
[ "0.47765195", "0.47744936", "0.47128677", "0.46979362", "0.46918607", "0.46238077", "0.46129733", "0.46105346", "0.46030733", "0.45734537", "0.45648283", "0.45472246", "0.45469", "0.4537054", "0.45270464", "0.45180327", "0.45139247", "0.4504126", "0.45031464", "0.44996178", "0.44698352", "0.4454867", "0.444823", "0.44482064", "0.44482064", "0.44437695", "0.44241792", "0.4419607", "0.44085297", "0.43974248", "0.43894094", "0.43767214", "0.4372937", "0.43663427", "0.43622977", "0.4347311", "0.43335307", "0.43244427", "0.43184525", "0.43168658", "0.4315877", "0.43105412", "0.43095988", "0.4307493", "0.42988607", "0.42934904", "0.4276327", "0.4268762", "0.42678866", "0.42633095", "0.42579195", "0.42575118", "0.42520934", "0.42503032", "0.42439213", "0.423632", "0.42357066", "0.42288738", "0.42236742", "0.42107385", "0.42080814", "0.42061204", "0.42030406", "0.42024225", "0.42016155", "0.4200839", "0.4192255", "0.41897398", "0.41871378", "0.41862783", "0.41824165", "0.41805255", "0.4175347", "0.41733825", "0.4173206", "0.4170775", "0.41680896", "0.41660902", "0.41643968", "0.41636246", "0.4162439", "0.41619554", "0.41527286", "0.41526046", "0.41523606", "0.41503635", "0.41413486", "0.41390437", "0.41334373", "0.41309112", "0.41302258", "0.4130223", "0.41281354", "0.41252688", "0.4121403", "0.41198844", "0.41149372", "0.41124904", "0.41119897", "0.41102615" ]
0.5712724
0
Gets which primitives to anonymize for an anonymous benchmark page.
public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid) throws SQLException { return getPrimitivesToAnonymize(linkUuid, R.BENCHMARK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "private String _selectAdvisor() {\n int profType;\n int index;\n\n profType = _getRandomFromRange(CS_C_FULLPROF, CS_C_ASSTPROF);\n index = random_.nextInt(instances_[profType].total);\n return _getId(profType, index);\n }", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "long getUnknown12();", "private static /* synthetic */ boolean[] m37851a() {\n boolean[] zArr = f35345a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(5729815350304388802L, \"com/mopub/mobileads/native_video/R$styleable\", 2);\n f35345a = probes;\n return probes;\n }", "private static /* synthetic */ boolean[] m5631a() {\n boolean[] zArr = f3814a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-2921565739953886628L, \"android/support/compat/R$styleable\", 2);\n f3814a = probes;\n return probes;\n }", "private static Map<Integer, String> buildAnonymizedBenchmarkNamesMap(final List<Benchmark> benchmarks) {\n\t\tfinal String methodName = \"buildAnonymizedBenchmarkNamesMap\";\n\t\tlog.entry(methodName);\n\n\t\tMap<Integer, String> benchmarkIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Benchmark bench : benchmarks) {\n\t\t\tint benchId = bench.getId();\n\t\t\tif (!benchmarkIdToAnonymizedName.containsKey(benchId)) {\n\t\t\t\tbenchmarkIdToAnonymizedName.put(benchId, \"Benchmark\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn benchmarkIdToAnonymizedName;\n\t}", "public int getNumAyuAtracc();", "public static boolean isEverythingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.ALL;\n\t}", "private int getAnonIndex(Type type)\n {\n String typeName = NameFormatter.retrieveClassName(type.getName());\n Integer cell = anonIdCounts.get(typeName);\n int i = cell == null ? 1 : cell.intValue();\n anonIdCounts.put(typeName, new Integer(i + 1));\n return i;\n }", "int getUknown();", "void m8367a();", "public BenchmarkElements getBenchmarkAccess() {\n\t\treturn pBenchmark;\n\t}", "int getMisc();", "public abstract int mo9797a();", "long memoryUnused();", "long getUnknown2();", "int getPants();", "private static /* synthetic */ boolean[] m37847a() {\n boolean[] zArr = f35341a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(8562094152676657512L, \"com/mopub/mobileads/native_video/R$integer\", 1);\n f35341a = probes;\n return probes;\n }", "void mo105476a();", "private static /* synthetic */ boolean[] m37840a() {\n boolean[] zArr = f35334a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-181259704852399252L, \"com/mopub/mobileads/native_video/R\", 1);\n f35334a = probes;\n return probes;\n }", "public native int getCpuUsage();", "private static /* synthetic */ boolean[] m37845a() {\n boolean[] zArr = f35339a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(8351510718017544634L, \"com/mopub/mobileads/native_video/R$drawable\", 1);\n f35339a = probes;\n return probes;\n }", "void mo5017a();", "void mo119581a();", "void mo84655a();", "private static /* synthetic */ boolean[] m38470a() {\n boolean[] zArr = f36241a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-8388961941596973774L, \"com/mopub/nativeads/InMobiNativeCustomEvent$InMobiNativeAd$3\", 3);\n f36241a = probes;\n return probes;\n }", "public static PrimitivesToAnonymize createPrimitivesToAnonymize(String enumName) {\n\t\tPrimitivesToAnonymize primitivesToAnonymize = null;\n\t\tswitch (enumName) {\n\t\t\tcase R.ANONYMIZE_ALL:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_ALL_BUT_BENCH:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase R.ANONYMIZE_NONE:\n\t\t\t\tprimitivesToAnonymize = PrimitivesToAnonymize.NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"There is no PrimitivesToAnonymize enum associated with the string: \" + enumName);\n\t\t}\n\t\treturn primitivesToAnonymize;\n\t}", "public abstract int mo9754s();", "void mo98969a();", "public String getAppletInfo() {\n/* 367 */ return null;\n/* */ }", "private static /* synthetic */ boolean[] m37848a() {\n boolean[] zArr = f35342a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-9027816996356187590L, \"com/mopub/mobileads/native_video/R$layout\", 1);\n f35342a = probes;\n return probes;\n }", "private static /* synthetic */ boolean[] m37850a() {\n boolean[] zArr = f35344a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-3026766588269170283L, \"com/mopub/mobileads/native_video/R$style\", 1);\n f35344a = probes;\n return probes;\n }", "public Table<Integer, Integer, String> getAnonymizedData();", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForSolver(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.SOLVER);\n\t}", "void mo28306a();", "void mo60892a();", "void mo38026a();", "private static /* synthetic */ boolean[] m37846a() {\n boolean[] zArr = f35340a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(1575301677882808626L, \"com/mopub/mobileads/native_video/R$id\", 1);\n f35340a = probes;\n return probes;\n }", "public static int performanceCountGet() { return 0; }", "void mo12634a();", "void mo67920a();", "void mo28194a();", "public static boolean areJobsAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize) ||\n\t\t\t\tprimitivesToAnonymize == PrimitivesToAnonymize.ALL_BUT_BENCH;\n\t}", "int getAccessCounter();", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "void mo69874a();", "void mo41083a();", "int getUnusedExperimentId();", "void mo6247nm(int i);", "int getUnusedAlgorithmId();", "public abstract Object mo1771a();", "void statistics();", "void mo7350a();", "private static /* synthetic */ boolean[] m37844a() {\n boolean[] zArr = f35338a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-1599290292140187197L, \"com/mopub/mobileads/native_video/R$dimen\", 1);\n f35338a = probes;\n return probes;\n }", "private static /* synthetic */ boolean[] m37849a() {\n boolean[] zArr = f35343a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(-5737089224341627970L, \"com/mopub/mobileads/native_video/R$string\", 1);\n f35343a = probes;\n return probes;\n }", "int getMagic();", "void mo25956a(int i);", "void mo17016a(int i);", "public static Integer getOWins() {\n return humanVsHuman.OWins;\n }", "public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }", "int mo98207a();", "Object getPurpose();", "void mo17007a(int i);", "public static boolean isNothingAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn primitivesToAnonymize == PrimitivesToAnonymize.NONE;\n\t}", "public static String[] names() {\n return ListableValuesHelper.names(LogicalFragmentBenchmarked.values());\n }", "void mo1637a();", "public int getNumberOfInstantiatedAnalyser() {\n\t\tint instantiatedAnalyser = 0;\n\n\t\tfor (AnalyserPool analyserPool : analyserPools.values()) {\n\t\t\tinstantiatedAnalyser += analyserPool.getSize();\n\t\t}\n\n\t\treturn instantiatedAnalyser;\n\t}", "private static /* synthetic */ boolean[] m45643a() {\n boolean[] zArr = f25954N;\n if (zArr != null) {\n return zArr;\n }\n boolean[] a = C13938g.m59885a(1649867715450668913L, \"com/instabug/library/InstabugFeaturesManager$1\", 21);\n f25954N = a;\n return a;\n }", "void mo26876a(int i);", "public int mo12720a() {\n return 0;\n }", "public static void getCpuUsage(){\r\n CPUmeasurement currentCpuUsage = new CPUmeasurement();\r\n cpuUsageList.add(currentCpuUsage);\r\n //CPUmeasurement.printCpuUsage(currentCpuUsage);\r\n }", "int getIndividualAttack();", "void mo88521a();", "String getCpusetcpus();", "String mo17375a();", "private static /* synthetic */ boolean[] m37841a() {\n boolean[] zArr = f35335a;\n if (zArr != null) {\n return zArr;\n }\n boolean[] probes = Offline.getProbes(777165115059796401L, \"com/mopub/mobileads/native_video/R$attr\", 1);\n f35335a = probes;\n return probes;\n }", "public HashMap<String, String> getAIStatistics() {\n HashMap<String, String> stats = new HashMap<String, String>();\n HashMap<String, Long> objStats = new HashMap<String, Long>();\n Iterator<AIObject> iter = aiObjects.values().iterator();\n while (iter.hasNext()) {\n AIObject obj = iter.next();\n String className = obj.getClass().getSimpleName();\n if (objStats.containsKey(className)) {\n Long count = objStats.get(className);\n count++;\n objStats.put(className, count);\n } else {\n Long count = new Long(1);\n objStats.put(className, count);\n }\n }\n for (String k : objStats.keySet()) {\n stats.put(k, Long.toString(objStats.get(k)));\n }\n \n return stats;\n }", "void mo22249a();", "void mo3767a(int i);", "private static /* synthetic */ boolean[] m45644a() {\n boolean[] zArr = f25957N;\n if (zArr != null) {\n return zArr;\n }\n boolean[] a = C13938g.m59885a(7736054620100335078L, \"com/instabug/library/InstabugFeaturesManager$2\", 35);\n f25957N = a;\n return a;\n }", "String getLoginapihitcount();", "int getEyes();", "void mo72111a();", "int getGuestAcceleratorsCount();", "void mo12143a();", "void mo9693a();", "public static String makeAnonID() {\n String id = \"__anon\" + nextAnonID;\n nextAnonID++;\n return id;\n }", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForJob(String linkUuid) throws SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.JOB);\n\t}", "void mo32046rn(int i);", "public abstract Object mo26777y();", "int[] mo12208a(int i);", "void mo119582b();", "private DataHandle getAnonymizedData(Data data) {\n final ARXAnonymizer anonymizer = new ARXAnonymizer();\n final ARXConfiguration config = ARXConfiguration.create();\n config.addPrivacyModel(new KAnonymity(2));\n config.setSuppressionLimit(0d);\n config.setQualityModel(Metric.createLossMetric(AggregateFunction.RANK));\n \n ARXResult result = null;\n try {\n result = anonymizer.anonymize(data, config);\n } catch (IOException e) {\n e.printStackTrace();\n }\n final DataHandle outHandle = result.getOutput(false);\n return outHandle;\n }", "long getUnknown72();", "public int antall();", "public abstract long mo9746k();" ]
[ "0.5600216", "0.5001534", "0.49151254", "0.4893151", "0.4822878", "0.47405353", "0.47188506", "0.4710065", "0.46736503", "0.46582323", "0.46484777", "0.4629685", "0.46156874", "0.46037975", "0.46015903", "0.45843333", "0.4583279", "0.45758075", "0.45674533", "0.45668402", "0.45524618", "0.45522547", "0.45514458", "0.45496798", "0.4546861", "0.45468092", "0.4540365", "0.45366502", "0.45344138", "0.453353", "0.45332026", "0.45254892", "0.45246103", "0.45206058", "0.45192972", "0.4516081", "0.45156795", "0.45097", "0.44989", "0.4494054", "0.44910046", "0.44878826", "0.4483577", "0.44831532", "0.44810054", "0.44780818", "0.44780818", "0.44780818", "0.44780818", "0.4473034", "0.44683895", "0.44630814", "0.44629565", "0.44626066", "0.44553873", "0.4440883", "0.44352943", "0.44313172", "0.44222504", "0.44195715", "0.4416368", "0.44085726", "0.4399801", "0.43902662", "0.43867365", "0.4381837", "0.43815848", "0.43770447", "0.43768185", "0.43749622", "0.4374347", "0.4371961", "0.437083", "0.4370513", "0.4363251", "0.43601444", "0.43529627", "0.435087", "0.4342574", "0.43391523", "0.43364096", "0.43340808", "0.4333541", "0.43257356", "0.4324954", "0.432363", "0.43231505", "0.43218574", "0.4321478", "0.4319441", "0.4318613", "0.43170232", "0.43151343", "0.43148774", "0.4314625", "0.43135276", "0.43131", "0.43094918", "0.43053386", "0.43048185" ]
0.61748374
0
Deletes all old links in the database.
public static void deleteOldLinks(int ageThresholdInDays) throws SQLException { final String methodName = "deleteOldLinks"; Connection con = null; CallableStatement procedure = null; try { con = Common.getConnection(); Common.beginTransaction(con); procedure = con.prepareCall("{CALL DeleteOldLinks(?)}"); procedure.setInt(1, ageThresholdInDays); procedure.executeUpdate(); Common.endTransaction(con); } catch (SQLException e) { log.error(methodName, Util.getStackTrace(e)); Common.doRollback(con); throw e; } finally { Common.safeClose(con); Common.safeClose(procedure); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void deletedAllNewsFromDatabase() {\n new DeleteNewsAsyncTask(newsDao).execute();\n }", "@Transactional\n\t@Override\n\tpublic void deleteAll() {\n\t\tanchorKeywordsDAO.deleteAll();\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\tdao.deleteAll();\n\n\t}", "public void deleteAllFromDB() {\r\n for (int i = 0; i < uploads.size(); i++) {\r\n FileUtil.deleteFile(uploads.get(i).getFilepath());\r\n }\r\n super.getBasebo().remove(uploads);\r\n }", "public void clearLinkRemovalTags() {\n\tfor (Link l : allLinks)\n\t l.clearRemovalTag();\n }", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "void clearLinks();", "protected void deleteAllTag() {\n\t\tReaderDataBase.deleteAll(this);\n\t}", "public void delete() {\r\n\t\tfor (int i = 0; i <= DatabaseUniverse.getDatabaseNumber(); i++) {\r\n\t\t\tif (this.equals(DatabaseUniverse.getDatabases(i))) {\r\n\t\t\t\tDatabaseUniverse.getAllDatabases().set(i, null);\r\n\t\t\t\tDatabaseUniverse.getAllDatabases().remove(i);\r\n\t\t\t\tDatabaseUniverse.setDatabaseNumber(-1);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void delete_database() {\n //deletes file and by doing so all the tables\n File file = new File(url);\n String path = \"..\" + File.separator + file.getPath();\n File file_path = new File(path);\n file_path.delete();\n }", "public void removeAllLinks() {\n\t\tfor (int i=0; i<links.size(); i++){\n\t\t\tlinks.remove(i);\n\t\t}\n\t}", "public void deleteAll() {\n new Thread(new DeleteAllRunnable(dao)).start();\n }", "public static void deleteAll() throws RocksDBException {\n RocksIterator iter = db.newIterator();\n\n for (iter.seekToFirst(); iter.isValid(); iter.next()) {\n db.delete(iter.key());\n }\n\n iter.close();\n }", "public void deleteAll() {\n repository.deleteAll();\n }", "public void deleteAll();", "public void deleteAll();", "public void deleteAll();", "private void deleteConnections() {\n for (int i = 0; !this.sourceConnections.isEmpty(); ) {\n LinkElement wire = (LinkElement) this.sourceConnections.get(i);\n wire.detachSource();\n wire.detachTarget();\n this.graphElement.removeEdge(wire.getEdgeId(), wire);\n }\n\n for (int i = 0; !this.targetConnections.isEmpty(); ) {\n LinkElement wire = (LinkElement) this.targetConnections.get(i);\n wire.detachSource();\n wire.detachTarget();\n this.graphElement.removeEdge(wire.getEdgeId(), wire);\n }\n }", "@Transactional\r\n\tpublic void deleteAllBlogs() {\n\t\tsessionFactory.getCurrentSession().delete(getClass());\r\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "private void cleanDB() {\n // the database will contain a maximum of MAX_DB_SIZE wallpapers (default N=50)\n // when the db gets bigger then N, the oldest wallpapers are deleted from the database\n // the user will set if he wants to delete also the wallpaper or the database entry only\n if (maxDbSize != -1 && getOldWallpapersID().size() > maxDbSize) {\n try (ResultSet rs = db.executeQuery(\"SELECT wp FROM WALLPAPERS ORDER BY date FETCH FIRST 20 PERCENT ROWS ONLY\")) {\n while (!keepWallpapers && rs.next()) {\n Wallpaper wp = (Wallpaper) rs.getObject(\"wp\");\n log.log(Level.FINEST, wp::toString);\n log.log(Level.FINE, () -> \"Cleaning of DB, removing \" + wp.getID());\n\n new File(wp.getPath()).delete();\n }\n db.executeUpdate(\"DELETE FROM WALLPAPERS WHERE id IN (SELECT id FROM WALLPAPERS ORDER BY date fetch FIRST 20 PERCENT rows only)\");\n\n } catch (SQLException throwables) {\n log.log(Level.WARNING, \"Query Error in cleanDB()\");\n log.log(Level.FINEST, throwables.getMessage());\n }\n }\n }", "@Override\n\tpublic void deleteAll() {\n\n\t}", "@Override\n\tpublic void deleteAll() {\n\n\t}", "@Override\n\tpublic void deleteAll() {\n\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\r\n\t}", "public void deleteAll() {\n try (Connection connection = dataSource.getConnection();\n Statement statement = connection.createStatement()) {\n statement.execute(INIT.DELETE_ALL.toString());\n } catch (SQLException e) {\n logger.error(e.getMessage(), e);\n }\n }", "public void clearDatabase() {\n\n\t\tObjectSet<Article> articles = db.query(Article.class);\n\t\tarticles.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<CreditCard> creditCards = db.query(CreditCard.class);\n\t\tcreditCards.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<Customer> customers = db.query(Customer.class);\n\t\tcustomers.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<Order> orders = db.query(Order.class);\n\t\torders.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<OrderDetail> orderDetails = db.query(OrderDetail.class);\n\t\torderDetails.stream()\n\t\t\t.forEach(db::delete);\n\t\t\n\t\tSystem.out.println(\"\\nBase de dades esborrada per complet\");\n\t}", "public void clearDatabase() {\n new ExecutionEngine(this.database).execute(\"MATCH (n) OPTIONAL MATCH (n)-[r]-() DELETE r, n\");\n }", "@Override\n\t@Transactional\n\tpublic void deleteAllRoutes() {\n\t\trouteDAO.deleteAllRoutes();\t\t\n\t}", "public void deleteAll() {\n\t\t\n\t}", "private void deletes() {\n \tDBPeer.fetchTableRows();\n DBPeer.fetchTableIndexes();\n \n for (Delete delete: deletes) {\n \tdelete.init();\n }\n \n //DBPeer.updateTableIndexes(); //Set min max of indexes not implemented yet\n }", "public void deleteAll(){\r\n\t\thead = null;\r\n\t}", "@Override\n\tpublic long deleteAll() {\n\t\treturn deleteAll(false);\n\t}", "void deleteAll();", "void deleteAll();", "void deleteAll();", "@Override\r\n\t@Transactional\r\n\tpublic void deleteAll() {\n\t\ttopicContentDao.deleteAll();\r\n\t}", "@Override\n\tpublic void deleteAll() throws Exception {\n\t\t\n\t}", "public void deleteAllRequests() {\n try {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(TABLE_NAME, null, null);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n db.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public void deleteAllPages() {\n cache.removeAll();\n final Set<Long> indexSet = getExistingBackFileIndexSet();\n this.deletePages(indexSet);\n if (logger.isDebugEnabled())\n logger.debug(\"All page files in dir \" + this.pageDir + \" have been deleted.\");\n }", "public void deleteAll()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tbookdao.openCurrentSessionwithTransation();\r\n\t\t\tbookdao.deleteAll();\r\n\t\t\tbookdao.closeSessionwithTransaction();\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public void deleteAll() {\n\n\t}", "private void cleanCollectedLinks() {\n for (Iterator itr = visitedLinks.iterator(); itr.hasNext(); ) {\n String thisURL = (String) itr.next();\n if (urlInLinkedList(NetworkUtils.makeURL(thisURL), collectedLinks)) {\n collectedLinks.remove(thisURL.toString());\n// Log.v(\"DLasync.cleanCollected\", \" from CollectedLinks, just cleaned: \" + thisURL);\n// Log.v(\".cleanCollected\", \" collected set is now:\" + collectedLinks.toString());\n }\n }\n\n }", "public void deleteHistory() {\n weatherRepo.deleteAll();\n }", "public final void clearLinks() {\n\t\tlockMe(this);\n\t\tlinks.clear();\n\t\tlinksFromDistance.clear();\n\t\tlinksToDistance.clear();\n\t\tunlockMe(this);\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\tmDB.execSQL(\"DROP TABLE EVENT\");\n\t}", "public void deleteAll();", "public void wipeDB() {\n\t\tSQLiteDatabase db = nodeData.getReadableDatabase();\n\t\tdb.delete(EventDataSQLHelper.TABLE, null, null);\n\t\tdb.close();\n }", "public void deleteAllArticles();", "public void deleteAll()\n\t{\n\t}", "public void deleteAll()\n\t{\n\t}", "public void deleteAll(){\n SQLiteDatabase db = this.getWritableDatabase();\n db.execSQL(\"delete from \" + TABLE_NAME);\n }", "@Override\n\tpublic void removeAll() {\n\t\tfor (LinkGroup linkGroup : findAll()) {\n\t\t\tremove(linkGroup);\n\t\t}\n\t}", "public void deleteAll() {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(TABLE_NAME , null , null);\n }", "void deleteAll() throws Exception;", "void deleteAll() throws Exception;", "public void deleteAllRows() {\n StringBuilder deleteIds = null;\n StringBuilder convertIds = null;\n \n for (mCursor.moveToFirst(); !mCursor.isAfterLast(); mCursor.moveToNext()) {\n String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);\n WebIconDatabase.getInstance().releaseIconForPageUrl(url);\n int id = mCursor.getInt(Browser.HISTORY_PROJECTION_ID_INDEX);\n int numVisits = mCursor.getInt(Browser.HISTORY_PROJECTION_VISITS_INDEX);\n if (0 == numVisits) {\n if (deleteIds == null) {\n deleteIds = new StringBuilder();\n deleteIds.append(\"( \");\n } else {\n deleteIds.append(\" OR ( \");\n }\n deleteIds.append(BookmarkColumns._ID);\n deleteIds.append(\" = \");\n deleteIds.append(id);\n deleteIds.append(\" )\");\n } else {\n // It is no longer a bookmark, but it is still a visited site.\n if (convertIds == null) {\n convertIds = new StringBuilder();\n convertIds.append(\"( \");\n } else {\n convertIds.append(\" OR ( \");\n }\n convertIds.append(BookmarkColumns._ID);\n convertIds.append(\" = \");\n convertIds.append(id);\n convertIds.append(\" )\");\n }\n }\n \n if (deleteIds != null) {\n mContentResolver.delete(Browser.BOOKMARKS_URI, deleteIds.toString(), \n null);\n }\n if (convertIds != null) {\n ContentValues values = new ContentValues();\n values.put(Browser.BookmarkColumns.BOOKMARK, 0);\n mContentResolver.update(Browser.BOOKMARKS_URI, values, \n convertIds.toString(), null);\n }\n refreshList();\n }", "public synchronized void deleteNow() {\n for (FileNode node : delete) {\n tryDelete(node);\n }\n delete.clear();\n }", "private void deleteDatabase() {\n mOpenHelper.close();\r\n Context context = getContext();\r\n NoteDatabase.deleteDatabase(context);\r\n mOpenHelper = new NoteDatabase(getContext());\r\n }", "private void deletePreviousContent()\n {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(DATABASE_TABLE_SINGLE_PAGE, null, null);\n db.close();\n }", "@Override\n public void deleteAll() {\n String deleteAllQuery = \"DELETE FROM \" + getTableName();\n getJdbcTemplate().execute(deleteAllQuery);\n }", "public void truncateBPLinksAnalysis() {\n\t\t\n\t\ttry {\n\t\t\n\t\t\tpreparedStatement = connect_eor_global_nagiosbp.prepareStatement(\"TRUNCATE TABLE bp_links_analysis ;\");\n\t\t\tpreparedStatement.executeUpdate();\n\t\t\n\t\t\tthis.preparedStatement.close();\n\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "protected void _removeLinks() throws java.rmi.RemoteException, javax.ejb.RemoveException {\n\t\tjava.util.List links = _getLinks();\n\t\tfor (int i = 0; i < links.size(); i++) {\n\t\t\ttry {\n\t\t\t\t((com.ibm.ivj.ejb.associations.interfaces.Link) links.get(i)).remove();\n\t\t\t} catch (javax.ejb.FinderException e) {\n\t\t\t} //Consume Finder error since I am going away\n\t\t}\n\t}", "public void clearDatabase() {\n\t\tstudentRepository.deleteAll();\n\t}", "private void clearLinks() {\n links_ = emptyProtobufList();\n }", "private void clearAllDatabases()\n\t{\n\t\tdb.clear();\n\t\tstudent_db.clear();\n\t}", "public void unlinkAll()\n // -end- 3D4FA2190370 head358A5F2B0354 \"unlinkAll\"\n // declare any checked exceptions\n // please fill in/modify the following section\n // -beg- preserve=no 3D4FA2190370 throws358A5F2B0354 \"unlinkAll\"\n\n // -end- 3D4FA2190370 throws358A5F2B0354 \"unlinkAll\"\n {\n // please fill in/modify the following section\n // -beg- preserve=no 3D4FA2190370 body358A5F2B0354 \"unlinkAll\"\n \n clearAttributeDef();\n super.unlinkAll();\n // -end- 3D4FA2190370 body358A5F2B0354 \"unlinkAll\"\n }", "public void removeAll() {\n db.delete(TABLE_NAME, null, null);\n Log.d(\"deleteHistoryCS\", \"Remove All HistoryCS\");\n }", "public void deleteAll() {\n\t\t mongoTemplate.remove(new Query(), COLLECTION);\n\t}", "public void clean() {\n Long now = System.currentTimeMillis();\n for (Iterator<Long> iterator = this.deleted.iterator(); iterator.hasNext();) {\n Long l = iterator.next();\n if (l < now) {\n iterator.remove();\n }\n }\n }", "public void removeAll()\r\n {\n db = this.getWritableDatabase(); // helper is object extends SQLiteOpenHelper\r\n db.execSQL(\"drop table \"+\"campaing\");\r\n db.execSQL(\"drop table \"+\"cafe\");\r\n db.execSQL(\"drop table \"+\"points\");\r\n\r\n db.close ();\r\n }", "public void deleteAllData() {\n SQLiteDatabase db = getWritableDatabase();\n db.beginTransaction();\n try {\n db.delete(TABLE_HISTORY, null, null);\n db.delete(TABLE_LASTSCAN, null, null);\n db.delete(TABLE_SENSOR, null, null);\n db.delete(TABLE_SCANS, null, null);\n\n db.setTransactionSuccessful();\n } catch (Exception e) {\n\n } finally {\n db.endTransaction();\n }\n }", "public void deleteAll() {\n\t\ttry{\t\n\t\t\tbanco.delete(meuBancoHelper.TABELA_MTAG,null,null);\n\t\t\t}\n\t\t\tcatch(NullPointerException e)\n\t\t\t{\n\t\t\t\t\n\t\t\t}\n\t}", "public void delRelations();", "public abstract void deleteAll();", "private void deleteOldTables(){\n jdbcTemplate.execute(\"DROP TABLE OLDcompetence\");\n jdbcTemplate.execute(\"DROP TABLE OLDrole\");\n jdbcTemplate.execute(\"DROP TABLE OLDperson\");\n jdbcTemplate.execute(\"DROP TABLE OLDavailability\");\n jdbcTemplate.execute(\"DROP TABLE OLDcompetence_profile\");\n }", "@Override\n\tpublic void deleteAll() throws Exception {\n\t\tcomproRepository.deleteAll();\n\t}", "public void clearLinks(){\r\n varContextObject=null; \r\n varContextFields=null; \r\n }", "@After\n public void removeEverything() {\n\n ds.delete(uri1);\n ds.delete(uri2);\n ds.delete(uri3);\n\n System.out.println(\"\");\n }", "@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (Legacydb legacydb : findAll()) {\n\t\t\tremove(legacydb);\n\t\t}\n\t}", "protected void _removeLinks() throws java.rmi.RemoteException, javax.ejb.RemoveException {\n\tjava.util.Enumeration links = _getLinks().elements();\n\twhile (links.hasMoreElements()) {\n\t\ttry {\n\t\t\t((com.ibm.ivj.ejb.associations.interfaces.Link) (links.nextElement())).remove();\n\t\t}\n\t\tcatch (javax.ejb.FinderException e) {} //Consume Finder error since I am going away\n\t}\n}", "@Override\n\tpublic void deleteAll() throws Exception {\n\t\topcionRepository.deleteAll();\n\t}", "public void clearDatabase();", "private void deleteAllBooks() {\n int booksDeleted = getContentResolver().delete(BookEntry.CONTENT_URI, null, null);\n Log.v(\"MainActivity\", booksDeleted + getString(R.string.all_deleted));\n }", "public void deleteAllMappings() {\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tdb.delete(TABLE_APP, null, null);\n\t\t\n\t\tsynchronized(mappingLock) {\n\t\t\tinvalidateCache();\n\t\t}\n\n\t}", "public void delIncomingRelations();", "@Override\n\tpublic int delLink(Link link) {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int deleteAll() {\n\t\treturn super.deleteAll();\n\t}", "public static void deleteAll() {\n String sql = \"DELETE FROM articulo\";\n try(Connection conn = connect();\n PreparedStatement pstmt = conn.prepareStatement(sql)){\n pstmt.executeUpdate();\n }\n catch(SQLException e) {\n System.out.println(\"Error al eliminar en la base de datos.\");\n //Descomentar la siguiente linea para mostrar el mensaje de error.\n //System.out.println(e.getMessage());\n }\n }", "public void deleteAllStocks(){\n this.open();\n database.execSQL(\"DELETE FROM \" + SQLiteHelper.TABLE_STOCK);\n this.close();\n }" ]
[ "0.6645092", "0.6633894", "0.6628981", "0.65544486", "0.64549905", "0.63653815", "0.63653815", "0.63653815", "0.63653815", "0.6356521", "0.63490963", "0.6317374", "0.63073385", "0.6301715", "0.6291786", "0.6291761", "0.6291353", "0.6289154", "0.6289154", "0.6289154", "0.6275969", "0.62203246", "0.6214931", "0.6214931", "0.6214931", "0.6214931", "0.6214931", "0.6214931", "0.6214931", "0.6214931", "0.6213708", "0.6197683", "0.6197683", "0.6197683", "0.6178024", "0.61737025", "0.6167032", "0.6148727", "0.61460835", "0.61217284", "0.6116851", "0.611057", "0.6088169", "0.6084947", "0.6084947", "0.6084947", "0.60805494", "0.6068062", "0.6063193", "0.6050315", "0.6049452", "0.6039294", "0.60287255", "0.60278326", "0.6022031", "0.6003337", "0.5985645", "0.59578544", "0.5957853", "0.59416974", "0.59416974", "0.5933079", "0.59177214", "0.59145606", "0.5914287", "0.5914287", "0.59138983", "0.59111774", "0.59065014", "0.5900558", "0.5897939", "0.58924145", "0.58747643", "0.5872751", "0.58700144", "0.5865993", "0.5853249", "0.5842441", "0.58103293", "0.5799008", "0.5779022", "0.5776981", "0.57729137", "0.5764891", "0.5755057", "0.5730636", "0.5724672", "0.57176197", "0.57166237", "0.5713456", "0.56918925", "0.56840914", "0.5681743", "0.5678823", "0.5672423", "0.5664679", "0.565824", "0.56520045", "0.56464785", "0.56395346" ]
0.59736496
57
Deletes all anonymous link that corresponds to the given UUIDs
public static void delete(List<String> uuids) throws SQLException { final String methodName = "delete(List<String>)"; Connection con = null; try { con = Common.getConnection(); Common.beginTransaction(con); for (String uuid : uuids) { delete(uuid, con); } Common.endTransaction(con); } catch (SQLException e) { log.error(methodName, "Caught SQLException e: " + e.getMessage(), e); Common.doRollback(con); throw e; } finally { Common.safeClose(con); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unpublish(List<String> uuids) throws GWTJahiaServiceException;", "void delete(String uuid);", "public void deletelink(Integer linkId);", "public void clearLinkRemovalTags() {\n\tfor (Link l : allLinks)\n\t l.clearRemovalTag();\n }", "void clearLinks();", "public void removeAllLinks() {\n\t\tfor (int i=0; i<links.size(); i++){\n\t\t\tlinks.remove(i);\n\t\t}\n\t}", "public abstract void delete(Iterable<Long> ids);", "boolean delete(String linkId);", "void delete(UUID id);", "void delete(UUID id);", "void delete(UUID id);", "void delete(UUID id);", "protected void _removeLinks() throws java.rmi.RemoteException, javax.ejb.RemoveException {\n\t\tjava.util.List links = _getLinks();\n\t\tfor (int i = 0; i < links.size(); i++) {\n\t\t\ttry {\n\t\t\t\t((com.ibm.ivj.ejb.associations.interfaces.Link) links.get(i)).remove();\n\t\t\t} catch (javax.ejb.FinderException e) {\n\t\t\t} //Consume Finder error since I am going away\n\t\t}\n\t}", "protected void _removeLinks() throws java.rmi.RemoteException, javax.ejb.RemoveException {\n\tjava.util.Enumeration links = _getLinks().elements();\n\twhile (links.hasMoreElements()) {\n\t\ttry {\n\t\t\t((com.ibm.ivj.ejb.associations.interfaces.Link) (links.nextElement())).remove();\n\t\t}\n\t\tcatch (javax.ejb.FinderException e) {} //Consume Finder error since I am going away\n\t}\n}", "@Override\r\n\tpublic void removeByUuid(String uuid) {\r\n\t\tfor (Share share : findByUuid(uuid, QueryUtil.ALL_POS,\r\n\t\t\t\tQueryUtil.ALL_POS, null)) {\r\n\t\t\tremove(share);\r\n\t\t}\r\n\t}", "@Override\n\tpublic void delete(List<Long> ids) {\n\t}", "public void deleteAllArticles();", "private void clearLinks() {\n links_ = emptyProtobufList();\n }", "private void deleteConnections() {\n for (int i = 0; !this.sourceConnections.isEmpty(); ) {\n LinkElement wire = (LinkElement) this.sourceConnections.get(i);\n wire.detachSource();\n wire.detachTarget();\n this.graphElement.removeEdge(wire.getEdgeId(), wire);\n }\n\n for (int i = 0; !this.targetConnections.isEmpty(); ) {\n LinkElement wire = (LinkElement) this.targetConnections.get(i);\n wire.detachSource();\n wire.detachTarget();\n this.graphElement.removeEdge(wire.getEdgeId(), wire);\n }\n }", "@After\n public void removeEverything() {\n\n ds.delete(uri1);\n ds.delete(uri2);\n ds.delete(uri3);\n\n System.out.println(\"\");\n }", "@Override\n\tpublic void removeAll() {\n\t\tfor (LinkGroup linkGroup : findAll()) {\n\t\t\tremove(linkGroup);\n\t\t}\n\t}", "public void deleteMulti(String ids);", "public void deleteAllRepeaters() {\n new DeleteAllRepeatersAsyncTask(repeaterDao).execute();\n }", "public final void clearLinks() {\n\t\tlockMe(this);\n\t\tlinks.clear();\n\t\tlinksFromDistance.clear();\n\t\tlinksToDistance.clear();\n\t\tunlockMe(this);\n\t}", "void makeLinksWithStudiesDeleted(Long tenantId, Long dataSourceId);", "public void deleteAll();", "public void deleteAll();", "public void deleteAll();", "@Override\r\n\tpublic void deleteAllAccounts() {\n\t\t\r\n\t}", "public void delete(Long[] ids) throws ProcessingException;", "public void deleteUserJoinsbyTid(Integer tid);", "@Override\n\tpublic void delete(String[] ids) throws Exception {\n\t\t\n\t}", "void deleteNodes(ZVNode[] nodes);", "public void DeleteAllActivityUser(iconnectionpool connectionPool, String id){\n try{\n Connection con=null;\n //get connection from Pool\n con=connectionPool.getConnection();\n Statement stmt=con.createStatement(); \n String sql=\"delete from similarplaces where id_user=\"+id;\n stmt.executeUpdate(sql); \n }catch(Exception e){}\n }", "@Override\n\tpublic void deleteAll() {\n\t\t List<User> userList = selectAllUser();\n\t\t for (User user : userList) {\n\t\t\tuserMapper.deleteUser(user.getId());\n\t\t}\n\t}", "public boolean deleteAllOfUser(Integer idu);", "void deleteAll();", "void deleteAll();", "void deleteAll();", "public void removeByUuid(String uuid);", "public void removeByUuid(String uuid);", "public void removeByUuid(String uuid);", "@Override\n public boolean delete(List<String> ids) {\n return false;\n }", "void deleteNavigationEntries(final String navigationNodeUid) throws CMSItemNotFoundException;", "public void removeByUuid(java.lang.String uuid);", "void delete(String resourceGroupName, String searchServiceName, String sharedPrivateLinkResourceName);", "void delete(\n String resourceGroupName, String searchServiceName, String sharedPrivateLinkResourceName, UUID clientRequestId);", "public void deleteAllToken() throws BusinessException;", "public void deleteUserJoinsbyUid(int tid, int uid);", "public void removeDeviceServiceLink();", "private void cleanCollectedLinks() {\n for (Iterator itr = visitedLinks.iterator(); itr.hasNext(); ) {\n String thisURL = (String) itr.next();\n if (urlInLinkedList(NetworkUtils.makeURL(thisURL), collectedLinks)) {\n collectedLinks.remove(thisURL.toString());\n// Log.v(\"DLasync.cleanCollected\", \" from CollectedLinks, just cleaned: \" + thisURL);\n// Log.v(\".cleanCollected\", \" collected set is now:\" + collectedLinks.toString());\n }\n }\n\n }", "public void deleteAll() {\n new Thread(new DeleteAllRunnable(dao)).start();\n }", "@Override\n\tpublic void deleteAllUsers() {\n\t\t\n\t}", "@Override\n public boolean delete(String ids) {\n return false;\n }", "@GetMapping(\"/deleteAll\")\n public void deleteAll() {\n userRepository.deleteAll().subscribe();\n }", "public void delIncomingRelations();", "public void deleteAll();", "void delete(List<ViewResourcesMappingPK> list) throws Exception;", "@Override\r\n\tpublic void removeByUuid_C(String uuid, long companyId) {\r\n\t\tfor (Share share : findByUuid_C(uuid, companyId, QueryUtil.ALL_POS,\r\n\t\t\t\tQueryUtil.ALL_POS, null)) {\r\n\t\t\tremove(share);\r\n\t\t}\r\n\t}", "public void deleteAll(){\r\n\t\thead = null;\r\n\t}", "private void clearAliasList() throws AliasNotFoundException {\n for (Alias alias : uniqueAliasList.getAliasObservableList()) {\n uniqueAliasList.remove(alias.getAlias());\n }\n }", "void unregister(String uuid);", "public void unlinkAll()\n // -end- 3D4FA2190370 head358A5F2B0354 \"unlinkAll\"\n // declare any checked exceptions\n // please fill in/modify the following section\n // -beg- preserve=no 3D4FA2190370 throws358A5F2B0354 \"unlinkAll\"\n\n // -end- 3D4FA2190370 throws358A5F2B0354 \"unlinkAll\"\n {\n // please fill in/modify the following section\n // -beg- preserve=no 3D4FA2190370 body358A5F2B0354 \"unlinkAll\"\n \n clearAttributeDef();\n super.unlinkAll();\n // -end- 3D4FA2190370 body358A5F2B0354 \"unlinkAll\"\n }", "@Override\n\tpublic int deleteAccounts(List<Long> ids) {\n\t\treturn auMapper.deleteAccounts(ids);\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "void delete(\n String resourceGroupName,\n String searchServiceName,\n String sharedPrivateLinkResourceName,\n UUID clientRequestId,\n Context context);", "@Override\n public void deleteAllPrivies() {\n }", "public void deleteAllPeople() {\n }", "@Override\n\tpublic void deleteById(UUID id) {\n\t\t\n\t}", "void deleteMulti(String[] pids);", "@Override\n\t@Transactional\n\tpublic void deleteAllRoutes() {\n\t\trouteDAO.deleteAllRoutes();\t\t\n\t}", "@Override\n public void deleteAllAccounts() {\n synchronized (accounts) {\n accounts.clear();\n }\n }", "public abstract void deleteAll();", "public void deleteAllMember()\n\t{\n\t\tmembers.clear();\n\t}", "public boolean deleteAllOfUserAndNote(Integer idu, Integer idn);", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "int deleteByPrimaryKey(Integer linkid);", "public void deleteAllRequests() {\n try {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(TABLE_NAME, null, null);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n db.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public void remove(String ids);", "@Override\n\tpublic void deleteAll() {\n\n\t}", "@Override\n\tpublic void deleteAll() {\n\n\t}", "@Override\n\tpublic void deleteAll() {\n\n\t}", "public void deleteAllVisibleCookies();", "@Override\n\tpublic Result<String> delete(List<Long> ids) {\n\t\treturn null;\n\t}", "public void deleteAll() {\n\t\t\n\t}", "@Override\r\n\tpublic void delete(Iterable<? extends Candidat> entities) {\n\r\n\t}", "void delete(List<MountPoint> mountPoints);", "void deleteAll() throws Exception;", "void deleteAll() throws Exception;", "@Override\n\tpublic int delLink(Link link) {\n\t\treturn 0;\n\t}" ]
[ "0.63550895", "0.63351303", "0.6091373", "0.5996668", "0.59176266", "0.5871594", "0.5708837", "0.5707633", "0.57040656", "0.57040656", "0.57040656", "0.57040656", "0.56684506", "0.5662025", "0.56331575", "0.55805075", "0.5569822", "0.55695766", "0.5535024", "0.55290467", "0.5509788", "0.55081326", "0.5488464", "0.54627603", "0.5418045", "0.5416735", "0.5416735", "0.5416735", "0.5401951", "0.53899205", "0.53813815", "0.53719103", "0.53544337", "0.5332404", "0.53114295", "0.5309274", "0.5306085", "0.5306085", "0.5306085", "0.53023046", "0.53023046", "0.53023046", "0.5300475", "0.52999926", "0.5287433", "0.5284934", "0.5279834", "0.5276731", "0.5273638", "0.527008", "0.5239774", "0.5237882", "0.52343655", "0.5202726", "0.51941586", "0.5178326", "0.5177736", "0.51708", "0.5167808", "0.5167759", "0.5153217", "0.5151327", "0.5144008", "0.51350576", "0.51319844", "0.51319844", "0.51319844", "0.51319844", "0.5129071", "0.5127439", "0.5126313", "0.5119582", "0.5114057", "0.51049095", "0.51036716", "0.5102062", "0.50945175", "0.50910443", "0.5078223", "0.5078223", "0.5078223", "0.5078223", "0.5078223", "0.5078223", "0.5078223", "0.5078223", "0.50759363", "0.5071673", "0.5066472", "0.5053223", "0.5053223", "0.5053223", "0.50521463", "0.5049648", "0.5049006", "0.5043627", "0.50426996", "0.5041795", "0.5041795", "0.50346655" ]
0.60570544
3
Deletes an anonymous link that corresponds to a given UUID
public static void delete(String uuid) { final String methodName = "delete(String)"; Connection con = null; try { con = Common.getConnection(); Common.beginTransaction(con); delete(uuid, con); Common.endTransaction(con); } catch (SQLException e) { log.error(methodName, "Caught SQLException: " + e.getMessage(), e); Common.doRollback(con); } finally { Common.safeClose(con); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void delete(String uuid);", "public void deletelink(Integer linkId);", "boolean delete(String linkId);", "void delete(UUID id);", "void delete(UUID id);", "void delete(UUID id);", "void delete(UUID id);", "public void deleteLink(IHyperLink link)\n throws OculusException;", "@Override\n\tpublic int delLink(Link link) {\n\t\treturn 0;\n\t}", "int deleteByPrimaryKey(Integer linkid);", "public void removeByUuid(String uuid);", "public void removeByUuid(String uuid);", "public void removeByUuid(String uuid);", "public void removeByUuid(java.lang.String uuid);", "boolean removeLink(Link link);", "void delete(SecretIdentifier secretIdentifier);", "void delete(String identifier) throws IOException;", "int deleteByPrimaryKey(String uuid);", "void delete(\n String resourceGroupName, String searchServiceName, String sharedPrivateLinkResourceName, UUID clientRequestId);", "void delete(String resourceGroupName, String searchServiceName, String sharedPrivateLinkResourceName);", "int deleteByPrimaryKey(String loginuuid);", "@Override\n\tpublic void deleteById(UUID id) {\n\t\t\n\t}", "LinkedService deleteById(String id);", "public void removeDeviceServiceLink();", "void delete(\n String resourceGroupName,\n String searchServiceName,\n String sharedPrivateLinkResourceName,\n UUID clientRequestId,\n Context context);", "ResponseEntity deleteById(UUID id);", "void delete( Long id );", "public void delete(Long id) {\n log.debug(\"Request to delete ShortLink : {}\", id);\n shortLinkRepository.delete(id);\n }", "@Override\n\tpublic void deleteLinkmanById(long id) {\n\t\tmapper.deleteByPrimaryKey(id);\n\t}", "int deleteByExample(TempletLinkExample example);", "private void linkRemoved(Link link) {\n\n\t}", "void delete(String id);", "void delete(String id);", "void delete(String id);", "void delete(String id);", "void delete(String id);", "void delete(String id);", "void delete(Accessprofile accessprofile);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);", "void delete(Long id);" ]
[ "0.7241315", "0.715992", "0.6921919", "0.6710643", "0.6710643", "0.6710643", "0.6710643", "0.6541248", "0.6147518", "0.6130685", "0.6114118", "0.6114118", "0.6114118", "0.6113646", "0.6027417", "0.5951261", "0.59169334", "0.5904997", "0.58805853", "0.58784854", "0.58729297", "0.5861797", "0.5829493", "0.58106595", "0.5803874", "0.5796583", "0.57871693", "0.5786148", "0.5742522", "0.5738625", "0.572777", "0.5724057", "0.5724057", "0.5724057", "0.5724057", "0.5724057", "0.5724057", "0.5686699", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376", "0.564376" ]
0.5770899
28
Adds all primitives in a job to the anonymous names table for use in the anonymous job page.
public static void addAnonymousNamesForJob(final int jobId) throws SQLException { final String methodName = "addAnonymousNamesForJob"; log.entry(methodName); Job job = Jobs.getWithSimplePairs(jobId); List<JobPair> jobPairs = job.getJobPairs(); List<Benchmark> benchmarks = new ArrayList<>(); List<Solver> solvers = new ArrayList<>(); for (JobPair pair : jobPairs) { benchmarks.add(pair.getBench()); for (JoblineStage stage : pair.getStages()) { solvers.add(stage.getSolver()); } } Connection con = null; try { // Generate a map of anonymized solver names and add them to the database. Map<Integer, String> anonymizedSolverNames = buildAnonymizedSolverNamesMap(solvers); con = Common.getConnection(); Common.beginTransaction(con); for (Integer solverId : anonymizedSolverNames.keySet()) { // For each solver, add all the anonymous config names. Map<Integer, String> anonymizedConfigNames = buildAnonymizedConfigNamesMap(solverId); for (Integer configId : anonymizedConfigNames.keySet()) { String anonymousConfigName = anonymizedConfigNames.get(configId); addAnonymousPrimitiveName(anonymousConfigName, configId, R.CONFIGURATION, jobId, con); } String anonymousSolverName = anonymizedSolverNames.get(solverId); addAnonymousPrimitiveName(anonymousSolverName, solverId, R.SOLVER, jobId, con); } // Generate a map of anonymized benchmark names and add them to the database. Map<Integer, String> anonymizedBenchmarkNames = buildAnonymizedBenchmarkNamesMap(benchmarks); for (Integer benchmarkId : anonymizedBenchmarkNames.keySet()) { String anonymousBenchmarkName = anonymizedBenchmarkNames.get(benchmarkId); addAnonymousPrimitiveName(anonymousBenchmarkName, benchmarkId, R.BENCHMARK, jobId, con); } Common.endTransaction(con); } catch (SQLException e) { log.error(methodName, e.getMessage(), e); throw e; } finally { Common.doRollback(con); Common.safeClose(con); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadJobs(){\n\t\tsuperJobsList.clear();\n\t\tsuperJobs=jdbc.getProjectsAndJobs();\n\t\tfor(Job j: superJobs){\n\t\t\tsuperJobsList.addElement(j.jobname);\n\t\t}\n\t\t\n\t}", "int addJobs(Iterable<? extends PrintJob> jobs);", "public static void EmployeeJob() {\r\n\t\t\r\n\t\tJLabel e4 = new JLabel(\"Employee's Job:\");\r\n\t\te4.setFont(f);\r\n\t\tGUI1Panel.add(e4);\r\n\t\tGUI1Panel.add(employeeJobType);\r\n\t\te4.setHorizontalAlignment(JLabel.LEFT);\r\n\t\tGUI1Panel.add(Box.createHorizontalStrut(5));\r\n\t}", "final static void addJob(BatchJob<?> job) {\n\t\tif(job == null) {\n\t\t\tthrow new IllegalArgumentException(\"Job cannot be null\");\n\t\t}\n\t\t\n\t\tBatchCentral.ALL_BATCH_JOBS.add(job);\n\t}", "@Override\n public String getTypeName() {\n return job_name;\n }", "void setJobName(String jobName);", "private void saveJobList() {\n\t\tFileLoader.saveObject(getApplicationContext(), FILE_NAME_JOBS, (Serializable) jobs);\n\t}", "@RequestMapping(\"/listjobs\")\n public String listJobs(Model model)\n {\n model.addAttribute(\"alljobs\",jobs.findAll());\n return \"listjobs\";\n }", "public void addNames() {}", "public void addNames() {}", "public String[] getAllJobs();", "public void setJobID(int jobId) {\n\t\tthis.jobsId.add(jobId);\n\t}", "@RequestMapping(\"/addjob\")\n public String addJob(Model model)\n {\n model.addAttribute(\"aJob\",new Job());\n return \"addjob\";\n }", "String jobTableName();", "public void setJob(String job) {\n this.job = job;\n }", "@Override\n\tpublic void setJob(String job) {\n\t\tsuper.setJob(job);\n\t}", "public static Object $OpenId(Object $job) {\n\t\tthrow new UnsupportedOperationException();\n\t}", "@Override\r\n\tpublic List<Job> ShowAllJobs() {\n\t\treturn null;\r\n\t}", "public void setJob(String job) {\r\n\t\t\tthis.job = job;\r\n\t\t}", "@SuppressWarnings(\"checkstyle:avoidinlineconditionals\")\n private static void setUpNameList() {\n List<String> names = new ArrayList<>();\n String verb;\n String noun;\n for (int i = 0; i < NUMBER_OF_NAMES; i++) {\n verb = GenerationHelper.randomElement(verbs);\n noun = GenerationHelper.randomElement(nouns);\n String taskName = verb;\n taskName += \"aeiou\".contains(noun.subSequence(0, 1)) ? \" an \" : \" a \";\n taskName += noun;\n names.add(Character.toUpperCase(taskName.charAt(0)) + taskName.substring(1));\n }\n taskNames = new String[names.size()];\n names.toArray(taskNames);\n }", "boolean addJob(PrintJob job);", "public void nameAnalysis(SymTable symTab) {\n myId.nameAnalysis(symTab);\n myExpList.nameAnalysis(symTab);\n }", "public JobBuilder withIdentity(String name) {\n key = new JobKey(name, null);\n return this;\n }", "public void setJob(Job jobNum){\n job = jobNum;\n }", "public void storeJobsToJobList(String jobDetails)\n {\n String[] allJob = jobDetails.split(\";\");\n \n \n for (int line = 0; line < allJob.length ; line++)\n {\n String[] details = allJob[line].split(\"///\");\n String jobRecruiterUsername = details[0];\n String title = details[1];\n String description = details[2];\n int salary = Integer.parseInt(details[3].trim());\n String location = details[4];\n String[] categories = details[5].split(\",\");\n ArrayList<String> category = new ArrayList<String>();\n for (int i = 0; i < categories.length; i++)\n {\n category.add(categories[i]);\n }\n String[] skillset = details[6].split(\",\");\n ArrayList<String> skillsets = new ArrayList<String>();\n for (int i = 0; i < skillset.length; i++)\n {\n skillsets.add(skillset[i]);\n }\n String[] jobSeekerUsernames = details[7].split(\",\");\n ArrayList<String> jobSeekerUsername = new ArrayList<String>();\n for (int i = 0; i < jobSeekerUsernames.length; i++)\n {\n jobSeekerUsername.add(jobSeekerUsernames[i]);\n }\n \n Job job = new Job(jobRecruiterUsername, title, description, salary, location, category, skillsets, jobSeekerUsername); \n \n jobList.add(job); \n \n }\n }", "public static void writeNewJob(Job job) {\n DatabaseReference database = FirebaseDatabase.getInstance().getReference();\n database.child(\"jobs\").push().setValue(job);\n }", "public void setJobName(String jobName) {\n this.jobName = jobName;\n }", "public void setJobName(String jobName) {\n this.jobName = jobName;\n }", "public void setJobName(String jobName) {\n this.jobName = jobName;\n }", "public void addPlayer(HeroClass newJob){job.add(newJob);}", "private void syncProfileNames() {\r\n\t\tfor (int i = 0; i < parsedProfiles.size(); i++) {\r\n\t\t\tparsedProfiles.get(i).setName(tableSelectionPD.getProfileName(i));\r\n\t\t}\r\n\t}", "private void updateSystemObjectsName(OpProjectSession session, OpBroker broker) {\r\n OpUser admin = session.administrator(broker);\r\n admin.setDisplayName(OpUser.ADMINISTRATOR_DISPLAY_NAME);\r\n admin.setDescription(OpUser.ADMINISTRATOR_DESCRIPTION);\r\n OpGroup every = session.everyone(broker);\r\n every.setDisplayName(OpGroup.EVERYONE_DISPLAY_NAME);\r\n every.setDescription(OpGroup.EVERYONE_DESCRIPTION);\r\n broker.updateObject(admin);\r\n broker.updateObject(every);\r\n }", "public void addJob(String name, JobInProgress job) {\n Queue<JobInProgress> queue = queues.get(name);\n if (null != queue)\n queue.addJob(job);\n }", "@Override\n\tpublic void setJobName(String jobName) {\n\t\tmodel.setJobName(jobName);\n\t}", "@Override\n public String getTypeID() {\n return job_id;\n }", "interface Blank extends WithJobAgent {\n }", "private void saveDataToShardPreferenceByWidget(ArrayList<Job> jobs) {\n }", "@Override\r\n\tpublic List<JobDTO> getAllJobs() {\n\t\treturn accountDao.getAllJobs();\r\n\t}", "public void setJobName(String JobName) {\n this.JobName = JobName;\n }", "public void print(T job) {\n System.out.println(\"Printing job id \" + job.getId() + \": \" + job.getDocument().getText());\n }", "@VisibleForTesting\n protected void addFullTableName(String stageName) {\n String bqTableName = getBQTableName(stageName);\n stageToFullTableNameMap.put(stageName,\n String.format(\"`%s.%s.%s`\", dataset.getProject(), dataset.getDataset(), bqTableName));\n }", "private void saveNameToLocalStorage(String phNumber, int status) {\n db.addName(phNumber, status);\n Name n = new Name(phNumber, status);\n names.add(n);\n\n\n\n }", "public void attachJob(Job job) {\n\t\tthis.job = job.copy();\n\t}", "@Override\n public String getJobName() {\n return operate_name;\n }", "public GetJobs() {\r\n\t\tsuper();\r\n\t}", "public static Map<Integer, String> getAnonymizedJobSpaceNames(final int jobId) {\n\t\tJob job = Jobs.get(jobId);\n\n\t\tList<JobSpace> jobSpaces = Spaces.getSubSpacesForJob(job.getPrimarySpace(), true);\n\t\tjobSpaces.add(Spaces.getJobSpace(job.getPrimarySpace()));\n\t\tjobSpaces.sort(Comparator.comparingInt(Identifiable::getId));\n\n\t\tMap<Integer, String> jobSpaceIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (JobSpace space : jobSpaces) {\n\t\t\tint spaceId = space.getId();\n\t\t\tif (!jobSpaceIdToAnonymizedName.containsKey(spaceId)) {\n\t\t\t\tjobSpaceIdToAnonymizedName.put(spaceId, \"Space\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn jobSpaceIdToAnonymizedName;\n\t}", "public static Object createNameforNewEnsemble(Map extendedData) {\n \t\treturn \"A dynamic name\";\r\n \t}", "private String jobs() {\r\n\t\tint[] j=tile.getJobs();\r\n\t\tString out = \"Jobs Are: \";\r\n\t\tfor(int i=0; i<j.length;i++) {\r\n\t\t\tout=out.concat(i+\": \"+(j[i])+\" || \");\r\n\t\t}\r\n\t\treturn out;\r\n\t}", "private static String createNewJobid(V2JobDefinition jobDefinition, NamedJobs namedJobs) throws InvalidNamedJobException {\n final NamedJobs.JobIdForSubmit jobIdForSubmit = namedJobs.getJobIdForSubmit(jobDefinition.getName(), jobDefinition);\n return jobIdForSubmit.getJobId();\n }", "private void printJobInfo\n\t\t(PrintWriter out,\n\t\t long now,\n\t\t JobInfo job,\n\t\t int i)\n\t\t{\n\t\tboolean first;\n\t\tout.print (\"<TR BGCOLOR=\\\"#\");\n\t\tout.print (i%2==0 ? \"FFFFFF\" : \"E8E8E8\");\n\t\tout.println (\"\\\">\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.jobnum);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.username);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.Nn);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.Np);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.Nt == 0 ? \"all\" : \"\"+job.Nt);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tif (job.count == 0)\n\t\t\t{\n\t\t\tout.print (\"&nbsp;\");\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\tfor (int j = 0; j < job.count; ++ j)\n\t\t\t\t{\n\t\t\t\tif (j > 0) out.print (\"<BR>\");\n\t\t\t\tout.print (j);\n\t\t\t\t}\n\t\t\t}\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tif (job.count == 0)\n\t\t\t{\n\t\t\tout.print (\"&nbsp;\");\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\tfor (int j = 0; j < job.count; ++ j)\n\t\t\t\t{\n\t\t\t\tif (j > 0) out.print (\"<BR>\");\n\t\t\t\tout.print (job.backend[j].name);\n\t\t\t\t}\n\t\t\t}\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tif (job.count == 0)\n\t\t\t{\n\t\t\tout.print (\"&nbsp;\");\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\tfor (int j = 0; j < job.count; ++ j)\n\t\t\t\t{\n\t\t\t\tif (j > 0) out.print (\"<BR>\");\n\t\t\t\tout.print (job.cpus[j]);\n\t\t\t\t}\n\t\t\t}\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (job.state);\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tprintDeltaTime (out, now, job.stateTime);\n\t\tout.println (\"</TD>\");\n\t\tout.println (\"</TR>\");\n\t\t}", "private void realPrint(PrintJob job) {\n\t}", "private void realPrint(PrintJob job) {\n\t}", "public Frm_AddJob() {\n initComponents();\n ClearEdit();\n }", "private void addEmployeeInfo(Section catPart) throws SQLException, IOException{\r\n PdfPTable employee = new PdfPTable(1);\r\n \r\n Paragraph empId = new Paragraph(\"Medarbejdernummer: \"+model.getTimeSheet(0).getEmployeeId());\r\n PdfPCell empIdCell = new PdfPCell(empId);\r\n empIdCell.setBorderColor(BaseColor.WHITE);\r\n String name = fal.getFiremanById(model.getTimeSheet(0).getEmployeeId()).getFirstName() +\" \"+ fal.getFiremanById(model.getTimeSheet(0).getEmployeeId()).getLastName();\r\n Paragraph empName = new Paragraph(\"Navn: \" + name);\r\n PdfPCell empNameCell = new PdfPCell(empName);\r\n empNameCell.setBorderColor(BaseColor.WHITE);\r\n \r\n employee.setHeaderRows(0);\r\n employee.addCell(empIdCell);\r\n employee.addCell(empNameCell);\r\n employee.setWidthPercentage(80.0f);\r\n \r\n catPart.add(employee);\r\n }", "public void markUseIdentifierNameString() {\n useIdentifierNameString = true;\n }", "@Override\n\tpublic String getJobName() {\n\t\treturn model.getJobName();\n\t}", "public void todo(@MyFirstAnnotation(name=\"none\") String job){\n\t\t\n\t\t@MyFirstAnnotation(name=\"Some name\")\n\t\tint localVariable=0;\n\t}", "public JobID() {\n super();\n }", "public void initialize() {\n sceneSwitch = SceneSwitch.getInstance();\n sceneSwitch.addScene(addPartToJobStackPane, NavigationModel.ADD_PART_TO_JOB_ID);\n usernameLbl.setText(DBLogic.getDBInstance().getUsername());\n usertypeLbl.setText(DBLogic.getDBInstance().getUser_type());\n jobReference = jobReference.getInstance();\n partHashMap = new HashMap<>();\n refreshList();\n }", "private void printJobLabels\n\t\t(PrintWriter out)\n\t\t{\n\t\tout.println (\"<TR BGCOLOR=\\\"#E8E8E8\\\">\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>Job</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>User</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>nn</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>np</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>nt</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>Rank</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>Node</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>CPUs</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>Status</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.print (\"<TD ALIGN=\\\"left\\\" VALIGN=\\\"top\\\">\");\n\t\tout.print (\"<I>Time</I>\");\n\t\tout.println (\"</TD>\");\n\t\tout.println (\"</TR>\");\n\t\t}", "public void submitJob(Job job) {\n\t\tthis.jobs.add(job);\n\t}", "org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType insertNewGssExportedName(int i);", "public void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);", "public void nameAnalysis(SymTable symTab) {\n myAssign.nameAnalysis(symTab);\n }", "public void loadNames() {\n\t\tloadNames(false);\n\t}", "@Override\n\tpublic List<User> requetenamed(String requete, Object... tab) {\n\t\treturn this.userservice.requetenamed(requete, tab);\t\n\t}", "private void intiPlanTable(){\n //gets all plans that are linked with the current profile\n List<Plan> planList = profile.getPlans().getPlans();\n //now add all plans to the table\n DefaultTableModel model = (DefaultTableModel) this.jTable1.getModel();\n model.setRowCount(0);\n planList.forEach((p) -> {\n model.addRow(new Object[]{p.getPlanName(),p});\n });\n }", "public void setJobIDs(Collection<Integer> jobIds) {\n\t\tthis.jobsId.addAll(jobIds);\n\t}", "public String[][] generarJobs(int numeroJobs,int numeroParametros, Rango[] rangoParametros);", "void storeJob(Job job, JobStatus status, Map<String, Object> jobOutput, String[] standardOutput);", "private long logStart(int jobId, String jobName, int runMode) throws SystemException {\r\n\t\tTrangThaiJob trangThaiJob = new TrangThaiJobImpl();\r\n\t\t\r\n\t\ttrangThaiJob.setID(CounterLocalServiceUtil.increment(\"job_trangthaijob\"));\r\n\t\t\r\n\t\ttrangThaiJob.setJobId(jobId);\r\n\t\t\r\n\t\ttrangThaiJob.setJobName(jobName);\r\n\t\t\r\n\t\ttrangThaiJob.setRunMode(runMode);\r\n\t\t\r\n\t\ttrangThaiJob.setStartTime(new Date());\r\n\t\t\r\n\t\tTrangThaiJobLocalServiceUtil.addTrangThaiJob(trangThaiJob);\r\n\t\t\r\n\t\treturn trangThaiJob.getID();\r\n\t}", "public void nameAnalysis(SymTable symTab) {\n myExp.nameAnalysis(symTab);\n }", "public void nameAnalysis(SymTable symTab) {\n myExp.nameAnalysis(symTab);\n }", "public void nameAnalysis(SymTable symTab) {\n myExp.nameAnalysis(symTab);\n }", "public void nameAnalysis(SymTable symTab) {\n myExp.nameAnalysis(symTab);\n }", "public void nameAnalysis(SymTable symTab) {\n myExp.nameAnalysis(symTab);\n }", "public void addToTable(Attribute object) {\n\t\tlist.add(object);\n\t\toracle.add(object.getFriendlyName());\n\t\tdataProvider.flush();\n\t\tdataProvider.refresh();\n\t}", "@Override\n\tpublic void name() {\n\t\t\n\t}", "@Override\n\tpublic void name() {\n\t\t\n\t}", "public void addEmployee(EmployeeInfo theEmployee) {\n int targetBucket = calcBucket(theEmployee.getEmployeeNum());\n buckets[targetBucket].add(theEmployee);\n numInTable++;\n }", "public void addJobToWaitingList(CommonCommand newJob) {\n \t\tif (null != localMonitor)\n \t\t\tlocalMonitor.newJobToWaitingList(newJob);\n \t}", "public void nameAnalysis(SymTable symTab) {\n if (myExp != null) {\n myExp.nameAnalysis(symTab);\n }\n }", "private void appendPrimaryTableName() {\n super.appendTableName(Constants.FROM, joinQueryInputs.primaryTableName);\n }", "public static Hashtable<String, Double> fakeJobDescriptionTF() {\n job_description_tf = new Hashtable<String, Double>();\n job_description_tf.put(\"am\", (double) 1 / 7);\n job_description_tf.put(\"learning\", (double) 1 / 7);\n job_description_tf.put(\"javascript\", (double) 1 / 7);\n job_description_tf.put(\"java\", (double) 1 / 7);\n job_description_tf.put(\"is\", (double) 1 / 7);\n job_description_tf.put(\"cool\", (double) 1 / 7);\n job_description_tf.put(\"language\", (double) 1 / 7);\n job_description_tf.put(\"requirement\", (double) 0);\n job_description_tf.put(\"for\", (double) 0);\n job_description_tf.put(\"this\", (double) 0);\n job_description_tf.put(\"job\", (double) 0);\n job_description_tf.put(\"python\", (double) 0);\n job_description_tf.put(\"wonderful\", (double) 0);\n return job_description_tf;\n }", "@Override\r\n\tpublic void setAddNewObjectIdentifier(String arg0, Long arg1)\r\n\t{\n\r\n\t}", "DbObjectNameAll createDbObjectNameAll();", "public void setJOB_ID(BigDecimal JOB_ID) {\r\n this.JOB_ID = JOB_ID;\r\n }", "private void createGridlet(int userID, int numGridlet)\n {\n int data = 500; // 500KB of data\n for (int i = 0; i < numGridlet; i++)\n {\n // Creates a Gridlet\n Gridlet gl = new Gridlet(i, data, data, data);\n gl.setUserID(userID);\n\n // add this gridlet into a list\n this.jobs.add(gl);\n }\n }", "private static List<String> getNamedOutputsList(JobContext job) {\r\n\t\tList<String> names = new ArrayList<String>();\r\n\t\tStringTokenizer st = new StringTokenizer(\r\n\t\t\t\tjob.getConfiguration().get(MULTIPLE_OUTPUTS, \"\"), \" \");\r\n\t\twhile (st.hasMoreTokens()) {\r\n\t\t\tnames.add(st.nextToken());\r\n\t\t}\r\n\t\treturn names;\r\n\t}", "public String getJobName() {\n return this.mJob;\n }", "void fillNameBox() {\n\t\tJLabel ruleNameLabel = new JLabel(overviewRule.getRuleName());\n\n\t\tnameBox.add(nameLabel);\n\t\tnameBox.add(ruleNameLabel);\n\t}", "public void markEnodebNameReplace() throws JNCException {\n markLeafReplace(\"enodebName\");\n }", "public void nameAnalysis(SymTable symTab) {\n for (ExpNode node : myExps) {\n node.nameAnalysis(symTab);\n }\n }", "@Override\r\n\tpublic void work() {\n\t\tSystem.out.println( aname + \"Berkerja\");\r\n\t}", "public String getJobName() {\n return this.jobName;\n }", "@EventListener(classes = ApplicationReadyEvent.class)\n\tpublic void startAllAddedJobs() {\n\n\t\tList<SchedulerJobEntity> allSchedulerJobs = schedulerRepository.findAll();\n\n\t\tallSchedulerJobs.forEach(sje -> {\n\t\t\ttry {\n\t\t\t\tthis.addJob(sje);\n\t\t\t} catch (Exception e) {\n\t\t\t\tlog.error(\"Could not restart already registered job: \" + sje.toString() + \" ERROR: \" + e);\n\t\t\t}\n\t\t});\n\t}", "static void SPT_rule(List<T_JOB> job) {\n Collections.sort(job);\n }", "@Override\n\tpublic void submitJobEmployee(int je_id, String caller) {\n\n\t}", "public void saveJob(View v){\n FirebaseDatabase database = FirebaseDatabase.getInstance();\n DatabaseReference mySavedJobsRef = database.getReference(\"Users\").child(currentUser.getUid().toString()).child(\"savedjobs\");\n //Dont save your own jobs\n if(!currentUser.getUid().toString().equals(jobPost.getUserid())) {\n mySavedJobsRef.addListenerForSingleValueEvent(\n new ToggleAddIDVEListener(ViewSingleJobActivity.this,jobPost.getPostid()));\n }\n }", "public void addEnodebName() throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"enodeb-name\",\n null,\n childrenNames());\n }" ]
[ "0.52651185", "0.52627265", "0.5216787", "0.5174477", "0.5148201", "0.51274526", "0.5122695", "0.49357563", "0.49287084", "0.49287084", "0.49283326", "0.4918184", "0.4905536", "0.48455155", "0.48163015", "0.48069584", "0.48053393", "0.47634253", "0.47518906", "0.4727998", "0.47147676", "0.47040623", "0.46875712", "0.46767703", "0.4676332", "0.46355698", "0.4632074", "0.4632074", "0.4632074", "0.4632038", "0.4625162", "0.46138683", "0.45911843", "0.45882177", "0.45853466", "0.45258418", "0.4521612", "0.45075786", "0.4498953", "0.44859877", "0.4484127", "0.44833982", "0.44806737", "0.44778517", "0.44662803", "0.44475004", "0.44458586", "0.44390973", "0.44380045", "0.443571", "0.44331044", "0.44331044", "0.44321555", "0.44223607", "0.44208574", "0.44195494", "0.44011682", "0.4400756", "0.43968737", "0.43940294", "0.43857417", "0.43821687", "0.4376749", "0.43644345", "0.43591392", "0.43503755", "0.43452853", "0.4343186", "0.43387288", "0.43381423", "0.43362275", "0.43322757", "0.43322757", "0.43322757", "0.43322757", "0.43322757", "0.43282288", "0.43206", "0.43206", "0.43197528", "0.43126512", "0.4311063", "0.43058547", "0.43014044", "0.42963824", "0.42959902", "0.42929995", "0.4290735", "0.42828256", "0.42798352", "0.42783904", "0.4272567", "0.42651382", "0.4256794", "0.425233", "0.4251535", "0.4240114", "0.42399114", "0.42398342", "0.42390373" ]
0.64509106
0
Gets a mapping of solver ID's to unique anonymized names.
private static Map<Integer, String> buildAnonymizedSolverNamesMap(final List<Solver> solvers) { // Build a mapping of solvers to anonymized names. Map<Integer, String> solverIdToAnonymizedName = new HashMap<>(); int numberToAppend = 1; for (Solver solver : solvers) { int solverId = solver.getId(); if (!solverIdToAnonymizedName.containsKey(solverId)) { solverIdToAnonymizedName.put(solverId, "Solver" + numberToAppend); numberToAppend += 1; } } return solverIdToAnonymizedName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<CharSequence, CharSequence> getReplacableNames();", "private Map<Integer, Integer> buildRenaming() {\n\t\tMap<Integer, Integer> map = new HashMap<>();\n\n\t\tfor(int i = 0; i < this.dimension; i++){\n\t\t\tfor(int j = 0; j < this.dimension; j++)\n\t\t\t\tmap.put(board_p[i][j].var(), board[i][j].var());\n\t\t}\n\n\t\treturn map;\n\t}", "private static Map<Integer, String> buildAnonymizedBenchmarkNamesMap(final List<Benchmark> benchmarks) {\n\t\tfinal String methodName = \"buildAnonymizedBenchmarkNamesMap\";\n\t\tlog.entry(methodName);\n\n\t\tMap<Integer, String> benchmarkIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Benchmark bench : benchmarks) {\n\t\t\tint benchId = bench.getId();\n\t\t\tif (!benchmarkIdToAnonymizedName.containsKey(benchId)) {\n\t\t\t\tbenchmarkIdToAnonymizedName.put(benchId, \"Benchmark\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn benchmarkIdToAnonymizedName;\n\t}", "public static Map<Integer, String> getAnonymizedJobSpaceNames(final int jobId) {\n\t\tJob job = Jobs.get(jobId);\n\n\t\tList<JobSpace> jobSpaces = Spaces.getSubSpacesForJob(job.getPrimarySpace(), true);\n\t\tjobSpaces.add(Spaces.getJobSpace(job.getPrimarySpace()));\n\t\tjobSpaces.sort(Comparator.comparingInt(Identifiable::getId));\n\n\t\tMap<Integer, String> jobSpaceIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (JobSpace space : jobSpaces) {\n\t\t\tint spaceId = space.getId();\n\t\t\tif (!jobSpaceIdToAnonymizedName.containsKey(spaceId)) {\n\t\t\t\tjobSpaceIdToAnonymizedName.put(spaceId, \"Space\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn jobSpaceIdToAnonymizedName;\n\t}", "public Map<String, String> getClusterIdToNameMap() {\n if (vplexClusterIdToNameCache.isEmpty()) {\n List<VPlexClusterInfo> clusterInfos = getClusterInfoLite();\n for (VPlexClusterInfo clusterInfo : clusterInfos) {\n vplexClusterIdToNameCache.put(clusterInfo.getClusterId(), clusterInfo.getName());\n }\n s_logger.info(\"refreshed cluster id to name map is \" + vplexClusterIdToNameCache.toString());\n }\n\n return vplexClusterIdToNameCache;\n }", "public HashMap<String, String> getStatsNamesAndIds() {\n\t\tNodeList nl = getStats();\n\t\tHashMap<String, String> id_name = new LinkedHashMap<String, String>();\n\t\tint len = nl.getLength();\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tString id = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"id\");\n\t\t\tString name = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"name\");\n\t\t\tif (id != null && name != null) {\n\t\t\t\tid_name.put(id, name);\n\t\t\t}\n\t\t}\n\t\treturn id_name;\n\t}", "Set<Eid> aliases();", "private void renameMapNames () {\n if (mappingNum == 0) {\n mapNames = null;\n return;\n }\n this.mapNames = new String[mappingNum];\n for (int i = 0; i < mappingNum; i++) {\n mapNames[i] = GBSHDF5Constants.MAPBASE + this.getThreeFigureString(i);\n }\n }", "private void initializeNamesMap (Workspace[] wss) {\n // fill name mapping with proper values\n namesMap = new HashMap(wss.length * 2);\n for (int i = 0; i < wss.length; i++) {\n // create new string for each display name to be able to search\n // using '==' operator in findProgrammaticName(String displayName) method\n namesMap.put(wss[i].getName(), new String(wss[i].getDisplayName()));;\n }\n }", "public static String[] getLangIDs() {\r\n\t\tHashMap<String, String> ges = getLangs();\r\n\r\n\t\tString[] names = new String[ges.size()];\r\n\t\tint i = 0;\r\n\t\t// add all\r\n\t\tfor (String key : ges.keySet()) {\r\n\t\t\tnames[i] = key;\r\n\t\t\ti++;\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "private static void mapDbAsstIDs()\r\n {\r\n if (dbIdMap == null) {\r\n dbIdMap = new HashMap<String, Integer>();\r\n dbIdMap.put(\"repair\", 1);\r\n dbIdMap.put(\"fuel\", 2);\r\n dbIdMap.put(\"tuition\", 3);\r\n dbIdMap.put(\"clothing\", 4);\r\n dbIdMap.put(\"registration\", 5);\r\n dbIdMap.put(\"utilities\", 21);\r\n }\r\n }", "@Transient\r\n\tpublic Map<String, Object> getLookups() {\r\n\t\tMap<String,Object> map = new HashMap<String,Object>();\r\n map.put(ICommercialAlias.TARGET_REGISTRY_ID, getId());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_DOCUMENT, getRegistry().getDocument());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_NAME, getRegistry().getName());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_SURNAME, getRegistry().getSurname());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_ALIAS, getRegistry().getAlias());\r\n return map;\r\n\t}", "public String[] getAlternateIndexNames() \n {\n if (!this.hasAlternateIndexes()) {\n return null;\n } else {\n return this.altIndexMap.keyArray(String.class);\n }\n }", "public Map<String, String[]> getAllIdentifiantsUniques() {\n\t\tMap<String, String[]> allIdentifiantsUniques = new HashMap<>();\n\t\ttry {\n\t\t\tallIdentifiantsUniques = utilisateurDAO.selectAllIdentifiantsUniques();\n\t\t} catch (DALException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn allIdentifiantsUniques;\n\t}", "@Override\n\tpublic java.util.Map<java.util.Locale, java.lang.String> getManualIdMap() {\n\t\treturn _scienceApp.getManualIdMap();\n\t}", "public static Map<String, List<String>> getStationNameToCodeMap() {\n\n\t\tif (stationNameToCodeMapCache.size() > 0)\n\t\t\treturn stationNameToCodeMapCache;\n\t\ttry {\n\t\t\tList<StationMap> stationMaps = buildStationMap();\n\t\t\tMap<String, List<String>> stationNameToCode = new HashMap<>();\n\t\t\tfor (int i = 0; i < stationMaps.size(); i++) {\n\t\t\t\tif (stationNameToCode.containsKey(stationMaps.get(i).getStationName().toLowerCase().trim())) {\n\t\t\t\t\tList<String> list = stationNameToCode.get(stationMaps.get(i).getStationName().toLowerCase().trim());\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t} else {\n\t\t\t\t\tList<String> list = new ArrayList<>();\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t\tstationNameToCode.put(stationMaps.get(i).getStationName().toLowerCase().trim(), list);\n\t\t\t\t}\n\t\t\t}\n\t\t\tstationNameToCodeMapCache = stationNameToCode;\n\t\t} catch (UrbanRailNetworkException e) {\n\t\t}\n\t\treturn stationNameToCodeMapCache;\n\t}", "public static ImmutableSet<Integer> getIds(){\n\t\t\treturn m_namesMap.rightSet();\n\t\t}", "public ArrayList<String> getAllVarNames() {\n\t\tArrayList<String> names = new ArrayList<String>();\n\t\tfor (NameSSA n : name.values()){\n\t\t\tString root = n.name();\n\t\t\tfor (int i=0;i<=n.cpt;i++)\n\t\t\t\tnames.add(root+\"_\"+i);\n\t\t}\n\t\treturn names;\n\t}", "public Table<Integer, Integer, String> getAnonymizedData();", "public Map<Integer, String> getSurveysIdsTitles() {\r\n HashMap<Integer, String> surveys = new HashMap<>();\r\n NodeList surveysElements = doc.getElementsByTagName(\"survey\");\r\n \r\n for (int i = 0; i < surveysElements.getLength(); i++) {\r\n Element surveyElement = (Element) surveysElements.item(i);\r\n int sid = Integer.parseInt(surveyElement.getAttribute(\"sid\"));\r\n String title = surveyElement.getElementsByTagName(\"title\").item(0).getTextContent();\r\n surveys.put(sid, title);\r\n }\r\n \r\n return surveys;\r\n }", "private HashMap<String, String> getAnswerCodesByID(String id, boolean oth)\n\t{\n\t\tHashMap<String, String> ans_map = new HashMap<String, String>();\n\t\tNode ans_l10ns = doc.selectSingleNode(\"//document/answer_l10ns/rows\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Element> a_meta = doc.selectNodes(\"//document/answers/rows/row[qid=\" + id + \"]\");\n\t\tfor (Element elem : a_meta) {\n\t\t\tans_map.put(elem.elementText(\"code\"), ans_l10ns.selectSingleNode(\"row[aid=\" + elem.elementText(\"aid\") + \"]/answer\").getText());\n\t\t}\n\n\t\tif (oth) {\n\t\t\tans_map.put(\"-oth-\", \"other\");\n\t\t}\n\t\treturn ans_map;\n\t}", "String getSynonyms();", "private void getMapping() {\n double [][] chars = new double[CHAR_SET_SIZE][1];\n for (int i = 0; i < chars.length; i++) {\n chars[i][0] = i;\n }\n Matrix b = new Matrix(key).times(new Matrix(chars));\n map = b.getArray();\n }", "public Map<String, Long> getUserIdLetterMap() throws UserManagementException;", "public static String getTempMapName() {\r\n return (getTempMapName(GrassUtils.TEMP_PREFIX + \"_\"));\r\n }", "private SymbolData[]\n\t\t\tmakeSymbolMap(Map<StandardSymbolData, JsName> symbolTable) {\n\t\tfinal Set<String> nameUsed = new HashSet<String>();\n\t\tfinal Map<JsName, Integer> nameToFragment = new HashMap<JsName, Integer>();\n\t\tfor (int i = 0; i < jsProgram.getFragmentCount(); i++) {\n\t\t\tfinal Integer fragId = i;\n\t\t\tnew JsVisitor() {\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsForIn x, JsContext ctx) {\n\t\t\t\t\tif (x.getIterVarName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getIterVarName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsFunction x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsLabel x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameOf x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameRef x, JsContext ctx) {\n\t\t\t\t\t// Obviously this isn't even that accurate. Some of them are\n\t\t\t\t\t// variable names, some of the are property. At least this\n\t\t\t\t\t// this give us a safe approximation. Ideally we need\n\t\t\t\t\t// the code removal passes to remove stuff in the scope\n\t\t\t\t\t// objects.\n\t\t\t\t\tif (x.isResolved()) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsParameter x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsVars.JsVar x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t// alcina - add classlits to name/fragment\n\t\t\t\t\tif (x.getName().getIdent().startsWith(\n\t\t\t\t\t\t\t\"com_google_gwt_lang_ClassLiteralHolder_\")) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}.accept(jsProgram.getFragmentBlock(i));\n\t\t}\n\t\t// TODO(acleung): This is a temp fix. Once we know this is safe. We\n\t\t// new to rewrite it to avoid extra ArrayList creations.\n\t\t// Or we should just consider serializing it as an ArrayList if\n\t\t// it is that much trouble to determine the true size.\n\t\tList<SymbolData> result = new ArrayList<SymbolData>();\n\t\tfor (Map.Entry<StandardSymbolData, JsName> entry : symbolTable\n\t\t\t\t.entrySet()) {\n\t\t\tStandardSymbolData symbolData = entry.getKey();\n\t\t\tsymbolData.setSymbolName(entry.getValue().getShortIdent());\n\t\t\tInteger fragNum = nameToFragment.get(entry.getValue());\n\t\t\tif (fragNum != null) {\n\t\t\t\tsymbolData.setFragmentNumber(fragNum);\n\t\t\t}\n\t\t\tif (nameUsed.contains(entry.getValue().getIdent())\n\t\t\t\t\t|| entry.getKey().isClass()) {\n\t\t\t\tresult.add(symbolData);\n\t\t\t}\n\t\t}\n\t\treturn result.toArray(new SymbolData[result.size()]);\n\t}", "private static Map<String, String> organizeTransducer () {\n Map<String, String> properTransducerName = new HashMap<String, String>();\n\n properTransducerName.put(\"TEMP\", \"temperature\");\n properTransducerName.put(\"LIGHT\", \"light\");\n properTransducerName.put(\"HUMI\", \"humidity\");\n properTransducerName.put(\"PRES\", \"pressure\");\n properTransducerName.put(\"VBAT\", \"voltage\");\n properTransducerName.put(\"DOOR\", \"door\");\n properTransducerName.put(\"RSSI\", \"RSSI\");\n\n return properTransducerName;\n }", "private IntLongMap getEdgeIdToOsmWayIdMap() {\n if (edgeIdToOsmWayIdMap == null)\n edgeIdToOsmWayIdMap = new GHIntLongHashMap(osmWayIdSet.size(), 0.5f);\n\n return edgeIdToOsmWayIdMap;\n }", "private static Map<String, Integer> assignVertexIds(DAG dag) {\n Map<String, Integer> vertexIdMap = new LinkedHashMap<>();\n final int[] vertexId = {0};\n dag.forEach(v -> vertexIdMap.put(v.getName(), vertexId[0]++));\n return vertexIdMap;\n }", "public ArrayList<String> get_name_code_Smells() {\n\t\tArrayList<String> keys = new ArrayList<String>();\n\t\tkeys.addAll(getCode_Smells().keySet());\n\t\treturn keys;\n\t}", "Set<String> getIdentifiers();", "public List<SynonymMap> getSynonymMaps() {\n return this.synonymMaps;\n }", "private Set<String> allAliases( List<String> ids ) {\n\t\tSet<String> aliases = getAliases( ids ); \n\t\taliases.addAll( addCachedAliases(ids) );\n\t\treturn aliases;\n\t}", "public Iterable<String> nouns(){\n return this.nounToIdMap.keySet();\n }", "private HashMap<String, String> getAnswerIdsByID(String id)\n\t{\n\t\tHashMap<String, String> ans_map = new HashMap<String, String>();\n\t\tNode ans_l10ns = doc.selectSingleNode(\"//document/answer_l10ns/rows\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Element> a_meta = doc.selectNodes(\"//document/answers/rows/row[qid=\" + id +\"]\");\n\t\tfor (Element elem : a_meta) {\n\t\t\tans_map.put(elem.elementText(\"aid\"), ans_l10ns.selectSingleNode(\"row[aid=\" + elem.elementText(\"aid\") + \"]/answer\").getText());\n\t\t}\n\t\treturn ans_map;\n\t}", "private Set<String> getNames(Map<String, String> map) {\r\n\t\tSet<String> set = new HashSet<>();\r\n\t\t\r\n\t\tmap.forEach((k,v) -> set.add(k));\r\n\t\t\r\n\t\treturn Collections.unmodifiableSet(set);\r\n\t}", "private static Map<Long, Set<XliffAlt>> getXliffAltMap(List<XliffAlt> alts)\n {\n // tuvId : Set<XliffAlt>\n Map<Long, Set<XliffAlt>> xlfAltMap = new HashMap<Long, Set<XliffAlt>>();\n\n for (XliffAlt alt : alts)\n {\n Set<XliffAlt> myAlts = xlfAltMap.get(alt.getTuvId());\n if (myAlts == null)\n {\n myAlts = new HashSet<XliffAlt>();\n myAlts.add(alt);\n xlfAltMap.put(alt.getTuvId(), myAlts);\n }\n else\n {\n myAlts.add(alt);\n xlfAltMap.put(alt.getTuvId(), myAlts);\n }\n }\n\n return xlfAltMap;\n }", "public SynonymMapsImpl synonymMaps() {\n return this.synonymMaps;\n }", "public static Mapper<String> name() {\n return NAME;\n }", "public static Map<String,Planet> getPlanetsByName() { return planetsByName; }", "private static Map<Integer, List<String>> getIpPatternMap()\n\t{\n\t\tMap<Integer, List<String>> map = new HashMap<>();\n\t\tfor(int a = 1; a <= 3; a++)\n\t\t{\n\t\t\tfor( int b = 1; b <= 3; b++)\n\t\t\t{\n\t\t\t\tfor(int c = 1 ; c <= 3; c++)\n\t\t\t\t{\n\t\t\t\t\tfor( int d = 1; d <= 3; d++)\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal int patternCount = a + b + c + d;\n\t\t\t\t\t\tList<String> patterns;\n\t\t\t\t\t\tif(!map.containsKey(patternCount))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpatterns = new ArrayList<>();\n\t\t\t\t\t\t\tmap.put(patternCount, patterns);\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\tpatterns = map.get(patternCount);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpatterns.add(String.format(\"%1$d%2$d%3$d%4$d\", a,b,c,d));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn map;\n\t}", "private static void mapDbNames()\r\n { \r\n if (dbMap == null) {\r\n dbMap = new HashMap<String, String>();\r\n dbMap.put(\"tuition\", \"tuition\");\r\n dbMap.put(\"utilities\", \"utilities\");\r\n dbMap.put(\"fuel\", \"gas\");\r\n dbMap.put(\"registration\", \"Vehicle Registration\");\r\n dbMap.put(\"repair\", \"car repair\");\r\n dbMap.put(\"clothing\", \"clothing\");\r\n // maps asst types to the way they're currently in the database\r\n // used in the where clause for where tcf_assistance.description = ?\r\n }\r\n }", "private static Map<String, Integer> getSourceMap() {\n\t\tList<Source> sources = SourceService.findAll();\n\t\tMap<String, Integer> sourceMap = new HashMap<String, Integer>();\n\t\t\n\t\tfor (Source source : sources) {\n\t\t\tsourceMap.put(source.getDomain(), source.getId());\n\t\t}\n\t\t\n\t\treturn sourceMap;\n\t}", "@Override\n public String getName() {\n return \"synonym\";\n }", "public List<String> getMapNames() {\r\n\t\treturn mapNames;\r\n\t}", "@Override\n public Set<String> getNames() {\n // TODO(adonovan): for now, the resolver treats all predeclared/universe\n // and global names as one bucket (Scope.PREDECLARED). Fix that.\n // TODO(adonovan): opt: change the resolver to request names on\n // demand to avoid all this set copying.\n HashSet<String> names = new HashSet<>();\n for (Map.Entry<String, Object> bind : getTransitiveBindings().entrySet()) {\n if (bind.getValue() instanceof FlagGuardedValue) {\n continue; // disabled\n }\n names.add(bind.getKey());\n }\n return names;\n }", "public ImmutableMap<String, String> getAliasToNamespaceMap() {\n return aliasToNamespaceMap;\n }", "private String calcIndexName(NamePool pool, \n String fingerName,\n List definitions,\n Configuration config) \n {\n StringBuffer sbuf = new StringBuffer();\n sbuf.append(\"key|\" + fingerName);\n for (int k = 0; k < definitions.size(); k++) \n {\n KeyDefinition def = (KeyDefinition)definitions.get(k);\n \n // Capture the match pattern.\n String matchStr = def.getMatch().toString();\n sbuf.append(\"|\" + Long.toString(Hash64.hash(matchStr), 16));\n \n // Capture the 'use' expression\n if (def.getUse() instanceof Expression) \n {\n // Saxon likes to dump debug stuff to a PrintStream, and we need to\n // capture to a buffer.\n //\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n PrintStream ps = new PrintStream(bytes);\n \n ((Expression)def.getUse()).display(10, ps, config);\n ps.flush();\n String useStr = bytes.toString();\n sbuf.append(\"|\" + Long.toString(Hash64.hash(useStr), 16));\n }\n else\n sbuf.append(\"|non-exp\");\n } // for k\n \n return sbuf.toString();\n }", "public Set keyNames() {\n return new LinkedHashSet<>( asList( idName() ) );\n }", "public List<Alias> getAliases()\n\t{\n\t\tList<Alias> aliases = new ArrayList<Alias>();\n\t\t\n\t\tAlias from = getFromIDAlias();\n\t\t\n\t\tif( from != null )\n\t\t{\n\t\t\taliases.add( from );\n\t\t}\n\n\t\tAlias to = getToIDAlias();\n\t\t\n\t\tif( to != null )\n\t\t{\n\t\t\taliases.add( to );\n\t\t}\n\t\t\n\t\treturn aliases;\n\t}", "public static String getNameFromId(int mapId) {\n\t\treturn switch (mapId) {\n\t\t\tcase CRYSTAL_SCAR_ID -> CRYSTAL_SCAR;\n\t\t\tcase TWISTED_TREELINE_ID -> TWISTED_TREELINE;\n\t\t\tcase SUMMONERS_RIFT_ID -> SUMMONERS_RIFT;\n\t\t\tcase HOWLING_ABYSS_ID -> HOWLING_ABYSS;\n\t\t\tdefault -> \"\";\n\t\t};\n\t}", "public String map(String internalName) {\n return maps.map(internalName.replace('/', '.')).getName()\n .replace('.', '/');\n }", "public Map<String, String> getSummonerNames(long... summonerIds){\n return get(String.format(\"%s/name\", concatenateSummonerIds(summonerIds)))\n .getEntity(new GenericType<Map<String, String>>(){});\n }", "public HashMap<String, ArrayList<String>> getAlgorithmNameToVersionsMap() {\n\n \n HashMap<String, ArrayList<String>> algorithmNameToVersionMap = new HashMap<>();\n\n for (HashMap<String, ArrayList<String>> fileMapping : identificationAlgorithms.values()) {\n\n for (String softwareName : fileMapping.keySet()) {\n\n ArrayList<String> newVersions = fileMapping.get(softwareName);\n\n if (newVersions != null && !newVersions.isEmpty()) {\n\n ArrayList<String> currentVersions = algorithmNameToVersionMap.get(softwareName);\n\n if (currentVersions == null) {\n\n currentVersions = new ArrayList<>(newVersions);\n algorithmNameToVersionMap.put(softwareName, currentVersions);\n\n } else {\n\n for (String version : newVersions) {\n\n if (!currentVersions.contains(version)) {\n\n currentVersions.add(version);\n\n }\n }\n }\n }\n }\n }\n\n return algorithmNameToVersionMap;\n\n }", "public String getName(){\n StringBuilder name = new StringBuilder();\n for (int value : names) {\n name.append(\"> \").append(strings.get(value));\n }\n return name.toString();\n }", "Map<String, Set<String>> mapSecondaryTablesToPrimaryGroups();", "public Map<String, String> getUserIdToSortNameMap(Collection userIds)\n {\n return null;\n }", "private HashMap<String, Clue> getUseableClues()\n {\n // Will hold a subset of clues that are not also codenames\n HashMap<String, Clue> useableClues = new HashMap<>();\n for (Clue clue : clues.values())\n {\n if (!clue.isActiveCodename)\n {\n useableClues.put(clue.word, clue);\n }\n }\n\n return useableClues;\n }", "protected String[] getAliases() {\n \t\treturn null;\n \t}", "static private AssociatedElement getSynonym(String name, ArrayList<AssociatedElement> synonyms)\r\n\t{\r\n\t\tfor(AssociatedElement synonym : synonyms)\r\n\t\t\tif(synonym.getName().equals(name)) return synonym;\r\n\t\treturn null;\r\n\t}", "public Map<String, String> getPluginIdentifierToNameMap() {\n\t\treturn pluginIdentifierToNameMap;\n\t}", "public Set<String> getNames() {\n\t\t//\t\tArrayList<String> names = new ArrayList<String>();\n\t\t//\t\tfor (NameSSA n : name.values())\n\t\t//\t\t\tnames.add(n.current());\n\t\treturn name.keySet();\n\t}", "public Map<Entity, Integer> computeHyponymCountMap()\r\n\t{\n\t\treturn null;\r\n\t}", "private Map<String, String> solutionForCNSHIsFullCNCHHasOnlyOnePlace() {\r\n Map<String, String> map = new HashMap<>();\r\n map.put(this.students[0].getName(), this.schools[2].getName());\r\n map.put(this.students[1].getName(), this.schools[2].getName());\r\n map.put(this.students[2].getName(), this.schools[1].getName());\r\n map.put(this.students[3].getName(), this.schools[2].getName());\r\n return map;\r\n }", "Map<String, Result> getOrganizationsMap();", "public Iterable<String> nouns() {\n\t\treturn nounToId.keySet();\n\t}", "private Map<String, Set<String>> getQueueToLabels() {\n Map<String, Set<String>> queueToLabels = new HashMap<>();\n for (CSQueue queue : getQueues().values()) {\n queueToLabels.put(queue.getQueuePath(), queue.getAccessibleNodeLabels());\n }\n return queueToLabels;\n }", "public static void resolveIdents() {\n\t\tint i, j;\n\t\ton_i : for (i = 0; i < count; i++) {\n\t\t\tfor (j = 0; j < count; j++) {\n\t\t\t\tif (i != j\n\t\t\t\t\t&& ((IdentifierResolver) bIdents.get(i)).shortNameEquals(\n\t\t\t\t\t\t((IdentifierResolver) bIdents.get(j))))\n\t\t\t\t\t// An identifier with the same short name has been found\n\t\t\t\t\t// go to the next one\n\t\t\t\t\tcontinue on_i;\n\t\t\t}\n\t\t\t// No identifier with the same name has been found, so allows to\n\t\t\t// set the short name.\n\t\t\t ((IdentifierResolver) bIdents.get(i)).setShortName();\n\t\t}\n\t}", "public Set<String> hyponyms(String word) {\n Set<Integer> synIDs = new TreeSet<Integer>();\n Set<Integer> synKeys = synsetMap.keySet();\n for (Integer id : synKeys) {\n if (synsetMap.get(id).contains(word)) {\n synIDs.add(id);\n }\n }\n Set<Integer> hypIDs = GraphHelper.descendants(g, synIDs);\n Set<String> result = new TreeSet<String>();\n\n for (Integer i : hypIDs) {\n ArrayList<String> al = synsetMap.get(i);\n result.addAll(al);\n }\n return result;\n }", "public StrColumn getLabelAsymId() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"label_asym_id\", StrColumn::new) :\n getBinaryColumn(\"label_asym_id\"));\n }", "int getSymbolicId();", "public String getName() {\n return lutName;\n }", "@Override\n\tpublic HashMap<String, String> findTableNameAliases() {\n\t\tHashMap<String,String> s = new HashMap<String,String>();\n\t\t\n\t\tHashMap<String,String> sLeft = leftTable.findTableNameAliases();\n\t\tHashMap<String,String> sRight = rightTable.findTableNameAliases();\n\t\t\n\t\ts.putAll(sLeft);\n\t\ts.putAll(sRight);\n\t\t\n\t\treturn s;\n\t}", "private void fillEntryLangMap(String p_termbaseId) throws Exception\n {\n Connection c = null;\n PreparedStatement ps = null;\n ResultSet rs = null;\n\n try\n {\n c = ConnectionPool.getConnection();\n ps = c.prepareStatement(TERM_ENTRY_LANG_QUERY);\n ps.setLong(1, Long.valueOf(p_termbaseId).longValue());\n rs = ps.executeQuery();\n m_map = new TreeMap();\n while (rs.next())\n {\n Long cid = new Long(rs.getLong(1));\n String name = rs.getString(2);\n HashSet set = (HashSet) m_map.get(cid);\n if (set == null)\n {\n set = new HashSet();\n m_map.put(cid, set);\n }\n set.add(name);\n }\n }\n finally\n {\n ConnectionPool.silentClose(rs);\n ConnectionPool.silentClose(ps);\n ConnectionPool.silentReturnConnection(c);\n }\n }", "public String mangle(String sName);", "String getShortNameKey();", "public String[] getAliases()\n\t{\n\t\treturn aliases;\n\t}", "default List<String> getAliases() {\r\n return List.of();\r\n }", "public static Map<Byte, String> genTypeToNameMap(){\n byte[] types = genAllTypes();\n String[] names = genAllTypeNames();\n Map<Byte,String> ret = new HashMap<Byte, String>();\n for(int i=0;i<types.length;i++){\n ret.put(types[i], names[i]);\n }\n return ret;\n }", "public List<String> getDistinctResourceIdName(){\n\t\treturn jtemp.queryForList(\"SELECT DISTINCT resource_id||' '||resource_type_id||' '||resource_name FROM resources\", String.class);\n\t}", "protected String revealedId (String name)\n {\n return name;\n }", "public static AdmCode2GazCandidateMap getAdminCode2GazCandidateMap() {\n return adminCode2GazCandidateMap;\n }", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForSolver(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.SOLVER);\n\t}", "private static Map generateCharacterMappings() {\n Log.debug(\"Generating default character mappings\");\n Map map = new HashMap();\n Iterator iter = keycodes.keySet().iterator();\n while (iter.hasNext()) {\n Object key = iter.next();\n map.put(keycodes.get(key), key);\n }\n return map;\n }", "public Set<String> hyponyms(String word) {\n HashSet<String> allhyponyms = new HashSet<String>();\n int maxV = synset.size();\n // int maxV = 0;\n // for (Integer i : synset.keySet()) {\n // if (maxV < i) {\n // maxV = i;\n // }\n // }\n // maxV += 1;\n Digraph digraph = new Digraph(maxV);\n\n // ArrayList<Integer> hypoKeys = new ArrayList<Integer>();\n // for (int i = 0; i < hyponym.size(); i++) {\n // hypoKeys.add(hyponym.get(0).get(i));\n // }\n \n for (ArrayList<Integer> a : hyponym) {\n int key = a.get(0);\n for (int j = 1; j < a.size(); j++) {\n digraph.addEdge(key, a.get(j));\n }\n }\n\n // get synonyms (in same synset), ex. given \"jump\", will get \"parachuting\" as well as \"leap\"\n ArrayList<String> strArray = new ArrayList<String>();\n for (Integer k : getSynsetKeys(word)) {\n strArray.addAll(synset.get(k));\n }\n for (String str : strArray) {\n allhyponyms.add(str);\n }\n\n // for each int from set<int> with all synset IDS\n for (Integer s : GraphHelper.descendants(digraph, getSynsetKeys(word))) {\n for (String t : synset.get(s)) {\n allhyponyms.add(t);\n }\n }\n return allhyponyms;\n }", "@Override\n protected Map<TableUniqueName, String> tableSubstitution() {\n return ImmutableMap.of();\n }", "private Map<String, String> solutionForCNSHIsFull() {\r\n Map<String, String> map = new HashMap<>();\r\n map.put(this.students[0].getName(), this.schools[1].getName());\r\n map.put(this.students[1].getName(), this.schools[1].getName());\r\n map.put(this.students[2].getName(), this.schools[1].getName());\r\n map.put(this.students[3].getName(), this.schools[2].getName());\r\n return map;\r\n }", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public Vector<String> getIdentifiers()\n\t{\n\t\tfinal Vector<String> rets = new Vector<String>();\n\t\trets.add(identifier);\n\t\treturn rets;\n\t}", "public BidiMap<String, String> getPrefixes() {\n\t\tBidiMap<String, String> bidiMap = new DualHashBidiMap<String, String>(model.getNsPrefixMap());\n\t\treturn bidiMap;\n\t}", "java.lang.String getResidues();", "String generateUniqueName();", "public static Map<String, Byte> genNameToTypeMap(){\n byte[] types = genAllTypes();\n String[] names = genAllTypeNames();\n Map<String, Byte> ret = new HashMap<String, Byte>();\n for(int i=0;i<types.length;i++){\n ret.put(names[i], types[i]);\n }\n return ret;\n }", "public final synchronized Set<String> m111z() {\n return this.f112Y.keySet();\n }", "public String[] getNames() {\r\n\t\tfinal List<String> names=new ArrayList<>();\r\n\r\n\t\tString s;\r\n\t\tfor (Map.Entry<String,Map<String,Object>> entry1: data.entrySet()) {\r\n\t\t\ts=entry1.getKey();\r\n\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\tfor (Map.Entry<String,Object> entry2: entry1.getValue().entrySet()) {\r\n\t\t\t\ts=entry2.getKey();\r\n\t\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names.toArray(new String[0]);\r\n\t}", "private static String getUniqueGraphName() {\n return String.format(\"g%d\", uniqueGraph++);\n }", "private static Map<String, List<String>> getDbIdToStableIds(ResultSet stableIdResults) throws SQLException {\n\t\tMap<String, List<String>> dbIdToStableIds = new HashMap<>();\n\n\t\t// Iterate through returned results of DB IDs and stable IDs\n\t\twhile (stableIdResults.next()) {\n\t\t\tString stableId = stableIdResults.getString(1);\n\t\t\tString dbId = stableIdResults.getString(2);\n\n\t\t\tdbIdToStableIds.computeIfAbsent(dbId, k -> new ArrayList<>()).add(stableId);\n\t\t}\n\t\treturn dbIdToStableIds;\n\t}", "public StrColumn getAsymId() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"asym_id\", StrColumn::new) :\n getBinaryColumn(\"asym_id\"));\n }", "private Map<String, Node> getNodeXmlIdTable() {\n\n if (this.nodeXmlIdTable == null) {\n this.nodeXmlIdTable = new HashMap<String, Node>();\n }\n return this.nodeXmlIdTable;\n }", "static SparseArray<TaskDetail> getCurrentMappingsDuplicated() {\n SparseArray<TaskDetail> toReturn = new SparseArray<>();\n for (int i = 0; i < TaskDetail.actionToTask.size(); i++) {\n TaskDetail detail = TaskDetail.actionToTask.valueAt(i);\n toReturn.put(TaskDetail.actionToTask.keyAt(i), detail.duplicate());\n }\n return toReturn;\n }" ]
[ "0.61470497", "0.6133492", "0.6045788", "0.58212054", "0.5709153", "0.5612033", "0.55322444", "0.53447485", "0.52292067", "0.5200475", "0.5134772", "0.5110515", "0.50702184", "0.504512", "0.5034223", "0.5005298", "0.4998287", "0.49221653", "0.4916038", "0.49149007", "0.48974955", "0.48948318", "0.48941717", "0.48866647", "0.48754758", "0.4871369", "0.4856309", "0.48494264", "0.48333758", "0.48331565", "0.4823198", "0.48200715", "0.47771096", "0.47766042", "0.47689053", "0.47684535", "0.4767748", "0.47463736", "0.47440973", "0.47405937", "0.47235516", "0.4717443", "0.47071683", "0.47030145", "0.4695785", "0.46949154", "0.4677582", "0.4672261", "0.465841", "0.46352392", "0.46342182", "0.4630199", "0.46239167", "0.4609076", "0.4608642", "0.4598361", "0.45815665", "0.45781416", "0.4575207", "0.4572632", "0.45673525", "0.45606783", "0.4560586", "0.45411524", "0.45364642", "0.45361054", "0.45308217", "0.45227313", "0.45212057", "0.4518304", "0.45050693", "0.4503528", "0.44993812", "0.4498584", "0.449318", "0.4492338", "0.44871977", "0.44869635", "0.44737604", "0.4470291", "0.4463169", "0.44608507", "0.44604364", "0.4456234", "0.44552633", "0.4453293", "0.4453036", "0.4452264", "0.44507387", "0.4447382", "0.44408107", "0.44392967", "0.44364357", "0.44348025", "0.4424081", "0.44156113", "0.4410607", "0.4409454", "0.44082803", "0.4407214" ]
0.7902465
0
Gets a mapping of benchmark ID's to unique anonymized names.
private static Map<Integer, String> buildAnonymizedBenchmarkNamesMap(final List<Benchmark> benchmarks) { final String methodName = "buildAnonymizedBenchmarkNamesMap"; log.entry(methodName); Map<Integer, String> benchmarkIdToAnonymizedName = new HashMap<>(); int numberToAppend = 1; for (Benchmark bench : benchmarks) { int benchId = bench.getId(); if (!benchmarkIdToAnonymizedName.containsKey(benchId)) { benchmarkIdToAnonymizedName.put(benchId, "Benchmark" + numberToAppend); numberToAppend += 1; } } return benchmarkIdToAnonymizedName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Map<Integer, String> buildAnonymizedSolverNamesMap(final List<Solver> solvers) {\n\t\t// Build a mapping of solvers to anonymized names.\n\t\tMap<Integer, String> solverIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Solver solver : solvers) {\n\t\t\tint solverId = solver.getId();\n\t\t\tif (!solverIdToAnonymizedName.containsKey(solverId)) {\n\t\t\t\tsolverIdToAnonymizedName.put(solverId, \"Solver\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn solverIdToAnonymizedName;\n\t}", "public HashMap<String, String> getStatsNamesAndIds() {\n\t\tNodeList nl = getStats();\n\t\tHashMap<String, String> id_name = new LinkedHashMap<String, String>();\n\t\tint len = nl.getLength();\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tString id = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"id\");\n\t\t\tString name = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"name\");\n\t\t\tif (id != null && name != null) {\n\t\t\t\tid_name.put(id, name);\n\t\t\t}\n\t\t}\n\t\treturn id_name;\n\t}", "public Map<String, String> getClusterIdToNameMap() {\n if (vplexClusterIdToNameCache.isEmpty()) {\n List<VPlexClusterInfo> clusterInfos = getClusterInfoLite();\n for (VPlexClusterInfo clusterInfo : clusterInfos) {\n vplexClusterIdToNameCache.put(clusterInfo.getClusterId(), clusterInfo.getName());\n }\n s_logger.info(\"refreshed cluster id to name map is \" + vplexClusterIdToNameCache.toString());\n }\n\n return vplexClusterIdToNameCache;\n }", "public Map<String, List<BenchmarkResultSet>> groupByBenchmark() {\n Map<String, List<BenchmarkResultSet>> groupedResults = new HashMap<>();\n if (getResults()!= null) {\n groupedResults = getResults().stream()\n .collect(Collectors.groupingBy(BenchmarkResultSet::getName));\n }\n return groupedResults;\n }", "public static Map<Integer, String> getAnonymizedJobSpaceNames(final int jobId) {\n\t\tJob job = Jobs.get(jobId);\n\n\t\tList<JobSpace> jobSpaces = Spaces.getSubSpacesForJob(job.getPrimarySpace(), true);\n\t\tjobSpaces.add(Spaces.getJobSpace(job.getPrimarySpace()));\n\t\tjobSpaces.sort(Comparator.comparingInt(Identifiable::getId));\n\n\t\tMap<Integer, String> jobSpaceIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (JobSpace space : jobSpaces) {\n\t\t\tint spaceId = space.getId();\n\t\t\tif (!jobSpaceIdToAnonymizedName.containsKey(spaceId)) {\n\t\t\t\tjobSpaceIdToAnonymizedName.put(spaceId, \"Space\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn jobSpaceIdToAnonymizedName;\n\t}", "private Map<Integer, Integer> buildRenaming() {\n\t\tMap<Integer, Integer> map = new HashMap<>();\n\n\t\tfor(int i = 0; i < this.dimension; i++){\n\t\t\tfor(int j = 0; j < this.dimension; j++)\n\t\t\t\tmap.put(board_p[i][j].var(), board[i][j].var());\n\t\t}\n\n\t\treturn map;\n\t}", "public Map<CharSequence, CharSequence> getReplacableNames();", "private void renameMapNames () {\n if (mappingNum == 0) {\n mapNames = null;\n return;\n }\n this.mapNames = new String[mappingNum];\n for (int i = 0; i < mappingNum; i++) {\n mapNames[i] = GBSHDF5Constants.MAPBASE + this.getThreeFigureString(i);\n }\n }", "private static void mapDbAsstIDs()\r\n {\r\n if (dbIdMap == null) {\r\n dbIdMap = new HashMap<String, Integer>();\r\n dbIdMap.put(\"repair\", 1);\r\n dbIdMap.put(\"fuel\", 2);\r\n dbIdMap.put(\"tuition\", 3);\r\n dbIdMap.put(\"clothing\", 4);\r\n dbIdMap.put(\"registration\", 5);\r\n dbIdMap.put(\"utilities\", 21);\r\n }\r\n }", "public static CharsToNameCanonicalizer m24344a() {\n long currentTimeMillis = System.currentTimeMillis();\n return m24345a((((int) currentTimeMillis) + ((int) (currentTimeMillis >>> 32))) | 1);\n }", "public static String[] names() {\n return ListableValuesHelper.names(LogicalFragmentBenchmarked.values());\n }", "@SuppressWarnings(\"unused\")\n private static <T extends AbstractApiIdentifiableDTO> Map<Long, T> generateIdMap(List<T> idList) {\n Map<Long, T> results = new HashMap<>(idList.size());\n\n for (T idSingle : idList) {\n results.put(idSingle.getId(), idSingle);\n }\n\n return results;\n }", "private List<String> getBoatNames(final List<MotorTorpedoBoat> mtbs) {\n return mtbs\n .stream()\n .map(boat -> boat.getShipId().getName())\n .collect(Collectors.toList());\n }", "public static Optional<PrimitivesToAnonymize> getPrimitivesToAnonymizeForBenchmark(String linkUuid)\n\t\t\tthrows SQLException {\n\t\treturn getPrimitivesToAnonymize(linkUuid, R.BENCHMARK);\n\t}", "public static String getNameFromId(int mapId) {\n\t\treturn switch (mapId) {\n\t\t\tcase CRYSTAL_SCAR_ID -> CRYSTAL_SCAR;\n\t\t\tcase TWISTED_TREELINE_ID -> TWISTED_TREELINE;\n\t\t\tcase SUMMONERS_RIFT_ID -> SUMMONERS_RIFT;\n\t\t\tcase HOWLING_ABYSS_ID -> HOWLING_ABYSS;\n\t\t\tdefault -> \"\";\n\t\t};\n\t}", "private Set<String> getNames(Map<String, String> map) {\r\n\t\tSet<String> set = new HashSet<>();\r\n\t\t\r\n\t\tmap.forEach((k,v) -> set.add(k));\r\n\t\t\r\n\t\treturn Collections.unmodifiableSet(set);\r\n\t}", "private static synchronized java.lang.String getUniqueSuffix() {\n if (counter > 99999) {\n counter = 0;\n }\n\n counter = counter + 1;\n\n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) +\n \"_\" + counter;\n }", "private static synchronized java.lang.String getUniqueSuffix() {\n if (counter > 99999) {\r\n counter = 0;\r\n }\r\n\r\n counter = counter + 1;\r\n\r\n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) +\r\n \"_\" + counter;\r\n }", "private static synchronized java.lang.String getUniqueSuffix() {\n if (counter > 99999) {\r\n counter = 0;\r\n }\r\n counter = counter + 1;\r\n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + \"_\" + counter;\r\n }", "public static String makeAnonID() {\n String id = \"__anon\" + nextAnonID;\n nextAnonID++;\n return id;\n }", "public static Map<String, Byte> genNameToTypeMap(){\n byte[] types = genAllTypes();\n String[] names = genAllTypeNames();\n Map<String, Byte> ret = new HashMap<String, Byte>();\n for(int i=0;i<types.length;i++){\n ret.put(names[i], types[i]);\n }\n return ret;\n }", "public static Map<String, List<String>> getStationNameToCodeMap() {\n\n\t\tif (stationNameToCodeMapCache.size() > 0)\n\t\t\treturn stationNameToCodeMapCache;\n\t\ttry {\n\t\t\tList<StationMap> stationMaps = buildStationMap();\n\t\t\tMap<String, List<String>> stationNameToCode = new HashMap<>();\n\t\t\tfor (int i = 0; i < stationMaps.size(); i++) {\n\t\t\t\tif (stationNameToCode.containsKey(stationMaps.get(i).getStationName().toLowerCase().trim())) {\n\t\t\t\t\tList<String> list = stationNameToCode.get(stationMaps.get(i).getStationName().toLowerCase().trim());\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t} else {\n\t\t\t\t\tList<String> list = new ArrayList<>();\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t\tstationNameToCode.put(stationMaps.get(i).getStationName().toLowerCase().trim(), list);\n\t\t\t\t}\n\t\t\t}\n\t\t\tstationNameToCodeMapCache = stationNameToCode;\n\t\t} catch (UrbanRailNetworkException e) {\n\t\t}\n\t\treturn stationNameToCodeMapCache;\n\t}", "public static String randomIdentifier() {\r\n\t\tfinal String lexicon = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\r\n\t\tfinal java.util.Random rand = new java.util.Random();\r\n\t\t// consider using a Map<String,Boolean> to say whether the identifier is\r\n\t\t// being used or not\r\n\t\tfinal Set<String> identifiers = new HashSet<String>();\r\n\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\twhile (builder.toString().length() == 0) {\r\n\t\t\tint length = rand.nextInt(5) + 5;\r\n\t\t\tfor (int i = 0; i < length; i++)\r\n\t\t\t\tbuilder.append(lexicon.charAt(rand.nextInt(lexicon.length())));\r\n\t\t\tif (identifiers.contains(builder.toString()))\r\n\t\t\t\tbuilder = new StringBuilder();\r\n\t\t}\r\n\t\treturn builder.toString();\r\n\t}", "public static String getTempMapName() {\r\n return (getTempMapName(GrassUtils.TEMP_PREFIX + \"_\"));\r\n }", "private String[] getInstrumentIds(){\n logger.info(\"Getting Instruments from cache\");\n return instruments.keySet().toArray(new String[instruments.size()]);\n }", "private void initializeNamesMap (Workspace[] wss) {\n // fill name mapping with proper values\n namesMap = new HashMap(wss.length * 2);\n for (int i = 0; i < wss.length; i++) {\n // create new string for each display name to be able to search\n // using '==' operator in findProgrammaticName(String displayName) method\n namesMap.put(wss[i].getName(), new String(wss[i].getDisplayName()));;\n }\n }", "String generateUniqueName();", "private static synchronized java.lang.String getUniqueSuffix(){\n if (counter > 99999){\n counter = 0;\n }\n counter = counter + 1; \n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + \"_\" + counter;\n }", "private static synchronized java.lang.String getUniqueSuffix(){\n if (counter > 99999){\n counter = 0;\n }\n counter = counter + 1; \n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + \"_\" + counter;\n }", "private static synchronized java.lang.String getUniqueSuffix(){\n if (counter > 99999){\n counter = 0;\n }\n counter = counter + 1; \n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + \"_\" + counter;\n }", "Set<Eid> aliases();", "public static Map<Byte, String> genTypeToNameMap(){\n byte[] types = genAllTypes();\n String[] names = genAllTypeNames();\n Map<Byte,String> ret = new HashMap<Byte, String>();\n for(int i=0;i<types.length;i++){\n ret.put(types[i], names[i]);\n }\n return ret;\n }", "private static HashSet<String> getNames() {\n String[] names = {\n \"James\",\n \"John\",\n \"Robert\",\n \"Michael\",\n \"William\",\n \"David\",\n \"Richard\",\n \"Charles\",\n \"Joseph\",\n \"Thomas\",\n \"Christopher\",\n \"Daniel\",\n \"Paul\",\n \"Mark\",\n \"Donald\",\n \"George\",\n \"Kenneth\",\n \"Steven\",\n \"Edward\",\n \"Brian\",\n \"Ronald\",\n \"Anthony\",\n \"Kevin\",\n \"Jason\",\n \"Matthew\",\n \"Gary\",\n \"Timothy\",\n \"Jose\",\n \"Larry\",\n \"Jeffrey\",\n \"Frank\",\n \"Scott\",\n \"Eric\",\n \"Stephen\",\n \"Andrew\",\n \"Raymond\",\n \"Gregory\",\n \"Joshua\",\n \"Jerry\",\n \"Dennis\",\n \"Walter\",\n \"Patrick\",\n \"Peter\",\n \"Harold\",\n \"Douglas\",\n \"Henry\",\n \"Carl\",\n \"Arthur\",\n \"Ryan\",\n \"Roger\"\n };\n\n return new HashSet<>(Arrays.asList(names));\n }", "private static synchronized java.lang.String getUniqueSuffix(){\n if (counter > 99999){\n counter = 0;\n }\n counter = counter + 1; \n return java.lang.Long.toString(System.currentTimeMillis()) + \"_\" + counter;\n }", "private static synchronized java.lang.String getUniqueSuffix(){\n if (counter > 99999){\r\n counter = 0;\r\n }\r\n counter = counter + 1; \r\n return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + \"_\" + counter;\r\n }", "private Set<String> allAliases( List<String> ids ) {\n\t\tSet<String> aliases = getAliases( ids ); \n\t\taliases.addAll( addCachedAliases(ids) );\n\t\treturn aliases;\n\t}", "public String[] randomNames() {\n \n \n Random generator = new Random();\n \n Set randomNumbersName = new HashSet();\n\n for(int i = 0; i < model.getNoOfDevices(); i++)\n {\n Boolean unique = false;\n\n while(!unique)\n {\n int oldSize = randomNumbersName.size();\n\n int r = generator.nextInt(names.size());\n randomNumbersName.add(names.get(r));\n\n int newSize = randomNumbersName.size();\n\n if(newSize > oldSize)\n {\n unique = true;\n }\n }\n\n }\n\n return (String[]) randomNumbersName.toArray(new String[model.getNoOfDevices()]);\n \n }", "public static String generateDatasetName() {\n return DATASET_NAME_PREFIX + UUID.randomUUID().toString().replace('-', '_');\n }", "private final String excludedWorkersToString(HashSet<String> WorkersList){\n\t\tString Ids = \"\";\n\t\tfor(String id : WorkersList){\n\t\t\tIds += id +\",\";\n\t\t}\n\t\treturn Ids;\n\t}", "Set<String> getIdentifiers();", "public interface IDs {\n\n static final String SERIES_STANDARD_ID = \"c7fb8441-d5db-4113-8af0-e4ba0c3f51fd\";\n static final String EPISODE_STANDARD_ID = \"a99a8588-93df-4811-8403-fe22c70fa00a\";\n static final String FILE_STANDARD_ID = \"c5919cbf-fbf3-4250-96e6-3fefae51ffc5\";\n static final String RECORDING_STANDARD_ID = \"4a40811d-c067-467f-8ff6-89f37eddb933\";\n static final String ZAP2IT_STANDARD_ID = \"545c4b00-5409-4d92-9cda-59a44f0ec7a9\";\n}", "private static Map generateCharacterMappings() {\n Log.debug(\"Generating default character mappings\");\n Map map = new HashMap();\n Iterator iter = keycodes.keySet().iterator();\n while (iter.hasNext()) {\n Object key = iter.next();\n map.put(keycodes.get(key), key);\n }\n return map;\n }", "public static ImmutableSet<Integer> getIds(){\n\t\t\treturn m_namesMap.rightSet();\n\t\t}", "public Set keyNames() {\n return new LinkedHashSet<>( asList( idName() ) );\n }", "public Table<Integer, Integer, String> getAnonymizedData();", "public static Mapper<String> name() {\n return NAME;\n }", "private SymbolData[]\n\t\t\tmakeSymbolMap(Map<StandardSymbolData, JsName> symbolTable) {\n\t\tfinal Set<String> nameUsed = new HashSet<String>();\n\t\tfinal Map<JsName, Integer> nameToFragment = new HashMap<JsName, Integer>();\n\t\tfor (int i = 0; i < jsProgram.getFragmentCount(); i++) {\n\t\t\tfinal Integer fragId = i;\n\t\t\tnew JsVisitor() {\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsForIn x, JsContext ctx) {\n\t\t\t\t\tif (x.getIterVarName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getIterVarName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsFunction x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsLabel x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameOf x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameRef x, JsContext ctx) {\n\t\t\t\t\t// Obviously this isn't even that accurate. Some of them are\n\t\t\t\t\t// variable names, some of the are property. At least this\n\t\t\t\t\t// this give us a safe approximation. Ideally we need\n\t\t\t\t\t// the code removal passes to remove stuff in the scope\n\t\t\t\t\t// objects.\n\t\t\t\t\tif (x.isResolved()) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsParameter x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsVars.JsVar x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t// alcina - add classlits to name/fragment\n\t\t\t\t\tif (x.getName().getIdent().startsWith(\n\t\t\t\t\t\t\t\"com_google_gwt_lang_ClassLiteralHolder_\")) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}.accept(jsProgram.getFragmentBlock(i));\n\t\t}\n\t\t// TODO(acleung): This is a temp fix. Once we know this is safe. We\n\t\t// new to rewrite it to avoid extra ArrayList creations.\n\t\t// Or we should just consider serializing it as an ArrayList if\n\t\t// it is that much trouble to determine the true size.\n\t\tList<SymbolData> result = new ArrayList<SymbolData>();\n\t\tfor (Map.Entry<StandardSymbolData, JsName> entry : symbolTable\n\t\t\t\t.entrySet()) {\n\t\t\tStandardSymbolData symbolData = entry.getKey();\n\t\t\tsymbolData.setSymbolName(entry.getValue().getShortIdent());\n\t\t\tInteger fragNum = nameToFragment.get(entry.getValue());\n\t\t\tif (fragNum != null) {\n\t\t\t\tsymbolData.setFragmentNumber(fragNum);\n\t\t\t}\n\t\t\tif (nameUsed.contains(entry.getValue().getIdent())\n\t\t\t\t\t|| entry.getKey().isClass()) {\n\t\t\t\tresult.add(symbolData);\n\t\t\t}\n\t\t}\n\t\treturn result.toArray(new SymbolData[result.size()]);\n\t}", "private static <T extends AbstractApiIdentifiableDTO> Map<Long, List<T>> generateIdMapList(List<T> idList) {\n Map<Long, List<T>> results = new HashMap<>();\n\n for (T idSingle : idList) {\n Long sourceId = idSingle.getId();\n if (results.containsKey(sourceId)) {\n results.get(sourceId).add(idSingle);\n } else {\n // ID didn't exist so add a new list\n List<T> list = new ArrayList<>(1);\n list.add(idSingle);\n results.put(sourceId, list);\n }\n }\n\n return results;\n }", "public static void createTempMapsetName() {\r\n UUID id;\r\n String tmpPrefix;\r\n String tmpSuffix;\r\n String tmpBase;\r\n String tmpFolder;\r\n\r\n id = UUID.randomUUID();\r\n tmpPrefix = new String(GrassUtils.TEMP_PREFIX);\r\n tmpSuffix = new String(\"_\" + id);\r\n tmpBase = new String(System.getProperty(\"java.io.tmpdir\"));\r\n if (tmpBase.endsWith(File.separator)) {\r\n tmpFolder = new String(tmpBase + tmpPrefix + tmpSuffix.replace('-', '_') + File.separator + \"user\");\r\n }\r\n else {\r\n tmpFolder = new String(tmpBase + File.separator + tmpPrefix + tmpSuffix.replace('-', '_') + File.separator + \"user\");\r\n }\r\n m_sGrassTempMapsetFolder = tmpFolder;\r\n\r\n }", "@Override\n\tpublic java.util.Map<java.util.Locale, java.lang.String> getManualIdMap() {\n\t\treturn _scienceApp.getManualIdMap();\n\t}", "private HashMap<String, String> getAnswerCodesByID(String id, boolean oth)\n\t{\n\t\tHashMap<String, String> ans_map = new HashMap<String, String>();\n\t\tNode ans_l10ns = doc.selectSingleNode(\"//document/answer_l10ns/rows\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Element> a_meta = doc.selectNodes(\"//document/answers/rows/row[qid=\" + id + \"]\");\n\t\tfor (Element elem : a_meta) {\n\t\t\tans_map.put(elem.elementText(\"code\"), ans_l10ns.selectSingleNode(\"row[aid=\" + elem.elementText(\"aid\") + \"]/answer\").getText());\n\t\t}\n\n\t\tif (oth) {\n\t\t\tans_map.put(\"-oth-\", \"other\");\n\t\t}\n\t\treturn ans_map;\n\t}", "public ArrayList<String> getStatsIds() {\n\t\tArrayList<String> arr = new ArrayList<String>();\n\t\tNodeList nl = getStats();\n\t\tint len = nl.getLength();\n\t\tString str = \"\";\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tString id = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"id\");\n\t\t\tif (id != null) {\n\t\t\t\tarr.add(id);\n\t\t\t\tstr += (id + \"\\n\");\n\t\t\t}\n\t\t}\n\t\treturn arr;\n\t}", "private void generateID(){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String t : terms.keySet())\n\t\t\tsb.append(t.replaceAll(\"\\\\W\", \"\")\n\t\t\t\t\t.substring(0, Math.min(4, t.replaceAll(\"\\\\W\", \"\").length())) + \"-\");\n\t\tfor (String s : sources)\n\t\t\tsb.append(s.replaceAll(\"\\\\W\", \"\")\n\t\t\t\t\t.substring(0, Math.min(4, s.replaceAll(\"\\\\W\", \"\").length())) + \"-\");\n\t\tsb.deleteCharAt(sb.length()-1);\n\t\tif (yearFrom > -1) sb.append(\"_\" + yearFrom);\n\t\tif (yearTo > -1) sb.append(\"_\" + yearTo);\n\t\tif (useCompounds) sb.append(\"_COMP\");\n\t\tif (useStopwords) sb.append(\"_STOP\");\n\t\tsb.append(\"_CNT\" + contextSize);\n\t\tsb.append(\"_\" + System.currentTimeMillis());\n\t\tthis.id = sb.toString();\n\t}", "static Map<String, Boolean> getUUIDMap(){\n\t\tMap<String, Boolean> m = new HashMap<String, Boolean>();\n\t\t\n\t\tm.put(Config.DYNAMIC_PROXIMITY_UUID, false);\n\t\tm.put(Config.STATIC_PROXIMITY_UUID, false);\n\t\t\n\t\treturn m;\n\t}", "public Map<String, Long> getUserIdLetterMap() throws UserManagementException;", "public Map<String, String> getSummonerNames(long... summonerIds){\n return get(String.format(\"%s/name\", concatenateSummonerIds(summonerIds)))\n .getEntity(new GenericType<Map<String, String>>(){});\n }", "public Map<String, Set<String>> getBufferedDeviceNamesByType();", "public Map<String, List<PerformanceChange>> getNamePerformancechangeMap(final String svnCommitId) {\n\t\tfinal Map<String, List<PerformanceChange>> changeNames = new HashMap<>();\n\t\tfinal Map<PerformanceChange, File> versionChanges = allChanges.get(svnCommitId);\n\t\tif (versionChanges == null){\n\t\t\treturn new HashMap<>();\n\t\t}\n\t\tfor (final PerformanceChange change : versionChanges.keySet()) {\n\t\t\tList<PerformanceChange> changes = changeNames.get(change.getTestClass());\n\t\t\tif (changes == null) {\n\t\t\t\tchanges = new LinkedList<>();\n\t\t\t\tchangeNames.put(change.getTestClass(), changes);\n\t\t\t}\n\t\t\tchanges.add(change);\n\t\t\tif (changes.size() > 1) {\n\t\t\t\tLOG.trace(\"Mehr: {} . {}\" ,change.getTestClass(), change.getTestMethod());\n\t\t\t}\n\t\t}\n\t\treturn changeNames;\n\t}", "java.util.Map<java.lang.String, java.lang.Long> getYarnMetricsMap();", "public static void main(String[] args) throws Exception {\n List<Integer> numberList = IntStream\n .generate(() -> ThreadLocalRandom.current().nextInt(10))\n .limit(100)\n .boxed()\n .collect(Collectors.toList());\n\n // collecting the stream to a set\n Set<Integer> numberSet = IntStream\n .generate(() -> ThreadLocalRandom.current().nextInt(10))\n .limit(100)\n .boxed()\n .collect(Collectors.toSet());\n\n // String concatenation again\n String s = Arrays.asList(\"John\", \"Jack\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.joining(\",\"));\n\n // create a map; keys are names; values are length of names\n Map<String, Integer> m1 =\n Arrays.asList(\"Jack\", \"John\", \"Jeremy\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.toMap(e -> e, e -> e.length()));\n\n // create a map; keys are length of names; values are list of names\n Map<Integer, List<String>> m2 =\n Arrays.asList(\"Jack\", \"John\", \"Jeremy\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.groupingBy(\n name -> name.length(),\n Collectors.toList()\n ));\n }", "Map<String, String> mo14888a();", "String getShortNameKey();", "public synchronized TreeMap getProfileNames()\n {\n if (profileNames == null)\n {\n synchronized (this)\n {\n JOTLogger.log(JOTLogger.DEBUG_LEVEL, this, \"Caching profile names\");\n profileNames = new TreeMap();\n try\n {\n Vector v = JOTQueryBuilder.findAll(null, WikiProfile.class).getAllResults();\n for (int i = 0; i != v.size(); i++)\n {\n WikiProfile profile = (WikiProfile) v.get(i);\n profileNames.put(profile.getName(), new Long(profile.getId()));\n }\n } catch (Exception e)\n {\n JOTLogger.logException(JOTLogger.ERROR_LEVEL, this, \"Failed to read profile names from DB, not initialized yet ?\", e);\n\n }\n }\n }\n return profileNames;\n }", "private void processTilesetMap() {\r\n for (int t = 0; t < this.getTileSetCount(); t++) {\r\n TileSet tileSet = this.getTileSet(t);\r\n this.tilesetNameToIDMap.put(tileSet.name, t);\r\n }\r\n }", "public String map(String internalName) {\n return maps.map(internalName.replace('/', '.')).getName()\n .replace('.', '/');\n }", "public void generateRandomMap() {\n\n\t}", "public int hashCode(){\n return name.hashCode();\n }", "private List<String> extractMockTaxonNameFromMap(Iterator<Map<String,Object>> it){\n\t\tList<String> mockTaxonNameList = new ArrayList<String>();\n\t\tString calNameAuthor;\n\t\twhile(it.hasNext()){\n\t\t\tcalNameAuthor = (String)it.next().get(TaxonDAO.DD_CALNAME_AUTHOR);\n\t\t\tif(calNameAuthor.startsWith(MOCK_TAXON_NAME)){\n\t\t\t\tmockTaxonNameList.add(calNameAuthor);\n\t\t\t}\n\t\t}\n\t\treturn mockTaxonNameList;\n\t}", "private HashMap<String, String> getAnswerIdsByID(String id)\n\t{\n\t\tHashMap<String, String> ans_map = new HashMap<String, String>();\n\t\tNode ans_l10ns = doc.selectSingleNode(\"//document/answer_l10ns/rows\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Element> a_meta = doc.selectNodes(\"//document/answers/rows/row[qid=\" + id +\"]\");\n\t\tfor (Element elem : a_meta) {\n\t\t\tans_map.put(elem.elementText(\"aid\"), ans_l10ns.selectSingleNode(\"row[aid=\" + elem.elementText(\"aid\") + \"]/answer\").getText());\n\t\t}\n\t\treturn ans_map;\n\t}", "String getUniqueId();", "public static String getPrimitivesToAnonymizeName(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\tString enumName = null;\n\t\tswitch (primitivesToAnonymize) {\n\t\t\tcase ALL:\n\t\t\t\tenumName = R.ANONYMIZE_ALL;\n\t\t\t\tbreak;\n\t\t\tcase ALL_BUT_BENCH:\n\t\t\t\tenumName = R.ANONYMIZE_ALL_BUT_BENCH;\n\t\t\t\tbreak;\n\t\t\tcase NONE:\n\t\t\t\tenumName = R.ANONYMIZE_NONE;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"A case has not been implemented for the input PrimitivesToAnonymize.\");\n\t\t}\n\t\treturn enumName;\n\t}", "public ArrayList<String> get_name_code_Smells() {\n\t\tArrayList<String> keys = new ArrayList<String>();\n\t\tkeys.addAll(getCode_Smells().keySet());\n\t\treturn keys;\n\t}", "public Map<String, String[]> getAllIdentifiantsUniques() {\n\t\tMap<String, String[]> allIdentifiantsUniques = new HashMap<>();\n\t\ttry {\n\t\t\tallIdentifiantsUniques = utilisateurDAO.selectAllIdentifiantsUniques();\n\t\t} catch (DALException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn allIdentifiantsUniques;\n\t}", "public static String aUniqueIdentifier() {\n return \"MONEXT\" + new SimpleDateFormat(\"yyyyMMddHHmmss\").format(new Date());\n }", "public Multimap<String, Command> checkForDuplicateNames() {\r\n\t\tList<Command> allCommands = new ArrayList<>();\r\n\t\tallCommands.addAll(this.commands);\r\n\t\tallCommands.addAll(learnedCommands.getCommands());\r\n\r\n\t\tMultimap<String, Command> byName = ArrayListMultimap.create();\r\n\t\tfor (Command command : allCommands) {\r\n\t\t\tbyName.put(command.name().toLowerCase(), command);\r\n\t\t\tfor (String alias : command.aliases()) {\r\n\t\t\t\tbyName.put(alias.toLowerCase(), command);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tMultimap<String, Command> duplicates = ArrayListMultimap.create();\r\n\r\n\t\tbyName.asMap().entrySet().stream() //@formatter:off\r\n\t\t\t.filter(entry -> entry.getValue().size() > 1)\r\n\t\t.forEach(entry -> duplicates.putAll(entry.getKey(), entry.getValue())); //@formatter:on\r\n\r\n\t\treturn duplicates;\r\n\t}", "private OwBootstrapToIdMapping()\r\n {\r\n\r\n }", "@Override\n public int hashCode() {\n return name.hashCode();\n }", "public void testRandomStrings() throws Exception {\n final int numIters = atLeast(3);\n for (int i = 0; i < numIters; i++) {\n SynonymMap.Builder b = new SynonymMap.Builder(random().nextBoolean());\n final int numEntries = atLeast(10);\n for (int j = 0; j < numEntries; j++) {\n add(b, randomNonEmptyString(), randomNonEmptyString(), random().nextBoolean());\n }\n final SynonymMap map = b.build();\n final boolean ignoreCase = random().nextBoolean();\n\n final Analyzer analyzer =\n new Analyzer() {\n @Override\n protected TokenStreamComponents createComponents(String fieldName) {\n Tokenizer tokenizer = new MockTokenizer(MockTokenizer.SIMPLE, true);\n TokenStream stream = new SynonymGraphFilter(tokenizer, map, ignoreCase);\n return new TokenStreamComponents(tokenizer, new RemoveDuplicatesTokenFilter(stream));\n }\n };\n\n checkRandomData(random(), analyzer, 200);\n analyzer.close();\n }\n }", "public <T extends Animation> String buildUniqueName(ObservableMap<String, T> anis) {\n\t\treturn buildUniqueNameWithPrefix(anis,\"Scene\", anis.size());\n\t}", "private static Map<String, String> m19376a(List<ajr> list) {\n if (list == null) {\n return null;\n }\n if (list.isEmpty()) {\n return Collections.emptyMap();\n }\n Map<String, String> treeMap = new TreeMap(String.CASE_INSENSITIVE_ORDER);\n for (ajr ajr : list) {\n treeMap.put(ajr.m19223a(), ajr.m19224b());\n }\n return treeMap;\n }", "private void mapSetUp() {\n\t\tfor (int i = 0; i < allChar.length; i++) {\n\t\t\tmap.put(allChar[i], shuffledChar[i]);\n\t\t}\n\t}", "private String getID()\n {\n String chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()_+{}|:<>?/.,';][=-`~\";\n String id = \"\";\n int max = new Random().nextInt((16 - 12) + 1)+12;\n for(int i=0;i<16;i++)\n {\n int r = new Random().nextInt((chars.length()-1 - 0) + 1)+0;\n id+=chars.charAt(r);\n }\n return id;\n }", "private static Map getMapPotionIds() {\n/* 350 */ if (mapPotionIds == null) {\n/* */ \n/* 352 */ mapPotionIds = new LinkedHashMap<>();\n/* 353 */ mapPotionIds.put(\"water\", new int[1]);\n/* 354 */ mapPotionIds.put(\"awkward\", new int[] { 16 });\n/* 355 */ mapPotionIds.put(\"thick\", new int[] { 32 });\n/* 356 */ mapPotionIds.put(\"potent\", new int[] { 48 });\n/* 357 */ mapPotionIds.put(\"regeneration\", getPotionIds(1));\n/* 358 */ mapPotionIds.put(\"moveSpeed\", getPotionIds(2));\n/* 359 */ mapPotionIds.put(\"fireResistance\", getPotionIds(3));\n/* 360 */ mapPotionIds.put(\"poison\", getPotionIds(4));\n/* 361 */ mapPotionIds.put(\"heal\", getPotionIds(5));\n/* 362 */ mapPotionIds.put(\"nightVision\", getPotionIds(6));\n/* 363 */ mapPotionIds.put(\"clear\", getPotionIds(7));\n/* 364 */ mapPotionIds.put(\"bungling\", getPotionIds(23));\n/* 365 */ mapPotionIds.put(\"charming\", getPotionIds(39));\n/* 366 */ mapPotionIds.put(\"rank\", getPotionIds(55));\n/* 367 */ mapPotionIds.put(\"weakness\", getPotionIds(8));\n/* 368 */ mapPotionIds.put(\"damageBoost\", getPotionIds(9));\n/* 369 */ mapPotionIds.put(\"moveSlowdown\", getPotionIds(10));\n/* 370 */ mapPotionIds.put(\"diffuse\", getPotionIds(11));\n/* 371 */ mapPotionIds.put(\"smooth\", getPotionIds(27));\n/* 372 */ mapPotionIds.put(\"refined\", getPotionIds(43));\n/* 373 */ mapPotionIds.put(\"acrid\", getPotionIds(59));\n/* 374 */ mapPotionIds.put(\"harm\", getPotionIds(12));\n/* 375 */ mapPotionIds.put(\"waterBreathing\", getPotionIds(13));\n/* 376 */ mapPotionIds.put(\"invisibility\", getPotionIds(14));\n/* 377 */ mapPotionIds.put(\"thin\", getPotionIds(15));\n/* 378 */ mapPotionIds.put(\"debonair\", getPotionIds(31));\n/* 379 */ mapPotionIds.put(\"sparkling\", getPotionIds(47));\n/* 380 */ mapPotionIds.put(\"stinky\", getPotionIds(63));\n/* */ } \n/* */ \n/* 383 */ return mapPotionIds;\n/* */ }", "@SuppressWarnings(\"checkstyle:avoidinlineconditionals\")\n private static void setUpNameList() {\n List<String> names = new ArrayList<>();\n String verb;\n String noun;\n for (int i = 0; i < NUMBER_OF_NAMES; i++) {\n verb = GenerationHelper.randomElement(verbs);\n noun = GenerationHelper.randomElement(nouns);\n String taskName = verb;\n taskName += \"aeiou\".contains(noun.subSequence(0, 1)) ? \" an \" : \" a \";\n taskName += noun;\n names.add(Character.toUpperCase(taskName.charAt(0)) + taskName.substring(1));\n }\n taskNames = new String[names.size()];\n names.toArray(taskNames);\n }", "private void getMapping() {\n double [][] chars = new double[CHAR_SET_SIZE][1];\n for (int i = 0; i < chars.length; i++) {\n chars[i][0] = i;\n }\n Matrix b = new Matrix(key).times(new Matrix(chars));\n map = b.getArray();\n }", "private Set<String> getPostScriptNames(String postScriptName) {\n/* 179 */ Set<String> names = new HashSet<String>();\n/* */ \n/* */ \n/* 182 */ names.add(postScriptName);\n/* */ \n/* */ \n/* 185 */ names.add(postScriptName.replaceAll(\"-\", \"\"));\n/* */ \n/* 187 */ return names;\n/* */ }", "public static boolean areBenchmarksAnonymized(PrimitivesToAnonymize primitivesToAnonymize) {\n\t\treturn isEverythingAnonymized(primitivesToAnonymize);\n\t}", "private MapDBLabelToId() {\n\t\tproperties = new ProjectProperties(this.getClass());\n\n\t\tmap = db.getCollection(COLLECTION_NAME);\n\t\t// commitFrequency = properties.getInt(\"mapdb.commit\");\n\t}", "private static Map<String, Integer> assignVertexIds(DAG dag) {\n Map<String, Integer> vertexIdMap = new LinkedHashMap<>();\n final int[] vertexId = {0};\n dag.forEach(v -> vertexIdMap.put(v.getName(), vertexId[0]++));\n return vertexIdMap;\n }", "String idProvider();", "private static String getSequenceName(String baseName, boolean isDistinct, boolean isMap) {\n if (isDistinct) {\n baseName = baseName + \"_dis\";\n } else if (isMap) {\n baseName = baseName + \"_dmap\";\n }\n\n baseName = baseName + \"_seq\";\n\n return baseName;\n }", "public static String[] getNames() {\n String[] res = new String[crossbows.length];\n for (int i = 0; i < crossbows.length; i++) {\n res[i] = (String)crossbows[i][2];\n }\n return res;\n }", "public static IDExpression getUnusedID(SymbolTable table) {\n String name = null;\n IDExpression ident = null;\n Random rand = new Random();\n do {\n name = \"\";\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n name += 'a' + (rand.nextInt() % 26);\n ident = new NameID(name);\n } while (findSymbol(table, ident) == null);\n return ident;\n }", "Set<String> loadConceptMapUUIDs(int maximumCount) {\n \t\t// TODO: Should create, maintain, and use an index\n \t\tString transactionURI = session.getVariable(session.getWorkspaceVariable());\n \t\tConceptMapUUIDCollector visitor = new ConceptMapUUIDCollector(maximumCount);\n \t\tTransactionVisitor.visitAllResourcesInATransactionTreeRecursively(session, transactionURI, visitor);\n \t\tif (visitor.conceptMapUUIDs.isEmpty()) return new HashSet<String>();\n \t\treturn visitor.conceptMapUUIDs;\t\t\t\n \t}", "String getLongNameKey();", "private void buildAttrNamesSet() {\r\n\t\tFileReader file = null;\r\n\t\tString fileName = \"data/attributesType.txt\";\r\n\r\n\t\ttry {\r\n\t\t\tfile = new FileReader(fileName);\r\n\t\t\tBufferedReader reader = new BufferedReader(file);\r\n\t\t\tString line = \"\";\r\n\t\t\twhile ((line = reader.readLine()) != null) {\r\n\t\t\t\tString strLine[] = line.split(\" \");\r\n\t\t\t\tint type = Integer.parseInt(strLine[1]);\r\n\t\t\t\thmAttrNames.put(strLine[0], new Integer(type));\r\n\t\t\t}\r\n\r\n\t\t\tfile.close();\r\n\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (NumberFormatException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t * // Get a set of the entries Set set = hmAttrNames.entrySet(); // Get\r\n\t\t * an iterator Iterator i = set.iterator(); // Display elements while\r\n\t\t * (i.hasNext()) { Map.Entry me = (Map.Entry) i.next();\r\n\t\t * System.out.print(me.getKey() + \": \");\r\n\t\t * System.out.println(me.getValue()); } System.out.println();\r\n\t\t */\r\n\t}", "private final Map<String, C2168bw> m967q(List<String> list) {\n return (Map) m968r(new C2164bs(this, list, (byte[]) null));\n }", "public String makeUniqueName (String name) {\n StringBuffer nameBuf = new StringBuffer(name);\n if (!nameNumberMap.containsKey(name)) {\n // put initial value into map\n nameNumberMap.put(name, 0);\n }\n int num = nameNumberMap.get(name) + 1; // increment number by 1\n nameBuf.append(num);\n nameNumberMap.put(name, num);\n return nameBuf.toString();\n }", "public Abbreviations() {\n this.abbreviations = new HashMap<>();\n }", "public Map<String, String> getInitiatorWwnToNameMap(String clusterName) {\n return _discoveryMgr.getInitiatorWwnToNameMap(clusterName);\n }" ]
[ "0.61388874", "0.5976046", "0.53327227", "0.52627856", "0.5201258", "0.51909447", "0.5154202", "0.51055807", "0.51047426", "0.5085954", "0.50269425", "0.50019544", "0.4974055", "0.49503666", "0.4932827", "0.4922438", "0.48916772", "0.4878591", "0.4865376", "0.4848619", "0.48484114", "0.4829706", "0.48175487", "0.47987273", "0.47966716", "0.47847468", "0.47777328", "0.47756663", "0.47756663", "0.47756663", "0.47750685", "0.47675774", "0.47633898", "0.47625723", "0.47388703", "0.47300792", "0.46860865", "0.46748492", "0.4669964", "0.46659425", "0.4660069", "0.46593753", "0.4657532", "0.46565744", "0.46506462", "0.4644282", "0.4638118", "0.4628988", "0.46111575", "0.46051985", "0.46011886", "0.4600289", "0.45958778", "0.45655638", "0.45598328", "0.45525438", "0.4538351", "0.45138878", "0.4507635", "0.44796234", "0.44739652", "0.44708982", "0.444796", "0.44465002", "0.44414988", "0.44343114", "0.4431439", "0.44230562", "0.442112", "0.44205412", "0.44201598", "0.4418946", "0.44149846", "0.4414555", "0.44078562", "0.43971235", "0.43959504", "0.4394051", "0.4390177", "0.43777138", "0.43767625", "0.4375635", "0.43693808", "0.4366408", "0.43592146", "0.4354346", "0.43432125", "0.4342691", "0.43418252", "0.43340153", "0.43329424", "0.43298802", "0.43252927", "0.4318478", "0.43121713", "0.43077666", "0.43015137", "0.42968908", "0.429674", "0.4295504" ]
0.8088599
0
Gets a mapping of job space ID's to unique anonymized names.
public static Map<Integer, String> getAnonymizedJobSpaceNames(final int jobId) { Job job = Jobs.get(jobId); List<JobSpace> jobSpaces = Spaces.getSubSpacesForJob(job.getPrimarySpace(), true); jobSpaces.add(Spaces.getJobSpace(job.getPrimarySpace())); jobSpaces.sort(Comparator.comparingInt(Identifiable::getId)); Map<Integer, String> jobSpaceIdToAnonymizedName = new HashMap<>(); int numberToAppend = 1; for (JobSpace space : jobSpaces) { int spaceId = space.getId(); if (!jobSpaceIdToAnonymizedName.containsKey(spaceId)) { jobSpaceIdToAnonymizedName.put(spaceId, "Space" + numberToAppend); numberToAppend += 1; } } return jobSpaceIdToAnonymizedName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Map<Integer, String> buildAnonymizedSolverNamesMap(final List<Solver> solvers) {\n\t\t// Build a mapping of solvers to anonymized names.\n\t\tMap<Integer, String> solverIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Solver solver : solvers) {\n\t\t\tint solverId = solver.getId();\n\t\t\tif (!solverIdToAnonymizedName.containsKey(solverId)) {\n\t\t\t\tsolverIdToAnonymizedName.put(solverId, \"Solver\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn solverIdToAnonymizedName;\n\t}", "public Map<CharSequence, CharSequence> getReplacableNames();", "private Map<Integer, Integer> buildRenaming() {\n\t\tMap<Integer, Integer> map = new HashMap<>();\n\n\t\tfor(int i = 0; i < this.dimension; i++){\n\t\t\tfor(int j = 0; j < this.dimension; j++)\n\t\t\t\tmap.put(board_p[i][j].var(), board[i][j].var());\n\t\t}\n\n\t\treturn map;\n\t}", "private static Map<Integer, String> buildAnonymizedBenchmarkNamesMap(final List<Benchmark> benchmarks) {\n\t\tfinal String methodName = \"buildAnonymizedBenchmarkNamesMap\";\n\t\tlog.entry(methodName);\n\n\t\tMap<Integer, String> benchmarkIdToAnonymizedName = new HashMap<>();\n\t\tint numberToAppend = 1;\n\t\tfor (Benchmark bench : benchmarks) {\n\t\t\tint benchId = bench.getId();\n\t\t\tif (!benchmarkIdToAnonymizedName.containsKey(benchId)) {\n\t\t\t\tbenchmarkIdToAnonymizedName.put(benchId, \"Benchmark\" + numberToAppend);\n\t\t\t\tnumberToAppend += 1;\n\t\t\t}\n\t\t}\n\t\treturn benchmarkIdToAnonymizedName;\n\t}", "public HashMap<String, String> getStatsNamesAndIds() {\n\t\tNodeList nl = getStats();\n\t\tHashMap<String, String> id_name = new LinkedHashMap<String, String>();\n\t\tint len = nl.getLength();\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tString id = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"id\");\n\t\t\tString name = ParserHelper.requiredAttributeGetter((Element) nl.item(i), \"name\");\n\t\t\tif (id != null && name != null) {\n\t\t\t\tid_name.put(id, name);\n\t\t\t}\n\t\t}\n\t\treturn id_name;\n\t}", "public Map<String, String> getClusterIdToNameMap() {\n if (vplexClusterIdToNameCache.isEmpty()) {\n List<VPlexClusterInfo> clusterInfos = getClusterInfoLite();\n for (VPlexClusterInfo clusterInfo : clusterInfos) {\n vplexClusterIdToNameCache.put(clusterInfo.getClusterId(), clusterInfo.getName());\n }\n s_logger.info(\"refreshed cluster id to name map is \" + vplexClusterIdToNameCache.toString());\n }\n\n return vplexClusterIdToNameCache;\n }", "public Map<String, Long> getUserIdLetterMap() throws UserManagementException;", "private void renameMapNames () {\n if (mappingNum == 0) {\n mapNames = null;\n return;\n }\n this.mapNames = new String[mappingNum];\n for (int i = 0; i < mappingNum; i++) {\n mapNames[i] = GBSHDF5Constants.MAPBASE + this.getThreeFigureString(i);\n }\n }", "Set<Eid> aliases();", "public ImmutableMap<String, String> getAliasToNamespaceMap() {\n return aliasToNamespaceMap;\n }", "private static void mapDbAsstIDs()\r\n {\r\n if (dbIdMap == null) {\r\n dbIdMap = new HashMap<String, Integer>();\r\n dbIdMap.put(\"repair\", 1);\r\n dbIdMap.put(\"fuel\", 2);\r\n dbIdMap.put(\"tuition\", 3);\r\n dbIdMap.put(\"clothing\", 4);\r\n dbIdMap.put(\"registration\", 5);\r\n dbIdMap.put(\"utilities\", 21);\r\n }\r\n }", "private void getMapping() {\n double [][] chars = new double[CHAR_SET_SIZE][1];\n for (int i = 0; i < chars.length; i++) {\n chars[i][0] = i;\n }\n Matrix b = new Matrix(key).times(new Matrix(chars));\n map = b.getArray();\n }", "Collection<String> getMappingPrefixes();", "private void initializeNamesMap (Workspace[] wss) {\n // fill name mapping with proper values\n namesMap = new HashMap(wss.length * 2);\n for (int i = 0; i < wss.length; i++) {\n // create new string for each display name to be able to search\n // using '==' operator in findProgrammaticName(String displayName) method\n namesMap.put(wss[i].getName(), new String(wss[i].getDisplayName()));;\n }\n }", "String getLongNameKey();", "public BidiMap<String, String> getPrefixes() {\n\t\tBidiMap<String, String> bidiMap = new DualHashBidiMap<String, String>(model.getNsPrefixMap());\n\t\treturn bidiMap;\n\t}", "protected String generateUniqueAlias( String alias, int maxLength, Collection<String> existingAliases ) {\n if ( alias.length() <= maxLength ) {\n if ( !existingAliases.contains( alias ) ) {\n return alias;\n } else {\n if ( alias.length() > maxLength - 2 ) {\n alias = alias.substring( 0, maxLength - 2 );\n }\n }\n } else {\n alias = alias.substring( 0, maxLength - 2 );\n }\n\n int id = 1;\n String aliasWithId = genString( alias, id );\n while ( existingAliases.contains( aliasWithId ) ) {\n aliasWithId = genString( alias, ++id );\n }\n return aliasWithId;\n }", "public Table<Integer, Integer, String> getAnonymizedData();", "public static Map<String, List<String>> getStationNameToCodeMap() {\n\n\t\tif (stationNameToCodeMapCache.size() > 0)\n\t\t\treturn stationNameToCodeMapCache;\n\t\ttry {\n\t\t\tList<StationMap> stationMaps = buildStationMap();\n\t\t\tMap<String, List<String>> stationNameToCode = new HashMap<>();\n\t\t\tfor (int i = 0; i < stationMaps.size(); i++) {\n\t\t\t\tif (stationNameToCode.containsKey(stationMaps.get(i).getStationName().toLowerCase().trim())) {\n\t\t\t\t\tList<String> list = stationNameToCode.get(stationMaps.get(i).getStationName().toLowerCase().trim());\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t} else {\n\t\t\t\t\tList<String> list = new ArrayList<>();\n\t\t\t\t\tlist.add(stationMaps.get(i).getStationCode());\n\t\t\t\t\tstationNameToCode.put(stationMaps.get(i).getStationName().toLowerCase().trim(), list);\n\t\t\t\t}\n\t\t\t}\n\t\t\tstationNameToCodeMapCache = stationNameToCode;\n\t\t} catch (UrbanRailNetworkException e) {\n\t\t}\n\t\treturn stationNameToCodeMapCache;\n\t}", "Map<String, Result> getOrganizationsMap();", "public Map<Entity, Integer> computeHyponymCountMap()\r\n\t{\n\t\treturn null;\r\n\t}", "public static String getTempMapName() {\r\n return (getTempMapName(GrassUtils.TEMP_PREFIX + \"_\"));\r\n }", "@Override\n\tpublic java.util.Map<java.util.Locale, java.lang.String> getManualIdMap() {\n\t\treturn _scienceApp.getManualIdMap();\n\t}", "public Map<String, String[]> getAllIdentifiantsUniques() {\n\t\tMap<String, String[]> allIdentifiantsUniques = new HashMap<>();\n\t\ttry {\n\t\t\tallIdentifiantsUniques = utilisateurDAO.selectAllIdentifiantsUniques();\n\t\t} catch (DALException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn allIdentifiantsUniques;\n\t}", "public List getGroupToAccountMappings() {\n return Collections.unmodifiableList(groupToAccountMappers);\n }", "Map<String, Set<String>> mapSecondaryTablesToPrimaryGroups();", "Set<String> getIdentifiers();", "private Map<String, Set<String>> getQueueToLabels() {\n Map<String, Set<String>> queueToLabels = new HashMap<>();\n for (CSQueue queue : getQueues().values()) {\n queueToLabels.put(queue.getQueuePath(), queue.getAccessibleNodeLabels());\n }\n return queueToLabels;\n }", "public Iterable<String> nouns(){\n return this.nounToIdMap.keySet();\n }", "default Map<String, Set<String>> getActiveClusterMap() {\n Map<String, Set<String>> result = new HashMap<>();\n result.put(getLocalNodeName(), getStorage().getClusterNames());\n return result;\n }", "public static HashMap<String,String> getUsernameEmailMappings()\r\n\t{\r\n\t\treturn usernameToEmail;\r\n\t}", "public static ImmutableSet<Integer> getIds(){\n\t\t\treturn m_namesMap.rightSet();\n\t\t}", "private static Map generateCharacterMappings() {\n Log.debug(\"Generating default character mappings\");\n Map map = new HashMap();\n Iterator iter = keycodes.keySet().iterator();\n while (iter.hasNext()) {\n Object key = iter.next();\n map.put(keycodes.get(key), key);\n }\n return map;\n }", "private HashMap name2() {\n\n\t HashMap hm = new HashMap();\n\t hm.put(\"firstName\", \"SIMA\");\n\t hm.put(\"middleName\", \"MISHRA\");\n\t hm.put(\"lastName\", \"ARADHANA\");\n\t hm.put(\"firstYearInOffice\", \"1981\");\n\t hm.put(\"lastYearInOffice\", \"1989\");\n\t return hm;\n\n\t }", "public void updateOrgMap() {\n String sql = \"SELECT DISTINCT(staticId) FROM meta.organization\";\n ResultSet rs = db.query(connId, sql);\n try {\n ArrayList<String> staticIds = new ArrayList<String>();\n while (rs != null && rs.next()) {\n staticIds.add(String.valueOf(rs.getInt(\"staticId\")));\n }\n\n for (String staticId : staticIds) {\n Organization org = getOrg(staticId);\n orgMap.put(org.getStaticId(), org);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n logger.error(e.getMessage());\n } finally {\n try {\n rs.close();\n rs = null;\n } catch (SQLException se) {\n // ignore\n }\n }\n }", "String generateUniqueName();", "@Override\n\tpublic HashMap<String, String> findTableNameAliases() {\n\t\tHashMap<String,String> s = new HashMap<String,String>();\n\t\t\n\t\tHashMap<String,String> sLeft = leftTable.findTableNameAliases();\n\t\tHashMap<String,String> sRight = rightTable.findTableNameAliases();\n\t\t\n\t\ts.putAll(sLeft);\n\t\ts.putAll(sRight);\n\t\t\n\t\treturn s;\n\t}", "public Iterable<String> nouns() {\n\t\treturn nounToId.keySet();\n\t}", "public String getId() {\n String id = name.replaceAll(\" \", \"-\");\n id = id.replaceAll(\"_\", \"-\");\n return id.toLowerCase();\n }", "String getNameKeySpace();", "private List<String> findSynonyms(String gene,String scope){\n\t\t\n\t\tList<String> li = new ArrayList<String> ();\n\t\t\n\t\tif (this.termSet.contains(gene)){\n\t\t\tfor (String str:this.synonymDictionary.get(gene).get(scope)){\n\t\t\t\tli.add(str);\n\t\t\t};\n\t\t}\n\t\treturn li;\n\t\n\t}", "public static Mapper<String> name() {\n return NAME;\n }", "private Set<String> getNames(Map<String, String> map) {\r\n\t\tSet<String> set = new HashSet<>();\r\n\t\t\r\n\t\tmap.forEach((k,v) -> set.add(k));\r\n\t\t\r\n\t\treturn Collections.unmodifiableSet(set);\r\n\t}", "public String getIdentifier() {\n try {\n return keyAlias + \"-\" + toHexString(\n MessageDigest.getInstance(\"SHA1\").digest(keyStoreManager.getIdentifierKey(keyAlias).getEncoded()));\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "@Override\n\tpublic String getMapKey()\n\t{\n\t\tsbTemp.delete(0, sbTemp.length());\n\t\tsbTemp.append(areaCell.iCityID);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.iAreatype);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.iAreaID);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.iECI);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.iTime);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.iInterface);\n\t\tsbTemp.append(\"_\");\n\t\tsbTemp.append(areaCell.kpiSet);\n\t\treturn sbTemp.toString();\n\t}", "public Map<String, String> getInitiatorWwnToNameMap(String clusterName) {\n return _discoveryMgr.getInitiatorWwnToNameMap(clusterName);\n }", "public List<String> getAsNamesListAbbreviated(String itemName);", "public List<SynonymMap> getSynonymMaps() {\n return this.synonymMaps;\n }", "public static String getId (Ligand ligand) {\n String name = ligand.getName();\n if (!isSimpleName (name)) {\n for (Keyword kw : ligand.synonyms)\n if (isSimpleName (kw.term))\n return kw.term;\n return ligand.getId().toString();\n }\n return name;\n }", "private static Map<String, Integer> assignVertexIds(DAG dag) {\n Map<String, Integer> vertexIdMap = new LinkedHashMap<>();\n final int[] vertexId = {0};\n dag.forEach(v -> vertexIdMap.put(v.getName(), vertexId[0]++));\n return vertexIdMap;\n }", "public List<String> getMapNames() {\r\n\t\treturn mapNames;\r\n\t}", "public static List<UsernameNodeUrnsMap> convertToUsernameNodeUrnsMap(\n\t\t\tfinal List<SecretAuthenticationKey> secretAuthenticationKeys,\n\t\t\tfinal List<NodeUrn> nodeUrns) throws InvalidAttributesException {\n\n\t\t/*\n\t\t * Check whether two tuples of user names and urn prefixes share an urn prefix\n\t\t */\n\t\tfinal Set<NodeUrnPrefix> prefixes = new HashSet<NodeUrnPrefix>();\n\n\t\tfor (SecretAuthenticationKey secretAuthenticationKey : secretAuthenticationKeys) {\n\t\t\tif (!prefixes.add(secretAuthenticationKey.getUrnPrefix())) {\n\t\t\t\tthrow new InvalidAttributesException(\"The node urn prefix '\"\n\t\t\t\t\t\t+ secretAuthenticationKey.getUrnPrefix()\n\t\t\t\t\t\t+ \"' is associated to multiple user names.\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tfinal List<UsernameNodeUrnsMap> mappings = new LinkedList<UsernameNodeUrnsMap>();\n\n\t\tfor (SecretAuthenticationKey secretAuthenticationKey : secretAuthenticationKeys) {\n\n\t\t\tfinal NodeUrnPrefix urnPrefix = secretAuthenticationKey.getUrnPrefix();\n\t\t\tfinal String username = secretAuthenticationKey.getUsername();\n\n\t\t\tfinal UsernameNodeUrnsMap mapping = new UsernameNodeUrnsMap();\n\t\t\tmapping.setUrnPrefix(urnPrefix);\n\t\t\tmapping.setUsername(username);\n\t\t\tmappings.add(mapping);\n\n\t\t\tfor (NodeUrn nodeUrn : nodeUrns) {\n\t\t\t\tif (nodeUrn.belongsTo(urnPrefix)) {\n\t\t\t\t\tmapping.getNodeUrns().add(nodeUrn);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn mappings;\n\t}", "private static HashMap<String, Integer> generateWordIndex()\n\t{\n\t\tHashMap<String, Integer> wordIndex = new HashMap<String, Integer>();\n\t\tint currIndex = 0;\n\t\tStringBuffer combinedHeaders;\n\t\tfor (MP mp : Capone.getInstance().getParliament().getMPList())\n\t\t{\n\t\t\tfor (Speech sp : mp.returnSpeeches())\n\t\t\t{\n\t\t\t\tcombinedHeaders = new StringBuffer();\n\t\t\t\tcombinedHeaders.append(sp.getHeader1());\n\t\t\t\tcombinedHeaders.append(sp.getHeader2());\n\t\t\t\tfor (String str : combinedHeaders.toString().split(\" \"))\n\t\t\t\t{\n\t\t\t\t\tif (!wordIndex.containsKey(str))\n\t\t\t\t\t{\n\t\t\t\t\t\twordIndex.put(str, currIndex);\n\t\t\t\t\t\tcurrIndex++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn wordIndex;\n\t}", "public String getUniqueIdentifier(){\n return (streetAddress + aptNumber + zip).toLowerCase().replaceAll(\"\\\\s+\",\"\"); \n }", "private void getBuildingNames(ArrayList<Item> items) {\n for(Item i: items) {\n String building = i.getBuilding();\n if(!set.contains(building)) {\n set.add(building);\n buildings.add(building);\n }\n }\n }", "private Map<UUID, String> getStreamIdToTableNameMap() {\n Map<UUID, String> streamIdToTableNameMap = new HashMap<>();\n runtime.getTableRegistry().listTables().forEach(tableName -> {\n String name = TableRegistry.getFullyQualifiedTableName(tableName);\n streamIdToTableNameMap.put(CorfuRuntime.getStreamID(name), name);\n });\n return streamIdToTableNameMap;\n }", "@SuppressWarnings(\"unused\")\n private static <T extends AbstractApiIdentifiableDTO> Map<Long, T> generateIdMap(List<T> idList) {\n Map<Long, T> results = new HashMap<>(idList.size());\n\n for (T idSingle : idList) {\n results.put(idSingle.getId(), idSingle);\n }\n\n return results;\n }", "static SparseArray<TaskDetail> getCurrentMappingsDuplicated() {\n SparseArray<TaskDetail> toReturn = new SparseArray<>();\n for (int i = 0; i < TaskDetail.actionToTask.size(); i++) {\n TaskDetail detail = TaskDetail.actionToTask.valueAt(i);\n toReturn.put(TaskDetail.actionToTask.keyAt(i), detail.duplicate());\n }\n return toReturn;\n }", "private Map<String, Set<String>> getAliases(List<String> curies, Collection<Node> nodes) {\n\t\tMap<String, Set<String>> result = new HashMap<>();\n\t\t\n\t\tfor (Node node : nodes) {\n\t\t\tString nodeName = translator.makeId(node);\n\t\t\t\n\t\t\tString nodeId = null;\n\t\t\tString represents = node.getRepresents();\n\t\t\tif (represents != null && curies.stream().anyMatch(represents::equalsIgnoreCase)) {\n\t\t\t\tnodeId = node.getRepresents();\n\t\t\t} else if (curies.stream().anyMatch(nodeName::equalsIgnoreCase)) {\n\t\t\t\tnodeId = nodeName;\n\t\t\t}\n\t\t\t\n\t\t\tif (nodeId != null && !result.containsKey(nodeId)) {\n\t\t\t\tresult.put(nodeId.toLowerCase(), new HashSet<>());\n\t\t\t}\n\t\t\t\n\t\t\tfor (Attribute attribute : node.getAttributes()) {\n\t\t\t\tif (attribute.getName().equals(\"alias\")) {\n\t\t\t\t\tif (nodeId == null) {\n\t\t\t\t\t\tnodeId = curieInAttributes(curies, attribute);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (nodeId != null) {\n\t\t\t\t\t\n\t\t\t\t\t\tSet<String> aliases = new HashSet<>();\n\t\t\t\t\t\tfor (String value : attribute.getValues()) {\n\t\t\t\t\t\t\taliases.add(value.trim());\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tnodeId = nodeId.toLowerCase();\n\t\t\t\t\t\tif (result.containsKey(nodeId)) {\n\t\t\t\t\t\t\taliases.addAll(result.get(nodeId));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tresult.put(nodeId, aliases);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "Set<String> getIdentifiers() throws GuacamoleException;", "String getSynonyms();", "public String[] getNames() {\r\n\t\tfinal List<String> names=new ArrayList<>();\r\n\r\n\t\tString s;\r\n\t\tfor (Map.Entry<String,Map<String,Object>> entry1: data.entrySet()) {\r\n\t\t\ts=entry1.getKey();\r\n\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\tfor (Map.Entry<String,Object> entry2: entry1.getValue().entrySet()) {\r\n\t\t\t\ts=entry2.getKey();\r\n\t\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names.toArray(new String[0]);\r\n\t}", "public List<Object[]> listAgentIdName();", "protected String getKeymapName() {\n String nm = getClass().getName();\n int index = nm.lastIndexOf('.');\n if (index >= 0) {\n nm = nm.substring(index+1);\n }\n return nm;\n }", "String getShortNameKey();", "private Set<String> allAliases( List<String> ids ) {\n\t\tSet<String> aliases = getAliases( ids ); \n\t\taliases.addAll( addCachedAliases(ids) );\n\t\treturn aliases;\n\t}", "public static Set<String> getClassNamesToPersistIds() {\n\t\tif (classNamesToPersistIds == null) {\n\t\t\tGlobalProperty gp = Context.getAdministrationService()\n\t\t\t.getGlobalPropertyObject(\n\t\t\t\t\tMetadataSharingConsts.GP_PERSIST_IDS_FOR_CLASSES);\n\t\t\tupdatePersistClasses(gp);\n\t\t}\n\t\t\n\t\treturn classNamesToPersistIds;\n\t}", "public String createCacheKey() {\n return \"organization.\" + userEmail;\n }", "private static Map<String, NullnessAnnotation> createString2AnnotationMap() {\n final Map<String, NullnessAnnotation> result = new HashMap<>();\n\n for (final NullnessAnnotation annotation : NullnessAnnotation.values()) {\n result.put(annotation.annotationName, annotation);\n result.put(annotation.fullyQualifiedClassName, annotation);\n }\n\n return Collections.unmodifiableMap(result);\n }", "public List<MXMLNamespaceMapping> getCompilerNamespacesManifestMappings(Configuration config)\n {\n \treturn config.getCompilerNamespacesManifestMappings();\n }", "public Set keyNames() {\n return new LinkedHashSet<>( asList( idName() ) );\n }", "public static String[] getLangIDs() {\r\n\t\tHashMap<String, String> ges = getLangs();\r\n\r\n\t\tString[] names = new String[ges.size()];\r\n\t\tint i = 0;\r\n\t\t// add all\r\n\t\tfor (String key : ges.keySet()) {\r\n\t\t\tnames[i] = key;\r\n\t\t\ti++;\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "private static java.util.HashMap<Integer, Command> getMappings() {\n if (mappings == null) {\n synchronized (Command.class) {\n if (mappings == null) {\n mappings = new java.util.HashMap<Integer, Command>();\n }\n }\n }\n return mappings;\n }", "private String getKeySpace()\r\n\t\t{\r\n\t\t\tString firstKey;\r\n\t\t\tString lastKey;\r\n\t\t\tif (incompleteKeySpaces.isEmpty())\r\n\t\t\t{\r\n\t\t\t\trunningKeySpaces.add(highestKey);\r\n\t\t\t\tfirstKey = highestKey.toString();\r\n\t\t\t\thighestKey = highestKey.add(keySpaceSize);\r\n\t\t\t\tlastKey = highestKey.toString();\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\trunningKeySpaces.add(incompleteKeySpaces.get(0));\r\n\t\t\t\tfirstKey = incompleteKeySpaces.get(0).toString();\r\n\t\t\t\tlastKey = incompleteKeySpaces.get(0).add(keySpaceSize).toString();\r\n\t\t\t\tincompleteKeySpaces.remove(0);\r\n\t\t\t}\r\n\t\t\tlog(\"Assigning keyspace: \" + firstKey);\r\n\t\t\treturn firstKey + \",\" + lastKey;\r\n\t\t}", "private static List<String> getNamedOutputsList(JobContext job) {\r\n\t\tList<String> names = new ArrayList<String>();\r\n\t\tStringTokenizer st = new StringTokenizer(\r\n\t\t\t\tjob.getConfiguration().get(MULTIPLE_OUTPUTS, \"\"), \" \");\r\n\t\twhile (st.hasMoreTokens()) {\r\n\t\t\tnames.add(st.nextToken());\r\n\t\t}\r\n\t\treturn names;\r\n\t}", "public List<Alias> getAliases()\n\t{\n\t\tList<Alias> aliases = new ArrayList<Alias>();\n\t\t\n\t\tAlias from = getFromIDAlias();\n\t\t\n\t\tif( from != null )\n\t\t{\n\t\t\taliases.add( from );\n\t\t}\n\n\t\tAlias to = getToIDAlias();\n\t\t\n\t\tif( to != null )\n\t\t{\n\t\t\taliases.add( to );\n\t\t}\n\t\t\n\t\treturn aliases;\n\t}", "private static synchronized String translateGuid(String anonimizedPatientId, String oldGuid) {\r\n \r\n String newGuid = guidHistory.get(new Guid(anonimizedPatientId, oldGuid));\r\n if (newGuid == null) {\r\n try {\r\n newGuid = UMROGUID.getUID();\r\n // This should always be true\r\n if (newGuid.startsWith(UMROGUID.UMRO_ROOT_GUID)) {\r\n newGuid = rootGuid + newGuid.substring(UMROGUID.UMRO_ROOT_GUID.length());\r\n }\r\n \r\n guidHistory.put(new Guid(anonimizedPatientId, oldGuid), newGuid);\r\n } catch (UnknownHostException e) {\r\n Log.get().logrb(Level.SEVERE, Anonymize.class.getCanonicalName(),\r\n \"translateGuid\", null, \"UnknownHostException Unable to generate new GUID\", e);\r\n }\r\n }\r\n return newGuid;\r\n }", "public Multimap<String, Command> checkForDuplicateNames() {\r\n\t\tList<Command> allCommands = new ArrayList<>();\r\n\t\tallCommands.addAll(this.commands);\r\n\t\tallCommands.addAll(learnedCommands.getCommands());\r\n\r\n\t\tMultimap<String, Command> byName = ArrayListMultimap.create();\r\n\t\tfor (Command command : allCommands) {\r\n\t\t\tbyName.put(command.name().toLowerCase(), command);\r\n\t\t\tfor (String alias : command.aliases()) {\r\n\t\t\t\tbyName.put(alias.toLowerCase(), command);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tMultimap<String, Command> duplicates = ArrayListMultimap.create();\r\n\r\n\t\tbyName.asMap().entrySet().stream() //@formatter:off\r\n\t\t\t.filter(entry -> entry.getValue().size() > 1)\r\n\t\t.forEach(entry -> duplicates.putAll(entry.getKey(), entry.getValue())); //@formatter:on\r\n\r\n\t\treturn duplicates;\r\n\t}", "public Set<String> hyponyms(String word) {\n Set<Integer> synIDs = new TreeSet<Integer>();\n Set<Integer> synKeys = synsetMap.keySet();\n for (Integer id : synKeys) {\n if (synsetMap.get(id).contains(word)) {\n synIDs.add(id);\n }\n }\n Set<Integer> hypIDs = GraphHelper.descendants(g, synIDs);\n Set<String> result = new TreeSet<String>();\n\n for (Integer i : hypIDs) {\n ArrayList<String> al = synsetMap.get(i);\n result.addAll(al);\n }\n return result;\n }", "private static Map<Long, Set<XliffAlt>> getXliffAltMap(List<XliffAlt> alts)\n {\n // tuvId : Set<XliffAlt>\n Map<Long, Set<XliffAlt>> xlfAltMap = new HashMap<Long, Set<XliffAlt>>();\n\n for (XliffAlt alt : alts)\n {\n Set<XliffAlt> myAlts = xlfAltMap.get(alt.getTuvId());\n if (myAlts == null)\n {\n myAlts = new HashSet<XliffAlt>();\n myAlts.add(alt);\n xlfAltMap.put(alt.getTuvId(), myAlts);\n }\n else\n {\n myAlts.add(alt);\n xlfAltMap.put(alt.getTuvId(), myAlts);\n }\n }\n\n return xlfAltMap;\n }", "public HashMap<Long, String> fetchNamesFromIds(ArrayList<Long> ids){\n StringBuilder idsStringBuilder = new StringBuilder();\n for (long id : ids){\n idsStringBuilder.append(id).append(\",\");\n }\n String idsString = idsStringBuilder.substring(0, idsStringBuilder.length()-1);\n String response = zendeskAPI.makeGetRequest(USER_REQUEST + \"show_many.json?ids=\" + idsString);\n return JSONParser.parseUserStringForNames(response);\n }", "static Set get_mapping(HashMap callee_to_caller, Node callee_n) {\n Set s = (Set)callee_to_caller.get(callee_n);\n if (s != null) return s;\n s = NodeSet.FACTORY.makeSet(); s.add(callee_n);\n return s;\n }", "public void allartongs() throws IOException{\r\n writefiles data=new writefiles(\"d:\\\\documents\\\\textfiles\\\\AllArtSongs.txt\",true);\r\n Map<String,String> ArrangerNamesLineMap=new HashMap<>();\r\n for(int songid:ArrangerLinesMap.keySet()){\r\n int arrangerid=ArrangerLinesMap.get(songid);\r\n ArrangersMap.get((songid));\r\n ArrangerNamesLineMap.put(test.getsongName(songid), ArrangersMap.get(arrangerid));\r\n }\r\n for(String songname:ArrangerNamesLineMap.keySet()){\r\n System.out.println(\"The artist is:\"+ArrangerNamesLineMap.get(songname)+\" The song is:\"+songname);\r\n data.writeToFile(\"The artist is:\"+ArrangerNamesLineMap.get(songname)+\" The song is:\"+songname);\r\n }\r\n System.out.println(ArrangerNamesLineMap.size());\r\n }", "public String getPossibleMappingName(Class clazz) {\n String mapName = getPlainBeanName(clazz);\n int i = 1;\n if (getMapping(mapName) != null) {\n while (true) {\n if (getMapping(mapName + i) == null) {\n mapName += i;\n break;\n }\n i++;\n }\n }\n return mapName;\n }", "private DataHandle getAnonymizedData(Data data) {\n final ARXAnonymizer anonymizer = new ARXAnonymizer();\n final ARXConfiguration config = ARXConfiguration.create();\n config.addPrivacyModel(new KAnonymity(2));\n config.setSuppressionLimit(0d);\n config.setQualityModel(Metric.createLossMetric(AggregateFunction.RANK));\n \n ARXResult result = null;\n try {\n result = anonymizer.anonymize(data, config);\n } catch (IOException e) {\n e.printStackTrace();\n }\n final DataHandle outHandle = result.getOutput(false);\n return outHandle;\n }", "java.util.List<KeySpace>\n getKeyspacesList();", "@Nonnull\n String getUniqueName();", "public static String getIndexNameForAlias(String appid) {\n\t\tif (StringUtils.isBlank(appid)) {\n\t\t\treturn appid;\n\t\t}\n\t\ttry {\n\t\t\tMap<String, IndexAliases> aliases = getRESTClient().indices().getAlias(b -> b.index(appid)).result();\n\t\t\tif (!aliases.isEmpty()) {\n\t\t\t\treturn aliases.keySet().iterator().next();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(null, e);\n\t\t}\n\t\treturn appid;\n\t}", "void anonymizeEntries( List<Integer> listIdEntries, Timestamp dateCleanTo, Plugin plugin );", "public <T extends Animation> String buildUniqueName(ObservableMap<String, T> anis) {\n\t\treturn buildUniqueNameWithPrefix(anis,\"Scene\", anis.size());\n\t}", "public List<String> getActiveSetNames()\n {\n List<String> names = New.list(myActiveSetConfig.getSetNames());\n names.remove(USER_ACTIVATED_SET_NAME);\n return names;\n }", "static void getMidWidNames() throws IOException {\n\t\tHashMap<String, String[]> mid2other = new HashMap<String, String[]>();\r\n\t\t{\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_mid2wid);\r\n\t\t\tString[] l;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\tif (mid2other.containsKey(l[0])) {\r\n\t\t\t\t\tString[] s = mid2other.get(l[0]);\r\n\t\t\t\t\ts[1] = s[1] + \"::\" + l[1];\r\n\t\t\t\t} else {\r\n\t\t\t\t\tString[] s = new String[5];\r\n\t\t\t\t\ts[0] = l[0] + \"\";\r\n\t\t\t\t\ts[1] = l[1] + \"\";\r\n\t\t\t\t\ts[2] = \"\";\r\n\t\t\t\t\ts[3] = \"\";\r\n\t\t\t\t\ts[4] = \"\";\r\n\t\t\t\t\tmid2other.put(l[0], s);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tdr.close();\r\n\t\t}\r\n\t\t//load notable type\r\n\t\t{\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_mid2notabletype);\r\n\t\t\tString[] l;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\tString mid = l[0];\r\n\t\t\t\tif (mid2other.containsKey(mid)) {\r\n\t\t\t\t\tString[] s = mid2other.get(mid);\r\n\t\t\t\t\tif (s[2].equals(\"\")) {\r\n\t\t\t\t\t\ts[2] = l[1];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ts[2] = s[2] + \"::\" + l[1];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tdr.close();\r\n\t\t}\r\n\t\t//load names & alias\r\n\t\t{\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_fbdump_2_len4);\r\n\t\t\tString[] l;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\t// set name\r\n\t\t\t\tif (l[1].equals(\"/type/object/name\") && l[2].equals(\"/lang/en\")) {\r\n\t\t\t\t\tString mid = l[0];\r\n\t\t\t\t\tif (mid2other.containsKey(mid)) {\r\n\t\t\t\t\t\tString[] s = mid2other.get(mid);\r\n\t\t\t\t\t\tif (s[3].equals(\"\")) {\r\n\t\t\t\t\t\t\ts[3] = l[3];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ts[3] = s[3] + \"::\" + l[3];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (s[4].equals(\"\")) {\r\n\t\t\t\t\t\t\ts[4] = l[3];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ts[4] = s[4] + \"::\" + l[3];\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\tif (l[1].equals(\"/common/topic/alias\") && l[2].equals(\"/lang/en\")) {\r\n\t\t\t\t\tString mid = l[0];\r\n\t\t\t\t\tif (mid2other.containsKey(mid)) {\r\n\t\t\t\t\t\tString[] s = mid2other.get(mid);\r\n\t\t\t\t\t\tif (s[4].equals(\"\")) {\r\n\t\t\t\t\t\t\ts[4] = l[3];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ts[4] = s[4] + \"::\" + l[3];\r\n\t\t\t\t\t\t}\r\n\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\t//write\r\n\t\t{\r\n\t\t\tDelimitedWriter dw = new DelimitedWriter(Main.file_midWidTypeNameAlias);\r\n\t\t\tfor (Entry<String, String[]> e : mid2other.entrySet()) {\r\n\t\t\t\tdw.write(e.getValue());\r\n\t\t\t}\r\n\t\t\tdw.close();\r\n\t\t}\r\n\t}", "public String asIdentifier() {\n\t\treturn this.keyword.toLowerCase().replace(' ', '_').replace('.', '_');\n\t}", "public String getMapNm() {\n\t\treturn this.mapNm;\n\t}", "identifierList getIdentifierList();", "protected static String buildJobName(String jobIdInput) {\n String jobId = jobIdInput.replace(\"_\", \"-\");\n int[] invalidChars = jobId\n .chars()\n .filter(c -> c != '-' && !StringUtils.isAlphanumeric(String.valueOf((char) c)))\n .toArray();\n for (int invalidChar : invalidChars) {\n jobId = jobId.replace(((char) invalidChar), '-');\n }\n jobId = jobId.toLowerCase();\n boolean jobIdWithInvalidChars = !jobIdInput.equals(jobId);\n\n String jobName = (\"opencga-job-\" + jobId);\n if (jobName.length() > 63 || jobIdWithInvalidChars && jobName.length() > (63 - 8)) {\n // Job Id too large. Shrink it!\n // NOTE: This shrinking MUST be predictable!\n jobName = jobName.substring(0, 27)\n + \"-\" + DigestUtils.md5Hex(jobIdInput).substring(0, 6).toLowerCase() + \"-\"\n + jobName.substring(jobName.length() - 27);\n } else if (jobIdWithInvalidChars) {\n jobName += \"-\" + DigestUtils.md5Hex(jobIdInput).substring(0, 6).toLowerCase();\n }\n return jobName;\n }", "private String getMapping(Connection connection, List<String> colNames) {\n connection.verifyFile();\n File mapFile = null;\n if (!overWriteOutputFile)\n mapFile = PathManager.createUniqueFile(filenamePrefix + \".mapping.n3\", outputFolder);\n else\n mapFile = new File(outputFolder + filenamePrefix + \".mapping.n3\");\n\n Validation validation = processController.getValidation();\n Mapping mapping = processController.getMapping();\n D2RQPrinter.printD2RQ(colNames, mapping, validation, mapFile, connection, defaultLocalURIPrefix);\n return mapFile.getAbsolutePath();\n }", "public Set<String> getNames() {\n\t\t//\t\tArrayList<String> names = new ArrayList<String>();\n\t\t//\t\tfor (NameSSA n : name.values())\n\t\t//\t\t\tnames.add(n.current());\n\t\treturn name.keySet();\n\t}", "default Map<String, Set<String>> getActiveDataCenterMap() {\n Map<String, Set<String>> result = new HashMap<>();\n Set<String> val = new HashSet<>();\n val.add(getLocalNodeName());\n result.put(\"local\", val);\n return result;\n }", "public List<String> getAllSIDs() {\n\t\tSet<String> r = new HashSet<String>();\n\t\tfor (Set<String> set : grantedPermissions.values())\n\t\t\tr.addAll(set);\n\t\tr.remove(\"anonymous\");\n\n\t\tString[] data = r.toArray(new String[r.size()]);\n\t\tArrays.sort(data);\n\t\treturn Arrays.asList(data);\n\t}" ]
[ "0.59909004", "0.55409014", "0.54960877", "0.5416084", "0.53499496", "0.53053457", "0.52514946", "0.51637316", "0.5005068", "0.5004387", "0.4947439", "0.49028668", "0.48922485", "0.48645505", "0.4857878", "0.48505318", "0.4811226", "0.47740263", "0.46955648", "0.46920827", "0.4691981", "0.4690752", "0.466624", "0.46631405", "0.46528468", "0.46320868", "0.46169212", "0.46138045", "0.46089262", "0.459844", "0.4598034", "0.45681614", "0.4567626", "0.45575547", "0.45386425", "0.45164365", "0.45143127", "0.45118466", "0.45081887", "0.44957727", "0.44858044", "0.44738165", "0.44724467", "0.44674355", "0.44622695", "0.44613132", "0.44573888", "0.44573146", "0.44544888", "0.445204", "0.4446421", "0.44446453", "0.44439003", "0.44420677", "0.44373193", "0.44332844", "0.4431574", "0.44313255", "0.44262576", "0.442412", "0.4412892", "0.44117278", "0.44106036", "0.4394963", "0.43854165", "0.4384844", "0.4381993", "0.43791628", "0.43751597", "0.4369449", "0.4368206", "0.4363321", "0.4363256", "0.43590236", "0.43552187", "0.43523693", "0.43497333", "0.4348397", "0.4347039", "0.43415368", "0.4339387", "0.4338936", "0.4330429", "0.43181816", "0.43120825", "0.43096325", "0.43077028", "0.42892414", "0.42888126", "0.42841443", "0.42782566", "0.4277459", "0.427743", "0.42751378", "0.42707", "0.42692676", "0.4266841", "0.42641005", "0.42610854", "0.42586604" ]
0.80145454
0
Creates a new instance of PPDeadType
public PPDeadType() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDead(boolean dead) {\n this.isDead = dead;\n }", "public void setDead(boolean dead) {\n isDead = dead;\n }", "public void setDead(boolean dead) {\r\n this.dead = dead;\r\n }", "protected DPP createDPP() {\n\t\tDPP dpp = new DPP();\n\t\tdpp.add(null, OP_CREATE, ST_CREATED);\n\t\t// dpp.add(ST_CREATED, ..., ...);\n\t\treturn dpp;\n\t}", "public void setDead(boolean dead) {\n\t\tthis.dead = dead;\n\t}", "public boolean getDead();", "protected GEDCOMType() {/* intentionally empty block */}", "public State getDead() {\n\t\treturn dead;\n\t}", "public void setDead(boolean value);", "public org.python.types.Type __new__(org.python.types.Type cls);", "Type createType();", "Type createType();", "Type createType();", "public DeadModel( final LifeformModel lifeform ) {\n super( lifeform );\n }", "public void setIsDead(boolean isDead) {\n this.isDead = isDead;\n }", "public com.vodafone.global.er.decoupling.binding.request.DurationType createDurationType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.DurationTypeImpl();\n }", "@Override\n\tpublic boolean isDead() {\n\t\treturn dead;\n\t}", "public void setDeadCount(String deadCount) {\n this.deadCount = deadCount;\n }", "public static ClassifiedFeature createDeadFeature(Feature feature) {\n return createClassifiedFeature(feature, Classifier.DEAD);\n }", "public void setDead(){\n\t\t//queue this blood for cleanup\n\t\tvisible = false;\n\t\tDEAD = true;\n\t\tcleanUp();\n\t}", "public Type() {\n super();\n }", "public boolean isDead() {\n\t\treturn dead;\n\t}", "public boolean isDead()\n {\n // TODO: replace this line with your code\n }", "public boolean isDead();", "protected void setDead()\n {\n alive = false;\n if(location != null) {\n field.clear(location);\n location = null;\n field = null;\n }\n }", "protected void setDead()\n {\n alive = false;\n if(location != null) {\n field.clear(location);\n location = null;\n field = null;\n }\n }", "WallType createWallType();", "Type() {\n }", "P createP();", "public boolean isDead() {\r\n \t\treturn this.isDead;\r\n \t}", "public IncorrectType58119e() {\n }", "BType createBType();", "Boolean isDead();", "void dead() { this.alive = false; }", "TypeDecl createTypeDecl();", "public BloodType(){\r\n\r\n }", "public static <T extends @TestAnnotation2 Number & Comparable> TypeInstance createTypeVariable() {\n AnnotatedType referencedTypeVariable = getAnnotatedType();\n TypeInstance typeInstance = Diamond.types().from(referencedTypeVariable);\n return typeInstance;\n }", "TypeDefinition createTypeDefinition();", "public static void newGame(GameType t) {\n\t\ttype = t;\n\t}", "public TypeUndefined() { super(\"undefined\"); }", "EmptyType createEmptyType();", "public God() {}", "public FreeTime() {}", "public static FireFighting newInstance() {\n FireFighting fragment = new FireFighting();\n return fragment;\n }", "public boolean isDead() {\n return isDead;\n }", "public boolean isDead() {\n return isDead;\n }", "public Deadline() {\n this.dateWrapper = Optional.empty();\n this.timeWrapper = Optional.empty();\n }", "private <T extends ProcessingElement> T makePE(PEMaker pem, Class<T> type) throws NoSuchFieldException,\n IllegalAccessException {\n T pe = app.createPE(type);\n pe.setSingleton(pem.isSingleton());\n\n if (pem.getCacheMaximumSize() > 0)\n pe.setPECache(pem.getCacheMaximumSize(), pem.getCacheDuration(), TimeUnit.MILLISECONDS);\n\n if (pem.getTimerInterval() > 0)\n pe.setTimerInterval(pem.getTimerInterval(), TimeUnit.MILLISECONDS);\n\n if (pem.getTriggerEventType() != null) {\n if (pem.getTriggerNumEvents() > 0 || pem.getTriggerInterval() > 0) {\n pe.setTrigger(pem.getTriggerEventType(), pem.getTriggerNumEvents(), pem.getTriggerInterval(),\n TimeUnit.MILLISECONDS);\n }\n }\n\n /* Use introspection to match properties to class fields. */\n setPEAttributes(pe, pem, type);\n return pe;\n }", "public boolean isDead() {\r\n return this.dead;\r\n }", "protected void spawnDeadParticles() {\r\n\t\tfloat timed = (float) deathTicks / DeathAction.deathLingeringTicks;\r\n\t\ttimed = Math.max(0, timed - 0.1f) / 0.9f;\r\n\t\tint particleCount = (int) (20 * Math.pow(timed, 4));\r\n\t\tfor (int i = 0; i < particleCount; i++) {\r\n\t\t\tdouble randX = rand.nextDouble(), randZ = rand.nextDouble(), randY = rand.nextDouble();\r\n\t\t\trandX = randX * (this.getEntityBoundingBox().maxX - getEntityBoundingBox().minX)\r\n\t\t\t\t\t+ getEntityBoundingBox().minX;\r\n\t\t\trandZ = randZ * (getEntityBoundingBox().maxZ - getEntityBoundingBox().minZ) + getEntityBoundingBox().minZ;\r\n\t\t\trandY = Math.pow(randY, 3) * (getEntityBoundingBox().maxY - getEntityBoundingBox().minY)\r\n\t\t\t\t\t+ getEntityBoundingBox().minY;\r\n\t\t\tdouble velX = this.rand.nextGaussian() * 0.01D;\r\n\t\t\tdouble velY = Math.abs(this.rand.nextGaussian() * 0.7D);\r\n\t\t\tdouble velZ = this.rand.nextGaussian() * 0.01D;\r\n\t\t\tworld.spawnParticle(EnumParticleTypes.SUSPENDED_DEPTH, randX, randY, randZ, velX, velY, velZ);\r\n\t\t}\r\n\t}", "private void physicsTickDead() {\n\t\t// Check the round end counter\n\t\tif (checkRoundEndCounter()) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// Physics stuff\n\t\tsetThrusts();\n\t\tmoveEverything(deltaTimeDead);\n\t\tageScoreMarkers(deltaTimeAlive);\n\t\tshootBullets();\n\t\t\n\t\tcollideTankToWall();\n\t\tcollideBulletToWall();\n\t}", "private void bringToLife(){\n this.dead = false;\n }", "public Deadline start()\n\t{\n\t\treturn new Deadline(this);\n\t}", "@FameProperty(name = \"isDead\", derived = true)\n public Boolean getIsDead() {\n throw new UnsupportedOperationException(\"Not yet implemented!\"); \n }", "public D() {}", "DomainType createDomainType();", "public boolean isDead() {\n return this.isDead;\n }", "public Deathpoint(Deathpoint deathpoint) {\n\t\tthis.creationInstant = deathpoint.creationInstant;\n\t\tthis.ownerUniqueId = deathpoint.ownerUniqueId;\n\t\tthis.location = deathpoint.location.clone();\n\t\t\n\t\tthis.inventory = Bukkit.getServer().createInventory(this, INV_SIZE, \"Lost Inventory\");\n\t\tinventory.setContents(deathpoint.inventory.getContents().clone());\n\t\tthis.experience = deathpoint.experience;\n\t\t\n\t\tthis.deathsTillForget = deathpoint.deathsTillForget;\n\t\tthis.ticksTillForget = deathpoint.ticksTillForget;\n\t}", "private void killBullet() {\r\n this.dead = true;\r\n }", "public PurchaseType()\r\n {\r\n }", "@Override\n protected Type createNewTypeWithoutReflection(int field) {\n return null;\n }", "@Test\n\tpublic void testIsDead() {\n\t\tnpc.setLevel(1);\n\t\tnpc.setHealth(23);\n\t\tnpc.calHealth();\n\t\tassertFalse(npc.isDead());\n\t\tnpc.changeHealth(-23);\n\t\tassertTrue(npc.isDead());\n\t\tnpc.changeHealth(-100);\n\t\tassertTrue(npc.isDead());\n\t}", "@Override\r\n\tpublic ItemInstance createItemInstance() {\n\t\treturn new HpInstance();\r\n\t}", "FlowType createFlowType();", "public God(int id,\r\n String name,\r\n String godClass,\r\n String type,\r\n int baseHealth,\r\n int healthScaling,\r\n int basePProtection,\r\n int baseMProtection,\r\n int baseMana,\r\n double baseAttackSpeed,\r\n int baseHP5,\r\n int baseMP5,\r\n double physicalProtectScaling,\r\n double magicalProtectScaling,\r\n int baseMovementSpeed,\r\n int baseDamage,\r\n double damageScaling,\r\n String pantheon,\r\n String lore\r\n )\r\n {\r\n this.mId = id;\r\n this.mName = name;\r\n this.mGodClass = godClass;\r\n this.mType = type;\r\n this.mBaseHealth = baseHealth;\r\n this.mHealthScaling = healthScaling;\r\n this.mBasePProtection = basePProtection;\r\n this.mBaseMProtection = baseMProtection;\r\n this.mBaseMana = baseMana;\r\n this.mBaseAttackSpeed = baseAttackSpeed;\r\n this.mBaseHP5 = baseHP5;\r\n this.mBaseMP5 = baseMP5;\r\n this.mPhysicalProtectScaling = physicalProtectScaling;\r\n this.mMagicalProtectScaling = magicalProtectScaling;\r\n this.mBaseMovementSpeed = baseMovementSpeed;\r\n this.mBaseDamage = baseDamage;\r\n this.mDamageScaling = damageScaling;\r\n this.mPantheon = pantheon;\r\n this.mLore = lore;\r\n }", "public Bomb newBomb() {\r\n return new Bomb(id(), position().containingCell(),\r\n Ticks.BOMB_FUSE_TICKS, bombRange);\r\n }", "FragmentType createFragmentType();", "private void Dead() {\n\t\thunger -= 5;\n\t\tthirst -= 5;\n\t\tif ((thirst < 25) && (hunger < 25)){\t\t\t// Player is very weak\n\t\t\thealth -= 15;\n\t\t}else if ((thirst < 25) || (hunger < 25)){\t\t// Player is kinda weak\n\t\t\thealth -= 5;\n\t\t}\n\t\tif (health <= 0){\t\t\t\t\t\t\t\t// Player is dead\n\t\t\taddMessage(\"Overcome by your weakness you succumb.\", \"AI\");\n\t \t\taddMessage(\"You have died\", \"AI\");\n\t \t\tmenu = MENU.GAME_OVER;\n\t\t}\n\t}", "public UnitP(UnitP unitP, ErrorTypes errorType)\n {\n \tthis(unitP, errorType, ExceptionHandlingTypes.NeverTriggerException);\n }", "public GO_RecordType() {\n }", "public Packet createPacket() {\n\t\treturn new Packet((ByteBuffer) buffer.flip());\n\t}", "private InheritableBuildingBlock() {\r\n super(IInheritableBuildingBlock.TYPE_ID);\r\n }", "public void setDead(boolean dead) {\n this.dead = dead;\n Graphics g = image.getGraphics();\n g.setColor(Color.BLACK);\n g.fillRect(0,0,pieceSize,pieceSize);\n g = getCoveredImage().getGraphics();\n g.setColor(Color.BLACK);\n g.fillRect(0,0,pieceSize,pieceSize);\n }", "private TypeDb createTypeInstance(long id, String nameEn) {\n TypeDb typeDb = new TypeDb();\n typeDb.setId(id);\n typeDb.setTypeNameEn(nameEn);\n typeDb.setTypeNameRu(new TypeMapper().toRu(nameEn));\n return typeDb;\n }", "public DetachedVarSymbol(long flags, Name name, Type type, Symbol owner) {\n super(flags, name, type, owner);\n this.decl = null;\n }", "public abstract DataType<T> newInstance();", "DataType createDataType();", "public Wall() {\n\t\tcanHold = false;\n\t\tisPassable = false;\n\t\ttype = TileTypes.WALL;\n\t}", "UDPInstance() {\n this(null, null, null, null);\n }", "public static void destroyType() {\n\t\t\n\t}", "PagespeedType createPagespeedType();", "CharacterType createCharacterType(CharacterType t, long gameId);", "InstanceDecl createInstanceDecl();", "@Override\n public boolean isDead() {\n return (this.getLife() <= 0);\n }", "public Builder clearType() {\n bitField0_ = (bitField0_ & ~0x00000002);\n type_ = com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType.GUESS;\n onChanged();\n return this;\n }", "default public boolean dead() {\n return life().dead();\n }", "public TypeCheck() {\n\tsuper();\n\tinst = this;\n\tnew rcc.tc.PrepTypeDeclaration();\n }", "protected ChildType() {/* intentionally empty block */}", "public Die()\n {\n // nothing to be constructed\n }", "public static NPC createNPC(){\n\t\treturn new NPC();\n\t}", "public static StatusType create() {\n\n return valueOf(0);\n }", "@Bean\n\tDirectExchange deadLetterExchange() {\n\t\treturn new DirectExchange(directExchangeDeadLetter);\n\t}", "public static NewWareHouseDescriptionPG newWareHouseDescriptionPG(WareHouseDescriptionPG prototype) {\n return new WareHouseDescriptionPGImpl(prototype);\n }", "public BaseTypeIdImpl() {}", "public com.vodafone.global.er.decoupling.binding.request.UsageCompleteType createUsageCompleteType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.UsageCompleteTypeImpl();\n }", "XADLType createXADLType();", "public void setDead()\r\n/* 107: */ {\r\n/* 108:128 */ if (this.b) {\r\n/* 109:129 */ vs.a(this.world, this, this);\r\n/* 110: */ }\r\n/* 111:132 */ super.setDead();\r\n/* 112: */ }", "public BPPType createBPPart(String id, String value, TypeType type) {\n\t\tBPPType bpp = mappingFactory.createBPPType();\n\t\tbpp.setId(id);\n\t\tbpp.setValue(value);\n\t\tbpp.setType(type);\n\t\treturn bpp;\n\t}", "DOMType() {\n // Constructs an empty type node\n }", "public com.vodafone.global.er.decoupling.binding.request.PaymentStatusFullType createPaymentStatusFullType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.PaymentStatusFullTypeImpl();\n }" ]
[ "0.57349247", "0.5722365", "0.57160807", "0.5712761", "0.5688397", "0.56682795", "0.5525031", "0.55239654", "0.5448788", "0.5410152", "0.540261", "0.540261", "0.540261", "0.53870267", "0.5353865", "0.5337716", "0.5305146", "0.5287731", "0.52739567", "0.5269259", "0.5264883", "0.5204547", "0.5183131", "0.51799804", "0.5175543", "0.5175543", "0.51696783", "0.5161688", "0.5160936", "0.5145571", "0.5137316", "0.51371306", "0.5115915", "0.51153326", "0.51073897", "0.5104153", "0.51040196", "0.50940806", "0.508309", "0.5075834", "0.5073023", "0.50662327", "0.5051747", "0.5016656", "0.49690673", "0.49690673", "0.49570635", "0.49457726", "0.49270082", "0.49180254", "0.4902465", "0.48957795", "0.48874933", "0.48851", "0.48699874", "0.48668554", "0.485678", "0.48540762", "0.48364317", "0.48318082", "0.48297554", "0.48112673", "0.48104364", "0.48080537", "0.48046103", "0.4795754", "0.4791349", "0.47801632", "0.47711584", "0.47606587", "0.47594506", "0.47507113", "0.47458056", "0.4737893", "0.4736187", "0.47330156", "0.47326526", "0.47290152", "0.47276", "0.4725422", "0.47193012", "0.4717588", "0.47145084", "0.47100863", "0.47084028", "0.47078568", "0.47062624", "0.46993664", "0.46986064", "0.46952116", "0.46883062", "0.46880084", "0.46868244", "0.46853575", "0.46841362", "0.46795726", "0.46782935", "0.4677357", "0.46744305", "0.46722284" ]
0.8406926
0
P E R S I S T E N C E M E T H O D S
@TransactionAttribute(TransactionAttributeType.REQUIRED) public com.spirit.cartera.entity.CuentasPorCobrarIf addCuentasPorCobrar(com.spirit.cartera.entity.CuentasPorCobrarIf model) throws com.spirit.exception.GenericBusinessException { CuentasPorCobrarEJB value = new CuentasPorCobrarEJB(); try { value.setId(model.getId()); value.setCarteraId(model.getCarteraId()); value.setCodigo(model.getCodigo()); value.setPreimpreso(model.getPreimpreso()); value.setFechaEmision(model.getFechaEmision()); value.setComentario(model.getComentario()); value.setTipodocumentoId(model.getTipodocumentoId()); value.setReferenciaId(model.getReferenciaId()); value.setValor(model.getValor()); value.setSaldo(model.getSaldo()); value.setFacturaId(model.getFacturaId()); value.setFechaFactura(model.getFechaFactura()); value.setOficinaId(model.getOficinaId()); value.setObservacion(model.getObservacion()); value.setClienteId(model.getClienteId()); value.setRazonSocial(model.getRazonSocial()); value.setIdentificacion(model.getIdentificacion()); value.setClienteOficinaId(model.getClienteOficinaId()); queryManagerLocal.persist(value); } catch (Exception e) { log.error("Error al insertar información en cuentasPorCobrar.", e); throw new GenericBusinessException( "Error al insertar información en cuentasPorCobrar."); } return getCuentasPorCobrar(value.getPrimaryKey()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n\n BasicProducer basicProducer = new BasicProducer(\"3-part-topic\");\n long t0 = System.currentTimeMillis();\n basicProducer.postSynchMessage(\"Synched 8 Message\");\n long t1 = System.currentTimeMillis();\n System.out.println(\"time taken basicProducer.postSynchMessage=\" + (t1-t0)); // 192 // 193\n\n long t2 = System.currentTimeMillis();\n basicProducer.postAsynchMessage(\"async 8 Message\");\n long t3 = System.currentTimeMillis();\n System.out.println(\"time taken basicProducer.postSynchMessage=\" + (t3-t2)); //14\n\n\n }", "public static void command() throws Exception{\n\t\tint dest = 505;\n\t\tif (pastrs.length > 0){\n\t\t\tMapLocation nearest = Util.nearest(pastrs, rc.getLocation());\n\t\t\tdest = Util.encodeLocation(nearest);\n\t\t}\n\t\t\n\t\trc.broadcast(100,dest);\n\t}", "@Test(timeout = 4000)\n public void test32() throws Throwable {\n String string0 = EWrapperMsgGenerator.updateNewsBulletin(11, 13, \"E{Iw-^%H:1$e/\", \"LW)W-|=b,lie*CW\");\n assertEquals(\"MsgId=11 :: MsgType=13 :: Origin=LW)W-|=b,lie*CW :: Message=E{Iw-^%H:1$e/\", string0);\n }", "private ExecuteMessage() {\n initFields();\n }", "private void strin() {\n\n\t}", "protected void mo6255a() {\n }", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "public ServerOnlyReadsThread(Context c,ServerSocket ss,Socket s,Game g,int p,Handler h,Handler h2)\n {\n super();\n context = c;\n serverSocket = ss;\n client = s;\n test_string = \" arxi \";\n game = g;\n priority = p;\n handler = h;\n debugging = h2;\n n=g.numberOfPlayers;\n //Toast.makeText(context,\" Successfull creation!!! Me prior= \"+priority,Toast.LENGTH_LONG).show();\n }", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "private void getSleepData() {\n\n }", "@Override\r\n\tprotected void processExecute() {\n\r\n\t}", "void messageSent();", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "public void mo21794S() {\n }", "private void m50366E() {\n }", "static private void readMessage(){\r\n\t\t index = 0;\r\n\t\t code = 0;\r\n\t\t firstParam = \"\";\r\n\t\t secondParam = \"\";\r\n\t\t thirdParam = \"\";\r\n\t\t StringTokenizer st = new StringTokenizer(message, \"_\");\r\n\t\t String c = st.nextToken();\r\n\t\t index = Integer.parseInt(c);\r\n\t\t c = st.nextToken();\r\n\t\t code = Integer.parseInt(c);\r\n\t\t \t\tSystem.out.println(\"ClientMessageReader: il codice del messaggio ricevuto è \"+code);\r\n\t\t \t//\t||(code == Parameters.START_PLAYBACK) \r\n\t\t if((code == Parameters.START_OFF)|| (code == Parameters.FILES_RESPONSE))\r\n\t\t {\r\n\t\t\t firstParam = st.nextToken();\r\n\t\t }\r\n\t\t if(code == Parameters.CONFIRM_REQUEST)\r\n\t\t {\r\n\t\t\t firstParam = st.nextToken();\r\n\t\t\t \t\t\tSystem.out.println(\"CONFIRM_REQUEST firstParam: \"+firstParam);\r\n\t\t }\r\n\t }", "public void mo21783H() {\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "public void mo21877s() {\n }", "private void process(DatagramPacket packet){\n\t\tString string = new String(packet.getData());\r\n\t\tstring = string.split(\"/end/\")[0];\r\n\t\tInetAddress address = packet.getAddress();\r\n\t\tint port = packet.getPort();\r\n\t\tif(string.startsWith(\"/ping/\")) {\r\n\t\t\tsend(\"/ping/\".getBytes(), address, port);\r\n\t\t}else if(string.startsWith(\"/r/\")) {\r\n\t\t\tclients.add(new ServerClient(address, port));\r\n\t\t\tclients.get(clients.size() - 1).username = string.split(\"/u/|/p/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).password = string.split(\"/p/|/m/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).mail = string.split(\"/m/|/a/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).age = string.split(\"/a/|/c/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).country = string.split(\"/c/|/s/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).sex = string.split(\"/s/|/pn/\")[1];\r\n\t\t\tclients.get(clients.size() - 1).phoneNum = string.split(\"/pn/|/er/\")[1];\r\n\t\t\t\r\n\t\t\tint id = clients.get(clients.size() - 1).userID;\r\n\t\t\t\r\n\t\t\tsave();\r\n\t\t\t\r\n\t\t\tsend(getBynaryFtomInt(id), clients.get(clients.size() - 1).address, clients.get(clients.size() - 1).port);\r\n\t\t\t\r\n\t\t}else if(string.startsWith(\"/e/\")) {\r\n\t\t\tint ID = Integer.parseInt(string.split(\"/id/|/u/\")[1]);\r\n\t\t\tfor(int i = 0; i < clients.size(); i++) {\r\n\t\t\t\tServerClient c = clients.get(i);\r\n\t\t\t\tif(ID == c.userID) {\r\n\t\t\t\t\tc.username = string.split(\"/u/|/p/\")[1];\r\n\t\t\t\t\tc.password = string.split(\"/p/|/m/\")[1];\r\n\t\t\t\t\tc.mail = string.split(\"/m/|/a/\")[1];\r\n\t\t\t\t\tc.age = string.split(\"/a/|/c/\")[1];\r\n\t\t\t\t\tc.country = string.split(\"/c/|/s/\")[1];\r\n\t\t\t\t\tc.sex = string.split(\"/s/|/pn/\")[1];\r\n\t\t\t\t\tc.phoneNum = string.split(\"/pn/|/ee/\")[1];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsave();\r\n\t\t\t\r\n\t\t}else if(string.startsWith(\"/d/\")) {\r\n\t\t\tint ID = Integer.parseInt(string.split(\"/id/|/u/\")[1]);\r\n\t\t\tfor(int i = 0; i < clients.size(); i++) {\r\n\t\t\t\tif(ID == clients.get(i).userID) {\r\n\t\t\t\t\tremove(i);\r\n\t\t\t\t\tclients.remove(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsave();\r\n\t\t}else if(string.startsWith(\"/l/\")) {\r\n\t\t\tfor(int i = 0; i < clients.size(); i++) {\r\n\t\t\t\tServerClient c = clients.get(i);\r\n\t\t\t\tif(c.username.equals(string.split(\"/u/|/p/\")[1]) && c.password.equals(string.split(\"/p/|/el/\")[1])) {\r\n\t\t\t\t\tc.address = packet.getAddress();\r\n\t\t\t\t\tc.port = packet.getPort();\r\n\t\t\t\t\t\r\n\t\t\t\t\tString information = \"/i/\" + \"/id/\" + c.userID + \"/u/\" + c.username + \"/p/\" + c.password + \"/m/\" + c.mail + \"/a/\" + c.age + \"/c/\" + c.country + \"/s/\" + c.sex + \"/pn/\" + c.phoneNum + \"/ei/\" + \"/\" + \"/end/\";\r\n\t\t\t\t\tsend(information.getBytes(), c.address, c.port);\r\n\t\t\t\t\t\r\n\t\t\t\t\twrong = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(wrong) {\r\n\t\t\t\tString information = \"/w/\" + \"/end/\";\r\n\t\t\t\tsend(information.getBytes(), packet.getAddress(), packet.getPort());\r\n\t\t\t}else {\r\n\t\t\t\twrong = true;\r\n\t\t\t}\r\n\t\t}/*else if(string.startsWith(\"/photo/\")) {\r\n\t\t\tfor(int i = 0; i < clients.size(); i++) {\r\n\t\t\t\tServerClient c = clients.get(i);\r\n\t\t\t\tif(Integer.parseInt(string.split(\"/photo/|//\")[1]) == c.userID) {\r\n\t\t\t\t\tc.pixels = string.split(\"//|/e/\")[1].getBytes();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsave();\r\n\t\t}*/\r\n\t\t\r\n\t\t\t\r\n\t}", "Message pull();", "private void deliver(String mb) {\n\t\t\tString[] sourceIdAndMsgAndTime = mb.split(\" \", 3);\n\t\t\tSystem.out.println(\"Received \"+ sourceIdAndMsgAndTime[1] + \" from process \"+ sourceIdAndMsgAndTime[0] +\", system time is ­­­­­­­­­­­­­\" + sourceIdAndMsgAndTime[2]);\n\t\t\t\n\t\t}", "IEmpleado next();", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tMessage msg = new Message();\n\t\t\t\t\tmsg.what = 100;\n\t\t\t\t\tmsg.obj = split[1]+\",\"+split[2];\n\t\t\t\t\tmHandler.sendMessage(msg);\n\t\t\t\t}", "public void mo55254a() {\n }", "@Override\n protected Void doInBackground(String... strings) {\n try {\n this.socket = new Socket(strings[0], Integer.parseInt(strings[1]));\n this.buffer = new DataOutputStream(this.socket.getOutputStream());\n while(true) {\n this.buffer.write((commandQueue.take()+\"\\r\\n\").getBytes());\n this.buffer.flush();\n }\n }\n catch (Exception e) {\n System.out.println(\"\" + e.getMessage());\n }\n return null;\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\tImagePack pack;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tpack = new ImagePack(from, to, data.getKey(), ImagePack.IMAGE_QUICK, scale);\r\n\t\t\t\t\t// long time2 = System.currentTimeMillis();\r\n\t\t\t\t\t// System.out.println((time2 - time1) / 1000.0);\r\n\t\t\t\t\tsocket.sendPacket(pack, PrintScreenThread.printTimeSpace + 10);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}", "private static void cajas() {\n\t\t\n\t}", "private void retriveCommand(){\n\t\tdirections.add(\"Turn left.\");\n\t\tdirections.add(\"Walk 20 meters and turn right.\");\n\t\tdirections.add(\"Arrive destination.\");\n\t}", "private void UpdateMethod() {\n \tif(!mCenterL || !mCenterR || (mTimeoutCounter>=mMaxTimeoutCount && mMaxTimeoutCount>-1) ) {\n \t\t// limit to {0..100}\n \t\t\n \t\tbyte[] x_message = new byte[3];\n\t \tbyte[] y_message = new byte[3];\n \t\t\n \t\tx_message = Updating_x_y_for_sending(x_axeL);\n\t \ty_message = Updating_x_y_for_sending(y_axeL);\n \t\t\n\t \tbyte radiusL = (byte) ( Math.min( mRadiusL, 10.0 ) );\n\t \tbyte radiusR = (byte) ( Math.min( mRadiusR, 10.0 ) );\n \t\t// scale to {0..35}\n\t \tbyte angleL = (byte) ( mAngleL * 18.0 / Math.PI + 36.0 + 0.5 );\n\t \tbyte angleR = (byte) ( mAngleR * 18.0 / Math.PI + 36.0 + 0.5 );\n\t \tif( angleL >= 36 )\tangleL = (byte)(angleL-36);\n\t \tif( angleR >= 36 )\tangleR = (byte)(angleR-36);\n\t \t\n\t \tif (D) {\n\t \t\tLog.d(TAG, String.format(\"%d, %d, %d, %d\", radiusL, angleL, radiusR, angleR ) );\n\t \t}\n\t \t\n\t \tif( mDataFormat==4 ) {\n\t \t\t// raw 4 bytes\n\t \t\tsendMessage( new String(new byte[] {\n\t\t \t\t\tradiusL, angleL, radiusR, angleR } ) );\n\t \t}else if( mDataFormat==5 ) {\n\t \t\t// start with 0x55\n\t\t \tsendMessage( new String(new byte[] {\n\t\t \t\t\t0x55, radiusL, angleL, radiusR, angleR } ) );\n\t \t}else if( mDataFormat==6 ) {\n\t \t\t// use STX & ETX\n\t\t \tsendMessage( new String(new byte[] {\n\t\t \t\t\t0x02, x_message[0], x_message[1], x_message[2], y_message[0], y_message[1], x_message[2], 0x03 } ) );\n\t \t}\n\t \t\n\t \tmTimeoutCounter = 0;\n \t}\n \telse{\n \t\tif( mMaxTimeoutCount>-1 )\n \t\t\tmTimeoutCounter++;\n \t}\t\n }", "public void mo21793R() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "public void mo21795T() {\n }", "public void mo21791P() {\n }", "public void mo21779D() {\n }", "void sendMessage(int cycleCount, int index, int offset, long time)\n {\n Message msg = handler.obtainMessage(state, index, offset); //pos.offset);\n handler.sendMessage(msg);\n }", "protected void executeCommand() {\n // build the type string\n StringBuilder stateString = new StringBuilder();\n StringBuilder moveNamesString = new StringBuilder();\n StringBuilder basicPieceString = new StringBuilder();\n StringBuilder factionRingString = new StringBuilder();\n\n // start the state string\n stateString.append(\"emb2;Activate;2;;;2;;;2;;;;1;false;0;-24;,\");\n basicPieceString.append(\"emb2;;2;;;2;;;2;;;;;false;0;0;\");\n\n String moveImage;\n String move = newMoveList.get(0);\n String moveWithoutSpeed = move.substring(1);\n moveImage = dialHeadingImages.get(moveWithoutSpeed);\n\n String speed = move.substring(0,1);\n String moveCode = move.substring(1,2);\n String moveName = maneuverNames.get(moveCode);\n\n basicPieceString.append(\"D2e_\" + xwsShipName + \".png\");\n basicPieceString.append(\";;false;Front Plate;;;false;;1;1;true;;;\");\n\n moveNamesString.append(moveName).append(\" \").append(speed);\n // add in move names\n stateString.append(moveImage);\n stateString.append(\";empty,\"+moveNamesString);\n\n // finish the type string\n stateString.append(\";false;Chosen Move;;;false;;1;1;true;65,130\");\n Embellishment chosenMoveEmb = (Embellishment)Util.getEmbellishment(piece,\"Layer - Chosen Move\");\n Embellishment chosenSpeedEmb = (Embellishment)Util.getEmbellishment(piece, \"Layer - Chosen Speed\");\n Embellishment fullDialEmb = (Embellishment)Util.getEmbellishment(piece, \"Layer - Front Plate\");\n Embellishment ringEmb = (Embellishment)Util.getEmbellishment(piece, \"Layer - Faction Ring\");\n\n factionRingString.append(\"emb2;;2;;;2;;;2;;;;;false;0;0;DialSelect_\");\n factionRingString.append(faction);\n factionRingString.append(\".png;;false;Faction Ring;;;false;;1;1;true;;;\");\n chosenSpeedEmb.setValue(Integer.parseInt(speed)+1);\n\n String injectDialString = \"\";\n int count=0;\n for(String moveItem : newMoveList) {\n count++;\n injectDialString+= moveItem;\n if(count!=newMoveList.size()) injectDialString+=\",\";\n }\n piece.setProperty(\"dialstring\",injectDialString);\n piece.setProperty(\"shipID\", associatedShipID);\n\n // chosen move embellishment looks like: emb2;Activate;2;;;2;;;2;;;;1;false;0;-24;,mFW.png;empty,move;false;Chosen Move;;;false;;1;1;true;65,130;;\n // chosen speed embell looks like: emb2;;2;;;2;;;2;;;;1;false;0;24;kimb5.png,,kimb0.png,kimb1.png,kimb2.png,kimb3.png,kimb4.png;5,empty,0,1,2,3,4;false;Chosen Speed;;;false;;1;1;true;;;\n // basic piece face plate looks like: emb2;;2;;;2;;;2;;;;;false;0;0;D2e_arc170starfighter.png;;false;Front Plate;;;false;;1;1;true;;;\n // faction ring looks like: emb2;;2;;;2;;;2;;;;;false;0;-6;DialSelect_rebelalliance.png;;false;Faction Ring;;;false;;1;1;true;;;\n\n chosenMoveEmb.mySetType(stateString.toString());\n chosenMoveEmb.setValue(1);\n\n fullDialEmb.mySetType(basicPieceString.toString());\n ringEmb.mySetType(factionRingString.toString());\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private String waitPrint(){return \"waiting for other players...\";}", "private void sout() {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void run() {\n//\t\t\t\t\t\n//\t\t\t\t\tSystem.out.printf(\"Ausgangs-Puffer: \");\n//\t\t\t\t\tfor(int i=0; i<Message.length; i++)\tSystem.out.printf(\"0x%02X \", eeipClient.O_T_IOData[i]);\n//\t\t\t\t\tSystem.out.printf(\"\\n\\n\");\n\t\t\t\t\t\n\t\t\t\t\tk++;\n\t\t\t\t\t\n\t\t\t\t\tif(k>=3) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\teeipClient.ForwardClose();\n\t\t\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttimerflag1=false;\n\t\t\t\t\t\tMessagerec[0]=1;\n\t\t\t\t\t\tstate2=3;\n\t\t\t\t\t\tk=0;\n\t\t\t\t\t\tthis.cancel();\n\t\t\t\t\t}\n\t\t\t\t}", "public void run() {\n\t\t\t\t\n\t\t\t}", "PaulEigon() {\n\treadCurrentPingisState();\n\tscanState();\n\tprintResult();\n }", "abstract void GetInfoPacket() ;", "@Override\n\tpublic void msgAtFrige() {\n\t\t\n\t}", "@Override\n\t\tpublic void onDirectMessage(DirectMessage arg0) {\n\t\t\t\n\t\t}", "public void mo1531a() {\n C2201w.m8373a(\"Photo TransferData start!\", 1);\n }", "public static void main(String[] args) throws IOException\n {\n DatagramSocket ds=new DatagramSocket(2345);\n String msg;\n byte[] buf=new byte[100];\n\n while(true)\n {\n DatagramPacket rdp=new DatagramPacket(buf,buf.length);\n ds.receive(rdp);\n msg=new String(rdp.getData(),rdp.getOffset(),rdp.getLength());\n\n System.out.println(msg);\n }\n\n }", "private void poetries() {\n\n\t}", "public static void main(String[] args) throws IOException {\n int delay;\n String origen;\n String destino;\n int i = 0;\n int numeroIteraciones=200;\n\n //Borramos los datos anteriores\n //borrarResultados();\n \n while (i<numeroIteraciones) {\n i++;\n origen = String.valueOf((int) (Math.random()*(320-27)+27)); \n destino = String.valueOf((int) (Math.random()*(320-27)+27));\n while (destino == origen) {\n destino = String.valueOf(Math.random()*320);\n }\n System.out.println(origen +\" \" +destino);\n //Creamos una nueva hebra y la inicializamos \n VehicleThreadClient vehiculo = new VehicleThreadClient(origen, destino, String.valueOf(i));\n }\n }", "private void m57235e() {\n if (this.f41223d != null) {\n this.f41223d.sendEmptyMessage(1);\n }\n }", "public void sendDataToAMQ(){\n\t\t\r\n\t\tList<String> msg = new ArrayList<>();\r\n\t\tif(offsetfollower < (prototype.followerDrivingInfo.meetingLocation - 500)) {\r\n\t\t\toffsetleader += prototype.leaderDrivingInfo.speed;\r\n\t\t\toffsetfollower += prototype.followerDrivingInfo.speed;\r\n\t\t\tmsg.add(\"<carName TestCar carName> <segmentPosX -4 segmentPosX> <segmentPosY \"+ (+offsetleader) +\" segmentPosY> <carSpeed \" + (prototype.leaderDrivingInfo.speed)+\" carSpeed>\");\r\n\t\t\tmsg.add(\"<carName Camcar carName> <segmentPosX -4 segmentPosX> <segmentPosY \"+ (offsetfollower) +\" segmentPosY> <carSpeed \" + (prototype.followerDrivingInfo.speed)+\" carSpeed>\");\t\r\n\r\n\t\t}\r\n\t\telse {\r\n\t\t\toffsetleader += prototype.leaderDrivingInfo.speed;\r\n\t\t\toffsetfollower += prototype.leaderDrivingInfo.speed ;\r\n\t\t\tmsg.add(\"<carName TestCar carName> <segmentPosX -4 segmentPosX> <segmentPosY \"+ (+offsetleader) +\" segmentPosY> <carSpeed \" + (prototype.leaderDrivingInfo.speed)+\" carSpeed>\");\t\r\n\t\t\tmsg.add(\"<carName Camcar carName> <segmentPosX -4 segmentPosX> <segmentPosY \"+ (offsetfollower) +\" segmentPosY> <carSpeed \" + (prototype.leaderDrivingInfo.speed)+\" carSpeed>\");\r\n\r\n\t\t}\r\n for(int i = 0; i < msg.size();i++)\r\n {\r\n \tamqp.sendMessage(msg.get(i));\r\n }\r\n// \t}\r\n }", "private String getPacketData(){\n\t\tString str = \"\";\n\t\tfor(int i=0;i<lenth_get/5;i++){\n\t\t\tstr = str + originalUPLMN[i];\n\t\t}\n\t\tif(DBUG){\n\t\t\tif(DEBUG) Log.d(LOG_TAG, \"getPacketData---str=\"+str);\n\t\t}\n\t\treturn str;\n\t}", "public void mo3376r() {\n }", "private String msg3() {\n return(\"[\" + (System.currentTimeMillis() - system_start_time) + \"] \");\n }", "@Override\n\tpublic void onMessage(CommandMessage msg) {\n\t}", "void processCommand (String command, ZMsg msg);", "@Override\n public void run() {\n Handler temp = getHandler();\n Scanner scanner = temp.getScanner();\n temp.getGameServer().sendMsg(\"yek nafar ra entekhab konid :(tanha yek payam baraye Mafia) \" +\n temp.getGameServer().getNames().toString(), temp);\n String msg = scanner.nextLine().strip();\n temp.getGameServer().sendMsgToMafia(temp.getName() + \" : \" + msg, temp);\n System.out.println(msg + \"<------\" + toString());\n }", "@Override\n @SuppressWarnings(\"SuspiciousSystemArraycopy\")\n public void run() {\n //while (!isInterrupted()) {\n try {\n\n //String message=\"\";\n byte[] data = new byte[1024];\n int datalen = -1;\n messageStream = new byte[]{};\n while (isRunning) {\n if ((datalen = mIn.read(data)) != -1) {\n try {\n\n byte[] truedata = new byte[datalen];\n System.arraycopy(data, 0, truedata, 0, datalen);\n if ((datalen == 4) && new String(truedata).equals(\"0000\")) {\n CommonLib.PrintScreen(systemGlobal, \"SOCK - \" + identifyState + \" received IDLE: 0000\",showLogEnum.DETAILMODE);\n } else {\n messageStream = CommonLib.concatByteArray(messageStream, truedata);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s REV: %s \\n\\rBUFF 1(%d): %s\", identifyState, CommonLib.getHumanFormatFromByte(truedata), messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)),showLogEnum.SIMPLEMODE);\n byte[] msg = new byte[]{};\n\n HeaderProcessing headerMsg = msgheaderInfo.clone();\n if (headerMsg.initHeaderFromBytes(messageStream)) {\n\n msg = headerMsg.getMessageFromBuffer(messageStream);\n while (msg.length > 0) {\n boolean needParsing = false;\n if (headerMsg.getHeaderPart(9) != null) {\n if (headerMsg.getHeaderPart(9).getValue().toString().equals(\"00000\")) {\n needParsing = true;\n }\n } else {\n needParsing = true;\n }\n if (needParsing) {\n IsoMessage isoMsg = new IsoMessage(msg, getInstituttionCode(), headerMsg, isoCfg, instData.getLineMode());\n if (isoMsg.isMessage()) {\n isoMsg.setSeqID(CommonLib.getNextSequence());\n isoMsg.setMsgType(CommonLib.getMsgType(isoMsg.getField(0)));\n incommingqueue.add(isoMsg);\n CommonLib.PrintScreen(systemGlobal, identifyState + \" parsed: \" + isoMsg.printedMessage(), showLogEnum.DEFAULT);\n\n //Added by DUNGBTK 08.11.2010\n messageStream = CommonLib.copyByteArrayFromArray(messageStream, msg.length, messageStream.length - msg.length);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 2(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)), showLogEnum.SIMPLEMODE);\n //msg = CommonLib.getMsgFromBuffer(messageStream, msgheaderInfo);\n headerMsg = msgheaderInfo.clone();\n headerMsg.initHeaderFromBytes(messageStream);\n msg = headerMsg.getMessageFromBuffer(messageStream);\n } else {\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK - \" + identifyState + \" parsing (close connection): \" + CommonLib.asHex(msg), showLogEnum.SIMPLEMODE);\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n } else {\n CommonLib.PrintScreen(systemGlobal, \"DROP BY HEADER - \" + identifyState + CommonLib.asHex(msg), showLogEnum.DETAILMODE);\n messageStream = CommonLib.copyByteArrayFromArray(messageStream, msg.length, messageStream.length - msg.length);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 2(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)), showLogEnum.DETAILMODE);\n\n headerMsg = msgheaderInfo.clone();\n headerMsg.initHeaderFromBytes(messageStream);\n msg = headerMsg.getMessageFromBuffer(messageStream);\n }\n\n }\n if (messageStream.length > 0) {\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 3(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)),showLogEnum.DETAILMODE);\n }\n }\n }\n\n } catch (Exception e) {\n messageStream = new byte[]{};\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \" data error (close connection): \" + e.getMessage(),showLogEnum.DETAILMODE);\n\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n } else {\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \" is interrupted..\",showLogEnum.DETAILMODE);\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n }\n //--Thread.sleep(GlobalObject.SystemParas.getIntValue(\"VNBC_SOCK_RUNNING_INTEVAL\"));\n\n } catch (Exception ex) {\n isRunning = false;\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \": Connection error\",showLogEnum.DETAILMODE);\n }\n //Communication is broken. Interrupt both listener and sender threads\n\n }", "private stendhal() {\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "public void run() \n\t\t{\n\t\t\tBundle dataBundle = new Bundle(); \n\t\t\tString currTime = Funcs.getCurrentTime( true );\n\t\t\t\n\t\t\t// dataBundle.putSerializable( \"rts\", GTStore.getRoutes( _sourceStopId, _destStopId, Funcs.getCurrentDay(), currTime, Funcs.addTime( currTime, \"00:25:00\" ) ) );\n\t\t\t//dataBundle.putSerializable( \"rts\", GTStore.findRoutes( 40.44938, -3.6912, 40.41876, -3.69263, Funcs.getCurrentDay() ) );\n\t\t\t\n\t\t\ttry\n\t\t\t{\n\t\t\t\tString [][] _res = GTStore_sqlite.getDirectRoutes( _sourceStopId, _destStopId );\n\n\t\t\t\t// String [][] _res = GTStore.getDirectRoutes( _sourceStopId, _destStopId );\n\t\t\t\t\n\t\t\t\tdataBundle.putSerializable( \"rts\", _res );\n\t\t\t\tMessage msg = _handler.obtainMessage();\n\t\t\t\tmsg.setData( dataBundle );\n\t\t\t\t_handler.sendMessage( msg );\n\t\t\t\t\n\t\t\t}\n\t\t\tcatch(Exception e){Best.dissmissProcessing(); e.printStackTrace();}\n }", "private void standByForMessages() throws IOException {\n if (reader.readLine() != null) {\n try {\n JSONObject j = (JSONObject) jps.parse(reader.readLine());\n sequence = Integer.valueOf(j.get(\"sequence\").toString());\n String cmd = (String) j.get(\"command\");\n JSONArray parameter = (JSONArray) j.get(\"parameter\");\n cmdHandler(parameter, cmd);\n } catch (ParseException ex) {\n }\n }\n }", "public String SoloDNI() {\nreturn MuestraSoloDNI();\t\t\t\t\t\n}", "private void otherdetails(String otherplayermsg, int commandlength) {\n // decode variable that came with message\n String variables[] = new String[12];\n for (int i = 0; i < 12; i++) {\n int varlength = 0;\n for (int n = commandlength + 1; n < otherplayermsg.length(); n++) {\n char extract = otherplayermsg.charAt(n);\n if (extract == (':')) {\n varlength = n;\n break;\n }\n }\n variables[i] = otherplayermsg.substring(commandlength + 1, varlength);\n commandlength = varlength;\n }\n\n // adding other players details to storage arrays\n for (int n = 0; n < 3; n++) {\n otherNames[n] = variables[4 * n];\n score.addName(variables[4 * n]);\n // sh.addMsg(\"Test - othername \" + otherNames[n] + \" severname \" +\n // servername);//--------------------TEST\n if (otherNames[n].equals(servername)) whosturn = n;\n cardcount[n] = 3;\n carddowncount[n] = 3;\n try {\n for (int i = 0; i < 3; i++) {\n Card card = new Card(Integer.parseInt(variables[4 * n + 1 + i]));\n faceup[n][i] = card;\n }\n } catch (NumberFormatException b) {\n sh.addMsg(\"otherdetails - variable to Int error: \" + b);\n }\n }\n deck = 16;\n if (fastgame) deck = 0;\n displayTable();\n if (swap && !swapdone) { // if performing card swap\n Card inhand[] = new Card[3];\n Card ontable[] = new Card[3];\n for (int n = 0; n < 3; n++) {\n inhand[n] = hand.getCard(n);\n ontable[n] = hand.getFaceUp(n);\n }\n SwapD swapD = new SwapD(sh, inhand, ontable);\n if (swapD.display()) {\n inhand = swapD.getInHand();\n ontable = swapD.getOnTable();\n hand.swap(inhand, ontable);\n displayTable();\n }\n sendCommand(\n \"swap:\"\n + inhand[0].getNumber()\n + \":\"\n + inhand[1].getNumber()\n + \":\"\n + inhand[2].getNumber()\n + \":\"\n + ontable[0].getNumber()\n + \":\"\n + ontable[1].getNumber()\n + \":\"\n + ontable[2].getNumber()\n + \":\");\n swapdone = true;\n }\n }", "@Override\n\t\t\t\tpublic void run() {\n//\t\t\t\t\t\n//\t\t\t\t\tSystem.out.printf(\"Ausgangs-Puffer: \");\n//\t\t\t\t\tfor(int i=0; i<Message.length; i++)\tSystem.out.printf(\"0x%02X \", eeipClient.O_T_IOData[i]);\n//\t\t\t\t\tSystem.out.printf(\"\\n\\n\");\n\t\t\t\t\tk++;\n\t\t\t\t\t\n\t\t\t\t\tif(k>=10) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\teeipClient.ForwardClose();\n\t\t\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\ttimerflag1=false;\n\t\t\t\t\t\tstatus_write=true;\n\t\t\t\t\t\tstate=3;\n\t\t\t\t\t\tk=0;\n\t\t\t\t\t\tthis.cancel();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}", "public EchoClientHandler()\n {\n String data = \"hello zhang kylin \" ;\n firstMessage = Unpooled.buffer(2914) ;\n firstMessage.writeBytes(data.getBytes()) ;\n }", "public void Data(){\n\t\t\t\t\t\t\n\t\t\t\t\t}", "@Override\n public String[] read() {\n String [] message = new String[]{ \"MOVE\",\n Integer.toString(bestMove[0].getX()), Integer.toString(bestMove[0].getY()),\n Integer.toString(bestMove[1].getX()), Integer.toString(bestMove[1].getY()) };\n if(!canMove()) {\n message[0] = \"PASS\";\n }\n return message;\n }", "public void run() {\n\t\t\t\t\t\t}", "public void mo21789N() {\n }", "private void serverDisplay(String message)\n {\n String timeStamp = dateFormat.format(new Date()) + \" \" + message;\n System.out.println(timeStamp);\n }", "private String requesttosend() throws IOException {\n\t\tsender.sendMsg(Constants.REQSEND);\r\n\t\t//等待接收的返回状态\r\n\t\treturn sender.getMsg();\r\n\t}", "zzang mo29839S() throws RemoteException;", "private static void unicast_send(int id, String msg) throws IOException {\n\n \tSocket socket = new Socket(IPs.get(id), Ports.get(id));\n\n try(PrintWriter out = new PrintWriter(socket.getOutputStream(), true)){\n \tout.println(serverId + \" \" + msg);\n \tSystem.out.println(\"Sent \"+ msg +\" to process \"+ id +\", system time is ­­­­­­­­­­­­­\"+ new Timestamp(System.currentTimeMillis()).toString());\n }\n socket.close();\n }", "private void sendReceiveRes(){\n\t}", "@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}", "public void method_4270() {}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void run(){\n long startTime = System.nanoTime();\n long elapsedTime = System.nanoTime() - startTime;\n while(elapsedTime<500000000 && p.acknowledged == false){\n //echo(\"Waiting\");\n elapsedTime = System.nanoTime() - startTime;\n if(p.acknowledged == true){\n return;\n }\n }\n if(elapsedTime>= 500000000)\n {\n p.timed = true;\n //System.out.println(\"thread timed out at packet \"+ p.getSeq());\n for(int i=p.getSeq(); i<p.getSeq()+window; i++){\n if(i<packets.size()){\n packets.get(i).sent = false;\n }\n }\n //p.sent = false;\n }\n\n\n }", "public void mo21780E() {\n }", "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:59:45.591 -0500\", hash_original_method = \"73417FF22870072B41D9E8892C6ACEAF\", hash_generated_method = \"98D30C9AEE1B66AD2FCFA7D7A2E2B430\")\n \nprivate static Message sendMessageSynchronously(Messenger dstMessenger, Message msg) {\n SyncMessenger sm = SyncMessenger.obtain();\n try {\n if (dstMessenger != null && msg != null) {\n msg.replyTo = sm.mMessenger;\n synchronized (sm.mHandler.mLockObject) {\n dstMessenger.send(msg);\n sm.mHandler.mLockObject.wait();\n }\n } else {\n sm.mHandler.mResultMsg = null;\n }\n } catch (InterruptedException e) {\n sm.mHandler.mResultMsg = null;\n } catch (RemoteException e) {\n sm.mHandler.mResultMsg = null;\n }\n Message resultMsg = sm.mHandler.mResultMsg;\n sm.recycle();\n return resultMsg;\n }", "Message getNextMessage();", "Room mo12151c();", "public void c(String str) {\n String str2;\n long j;\n String str3;\n try {\n long currentTimeMillis = System.currentTimeMillis();\n Context a2 = d.a();\n long a3 = m.a(a2, \"action_begin\", 0);\n long a4 = m.a(a2, \"action_end\", 0);\n long a5 = m.a(a2, \"action_auto_end\", 0);\n String a6 = m.a(a2, \"action_name\", \"\");\n if (TextUtils.isEmpty(a6) || a3 <= 0 || a4 != 0) {\n str2 = \"action_name\";\n j = a3;\n str3 = \"SMV2\";\n } else {\n j.a(\"SMV2\", \"Record the last unusual PA event with auto-end.\");\n long j2 = a3;\n j = a3;\n long j3 = a5;\n str2 = \"action_name\";\n str3 = \"SMV2\";\n a(a6, j2, j3, true);\n }\n if (!b) {\n b = true;\n if (!TextUtils.isEmpty(a6) && j > 0 && a4 > 0) {\n boolean j4 = new h().j(j);\n j.a(str3, \"check the last pa event whether been inserted to db. actionBeginTs =\" + j + \" isInserted = \" + j4);\n if (!j4) {\n j.a(str3, \"Record the last unusual PA event without auto-end.\");\n a(a6, j, a4, false);\n }\n }\n }\n m.b(a2, \"action_begin\", currentTimeMillis);\n m.b(a2, \"action_end\", 0);\n m.b(a2, \"action_auto_end\", 0);\n m.b(a2, str2, str);\n try {\n this.c.sendEmptyMessageDelayed(100, 15000);\n } catch (Exception e) {\n e = e;\n }\n } catch (Exception e2) {\n e = e2;\n j.a(\"processActActivated exception: \", (Throwable) e);\n }\n }", "byte getCommand(int n) {\r\n return command_journal[n];\r\n }", "@Override\n\tpublic void run() {\n\t\twhile (true) {\n\t\t\t//让改线程可以接受到客户端的信息;\n\t\t\ttry {\n//\t\t\t\tThread.sleep(2000);\n\t\t\tObjectInputStream ois=new ObjectInputStream(s.getInputStream());\n\t\t\tMessage message=(Message) ois.readObject();\n\t\t\tSystem.out.println(message.getSender()+\"给\"+message.getGetter()+\"说\"+message.getCon());\n\t\t\t//这里进行转发;\n\t\t\t/*\n\t\t\t * 转发时出现错误;???????????已解决;\n\t\t\t */\n\t\t\t//取得接收人的通讯线程;\n\t\t\tServerConnectClient scClient=ManageQQClientTh.getClientThread(message.getGetter());\n\t\t\tObjectOutputStream oos=new ObjectOutputStream(scClient.s.getOutputStream());\n\t\t\t\toos.writeObject(message);\n\t\t\n\t\t\t\t} catch (IOException | ClassNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}", "public String normalFunction(String data) throws Exception {\n logger.info(\"normalFunction()...\");\n cleanUp();\n long newSeq = calculateSequenceNumber(); // currentTimeMillis / 5000\n if (this.sequenceNo >= newSeq) {\n logger.info(\"Sequence number is equal. old \" + this.sequenceNo + \" and new \" + newSeq);\n }\n while (this.sequenceNo > newSeq) {\n synchronized (this) {\n this.wait(this.sequenceNo-newSeq);\n newSeq = calculateSequenceNumber();\n }\n }\n this.node.setCurrentSequenceNo(this.sequenceNo);\n logger.info(\"Changed sequence \" + this.sequenceNo + \" to \" + newSeq);\n this.sequenceNo = newSeq;\n logger.info(\" SEQ_NO: \" + sequenceNo);\n\n ArrayList<Message> voteStore = new ArrayList<>();\n int state = 0;\n this.leader = HnKeyUtils.getString4PublicKey(this.node.publicKey).equals(this.node.getSeedPubkey());\n while(true){\n if((System.currentTimeMillis()/ sequenceLength) > this.sequenceNo){\n logger.info(\"time out...\");\n throw new TimeoutException();\n }\n synchronized (this) {\n if(state == 0) {\n if(this.leader) { // are we the leader?\n sender.sendMessage(\n new ProposeMessage(\n this.sequenceNo,\n this.node.publicKey,\n this.leader,\n Crypto.sign(data.getBytes(), this.node.privateKey),\n data.getBytes()\n )\n );\n state = 1;\n logger.info(\"state = 1\");\n } else {\n state = 1;\n logger.info(\"state = 1\");\n }\n }\n if (state == 1 && !node.mq.proposeM.isEmpty() ) {\n ProposeMessage proposeMessage = (ProposeMessage) node.mq.proposeM.take();\n if (verifyProposeSign(proposeMessage)) {\n logger.info(\"Got ProposeMessage\");\n sender.sendMessage(\n new PrevoteMessage(\n this.sequenceNo,\n this.node.publicKey,\n this.leader,\n proposeMessage.data\n )\n );\n state = 2;\n logger.info(\"state = 2\");\n }\n }\n if (state == 2 && !node.mq.prevoteM.isEmpty()) {\n logger.info(\"Got PrevoteMessage\");\n prevoteStore.add((PrevoteMessage) node.mq.prevoteM.take());\n logger.info(\"=== prevoteStore size: \" + prevoteStore.size());\n VerifyAgreementResult agreement = checkAgreement(prevoteStore.stream().collect(Collectors.toList()));\n if (agreement.bool) {\n sender.sendMessage(new VoteMessage(this.sequenceNo,\n this.node.publicKey, this.leader, agreement.data.getBytes()));\n state=3;\n logger.info(\"state = \"+ state);\n } else {\n logger.info(\"checkAgreement failed.\");\n }\n }\n if ((state == 2 || state == 3) && !node.mq.voteM.isEmpty()) {//abfrage dessen das der median bei genügend node gleich ist und sequenznr stimmt fehlt\n logger.info(\"Got VoteMessage\");\n voteStore.add((VoteMessage) node.mq.voteM.take());\n logger.info(\"=== voteStore size: \" + voteStore.size());\n VerifyAgreementResult agreement = checkAgreement(voteStore);\n if (agreement.bool) {\n logger.info(\"state = DONE! (now doing cleanup)\");\n this.cleanUp();\n return agreement.data;\n }\n } else {\n Thread.sleep(1000); // waits for a new message to allow all 3 ifs to check, but otherwise block.\n }\n }\n }\n }", "public void msg1()\r\n\t{\n\t\t\r\n\t}" ]
[ "0.53847903", "0.5029988", "0.4998435", "0.49781522", "0.4952768", "0.48900557", "0.48854342", "0.48661515", "0.48599494", "0.4853938", "0.48503062", "0.4830594", "0.48269126", "0.48269126", "0.48196948", "0.4819625", "0.47961807", "0.47945994", "0.47935402", "0.47935402", "0.4786476", "0.47703788", "0.47525573", "0.47502124", "0.4746193", "0.47441193", "0.47441193", "0.47441193", "0.47441193", "0.47441193", "0.47441193", "0.47441193", "0.47263277", "0.47233918", "0.47226006", "0.47146988", "0.4698484", "0.46912554", "0.46891758", "0.46884748", "0.4687249", "0.46867907", "0.46863154", "0.46856263", "0.46842924", "0.46816033", "0.46784365", "0.46767315", "0.4676139", "0.46715555", "0.46686068", "0.46676078", "0.4667269", "0.46657005", "0.46649584", "0.46557736", "0.46550664", "0.46481758", "0.46464473", "0.4643445", "0.46418157", "0.46416324", "0.46412542", "0.4640885", "0.46371087", "0.463538", "0.4634332", "0.4628036", "0.46228036", "0.46211463", "0.46205738", "0.46205738", "0.4619515", "0.46175897", "0.4616473", "0.46162698", "0.46126506", "0.4607544", "0.45978463", "0.4595786", "0.45952305", "0.45896712", "0.4587736", "0.45860392", "0.45820004", "0.4581543", "0.4581223", "0.45799917", "0.45799917", "0.45797068", "0.4578689", "0.45783934", "0.4578131", "0.45739287", "0.457195", "0.45698607", "0.4567755", "0.45649186", "0.45645222", "0.4564256", "0.4563694" ]
0.0
-1
//////////// Retrieves a list of data object for the specified query Map.
@TransactionAttribute(TransactionAttributeType.REQUIRED) public java.util.Collection findCuentasPorCobrarByQuery(Map aMap) { return queryManagerLocal.singleClassQueryList(CuentasPorCobrarEJB.class, aMap); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<Zongjie> findList(Map<String, Object> queryMap) {\n\t\treturn zongjieDao.findList(queryMap);\n\t}", "@Override\r\n\tpublic List<Map<String, Object>> list(Map<String, Object> map) {\n\t\treturn dao.list(map);\r\n\t}", "@Override\n\tpublic List<Map<String, String>> getData() throws Exception{\n\t\tqueryForList(\"\", null);\n\t\treturn null;\n\t}", "@Override\r\n\tpublic List<CollectionMedicalRecord> getByCollectionKey(HashMap<String, Object> queryMap) {\n\t\treturn collectionMedicalRecordDao.getByCollectionKey(queryMap);\r\n\t}", "@Override\n\tpublic List<Floor> findList(Map<String, Object> queryMap) {\n\t\treturn floorDao.findList(queryMap);\n\t}", "@Override\r\n\tpublic List<HashMap<String, Object>> queryList(HashMap<String, Object> map) {\n\t\treturn crawlerCronJobDao.queryList(map);\r\n\t}", "@Override\n\tpublic List<OrderIn> findList(Map<String, Object> queryMap) {\n\t\treturn orderInDao.findList(queryMap);\n\t}", "@Override\n\tpublic List<Object[]> getObjectData(String hql) {\n\t\tSession session = HibernateSessionFactory.getSession();\n\t\tTransaction transaction = session.beginTransaction();\n\t\tQuery query = session.createQuery(hql);\n\t\tList<Object[]> lists = query.list();\n\t\ttransaction.commit();\n\t\tsession.close();\n\t\treturn lists;\n\t}", "@Override\n\tpublic List<Map<String, Object>> findMapList(Map<String, Object> mapdata) {\n\t\treturn ermYjzbDao.findMapList(mapdata);\n\t}", "ArrayList<Storydetail> selectAll(Integer mapId);", "public Map getDataParamList(Map<String, String> paramMap) throws Exception {\n\t\tString cnq=paramMap.get(\"cnq\");\n\t String sql=\"select ID,SCHEDULER,\" +\n\t\t\t\" to_char(STARTDATE,'yyyy-mm-dd') STARTDATE,\"+\n\t\t \" to_char(ENDDATE,'yyyy-mm-dd') ENDDATE, \"+\n\t \t\t\"INDESIGNTEMP,OUTLOWTEMP,\"+\n\t\t\t \t\t\t\"THEORYHEATINDEX, GNJSTEMP, \" +\n\t\t\t \t\t\t\"decode(CURRSCHEDULER,1,'是','否') CURRSCHEDULER,\" +\n\t\t\t \t\t\t\"REMARK,id note1\"+\n\t\t\t \t\t\t\" from data_param \";\n\t\tif(!cnq.isEmpty()){\n\t\t\tsql+=\"where SCHEDULER like'%\"+cnq+\"%'\";\n\t\t}\t \n\t\tparamMap=new HashMap<String, String>();\n\t\tparamMap.put(\"page\",\"1\");\n\t\tparamMap.put(\"rows\",\"20\");\n\t\treturn baseDao.queryGridList(sql,paramMap);\n\t}", "@Override\n\tpublic List getChart(Map<String, String> paramsMap) throws Exception {\n\t\tList list=baseDao.findAll(getSql(paramsMap), paramsMap);\n\t\treturn list;\n\t}", "@Override\n\tpublic List<Map<String, Object>> selectDataListMap(Map<String, String> search) {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<FoodCategory> findList(Map<String, Object> queryMap) {\n\t\treturn foodCategoryDao.findList(queryMap);\n\t}", "public static ArrayList<Object[]> getData(String query){\n ArrayList<Object[]> resultList = new ArrayList<Object[]>();\n ResultSet result;\n ResultSetMetaData rsmd;\n connect();\n try{\n Statement stm = conn.createStatement();\n result = stm.executeQuery(query);\n rsmd = result.getMetaData();\n Object[] obj = new Object[rsmd.getColumnCount()];\n while(result.next()){\n for(int col = 1; col < rsmd.getColumnCount(); col++){\n obj[col-1] = result.getObject(col);\n }\n resultList.add(obj);\n }\n }catch(Exception e) {\n System.out.println(e.getMessage());\n }\n disconnect();\n return resultList;\n }", "@Override\n\tpublic List<RotateBID> list(HashMap<String, String> map) {\n \n List<RotateBID> data= dao.list(map);\n\t\treturn data;\n\t}", "@Override\n\tpublic String getqylist(Map<String, Object> mapData) {\n\t\treturn JsonMapper.toJsonString(gwgyDataDao.getqyList(mapData));\n\t}", "public java.util.List<DataEntry> findAll();", "java.util.List<WorldUps.UQuery> \n getQueriesList();", "@Override\r\npublic List<Map<String, Object>> readAll() {\n\treturn detalle_pedidoDao.realAll();\r\n}", "@SuppressWarnings(\"rawtypes\")\n\tpublic String getResList(Map map) {\n\t\tString hql = \"SELECT u FROM Res u order by u.resId asc\";\n\t\tGson g = new Gson();\n\t\tList<Res> Ress = null;\n\t\tMap<String, Object> jsonMap = new HashMap<String, Object>();\n\t\tString json = \"\";\n\t\tint total = this.getBaseDao().getRecordCountRows(hql);\n\t\ttry {\n\t\t\tRess = this.getBaseDao().getListForPage(\n\t\t\t\t\t(Integer) map.get(\"offset\"),\n\t\t\t\t\t(Integer) map.get(PagingConstants.PAGE_SIZE), hql);\n\t\t\tjsonMap.put(PagingConstants.TOTAL, total);\n\t\t\tjsonMap.put(PagingConstants.LIST, Ress);\n\t\t\tjson = g.toJson(jsonMap);\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\treturn json;\n\t}", "List<T> getAllWithQuery(String query);", "<T> List<T> getResultList(Class<T> type, Query query);", "@Override\n\tpublic String query(Map<String, Object> entityMap)\n\t\t\tthrows DataAccessException {\n\t\treturn null;\n\t}", "List<DUserDiscourseMapItem> findAll();", "public List<Map<String, Object>> query(long tableID, String key)\r\n\t{\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List<Object> query(QueryUtil queryUtil) {\n\t\treturn null;\n\t}", "public void filterBy(Map<String, List<String>> queryMap) {\n }", "public org.eclipse.stardust.engine.api.runtime.DataQueryResult\n getAllData(org.eclipse.stardust.engine.api.query.DataQuery query)\n throws org.eclipse.stardust.common.error.WorkflowException;", "public List<MemberInfoDTO> list(Map map) {\n\t\treturn sqlSessionTemplate.selectList(\"memberInfo.list\", map);\r\n\t}", "@RequestMapping(\"/query.do\")\n\tpublic @ResponseBody Map<String, Object> query(@RequestParam Map reqMap) {\nList<CpzProductLevelBean> cpzproductlevelBeans=null;\ntry {\ncpzproductlevelBeans=cpzProductLevelService.get(reqMap);\n} catch (Exception e) {\n\te.printStackTrace();\n}\nMap r=new HashMap();\nr.put(\"returnData\",cpzproductlevelBeans);\n\t return CommonUtil.ReturnWarp(Constant.TRAN_SUCCESS, Constant.ERRORTYPE,\"\",r);\n\t}", "List<Map<String, String>> getFilteredDocuments(Map<String, Object> paramsMap);", "@Override\n\tpublic <K extends BasePojo> List<K> getDataList() throws ServiceException {\n\t\treturn null;\n\t}", "protected List<DataObject> getDataObjectsByDql(String dql) {\r\n\r\n\t\tList<DataObject> emcDataObjectList = new ArrayList<DataObject>();\r\n\r\n\t\ttry {\r\n\r\n\t\t\tQueryResult queryResult = this.getQueryResult(dql);\r\n\r\n\t\t\tDataPackage resultDp = queryResult.getDataPackage();\r\n\r\n\t\t\tList<DataObject> dataObjects = resultDp.getDataObjects();\r\n\r\n\t\t\tint numberOfObjects = dataObjects.size();\r\n\r\n\t\t\tlogger.info(INFO_NUMBER_OF_ITENS.concat(String\r\n\t\t\t\t\t.valueOf(numberOfObjects)));\r\n\r\n\t\t\tfor (DataObject dObj : dataObjects) {\r\n\r\n\t\t\t\temcDataObjectList.add(dObj);\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (ServiceException e) {\r\n\r\n\t\t\tlogger.error(ERROR_SERVICO_EMC.concat(e.getLocalizedMessage()));\r\n\r\n\t\t}\r\n\r\n\t\treturn emcDataObjectList;\r\n\r\n\t}", "List<?> query(Object inputObject, Settings settings);", "@Override\n\tpublic List<OrderDetail> listBy(Map<String, Object> paramMap) {\n\t\tList<OrderDetail> listBy = orderDetailDao.listBy(paramMap);\n\t\treturn listBy;\n\t}", "@Override\n\tpublic List<Setting> query(Map<?, ?> map) {\n\t\treturn settingDao.query(map);\n\t}", "public List<Data> getAllDataFromService() {\n\t\t\n\t\tList<Data> data = new ArrayList<>();\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\t// get first page data\n\t\tResponse response = restTemplate.getForObject(\n\t\t\t\t\"https://jsonmock.hackerrank.com/api/article_users/search?page=1\",\n\t\t\t\tResponse.class);\n\t\tdata.addAll(response.getData());\n\t\t\n\t\t// get second page data\n\t\tResponse response2 = restTemplate.getForObject(\n\t\t\t\t\"https://jsonmock.hackerrank.com/api/article_users/search?page=2\",\n\t\t\t\tResponse.class);\n\t\tdata.addAll(response2.getData());\n\t\t\n\t\treturn data;\t\n\t}", "public List<QnaDto> QnaSelectList(Map<String, Integer> map) {\n\t\treturn dao.QnaSelectList(map);\r\n\t}", "@Override\n\tpublic <T> T queryByCode(Map<String, Object> entityMap)\n\t\t\tthrows DataAccessException {\n\t\treturn null;\n\t}", "@GetMapping\n public List<Map<String, Object>> employee(){\n List<Map<String, Object>> test = jdbcTemplate.queryForList(\"select * from employee\");\n return test;\n }", "@TransactionAttribute(TransactionAttributeType.REQUIRED)\r\n public java.util.Collection findPlanMedioMesByQuery(Map aMap) {\r\n \tString objectName = \"e\";\r\n \tString where = QueryBuilder.buildWhere(aMap, objectName);\r\n \tString queryString = \"from PlanMedioMesEJB \" + objectName + \" where \"\r\n\t\t\t\t+ where;\r\n \tQuery query = manager.createQuery(queryString);\r\n\r\n\t\tSet keys = aMap.keySet();\r\n\t\tIterator it = keys.iterator();\r\n\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tString propertyKey = (String) it.next();\r\n\t\t\tObject property = aMap.get(propertyKey);\r\n\t\t\tquery.setParameter(propertyKey, property);\r\n\r\n\t\t}\r\n\r\n\t\treturn query.getResultList();\r\n \r\n }", "@Override\r\n\tpublic List<Artist> findAll(Map<String,String> map) {\r\n\t\tString[] param=null;\r\n\t\tString where=null;\r\n\t\tif(map != null){\r\n\t\t\tparam=new String[map.size()];\r\n\t\t\twhere=this.generateWhereCondition(param, map);\r\n\t\t}\r\n\t\tSQLiteDatabase db = helper.getReadableDatabase();\r\n\t\tCursor cursor = db.query(\"artist\", null, where, param, null, null, null);\r\n\t\tList<Artist> list = new ArrayList<Artist>();\r\n\r\n\t\twhile (cursor.moveToNext()) {\r\n\t\t\tArtist artist = new Artist();\r\n\t\t\tartist.setArtistId(cursor.getString(cursor\r\n\t\t\t\t\t.getColumnIndex(\"artistId\")));\r\n\t\t\tartist.setArtistName(cursor.getString(cursor\r\n\t\t\t\t\t.getColumnIndex(\"artistName\")));\r\n\t\t\tartist.setArtistViewUrl(cursor.getString(cursor\r\n\t\t\t\t\t.getColumnIndex(\"artistViewUrl\")));\r\n\t\t\tlist.add(artist);\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "@Override\r\n\tpublic List<User> list(Map<String, Object> map) throws Exception {\n\t\treturn null;\r\n\t}", "List<Map<String, Object>> getStudentsList();", "public List<T> query(QueryObject qo) {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Map<String, Object>> queryIndexTbByCode(Map<String, Object> map) {\n\t\treturn indexTbDao.queryIndexTbByCode(map);\n\t}", "@Override\n\tpublic List<Map<String, Object>> selectList(Map<String, Object> map) {\n\t\treturn approvalDao.selectList(map);\n\t}", "public List getObjectByQuery(StringBuffer sqlquery)\n {\n List list = new ArrayList();\n Query query = getSession().createQuery(sqlquery.toString());\n list = query.list();\n return list;\n }", "public List<SysDictData> selectDictDataList(SysDictData dictData);", "public List<Map<String, Object>> selectFaqList(Map<String, Object> commandMap) throws Exception {\n\t\treturn defaultDAO.selectList(\"Support.selectFaqList\", commandMap);\n\t}", "public <T> List queryObjects(T entity) throws DataAccessException {\n\t\treturn (List<?>) mapper.queryDeptByProperty((Map<String, Object>) entity);\n\t}", "private static List<MapValue> display(NoSQLHandle handle,String query) throws Exception {\n \n \n \n QueryRequest queryRequest = new QueryRequest().setStatement(query);\n queryRequest.setLimit(1000);\n //q=q+String.valueOf(queryRequest.getLimit())+\"\\\\\\\\\\\\\"+String.valueOf(queryRequest.getMaxReadKB());\n String results1=null;\n List<MapValue> results=new ArrayList<>();\n QueryResult queryResult=null;\n do{\n queryResult = handle.query(queryRequest);\n results = queryResult.getResults();\n results1=results1+results.toString();\n }while (!queryRequest.isDone());\n \n return results;\n \n\n }", "public List<CustomReferenceVO> getDetailsOfInHomeSo(Map paramMap)throws DataServiceException {\r\n\t\tList<CustomReferenceVO> list = null;\r\n\t\ttry{\r\n\t\t\tlist = queryForList(\"getDetailsOfInHomeSo.query\",paramMap);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tLOGGER.error(\"Exception in getDetailsOfInHomeSo\" + e.getMessage(), e);\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "Map getAll();", "Data<List<Pins>> getSearchPins(String query, Integer limit);", "public List<Map<String,Object>> getOffersData(int objectid,Integer templateid);", "Data<List<Pins>> getSearchPins(String query, Integer limit, String fields);", "@Override\r\n\tpublic List<?> getByParams(JsonRequestParams params, Query query) {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List selectList2(Object map) {\n\t\treturn null;\n\t}", "public List<Map<String, Object>> test(UserMtl userMtl){\n\t\tString sqlApp = \"select * from app\";\n\t\tList<Map<String, Object>> queryForList = simpleJdbc.queryForList(sqlApp);\n\t\treturn queryForList;\n\t}", "Data<List<Boards>> getSearchBoards(String query);", "List<E> queryAll(String namedQuery);", "public List<Dytv> getDytvList(Map<String, Object> map) {\n\t\treturn dao.getDytvList(map);\r\n\t}", "public List<Person> getAllPerson() {\n \t\n //Collection<Person> c = personMap.values();\n List<Person> list = new ArrayList<Person>();\n //list.addAll(c);*/\n list = queryExecutor.selectAll();\n return list;\n }", "public List<AnnexDetail> getByMap(Object[] params) {\n\t\treturn null;\n\t}", "public List getCalendarios(Map criteria);", "@Override\n\tpublic List selectList3(Object map) {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Map<String, Object>> searchList(Map<String, Object> map) {\n\t\treturn approvalDao.searchList(map);\n\t}", "@Override\n\tpublic JSONObject query(HashMap<String,Object> map) {\n\t\treturn queryExpress(map);\n\t}", "@Override\r\n\tpublic List<CallVO> getUserList(HashMap<String, Object> map) throws Exception{\n\t\t\r\n\t\tList<CallVO> list = sqlSessionTemplat.selectList(\"admin.getUserList\",map);\r\n\t\treturn list;\r\n\t}", "@Override\n public List<Object> getMemberSelectData(Map<String, Object> conditionMap) {\n return null;\n }", "@Override\n\tpublic String qyListJson(Map<String, Object> mapData) {\n\t\treturn JsonMapper.toJsonString(gwgyDataDao.qyList(mapData));\n\t}", "public List<Map<String, Object>> getKeYuanList(Map<String, Object> map);", "@Override\n public List<BorrowDO> selectByQuery(BorrowQuery query){\n return borrowExtMapper.selectByQuery(query);\n }", "public List<Esysmeudef> list(Map<String, Object> params);", "@Override\n\tpublic List<Poor> getPoorList(Map<String, Object> params) {\n\t\treturn this.poorDAO.query(params);\n\t}", "@Override\n\tpublic List<Map<String, Object>> readAll() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Map<String, Object>> readAll() {\n\t\treturn null;\n\t}", "Collection getData();", "public abstract List createQuery(String query);", "public List<IEntity> query(IQuery query) throws SQLException;", "@Override\n\tpublic List selectList(Object map) {\n\n\t\tList list = session.selectList(\"play.play_list\", map);\n\n\t\treturn list;\n\t}", "@Override\n\tpublic List selectList2(Object map) {\n\t\t\n\t\tList list= session.selectList(\"party.party_show_list\",map);\n\t\t\n\t\treturn list;\n\t}", "public java.util.List<DataEntry> findAll(int start, int end);", "List<T> getResults();", "@Override\n\tpublic Object queryAll(Map<String, Object> params) throws Exception {\n\t\treturn null;\n\t}", "protected List<Map<Object, Object>> searchMetadataByDql(String dql) {\r\n\r\n\t\tList<Map<Object, Object>> emcDocumentsList = new ArrayList<Map<Object, Object>>();\r\n\r\n\t\ttry {\r\n\r\n\t\t\tQueryResult queryResult = this.getQueryResult(dql);\r\n\r\n\t\t\tDataPackage resultDp = queryResult.getDataPackage();\r\n\r\n\t\t\tList<DataObject> dataObjects = resultDp.getDataObjects();\r\n\r\n\t\t\tint numberOfObjects = dataObjects.size();\r\n\r\n\t\t\tlogger.info(INFO_NUMBER_OF_ITENS.concat(String\r\n\t\t\t\t\t.valueOf(numberOfObjects)));\r\n\r\n\t\t\tfor (DataObject dObj : dataObjects) {\r\n\r\n\t\t\t\tPropertySet docProperties = dObj.getProperties();\r\n\r\n\t\t\t\tIterator<Property> iterator = docProperties.iterator();\r\n\r\n\t\t\t\tMap<Object, Object> ecmDocumentMap = new HashMap<Object, Object>();\r\n\r\n\t\t\t\twhile (iterator.hasNext()) {\r\n\r\n\t\t\t\t\tProperty prop = iterator.next();\r\n\r\n\t\t\t\t\tecmDocumentMap.put(prop.getName(), prop.getValueAsString());\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\temcDocumentsList.add(ecmDocumentMap);\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (ServiceException e) {\r\n\r\n\t\t\tlogger.error(ERROR_SERVICO_EMC.concat(e.getLocalizedMessage()));\r\n\r\n\t\t}\r\n\r\n\t\treturn emcDocumentsList;\r\n\r\n\t}", "@Override\n\tpublic void queryData() {\n\t\t\n\t}", "@Override\n\tpublic JSONObject getAll(Map<String, Object> map) {\n\t\tList<Pinz> list = pinzDao.getAll(map);\n\t\tMap<String,Object> jsonMap = new HashMap<String,Object>();\n\t\tObject[][] objs = new Object[list.size()][];\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tPinz pinz = list.get(i);\n\t\t\tobjs[i] = new Object[]{pinz.getId(),pinz.getXuh(),pinz.getBianm(),pinz.getMingc(),pinz.getPiny(),\n\t\t\t\t\tpinz.getZhuangt()==1?\"使用\":\"停用\",pinz.getPinzms(),pinz.getLeib()};\n\t\t}\n\t\tjsonMap.put(\"data\", objs);\n\t\tJSONObject result = JSONObject.fromObject(jsonMap);\n\t\treturn result;\n\t}", "@Test\n public void queryTest() throws Exception {\n List<Map<String, Object>> mapList = mysqlQLSDao.queryList();\n for(Map<String, Object> map : mapList) {\n System.out.print(\"[\");\n for (Map.Entry<String, Object> entry : map.entrySet()) {\n// System.out.print(entry.getKey() + \":\" + entry.getValue() + \",\");\n System.out.print(entry.getKey() + \":\" + \",\");\n }\n System.out.println(\"]\");\n }\n }", "@Override\n public List<OrgInfo> listByAll(HashMap<String, Object> map) {\n return infoMapper.listByAll(map);\n }", "public <T> List<T> select(final String sqlQuery, final Class<T> clzz, final Map<String, Object> param) throws Exception;", "@Override\n\tpublic Collection<Instance> getByQuery(Query query) {\n\t\treturn null;\n\t}", "java.util.List<com.sanqing.sca.message.ProtocolDecode.DataObject> \n getDataObjectList();", "public List<Object> queryAll(String col_name, String dto) {\n\t\tDBCollection dbc = db.getCollection(col_name);\n DBCursor cur = dbc.find();\n List<Object> res = new ArrayList<Object>();\n try {\n \twhile (cur.hasNext()) {\n \t\tDBObject doc = cur.next();\n \t\ttry {\n \t\t\tres.add(Util.deserialize(doc, dto));\n \t\t} catch(InvocationTargetException ite) {\n \t\t\tite.printStackTrace();\n \t\t} \t\t\n \t\t//System.out.println(doc);\n }\n } catch(ClassNotFoundException cnfe) {\n \tcnfe.printStackTrace();\n } catch(InstantiationException ie) {\n \tie.printStackTrace();\n } catch(IllegalAccessException iae) {\n \tiae.printStackTrace();\n }\n return res;\n\t}", "private <T> List<T> executeQuery(Object key, String query) {\r\n\t\tlogger.entering(CLASSNAME, \"executeQuery\", new Object[] {key, query});\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement statement = null;\r\n\t\tResultSet rs = null;\r\n\t\tList<T> data = new ArrayList<T>();\r\n\t\tObjectInputStream objectIn = null;\r\n\t\ttry {\r\n\t\t\tconn = getConnection();\r\n\t\t\tstatement = conn.prepareStatement(query);\r\n\t\t\tstatement.setObject(1, key);\r\n\t\t\trs = statement.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tbyte[] buf = rs.getBytes(\"obj\");\r\n\t\t\t\tif (buf != null) {\r\n\t\t\t\t\tobjectIn = new ObjectInputStream(new ByteArrayInputStream(buf));\r\n\t\t\t\t}\r\n\t\t\t\tT deSerializedObject = (T) objectIn.readObject();\r\n\t\t\t\tdata.add(deSerializedObject);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new PersistenceException(e);\r\n\t\t} catch (IOException e) {\r\n\t\t\tthrow new PersistenceException(e);\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\tthrow new PersistenceException(e);\r\n\t\t} finally {\r\n\t\t\tif (objectIn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tobjectIn.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tthrow new PersistenceException(e);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcleanupConnection(conn, rs, statement);\r\n\t\t}\r\n\t\tlogger.exiting(CLASSNAME, \"executeQuery\");\r\n\t\treturn data;\t\r\n\t}", "public List<EmployeeDto> retrieveEmployees();", "public List queryNameByCode(Map map) {\n\t\treturn apMessageDao.queryNameByCode(map);\r\n\t}", "Map<String, Object> getServiceSpecificObjects();", "@Override\n\tpublic ResultBO<?> queryBill(Map<String, String> map) {\n\t\treturn super.queryBill(map);\n\t}" ]
[ "0.7401962", "0.6968881", "0.66745466", "0.66594666", "0.654755", "0.6526035", "0.65135306", "0.6511507", "0.64510137", "0.64260143", "0.64061075", "0.6315984", "0.6244504", "0.624444", "0.6210138", "0.61757183", "0.61323625", "0.611546", "0.61013466", "0.60952175", "0.60886997", "0.6040339", "0.6036328", "0.6017055", "0.6013637", "0.59927225", "0.59745544", "0.59682745", "0.59679127", "0.5966469", "0.5948902", "0.5940617", "0.59168255", "0.59065884", "0.5904979", "0.5904652", "0.5895293", "0.58732843", "0.58683944", "0.5865673", "0.5864008", "0.5844057", "0.5842994", "0.58277285", "0.5808473", "0.5808456", "0.58048975", "0.5801125", "0.5798112", "0.5794529", "0.57908326", "0.5782148", "0.5778259", "0.57617044", "0.57570624", "0.5756415", "0.57544625", "0.57452875", "0.57445484", "0.5742891", "0.57256407", "0.5723213", "0.57206917", "0.57095826", "0.5707802", "0.56970906", "0.56754553", "0.56749123", "0.5673969", "0.5662046", "0.5661401", "0.56609386", "0.5654964", "0.56483096", "0.5628823", "0.56275576", "0.56250626", "0.56228447", "0.56228447", "0.5621547", "0.562038", "0.56183875", "0.560968", "0.5609016", "0.56088394", "0.5601521", "0.5597603", "0.55969715", "0.5593957", "0.55816585", "0.55782264", "0.55761385", "0.5574397", "0.5568555", "0.55583966", "0.55525756", "0.5546908", "0.55468285", "0.554527", "0.55333275", "0.5528204" ]
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { ApplicationContext actx = new FileSystemXmlApplicationContext("/src/main/java/com/baby/springStudy/echoMsgConfig.xml"); EchoMsg echoMsg = (EchoMsg)actx.getBean("EchoMsg"); System.out.println(echoMsg.sayHello()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
This method is called from the worker thread.
@Override public void run() { DataLine.Info lineInfo = new DataLine.Info( TargetDataLine.class, new AudioFormat(44100, 16, 2, true, true)); AVIWriter writer = null; TargetDataLine line = null; try { line = (TargetDataLine) AudioSystem.getLine(lineInfo); AudioFormat lineFormat = line.getFormat(); Buffer buf = new Buffer(); buf.format = AudioFormatKeys.fromAudioFormat(lineFormat); buf.sampleDuration = new Rational(1, (long) lineFormat.getSampleRate()); buf.data = new byte[(int) (lineFormat.getFrameSize() * lineFormat.getSampleRate())]; writer = new AVIWriter(file); writer.addTrack(buf.format); line.open(); line.start(); while (worker == Thread.currentThread()) { buf.length = line.read((byte[]) buf.data, 0, ((byte[]) buf.data).length); buf.sampleCount = buf.length / lineFormat.getFrameSize(); writer.write(0, buf); } } catch (IOException ex) { ex.printStackTrace(); } catch (LineUnavailableException ex) { ex.printStackTrace(); } finally { if (line != null) { line.close(); } if (writer != null) { try { writer.close(); } catch (IOException ex) { ex.printStackTrace(); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "protected void run() {\r\n\t\t//\r\n\t}", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}", "@Override\n\t\tpublic void run() {\n\n\t\t}", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "public void run() {\n\t\t\t\t\t\t}", "@Override\n public void run()\n {\n }", "@Override\n public void run()\n {\n }", "@Override\r\n public void run() {}", "private void workOnQueue() {\n }", "@Override\n public void run() {\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\tsuper.run();\r\n\t\t\t}", "@Override\n\tpublic void run() {\n\t\t\n\t\t\t\t\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\t\n\t}", "@Override\r\n public void run() {\n }", "public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n\n }", "@Override\n public void run() {\n \t\n }", "public void run() {\n\t\t\r\n\t}", "public void run() {\n\t\t\r\n\t}", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\n public void run(){\n }", "@Override\n\tpublic void run()\n\t{\n\n\t}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "@Override\n public void run() {\n }", "@Override\n public void run() {\n }", "@Override\r\n\tpublic void run() {\n\t}", "@Override\r\n\tpublic void run() {\n\t}", "@Override\n\tpublic void run() {\n\n\t}", "@Override\n\tpublic void run() {\n\n\t}", "@Override\n\tpublic void run() {\n\n\t}", "@Override\n\tpublic void run() {\n\n\t}", "@Override\n\tpublic void run() {\n\n\t}", "public void run() {\n\t\t\t\t\n\t\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "@Override\n\tpublic void run()\n\t{\n\t}", "public void run()\n\t\t{\n\t\t}", "public void run() {\n }", "@Override\n\tpublic void run() {\n\t}", "@Override\r\n\tpublic void run() {\n\r\n\t}", "public void run() {\n\t\t\n\t}", "public void run() {\n }" ]
[ "0.7546132", "0.74965376", "0.74965376", "0.72889143", "0.72889143", "0.72632396", "0.72327334", "0.70925343", "0.70925343", "0.70925343", "0.70694846", "0.70694846", "0.70486027", "0.70464754", "0.70464754", "0.70359623", "0.70359623", "0.70268804", "0.70268804", "0.7023571", "0.7023571", "0.7023571", "0.7023571", "0.7023571", "0.7023571", "0.7023571", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.70101106", "0.6998175", "0.6993831", "0.6993831", "0.69388103", "0.69148356", "0.69011486", "0.6863749", "0.68367094", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.6831602", "0.68161696", "0.6812915", "0.67943406", "0.67943406", "0.67943406", "0.67943406", "0.67943406", "0.67943406", "0.6793712", "0.6790384", "0.6790384", "0.6789558", "0.6789558", "0.6789558", "0.6789558", "0.6789558", "0.6789558", "0.6789558", "0.6783", "0.6775282", "0.67717505", "0.6771729", "0.67307377", "0.67307377", "0.6727426", "0.6727426", "0.6708411", "0.6708411", "0.6708411", "0.6708411", "0.6708411", "0.6706184", "0.66675824", "0.66675824", "0.66675824", "0.66610205", "0.665888", "0.66546994", "0.6607015", "0.6595238", "0.65641946", "0.65631354" ]
0.0
-1
Convert the obj to blob and store it in database
public static void WriteObject(String tableName, int id, Object obj) { try { conn = DriverManager.getConnection(connectionURL); byte[] testBytes = ConvertObject.getByteArrayObject(obj); PreparedStatement statement = conn.prepareStatement("INSERT INTO " + tableName + " (id, obj) VALUES(?,?)"); statement.setInt(1, id); statement.setBinaryStream(2,new ByteArrayInputStream(testBytes),testBytes.length); statement.executeUpdate(); statement.close(); conn.close(); } catch(SQLException e) { e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static byte[] save(Object obj) {\r\n byte[] bytes = null;\r\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n ObjectOutputStream oos = null;\r\n try {\r\n oos = new ObjectOutputStream(baos);\r\n oos.writeObject(obj);\r\n oos.flush();\r\n bytes = baos.toByteArray();\r\n } catch (IOException e) {\r\n e.printStackTrace(); //To change body of catch statement use Options | File Templates.\r\n }\r\n return bytes;\r\n }", "public Blob getContentBlob() {\n return Hibernate.createBlob(this.content);\n }", "protected byte[] objectToBytes(O object) throws OBException {\r\n try {\r\n return object.store();\r\n\r\n } catch (IOException e) {\r\n throw new OBException(e);\r\n }\r\n }", "private byte[] toBytes(String obj){\n return Base64.getDecoder().decode(obj);\n }", "public void save(Object obj) throws HibException;", "@Override\r\n public byte[] toBinary(Object obj) {\r\n return JSON.toJSONBytes(obj, SerializerFeature.WriteClassName);\r\n }", "@Override\n\tpublic void save(T obj) throws Exception {\n\t\t\n\t}", "private static <T extends Serializable> byte[] pickle(T obj)\n throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n ObjectOutputStream oos = new ObjectOutputStream(baos);\n oos.writeObject(obj);\n oos.close();\n return baos.toByteArray();\n }", "@Override\r\n public byte[] encodeToBytes(Object object) throws Exception {\n return null;\r\n }", "BlobInfo putBlob(byte[] data);", "@Override\r\n\t\tpublic Blob createBlob() throws SQLException {\n\t\t\treturn null;\r\n\t\t}", "T save(T obj);", "protected abstract ByteBuffer toMedia(Object object) throws BeanConversionException;", "byte[] toJson(Object object) throws Exception {\r\n return this.mapper.writeValueAsString(object).getBytes();\r\n }", "public Entity toEntity(Object pojo) {\n return ofy().save().toEntity(pojo);\n }", "public void executeEF_FILEARCHIVE(Object obj) throws CallDbException {\n\n\t\tString sql = \"update into ef_gjda (zgzh,cbwd) values (?,?)\";\n\n\t\tSqlParameterExt spx = new SqlParameterExt();\n\t\ttry {\n\t\t\t// spx.add(new StringValue(bean.getId()));\n\t\t\t// spx.add(new StringValue(bean.getTblName()));\n\t\t\tbo.setSqlParameterExt(spx);\n\t\t\tbo.execute(sql);\n\t\t} catch (Exception e) {\n\t\t\tthrow new CallDbException(\"执行方法[EF_FILEARCHIVE]出错:\"\n\t\t\t\t\t+ e.getMessage());\n\t\t}\n\t}", "byte[] serialize(Serializable object);", "void storeEditorData(int userid,String name,Object bodyContent){\n dbConnection();\n try{\n PGobject editorData = new PGobject();\n editorData.setType(\"json\");\n editorData.setValue(bodyContent.toString());\n\n stmt = con.prepareStatement(\"INSERT INTO editorData(name,bodyContent,userid)VALUES(?,?,?)\");\n stmt.setString(1,name);\n stmt.setObject(2,editorData);\n stmt.setInt(3,userid);\n\n stmt.executeUpdate();\n }\n catch(Exception e){\n e.printStackTrace();\n }\n finally{\n closeConnection();\n }\n \n }", "public byte[] databaseSerialFactory(DatabaseObjectInterface object) throws Exception{\n if(object.getHeader() == \"1\".getBytes(\"UTF-8\")[0]){\n return transactionSerializer.serialize((Transaction)object);\n }\n if(object.getHeader() == \"2\".getBytes(\"UTF-8\")[0]){\n return null;\n }\n if(object.getHeader() == \"3\".getBytes(\"UTF-8\")[0]){\n return userSerializer.serialize((User)object);\n }\n if(object.getHeader() == \"4\".getBytes(\"UTF-8\")[0]){\n return databaseResultSerializer.serialize((DatabaseResults) object);\n }\n return null;\n }", "private void writeBlob(ObjectOutput out) throws IOException\n\t{\n try {\n int len = getBlobLength();\n InputStream is = _blobValue.getBinaryStream();\n \n writeLength( out, len );\n \n int bytesRead = 0;\n int numOfBytes = 0;\n byte[] buffer = new byte[Math.min(len, LEN_OF_BUFFER_TO_WRITE_BLOB)];\n \n while(bytesRead < len) {\n numOfBytes = is.read(buffer);\n \n if (numOfBytes == -1) {\n throw new DerbyIOException(\n MessageService.getTextMessage(\n SQLState.SET_STREAM_INEXACT_LENGTH_DATA),\n SQLState.SET_STREAM_INEXACT_LENGTH_DATA);\n }\n \n out.write(buffer, 0, numOfBytes);\n bytesRead += numOfBytes; \n }\n }\n catch (StandardException se) { throw new IOException( se.getMessage() ); }\n catch (SQLException se) { throw new IOException( se.getMessage() ); }\n }", "public static Object read(Object obj) {\n if (obj instanceof byte[] byteArray) {\n return SafeEncoder.encode(byteArray);\n }\n if (obj instanceof List) {\n return ((List<?>) obj).stream().map(Jupiter::read).toList();\n }\n\n return obj;\n }", "private static void writeBLOBData() {\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\ttry {\n\t\t\tconn = JDBCUtils.getMySQLConnection();\n\t\t\tString sql = \"INSERT INTO testblob(name, img) values(?,?)\";\n\t\t\tstmt = conn.prepareStatement(sql);\n\t\t\tstmt.setString(1, \"ke\");\n\t\t\tFile file = new File(\"D:\" + File.separator + \"test.jpg\");\n\t\t\tInputStream in = new FileInputStream(file);\n\t\t\tstmt.setBinaryStream(2, in, (int)file.length());\n\t\t\tstmt.executeUpdate();\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tJDBCUtils.release(stmt, conn);\n\t\t}\n\t}", "public void doSave(T objectToSave) throws SQLException;", "Object deserialize(Writable blob) throws SerDeException;", "int insert(ResPartnerBankEntityWithBLOBs record);", "public void setObjectdata(byte[] objectdata)\n {\n\n }", "@NotNull\n RecordId writeBlob(@NotNull Blob blob) throws IOException;", "String getBlobField();", "int insert(ZlnfBiZzdkZzdkWithBLOBs record);", "private byte[] serialize(RealDecisionTree object){\n try{\n // Serialize data object to a file\n ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(\"MyObject.ser\"));\n out.writeObject(object);\n out.close();\n\n // Serialize data object to a byte array\n ByteArrayOutputStream bos = new ByteArrayOutputStream() ;\n out = new ObjectOutputStream(bos) ;\n out.writeObject(object);\n out.close();\n\n // Get the bytes of the serialized object\n byte[] buf = bos.toByteArray();\n return buf;\n } catch (IOException e) {\n System.exit(1);\n }\n\n return null;\n }", "private byte[] serialize(Serializable object) throws Exception {\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n ObjectOutputStream objectStream = new ObjectOutputStream(stream);\n objectStream.writeObject(object);\n objectStream.flush();\n return stream.toByteArray();\n }", "int insert(ProductPricelistEntityWithBLOBs record);", "@Override\n\tpublic void persist(T obj) throws Exception {\n\t\t\n\t}", "public void save(T obj) {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\t//session.save(obj);\n\t\tsession.persist(obj);\n\t}", "public Blob getBlob(int columnIndex) throws SQLException {\n\n try {\n int id = getNextId(TraceObject.BLOB);\n debugCodeAssign(\"Blob\", TraceObject.BLOB, id, \"getBlob(\" + columnIndex + \")\");\n Value v = get(columnIndex);\n return v == ValueNull.INSTANCE ? null : new JdbcBlob(conn, v, id);\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "private boolean savePrice(ArrayList<ArrayList<Object>> objArr) {\n //TODO: create string array construction method with String... array\n //TODO: create generic method to create POJO object from objArr and map to JSON data\n logger.trace(\"BEGIN boolean savePrice(ArrayList<ArrayList<Object>> objArr)\");\n boolean result = false;\n TSDBData pricingData = new TSDBData();\n ArrayList<String> strArr = new ArrayList<String>();\n InfluxDBClient dbClient = new InfluxDBClient();\n ObjectMapper mapper = new ObjectMapper();\n String jsonData = null;\n\n strArr.add(\"resource\");\n strArr.add(\"userId\");\n strArr.add(\"usage\");\n strArr.add(\"price\");\n pricingData.setName(Loader.getSettings().getInfluxDBSettings().getCdrRecord());\n pricingData.setColumns(strArr);\n pricingData.setPoints(objArr);\n //get tags and put them into pricingData\n logger.trace(\"DATA boolean savePrice(ArrayList<ArrayList<Object>> objArr): pricingData=\" + pricingData);\n\n try {\n jsonData = mapper.writeValueAsString(pricingData);\n } catch (JsonProcessingException e) {\n logger.error(\"EXCEPTION JSONPROCESSINGEXCEPTION boolean savePrice(ArrayList<ArrayList<Object>> objArr)\");\n e.printStackTrace();\n }\n\n //System.out.println(jsonData);\n logger.trace(\"DATA boolean savePrice(ArrayList<ArrayList<Object>> objArr): jsonData=\" + jsonData);\n result = dbClient.saveData(jsonData);\n logger.trace(\"END boolean savePrice(ArrayList<ArrayList<Object>> objArr)\");\n return result;\n }", "int updateByPrimaryKeyWithBLOBs(TbSerdeParams record);", "@Override\n\tpublic void saveORUpdate(T obj) throws Exception {\n\t\t\n\t}", "protected abstract byte[] encode(Object o) throws EncoderException;", "private boolean saveRate(TSDBData rateObj) {\n InfluxDBClient dbClient = new InfluxDBClient();\n\n ObjectMapper mapper = new ObjectMapper();\n String jsonData = null;\n boolean result;\n try {\n jsonData = mapper.writeValueAsString(rateObj);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n result = dbClient.saveData(jsonData);\n return result;\n }", "protected byte[] stream2blob(InputStream is) throws IOException, IllegalArgumentException {\n return StreamUtils.stream2blob(is);\n }", "@Override\r\n\tpublic final void saveObjectData() throws BillingSystemException{\n\t}", "@Override\n\tpublic void save(Religiao obj) throws Exception {\n\t\t\n\t}", "<T> Serializable save(T persistentObject);", "com.google.protobuf.ByteString getObj();", "int insert(AccountPaymentMethodEntityWithBLOBs record);", "private void saveListData(Object o) {\n\t\ttry {\n\t\t\tif (o == null)\n\t\t\t\treturn;\n\t\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(baos);\n\t\t\toos.writeObject(o);\n\t\t\tSharedPreferences mySharedPreferences = mContext.getSharedPreferences(\n\t\t\t\t\t\"base64\", Activity.MODE_PRIVATE);\n\t\t\tString productBase64 = new String(Base64.encodeBase64(baos\n\t\t\t\t\t.toByteArray()));\n\t\t\tSharedPreferences.Editor editor = mySharedPreferences.edit();\n\t\t\t// 将编码后的字符串写到base64.xml文件中\n\t\t\teditor.putString(DATA_COLLECTED, productBase64);\n\t\t\teditor.commit();\n\t\t\tLog.i(\"saveListData:\",\" success\" + productBase64);\n\t\t} catch (Exception e) {\n\n\t\t}\n\t}", "public abstract Blob readBlob(User user);", "@Override\r\n\tpublic Ngo save(Ngo obj) {\n\t\treturn null;\r\n\t}", "ByteString encode(T object) throws Exception;", "int insert(AutoAssessDetailWithBLOBs record);", "@Override\n\tpublic byte[] serialize(Object obj) throws SerializationException {\n\t\tif(obj==null) \n\t\t{\n\t\t\treturn EMPTY_BYTE_ARRAY;\n\t\t}\n\t\treturn serializingConverter.convert(obj);\n\t}", "public static java.sql.Blob inputStreamToBlob(InputStream inputStream) throws IOException, SQLException {\n if (inputStream != null) {\n byte[] bytes = IOUtils.toByteArray(inputStream);\n Blob blob = new SerialBlob(bytes);\n return blob;\n }\n return null;\n }", "public static byte[] getByteArray(Object obj) {\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tObjectOutputStream oos = null;\n\t\ttry {\n\t\t\toos = new ObjectOutputStream(baos);\n\t\t\toos.writeObject(obj);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tcloseCloseable(oos);\n\t\t}\n\t\t\n\t\treturn baos.toByteArray();\n\t}", "Object getBlob(ResultSet rs, int pos)\r\n throws Exception;", "T save(T object);", "public static <O> byte[] toBytes(O object) {\n try (ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n ObjectOutputStream objOutputStream = new ObjectOutputStream(byteArrayOutputStream);) {\n objOutputStream.writeObject(object);\n return byteArrayOutputStream.toByteArray();\n\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "int insert(ResourceWithBLOBs record);", "private void saveObject(Object object) {\n Connection connection = ConnectionPoll.getConnection();\n CRUDService crudService = new CRUDService(connection, object.getClass());\n try {\n Field[] fields = object.getClass().getDeclaredFields();\n Field id = null;\n for (Field f : fields) {\n if (f.isAnnotationPresent(Id.class)) {\n id = f;\n }\n }\n id.setAccessible(true);\n\n if (Integer.parseInt(id.get(object).toString()) != 0 && !id.get(object).equals(null)) {\n crudService.update((SimpleORMInterface) object);\n } else {\n crudService.insert((SimpleORMInterface) object);\n }\n id.setAccessible(false);\n ConnectionPoll.releaseConnection(connection);\n\n } catch (IllegalAccessException | NoSuchFieldException e) {\n e.printStackTrace();\n }\n }", "void setBlob(int index, Blob value) throws SQLException;", "public void writeObject(Object obj) throws IOException\n\t{\n\t\tif (obj == null) {\n\t\t\twriteMark(Ion.NULL);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof IonBinary) {\n\t\t\tfinal IonBinary iObj = (IonBinary) obj;\n\t\t\t\n\t\t\twriteMark(Ion.getMark(obj));\n\t\t\tiObj.save(this);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof IonBundled) {\n\t\t\tfinal IonBundled iObj = (IonBundled) obj;\n\t\t\t\n\t\t\twriteMark(Ion.getMark(obj));\n\t\t\t\n\t\t\tfinal IonDataBundle bundle = new IonDataBundle();\n\t\t\tiObj.save(bundle);\n\t\t\twriteBundle(bundle);\n\t\t\t\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (Ion.isObjectIndirectBundled(obj)) {\n\t\t\tfinal IonizerBundled<?> ionizer = Ion.getIonizerBundledForClass(obj.getClass());\n\t\t\t\n\t\t\twriteMark(Ion.getMark(obj));\n\t\t\t\n\t\t\tfinal IonDataBundle bundle = new IonDataBundle();\n\t\t\tionizer._save(obj, bundle);\n\t\t\twriteBundle(bundle);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (Ion.isObjectIndirectBinary(obj)) {\n\t\t\tfinal IonizerBinary<?> ionizer = Ion.getIonizerBinaryForClass(obj.getClass());\n\t\t\t\n\t\t\twriteMark(Ion.getMark(obj));\n\t\t\t\n\t\t\tionizer._save(obj, this);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Map) {\n\t\t\twriteMark(Ion.MAP);\n\t\t\twriteMap((Map<?, ?>) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Collection) {\n\t\t\twriteMark(Ion.SEQUENCE);\n\t\t\twriteSequence((Collection<?>) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Boolean) {\n\t\t\twriteMark(Ion.BOOLEAN);\n\t\t\twriteBoolean((Boolean) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Byte) {\n\t\t\twriteMark(Ion.BYTE);\n\t\t\twriteByte((Byte) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Character) {\n\t\t\twriteMark(Ion.CHAR);\n\t\t\twriteChar((Character) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Short) {\n\t\t\twriteMark(Ion.SHORT);\n\t\t\twriteShort((Short) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Integer) {\n\t\t\twriteMark(Ion.INT);\n\t\t\twriteInt((Integer) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Long) {\n\t\t\twriteMark(Ion.LONG);\n\t\t\twriteLong((Long) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Float) {\n\t\t\twriteMark(Ion.FLOAT);\n\t\t\twriteFloat((Float) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Double) {\n\t\t\twriteMark(Ion.DOUBLE);\n\t\t\twriteDouble((Double) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof String) {\n\t\t\twriteMark(Ion.STRING);\n\t\t\twriteString((String) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof boolean[]) {\n\t\t\twriteMark(Ion.BOOLEAN_ARRAY);\n\t\t\twriteBooleans((boolean[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof byte[]) {\n\t\t\twriteMark(Ion.BYTE_ARRAY);\n\t\t\twriteBytes((byte[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof char[]) {\n\t\t\twriteMark(Ion.CHAR_ARRAY);\n\t\t\twriteChars((char[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof short[]) {\n\t\t\twriteMark(Ion.SHORT_ARRAY);\n\t\t\twriteShorts((short[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof int[]) {\n\t\t\twriteMark(Ion.INT_ARRAY);\n\t\t\twriteInts((int[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof long[]) {\n\t\t\twriteMark(Ion.LONG_ARRAY);\n\t\t\twriteLongs((long[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof float[]) {\n\t\t\twriteMark(Ion.FLOAT_ARRAY);\n\t\t\twriteFloats((float[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof double[]) {\n\t\t\twriteMark(Ion.DOUBLE_ARRAY);\n\t\t\twriteDoubles((double[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof String[]) {\n\t\t\twriteMark(Ion.STRING_ARRAY);\n\t\t\twriteStrings((String[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (obj instanceof Object[]) {\n\t\t\twriteMark(Ion.OBJECT_ARRAY);\n\t\t\twriteObjects((Object[]) obj);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tthrow new IOException(\"Object \" + obj + \" could not be be written to stream.\");\n\t}", "public Object saveOrUpdateCopy(Object obj) throws HibException;", "public static byte[] objectToBytes( Object object ) throws IOException{\n byte[] output = null;\n if( object != null ){\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n ObjectOutputStream out = new ObjectOutputStream(stream);\n out.writeObject(object);\n output = stream.toByteArray();\n }\n return output;\n }", "private void writeToFile(String filename, Object object) {\n try {\n FileOutputStream fileOutputStream = openFileOutput(filename, MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(object);\n objectOutputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "protected ByteBuffer objToBB(Object o)\n {\n if (o == null)\n return nullToBB();\n if (o instanceof java.lang.String)\n return ByteBuffer.wrap(new DataByteArray((String)o).get());\n if (o instanceof Integer)\n return Int32Type.instance.decompose((Integer)o);\n if (o instanceof Long)\n return LongType.instance.decompose((Long)o);\n if (o instanceof Float)\n return FloatType.instance.decompose((Float)o);\n if (o instanceof Double)\n return DoubleType.instance.decompose((Double)o);\n if (o instanceof UUID)\n return ByteBuffer.wrap(UUIDGen.decompose((UUID) o));\n if(o instanceof Tuple) {\n List<Object> objects = ((Tuple)o).getAll();\n //collections\n if (objects.size() > 0 && objects.get(0) instanceof String)\n {\n String collectionType = (String) objects.get(0);\n if (\"set\".equalsIgnoreCase(collectionType) ||\n \"list\".equalsIgnoreCase(collectionType))\n return objToListOrSetBB(objects.subList(1, objects.size()));\n else if (\"map\".equalsIgnoreCase(collectionType))\n return objToMapBB(objects.subList(1, objects.size()));\n\n }\n return objToCompositeBB(objects);\n }\n\n return ByteBuffer.wrap(((DataByteArray) o).get());\n }", "public String serialize(Object obj) throws PdfFillerAPIException {\n try {\n if (obj != null)\n return mapper.toJson(obj);\n else\n return null;\n } catch (Exception e) {\n throw new PdfFillerAPIException(400, e.getMessage());\n }\n }", "private void writeObject(ObjectOutputStream out) throws IOException {\n out.writeObject(avroObject.getSchema().toString());\n DatumWriter<T> writer = new GenericDatumWriter<>();\n writer.setSchema(avroObject.getSchema());\n Encoder encoder = EncoderFactory.get().binaryEncoder(out, null);\n writer.write(avroObject, encoder);\n encoder.flush();\n }", "public Blob getBlob(String columnName) throws SQLException {\n\n try {\n int id = getNextId(TraceObject.BLOB);\n debugCodeAssign(\"Blob\", TraceObject.BLOB, id, \"getBlob(\" + quote(columnName) + \")\");\n Value v = get(columnName);\n return v == ValueNull.INSTANCE ? null : new JdbcBlob(conn, v, id);\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "private void writeObject(String filePath, Object obj) throws IOException {\n OutputStream file = new FileOutputStream(filePath);\n OutputStream buffer = new BufferedOutputStream(file);\n ObjectOutput output = new ObjectOutputStream(buffer);\n output.writeObject(obj);\n output.close();\n }", "public byte[] getObjectdata()\n {\n return null;\n }", "static byte[] serialize(Object s) throws SQLException {\n\tByteArrayOutputStream bo = new ByteArrayOutputStream();\n\n\ttry {\n\t ObjectOutputStream os = new ObjectOutputStream(bo);\n\n\t os.writeObject(s);\n\n\t return bo.toByteArray();\n\t} catch (Exception e) {\n\t throw Trace.error(Trace.SERIALIZATION_FAILURE, e.getMessage());\n\t}\n }", "@Override\n public <T> byte[] serialize( final T obj )\n throws IOException\n {\n final byte[] unencrypted = serializer.serialize(obj);\n return encrypt(unencrypted);\n }", "void saveData() throws SerializerException;", "private void serializeObject(final Object object, final StringBuffer buffer)\n {\n serializeObject(object, buffer, true);\n }", "ResPartnerBankEntityWithBLOBs selectByPrimaryKey(Integer id);", "private void writeObjectToStream(ByteArrayOutputStream baos) throws IOException {\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(baos);\n\t\t\toos.writeObject(this.category);\n\t\t\toos.writeObject(this.entityId.toString());\n\t\t\toos.writeObject(this.entityType);\n\t\t\toos.writeObject(this.entityLink);\n\t\t\toos.writeObject(this.severity);\n\t\t\toos.writeObject(this.validationRule.toString());\n\t\t\toos.writeObject(this.violationDetails.toString());\n\t\t\toos.writeObject(this.violationType);\n\t\t\toos.close();\n\t\t}", "void setBlob(PreparedStatement pstmt, Object value, int pos)\r\n throws Exception;", "public static byte[] toByteArray(Object obj) throws IOException\n {\n byte[] bytes = null;\n ByteArrayOutputStream bos = null;\n ObjectOutputStream oos = null;\n \n try \n {\n bos = new ByteArrayOutputStream();\n oos = new ObjectOutputStream(bos);\n oos.writeObject(obj);\n oos.flush();\n bytes = bos.toByteArray();\n }\n finally\n {\n if (oos != null)\n {\n oos.close();\n }\n if (bos != null)\n {\n bos.close();\n }\n }\n return bytes;\n }", "public String insertObj(Object obj)\r\n\t{\n\t\tthis.mongo.insert(obj);\r\n\t\t\r\n\t\treturn null;\r\n\t}", "public ByteBuffer convertToMedia(Object object) {\n if (object == null) {\n throw new BeanConversionException(\"Object cannot be null\");\n }\n return toMedia(object);\n }", "private static byte[] construct(Serializable object) {\n\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\n\ttry {\n\t // Wrap the ByteArrayOutputStream in an ObjectOutputStream\n\t ObjectOutputStream oos = new ObjectOutputStream(bos);\n\t // and write the objects to the stream\n\t oos.writeObject(object);\n\t oos.close();\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t throw new Error(\"Failed to write serializable data for \" + object);\n\t}\n\n\t// the bytes are now held in the ByteArrayOutputStream\n\t// so we get the bytes of the ByteArrayOutputStream\n\tbyte[] rawBytes = bos.toByteArray();\n\n\treturn rawBytes;\n\n }", "TbSerdeParams selectOneByExampleWithBLOBs(TbSerdeParamsExample example);", "T persist(T obj) throws PersistException;", "public interface RowToByteArrayConverter {\r\n byte[] rowToByteArray(ResultSet resultSet);\r\n}", "protected byte[] serialize(Object o) {\n\t\tif (o == null) {\n\t\t\tthrow new NullPointerException(\"SPYMemcached JAVA Serialization error : Can't serialize null\");\n\t\t}\n\t\tbyte[] rv = null;\n\t\tByteArrayOutputStream bos = null;\n\t\tObjectOutputStream os = null;\n\t\ttry {\n\t\t\tbos = new ByteArrayOutputStream();\n\t\t\tos = new ObjectOutputStream(bos);\n\t\t\tos.writeObject(o);\n\t\t\tos.close();\n\t\t\tbos.close();\n\t\t\trv = bos.toByteArray();\n\t\t} catch (IOException e) {\n\t\t\tthrow new IllegalArgumentException(\"SPYMemcached JAVA Serialization error : Non-serializable object\", e);\n\t\t} finally {\n\t\t\tif (os != null) {\n\t\t\t\ttry {\n\t\t\t\t\tos.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tLOGGER.info(\"JAVA Serializer error : close ObjectOutputStream\", e);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (bos != null) {\n\t\t\t\ttry {\n\t\t\t\t\tbos.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tLOGGER.info(\"JAVA Serializer error : close ByteArrayOutputStream\", e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn rv;\n\t}", "public void save(Employee employee) {\n String objectStr = MyUtils.serializeIntoAString(employee);\n Connection connection = null;\n Statement stmt = null;\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n connection = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/MyDB\", \"root\", \"password\");\n stmt = connection.createStatement();\n stmt.execute(\"INSERT INTO EMPLOYEE VALUES(\" + objectStr + \")\");\n } catch (SQLException | ClassNotFoundException throwables) {\n throwables.printStackTrace();\n }\n }", "@Override\r\n\t@JsonIgnore\r\n\tpublic byte[] asBytes() {\n\t\treturn null;\r\n\t}", "protected byte[] bytesJson(final Object val) throws TzException {\n try {\n final ByteArrayOutputStream os = new ByteArrayOutputStream();\n\n mapper.writeValue(os, val);\n\n return os.toByteArray();\n } catch (final Throwable t) {\n throw new TzException(t);\n }\n }", "public static void encodeObject(Object obj,String inEncodeType,String outEncodeType)throws Exception {\n try{\n Class destClass=obj.getClass();\n Method[] methods = destClass.getDeclaredMethods();\n for (int i = 0; i < methods.length; i++) {\n Method dm = methods[i];\n String methodName = dm.getName();\n String methodValue = null;\n String methodType=methodName.substring(0, 3);\n\n if (methodType.equalsIgnoreCase(\"set\")) {\n\n methodName = methodName.substring(3);\n try {\n //get sourObject value\n Method sm = destClass.getDeclaredMethod(\"get\" + methodName, null);\n methodValue = (String) sm.invoke(obj, null);\n //set destObject value\n if(methodValue!=null){\n //System.out.println(methodName+\"--\"+methodValue);\n\n Object[] args = {new String(methodValue.getBytes(inEncodeType), outEncodeType)};\n dm.invoke(obj, args);\n }\n }\n catch (Exception ex) {\n //check sourObject no this method,do nothing.\n }\n }\n }\n }catch (Exception ex) {\n\n throw ex;\n }\n\n }", "public byte[] getBytes()\n {\n try { return getRepo().newObjectReader().open(_entry.getObjectId()).getBytes(); }\n catch(Exception e) { throw new RuntimeException(e); }\n }", "public static void writeObjectToDisk(Object obj, String name) throws IOException {\r\n\t\t// Create file output stream\r\n\t\tFileOutputStream fileOutStr = new FileOutputStream(name);\r\n\t\t// Create object output stream and write object\r\n\t\tObjectOutputStream objOutStr = new ObjectOutputStream(fileOutStr);\r\n\t\tobjOutStr.writeObject(obj);\r\n\t\t// Close all streams\r\n\t\tobjOutStr.close();\r\n\t\tfileOutStr.close();\r\n\t\tSystem.out.printf(\"Serialized data is saved in a file - \" + name); // Printing message and file name which is\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// saved\r\n\t}", "public byte[] serialize();", "public <T> int save(T obj) {\r\n FollowItem followItem = (FollowItem)obj;\r\n String sql = \"insert into Follows (\"\r\n + \"UserID, ListingID) \"\r\n + \"values(\"\r\n + followItem.getUserId() + \",\"\r\n + followItem.getListingId() + \");\";\r\n return update(sql);\r\n }", "public Object encode(Object obj) throws EncoderException {\n/* 316 */ if (obj == null)\n/* 317 */ return null; \n/* 318 */ if (obj instanceof byte[])\n/* 319 */ return encode((byte[])obj); \n/* 320 */ if (obj instanceof String) {\n/* 321 */ return encode((String)obj);\n/* */ }\n/* 323 */ throw new EncoderException(\"Objects of type \" + obj.getClass().getName() + \" cannot be URL encoded\");\n/* */ }", "public static <T> byte[] writeToByteArray(T obj) {\n Output output = kryoThreadLocalContext.get().getOutput();\n while (true) {\n output.clear();\n try {\n Kryo kryo = getInstance();\n kryo.writeClassAndObject(output, obj);\n output.flush();\n break;\n } catch (KryoException e) {\n // need resize\n if (e.getMessage() != null && e.getMessage()\n .startsWith(BUFFER_OVERFLOW_EXCEPTION_MESSAGE)) {\n output = kryoThreadLocalContext.get().resizeOutputBuffer();\n } else {\n throw e;\n }\n }\n }\n return output.toBytes();\n }", "int insert(QuestionWithBLOBs record);", "public abstract String pickle(Object obj);", "public void saveObject(DBDoc object) {\n\t\tmongoTemplate.insert(object);\n\t}", "public void descargarArchivoVeri()throws SQLException, IOException {\n //conexion con el resultset\n st = cn.createStatement();\n\n // consulta de descarga el getId es la variable que utilizo para ubicarme en la base de datos\n ResultSet rs = st.executeQuery(\"select anexo_veri, nombre FROM anexoverificacion where idverificacion=\"+rt.getId());\ntry {\n \nrs.next();\n// pone en la variable el nombre del archivo de la base de datos\nnombre= rs.getString(\"nombre\");\n// inserta la ruta completa\nFile file = new File(rt.getPath()+nombre);\n// salida del archivo de flujo\nFileOutputStream output = new FileOutputStream(file);\nBlob archivo = rs.getBlob(1);\nInputStream inStream = archivo.getBinaryStream();\n// almacenamiento del tamaño y descarga byte a byte\nint length= -1;\nint size = (int) archivo.length();\nbyte[] buffer = new byte[size];\nwhile ((length = inStream.read(buffer)) != -1) {\noutput.write(buffer, 0, length);\nJOptionPane.showMessageDialog(null,\"El archivo se descargo correctamente\");\n// output.flush();\n\n}\n// inStream.close();\noutput.close();\n} catch (Exception ioe) {\nthrow new IOException(ioe.getMessage());\n}\n}", "public static void BlobToFile(String blobId){\r\n Blob blob = Blob.LoadBlob(blobId);\r\n File file = new File(currentDir + blob.getFileName());\r\n try (PrintWriter out = new PrintWriter(file)){\r\n out.print(blob.getContent());\r\n } catch (Exception e){}\r\n }" ]
[ "0.67073125", "0.6371031", "0.6270703", "0.6265649", "0.62501544", "0.6111847", "0.6037584", "0.6002714", "0.5982352", "0.59330916", "0.5932242", "0.5896893", "0.58618325", "0.5858365", "0.5793204", "0.57852036", "0.5777782", "0.5777074", "0.5772704", "0.5767658", "0.5756302", "0.5738404", "0.57372075", "0.57296795", "0.5699504", "0.5692844", "0.564601", "0.5633956", "0.56233734", "0.56083703", "0.55623776", "0.5560578", "0.55189353", "0.5516077", "0.55077535", "0.54972583", "0.5484919", "0.5484008", "0.546985", "0.5464354", "0.54584736", "0.5457972", "0.54478925", "0.54460907", "0.5440066", "0.54311216", "0.5429663", "0.5425373", "0.54193825", "0.54094815", "0.5408259", "0.5398662", "0.53972876", "0.5388841", "0.538393", "0.5382942", "0.5378439", "0.5372703", "0.5364565", "0.536228", "0.53530455", "0.5349706", "0.5349289", "0.53448236", "0.53383005", "0.5335343", "0.5311748", "0.5308392", "0.52997315", "0.52972484", "0.5296403", "0.5292784", "0.5285794", "0.5256422", "0.5251183", "0.5246868", "0.5242649", "0.52406454", "0.52393746", "0.52334046", "0.5228186", "0.522699", "0.52262044", "0.5225595", "0.5221602", "0.52196383", "0.52191836", "0.5204352", "0.51987725", "0.5191756", "0.5186152", "0.5185715", "0.5182712", "0.5176074", "0.5170804", "0.5165664", "0.51417613", "0.51403296", "0.51400834", "0.51371527" ]
0.6951577
0
Make DataMatrix object into bitmap
private static BufferedImage getMagnifiedBarcode(Symbol symbol, int magnification, int BORDER_SIZE){ BufferedImage image = new BufferedImage((symbol.getWidth() * magnification) + (2 * BORDER_SIZE), (symbol.getHeight() * magnification) + (2 * BORDER_SIZE), BufferedImage.TYPE_INT_RGB); Graphics2D g2d = image.createGraphics(); g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2d.setColor(Color.WHITE); g2d.fillRect(0, 0, (symbol.getWidth() * magnification) + (2 * BORDER_SIZE), (symbol.getHeight() * magnification) + (2 * BORDER_SIZE)); Java2DRenderer renderer = new Java2DRenderer(g2d, magnification, Color.WHITE, Color.BLACK); renderer.render(symbol); return image; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] bitmap();", "public static Bitmap getMatrixBitmap(Bitmap src, ColorMatrix colorMatrix) {\n Bitmap bmp = Bitmap.createBitmap(src.getWidth(), src.getHeight(), Bitmap.Config.ARGB_8888);\n Canvas canvas = new Canvas(bmp);\n Paint paint = new Paint();\n paint.setColorFilter(new ColorMatrixColorFilter(colorMatrix));\n canvas.drawBitmap(src, 0, 0, paint);\n return bmp;\n }", "public SbMatrix\ngetObjectToImage( SoNode node) \n//\n////////////////////////////////////////////////////////////////////////\n{\n getMatrix(node);\n return matrixAction.getTextureMatrix();\n}", "public double[][] convert_img_mat()\n\t{\n\t\tif(orderflag)\n\t\t{\n\t\t\tputpixel_1();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//rotate the image and get the pixels as usual form\t\n \t\tputpixel_2();\n\t\t}\n\treturn matrix;\n\t}", "@Test\r\n public void testDirectMatPainting8UC1() {\n Mat m = new Mat(width, height, CV_8UC1);\r\n assertEquals(1, m.channels());\r\n assertEquals(1, m.capacity());\r\n assertEquals(width, m.step());\r\n assertEquals(width, m.cols());\r\n assertEquals(height, m.rows());\r\n\r\n ByteBuffer bb = m.createBuffer();\r\n for (long i = 0; i < width * height; i++) {\r\n long x = i % width, y = i / width;\r\n // blue to gray:\r\n byte gray = (byte) (pixelFunc(x, y) & 0xff);\r\n bb.put(gray);\r\n }\r\n\r\n // Java's byte is always signed, but opencv seems to treat it as\r\n // unsigned, ie. -1 is maximum luminosity, ie. gray value 255. The total\r\n // (Java byte -> gray value) mapping is then:\r\n // 0..127, -128..-1 -> 0..255\r\n imwrite(new File(TEMP_DIR, \"testDirectMatPainting8UC1.png\").getAbsolutePath(), m);\r\n // @insert:image:testDirectMatPainting8UC1.png@\r\n }", "Bitmap m7900a(Bitmap bitmap);", "void mo12205a(Bitmap bitmap);", "public Bitmap getBitmap() {\n\t\tBitmap bitmap;\n\t\tint intpixels[] = new int[getNrows()*getNcols()];\n\n// Log.i(\"min value\", Float.toString(getMinElevation()));\n// Log.i(\"max value\", Float.toString(getMaxElevation()));\n// Log.i(\"range value\", Float.toString(getMaxElevation()-getMinElevation()));\n\t\tfor(int k = 0; k<getNrows(); k++) {\n\t\t\tfor(int m=0; m<getNcols(); m++) {\n\t\t \t//normalize each float to a value from 0-255\n\n double range = 255/(getMaxElevation()-getMinElevation());\n\t\t \tintpixels[k+(m*getNrows())] = (int)(range*(getElevationData()[k][m]-getMinElevation()));\n\n //Log.i(\"pixel value\", Integer.toString(intpixels[m+(k*getNcols())]));\n\t\t \t//intpixels[k] = (int)( ((pixels[k]-min)/(max-min))*(double)255.0);\n\t\t \t//convert to greyscale ARGB value\n\t\t \t//intpixels[m+(k*getNcols())] = 0xFF000000 + intpixels[m+(k*getNcols())] + intpixels[m+(k*getNcols())]<<8 + intpixels[m+(k*getNcols())]<<16;\n\t\t\t}\t\n\t }\n\n for(int l=0;l<getNcols()*getNrows(); l++) {\n //intpixels[l] = 0xFF000000 + intpixels[l] + intpixels[l]<<8 + intpixels[l]<<16;\n intpixels[l] = Color.argb(255, intpixels[l], intpixels[l], intpixels[l]);\n }\n\t\tbitmap = Bitmap.createBitmap(intpixels, 0, getNrows(), getNrows(), getNcols(), Bitmap.Config.ARGB_8888);\n\n Matrix matrix = new Matrix();\n matrix.postRotate(90);\n bitmap = Bitmap.createBitmap(bitmap, 0, 0,\n bitmap.getWidth(), bitmap.getHeight(),\n matrix, true);\n try {\n FileOutputStream out = new FileOutputStream(\"/sdcard/field.png\");\n bitmap.compress(Bitmap.CompressFormat.PNG, 90, out);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n\n return bitmap;\n\t}", "public void bufferedImageToMat(BufferedImage bi, Mat mat) {\n \t byte[] data = ((DataBufferByte) bi.getRaster().getDataBuffer()).getData();\r\n \t mat.put(0, 0, data);\r\n \t return ;\r\n \t}", "public static Bitmap CreateBitmapFromGridOfCells(TrafficCell[][] i_grid,int i_mode, boolean i_drawVehicles) {\n// The first index is the y coordinate measured from the top; the second\n// index is the x coordinate measured from the left.\nint t_height = i_grid.length;\nint t_width = 0;\nif (i_grid[0] != null)\nt_width = i_grid[0].length;\n\nBitmap.Config t_conf = Bitmap.Config.ARGB_8888;\nBitmap t_bitmap = Bitmap.createBitmap(t_width, t_height, t_conf);\n\n// this is a slow method\n// TODO: change this to setPixels or to copyPixelsFrom...\nfor (int i = 0; i < t_height; i++) {\nfor (int j = 0; j < t_width; j++) {\nt_bitmap.setPixel(j, i,\nCalulateColorFromTrafficCell(i_grid[i][j], i_mode,i_drawVehicles));\n}\n}\nreturn t_bitmap;\n}", "@Test\r\n public void testDirectMatPainting8SC1() {\n Mat m = new Mat(width, height, CV_8SC1);\r\n assertEquals(1, m.channels());\r\n assertEquals(1, m.capacity());\r\n assertEquals(width, m.step());\r\n assertEquals(width, m.cols());\r\n assertEquals(height, m.rows());\r\n\r\n ByteBuffer bb = m.createBuffer();\r\n for (long i = 0; i < width * height; i++) {\r\n long x = i % width, y = i / width;\r\n // blue to gray:\r\n byte gray = (byte) (pixelFunc(x, y) & 0xff);\r\n bb.put(gray);\r\n }\r\n\r\n // negative gray values get ignored/mapped to black/0. The total\r\n // (Java byte -> gray value) mapping is then:\r\n // -128..127 -> 128x 0, 0..127\r\n imwrite(new File(TEMP_DIR, \"testDirectMatPainting8SC1.png\").getAbsolutePath(), m);\r\n // @insert:image:testDirectMatPainting8SC1.png@\r\n }", "@Test\r\n public void testJnaMemory2Mat() {\n Memory buffer = new Memory(width * height * 4);\r\n for (long i = 0; i < width * height; i++) {\r\n long x = i % width, y = i / width;\r\n buffer.setInt(i * 4, pixelFunc(x, y));\r\n }\r\n\r\n // we use the frame only to calculate values:\r\n Frame f = new Frame(width, height, Frame.DEPTH_UBYTE, 4);\r\n Mat m = new Mat(f.imageHeight, f.imageWidth, CV_MAKETYPE(f.imageDepth, f.imageChannels),\r\n new Pointer(buffer.getByteBuffer(0, width * height * 4).position(0)),\r\n f.imageStride * Math.abs(f.imageDepth) / 8);\r\n\r\n LOG.info(\"stride = \" + f.imageStride);\r\n\r\n // remove alpha channel\r\n Mat m2 = new Mat();\r\n cvtColor(m, m2, COLOR_BGRA2BGR);\r\n\r\n imwrite(new File(TEMP_DIR, \"testJnaMemory2Mat.png\").getAbsolutePath(), m2);\r\n // @insert:image:testJnaMemory2Mat.png@\r\n f.close();\r\n }", "@Test\r\n public void testJnaMemory2Mat2() {\n Memory buffer = new Memory(width * height * 4);\r\n\r\n // we use the frame only to calculate values:\r\n Frame f = new Frame(width, height, Frame.DEPTH_UBYTE, 4);\r\n Mat m = new Mat(f.imageHeight, f.imageWidth, CV_MAKETYPE(f.imageDepth, f.imageChannels),\r\n new Pointer(buffer.getByteBuffer(0, width * height * 4).position(0)),\r\n f.imageStride * Math.abs(f.imageDepth) / 8);\r\n\r\n LOG.info(\"stride = \" + f.imageStride);\r\n\r\n // write some image data\r\n ByteBuffer bb = m.createBuffer();\r\n for (long i = 0; i < width * height; i++) {\r\n long x = i % width, y = i / width;\r\n int pixel = pixelFunc(x, y);\r\n bb.put((byte) (pixel & 0xff));\r\n bb.put((byte) (pixel >> 8 & 0xff));\r\n bb.put((byte) (pixel >> 16 & 0xff));\r\n bb.put((byte) (pixel >> 24 & 0xff));\r\n }\r\n\r\n // remove alpha channel\r\n Mat m2 = new Mat();\r\n cvtColor(m, m2, COLOR_BGRA2BGR);\r\n\r\n imwrite(new File(TEMP_DIR, \"testJnaMemory2Mat2.png\").getAbsolutePath(), m2);\r\n // @insert:image:testJnaMemory2Mat2.png@\r\n f.close();\r\n }", "public static Bitmap createViewBitmap(View view, Matrix matrix, RectF bounds) {\n Bitmap bitmap = null;\n int bitmapWidth = Math.round(bounds.width());\n int bitmapHeight = Math.round(bounds.height());\n if (bitmapWidth > 0 && bitmapHeight > 0) {\n float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight));\n bitmapWidth *= scale;\n bitmapHeight *= scale;\n matrix.postTranslate(-bounds.left, -bounds.top);\n matrix.postScale(scale, scale);\n bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);\n Canvas canvas = new Canvas(bitmap);\n canvas.concat(matrix);\n view.draw(canvas);\n }\n return bitmap;\n }", "private Bitmap createBitmap(Bitmap bitmap, int w, int h, float scale) {\n\n Matrix matrix = new Matrix();\n matrix.setScale(scale, scale);\n //matrix.postTranslate(-bitmap.getWidth() / 2, -bitmap.getHeight() / 2);\n matrix.postRotate(orientation);\n /*if (orientation == 90 || orientation == 270) {\n matrix.postTranslate(bitmap.getHeight() / 2, bitmap.getWidth() / 2);\n } else {\n matrix.postTranslate(bitmap.getWidth() / 2, bitmap.getHeight() / 2);\n }*/\n //canvas.drawBitmap(bitmap, matrix, paint);\n //try {\n // canvas.setBitmap(null);\n //} catch (Exception e) {\n //don't promt, this will crash on 2.x\n //}\n return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true);\n\n //return result;\n }", "private Bitmap floatArrayToBitmap(float[] floatArray, int width, int height) {\n Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);\n // vector is your int[] of ARGB\n List<Integer> intList = new ArrayList<>();\n for (float v : floatArray) intList.add(transform(v));\n int[] intArray = intList.stream().mapToInt(Integer::intValue).toArray();\n System.out.println(Arrays.toString(intArray));\n bitmap.copyPixelsFromBuffer(IntBuffer.wrap(intArray));\n return bitmap;\n }", "void imageData(int width, int height, int[] rgba);", "public Mat Convert(BufferedImage im) {\n\t\t// Convert INT to BYTE\n\t\t//im = new BufferedImage(im.getWidth(), im.getHeight(),BufferedImage.TYPE_3BYTE_BGR);\n\t\t// Convert bufferedimage to byte array\n\t\tbyte[] pixels = ((DataBufferByte) im.getRaster().getDataBuffer())\n\t\t\t\t.getData();\n\n\t\t// Create a Matrix the same size of image\n\t\tMat image = new Mat(im.getHeight(), im.getWidth(), CvType.CV_8UC3);\n\t\t// Fill Matrix with image values\n\t\timage.put(0, 0, pixels);\n\n\t\treturn image;\n\n\n\t}", "private Bitmap m6552d() {\n if (this.f5072i == null) {\n this.f5072i = m6555f();\n }\n return this.f5072i;\n }", "public void recycleBitmapData(){\n\t\tif(bmpData != null){\n\t\t\tbmpData.recycle();\n\t\t\tbmpData = null;\n\t\t}\n\t}", "public Bitmap buildResultBitmap() {\n if(mTempBitmap!=null) return mTempBitmap;\n Bitmap bitmap ;\n if(mRotateAngle!=0) bitmap = Util.rotateBitmap(mDocumentBitmap,mRotateAngle);\n else bitmap = Bitmap.createBitmap(mDocumentBitmap);\n\n switch (mFilter) {\n case FILTER_MAGIC:\n bitmap = ScanUtils.getMagicColorBitmap(bitmap);\n break;\n case FILTER_GRAY_SCALE:\n bitmap = ScanUtils.getGrayBitmap(bitmap);\n break;\n case FILTER_BnW:\n bitmap = ScanUtils.getBWBitmap(bitmap);\n break;\n }\n\n return bitmap;\n }", "public Bitmap getBitmap(){\n return bitmap;\n }", "private Bitmap convertToBitmap(byte[] b){\n\n return BitmapFactory.decodeByteArray(b, 0, b.length);\n\n }", "public byte[] convertCircleBitmapToByteArray(Bitmap imagem){\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n imagem.compress(Bitmap.CompressFormat.JPEG, 100, stream);\n byte imagemBytes[] = stream.toByteArray();\n return imagemBytes;\n\n }", "private static Bitmap drawableToBitmap(Drawable drawable) {\n if (drawable == null) {\n return null;\n } else if (drawable instanceof BitmapDrawable) {\n return ((BitmapDrawable) drawable).getBitmap();\n }\n\n //Avoid Color Drawable special case\n int width = drawable.getIntrinsicWidth();\n width = width > 0 ? width : 1;\n int height = drawable.getIntrinsicHeight();\n height = height > 0 ? height : 1;\n\n Bitmap bitmap;\n try {\n bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);\n } catch (OutOfMemoryError e) {\n Log.e(\"PolygonImageView\", \"OutOfMemory during bitmap creation\");\n return null;\n }\n\n Canvas canvas = new Canvas(bitmap);\n drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());\n drawable.draw(canvas);\n\n return bitmap;\n }", "public static Bitmap convertToMutable(Bitmap imgIn) {\n try {\n //this is the file going to use temporally to save the bytes.\n // This file will not be a imageView, it will store the raw imageView data.\n File file = new File(Environment.getExternalStorageDirectory() + File.separator + \"temp.tmp\");\n\n //Open an RandomAccessFile\n //Make sure you have added uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"\n //into AndroidManifest.xml file\n RandomAccessFile randomAccessFile = new RandomAccessFile(file, \"rw\");\n\n // get the width and height of the source bitmap.\n int width = imgIn.getWidth();\n int height = imgIn.getHeight();\n Bitmap.Config type = imgIn.getConfig();\n\n //Copy the byte to the file\n //Assume source bitmap loaded using options.inPreferredConfig = Config.ARGB_8888;\n FileChannel channel = randomAccessFile.getChannel();\n MappedByteBuffer map = channel.map(FileChannel.MapMode.READ_WRITE, 0, imgIn.getRowBytes()*height);\n imgIn.copyPixelsToBuffer(map);\n //recycle the source bitmap, this will be no longer used.\n imgIn.recycle();\n System.gc();// try to force the bytes from the imgIn to be released\n\n //Create a new bitmap to load the bitmap again. Probably the memory will be available.\n imgIn = Bitmap.createBitmap(width, height, type);\n map.position(0);\n //load it back from temporary\n imgIn.copyPixelsFromBuffer(map);\n //close the temporary file and channel , then delete that also\n channel.close();\n randomAccessFile.close();\n\n // delete the temp file\n file.delete();\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return imgIn;\n }", "@Override\n public ImageData createPixelMap(double x, double y, int[] data) {\n return graphicsEnvironmentImpl.createPixelMap(canvas, x, y, data);\n }", "public void setBfImageByData(int [][][] data){\r\n\t\tBfImage = new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB);\r\n\t\tfor (int i = 0; i < width; i++) {\r\n\t\t\tfor (int j = 0; j < height; j++) {\r\n\t\t\t\tint [] rgb = data[j][i];\r\n\t\t\t\tif (rgb[0] == -1){\t//is transparent\r\n\t\t\t\t\tBfImage.setRGB(i, j, Transparency.TRANSLUCENT);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tBfImage.setRGB(i, j, Utils.getRGB(rgb[0], rgb[1], rgb[2]));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private static byte[] m17790a(Bitmap bitmap) {\n int i;\n int i2;\n int i3;\n int width = bitmap.getWidth();\n int height = bitmap.getHeight();\n OutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n for (i = 0; i < 32; i++) {\n byteArrayOutputStream.write(0);\n }\n int[] iArr = new int[(width - 2)];\n bitmap.getPixels(iArr, 0, width, 1, 0, width - 2, 1);\n Object obj = iArr[0] == -16777216 ? 1 : null;\n Object obj2 = iArr[iArr.length + -1] == -16777216 ? 1 : null;\n int length = iArr.length;\n width = 0;\n int i4 = 0;\n for (i2 = 0; i2 < length; i2++) {\n if (width != iArr[i2]) {\n i4++;\n C5225r.m17788a(byteArrayOutputStream, i2);\n width = iArr[i2];\n }\n }\n if (obj2 != null) {\n i4++;\n C5225r.m17788a(byteArrayOutputStream, length);\n }\n int i5 = i4;\n int i6 = i5 + 1;\n if (obj != null) {\n i = i6 - 1;\n } else {\n i = i6;\n }\n if (obj2 != null) {\n i3 = i - 1;\n } else {\n i3 = i;\n }\n iArr = new int[(height - 2)];\n bitmap.getPixels(iArr, 0, 1, 0, 1, 1, height - 2);\n obj = iArr[0] == -16777216 ? 1 : null;\n obj2 = iArr[iArr.length + -1] == -16777216 ? 1 : null;\n length = iArr.length;\n width = 0;\n i4 = 0;\n for (i2 = 0; i2 < length; i2++) {\n if (width != iArr[i2]) {\n i4++;\n C5225r.m17788a(byteArrayOutputStream, i2);\n width = iArr[i2];\n }\n }\n if (obj2 != null) {\n i4++;\n C5225r.m17788a(byteArrayOutputStream, length);\n }\n i6 = i4 + 1;\n if (obj != null) {\n i = i6 - 1;\n } else {\n i = i6;\n }\n if (obj2 != null) {\n i--;\n }\n for (i6 = 0; i6 < i3 * i; i6++) {\n C5225r.m17788a(byteArrayOutputStream, 1);\n }\n byte[] toByteArray = byteArrayOutputStream.toByteArray();\n toByteArray[0] = (byte) 1;\n toByteArray[1] = (byte) i5;\n toByteArray[2] = (byte) i4;\n toByteArray[3] = (byte) (i * i3);\n C5225r.m17787a(bitmap, toByteArray);\n return toByteArray;\n }", "float[] getMVPMatrix();", "public static BufferedImage matrizToImagen(int[][] m) {\n int ancho = m[0].length;\n int alto = m.length;\n BufferedImage image = new BufferedImage(ancho, alto, BufferedImage.TYPE_BYTE_GRAY);\n for (int i = 0; i < alto; i++) {\n for (int j = 0; j < ancho; j++) {\n int gray = m[i][j];\n Color c = new Color(gray, gray, gray);\n image.setRGB(j, i, c.getRGB());\n }\n }\n return image;\n }", "private void showBitmap() {\n Bitmap bitmap = BitmapFactory.decodeByteArray(mImgData, 0, mImgData.length);\n mImgView.setImageBitmap(bitmap);\n }", "public Bitmap mo1282a() {\n Bitmap bitmap = (Bitmap) this.f9476f.m3537a();\n if (bitmap != null) {\n m11981a(Integer.valueOf(C0987h.m3406a(bitmap)), bitmap.getConfig());\n }\n return bitmap;\n }", "BufferedImage buildImgBuf(Dimension d)\n\t{\n\tBufferedImage gBufImg= ImgFactory.getImg(500, 600); //new BufferedImage(dmX, dmY, BufferedImage.TYPE_INT_ARGB);\n\tGraphics2D g2=gBufImg.createGraphics();\n\tif (drawGraphics(g2, d, samples))\n\t\treturn gBufImg;\n\t\treturn null;\n\n\t}", "public static BinaryMatrix fromImage(BufferedImage image){\n\t\tint height=image.getHeight();\n\t\tint width=image.getWidth();\n\t\t\n\t\tboolean[][] array=new boolean[height][width];\n\t\tfor(int h=0; h<height; h++){\n\t\t\tfor(int w=0; w<width; w++){\n\t\t\t\tif(image.getRGB(w, h)==Constants.COLOR_BLACK)\n\t\t\t\t\tarray[h][w]=true;\n\t\t\t\telse\n\t\t\t\t\tarray[h][w]=false;\n\t\t\t}\n\t\t}\n\t\treturn new BinaryMatrix(array);\n\t}", "public static Bitmap m24663a(Bitmap bitmap) {\n int width = bitmap.getWidth();\n int height = bitmap.getHeight();\n Matrix matrix = new Matrix();\n matrix.postScale(0.7f, 0.7f);\n return Bitmap.createBitmap(bitmap, 0, 0, width, height, matrix, true);\n }", "@Override\r\n\tpublic FloatMat data() { return this.data; }", "public IndexBitmapObject(int width, int height) {\n\t\tthis.width = width;\n\t\tthis.height = height;\n\t\tthis.bitmap = new int[this.width][this.height];\n\t\tfor (int col = 0; col < this.width; col++) {\n\t\t\tfor (int row = 0; row < this.height; row++) {\n\t\t\t\tthis.bitmap[col][row] = 0;\n\t\t\t}\n\t\t}\n\t\tthis.hasMaximumValue = true;\n\t\tthis.maximumValue = 255;\n\t}", "public boolean matToBufferedImage(Mat matrix) {\n\t\tMatOfByte mb = new MatOfByte();\n\t\tImgcodecs.imencode(\".jpg\", matrix, mb);\n\t\ttry {\n\t\t\tthis.image = ImageIO.read(new ByteArrayInputStream(mb.toArray()));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false; // Error\n\t\t}\n\t\treturn true; // Successful\n\t}", "@Override\n public ImageData createPixelMap(ImageData pixelMap) {\n return graphicsEnvironmentImpl.createPixelMap(canvas, pixelMap);\n }", "public void ToImage(){\n\t\tint row=SL.length;\n\t\tint col=SL[0].length;\n\t\tint cr=0;\n\t\tint cb=0;\n\t\t// System.out.println(row+\" \"+col);\n\t\tint[] intArray = new int[3*row*col];\n\t\tint w=row;\n\t int h=col;\n\t BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);\n\t\tint pixel = 0;\n\t\tfor(int x=0;x<row;x++){\n\t\t\tfor(int y=0;y<col;y++){\n\t\t\t\tint rByte = (int)(SL[x][y]);\n\t\t int gByte = (int)(SL[x][y]);\n\t\t int bByte = (int)(SL[x][y]);\n\t\t \n\t\t // int rByte = (int)(SL[x][y]+1.402*(cr-128));\n\t\t // int gByte = (int)(SL[x][y]-0.3414*(cb-128)-0.71414*(cr-128));\n\t\t // int bByte = (int)(SL[x][y]+1.772*(cb-128));\n\t\t int rgb = (rByte *65536) + (gByte * 256) + bByte;\n\t\t image.setRGB(x,y,rgb);\n\t \t}\n\t\t}\n\t try {\n\t ImageIO.write(image, \"bmp\", new File(\"\"+picture_num+\".png\"));\n\t } catch (Exception e) {\n\t e.printStackTrace();\n\t }\n\t}", "public Mat2Image() {\n }", "public SbMatrix\ngetImageToObject(SoNode node)\n//\n////////////////////////////////////////////////////////////////////////\n{\n getMatrix(node);\n return matrixAction.getTextureInverse();\n}", "public DoubleMatrixDataset() {\r\n }", "public final Class<Bitmap> mo2232mK() {\n return Bitmap.class;\n }", "public IndexBitmapObject(int[][] bitmap, int width, int height) {\n\t\tthis.width = width;\n\t\tthis.height = height;\n\t\tthis.bitmap = bitmap;\n\t}", "public USB2Mat(USB2Mat arg0) {\n\n\t\t// copy internal storage\n\t\tmat_ = new double[arg0.rowCount()][arg0.getHalfBandwidth() + 1];\n\t\tfor (int i = 0; i < arg0.rowCount(); i++)\n\t\t\tfor (int j = 0; j < arg0.getHalfBandwidth() + 1; j++)\n\t\t\t\tmat_[i][j] = arg0.getData()[i][j];\n\n\t\t// copy size and half-bandwidth\n\t\tn_ = arg0.rowCount();\n\t\thbw_ = arg0.getHalfBandwidth();\n\t}", "public ImageData getImageData() {\n\t\treturn this.data.getImageData();\n\t}", "private void reanderImage(ImageData data) {\n \n }", "private Mat toGrayMat(Bitmap input) {\n Mat output = new Mat();\n\n // Convert Bitmap to Mat\n input = input.copy(Bitmap.Config.ARGB_8888, true);\n Utils.bitmapToMat(input, output);\n\n // Convert to grayscale\n Imgproc.cvtColor(output, output, Imgproc.COLOR_RGB2GRAY, 4);\n\n return output;\n }", "public native PixelPacket[] getColormap() throws MagickException;", "public static Bitmap createBitmap (byte[] photo)\r\n {\r\n return BitmapFactory.decodeByteArray(photo, 0, photo.length);\r\n }", "Image createImage(List<List<Pixel>> pixelArray);", "private static Bitmap m8222a(URLConnection uRLConnection) {\n InputStream inputStream = uRLConnection.getInputStream();\n try {\n Bitmap a = C2995v.f8235a.m8223a(inputStream);\n return a;\n } finally {\n inputStream.close();\n }\n }", "public void showbitmap4() {\n \n \t}", "private Bitmap convertCursorRowToUXFormat(Cursor cursor) {\n // get row indices for our cursor\n int idx_poster_img = cursor.getColumnIndex(MoviesContract.MovieEntry.COLUMN_POSTER);\n\n byte[] blob = cursor.getBlob(idx_poster_img);\n ByteArrayInputStream inputStream = new ByteArrayInputStream(blob);\n Bitmap bitmap = BitmapFactory.decodeStream(inputStream);\n\n return bitmap;\n }", "ImageImpl (byte [] bytes) {\n\tint cnt = bytes.length / 2;\n\tint size = (bytes.length + 1) / 2;\n\tdata = new short [size];\n\tint bi = 0;\n\t\n\tfor (int i = 0; i < cnt; i++) {\n\t data [i] = (short) (((((int) bytes [bi]) & 0x0ff) << 8)\n\t\t\t\t | (((int) bytes [bi+1]) & 0x0ff));\n\t bi += 2;\n\t}\n\t\n\tif (size > cnt)\n\t data [cnt] = (short) ((((int) bytes [bi]) & 0x0ff) << 8);\n\n\tbitmap = new Bitmap (data);\n }", "private Image mat2Image(Mat frame)\r\n {\n MatOfByte buffer = new MatOfByte();\r\n // encode the frame in the buffer\r\n // HighGui.imencode(\".png\", frame, buffer);\r\n Imgcodecs.imencode(\".png\", frame, buffer);\r\n // build and return an Image created from the image encoded in the buffer\r\n return new Image(new ByteArrayInputStream(buffer.toArray()));\r\n }", "public IntBuffer getData(BufferedImage img)\n\t{\n\t\tIntBuffer buf = IntBuffer.allocate(img.getWidth()*img.getHeight());\n\t\t//ByteBuffer b = ByteBuffer.allocate(buf.capacity()*4);\n\n\t\tfor(int i=0; i<img.getHeight(); i++)\n\t\t{\n\t\t\tfor(int j=0; j<img.getWidth(); j++)\n\t\t\t{\n\t\t\t\t// We need to shuffle the RGB values to pass them correctly to OpenGL. \n\t\t\t\tint in = img.getRGB(j,i);\n\t\t\t\tint out = ((in & 0x000000FF) << 16) | (in & 0x0000FF00) | ((in & 0x00FF0000) >> 16);\n\t\t\t\tbuf.put((img.getHeight()-i-1)*img.getWidth()+j, out);\n\t\t\t}\n\t\t}\n\t\t//b.asIntBuffer().put(buf);\n\t\treturn buf;\n\t}", "private Bitmap convertToGrayscale(Bitmap bmpOriginal) {\n int height = bmpOriginal.getHeight();\n int width = bmpOriginal.getWidth();\n Log.e(TAG, \"width=\" + width + \" height=\" + height);//default size is 640*480 px\n Bitmap bmpGrayscale = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);//\n Canvas c = new Canvas(bmpGrayscale);\n Paint paint = new Paint();\n ColorMatrix cm = new ColorMatrix();\n cm.setSaturation(0);\n ColorMatrixColorFilter f = new ColorMatrixColorFilter(cm);\n paint.setColorFilter(f);\n c.drawBitmap(bmpOriginal, 0, 0, paint);\n return bmpGrayscale;\n }", "private static BitMatrix gerarBitMatrix(String conteudo, int width,\n\t\t\tint height) throws WriterException {\n\t\tQRCodeWriter writer = new QRCodeWriter();\n\t\tBitMatrix bm = writer.encode(conteudo, BarcodeFormat.QR_CODE, width,\n\t\t\t\theight);\n\t\treturn bm;\n\t}", "private Bitmap rotateBitmap(Bitmap bitmap){\n Matrix matrix = new Matrix();\n matrix.postRotate(90);\n return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true);\n }", "public Mat2(double[][] data) {\n\t\tthis.data = data;\n\t\trows = data.length; cols = (rows==0)? 0 : data[0].length;\n\t}", "private Bitmap decodeMapBitmap() {\n BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = false;\n options.inScaled = false;\n options.outWidth = 2048;\n options.outHeight = 2048;\n\n return BitmapFactory.decodeResource(getResources(), R.drawable.map, options);\n }", "public Bitmap getBitmap() {\n\t\treturn mBitmap;\n\t}", "private Image mat2Image(Mat frame)\n {\n MatOfByte buffer = new MatOfByte();\n // encode the frame in the buffer, according to the PNG format\n Highgui.imencode(\".png\", frame, buffer);\n // build and return an Image created from the image encoded in the\n // buffer\n return new Image(new ByteArrayInputStream(buffer.toArray()));\n }", "public BufferedImage toImage(){\n // turn it into a png\n int scale = 8;\n int w = 16;\n int h = 16;\n BufferedImage image = new BufferedImage(w * scale, h * scale, BufferedImage.TYPE_INT_ARGB);\n Color background = new Color(240, 240, 240);\n java.awt.Graphics gr = image.getGraphics();\n gr.setColor(background);\n gr.fillRect(0, 0, w * scale, h * scale);\n\n // so each 3 bytes describes 1 color?\n for(int i = 0; i < 256; ++i){\n\n // int r = palette.get(i * 3);\n // int g = palette.get(i * 3 + 1);\n // int b = palette.get(i * 3 + 2);\n\n // the Color() constructor that takes ints does values 0..255\n // but it has a float constructor, so why not divide\n //Color awtColor = new Color(r/64.0f, g/64.0f, b/64.0f);\n Color awtColor = getAwtColor(i);\n\n int row = i / 16;\n int col = i % 16;\n int y = row * scale;\n int x = col * scale;\n gr.setColor(awtColor);\n gr.fillRect(x, y, x + scale, y + scale);\n }\n\n return image;\n }", "Bitmap getBitmap(){\n Bitmap bm = frame;\n frame = null;\n return bm;\n }", "public static Mat bufferedImageToMat(BufferedImage bi) {\n\t\tMat mat = new Mat(bi.getHeight(), bi.getWidth(), CvType.CV_8UC3);\n\t\tbyte[] data = ((DataBufferByte) bi.getRaster().getDataBuffer()).getData();\n\t\tmat.put(0, 0, data);\n\t\treturn mat;\n\t}", "private void populateFromSprite() {\n long start = System.currentTimeMillis();\n int bitSetIndex = 0;\n BufferedImage bImage = (BufferedImage) sprite.m_image;\n //BufferedImage img = ImageIO.read(new File(\"assets/LoopBitmap.bmp\"));\n int color;\n // Loop through image according to scale\n for(int i = 0; i < sprite.getWidth(); i+=scale) {\n for(int j = 0; j < sprite.getHeight(); j+= scale) {\n // Get color at pixel i, j, if black set Bitmap index to true.\n color = bImage.getRGB(i, j);\n if(color == Color.BLACK.getRGB()) { //tempColor.equals(Color.black)) {\n this.set(bitSetIndex, true);\n //System.out.println(\"'BLACK' Color = \"+color + \" i=\"+ i + \", j=\"+j);\n }\n bitSetIndex++;\n }\n }\n long end = System.currentTimeMillis();\n// System.out.println(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>\");\n// System.out.println(\"BITMAP DONE :)\");\n// System.out.println(\"Time to build = \"+(end-start)+\"ms\");\n// System.out.println(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>\");\n }", "public Bitmap getBitmap() {\n\t\treturn this.initialBitmap;\r\n\t}", "com.google.protobuf.ByteString getImgData(int index);", "public final Bitmap mo15606a(Integer num) {\n return (Bitmap) this.f13510a.get(num);\n }", "private static final byte[] xfdm_image() {\n\t\tbyte data[] = { 71, 73, 70, 56, 57, 97, 16, 0, 16, 0, -95, 0, 0, -52,\n\t\t\t\t100, 26, -83, 89, 0, 0, -79, -24, -1, -1, -1, 33, -2, 14, 77,\n\t\t\t\t97, 100, 101, 32, 119, 105, 116, 104, 32, 71, 73, 77, 80, 0,\n\t\t\t\t33, -7, 4, 1, 10, 0, 3, 0, 44, 0, 0, 0, 0, 16, 0, 16, 0, 0, 2,\n\t\t\t\t55, -100, -113, 121, 0, 106, 17, 16, 107, 9, 70, -55, -112,\n\t\t\t\t117, -13, 65, 103, 76, 27, 24, -114, -122, 32, 40, 22, 117,\n\t\t\t\t-90, -125, -69, 102, -19, -117, -114, 29, -115, -42, 87, -56,\n\t\t\t\t-96, 120, -98, 0, 0, 115, 68, 4, -16, -25, 59, 28, -111, -83,\n\t\t\t\t36, -23, 89, 0, 0, 59 };\n\t\treturn data;\n\t}", "public static BufferedImage Mat2BufferedImage(Mat m) {\n\n int type = BufferedImage.TYPE_BYTE_GRAY;\n if (m.channels() > 1) {\n type = BufferedImage.TYPE_3BYTE_BGR;\n }\n int bufferSize = m.channels() * m.cols() * m.rows();\n byte[] b = new byte[bufferSize];\n m.get(0, 0, b); // get all the pixels\n BufferedImage image = new BufferedImage(m.cols(), m.rows(), type);\n final byte[] targetPixels = ((DataBufferByte) image.getRaster().getDataBuffer()).getData();\n System.arraycopy(b, 0, targetPixels, 0, b.length);\n return image;\n }", "@Override\n public ImageData getSnapshot(double x, double y, double width, double height) {\n return graphicsEnvironmentImpl.getPixelMap(canvas, x, y, width, height);\n }", "private void preprocess(Bitmap bitmap) {\n convertBitmapToByteBuffer(bitmap);\n }", "BufferedImage getImage(Mat mat){\n Imgproc.cvtColor(mat,mat,Imgproc.COLOR_RGB2BGR);\n\n //Hue Saturation Lighting to Blue Green Red values\n Imgproc.cvtColor(mat,mat,Imgproc.COLOR_HLS2BGR);\n\n //Re-reverses Blue and Red color values\n Imgproc.cvtColor(mat,mat,Imgproc.COLOR_BGR2RGB);\n\n //Sets colors to grayscale\n Imgproc.cvtColor(mat,mat,Imgproc.COLOR_RGB2GRAY);\n\n\n getSpace(mat);\n WritableRaster raster = img.getRaster();\n DataBufferByte dataBuffer = (DataBufferByte) raster.getDataBuffer();\n byte[] data = dataBuffer.getData();\n mat.get(0, 0, data);\n return img;\n }", "private Bitmap getCompressedBitmap(Bitmap bitmap) {\n if (bitmap.getWidth() > MAX_WIDTH || bitmap.getHeight() > MAX_HEIGHT) {\n float scale = Math.min(((float) MAX_WIDTH / bitmap.getWidth()),\n ((float) MAX_HEIGHT / bitmap.getHeight()));\n Matrix matrix = new Matrix();\n matrix.postScale(scale, scale);\n Bitmap resizedImage = Bitmap.createBitmap(bitmap, 0, 0,\n bitmap.getWidth(), bitmap.getHeight(), matrix, true);\n bitmap.recycle();\n return resizedImage;\n }\n return bitmap;\n }", "public static BufferedImage toBufferedImage(Mat m) {\n\t\tint type = BufferedImage.TYPE_BYTE_GRAY;\n\t\tif (m.channels() > 1) {\n\t\t\ttype = BufferedImage.TYPE_3BYTE_BGR;\n\t\t}\n\t\tint bufferSize = m.channels() * m.cols() * m.rows();\n\t\tbyte[] b = new byte[bufferSize];\n\t\tm.get(0, 0, b); // get all the pixels\n\t\tBufferedImage image = new BufferedImage(m.cols(), m.rows(), type);\n\t\tfinal byte[] targetPixels = ((DataBufferByte) image.getRaster()\n\t\t\t\t.getDataBuffer()).getData();\n\t\tSystem.arraycopy(b, 0, targetPixels, 0, b.length);\n\t\treturn image;\n\t}", "private Bitmap stringToBitmap(String datos) {\n\n\t\tBitmap foto = null;\n\t\t\n\t\ttry {\n\t\t\tbyte[] byteData = Base64.decode(datos, Base64.DEFAULT);\n\t\t\tfoto = BitmapFactory.decodeByteArray(byteData, 0, byteData.length);\n\t\t\tLog.e(\"ImgArticulos\", \"Imagen convertida\");\n\t\t} catch (Exception e) {\n\t\t\tLog.e(\"ImgArticulos\", e.toString());\n\t\t}\n\n\t\treturn getScaledImage(foto);\n\n\t}", "public BufferedImage getImage(int[][] data) {\n BufferedImage image = new BufferedImage(IMGSIZEX, IMGSIZEY,\n BufferedImage.TYPE_INT_RGB);\n for (int x = 0; x < IMGSIZEX; x++) {\n for (int y = 0; y < IMGSIZEY; y++) {\n int pixelColor = data[x][y];\n // Set Colors based on Binary Image value\n if (pixelColor == 0) {\n pixelColor = Color.ORANGE.getRGB();\n } else {\n pixelColor = Color.CYAN.getRGB();\n }\n image.setRGB(x, y, pixelColor);\n } // End for y.\n } // End for x.\n return image;\n }", "private byte[] convertImageBitmanToByte(Bitmap bitmap){\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos); //bm is the bitmap object\n byte[] b = baos.toByteArray();\n\n return b;\n }", "public int[][][] getdata(){\r\n\t\theight = BfImage.getHeight();\r\n\t\twidth = BfImage.getWidth();\r\n\t\tint[][][] data = new int[height][width][3];\r\n\t\t\r\n\t\tfor (int x = 0; x < width; x++)\t\t\t\t//store image's RGB data\r\n\t\t\tfor (int y = 0; y < height; y++) {\r\n\t\t\t\tint rgb = BfImage.getRGB(x, y);\r\n\t\t\t\tif (rgb == 0 || rgb == 3){\t//is transparent || Transparency.TRANSLUCENT\r\n\t\t\t\t\tdata[y][x][0] = -1;\r\n\t\t\t\t\tdata[y][x][1] = -1;\r\n\t\t\t\t\tdata[y][x][2] = -1;\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tdata[y][x][0] = Utils.getR(rgb);\r\n\t\t\t\t\tdata[y][x][1] = Utils.getG(rgb);\r\n\t\t\t\t\tdata[y][x][2] = Utils.getB(rgb);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn data;\r\n\t}", "public TE doInBackground(byte[]... data) {\n return PhotoModule.this.convertN21ToBitmap(data[0]);\n }", "private Bitmap getScreenshotBitmap() {\n if (!hasEnoughHeapMemoryForScreenshot()) return null;\n\n if (getWidth() <= 0 || getHeight() <= 0) return null;\n\n Bitmap bitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);\n draw(new Canvas(bitmap));\n return bitmap;\n }", "public static Bitmap parseToBnW(byte[] data, int length){\n int valueIndex = 0;\n int width = data[valueIndex++] & 0xFF;\n int height = data[valueIndex++] & 0xFF;\n int numOfPixels = width*height;\n\n int[] pixels = new int[numOfPixels];\n\n int pixelIndex = 0;\n int bitIndex = 7;\n byte currentByte = 0x00;\n while (pixelIndex < numOfPixels) {\n // reassign data and index for every byte (8 bits).\n if (pixelIndex % 8 == 0) {\n currentByte = data[valueIndex++];\n bitIndex = 7;\n }\n pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01);\n }\n\n if (pixelIndex != numOfPixels) {\n Rlog.e(LOG_TAG, \"parse end and size error\");\n }\n return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);\n }", "private BufferedImage worldToImage() {\n if (world == null) {\n return null;\n }\n\n BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\n\n int[] rgbWorld = new int[width * height];\n for (int y = 0; y < height; y++) {\n for (int x = 0; x < width; x++) {\n int index = twoDimIndexToOneDimIndex(x, y);\n rgbWorld[index] = world[x][y].getRgbColor();\n }\n }\n\n image.setRGB(0, 0, width, height, rgbWorld, 0, width);\n\n return image;\n }", "public Matrix() {\n\tmatrix = new Object[DEFAULT_SIZE][DEFAULT_SIZE];\n }", "public byte[] getImageData() {\r\n return imageData;\r\n }", "private void updateBaseMatrix(Drawable d) {\n ImageView imageView = getImageView();\n if (null == imageView || null == d) {\n return;\n }\n\n final float viewWidth = getImageViewWidth(imageView);\n final float viewHeight = getImageViewHeight(imageView);\n final int drawableWidth = d.getIntrinsicWidth();\n final int drawableHeight = d.getIntrinsicHeight();\n\n mBaseMatrix.reset();\n\n final float widthScale = viewWidth / drawableWidth;\n final float heightScale = viewHeight / drawableHeight;\n\n if (mScaleType == ScaleType.CENTER) {\n mBaseMatrix.postTranslate((viewWidth - drawableWidth) / 2F,\n (viewHeight - drawableHeight) / 2F);\n\n } else if (mScaleType == ScaleType.CENTER_CROP) {\n float scale = Math.max(widthScale, heightScale);\n mBaseMatrix.postScale(scale, scale);\n mBaseMatrix.postTranslate((viewWidth - drawableWidth * scale) / 2F,\n (viewHeight - drawableHeight * scale) / 2F);\n\n } else if (mScaleType == ScaleType.CENTER_INSIDE) {\n float scale = Math.min(1.0f, Math.min(widthScale, heightScale));\n mBaseMatrix.postScale(scale, scale);\n mBaseMatrix.postTranslate((viewWidth - drawableWidth * scale) / 2F,\n (viewHeight - drawableHeight * scale) / 2F);\n\n } else {\n RectF mTempSrc = new RectF(0, 0, drawableWidth, drawableHeight);\n RectF mTempDst = new RectF(0, 0, viewWidth, viewHeight);\n\n switch (mScaleType) {\n case FIT_CENTER:\n mBaseMatrix\n .setRectToRect(mTempSrc, mTempDst, ScaleToFit.CENTER);\n break;\n\n case FIT_START:\n mBaseMatrix.setRectToRect(mTempSrc, mTempDst, ScaleToFit.START);\n break;\n\n case FIT_END:\n mBaseMatrix.setRectToRect(mTempSrc, mTempDst, ScaleToFit.END);\n break;\n\n case FIT_XY:\n mBaseMatrix.setRectToRect(mTempSrc, mTempDst, ScaleToFit.FILL);\n break;\n\n default:\n break;\n }\n }\n\n resetMatrix();\n }", "public Matrix convertPGMtoMatrix(String address) throws IOException {\n FileInputStream fileInputStream = new FileInputStream(address);\n Scanner scan = new Scanner(fileInputStream);\n\n // Discard the magic number\n scan.nextLine();\n scan.nextLine();\n // Read pic width, height and max value\n int picWidth = scan.nextInt();\n int picHeight = scan.nextInt();\n\n fileInputStream.close();\n\n // Now parse the file as binary data\n fileInputStream = new FileInputStream(address);\n DataInputStream dis = new DataInputStream(fileInputStream);\n\n // look for 4 lines (i.e.: the header) and discard them\n int numnewlines = 3;\n while (numnewlines > 0) {\n char c;\n do {\n c = (char) (dis.readUnsignedByte());\n } while (c != '\\n');\n numnewlines--;\n }\n\n // read the image data\n double[][] data2D = new double[picHeight][picWidth];\n for (int row = 0; row < picHeight; row++) {\n for (int col = 0; col < picWidth; col++) {\n\n try {\n data2D[row][col] = dis.readUnsignedByte();\n } catch (Exception e) {\n mensagemErro = \"Erro ao ler byte na posição: linha: \" + row + \" coluna: \" + col;\n }\n }\n }\n\n return new Matrix(data2D);\n }", "public BitmapEncoder() {\n this((Bitmap.CompressFormat) null, 90);\n }", "public PMVMatrix(boolean useBackingArray) {\n projectFloat = new ProjectFloat();\n \n // I Identity\n // T Texture\n // P Projection\n // Mv ModelView\n // Mvi Modelview-Inverse\n // Mvit Modelview-Inverse-Transpose\n if(useBackingArray) {\n matrixBufferArray = new float[6*16];\n matrixBuffer = null;\n // matrixBuffer = FloatBuffer.wrap(new float[12*16]);\n } else {\n matrixBufferArray = null;\n matrixBuffer = Buffers.newDirectByteBuffer(6*16 * Buffers.SIZEOF_FLOAT);\n matrixBuffer.mark();\n }\n \n matrixIdent = slice2Float(matrixBuffer, matrixBufferArray, 0*16, 1*16); // I\n matrixTex = slice2Float(matrixBuffer, matrixBufferArray, 1*16, 1*16); // T\n matrixPMvMvit = slice2Float(matrixBuffer, matrixBufferArray, 2*16, 4*16); // P + Mv + Mvi + Mvit \n matrixPMvMvi = slice2Float(matrixBuffer, matrixBufferArray, 2*16, 3*16); // P + Mv + Mvi\n matrixPMv = slice2Float(matrixBuffer, matrixBufferArray, 2*16, 2*16); // P + Mv\n matrixP = slice2Float(matrixBuffer, matrixBufferArray, 2*16, 1*16); // P\n matrixMv = slice2Float(matrixBuffer, matrixBufferArray, 3*16, 1*16); // Mv\n matrixMvi = slice2Float(matrixBuffer, matrixBufferArray, 4*16, 1*16); // Mvi\n matrixMvit = slice2Float(matrixBuffer, matrixBufferArray, 5*16, 1*16); // Mvit\n \n if(null != matrixBuffer) {\n matrixBuffer.reset();\n } \n ProjectFloat.gluMakeIdentityf(matrixIdent);\n \n vec3f = new float[3];\n matrixMult = new float[16];\n matrixTrans = new float[16];\n matrixRot = new float[16];\n matrixScale = new float[16];\n matrixOrtho = new float[16];\n matrixFrustum = new float[16];\n ProjectFloat.gluMakeIdentityf(matrixTrans, 0);\n ProjectFloat.gluMakeIdentityf(matrixRot, 0);\n ProjectFloat.gluMakeIdentityf(matrixScale, 0);\n ProjectFloat.gluMakeIdentityf(matrixOrtho, 0);\n ProjectFloat.gluMakeZero(matrixFrustum, 0);\n \n matrixPStack = new ArrayList<float[]>();\n matrixMvStack= new ArrayList<float[]>();\n \n // default values and mode\n glMatrixMode(GL_PROJECTION);\n glLoadIdentity();\n glMatrixMode(GL_MODELVIEW);\n glLoadIdentity();\n glMatrixMode(GL.GL_TEXTURE);\n glLoadIdentity();\n setDirty();\n update();\n }", "void setImage(Bitmap bitmap);", "private boolean setImageData(DataBuffer db) {\r\n AwtImageBackdoorAccessor dbAccess = AwtImageBackdoorAccessor.getInstance();\r\n try {\r\n imageData = dbAccess.getData(db);\r\n } catch (IllegalArgumentException e) {\r\n return false; // Unknown data buffer type\r\n }\r\n\r\n return true;\r\n }", "void greyscale();", "void greyscale();", "public Bitmap makeBitmap(int[] nodes, int r, int a, int t, int height, int width) {\n\t\t\tLog.d(\"makeBitmap\", nodeToString(nodes));\n int[] pixels = new int[width * height];\n int[] rgbvalues;\n int[] values = new int[NODELENGTH + 2];\n int y = 0, x = 0, index = 0;\n int mh = wm.getDesiredMinimumHeight();\n int mw = wm.getDesiredMinimumWidth();\n \tfor (y = 0, index = 0; y < height; y++){\n \t\tfor (x = 0; x < width; x++){\n \t\t\trgbvalues = rgbvalues((int)((y / (double)height) * mh), (int)((x / (double)width) * mw), nodes, values);\n \t\t\tpixels[index++] = ((0xff<<24) | ((rgbvalues[0])<<16) | ((rgbvalues[1])<<8) | rgbvalues[2]);\n \t\t} \t\n \t\n\t Message msg = mHandler.obtainMessage();\n\t Bundle b = new Bundle();\n\t b.putInt(\"total\", (int)(a * (r) + t * (y / (double)height)));\n\t msg.setData(b);\n\t mHandler.sendMessage(msg);\n \t}\t\n \t\n \tBitmap bMap1 = Bitmap.createBitmap(pixels, width, height, Bitmap.Config.valueOf(\"ARGB_8888\"));\n \treturn bMap1; \t\n }", "public Bitmap mo8554a(BitmapPool bitmapPool, Bitmap bitmap, int i, int i2) {\n float f;\n C12932j.m33818b(bitmapPool, \"pool\");\n C12932j.m33818b(bitmap, \"srcBmp\");\n Bitmap bitmap2 = bitmapPool.get(i, i2, bitmap.getConfig());\n C12932j.m33815a((Object) bitmap2, \"pool.get(outWidth, outHeight, srcBmp.config)\");\n Matrix matrix = new Matrix();\n int i3 = this.f7488e;\n float f2 = (float) i;\n float f3 = (float) i2;\n matrix.setScale(1.0f - ((((float) i3) * 2.0f) / f2), 1.0f - ((((float) i3) * 2.0f) / f3), f2 / 2.0f, f3 / 2.0f);\n C1334a aVar = this.f7487d;\n if (aVar instanceof C1336b) {\n f = ((C1336b) aVar).mo6551b() * ((float) Math.min(i, i2));\n } else if (aVar instanceof C1335a) {\n f = ((C1335a) aVar).mo6547b();\n } else {\n throw new NoWhenBranchMatchedException();\n }\n C7780a aVar2 = new C7780a();\n aVar2.mo19991c(0.0f);\n aVar2.mo19994e(0.0f);\n aVar2.mo19993d(f2);\n aVar2.mo19985a(f3);\n aVar2.mo19989b(f);\n Path a = C7780a.m18885a(aVar2, null, 1, null);\n Canvas canvas = new Canvas(bitmap2);\n canvas.drawPath(a, this.f7485b);\n canvas.drawBitmap(bitmap, matrix, this.f7486c);\n return bitmap2;\n }", "private static Bitmap a(View view, Matrix matrix, RectF rectF, ViewGroup viewGroup) {\n boolean z;\n boolean z2;\n ViewGroup viewGroup2;\n int round;\n int round2;\n int i2 = 0;\n if (f2836a) {\n z2 = !view.isAttachedToWindow();\n if (viewGroup != null) {\n z = viewGroup.isAttachedToWindow();\n Bitmap bitmap = null;\n if (f2837b || !z2) {\n viewGroup2 = null;\n } else if (!z) {\n return null;\n } else {\n ViewGroup viewGroup3 = (ViewGroup) view.getParent();\n int indexOfChild = viewGroup3.indexOfChild(view);\n viewGroup.getOverlay().add(view);\n int i3 = indexOfChild;\n viewGroup2 = viewGroup3;\n i2 = i3;\n }\n round = Math.round(rectF.width());\n round2 = Math.round(rectF.height());\n if (round > 0 && round2 > 0) {\n float min = Math.min(1.0f, 1048576.0f / ((float) (round * round2)));\n int round3 = Math.round(((float) round) * min);\n int round4 = Math.round(((float) round2) * min);\n matrix.postTranslate(-rectF.left, -rectF.top);\n matrix.postScale(min, min);\n if (!f2838c) {\n Picture picture = new Picture();\n Canvas beginRecording = picture.beginRecording(round3, round4);\n beginRecording.concat(matrix);\n view.draw(beginRecording);\n picture.endRecording();\n bitmap = Bitmap.createBitmap(picture);\n } else {\n bitmap = Bitmap.createBitmap(round3, round4, Config.ARGB_8888);\n Canvas canvas = new Canvas(bitmap);\n canvas.concat(matrix);\n view.draw(canvas);\n }\n }\n if (f2837b && z2) {\n viewGroup.getOverlay().remove(view);\n viewGroup2.addView(view, i2);\n }\n return bitmap;\n }\n } else {\n z2 = false;\n }\n z = false;\n Bitmap bitmap2 = null;\n if (f2837b) {\n }\n viewGroup2 = null;\n round = Math.round(rectF.width());\n round2 = Math.round(rectF.height());\n float min2 = Math.min(1.0f, 1048576.0f / ((float) (round * round2)));\n int round32 = Math.round(((float) round) * min2);\n int round42 = Math.round(((float) round2) * min2);\n matrix.postTranslate(-rectF.left, -rectF.top);\n matrix.postScale(min2, min2);\n if (!f2838c) {\n }\n viewGroup.getOverlay().remove(view);\n viewGroup2.addView(view, i2);\n return bitmap2;\n }" ]
[ "0.6413006", "0.64051956", "0.60612404", "0.5722842", "0.571146", "0.56634647", "0.56519914", "0.5648794", "0.5613599", "0.56118894", "0.55997545", "0.55704117", "0.54934436", "0.5413234", "0.53030634", "0.5293576", "0.5286375", "0.52834404", "0.52720153", "0.5265377", "0.5257327", "0.5230639", "0.5217765", "0.5204804", "0.5199684", "0.519409", "0.51815265", "0.5177892", "0.5173015", "0.51339006", "0.51188457", "0.51075655", "0.5092962", "0.5084779", "0.5081263", "0.5076462", "0.5068633", "0.50633544", "0.5061577", "0.50563765", "0.50561756", "0.5040645", "0.5039993", "0.50360775", "0.503103", "0.5023979", "0.50237584", "0.5005562", "0.49869165", "0.4972949", "0.49565077", "0.4949915", "0.49452564", "0.49383911", "0.49374202", "0.49330083", "0.4916259", "0.49131253", "0.4908996", "0.49065104", "0.4900493", "0.48815086", "0.48710027", "0.48675755", "0.48648944", "0.48598808", "0.4850681", "0.48465526", "0.48430952", "0.48405674", "0.48381728", "0.4837158", "0.48360908", "0.48257402", "0.48206314", "0.4814305", "0.48062104", "0.47983474", "0.47925332", "0.47916818", "0.47914436", "0.4790673", "0.4783953", "0.4778708", "0.4775905", "0.47715414", "0.4770501", "0.47650763", "0.47606245", "0.4757735", "0.47513568", "0.47504175", "0.47485745", "0.47467357", "0.47465092", "0.47451192", "0.4741703", "0.4741703", "0.4738403", "0.47280526", "0.4723623" ]
0.0
-1
Additional method, mainly for debugging purposes, to avoid scanning the device for a huge number of tracks
List<MtpDeviceTrack> getTracks(MtpDevice<T> portableDevice, int maxNumberOfTracks) throws MTPException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetTracks() {\n System.out.println(\"getTracks\");\n double id = 22.0;\n double od = 45.0;\n int resolution = 5;\n boolean index = false;\n boolean clockwise = false;\n BinaryEncoder instance = new BinaryEncoder();\n List<EncoderTrack> result = instance.getTracks(id, od, resolution, index, clockwise);\n assertEquals(resolution, result.size());\n EncoderTrack t0 = result.get(0);\n assertEquals(od, t0.outerDiameter, TOL, \"outer track outerDiameter\");\n EncoderTrack t1 = result.get(resolution-1);\n assertEquals(id, t1.innerDiameter, TOL, \"inner track innerDiameter\");\n for (int i = 0; i < resolution; i++) {\n EncoderTrack t = result.get(i);\n assertEquals(1<<(resolution-i), t.stripeCount, \"stripe count\");\n }\n }", "private List<String> getMoreTracks() {\n if (tracksByBpm.isEmpty()) return new ArrayList<String>();\n\n Integer heartRate = DeviceScanActivity.mData;\n ArrayList<Pair<Integer,PlaylistTrack>> tracksInInterval = new ArrayList<>();\n\n if (heartRate == null || heartRate < 40)\n heartRate = (new Random()).nextInt(70) + 50;\n\n if (tracksByBpm.containsKey(heartRate)) {\n while (tracksInInterval.size() < Math.min(MIN_SONGS, tracksByBpm.get(heartRate).size())) {\n Pair<Integer, PlaylistTrack> newTrack = new Pair<Integer, PlaylistTrack>(\n heartRate,\n tracksByBpm.get(heartRate).get(rand.nextInt(tracksByBpm.get(heartRate).size())));\n\n if(!tracksInInterval.contains(newTrack))\n tracksInInterval.add(newTrack);\n }\n }\n\n for (int interval = INTERVAL_STEPS, lastInterval = 1;\n tracksInInterval.size() < MIN_SONGS && interval < INTERVAL_BOUND;\n interval+=INTERVAL_STEPS, lastInterval += INTERVAL_STEPS)\n {\n for (int i = lastInterval; i < interval; i++)\n if (tracksByBpm.containsKey(heartRate - i)) {\n for (int j = 0 ; j < tracksByBpm.get(heartRate - i).size(); j++){\n tracksInInterval.add(new Pair<Integer,PlaylistTrack>(\n heartRate - i,\n tracksByBpm.get(heartRate - i).get(j)));\n }\n } else if (tracksByBpm.containsKey(heartRate + i)) {\n for (int j = 0 ; j < tracksByBpm.get(heartRate + i).size(); j++){\n tracksInInterval.add(new Pair<Integer,PlaylistTrack>(\n heartRate + i,\n tracksByBpm.get(heartRate + i).get(j)));\n }\n }\n }\n\n List<String>nextTracks = new ArrayList<String>();\n // add at least MIN_SONGS tracks to the play queue\n while(nextTracks.size() < MIN_SONGS) {\n nextTracks.add(tracksInInterval.remove(\n rand.nextInt(tracksInInterval.size())).second.track.uri);\n }\n\n // if there are still no tracks to play select a random song\n if(nextTracks.isEmpty()) {\n Set<Integer> keySet = tracksByBpm.keySet();\n Integer[] keys = new Integer[keySet.size()];\n keySet.toArray(keys);\n Integer key = keys[rand.nextInt(keys.length)];\n List<PlaylistTrack> plTracks = tracksByBpm.get(key);\n nextTracks.add(plTracks.get(rand.nextInt(plTracks.size())).track.uri);\n }\n\n return nextTracks;\n }", "Track(){\n\t}", "@Override\n protected void onPause() {\n Log.d(TAG, \"MyTracks.onPause\");\n super.onPause();\n }", "@Override\r\n public void onAllTracksEnded() {\r\n }", "void track();", "private void manageTrackUpdate(final AbstractTrack track)\n {\n selectBestTrack();\n }", "public int GetCurrentTrack();", "@Override\n\tpublic int getNumberOfTracks() {\n\t\treturn 6;\n\t}", "@Override\n public void onTrackCount(int trackCount) {\n sleep();\n isTrackCountSet = true;\n }", "public void scanForSongs() {\n if (scanner != null) {\n return;\n }\n scanner = new FileScanner();\n scanner.setActivity(getActivity(), new FileScanner.OnLoadDone() {\n @Override\n public void onLoadDone(ArrayList<MusicFile> data) {\n scanDone(data);\n }\n }, MusicFile.TYPE.MP3);\n scanner.execute(0);\n }", "@Override\n public void track() {\n tracker.update(\n driveEncoder.getCount(),\n getTurnAngle(turnEncoder.getCount())\n );\n }", "TrackInfo() {\n // no-op\n }", "@Override\n public void musicPlayerDetails(WifiP2pDevice device) {\n\n }", "private static void recordTracks(int i, Cell cell, int fN){\n\t\tfor(int d=0;d<numTracks;d++){\n Track track = (Track) tracks.get(d);\n\t\t \tif(track.ind==i){\n \t\ttrack.addx(cell.x);\n \t\ttrack.addy(cell.y);\n int[] tempTracks1 = new int[]{fN-trackFrame0,d};\n float[] tempTracks2 = new float[]{cell.x/Pars.micMToPix,cell.y/Pars.micMToPix};\n int tempDiv = (track.div==true)?1:0;\n Functions.writeIntVectorHoriz(Pars.outFile+\"tracks/\"+cell.pop+\"/track\"+d+\".txt\",tempTracks1);\n Functions.writeFloatVectorHoriz(Pars.outFile+\"tracks/\"+cell.pop+\"/track\"+d+\".txt\",tempTracks2);\n Functions.writeInt(Pars.outFile+\"tracks/\"+cell.pop+\"/track\"+d+\".txt\",tempDiv);\n if(tempDiv==1){\n System.out.println(i);\n }\n \t}\n }\n\t}", "void setTrack(String track) {\r\n this.track = track;\r\n }", "public void setTrackNumber (String number){\n trackNumber = number;\n }", "public void apiAppleGetTracksHelper(final int playlistPos, JSONObject playlistItems, final Messenger handler){\n int offset = 0;\n boolean isLarger;\n boolean hasMore;\n\n try {\n if(playlistItems.getString(\"next\") != null){\n isLarger = true;\n } else {\n isLarger = false;\n }\n } catch (JSONException e) {\n e.printStackTrace();\n isLarger = false;\n }\n\n if(isLarger){\n hasMore = true;\n\n while(hasMore){\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_get_tracks_from_playlist)+playlists.get(playlistPos).getId()+\"/tracks?offset=\" + offset)\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .header(\"Music-User-Token\", dh.getAppleMusicUserToken())\n .build();\n\n try (Response response = client.newCall(request).execute()) {\n if(response.isSuccessful()){\n String res = response.body().string();\n Log.v(TAG, res);\n try {\n JSONObject object = new JSONObject(res);\n JSONArray array = object.getJSONArray(\"data\");\n parseAppleTracks(handler, array, playlistPos);\n // Iterate the offset by 100\n offset += 100;\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }else {\n Log.e(TAG, \"Not Successful: \" + response.body().string());\n hasMore = false;\n }\n } catch (IOException e){\n Log.e(TAG, \"IO Exception caught: \", e);\n }\n\n }\n\n } else {\n try {\n parseAppleTracks(handler,playlistItems.getJSONArray(\"data\"),playlistPos);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n\n if(playlistPos == playlists.size() -1){\n findSongsAtDest(handler);\n }\n\n }", "void onFloppyDriveTrackChanged(int trackNumber, FloppyDriveSide trackSide);", "@Override\n public void onTrackChange(final RadioStream.TrackInfo trackInfo) {\n }", "public Track[] searchTracks_Sync(String q) {\n SearchTracksRequest searchTracksRequest = spotifyApi.searchTracks(q)\n .limit(10)\n .offset(0)\n .build();\n Track[] tracks = null;\n try {\n final Paging<Track> trackPaging = searchTracksRequest.execute();\n\n System.out.println(\"Total: \" + trackPaging.getTotal());\n tracks = trackPaging.getItems();\n /*\n for (int i=0; i<tracks.length; i++){\n System.out.println(\"track = \" + tracks[i].getName());\n System.out.println(\"artist = \" + tracks[i].getArtists()[0].getName());\n System.out.println(\"album = \"+ tracks[i].getAlbum().getName());\n //System.out.println(\"\")\n }\n */\n } catch (IOException | SpotifyWebApiException e) {\n System.out.println(\"Error: \" + e.getMessage());\n }\n\n return tracks;\n }", "public void apiAppleGetTracks(Messenger handler){\n updateMessage(handler, 1);\n for(int i = 0; i < playlists.size(); i++){\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_get_tracks_from_playlist)+playlists.get(i).getId()+\"?include=tracks\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .header(\"Music-User-Token\", dh.getAppleMusicUserToken())\n .build();\n\n\n // ensure the response (and underlying response body) is closed\n try (Response response = client.newCall(request).execute()) {\n if(response.isSuccessful()){\n JSONObject jsonObject = new JSONObject(response.body().string());\n Log.v(TAG, jsonObject.toString());\n //updateMessage(handler,1);\n apiAppleGetTracksHelper(i,jsonObject.getJSONArray(\"data\")\n .getJSONObject(0).getJSONObject(\"relationships\").getJSONObject(\"tracks\"),handler);\n }\n Log.v(TAG, \"apple get tracks failed: \" + response);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }\n }", "private AudioTrack m18340c(int audioSessionId) {\n AudioTrack audioTrack = new AudioTrack(3, 4000, 4, 2, 2, 0, audioSessionId);\n return audioTrack;\n }", "private android.media.AudioTrack createStreamingAudioTrack() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.speech.tts.BlockingAudioTrack.createStreamingAudioTrack():android.media.AudioTrack, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.speech.tts.BlockingAudioTrack.createStreamingAudioTrack():android.media.AudioTrack\");\n }", "public void apiFindSongsOnAppleMusic(Messenger handler){\n transferPlaylists = new ArrayList<>();\n\n for(int i = 0; i < playlists.size(); i++){\n transferPlaylists.add(new Playlist(playlists.get(i).getName(),\"APPLE_MUSIC\"));\n for(int j = 0; j < playlists.get(i).getTracks().size(); j++){\n\n Song song = playlists.get(i).getTracks().get(j);\n String termSearch = (song.getTrack() + \"+\" + song.getArtist());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,i,song,false);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n try {\n updateMessage(handler,3);\n apiCreatePlaylistsAppleMusic(handler);\n } catch (JSONException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "private Map<TooonageVO, String> getAllSongsFromSDCARD(final String voice) {\n voiceRecognitioned = voice;\n\n if (isCancelled()) {\n return null;\n }\n\n final String[] TOOONAGE_PROJECTION = new String[]{MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DISPLAY_NAME, MediaStore.Audio.Media.DATA, MediaStore.Audio.Media.ALBUM_ID,\n MediaStore.Audio.Media.ALBUM, MediaStore.Audio.Media.ARTIST_ID, MediaStore.Audio.Media.ARTIST};\n final Uri allSongsUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n final String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n\n final Cursor cursor = getContentResolver().query(allSongsUri, TOOONAGE_PROJECTION, selection, null, null);\n\n try {\n\n if (cursor != null) {\n if (cursor.moveToFirst()) {\n do {\n\n if (isCancelled()) {\n return null;\n }\n\n final int songId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media._ID));\n final String songName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DISPLAY_NAME));\n\n final String songPath = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATA));\n\n final int albumId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM_ID));\n final String albumName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));\n\n final int artistId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST_ID));\n final String artistName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));\n\n if (mUtility.match(artistName, voice) | mUtility.match(albumName, voice) | mUtility.match(songName, voice)) {\n final TooonageVO tooonageVO = new TooonageVO.Builder().artist(artistName).albumn(albumName).song(songName).build();\n tooons.put(tooonageVO, songPath.trim());\n }\n\n } while (cursor.moveToNext());\n }\n }\n } finally {\n cursor.close();\n }\n\n return tooons;\n }", "public TrackDescriptor getTrackDescriptor();", "int pauseSamples() {\n return 0;\n }", "void onTrackItemSelected(int position, List<USpotifyObject> tracks);", "public void requestTracksDataLoad() {\n getSupportLoaderManager().initLoader(TRACK_LOADER_INDEX, null, this).forceLoad();\n }", "private void m6597N() {\n C0938a.m5002a(\"SR/SoundRecorder\", \"<popClearDialogBox>\");\n String lowerCase = this.f5399S.mo6173f().getAbsolutePath().toLowerCase();\n if (this.f5419h) {\n C1492b.m7431a((Context) this, (CharSequence) getResources().getString(R.string.phone_mtp_space_expired_smartkey), 1).show();\n this.f5419h = false;\n }\n Intent intent = new Intent(\"com.iqoo.secure.LOW_MEMORY_WARNING\");\n intent.addFlags(268435456);\n intent.putExtra(\"require_size\", 5242880);\n intent.putExtra(\"pkg_name\", getPackageName());\n intent.putExtra(\"extra_loc\", 1);\n intent.putExtra(\"tips_title\", getResources().getString(R.string.manager_title));\n intent.putExtra(\"tips_title_all\", getResources().getString(R.string.unable_to_record));\n try {\n startActivity(intent);\n } catch (Exception unused) {\n Intent intent2 = new Intent();\n intent2.putExtra(\"BBKPhoneCardName\", lowerCase);\n intent2.setComponent(new ComponentName(\"com.android.filemanager\", \"com.android.filemanager.FileManagerActivity\"));\n startActivity(intent2);\n }\n }", "private ArrayList<Track> getTrack(File path)\n {\n Start.log(\"Getting Tracks\");\n ArrayList<Track> tempTimes = new ArrayList<Track>();\n ArrayList<String> file = getFile(path);\n for (int i = 0; i < file.size();i++)\n {\n Scanner scan = new Scanner(file.get(i));\n tempTimes.add(new Track(scan.nextInt(),scan.nextInt(),scan.nextInt(),scan.nextInt()));\n }\n return tempTimes;\n }", "public void updateTrackDetails() {\n if (mTracks != null && !mTracks.isEmpty()) {\n Track track = mTracks.get(mPlayingIndex);\n if (track != null) {\n mArtistName.setText(track.getArtistName());\n mAlbumName.setText(track.getAlbumName());\n Picasso.with(getActivity()).load(track.getThumbnailImageUrl())\n .into(mAlbumArtWork);\n mTrackName.setText(track.getTrackName());\n mTrackDuration.setText(Utilities.getFormatedTime(30000));\n mNowPlaying = \"#NowPlaying \" + track.getTrackUrl();\n if (mShareActionProvider != null) {\n mShareActionProvider.setShareIntent(createShareNowPlayingIntent());\n }\n }\n }\n }", "private void m6600Q() {\n this.f5397Q = new C1290d(this, (C1296Ua) null);\n IntentFilter intentFilter = new IntentFilter();\n intentFilter.addAction(\"com.android.bbksoundrecorder.intent.action.RECORDER_STATE\");\n intentFilter.addAction(\"com.android.bbksoundrecorder.intent.action.HANDLE_ERROR\");\n intentFilter.addAction(\"android.intent.action.USER_SWITCHED\");\n C0900b.m4902a(this.f5389I).mo4900a(this.f5397Q, intentFilter);\n }", "private void manageTrackDelete(final AbstractTrack track)\n {\n if(currentTrack != null && currentTrack.equals(track)){\n sendStopTrackingEvent(currentTrack);\n currentTrack = null;\n selectBestTrack();\n }\n\n /*\n Collection<SimulatedTrack> tracks = trackManager.getCurrentTracks();\n for(SimulatedTrack existingTrack : tracks)\n {\n double trackScore = getTrackScore(existingTrack);\n if(trackScore>bestTrackScore)\n {\n bestTrackScore = trackScore;\n bestTrack = existingTrack;\n }\n }\n\n // cannot appear a simulated track with better score than a fused track\n if(bestTrack==null){\n Collection<SimulatedTrack> simulatedTracks = trackManager.getCurrentTracks();\n for(SimulatedTrack simulatedTrack : simulatedTracks)\n {\n double trackScore = getTrackScore(simulatedTrack);\n if(trackScore>bestTrackScore)\n {\n bestTrackScore = trackScore;\n bestTrack = simulatedTrack;\n }\n }\n }\n\n currentTrack = bestTrack;\n currentTrackScore = bestTrackScore;\n\n if(bestTrack==null)\n {\n // TODO implement a fail-safe mechanism to start panning for new tracks\n }\n */\n }", "@Override\n public List<Track> getAllTracks() {\n return trackRepository.findAll();\n }", "public void prepareTrack() {\n reset();\n MyTrack currentTrack = mMyTracks.get(mPosition);\n try {\n mMediaPlayer.setDataSource(currentTrack.getTrackPreviewUrl());\n } catch (IOException e) {\n e.printStackTrace();\n }\n mMediaPlayer.prepareAsync();\n }", "private ArrayList<String> getTrackPathList() {\n String MEDIA_TRACKS_PATH = \"CuraContents/tracks\";\n File fileTracks = new File(Environment.getExternalStorageDirectory(), MEDIA_TRACKS_PATH);\n if (fileTracks.isDirectory()) {\n File[] listTracksFile = fileTracks.listFiles();\n ArrayList<String> trackFilesPathList = new ArrayList<>();\n for (File file1 : listTracksFile) {\n trackFilesPathList.add(file1.getAbsolutePath());\n }\n return trackFilesPathList;\n }\n return null;\n }", "protected Void doInBackground(Integer... i) {\r\n\t\t// configure stuff\r\n\t\tint channelConfiguration = AudioFormat.CHANNEL_CONFIGURATION_MONO;\r\n\t\tint audioEncoding = AudioFormat.ENCODING_PCM_16BIT;\r\n\t\tint bufferSize = AudioRecord.getMinBufferSize(FREQUENCY, channelConfiguration, audioEncoding);\r\n\t\tAudioRecord audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, FREQUENCY, channelConfiguration,audioEncoding, bufferSize);\r\n\r\n\t\tshort[] buffer = new short[bufferSize];\r\n\t\taudioRecord.startRecording();\r\n\r\n\t\t// A linked-list object to hold our pcm data\r\n\t\tLinkedList<Short> pcmList = new LinkedList<Short>();\r\n\r\n\t\t// variable used to individual PCM data\r\n\t\tshort pcmShort;\r\n\r\n\t\t// for auto detect; used to determine time-stamp of last audio\r\n\t\tlong lastFound = 0;\r\n\t\t\r\n\r\n\t\twhile (isRecording) {\r\n\t\t\t// process new audio data\r\n\t\t\tint bufferReadResult = audioRecord.read(buffer, 0, bufferSize);\r\n\t\t\tfor (int b = 0; b < bufferReadResult; b++) {\r\n\t\t\t\t//add the incoming short to the offset\r\n\t\t\t\tpcmShort = (short) (buffer[b] + offset);\r\n\t\t\t\t\r\n\t\t\t\t//if we detect some non-noise let the timer know\r\n\t\t\t\tif (Swype.isOutsideThreshold(pcmShort)) {\r\n\t\t\t\t\tlastFound = System.currentTimeMillis();\r\n\t\t\t\t}\r\n\t\r\n\t\t\t\t//if the timer is counting, add the data to the list\r\n\t\t\t\tif (lastFound != 0) {\r\n\t\t\t\t\tpcmList.add(pcmShort);\r\n\t\t\t\t\t//pcmList_sand.add(pcmShort);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t//if the timer is running and it has been > 1/10th of a second since the last peak\r\n\t\t\tif (lastFound != 0 && (System.currentTimeMillis() - lastFound) > 100) {\r\n\t\t\t\t// make sure that the PCM data is actually of a meaningful length\r\n\t\t\t\tif (pcmList.size() > minListLen) {\r\n\t\t\t\t\t// looks like we may have found a card\r\n\t\t\t\t\taudioRecord.stop();\r\n\t\t\t\t\t if (DEBUG) Log.v(TAG,\"processing audio segment\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t// reset timer\r\n\t\t\t\t\tlastFound = 0;\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t//process the PCM data and hope for a card\r\n\r\n\t\t\t\t\t//decode the swype\r\n\t\t\t\t\tSwype swype = new Swype(pcmList);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//publishProgress(swype.getBinaryString());\r\n\t\t\t\t\t\r\n\t\t\t\t\t//publishProgress(\"Size:\" +swype.getBinaryList().size());\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (swype.isvalid()){ //TODO this is backwards\r\n\t\t\t\t\t\tif (DEBUG) Log.d(TAG, \"Swype was valid\");\r\n\t\t\t\t\r\n\t\t\t\t\t\t// get the card\r\n\t\t\t\t\t\tCard card = new Card(swype.getBinaryList());\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (card.isValid()){ //possibly check that the string is != null\r\n\t\t\t\t\t\t\tif (DEBUG) Log.d(TAG, \"card is valid\");\r\n\t\t\t\t\t\t\tpublishProgress(\"Valid Swipe!\");\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tpublishProgress(\"Invalid Swipe, outputting regardless\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tpublishProgress(\"---------------------------------------------------------\");\r\n\t\t\t\t\t\tpublishProgress(card.getASCII());\r\n\t\t\t\t\t\tpublishProgress(\" ------- binary ------------\");\r\n\t\t\t\t\t\tpublishProgress(Swype.binaryString(swype.getBinaryList()));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tpublishProgress(\"Invalid Swipe!\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\taudioRecord.startRecording();\r\n\t\t\t\t}\r\n\t\t\t\t//reset the PCMlist for the next card\r\n\t\t\t\t//pcmList.clear(); //TODO check this\r\n\t\t\t\tpcmList.clear();\r\n\t\t\t\t//pcmList_sand.clear();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t//we are done recording\r\n\t\taudioRecord.stop();\r\n\t\t//due to the Void (note the capital V) return type\r\n\t\t//the following line must be here.\r\n\t\treturn null;\r\n\t}", "public void apiFindSongsOnSpotify(Messenger handler){\n transferPlaylists = new ArrayList<>();\n updateMessage(handler,2);\n\n for(int i = 0; i < playlists.size(); i++){\n transferPlaylists.add(new Playlist(playlists.get(i).getName(),\"SPOTIFY\"));\n for(int j = 0; j < playlists.get(i).getTracks().size(); j++){\n\n Song song = playlists.get(i).getTracks().get(j);\n String termSearch = (removeFeat(song.getTrack()) + \" \" + song.getArtist());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,i,song,false);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n }\n\n\n\n try {\n updateMessage(handler,3);\n apiCreatePlaylistsSpotify(handler);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }", "public void changeTracker(String[] tracks) {\n\t\ttwitterStream.cleanUp();\n\t\tFilterQuery filterQuery = new FilterQuery();\n\t\tfilterQuery.track(tracks);\n\t\ttwitterStream.filter(filterQuery);\n\t}", "public Track() {\n locations = new ArrayList<>();\n cars = new ArrayList<>();\n }", "private void measure() {\n // input warmup time can be estimated by observing the time required for startRecording() to return.\r\n //\r\n managerBufferSize = AudioRecord.getMinBufferSize(sampleRate, AudioFormat.CHANNEL_IN_MONO,\r\n AudioFormat.ENCODING_PCM_16BIT);\r\n AudioRecord recorder = new AudioRecord(MediaRecorder.AudioSource.MIC,\r\n sampleRate,\r\n AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT,\r\n managerBufferSize);\r\n\r\n if (recorder == null || recorder.getState() != AudioRecord.STATE_INITIALIZED) {\r\n Toast.makeText(this, \"can't initialize AudioRecord\", Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n\r\n long t = System.currentTimeMillis();\r\n recorder.startRecording();\r\n long iw = (System.currentTimeMillis() - t);\r\n recorder.stop();\r\n\r\n //\r\n // determines audio warmup by seeing how long a Hardware Abstraction Layer (HAL) write() takes to stabilize.\r\n //\r\n\r\n AudioTrack player = new AudioTrack(AudioManager.STREAM_MUSIC,\r\n sampleRate,\r\n AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT,\r\n managerBufferSize, AudioTrack.MODE_STREAM);\r\n player.play();\r\n byte[] buf = new byte[frameSize * 2];\r\n\r\n final int n = 50;\r\n long[] d = new long[n];\r\n t = System.currentTimeMillis();\r\n for (int i = 0; i < n; ++i) {\r\n player.write(buf, 0, buf.length);\r\n d[i] = System.currentTimeMillis() - t;\r\n t = System.currentTimeMillis();\r\n Log.d(TAG, \"write block:\" + d[i] + \"ms\");\r\n }\r\n player.stop();\r\n\r\n Toast.makeText(this, \"Input warmup:\" + iw + \"ms\", Toast.LENGTH_LONG).show();\r\n }", "public void apiSpotifyGetTracks(Messenger handler){\n for(int i = 0; i < playlists.size(); i++){\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_gettracks, playlists.get(i).getId()))\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n\n // ensure the response (and underlying response body) is closed\n try (Response response = client.newCall(request).execute()) {\n if(response.isSuccessful()){\n JSONObject jsonObject = new JSONObject(response.body().string());\n songsToTransfer += jsonObject.getInt(\"total\");\n updateMessage(handler,1);\n\n apiSpotifyGetTracksHelper(i,jsonObject,handler);\n }\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }\n }", "@Override\n protected void onResume() {\n Log.d(TAG, \"MyTracks.onResume\");\n serviceConnection.bindIfRunning();\n super.onResume();\n }", "@Override\n public void onScanStarted() {\n Log.d(TAG, \"Scan Started\");\n }", "public void trackAcquisition() {\n track(\"_acquisition\");\n }", "public void m65918a(List<SearchTrack> list) {\n SpotifyTrackSearchTarget spotifyTrackSearchTarget = (SpotifyTrackSearchTarget) this.f56358a.H();\n if (spotifyTrackSearchTarget != null) {\n this.f56358a.f56363e = true;\n spotifyTrackSearchTarget.addTracks(list);\n this.f56358a.f56361c = this.f56358a.f56361c + 1;\n }\n }", "public void apiSpotifyGetTracksHelper(final int playlistPos, JSONObject playlistItems, Messenger handler){\n int trackTotal = 0;\n int offset = 0;\n try {\n trackTotal = playlistItems.getInt(\"total\");\n final int offsetTotal = (int) Math.ceil((double)trackTotal/100);\n //Round up to find the amount of times we need to iterate through the paging\n for(int i = 0; i < offsetTotal; i++){\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_gettracks, playlists.get(playlistPos).getId())+ \"?offset=\" + offset)\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n Call call = client.newCall(request);\n\n final CountDownLatch countDownLatch = new CountDownLatch(1);\n\n call.enqueue(new Callback(){\n\n @Override\n public void onResponse(@NotNull Call call, @NotNull Response response){\n try {\n if(response.isSuccessful()){\n String res = response.body().string();\n Log.v(TAG, res);\n try {\n JSONObject object = new JSONObject(res);\n parseSpotifyTracks(object.getJSONArray(\"items\"), playlistPos);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }else {\n Log.e(TAG, \"Not Successful: \" + response.body().string());\n }\n countDownLatch.countDown();\n } catch (IOException e){\n Log.e(TAG, \"IO Exception caught: \", e);\n countDownLatch.countDown();\n }\n\n }\n\n @Override\n public void onFailure(@NotNull Call call, @NotNull IOException e) {\n Log.e(TAG, \"IO Exception caught: \", e);\n countDownLatch.countDown();\n }\n });\n countDownLatch.await();\n // Iterate the offset by 100\n offset += 100;\n }\n\n // determine if the last parse just happened to move on to finding the songs\n if(playlistPos == playlists.size() -1){\n findSongsAtDest(handler);\n }\n } catch (JSONException | InterruptedException e) {\n e.printStackTrace();\n\n }\n\n }", "private void startEyeTracking() {\n Log.d(\"Vision\", \"Going to start Recording Activity\");\n startCameraSource();\n leftEyeOpenProbability = 0;\n rightEyeOpenProbability = 0;\n probabilityCount = 0;\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n\n\n String eyeTrackginTimerString = preferences.getString(eyeTrackingTimer, \"5\");\n Log.d(\"EyeTracking\", \"Going to start eye tracking for \" + eyeTrackginTimerString);\n int timer = 5;\n try {\n timer = Integer.parseInt(eyeTrackginTimerString);\n } catch (Exception e) {\n timer = 5;\n }\n\n new Timer().schedule(new TimerTask() {\n @Override\n public void run() {\n finalProbablityCount = probabilityCount;\n finalLeftEyeProbablity = leftEyeOpenProbability / finalRightEyeProbablity;\n finalRightEyeProbablity = rightEyeOpenProbability / finalProbablityCount;\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n createMicrophone();\n// speakAnswer();\n }\n });\n\n }\n }, timer * 1000);\n }", "private void setTrackDescriptionsAndID() {\n\t\t// Compute new definitions for all tracks\n\t\tllahTrackingOps.clearDocuments();\n\t\ttrackId_to_globalId.clear();\n\t\tglobalId_to_track.forEachEntry(( globalID, track ) -> {\n\t\t\ttrack.trackDoc = llahTrackingOps.createDocument(track.predicted.toList());\n\t\t\t// copy global landmarks into track so that in the next iteration the homography will be correct\n\t\t\ttrack.trackDoc.landmarks.reset();\n\t\t\ttrack.trackDoc.landmarks.copyAll(track.globalDoc.landmarks.toList(), ( src, dst ) -> dst.setTo(src));\n\t\t\ttrackId_to_globalId.put(track.trackDoc.documentID, globalID);\n\t\t\treturn true;\n\t\t});\n\t}", "public String getTrackNumber (){\n return trackNumber;\n }", "@Override\n public void run() {\n // We're important...\n android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);\n\n // Allocate Recorder and Start Recording...\n int minBufferSize = AudioRecord.getMinBufferSize(sampleRate, channelConfig, audioEncoding);\n if (AudioRecord.ERROR_BAD_VALUE == minBufferSize || AudioRecord.ERROR == minBufferSize){\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n showDialog(\"Error recording audio\", \"Your audio hardware doesn't support the sampling rate you have specified.\" +\n \"Try a lower sampling rate, if that doesn't work your audio hardware might be broken.\");\n actionButton.performClick();\n }\n });\n return;\n }\n int bufferSize = 2 * minBufferSize;\n AudioRecord recordInstance =\n new AudioRecord(MediaRecorder.AudioSource.MIC, sampleRate, channelConfig, audioEncoding,\n bufferSize);\n if (recordInstance.getState() != AudioRecord.STATE_INITIALIZED) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n showDialog(\"Error recording audio\", \"Unable to access the audio recording hardware - is your mic working?\");\n actionButton.performClick();\n }\n });\n return;\n }\n\n byte[] tempBuffer = new byte[bufferSize];\n\n String sdDirectory = Environment.getExternalStorageDirectory().toString();\n outFile = new File(sdDirectory + \"/\" + filename);\n rawFile = new File(sdDirectory+\"/\"+rawFileName);\n if (outFile.exists())\n outFile.delete();\n\n FileOutputStream outStream = null;\n FileOutputStream rawOutputStream = null;\n try {\n outFile.createNewFile();\n rawFile.createNewFile();\n outStream = new FileOutputStream(outFile);\n rawOutputStream = new FileOutputStream(rawFile);\n outStream.write(createHeader(0));// Write a dummy header for a file of length 0 to get updated later\n } catch (Exception e) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n showDialog(\"Error creating file\", \"The WAV file you specified \"\n + \"couldn't be created. Try again with a \" + \"different filename.\");\n outFile = null;\n actionButton.performClick();\n }\n });\n return;\n }\n\n recordInstance.startRecording();\n\n try {\n while (isListening) {\n recordInstance.read(tempBuffer, 0, bufferSize);\n outStream.write(tempBuffer);\n rawOutputStream.write(tempBuffer);\n }\n } catch (final IOException e) {\n runOnUiThread(new Runnable() {\n\n @Override\n public void run() {\n showDialog(\"IO Exception\", \"An exception occured when writing to disk or reading from the microphone\\n\"\n + e.getLocalizedMessage()\n + \"\\nWhat you have recorded so far should be saved to disk.\");\n actionButton.performClick();\n }\n\n });\n } catch (OutOfMemoryError om) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n showDialog(\"Out of memory\", \"The system has been \" + \"too strong for too long - but what you \"\n + \"recorded up to now has been saved.\");\n System.gc();\n actionButton.performClick();\n }\n });\n }\n\n // we're done recording\n Log.d(\"Capture\", \"Stopping recording\");\n recordInstance.stop();\n try {\n outStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public void play() {\n Runtime.getRuntime().gc();\n stop = false;\n if (CodecHandler.getIndex() == -1) {\n index = 0;\n } else {\n index = CodecHandler.getIndex();\n }\n //paused = false;\n\n\n System.out.println(index);\n while (!stop) {\n init(CodecHandler.getPlayList().getFileList().get(index));\n\n try {\n if (line != null) {\n // open the output line and send 4K of data as a buffer\n line.open(decodedFormat);\n // specify buffer size\n byte[] data = new byte[8192];\n // start playing\n //line.start();\n System.out.println(getVolumeControl().getMaximum());\n System.out.println(getVolumeControl().getMinimum());\n int numBytesRead;\n// while ((numBytesRead = decodedInput.read(data, 0, data.length)) != -1) {\n// line.write(data, 0, numBytesRead);\n// }\n synchronized (lock) {\n while ((numBytesRead = decodedInput.read(data, 0, data.length)) != -1) {\n while (paused) {\n if (line.isRunning()) {\n line.drain();\n line.stop();\n }\n try {\n lock.wait();\n } catch (InterruptedException e) {\n }\n }\n\n if (!line.isRunning()) {\n line.start();\n }\n line.write(data, 0, numBytesRead);\n }\n }\n if (!stop) {\n index++;\n }\n\n // stop track\n line.drain();\n line.stop();\n line.close();\n decodedInput.close();\n\n if (index >= CodecHandler.getPlayList().getFileList().size()) {\n index = 0;\n }\n CodecHandler.setIndex(index);\n\n }\n } catch (IOException ioe) {\n ioe.printStackTrace();\n } catch (LineUnavailableException lue) {\n lue.printStackTrace();\n }\n }\n System.out.println(index);\n Runtime.getRuntime().gc();\n }", "private void m14048a(List<ScanResult> list, SQLiteDatabase sQLiteDatabase) {\n Throwable th;\n System.currentTimeMillis();\n this.f18056e = false;\n if (list != null && list.size() != 0 && sQLiteDatabase != null && list != null) {\n double d = 0.0d;\n double d2 = 0.0d;\n int i = 0;\n Object obj = null;\n double[] dArr = new double[8];\n Object obj2 = null;\n int i2 = 0;\n StringBuffer stringBuffer = new StringBuffer();\n int i3 = 0;\n for (ScanResult scanResult : list) {\n if (i3 > 10) {\n break;\n }\n if (i3 > 0) {\n stringBuffer.append(\",\");\n }\n i3++;\n stringBuffer.append(\"\\\"\").append(Jni.encode2(scanResult.BSSID.replace(Config.TRACE_TODAY_VISIT_SPLIT, \"\"))).append(\"\\\"\");\n }\n Cursor cursor = null;\n Cursor rawQuery;\n try {\n rawQuery = sQLiteDatabase.rawQuery(\"select * from wof where id in (\" + stringBuffer.toString() + \");\", null);\n try {\n if (rawQuery.moveToFirst()) {\n while (!rawQuery.isAfterLast()) {\n double d3 = rawQuery.getDouble(1) - 113.2349d;\n double d4 = rawQuery.getDouble(2) - 432.1238d;\n int i4 = rawQuery.getInt(4);\n int i5 = rawQuery.getInt(5);\n if (i5 <= 8 || i5 <= i4) {\n int i6;\n Object obj3;\n float[] fArr;\n if (!this.f18055d) {\n if (obj == null) {\n int i7;\n if (obj2 != null) {\n int i8 = 0;\n while (i8 < i2) {\n Object obj4;\n double d5;\n double d6;\n fArr = new float[1];\n Location.distanceBetween(d4, d3, dArr[i8 + 1], dArr[i8], fArr);\n if (fArr[0] < 1000.0f) {\n obj4 = 1;\n d5 = d + dArr[i8];\n d6 = dArr[i8 + 1] + d2;\n i5 = i + 1;\n } else {\n obj4 = obj;\n i5 = i;\n d6 = d2;\n d5 = d;\n }\n i8 += 2;\n d2 = d6;\n d = d5;\n obj = obj4;\n i = i5;\n }\n if (obj == null) {\n if (i2 >= 8) {\n break;\n }\n i4 = i2 + 1;\n dArr[i2] = d3;\n i7 = i4 + 1;\n dArr[i4] = d4;\n i6 = i7;\n obj3 = obj2;\n } else {\n d += d3;\n d2 += d4;\n i++;\n i6 = i2;\n obj3 = obj2;\n }\n } else {\n i4 = i2 + 1;\n dArr[i2] = d3;\n i7 = i4 + 1;\n dArr[i4] = d4;\n i3 = 1;\n i6 = i7;\n }\n } else {\n fArr = new float[1];\n Location.distanceBetween(d4, d3, d2 / ((double) i), d / ((double) i), fArr);\n if (fArr[0] > 1000.0f) {\n rawQuery.moveToNext();\n } else {\n i6 = i2;\n obj3 = obj2;\n }\n }\n } else {\n fArr = new float[1];\n Location.distanceBetween(d4, d3, this.f18059h, this.f18058g, fArr);\n if (((double) fArr[0]) > this.f18057f + 2000.0d) {\n rawQuery.moveToNext();\n } else {\n obj = 1;\n d += d3;\n d2 += d4;\n i++;\n i6 = i2;\n obj3 = obj2;\n }\n }\n if (i > 4) {\n break;\n }\n rawQuery.moveToNext();\n i2 = i6;\n obj2 = obj3;\n } else {\n rawQuery.moveToNext();\n }\n }\n if (i > 0) {\n this.f18056e = true;\n this.f18060i = d / ((double) i);\n this.f18061j = d2 / ((double) i);\n }\n }\n if (rawQuery != null) {\n try {\n rawQuery.close();\n } catch (Exception e) {\n }\n }\n } catch (Exception e2) {\n cursor = rawQuery;\n } catch (Throwable th2) {\n th = th2;\n }\n } catch (Exception e3) {\n if (cursor != null) {\n try {\n cursor.close();\n } catch (Exception e4) {\n }\n }\n } catch (Throwable th3) {\n rawQuery = null;\n th = th3;\n if (rawQuery != null) {\n try {\n rawQuery.close();\n } catch (Exception e5) {\n }\n }\n throw th;\n }\n }\n }", "private void setupRecord() {\n\t\tint bufferSize = AudioRecord.getMinBufferSize(SAMPLE_RATE,\n\t\t\t\tAudioFormat.CHANNEL_CONFIGURATION_MONO,\n\t\t\t\tAudioFormat.ENCODING_PCM_16BIT);\n\t\taudioRecorder = new AudioRecord(MediaRecorder.AudioSource.MIC,\n\t\t\t\tSAMPLE_RATE, AudioFormat.CHANNEL_CONFIGURATION_MONO,\n\t\t\t\tAudioFormat.ENCODING_PCM_16BIT, bufferSize);\n\n\t\t// Create AudioTrack object to playback the audio.\n\t\tint iMinBufSize = AudioTrack.getMinBufferSize(SAMPLE_RATE,\n\t\t\t\tAudioFormat.CHANNEL_CONFIGURATION_STEREO,\n\t\t\t\tAudioFormat.ENCODING_PCM_16BIT);\n\t\taudioTracker = new AudioTrack(AudioManager.STREAM_MUSIC, SAMPLE_RATE,\n\t\t\t\tAudioFormat.CHANNEL_CONFIGURATION_MONO,\n\t\t\t\tAudioFormat.ENCODING_PCM_16BIT, iMinBufSize * 10,\n\t\t\t\tAudioTrack.MODE_STREAM);\n\n\t\taudioTracker.play();\n\t}", "public void addTracksToQueue() {\n for(String uri : getMoreTracks())\n player.queue(uri);\n }", "private void m6669y() {\n long currentTimeMillis = System.currentTimeMillis();\n long j = this.f5381A;\n if (currentTimeMillis - j > 200 || j == 0) {\n this.f5381A = currentTimeMillis;\n AudioManager audioManager = this.f5405Y;\n if (audioManager != null) {\n if (this.f5414ea) {\n audioManager.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n this.f5414ea = false;\n C1492b.m7433a((Context) AppFeature.m6734b(), getResources().getString(R.string.aec_close), 0);\n } else {\n audioManager.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n this.f5414ea = true;\n C1492b.m7433a((Context) AppFeature.m6734b(), getResources().getString(R.string.aec_open), 0);\n }\n C1387D.m6763a(this.f5414ea);\n }\n }\n }", "@Subscribe(threadMode = ThreadMode.MAIN)\n public void onDevicesReceived(OnReceiverDevicesEvent event){\n //if(!devicesListAdapter.isEmpty()) devicesListAdapter.clear(); // clear old names\n\n\n devicesListAdapter.removeAll();\n Log.d(\"P2P\", \"Found something on events!\");\n //Toast.makeText(getContext(), \"Found something\", Toast.LENGTH_LONG).show();\n Collection<WifiP2pDevice> devs = event.getDevices().getDeviceList();\n devsList.addAll(devs);\n\n\n\n for(int i = 0; i < devsList.size(); i++){\n\n if(!devicesListAdapter.hasItem(devsList.get(i))){\n Log.d(\"P2P\", \"Device Found: \" + devsList.get(0).deviceName);\n devicesListAdapter.add(devsList.get(i).deviceName);\n devicesListAdapter.notifyDataSetChanged();\n }\n\n }\n\n\n }", "public void onUpdatedPlaylist() {\n setCurrentTrack();\n //this was implemented so this device could have a view of the playlist\n }", "public void onLoadMenuTop10Selected(List<Track> topTenMediaItems);", "@Override\n public void run() {\n scanLeDevice(false);\n }", "private void startRecording() {\n\n }", "public Track(){\n\t\tthis.trk = trackGenerator();\n\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n Log.d(TAG, \"MyTracks.onCreate\");\n super.onCreate(savedInstanceState);\n ApiFeatures apiFeatures = ApiFeatures.getInstance();\n if (!SystemUtils.isRelease(this)) {\n apiFeatures.getApiAdapter().enableStrictMode();\n }\n \n tracker = GoogleAnalyticsTracker.getInstance();\n // Start the tracker in manual dispatch mode...\n tracker.start(getString(R.string.my_tracks_analytics_id), getApplicationContext());\n tracker.setProductVersion(\"android-mytracks\", SystemUtils.getMyTracksVersion(this));\n tracker.trackPageView(\"/appstart\");\n tracker.dispatch();\n \n providerUtils = MyTracksProviderUtils.Factory.get(this);\n preferences = getSharedPreferences(Constants.SETTINGS_NAME, Context.MODE_PRIVATE);\n dataHub = ((MyTracksApplication) getApplication()).getTrackDataHub();\n menuManager = new MenuManager(this);\n serviceConnection = new TrackRecordingServiceConnection(this, serviceBindCallback);\n \n // The volume we want to control is the Text-To-Speech volume\n int volumeStream =\n new StatusAnnouncerFactory(apiFeatures).getVolumeStream();\n setVolumeControlStream(volumeStream);\n \n // We don't need a window title bar:\n requestWindowFeature(Window.FEATURE_NO_TITLE);\n \n final Resources res = getResources();\n final TabHost tabHost = getTabHost();\n tabHost.addTab(tabHost.newTabSpec(\"tab1\")\n .setIndicator(\"Map\", res.getDrawable(\n android.R.drawable.ic_menu_mapmode))\n .setContent(new Intent(this, MapActivity.class)));\n tabHost.addTab(tabHost.newTabSpec(\"tab2\")\n .setIndicator(\"Stats\", res.getDrawable(R.drawable.menu_stats))\n .setContent(new Intent(this, StatsActivity.class)));\n tabHost.addTab(tabHost.newTabSpec(\"tab3\")\n .setIndicator(\"Chart\", res.getDrawable(R.drawable.menu_elevation))\n .setContent(new Intent(this, ChartActivity.class)));\n \n // Hide the tab widget itself. We'll use overlayed prev/next buttons to\n // switch between the tabs:\n tabHost.getTabWidget().setVisibility(View.GONE);\n \n RelativeLayout layout = new RelativeLayout(this);\n LayoutParams params =\n new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);\n layout.setLayoutParams(params);\n navControls =\n new NavControls(this, layout,\n getResources().obtainTypedArray(R.array.left_icons),\n getResources().obtainTypedArray(R.array.right_icons),\n changeTab);\n navControls.show();\n tabHost.addView(layout);\n layout.setOnTouchListener(this);\n \n if (!EulaUtil.getEulaValue(this)) {\n showDialog(DIALOG_EULA_ID);\n }\n }", "@Override\n public void onPrepared(MediaPlayer mp) {\n Log.d(TAG, \"onPrepared() called\");\n mMediaPlayer.start();\n\n // Notify listeners that a new track has started.\n PreferenceManager.getDefaultSharedPreferences(getApplicationContext())\n .edit()\n .putString(MainActivity.PREF_CURRENT_ALBUM, playListItem.getAlbumName())\n .putString(MainActivity.PREF_CURRENT_ARTIST_NAME, playListItem.getArtistName())\n .putString(MainActivity.PREF_CURRENT_ARTIST_SPOTIFY_ID, playListItem.getArtistId())\n .putString(MainActivity.PREF_CURRENT_TRACK_NAME, playListItem.getTrackName())\n .putString(MainActivity.PREF_CURRENT_TRACK_SPOTIFY_ID, playListItem.getTrackId())\n .putString(MainActivity.PREF_CURRENT_TRACK_URL, playListItem.getTrackUri())\n .putBoolean(MainActivity.PREF_IS_PLAYING, true)\n .commit();\n\n Intent intent = new Intent(TRACK_START_BROADCAST_FILTER);\n intent.putExtra(SpotifyStreamerActivity.KEY_CURRENT_TRACK, playListItem);\n LocalBroadcastManager.getInstance(StreamerMediaService.this).sendBroadcast(intent);\n }", "public void checkAddTrack() {\n this.trackList.sort();\n int time = this.timeTrankiManager.getTrackTimeOfNext();\n Date dateCorruent = this.timeTrankiManager.getTime();\n\n if (time > 0) {\n Track trackIndicated = this.trackList.getTracklessTime(time);\n if (trackIndicated != null) {\n this.trackListFinal.addTrack(dateCorruent, trackIndicated);\n this.trackList.removeTrack(trackIndicated);\n this.timeTrankiManager.addMinute(trackIndicated.getTime());\n } else {\n this.trackListFinal.addTrack(dateCorruent, \"Networking Event\");\n this.trackListFinal.addEmpityEspace();\n resetTimeTrackingManager();\n }\n \n } else if (time == -1) {\n this.trackListFinal.addTrack(dateCorruent, \"Lunch\");\n this.timeTrankiManager.addMinute(60);\n } else if (time == -2) {\n this.trackListFinal.addTrack(dateCorruent, \"Networking Event\");\n this.trackListFinal.addEmpityEspace();\n resetTimeTrackingManager();\n } else {\n this.trackListFinal.addTrack(dateCorruent, \"Networking Event\");\n resetTimeTrackingManager();\n }\n }", "void startTracking();", "@Override\n\tpublic boolean listen(Track tracks, int begin, int end) {\n\t\treturn false;\n\t}", "private Track searchTrack(String name) {\n for(Track e: listTracks) {\n if(e.sDataPath.equals(name)) return e;\n }\n return null;\n }", "private void populate(Model model, List<AupLabelTrack> aupLabelTracks, AupWaveTracks aupWaveTracks) {\n\t\t\n\t\tif (aupLabelTracks.size()!= aupWaveTracks.size()) {\n\t\t\tString message = mTransformer.delegateLocalize(\"WAVE_LABEL_TRACK_COUNT_MISMATCH\",null);\n\t\t\tthrow new IllegalStateException(message);\n\t\t}\t\n\n\t\tdouble totalElapsedSeconds = 0;//total presentation time\n\t\t\n\t\tfor (int i = 0; i < aupLabelTracks.size(); i++) {\n//\t\t\tdebug\n//\t\t\tSystem.err.print(\"Track \" + (i+1));\n//\t\t\tif(i==aupLabelTracks.size()-1) {\n//\t\t\t\tSystem.err.print(\"=last track\");\n//\t\t\t}\n//\t\t\tSystem.err.println(\"\");\n//\t\t\tend debug\n\t\t\t\n\t\t\tAupLabelTrack labelTrack = aupLabelTracks.get(i);\n\t\t\tAupWaveTrack waveTrack = aupWaveTracks.get(i);\n\t\t\t\t\t\t\t\t\t\n\t\t\tfor (int j = 0; j < labelTrack.size(); j++) {\n\t\t\t\tAupLabel label = labelTrack.get(j);\t\t\t\t\n\t\t\t\t//get the presentation start and end durs for this label\n\t\t\t\t//may or may not be in same file, may or may not be in same wavetrack\t\t\t\t\n\t\t\t\t//the labelStart and labelEnd values represent clocks vis-a-vis\t\t\t\t\n\t\t\t\t//the whole presentation.\n\t\t\t\t\n\t\t\t\tdouble labelStartSeconds;\n\t\t\t\tif(i==0) {\n\t\t\t\t\tlabelStartSeconds = label.getStartTimeSeconds();\n\t\t\t\t}else{\n\t\t\t\t\t//append passed time\n\t\t\t\t\tlabelStartSeconds = totalElapsedSeconds+label.getStartTimeSeconds();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//get the start of the next label (ignore label self-duration for now)\n\t\t\t\tdouble nextLabelStartSeconds;\n\t\t\t\tif(j<labelTrack.size()-1) {\n\t\t\t\t\t//next label in same wavetrack\n\t\t\t\t\tnextLabelStartSeconds = labelTrack.get(j+1).getStartTimeSeconds();\n\t\t\t\t}else{\n\t\t\t\t\t//next label in next wavetrack\n\t\t\t\t\tif(i<aupWaveTracks.size()-1) {\n\t\t\t\t\t\t//a next wavetrack exists\n\t\t\t\t\t\tAupLabelTrack nextTrack = aupLabelTracks.get(i+1);\n\t\t\t\t\t\tAupLabel nextLabel = nextTrack.getFirst();\t\t\t\t\t\t\n\t\t\t\t\t\tnextLabelStartSeconds = nextLabel.getStartTimeSeconds() + waveTrack.getDurationSeconds();\n\t\t\t\t\t}else{\n\t\t\t\t\t\t//we are at the last label of the last wavetrack\n\t\t\t\t\t\t//this clip should be set to physical end of the track\n\t\t\t\t\t\tnextLabelStartSeconds = waveTrack.getDurationSeconds();\n\t\t\t\t\t}\n\t\t\t\t}\t\t\t\t\n\t\t\t\tif(i>0) {\n\t\t\t\t\t//append passed time\n\t\t\t\t\tnextLabelStartSeconds += totalElapsedSeconds; \n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t/*\n\t\t\t\t * Get the clips that represent this interval\n\t\t\t\t * (say, an entire page).\n\t\t\t\t */\n\t\t\t\tList<AudioClip> intervalClips = new LinkedList<AudioClip>();\n\t\t\t\t\n\t\t\t\t//if label.hasDuration, then we should create a shouldPersist clip for that\n\t\t\t\t//this is typically done for pagenum and heading announcements\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\tif(label.hasDuration()) {\n\t\t\t\t\tList<AudioClip> labelClips = null;\n\t\t\t\t\t//the clip is typically one file == one clip, but if we are unlucky,\n\t\t\t\t\t//its split over several physical files.\n\t\t\t\t\tlabelClips = \n\t\t\t\t\t\taupWaveTracks.getClips(\n\t\t\t\t\t\t\t\tlabelStartSeconds, labelStartSeconds + label.getDurationSeconds());\n\t\t\t\t\tint k = 0;\n\t\t\t\t\tfor(AudioClip clip : labelClips) {\n\t\t\t\t\t\tk++;\n\t\t\t\t\t\tif(k==1) {\n\t\t\t\t\t\t\tclip.setNature(Nature.NONTRANSIENT);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t//the smil renderer should make this one audio element\n\t\t\t\t\t\t\tclip.setNature(Nature.TRANSIENT);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tintervalClips.addAll(labelClips);\n\t\t\t\t\t//reset labelStartSeconds to be beyond the clip(s) we just got \n\t\t\t\t\tlabelStartSeconds = labelStartSeconds+ label.getDurationSeconds();\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t//now get all clips until the next label start\n\t\t\t\tintervalClips.addAll(aupWaveTracks.getClips(labelStartSeconds,nextLabelStartSeconds));\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t//done.\n\t\t\t\tmodel.add(new Item(label.getSemantic(),label.getValue(),intervalClips));\n\t\t\t\t\n\t\t\t}//for (int j = 0; j < labelTrack.size(); j++)\t\n\t\t\ttotalElapsedSeconds += waveTrack.getDurationSeconds();\n\t\t}//for (int i = 0; i < aupLabelTracks.size(); i++\t\t\t\t\n\t}", "private void startrecoding() {\r\n\r\n Calendar calendar_time = Calendar.getInstance();\r\n SimpleDateFormat simpleDateFormat_time = new SimpleDateFormat(DataManager.TimePattern);\r\n String CurrentTime = simpleDateFormat_time.format(calendar_time.getTime());\r\n\r\n mFileName = Environment.getExternalStorageDirectory().getAbsolutePath();\r\n mFileName += \"/AudioRecording\" + CurrentTime + \".3gp\";\r\n\r\n mediaRecorder = new MediaRecorder();\r\n\r\n mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);\r\n mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);\r\n mediaRecorder.setOutputFile(mFileName);\r\n mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);\r\n\r\n try {\r\n\r\n mediaRecorder.prepare();\r\n mediaRecorder.start();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n\r\n }", "public void m65917a(List<SearchTrack> list) {\n SpotifyTrackSearchTarget spotifyTrackSearchTarget = (SpotifyTrackSearchTarget) this.f56357a.H();\n if (spotifyTrackSearchTarget != null) {\n spotifyTrackSearchTarget.addTracks(list);\n }\n }", "@Override\n public boolean onInfo(MediaPlayer mp, int what, int extra) {\n\n Log.v(\"FreshAir\", \"onInfo (\" + what + \" - \" + extra + \")\");\n\n switch (what) {\n case 701: //MediaPlayer.MEDIA_INFO_BUFFERING_START:\n text_info.setText(\"Buffering ...\");\n progress_main.setVisibility(View.VISIBLE);\n isPlaying = true; // ie you cant re set the data sourse without\n // stoping first\n break;\n\n case 702: //MediaPlayer.MEDIA_INFO_BUFFERING_END:\n text_info.setText(\"Playing ...\");\n progress_main.setVisibility(View.INVISIBLE);\n isPlaying = true;\n\n default:\n break;\n }\n\n return true; // return true to stop the OS calling 'onError'\n }", "public Track() {\r\n }", "@Override\n public void onNext(List<Track> tracks) {\n JSONManager.JsonTrackWriter(tracks);\n }", "@Override\n \tpublic void onReceive(Context context, Intent intent)\n \t{\n \tMediaInfoArtist = intent.getStringExtra(\"artist\");\n \tMediaInfoAlbum = intent.getStringExtra(\"album\");\n \tMediaInfoTrack = intent.getStringExtra(\"track\");\n \tMediaInfoNeedsUpdate = true;\n \tLog.d(\"OLV Music\",\"Artist: \"+MediaInfoArtist+\", Album: \"+MediaInfoAlbum+\" and Track: \"+MediaInfoTrack);\n \t}", "public boolean hasTracks() {\n for (Mounted mEquip : getMisc()) {\n MiscType mtype = (MiscType) mEquip.getType();\n if (mtype.hasFlag(MiscType.F_TRACKS)) {\n // The Mek has tracks\n return true;\n }\n }\n return false;\n }", "private static void setupVolume(android.media.AudioTrack r1, float r2, float r3) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.speech.tts.BlockingAudioTrack.setupVolume(android.media.AudioTrack, float, float):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.speech.tts.BlockingAudioTrack.setupVolume(android.media.AudioTrack, float, float):void\");\n }", "@Override\n\tpublic boolean listen(ArrayList<Track> tracks, int begin, int end) {\n\t\treturn false;\n\t}", "public static void trackCheck() {\n\t\t// reset the motor\n\t\tfor (EV3LargeRegulatedMotor motor : new EV3LargeRegulatedMotor[] { leftMotor, rightMotor }) {\n\t\t\tmotor.stop();\n\t\t\tmotor.setAcceleration(3000);\n\t\t}\n\t\ttry {\n\t\t\tThread.sleep(200);\n\t\t} catch (InterruptedException e) {\n\t\t\t// There is nothing to be done here\n\t\t}\n\t\t\n\t\t//move the robot forward until the Y asis is detected\n\t\tleftMotor.setSpeed(400);\n\t\trightMotor.setSpeed(400);\n\t\tleftMotor.rotate(Navigation_Test.convertAngle(Project_Test.WHEEL_RAD, Project_Test.TRACK, 720), true);\n\t\trightMotor.rotate(-Navigation_Test.convertAngle(Project_Test.WHEEL_RAD, Project_Test.TRACK, 720), false);\n\t}", "public default void onReplayDevicesLoaded() { /* empty */ }", "private void initTracks() {\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame1.getUI()).setNorthPane(null);\n jInternalFrame1.setVisible(false);\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame2.getUI()).setNorthPane(null);\n jInternalFrame2.setVisible(false);\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame3.getUI()).setNorthPane(null);\n jInternalFrame3.setVisible(false);\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame4.getUI()).setNorthPane(null);\n jInternalFrame4.setVisible(false);\n \n //Creates the track array\n trackArray = new javax.swing.JInternalFrame[4];\n trackArray[0] = jInternalFrame1;\n trackArray[1] = jInternalFrame2;\n trackArray[2] = jInternalFrame3;\n trackArray[3] = jInternalFrame4;\n \n //Creates the waveforme array\n waveArray = new javax.swing.JPanel[4];\n waveArray[0] = track1Wave;\n waveArray[1] = track2Wave;\n waveArray[2] = track3Wave;\n waveArray[3] = track4Wave;\n \n //Creates tracklabel array\n labelArray = new javax.swing.JLabel[4];\n labelArray[0] = jLabel18;\n labelArray[1] = jLabel19;\n labelArray[2] = jLabel17;\n labelArray[3] = jLabel20;\n }", "public void monitorFoundDevices() {\n //start a thread\n new Thread() {\n public void run() {\n //loop till mBeaconListAdapter has been skilled.\n while(mBeaconListAdapter != null) {\n try {\n //Since it will update UI, runOnUiThread is called here.\n getActivity().runOnUiThread(new Runnable() {\n @Override\n public void run() {\n for (int i = 0; i < mBeaconListAdapter.getCount(); i++) {\n if (!mBleWrapper.checkDeviceConnection(mBeaconListAdapter.\n getDevice(i).getAddress()))\n mBeaconListAdapter.removeDevice(i);\n }\n }\n });\n\n Thread.sleep(MONITOR_DELAY_TIME_INTERVAL);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }\n }.start();\n }", "public interface MetaInfo {\n\n String DIR_EMPTY = \"empty\";\n\n\n //===========================\n float WEIGHT_CAMERA_MOTION = 1;\n float WEIGHT_LOCATION = 1;\n float WEIGHT_MEDIA_TYPE = 1;\n float WEIGHT_SHORT_TYPE = 1;\n\n float WEIGHT_MEDIA_DIR = 3f;\n float WEIGHT_TIME = 3;\n float WEIGHT_VIDEO_TAG = 2.5f;\n float WEIGHT_SHOT_KEY = 5f;\n float WEIGHT_SHOT_CATEGORY = 2.5f;\n\n int FLAG_TIME = 0x0001;\n int FLAG_LOCATION = 0x0002;\n int FLAG_MEDIA_TYPE = 0x0004;\n int FLAG_MEDIA_DIR = 0x0008;\n int FLAG_SHOT_TYPE = 0x0010;\n int FLAG_CAMERA_MOTION = 0x0020;\n int FLAG_VIDEO_TAG = 0x0040;\n int FLAG_SHOT_KEY = 0x0080;\n int FLAG_SHOT_CATEGORY = 0x0100;\n\n //================= location ==================\n int LOCATION_NEAR_GPS = 1;\n int LOCATION_SAME_COUNTRY = 2;\n int LOCATION_SAME_PROVINCE = 3; //省,市,区\n int LOCATION_SAME_CITY = 4;\n int LOCATION_SAME_REGION = 5;\n\n //=================== for camera motion ====================\n int STILL = 0; // 静止, class 0\n int ZOOM = 3; // 前后移动(zoomIn or zoomOut), class 1\n int ZOOM_IN = 4;\n int ZOOM_OUT = 5;\n int PAN = 6; // 横向移动(leftRight or rightLeft), class 2\n int PAN_LEFT_RIGHT = 7;\n int PAN_RIGHT_LEFT = 8;\n int TILT = 9; // 纵向移动(upDown or downUp), class 3\n int TILT_UP_DOWN = 10;\n int TILT_DOWN_UP = 11;\n int CATEGORY_STILL = 1;\n int CATEGORY_ZOOM = 2;\n int CATEGORY_PAN = 3;\n int CATEGORY_TILT = 4;\n\n //图像类型。视频,图片。 已有\n\n //============== shooting device =================\n /**\n * the shoot device: cell phone\n */\n int SHOOTING_DEVICE_CELLPHONE = 1;\n /**\n * the shoot device: camera\n */\n int SHOOTING_DEVICE_CAMERA = 2;\n\n /**\n * the shoot device: drone\n */\n int SHOOTING_DEVICE_DRONE = 3; //无人机\n\n\n //====================== shooting mode ===========================\n /**\n * shooting mode: normal\n */\n int SHOOTING_MODE_NORMAL = 1;\n /**\n * shooting mode: slow motion\n */\n int SHOOTING_MODE_SLOW_MOTION = 2;\n /**\n * shooting mode: time lapse\n */\n int SHOOTING_MODE_TIME_LAPSE = 3;\n\n //=========================== shot type =======================\n /**\n * shot type: big - long- short ( 大远景)\n */\n int SHOT_TYPE_BIG_LONG_SHORT = 5;\n /**\n * shot type: long short ( 远景)\n */\n int SHOT_TYPE_LONG_SHORT = 4;\n\n /** medium long shot. (中远景) */\n int SHOT_TYPE_MEDIUM_LONG_SHOT = 3;\n /**\n * shot type: medium shot(中景)\n */\n int SHOT_TYPE_MEDIUM_SHOT = 2;\n /**\n * shot type: close up - chest ( 特写-胸)\n */\n int SHOT_TYPE_MEDIUM_CLOSE_UP = 1;\n\n /**\n * shot type: close up -head ( 特写-头)\n */\n int SHOT_TYPE_CLOSE_UP = 0;\n\n int SHOT_TYPE_NONE = -1;\n\n int CATEGORY_CLOSE_UP = 12; //特写/近景\n int CATEGORY_MIDDLE_VIEW = 11; //中景\n int CATEGORY_VISION = 10; //远景\n\n //========================== time ==========================\n int[] MORNING_HOURS = {7, 8, 9, 10, 11};\n int[] AFTERNOON_HOURS = {12, 13, 14, 15, 16, 17};\n //int[] NIGHT_HOURS = {18, 19, 20, 21, 22, 24, 1, 2, 3, 4, 5, 6};\n int TIME_SAME_DAY = 1;\n int TIME_SAME_PERIOD_IN_DAY = 2; //timeSamePeriodInDay\n\n class LocationMeta {\n private double longitude, latitude;\n /**\n * 高程精度比水平精度低原因,主要是GPS测出的是WGS-84坐标系下的大地高,而我们工程上,也就是电子地图上采用的高程一般是正常高,\n * 它们之间的转化受到高程异常和大地水准面等误差的制约。\n * 卫星在径向的定轨精度较差,也限制了GPS垂直方向的精度。\n */\n private int gpsHeight; //精度不高\n private String country, province, city, region; //国家, 省, 市, 区\n\n public double getLongitude() {\n return longitude;\n }\n\n public void setLongitude(double longitude) {\n this.longitude = longitude;\n }\n\n public double getLatitude() {\n return latitude;\n }\n\n public void setLatitude(double latitude) {\n this.latitude = latitude;\n }\n\n public String getCountry() {\n return country;\n }\n\n public void setCountry(String country) {\n this.country = country;\n }\n\n public String getProvince() {\n return province;\n }\n\n public void setProvince(String province) {\n this.province = province;\n }\n\n public String getCity() {\n return city;\n }\n\n public void setCity(String city) {\n this.city = city;\n }\n\n public String getRegion() {\n return region;\n }\n\n public void setRegion(String region) {\n this.region = region;\n }\n\n public int getGpsHeight() {\n return gpsHeight;\n }\n\n public void setGpsHeight(int gpsHeight) {\n this.gpsHeight = gpsHeight;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n\n LocationMeta that = (LocationMeta) o;\n\n if (Double.compare(that.longitude, longitude) != 0) return false;\n if (Double.compare(that.latitude, latitude) != 0) return false;\n if (gpsHeight != that.gpsHeight) return false;\n if (country != null ? !country.equals(that.country) : that.country != null)\n return false;\n if (province != null ? !province.equals(that.province) : that.province != null)\n return false;\n if (city != null ? !city.equals(that.city) : that.city != null) return false;\n return region != null ? region.equals(that.region) : that.region == null;\n }\n }\n\n /**\n * the meta data of image/video ,something may from 'AI'.\n */\n class ImageMeta extends SimpleCopyDelegate{\n private String path;\n private int mediaType;\n /** in mills */\n private long date;\n\n /** in mill-seconds */\n private long duration;\n private int width, height;\n\n private LocationMeta location;\n\n /**\n * frames/second\n */\n private int fps = 30;\n /** see {@linkplain IShotRecognizer#CATEGORY_ENV} and etc. */\n private int shotCategory;\n /**\n * the shot type\n */\n private String shotType;\n\n /** shot key */\n private String shotKey;\n /**\n * 相机运动\n */\n private String cameraMotion;\n /** video tags */\n private List<List<Integer>> tags;\n\n /** the whole frame data of video(from analyse , like AI. ), after read should not change */\n private SparseArray<VideoDataLoadUtils.FrameData> frameDataMap;\n /** the high light data. key is the time in seconds. */\n private SparseArray<List<? extends IHighLightData>> highLightMap;\n private HighLightHelper mHighLightHelper;\n\n /** 主人脸个数 */\n private int mainFaceCount = -1;\n private int mBodyCount = -1;\n\n /** 通用tag信息 */\n private List<FrameTags> rawVideoTags;\n /** 人脸框信息 */\n private List<FrameFaceRects> rawFaceRects;\n\n //tag indexes\n private List<Integer> nounTags;\n private List<Integer> domainTags;\n private List<Integer> adjTags;\n\n private Location subjectLocation;\n\n //-------------------------- start High-Light ----------------------------\n /** set metadata for high light data. (from load high light) */\n public void setMediaData(MediaData mediaData) {\n List<MediaData.HighLightPair> hlMap = mediaData.getHighLightDataMap();\n if(!Predicates.isEmpty(hlMap)) {\n highLightMap = new SparseArray<>();\n VisitServices.from(hlMap).fire(new FireVisitor<MediaData.HighLightPair>() {\n @Override\n public Boolean visit(MediaData.HighLightPair pair, Object param) {\n List<MediaData.HighLightData> highLightData = VEGapUtils.filterHighLightByScore(pair.getDatas());\n if(!Predicates.isEmpty(highLightData)){\n highLightMap.put(pair.getTime(), highLightData);\n }\n return null;\n }\n });\n }\n mHighLightHelper = new HighLightHelper(highLightMap, mediaType == IPathTimeTraveller.TYPE_IMAGE);\n }\n @SuppressWarnings(\"unchecked\")\n public KeyValuePair<Integer, List<IHighLightData>> getHighLight(int time){\n return mHighLightHelper.getHighLight(time);\n }\n @SuppressWarnings(\"unchecked\")\n public KeyValuePair<Integer, List<IHighLightData>> getHighLight(ColorGapContext context, ITimeTraveller tt){\n return mHighLightHelper.getHighLight(context, tt);\n }\n\n public List<KeyValuePair<Integer, List<IHighLightData>>> getHighLights(ColorGapContext context, ITimeTraveller tt){\n return mHighLightHelper.getHighLights(context, tt);\n }\n @SuppressWarnings(\"unchecked\")\n public HighLightArea getHighLightArea(ColorGapContext context, ITimeTraveller tt){\n return mHighLightHelper.getHighLightArea(context, tt);\n }\n\n public void setHighLightMap(SparseArray<List<? extends IHighLightData>> highLightMap) {\n this.highLightMap = highLightMap;\n this.mHighLightHelper = new HighLightHelper(highLightMap, mediaType == IPathTimeTraveller.TYPE_IMAGE);\n }\n\n //-------------------------- end High-Light ----------------------------\n public SparseArray<VideoDataLoadUtils.FrameData> getFrameDataMap() {\n if(frameDataMap == null){\n frameDataMap = new SparseArray<>();\n }\n return frameDataMap;\n }\n public void setFrameDataMap(SparseArray<VideoDataLoadUtils.FrameData> frameDataMap) {\n this.frameDataMap = frameDataMap;\n }\n public void travelAllFrameDatas(Map.MapTravelCallback<Integer, VideoDataLoadUtils.FrameData> traveller){\n Throwables.checkNull(frameDataMap);\n CollectionUtils.travel(frameDataMap, traveller);\n }\n\n public List<Integer> getNounTags() {\n return nounTags != null ? nounTags : Collections.emptyList();\n }\n public void setNounTags(List<Integer> nounTags) {\n this.nounTags = nounTags;\n }\n\n public List<Integer> getDomainTags() {\n return domainTags != null ? domainTags : Collections.emptyList();\n }\n public void setDomainTags(List<Integer> domainTags) {\n this.domainTags = domainTags;\n }\n\n public List<Integer> getAdjTags() {\n return adjTags != null ? adjTags : Collections.emptyList();\n }\n public void setAdjTags(List<Integer> adjTags) {\n this.adjTags = adjTags;\n }\n public void setShotCategory(int shotCategory) {\n this.shotCategory = shotCategory;\n }\n\n public int getShotCategory() {\n return shotCategory;\n }\n public String getShotKey() {\n return shotKey;\n }\n public void setShotKey(String shotKey) {\n this.shotKey = shotKey;\n }\n\n public int getMainFaceCount() {\n return mainFaceCount;\n }\n public void setMainFaceCount(int mainFaceCount) {\n this.mainFaceCount = mainFaceCount;\n }\n public int getMediaType() {\n return mediaType;\n }\n public void setMediaType(int mediaType) {\n this.mediaType = mediaType;\n }\n\n public String getPath() {\n return path;\n }\n\n public void setPath(String path) {\n this.path = path;\n }\n\n /** date in mills */\n public long getDate() {\n return date;\n }\n /** date in mills */\n public void setDate(long date) {\n this.date = date;\n }\n\n public long getDuration() {\n return duration;\n }\n\n /** set duration in mill-seconds */\n public void setDuration(long duration) {\n this.duration = duration;\n }\n\n public int getWidth() {\n return width;\n }\n\n public void setWidth(int width) {\n this.width = width;\n }\n\n public int getHeight() {\n return height;\n }\n\n public void setHeight(int height) {\n this.height = height;\n }\n\n public int getFps() {\n return fps;\n }\n\n public void setFps(int fps) {\n this.fps = fps;\n }\n\n public String getShotType() {\n return shotType;\n }\n\n public void setShotType(String shotType) {\n this.shotType = shotType;\n }\n\n public String getCameraMotion() {\n return cameraMotion;\n }\n\n public void setCameraMotion(String cameraMotion) {\n this.cameraMotion = cameraMotion;\n }\n\n public List<List<Integer>> getTags() {\n return tags;\n }\n public void setTags(List<List<Integer>> tags) {\n this.tags = tags;\n }\n public LocationMeta getLocation() {\n return location;\n }\n public void setLocation(LocationMeta location) {\n this.location = location;\n }\n public void setBodyCount(int size) {\n this.mBodyCount = size;\n }\n public int getBodyCount(){\n return mBodyCount;\n }\n public int getPersonCount() {\n return Math.max(mBodyCount, mainFaceCount);\n }\n\n public Location getSubjectLocation() {\n return subjectLocation;\n }\n public void setSubjectLocation(Location subjectLocation) {\n this.subjectLocation = subjectLocation;\n }\n\n //============================================================\n public List<FrameFaceRects> getAllFaceRects() {\n if(frameDataMap == null){\n return Collections.emptyList();\n }\n List<FrameFaceRects> result = new ArrayList<>();\n final int size = frameDataMap.size();\n for (int i = 0; i < size ; i++) {\n FrameFaceRects faceRects = frameDataMap.valueAt(i).getFaceRects();\n if(faceRects != null) {\n result.add(faceRects);\n }else{\n //no face we just add a mock\n }\n }\n return result;\n }\n public List<FrameTags> getVideoTags(ITimeTraveller part) {\n return getVideoTags(part.getStartTime(), part.getEndTime());\n }\n\n /** get all video tags. startTime and endTime in frames */\n public List<FrameTags> getVideoTags(long startTime, long endTime) {\n if(frameDataMap == null){\n return Collections.emptyList();\n }\n List<FrameTags> result = new ArrayList<>();\n final int size = frameDataMap.size();\n for (int i = 0; i < size ; i++) {\n long key = CommonUtils.timeToFrame(frameDataMap.keyAt(i), TimeUnit.SECONDS);\n if(key >= startTime && key <= endTime){\n FrameTags tag = frameDataMap.valueAt(i).getTag();\n if(tag != null) {\n result.add(tag);\n }\n }\n }\n return result;\n }\n public List<FrameTags> getAllVideoTags() {\n if(frameDataMap == null){\n return Collections.emptyList();\n }\n List<FrameTags> result = new ArrayList<>();\n final int size = frameDataMap.size();\n for (int i = 0; i < size ; i++) {\n //long key = CommonUtils.timeToFrame(frameDataMap.keyAt(i), TimeUnit.SECONDS);\n FrameTags tag = frameDataMap.valueAt(i).getTag();\n if(tag != null) {\n result.add(tag);\n }\n }\n return result;\n }\n public List<FrameFaceRects> getFaceRects(ITimeTraveller part) {\n return getFaceRects(part.getStartTime(), part.getEndTime());\n }\n /** get all face rects. startTime and endTime in frames */\n public List<FrameFaceRects> getFaceRects(long startTime, long endTime) {\n if(frameDataMap == null){\n return Collections.emptyList();\n }\n List<FrameFaceRects> result = new ArrayList<>();\n final int size = frameDataMap.size();\n for (int i = 0; i < size ; i++) {\n long key = CommonUtils.timeToFrame(frameDataMap.keyAt(i), TimeUnit.SECONDS);\n if(key >= startTime && key <= endTime){\n FrameFaceRects faceRects = frameDataMap.valueAt(i).getFaceRects();\n if(faceRects != null) {\n result.add(faceRects);\n }\n }\n }\n return result;\n }\n\n public void setRawVideoTags(List<FrameTags> tags) {\n rawVideoTags = tags;\n }\n public List<FrameTags> getRawVideoTags() {\n return rawVideoTags;\n }\n\n public List<FrameFaceRects> getRawFaceRects() {\n return rawFaceRects;\n }\n public void setRawFaceRects(List<FrameFaceRects> rawFaceRects) {\n this.rawFaceRects = rawFaceRects;\n }\n /** 判断这段原始视频内容是否是“人脸为主”. work before cut */\n public boolean containsFaces(){\n if(rawFaceRects == null){\n if(frameDataMap == null){\n return false;\n }\n rawFaceRects = getAllFaceRects();\n }\n if(Predicates.isEmpty(rawFaceRects)){\n return false;\n }\n List<FrameFaceRects> tempList = new ArrayList<>();\n VisitServices.from(rawFaceRects).visitForQueryList((ffr, param) -> ffr.hasRect(), tempList);\n float result = tempList.size() * 1f / rawFaceRects.size();\n Logger.d(\"ImageMeta\", \"isHumanContent\", \"human.percent = \"\n + result + \" ,path = \" + path);\n return result > 0.55f;\n }\n\n /** 判断这段原始视频是否被标记原始tag(人脸 or 通用) . work before cut */\n public boolean hasRawTags(){\n return frameDataMap != null && frameDataMap.size() > 0;\n }\n\n @Override\n public void setFrom(SimpleCopyDelegate sc) {\n if(sc instanceof ImageMeta){\n ImageMeta src = (ImageMeta) sc;\n setShotType(src.getShotType());\n setShotCategory(src.getShotCategory());\n setShotKey(src.getShotKey());\n\n setMainFaceCount(src.getMainFaceCount());\n setDuration(src.getDuration());\n setMediaType(src.getMediaType());\n setPath(src.getPath());\n setCameraMotion(src.getCameraMotion());\n setDate(src.getDate());\n setFps(src.getFps());\n setHeight(src.getHeight());\n setWidth(src.getWidth());\n //not deep copy\n setTags(src.tags);\n setAdjTags(src.adjTags);\n setNounTags(src.nounTags);\n setDomainTags(src.domainTags);\n\n setLocation(src.getLocation());\n setRawFaceRects(src.getRawFaceRects());\n setRawVideoTags(src.getRawVideoTags());\n setFrameDataMap(src.frameDataMap);\n setHighLightMap(src.highLightMap);\n }\n }\n }\n\n}", "@Override\n protected void onPause() {\n super.onPause();\n this.stopTracking = true;\n }", "private void debug()\n {\n if (!checkTestNeeded())\n {\n String resolution = width + \"x\" + height + \"-\";\n\n boolean success = preferences.getBoolean(PREF_PREFIX + resolution + \"success\",false);\n if (!success)\n {\n throw new RuntimeException(\"Phone not supported with this resolution (\" + width + \"x\" + height + \")\");\n }\n\n nv21Convertor.setSize(width, height);\n nv21Convertor.setSliceHeigth(preferences.getInt(PREF_PREFIX + resolution + \"sliceHeight\", 0));\n nv21Convertor.setStride(preferences.getInt(PREF_PREFIX + resolution + \"stride\", 0));\n nv21Convertor.setYPadding(preferences.getInt(PREF_PREFIX + resolution + \"padding\", 0));\n nv21Convertor.setPlanar(preferences.getBoolean(PREF_PREFIX + resolution + \"planar\", false));\n nv21Convertor.setColorPanesReversed(preferences.getBoolean(PREF_PREFIX + resolution + \"reversed\", false));\n encoderName = preferences.getString(PREF_PREFIX + resolution + \"encoderName\", \"\");\n encoderColorFormat = preferences.getInt(PREF_PREFIX + resolution + \"colorFormat\", 0);\n base64PPS = preferences.getString(PREF_PREFIX + resolution + \"pps\", \"\");\n base64SPS = preferences.getString(PREF_PREFIX + resolution + \"sps\", \"\");\n\n return;\n }\n\n Log.d(TAG, \">>>> Testing the phone for resolution \" + width + \"x\" + height);\n\n // Builds a list of available encoders and decoders we may be able to use\n // because they support some nice color formats\n Codec[] encoders = CodecManager.findEncodersForMimeType(MIME_TYPE);\n Codec[] decoders = CodecManager.findDecodersForMimeType(MIME_TYPE);\n\n int count = 0;\n int n = 1;\n for (Codec encoder1 : encoders)\n {\n count += encoder1.formats.length;\n }\n\n // Tries available encoders\n for (Codec encoder1 : encoders)\n {\n for (int j = 0; j < encoder1.formats.length; j++)\n {\n reset();\n\n encoderName = encoder1.name;\n encoderColorFormat = encoder1.formats[j];\n\n Log.v(TAG, \">> Test \" + (n++) + \"/\" + count + \": \" + encoderName + \" with color format \" + encoderColorFormat + \" at \" + width + \"x\" + height);\n\n // Converts from NV21 to YUV420 with the specified parameters\n nv21Convertor.setSize(width, height);\n nv21Convertor.setSliceHeigth(height);\n nv21Convertor.setStride(width);\n nv21Convertor.setYPadding(0);\n nv21Convertor.setEncoderColorFormat(encoderColorFormat);\n\n // /!\\ NV21Convertor can directly modify the input\n createTestImage();\n data = nv21Convertor.convert(initialImage);\n\n try\n {\n // Starts the encoder\n configureEncoder();\n searchSPSandPPS();\n\n Log.v(TAG, \"SPS and PPS in b64: SPS=\" + base64SPS + \", PPS=\" + base64PPS);\n\n // Feeds the encoder with an image repeatedly to produce some NAL units\n encode();\n\n // We now try to decode the NALs with decoders available on the phone\n boolean decoded = false;\n for (int k = 0; k < decoders.length && !decoded; k++)\n {\n for (int l = 0; l < decoders[k].formats.length && !decoded; l++)\n {\n decoderName = decoders[k].name;\n decoderColorFormat = decoders[k].formats[l];\n try\n {\n configureDecoder();\n } catch (Exception e)\n {\n Log.d(TAG, decoderName + \" can't be used with \" + decoderColorFormat + \" at \" + width + \"x\" + height, e);\n\n releaseDecoder();\n break;\n }\n\n try\n {\n decode(true);\n Log.d(TAG, decoderName + \" successfully decoded the NALs (color format \" + decoderColorFormat + \")\");\n\n decoded = true;\n }\n catch (Exception e)\n {\n Log.e(TAG, decoderName + \" failed to decode the NALs\", e);\n }\n finally\n {\n releaseDecoder();\n }\n }\n }\n\n if (!decoded)\n {\n throw new RuntimeException(\"Failed to decode NALs from the encoder.\");\n }\n\n // Compares the image before and after\n if (!compareLumaPanes())\n {\n // TODO: try again with a different stride\n // TODO: try again with the \"stride\" param\n throw new RuntimeException(\"It is likely that stride != width\");\n }\n\n int padding;\n if ((padding = checkPaddingNeeded()) > 0)\n {\n if (padding < 4096)\n {\n Log.d(TAG, \"Some padding is needed: \" + padding);\n\n nv21Convertor.setYPadding(padding);\n createTestImage();\n data = nv21Convertor.convert(initialImage);\n encodeDecode();\n }\n else\n {\n // TODO: try again with a different sliceHeight\n // TODO: try again with the \"slice-height\" param\n throw new RuntimeException(\"It is likely that sliceHeight != height\");\n }\n }\n\n createTestImage();\n if (!compareChromaPanes(false))\n {\n if (compareChromaPanes(true))\n {\n nv21Convertor.setColorPanesReversed(true);\n Log.d(TAG, \"U and V pane are reversed\");\n }\n else\n {\n throw new RuntimeException(\"Incorrect U or V pane...\");\n }\n }\n\n saveTestResult(true);\n Log.v(TAG, \"The encoder \" + encoderName + \" is usable with resolution \" + width + \"x\" + height);\n return;\n }\n catch (Exception e)\n {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n e.printStackTrace(pw);\n String stack = sw.toString();\n String str = \"Encoder \" + encoderName + \" cannot be used with color format \" + encoderColorFormat;\n Log.e(TAG, str, e);\n errorLog += str + \"\\n\" + stack;\n }\n finally\n {\n releaseEncoder();\n }\n }\n }\n\n saveTestResult(false);\n Log.e(TAG,\"No usable encoder were found on the phone for resolution \" + width + \"x\" + height);\n throw new RuntimeException(\"No usable encoder were found on the phone for resolution \" + width + \"x\" + height);\n }", "AudioProcessor[] mo25073a();", "private void playSilence(){\n frameIterator = SilentMediaReader.getInstance();\n updateCurrentMedia(null);\n status = Status.PLAYING_SILENCE;\n for (StreamListener listener : streamListeners) {\n listener.mediaChanged();\n }\n }", "public void startRecording(){\n String samplerateString = null, buffersizeString = null;\n if (Build.VERSION.SDK_INT >= 17) {\n AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);\n samplerateString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);\n buffersizeString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER);\n }\n samplerateString= \"48000\";\n buffersizeString = \"256\";\n\n System.loadLibrary(\"FrequencyDomain\");\n FrequencyDomain(Integer.parseInt(samplerateString), Integer.parseInt(buffersizeString));\n }", "public void loop() {\n telemetry.addData(\"loop count:\", mLoopCount++);\n telemetry.addData(\"version: \", \"1.3\");\n\n int[] topScan;\n int[] middleScan;\n int[] bottomScan;\n\n // get most recent frame from camera (may be same as last time or null)\n CameraLib.CameraImage frame = mCamAcqFr.loop();\n\n // log debug info ...\n if (frame != null) {\n\n // process the current frame\n // ... \"move toward the light...\"\n\n // log data about the most current image to driver station every loop so it stays up long enough to read\n Camera.Size camSize = frame.cameraSize();\n telemetry.addData(\"preview camera size: \", String.valueOf(camSize.width) + \"x\" + String.valueOf(camSize.height));\n telemetry.addData(\"preview data size:\", frame.dataSize());\n telemetry.addData(\"preview rgb(center):\", String.format(\"%08X\", frame.getPixel(camSize.width / 2, camSize.height / 2)));\n telemetry.addData(\"frame number: \", mCamAcqFr.frameCount());\n\n // log text representations of several significant scanlines\n\n topScan = frame.scanlineValue(camSize.height / 3);\n middleScan = frame.scanlineValue(camSize.height / 2);\n bottomScan = frame.scanlineValue(camSize.height * 2 / 3);\n\n //telemetry.addData(\"value a(1/3): \", topScan);\n //telemetry.addData(\"value b(1/2): \", middleScan);\n //telemetry.addData(\"value c(2/3): \", bottomScan);\n\n final int bandSize = 10;\n telemetry.addData(\"hue a(1/3): \", frame.scanlineHue(camSize.height / 3, bandSize));\n telemetry.addData(\"hue b(1/2): \", frame.scanlineHue(camSize.height / 2, bandSize));\n telemetry.addData(\"hue c(2/3): \", frame.scanlineHue(2*camSize.height / 3, bandSize));\n\n int topThresh = threshFind(topScan);\n int middleThresh = threshFind(middleScan);\n int bottomThresh = threshFind(bottomScan);\n\n telemetry.addData(\"Top Thresh\", topThresh);\n telemetry.addData(\"Middle Thresh\", middleThresh);\n telemetry.addData(\"Bottom Thresh\", bottomThresh);\n\n int topPos = findAvgOverThresh(topScan, topThresh);\n int middlePos = findAvgOverThresh(middleScan, middleThresh);\n int bottomPos = findAvgOverThresh(bottomScan, bottomThresh);\n\n telemetry.addData(\"Top Pos\", topPos);\n telemetry.addData(\"Middle Pos\", middlePos);\n telemetry.addData(\"Bottom Pos\", bottomPos);\n }\n }", "public void mo25076a(long latencyUs) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"Ignoring impossibly large audio latency: \");\n sb.append(latencyUs);\n C8526n.m20534d(\"AudioTrack\", sb.toString());\n }", "private void updateMultiListView(String track) {\n // Fragment multi class\n MulticlassAdapter multiAdapter = null;\n if (track != null) {\n String selection = DBTable.COLUMN_TRACK + \" LIKE ?\";\n String[] args = {track};\n String sortOrder = DBTable.COLUMN_LAPTIME + \" ASC\";\n Cursor cursor = database.query(DBTable.TABLE_NAME,\n null, selection, args, null, null, sortOrder);\n\n multiAdapter = new MulticlassAdapter(getApplicationContext(), cursor, 0);\n\n // inform adapter about the car in this session so adapter can highlight it\n multiAdapter.setActualCar(carName);\n Log.d(TAG, \"multiListView - multi: \" + track);\n } else {\n Log.d(TAG, \"multiListView - multi with null track\");\n }\n mMultiFragment.update(multiAdapter);\n }", "public void startTracking() {\n IntentFilter filter = new IntentFilter();\n\n // Screen state\n filter.addAction(Intent.ACTION_SCREEN_ON);\n filter.addAction(Intent.ACTION_SCREEN_OFF);\n\n // Dreaming state\n if (Build.VERSION.SDK_INT >= 17) {\n filter.addAction(Intent.ACTION_DREAMING_STARTED);\n filter.addAction(Intent.ACTION_DREAMING_STOPPED);\n }\n\n // Debugging/instrumentation\n filter.addAction(ACTION_TRIGGER_IDLE);\n\n mContext.registerReceiver(this, filter);\n }", "public void onAudioInfoChanged(PlaybackInfo info) {\n }", "@Override\n\tpublic boolean listen(ArrayList<Track> tracks, DrumPoint drum, int begin, int end) {\n\t\treturn false;\n\t}", "private void m18355r() {\n if (this.f16620n != null) {\n AudioTrack toRelease = this.f16620n;\n this.f16620n = null;\n new C8137r(this, toRelease).start();\n }\n }", "private void m18347j() {\n int i = 0;\n while (true) {\n AudioProcessor[] audioProcessorArr = this.f16596P;\n if (i < audioProcessorArr.length) {\n AudioProcessor audioProcessor = audioProcessorArr[i];\n audioProcessor.flush();\n this.f16597Q[i] = audioProcessor.mo25039c();\n i++;\n } else {\n return;\n }\n }\n }", "private long searchSPSandPPS()\n {\n ByteBuffer[] inputBuffers = encoder.getInputBuffers();\n ByteBuffer[] outputBuffers = encoder.getOutputBuffers();\n BufferInfo info = new BufferInfo();\n byte[] csd = new byte[128];\n int len = 0;\n int p = 4;\n int q = 4;\n long elapsed = 0;\n long now = timestamp();\n\n while (elapsed < 3000000 && (SPS == null || PPS == null))\n {\n // Some encoders won't give us the SPS and PPS unless they receive something to encode first...\n int bufferIndex = encoder.dequeueInputBuffer(1000000 / FRAMERATE);\n if (bufferIndex >= 0)\n {\n check(inputBuffers[bufferIndex].capacity() >= data.length, \"The input buffer is not big enough.\");\n inputBuffers[bufferIndex].clear();\n inputBuffers[bufferIndex].put(data, 0, data.length);\n encoder.queueInputBuffer(bufferIndex, 0, data.length, timestamp(), 0);\n }\n else\n {\n Log.e(TAG,\"No buffer available !\");\n }\n\n // We are looking for the SPS and the PPS here. As always, Android is very inconsistent, I have observed that some\n // encoders will give those parameters through the MediaFormat object (that is the normal behaviour).\n // But some other will not, in that case we try to find a NAL unit of type 7 or 8 in the byte stream outputed by the encoder...\n\n int index = encoder.dequeueOutputBuffer(info, 1000000 / FRAMERATE);\n\n if (index == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED)\n {\n // The PPS and PPS should be there\n MediaFormat format = encoder.getOutputFormat();\n ByteBuffer spsb = format.getByteBuffer(\"csd-0\");\n ByteBuffer ppsb = format.getByteBuffer(\"csd-1\");\n SPS = new byte[spsb.capacity() - 4];\n spsb.position(4);\n spsb.get(SPS,0, SPS.length);\n PPS = new byte[ppsb.capacity() - 4];\n ppsb.position(4);\n ppsb.get(PPS,0, PPS.length);\n break;\n }\n else if (index == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED)\n {\n outputBuffers = encoder.getOutputBuffers();\n }\n else if (index >= 0)\n {\n len = info.size;\n if (len < 128)\n {\n outputBuffers[index].get(csd,0,len);\n if (len > 0 && csd[0] == 0 && csd[1] == 0 && csd[2] == 0 && csd[3] == 1)\n {\n // Parses the SPS and PPS, they could be in two different packets and in a different order\n //depending on the phone so we don't make any assumption about that\n while (p < len)\n {\n while (!(csd[p + 0] == 0 && csd[p + 1] == 0 && csd[p + 2] == 0 && csd[p + 3] == 1) && p + 3 < len)\n {\n p++;\n }\n\n if (p + 3 >= len)\n {\n p=len;\n }\n\n if ((csd[q] & 0x1F) == 7)\n {\n SPS = new byte[p - q];\n System.arraycopy(csd, q, SPS, 0, p - q);\n }\n else\n {\n PPS = new byte[p - q];\n System.arraycopy(csd, q, PPS, 0, p - q);\n }\n\n p += 4;\n q = p;\n }\n }\n }\n\n encoder.releaseOutputBuffer(index, false);\n }\n\n elapsed = timestamp() - now;\n }\n\n check(PPS != null && SPS != null, \"Could not determine the SPS & PPS.\");\n base64PPS = Base64.encodeToString(PPS, 0, PPS.length, Base64.NO_WRAP);\n base64SPS = Base64.encodeToString(SPS, 0, SPS.length, Base64.NO_WRAP);\n\n return elapsed;\n }", "public void playback(short[] data) {\n\n\t\t\taudioTracker.write(data, 0, data.length);\n\t\t}" ]
[ "0.6437486", "0.6276272", "0.6246852", "0.6057301", "0.602286", "0.6006875", "0.59244853", "0.59088755", "0.5877824", "0.58003783", "0.5785709", "0.57740974", "0.57228684", "0.5713916", "0.5703424", "0.56957793", "0.56794834", "0.5653524", "0.56057054", "0.55997187", "0.5598863", "0.5545268", "0.5540904", "0.5532688", "0.5497033", "0.5483495", "0.54737717", "0.54707813", "0.5455865", "0.5452571", "0.5451076", "0.54375094", "0.5436904", "0.54333824", "0.54296666", "0.54033464", "0.5390538", "0.53892905", "0.5383904", "0.5378719", "0.5358928", "0.5322301", "0.5320248", "0.5313344", "0.53133285", "0.530424", "0.5303795", "0.52948105", "0.5286433", "0.527926", "0.526736", "0.5263123", "0.5258375", "0.523987", "0.52377605", "0.5231898", "0.52268076", "0.5226623", "0.52174735", "0.52129555", "0.51984704", "0.51940894", "0.5193037", "0.51908374", "0.51884806", "0.51854426", "0.51854", "0.5178982", "0.5174374", "0.5161329", "0.51610774", "0.51511025", "0.5144609", "0.5143027", "0.5138272", "0.51323795", "0.512929", "0.5128681", "0.5126697", "0.511851", "0.5113425", "0.51105016", "0.5109781", "0.51037556", "0.51008135", "0.5099783", "0.5099185", "0.5096127", "0.50923145", "0.5091823", "0.50884986", "0.50865084", "0.50847834", "0.5083692", "0.5081923", "0.50815904", "0.50765383", "0.50711167", "0.5071039", "0.50706327" ]
0.59719265
6
MultiExchange with one final response.
MultiExchange(HttpRequest req, HttpClientImpl client, HttpResponse.BodyHandler<T> responseHandler) { this.previous = null; this.userRequest = req; this.request = new HttpRequestImpl(req); this.currentreq = request; this.attempts = 0; this.client = client; this.filters = client.filterChain(); if (System.getSecurityManager() != null) { this.acc = AccessController.getContext(); } else { this.acc = null; } this.execWrapper = new ExecutorWrapper(client.executor(), acc); this.executor = execWrapper.executor(); this.responseHandler = responseHandler; this.exchange = new Exchange<>(request, this); this.multiResponseHandler = null; this.pushGroup = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "MultiExchange(HttpRequest req,\n HttpClientImpl client,\n HttpResponse.MultiProcessor<U, T> multiResponseHandler) {\n this.previous = null;\n this.userRequest = req;\n this.request = new HttpRequestImpl(req);\n this.currentreq = request;\n this.attempts = 0;\n this.client = client;\n this.filters = client.filterChain();\n if (System.getSecurityManager() != null) {\n this.acc = AccessController.getContext();\n } else {\n this.acc = null;\n }\n this.execWrapper = new ExecutorWrapper(client.executor(), acc);\n this.executor = execWrapper.executor();\n this.multiResponseHandler = multiResponseHandler;\n this.pushGroup = new PushGroup<>(multiResponseHandler, request);\n this.exchange = new Exchange<>(request, this);\n this.responseHandler = pushGroup.mainResponseHandler();\n }", "public synchronized MRPublisherResponse sendBatchWithResponse() {\n if (fPending.isEmpty()) {\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(\"No Messages to send\");\n return pubResponse;\n }\n\n final long nowMs = Clock.now();\n\n host = this.fHostSelector.selectBaseHost();\n\n final String httpUrl = MRConstants.makeUrl(host, fTopic, props.getProperty(DmaapClientConst.PROTOCOL),\n props.getProperty(DmaapClientConst.PARTITION));\n OutputStream os = null;\n try (ByteArrayOutputStream baseStream = new ByteArrayOutputStream()) {\n os = baseStream;\n final String propsContentType = props.getProperty(DmaapClientConst.CONTENT_TYPE);\n if (propsContentType.equalsIgnoreCase(MRFormat.JSON.toString())) {\n JSONArray jsonArray = parseJSON();\n os.write(jsonArray.toString().getBytes());\n } else if (propsContentType.equalsIgnoreCase(CONTENT_TYPE_TEXT)) {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n } else if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA.toString())\n || (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString()))) {\n if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString())) {\n os = new GZIPOutputStream(baseStream);\n }\n for (TimestampedMessage m : fPending) {\n os.write((\"\" + m.fPartition.length()).getBytes());\n os.write('.');\n os.write((\"\" + m.fMsg.length()).getBytes());\n os.write('.');\n os.write(m.fPartition.getBytes());\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n os.close();\n } else {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n\n }\n }\n\n final long startMs = Clock.now();\n if (ProtocolType.DME2.getValue().equalsIgnoreCase(protocolFlag)) {\n\n try {\n configureDME2();\n\n this.wait(5);\n\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), url + subContextPath, nowMs - fPending.peek().timestamp);\n }\n sender.setPayload(os.toString());\n\n String dmeResponse = sender.sendAndWait(5000L);\n\n pubResponse = createMRPublisherResponse(dmeResponse, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n final String logLine = String.valueOf((Clock.now() - startMs)) + dmeResponse.toString();\n getLog().info(logLine);\n fPending.clear();\n\n } catch (DME2Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(x.getErrorCode());\n pubResponse.setResponseMessage(x.getErrorMessage());\n } catch (URISyntaxException x) {\n\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n throw e;\n } catch (Exception x) {\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n logger.error(\"exception: \", x);\n\n }\n\n return pubResponse;\n }\n\n if (ProtocolType.AUTH_KEY.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postAuthwithResponse(httpUrl, baseStream.toByteArray(), contentType, authKey,\n authDate, username, password, protocolFlag);\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n logTime(startMs, result);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.AAF_AUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postWithResponse(httpUrl, baseStream.toByteArray(), contentType, username,\n password, protocolFlag);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.HTTPNOAUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postNoAuthWithResponse(httpUrl, baseStream.toByteArray(), contentType);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n } catch (IllegalArgumentException | HttpException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n\n } catch (IOException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n getLog().warn(\"Interrupted!\", e);\n // Restore interrupted state...\n Thread.currentThread().interrupt();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n\n } finally {\n if (!fPending.isEmpty()) {\n getLog().warn(\"Send failed, \" + fPending.size() + \" message to send.\");\n pubResponse.setPendingMsgs(fPending.size());\n }\n if (os != null) {\n try {\n os.close();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(\"Error in closing Output Stream\");\n }\n }\n }\n\n return pubResponse;\n }", "@Override\n protected void decode(ChannelHandlerContext ctx, HttpObject msg, List<Object> out) throws Exception {\n if (continueResponse && msg instanceof LastHttpContent) {\n // Release the last empty content associated with the 100-Continue response\n release(msg);\n return;\n }\n\n if (msg instanceof HttpResponse && CONTINUE.equals(((HttpResponse) msg).status())) {\n continueResponse = true;\n ctx.fireChannelRead(msg);\n return;\n }\n\n continueResponse = false;\n super.decode(ctx, msg, out);\n }", "Response filterResponse(Response currentResponse, HttpExchange exchange);", "@Override\n public void result(Message[] messages) {\n synchronized (semaphore) {\n responseMessages[0] = messages;\n notified = true;\n semaphore.notifyAll();\n }\n }", "public void sendResponse(MessageExchange exchange) {\n\t\tdoSend(exchange);\n\t}", "@Override\n public void process(Exchange exchange) throws Exception {\n ApiResponse existing = exchange.getProperty(PROPERTY_API_RESPONSE, ApiResponse.class);\n\n // Check if any ApiResponse's failed\n boolean failure = exchange.getIn().getBody(List.class).stream().anyMatch(o -> o instanceof ApiResponse && ((ApiResponse) o).getCode() != 200);\n\n // If found existing and it contains a failure then fail this response\n if (existing != null && existing.getCode() != ApiResponse.SUCCESS) {\n failure = true;\n }\n\n // Create ApiResponse and all list of responses\n ApiResponse response = failure ? ApiResponse.badRequest() : ApiResponse.success();\n response.setResponses(exchange.getIn().getBody(List.class));\n\n // If found existing then add responses\n if (existing != null && existing.getResponses() != null) {\n response.getResponses().addAll(existing.getResponses());\n }\n\n // Flatten responses if single\n if (response.getResponses().size() == 1) {\n response = response.getResponses().get(0);\n }\n\n // Set as exchange property to be picked up by ApiResponseProcessor\n exchange.setProperty(PROPERTY_API_RESPONSE, response);\n }", "public abstract void onReceiveResponse(ExchangeContext context);", "private void processNextMessage(ByteBuf buf) throws IgniteClientException {\n var unpacker = new ClientMessageUnpacker(buf);\n\n if (protocolCtx == null) {\n // Process handshake.\n pendingReqs.remove(-1L).complete(unpacker);\n return;\n }\n\n var type = unpacker.unpackInt();\n\n if (type != ServerMessageType.RESPONSE)\n throw new IgniteClientException(\"Unexpected message type: \" + type);\n\n Long resId = unpacker.unpackLong();\n\n int status = unpacker.unpackInt();\n\n ClientRequestFuture pendingReq = pendingReqs.remove(resId);\n\n if (pendingReq == null)\n throw new IgniteClientException(String.format(\"Unexpected response ID [%s]\", resId));\n\n if (status == 0) {\n pendingReq.complete(unpacker);\n } else {\n var errMsg = unpacker.unpackString();\n var err = new IgniteClientException(errMsg, status);\n pendingReq.completeExceptionally(err);\n }\n }", "private NextAction handleDuplicateMessageException(final JaxwsApplicationMessage message, Packet request) throws RxRuntimeException {\n final Sequence inboundSequence = rc.sequenceManager().getInboundSequence(message.getSequenceId());\n if (inboundSequence.isFailedOver(message.getMessageNumber())) {\n synchronized (message.getCorrelationId()) {\n // this synchronization is needed so that all 3 operations occur before\n // AbstractResponseHandler.getParentFiber() is invoked on the response thread\n rc.suspendedFiberStorage.register(message.getCorrelationId(), Fiber.current());\n return doSuspend(new Runnable() {\n @Override\n public void run() {\n rc.destinationMessageHandler.putToDeliveryQueue(message);\n }\n });\n }\n }\n\n // Microsoft replay model behavior where a request is sent only to give a ride to a\n // previously generated and retained response\n final Sequence outboundSequence = rc.sequenceManager().getBoundSequence(message.getSequenceId());\n if (outboundSequence != null) {\n final ApplicationMessage _responseMessage = outboundSequence.retrieveMessage(message.getCorrelationId());\n if (_responseMessage == null) {\n return doReturnWith(rc.protocolHandler.createEmptyAcknowledgementResponse(\n rc.destinationMessageHandler.getAcknowledgementData(message.getSequenceId()),\n request));\n }\n if (rc.configuration.getRmFeature().isPersistenceEnabled() || HighAvailabilityProvider.INSTANCE.isHaEnvironmentConfigured()) {\n if (_responseMessage instanceof JaxwsApplicationMessage) {\n JaxwsApplicationMessage jaxwsAppMsg = (JaxwsApplicationMessage) _responseMessage;\n if (jaxwsAppMsg.getPacket() == null) {\n // FIXME: loaded from DB without a valid packet - create one\n // ...this is a workaround until JAX-WS RI API provides a mechanism how to (de)serialize whole Packet\n jaxwsAppMsg.setPacket(rc.communicator.createEmptyResponsePacket(request, jaxwsAppMsg.getWsaAction()));\n }\n }\n }\n // retrieved response is not null\n Fiber oldRegisteredFiber = rc.suspendedFiberStorage.register(_responseMessage.getCorrelationId(), Fiber.current());\n if (oldRegisteredFiber != null) {\n oldRegisteredFiber.resume(rc.protocolHandler.createEmptyAcknowledgementResponse(\n rc.destinationMessageHandler.getAcknowledgementData(message.getSequenceId()),\n request));\n }\n\n return doSuspend(new Runnable() {\n @Override\n public void run() {\n rc.sourceMessageHandler.putToDeliveryQueue(_responseMessage);\n }\n });\n } else {\n return doReturnWith(rc.protocolHandler.createEmptyAcknowledgementResponse(\n rc.destinationMessageHandler.getAcknowledgementData(message.getSequenceId()),\n request));\n }\n }", "Single<WebClientServiceResponse> whenComplete();", "Single<WebClientServiceResponse> whenComplete();", "@Override\n public void onResponse(ArrayList<Transaction> response) {\n if (response.size() != transactions.size()) {\n transactions = response;\n notifyListeners(true);\n } else {\n notifyListeners(false);\n }\n }", "@Override\n\tpublic Exchange aggregate(Exchange original, Exchange resource) {\n\t\t\n\t\tif (original==null){\n\n\t\t\treturn resource;\n\t\t}\n\n\t\tString messageID=original.getIn().getHeader(\"MessageID\", String.class);\n\t\t\n\t\t//Body modification done here to pass the final body \n\t\t\n\t\tString originalBody=original.getIn().getBody(String.class); \n\t\tString newBody=resource.getIn().getBody(String.class);\n\t\tString finalBody=originalBody+newBody;\n\n\t\tdebugLogger.debug(LoggingKeys.Splitter_Msg_Body,messageID,originalBody);\n\t\t\n\t\toriginal.getIn().setBody(finalBody);\n\t\t\n\n\t\toriginal.getIn().setHeader(Exchange.HTTP_QUERY, finalBody);\n\t\tdebugLogger.debug(LoggingKeys.Splitter_Msg_Final_Body,messageID,finalBody);\n\n\t\treturn original;\t\n\t}", "@Override\n public void channelRead0(ChannelHandlerContext ctx, HttpObject msg) {\n if (msg instanceof HttpResponse) {\n //clear the buffer.\n _responseBodyBuf.clear();\n //\n HttpResponse response = (HttpResponse) msg;\n //get HTTP Response code.\n this._hcr._responseStatus = response.getStatus();\n //\n //print header.\n Set<String> headers = response.headers().names();\n for (Iterator<String> keyIter = headers.iterator(); keyIter.hasNext();) {\n String keyName = keyIter.next();\n //System.out.println(keyName + \":\" + response.headers().get(keyName));\n this._hcr._responseHeaderMap.put(keyName, response.headers().get(keyName));\n }\n }\n //content or lastContent\n if (msg instanceof HttpContent) {\n HttpContent content = (HttpContent) msg;\n _responseBodyBuf.writeBytes(content.content());\n //if is last content fire done.\n if (content instanceof LastHttpContent) {\n try {\n fireDone(_responseBodyBuf.toString(this._hcr._responseBodyCharset));\n } finally {\n ctx.close();\n releaseResource();\n }\n }\n }\n }", "protected void writeRemoteInvocationResult(HttpExchange exchange, RemoteInvocationResult result)\n/* */ throws IOException\n/* */ {\n/* 143 */ exchange.getResponseHeaders().set(\"Content-Type\", getContentType());\n/* 144 */ exchange.sendResponseHeaders(200, 0L);\n/* 145 */ writeRemoteInvocationResult(exchange, result, exchange.getResponseBody());\n/* */ }", "public void handle(HttpExchange exch) {\n\n }", "public void process(Exchange exchange) throws Exception {\n Response response = exchange.getIn().getHeader(RestletConstants.RESTLET_RESPONSE, Response.class);\n\n response.setStatus(Status.SUCCESS_OK);\n response.setEntity(\"<response>ru.testproj.CamelRest</response>\", MediaType.TEXT_XML);\n exchange.getOut().setBody(response);\n }", "public ResponseMessageDefinition endResponseHeader() {\n return response;\n }", "public void provideTupleResult(Response response){\n\t\n\t\tthis.result = response;\n\t\tthis.latch.countDown();\n\t}", "@Override\n\tpublic void process(Exchange arg0) throws Exception {\n\t\t\n\t}", "@Test\n public void doublePushPromise() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.sendFrame().pushPromise(3, 2, TestUtil.headerEntries(\"a\", \"android\"));\n peer.acceptFrame();// SYN_REPLY\n\n peer.sendFrame().pushPromise(3, 2, TestUtil.headerEntries(\"b\", \"banana\"));\n peer.acceptFrame();// RST_STREAM\n\n peer.play();\n // play it back\n Http2Connection connection = connect(peer);\n connection.newStream(TestUtil.headerEntries(\"b\", \"banana\"), false);\n // verify the peer received what was expected\n Assert.assertEquals(TYPE_HEADERS, peer.takeFrame().type);\n Assert.assertEquals(PROTOCOL_ERROR, peer.takeFrame().errorCode);\n }", "protected void responseBodyConsumed() {\n\n // make sure this is the initial invocation of the notification,\n // ignore subsequent ones.\n responseStream = null;\n responseConnection.setLastResponseInputStream(null);\n\n if (shouldCloseConnection(responseConnection)) {\n responseConnection.close();\n }\n\n doneWithConnection = true;\n if (!inExecute) {\n ensureConnectionRelease();\n }\n }", "protected void writeRemoteInvocationResult(HttpExchange exchange, RemoteInvocationResult result)\r\n/* 57: */ throws IOException\r\n/* 58: */ {\r\n/* 59:137 */ exchange.getResponseHeaders().set(\"Content-Type\", getContentType());\r\n/* 60:138 */ exchange.sendResponseHeaders(200, 0L);\r\n/* 61:139 */ writeRemoteInvocationResult(exchange, result, exchange.getResponseBody());\r\n/* 62: */ }", "ManagedEndpoint next();", "@Override\n public Flux<Response> statefulChannel(Publisher<Request> messages, ByteBuf metadata) {\n Flux.from(messages).limitRate(8).subscribe(processor::onNext);\n return responseFlux;\n }", "@Override\n\t\t\tpublic void onSuccess(List<ClientMessageDecorator> result) {\n\t\t\t\tfor (int i = result.size()-1; i >= 0; i--) {\n\t\t\t\t\taddMessage(result.get(i), false);\n\t\t\t\t}\n\t\t\t}", "@Override\n\tprotected void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception {\n\t\t\n\t\t// This is all debugging...\n\t\tif (msg instanceof HttpResponse) {\n\t\t\tHttpResponse response = (HttpResponse) msg;\n\n\t\t\tlogger.debug(\"STATUS: \" + response.status());\n\t\t\tlogger.debug(\"VERSION: \" + response.protocolVersion());\n\n\t\t\tif (!response.headers().isEmpty()) {\n\t\t\t\tfor (CharSequence name : response.headers().names()) {\n\t\t\t\t\tfor (CharSequence value : response.headers().getAll(name)) {\n\t\t\t\t\t\tlogger.debug(\"HEADER: \" + name + \" = \" + value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (HttpUtil.isTransferEncodingChunked(response)) {\n\t\t\t\tlogger.debug(\"CHUNKED CONTENT {\");\n\t\t\t} else {\n\t\t\t\tlogger.debug(\"CONTENT {\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t// This is where the work happens. This handler gets called MULTIPLE times.\n\t\tif (msg instanceof HttpContent) {\n\t\t\t// The data from the server\n\t\t\tHttpContent content = (HttpContent) msg;\n\n\t\t\t// Gather all the chunks.\n\t\t\tif (null == chunks) {\n\t\t\t\tlogger.debug(\"Chunks initialized.\");\n\t\t\t\tchunks = copiedBuffer(content.content());\n\t\t\t} else {\n\t\t\t\tlogger.debug(\"Adding chunks\");\n\t\t\t\tchunks = copiedBuffer(chunks, content.content());\n\t\t\t}\n\n\t\t\tlogger.debug(content.content().toString(CharsetUtil.UTF_8));\n\n\t\t\tif (content instanceof LastHttpContent) {\n\t\t\t\tlogger.debug(\"} END OF CONTENT\");\n\t\t\t\tlogger.debug(\"Subscriber in handler: {}\", this.subscriber);\n\t\t\t\tlogger.debug(\"Chunks: {}\", this.chunks);\n\t\t\t\tsubscriber.onNext(chunks.toString(CharsetUtil.UTF_8));\n\t\t\t\tctx.close();\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void channelActive(ChannelHandlerContext ctx) throws Exception {\n\t\tctx.writeAndFlush(firstMessage);\n\t}", "public void exchangeComplete(final HttpServerExchange exchange) {\n final HttpServerConnection connection = (HttpServerConnection) exchange.getConnection();\n if (connection.getExtraBytes() == null || exchange.isUpgrade()) {\n performFlush(exchange, connection);\n } else {\n connection.getReadListener().exchangeComplete(exchange);\n }\n }", "@Override\n\tpublic void process(Exchange exchange) throws Exception {\n\t\tMap<String, Object> headerData = new HashMap<>();\n headerData.put(RabbitMQConstants.ROUTING_KEY, CESExecutorConfig.RABBIT_SEND_SIGNAL);\n headerData.put(CESExecutorConfig.RABBIT_STATUS, CESExecutorConfig.RABBIT_MSG_PROCESSSELECTOR);\n\t\texchange.getIn().setBody(this.getSerializedOutput(exchange));\n\t\texchange.getIn().setHeaders(headerData);\n\t}", "private ByteChunker nextChunker() {\n\t\tif(curChunker != null)\n\t\t\tcurChunker.dispose();\n\t\treturn curChunker = sendQ.poll();\n\t}", "public void testUnpackNothingMulti() throws InvalidAdviceException {\n // Set up the baggage\n BaggageAPIForTest baggage = new BaggageAPIForTest();\n baggage.put(\"bag1\", new Object[][] {{\"v1\", \"v2\"}});\n baggage.put(\"bag2\", new Object[][] {});\n baggage.put(\"bag3\", new Object[][] {{\"v5\", \"v6\"}});\n \n EmitAPIForTest results = new EmitAPIForTest();\n Advice advice = AdviceTestUtils.newAdvice().observe(\"a\", \"b\")\n .unpack(\"bag1\", \"c\", \"d\")\n .unpack(\"bag2\", \"e\", \"f\")\n .unpack(\"bag3\", \"g\", \"h\")\n .emit(\"test1\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\")\n .build(baggage, results);\n \n assertTrue(\"Expect nothing emitted yet\", results.emitted.size() == 0);\n advice.advise(\"vva\", \"vvb\");\n advice.advise(\"vva\", \"vvc\");\n advice.advise(\"vva\", \"vve\");\n results.check();\n assertTrue(\"Expect 0 output tuple emitted\", results.emitted.size() == 0);\n }", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "public ChannelFuture writeOneOutbound(Object msg) {\n/* 422 */ return writeOneOutbound(msg, newPromise());\n/* */ }", "@Test\n public void testFinalMessage() throws JAXBException, CamelExecutionException, IOException, InterruptedException {\n startEndpoint.sendBodyAndHeader(fileToString(getClass(), INPUT_MESSAGE_A), \"supplierId\", \"1\");\n mockA.setExpectedMessageCount(1);\n mockB.setExpectedMessageCount(0);\n mockC.setExpectedMessageCount(0);\n mockA.assertIsSatisfied();\n }", "public void receiveResultmultiply3(\n loadbalance.LoadBalanceStub.Multiply3Response result\n ) {\n }", "@Override\n public int getResponseQueueLength() {\n return 0;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "protected void responseFail(){\n\t\tqueue.clear();\n\t}", "public Result apply(WSResponse response) {\n\n if (response.getStatus() >= 400) {\n Logger.info(\"Error status [\" + response.getStatusText() + \"] from proxied request \" + holder.getUrl());\n return getCachedResponse(response.getStatus());\n }\n /**\n * Check the content type of the response. Current policy is that only JSON types are supported. Other types should not be\n * cached. u\n */\n if (!response.getHeader(Http.HeaderNames.CONTENT_TYPE).contains(Http.MimeTypes.JSON)) {\n //TODO: Remove\n Logger.warn(\"Response contains unsupported mediatype: \" + response.getHeader(Http.HeaderNames.CONTENT_TYPE));\n return status(UNSUPPORTED_MEDIA_TYPE, \"Response contains an unsupported media type [\" + response.getHeader(Http.HeaderNames.CONTENT_TYPE) + \"]\");\n }\n\n //TODO: get request and response headers into a string to cache\n CachedResponse resp = new CachedResponse(\n request().toString(),\n response.getBody(),\n response.getStatus(),\n \"application/json\"\n );\n\n Logger.debug(\"Response headers are \" + response.getAllHeaders());\n for (String key : response.getAllHeaders().keySet()) {\n final String val = StringUtils.join(response.getAllHeaders().get(key), \";\");\n response().setHeader(key, val);\n }\n _responseCache.put(getCacheKeyFromRequest(), resp);\n Logger.debug(\"Cached Response for [\" + holder.getUrl() + \"] from proxied request \" + holder.getUrl());\n return status(response.getStatus(), response.getBody()).as(Http.MimeTypes.JSON);\n }", "public static void rebaseResponse(EndpointReferenceType reference,\n AddressingProperties inMAPs,\n final Message inMessage) {\n String namespaceURI = inMAPs.getNamespaceURI();\n if (!retrievePartialResponseSent(inMessage)) {\n storePartialResponseSent(inMessage);\n Exchange exchange = inMessage.getExchange();\n Message fullResponse = exchange.getOutMessage();\n Message partialResponse = createMessage(exchange);\n ensurePartialResponseMAPs(partialResponse, namespaceURI);\n \n // ensure the inbound MAPs are available in the partial response\n // message (used to determine relatesTo etc.)\n propogateReceivedMAPs(inMAPs, partialResponse);\n partialResponse.put(Message.PARTIAL_RESPONSE_MESSAGE, Boolean.TRUE);\n Destination target = inMessage.getDestination();\n if (target == null) {\n return;\n }\n \n try {\n exchange.setOutMessage(partialResponse);\n Conduit backChannel = target.getBackChannel(inMessage,\n partialResponse,\n reference);\n\n if (backChannel != null) {\n // set up interceptor chains and send message\n InterceptorChain chain =\n fullResponse != null\n ? fullResponse.getInterceptorChain()\n : OutgoingChainInterceptor.getOutInterceptorChain(exchange);\n partialResponse.setInterceptorChain(chain);\n exchange.put(ConduitSelector.class,\n new PreexistingConduitSelector(backChannel,\n exchange.get(Endpoint.class)));\n\n if (chain != null && !chain.doIntercept(partialResponse) \n && partialResponse.getContent(Exception.class) != null) {\n if (partialResponse.getContent(Exception.class) instanceof Fault) {\n throw (Fault)partialResponse.getContent(Exception.class);\n } else {\n throw new Fault(partialResponse.getContent(Exception.class));\n }\n }\n if (chain != null) {\n chain.reset(); \n }\n exchange.put(ConduitSelector.class, new NullConduitSelector());\n if (fullResponse != null) {\n exchange.setOutMessage(fullResponse);\n } else {\n fullResponse = createMessage(exchange);\n exchange.setOutMessage(fullResponse);\n }\n \n if (retrieveAsyncPostResponseDispatch(inMessage)) {\n // async service invocation required *after* a response\n // has been sent (i.e. to a oneway, or a partial response\n // to a decoupled twoway)\n \n // pause dispatch on current thread ...\n inMessage.getInterceptorChain().pause();\n\n // ... and resume on executor thread\n getExecutor(inMessage).execute(new Runnable() {\n public void run() {\n inMessage.getInterceptorChain().resume();\n }\n });\n }\n }\n } catch (Exception e) {\n LOG.log(Level.WARNING, \"SERVER_TRANSPORT_REBASE_FAILURE_MSG\", e);\n }\n }\n }", "@Override\n public long getResponseQueueSize() {\n return 0;\n }", "private synchronized void addResultToMultiList() {\n\t addObjectToMultiList(resultArrayList);\r\n\t }", "@Test(timeout=10000)\n public void testHttpOnErrorBeforeSend1stAnd2ndHappyPathKeepAliveReuseConnection() throws Exception {\n \n final HttpTestServer server = createTestServerWithDefaultHandler(false, \"test\");\n\n final TestChannelCreator creator = new TestChannelCreator();\n \n final TestChannelPool pool = new TestChannelPool(1);\n final DefaultHttpClient client = new DefaultHttpClient(creator, pool,\n ENABLE_LOGGING);\n \n try {\n // first \n {\n final TestSubscriber<HttpObject> testSubscriber = new TestSubscriber<HttpObject>();\n final CountDownLatch unsubscribed = new CountDownLatch(1);\n try {\n client.defineInteraction(\n new LocalAddress(\"test\"), \n Observable.<HttpObject>error(new RuntimeException(\"test error\")))\n .compose(RxFunctions.<HttpObject>countDownOnUnsubscribe(unsubscribed))\n .subscribe(testSubscriber);\n unsubscribed.await();\n \n // await for 1 second\n pool.awaitRecycleChannels(1);\n } finally {\n assertEquals(1, testSubscriber.getOnErrorEvents().size());\n assertEquals(RuntimeException.class, \n testSubscriber.getOnErrorEvents().get(0).getClass());\n assertEquals(0, testSubscriber.getCompletions());\n assertEquals(0, testSubscriber.getOnNextEvents().size());\n }\n }\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertNotClose(1);\n // second\n {\n final Iterator<HttpObject> itr = \n client.defineInteraction(\n new LocalAddress(\"test\"), \n Observable.just(fullHttpRequest()))\n .map(RxNettys.<HttpObject>retainer())\n .toBlocking().toIterable().iterator();\n \n final byte[] bytes = RxNettys.httpObjectsAsBytes(itr);\n \n assertTrue(Arrays.equals(bytes, HttpTestServer.CONTENT));\n }\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertNotClose(1);\n } finally {\n client.close();\n// server.unsubscribe();\n server.stop();\n }\n }", "protected abstract boolean sendNextRequests();", "OutboundQueueEntry pairRequest(@Nonnull final OfHeader response) {\n final Long xid = response.getXid();\n if (!xidInRange(xid)) {\n LOG.debug(\"Queue {} {}/{} ignoring XID {}\", this, baseXid, queue.length, xid);\n return null;\n }\n\n final int offset = (int)(xid - baseXid);\n final OutboundQueueEntry entry = queue[offset];\n if (entry.isCompleted()) {\n LOG.debug(\"Entry {} already is completed, not accepting response {}\", entry, response);\n return null;\n }\n\n if (entry.isBarrier()) {\n // This has been a barrier -- make sure we complete all preceding requests.\n // XXX: Barriers are expected to complete in one message.\n // If this assumption is changed, this logic will need to be expanded\n // to ensure that the requests implied by the barrier are reported as\n // completed *after* the barrier.\n LOG.trace(\"Barrier XID {} completed, cascading completion to XIDs {} to {}\", xid, baseXid + lastBarrierOffset + 1, xid - 1);\n completeRequests(offset);\n lastBarrierOffset = offset;\n\n final boolean success = completeEntry(entry, response);\n Verify.verify(success, \"Barrier request failed to complete\");\n completeCount++;\n } else if (completeEntry(entry, response)) {\n completeCount++;\n }\n\n return entry;\n }", "@Test\n public void testJmsBatchTimeoutExpiryWithAggregationDelay() throws Exception {\n MockEndpoint resultEndpoint = resolveMandatoryEndpoint(\"mock:result\", MockEndpoint.class);\n resultEndpoint.setSleepForEmptyTest(3000);\n resultEndpoint.expectedMessageCount(1);\n for (int i = 1; i <= 2; i++) {\n String body = \"message:\" + i;\n sendExchange(timeOutEndpointUri, body);\n }\n\n resultEndpoint.assertIsSatisfied();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public abstract HTTPResponse finish();", "Single<WebClientServiceResponse> whenResponseReceived();", "Single<WebClientServiceResponse> whenResponseReceived();", "public EchoClientHandler() {\n firstMessage = Unpooled.buffer(EchoClient.SIZE);\n for (int i = 0; i < firstMessage.capacity(); i ++) {\n firstMessage.writeByte((byte) i);\n }\n }", "public void run() {\n req.response().end(\"0\"); // Default response = 0\n }", "public Object call() throws Exception {\n\t\t\t\t\t\tProducerSimpleNettyResponseFuture future;\n\t\t\t\t\t\tProducerSimpleNettyResponse responseFuture;\n\t\t\t\t\t\tfuture = clientProxy.request(message);\n\t\t\t\t\t\tresponseFuture = future\n\t\t\t\t\t\t\t\t.get(3000, TimeUnit.MILLISECONDS);\n\t\t\t\t\t\treturn responseFuture.getResponse();\n\t\t\t\t\t}", "private void handleResponse(List<TryTrackingIndexAction<T>> actions, IndexBatchResponse batchResponse) {\n if (batchResponse.getStatusCode() == HttpURLConnection.HTTP_ENTITY_TOO_LARGE && batchResponse.getCount() == 1) {\n IndexAction<T> action = actions.get(0).getAction();\n if (onActionErrorConsumer != null) {\n onActionErrorConsumer.accept(new OnActionErrorOptions<>(action)\n .setThrowable(createDocumentTooLargeException()));\n }\n return;\n }\n\n List<TryTrackingIndexAction<T>> actionsToRetry = new ArrayList<>();\n boolean has503 = batchResponse.getStatusCode() == HttpURLConnection.HTTP_UNAVAILABLE;\n if (batchResponse.getResults() == null) {\n /*\n * Null results indicates that the entire request failed. Retry all documents.\n */\n actionsToRetry.addAll(actions);\n } else {\n /*\n * We got back a result set, correlate responses to their request document and add retryable actions back\n * into the queue.\n */\n for (IndexingResult result : batchResponse.getResults()) {\n String key = result.getKey();\n TryTrackingIndexAction<T> action = actions.stream()\n .filter(a -> key.equals(a.getKey()))\n .findFirst()\n .orElse(null);\n\n if (action == null) {\n LOGGER.warning(\"Unable to correlate result key {} to initial document.\", key);\n continue;\n }\n\n if (isSuccess(result.getStatusCode())) {\n if (onActionSucceededConsumer != null) {\n onActionSucceededConsumer.accept(new OnActionSucceededOptions<>(action.getAction()));\n }\n } else if (isRetryable(result.getStatusCode())) {\n has503 |= result.getStatusCode() == HttpURLConnection.HTTP_UNAVAILABLE;\n if (action.getTryCount() < maxRetries) {\n action.incrementTryCount();\n actionsToRetry.add(action);\n } else {\n if (onActionErrorConsumer != null) {\n onActionErrorConsumer.accept(new OnActionErrorOptions<>(action.getAction())\n .setThrowable(createDocumentHitRetryLimitException())\n .setIndexingResult(result));\n }\n }\n } else {\n if (onActionErrorConsumer != null) {\n onActionErrorConsumer.accept(new OnActionErrorOptions<>(action.getAction())\n .setIndexingResult(result));\n }\n }\n }\n }\n\n if (has503) {\n currentRetryDelay = calculateRetryDelay(backoffCount.getAndIncrement());\n } else {\n backoffCount.set(0);\n currentRetryDelay = Duration.ZERO;\n }\n\n if (!CoreUtils.isNullOrEmpty(actionsToRetry)) {\n reinsertFailedActions(actionsToRetry);\n }\n }", "@Override\n public void call(final HttpTrade trade) {\n final FullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_0, OK, \n Unpooled.wrappedBuffer(HttpTestServer.CONTENT));\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/plain\");\n // BAD Content-Length, actual length + 1\n response.headers().set(HttpHeaderNames.CONTENT_LENGTH, \n response.content().readableBytes() + 1);\n response.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.CLOSE);\n trade.outboundResponse(Observable.just(response));\n }", "@Override\n public void call(final HttpTrade trade) {\n final FullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_0, OK, \n Unpooled.wrappedBuffer(HttpTestServer.CONTENT));\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/plain\");\n // BAD Content-Length, actual length + 1\n response.headers().set(HttpHeaderNames.CONTENT_LENGTH, \n response.content().readableBytes() + 1);\n response.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.CLOSE);\n trade.outboundResponse(Observable.just(response));\n }", "@Override\n public void call(final HttpTrade trade) {\n final FullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_0, OK, \n Unpooled.wrappedBuffer(HttpTestServer.CONTENT));\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/plain\");\n // missing Content-Length\n// response.headers().set(CONTENT_LENGTH, response.content().readableBytes());\n response.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.CLOSE);\n trade.outboundResponse(Observable.just(response));\n }", "@Override\n public void call(final HttpTrade trade) {\n final FullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_0, OK, \n Unpooled.wrappedBuffer(HttpTestServer.CONTENT));\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/plain\");\n // missing Content-Length\n// response.headers().set(CONTENT_LENGTH, response.content().readableBytes());\n response.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.CLOSE);\n trade.outboundResponse(Observable.just(response));\n }", "public void answer(Message response) throws IOException {\n out.writeObject(response);\n out.flush();\n }", "private ChannelBuffer storeResponse(Cache.StoreResponse storeResponse) {\n\t\tswitch (storeResponse) {\n\t\tcase EXISTS:\n\t\t\tStatsCounter.bytes_read.addAndGet(8);\n\t\t\treturn EXISTS.duplicate();\n\t\tcase NOT_FOUND:\n\t\t\tStatsCounter.bytes_read.addAndGet(11);\n\t\t\treturn NOT_FOUND.duplicate();\n\t\tcase NOT_STORED:\n\t\t\tStatsCounter.bytes_read.addAndGet(12);\n\t\t\treturn NOT_STORED.duplicate();\n\t\tcase STORED:\n\t\t\tStatsCounter.bytes_read.addAndGet(8);\n\t\t\treturn STORED.duplicate();\n\t\t}\n\t\tthrow new RuntimeException(\"unknown store response from cache: \" + storeResponse);\n\t}", "@Override\n\t\t\tprotected void deliverResponse(String response) {\n\n\t\t\t}", "ReadResponseMessage fetchAllMessages();", "public void notifyResultFromMarket(ArrayList<Resource> buffer) throws IOException, InterruptedException {\n notifyToOneObserver(new ResultFromMarketMessage(buffer) );\n notifyAllObserverLessOne(new ResultFromMarketNotCurrentMessage(currentPlayer.getNickName(),buffer) );\n }", "public Message invokeResponse(Message msg) {\n JMSBindingContext context = msg.getBindingContext();\n // The Binding Context may be null on an asynchronous response - in which case, create a new one\n if(context == null) {\n \tcontext = createBindingContext();\n \tmsg.setBindingContext(context);\n } // end if\n Session session = context.getJmsResponseSession();\n\n javax.jms.Message responseJMSMsg;\n \n boolean respondBytesMessage = context.isUseBytesForWFJMSDefaultResponse();\n \n if (msg.isFault()) {\n if (respondBytesMessage == true) {\n responseJMSMsg = requestMessageProcessor.createFaultJMSBytesMessage(session, (Throwable) msg.getBody());\n } else {\n responseJMSMsg = responseMessageProcessor.createFaultJMSTextMessage(session, (Throwable) msg.getBody());\n }\n } else {\n boolean unwrap = false;\n \n if (this.outputWrapperMap.get(msg.getOperation().getName()) != null){\n unwrap = this.outputWrapperMap.get(msg.getOperation().getName());\n }\n \n if (respondBytesMessage == true) {\n responseJMSMsg = requestMessageProcessor.insertPayloadIntoJMSBytesMessage(session, msg.getBody(), unwrap);\n } else {\n responseJMSMsg = requestMessageProcessor.insertPayloadIntoJMSTextMessage(session, msg.getBody(), unwrap);\n }\n }\n\n \n msg.setBody(responseJMSMsg);\n\n return msg;\n }", "@Test\n void testRequestInterleaving() throws Exception {\n final BlockerSync sync = new BlockerSync();\n testHandler.handlerBody =\n id -> {\n if (id == 1) {\n try {\n sync.block();\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n }\n }\n return CompletableFuture.completedFuture(new TestResponse(id.toString()));\n };\n\n // send first request and wait until the handler blocks\n final CompletableFuture<TestResponse> response1 =\n sendRequestToTestHandler(new TestRequest(1));\n sync.awaitBlocker();\n\n // send second request and verify response\n final CompletableFuture<TestResponse> response2 =\n sendRequestToTestHandler(new TestRequest(2));\n assertThat(response2.get().getStatus()).isEqualTo(\"2\");\n\n // wake up blocked handler\n sync.releaseBlocker();\n\n // verify response to first request\n assertThat(response1.get().getStatus()).isEqualTo(\"1\");\n }", "@Override\n public Exchange aggregate(Exchange original, Exchange resource) {\n String cswResponse = original.getIn().getBody(String.class);\n String harvesterDetails = resource.getIn().getBody(String.class);\n String mergeResult = \"<harvestedContent>\" +\n harvesterDetails + cswResponse + \"</harvestedContent>\";\n\n if (original.getPattern().isOutCapable()) {\n original.getOut().setBody(mergeResult);\n } else {\n original.getIn().setBody(mergeResult);\n }\n return original;\n }", "public void receivedHttpResponse(ProxyMessageContext context) {\n\t\ttry {\n\t\t\thttpOutQueue.put(context);\n\t\t\t\n synchronized (httpResponder) {\n \thttpResponder.notify();\n }\n \n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "protected void awaitResult(){\t\n\t\ttry {\n\t\t\t/*place thread/tuple identifier in waitlist for future responses from web service*/\n\t\t\tResponses.getInstance().addToWaitList(this.transId, this);\n\t\t\tthis.latch.await();\n\t\t\t\n\t\t} catch (InterruptedException e) {\n\n\t\t\tLogger.getLogger(\"RSpace\").log(Level.WARNING, \"Transaction #\" + transId + \" response listener was terminated\");\n\t\t}\n\t}", "@Override\n public void process(Exchange exchange) throws Exception {\n exchange.setException(exception);\n exchange.getIn().setBody(message);\n }", "public Builder addAllResponse(\n java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {\n ensureResponseIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, response_);\n onChanged();\n return this;\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "@Override\n\tpublic void consume(Message message) {\n\t\tif (!AMQ_CONTENT_TYPE_JSON_GET.equals(message.getStringProperty(AMQ_CONTENT_TYPE)))\n\t\t\treturn;\n\n\t\tJson node = Util.readBodyBuffer(message.toCore());\n\t\tString correlation = message.getStringProperty(Config.AMQ_CORR_ID);\n\t\tString destination = message.getStringProperty(Config.AMQ_REPLY_Q);\n\n\t\t// deal with diff format\n\t\tif (node.has(CONTEXT) && (node.has(GET))) {\n\t\t\tif (logger.isDebugEnabled())\n\t\t\t\tlogger.debug(\"GET msg: {}\", node.toString());\n\t\t\tString ctx = node.at(CONTEXT).asString();\n\t\t\tString jwtToken = null;\n\t\t\tif (node.has(SignalKConstants.TOKEN) && !node.at(SignalKConstants.TOKEN).isNull()) {\n\t\t\t\tjwtToken = node.at(SignalKConstants.TOKEN).asString();\n\t\t\t}\n\t\t\tString root = StringUtils.substringBefore(ctx, dot);\n\t\t\troot = Util.sanitizeRoot(root);\n\n\t\t\t// limit to explicit series\n\t\t\tif (!vessels.equals(root) && !CONFIG.equals(root) && !sources.equals(root) && !resources.equals(root)\n\t\t\t\t\t&& !aircraft.equals(root) && !sar.equals(root) && !aton.equals(root) && !ALL.equals(root)) {\n\t\t\t\ttry {\n\t\t\t\t\tsendReply(destination, FORMAT_FULL, correlation, Json.object(), jwtToken);\n\t\t\t\t\treturn;\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlogger.error(e, e);\n\n\t\t\t\t}\n\t\t\t}\n\t\t\tString qUuid = StringUtils.substringAfter(ctx, dot);\n\t\t\tif (StringUtils.isBlank(qUuid))\n\t\t\t\tqUuid = \"*\";\n\t\t\tArrayList<String> fullPaths = new ArrayList<>();\n\n\t\t\ttry {\n\t\t\t\tNavigableMap<String, Json> map = new ConcurrentSkipListMap<>();\n\t\t\t\tfor (Json p : node.at(GET).asJsonList()) {\n\n\t\t\t\t\tString path = p.at(PATH).asString();\n\t\t\t\t\tString time = p.has(\"time\") ? p.at(\"time\").asString() : null;\n\t\t\t\t\tif (logger.isDebugEnabled())\n\t\t\t\t\t\tlogger.debug(\"GET time : {}={}\", time,\n\t\t\t\t\t\t\t\tStringUtils.isNotBlank(time) ? Util.getMillisFromIsoTime(time) : null);\n\t\t\t\t\tpath = Util.sanitizePath(path);\n\t\t\t\t\tfullPaths.add(Util.sanitizeRoot(ctx + dot + path));\n\n\t\t\t\t\tMap<String, String> queryMap = new HashMap<>();\n\t\t\t\t\tif (StringUtils.isNotBlank(path))\n\t\t\t\t\t\tqueryMap.put(skey, Util.regexPath(path).toString());\n\t\t\t\t\tif (StringUtils.isNotBlank(qUuid))\n\t\t\t\t\t\tqueryMap.put(\"uuid\", Util.regexPath(qUuid).toString());\n\t\t\t\t\tswitch (root) {\n\t\t\t\t\tcase CONFIG:\n\t\t\t\t\t\tinflux.loadConfig(map, queryMap);\n\t\t\t\t\t\tif (map.size() == 0 && queryMap.size() == 0) {\n\t\t\t\t\t\t\t// send defaults\n\t\t\t\t\t\t\tConfig.setDefaults(map);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase resources:\n\t\t\t\t\t\tinflux.loadResources(map, queryMap);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase sources:\n\t\t\t\t\t\tinflux.loadSources(map, queryMap);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase vessels:\n\t\t\t\t\t\tif (StringUtils.isNotBlank(time)) {\n\t\t\t\t\t\t\tinflux.loadDataSnapshot(map, vessels, queryMap, time);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinflux.loadData(map, vessels, queryMap);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase aircraft:\n\t\t\t\t\t\tif (StringUtils.isNotBlank(time)) {\n\t\t\t\t\t\t\tinflux.loadDataSnapshot(map, aircraft, queryMap, time);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinflux.loadData(map, aircraft, queryMap);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase sar:\n\t\t\t\t\t\tif (StringUtils.isNotBlank(time)) {\n\t\t\t\t\t\t\tinflux.loadDataSnapshot(map, sar, queryMap, time);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinflux.loadData(map, sar, queryMap);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase aton:\n\t\t\t\t\t\tif (StringUtils.isNotBlank(time)) {\n\t\t\t\t\t\t\tinflux.loadDataSnapshot(map, aton, queryMap, time);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinflux.loadData(map, aton, queryMap);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase ALL:\n\t\t\t\t\t\tif (StringUtils.isNotBlank(time)) {\n\t\t\t\t\t\t\tinflux.loadDataSnapshot(map, vessels, null, time);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinflux.loadData(map, vessels, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// loadAllDataFromInflux(map,aircraft);\n\t\t\t\t\t\t// loadAllDataFromInflux(map,sar);\n\t\t\t\t\t\t// loadAllDataFromInflux(map,aton);\n\t\t\t\t\tdefault:\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif (logger.isDebugEnabled())\n\t\t\t\t\tlogger.debug(\"GET token: {}, map : {}\", jwtToken, map);\n\n\t\t\t\t// security filter here\n\t\t\t\tSecurityUtils.trimMap(map, message.getStringProperty(Config.AMQ_USER_ROLES));\n\n\t\t\t\tJson json = SignalkMapConvertor.mapToFull(map);\n\n\t\t\t\tif (logger.isDebugEnabled())\n\t\t\t\t\tlogger.debug(\"GET json : {}\", json);\n\n\t\t\t\tString fullPath = StringUtils.getCommonPrefix(fullPaths.toArray(new String[] {}));\n\t\t\t\t// fullPath=StringUtils.remove(fullPath,\".*\");\n\t\t\t\t// fullPath=StringUtils.removeEnd(fullPath,\".\");\n\n\t\t\t\t// for REST we only send back the sub-node, so find it\n\t\t\t\tif (logger.isDebugEnabled())\n\t\t\t\t\tlogger.debug(\"GET node : {}\", fullPath);\n\n\t\t\t\tif (StringUtils.isNotBlank(fullPath) && !root.startsWith(CONFIG) && !root.startsWith(ALL))\n\t\t\t\t\tjson = Util.findNodeMatch(json, fullPath);\n\n\t\t\t\tsendReply(destination, FORMAT_FULL, correlation, json, jwtToken);\n\n\t\t\t} catch (Exception e) {\n\t\t\t\tlogger.error(e, e);\n\n\t\t\t}\n\n\t\t}\n\t\treturn;\n\t}", "Single<WebClientServiceRequest> whenSent();", "Single<WebClientServiceRequest> whenSent();", "@Override\n public void run() {\n while (!bShutDown || !messageCache.isEmpty()) {\n try {\n while (!messageCache.isEmpty()) {\n HttpMessage httpMessage = messageCache.poll();\n if (httpMessage != null) {\n SendResult result = sendMessageWithHostInfo(\n httpMessage.getBodies(), httpMessage.getGroupId(),\n httpMessage.getStreamId(), httpMessage.getDt(),\n httpMessage.getTimeout(), httpMessage.getTimeUnit());\n httpMessage.getCallback().onMessageAck(result);\n }\n }\n TimeUnit.MILLISECONDS.sleep(proxyClientConfig.getAsyncWorkerInterval());\n } catch (Exception exception) {\n logger.error(\"exception caught\", exception);\n }\n }\n }", "synchronized void \n receivedLast() \n {\n closedByWriter = true;\n notifyAll();\n }", "public synchronized Object getResponse() {\n Object[] resp = new Object[ responses.size() ] ;\n for (int i=0;i<responses.size();i++) {\n resp[i] = responses.get(i) ;\n }\n responses.clear();\n responseChanged = false ;\n numResponses ++ ;\n return resp ;\n }", "default T multiParts(Collection<? extends Part> multiParts) {\n return body(new MultiPartHttpBody(multiParts));\n }", "private void clientResponse(String msg) {\n JSONObject j = new JSONObject();\n j.put(\"statuscode\", 200);\n j.put(\"sequence\", ++sequence);\n j.put(\"response\", new JSONArray().add(msg));\n output.println(j);\n output.flush();\n }", "@Test\n public void readMultipleSetsOfResponseHeaders() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.acceptFrame();// SYN_STREAM\n\n peer.sendFrame().headers(false, 3, TestUtil.headerEntries(\"a\", \"android\"));\n peer.acceptFrame();// PING\n\n peer.sendFrame().headers(true, 3, TestUtil.headerEntries(\"c\", \"cola\"));\n peer.sendFrame().ping(true, 1, 0);// PONG\n\n peer.play();\n // play it back\n Http2Connection connection = connect(peer);\n Http2Stream stream = connection.newStream(TestUtil.headerEntries(\"b\", \"banana\"), true);\n stream.getConnection().flush();\n Assert.assertEquals(Headers.of(\"a\", \"android\"), stream.takeHeaders());\n connection.writePingAndAwaitPong();\n Assert.assertEquals(Headers.of(\"c\", \"cola\"), stream.trailers());\n // verify the peer received what was expected\n Assert.assertEquals(TYPE_HEADERS, peer.takeFrame().type);\n Assert.assertEquals(TYPE_PING, peer.takeFrame().type);\n }", "protected void doConsumeResponse() throws Exception {\n if (response.getEntity() != null)\n response_data = EntityUtils.toByteArray(response.getEntity());\n }", "public void receiveResultmultiply2(\n loadbalance.LoadBalanceStub.Multiply2Response result\n ) {\n }", "@Override\n public void handle(HttpExchange exchange) throws IOException {\n boolean wasSuccessful = false;\n try {\n // Only allow POST requests for this operation.\n // This operation requires a POST request, because the\n // client is \"posting\" information to the server for processing.\n if (exchange.getRequestMethod().toLowerCase().equals(\"get\")) {\n\n //String containing the url desired\n String URLrequested = exchange.getRequestURI().toString();\n\n //Checks to see if it is just the open URL as ex: localhost:8080, this is mapped to index.html, this is the case for nothing added.\n if (URLrequested.length() == 1){\n\n\n String location = \"web/index.html\";\n Path path = FileSystems.getDefault().getPath(location);\n\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_OK, 0);\n\n Files.copy(path, exchange.getResponseBody());\n\n exchange.getResponseBody().close();\n\n } else if (URLrequested.equals(\"/\")) {\n\n //\n String location = \"web\" + URLrequested;\n\n //Obtain the file path, this is the same method used for the name and locations data draw\n Path filePath = FileSystems.getDefault().getPath(location);\n\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_OK, 0);\n\n //Copies Files into the exchange's responsive body header\n Files.copy(filePath, exchange.getResponseBody());\n\n exchange.getResponseBody().close();\n\n }\n else if(URLrequested.equals(\"/css/main.css\")){\n String location = \"web/css/main.css\";\n //Obtain the file path, this is the same method used for the name and locations data draw\n Path filePath = FileSystems.getDefault().getPath(location);\n\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_OK, 0);\n\n //Copies Files into the response body\n Files.copy(filePath, exchange.getResponseBody());\n\n exchange.getResponseBody().close();\n\n }\n else{\n String location = \"web/HTML/404.html\";\n\n //Obtain the file path, this is the same method used for the name and locations data draw\n Path filePath = FileSystems.getDefault().getPath(location);\n\n //Response header needs to come first.\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_NOT_FOUND, 0);\n\n //Copies Files into the response body\n Files.copy(filePath, exchange.getResponseBody());\n\n\n //Completes the exchange\n exchange.getResponseBody().close();\n }\n wasSuccessful = true;\n\n\n }\n\n if (!wasSuccessful) {\n //Bad Server Response\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_BAD_REQUEST, 0);\n\n //Completes the exchange\n exchange.getResponseBody().close();\n }\n }\n catch (IOException e) {\n //Bad Server Response\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_SERVER_ERROR, 0);\n //Completes the exchange\n exchange.getResponseBody().close();\n e.printStackTrace();\n }\n }", "@Override\n\t\t\tpublic void process(Exchange exchange) throws Exception {\n\t\t\t\tFile envoyeDirectory = new File(\"envoye\");\n\t\t\t\tString[] fileNames = envoyeDirectory.list();\n\t\t\t\tLOG.debug(\"Liste de messages envoyés : {}\", fileNames);\n\n\t\t\t\tif (fileNames == null) {\n\t\t\t\t\tfileNames = new String[1];\n\t\t\t\t\tLOG.debug(\"initialisation du cache de fichiers traités à vide, premier lancement\");\n\t\t\t\t}\n\t\t\t\texchange.getIn().setHeader(\"fileNames\", fileNames);\n\t\t\t}", "static void replyWith(HttpExchange t, int code, String contentType, String response)\n throws IOException {\n Headers headers = t.getResponseHeaders();\n headers.add(\"contentType\", contentType);\n t.sendResponseHeaders(code, response.length());\n OutputStream os = t.getResponseBody();\n os.write(response.getBytes());\n os.close();\n }", "private void onSuccess(AppendRowsResponse response) {\n for (int i = 0; i < inflightRequests.size(); i++) {\n AppendRowsResponse.Builder singleResponse = response.toBuilder();\n if (offsetList.get(i) > 0) {\n singleResponse.setOffset(offsetList.get(i));\n } else {\n long actualOffset = response.getOffset();\n for (int j = 0; j < i; j++) {\n actualOffset +=\n inflightRequests.get(j).message.getProtoRows().getRows().getSerializedRowsCount();\n }\n singleResponse.setOffset(actualOffset);\n }\n inflightRequests.get(i).appendResult.set(singleResponse.build());\n }\n }", "public org.neos.axis2.ws.service.CelsiusToFarenheitResponseDocument.CelsiusToFarenheitResponse addNewCelsiusToFarenheitResponse()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.neos.axis2.ws.service.CelsiusToFarenheitResponseDocument.CelsiusToFarenheitResponse target = null;\r\n target = (org.neos.axis2.ws.service.CelsiusToFarenheitResponseDocument.CelsiusToFarenheitResponse)get_store().add_element_user(CELSIUSTOFARENHEITRESPONSE$0);\r\n return target;\r\n }\r\n }", "@Test\n public void testHttpHappyPathOnce() throws Exception {\n final String testAddr = UUID.randomUUID().toString();\n final Subscription server = TestHttpUtil.createTestServerWith(testAddr, \n responseBy(\"text/plain\", HttpTestServer.CONTENT),\n ENABLE_LOGGING);\n final DefaultHttpClient client = new DefaultHttpClient(new TestChannelCreator(), ENABLE_LOGGING);\n try {\n \n final Iterator<HttpObject> itr = \n client.defineInteraction(\n new LocalAddress(testAddr), \n Observable.just(fullHttpRequest()))\n .map(RxNettys.<HttpObject>retainer())\n .toBlocking().toIterable().iterator();\n \n final byte[] bytes = RxNettys.httpObjectsAsBytes(itr);\n \n assertTrue(Arrays.equals(bytes, HttpTestServer.CONTENT));\n } finally {\n client.close();\n server.unsubscribe();\n }\n }", "@Override\n public void process(Exchange exchange) throws Exception {\n SetorReq setorReq = exchange.getMessage().getBody(SetorReq.class);\n exchange.getIn().setBody(new String(buildISOMessage(currentId.stanGenerator(),currentId.nextJournalId(),setorReq)));\n\n }", "HttpServletResponse getCurrentResponse();", "public void handle(HttpExchange t) throws IOException {\n os = t.getResponseBody();\n urlString = t.getRequestURI().toString();\n this.url =t.getRequestURI().toString().split(\"/\"); //getRequestURI for URL and split\n\n System.out.println(\"Base URI Received: \"+t.getRequestURI().toString());\n\n if(urlString.contains(\".\")) {\n Helper.returnRequestedFile(t, urlString, os);\n } else {\n if(url.length == 0 || url[url.length-1].equals(\"index.html\")) {\n //Returns index.html\n basePage = new File(\"src/StockMarketServer/client/index/index.html\"); //Write index.html to file\n t.getResponseHeaders().add(\"Content-type\", \"text/html\");\n t.sendResponseHeaders(200, basePage.length()); //Return okay code and length of file\n Files.copy(Paths.get(basePage.getAbsolutePath()), os); //Write index.html to response\n os = t.getResponseBody();\n }\n else {\n //Returns pageNotFound.html\n basePage = new File(\"src/StockMarketServer/client/pageNotFound/pageNotFound.html\"); //Write index.html to file\n t.sendResponseHeaders(404, basePage.length()); //Return okay code and length of file\n Files.copy(Paths.get(basePage.getAbsolutePath()), os); //Write index.html to response\n os = t.getResponseBody();\n }\n }\n os.close();\n }", "public TransactionResponse receive() {\n return new TransactionResponse(true, \"12314\");\n }", "public ResponseMessage extractMessage(String response) {\n \n \t\tString[] res = response.split( Ending.CRLF.toString() );\n \t\tif ( ( res == null ) || ( res.length == 1 ) ) {\n \t\t\tcontent = \"\";\n \t\t}\n \t\telse {\n \t\t\tint count = 0;\n \t\t\tint current = 0;\n \t\t\tfor ( String str : res ) {\n \n \t\t\t\tif ( current == 0 ) {\n \t\t\t\t\tsetStatusCode( str );\n \t\t\t\t\tcurrent++;\n \t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\telse {\n \t\t\t\t\tif ( str.isEmpty() ) {\n \t\t\t\t\t\tcount++;\n \t\t\t\t\t}\n \t\t\t\t\telse {\n \n \t\t\t\t\t\tif ( count == 1 ) {\n \t\t\t\t\t\t\tcontent = str;\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse {\n \t\t\t\t\t\t\textractHeader( str );\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \n \t\t\t\tcurrent++;\n \t\t\t}\n \t\t}\n \t\treturn this;\n \t}", "@Override\n\tpublic void processResponse(ResponseEvent responseEvent) {\n\t\tResponse response = responseEvent.getResponse();\n\t\ttry {\n\t\t\t// Display the response message in the text area.\n\t\t\t//printMessage(\"\\nReceived response: \" + response.toString());\n\n\t\t\tClientTransaction tid = responseEvent.getClientTransaction();\n\t\t\tCSeqHeader cseq = (CSeqHeader) response.getHeader(CSeqHeader.NAME);\n\t\t\tif (response.getStatusCode() == Response.OK) {\n\t\t\t\tif (cseq.getMethod().equals(Request.REGISTER)) {\n\t\t\t\t\tSystem.out.println(\"regist ACK OK\");\n\t\t\t\t\t//onInvite();\n\t\t\t\t} else if (cseq.getMethod().equals(Request.INVITE)) {\n\t\t\t\t\tDialog dialog = inviteTid.getDialog();\n\t\t\t\t\tRequest ackRequest = dialog.createAck(cseq.getSeqNumber());\n\t\t\t\t\tdialog.sendAck(ackRequest);\n\t\t\t\t\tSystem.out.println(\"Sending ACK\");\n\t\t\t\t} else if (cseq.getMethod().equals(Request.MESSAGE)) {\n\t\t\t\t\tSystem.out.println(\"Send OK !\");\n\t\t\t\t} else if (cseq.getMethod().equals(Request.CANCEL)) {\n\t\t\t\t\tSystem.out.println(\"Sending BYE -- cancel went in too late !!\");\n\t\t\t\t}\n\t\t\t} else if (response.getStatusCode() == Response.PROXY_AUTHENTICATION_REQUIRED\n\t\t\t\t\t|| response.getStatusCode() == Response.UNAUTHORIZED) {\n\t\t\t\tauthenticationHelper = ((SipStackExt) sipStack)\n\t\t\t\t\t\t.getAuthenticationHelper(new AccountManagerImpl(),\n\t\t\t\t\t\t\t\theaderFactory);\n\t\t\t\tinviteTid = authenticationHelper.handleChallenge(response, tid,\n\t\t\t\t\t\tsipProvider, 5);\n\t\t\t\tinviteTid.getRequest().addHeader(\n\t\t\t\t\t\theaderFactory.createExpiresHeader(3600));\n\t\t\t\tinviteTid.getRequest().setMethod(Request.REGISTER);\n\t\t\t\tinviteTid.sendRequest();\n\t\t\t\tinvco++;\n\t\t\t\tprintMessage(\"[processResponse] Request sent:\\n\" + inviteTid.getRequest().toString() + \"\\n\\n\");\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "private synchronized void addNext(final RequestResponseMsg reqRespMsg) {\n\t\tshowTotalSend(); \n\n\t\tif (this.isAlreadyClosed()) {\n\t\t\tmakeNewOsgpServiceClient(reqRespMsg);\n\t\t} else {\n\t\t\tif (reqRespMsg == null) {\n\t\t\t\tcloseStream();\n\t\t\t} else {\n\t\t\t\tthis.msgCount++;\n\t\t\t\taddNextRequest(reqRespMsg);\n\t\t\t\tif (this.msgCount >= MAX_MSG_COUNT) {\n\t\t\t\t\tcloseStream();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public MTableStoreResponse newResponse() {\n return new MTableStoreResponse();\n }", "public abstract Response[] collectResponse();", "@Override\r\n\tpublic Exchange aggregate(Exchange oldExchange, Exchange newExchange) {\n\t\tInteger oldBid=0;\r\n\t\tif(oldExchange!=null){\r\n\t\t\toldBid = oldExchange.getIn().getHeader(\"Bid\", Integer.class);\r\n\t\t}\r\n\t\tInteger newBid = newExchange.getIn().getHeader(\"Bid\", Integer.class);\r\n return (newBid > oldBid) ? newExchange : oldExchange;\r\n\t}" ]
[ "0.60656834", "0.55655956", "0.5264915", "0.5242877", "0.52356535", "0.50873876", "0.50804645", "0.5019598", "0.49767515", "0.49746728", "0.49100322", "0.49100322", "0.48737428", "0.48706803", "0.4807985", "0.47980553", "0.4767323", "0.47347352", "0.47306615", "0.47048116", "0.46938288", "0.46461385", "0.4639544", "0.46197185", "0.4617347", "0.46092603", "0.4598839", "0.45951012", "0.45937443", "0.4588583", "0.45760387", "0.45753664", "0.45735464", "0.45719746", "0.45580158", "0.453545", "0.4533446", "0.45270345", "0.4526363", "0.45240718", "0.45224327", "0.4511785", "0.45115173", "0.45085374", "0.45079464", "0.4501696", "0.44921878", "0.44832706", "0.44830012", "0.44823176", "0.44812173", "0.44812173", "0.44781277", "0.44757897", "0.44672063", "0.44619662", "0.4461821", "0.4461821", "0.44579715", "0.44579715", "0.44474164", "0.44466645", "0.4446085", "0.44450557", "0.4440837", "0.44404742", "0.44323817", "0.44298676", "0.4429777", "0.44289693", "0.4421975", "0.441703", "0.44131154", "0.4404", "0.4403279", "0.4403279", "0.44031078", "0.43900433", "0.43867403", "0.43863416", "0.43811205", "0.4378824", "0.4378469", "0.4376382", "0.43730405", "0.4366253", "0.4359778", "0.4349242", "0.43476462", "0.43412977", "0.43410236", "0.43400872", "0.43383047", "0.43379855", "0.43372184", "0.4335637", "0.4335632", "0.4331858", "0.4327074", "0.43164426" ]
0.59373313
1
MultiExchange with multiple responses (HTTP/2 server pushes).
MultiExchange(HttpRequest req, HttpClientImpl client, HttpResponse.MultiProcessor<U, T> multiResponseHandler) { this.previous = null; this.userRequest = req; this.request = new HttpRequestImpl(req); this.currentreq = request; this.attempts = 0; this.client = client; this.filters = client.filterChain(); if (System.getSecurityManager() != null) { this.acc = AccessController.getContext(); } else { this.acc = null; } this.execWrapper = new ExecutorWrapper(client.executor(), acc); this.executor = execWrapper.executor(); this.multiResponseHandler = multiResponseHandler; this.pushGroup = new PushGroup<>(multiResponseHandler, request); this.exchange = new Exchange<>(request, this); this.responseHandler = pushGroup.mainResponseHandler(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "MultiExchange(HttpRequest req,\n HttpClientImpl client,\n HttpResponse.BodyHandler<T> responseHandler) {\n this.previous = null;\n this.userRequest = req;\n this.request = new HttpRequestImpl(req);\n this.currentreq = request;\n this.attempts = 0;\n this.client = client;\n this.filters = client.filterChain();\n if (System.getSecurityManager() != null) {\n this.acc = AccessController.getContext();\n } else {\n this.acc = null;\n }\n this.execWrapper = new ExecutorWrapper(client.executor(), acc);\n this.executor = execWrapper.executor();\n this.responseHandler = responseHandler;\n this.exchange = new Exchange<>(request, this);\n this.multiResponseHandler = null;\n this.pushGroup = null;\n }", "@Override\n public void result(Message[] messages) {\n synchronized (semaphore) {\n responseMessages[0] = messages;\n notified = true;\n semaphore.notifyAll();\n }\n }", "public synchronized MRPublisherResponse sendBatchWithResponse() {\n if (fPending.isEmpty()) {\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(\"No Messages to send\");\n return pubResponse;\n }\n\n final long nowMs = Clock.now();\n\n host = this.fHostSelector.selectBaseHost();\n\n final String httpUrl = MRConstants.makeUrl(host, fTopic, props.getProperty(DmaapClientConst.PROTOCOL),\n props.getProperty(DmaapClientConst.PARTITION));\n OutputStream os = null;\n try (ByteArrayOutputStream baseStream = new ByteArrayOutputStream()) {\n os = baseStream;\n final String propsContentType = props.getProperty(DmaapClientConst.CONTENT_TYPE);\n if (propsContentType.equalsIgnoreCase(MRFormat.JSON.toString())) {\n JSONArray jsonArray = parseJSON();\n os.write(jsonArray.toString().getBytes());\n } else if (propsContentType.equalsIgnoreCase(CONTENT_TYPE_TEXT)) {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n } else if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA.toString())\n || (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString()))) {\n if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString())) {\n os = new GZIPOutputStream(baseStream);\n }\n for (TimestampedMessage m : fPending) {\n os.write((\"\" + m.fPartition.length()).getBytes());\n os.write('.');\n os.write((\"\" + m.fMsg.length()).getBytes());\n os.write('.');\n os.write(m.fPartition.getBytes());\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n os.close();\n } else {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n\n }\n }\n\n final long startMs = Clock.now();\n if (ProtocolType.DME2.getValue().equalsIgnoreCase(protocolFlag)) {\n\n try {\n configureDME2();\n\n this.wait(5);\n\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), url + subContextPath, nowMs - fPending.peek().timestamp);\n }\n sender.setPayload(os.toString());\n\n String dmeResponse = sender.sendAndWait(5000L);\n\n pubResponse = createMRPublisherResponse(dmeResponse, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n final String logLine = String.valueOf((Clock.now() - startMs)) + dmeResponse.toString();\n getLog().info(logLine);\n fPending.clear();\n\n } catch (DME2Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(x.getErrorCode());\n pubResponse.setResponseMessage(x.getErrorMessage());\n } catch (URISyntaxException x) {\n\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n throw e;\n } catch (Exception x) {\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n logger.error(\"exception: \", x);\n\n }\n\n return pubResponse;\n }\n\n if (ProtocolType.AUTH_KEY.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postAuthwithResponse(httpUrl, baseStream.toByteArray(), contentType, authKey,\n authDate, username, password, protocolFlag);\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n logTime(startMs, result);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.AAF_AUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postWithResponse(httpUrl, baseStream.toByteArray(), contentType, username,\n password, protocolFlag);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.HTTPNOAUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postNoAuthWithResponse(httpUrl, baseStream.toByteArray(), contentType);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n } catch (IllegalArgumentException | HttpException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n\n } catch (IOException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n getLog().warn(\"Interrupted!\", e);\n // Restore interrupted state...\n Thread.currentThread().interrupt();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n\n } finally {\n if (!fPending.isEmpty()) {\n getLog().warn(\"Send failed, \" + fPending.size() + \" message to send.\");\n pubResponse.setPendingMsgs(fPending.size());\n }\n if (os != null) {\n try {\n os.close();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(\"Error in closing Output Stream\");\n }\n }\n }\n\n return pubResponse;\n }", "@Test\n public void readMultipleSetsOfResponseHeaders() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.acceptFrame();// SYN_STREAM\n\n peer.sendFrame().headers(false, 3, TestUtil.headerEntries(\"a\", \"android\"));\n peer.acceptFrame();// PING\n\n peer.sendFrame().headers(true, 3, TestUtil.headerEntries(\"c\", \"cola\"));\n peer.sendFrame().ping(true, 1, 0);// PONG\n\n peer.play();\n // play it back\n Http2Connection connection = connect(peer);\n Http2Stream stream = connection.newStream(TestUtil.headerEntries(\"b\", \"banana\"), true);\n stream.getConnection().flush();\n Assert.assertEquals(Headers.of(\"a\", \"android\"), stream.takeHeaders());\n connection.writePingAndAwaitPong();\n Assert.assertEquals(Headers.of(\"c\", \"cola\"), stream.trailers());\n // verify the peer received what was expected\n Assert.assertEquals(TYPE_HEADERS, peer.takeFrame().type);\n Assert.assertEquals(TYPE_PING, peer.takeFrame().type);\n }", "@Override\n\tprotected void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception {\n\t\t\n\t\t// This is all debugging...\n\t\tif (msg instanceof HttpResponse) {\n\t\t\tHttpResponse response = (HttpResponse) msg;\n\n\t\t\tlogger.debug(\"STATUS: \" + response.status());\n\t\t\tlogger.debug(\"VERSION: \" + response.protocolVersion());\n\n\t\t\tif (!response.headers().isEmpty()) {\n\t\t\t\tfor (CharSequence name : response.headers().names()) {\n\t\t\t\t\tfor (CharSequence value : response.headers().getAll(name)) {\n\t\t\t\t\t\tlogger.debug(\"HEADER: \" + name + \" = \" + value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (HttpUtil.isTransferEncodingChunked(response)) {\n\t\t\t\tlogger.debug(\"CHUNKED CONTENT {\");\n\t\t\t} else {\n\t\t\t\tlogger.debug(\"CONTENT {\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t// This is where the work happens. This handler gets called MULTIPLE times.\n\t\tif (msg instanceof HttpContent) {\n\t\t\t// The data from the server\n\t\t\tHttpContent content = (HttpContent) msg;\n\n\t\t\t// Gather all the chunks.\n\t\t\tif (null == chunks) {\n\t\t\t\tlogger.debug(\"Chunks initialized.\");\n\t\t\t\tchunks = copiedBuffer(content.content());\n\t\t\t} else {\n\t\t\t\tlogger.debug(\"Adding chunks\");\n\t\t\t\tchunks = copiedBuffer(chunks, content.content());\n\t\t\t}\n\n\t\t\tlogger.debug(content.content().toString(CharsetUtil.UTF_8));\n\n\t\t\tif (content instanceof LastHttpContent) {\n\t\t\t\tlogger.debug(\"} END OF CONTENT\");\n\t\t\t\tlogger.debug(\"Subscriber in handler: {}\", this.subscriber);\n\t\t\t\tlogger.debug(\"Chunks: {}\", this.chunks);\n\t\t\t\tsubscriber.onNext(chunks.toString(CharsetUtil.UTF_8));\n\t\t\t\tctx.close();\n\t\t\t}\n\t\t}\n\t}", "@Test\n public void doublePushPromise() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.sendFrame().pushPromise(3, 2, TestUtil.headerEntries(\"a\", \"android\"));\n peer.acceptFrame();// SYN_REPLY\n\n peer.sendFrame().pushPromise(3, 2, TestUtil.headerEntries(\"b\", \"banana\"));\n peer.acceptFrame();// RST_STREAM\n\n peer.play();\n // play it back\n Http2Connection connection = connect(peer);\n connection.newStream(TestUtil.headerEntries(\"b\", \"banana\"), false);\n // verify the peer received what was expected\n Assert.assertEquals(TYPE_HEADERS, peer.takeFrame().type);\n Assert.assertEquals(PROTOCOL_ERROR, peer.takeFrame().errorCode);\n }", "public void handle(HttpExchange exch) {\n\n }", "@Test\n public void outgoingWritesAreBatched() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.acceptFrame();// SYN_STREAM\n\n peer.sendFrame().headers(false, 3, TestUtil.headerEntries(\"a\", \"android\"));\n peer.acceptFrame();// DATA\n\n peer.play();\n // play it back\n Http2Connection connection = connect(peer);\n Http2Stream stream = connection.newStream(TestUtil.headerEntries(\"b\", \"banana\"), true);\n // two outgoing writes\n Sink sink = stream.getSink();\n sink.write(new Buffer().writeUtf8(\"abcde\"), 5);\n sink.write(new Buffer().writeUtf8(\"fghij\"), 5);\n sink.close();\n // verify the peer received one incoming frame\n Assert.assertEquals(TYPE_HEADERS, peer.takeFrame().type);\n MockHttp2Peer.InFrame data = peer.takeFrame();\n Assert.assertEquals(TYPE_DATA, data.type);\n Assert.assertArrayEquals(\"abcdefghij\".getBytes(StandardCharsets.UTF_8), data.data);\n Assert.assertTrue(data.inFinished);\n }", "@Bean\n public MultiThreadedHttpConnectionManager multiThreadedHttpConnectionManager() {\n return new MultiThreadedHttpConnectionManager();\n }", "private void multiple() throws Exception{\n\t\tif(!(stackBiggerThanTwo())) throw new Exception(\"Stack hat zu wenig einträge mindestens 2 werden gebraucht!!\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tvalue2=stack.pop();\n\t\t\tstack.push(value1*value2);\n\t\t}\n\t}", "public static void putAllMethod() throws Exception {\n Map m = new HashMap();\n serverSocket.accept();\n LogWriterUtils.getLogWriter()\n .info(\"async1 connection received - continuing with putAll operation\");\n serverSocket.close();\n try {\n for (int i = 1; i < 2; i++) {\n m.put(i, String.valueOf(i));\n }\n region.putAll(m);\n LogWriterUtils.getLogWriter().info(\"async1 done with putAll operation\");\n\n } catch (Exception ex) {\n // ex.printStackTrace();\n Assert.fail(\"Failed while region.putAll\", ex);\n }\n }", "@Override\n protected void decode(ChannelHandlerContext ctx, HttpObject msg, List<Object> out) throws Exception {\n if (continueResponse && msg instanceof LastHttpContent) {\n // Release the last empty content associated with the 100-Continue response\n release(msg);\n return;\n }\n\n if (msg instanceof HttpResponse && CONTINUE.equals(((HttpResponse) msg).status())) {\n continueResponse = true;\n ctx.fireChannelRead(msg);\n return;\n }\n\n continueResponse = false;\n super.decode(ctx, msg, out);\n }", "private int doWriteMultiple(ChannelOutboundBuffer in) throws Exception {\n/* 515 */ long maxBytesPerGatheringWrite = config().getMaxBytesPerGatheringWrite();\n/* 516 */ if (PlatformDependent.hasUnsafe()) {\n/* 517 */ IovArray array = ((EpollEventLoop)eventLoop()).cleanArray();\n/* 518 */ array.maxBytes(maxBytesPerGatheringWrite);\n/* 519 */ in.forEachFlushedMessage((ChannelOutboundBuffer.MessageProcessor)array);\n/* */ \n/* 521 */ if (array.count() >= 1)\n/* */ {\n/* 523 */ return writeBytesMultiple(in, array);\n/* */ }\n/* */ } else {\n/* 526 */ ByteBuffer[] buffers = in.nioBuffers();\n/* 527 */ int cnt = in.nioBufferCount();\n/* 528 */ if (cnt >= 1)\n/* */ {\n/* 530 */ return writeBytesMultiple(in, buffers, cnt, in.nioBufferSize(), maxBytesPerGatheringWrite);\n/* */ }\n/* */ } \n/* */ \n/* 534 */ in.removeBytes(0L);\n/* 535 */ return 0;\n/* */ }", "@Test(timeout=10000)\n public void testHttpOnErrorBeforeSend1stAnd2ndHappyPathKeepAliveReuseConnection() throws Exception {\n \n final HttpTestServer server = createTestServerWithDefaultHandler(false, \"test\");\n\n final TestChannelCreator creator = new TestChannelCreator();\n \n final TestChannelPool pool = new TestChannelPool(1);\n final DefaultHttpClient client = new DefaultHttpClient(creator, pool,\n ENABLE_LOGGING);\n \n try {\n // first \n {\n final TestSubscriber<HttpObject> testSubscriber = new TestSubscriber<HttpObject>();\n final CountDownLatch unsubscribed = new CountDownLatch(1);\n try {\n client.defineInteraction(\n new LocalAddress(\"test\"), \n Observable.<HttpObject>error(new RuntimeException(\"test error\")))\n .compose(RxFunctions.<HttpObject>countDownOnUnsubscribe(unsubscribed))\n .subscribe(testSubscriber);\n unsubscribed.await();\n \n // await for 1 second\n pool.awaitRecycleChannels(1);\n } finally {\n assertEquals(1, testSubscriber.getOnErrorEvents().size());\n assertEquals(RuntimeException.class, \n testSubscriber.getOnErrorEvents().get(0).getClass());\n assertEquals(0, testSubscriber.getCompletions());\n assertEquals(0, testSubscriber.getOnNextEvents().size());\n }\n }\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertNotClose(1);\n // second\n {\n final Iterator<HttpObject> itr = \n client.defineInteraction(\n new LocalAddress(\"test\"), \n Observable.just(fullHttpRequest()))\n .map(RxNettys.<HttpObject>retainer())\n .toBlocking().toIterable().iterator();\n \n final byte[] bytes = RxNettys.httpObjectsAsBytes(itr);\n \n assertTrue(Arrays.equals(bytes, HttpTestServer.CONTENT));\n }\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertNotClose(1);\n } finally {\n client.close();\n// server.unsubscribe();\n server.stop();\n }\n }", "default T multiParts(Collection<? extends Part> multiParts) {\n return body(new MultiPartHttpBody(multiParts));\n }", "@GET\n @Path(\"/multiget/{j}\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response sayJsonHello(@PathParam(\"j\") String j) {\n\t StringTokenizer st = new StringTokenizer(j, \",\");\n String res = \"{\" + \"\\n\";\n\t while(st.hasMoreElements())\n\t {\n\t\t String next = st.nextToken();\n\t\t if(map.get(next) == null)\n\t\t return Response.status(404).build();\n\t\t res += next + \" : \" + map.get(next)+ \"\\n\";\n\t }\n\t res += \"}\";\n\t return Response.ok(res).build();\n }", "@Test\n public void testStoreSaleMultiple() {\n String responseMsg = target.path(\"service/message\").queryParam(\"messageType\", \"0\").queryParam(\"productType\", \"ELMA\").queryParam(\"value\", \"2.0\").request().get(String.class);\n responseMsg = target.path(\"service/message\").queryParam(\"messageType\", \"1\").queryParam(\"productType\", \"ELMA\").queryParam(\"value\", \"2.0\").queryParam(\"ocurrence\", \"2\").request().get(String.class);\n assertEquals(\"SUCCESS\", responseMsg);\n }", "@Override\n public Flux<Response> statefulChannel(Publisher<Request> messages, ByteBuf metadata) {\n Flux.from(messages).limitRate(8).subscribe(processor::onNext);\n return responseFlux;\n }", "Response filterResponse(Response currentResponse, HttpExchange exchange);", "public abstract void onReceiveResponse(ExchangeContext context);", "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public Response index() {\n ArrayList<String> serversClone = new ArrayList<>();\n this.cm.getServers().forEach(server -> {\n serversClone.add(server);\n });\n while (!serversClone.isEmpty()) {\n String selectedServer = this.cm.getServer();\n serversClone.remove(selectedServer);\n try{\n String endpoint = \"http://\" + selectedServer\n + \"/WebService/webresources/files\";\n String methodType=\"GET\";\n URL url = new URL(endpoint);\n HttpURLConnection urlConnection = (HttpURLConnection) \n url.openConnection();\n urlConnection.setRequestMethod(methodType);\n urlConnection.setDoOutput(true);\n urlConnection.setRequestProperty(\n \"Content-type\", MediaType.APPLICATION_JSON\n );\n urlConnection.setRequestProperty(\n \"Accept\", MediaType.APPLICATION_JSON\n );\n int httpResponseCode = urlConnection.getResponseCode();\n if (httpResponseCode == HttpURLConnection.HTTP_OK) {\n BufferedReader in = new BufferedReader(\n new InputStreamReader(urlConnection.getInputStream()));\n String inputLine;\n StringBuilder content = new StringBuilder();\n while ((inputLine = in.readLine()) != null) {\n content.append(inputLine);\n }\n return Response.ok(content.toString()).build();\n } else {\n if (serversClone.isEmpty()) {\n return Response\n .status(httpResponseCode).build();\n }\n } \n } catch (IOException ex) {\n System.err.println(ex);\n return Response.serverError().build();\n }\n }\n return Response.status(HttpURLConnection.HTTP_UNAVAILABLE).build();\n }", "@Test(dataProvider = \"uris\")\n void testWithCustomSubscriber(String uri) throws Exception {\n HttpClient client = HttpClient.newBuilder().sslContext(sslContext).build();\n\n Map<HttpRequest, String> requests = new HashMap<>();\n for (int i=0;i<CONCURRENT_REQUESTS; i++) {\n HttpRequest request = HttpRequest.newBuilder(URI.create(uri + \"?\" + i))\n .build();\n requests.put(request, BODIES[i]);\n }\n\n // initial connection to seed the cache so next parallel connections reuse it\n client.sendAsync(HttpRequest.newBuilder(URI.create(uri)).build(), discard(null)).join();\n\n // will reuse connection cached from the previous request ( when HTTP/2 )\n CompletableFuture.allOf(requests.keySet().parallelStream()\n .map(request -> client.sendAsync(request, CustomSubscriber.handler))\n .map(cf -> cf.thenCompose(ConcurrentResponses::assert200ResponseCode))\n .map(cf -> cf.thenCompose(response -> assertbody(response, requests.get(response.request()))))\n .toArray(CompletableFuture<?>[]::new))\n .join();\n }", "public void receivedHttpResponse(ProxyMessageContext context) {\n\t\ttry {\n\t\t\thttpOutQueue.put(context);\n\t\t\t\n synchronized (httpResponder) {\n \thttpResponder.notify();\n }\n \n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public EchoServerMultiThreaded(){\n\t\tclients = new LinkedList<>();\n\t\thistory = new ArrayList<>();\n\n\t\t//History Log\n\t\tBufferedReader logIn = null;\n\t\tFile historyLog = new File(\"Code-Socket/lib/historyLog.txt\");\n\t\ttry {\n\t\t\tif(historyLog.createNewFile()){\n\t\t\t\tSystem.out.println(\"History log file not found, creation...\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"History log file found, loading...\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"An error occured with the history log file\");\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry{\n\t\t\tlogIn = new BufferedReader(new FileReader(historyLog));\n\t\t\tString line = logIn.readLine();\n\t\t\tlockHistory.writeLock().lock();\n\t\t\twhile(line!=null){\n\t\t\t\thistory.add(line);\n\t\t\t\tline=logIn.readLine();\n\t\t\t}\n\t\t\tlockHistory.writeLock().unlock();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"An error occured with the history log reader\");\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tlogIn.close();\n\t\t\t\tlogOut = new BufferedWriter(new FileWriter(historyLog,true));\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public void sendGetRequest() {\r\n\t\tString[] requests = this.input.substring(4, this.input.length()).split(\" \"); \r\n\t\t\r\n\t\tif(requests.length <= 1 || !(MyMiddleware.readSharded)){\r\n\t\t\tnumOfRecipients = 1;\r\n\t\t\trecipient = servers.get(loadBalance());\r\n\r\n\t\t\trecipient.send(this, input);\r\n\t\t\tsendTime = System.nanoTime();\r\n\r\n\t\t\tworkerTime = sendTime - pollTime;\r\n\r\n\t\t\t\r\n\t\t\tif(requests.length <= 1) {\r\n\t\t\t\tnumOfGets++;\r\n\t\t\t\ttype= \"10\";\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tnumOfMultiGets++;\r\n\t\t\t\ttype = requests.length+\"\";\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tString reply = recipient.receive();\r\n\t\t\treceiveTime = System.nanoTime();\r\n\t\t\tprocessingTime = receiveTime - sendTime;\r\n\t\t\t\r\n\t\t\tint hit = 0;\r\n\t\t\thit += reply.split(\"VALUE\").length - 1;\r\n\t\t\tmiss += requests.length-hit;\r\n\r\n\t\t\tif(!(reply.endsWith(\"END\"))) {\r\n\t\t\t\tunproperRequests.add(reply);\r\n\t\t\t\tsendBack(currentJob.getClient(), reply);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsendBack(currentJob.getClient(), reply);\r\n\r\n\t\t}\r\n\t\telse {\r\n\t\t\tnumOfMultiGets++;\r\n\t\t\ttype = requests.length+\"\";\r\n\t\t\tnumOfRecipients = servers.size();\r\n\t\t\trequestsPerServer = requests.length / servers.size();\r\n\t\t\tremainingRequests = requests.length % servers.size() ;\r\n\t\t\t\r\n\t\t\t//The worker thread sends a number of requests to each server equal to requestsPerServer \r\n\t\t\t//and at most requestsPerServer + remainingRequests\r\n\t\t\t\r\n\t\t\tfor(int i = 0; i < servers.size(); i++) {\r\n\t\t\t\tmessage = requestType;\r\n\t\t\t\tfor(int j = 0; j < requestsPerServer; j++){\r\n\t\t\t\t\tmessage += \" \";\r\n\t\t\t\t\tmessage += requests[requestsPerServer*i+j];\r\n\t\t\t\t\tif(i < remainingRequests) {\r\n\t\t\t\t\t\tmessage += \" \";\r\n\t\t\t\t\t\tmessage += requests[requests.length - remainingRequests + i];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tservers.get(i).send(this, message);\r\n\t\t\t}\r\n\t\t\tsendTime = System.nanoTime();\r\n\r\n\t\t\tworkerTime = sendTime - pollTime;\r\n\r\n\t\t\tint hit = 0;\r\n\t\t\tfor(ServerHandler s : servers) {\r\n\t\t\t\tString ricevuto = s.receive();\r\n\t\t\t\thit += ricevuto.split(\"VALUE\").length - 1;\r\n\t\t\t\treplies.add(ricevuto);\r\n\t\t\t}\r\n\t\t\treceiveTime = System.nanoTime();\r\n\t\t\tprocessingTime = receiveTime - sendTime;\r\n\r\n\t\t\tmiss += requests.length-hit;\r\n\t\t\t\r\n\t\t\tfinalReply = \"\";\r\n\t\t\tfor(String reply : replies) {\r\n\t\t\t\tif(!(reply.endsWith(\"END\"))) {\r\n\t\t\t\t\tunproperRequests.add(reply);\r\n\t\t\t\t\tsendBack(currentJob.getClient(), reply);\r\n\t\t\t\t\treplies.clear();\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\treply = reply.substring(0, reply.length() - 3);\r\n\t\t\t\t\tfinalReply += reply;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfinalReply += \"END\";\r\n\t\t\tsendBack(currentJob.getClient(), finalReply);\r\n\t\t\treplies.clear();\r\n\r\n\t\t}\r\n\t\t\r\n\t}", "ReadResponseMessage fetchAllMessages();", "@Override\n public void channelRead0(ChannelHandlerContext ctx, HttpObject msg) {\n if (msg instanceof HttpResponse) {\n //clear the buffer.\n _responseBodyBuf.clear();\n //\n HttpResponse response = (HttpResponse) msg;\n //get HTTP Response code.\n this._hcr._responseStatus = response.getStatus();\n //\n //print header.\n Set<String> headers = response.headers().names();\n for (Iterator<String> keyIter = headers.iterator(); keyIter.hasNext();) {\n String keyName = keyIter.next();\n //System.out.println(keyName + \":\" + response.headers().get(keyName));\n this._hcr._responseHeaderMap.put(keyName, response.headers().get(keyName));\n }\n }\n //content or lastContent\n if (msg instanceof HttpContent) {\n HttpContent content = (HttpContent) msg;\n _responseBodyBuf.writeBytes(content.content());\n //if is last content fire done.\n if (content instanceof LastHttpContent) {\n try {\n fireDone(_responseBodyBuf.toString(this._hcr._responseBodyCharset));\n } finally {\n ctx.close();\n releaseResource();\n }\n }\n }\n }", "public void testUnpackNothingMulti() throws InvalidAdviceException {\n // Set up the baggage\n BaggageAPIForTest baggage = new BaggageAPIForTest();\n baggage.put(\"bag1\", new Object[][] {{\"v1\", \"v2\"}});\n baggage.put(\"bag2\", new Object[][] {});\n baggage.put(\"bag3\", new Object[][] {{\"v5\", \"v6\"}});\n \n EmitAPIForTest results = new EmitAPIForTest();\n Advice advice = AdviceTestUtils.newAdvice().observe(\"a\", \"b\")\n .unpack(\"bag1\", \"c\", \"d\")\n .unpack(\"bag2\", \"e\", \"f\")\n .unpack(\"bag3\", \"g\", \"h\")\n .emit(\"test1\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\")\n .build(baggage, results);\n \n assertTrue(\"Expect nothing emitted yet\", results.emitted.size() == 0);\n advice.advise(\"vva\", \"vvb\");\n advice.advise(\"vva\", \"vvc\");\n advice.advise(\"vva\", \"vve\");\n results.check();\n assertTrue(\"Expect 0 output tuple emitted\", results.emitted.size() == 0);\n }", "@Override\n public void onResponse(ArrayList<Transaction> response) {\n if (response.size() != transactions.size()) {\n transactions = response;\n notifyListeners(true);\n } else {\n notifyListeners(false);\n }\n }", "ManagedEndpoint next();", "private void addResponseHandlers() {\n\t\t\n\t\tif (responseHandlers == null) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tresponseHandlers.put(ResponseType.DELETE_FILE, new ResponseHandler() {\n\n\t\t\t@Override\n\t\t\tpublic void handleResponse(BufferedReader reader) throws Exception {\n\t\t\t\tSystem.out.println(reader.readLine());\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\tresponseHandlers.put(ResponseType.FILE_LIST, new ResponseHandler() {\n\n\t\t\t@Override\n\t\t\tpublic void handleResponse(BufferedReader reader) throws Exception {\n\t\t\t\t\n\t\t\t\tString pwd = reader.readLine();\n\t\t\t\tSystem.out.println(\"Present Working Directory: \" + pwd);\n\t\t\t\t\n\t\t\t\tInteger numFiles = Integer.parseInt(reader.readLine());\n\t\t\t\tSystem.out.println(\"# Files/Folders: \" + numFiles + \"\\n\");\n\t\t\t\t\n\t\t\t\tif (numFiles == -1) {\n\t\t\t\t\tSystem.out.println(\"End of stream reached\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int i=0; i<numFiles; i++) {\n\t\t\t\t\tSystem.out.println(\"\\t\" + reader.readLine());\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"\\nAll contents listed.\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\tresponseHandlers.put(ResponseType.FILE_TRANSFER, new ResponseHandler() {\n\n\t\t\t@Override\n\t\t\tpublic void handleResponse(BufferedReader reader) throws Exception {\n\t\t\t\t\n\t\t\t\tString fileName = reader.readLine();\n\t\t\t\tif (checkForErrors(fileName)) {\n\t\t\t\t\tSystem.out.println(fileName);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tInteger fileSize = Integer.parseInt(reader.readLine());\n\t\t\t\tif (fileSize < 0) {\n\t\t\t\t\tSystem.err.println(\"Invalid file size: \" + fileSize);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbyte[] data = new byte[fileSize];\n\t\t\t\tint numRead = socket.getInputStream().read(data, 0, fileSize);\n\t\t\t\tif (numRead == -1) {\n\t\t\t\t\tSystem.out.println(\"End of stream reached.\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tFile folder = new File(pwd);\n\t\t\t\tif (!folder.exists() && !folder.mkdir()) {\n\t\t\t\t\tSystem.err.println(\"Failed to create directory: \" + pwd);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Warning: If the file exists it will be overwritten.\");\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tFile file = new File(pwd + fileName);\n\t\t\t\t\tfile.createNewFile();\n\t\t\t\t\t\n\t\t\t\t\tFileOutputStream fileOutputStream = new FileOutputStream(file);\n\t\t\t fileOutputStream.write(data);\n\t\t\t fileOutputStream.close();\n\t\t\t \n\t\t\t\t} catch (SecurityException | IOException e) {\n\t\t\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t\t\t\tSystem.err.println(\"Failed to create file: \" + fileName + \" at pathname: \" + pwd);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t \t\t\n\t\t System.out.println(\"File successfully transferred.\");\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\tresponseHandlers.put(ResponseType.EXIT, new ResponseHandler() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void handleResponse(BufferedReader reader) throws Exception {\n\t\t\t\t\n\t\t\t\tString response = reader.readLine();\n\t\t\t\tSystem.out.println(response + \"\\n\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\t}", "public void multiReceivePackage(Queue<String> inQueue) {\n InputStream in = null;\n\n try {\n byte[] receiveBuf = new byte[BUFSIZE];\n //socket = server.accept();\n //System.out.println(\"Receive: Connected to socket:\" + socket.getRemoteSocketAddress() + \"...sending echo string\");\n //System.out.println(socket.getRemoteSocketAddress());\n logger.info(\"Receive: Connected to socket:\" + socket.getRemoteSocketAddress().toString() + \"...sending echo string\");\n in = socket.getInputStream();\n String temp = \"\";\n while (in.read(receiveBuf) != -1) {\n temp += new String(receiveBuf);\n receiveBuf = new byte[BUFSIZE];\n if (temp.indexOf(\"#E\") >= 0) {\n break;\n }\n }\n logger.info(\"Message received: \" + temp.trim());\n\n inQueue.offer(temp.trim() + \"|\" + socket.getRemoteSocketAddress().toString());\n //System.out.println(\"Message and IP received: \" + temp.trim() + \"|\" + socket.getRemoteSocketAddress().toString());\n logger.debug(\"Message and IP received: \" + temp.trim() + \"|\" + socket.getRemoteSocketAddress().toString());\n socket.close();\n //Thread.sleep(500);\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n\n }\n }", "Multi createMulti();", "@Test\n\tpublic void testServerManyClientsRegisterAllGetInnerWrite() throws Exception {\n\t\tKeyValueServer server = new KeyValueServer();\n\t\tArrayList<String> files = populateServer(server);\n\t\t//Set up fake clients\n\t\tKeyValueClient[] clients = new KeyValueClient[N_REPLICAS];\n\t\tString contentToWrite = \"testServerManyClientsRegisterAllGetInnerWrite.\" + System.currentTimeMillis() + \".\";\n\t\tfor (int i = 0; i < N_REPLICAS; i++) {\n\t\t\tclients[i] = mock(KeyValueClient.class);\n\t\t\tfor (String p : files)\n\t\t\t\texpect(clients[i].innerWriteKey(eq(p.toString()), eq(contentToWrite + p.toString()), anyLong())).andReturn(true);\n\t\t\tclients[i].commitTransaction(anyLong());\n\t\t\texpectLastCall().anyTimes();\n\t\t\tclients[i].abortTransaction(anyLong());\n\t\t\texpectLastCall().anyTimes();\n\n\t\t\treplay(clients[i]);\n\t\t}\n\t\tfor (int i = 0; i < N_REPLICAS; i++) {\n\t\t\tserver.registerClient(\"fake hostname\", 9000 + i, clients[i]);\n\t\t}\n\t\tfor (String p : files)\n\t\t\tserver.set(p.toString(), contentToWrite + p.toString());\n\t\tfor (int i = 0; i < N_REPLICAS; i++) {\n\t\t\tserver.cacheDisconnect(\"fake hostname\", 9000 + i);\n\t\t}\n\t\tfor (KeyValueClient client : clients)\n\t\t\tverify(client);\n\n\t\t//Last, check that the server has all of the right files.\n\t\tKeyValueClient fake = mock(KeyValueClient.class);\n\t\tHashMap<String, String> endFiles = server.registerClient(\"fake\", 9, fake);\n\t\tfor (Map.Entry<String, String> e : endFiles.entrySet()) {\n\t\t\tString expected = contentToWrite + e.getKey();\n\t\t\tif (!e.getValue().equals(expected))\n\t\t\t\tfail(\"Writes were not saved on the server, expected file content \" + expected + \" but got \" + e.getValue());\n\t\t}\n\t}", "@Override\r\n public void handle(HttpExchange exchange) throws IOException {\r\n\r\n // This handler returns a list of \"Ticket to Ride\" games that\r\n // are (ficticiously) currently running in the server.\r\n // The game list is returned to the client in JSON format inside\r\n // the HTTP response body.\r\n // This implementation is clearly unrealistic, because it\r\n // always returns the same hard-coded list of games.\r\n // It is also unrealistic in that it accepts only one specific\r\n // hard-coded auth token.\r\n // However, it does demonstrate the following:\r\n // 1. How to get the HTTP request type (or, \"method\")\r\n // 2. How to access HTTP request headers\r\n // 3. How to return the desired status code (200, 404, etc.)\r\n //\t\tin an HTTP response\r\n // 4. How to write JSON data to the HTTP response body\r\n // 5. How to check an incoming HTTP request for an auth token\r\n\r\n boolean success = false;\r\n\r\n try {\r\n // Determine the HTTP request type (GET, POST, etc.).\r\n // Only allow GET requests for this operation.\r\n // This operation requires a GET request, because the\r\n // client is \"getting\" information from the server, and\r\n // the operation is \"read only\" (i.e., does not modify the\r\n // state of the server).\r\n if (exchange.getRequestMethod().toLowerCase().equals(\"post\")) {\r\n String str = readString(exchange.getRequestBody());\r\n Gson gson = new Gson();\r\n RegisterRequest rRequest = gson.fromJson(str, RegisterRequest.class);\r\n RegisterResult rResult = RegisterService.register(rRequest);\r\n if(rResult.isSuccess()) {\r\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_OK, 0);\r\n // Now that the status code and headers have been sent to the client,\r\n // next we send the JSON data in the HTTP response body.\r\n // Get the response body output stream.\r\n OutputStream respBody = Encoder.toJsonEncoded(rResult, exchange.getResponseBody());\r\n // Close the output stream. This is how Java knows we are done\r\n // sending data and the response is complete/\r\n respBody.close();\r\n success = true;\r\n }\r\n else {\r\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_BAD_REQUEST, 0);\r\n // Now that the status code and headers have been sent to the client,\r\n // next we send the JSON data in the HTTP response body.\r\n // Get the response body output stream.\r\n OutputStream respBody = Encoder.toJsonEncoded(rResult, exchange.getResponseBody());\r\n // Close the output stream. This is how Java knows we are done\r\n // sending data and the response is complete/\r\n respBody.close();\r\n success = true;\r\n }\r\n }\r\n if (!success) {\r\n // The HTTP request was invalid somehow, so we return a \"bad request\"\r\n // status code to the client.\r\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_BAD_REQUEST, 0);\r\n\r\n // Since the client request was invalid, they will not receive the\r\n // list of games, so we close the response body output stream,\r\n // indicating that the response is complete.\r\n exchange.getResponseBody().close();\r\n }\r\n }\r\n catch (IOException e) {\r\n // Some kind of internal error has occurred inside the server (not the\r\n // client's fault), so we return an \"internal server error\" status code\r\n // to the client.\r\n exchange.sendResponseHeaders(HttpURLConnection.HTTP_SERVER_ERROR, 0);\r\n // Since the server is unable to complete the request, the client will\r\n // not receive the list of games, so we close the response body output stream,\r\n // indicating that the response is complete.\r\n exchange.getResponseBody().close();\r\n\r\n // Display/log the stack trace\r\n e.printStackTrace();\r\n }\r\n }", "@Override\r\n\t\t\tpublic void handle(final HttpServerRequest req) {\n\t\t\t\tString startTime = \"1355620946302\"; //--separate-comp\r\n\t\t\t\tIterator<EventInfo> iter = \r\n\t\t\t\t\t\tdataService.events()\r\n\t\t\t\t\t\t\t.find(\"{timestamp:{$gt:\"+startTime+\"}}\")\r\n\t\t\t\t\t\t\t.sort(\"{timestamp:1}\")\r\n\t\t\t\t\t\t\t.as(EventInfo.class).iterator();\r\n\t\t\t\tEventCounter multiCounter = new EventCounter(\"/multicomp\");\r\n\t\t\t\tint processed = 0;\r\n\t\t\t\twhile (iter.hasNext() && processed < limit) {\r\n\t\t\t\t\tEventInfo event = iter.next();\r\n\t\t\t\t\tmultiCounter.countEvent(event);\r\n\t\t\t\t\tprocessed++;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treq.response.setChunked(true);\r\n\t\t\t\tmultiCounter.printDistance(req, \"sep_comp\");\r\n\t\t\t\t\r\n\t\t\t\t//multiCounter.printResponse(req, \"sep_comp\");\r\n\t\t\t\t// use response time data\r\n\t\t\t\tIterator<ResponseInfo> respIter = \r\n\t\t\t\t\t\tdataService.response()\r\n\t\t\t\t\t\t\t.find(\"{timestamp:{$gt:\"+startTime+\"}}\")\r\n\t\t\t\t\t\t\t.sort(\"{timestamp:1}\")\r\n\t\t\t\t\t\t\t.as(ResponseInfo.class).iterator();\r\n\t\t\t\tResponseCounter responseCounter = new ResponseCounter();\r\n\t\t\t\tprocessed = 0;\r\n\t\t\t\twhile (respIter.hasNext() && processed < limit) {\r\n\t\t\t\t\tResponseInfo resp = respIter.next();\r\n\t\t\t\t\tresponseCounter.count(resp);\r\n\t\t\t\t\tprocessed++;\r\n\t\t\t\t}\r\n\t\t\t\tresponseCounter.printResponse(req, \"sep_comp\");\r\n\r\n\t\t\t\treq.response.end();\r\n\t\t\t}", "@Override\n public void readInboundResponseHeaders(ChannelHandlerContext ctx, Http2HeadersFrame http2HeadersFrame,\n OutboundMsgHolder outboundMsgHolder, boolean serverPush,\n Http2MessageStateContext http2MessageStateContext) throws Http2Exception {\n outboundMsgHolder.getRequest().setIoException(new IOException(INBOUND_RESPONSE_ALREADY_RECEIVED));\n http2MessageStateContext.setSenderState(new ReceivingHeaders(http2TargetHandler, http2RequestWriter));\n http2MessageStateContext.getSenderState().readInboundResponseHeaders(ctx, http2HeadersFrame, outboundMsgHolder,\n serverPush, http2MessageStateContext);\n }", "@Test\n public void testJmsBatchTimeoutExpiryWithAggregationDelay() throws Exception {\n MockEndpoint resultEndpoint = resolveMandatoryEndpoint(\"mock:result\", MockEndpoint.class);\n resultEndpoint.setSleepForEmptyTest(3000);\n resultEndpoint.expectedMessageCount(1);\n for (int i = 1; i <= 2; i++) {\n String body = \"message:\" + i;\n sendExchange(timeOutEndpointUri, body);\n }\n\n resultEndpoint.assertIsSatisfied();\n }", "@Override\r\n\t\t\tpublic void handle(final HttpServerRequest req) {\n\t\t\t\tString startTime = \"1355562000000\"; //--multi-dist\r\n\t\t\t\tIterator<EventInfo> iter = \r\n\t\t\t\t\t\tdataService.events()\r\n\t\t\t\t\t\t\t.find(\"{timestamp:{$gt:\"+startTime+\"}}\")\r\n\t\t\t\t\t\t\t.sort(\"{timestamp:1}\")\r\n\t\t\t\t\t\t\t.as(EventInfo.class).iterator();\r\n\t\t\t\tEventCounter multiCounter = new EventCounter(\"/multi\");\r\n\t\t\t\tint processed = 0;\r\n\t\t\t\twhile (iter.hasNext() && processed < limit) {\r\n\t\t\t\t\tEventInfo event = iter.next();\r\n\t\t\t\t\tmultiCounter.countEvent(event);\r\n\t\t\t\t\tprocessed++;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treq.response.setChunked(true);\r\n\t\t\t\tmultiCounter.printDistance(req, \"multidist\");\r\n\t\t\t\t//multiCounter.printResponse(req, \"multidist\");\r\n\t\t\t\t//use response time data\r\n\t\t\t\tIterator<ResponseInfo> respIter = \r\n\t\t\t\t\t\tdataService.response()\r\n\t\t\t\t\t\t\t.find(\"{timestamp:{$gt:\"+startTime+\"}}\")\r\n\t\t\t\t\t\t\t.sort(\"{timestamp:1}\")\r\n\t\t\t\t\t\t\t.as(ResponseInfo.class).iterator();\r\n\t\t\t\tResponseCounter responseCounter = new ResponseCounter();\r\n\t\t\t\tprocessed = 0;\r\n\t\t\t\twhile (respIter.hasNext() && processed < limit) {\r\n\t\t\t\t\tResponseInfo resp = respIter.next();\r\n\t\t\t\t\tresponseCounter.count(resp);\r\n\t\t\t\t\tprocessed++;\r\n\t\t\t\t}\r\n\t\t\t\tresponseCounter.printResponse(req, \"multidist\");\r\n\r\n\t\t\t\treq.response.end();\r\n\t\t\t}", "private void addRequest(HttpPipelineRequest p_addRequest_1_, List<HttpPipelineRequest> p_addRequest_2_) {\n/* 86 */ p_addRequest_2_.add(p_addRequest_1_);\n/* 87 */ notifyAll();\n/* */ }", "public interface HttpHandler {\n public void handle(HttpExchange httpExchange) throws IOException;\n}", "protected abstract void transfer(UUID[] players, String server, IntConsumer response);", "@Override\n public void process(Exchange exchange) throws Exception {\n ApiResponse existing = exchange.getProperty(PROPERTY_API_RESPONSE, ApiResponse.class);\n\n // Check if any ApiResponse's failed\n boolean failure = exchange.getIn().getBody(List.class).stream().anyMatch(o -> o instanceof ApiResponse && ((ApiResponse) o).getCode() != 200);\n\n // If found existing and it contains a failure then fail this response\n if (existing != null && existing.getCode() != ApiResponse.SUCCESS) {\n failure = true;\n }\n\n // Create ApiResponse and all list of responses\n ApiResponse response = failure ? ApiResponse.badRequest() : ApiResponse.success();\n response.setResponses(exchange.getIn().getBody(List.class));\n\n // If found existing then add responses\n if (existing != null && existing.getResponses() != null) {\n response.getResponses().addAll(existing.getResponses());\n }\n\n // Flatten responses if single\n if (response.getResponses().size() == 1) {\n response = response.getResponses().get(0);\n }\n\n // Set as exchange property to be picked up by ApiResponseProcessor\n exchange.setProperty(PROPERTY_API_RESPONSE, response);\n }", "protected void addChannelToReadCompletePendingQueue() {\n/* 354 */ while (!Http2MultiplexHandler.this.readCompletePendingQueue.offer(this)) {\n/* 355 */ Http2MultiplexHandler.this.processPendingReadCompleteQueue();\n/* */ }\n/* */ }", "void write(List<Object> values) throws TransportException;", "private void callHandlerAddedForAllHandlers() {\n /*\n r2 = this;\n monitor-enter(r2)\n r0 = 1\n r2.registered = r0 // Catch:{ all -> 0x0015 }\n io.netty.channel.DefaultChannelPipeline$PendingHandlerCallback r0 = r2.pendingHandlerCallbackHead // Catch:{ all -> 0x0015 }\n r1 = 0\n r2.pendingHandlerCallbackHead = r1 // Catch:{ all -> 0x0015 }\n monitor-exit(r2) // Catch:{ all -> 0x0015 }\n L_0x000a:\n if (r0 == 0) goto L_0x0012\n r0.execute()\n io.netty.channel.DefaultChannelPipeline$PendingHandlerCallback r0 = r0.next\n goto L_0x000a\n L_0x0012:\n return\n L_0x0013:\n monitor-exit(r2) // Catch:{ all -> 0x0015 }\n throw r0\n L_0x0015:\n r0 = move-exception\n goto L_0x0013\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p043io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers():void\");\n }", "@Override\n protected void process(List<String> chunks) {\n\n logger.debug(LOG_TAG + \".process()\");\n\n logger.info(chunks.get(chunks.size() - 1));\n\n if (newConnection) {\n // save email address for distributing communication message\n emailAddress = chunks.get(chunks.size() - 1);\n // send email address and remote address to server\n server.newConnection(chunks.get(chunks.size() - 1),\n socket.getRemoteSocketAddress().toString());\n\n // send 'welcome' message to client\n sendMessage(\"@welcome\");\n\n newConnection = false;\n\n return;\n }\n\n if (chunks.get(chunks.size() - 1).equals(\"@disconnect\")) {\n // send message to server\n server.removeConnection(clientId);\n\n // send 'goodbye' message to client\n sendMessage(\"@goodbye\");\n\n newConnection = true;\n\n return;\n }\n\n // communication message from client, distribute message\n // to all clients\n server.distributeMessage(emailAddress + \">\" + chunks.get(chunks.size() - 1));\n\n }", "public void testRequestsAndNotifications() {\n final ArrayList<String> results = new ArrayList<String>();\n ArrayList<String> resultsExpected = new ArrayList<String>();\n resultsExpected.add(\"deliveredNotificationRequested\");\n resultsExpected.add(\"composingNotificationRequested\");\n resultsExpected.add(\"displayedNotificationRequested\");\n resultsExpected.add(\"offlineNotificationRequested\");\n resultsExpected.add(\"deliveredNotification\");\n resultsExpected.add(\"displayedNotification\");\n resultsExpected.add(\"composingNotification\");\n resultsExpected.add(\"cancelledNotification\");\n\n // Create a chat for each connection\n Chat chat1 = getConnection(0).getChatManager().createChat(getBareJID(1), null);\n\n MessageEventManager messageEventManager1 = new MessageEventManager(getConnection(0));\n messageEventManager1\n .addMessageEventNotificationListener(new MessageEventNotificationListener() {\n public void deliveredNotification(String from, String packetID) {\n results.add(\"deliveredNotification\");\n }\n\n public void displayedNotification(String from, String packetID) {\n results.add(\"displayedNotification\");\n }\n\n public void composingNotification(String from, String packetID) {\n results.add(\"composingNotification\");\n }\n\n public void offlineNotification(String from, String packetID) {\n results.add(\"offlineNotification\");\n }\n\n public void cancelledNotification(String from, String packetID) {\n results.add(\"cancelledNotification\");\n }\n });\n\n MessageEventManager messageEventManager2 = new MessageEventManager(getConnection(1));\n messageEventManager2\n .addMessageEventRequestListener(new DefaultMessageEventRequestListener() {\n public void deliveredNotificationRequested(\n String from,\n String packetID,\n MessageEventManager messageEventManager) {\n super.deliveredNotificationRequested(from, packetID, messageEventManager);\n results.add(\"deliveredNotificationRequested\");\n }\n\n public void displayedNotificationRequested(\n String from,\n String packetID,\n MessageEventManager messageEventManager) {\n super.displayedNotificationRequested(from, packetID, messageEventManager);\n results.add(\"displayedNotificationRequested\");\n }\n\n public void composingNotificationRequested(\n String from,\n String packetID,\n MessageEventManager messageEventManager) {\n super.composingNotificationRequested(from, packetID, messageEventManager);\n results.add(\"composingNotificationRequested\");\n }\n\n public void offlineNotificationRequested(\n String from,\n String packetID,\n MessageEventManager messageEventManager) {\n super.offlineNotificationRequested(from, packetID, messageEventManager);\n results.add(\"offlineNotificationRequested\");\n }\n });\n\n // Create the message to send with the roster\n Message msg = new Message();\n msg.setSubject(\"Any subject you want\");\n msg.setBody(\"An interesting body comes here...\");\n // Add to the message all the notifications requests (offline, delivered, displayed,\n // composing)\n MessageEventManager.addNotificationsRequests(msg, true, true, true, true);\n\n // Send the message that contains the notifications request\n try {\n chat1.sendMessage(msg);\n messageEventManager2.sendDisplayedNotification(getBareJID(0), msg.getPacketID());\n messageEventManager2.sendComposingNotification(getBareJID(0), msg.getPacketID());\n messageEventManager2.sendCancelledNotification(getBareJID(0), msg.getPacketID());\n // Wait up to 2 seconds\n long initial = System.currentTimeMillis();\n while (System.currentTimeMillis() - initial < 2000 &&\n (!results.containsAll(resultsExpected))) {\n Thread.sleep(100);\n }\n assertTrue(\n \"Test failed due to bad results (1)\" + resultsExpected,\n resultsExpected.containsAll(results));\n assertTrue(\n \"Test failed due to bad results (2)\" + results,\n results.containsAll(resultsExpected));\n\n } catch (Exception e) {\n fail(\"An error occured sending the message\");\n }\n }", "protected abstract boolean sendNextRequests();", "public void testSenderOrderWithMultipleSiteMasters() throws Exception {\n MyReceiver<Object> rx=new MyReceiver<>().rawMsgs(true).verbose(true),\n ry=new MyReceiver<>().rawMsgs(true).verbose(true), rz=new MyReceiver<>().rawMsgs(true).verbose(true);\n final int NUM=512;\n final String sm_picker_impl=SiteMasterPickerImpl.class.getName();\n a=createNode(LON, \"A\", LON_CLUSTER, 2, sm_picker_impl, null);\n b=createNode(LON, \"B\", LON_CLUSTER, 2, sm_picker_impl, null);\n c=createNode(LON, \"C\", LON_CLUSTER, 2, sm_picker_impl, null);\n Util.waitUntilAllChannelsHaveSameView(10000, 1000, a,b,c);\n\n x=createNode(SFO, \"X\", SFO_CLUSTER, 2, sm_picker_impl, rx);\n y=createNode(SFO, \"Y\", SFO_CLUSTER, 2, sm_picker_impl, ry);\n z=createNode(SFO, \"Z\", SFO_CLUSTER, 2, sm_picker_impl, rz);\n Util.waitUntilAllChannelsHaveSameView(10000, 1000, x,y,z);\n\n waitForBridgeView(4, 10000, 1000, a,b,x,y);\n\n // C in LON sends messages to the site master of SFO (via either SM A or B); everyone in SFO (x,y,z)\n // must receive them in correct order\n SiteMaster target_sm=new SiteMaster(SFO);\n System.out.printf(\"%s: sending %d messages to %s:\\n\", c.getAddress(), NUM, target_sm);\n for(int i=1; i <= NUM; i++) {\n Message msg=new BytesMessage(target_sm, i); // the seqno is in the payload of the message\n c.send(msg);\n }\n\n boolean running=true;\n for(int i=0; running && i < 10; i++) {\n for(MyReceiver<Object> r: Arrays.asList(rx,ry,rz)) {\n if(r.size() >= NUM) {\n running=false;\n break;\n }\n }\n Util.sleep(1000);\n }\n\n System.out.printf(\"X: size=%d\\nY: size=%d\\nZ: size=%d\\n\", rx.size(), ry.size(), rz.size());\n assert rx.size() == NUM || ry.size() == NUM;\n assert rz.size() == 0;\n }", "private void sendSetRequest() {\r\n\t\tnumOfSets++;\r\n\t\ttype = \"0\";\r\n\t\tnumOfRecipients = servers.size();\r\n\t\tfor(ServerHandler s : servers) {\r\n\t\t\ts.send(this, input);\r\n\t\t}\r\n\t\tsendTime = System.nanoTime();\r\n\r\n\t\tworkerTime = sendTime - pollTime;\r\n\t\t\r\n\t\tfor(ServerHandler s : servers) {\r\n\t\t\tString ricevuto = s.receive();\r\n\t\t\treplies.add(ricevuto);\r\n\t\t}\r\n\t\treceiveTime = System.nanoTime();\r\n\t\tprocessingTime = receiveTime - sendTime;\r\n\t\t\r\n\t\t\r\n\t\tfor(String reply : replies) {\r\n\t\t\tif(!(\"STORED\".equals(reply))) {\r\n\t\t\t\tunproperRequests.add(reply);\r\n\t\t\t\tsendBack(currentJob.getClient(), reply);\r\n\t\t\t\treplies.clear();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tsendBack(currentJob.getClient(), \"STORED\");\r\n\t\treplies.clear();\r\n\t\t\r\n\t}", "public void migrateToMultiTransport();", "@Test\n public void subscribe_multiple() throws AblyException {\n /* Ably instance that will emit channel messages */\n AblyRealtime ably1 = null;\n /* Ably instance that will receive channel messages */\n AblyRealtime ably2 = null;\n\n String channelName = \"test.channel.subscribe.multiple\" + System.currentTimeMillis();\n Message[] messages = new Message[] {\n new Message(\"name1\", \"Lorem ipsum dolor sit amet,\"),\n new Message(\"name2\", \"Consectetur adipiscing elit.\"),\n new Message(\"name3\", \"Pellentesque nulla lorem.\")\n };\n\n String[] messageNames = new String[] {\n messages[0].name,\n messages[1].name,\n messages[2].name\n };\n\n try {\n ClientOptions option1 = createOptions(testVars.keys[0].keyStr);\n option1.clientId = \"emitter client\";\n ClientOptions option2 = createOptions(testVars.keys[0].keyStr);\n option2.clientId = \"receiver client\";\n\n ably1 = new AblyRealtime(option1);\n ably2 = new AblyRealtime(option2);\n\n Channel channel1 = ably1.channels.get(channelName);\n channel1.attach();\n new ChannelWaiter(channel1).waitFor(ChannelState.attached);\n\n Channel channel2 = ably2.channels.get(channelName);\n channel2.attach();\n new ChannelWaiter(channel2).waitFor(ChannelState.attached);\n\n /* Create a listener that collect received messages */\n ArrayList<Message> receivedMessageStack = new ArrayList<>();\n MessageListener listener = new MessageListener() {\n List<Message> messageStack;\n\n @Override\n public void onMessage(Message message) {\n messageStack.add(message);\n }\n\n public MessageListener setMessageStack(List<Message> messageStack) {\n this.messageStack = messageStack;\n return this;\n }\n }.setMessageStack(receivedMessageStack);\n channel2.subscribe(messageNames, listener);\n\n /* Start emitting channel with ably client 1 (emitter) */\n channel1.publish(\"nonTrackedMessageName\", \"This message should be ignore by second client (ably2).\", null);\n channel1.publish(messages, null);\n channel1.publish(\"nonTrackedMessageName\", \"This message should be ignore by second client (ably2).\", null);\n\n /* Wait until receiver client (ably2) observes {@code Message}\n * on subscribed channel (channel2) emitted by emitter client (ably1)\n */\n new Helpers.MessageWaiter(channel2).waitFor(messages.length + 2);\n\n /* Validate that,\n * - we received specific messages\n */\n assertThat(receivedMessageStack.size(), is(equalTo(messages.length)));\n\n Collections.sort(receivedMessageStack, messageComparator);\n for (int i = 0; i < messages.length; i++) {\n Message message = messages[i];\n if(Collections.binarySearch(receivedMessageStack, message, messageComparator) < 0) {\n fail(\"Unable to find expected message: \" + message);\n }\n }\n } finally {\n if (ably1 != null) ably1.close();\n if (ably2 != null) ably2.close();\n }\n }", "@GetMapping\n public Mono<String> trigger() {\n\n int count = 10000;\n List list = new ArrayList<Integer>();\n\n for (int i = 0; i < count; i ++) {\n list.add(i);\n }\n\n // simulate concurrent API calls\n return Flux.fromStream(list.stream())\n .flatMap(id -> sampleApiClient.postSomethingWithExchange())\n .collectList()\n .map(results -> \"success\");\n }", "private void sendToNodes(Sm.RetrieveChunkResponse chunkResponse, ArrayList<Sm.StorageNode> toSend) {\n\n System.out.println(\"Nodes to send to: \" + toSend);\n\n if (toSend.size() != 0) {\n EventLoopGroup workerGroup = new NioEventLoopGroup();\n PatrolMessagePipeline pipeline = new PatrolMessagePipeline();\n Bootstrap bootstrap = new Bootstrap()\n .group(workerGroup)\n .channel(NioSocketChannel.class)\n .option(ChannelOption.SO_KEEPALIVE, true)\n .handler(pipeline);\n\n// for (Sm.StorageNode node: toSend) {\n\n //create StoreChunkRequest\n Sm.StoreChunk chunk = Sm.StoreChunk.newBuilder()\n .setFileName(chunkResponse.getFilename())\n .setChunkId(chunkResponse.getChunkId())\n .setChunkSize(chunkResponse.getChunkSize())\n .setData(chunkResponse.getData())\n .setChunkName(chunkResponse.getChunkName())\n .build();\n\n Sm.StorageNodes nodes = Sm.StorageNodes.newBuilder()\n .addAllNodeList(toSend)\n .build();\n\n Sm.StorageNode primary = toSend.get(0);\n System.out.println(\"Primary: \" + primary.getIp());\n System.out.println(\"Primary: \" + primary.getPort());\n\n //Connect to the first replica\n ChannelFuture cf = bootstrap.connect(primary.getIp(), primary.getPort());\n cf.syncUninterruptibly();\n\n //Prepare Request & Wrap\n Sm.StoreChunkRequest request = Sm.StoreChunkRequest.newBuilder()\n .setChunk(chunk)\n .setNodes(nodes)\n .build();\n\n Sm.StorageMessageWrapper msgWrapper = Sm.StorageMessageWrapper.newBuilder()\n .setScRequest(request)\n .build();\n\n //Send\n Channel chan = cf.channel();\n PatrolInboundHandler handler = chan.pipeline().get(PatrolInboundHandler.class);\n Sm.StorageMessageWrapper response = handler.request(msgWrapper);\n\n if (response.getScResponse().getSuccess()) {\n System.out.println(\"StoreChunk successful?: \" + response.getScResponse().getSuccess());\n Controller.getInstance().updateReplicasAndChunkNames(toSend, chunk.getChunkName());\n }\n\n workerGroup.shutdownGracefully();\n }\n }", "protected void handleGets(final CommandMessage command, final Channel channel) {\n final Future<CacheElement[]> futureResponse = cache.get(Collections.<Key>singleton(command.key));\r\n commandQueue.enqueueFutureResponse(new AsyncGetMultiCommand(command, channel, futureResponse));\r\n }", "private void processNextMessage(ByteBuf buf) throws IgniteClientException {\n var unpacker = new ClientMessageUnpacker(buf);\n\n if (protocolCtx == null) {\n // Process handshake.\n pendingReqs.remove(-1L).complete(unpacker);\n return;\n }\n\n var type = unpacker.unpackInt();\n\n if (type != ServerMessageType.RESPONSE)\n throw new IgniteClientException(\"Unexpected message type: \" + type);\n\n Long resId = unpacker.unpackLong();\n\n int status = unpacker.unpackInt();\n\n ClientRequestFuture pendingReq = pendingReqs.remove(resId);\n\n if (pendingReq == null)\n throw new IgniteClientException(String.format(\"Unexpected response ID [%s]\", resId));\n\n if (status == 0) {\n pendingReq.complete(unpacker);\n } else {\n var errMsg = unpacker.unpackString();\n var err = new IgniteClientException(errMsg, status);\n pendingReq.completeExceptionally(err);\n }\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\tServerSocketChannel socketChannel = ServerSocketChannel.open();\r\n\t\t\tsocketChannel.bind(new InetSocketAddress(8189));\r\n\t\t\tExecutorService service = Executors.newCachedThreadPool();\r\n\t\t\t\r\n\t\t\twhile (true) {\r\n\t\t\t\tSocketChannel socketChannel2 = socketChannel.accept();\r\n\t\t\t\tMultipleTask sTask = new MultipleTask(socketChannel2);\r\n\t\t\t\tservice.execute(sTask);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "@Test\n\tpublic void testBidirectionalCommunicationWithResponses() {\n\n\t\t// due to TIME_WAIT after closing a connection we cannot reuse a fixed\n\t\t// port since this would cause multiple test runs in a row to fail.\n\t\t// therefore, get two free ports we can use.\n\t\tint port0, port1;\n\t\ttry {\n\t\t\tport0 = PortFinder.findOpen();\n\t\t\tport1 = PortFinder.findOpen();\n\t\t} catch (IOException e2) {\n\t\t\tfail(\"could not allocate local ports\");\n\t\t\treturn;\n\t\t}\n\n\t\tfinal Socket sock1 = new Socket();\n\n\t\tThread adminThread = null;\n\n\t\t// sock0 is \"server\", waiting for sock1 to connect\n\t\ttry {\n\t\t\tfinal ServerSocket tempServer = new ServerSocket();\n\t\t\ttempServer.bind(new InetSocketAddress(\"localhost\", port0));\n\n\t\t\tadminThread = new Thread(new Runnable() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tSocket sock0 = null;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tsock0 = tempServer.accept();\n\t\t\t\t\t\ttempServer.close();\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tfail(\"connection failed (3)\");\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\ttempServer.close();\n\t\t\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tFullDuplexMPI party0 = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tparty0 = new FullDuplexMPI(sock0, System.out, true) {\n\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic IMessage processIncomingMessage(IMessage message) {\n\t\t\t\t\t\t\t\tassertTrue(message instanceof ConfirmationMessage);\n\t\t\t\t\t\t\t\tassertTrue(((ConfirmationMessage) message).STATUS_CODE == party1Counter);\n\t\t\t\t\t\t\t\treturn new ConfirmationMessage(--party1Counter, null);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tsendRecursiveAsyncMessages(party0, true);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tfail(\"connection failed (0)\");\n\t\t\t\t\t}\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// moderate timeout to make sure we eventually get a\n\t\t\t\t\t\t// failure\n\t\t\t\t\t\tlatch.await(20, TimeUnit.SECONDS);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\tfail(\"unexpected interruption\");\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (party0 != null) {\n\t\t\t\t\t\t\tparty0.close();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t\tfail(\"connection failed (2)\");\n\t\t}\n\n\t\tadminThread.start();\n\n\t\tFullDuplexMPI party1 = null;\n\n\t\t// sock1 is \"client\"\n\t\ttry {\n\t\t\tsock1.bind(new InetSocketAddress(\"localhost\", port1));\n\t\t\tsock1.connect(new InetSocketAddress(\"localhost\", port0));\n\t\t\tparty1 = new FullDuplexMPI(sock1, System.out, true) {\n\n\t\t\t\t@Override\n\t\t\t\tpublic IMessage processIncomingMessage(IMessage message) {\n\t\t\t\t\tassertTrue(message instanceof ConfirmationMessage);\n\t\t\t\t\tassertTrue(((ConfirmationMessage) message).STATUS_CODE == party0Counter);\n\t\t\t\t\treturn new ConfirmationMessage(++party0Counter, null);\n\t\t\t\t}\n\t\t\t};\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tfail(\"connection failed (1)\");\n\t\t}\n\n\t\tassert party1 != null;\n\t\tsendRecursiveAsyncMessages(party1, false);\n\n\t\ttry {\n\t\t\t// moderate timeout to make sure we eventually get a failure\n\t\t\tlatch.await(20, TimeUnit.SECONDS);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tfail(\"unexpected interruption (1)\");\n\t\t}\n\n\t\t// check if all messages were acknowledged\n\t\tassertEquals(99, party0Counter);\n\t\tassertEquals(1, party1Counter);\n\n\t\ttry {\n\t\t\tsock1.close();\n\t\t} catch (IOException e) {\n\t\t\t// ignore\n\t\t}\n\t\ttry {\n\t\t\tadminThread.join();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tfail(\"unexpected interruption (2)\");\n\t\t}\n\t}", "static void acceptTwoServerRequests(Tracer server1Tracer, Tracer server2Tracer) {\n Span server1 = server1Tracer.newTrace().name(\"get\").kind(Kind.SERVER).start();\n Span server2 = server1Tracer.newTrace().name(\"get\").kind(Kind.SERVER).start();\n try {\n Span client1 =\n server1Tracer.newChild(server1.context()).name(\"post\").kind(Kind.CLIENT).start();\n\n server2Tracer.joinSpan(fakeUseOfHeaders(client1.context()))\n .name(\"post\")\n .kind(Kind.SERVER)\n .start().finish();\n\n ScopedSpan local1 = server1Tracer.startScopedSpanWithParent(\"controller\", server1.context());\n try {\n try {\n server1Tracer.newTrace().name(\"async1\").start().finish();\n server2Tracer.newTrace().name(\"async2\").start().finish();\n\n ScopedSpan local2 =\n server1Tracer.startScopedSpanWithParent(\"controller2\", server2.context());\n Span client2 = server1Tracer.nextSpan().name(\"post\").kind(Kind.CLIENT).start();\n try {\n server2Tracer.joinSpan(fakeUseOfHeaders(client2.context()))\n .name(\"post\")\n .kind(Kind.SERVER)\n .start().error(new RuntimeException()).finish();\n\n server1Tracer.nextSpan()\n .name(\"post\")\n .kind(Kind.CLIENT)\n .start()\n .remoteServiceName(\"uninstrumentedServer\")\n .error(new RuntimeException())\n .finish();\n } finally {\n client2.finish();\n local2.finish();\n }\n } finally {\n server2.finish();\n }\n } finally {\n client1.finish();\n local1.finish();\n }\n } finally {\n server1.finish();\n }\n }", "@GET\n @Path(\"{filename}\")\n @Produces(MediaType.APPLICATION_OCTET_STREAM)\n public Response show(@PathParam(\"filename\") String filename) {\n ArrayList<String> serversClone = new ArrayList<>();\n this.cm.getServers().forEach(server -> {\n serversClone.add(server);\n });\n while (!serversClone.isEmpty()) {\n String selectedServer = this.cm.getServer();\n serversClone.remove(selectedServer);\n try{\n String endpoint = \"http://\" + selectedServer\n + \"/WebService/webresources/files\";\n URL url = new URL(endpoint + \"/\" + filename);\n String methodType = \"GET\";\n HttpURLConnection urlConnection = (HttpURLConnection) \n url.openConnection();\n urlConnection.setRequestMethod(methodType);\n urlConnection.setDoOutput(true);\n urlConnection.setRequestProperty(\n \"Content-type\", MediaType.APPLICATION_OCTET_STREAM\n );\n urlConnection.setRequestProperty(\n \"Accept\", MediaType.APPLICATION_OCTET_STREAM\n );\n int httpResponseCode = urlConnection.getResponseCode();\n if (httpResponseCode == HttpURLConnection.HTTP_OK) {\n return Response.ok(urlConnection.getInputStream()).build();\n } else {\n if (serversClone.isEmpty()) {\n return Response\n .status(httpResponseCode).build();\n }\n }\n } catch (IOException e) {\n System.err.println(e);\n return Response.serverError().build();\n }\n }\n return Response.status(HttpURLConnection.HTTP_UNAVAILABLE).build();\n }", "void stubResponses(HttpExecuteResponse... responses);", "protected void writeRemoteInvocationResult(HttpExchange exchange, RemoteInvocationResult result)\n/* */ throws IOException\n/* */ {\n/* 143 */ exchange.getResponseHeaders().set(\"Content-Type\", getContentType());\n/* 144 */ exchange.sendResponseHeaders(200, 0L);\n/* 145 */ writeRemoteInvocationResult(exchange, result, exchange.getResponseBody());\n/* */ }", "public static void main2(String[] args) throws UnknownHostException, IOException, ClassNotFoundException, InterruptedException{\r\n //get the localhost IP address, if server is running on some other IP, you need to use that\r\n InetAddress host = InetAddress.getLocalHost();\r\n Socket socket = null;\r\n ObjectOutputStream oos = null;\r\n ObjectInputStream ois = null;\r\n for(int i=0; i<5;i++){\r\n //establish socket connection to server\r\n socket = new Socket(host.getHostName(), 9876);\r\n //write to socket using ObjectOutputStream\r\n oos = new ObjectOutputStream(socket.getOutputStream());\r\n System.out.println(\"Sending request to Socket Server\");\r\n if(i==4)oos.writeObject(\"exit\");\r\n else oos.writeObject(\"\"+i);\r\n //read the server response message\r\n ois = new ObjectInputStream(socket.getInputStream());\r\n String message = (String) ois.readObject();\r\n System.out.println(\"Message: \" + message);\r\n //close resources\r\n ois.close();\r\n oos.close();\r\n Thread.sleep(100);\r\n }\r\n }", "@Test\n public void dispatchToMultipleObjects() {\n BaseEventBus eventBus = new SynchronousEventBus(LOG);\n\n final List<String> object1Received = new ArrayList<>();\n Object object1 = new Object() {\n @Subscriber\n public void onStringEvent(String event) {\n object1Received.add(event);\n }\n };\n\n final List<String> object2Received = new ArrayList<>();\n Object object2 = new Object() {\n @Subscriber\n public void onStringEvent(String event) {\n object2Received.add(event);\n }\n };\n\n eventBus.register(object1);\n eventBus.register(object2);\n\n eventBus.post(\"event 1\");\n eventBus.post(\"event 2\");\n\n // both subscribers should receive all items\n assertThat(object1Received, is(asList(\"event 1\", \"event 2\")));\n assertThat(object2Received, is(asList(\"event 1\", \"event 2\")));\n }", "private synchronized void addResultToMultiList() {\n\t addObjectToMultiList(resultArrayList);\r\n\t }", "public abstract Response[] collectResponse();", "private void receiveAndDispatchMessage() {\n String response = null;\n try {\n while((response = bufferedReader.readLine()) != null) {\n System.out.println(\"received message from server: \" + response);\n String messageKind = \"\";\n if(response.contains(\":\")) {\n messageKind = response.substring(0, response.indexOf(\":\"));\n } else {\n messageKind = response;\n }\n Bundle bundle = new Bundle();\n bundle.putString(\"response\", response);\n switch (messageKind) {\n case ClientMessageKind.SIGNUPDENIED:\n case ClientMessageKind.SIGNUPOK:\n if(resultReceiverMap.keySet().contains(ActivityNames.COMMONSIGNUPACTIVITY)) {\n resultReceiverMap.get(ActivityNames.COMMONSIGNUPACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.SIGNINDENIED:\n case ClientMessageKind.SIGNINOK:\n if(resultReceiverMap.keySet().contains(ActivityNames.COMMONSIGNINACTIVITY)) {\n resultReceiverMap.get(ActivityNames.COMMONSIGNINACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.DRIVERLOC:\n if(resultReceiverMap.keySet().contains(ActivityNames.PASSENGERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.PASSENGERLOC:\n if(resultReceiverMap.keySet().contains(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.CHATFROMDRIVER:\n if(resultReceiverMap.keySet().contains(ActivityNames.PASSENGERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.CHATFROMPASSENGER:\n if(resultReceiverMap.keySet().contains(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.PASSENGERDEST:\n if(resultReceiverMap.containsKey(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.STARTRIDE:\n if(resultReceiverMap.containsKey(ActivityNames.PASSENGERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n } else if(resultReceiverMap.containsKey(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.ENDRIDE:\n if(resultReceiverMap.containsKey(ActivityNames.PASSENGERENDSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERENDSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.DRIVERCANCEL:\n if(resultReceiverMap.containsKey(ActivityNames.PASSENGERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.PASSENGERCANCEL:\n if(resultReceiverMap.containsKey(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.UPDATEPASSENGERPROFILEDENIED:\n case ClientMessageKind.UPDATEPASSENGERPROFILEOKAY:\n if(resultReceiverMap.containsKey(ActivityNames.PASSENGERUPDATEPROFILEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERUPDATEPROFILEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.UPDATEDRIVERPROFILEDENIED:\n case ClientMessageKind.UPDATEDRIVERPROFILEOKAY:\n if(resultReceiverMap.containsKey(ActivityNames.DRIVERUPDATEPROFILEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERUPDATEPROFILEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.DRIVERREQUESTLOC:\n if(resultReceiverMap.containsKey(ActivityNames.PASSENGERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.PASSENGERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n case ClientMessageKind.PASSENGERREQUESTLOC:\n if(resultReceiverMap.containsKey(ActivityNames.DRIVERSTARTSERVICEACTIVITY)) {\n resultReceiverMap.get(ActivityNames.DRIVERSTARTSERVICEACTIVITY).send(\n ResultCode.RESULTCODE,\n bundle\n );\n }\n break;\n default:\n break;\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "public interface Handle {\n public void handle(HttpExchange httpExchange);\n}", "public EchoClientHandler() {\n firstMessage = Unpooled.buffer(EchoClient.SIZE);\n for (int i = 0; i < firstMessage.capacity(); i ++) {\n firstMessage.writeByte((byte) i);\n }\n }", "public void sendResponse(MessageExchange exchange) {\n\t\tdoSend(exchange);\n\t}", "@Test\n\tpublic void testPassThroughHandler_MultiSourceQuery() throws Exception {\n\t\tprepareTest(Arrays.asList(\"/tests/basic/data01endpoint1.ttl\", \"/tests/basic/data01endpoint2.ttl\"));\n\n\t\ttry (RepositoryConnection conn = fedxRule.getRepository().getConnection()) {\n\n\t\t\t// SELECT query\n\t\t\tTupleQuery tq = conn\n\t\t\t\t\t.prepareTupleQuery(\n\t\t\t\t\t\t\t\"SELECT ?person ?interest WHERE { ?person <http://xmlns.com/foaf/0.1/name> ?name ; <http://xmlns.com/foaf/0.1/interest> ?interest }\");\n\t\t\ttq.setBinding(\"name\", l(\"Alan\"));\n\n\t\t\tAtomicBoolean started = new AtomicBoolean(false);\n\t\t\tAtomicInteger numberOfResults = new AtomicInteger(0);\n\n\t\t\ttq.evaluate(new AbstractTupleQueryResultHandler() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void startQueryResult(List<String> bindingNames) throws TupleQueryResultHandlerException {\n\t\t\t\t\tif (started.get()) {\n\t\t\t\t\t\tthrow new IllegalStateException(\"Must not start query result twice.\");\n\t\t\t\t\t}\n\t\t\t\t\tstarted.set(true);\n\n\t\t\t\t\t/*\n\t\t\t\t\t * Expected trace looks like this java.lang.Exception at\n\t\t\t\t\t * org.eclipse.rdf4j.federated.BasicTests$1.startQueryResult(BasicTests.java:276) at\n\t\t\t\t\t * org.eclipse.rdf4j.query.QueryResults.report(QueryResults.java:263) at\n\t\t\t\t\t * org.eclipse.rdf4j.federated.structures.FedXTupleQuery.evaluate(FedXTupleQuery.java:69)\n\t\t\t\t\t */\n\t\t\t\t\tAssertions.assertEquals(QueryResults.class.getName(),\n\t\t\t\t\t\t\tnew Exception().getStackTrace()[1].getClassName());\n\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void handleSolution(BindingSet bs) throws TupleQueryResultHandlerException {\n\t\t\t\t\tAssertions.assertEquals(bs.getValue(\"person\"), iri(\"http://example.org/\", \"a\"));\n\t\t\t\t\tAssertions.assertEquals(bs.getValue(\"interest\").stringValue(), \"SPARQL 1.1 Basic Federated Query\");\n\t\t\t\t\tnumberOfResults.incrementAndGet();\n\t\t\t\t};\n\t\t\t});\n\n\t\t\tAssertions.assertTrue(started.get());\n\t\t\tAssertions.assertEquals(1, numberOfResults.get());\n\t\t}\n\t}", "@Override\n\tpublic void multiPut(List<KeyValueVersion> ops) throws RemoteException,\n\t\t\tInterruptedException {\n\t\t\n\t}", "public boolean writeOutbound(Object... msgs) {\n/* 381 */ ensureOpen();\n/* 382 */ if (msgs.length == 0) {\n/* 383 */ return isNotEmpty(this.outboundMessages);\n/* */ }\n/* */ \n/* 386 */ RecyclableArrayList futures = RecyclableArrayList.newInstance(msgs.length);\n/* */ try {\n/* 388 */ for (Object m : msgs) {\n/* 389 */ if (m == null) {\n/* */ break;\n/* */ }\n/* 392 */ futures.add(write(m));\n/* */ } \n/* */ \n/* 395 */ flushOutbound0();\n/* */ \n/* 397 */ int size = futures.size();\n/* 398 */ for (int i = 0; i < size; i++) {\n/* 399 */ ChannelFuture future = (ChannelFuture)futures.get(i);\n/* 400 */ if (future.isDone()) {\n/* 401 */ recordException(future);\n/* */ } else {\n/* */ \n/* 404 */ future.addListener((GenericFutureListener)this.recordExceptionListener);\n/* */ } \n/* */ } \n/* */ \n/* 408 */ checkException();\n/* 409 */ return isNotEmpty(this.outboundMessages);\n/* */ } finally {\n/* 411 */ futures.recycle();\n/* */ } \n/* */ }", "public void testUnpackMultipleTuples() throws InvalidAdviceException {\n // Set up the baggage\n BaggageAPIForTest baggage = new BaggageAPIForTest();\n baggage.put(\"bag1\", new Object[][] {{\"v1\", \"v2\"}, {\"v3\", \"v4\"}, {\"v5\", \"v6\"}});\n \n EmitAPIForTest results = new EmitAPIForTest();\n Advice advice = AdviceTestUtils.newAdvice().observe(\"a\", \"b\")\n .unpack(\"bag1\", \"c\", \"d\")\n .emit(\"test1\", \"a\", \"b\", \"c\", \"d\")\n .build(baggage, results);\n \n assertTrue(\"Expect nothing emitted yet\", results.emitted.size() == 0);\n advice.advise(\"vva\", \"vvb\");\n results.expectTuple(\"vva\", \"vvb\", \"v1\", \"v2\");\n results.expectTuple(\"vva\", \"vvb\", \"v3\", \"v4\");\n results.expectTuple(\"vva\", \"vvb\", \"v5\", \"v6\");\n results.check();\n assertTrue(\"Expect 3 output tuple emitted\", results.emitted.size() == 3); \n }", "private void getMessages(HttpServletRequest request, HttpServletResponse response) throws IOException {\n int tick = Integer.parseInt(request.getParameter(\"tick\"));\n\n if (tick != SimApi.getCurrTick()) {\n String allPaths = \"\";\n\n for (Message me : SimApi.getMessages()) {\n allPaths += me.getRoute() + \",\" + (me.getRouteList().size() - 1) + \",\" + me.getType().toString() + \",,\";\n }\n\n if (!allPaths.equals(\"\")) {\n allPaths = allPaths.substring(0, allPaths.length() - 2);\n }\n\n response.getWriter().write(SimApi.getCurrTick() + \"!\" + allPaths);\n } else {\n response.sendError(0);\n }\n }", "public void apiSpotifyGetTracks(Messenger handler){\n for(int i = 0; i < playlists.size(); i++){\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_gettracks, playlists.get(i).getId()))\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n\n // ensure the response (and underlying response body) is closed\n try (Response response = client.newCall(request).execute()) {\n if(response.isSuccessful()){\n JSONObject jsonObject = new JSONObject(response.body().string());\n songsToTransfer += jsonObject.getInt(\"total\");\n updateMessage(handler,1);\n\n apiSpotifyGetTracksHelper(i,jsonObject,handler);\n }\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }\n }", "public synchronized Object getResponse() {\n Object[] resp = new Object[ responses.size() ] ;\n for (int i=0;i<responses.size();i++) {\n resp[i] = responses.get(i) ;\n }\n responses.clear();\n responseChanged = false ;\n numResponses ++ ;\n return resp ;\n }", "public static void main(String[] args) throws NoSuchAlgorithmException {\n SSLContext sslcontext = SSLContext.getDefault();\n Client client = ClientBuilder.newBuilder().property(\"Connection Success\", 100).sslContext(sslcontext)\n .register(JacksonJsonProvider.class).build(); // This is the client Instances as we can set in the next lines of the code\n WebTarget target = client.target(\"https://Knotify.io\");\n Customer customer = target.request().accept(\"application/json\").get(Customer.class);\n List<Customer> customers = target.request().accept(\"application/json\").get(new GenericType<List<Customer>>() {\n });\n // Here we can call the Output lines of the code as we can set in the next lines of the code\n System.out.println(Arrays.toString(customers.toArray()));\n System.out.print(customer.toString());\n //So here we can construct the response as we can see in the next lines\n //The next lines is to construct the lines of the next code as we can set\n try (Response response = target.request().accept(\"application/json\")\n .get()) {\n if (response.getStatus() == 200) {\n response.bufferEntity();\n Customer customer1 = response.readEntity(Customer.class); // This is for read instance //\n Map raw_json = response.readEntity(Map.class);\n System.out.println(customer1.toString());\n System.out.println(raw_json);\n }\n\n\n }// here response.close() is implicit\n Customer customer2 = new Customer();\n Response response = target.request().post(Entity.xml(customer2));\n response.close();//call close for Security reasons //\n\n // Here we can call the put method as we can see in the next lines of the code\n Response response1 = target.request().put(Entity.xml(customer));\n response1.close(); //Always call the close for the Source Reasons;\n // Here we can define the invocations as we can see in the next lines of the code\n\n Invocation customer_get = target.request().accept(\"Application/xml\").buildGet();\n //while invocation\n\n while (true){\n Response res = customer_get.invoke();\n try {\n Customer customer_do = res.readEntity(Customer.class);\n Thread.sleep(555);\n }catch (Exception e){\n System.out.println(\"Dont use the infinite loop\");\n }\n }\n // Here we can inherite the main example as we can see in the do-while example as we can see\n Customer new_customer= null;\n boolean redirected = false;\n do{\n try {\n new_customer= target.request().accept(\"application/json\").get(Customer.class);\n }catch (RedirectionException redirect){\n if(redirected) throw redirect;{\n redirected = true;\n target = client.target(redirect.getLocation());\n }\n }\n } while (new_customer == null);\n }", "private void getMasechtotListFromServer() {\n\n\n RequestManager.getMasechtotList().subscribe(new Observer<Result<MasechetList>>() {\n @Override\n public void onSubscribe(Disposable d) {\n\n }\n\n @Override\n public void onNext(Result<MasechetList> masechetListResult) {\n\n saveMasechtotList(masechetListResult.getData());\n mMasechtotList = masechetListResult.getData();\n\n }\n\n @Override\n public void onError(Throwable e) {\n\n }\n\n @Override\n public void onComplete() {\n\n }\n });\n\n\n }", "@Override\n default IServerPrx ice_batchDatagram()\n {\n return (IServerPrx)_ice_batchDatagram();\n }", "public void testUnpackMultipleBags() throws InvalidAdviceException {\n // Set up the baggage\n BaggageAPIForTest baggage = new BaggageAPIForTest();\n baggage.put(\"bag1\", new Object[][] {{\"v1\", \"v2\"}});\n baggage.put(\"bag2\", new Object[][] {{\"v3\", \"v4\"}});\n baggage.put(\"bag3\", new Object[][] {{\"v5\", \"v6\"}});\n \n EmitAPIForTest results = new EmitAPIForTest();\n Advice advice = AdviceTestUtils.newAdvice().observe(\"a\", \"b\")\n .unpack(\"bag1\", \"c\", \"d\")\n .unpack(\"bag2\", \"e\", \"f\")\n .unpack(\"bag3\", \"g\", \"h\")\n .emit(\"test1\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\")\n .build(baggage, results);\n \n assertTrue(\"Expect nothing emitted yet\", results.emitted.size() == 0);\n advice.advise(\"vva\", \"vvb\");\n advice.advise(\"vva\", \"vvc\");\n advice.advise(\"vva\", \"vve\");\n results.expectTuple(\"vva\", \"vvb\", \"v1\", \"v2\", \"v3\", \"v4\", \"v5\", \"v6\");\n results.expectTuple(\"vva\", \"vvc\", \"v1\", \"v2\", \"v3\", \"v4\", \"v5\", \"v6\");\n results.expectTuple(\"vva\", \"vve\", \"v1\", \"v2\", \"v3\", \"v4\", \"v5\", \"v6\");\n results.check();\n assertTrue(\"Expect 3 output tuple emitted\", results.emitted.size() == 3);\n }", "public Builder addAllResponse(\n java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {\n ensureResponseIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, response_);\n onChanged();\n return this;\n }", "public final void entryRuleOpMulti() throws RecognitionException {\n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:715:1: ( ruleOpMulti EOF )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:716:1: ruleOpMulti EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOpMultiRule()); \n }\n pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti1454);\n ruleOpMulti();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOpMultiRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti1461); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "@Override\n\tpublic void process(Exchange arg0) throws Exception {\n\t\t\n\t}", "private void doServers(final HttpRequest httpRequest, final HttpResponse response) {\r\n\r\n final List<Server> servers = ServerService.getInstance().getAll();\r\n if (servers == null || servers.isEmpty()) {\r\n return;\r\n }\r\n\r\n // We should have a dedicated mapper for this\r\n final ServerListEntity serverListEntity = XMLUtils.convertServers(servers);\r\n try {\r\n final JAXBContext jaxbContext = JAXBContext.newInstance(ServerListEntity.class);\r\n final Marshaller marshaller = jaxbContext.createMarshaller();\r\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\r\n marshaller.setProperty(\"com.sun.xml.bind.characterEscapeHandler\", new XmlCharacterHandler());\r\n marshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\r\n\r\n final StringWriter stringWriter = new StringWriter();\r\n stringWriter.append(\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\");\r\n final PrintWriter printWriter = new PrintWriter(stringWriter);\r\n marshaller.marshal(serverListEntity, printWriter);\r\n response.appendContent(stringWriter.toString());\r\n response.setMimeType(\"text/xml\");\r\n }\r\n catch (final JAXBException e) {\r\n e.printStackTrace();\r\n }\r\n }", "public UploadHandle upload(List<File> files) throws Exception {\n \tMetadata md = new Metadata();\n \tfinal FileCollection fcol = new FileCollection(md);\n \tfor(File f: files) {\n \t\tFileMetaData mf = new FileMetaData(f.getName(), f.getLocalName(), \"\", null);\n \t\tmf.setGroups(f.getGroups());\n \t\tmd.md.file.add(mf);\n \t}\n NullOutputStream ostream = new NullOutputStream();\n fcol.tarit(ostream);\n long length = ostream.getLength();\n\n HttpResponse response = client.get(new URI(config.preallocurl()));\n String prealloc_file = this.read_http_entity(response.getEntity());\n String ingestServer = prealloc_file.split(\"\\n\")[0];\n String location = prealloc_file.split(\"\\n\")[1];\n ingestServer = ingestServer.split(\": \")[1];\n location = location.split(\": \")[1];\n \n PipedInputStream in = new PipedInputStream();\n final PipedOutputStream out = new PipedOutputStream(in);\n new Thread(\n new Runnable(){\n @Override\n public void run(){\n try {\n fcol.tarit(out);\n } catch (Exception ex) {\n Logger.getLogger(Connect.class.getName()).log(Level.SEVERE, null, ex);\n \n }\n }\n }\n ).start();\n \n InputStreamEntity entity = new InputStreamEntity(in, length);\n response = client.put(entity, new URI(\"https://\"+ingestServer+location));\n this.read_http_entity(response.getEntity());\n\n response = client.get(new URI(\"https://\"+ingestServer+config.finishurl()+location));\n String status_url = this.read_http_entity(response.getEntity());\n for(String line:status_url.split(\"\\n\")) {\n System.out.println(line);\n if(line.startsWith(\"Status: \"))\n status_url = line.split(\": \")[1];\n }\n System.out.println(status_url+\"/xml\");\n StatusHandler sturl = new StatusHandler();\n sturl.status_url = status_url+\"/xml\";\n sturl.timeout = 30;\n sturl.step = 5;\n UploadHandle ret = sturl;\n return ret;\n }", "@Test\n public void testHttpHappyPathOnce() throws Exception {\n final String testAddr = UUID.randomUUID().toString();\n final Subscription server = TestHttpUtil.createTestServerWith(testAddr, \n responseBy(\"text/plain\", HttpTestServer.CONTENT),\n ENABLE_LOGGING);\n final DefaultHttpClient client = new DefaultHttpClient(new TestChannelCreator(), ENABLE_LOGGING);\n try {\n \n final Iterator<HttpObject> itr = \n client.defineInteraction(\n new LocalAddress(testAddr), \n Observable.just(fullHttpRequest()))\n .map(RxNettys.<HttpObject>retainer())\n .toBlocking().toIterable().iterator();\n \n final byte[] bytes = RxNettys.httpObjectsAsBytes(itr);\n \n assertTrue(Arrays.equals(bytes, HttpTestServer.CONTENT));\n } finally {\n client.close();\n server.unsubscribe();\n }\n }", "protected abstract void sendMessage(UUID[] players, String[] messages, IntConsumer response);", "@Override\n public void greetManyTimes(GreetManyTimesRequest request, StreamObserver<GreetManyTimesResponse> responseObserver) {\n\n Greeting greeting = request.getGreeting();\n\n try {\n IntStream.rangeClosed(1, 10).forEach(i -> {\n\n GreetManyTimesResponse greetManyTimesResponse = GreetManyTimesResponse.newBuilder()\n .setResult(\"Hello \" + greeting.getFirstName() + \", This is response number : \" + i)\n .build();\n\n responseObserver.onNext(greetManyTimesResponse);\n\n try {\n Thread.sleep(1000L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n });\n } finally {\n responseObserver.onCompleted();\n }\n }", "public final void entryRuleOpMulti() throws RecognitionException {\r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:798:1: ( ruleOpMulti EOF )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:799:1: ruleOpMulti EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpMultiRule()); \r\n }\r\n pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti1634);\r\n ruleOpMulti();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpMultiRule()); \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti1641); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public static void main(String[] args) throws Exception {\n new GStreamClient(\"localhost\", 8080).makeStreamingRequestForBatchedSum();\n\n // Observation : for the first two calls - behavior is same.\n // Iterable hasNext and next are getting called every 2 seconds once server responds\n\n // Observation : server is always assumed to stream the response\n // hence responseObserver is always present\n // if client does not stream the request, then input is just the simple request object, else StreamObserver\n }", "public void go(StreamModule m1, StreamModule m2) throws Exception {\n \t\tStreamHeader header = in.getHeader();\n \t\theader = m1.init(header);\n \t\theader = m2.init(header);\n \t\tout.setHeader(header);\n \n \t\tStreamFrame frame;\n \t\twhile ((frame = in.recvFrame()) != null) {\n \t\t\tframe = m1.process(frame);\n \t\t\tframe = m2.process(frame);\n \t\t\tout.sendFrame(frame);\n \t\t}\n \n \t\tm1.close();\n \t\tm2.close();\n \t}", "private static void performMessageExchange(List<Integer> users, int dosIDForHour){\n // For all pairs of users, send messages from one queue to the other with queue constraints in mind.\n MobyUser mobyUser1, mobyUser2;\n Collections.sort(users);\n for (int u1 : users) {\n mobyUser1 = mobyUserHashMap.get(u1);\n mobyUser1.performDosExchangeForHour(dosIDForHour, dosNumber);\n for (int u2 : users) {\n mobyUser2 = mobyUserHashMap.get(u2);\n mobyUser1.performMessageExchangeTailDrop(mobyUser2, dosNumber, dosIDForHour);\n }\n }\n\n }", "public static void main(String[] args) \n\t{\n\t\t\t\tHandler h1 = new Handler1();\n\t\t\t\tHandler h2 = new Handler2();\n\t\t\t\tHandler h3 = new Handler3();\n\t\t\t\th1.setNextHandler(h3);\n\t\t\t\th3.setNextHandler(h2);\n\t\t\t\th2.setNextHandler(null);\n\n\t\t\t\th1.handleRequest(new Request(\"Value \", 4));\n\t\t\t\th1.handleRequest(new Request(\"Value \", -5));\n\t\t\t\th1.handleRequest(new Request(\"Value \", 45));\n\n\t}", "public void receiveResultmultiply2(\n loadbalance.LoadBalanceStub.Multiply2Response result\n ) {\n }", "@Test\n public void multipleNetServers() throws Exception {\n String gNode1 = \"graphNode1\";\n String gNode2 = \"graphNode2\";\n\n Map<String, String> rcaConfTags = new HashMap<>();\n rcaConfTags.put(\"locus\", RcaConsts.RcaTagConstants.LOCUS_DATA_NODE);\n IntentMsg msg = new IntentMsg(gNode1, gNode2, rcaConfTags);\n wireHopper2.getSubscriptionManager().setCurrentLocus(RcaConsts.RcaTagConstants.LOCUS_DATA_NODE);\n\n wireHopper1.sendIntent(msg);\n\n WaitFor.waitFor(() ->\n wireHopper2.getSubscriptionManager().getSubscribersFor(gNode2).size() == 1,\n 10,\n TimeUnit.SECONDS);\n GenericFlowUnit flowUnit = new SymptomFlowUnit(System.currentTimeMillis());\n DataMsg dmsg = new DataMsg(gNode2, Lists.newArrayList(gNode1), Collections.singletonList(flowUnit));\n wireHopper2.sendData(dmsg);\n wireHopper1.getSubscriptionManager().setCurrentLocus(RcaConsts.RcaTagConstants.LOCUS_DATA_NODE);\n\n WaitFor.waitFor(() -> {\n List<FlowUnitMessage> receivedMags = wireHopper1.getReceivedFlowUnitStore().drainNode(gNode2);\n return receivedMags.size() == 1;\n }, 10, TimeUnit.SECONDS);\n }", "private static void exSwitchMapTwo() {\n\n Observable.interval(5,TimeUnit.SECONDS)\n .switchMap(call -> Observable.just(getResponse()).doOnDispose(() -> System.out.println(\"Disposed\")))\n .subscribe(System.out::println);\n\n //An Observable which performs network call.\n sleep(40000);\n\n\n /* OUTPUT :\n 6\n 10\n 13\n 17\n 26\n 32\n 35\n 42\n\n */\n }", "public void testUnpackMultipleTuplesMultipleBags() throws InvalidAdviceException {\n // Set up the baggage\n BaggageAPIForTest baggage = new BaggageAPIForTest();\n baggage.put(\"bag1\", new Object[][] {{\"b1_t1_v1\", \"b1_t1_v2\"}, {\"b1_t2_v1\", \"b1_t2_v2\"}, {\"b1_t3_v1\", \"b1_t3_v2\"}});\n baggage.put(\"bag2\", new Object[][] {{\"b2_t1_v1\", \"b2_t1_v2\"}, {\"b2_t2_v1\", \"b2_t2_v2\"}, {\"b2_t3_v1\", \"b2_t3_v2\"}});\n baggage.put(\"bag3\", new Object[][] {{\"b3_t1_v1\", \"b3_t1_v2\"}, {\"b3_t2_v1\", \"b3_t2_v2\"}, {\"b3_t3_v1\", \"b3_t3_v2\"}});\n \n EmitAPIForTest results = new EmitAPIForTest();\n Advice advice = AdviceTestUtils.newAdvice().observe(\"a\", \"b\")\n .unpack(\"bag1\", \"c\", \"d\")\n .unpack(\"bag2\", \"e\", \"f\")\n .unpack(\"bag3\", \"g\", \"h\")\n .emit(\"test1\", \"a\")\n .build(baggage, results);\n \n assertTrue(\"Expect nothing emitted yet\", results.emitted.size() == 0);\n advice.advise(\"vva\", \"vvb\");\n advice.advise(\"vva\", \"vvc\");\n advice.advise(\"vva\", \"vve\");\n int expected = 3 * 3 * 3 * 3;\n for (int i = 0; i < expected; i++) {\n results.expectTuple(\"vva\");\n }\n results.check();\n assertTrue(\"Expect \"+expected+\" output tuple emitted\", results.emitted.size() == expected); \n }" ]
[ "0.62730587", "0.53579557", "0.53436285", "0.5326872", "0.52744246", "0.5198946", "0.5146495", "0.50682545", "0.5056575", "0.5030321", "0.49659505", "0.49077988", "0.48905218", "0.48851228", "0.48784363", "0.48277357", "0.4802971", "0.47941434", "0.4790822", "0.47861037", "0.47858483", "0.47445476", "0.47398457", "0.4738093", "0.47289538", "0.4727008", "0.47211656", "0.4716233", "0.46943915", "0.46807176", "0.46687746", "0.46420562", "0.46415362", "0.46407405", "0.4633606", "0.46293753", "0.4624635", "0.46203122", "0.4616659", "0.45966974", "0.4585305", "0.45820296", "0.4577486", "0.45485154", "0.45478314", "0.45445737", "0.4537419", "0.4534316", "0.45174637", "0.45164043", "0.45090675", "0.4504883", "0.44916797", "0.44916165", "0.44855717", "0.44714725", "0.44660327", "0.44541192", "0.444921", "0.44467503", "0.44425473", "0.4438087", "0.44380152", "0.4437869", "0.44358787", "0.44314894", "0.44273338", "0.44240826", "0.44208056", "0.4420659", "0.44166273", "0.44158217", "0.44093534", "0.44077682", "0.44047305", "0.44041935", "0.44016054", "0.44007602", "0.43980125", "0.43979234", "0.4397598", "0.4394743", "0.4391478", "0.43909597", "0.438361", "0.43806875", "0.43691456", "0.43689054", "0.4368834", "0.43633804", "0.43628904", "0.436278", "0.43624622", "0.43466985", "0.4341721", "0.43389732", "0.43377784", "0.4330137", "0.43181595", "0.43165714" ]
0.6485045
0
Take a Throwable and return a suitable CompletableFuture that is completed exceptionally.
private CompletableFuture<Response> getExceptionalCF(Throwable t) { if ((t instanceof CompletionException) || (t instanceof ExecutionException)) { if (t.getCause() != null) { t = t.getCause(); } } if (cancelled && t instanceof IOException) { t = new HttpTimeoutException("request timed out"); } return MinimalFuture.failedFuture(t); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static <T> CompletionStage<T> exceptionallyCompleted(Exception e) {\n CompletableFuture<T> result = new CompletableFuture<T>();\n result.completeExceptionally(e);\n return result;\n }", "@Override\n public Promise<T> exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>> fn) {\n return cast(super.exceptionallyComposeAsync(fn));\n }", "@Override\n public Promise<T> exceptionallyAsync(Function<Throwable, ? extends T> fn) {\n return cast(super.exceptionallyAsync(fn));\n }", "@Override\n public Promise<T> exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>> fn) {\n return cast(super.exceptionallyCompose(fn));\n }", "@Override\n public Promise<T> exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>> fn, Executor executor) {\n return cast(super.exceptionallyComposeAsync(fn, executor));\n }", "@Override\n public Promise<T> exceptionallyAsync(Function<Throwable, ? extends T> fn, Executor executor) {\n return cast(super.exceptionallyAsync(fn, executor));\n }", "public Promise<V> setFailure(Throwable cause)\r\n/* 331: */ {\r\n/* 332:415 */ if (setFailure0(cause))\r\n/* 333: */ {\r\n/* 334:416 */ notifyListeners();\r\n/* 335:417 */ return this;\r\n/* 336: */ }\r\n/* 337:419 */ throw new IllegalStateException(\"complete already: \" + this, cause);\r\n/* 338: */ }", "public ExecutionResult failed(Throwable throwable) {\n var duration = Duration.between(start(), Instant.now());\n return new ExecutionResult(1, duration, out.toString(), err.toString(), throwable);\n }", "Throwable cause();", "public static <T> CompletionStage<T> timeoutAfter(final long delay, final TimeUnit unit, final Supplier<Throwable> throwableSupplier) {\r\n CompletableFuture<T> completableFuture = new CompletableFuture<>();\r\n TIMEOUT_EXECUTOR.schedule(() ->\r\n completableFuture.completeExceptionally(throwableSupplier.get())\r\n , delay, unit);\r\n return completableFuture;\r\n }", "private ChannelFuture checkException(ChannelPromise promise) {\n/* 624 */ Throwable t = this.lastException;\n/* 625 */ if (t != null) {\n/* 626 */ this.lastException = null;\n/* */ \n/* 628 */ if (promise.isVoid()) {\n/* 629 */ PlatformDependent.throwException(t);\n/* */ }\n/* */ \n/* 632 */ return (ChannelFuture)promise.setFailure(t);\n/* */ } \n/* */ \n/* 635 */ return (ChannelFuture)promise.setSuccess();\n/* */ }", "@FunctionalInterface\npublic interface ThrowableSupplier<T> {\n T get() throws Throwable;\n}", "public interface ThrowableSupplier<T, E extends Throwable> {\n T get() throws Throwable;\n }", "@Nullable\n public ApolloException awaitFailure() {\n Await.latch(failureLatch, waitTimeMs);\n return failureContainer.get();\n }", "Try<T> recover(TryFunction<? super Throwable, T> fn);", "Try<T> recoverWith(TryFunction<? super Throwable, Try<T>> fn);", "public static Completable m147572a(Throwable th) {\n ObjectHelper.m147684a((Object) th, \"error is null\");\n return RxJavaPlugins.m148466a(new CompletableError(th));\n }", "@Override\n public CompletionStage<V> apply(InvocationContext<CompletionStage<V>> ctx) {\n CompletableFuture<V> result = new CompletableFuture<>();\n\n executor.execute(() -> {\n TimeoutExecution timeoutExecution = new TimeoutExecution(Thread.currentThread(),\n timeoutInMillis, () -> result.completeExceptionally(timeoutException(description)));\n TimeoutWatch watch = watcher.schedule(timeoutExecution);\n\n CompletionStage<V> originalResult;\n try {\n originalResult = delegate.apply(ctx);\n } catch (Exception e) {\n // this comes first, so that when the future is completed, the timeout watcher is already cancelled\n // (this isn't exactly needed, but makes tests easier to write)\n timeoutExecution.finish(watch::cancel);\n if (!result.isDone()) {\n result.completeExceptionally(timeoutExecution.hasTimedOut() ? timeoutException(description) : e);\n }\n return;\n }\n\n if (result.isDone()) {\n return;\n }\n\n originalResult.whenComplete((value, exception) -> {\n // if the execution timed out, this will be a noop\n //\n // this comes first, so that when the future is completed, the timeout watcher is already cancelled\n // (this isn't exactly needed, but makes tests easier to write)\n timeoutExecution.finish(watch::cancel);\n\n if (timeoutExecution.hasTimedOut()) {\n result.completeExceptionally(timeoutException(description));\n } else if (exception != null) {\n result.completeExceptionally(exception);\n } else {\n result.complete(value);\n }\n });\n });\n\n return result;\n }", "CompletableFuture<?> submit(Runnable request);", "public ChannelProgressivePromise setFailure(Throwable cause)\r\n/* 57: */ {\r\n/* 58: 89 */ super.setFailure(cause);\r\n/* 59: 90 */ return this;\r\n/* 60: */ }", "<T> CompletableFuture<T> submit(Callable<T> request);", "@NonBlocking\n void error(Throwable throwable);", "public void produceException(@NotNull Throwable t) {\n synchronized (LOCK) {\n // Look for a non-cancelled future\n while (myWaitingFutures.size() >= 1) {\n SettableFuture<V> future = myWaitingFutures.remove();\n if (future.setException(t)) {\n return;\n }\n }\n\n // If none found, enqueue the value for later\n myValues.add(new Entry(t));\n }\n }", "CompletableFuture<Void> next();", "public void completeExceptionally(Throwable exception) {\n messageFuture.completeExceptionally(exception);\n futures.remove(this.correlationId);\n }", "public static <T> ReadOnlyCompletableFuture<T> readOnly(CompletableFuture<T> f) {\n ReadOnlyCompletableFuture<T> ret = new ReadOnlyCompletableFuture<>();\n f.whenComplete((t, th) -> {\n if (th != null) {\n ret.setFailure(th);\n } else {\n ret.setValue(t);\n }\n });\n return ret;\n }", "public Future maybeFail(final int reason, final String description) {\n\t\tif(_completed) {\n\t\t\tif(logMINOR) Logger.minor(this, \"maybeFail() already completed on \"+this);\n\t\t\treturn nullFuture;\n\t\t}\n\t\t_failed = true;\n\t\tif(!_receivedSendCompletion) {\n\t\t\t// Don't actually timeout until after we have an acknowledgement of the transfer cancel.\n\t\t\t// This is important for keeping track of how many transfers are actually running, which will be important for load management later on.\n\t\t\t// The caller will immediately call prepareSendAbort() then innerSendAborted().\n\t\t\tif(logMINOR) Logger.minor(this, \"maybeFail() waiting for acknowledgement on \"+this);\n\t\t\tif(_sentSendAborted) {\n\t\t\t\tscheduleTimeoutAfterBlockSends();\n\t\t\t\treturn nullFuture; // Do nothing, waiting for timeout.\n\t\t\t} else {\n\t\t\t\t_sentSendAborted = true;\n\t\t\t\t// Send the aborted, then wait.\n\t\t\t\treturn new Future() {\n\n\t\t\t\t\tpublic void execute() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerSendAborted(reason, description);\n\t\t\t\t\t\t\tscheduleTimeoutAfterBlockSends();\n\t\t\t\t\t\t} catch (NotConnectedException e) {\n\t\t\t\t\t\t\tonDisconnect();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tif(blockSendsPending != 0) {\n\t\t\tif(logMINOR) Logger.minor(this, \"maybeFail() waiting for \"+blockSendsPending+\" block sends on \"+this);\n\t\t\tif(_sentSendAborted)\n\t\t\t\treturn nullFuture; // Wait for blockSendsPending to reach 0\n\t\t\telse {\n\t\t\t\t_sentSendAborted = true;\n\t\t\t\t// They have sent us a cancel, but we still need to send them an ack or they will do a fatal timeout.\n\t\t\t\treturn new Future() {\n\n\t\t\t\t\tpublic void execute() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerSendAborted(reason, description);\n\t\t\t\t\t\t} catch (NotConnectedException e) {\n\t\t\t\t\t\t\tonDisconnect();\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}\n\t\t}\n\t\tif(logMINOR) Logger.minor(this, \"maybeFail() completing on \"+this);\n\t\t_completed = true;\n\t\tdecRunningBlockTransmits();\n\t\tfinal boolean sendAborted = _sentSendAborted;\n\t\t_sentSendAborted = true;\n\t\treturn new Future() {\n\n\t\t\tpublic void execute() {\n\t\t\t\tif(!sendAborted) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinnerSendAborted(reason, description);\n\t\t\t\t\t} catch (NotConnectedException e) {\n\t\t\t\t\t\tonDisconnect();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcallCallback(false);\n\t\t\t}\n\t\t\t\n\t\t};\n\t}", "public Throwable cause()\r\n/* 88: */ {\r\n/* 89:124 */ Object result = this.result;\r\n/* 90:125 */ if ((result instanceof CauseHolder)) {\r\n/* 91:126 */ return ((CauseHolder)result).cause;\r\n/* 92: */ }\r\n/* 93:128 */ return null;\r\n/* 94: */ }", "Throwable getCloseException();", "@Test\n public void testError() {\n FutureRecordMetadata future = new FutureRecordMetadata(asyncRequest(baseOffset, new CorruptRecordException(), 50L),\n relOffset, RecordBatch.NO_TIMESTAMP, 0, 0, Time.SYSTEM);\n assertThrows(ExecutionException.class, future::get);\n }", "@Override\n public void onError(Throwable e)\n {\n if (e instanceof RestException)\n {\n promise.done(((RestException) e).getResponse());\n }\n else\n {\n promise.fail(e);\n }\n }", "CompletableFuture<Void> cancel();", "public Throwable mapException(Throwable exception) {\n\n boolean mapped = true;\n Throwable mappedException = null;\n\n if ( exception instanceof java.rmi.NoSuchObjectException\n || exception instanceof NoSuchObjectLocalException )\n {\n mappedException = new OBJECT_NOT_EXIST(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if ( exception instanceof java.rmi.AccessException\n || exception instanceof javax.ejb.AccessLocalException )\n {\n mappedException = new NO_PERMISSION(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if ( exception instanceof java.rmi.MarshalException ) {\n mappedException = new MARSHAL(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if ( exception instanceof javax.transaction.TransactionRolledbackException\n || exception instanceof TransactionRolledbackLocalException )\n {\n mappedException = new TRANSACTION_ROLLEDBACK(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if ( exception instanceof javax.transaction.TransactionRequiredException\n || exception instanceof TransactionRequiredLocalException )\n {\n mappedException = new TRANSACTION_REQUIRED(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if ( exception instanceof javax.transaction.InvalidTransactionException ) {\n mappedException = new INVALID_TRANSACTION(MAPEXCEPTION_CODE,\n CompletionStatus.COMPLETED_MAYBE);\n } else if (exception instanceof ConcurrentAccessException) {\n ConcurrentAccessException ex = (ConcurrentAccessException) exception;\n exception = new ParallelAccessException(ex.getMessage(), ex);\n mapped = false;\n } else if ( exception instanceof EJBException ) {\n EJBException ex = (EJBException) exception;\n Throwable cause = ex.getCausedByException();\n if(cause == null) {\n cause = ex.getCause();\n }\n exception = new RemoteException(ex.getMessage(), cause);\n mapped = false;\n } else {\n mapped = false;\n }\n \n return (mapped) \n ? mappedException.initCause(exception)\n : exception;\n }", "private Function<RejectedExecutionException, Throwable> handleRejectedExecution() {\n return ex -> {\n log.error(\"The executor cannot handle this request\");\n return new OutOfEmployeeException(ex);\n };\n }", "@Override // io.reactivex.functions.Consumer\n public void accept(Throwable th) {\n }", "public boolean onExceptionalCompletion(Throwable paramThrowable, CountedCompleter<?> paramCountedCompleter)\n/* */ {\n/* 489 */ return true;\n/* */ }", "void doCatch(Throwable t) throws Throwable;", "default void accept(CompletableFuture<? extends T> future) {\n future.handle((value, failure) -> {\n if (failure == null) {\n success(value);\n } else {\n error(failure);\n }\n\n return null;\n });\n }", "public ExceptionValue(Throwable e) {\n this.set(e);\n }", "CompletableFuture<WebClientServiceResponse> whenComplete();", "public ChannelFuture method_4089(Throwable var1) {\n return null;\n }", "@Override\n public Throwable getCause() {\n return ex;\n }", "public static <A> Try<A> failure(Exception ex) {\n return new Try<>(ex, null, true);\n }", "public IOExceptionWithCause(Throwable cause) {\n/* 63 */ super(cause);\n/* */ }", "public Promise<V> await()\r\n/* 207: */ throws InterruptedException\r\n/* 208: */ {\r\n/* 209:242 */ if (isDone()) {\r\n/* 210:243 */ return this;\r\n/* 211: */ }\r\n/* 212:246 */ if (Thread.interrupted()) {\r\n/* 213:247 */ throw new InterruptedException(toString());\r\n/* 214: */ }\r\n/* 215:250 */ synchronized (this)\r\n/* 216: */ {\r\n/* 217:251 */ while (!isDone())\r\n/* 218: */ {\r\n/* 219:252 */ checkDeadLock();\r\n/* 220:253 */ incWaiters();\r\n/* 221: */ try\r\n/* 222: */ {\r\n/* 223:255 */ wait();\r\n/* 224: */ }\r\n/* 225: */ finally\r\n/* 226: */ {\r\n/* 227:257 */ decWaiters();\r\n/* 228: */ }\r\n/* 229: */ }\r\n/* 230: */ }\r\n/* 231:261 */ return this;\r\n/* 232: */ }", "static CompletableFuture<String> callAsync(Api2 ignored) {\n return CompletableFuture.supplyAsync(() -> {\n System.out.println(\"supplyAsync thread =:\" + Thread.currentThread().getName());\n throw new RuntimeException(\"oops\");\n });\n }", "void exceptionCaught(Throwable cause) throws Exception;", "void exceptionCaught(Throwable cause) throws Exception;", "public Throwable getCause(){\n\t\treturn status.getException();\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic T extractException(Throwable e) {\n\t\tT exception = null;\n\t\tif (depthFirst) {\n\t\t\tif (e instanceof InvocationTargetException) {\n\t\t\t\texception = extractException(((InvocationTargetException) e).getTargetException());\n\t\t\t} else if (e.getCause() != null) {\n\t\t\t\texception = extractException(e.getCause());\n\t\t\t} else if (klass.isInstance(e)) {\n\t\t\t\texception = (T) e;\n\t\t\t}\n\t\t} else {\n\t\t\tif (e != null) {\n\t\t\t\tif (klass.isInstance(e)) {\n\t\t\t\t\texception = (T) e;\n\t\t\t\t} else if (e instanceof InvocationTargetException) {\n\t\t\t\t\texception = extractException(((InvocationTargetException) e).getTargetException());//whereas wrapped exceptions can generally be retrieved via ex.getCause(), InvocationTargetException stores the exception as a targetException, so you need to retrieve it with getTargetException()\n\t\t\t\t} else {\n\t\t\t\t\t//wrapped exception hell\n\t\t\t\t\texception = extractException(e.getCause());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn exception;\n\t}", "static <S, F> ConsumableFunction<Result<S, F>> onFailureDo(Consumer<F> consumer) {\n return r -> r.then(onFailure(peek(consumer)));\n }", "void taskFinished(Throwable t);", "@Override\r\n protected SQLException translateException(Exception e) {\r\n if (e.getCause() instanceof BitronixRuntimeException) {\r\n BitronixRuntimeException cause = (BitronixRuntimeException) e.getCause();\r\n if (cause.getMessage() != null &&\r\n Pattern.matches(ACQUIRE_TIMEOUT_MESSAGE, cause.getMessage())) {\r\n return new AcquireTimeoutException(e);\r\n }\r\n } else if (e instanceof SQLException) {\r\n return (SQLException) e;\r\n }\r\n return new SQLException(e);\r\n }", "@jsweet.lang.Name(\"catch\")\r\n native public <U> Promise<U> catchOnRejectedThenableFunction(java.util.function.Function<Object,Thenable<U>> onRejected);", "Future_<V> take() throws InterruptedException;", "@Test\n @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class)\n public void testFailure() throws Exception {\n ExecutorService executorService = Executors.newFixedThreadPool(1);\n try {\n Future<?> future =\n executorService.submit(\n () -> {\n try {\n submitQuery(false, 0);\n } catch (SQLException e) {\n throw new RuntimeSQLException(\"SQLException\", e);\n } catch (InterruptedException e) {\n throw new IllegalStateException(\"task interrupted\", e);\n }\n });\n executorService.shutdown();\n future.get();\n fail(\"should fail and raise an exception\");\n } catch (ExecutionException ex) {\n Throwable rootCause = ex.getCause();\n assertThat(\"Runtime Exception\", rootCause, instanceOf(RuntimeSQLException.class));\n\n rootCause = rootCause.getCause();\n\n assertThat(\"Root cause class\", rootCause, instanceOf(SnowflakeSQLException.class));\n assertThat(\"Error code\", ((SnowflakeSQLException) rootCause).getErrorCode(), equalTo(390114));\n }\n }", "@Test\n\tpublic void exception() {\n\t\t// ReactiveValue wraps all exceptions in CompletionException.\n\t\tCompletionException ce = assertThrows(CompletionException.class, () -> p.pin(\"key\", () -> {\n\t\t\tthrow new ArithmeticException();\n\t\t}));\n\t\tassertThat(ce.getCause(), instanceOf(ArithmeticException.class));\n\t\tassertThat(p.keys(), contains(\"key\"));\n\t\t// If we try to throw another exception second time around, we will still get the first one.\n\t\tce = assertThrows(CompletionException.class, () -> p.pin(\"key\", () -> {\n\t\t\tthrow new IllegalStateException();\n\t\t}));\n\t\tassertThat(ce.getCause(), instanceOf(ArithmeticException.class));\n\t}", "boolean processFailure(Throwable t);", "@Override\n public void operationComplete(ChannelFuture future) throws Exception {\n if (!future.isSuccess()) {\n Throwable cause = future.cause();\n // Do something\n }\n }", "private void failWithExceptionOnExecutor(CronetException e) {\n mException = e;\n // Do not call into mCallback if request is complete.\n synchronized (mNativeStreamLock) {\n if (isDoneLocked()) {\n return;\n }\n mReadState = mWriteState = State.ERROR;\n destroyNativeStreamLocked(false);\n }\n try {\n mCallback.onFailed(this, mResponseInfo, e);\n } catch (Exception failException) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception notifying of failed request\",\n failException);\n }\n mInflightDoneCallbackCount.decrement();\n }", "public TechnicalException(Throwable cause) {\n this(EXPRESSION_PROCESS_ERROR, null, cause);\n }", "public OperationException(Throwable cause) {\n super(cause);\n }", "public Throwable getCause()\r\n/* 17: */ {\r\n/* 18:18 */ return this.a.b();\r\n/* 19: */ }", "public Throwable transform(Throwable throwable) {\n @SuppressWarnings(\"unchecked\")\n List<Throwable> throwableList = ExceptionUtils.getThrowableList(throwable);\n if (throwableList.size() < 1)\n return throwable;\n\n Throwable root = null;\n\n if (throwableList.size() == 1) {\n root = throwable;\n } else {\n root = ExceptionUtils.getRootCause(throwable);\n }\n\n if (root instanceof DeploymentException || root instanceof DefinitionException) {\n return root;\n }\n if (isFragmentFound(DEPLOYMENT_EXCEPTION_FRAGMENTS, root)) {\n return new DeploymentException(root);\n }\n if (isFragmentFound(DEFINITION_EXCEPTION_FRAGMENTS, root)) {\n return new DefinitionException(root);\n }\n return throwable;\n }", "@FunctionalInterface\npublic interface ThrowableFunction3<T1, T2, T3, TResult> {\n\n TResult apply(T1 item1, T2 item2, T3 item3) throws Throwable;\n}", "public TaskAbortException(String s, Throwable t) {\n\t\tthis(s+\" : \"+t.getMessage(), t, true, false);\n \t}", "default void orElseThrow(Throwable t) throws Throwable {\n if (isFailure()) throw t;\n }", "private static Throwable reconstitute(Throwable t) {\n Throwable result = null;\n try(ByteArrayOutputStream bout = new ByteArrayOutputStream();\n ObjectOutputStream out = new ObjectOutputStream(bout)) {\n out.writeObject(t);\n out.flush();\n try(ByteArrayInputStream bin =\n new ByteArrayInputStream(bout.toByteArray());\n ObjectInputStream in = new ObjectInputStream(bin)) {\n result = (Throwable) in.readObject();\n }\n } catch(IOException | ClassNotFoundException e) {\n throw new RuntimeException(e);\n }\n return result;\n }", "public Throwable getCause () {\n\t\treturn ex;\n\t}", "public JiraServiceException(Throwable cause) {\r\n super(cause);\r\n }", "@Override\n\t\tpublic Throwable getRootCause(Throwable throwable) {\n\t\t\tAssert.notNull(throwable, \"Throwable must not be null\");\n\t\t\twhile (EXCEPTIONS_TO_UNWRAP.contains(throwable.getClass())) {\n\t\t\t\tthrowable = throwable.getCause();\n\t\t\t}\n\t\t\treturn super.getRootCause(throwable);\n\t\t}", "private void rethrowIfFailed()\r\n/* 198: */ {\r\n/* 199:232 */ Throwable cause = cause();\r\n/* 200:233 */ if (cause == null) {\r\n/* 201:234 */ return;\r\n/* 202: */ }\r\n/* 203:237 */ PlatformDependent.throwException(cause);\r\n/* 204: */ }", "public static Throwable getRootCause(Throwable ex) {\n return ExceptionUtils.getRootCause(ex);\n }", "@jsweet.lang.Name(\"catch\")\r\n native public <U> Promise<U> catchOnRejectedFunction(java.util.function.Function<Object,U> onRejected);", "protected static void extractRetryableException(ServiceFailure sf) throws RetryableException {\n Throwable cause = null;\n if (sf != null && sf.getCause() != null) {\n // all of the client-server communication exceptions are wrapped by\n // ClientSideException by libclient_java\n if (sf.getCause() instanceof ClientSideException) {\n if (sf.getCause().getCause() instanceof org.apache.http.conn.ConnectTimeoutException) {\n throw new RetryableException(\"retryable exception discovered (ConnectTimeout)\", sf.getCause());\n }\n if (sf.getCause().getCause() instanceof java.net.SocketTimeoutException) {\n throw new RetryableException(\"retryable exception discovered (SocketTimeout)\", sf.getCause());\n }\n// if (sf.getCause().getCause() instanceof java.net.SocketTimeoutException) {\n// throw new RetryableException(\"retryable exception discovered\", sf.getCause());\n// }\n }\n }\n }", "public SMSLibException(Throwable originalE)\n/* 17: */ {\n/* 18:45 */ this.originalE = originalE;\n/* 19: */ }", "@Test\n public void shouldReturnTotalNumberOfRequestsAs5ForFailAsync() {\n AsyncHelloWorldService helloWorldService = mock(AsyncHelloWorldService.class);\n ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();\n\n CompletableFuture<String> failedFuture = new CompletableFuture<>();\n failedFuture.completeExceptionally(new HelloWorldException());\n given(helloWorldService.returnHelloWorld()).willReturn(failedFuture);\n\n Retry retry = Retry.of(\"metrics\", RetryConfig.<String>custom()\n .retryExceptions(Exception.class)\n .maxAttempts(5)\n .failAfterMaxAttempts(true)\n .build());\n\n Supplier<CompletionStage<String>> supplier = Retry.decorateCompletionStage(retry, scheduler, helloWorldService::returnHelloWorld);\n\n assertThat(supplier.get())\n .failsWithin(5, TimeUnit.SECONDS)\n .withThrowableOfType(ExecutionException.class)\n .havingCause();\n\n assertThat(retry.getMetrics().getNumberOfTotalCalls()).isEqualTo(5);\n }", "String getCauseException();", "public static <T, R, E extends Exception> Function<T, R> rethrowFromFunction(FunctionWithExceptions<T, R, E> function) throws E {\n return t -> {\n try {\n return function.apply(t);\n } catch (Exception exception) {\n throwActualException(exception);\n return null;\n }\n };\n }", "public <T> CompletableFuture<T> optimizeSyncConsumerThread(CompletableFuture<T> future) {\n if (sync && !InvokerUtils.isInEventLoop()) {\n return AsyncUtils.tryCatchSupplier(() -> InvokerUtils.toSync(future, getWaitTime()));\n }\n\n return future;\n }", "public static void main(String[] args) throws InterruptedException, ExecutionException {\n CompletableFuture<String> future = CompletableFuture.supplyAsync(new Supplier<String>() {\n @Override\n public String get() {\n try {\n TimeUnit.SECONDS.sleep(1);\n } catch (InterruptedException e) {\n throw new IllegalStateException(e);\n }\n return \"Result of the asynchronous computation\";\n }\n });\n\n// Block and get the result of the Future\n String result = future.get();\n System.out.println(result);\n }", "public static <A> CompletableFuture<A> retryWithBackoff(final int maxRetries,\n final Supplier<CompletableFuture<A>> fn,\n final Predicate<Throwable> retryableException)\n {\n CompletableFuture<A> future = new CompletableFuture<>();\n retryWithBackoff0(future, 0, maxRetries, fn, retryableException, retryCount -> computeSleepTimeMillis(retryCount, 50, 1000));\n return future;\n }", "@Override\n\tpublic <T extends Throwable> T throwing(T t) {\n\t\treturn null;\n\t}", "static final CancellationException m19265a(String str, Throwable th) {\n CancellationException cancellationException = new CancellationException(str);\n cancellationException.initCause(th);\n return cancellationException;\n }", "@FunctionalInterface\npublic interface ThrowingConsumer<T, E extends Exception> {\n\n void accept(T t) throws E;\n\n}", "public EmailException(Throwable rootCause)\n {\n super(rootCause);\n }", "void mo1031a(Throwable th);", "public CsvException(Throwable cause)\r\n {\r\n super(cause);\r\n }", "public void checkException() {\n/* 642 */ checkException(voidPromise());\n/* */ }", "<T> CompletableFuture<T> submit(Integer key, Callable<T> request);", "public FaultException raise(Throwable e);", "public Throwable getCause()\r\n {\r\n return m_cause;\r\n }", "@NonNull\n @Override\n public <X extends Throwable> ResultT getResult(@NonNull Class<X> exceptionType) throws X {\n if (getFinalResult() == null) {\n throw new IllegalStateException();\n }\n if (exceptionType.isInstance(getFinalResult().getError())) {\n throw exceptionType.cast(getFinalResult().getError());\n }\n Throwable t = getFinalResult().getError();\n if (t != null) {\n throw new RuntimeExecutionException(t);\n }\n return getFinalResult();\n }", "@Nonnull\r\n\tpublic static <T> Observable<T> throwException(\r\n\t\t\t@Nonnull final Throwable ex) {\r\n\t\treturn throwException(ex, scheduler());\r\n\t}", "public final void afterRanInterruptibly(V v, Throwable th) {\n if (th == null) {\n TrustedListenableFutureTask.this.set(v);\n } else {\n TrustedListenableFutureTask.this.setException(th);\n }\n }", "@Test\n public void testTake() {\n \tBoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n try {\n Callable<String> c = new StringTask();\n ecs.submit(c);\n Future<String> f = ecs.take();\n Assert.assertTrue(f.isDone());\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "@Test\n public void shouldReturnTotalNumberOfRequestsAs3ForFailAsync() {\n AsyncHelloWorldService helloWorldService = mock(AsyncHelloWorldService.class);\n ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();\n\n CompletableFuture<String> failedFuture = new CompletableFuture<>();\n failedFuture.completeExceptionally(new HelloWorldException());\n given(helloWorldService.returnHelloWorld())\n .willReturn(failedFuture)\n .willReturn(completedFuture(\"Success\"));\n\n Retry retry = Retry.of(\"metrics\", RetryConfig.<String>custom()\n .retryExceptions(Exception.class)\n .maxAttempts(5)\n .failAfterMaxAttempts(true)\n .build());\n\n Supplier<CompletionStage<String>> supplier = Retry.decorateCompletionStage(retry, scheduler, helloWorldService::returnHelloWorld);\n\n String result = awaitResult(supplier.get(), 5);\n\n assertThat(retry.getMetrics().getNumberOfTotalCalls()).isEqualTo(2);\n assertThat(result).isEqualTo(\"Success\");\n }", "public Throwable getCause()\n\t{\n\t\treturn m_Cause;\n\t}", "public interface Thrower<A, E extends Throwable> {\r\n\r\n\t/**\r\n\t * Unwrap A from its monadic form\r\n\t * @return\r\n\t * @throws E\r\n\t */\r\n\tpublic A extract() throws E;\r\n\r\n}", "public Throwable getOriginalException()\n/* 28: */ {\n/* 29:56 */ return this.originalE;\n/* 30: */ }" ]
[ "0.69194937", "0.6428132", "0.6157814", "0.61288285", "0.5938671", "0.5746863", "0.5671078", "0.5153394", "0.51190144", "0.5118353", "0.5017514", "0.50059617", "0.4966227", "0.49154323", "0.490704", "0.49007422", "0.48900533", "0.48714316", "0.48170602", "0.4738879", "0.471358", "0.46392933", "0.46306506", "0.46297124", "0.46144256", "0.46108645", "0.45623124", "0.45537314", "0.45313334", "0.45280555", "0.45204175", "0.4514314", "0.4510547", "0.45070574", "0.45062354", "0.44947723", "0.449454", "0.44899854", "0.44824484", "0.4449528", "0.4438729", "0.4420977", "0.44184476", "0.44073334", "0.4406248", "0.4321575", "0.43184668", "0.43184668", "0.43102255", "0.43009055", "0.43000078", "0.42723817", "0.42703173", "0.42683336", "0.4266403", "0.42440093", "0.42286256", "0.42274657", "0.42263308", "0.42099956", "0.42081562", "0.42016923", "0.42010528", "0.4198079", "0.41933736", "0.41775694", "0.417619", "0.41623655", "0.4154991", "0.4149306", "0.4149277", "0.41462368", "0.4143603", "0.4134371", "0.41322422", "0.4125943", "0.41132152", "0.41050014", "0.41042566", "0.40984055", "0.40904075", "0.40888235", "0.40887603", "0.4088415", "0.40829617", "0.40824902", "0.40813202", "0.40781465", "0.4077246", "0.40663624", "0.4062906", "0.40624136", "0.4055278", "0.40542027", "0.40530124", "0.40528706", "0.4050456", "0.40467104", "0.40361091", "0.4029968" ]
0.6852078
1
Constructor for objects of class Title.
public Title() { // Create a new world with 600x400 cells with a cell size of 1x1 pixels. super(PlatformWorld.sWidth, PlatformWorld.sHeight, 1); addObject(new TitleController(), 0, 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Title(String title)\r\n {\r\n this();\r\n if( title != null )\r\n add(title);\r\n }", "public Title()\r\n {\r\n startTag=\"TITLE\";\r\n endTag=\"/TITLE\"; \r\n }", "public Title(final String text) {\n this(text, null, null, TextDirection.UNSPECIFIED);\n }", "public Meny(String title){\n \tthis.title = title;\n }", "protected GuiTestObject title() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"title\"));\n\t}", "public Title() {\n super();\n initComponents();\n }", "public Book(final String title) {\n this.title = title;\n }", "@Override\n\tpublic Title makeTitle(Map<String, String> attributes, String data) {\n\t\treturn new Title( attributes, data );\n\t}", "public DateTitle() {\n this(DateFormat.LONG);\n }", "public void prepareTitle()\n {\n DuelTitle title = new DuelTitle();\n addObject(title, 539, 186);\n }", "TitleType createTitleType();", "TITLE createTITLE();", "public Movie(String title) {\n\t\tthis.title = title;\n\t\tthis.left = this.right = null;\n\t}", "public TitleLabel(String title) {\n\t\tsuper(title);\n\t\tthis.setOpaque(false);\n\t\tthis.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tthis.setVerticalAlignment(SwingConstants.CENTER);\n\t\tthis.setMinimumSize(new Dimension(IConfigGUI.TITLE_WIDTH, IConfigGUI.TITLE_HEIGHT));\n\t\tthis.setMaximumSize(new Dimension(IConfigGUI.TITLE_WIDTH, IConfigGUI.TITLE_HEIGHT));\n\t\tthis.setPreferredSize(new Dimension(IConfigGUI.TITLE_WIDTH, IConfigGUI.TITLE_HEIGHT));\n\t\tthis.setBackground(IConfigGUI.TITLE_BACKGROUND_COLOR);\n\t\tthis.setBorder(new MatteBorder(0, 0, 3, 0, IConfigGUI.BLACK_BORDER_COLOR));\n\t\tthis.setFont(new Font(IConfigGUI.FONT_LOBSTER, 1, IConfigGUI.HUGE_FONT_SIZE * 2));\n\t\t\n\t\tint nbPictures = 16;\n\t\tint wp = (int) (Math.random() * nbPictures) + 1;\n\t\t\n\t\tthis.setForeground(IConfigGUI.TITLE_COLORS[wp - 1]);\n\t\tthis.setIcon(new ImageIcon(\"resources/wallpaper/wp\" + wp + \"_cropped_resized.jpg\"));\n\t\tthis.setIconTextGap(- IConfigGUI.TITLE_WIDTH * 5 / 6);\n\t}", "public TitleIconItem(){}", "public void setTitle(Title title) {\r\n this.title = title;\r\n }", "public Header(String t) {\n this.title=t;\n }", "public void setTitle(java.lang.Object title) {\n this.title = title;\n }", "@Override\n public void title_()\n {\n }", "public Window(String title) {\n this.title = title;\n }", "public Song(String artist, String title) { \r\n\t\tthis.artist = artist;\r\n\t\tthis.title = title;\r\n\t\tthis.minutes = 0;\r\n\t\tthis.seconds = 0;\r\n\t}", "public Title(final String text, final String id) {\n this(text, id, null, TextDirection.UNSPECIFIED);\n }", "public SOASearchPage(String title) {\r\n\t\tsuper(title);\r\n\t}", "public Attribute(String title) {\n \t\tthis.title = title;\n \t\tconflictMagnitude = 0;\n \t}", "public DreamJob (String title) {\r\n System.out.println(\"Message from: DreamJob(String title)\");\r\n this.title = title;\r\n\t}", "WithCreate withTitle(String title);", "public void setTitle(Title Title) {\n\t\ttitle = Title;\n\t}", "protected abstract String title ();", "public void setTitle(String title) { this.title = title; }", "public Sequence(String title) { this(title, new Vector<Step>(), \"\"); }", "@Override\r\n\tpublic void getTitle(String title) {\n\t\t\r\n\t}", "@Override\n\tpublic Head makeHead(Map<String, String> attributes, Title titleObj) {\n\t\treturn new Head( attributes, titleObj );\n\t}", "protected GuiTestObject title(TestObject anchor, long flags) \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"title\"), anchor, flags);\n\t}", "@Override\r\n public void create() {\r\n super.create();\r\n setTitle(title);\r\n }", "public Chapter(String title) {\n setTitle(this, title);\n }", "public Song(String title, String artist) {\r\n this.title = title;\r\n this.artist = artist;\r\n }", "public Topic( String title )\n {\n activation = 0;\n label = title;\n associations = new String[100];\n numAssocs = 0;\n response1 = \"\";\n response2 = \"\";\n response3 = \"\";\n probability1 = -1;\n probability2 = -1;\n probability3 = -1;\n generator = new Random();\n }", "public Text createTitle() {\n\t\tText title = new Text(\"Selecteer Gasten\");\n\t\ttitle.getStyleClass().add(\"h1\");\n\t\ttitle.setFont(Font.font(22));\n\t\treturn title;\t\t\n\t}", "public Title getTitle() {\r\n return title;\r\n }", "@Override\r\n\t\tpublic void setTitle(String title)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public Problem title(String title) {\n this.title = title;\n return this;\n }", "protected void setTitle(String title) {\n this.title = title;\n }", "public TitlePanel() {\n\t\tinitComponents();\n\t}", "private Text createTitle() {\n\t\tText title = new Text(\"S p a c e Y\");\n\t\ttitle.setFont(new Font(\"Minecraftia\", 80));\n\t\ttitle.setStroke(Color.YELLOW);\n\t\ttitle.setStrokeWidth(2);\n\t\ttitle.setStrokeType(StrokeType.OUTSIDE);\n\t\ttitle.getTransforms().add(new Rotate(-50, 300, 200, 20, Rotate.X_AXIS));\n\t\ttitle.setX(canvas.getWidth() / 2);\n\t\ttitle.setY(canvas.getHeight() / 2);\n\t\treturn title;\n\t}", "@Override\n\tpublic void setTitle(String title) {\n\t\t\n\t}", "public RegionCreator title(String title)\n\t{\n\t\tthis.title = title;\n\t\treturn this;\n\t}", "public EpisodesBuilder title(String... titles) {\n this.field(FIELD_TITLE, titles);\n return this;\n }", "public Employee(String firstName, String lastName, String username, String password, Date dateCreated, String title) {\n super(firstName,lastName,username,password,null,dateCreated,true); \n this.title = title;\n }", "@Override\n public String toString() {\n return title;\n }", "public java.lang.Object getTitle() {\n return title;\n }", "public void setTitle(String title){\n this.title = title;\n }", "public ShowsBuilder title(String... titles) {\n this.field(FIELD_TITLE, titles);\n return this;\n }", "public StacLink title(String title) {\n this.title = title;\n return this;\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "@Override\r\n public String getTitle() {\n return title;\r\n }", "public void setTitle(String title) {\n\tthis.title = title;\n}", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public SeasonsBuilder title(String... titles) {\n this.field(FIELD_TITLE, titles);\n return this;\n }", "@Override\n \tpublic String toString() {\n \t\treturn title;\n \t}", "@Override\n public void title()\n {\n }", "public void setTitle(String title)\n {\n this.title = title;\n }", "public void setTitle(String title)\n {\n this.title = title;\n }", "public void setTitle(String title)\n {\n this.title = title;\n }", "public GPFrame(String title) {\r\n super(title); // call the constructor of the super class\r\n }", "public Publication(String title, int year)\n {\n // this is the constructor that iniates the variables \n name = title;\n yr = year;\n }", "@Override\r\n public String getTitle() {\r\n return title;\r\n }", "public String getTitle() { return this.title; }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(java.lang.String title)\n {\n this.title = title;\n }", "public String getTitle() { return title; }", "public void setTitle(String strTitle) { m_strTitle = strTitle; }", "public abstract String getTitle();", "public abstract String getTitle();", "public abstract String getTitle();", "public abstract String getTitle();", "public void setTitle(String title) {\r\n\tthis.title = title;\r\n }", "private void setTitle(java.lang.String title) {\n System.out.println(\"setting title \"+title);\n this.title = title;\n }" ]
[ "0.76947576", "0.7435208", "0.71526784", "0.70380175", "0.7033431", "0.69401264", "0.69067144", "0.68781877", "0.68770057", "0.68731964", "0.67322326", "0.6722322", "0.6688528", "0.6671267", "0.6669899", "0.66368765", "0.66327786", "0.66091377", "0.66079843", "0.65965194", "0.6586592", "0.6584588", "0.6578085", "0.6572948", "0.6549247", "0.6521947", "0.6521022", "0.6481225", "0.6480896", "0.64422816", "0.64391375", "0.6415043", "0.64119107", "0.64021456", "0.63926", "0.63920444", "0.63875824", "0.63770795", "0.6340964", "0.63369566", "0.6332229", "0.6331035", "0.63132834", "0.63116133", "0.62991947", "0.62961817", "0.62902844", "0.62883687", "0.6269254", "0.62667567", "0.6263311", "0.6260149", "0.6255669", "0.6253327", "0.6253327", "0.62455326", "0.6240818", "0.62394136", "0.62394136", "0.62394136", "0.62394136", "0.6235766", "0.6235766", "0.6232696", "0.6231246", "0.623109", "0.622982", "0.622982", "0.622982", "0.6213353", "0.62113553", "0.62043655", "0.62014204", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6187923", "0.6185303", "0.6182551", "0.6181148", "0.6180649", "0.6180649", "0.6180649", "0.6180649", "0.6178851", "0.61744374" ]
0.6654323
15
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.genealogy_id
@ApiModelProperty(value = "族谱ID") public Long getGenealogyId() { return genealogyId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGeneId();", "public String get_gene_id() {\n return m_gene_id;\n }", "public void setGenealogyId(Long genealogyId) {\n this.genealogyId = genealogyId;\n }", "public Long gethId() {\n return hId;\n }", "public StrColumn getGoId() {\n return delegate.getColumn(\"go_id\", DelegatingStrColumn::new);\n }", "@Override\n\tpublic long getId() {\n\t\treturn _phieugiahan.getId();\n\t}", "public Integer getId()\r\n\t\t{ return mapping.getId(); }", "long getEncounterId();", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "protected int GetID() {\n\t\treturn this.JunctionID;\n\t}", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "public int getId() {\n\t\treturn gfId;\n\t}", "public long getGenerationId()\n {\n return this.generationId;\n }", "public String getGearIdProperty() \n {\n return \"gear_id\";\n }", "public StrColumn getEntityId() {\n return delegate.getColumn(\"entity_id\", DelegatingStrColumn::new);\n }", "public int getVertexIdentity(Agent ag) {\n return getVertexFor(ag).identity().intValue();\n }", "public int getID() {\n return gID;\n }", "public java.lang.Integer getGrse_id();", "public long getEntityId();", "public Integer getgOtherId() {\n return gOtherId;\n }", "public int getID() {\n return graphConfig.getIndex();\n }", "public String getGeneName() {\n return geneName;\n }", "public final int getId() {\n\t\treturn this.accessor.getId();\n\t}", "@Override\n\tpublic long getPhieumuonId() {\n\t\treturn _phieugiahan.getPhieumuonId();\n\t}", "io.dstore.values.IntegerValue getTreeNodeId();", "public Number getGisLocationIdFk() {\r\n return (Number) getAttributeInternal(GISLOCATIONIDFK);\r\n }", "public int getGenreID(String gen) {\n this.connect();\n String sqlGenre = \"SELECT genreID FROM genres WHERE genres.genreType = ?\";\n int genID = 0;\n\n try (Connection conn = this.getConnection();\n PreparedStatement genre = conn.prepareStatement(sqlGenre)) {\n genre.setString(1,gen);\n ResultSet rsG = genre.executeQuery();\n //gets genreID\n if (rsG.next()) {\n genID = rsG.getInt(\"genreID\");\n } else {\n System.out.println(\"Genre not in database!\");\n genID = addGenre(gen);\n }\n } catch(SQLException e) {\n System.out.println(e.getMessage());\n }\n return genID;\n }", "java.lang.String getHotelId();", "public java.lang.String getGymId() {\n java.lang.Object ref = gymId_;\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 gymId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public Integer getId() {\n\t\treturn loanId; //changed LoAn_Id to loanId\r\n\t}", "private int getExperimentId(Comparable accession) {\n String query = \"SELECT experiment_id FROM pride_experiment WHERE accession= ?\";\n return jdbcTemplate.queryForInt(query, accession);\n }", "public String getGeneratedId() {\n return generatedId;\n }", "@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _phieugiahan.getPrimaryKey();\n\t}", "public java.lang.Long getTiag_id();", "public String getUniqueId(int row);", "public long getIdAnimal() {\r\n return idAnimal;\r\n }", "public StrColumn getRobotId() {\n return delegate.getColumn(\"robot_id\", DelegatingStrColumn::new);\n }", "public Integer getId() {\n\t\treturn getPatientId();\n\t}", "public int randomGene();", "@java.lang.Override\n public java.lang.String getGymId() {\n java.lang.Object ref = gymId_;\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 gymId_ = s;\n return s;\n }\n }", "public Integer getGid() {\r\n return gid;\r\n }", "@Override\n\tpublic String getGlCodeId(final String glCode, final Connection connection)\n\t{\n\t\tString glCodeId = \"null\";\n\t\ttry {\n\t\t\tfinal String query = \"select id from chartofaccounts where glCode like ?\";\n\t\t\tif (LOGGER.isInfoEnabled())\n\t\t\t\tLOGGER.info(\" query \" + query);\n\t\t\tQuery pst = persistenceService.getSession().createSQLQuery(query);\n\t\t\tpst.setString(0, glCode);\n\t\t\tList<Object[]> rset = pst.list();\n\t\t\tfor (final Object[] element : rset) {\n\t\t\t\tglCodeId = element[0].toString();\n\t\t\t\tif (LOGGER.isDebugEnabled())\n\t\t\t\t\tLOGGER.debug(\" glCodeId \" + glCodeId);\n\t\t\t}\n\t\t\tif (rset == null || rset.size() == 0)\n\t\t\t\tthrow new NullPointerException(\"id not found\");\n\t\t} catch (final HibernateException e) {\n\t\t\tLOGGER.error(\" id not found \" + e.toString(), e);\n\t\t\tthrow new HibernateException(e.toString());\n\t\t}\n\t\treturn glCodeId;\n\t}", "public String getGeneName(int row);", "protected Gene getGene(int innovation) {\n\t\treturn genes.get(innovation);\n\t}", "public long getID() throws RelationException;", "public java.lang.Integer getMetaId();", "public int getProteinGroupId() {\r\n return proteinGroupId;\r\n }", "public Integer getGid() {\n return gid;\n }", "public int getAgentID(int agent_id) {\n int id = 0;\n try {\n checkAgentID.setInt(1, agent_id);\n ResultSet resultset = checkAgentID.executeQuery();\n while (resultset.next()) {\n id = resultset.getInt(\"agent_id\");\n System.out.println(\"Agent ID: \" + id);\n }\n resultset.close();\n }\n catch (SQLException exception) {\n System.out.println(\"agent ID Invalid! No Agent Exists With That ID.\"); \n }\n return id;\n }", "public Long getId()\n\t{\n\t\treturn (Long) this.getKeyValue(\"id\");\n\n\t}", "@Query(value = \"select last_insert_id() from orden limit 1;\",nativeQuery = true)\n\tpublic Integer getLastId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "public int getAgencyId() {\n return agencyId;\n }", "@Override\n\tpublic int getIdNguoiDong() {\n\t\treturn _keHoachKiemDemNuoc.getIdNguoiDong();\n\t}", "Integer getId();", "Integer getId();", "Integer getId();", "String getIdNumber();", "String getIdentityId();", "String getValueId();", "public long getId();", "public long getId();", "public long getId();", "public long getId();", "public long getId();", "public long getId();", "public Long getPersonaId();", "Integer getID();", "Integer getID();", "public int getId() {\n return parameter.getId();\n }", "java.lang.String getAoisId();", "Long getDbId();", "public int getId() {\n return oid ;\n }", "String getChildId();", "public Number getID();", "public long getEmployeeId();", "public Integer getTgId() {\n return tgId;\n }", "public static int getGenerationId(Biome biomeBase)\n {\n if (biomeBase instanceof TXBiome)\n {\n return ((TXBiome) biomeBase).generationId;\n }\n return Biome.getIdForBiome(biomeBase);\n }", "public long getPersonId();", "int getLogId();", "java.lang.String getID();", "public String getCellIdProperty() {\r\n return getAttributeAsString(\"cellIdProperty\");\r\n }" ]
[ "0.7185918", "0.6694901", "0.6490846", "0.5979952", "0.58803356", "0.58037955", "0.5736441", "0.5576184", "0.5549942", "0.55490893", "0.55324215", "0.55037975", "0.53802925", "0.5364948", "0.534878", "0.5339645", "0.530378", "0.5278927", "0.52746147", "0.5258357", "0.5222314", "0.5214258", "0.5212313", "0.5196276", "0.5181572", "0.5167431", "0.5136584", "0.5136462", "0.51324207", "0.5128966", "0.5111127", "0.51105094", "0.50922966", "0.50828433", "0.5079703", "0.50768274", "0.50741947", "0.5073745", "0.50641805", "0.505891", "0.50576943", "0.5055197", "0.5054505", "0.50481826", "0.5037854", "0.5033711", "0.50324094", "0.5023698", "0.50177926", "0.50172824", "0.500032", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49925625", "0.49820617", "0.49787143", "0.49699", "0.49699", "0.49699", "0.49640137", "0.49631876", "0.49612036", "0.4961041", "0.4961041", "0.4961041", "0.4961041", "0.4961041", "0.4961041", "0.49549744", "0.49475303", "0.49475303", "0.4946579", "0.49422854", "0.49391606", "0.49380216", "0.49375615", "0.49346387", "0.493192", "0.49286982", "0.4915737", "0.49149245", "0.49089155", "0.49069726", "0.4902907" ]
0.6819529
1
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.genealogy_id
public void setGenealogyId(Long genealogyId) { this.genealogyId = genealogyId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ApiModelProperty(value = \"族谱ID\")\n public Long getGenealogyId() {\n return genealogyId;\n }", "int getGeneId();", "public String get_gene_id() {\n return m_gene_id;\n }", "@Override\n\tpublic void setId(long id) {\n\t\t_phieugiahan.setId(id);\n\t}", "public void sethId(Long hId) {\n this.hId = hId;\n }", "public void setGenealogyName(String genealogyName) {\n this.genealogyName = genealogyName == null ? null : genealogyName.trim();\n }", "public void setAnimalId(java.lang.String param) {\n localAnimalIdTracker = true;\n\n this.localAnimalId = param;\n }", "public void setSelectedGene(String geneID)\n\t\t{\n\t\tselectedGene=geneID;\n\t\tSystem.out.println(selectedGene);\n\t\trepaint();\n\t\t}", "public int mutateGene(int gene);", "@Override\n\tpublic void setPhieumuonId(long phieumuonId) {\n\t\t_phieugiahan.setPhieumuonId(phieumuonId);\n\t}", "public Gel_BioInf_Models.VirtualPanel.Builder setGeneIds(java.util.List<java.lang.String> value) {\n validate(fields()[4], value);\n this.geneIds = value;\n fieldSetFlags()[4] = true;\n return this; \n }", "public void setGeneIds(java.util.List<java.lang.String> value) {\n this.geneIds = value;\n }", "public void setGeneSetName(String name) {\r\n\t\tgeneSetName=name;\r\n\r\n\t}", "@Override\n public void setId(int pintId) {\n this.intDynaGraphId = pintId;\n }", "public void setGeneSetElement(IGeneSetElement element, int index) {\r\n\t\tgeneSetElements.add(index, element);\r\n\r\n\t}", "public void setGi(java.math.BigInteger gi)\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(GI$22, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GI$22);\r\n }\r\n target.setBigIntegerValue(gi);\r\n }\r\n }", "private void setId(int ida2) {\n\t\tthis.id=ida;\r\n\t}", "public void setBigId (int bigId) { this.bigId = bigId; }", "public void setTipGorivaID(long value) {\r\n this.tipGorivaID = value;\r\n }", "private void setEmployeeID() {\n try {\n employeeID = userModel.getEmployeeID(Main.getCurrentUser());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public void setId(String anId) {\n _theId = anId;\n }", "public void setGene(int x, double value)\n {\n this.vectOfCoef.set(x, value);\n }", "public void setId(String id) {\n this.ide = id;\n //System.out.println(\"linkyhandler setid \" + ide);\n }", "public void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);", "public void setgOtherId(Integer gOtherId) {\n this.gOtherId = gOtherId;\n }", "public void setId(int driverDBId);", "public void setMySpeciesIdentifier(int mySpeciesIdentifier) {\n this.mySpeciesIdentifier = mySpeciesIdentifier;\n }", "public abstract void setEspe_id(java.lang.Integer newEspe_id);", "public void setGrse_id(java.lang.Integer newGrse_id);", "public void setGid(Integer gid) {\r\n this.gid = gid;\r\n }", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "public void setNumAttemptsOfGeneOption(int newIntParameter) {\n m_NumAttemptsOfGene = newIntParameter;\n }", "public void setId(Long id) {\n\t\t\n\t}", "public String getGearIdProperty() \n {\n return \"gear_id\";\n }", "@Override\n\tpublic void setGLSeqNum(BigInteger arg0) {\n\n\t}", "public Long gethId() {\n return hId;\n }", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "public abstract void setTica_id(java.lang.String newTica_id);", "public void setID(long id);", "public void xsetGPSAntennaDetailsID(org.apache.xmlbeans.XmlIDREF gpsAntennaDetailsID)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlIDREF target = null;\r\n target = (org.apache.xmlbeans.XmlIDREF)get_store().find_attribute_user(GPSANTENNADETAILSID$14);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlIDREF)get_store().add_attribute_user(GPSANTENNADETAILSID$14);\r\n }\r\n target.set(gpsAntennaDetailsID);\r\n }\r\n }", "public void setGid(Integer gid) {\n this.gid = gid;\n }", "@Override\r\n\t\tpublic void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void setId(Long id) {\n\t}", "@Override\n\tpublic void setId(long value) {\n super.setId(value);\n }", "public void setEmployeeId(long employeeId);", "public void setAgencyId(int value) {\n this.agencyId = value;\n }", "@Override\n\tpublic long getId() {\n\t\treturn _phieugiahan.getId();\n\t}", "public void setId(Long value) {\r\n this.id = value;\r\n }", "@Override\n\tpublic void set(int id, Generator generator) {\n\t}", "public void setGeneName(String geneName) {\n this.geneName = geneName;\n }", "public void setId(long id)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$6);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$6);\n }\n target.setLongValue(id);\n }\n }", "public void setRegbyid(Integer newVal) {\n if ((newVal != null && this.regbyid != null && (newVal.compareTo(this.regbyid) == 0)) || \n (newVal == null && this.regbyid == null && regbyid_is_initialized)) {\n return; \n } \n this.regbyid = newVal; \n regbyid_is_modified = true; \n regbyid_is_initialized = true; \n }", "public void xsetGi(org.apache.xmlbeans.XmlInteger gi)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlInteger target = null;\r\n target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(GI$22, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(GI$22);\r\n }\r\n target.set(gi);\r\n }\r\n }", "public void setId(Long id)\n\t{\n\t\t this.addKeyValue(\"id\", id);\n\n\t}", "public Mapping setIdentity( String theId) {\n\t\tmyIdentity = new IdDt(theId); \n\t\treturn this; \n\t}", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "public Object setID(int iD)\r\n/* */ {\r\n\t\t\t\tlogger.info(count++ + \" About to setId : \" + \"Agent\");\r\n/* 51 */ \tthis.myID = iD;\r\n/* 52 */ \treturn this;\r\n/* */ }", "private void setOtherId(int value) {\n \n otherId_ = value;\n }", "public void setID(String newID)\r\n {\r\n id=newID;\r\n }", "@Override\n public final void setItsId(final Long pId) {\n //stub\n }", "public final void setSpeciesID(final int i) {\r\n\t\tthis.speciesID = i;\r\n\t}", "private void mapID(final int column, final IdMapper id_mapper) {\n\t\t\n\t\t/*\n\t\t * To keep the original values of the preview table.\n\t\t */\n\t\tif (orig_values_list == null ) {\n\t\t\tprepareOrginalValiesTable();\n\t\t}\n\t\t\n\t\t/*\n\t\t * Getting source and target for id type. \n\t\t * Source and target species are the same (for now).\n\t\t * \n\t\t */\n\t\tfinal String target_type = (String) getIdmapTarget();\n\t\tfinal String source_type = (String) getIdmapSource();\n\t\tfinal String species = (String) getIdmapSpecies();\n\t\t\n\t\t/*\n\t\t * Name for the new column\n\t\t * TODO should give user ability to make own name, via UI.\n\t\t */\n\t\tfinal String new_name = target_type + \"->\" + source_type;\n\n\t\t/*\n\t\t * This performs the actual mapping.\n\t\t * Mapping results are stored in map \"res\".\n\t\t */\n final Map<String, IdMapping> res = id_mapper.map(\n\t\t\t\torig_values_list.get(column), source_type, target_type,\n\t\t\t\tspecies, species);\n\n if (DEBUG) {\n\t\t for (int row = 0; row < previewTable.getRowCount(); ++row) {\n\t\t\t System.out.print(row + \" :\");\n\t\t\t System.out.println((String) previewTable.getValueAt(row, column));\n\t\t }\n }\n\n /*\n * This parses the id mapping result\n */\n\t\tif (res != null && !res.isEmpty()) {\n\t\t\tfinal int orig_row_count = previewTable.getRowCount();\n\n\t\t\tfinal String[] new_column = new String[orig_row_count ];\n\t\t\tfor (int row = 0; row < orig_row_count; ++row) {\n\t\t\t\t\n\t\t\t\tfinal String source_id = orig_values_list.get(column).get(row);\n\t\t\t\tfinal IdMapping id_mapping = res.get(source_id);\n\t\t\t\tif (id_mapping != null) {\n\t\t\t\t\tif (id_mapping.getTargetIds() != null && !id_mapping.getTargetIds().isEmpty()) {\n\t\t\t\t\t\tfinal StringBuilder ids_str= new StringBuilder();\n\t\t\t\t\t\tfinal Set<String> target_ids = id_mapping.getTargetIds();\n\t\t\t\t\t\tfor (final String target_id : target_ids) {\n\t\t\t\t\t\t\tids_str.append( target_id);\n\t\t\t\t\t\t\tids_str.append( \" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tnew_column[row] = ids_str.toString();\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tnew_column[row] = \"\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tnew_column[row] = \"\";\n\t\t\t\t}\n\t\t\t\tif ( DEBUG) {\n System.out.println(source_id + \"->\" + new_column[row]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t\t/*\n\t\t\t * From here, the problems start.\n\t\t\t * It does NOT properly add a new table column...\n\t\t\t * TODO\n\t\t\t * FIXME\n\t\t\t */\n\t\t\tfinal TableColumn new_tablecolumn = new TableColumn();\n\n\t\t\tnew_tablecolumn.setHeaderValue(new_name);\n\t\t\tpreviewTable.addColumn(new_tablecolumn);\n\t\t\t\n\t\t\tfinal PreviewTableModel pt_model = (PreviewTableModel) previewTable\n\t\t\t\t\t.getModel();\n\t\t\t\n\t\t for (int row = 0; row < new_column.length; ++row) {\n pt_model.setValueAt(new_column[row], row, 1);\n \t// col 1 is just used as test!\n }\n\t\t}\n\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_employee.setGroupId(groupId);\n\t}", "@Override\r\n public void setsaleId(int saleid) {\n this.saleId = saleid;\r\n }", "public void setTiag_id(java.lang.Long newTiag_id);", "@Override\n\t\tpublic void setId(final String identifier) {\n\t\t}", "public void setIdHotel(Integer idHotel) {\r\n this.idHotel = idHotel;\r\n }", "protected void setId(EmployeeLeave employeeLeave, ResultSet rs, int rowNumber) throws SQLException{\n\t\tString id = rs.getString(EmployeeLeaveTable.COLUMN_ID);\n\t\tif(id == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\n\t\temployeeLeave.setId(id);\n\t}", "public abstract void setAcma_id(java.lang.Long newAcma_id);", "public void setId(Long value) {\n this.id = value;\n }", "public void setId(Long id) \n {\n this.id = id;\n }", "final public void setId(int idp) {\n\t\tid = idp;\n\t\tidSet = true;\n\t}", "public void setId(Long id){\n\t\tthis.id = id;\n\t}", "public void setId(Long id){\n\t\tthis.id = id;\n\t}", "public void setId(Long id){\n\t\tthis.id = id;\n\t}", "public void setId(Long id) \r\n {\r\n this.id = id;\r\n }", "@Override\n\tpublic void set(int id, Generator generator) {\n\n\t\ttry (Connection c = context.getConnection(); \n\t\t\tPreparedStatement stmt = c.prepareStatement(setQuery)) \n\t\t{\n\n \t\tstmt.setString(1, generator.getName());\n \t\tstmt.setString(2, generator.getDescription());\n \t\tstmt.setInt(3, generator.getRate());\n \t\tstmt.setInt(4, generator.getBaseCost());\n \t\tstmt.setInt(5, generator.getUnlockAt());\n\n\t\t\tstmt.executeUpdate();\n\t\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public void setSupregId(java.lang.Integer newSupregId) {\n\tsupregId = newSupregId;\n}", "private void handleIdFields(JFieldVar field, JsonNode propertyNode) {\n if (propertyNode.has(JpaConstants.IS_ID_COLUMN) && propertyNode.get(JpaConstants.IS_ID_COLUMN).asBoolean(true)) {\n field.annotate(Id.class);\n }\n\n if (propertyNode.has(JpaConstants.GENERATED_VALUE)) {\n JsonNode generatedValueNode = propertyNode.get(JpaConstants.GENERATED_VALUE);\n JAnnotationUse jAnnotationUse = field.annotate(GeneratedValue.class);\n if (generatedValueNode.has(JpaConstants.STRATEGY)) {\n jAnnotationUse.param(JpaConstants.STRATEGY, GenerationType.valueOf(generatedValueNode.get(JpaConstants.STRATEGY).asText()));\n }\n }\n }", "public void setJiaoshiid(Integer jiaoshiid) {\n this.jiaoshiid = jiaoshiid;\n }", "@Override\n\tpublic void setId(Integer arg0) {\n\n\t}", "public void setId(java.lang.Long newId);", "public void setAD_Column_ID (int AD_Column_ID);", "public void setValueId(Integer valueId) {\n this.valueId = valueId;\n }", "public void setValueId(Integer valueId) {\n this.valueId = valueId;\n }", "void update(String selectedGene);", "public void setId(final Long id) {\r\n\t\t// If we've just been persisted and hashCode has been\r\n\t\t// returned then make sure other entities with this\r\n\t\t// ID return the already returned hash code\r\n\t\tif ( (this.id == null || this.id == 0L) &&\r\n\t\t\t\t(id != null) &&\r\n\t\t\t\t(this.hashCode != null) ) {\r\n\t\tSAVED_HASHES.put( id, this.hashCode );\r\n\t\t}\r\n\t\tthis.id = id;\r\n\t}", "public void setIdAttribute(String idAttribute) {\n this.idAttribute = idAttribute;\n }", "public void setId(Long id)\r\n {\r\n this.id = id;\r\n }", "public void setDriverId(java.lang.Long value) {\n this.driverId = value;\n }", "public void setId(long id){\n\t\tthis.id = id;\n\t}", "public void setConvertToId(String convertToId);", "public void setId(long value) {\r\n this.id = value;\r\n }", "public void setId(long value) {\r\n this.id = value;\r\n }", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);" ]
[ "0.6305673", "0.62379676", "0.5797824", "0.56455487", "0.5324894", "0.52435654", "0.5121736", "0.5092535", "0.5086977", "0.50574005", "0.505282", "0.5025401", "0.49837282", "0.49735284", "0.49619368", "0.49414673", "0.49349597", "0.4929457", "0.4902495", "0.4899816", "0.4887351", "0.4879649", "0.48787302", "0.4866546", "0.48547307", "0.4850348", "0.48491418", "0.4849062", "0.48476312", "0.48071325", "0.47981778", "0.47885627", "0.47698542", "0.47690496", "0.4768577", "0.476376", "0.47633317", "0.47561932", "0.47536793", "0.47517797", "0.4751148", "0.47481212", "0.47184864", "0.47127938", "0.47106862", "0.4689424", "0.4685166", "0.46826708", "0.4679568", "0.46756592", "0.4675301", "0.46752912", "0.46719575", "0.4663289", "0.46588895", "0.46577582", "0.46577582", "0.46577582", "0.4657162", "0.46529377", "0.464881", "0.46458074", "0.46449676", "0.4636405", "0.4634803", "0.46325746", "0.4630525", "0.4624481", "0.4623486", "0.462132", "0.46191323", "0.46179882", "0.4612551", "0.45994", "0.45967793", "0.45967793", "0.45967793", "0.45952192", "0.45926398", "0.45915306", "0.459068", "0.45796046", "0.4577272", "0.457657", "0.4564904", "0.45610338", "0.45610338", "0.4555517", "0.45527214", "0.45516002", "0.45488816", "0.45447907", "0.45446545", "0.4543378", "0.4541997", "0.4541997", "0.45409635", "0.45409635", "0.45409635", "0.45409635" ]
0.7249085
0
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.genealogy_name
@ApiModelProperty(value = "族谱名") public String getGenealogyName() { return genealogyName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getGeneName() {\n return geneName;\n }", "public String getGeneName(int row);", "public String get_gene_id() {\n return m_gene_id;\n }", "public void setGenealogyName(String genealogyName) {\n this.genealogyName = genealogyName == null ? null : genealogyName.trim();\n }", "@ApiModelProperty(value = \"族谱ID\")\n public Long getGenealogyId() {\n return genealogyId;\n }", "public void setGeneName(String geneName) {\n this.geneName = geneName;\n }", "int getGeneId();", "public String getPentahoName() {\n\t\treturn pentahoName;\n\t}", "public JExpr getNameExpr() { return _nameExpr; }", "public String getGigName() {\n return gigName;\n }", "public String getName(){\n\t\treturn girlName;\r\n\t}", "public String getStringOfGene()\n {\n String print = \"\";\n for(int x = 0; x < numOfCoef; x++)\n {\n print = print +\"||\"+ vectOfCoef.get(x);\n }\n return print;\n }", "public String getName()\r\n\t{\r\n\t\treturn \"Biggie\";\r\n\t}", "public String getgOtherName() {\n return gOtherName;\n }", "public String getmGymName(){\n return mGymName;\n }", "public String getGenus() {\n return genus;\n }", "public String getNameOfEntityHere() {\n \n return entityHere_.getName();\n \n }", "public String getVarName(PlainGraph graph, PlainNode grooveName) {\n return graphNodeMap.get(graph).entrySet().stream()\n .filter(e -> e.getValue().equals(grooveName))\n .collect(Collectors.toList())\n .get(0)\n .getKey();\n }", "public String getPropertyName(){\n return SimpleTableField.mapPropName(this.columnName);\n }", "@Override\n public String getName() {\n return \"Genetic\";\n }", "public String getGh() {\n return gh;\n }", "public String getGeneList() {\n return geneList;\n }", "java.lang.String getHangmogName();", "public String getName() {\n return \"GA binary individual\";\n }", "public String getName() { return _sqlName; }", "public String getGName()\n\t{\n\t\treturn generatorName;\n\t}", "@Override\n public String getName() {\n return columnInfo.getName();\n }", "public StrColumn getName() {\n return delegate.getColumn(\"name\", DelegatingStrColumn::new);\n }", "public StrColumn getName() {\n return delegate.getColumn(\"name\", DelegatingStrColumn::new);\n }", "public String retrieveNCIGeneByHugoSymbol(String hugoSymbol) {\n\t\tif(StringUtils.isEmpty(hugoSymbol)){\n\t\t\tSystem.out.println(\"retrieveNCIGeneByHugoSymbol invoked with invalid parameter\");\n\t\t\treturn null;\n\t\t}\n\t\tClient client = Client.create();\n\t\tWebResource webResource = client.resource(\"http://cabioapi.nci.nih.gov/cabio43/GetXML?query=Gene[@hugoSymbol=\" \n\t\t\t\t+hugoSymbol +\"]\");\n\t\treturn webResource.get(String.class);\n\t\t\n\t}", "@Column(name = \"name\")\n public String getName() {\n return name;\n }", "public String getName() {\n\t\treturn ((name != null) && !name.isEmpty()) ? name\n\t\t\t\t: (\"[\" + Long.toString(dciId) + \"]\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t}", "public String getName() {\n return monsterName;\n }", "public String getName(long l) throws SQLException {\n\t\tString[] columns = new String[] { KEY_ROWID, KEY_NAME, KEY_HOTNESS };\n\t\tCursor c = ourDatabase.query(DATABASE_TABLE, columns, KEY_ROWID + \"=\"\n\t\t\t\t+ l, null, null, null, null);\n\t\tif (c != null) {\n\t\t\tc.moveToFirst();\n\t\t\tString name = c.getString(1);\n\t\t\treturn name;\n\t\t}\n\t\treturn null;\n\t}", "public String getName() {\r\n return this.animalName;\r\n }", "public String getNodeNameColumnName () {\n return nodeHandler.getNodeNameColumnName();\n }", "public String getDPReiheHgName(){\n\t\treturn this.m_sDPReiheHgName;\n\t}", "@Override\n\tpublic java.lang.String getName() {\n\t\treturn _expandoColumn.getName();\n\t}", "protected Gene getGene(int innovation) {\n\t\treturn genes.get(innovation);\n\t}", "public String getFullSampleName(int column);", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "public void setGeneSetName(String name) {\r\n\t\tgeneSetName=name;\r\n\r\n\t}", "public String getDPHgVorname(){\n\t\treturn this.m_sDPHgVorname;\n\t}", "public String getDPReiheHgVorname(){\n\t\treturn this.m_sDPReiheHgVorname;\n\t}", "public String getName(){\n\n //returns the value of the name field\n return this.name;\n }", "public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }", "public String getName(){\n\t\t\treturn columnName;\n\t\t}", "public YangString getNameValue() throws JNCException {\n return (YangString)getValue(\"name\");\n }", "public YangString getNameValue() throws JNCException {\n return (YangString)getValue(\"name\");\n }", "public String getThymeLeafName() {\n\t\treturn thymeLeafName;\n\t}", "private void getAgentName() {\n DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference();\n DatabaseReference agentRef = rootRef.child(\"Properties\").child(globals.chosenProp).child(\"agent\");\n\n agentRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n if (dataSnapshot.exists()) {\n agentName = dataSnapshot.getValue().toString();\n }\n getAgentEmail();\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) { }\n });\n }", "public java.lang.String getHangmogName() {\n java.lang.Object ref = hangmogName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n hangmogName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getName() {\n return columnName;\n }", "public RefSeq getGeneAnn() {\n\t\treturn geneAnn;\n\t}", "@SuppressWarnings(\"deprecation\")\n\t@Override\n\tpublic String getName() {\n\t\tif (hasCustomName()) {\n\t\t\treturn getCustomNameTag();\n\t\t}\n\n\t\t// return default breed name otherwise\n\t\tString entName = EntityList.getEntityString(this);\n\t\tString breedName = getBreedType().getName().toLowerCase();\n\t\treturn I18n.translateToLocal(\"entity.\" + entName + \".\" + breedName + \".name\");\n\t}", "public String getName() {\n\t \n\t return this.name;\n }", "public String returnLastName() {\n\t\treturn this.registration_lastname.getAttribute(\"value\");\r\n\t}", "public String name() {\n return getString(FhirPropertyNames.PROPERTY_NAME);\n }", "public String getLocalizedName()\n {\n return StatCollector.translateToLocal(this.getUnlocalizedName() + \".\" + TreeOresLogs2.EnumType.DIAMOND.getUnlocalizedName() + \".name\");\n }", "public String getName ( ) {\n\t\treturn extract ( handle -> handle.getName ( ) );\n\t}", "public java.lang.String getHangmogName() {\n java.lang.Object ref = hangmogName_;\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 hangmogName_ = s;\n }\n return s;\n }\n }", "public void setGenealogyId(Long genealogyId) {\n this.genealogyId = genealogyId;\n }", "java.lang.String getHotelName();", "public static String inputName() {\n return GolferScoresTree.inputString(\"Golfer name: \");\n }", "public String getName() {\n \treturn metricMetadata.getName();\n }", "@Override\n protected String getNameImpl()\n {\n return _nameExpr != null ? _nameExpr.getName() : null;\n }", "java.lang.String getEmployeeName();", "public Identifier getName();", "public static String getGenusAndSpeciesName(String name){\r\n\t\tchar firstChar = name.charAt(0);\r\n\t\tif(firstChar>='A'&&firstChar<='Z'){//Genus name often capitalized\r\n\t\t\tStringBuffer gsName = new StringBuffer();\r\n\t\t\tString[] fields = name.split(\"[\\\\s\\\\-]+\");\r\n\t\t\tgsName.append(fields[0]);//genus name\r\n\t\t\tif(fields.length>1){\r\n\t\t\t\tgsName.append(\" \");\r\n\t\t\t\tgsName.append(fields[1]);\r\n\t\t\t}\r\n\t\t\treturn gsName.toString();\r\n\t\t}\r\n\t\treturn name;\r\n\t}", "public String getPropertyName(String column) {\r\n\t\trefineMetaData();\r\n\t\tcolumn = column.toLowerCase();\r\n\t\t// Log.debug(\"%s->%s\", column, col2prop.get(column));\r\n\t\treturn col2prop.get(column);\r\n\t}", "public String getName() {\n return this.session.sessionPersona().getRealName();\n }", "public String getAnimalName() {\n if (animal == null) {\n String msg = \"Name is null\";\n return msg;\n } else {\n return animal.getName();\n }\n }", "String getEntityName();", "public StrColumn getName() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"name\", StrColumn::new) :\n getBinaryColumn(\"name\"));\n }", "@Override\n\tString getName(){\n\t\treturn animalName;\n\t}", "public String getCustomName ( ) {\n\t\treturn extract ( handle -> handle.getCustomName ( ) );\n\t}", "@Override\n public String returnName(){\n return this.nickName;\n }", "@SuppressWarnings(\"unchecked\")\n\tprivate List<Gene> getAllByName(String name, Session session) {\n\t\tQuery query = session.createQuery(\"select distinct(g) from Xref as x1, Xref as x2, TranscriptToXref as tx1, TranscriptToXref as tx2, Dbname as db, Gene as g where\" +\n\t\t\t\t\" x1.displayId= :name and\" +\n\t\t\t\t\" x1.xrefId=tx1.xref and\" +\n\t\t\t\t\" tx1.transcript=tx2.transcript and\" +\n\t\t\t\t\" tx2.xref=x2.xrefId and\" +\n\t\t\t\t\" x2.dbname=db.dbnameId and\" +\n\t\t\t\t\" db.name='ensembl_gene' and\" +\n\t\t\t\t\" x2.displayId=g.stableId\").setParameter(\"name\", name.trim()); //and t.gene=g.geneId\" , Transcript as t\n\t\treturn (List<Gene>)query.list();\n\t}", "public String getLastNameFieldName() {\n return getStringProperty(LAST_NAME_FIELD_NAME_KEY);\n }", "public java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();" ]
[ "0.7001441", "0.6811249", "0.61940473", "0.6014596", "0.5983431", "0.5870327", "0.5775455", "0.560439", "0.5513346", "0.54270595", "0.54184425", "0.538369", "0.53371537", "0.5330009", "0.5327494", "0.5324635", "0.53073066", "0.5256018", "0.5248917", "0.52439326", "0.5238256", "0.52171695", "0.52064896", "0.5203366", "0.51756984", "0.51715076", "0.516294", "0.5154884", "0.5154884", "0.51476634", "0.5144497", "0.5139131", "0.5138849", "0.51345724", "0.5134038", "0.5133022", "0.5132849", "0.5120006", "0.51084095", "0.50846493", "0.50818557", "0.5078328", "0.50594425", "0.5055926", "0.50485075", "0.50443095", "0.50378674", "0.5037252", "0.5037252", "0.5033525", "0.50301266", "0.5022401", "0.5022229", "0.50198734", "0.5012523", "0.5011308", "0.49894145", "0.49846235", "0.49816284", "0.49803913", "0.4976578", "0.49763817", "0.49748456", "0.49705482", "0.4968779", "0.49673468", "0.4966071", "0.4965509", "0.49654296", "0.4957348", "0.49535826", "0.49529445", "0.49508932", "0.4943163", "0.49329045", "0.49316704", "0.4926517", "0.4918145", "0.49134642", "0.49118736", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311", "0.4907311" ]
0.6884373
1
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.genealogy_name
public void setGenealogyName(String genealogyName) { this.genealogyName = genealogyName == null ? null : genealogyName.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setGeneSetName(String name) {\r\n\t\tgeneSetName=name;\r\n\r\n\t}", "public void setGeneName(String geneName) {\n this.geneName = geneName;\n }", "@ApiModelProperty(value = \"族谱名\")\n public String getGenealogyName() {\n return genealogyName;\n }", "public String getGeneName() {\n return geneName;\n }", "public void setGenealogyId(Long genealogyId) {\n this.genealogyId = genealogyId;\n }", "@ApiModelProperty(value = \"族谱ID\")\n public Long getGenealogyId() {\n return genealogyId;\n }", "public String getGeneName(int row);", "public String get_gene_id() {\n return m_gene_id;\n }", "public void setAnimalName(java.lang.String param) {\n localAnimalNameTracker = true;\n\n this.localAnimalName = param;\n }", "public void setName(String name) {\n monsterName = name;\n }", "public void setName(String name) {\n monsterName = name;\n }", "public void setGigName(String gigName) {\n this.gigName = gigName;\n }", "private void setCustomName(EliteMobProperties eliteMobProperties) {\n this.name = ChatColorConverter.convert(\n eliteMobProperties.getName().replace(\n \"$level\", eliteMobLevel + \"\"));\n eliteMob.setCustomName(this.name);\n if (ConfigValues.defaultConfig.getBoolean(DefaultConfig.ALWAYS_SHOW_NAMETAGS))\n eliteMob.setCustomNameVisible(true);\n }", "public void setNameExpr(JExpr anExpr)\n {\n replaceChild(_nameExpr, _nameExpr = anExpr);\n }", "int getGeneId();", "@Override\r\n\tpublic void setHerria(String herria) {\n\t\tsuper.setHerria(herria);\r\n\t}", "private void setName(){\r\n\t\tString tagString = new String();\r\n\t\tfor (String k : tags.keySet()){\r\n\t\t\ttagString += \"@\" + k;\r\n\t\t}\r\n\t\tString newName = originalName + tagString +\".\"+ extension;\r\n\t\tif (!newName.equals(name)){\r\n\t\t\tremovePrevNames(newName); //if the new name is a previous name\r\n\t\t\taddPrevNames(name);\r\n\t\t\tupdateLog(newName);\r\n\t\t\tname = newName;\r\n\t\t\t//notify the tag observer\r\n\t\t\tsetChanged();\r\n\t\t\tnotifyObservers();\r\n\t\t\tclearChanged();\r\n\t\t}\r\n\t}", "public void setGegenkontoName(String name) throws RemoteException;", "public void setSupregName(java.lang.String newSupregName) {\n\tsupregName = newSupregName;\n}", "public static void stringToGene( String gene ){}", "private void setCustomName(String name) {\n this.name = ChatColorConverter.convert(name);\n this.getLivingEntity().setCustomName(this.name);\n this.hasCustomName = true;\n if (ConfigValues.defaultConfig.getBoolean(DefaultConfig.ALWAYS_SHOW_NAMETAGS))\n eliteMob.setCustomNameVisible(true);\n }", "public void setDPReiheHgName(String value){\n\t\tthis.m_bIsDirty = (this.m_bIsDirty || (!value.equals(this.m_sDPReiheHgName)));\n\t\tthis.m_sDPReiheHgName=value;\n\t}", "public void setName(final String name) throws DataException {\n COLLECTION.remap(this, fullName, name);\n fullName = name;\n for (AbstractHistogram hist : histograms.getList()) {\n hist.updateNames(this);\n }\n }", "public final void setNameProperty(String nameProperty) {\n\t\tif(nameProperty == null) throw new IllegalArgumentException(\"A field name must be specified\");\n\t\tthis.nameProperty = nameProperty;\n\t}", "public void setName(java.lang.String name)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$26);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$26);\r\n }\r\n target.setStringValue(name);\r\n }\r\n }", "public void setSupregname( java.lang.String newValue ) {\n __setCache(\"supregname\", newValue);\n }", "public void setGeneList(String geneList) {\n this.geneList = geneList;\n }", "void update(String selectedGene);", "public static void setName(EntityLiving entity, String name) {\n entity.func_94058_c(name);\n }", "@Override\n\tpublic void setName(java.lang.String name) {\n\t\t_expandoColumn.setName(name);\n\t}", "public void changeName(Person dinesh) {\n\t\tdinesh.setAge(60);\n\t\tdinesh.setName(\"Dinesh\");\n\t}", "public void setName(String newname)\n {\n name = newname;\n \n }", "public void setName(String newname) {\n name=newname;\n }", "private void setNewName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n newName_ = value;\n }", "@Override\n public void changeGenusTo(String genusName, boolean preserveLabel) {\n //return null;\n }", "public void setGName(String generatorName)\n\t{\n\t\tthis.generatorName = generatorName;\n\t}", "public void changeName(String name) {\n this.treeName = name;\n }", "public void setName(String newname) {\n\t\tname = newname == null? \"\" : newname;\n\t\tfireNameChanged();\n\t}", "public void changeDogName(String dogName) {\n this.name = dogName;\n }", "public void setName(String new_name){\n this.name=new_name;\n }", "public void setDPHgVorname(String value){\n\t\tthis.m_bIsDirty = (this.m_bIsDirty || (!value.equals(this.m_sDPHgVorname)));\n\t\tthis.m_sDPHgVorname=value;\n\t}", "public void setName(String newname){\n name = newname; \n }", "public void setName(java.lang.String name)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$6);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$6);\r\n }\r\n target.setStringValue(name);\r\n }\r\n }", "public void setName(String new_name) {\n\t\t_name = new_name;\n\t}", "public void setGenus(String genus) {\n this.genus = genus;\n }", "public void setName(String newName){\n\n //assigns the value newName to the name field\n this.name = newName;\n }", "@Override\n public String getName() {\n return \"Genetic\";\n }", "@Override\n\tpublic void setName(String name) {\n\t\tsuper.setName(name);\n\t}", "@Override\n\tpublic void setName(String name) {\n\t\tsuper.setName(name);\n\t}", "public void setDPReiheHgVorname(String value){\n\t\tthis.m_bIsDirty = (this.m_bIsDirty || (!value.equals(this.m_sDPReiheHgVorname)));\n\t\tthis.m_sDPReiheHgVorname=value;\n\t}", "public void setName(java.lang.String name)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$8);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$8);\r\n }\r\n target.setStringValue(name);\r\n }\r\n }", "public void setName(java.lang.String name)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);\r\n }\r\n target.setStringValue(name);\r\n }\r\n }", "public void setGene(int x, double value)\n {\n this.vectOfCoef.set(x, value);\n }", "public void setName(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/name\",v);\n\t\t_Name=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "public void rename()\n\t{\n\t\t// get the object within the node\n\t\tObject string = this.getUserObject();\n\n\t\t// should always be a string, given the constructor\n\t\tif (string instanceof String)\n\t\t{\n\t\t\tstring = JOptionPane.showInputDialog(\"Enter a New Name\");\n\n\t\t\tif (string != null && string instanceof String)\n\t\t\t{\n\t\t\t\tthis.setUserObject(string);\n\t\t\t\tthis.name = (String) string;\n\t\t\t}\n\t\t}\n\t}", "public void setName(java.lang.String name)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$4);\n }\n target.setStringValue(name);\n }\n }", "public static void setLastName(String name){\n setUserProperty(Constants.ZeTarget_keyForUserPropertyLName,name);\n }", "public void setSimilarGenes(String name, String[] groups) {\r\n\t\tif(!similarGeneGroups.containsKey(name)) {\r\n\t\tsimilarGeneGroups.put(name, groups);\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic void setEname(String ename) {\n\t\tsuper.setEname(ename);\n\t}", "public void setCustomName ( String name ) {\n\t\texecute ( handle -> handle.setCustomName ( name ) );\n\t}", "public void setName(final java.lang.String name) {\r\n this.name = name;\r\n this.values.put(UserInfoTable.NAME, name);\r\n }", "@Override\n\tpublic void setName(String name) {\n\t\t\n\t}", "public void setName(String name){\r\n gotUserName = true;\r\n this.name = name;\r\n }", "public void xsetName(org.apache.xmlbeans.XmlNMTOKEN name)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlNMTOKEN target = null;\r\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(NAME$26);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().add_attribute_user(NAME$26);\r\n }\r\n target.set(name);\r\n }\r\n }", "public void setName(String dishName) {\n this.dishName = dishName;\n }", "public void setName(org.hl7.fhir.String name)\n {\n generatedSetterHelperImpl(name, NAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "Genome(String genome){\n\t\tthis.genome = genome;\n\t}", "public void setName(String name){\n\t\tthis.tournamentName = name;\n\t}", "@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name = name;\r\n\t}", "protected void setName(final String theName)\r\n {\r\n _theName = theName;\r\n }", "@Override\n\tpublic void setName( final String name )\n\t{\n\t\tsuper.setName( name );\n\t}", "public void setSelectedGene(String geneID)\n\t\t{\n\t\tselectedGene=geneID;\n\t\tSystem.out.println(selectedGene);\n\t\trepaint();\n\t\t}", "public void setGeneSetElement(IGeneSetElement element, int index) {\r\n\t\tgeneSetElements.add(index, element);\r\n\r\n\t}", "@Override\n public void setName(String name) {\n \n }", "@Override\n\tpublic void setName(String arg0) {\n\n\t}", "@Override\r\n public void setName(String name) {\n }", "public void xsetFriendlyName(org.apache.xmlbeans.XmlString friendlyName)\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(FRIENDLYNAME$2, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FRIENDLYNAME$2);\r\n }\r\n target.set(friendlyName);\r\n }\r\n }", "public HumanBuilder setName(String name) {\n\t\t\t/*\n\t\t\t * if i pass in a null string, this will assign the value \"joan Doe\" to the \n\t\t\t * name of the Human myHuman\n\t\t\t */\n\t\t\tif(name==null)\n\t\t\t\tname=\"joan doe\";\n\t\t\tmyHuman.name=name;\n\t\t\treturn this;\n\t\t}", "public void setJNDIName(String newValue);", "public synchronized void setName(Identifier name) {\n Identifier old = this.name;\n this.name = name;\n firePropertyChange (PROP_NAME, old, name);\n }", "@Override\n public void setName(String name) {\n\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "public void setName(org.hl7.fhir.String name)\n {\n generatedSetterHelperImpl(name, NAME$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "public void setName (String name){\n \n boyName = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "public void setGenre(String genre)\r\n {\r\n this.genre=genre;\r\n }", "public String getPentahoName() {\n\t\treturn pentahoName;\n\t}", "public Builder setHangmogName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n hangmogName_ = value;\n onChanged();\n return this;\n }", "public final void setName(final String nameNew) {\n this.name = nameNew;\n }", "public void setGh(String gh) {\n this.gh = gh == null ? null : gh.trim();\n }", "public void setName(java.lang.String name)\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(NAME$0, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME$0);\r\n }\r\n target.setStringValue(name);\r\n }\r\n }", "public void setVertexName(String newName)\n\t{\n\t\tvertexName = newName ;\n\t}", "@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\t}", "public void setGHFDM(java.lang.String param) {\r\n localGHFDMTracker = param != null;\r\n\r\n this.localGHFDM = param;\r\n }", "private HsqlName newIndexHsqlName(String name,\n boolean isQuoted) throws HsqlException {\n\n return HsqlName.isReservedName(name)\n ? database.nameManager.newAutoName(\"USER\", name)\n : database.nameManager.newHsqlName(name, isQuoted);\n }", "public void setName(String name) {\n\t\tName = name;\n\t}", "public int mutateGene(int gene);", "public void setNameValue(YangString nameValue) throws JNCException {\n setLeafValue(Routing.NAMESPACE,\n \"name\",\n nameValue,\n childrenNames());\n }" ]
[ "0.6678806", "0.66210866", "0.63544035", "0.6163778", "0.5728547", "0.55324256", "0.55079794", "0.5390155", "0.53252345", "0.5269386", "0.5269386", "0.52527064", "0.51818293", "0.51247644", "0.5116608", "0.5062985", "0.49853864", "0.4948645", "0.4942268", "0.4916776", "0.49125957", "0.49083513", "0.49018756", "0.48972842", "0.48959154", "0.48817897", "0.48797023", "0.48561534", "0.48524684", "0.4845969", "0.48432598", "0.48402914", "0.48303095", "0.4823998", "0.4822602", "0.48203912", "0.48202568", "0.48198417", "0.48192534", "0.48120522", "0.4788375", "0.47796145", "0.47763297", "0.47666016", "0.47638106", "0.47488374", "0.47467917", "0.47452438", "0.47452438", "0.47388327", "0.47359735", "0.4735425", "0.47302943", "0.47288048", "0.4727719", "0.47267646", "0.47242644", "0.46906513", "0.46887785", "0.4675281", "0.46735522", "0.46731913", "0.4669627", "0.46654677", "0.466494", "0.46630138", "0.46611562", "0.46590087", "0.4657362", "0.46572262", "0.4655337", "0.46472085", "0.46458665", "0.46452874", "0.46424347", "0.4633267", "0.46318626", "0.46294728", "0.46290955", "0.4628655", "0.4624398", "0.46145728", "0.46145728", "0.46128935", "0.46119907", "0.46108255", "0.46108255", "0.46092674", "0.46058077", "0.46021792", "0.4601874", "0.45999423", "0.45966464", "0.4596444", "0.45907313", "0.4588658", "0.4587992", "0.45872504", "0.45846525", "0.45844403" ]
0.6906013
0
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.user_id
@ApiModelProperty(value = "创建者用户") public Long getUserId() { return userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Integer getUserId();", "public Integer getIdUser() {\r\n\t\treturn idUser;\r\n\t}", "Long getUserId();", "public Integer getUser_id() {\n\t\treturn user_id;\n\t}", "java.lang.String getUserId();", "java.lang.String getUserId();", "java.lang.String getUserId();", "public long getUserId();", "public long getUserId();", "public long getUserId();", "public long getUserId();", "public int getIdUser() {\n return idUser;\n }", "public int getIdUser() {\n return idUser;\n }", "long getUserId();", "long getUserId();", "@Override\n\tpublic long getUserId();", "@Override\n\tpublic long getUserId();", "public int getIduser() {\n return iduser;\n }", "public Integer getUserID() {\n return userID;\n }", "@Override\n\tpublic Long getUserId() {\n\t\treturn user.getKey().getId();\n\t}", "String getUserId();", "String getUserId();", "@Override\n\tpublic long getUserId() {\n\t\treturn _dataset.getUserId();\n\t}", "@Override\n\tpublic long getUserId() {\n\t\treturn _employee.getUserId();\n\t}", "@Override\n public long getUserId() {\n return _usersCatastropheOrgs.getUserId();\n }", "public String findId(User user) throws Exception {\n\t\t\treturn sqlSession.selectOne(\"UserMapper.findId\", user);\n\t\t}", "public Long getUserId() {\n return this.user.getId();\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public Integer getUserid() {\n return userid;\n }", "public int getUserID() {\n return userID;\n }", "public int getUserID() {\n return userID;\n }", "public int getUserID() {\n return userID;\n }", "public Integer getUserid() {\r\n\t\treturn userid;\r\n\t}", "public Integer getUserid() {\n\t\treturn this.userid;\n\t}", "public String getIduser() {\n\t\treturn iduser;\n\t}", "public String getIdUser() {\n\t\treturn idUser;\n\t}", "public String getIdUser() {\n\t\treturn idUser;\n\t }", "public int getUserID()\n {\n return userID;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public int getUserID() {\n return userID_;\n }", "public Long getUserid() {\r\n return userid;\r\n }", "@Override\n public String getUserID() {\n return user_id;\n }", "public int getUserID()\n {\n return this.userID;\n }", "@Override\n\tpublic long getUserId() {\n\t\treturn model.getUserId();\n\t}", "@Override\n\tpublic long getUserId() {\n\t\treturn model.getUserId();\n\t}", "@Override\n\tpublic long getUserId() {\n\t\treturn model.getUserId();\n\t}", "@Override\n\tpublic long getUserId() {\n\t\treturn _userTracker.getUserId();\n\t}", "public Integer getUserId() {\r\n return userId;\r\n }", "public Integer getUserId() {\r\n return userId;\r\n }", "public UserId getUserId() {\n\t\treturn this.userId;\n\t}", "public int getUserId()\r\n\t{\r\n\t\treturn this.userId;\r\n\t}", "public int getUserId(User user) throws Exception;", "@Override\n\tpublic long getUserId() {\n\t\treturn _esfTournament.getUserId();\n\t}", "public Integer getUserId() {\r\n\t\treturn userId;\r\n\t}", "public Integer getUserId() {\r\n\t\treturn userId;\r\n\t}", "public Integer getUserId() {\r\n\t\treturn userId;\r\n\t}", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }", "public Integer getUserId() {\n return userId;\n }" ]
[ "0.7036468", "0.6963744", "0.69516015", "0.6917556", "0.68966484", "0.68966484", "0.68966484", "0.6879321", "0.6879321", "0.6879321", "0.6879321", "0.68360674", "0.68360674", "0.6825171", "0.6825171", "0.68186074", "0.68186074", "0.6800175", "0.6778597", "0.67421055", "0.67240596", "0.67240596", "0.6704085", "0.6688302", "0.6672822", "0.66687584", "0.66501373", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.66488737", "0.6646037", "0.6646037", "0.6646037", "0.6616791", "0.65672773", "0.6566569", "0.65662044", "0.65559477", "0.65425444", "0.6535155", "0.6535155", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6534772", "0.6530846", "0.6520971", "0.6519513", "0.65175694", "0.65175694", "0.65175694", "0.6504025", "0.65024745", "0.65024745", "0.6492541", "0.6484996", "0.64785254", "0.6467411", "0.6461512", "0.6461512", "0.6461512", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758", "0.6458758" ]
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.user_id
public void setUserId(Long userId) { this.userId = userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;\r\n\t}", "public void setIdUser(int value) {\n this.idUser = value;\n }", "public void setIdUser(String idUser) {\n\t\tthis.idUser = idUser;\n\t}", "public void setId_user(int id_user) {\r\n this.id_user = id_user;\r\n }", "public void setIduser(int aIduser) {\n iduser = aIduser;\n }", "public void setId_user(int id_user) {\n this.id_user = id_user;\n }", "@Override\n public void setUserId(long userId) {\n _usersCatastropheOrgs.setUserId(userId);\n }", "public void setUserId(long userId);", "public void setUserId(long userId);", "public void setUserId(long userId);", "public void setUserId(long userId);", "void setUserId(Long userId);", "private void setUserId(long value) {\n \n userId_ = value;\n }", "@Override\n\tpublic void setUserId(long userId);", "@Override\n\tpublic void setUserId(long userId);", "public de.hpi.msd.salsa.serde.avro.Edge.Builder setUserId(long value) {\n validate(fields()[0], value);\n this.userId = value;\n fieldSetFlags()[0] = true;\n return this;\n }", "private void setUserId(long value) {\n\n userId_ = value;\n }", "public void setUserId(long value) {\r\n this.userId = value;\r\n }", "@Override\n\tvoid setId(final UserId userId);", "public void setUserId(long value) {\n this.userId = value;\n }", "public void setUser (User user) {\n userId = user.id != null ? user.id : User.getUserId(user.username);\n }", "private void setUserId(int value) {\n \n userId_ = value;\n }", "public void setUserId(int value) {\n this.userId = value;\n }", "void setUserId(int newId) {\r\n\t\t\tuserId = newId;\r\n\t\t}", "public void setAD_User_ID (int AD_User_ID);", "public void setUserID(long userID) {\n UserID = userID;\n }", "public void setUserid(Long userid) {\r\n this.userid = userid;\r\n }", "public void setUserid(java.lang.String value) {\n this.userid = value;\n }", "void setUser(User user, int id) {\n this.user = user;\n this.id = id;\n }", "public void setUser1X_ID (int User1X_ID);", "public void setUserid(Integer userid) {\r\n\t\tthis.userid = userid;\r\n\t}", "@Override\n\tpublic void setUserId(long userId) {\n\t\t_userTracker.setUserId(userId);\n\t}", "public void setUserID(int value) {\n this.userID = value;\n }", "@Override\n\tpublic void setUserId(long userId) {\n\t\t_esfTournament.setUserId(userId);\n\t}", "@Override\n\tpublic void setUserId(long userId) {\n\t\t_employee.setUserId(userId);\n\t}", "@Override\n\tpublic void setUserId(long userId) {\n\t\t_changesetEntry.setUserId(userId);\n\t}", "public void setUserId(Long userId)\n/* */ {\n/* 80 */ this.userId = userId;\n/* */ }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserid(Integer userid) {\n this.userid = userid;\n }", "public void setUserId(java.lang.Long value) {\n this.userId = value;\n }", "public void setUser(Long user) {\n this.user = user;\n }", "public void setUserId(Integer userId) {\r\n this.userId = userId;\r\n }", "public void setUserId(Integer userId) {\r\n this.userId = userId;\r\n }", "public void setUserID(Integer userID) {\n this.userID = userID;\n }", "public void setUserId(String value) {\r\n setAttributeInternal(USERID, value);\r\n }", "public void setUserId(){\n AdGyde.setClientUserId(\"ADG1045984\");\n Toast.makeText(this, \"UserId = ADG1045984\", Toast.LENGTH_SHORT).show();\n }", "public void setUser1Y_ID (int User1Y_ID);", "@Override\n\tpublic void setUserId(long userId) {\n\t\t_second.setUserId(userId);\n\t}", "public int getIdUser() {\n return idUser;\n }", "public int getIdUser() {\n return idUser;\n }", "@Override\n public String getUserID() {\n return user_id;\n }", "public void setUserId(Long userId) {\r\n this.userId = userId;\r\n }", "public void setUserId(Long userId) {\r\n this.userId = userId;\r\n }", "public void setUserId(Long userId) {\r\n this.userId = userId;\r\n }", "public void setUser1_ID (int User1_ID);", "public void setUser1_ID (int User1_ID);", "public int getIduser() {\n return iduser;\n }", "public void setUserID(int userID) {\n this.userID = userID;\n }", "public void setUserID(int userID) {\n this.userID = userID;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setUserId(Integer userId) {\n this.userId = userId;\n }", "public void setId(User user) {\n this.id = new GoogleInfoKey(user);\n }", "public void setUserId(int userId) {\n this.userId = userId;\n }", "public void setUserId(int userId) {\n this.userId = userId;\n }", "public void setUserId(int userId) {\n this.userId = userId;\n }", "public Integer getIdUser() {\r\n\t\treturn idUser;\r\n\t}", "public void setUserId( Integer userId ) {\n this.userId = userId;\n }", "public void setUserid(java.lang.String userid) {\n this.userid = userid;\n }" ]
[ "0.71079403", "0.69730175", "0.69607717", "0.6781297", "0.67793566", "0.67563975", "0.6631086", "0.6555477", "0.6555477", "0.6555477", "0.6555477", "0.6466226", "0.64376503", "0.64125615", "0.64125615", "0.64083284", "0.6379929", "0.63748085", "0.6336763", "0.63125", "0.6310905", "0.62945414", "0.6283617", "0.6272744", "0.6252623", "0.6248313", "0.6242631", "0.6211301", "0.61843187", "0.61615735", "0.6160886", "0.6152699", "0.6142475", "0.61371523", "0.6132995", "0.61187637", "0.6087707", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6074325", "0.6057973", "0.59967625", "0.59748095", "0.59748095", "0.5960257", "0.5942097", "0.59381795", "0.5936441", "0.59294873", "0.59246135", "0.59246135", "0.5914813", "0.5911101", "0.5911101", "0.5911101", "0.59010756", "0.59010756", "0.590079", "0.5894891", "0.5894891", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.58788806", "0.5870345", "0.58628154", "0.58628154", "0.58628154", "0.585906", "0.5855318", "0.5851187" ]
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.surname
@ApiModelProperty(value = "姓氏") public String getSurname() { return surname; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSurname() {\n return this.surname;\n }", "public String getSurname()\n\t{\n\t\treturn surname;\n\t}", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname()\n\t{\n\t\treturn getSurname( getSession().getSessionContext() );\n\t}", "java.lang.String getSurname();", "public String getSurname()\r\n {\r\n return surname;\r\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n return s;\n }\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n }\n return s;\n }\n }", "String getSurname();", "public String getSurname(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, SURNAME);\n\t}", "public String getStaff_surname() {\n return staff_surname;\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\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 surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private String randomSurname() {\n\n String surname = this.surnames.get(intRandom(surnames.size() - 1));\n return surname;\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\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 surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String returnLastName() {\n\t\treturn this.registration_lastname.getAttribute(\"value\");\r\n\t}", "@Override\n\tpublic SurnameType getSurname() {\n\t\treturn null;\n\t}", "public void setSurname(String s) {\n this.surname = s;\n }", "public String getName(){\n\t\treturn this.firstName + \" \" + this.surname;\r\n\t}", "@Override\n public java.lang.String getSecondLastName() {\n return _entityCustomer.getSecondLastName();\n }", "public String getGoogleUserLastName() {\n return (String) attributes.get(GOOGLE_USER_LAST_NAME);\n }", "public java.lang.String getUserLastName() {\r\n return userLastName;\r\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public String getLastName()\r\n\t{\r\n\t\treturn lastName.getModelObjectAsString();\r\n\t}", "public String getLastname() {\n return (String) get(\"lastname\");\n }", "@Column(length = 50, nullable = false)\n public String getLastName() {\n return lastName;\n }", "public String getSurnames() {\n return surnames;\n }", "@AutoEscape\n\tpublic String getLast_name();", "public java.lang.String getSenderLastName2() {\r\n return senderLastName2;\r\n }", "public String getLastName(){\n return(this.lastName);\n }", "public String getLastName() {\r\n // Bouml preserved body begin 00040B82\r\n\t System.out.println(lastName);\r\n\t return lastName;\r\n\r\n // Bouml preserved body end 00040B82\r\n }", "public java.lang.String getReceiverLastName2() {\r\n return receiverLastName2;\r\n }", "public String getLastName(){\r\n\t\treturn lastName;\r\n\t}", "public String getName()\n {\n return foreName + \" \" + lastName;\n }", "public String getLastName(){\n\t\treturn this.lastName;\n\t}", "public String getLastNameFieldName() {\n return getStringProperty(LAST_NAME_FIELD_NAME_KEY);\n }", "com.google.protobuf.ByteString\n getSurnameBytes();", "public String getLast_name() {\n return last_name;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLast_name() {\r\n return last_name;\r\n }", "public String getLastName(){\n\t\treturn lastName;\n\t}", "public String getLastName()\n {\n return this.lastName;\n }", "public String getLastname() {\n return lastname;\n }", "public String getGeneName(int row);", "public String getLastName() { return lastName; }", "public String getSpLastName() {\r\n return spLastName;\r\n }", "public String getLastName() {\n return _lastName;\n }", "public String getLastName()\r\n\t{\r\n\t\treturn lastName;\r\n\t}", "@Column(length = 100, nullable = false)\n\tpublic String getLastName() {\n\t\treturn lastName;\n\t}", "public TeacherPage setSurnameTextField() {\n return setSurnameTextField(data.get(\"SURNAME\"));\n }", "public String getFullname() {\n\t\treturn this.name + \" \" + this.surname;\n\t}", "public String getLastName() {\n\t\tthis.setLastName(this.lastName);\n\t\treturn this.lastName;\n\t}", "public String getLastName() {\n return this.lastName;\n }", "public String getLastName() {\n return lastNameField.getText();\n }", "public String getLastName()\r\n {\r\n return lastName;\r\n }", "public String getLastName()\r\n {\r\n return lastName;\r\n }", "public String getLastName()\r\n {\r\n return lastName;\r\n }", "public void setSurname(final String value)\n\t{\n\t\tsetSurname( getSession().getSessionContext(), value );\n\t}", "public String getLastName() {\n return _lastName;\n }", "public String getLastName()\n {\n return lastName;\n }", "public String getLastname() throws Exception\r\n\t{\r\n\t\tString SQL_USER = \"SELECT lastname FROM user WHERE id=?;\";\t\t\r\n\t\tString returnValue=\"\";\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tPreparedStatement statement = this.getConn().prepareStatement(SQL_USER);\r\n\t\t\tstatement.setInt(1, userId);\r\n\t\t\tResultSet result = statement.executeQuery();\r\n\r\n\t\t\t// If this returns true, then the user already exists.\r\n\t\t\tif (!result.next())\r\n\t\t\t{\r\n\t\t\t\tthrow new Exception(\"No student found! (getLastname)\");\r\n\t\t\t}\r\n\r\n\t\t\t// Return the successfully user.\r\n\t\t\treturnValue = result.getString(\"lastname\");\r\n\t\t} catch (Exception e)\r\n\t\t{\r\n\t\t\tGWT.log(\"Error in getLastname()\", e);\r\n\t\t\tthis.getConn().rollback();\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\treturn returnValue;\r\n\t}", "public String getLastName()\r\n {\r\n return lastName;\r\n }", "public String getLastName() {\n return (String)getAttributeInternal(LASTNAME);\n }", "public String getLastName() {\r\n return lastName;\r\n }", "public String getLastName() {\r\n\t\treturn lastName;\r\n\t}", "public String getLastName() {\r\n\t\treturn lastName;\r\n\t}", "public String getLastName() {\r\n\t\treturn lastName;\t\t\r\n\t}", "@AutoEscape\n\tpublic String getLastname();", "public String getLastName()\n {\n return lastName;\n }", "public String getLastName() {\n\t\treturn this.lastName;\n\t}", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }", "public String getLastName() {\n return lastName;\n }" ]
[ "0.7207148", "0.70685154", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.69879526", "0.6979274", "0.6959286", "0.6850823", "0.671051", "0.6699202", "0.6679207", "0.6656211", "0.6580896", "0.64225006", "0.64034444", "0.6356562", "0.63465637", "0.6293755", "0.6292041", "0.62615335", "0.62385327", "0.6225404", "0.6178516", "0.6153745", "0.61399186", "0.5982223", "0.59686947", "0.59116954", "0.59116954", "0.59116954", "0.59116954", "0.5837764", "0.5824989", "0.58176845", "0.58172256", "0.57888806", "0.57551366", "0.5728413", "0.57217187", "0.57153255", "0.57055223", "0.56993663", "0.5692144", "0.5682381", "0.5679712", "0.5650036", "0.56477016", "0.56477016", "0.5642949", "0.5642118", "0.56371915", "0.5633452", "0.5628863", "0.5628221", "0.5612698", "0.56071955", "0.56035537", "0.5601353", "0.56009907", "0.56009394", "0.5592222", "0.5592222", "0.5590843", "0.5586092", "0.5586092", "0.5586092", "0.55859894", "0.55813754", "0.5579485", "0.55767244", "0.5575911", "0.557208", "0.5570436", "0.5565857", "0.5565857", "0.5563552", "0.5558451", "0.55559903", "0.55531794", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505", "0.55441505" ]
0.5713347
47
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.surname
public void setSurname(String surname) { this.surname = surname == null ? null : surname.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSurname(String s) {\n this.surname = s;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(String surname) {\n this.surname = surname;\n }", "public void setSurname(final String value)\n\t{\n\t\tsetSurname( getSession().getSessionContext(), value );\n\t}", "public void setSurname(String aSurname) {\n surname = aSurname;\n }", "void setSurname(String surname);", "public void setUserSurname(String surname) {\n profile.setSurname(currentUser, surname);\n }", "public String getSurname() {\n return this.surname;\n }", "public Builder setSurname(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n surname_ = value;\n onChanged();\n return this;\n }", "public void updateSurname(String newSurname)\r\n {\r\n surname = newSurname;\r\n }", "public String getSurname()\n\t{\n\t\treturn surname;\n\t}", "public Builder setSurname(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n surname_ = value;\n onChanged();\n return this;\n }", "public void setSurname(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, SURNAME,value);\n\t}", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public String getSurname() {\n return surname;\n }", "public void setStaff_surname(String staff_surname) {\n this.staff_surname = staff_surname;\n }", "public String getSurname()\r\n {\r\n return surname;\r\n }", "public TeacherPage setSurnameTextField() {\n return setSurnameTextField(data.get(\"SURNAME\"));\n }", "public static void setLastName(String name){\n setUserProperty(Constants.ZeTarget_keyForUserPropertyLName,name);\n }", "public void setLastName(java.lang.String newLastName);", "@Test\n\tpublic void testSetSurname() {\n\t\tUser user = new User();\n\t\tuser.setSurname(\"Naro\");\n\t\t//assertEquals(\"Naro\", user.getSurname());\n\t}", "public void setLastName(String newLastName)\r\n {\r\n lastName = newLastName;\r\n }", "public void setUserLastName(java.lang.String userLastName) {\r\n this.userLastName = userLastName;\r\n }", "public void setLastName(String newLastName) {\n this.lastName = newLastName;\n }", "public void setLastName(String newLastName) {\n _lastName = newLastName;\n }", "java.lang.String getSurname();", "public String getSurname()\n\t{\n\t\treturn getSurname( getSession().getSessionContext() );\n\t}", "public void setLastNameFieldName(final String value) {\n setProperty(LAST_NAME_FIELD_NAME_KEY, value);\n }", "public void setLastName(String value) {\n setAttributeInternal(LASTNAME, value);\n }", "public void setLastName(final String value)\n\t{\n\t\tsetLastName( getSession().getSessionContext(), value );\n\t}", "public void setLastName(final String value)\n\t{\n\t\tsetLastName( getSession().getSessionContext(), value );\n\t}", "public String getStaff_surname() {\n return staff_surname;\n }", "public void setLastName(String lastName);", "@Override\n\tpublic SurnameType getSurname() {\n\t\treturn null;\n\t}", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n return s;\n }\n }", "public void setLast_name(String last_name);", "public void setLastName(java.lang.CharSequence value) {\n this.last_name = value;\n }", "public void setLastname(String lastname);", "public void setLastName(java.lang.CharSequence value) {\n this.lastName = value;\n }", "public void setLastName(String s) {\r\n\t\tlastName = s;\t\t\r\n\t}", "@Override\n public void update(String name, String surname) {\n this.name = name;\n this.surname = surname;\n }", "public Builder setSurnameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n surname_ = value;\n onChanged();\n return this;\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public com.politrons.avro.AvroPerson.Builder setLastName(java.lang.CharSequence value) {\n validate(fields()[5], value);\n this.last_name = value;\n fieldSetFlags()[5] = true;\n return this; \n }", "public com.luisjrz96.streaming.birthsgenerator.models.BirthInfo.Builder setLastName(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.lastName = value;\n fieldSetFlags()[1] = true;\n return this;\n }", "public java.lang.String getSurname() {\n java.lang.Object ref = surname_;\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 surname_ = s;\n }\n return s;\n }\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\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 surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private String randomSurname() {\n\n String surname = this.surnames.get(intRandom(surnames.size() - 1));\n return surname;\n }", "void lastName( String key, String value ){\n developer.lastName = value;\n }", "@Override\n public void setSecondLastName(java.lang.String secondLastName) {\n _entityCustomer.setSecondLastName(secondLastName);\n }", "protected void setLastName(String last)\n {\n lastName = last;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\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 surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setLastName(String lastName) {\n if(lastName.length()>0)\n this.lastName = lastName;\n else this.lastName =\"undefined\";\n\n }", "public void setLastname(String lastname) throws SQLException\r\n\t{\r\n\t\tif (lastname == null)\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tString SQL_USER = \"UPDATE user SET lastname =? WHERE id=?;\";\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Prepare the statement\r\n\t\t\tPreparedStatement statement = this.getConn().prepareStatement(SQL_USER);\r\n\r\n\t\t\t//Bind the variables\r\n\t\t\tstatement.setString(1, lastname);\r\n\t\t\tstatement.setInt(2, userId);\r\n\r\n\t\t\t//Execute the update\r\n\t\t\tstatement.executeUpdate();\r\n\r\n\t\t} catch (SQLException e)\r\n\t\t{\r\n\t\t\tGWT.log(\"Error in SQL: Student->setLastname(String \"+ lastname + \")\", e);\r\n\t\t\tthis.getConn().rollback();\r\n\t\t\tthrow e;\t\r\n\t\t}\r\n\t\t\r\n\t\t//commit change\r\n\t\tDatabase.get().commit();\r\n\t}", "public void setStudentLastName(String studentLastName){\r\n this.studentLastName.set(studentLastName);\r\n }", "public com.google.protobuf.ByteString\n getSurnameBytes() {\n java.lang.Object ref = surname_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n surname_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n public void setLastName(java.lang.String lastName) {\n _entityCustomer.setLastName(lastName);\n }", "public void setLastName(String lastName){\r\n\t\tthis.lastName = lastName;\r\n\t}", "public String getSurname(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, SURNAME);\n\t}", "public void setLastName() {\n\t}", "private void displaySurnameFields() {\n FieldRelatedLabel surnameLabel = new FieldRelatedLabel(\"Surname\", 350, 170);\n\n invalidSurnameLabel = new InvalidFormEntryLabel(\"Surname must only contain letters,\\nspaces, dots and apostrophes\", 510, 190, false);\n\n surnameTF = new TextField();\n surnameTF.relocate(350, 200);\n surnameTF.textProperty().addListener(e->FormValidatorPokeMongo.handleName(surnameTF, invalidSurnameLabel));\n\n sceneNodes.getChildren().add(surnameLabel);\n sceneNodes.getChildren().add(invalidSurnameLabel);\n sceneNodes.getChildren().add(surnameTF);\n }", "public final void setLastName(String lastName) {\r\n\t\tthis.lastName = lastName;\r\n\t}", "public Builder setSurnameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n surname_ = value;\n onChanged();\n return this;\n }", "public void setLastName(String lastName) {\n if (lastName.length() >= 3 && lastName.length() <= 20)\n this.lastName = lastName;\n }", "public final void setLastName(String lastName) {\n\t\tthis.lastName = lastName;\n\t}", "String getSurname();", "public void setLastName( String last )\r\n {\r\n lastName = last;\r\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "public void setLastName(String lastName) {\n this.lastName = lastName;\n }", "@Override\n\tpublic void LastName(String lastName) {\n\t\t\n\t}", "public void setLastName(String lastName)\n\t{\n\t\tthis.lastName = lastName;\n\t}", "public void setLastName(String lastName) {\n String old = this.lastName;\n this.lastName = lastName;\n firePropertyChange(LAST_NAME_PROPERTY, old, lastName);\n }", "public void setLastName(String lastName) {\r\n\t\tthis.lastName = lastName;\r\n\t}", "public void setLastName(String lastName) {\r\n\t\tthis.lastName = lastName;\r\n\t}", "@Override\r\n\tpublic void setHerria(String herria) {\n\t\tsuper.setHerria(herria);\r\n\t}", "public void setLastName(final String lastName) {\n this.lastName = lastName;\n }", "Employee setLastname(String lastname);", "public Builder clearSurname() {\n \n surname_ = getDefaultInstance().getSurname();\n onChanged();\n return this;\n }", "public void setLastName(java.lang.String lastName) {\r\n this.lastName = lastName;\r\n }" ]
[ "0.72491366", "0.7031395", "0.7031395", "0.7031395", "0.7031395", "0.6830904", "0.6772853", "0.6766394", "0.661886", "0.6465502", "0.63467157", "0.63428855", "0.6335922", "0.6331336", "0.6311165", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.62708855", "0.626838", "0.61817634", "0.6048633", "0.6005549", "0.60038674", "0.5985808", "0.5940892", "0.5933429", "0.5931814", "0.58978415", "0.58828276", "0.5865134", "0.5807061", "0.577073", "0.5740738", "0.5740738", "0.5733552", "0.5730807", "0.5730045", "0.5723535", "0.5722157", "0.57219034", "0.57204974", "0.5705119", "0.56751275", "0.566789", "0.566659", "0.5657246", "0.5652662", "0.5645685", "0.5640505", "0.5625984", "0.56226546", "0.56190753", "0.56088775", "0.5607272", "0.56071603", "0.55788434", "0.5555172", "0.5546366", "0.55418336", "0.5541775", "0.5538586", "0.55376726", "0.55309874", "0.5514627", "0.5513148", "0.55088264", "0.55066264", "0.5489183", "0.5488601", "0.5469805", "0.5451154", "0.54435927", "0.5437607", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.5431847", "0.54300433", "0.5427713", "0.5421229", "0.54196286", "0.54196286", "0.54176754", "0.5412191", "0.54096323", "0.5399154", "0.5396337" ]
0.6435899
10
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.church
@ApiModelProperty(value = "堂号") public String getChurch() { return church; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setChurch(String church) {\n this.church = church == null ? null : church.trim();\n }", "public String getDIA_CHI()\n {\n return this.DIA_CHI;\n }", "public String getGh() {\n return gh;\n }", "public double getChiSquare() {\r\n\t\treturn chisq;\r\n\t}", "public java.lang.Float getChiSquare() {\n return chiSquare;\n }", "public java.lang.Float getChiSquare() {\n return chiSquare;\n }", "public double getHeruistic() {\n return heruistic;\n }", "public double getChiSquare() {\n\treturn chiSq;\n }", "@ApiModelProperty(value = \"When present, this field contains the sender's surcharge as assessed by the originator. Values in this field must be in the same currency and format as defined in the amount field.<br><br><b>Note:</b><br>Supported only in the US.\")\n public String getSurcharge() {\n return surcharge;\n }", "public java.lang.String getChallanNo () {\n\t\treturn challanNo;\n\t}", "public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }", "public String getChiffreJoueur() {\r\n\t\treturn this.chiffreJoueur;\r\n\t}", "public String getGranduateid() {\n return granduateid;\n }", "public Number getChallanNo() {\n return (Number) getAttributeInternal(CHALLANNO);\n }", "public String getMchid() {\n return mchid;\n }", "public java.lang.String getLastChgBy () {\n\t\treturn lastChgBy;\n\t}", "public java.lang.String getLastChgBy () {\n\t\treturn lastChgBy;\n\t}", "public java.lang.String getLastChgBy() {\n\t\treturn lastChgBy;\n\t}", "public java.lang.String getChamberOfCommerceCode() {\n return chamberOfCommerceCode;\n }", "public java.lang.String getHCAR() {\r\n return HCAR;\r\n }", "public jkt.hms.masters.business.Users getLastChgBy () {\n\t\treturn lastChgBy;\n\t}", "public jkt.hms.masters.business.Users getLastChgBy () {\n\t\treturn lastChgBy;\n\t}", "public jkt.hms.masters.business.Users getLastChgBy () {\n\t\treturn lastChgBy;\n\t}", "public float getChlorophyllMax() {\n return chlorophyllMax;\n }", "@Override\n\tpublic String getGiangVien() {\n\t\treturn giangVien.getTenGiangVien();\n\t}", "public String getChromosomeNumber() {\n return chromosomeNumber;\n }", "public String getHospitalCountry() {\n return hospitalCountry;\n }", "public String getChufayuanyin() {\n return chufayuanyin;\n }", "public String getCouleur() {\n return this.COULEUR;\n }", "public String getCouleur() {\n return this.COULEUR;\n }", "public String getHospitalCity() {\n return hospitalCity;\n }", "public StrColumn getChimera() {\n return delegate.getColumn(\"chimera\", DelegatingStrColumn::new);\n }", "public int getChiave() {\n\t\treturn chiave;\n\t}", "public int getHunger() {\n\t\treturn this.hunger;\n\t}", "public java.util.Date getLastChgDate() {\n\t\treturn lastChgDate;\n\t}", "public Company getChg() {return chgEntity;}", "public java.util.Date getChallanDate () {\n\t\treturn challanDate;\n\t}", "public double getReducedChiSquare() {\n\treturn reducedChiSq;\n }", "public java.lang.String getLastChgTime() {\n\t\treturn lastChgTime;\n\t}", "public String getRPH() {\n return RPH;\n }", "public Integer getCoachid() {\n return coachid;\n }", "public java.util.Date getLastChgDate () {\n\t\treturn lastChgDate;\n\t}", "public java.util.Date getLastChgDate () {\n\t\treturn lastChgDate;\n\t}", "public java.util.Date getLastChgDate () {\n\t\treturn lastChgDate;\n\t}", "public java.util.Date getLastChgDate () {\n\t\treturn lastChgDate;\n\t}", "public java.util.Date getLastChgDate () {\n\t\treturn lastChgDate;\n\t}", "public int getChnlWalkway(){\n return this.mFarm.getChnlWalkway();\n }", "@java.lang.Override\n public com.google.protobuf.StringValue getChulaId() {\n return chulaId_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : chulaId_;\n }", "public String getGovernor()\n\t{\n\t\tassert this.cursor != null;\n\t\treturn this.cursor.getString(2);\n\t}", "public double getHpregen(){\n\t\treturn hpregen;\n\t}", "public java.lang.String getLastChgTime () {\n\t\treturn lastChgTime;\n\t}", "public java.lang.String getLastChgTime () {\n\t\treturn lastChgTime;\n\t}", "public java.lang.String getLastChgTime () {\n\t\treturn lastChgTime;\n\t}", "public java.lang.String getLastChgTime () {\n\t\treturn lastChgTime;\n\t}", "public java.lang.String getLastChgTime () {\n\t\treturn lastChgTime;\n\t}", "public Long getCityagent() {\n return cityagent;\n }", "public String getCouleur() {\n\t\treturn this.couleur;\n\t}", "public BigDecimal getOgHoSucr() {\n return ogHoSucr;\n }", "public int getCHVNumber()\r\n {\r\n return number_of_CHV;\r\n }", "public Long getCountyagent() {\n return countyagent;\n }", "@Override\r\n\tpublic String getSurName() {\n\t\treturn sur_name;\r\n\t}", "private String getChromosome(String column) {\n if (column.substring(0,3).equals(\"Chr\")) {\n return column.substring(3);\n } else {\n return column;\n }\n }", "public int getHzyf() {\n\t\treturn this.hzyf;\n\t}", "public String getRhesus()\n\t{\n\t\treturn rhesus;\n\t}", "public java.lang.String getMu_zhh() {\r\n return localMu_zhh;\r\n }", "public java.lang.String getMu_zhh() {\r\n return localMu_zhh;\r\n }", "public String getChuangjianshijian() {\n return chuangjianshijian;\n }", "public String getHisCode() {\n return hisCode;\n }", "public int getHeuristic() {\n\t\treturn this.heuristic;\n\t}", "public String getDPReiheHgVorname(){\n\t\treturn this.m_sDPReiheHgVorname;\n\t}", "public String mo81396g() {\n return this.f58076h;\n }", "public java.lang.String getCitycode() {\n\t\treturn _dmHistoryMaritime.getCitycode();\n\t}", "public String getZhxgr() {\n return zhxgr;\n }", "public String getBorough() {\n return borough;\n }", "public String getChufadengji() {\n return chufadengji;\n }", "public String getDPReiheHgName(){\n\t\treturn this.m_sDPReiheHgName;\n\t}", "@Override\n\tpublic String getVehiclName() {\n\t\treturn \"Hundai\";\n\t}", "public String getChineseName() {\n return chineseName;\n }", "public double getChiSq() {\n return mChiSq;\n }", "public String getTesuryoshorihoho() {\r\n return tesuryoshorihoho;\r\n }", "public String getUrgency() {\n return urgency;\n }", "public void setLastChgBy (java.lang.String lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (java.lang.String lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public String getColl(){\n return this.college;\n }", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public ArrayList<String[]> getChords() {\n\t\treturn this.chords;\n\t}", "public String getCheflieuregion() {\n return (String) getAttributeInternal(CHEFLIEUREGION);\n }", "public String getYerushalmiMasechta() {\r\n\t\treturn masechtosYerushlmi[masechtaNumber];\r\n\t}", "@ZAttr(id=549)\n public ZAttrProvisioning.GalLdapAuthMech getGalLdapAuthMech() {\n try { String v = getAttr(Provisioning.A_zimbraGalLdapAuthMech); return v == null ? null : ZAttrProvisioning.GalLdapAuthMech.fromString(v); } catch(com.zimbra.common.service.ServiceException e) { return null; }\n }", "public java.lang.String getGHF() {\r\n return localGHF;\r\n }", "public void setLastChgDate(java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public String getGenus() {\n return genus;\n }", "public void setDIA_CHI( String DIA_CHI )\n {\n this.DIA_CHI = DIA_CHI;\n }", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}" ]
[ "0.62058336", "0.5760689", "0.5464995", "0.54609966", "0.53072", "0.52263236", "0.520417", "0.51557726", "0.5116827", "0.5093971", "0.5085753", "0.5081366", "0.5078368", "0.5046383", "0.5029797", "0.49874556", "0.49874556", "0.49722984", "0.49530062", "0.49500662", "0.49468404", "0.49468404", "0.49468404", "0.49046963", "0.48912606", "0.48906222", "0.48386198", "0.4837718", "0.48284042", "0.48284042", "0.48282477", "0.48160198", "0.48026723", "0.47965327", "0.47713417", "0.47483918", "0.47439596", "0.4736182", "0.47316778", "0.47256672", "0.4723875", "0.4712737", "0.4712737", "0.4712737", "0.4712737", "0.4712737", "0.47026837", "0.46966317", "0.46954188", "0.4684937", "0.46708456", "0.46708456", "0.46708456", "0.46708456", "0.46708456", "0.46502247", "0.46455115", "0.46274903", "0.46234784", "0.4612357", "0.460991", "0.45998386", "0.45975286", "0.45897895", "0.45839888", "0.45839888", "0.45767725", "0.45609677", "0.45562357", "0.45549846", "0.45547906", "0.45473653", "0.45435664", "0.45368695", "0.45255992", "0.4511642", "0.45113915", "0.45032117", "0.45014575", "0.44982198", "0.44970497", "0.44901127", "0.44901127", "0.44899714", "0.4488793", "0.4488793", "0.4488793", "0.4488793", "0.4488793", "0.44885907", "0.4488279", "0.44802573", "0.4477308", "0.44751042", "0.44686615", "0.44647673", "0.44618687", "0.44549406", "0.44549406", "0.44549406" ]
0.6954921
0
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.church
public void setChurch(String church) { this.church = church == null ? null : church.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ApiModelProperty(value = \"堂号\")\n public String getChurch() {\n return church;\n }", "protected void setChiSquare(double chiSq) {\n\tthis.chiSq = chiSq;\n }", "public void setHeuristic(int h) {\n\t\t\tthis.heuristique = h;\n\t\t}", "public Gel_BioInf_Models.ChiSquare1KGenomesPhase3Pop.Builder setChiSquare(float value) {\n validate(fields()[2], value);\n this.chiSquare = value;\n fieldSetFlags()[2] = true;\n return this; \n }", "public void setHCAR(java.lang.String HCAR) {\r\n this.HCAR = HCAR;\r\n }", "public void setHeuristic(int heuristic) {\n\t\tthis.heuristic = heuristic;\n\t}", "protected void setReducedChiSquare(double reducedChiSq) {\n\tthis.reducedChiSq = reducedChiSq;\n }", "public void setCity(int tourPosition, City city) {\n tour.set(tourPosition, city);\n // If the tours been altered we need to reset the fitness and distance\n fitness = 0;\n distance = 0;\n }", "public void setChiffreJoueur(String pChiffreJoueur) {\r\n\t\tthis.chiffreJoueur = pChiffreJoueur;\r\n\t}", "public void setChiSquare(java.lang.Float value) {\n this.chiSquare = value;\n }", "public void setHospitalCity(String hospitalCity) {\n this.hospitalCity = hospitalCity == null ? null : hospitalCity.trim();\n }", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (jkt.hms.masters.business.Users lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setChamberOfCommerceCode(java.lang.String chamberOfCommerceCode) {\n this.chamberOfCommerceCode = chamberOfCommerceCode;\n }", "public void setChordSymbol (ChordSymbol chordSymbol)\r\n {\r\n this.chordSymbol = chordSymbol;\r\n }", "public void setMu_zhh(java.lang.String param) {\r\n localMu_zhhTracker = param != null;\r\n\r\n this.localMu_zhh = param;\r\n }", "public void setMu_zhh(java.lang.String param) {\r\n localMu_zhhTracker = param != null;\r\n\r\n this.localMu_zhh = param;\r\n }", "public void setDIA_CHI( String DIA_CHI )\n {\n this.DIA_CHI = DIA_CHI;\n }", "public void setMchid(String mchid) {\n this.mchid = mchid;\n }", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setLastChgDate (java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setH_(double h_) {\n\t\tthis.h_ = h_;\n\t}", "public void setCoach(Coach coach) {\n this.coach = coach;\n }", "public void setRPH(String RPH) {\n this.RPH = RPH;\n }", "public void setLastChgDate(java.util.Date lastChgDate) {\n\t\tthis.lastChgDate = lastChgDate;\n\t}", "public void setChufadengji(String chufadengji) {\n this.chufadengji = chufadengji == null ? null : chufadengji.trim();\n }", "@Override\r\n\tpublic void setHerria(String herria) {\n\t\tsuper.setHerria(herria);\r\n\t}", "public void setChallanDate (java.util.Date challanDate) {\n\t\tthis.challanDate = challanDate;\n\t}", "public void setCh(char ch) {\r\n\t\tthis.ch = ch;\r\n\t}", "public void setGh(String gh) {\n this.gh = gh == null ? null : gh.trim();\n }", "public void setChufayuanyin(String chufayuanyin) {\n this.chufayuanyin = chufayuanyin == null ? null : chufayuanyin.trim();\n }", "public String getDIA_CHI()\n {\n return this.DIA_CHI;\n }", "void set( couple ch)\r\n { \r\n \r\n //couple ch = itr.next();\r\n ch.g1.sethappy(ch.bucket);\r\n ch.b1.sethappy(ch.bucket);\r\n ch.happiness = ch.b1.happy + ch.g1.happy;\r\n ch.compatibility = (ch.b1.budget - ch.g1.getmaint()) + Math.abs(ch.b1.getintg() - ch.g1.getiq()) + Math.abs(ch.b1.getattr() - ch.g1.getb());\r\n // this sets the happiness n compatibility of the co \r\n \r\n }", "public void setSurTime(Date surTime) {\n this.surTime = surTime;\n }", "public void setChallanNo (java.lang.String challanNo) {\n\t\tthis.challanNo = challanNo;\n\t}", "public void setLastChgBy (java.lang.String lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setLastChgBy (java.lang.String lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setOgHoSucr(BigDecimal ogHoSucr) {\n this.ogHoSucr = ogHoSucr;\n }", "@Override\n\tpublic void setIsJuniorMatch(boolean isJuniorMatch) {\n\t\t_esfTournament.setIsJuniorMatch(isJuniorMatch);\n\t}", "public void setHeroHurt(Animation<TextureRegion> heroHurt) {\n this.heroHurt = heroHurt;\n }", "public void setH(double h) {\n this.h = h;\n }", "public void setUrgency(String urgency) {\n this.urgency = urgency == null ? null : urgency.trim();\n }", "public void setChirpFrequency(float chirpFrequency) {\n this.chirpFrequency = chirpFrequency;\n }", "public void setChnlWalkway(int chnlWalkway){\n this.mFarm.setChnlWalkway(chnlWalkway);\n }", "public void setLastChgBy(java.lang.String lastChgBy) {\n\t\tthis.lastChgBy = lastChgBy;\n\t}", "public void setHourlyRecurrence(com.exacttarget.wsdl.partnerapi.HourlyRecurrence hourlyRecurrence)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.exacttarget.wsdl.partnerapi.HourlyRecurrence target = null;\n target = (com.exacttarget.wsdl.partnerapi.HourlyRecurrence)get_store().find_element_user(HOURLYRECURRENCE$0, 0);\n if (target == null)\n {\n target = (com.exacttarget.wsdl.partnerapi.HourlyRecurrence)get_store().add_element_user(HOURLYRECURRENCE$0);\n }\n target.set(hourlyRecurrence);\n }\n }", "public void setHijoIzq (nodeTree pHIzq){\n this._hIzq=pHIzq;\n }", "public static void setH(double set_h) {\r\n\t\th = set_h;\t\r\n\t\t}", "public void setZhxgr(String zhxgr) {\n this.zhxgr = zhxgr;\n }", "@Override\n\tpublic void setOccupant(HousePerson h) {\n\t\thouseperson = h;\n\t}", "public void setHistologicalQuality(String histologicalQuality)\r\n \t{\r\n \t\tthis.histologicalQuality = histologicalQuality;\r\n \t}", "public void setChineseName(String chineseName) {\n this.chineseName = chineseName == null ? null : chineseName.trim();\n }", "public void setH(Double h);", "public Lechuga(Hamburguesa h){\n this.hamburguesa = h;\n }", "@SuppressWarnings(\"unused\")\n void setDistanceCloseToGoal(double distanceCloseToGoal) {\n mDistanceCloseToGoal = distanceCloseToGoal;\n mDistanceCloseToGoalSquared = distanceCloseToGoal * distanceCloseToGoal;\n }", "public void setChpri(Integer chpri) {\n this.chpri = chpri;\n }", "public void setHourlyRate(double hr)\n\t{\n\t\thourlyRate = hr;\n\t}", "public void setChromosomeNumber(String chromosomeNumber) {\n this.chromosomeNumber = chromosomeNumber;\n }", "public void setSurUser(String surUser) {\n this.surUser = surUser;\n }", "public String getGh() {\n return gh;\n }", "public void setHungerDamage(float hunger);", "public void setLastChgTime (java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setLastChgTime (java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setLastChgTime (java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setLastChgTime (java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setLastChgTime (java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setHospitalCountry(String hospitalCountry) {\n this.hospitalCountry = hospitalCountry == null ? null : hospitalCountry.trim();\n }", "public void setChineseNumber(Integer chineseNumber) {\n this.chineseNumber = chineseNumber;\n }", "@Override\n\tpublic void setYear(int year) {\n\t\t_esfShooterAffiliationChrono.setYear(year);\n\t}", "@ApiModelProperty(value = \"When present, this field contains the sender's surcharge as assessed by the originator. Values in this field must be in the same currency and format as defined in the amount field.<br><br><b>Note:</b><br>Supported only in the US.\")\n public String getSurcharge() {\n return surcharge;\n }", "public void setChassisNumber(String chassisNumber) {\n this.chassisNumber = chassisNumber;\n }", "public void setCoachid(Integer coachid) {\n this.coachid = coachid;\n }", "public void setPH(final double newPH) {\n if (newPH >= 0.0 && newPH <= MAXIMUM_PH) {\n this.pH = newPH;\n }\n }", "public void setHeruistic(AStarNode end) {\n if(getPrevious() !=null){\n \tthis.heruistic = (this.getDistTo(end) + getHeadingTo(end) + previous.getHeadingTo(this));\n } else{\n \tthis.heruistic = (this.getDistTo(end) + getHeadingTo(end));\n }\n }", "public double getChiSquare() {\r\n\t\treturn chisq;\r\n\t}", "public void setAgreement(Agreement agreement) {\n\t\tthis.agreement = agreement;\n\t}", "public void setCHUNGCHI_KHAC( String CHUNGCHI_KHAC )\n {\n this.CHUNGCHI_KHAC = CHUNGCHI_KHAC;\n }", "public void setTrangthaiChiTiet(int trangthaiChiTiet);", "public void setHireDate(Date hireDate) {\n this.hireDate = hireDate;\n }", "public void setCountyagent(Long countyagent) {\n this.countyagent = countyagent;\n }", "public void setH(Node destination){\n\t\t\n\t\th=calculateH(destination);\n\t}", "public void setLogisticsDistance(String logisticsDistance) {\n this.logisticsDistance = logisticsDistance;\n }", "public void setLastChgTime(java.lang.String lastChgTime) {\n\t\tthis.lastChgTime = lastChgTime;\n\t}", "public void setHourlyRate (double hourlyRate) {\r\n // if hourlyRate is negative, hourlyRate is 0\r\n if (hourlyRate < 0) {\r\n this.hourlyRate = 0;\r\n }\r\n else {\r\n this.hourlyRate = hourlyRate;\r\n }\r\n // calls calculateSalary to update the salary once hourlyRate is changed\r\n calculateSalary();\r\n }", "public final void setUrgency(java.lang.String urgency)\r\n\t{\r\n\t\tsetUrgency(getContext(), urgency);\r\n\t}", "public void setGenre(String genre){\n\t\t//FIXME\n\t\tthis.genre = genre;\n\t}", "public final native double setUTCHours(int hours) /*-{\n this.setUTCHours(hours);\n return this.getTime();\n }-*/;", "public void setFiGhichu(String fiGhichu) {\n this.fiGhichu = fiGhichu;\n }", "public Company getChg() {return chgEntity;}", "public void setGenre(int genre) {\n this.genre = genre;\n }", "public void setChapterCount(Integer chapterCount) {\n this.chapterCount = chapterCount;\n }", "public void setCityagent(Long cityagent) {\n this.cityagent = cityagent;\n }", "public void setH(int h) {\n\t\tthis.H = h;\n\t}", "public void setHerbalismExp(int exp)\n\t{\n\t\tm_skillHerbExp = exp;\n\t}", "public int setChlorophyllMax(Float chlorophyllMax) {\n try {\n setChlorophyllMax(chlorophyllMax.floatValue());\n } catch (Exception e) {\n setChlorophyllMaxError(FLOATNULL, e, ERROR_SYSTEM);\n } // try\n return chlorophyllMaxError;\n }", "public String getMchid() {\n return mchid;\n }" ]
[ "0.6440788", "0.5559991", "0.55357766", "0.50933415", "0.50646484", "0.50575256", "0.50087833", "0.49362028", "0.48518807", "0.4847241", "0.4840864", "0.48127115", "0.48127115", "0.48127115", "0.48105308", "0.47954595", "0.47894755", "0.47894755", "0.47873327", "0.4787191", "0.477325", "0.477325", "0.477325", "0.477325", "0.477325", "0.47606835", "0.47532162", "0.47450724", "0.4738323", "0.473603", "0.47247025", "0.47219336", "0.47052282", "0.47032663", "0.4695822", "0.46777353", "0.46566474", "0.46170956", "0.46147186", "0.4609927", "0.4609927", "0.4609658", "0.46057642", "0.46034393", "0.46013707", "0.45917794", "0.4585585", "0.45396456", "0.45278198", "0.45236358", "0.4520206", "0.45113686", "0.45080897", "0.4502518", "0.4499161", "0.44873598", "0.44857472", "0.44852003", "0.44838932", "0.44768766", "0.4475186", "0.44751242", "0.4473407", "0.446343", "0.44617862", "0.44576007", "0.44576007", "0.44576007", "0.44576007", "0.44576007", "0.44559094", "0.44529507", "0.4446426", "0.4446336", "0.44462463", "0.44389403", "0.44381204", "0.44361335", "0.44298", "0.44281405", "0.44232276", "0.44204697", "0.4418624", "0.44154644", "0.44052154", "0.43978277", "0.43939748", "0.438994", "0.4389336", "0.43884304", "0.43855494", "0.4383536", "0.43828946", "0.43790814", "0.43750086", "0.43745244", "0.436975", "0.43691087", "0.43664184", "0.4365547" ]
0.7102704
0
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.province
@ApiModelProperty(value = "所在-省") public String getProvince() { return province; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getProvince() {\n return province;\n }", "public Integer getProvince() {\n return province;\n }", "public String getProvince() {\r\n return province;\r\n }", "public String getProvince() {\r\n return province;\r\n }", "public String getProvince() {\r\n return province;\r\n }", "@java.lang.Override\n public com.google.protobuf.StringValue getProvince() {\n return province_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : province_;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public Integer getProvinceid() {\n return provinceid;\n }", "public Integer getProvinceid() {\n return provinceid;\n }", "public Integer getProvinceId() {\n return provinceId;\n }", "public Integer getProvinceId() {\n return provinceId;\n }", "public String getHospitalProvince() {\n return hospitalProvince;\n }", "public com.google.protobuf.StringValue getProvince() {\n if (provinceBuilder_ == null) {\n return province_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : province_;\n } else {\n return provinceBuilder_.getMessage();\n }\n }", "public Long getProvinceagent() {\n return provinceagent;\n }", "public String getProvinceName() {\n return provinceName;\n }", "public String getProvinceCode() {\n return provinceCode;\n }", "public String getProvinceCode() {\n return provinceCode;\n }", "public void setProvince(String province) {\r\n this.province = province;\r\n }", "public void setProvince(String province) {\r\n this.province = province;\r\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public String getCorpProvince() {\n return corpProvince;\n }", "public com.google.protobuf.StringValueOrBuilder getProvinceOrBuilder() {\n if (provinceBuilder_ != null) {\n return provinceBuilder_.getMessageOrBuilder();\n } else {\n return province_ == null ?\n com.google.protobuf.StringValue.getDefaultInstance() : province_;\n }\n }", "@java.lang.Override\n public com.google.protobuf.StringValueOrBuilder getProvinceOrBuilder() {\n return getProvince();\n }", "public void setProvince(Integer province) {\n this.province = province;\n }", "public void setProvince(Integer province) {\n this.province = province;\n }", "public Province getLivingProvince() {\n return livingProvince;\n }", "public String getLocationProvince() {\n return locationProvince;\n }", "public String getStateProvinceFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.STATE_PROVINCE);\n }", "public String getLargestCityOf(String province){\n\n if (null == province || province.equals(\"\")) {\n throw new IllegalArgumentException(\"Invalid Province Name\");\n }\n\n for(int i = 0; i < provinces.length; i++) {\n\n if(provinces[i] != null &&\n provinces[i][NAME_OF_PROVINCE] != null &&\n provinces[i][NAME_OF_PROVINCE].equalsIgnoreCase(province)) {\n return provinces[i][NAME_OF_BIGGEST_CITY]; \n }\n\n }\n\n return null;\n }", "public void setProvinceid(Integer provinceid) {\n this.provinceid = provinceid;\n }", "public void setProvinceid(Integer provinceid) {\n this.provinceid = provinceid;\n }", "public void setProvinceId(Integer provinceId) {\n this.provinceId = provinceId;\n }", "public String getBankProvince() {\r\n return bankProvince;\r\n }", "public String getRegisterProvince() {\n return registerProvince;\n }", "public String getCapitalCityOf(String province) {\n\n if (null == province || province.equals(\"\")) {\n throw new IllegalArgumentException(\"Invalid Province Name\");\n }\n\n for(int i = 0; i < provinces.length; i++) {\n\n if(provinces[i] != null && \n provinces[i][NAME_OF_PROVINCE] != null &&\n provinces[i][NAME_OF_PROVINCE].equalsIgnoreCase(province)) {\n return provinces[i][NAME_OF_CAPITAL_CITY];\n }\n\n }\n return null;\n }", "public void setProvinceagent(Long provinceagent) {\n this.provinceagent = provinceagent;\n }", "public void setProvince(String province) {\r\n this.province = province == null ? null : province.trim();\r\n }", "public void setProvince(String province) {\n this.province = province == null ? null : province.trim();\n }", "public void setProvince(String province) {\n this.province = province == null ? null : province.trim();\n }", "public void setProvince(String province) {\n this.province = province == null ? null : province.trim();\n }", "public void setProvince(String province) {\n this.province = province == null ? null : province.trim();\n }", "public void setProvince(String province) {\n this.province = province == null ? null : province.trim();\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> \n getProvinceFieldBuilder() {\n if (provinceBuilder_ == null) {\n provinceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(\n getProvince(),\n getParentForChildren(),\n isClean());\n province_ = null;\n }\n return provinceBuilder_;\n }", "public Long getProvinceCodeReside() {\n return provinceCodeReside;\n }", "public Long getProvinceCitiesCode() {\n return provinceCitiesCode;\n }", "@Override\n\tpublic HqProvinceOrder getEntityByOpt(String province) {\n\t\tList<HqProvinceOrder> cpList = new ArrayList<HqProvinceOrder>();\n\t\tif(!province.isEmpty()) {\n\t\t\tSpecification<HqProvinceOrder> spec = new Specification<HqProvinceOrder>() {\n\t\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t\t@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.like(root.get(\"province\"), \"%\"+province+\"%\"));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}};\n\t\t\tcpList = hpDao.findAll(spec);\n\t\t\tif(cpList.size() > 0) {\n\t\t\t\treturn cpList.get(0);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn null;\n\t}", "public Integer getBankProvinceId() {\r\n return bankProvinceId;\r\n }", "public void setLocationProvince(String locationProvince) {\n this.locationProvince = locationProvince;\n }", "public String getStateOrProvince() {\r\n return stateOrProvince;\r\n }", "public void setLivingProvince(Province livingProvince) {\n this.livingProvince = livingProvince;\n }", "@Override\n\tpublic Provincia findById(final String province) {\n\t\treturn provincieRepository.findOne(province);\n\t}", "@Override\n\tpublic String getProvincia() {\n\t\treturn model.getProvincia();\n\t}", "public void setCorpProvince(String corpProvince) {\n this.corpProvince = corpProvince;\n }", "public static Province getProvinceById(int provinceid)\n\t{\n\t\treturn Province.find.where().eq(\"provinceId\", provinceid).findUnique();\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<String> getAllProvince() {\n\t\treturn getSqlMapClientTemplate().queryForList(\"H_PROVINCE_FB.getAllProvince\");\r\n\t}", "public Long getWishProvinceId() {\n return wishProvinceId;\n }", "public void setHospitalProvince(String hospitalProvince) {\n this.hospitalProvince = hospitalProvince == null ? null : hospitalProvince.trim();\n }", "public void setRegisterProvince(String registerProvince) {\n this.registerProvince = registerProvince;\n }", "public String getReceiverProvince() {\n return receiverProvince;\n }", "@java.lang.Override\n public boolean hasProvince() {\n return province_ != null;\n }", "public void setProvinceCode(String provinceCode) {\n this.provinceCode = provinceCode == null ? null : provinceCode.trim();\n }", "public void setProvinceName(String provinceName) {\n this.provinceName = provinceName == null ? null : provinceName.trim();\n }", "@Override\n public String toString() {\n return \"Province = \" + getProvince() + \"\\nCity = \" + getCity() + \"\\nDescription = \" + getDescription();\n }", "public com.google.protobuf.StringValue.Builder getProvinceBuilder() {\n \n onChanged();\n return getProvinceFieldBuilder().getBuilder();\n }", "public void setProvinceCitiesCode(Long provinceCitiesCode) {\n this.provinceCitiesCode = provinceCitiesCode;\n }", "public void setProvinceCodeReside(Long provinceCodeReside) {\n this.provinceCodeReside = provinceCodeReside;\n }", "public BigDecimal getBENEF_REGION() {\r\n return BENEF_REGION;\r\n }", "public String getDistrict() {\r\n return district;\r\n }", "public String getDistrict() {\r\n return district;\r\n }", "public String getDistrict() {\n return district;\n }", "@java.lang.Override\n public com.google.protobuf.StringValue getDistrict() {\n return district_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : district_;\n }", "String getProvincia();", "public Integer getDistrict() {\n return district;\n }", "public Integer getDistrict() {\n return district;\n }", "public java.lang.String getStudent_oversea() {\n\t\treturn _primarySchoolStudent.getStudent_oversea();\n\t}", "private Province getProvince(JSONObject data, String provinceId) {\n Province province = null;\n JSONObject provinceJson = data.optJSONObject(provinceId);\n if (provinceJson != null) {\n province = new Province();\n province.setStatus(provinceJson.optString(STATUS));\n //set neighbors NOT DONE\n\n province.setProvince_I18N(provinceJson.optString(PROVINCE_I_18_N));\n province.setRevenue(provinceJson.optInt(REVENUE));\n province.setVehicleMaxLevel(provinceJson.optInt(VEHICLE_MAX_LEVEL));\n province.setArenaName(provinceJson.optString(ARENA));\n\n //regionInfo\n province.setPrimaryRegion(provinceJson.optString(PRIMARY_REGION));\n try {\n JSONObject region = data.optJSONObject(REGIONS);\n JSONObject regionInfo = region.optJSONObject(province.getPrimaryRegion());\n province.setRegionID(regionInfo.optString(REGION_ID));\n province.setRegion_i18n(regionInfo.optString(REGION_I_18_N));\n } catch (Exception e) {\n\n }\n province.setClanId(provinceJson.optInt(CLAN_ID));\n province.setProvinceID(provinceJson.optString(PROVINCE_ID1));\n long prime_time = provinceJson.optLong(PRIME_TIME);\n Calendar cal = Calendar.getInstance();\n cal.setTimeInMillis(prime_time * ParserHelper.MILLIS);\n province.setPrimeTime(cal);\n }\n return province;\n }", "@AutoEscape\n\tpublic String getCodProvincia();", "@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.like(root.get(\"province\"), \"%\"+province+\"%\"));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}", "public boolean hasProvince() {\n return provinceBuilder_ != null || province_ != null;\n }", "public String getRegionCodeFk() {\r\n return (String) getAttributeInternal(REGIONCODEFK);\r\n }", "public String getdistrict() {\n return district;\n }", "@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)\n @PrimaryKeyJoinColumn\n public Agepop getAgepop() {\n return this.agepop;\n }", "@AutoEscape\n\tpublic String getNomProvincia();", "public String getProvinceno() {\n return provinceno;\n }", "public java.util.Map<java.lang.String, java.lang.Double> municipal()\n\t{\n\t\treturn _municipal;\n\t}", "@Basic\n @Column(name = \"population\", nullable = true)\n public Integer getPopulation() {\n return population;\n }", "public String getPopulation() {\n\t\treturn population;\n\t}", "@Override\n\tpublic void selectDataGridByProvince(PageInfo pageInfo) {\n\t\t Page<Map<String, Object>> page = new Page<Map<String, Object>>(pageInfo.getNowpage(), pageInfo.getSize());\n\t page.setOrderByField(pageInfo.getSort());\n\t page.setAsc(pageInfo.getOrder().equalsIgnoreCase(\"asc\"));\n\t List<Map<String, Object>> list = dataMapper.selectDataPageByProvince(page, pageInfo.getCondition());\n\t pageInfo.setRows(list);\n\t pageInfo.setTotal(page.getTotal());\n\t}", "int getRegionValue();", "java.lang.String getRegionCode();", "public String getCountryFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.COUNTRY);\n }", "@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.equal(root.get(\"province\"), province));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}" ]
[ "0.6998752", "0.6998752", "0.69688", "0.69688", "0.69688", "0.6951481", "0.69266653", "0.69266653", "0.69266653", "0.69266653", "0.69266653", "0.69266653", "0.69266653", "0.66662866", "0.66662866", "0.6659326", "0.6659326", "0.6621711", "0.6621383", "0.6590775", "0.6371417", "0.6363428", "0.6363428", "0.63619864", "0.63619864", "0.63364744", "0.63364744", "0.63364744", "0.6304917", "0.6218933", "0.6215841", "0.61836237", "0.61836237", "0.61368376", "0.6103664", "0.60796213", "0.5829184", "0.57942015", "0.57942015", "0.5781432", "0.5777431", "0.57333016", "0.57315165", "0.5712807", "0.5700853", "0.56845474", "0.56845474", "0.56845474", "0.56845474", "0.56845474", "0.5638474", "0.56272507", "0.56139165", "0.5600747", "0.5520917", "0.54485816", "0.54287755", "0.53945816", "0.539337", "0.5391057", "0.53734165", "0.5372976", "0.53483266", "0.53202826", "0.5221922", "0.51906824", "0.51893485", "0.5142297", "0.51396877", "0.50551075", "0.50126624", "0.50113195", "0.49753714", "0.49706417", "0.49280366", "0.49273902", "0.49273902", "0.49045104", "0.48962152", "0.48950022", "0.48913395", "0.48913395", "0.4844523", "0.48386273", "0.48191383", "0.47802213", "0.47782126", "0.47737724", "0.47703072", "0.47666425", "0.47587773", "0.47502962", "0.4746811", "0.47390205", "0.47365478", "0.4735452", "0.4729295", "0.47172308", "0.47078267", "0.47057113" ]
0.64363134
20
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.province
public void setProvince(String province) { this.province = province == null ? null : province.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setProvince(String province) {\r\n this.province = province;\r\n }", "public void setProvince(String province) {\r\n this.province = province;\r\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public void setProvince(String province) {\n this.province = province;\n }", "public void setProvince(Integer province) {\n this.province = province;\n }", "public void setProvince(Integer province) {\n this.province = province;\n }", "public void setProvince(String province) {\r\n this.province = province == null ? null : province.trim();\r\n }", "public void setProvinceagent(Long provinceagent) {\n this.provinceagent = provinceagent;\n }", "public void setLivingProvince(Province livingProvince) {\n this.livingProvince = livingProvince;\n }", "public void setProvinceid(Integer provinceid) {\n this.provinceid = provinceid;\n }", "public void setProvinceid(Integer provinceid) {\n this.provinceid = provinceid;\n }", "public void setProvinceId(Integer provinceId) {\n this.provinceId = provinceId;\n }", "public void setCorpProvince(String corpProvince) {\n this.corpProvince = corpProvince;\n }", "public void setLocationProvince(String locationProvince) {\n this.locationProvince = locationProvince;\n }", "public void setRegisterProvince(String registerProvince) {\n this.registerProvince = registerProvince;\n }", "public Long getProvinceagent() {\n return provinceagent;\n }", "public void setHospitalProvince(String hospitalProvince) {\n this.hospitalProvince = hospitalProvince == null ? null : hospitalProvince.trim();\n }", "public void setProvinceCode(String provinceCode) {\n this.provinceCode = provinceCode == null ? null : provinceCode.trim();\n }", "public void insertSelective(HProvinceFb record) {\r\n getSqlMapClientTemplate().insert(\"H_PROVINCE_FB.ibatorgenerated_insertSelective\", record);\r\n }", "public Integer getProvinceId() {\n return provinceId;\n }", "public Integer getProvinceId() {\n return provinceId;\n }", "public Integer getProvinceid() {\n return provinceid;\n }", "public Integer getProvinceid() {\n return provinceid;\n }", "public Integer getProvince() {\n return province;\n }", "public Integer getProvince() {\n return province;\n }", "@java.lang.Override\n public com.google.protobuf.StringValue getProvince() {\n return province_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : province_;\n }", "public void setProvinceName(String provinceName) {\n this.provinceName = provinceName == null ? null : provinceName.trim();\n }", "public String getProvince() {\r\n return province;\r\n }", "public String getProvince() {\r\n return province;\r\n }", "public String getProvince() {\r\n return province;\r\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getProvince() {\n return province;\n }", "public String getHospitalProvince() {\n return hospitalProvince;\n }", "@ApiModelProperty(value = \"所在-省\")\n public String getProvince() {\n return province;\n }", "@Override\n\tpublic void setProvincia(String provincia) {\n\t\tmodel.setProvincia(provincia);\n\t}", "public void setProvinceCodeReside(Long provinceCodeReside) {\n this.provinceCodeReside = provinceCodeReside;\n }", "public void setProvinceCitiesCode(Long provinceCitiesCode) {\n this.provinceCitiesCode = provinceCitiesCode;\n }", "public Builder setProvince(com.google.protobuf.StringValue value) {\n if (provinceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n province_ = value;\n onChanged();\n } else {\n provinceBuilder_.setMessage(value);\n }\n\n return this;\n }", "public int updateByPrimaryKeySelective(HProvinceFb record) {\r\n int rows = getSqlMapClientTemplate().update(\"H_PROVINCE_FB.ibatorgenerated_updateByPrimaryKeySelective\", record);\r\n return rows;\r\n }", "public void setCodProvincia(String codProvincia);", "public void insert(HProvinceFb record) {\r\n getSqlMapClientTemplate().insert(\"H_PROVINCE_FB.ibatorgenerated_insert\", record);\r\n }", "@java.lang.Override\n public com.google.protobuf.StringValueOrBuilder getProvinceOrBuilder() {\n return getProvince();\n }", "public String getProvinceCode() {\n return provinceCode;\n }", "public String getProvinceCode() {\n return provinceCode;\n }", "void setProvincia(String provincia);", "public String getCorpProvince() {\n return corpProvince;\n }", "public void setWishProvinceId(Long wishProvinceId) {\n this.wishProvinceId = wishProvinceId;\n }", "public String getProvinceName() {\n return provinceName;\n }", "public Province getLivingProvince() {\n return livingProvince;\n }", "public com.google.protobuf.StringValue getProvince() {\n if (provinceBuilder_ == null) {\n return province_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : province_;\n } else {\n return provinceBuilder_.getMessage();\n }\n }", "@Override\n\tpublic void selectDataGridByProvince(PageInfo pageInfo) {\n\t\t Page<Map<String, Object>> page = new Page<Map<String, Object>>(pageInfo.getNowpage(), pageInfo.getSize());\n\t page.setOrderByField(pageInfo.getSort());\n\t page.setAsc(pageInfo.getOrder().equalsIgnoreCase(\"asc\"));\n\t List<Map<String, Object>> list = dataMapper.selectDataPageByProvince(page, pageInfo.getCondition());\n\t pageInfo.setRows(list);\n\t pageInfo.setTotal(page.getTotal());\n\t}", "public void setProvinceName(Place somePlace) {\n /* don't need it. */\n if (somePlace.getAdmin1Name() != null) {\n return;\n }\n /* can't get it. no code */\n if (somePlace.getAdmin1() == null) {\n return;\n }\n\n Place adm1 = countries.getProvince(somePlace.getCountryCode(), somePlace.getAdmin1());\n if (adm1 != null) {\n somePlace.setAdmin1Name(adm1.getPlaceName());\n somePlace.setAdminName(adm1.getPlaceName());\n }\n }", "public int updateByPrimaryKey(HProvinceFb record) {\r\n int rows = getSqlMapClientTemplate().update(\"H_PROVINCE_FB.ibatorgenerated_updateByPrimaryKey\", record);\r\n return rows;\r\n }", "public void setBankProvinceId(Integer bankProvinceId) {\r\n this.bankProvinceId = bankProvinceId;\r\n }", "@Override\n\tpublic HqProvinceOrder getEntityByOpt(String province) {\n\t\tList<HqProvinceOrder> cpList = new ArrayList<HqProvinceOrder>();\n\t\tif(!province.isEmpty()) {\n\t\t\tSpecification<HqProvinceOrder> spec = new Specification<HqProvinceOrder>() {\n\t\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t\t@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.like(root.get(\"province\"), \"%\"+province+\"%\"));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}};\n\t\t\tcpList = hpDao.findAll(spec);\n\t\t\tif(cpList.size() > 0) {\n\t\t\t\treturn cpList.get(0);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn null;\n\t}", "public void setBankProvince(String bankProvince) {\r\n this.bankProvince = bankProvince == null ? null : bankProvince.trim();\r\n }", "public com.google.protobuf.StringValueOrBuilder getProvinceOrBuilder() {\n if (provinceBuilder_ != null) {\n return provinceBuilder_.getMessageOrBuilder();\n } else {\n return province_ == null ?\n com.google.protobuf.StringValue.getDefaultInstance() : province_;\n }\n }", "public void setNomProvincia(String nomProvincia);", "public void changeRegion(ValueChangeEvent valueChangeEvent) {\n WABEAN mybean = new WABEAN();\r\n mybean.AccessAttribute(\"Country\").setInputValue(null);// second level attribunte\r\n // makes also the third level attribute to null \r\n // mybean.AccessAttribute(\"City\").setInputValue(null);// thierd level no need to make it null\r\n }", "public String createProvincePre() throws Exception {\r\n\r\n province = new Province();\r\n return SUCCESS;\r\n }", "@Override\n\tpublic Provincia findById(final String province) {\n\t\treturn provincieRepository.findOne(province);\n\t}", "public Builder setProvince(\n com.google.protobuf.StringValue.Builder builderForValue) {\n if (provinceBuilder_ == null) {\n province_ = builderForValue.build();\n onChanged();\n } else {\n provinceBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public void setC_Region_ID (int C_Region_ID);", "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> \n getProvinceFieldBuilder() {\n if (provinceBuilder_ == null) {\n provinceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(\n getProvince(),\n getParentForChildren(),\n isClean());\n province_ = null;\n }\n return provinceBuilder_;\n }", "public String getLocationProvince() {\n return locationProvince;\n }", "@java.lang.Override\n public boolean hasProvince() {\n return province_ != null;\n }", "public String getStateProvinceFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.STATE_PROVINCE);\n }", "public void setDistrict(int district) { this.district = district; }", "public Integer getBankProvinceId() {\r\n return bankProvinceId;\r\n }", "@Override\n\tpublic Integer saveOrUpdate(HqProvinceOrder prov) {\n\t\treturn hpDao.save(prov).getId();\n\t}", "public void setReceiverProvince(String receiverProvince) {\n this.receiverProvince = receiverProvince;\n }", "public String getBankProvince() {\r\n return bankProvince;\r\n }", "public Long getProvinceCodeReside() {\n return provinceCodeReside;\n }", "public Long getProvinceCitiesCode() {\n return provinceCitiesCode;\n }", "public String getRegisterProvince() {\n return registerProvince;\n }", "@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.equal(root.get(\"province\"), province));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}", "public abstract void setProteins(Map<String, Protein> proteins);", "public Builder mergeProvince(com.google.protobuf.StringValue value) {\n if (provinceBuilder_ == null) {\n if (province_ != null) {\n province_ =\n com.google.protobuf.StringValue.newBuilder(province_).mergeFrom(value).buildPartial();\n } else {\n province_ = value;\n }\n onChanged();\n } else {\n provinceBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public String modifyProvince() throws Exception {\r\n\r\n if (null == province.getId() || null == province.getExclusiveKey()) {\r\n return ILLEGAL_ERR;\r\n }\r\n ProvinceBusiness provinceBusiness = new ProvinceBusiness();\r\n provinceBusiness.modifyProvinceInfo(province);\r\n if (provinceBusiness.hasErrors()) {\r\n setActionMessages(getMessageText(provinceBusiness.getErrors()));\r\n return INPUT;\r\n }\r\n\r\n return SUCCESS;\r\n }", "public Long getWishProvinceId() {\n return wishProvinceId;\n }", "public void setGender(Gender param) {\n this.localGender = param;\n }", "@Override\n\t\t\t\tpublic Predicate toPredicate(Root<HqProvinceOrder> root, CriteriaQuery<?> query, CriteriaBuilder cb) {\n\t\t\t\t\tPredicate pre = cb.conjunction();\n\t\t\t\t\tif(!province.isEmpty()) {\n\t\t\t\t\t\tpre.getExpressions().add(cb.like(root.get(\"province\"), \"%\"+province+\"%\"));\n\t\t\t\t\t}\n\t\t\t\t\treturn pre;\n\t\t\t}", "public Builder clearProvince() {\n if (provinceBuilder_ == null) {\n province_ = null;\n onChanged();\n } else {\n province_ = null;\n provinceBuilder_ = null;\n }\n\n return this;\n }", "public static Province getProvinceById(int provinceid)\n\t{\n\t\treturn Province.find.where().eq(\"provinceId\", provinceid).findUnique();\n\t}", "public void setDistrict(Integer district) {\n this.district = district;\n }", "public void setDistrict(Integer district) {\n this.district = district;\n }", "public void setBENEF_REGION(BigDecimal BENEF_REGION) {\r\n this.BENEF_REGION = BENEF_REGION;\r\n }", "public void setAddressCity(String addressCity) {\n this.addressCity = addressCity;\n }", "public void setCity(String city);", "List<ProvinceEntity> findAllByCountry (CountryEntity country);" ]
[ "0.7200745", "0.7200745", "0.71305287", "0.71305287", "0.71305287", "0.71159625", "0.71159625", "0.6642171", "0.6550487", "0.6510801", "0.6473051", "0.6473051", "0.6413273", "0.6125059", "0.6070098", "0.6002779", "0.5861107", "0.58448035", "0.57249045", "0.57155013", "0.57067305", "0.57067305", "0.5698534", "0.5698534", "0.5691882", "0.5691882", "0.5660279", "0.56228757", "0.5622531", "0.5622531", "0.5622531", "0.5550545", "0.5550545", "0.5550545", "0.5550545", "0.5550545", "0.5550545", "0.5550545", "0.5482908", "0.5478441", "0.54451436", "0.5378975", "0.533077", "0.5287048", "0.52703303", "0.52506477", "0.5199347", "0.51988566", "0.5195768", "0.5195768", "0.51912636", "0.5171675", "0.50987476", "0.50945026", "0.5075893", "0.5070618", "0.5063956", "0.50398016", "0.50181264", "0.5016408", "0.50138116", "0.50068", "0.49835226", "0.49645552", "0.49366418", "0.49203345", "0.48673838", "0.48431313", "0.48412523", "0.48408988", "0.48083213", "0.47897342", "0.473567", "0.4731295", "0.47268265", "0.47004688", "0.46889836", "0.46882734", "0.46767467", "0.46686453", "0.4654899", "0.46479094", "0.46278486", "0.46238104", "0.46030918", "0.4581333", "0.4574214", "0.4566677", "0.45568946", "0.45538947", "0.4552713", "0.4552713", "0.45361862", "0.45352325", "0.45171383", "0.45081425" ]
0.6613578
12
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.city
@ApiModelProperty(value = "所在-市") public String getCity() { return city; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCity() {\n return (String) get(\"city\");\n }", "public String getCity() {\r\n\t\treturn city;\r\n\t}", "public String getCity() {\r\n\t\treturn city;\r\n\t}", "public String getCity() {\r\n\t\treturn city;\t\t\r\n\t}", "public String getCity() {\n\t\treturn this.city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n return this.city;\n }", "public String getCity() {\n return this.city;\n }", "public String getCity() {\n return this.city;\n }", "public String getCity() {\r\n return city;\r\n }", "public String getCity() {\r\n return city;\r\n }", "public String getCity() {\r\n return city;\r\n }", "public String getCity() {\n return city;\n }", "public String getCity() \n\t{\n\t\treturn city;\n\t}", "public String getCity()\n\t{\n\t\treturn city;\n\t}", "public String getCity() {\n return city;\n }", "public Integer getCity() {\n return city;\n }", "public Integer getCity() {\n return city;\n }", "public String getCity() {\n return (String)getAttributeInternal(CITY);\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity()\n\t{\n\t\treturn City;\n\t\t\n\t}", "public java.lang.String getCity () {\n\t\treturn city;\n\t}", "public String getCity()\r\n\t{\r\n\t\treturn city.getModelObjectAsString();\r\n\t}", "public java.lang.String getCity() {\r\n return city;\r\n }", "public String getCity()\n {\n \treturn city;\n }", "public String getCity() {\n return City;\n }", "@Override\n\tpublic String getCity() {\n\t\treturn this.city;\n\t}", "public java.lang.String getCity() {\n return city;\n }", "public java.lang.String getCity() {\n return city;\n }", "public java.lang.String getCity() {\n return City;\n }", "public City getCity() {\n return city;\n }", "@Override\n public String getCity() {\n return this.city;\n }", "public String getLocationCity() {\n return locationCity;\n }", "@AutoEscape\n\tpublic String getCity();", "public String getCityId() {\n return cityId;\n }", "public String getHospitalCity() {\n return hospitalCity;\n }", "public String getCityName(){\n\t\treturn (String)this.entryMap.get(ObjectGeoKeys.OBJ_GEO_CITY_NAME);\n\t}", "public String getCity_id() {\n return city_id;\n }", "public Long getCityId() {\n return cityId;\n }", "public String getCityId() {\r\n return cityId;\r\n }", "public Long getCityagent() {\n return cityagent;\n }", "public Integer getCityId() {\n return cityId;\n }", "public Integer getCityId() {\n return cityId;\n }", "public Integer getCityid() {\n return cityid;\n }", "public String getCity(){\n return city;\n }", "public String getCity(){\n return city;\n }", "public CityEntry getCity(){\n\t\treturn (CityEntry)this.entryMap.get(ObjectGeoKeys.OBJ_GEO_CITY_LINK);\n\t}", "@SuppressWarnings(\"unused\")\n public Integer getCityID() { return cityID; }", "public Long getCityId() {\n\t\treturn cityId;\n\t}", "public String getCityName() {\n return cityName;\n }", "public String getCityName() {\n return cityName;\n }", "public String getCityname() {\n return cityname;\n }", "@Override\n\tpublic int getCityId() {\n\t\treturn _locMstLocation.getCityId();\n\t}", "public String getJobCity() {\r\n return jobCity;\r\n }", "public String getCityno() {\n return cityno;\n }", "public String getCityCode() {\n return cityCode;\n }", "public String getCityCode() {\n return cityCode;\n }", "public String getCityCode() {\n return (String)getAttributeInternal(CITYCODE);\n }", "public StrColumn getBookPublisherCity() {\n return delegate.getColumn(\"book_publisher_city\", DelegatingStrColumn::new);\n }", "public String getCompanyCity() {\n return companyCity;\n }", "public Short getCityId() {\r\n return cityId;\r\n }", "@Override\n\tpublic java.lang.String getCity() {\n\t\treturn _candidate.getCity();\n\t}", "public java.lang.String getCitycode() {\n\t\treturn _dmHistoryMaritime.getCitycode();\n\t}", "public Long getCitiesCityCode() {\n return citiesCityCode;\n }", "String getCity();", "public CustomerAddressQuery city() {\n startField(\"city\");\n\n return this;\n }", "public String getCityFieldName() {\n return getStringProperty(CITY_FIELD_NAME_KEY);\n }", "public String getSrcCity() {\r\n return (String) getAttributeInternal(SRCCITY);\r\n }", "public void setCity(String city){\n\t\tthis.city = city;\n\t}", "public void setCity (String city) {\n\t\tthis.city=city;\n\t}", "public void setCity(String city) {\r\n\t\tthis.city = city;\r\n\t}", "public void setCity(String city) {\r\n\t\tthis.city = city;\r\n\t}", "java.lang.String getCityName();", "public String getContactCity() {\n return contactCity;\n }", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n this.city = city;\n }", "public String getCreatecity() {\n return createcity;\n }", "public String getCorpCity() {\n return corpCity;\n }", "public void setCity(String city) {\r\n this.city = city;\r\n }", "public void setCity(String city) {\r\n this.city = city;\r\n }", "public void setCity(String city)\n\t{\n\t\tCity = city;\n\t}", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }" ]
[ "0.6917999", "0.6870865", "0.6870865", "0.684045", "0.68383604", "0.6793937", "0.6793937", "0.6793937", "0.6793937", "0.6793731", "0.6793731", "0.6793731", "0.67907333", "0.67907333", "0.67907333", "0.67756605", "0.676964", "0.6764188", "0.6757632", "0.67403424", "0.67403424", "0.67228997", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.671398", "0.6711935", "0.67118376", "0.67109185", "0.6679226", "0.66773236", "0.6669526", "0.6667588", "0.6657687", "0.6657687", "0.6612776", "0.659358", "0.65379095", "0.6506258", "0.64817834", "0.6467853", "0.64530617", "0.64435416", "0.64259124", "0.64164674", "0.6412686", "0.6392843", "0.6349828", "0.6349828", "0.6331564", "0.6304501", "0.6304501", "0.6304335", "0.62955725", "0.62814397", "0.6267666", "0.6267666", "0.62672144", "0.62594676", "0.6240373", "0.62343735", "0.6225107", "0.6225107", "0.6215856", "0.6154462", "0.6145859", "0.6140084", "0.61162305", "0.6100836", "0.610006", "0.60589975", "0.60408795", "0.60060537", "0.5996322", "0.5991928", "0.5976348", "0.5970628", "0.5970628", "0.59664816", "0.5944468", "0.5941936", "0.5941936", "0.5941936", "0.5941936", "0.59332037", "0.59299374", "0.5928836", "0.5926064", "0.5926064", "0.5922949", "0.59224504", "0.59224504", "0.59224504", "0.59224504", "0.59224504" ]
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.city
public void setCity(String city) { this.city = city == null ? null : city.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCity(City city) {\n this.city = city;\n }", "public void setCity(String city) {\r\n this.city = city;\r\n }", "public void setCity(String city) {\r\n this.city = city;\r\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city)\n\t{\n\t\tCity = city;\n\t}", "public void setCity(String city){\n\t\tthis.city = city;\n\t}", "public void setCity(String city){\n this.city = city;\n }", "public void setCity(City city) {\n\t\tthis.city = city;\n\t}", "public void setCity (String city) {\n\t\tthis.city=city;\n\t}", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\r\n\t\tthis.city = city;\r\n\t}", "public void setCity(String city) {\r\n\t\tthis.city = city;\r\n\t}", "public void setCity(String city);", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(java.lang.String city) {\r\n this.city = city;\r\n }", "public void setCity(Integer city) {\n this.city = city;\n }", "public void setCity(Integer city) {\n this.city = city;\n }", "public void setCity(java.lang.String city) {\n this.city = city;\n }", "public void setCity(java.lang.String city) {\n this.city = city;\n }", "public void setCity (java.lang.String city) {\n\t\tthis.city = city;\n\t}", "public void setCity(java.lang.String City) {\n this.City = City;\n }", "public void setCity(int tourPosition, City city) {\n tour.set(tourPosition, city);\n // If the tours been altered we need to reset the fitness and distance\n fitness = 0;\n distance = 0;\n }", "public void setLocationCity(String locationCity) {\n this.locationCity = locationCity;\n }", "public void setCity(String value) {\n setAttributeInternal(CITY, value);\n }", "public void setCityagent(Long cityagent) {\n this.cityagent = cityagent;\n }", "@Override\n public void setCity(String a) {\n this.city = a;\n }", "public void setAddressCity(String addressCity) {\n this.addressCity = addressCity;\n }", "@Override\n\tpublic void setCity(java.lang.String city) {\n\t\t_candidate.setCity(city);\n\t}", "public void setCity_id(String city_id) {\n this.city_id = city_id;\n }", "public void setJobCity(String jobCity) {\r\n this.jobCity = jobCity;\r\n }", "public void setCityId(Long cityId) {\n this.cityId = cityId;\n }", "public void setCityId(String cityId) {\n this.cityId = cityId;\n }", "public void setCityid(Integer cityid) {\n this.cityid = cityid;\n }", "public void setCityId(String cityId) {\r\n this.cityId = cityId;\r\n }", "public void setCityId(Integer cityId) {\n this.cityId = cityId;\n }", "public void setHospitalCity(String hospitalCity) {\n this.hospitalCity = hospitalCity == null ? null : hospitalCity.trim();\n }", "@Override\n\tpublic void update(City city) {\n\t\t\n\t\tString sql = \"UPDATE city SET name = ?, countrycode = ?, district =?, population = ? WHERE id = ?\";\n\t\n\t\t\n\t\tjdbcTemplate.update(sql, city.getName(), city.getCountryCode(), city.getDistrict(), city.getPopulation(), city.getId());\n\n\t}", "public String getCity() {\r\n\t\treturn city;\r\n\t}", "public String getCity() {\r\n\t\treturn city;\r\n\t}", "public String getCity() {\n return this.city;\n }", "public String getCity() {\n return this.city;\n }", "public String getCity() {\n return this.city;\n }", "public String getCity() {\r\n return city;\r\n }", "public String getCity() {\r\n return city;\r\n }", "public String getCity() {\r\n return city;\r\n }", "public boolean setCity(String someCity) {\n if (VMSPro.checkString(someCity)) {\n this.city = someCity;\n return true;\n }\n return false;\n }", "public String getCity() {\r\n\t\treturn city;\t\t\r\n\t}", "public void setCityname(String cityname) {\n this.cityname = cityname;\n }", "public void setCityKey( Long cityKey ) {\n this.cityKey = cityKey;\n }", "public String getCity() {\n return city;\n }", "public abstract void setCity(String sValue);", "public String getCity() {\n return city;\n }", "public String getCityId() {\n return cityId;\n }", "public String getCity_id() {\n return city_id;\n }", "public String getCityId() {\r\n return cityId;\r\n }", "public Address city(String city) {\n this.city = city;\n return this;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public String getCity() {\n return city;\n }", "public void setSrcCity(String value) {\r\n setAttributeInternal(SRCCITY, value);\r\n }", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public void setCity(String s) {\r\n\t\tstate = s;\t\t\r\n\t}", "public City getCity() {\n return city;\n }", "public Integer getCity() {\n return city;\n }", "public Integer getCity() {\n return city;\n }", "public Long getCityId() {\n return cityId;\n }", "public void setCorpCity(String corpCity) {\n this.corpCity = corpCity;\n }", "public String getCity()\n\t{\n\t\treturn city;\n\t}", "public String getCity() \n\t{\n\t\treturn city;\n\t}", "public void setCityName(String cityName) {\n this.cityName = cityName;\n }", "public void setCityName(String cityName) {\n this.cityName = cityName;\n }", "public String getCity() {\n return City;\n }", "public void setCurrentCity(City newCity) {\n\t\tcurrentCity = newCity;\n\t\tchange();\n\t}", "public void setCityFieldName(final String value) {\n setProperty(CITY_FIELD_NAME_KEY, value);\n }", "public String getCity() {\n\t\treturn this.city;\n\t}", "@SuppressWarnings(\"All\")\n void setCity(String city){\n prefs.edit().putString(\"city\", city).commit();\n }", "public Long getCityagent() {\n return cityagent;\n }", "public Integer getCityId() {\n return cityId;\n }" ]
[ "0.6877953", "0.68200105", "0.68200105", "0.6776421", "0.6776421", "0.6776421", "0.6776421", "0.6776421", "0.6776421", "0.67740774", "0.67734903", "0.6773374", "0.67689204", "0.67679733", "0.6757389", "0.6738895", "0.6738895", "0.66916007", "0.6660391", "0.6660391", "0.6660391", "0.6660391", "0.6642103", "0.6624843", "0.6624843", "0.6605676", "0.6605676", "0.65256894", "0.6523726", "0.6496971", "0.6349275", "0.62953943", "0.6195034", "0.6179696", "0.6167598", "0.6167082", "0.6117286", "0.6066973", "0.60504043", "0.60496867", "0.6026019", "0.6021346", "0.59753793", "0.59602314", "0.5912935", "0.59007746", "0.59007746", "0.5893254", "0.5893254", "0.5893254", "0.58875245", "0.58875245", "0.58875245", "0.5880239", "0.5872932", "0.585666", "0.5849409", "0.58457303", "0.5843609", "0.5836742", "0.58326054", "0.5812099", "0.5803229", "0.5801401", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5777499", "0.5775991", "0.57746553", "0.57746553", "0.57746553", "0.57746553", "0.57667655", "0.5756496", "0.5755056", "0.5755056", "0.5742789", "0.572431", "0.57195085", "0.5714149", "0.5711708", "0.5711708", "0.5711628", "0.5707988", "0.57033736", "0.56982285", "0.5683132", "0.56714183", "0.5665219" ]
0.62800294
36
This method was generated by MyBatis Generator. This method returns the value of the database column homage_genealogy.county
@ApiModelProperty(value = "所在-区") public String getCounty() { return county; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCounty() {\n return county;\n }", "public String getCounty() {\r\n return county;\r\n }", "public String getCounty()\n {\n \treturn county;\n }", "public Integer getCountyid() {\n return countyid;\n }", "public String getCountyFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.COUNTY);\n }", "public String getCountyname() {\n return countyname;\n }", "public String getCounty() {\n return mCounty;\n }", "public String getCounty_id() {\n return county_id;\n }", "public Long getCountyagent() {\n return countyagent;\n }", "public void setCounty(String county) {\r\n this.county = county;\r\n }", "public void setCounty(String county) {\n this.county = county;\n }", "@Override\n public String toString() {\n return getCounty();\n }", "public void setCounty_id(String county_id) {\n this.county_id = county_id;\n }", "public String getCountyCd() {\n\t\treturn countyCd;\n\t}", "public void setCountyid(Integer countyid) {\n this.countyid = countyid;\n }", "public void setCountyname(String countyname) {\n this.countyname = countyname;\n }", "public String getCouname() {\n return couname;\n }", "public void setCounty(String county) {\n this.county = county == null ? null : county.trim();\n }", "County selectByPrimaryKey(Long id);", "public java.lang.String getSzCdCounty()\r\n {\r\n return this._szCdCounty;\r\n }", "public void setCountyagent(Long countyagent) {\n this.countyagent = countyagent;\n }", "public StrColumn getCountry() {\n return delegate.getColumn(\"country\", DelegatingStrColumn::new);\n }", "public int getCountyTotalInfected(String countyName) {\n\n File file = new File(\"src/com/company/Data/Users.json\");\n\n if (file.exists()) {\n // Caso que o ficheiro exista\n try {\n JSONParser jsonParser = new JSONParser();\n JSONObject obj = (JSONObject) jsonParser.parse(new FileReader(file.getPath()));\n\n JSONArray listCounties = (JSONArray) obj.get(\"Counties\");\n\n JSONObject countyObj;\n\n for (int i = 0; i < listCounties.size(); i++) {\n countyObj = (JSONObject) listCounties.get(i);\n if (countyName.equals(countyObj.get(\"name\").toString())) {\n return Integer.parseInt(countyObj.get(\"infectedTot\").toString());\n }\n }\n } catch (ParseException e) {\n e.printStackTrace();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return -2;\n }", "public String getCountryFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.COUNTRY);\n }", "public void setCounselingField( String counselingField ) {\n this.counselingField = counselingField;\n }", "public Integer getTownHallLevel()\n\t{\n\t\treturn townHallLevel;\n\t}", "@ApiModelProperty(value = \"族谱ID\")\n public Long getGenealogyId() {\n return genealogyId;\n }", "public int getRegionalGISId() {\n return gisID_;\n }", "public Map<Entity, Integer> computeHyponymCountMap()\r\n\t{\n\t\treturn null;\r\n\t}", "public BigDecimal getBENEF_CITY() {\r\n return BENEF_CITY;\r\n }", "public Long getCityagent() {\n return cityagent;\n }", "public Integer getTownhallLevel()\n\t{\n\t\treturn townhallLevel;\n\t}", "public Integer getJiaoshibianhao() {\n return jiaoshibianhao;\n }", "int countByExample(CountyExample example);", "public String getNationality(){\n\t\treturn nationality;\n\t}", "public String getHospitalCity() {\n return hospitalCity;\n }", "int getGeneId();", "public java.lang.String getStudent_nationality() {\n\t\treturn _primarySchoolStudent.getStudent_nationality();\n\t}", "public String getHospitalCountry() {\n return hospitalCountry;\n }", "public String getCityName(){\n\t\treturn (String)this.entryMap.get(ObjectGeoKeys.OBJ_GEO_CITY_NAME);\n\t}", "public int getNOficina ()\r\n {\r\n return this.nOficina;\r\n }", "public String getRegionalGISName()\n {\n if (gisID_ == -1) {\n return null;\n }\n\n return gisName_;\n }", "public int getCityCountyStructCount()\r\n {\r\n return this._cityCountyStructList.size();\r\n }", "List<County> selectByExample(CountyExample example);", "@ApiModelProperty(value = \"族谱名\")\n public String getGenealogyName() {\n return genealogyName;\n }", "public String getCounty(long offset) throws IOException {\n\t\tdataBase.seek(offset);\n\t\tString[] array = dataBase.readLine().split(\"\\\\|\");\n\t\treturn array[5];\n\t}", "public Long getMainCount() {\n\t\tString sql_select_count=\"select count(main_id) as count from my_main\";\n\t\treturn (Long) jdbc.queryForMap(sql_select_count).get(\"count\");//Map的get方法\n\t}", "public int getChiave() {\n\t\treturn chiave;\n\t}", "int getIndividualStamina();", "public String getNyukinsakicd() {\r\n return nyukinsakicd;\r\n }", "public String getGeneName(int row);", "public double getGene(int x)\n {\n return this.vectOfCoef.get(x);\n }", "public String getCheflieuregion() {\n return (String) getAttributeInternal(CHEFLIEUREGION);\n }", "public java.lang.String getStudent_oversea() {\n\t\treturn _primarySchoolStudent.getStudent_oversea();\n\t}", "public String getCity() {\n return (String)getAttributeInternal(CITY);\n }", "public com.apatar.cdyne.ws.demographix.CensusInfoWithDataSet getNeighborhoodAgeGenderFemaleInDataSet(java.lang.String stateAbbrev, java.lang.String placeID) throws java.rmi.RemoteException;", "public String getNationality() {\r\n\t\treturn nationality;\r\n\t}", "public int getCityCount() {\n\t\treturn cityCount;\n\t}", "public int getHouse_number() {\n return house_number;\n }", "public int getHzyf() {\n\t\treturn this.hzyf;\n\t}", "public Integer getCountry() {\n return country;\n }", "public Integer getCountry() {\n return country;\n }", "public Integer getCity() {\n return city;\n }", "public Integer getCity() {\n return city;\n }", "String getContinentName();", "@Basic\n @Column(name = \"population\", nullable = true)\n public Integer getPopulation() {\n return population;\n }", "public String getCouseName() {\n return couseName;\n }", "@Override\r\n\tpublic int getGeunTaeCnt(HashMap<String, String> params) {\n\t\treturn sqlsession.selectOne(\"GeuntaeMgnt.getGeunTaeCnt\",params);\r\n\t}", "public int getSoupKitchenCount() {\n\n MapSqlParameterSource params = new MapSqlParameterSource();\n //here we want to get total from food pantry table\n String sql = \"SELECT COUNT(*) FROM cs6400_sp17_team073.Soup_kitchen\";\n\n Integer skcount = jdbc.queryForObject(sql,params,Integer.class);\n\n return skcount;\n }", "public Long getCitiesCityCode() {\n return citiesCityCode;\n }", "public String getDIA_CHI()\n {\n return this.DIA_CHI;\n }", "public gov.georgia.dhr.dfcs.sacwis.structs.output.CityCountyStruct[] getCityCountyStruct()\r\n {\r\n int size = this._cityCountyStructList.size();\r\n gov.georgia.dhr.dfcs.sacwis.structs.output.CityCountyStruct[] array = new gov.georgia.dhr.dfcs.sacwis.structs.output.CityCountyStruct[size];\r\n for (int index = 0; index < size; index++){\r\n array[index] = (gov.georgia.dhr.dfcs.sacwis.structs.output.CityCountyStruct) _cityCountyStructList.get(index);\r\n }\r\n \r\n return array;\r\n }", "public String getCuisine(){\n return cuisine;\n }", "public Integer getSex() {\n return sex;\n }", "public Integer getSex() {\n return sex;\n }", "public Integer getSex() {\n return sex;\n }", "public Integer getSex() {\n return sex;\n }", "public Integer getSex() {\n return sex;\n }", "public String getSpecialty() {\r\n\t\treturn specialty;\r\n\t}", "@AutoEscape\n\tpublic String getNationality();", "public void addInfectedCounty(String county) {\n\n File file = new File(\"src/com/company/Data/Users.json\");\n\n if (file.exists()) {\n // Caso que o ficheiro exista\n try {\n JSONParser jsonParser = new JSONParser();\n JSONObject obj = (JSONObject) jsonParser.parse(new FileReader(file.getPath()));\n\n JSONArray listCounties = (JSONArray) obj.get(\"Counties\");\n\n JSONObject countyObj;\n boolean found = false;\n\n for (int i = 0; !found && i < listCounties.size(); i++) {\n countyObj = (JSONObject) listCounties.get(i);\n\n if (countyObj.get(\"name\").equals(county)) {\n found = true;\n int totalAdd = Integer.parseInt(countyObj.get(\"infectedTot\").toString()) + 1;\n\n ((JSONObject) listCounties.get(i)).put(\"infectedTot\", totalAdd);\n }\n\n }\n\n JSONArray unregisteredUsers = (JSONArray) obj.get(\"UnregisteredUsers\");\n JSONArray register = (JSONArray) obj.get(\"Registry\");\n\n JSONObject objWrite = new JSONObject();\n\n objWrite.put(\"UnregisteredUsers\", unregisteredUsers);\n objWrite.put(\"Registry\", register);\n objWrite.put(\"Counties\", listCounties);\n\n FileWriter fileWriter = new FileWriter(file.getPath());\n\n fileWriter.write(objWrite.toJSONString());\n\n fileWriter.close();\n\n } catch (ParseException e) {\n e.printStackTrace();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }", "@AutoEscape\n\tpublic String getCity();", "public String getStateProvinceFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.STATE_PROVINCE);\n }", "@Override\r\n\tpublic Integer getBind_house_cnt() {\n\t\treturn super.getBind_house_cnt();\r\n\t}", "public double getPopulation () { return n.getPopulation(); }", "public int getClientCountyPort(Client client) {\n\n File file = new File(\"src/com/company/Data/Users.json\");\n\n if (file.exists()) {\n // Caso o ficheiro exista\n try {\n JSONParser jsonParser = new JSONParser();\n JSONObject obj = (JSONObject) jsonParser.parse(new FileReader(file.getPath()));\n\n JSONArray listCounties = (JSONArray) obj.get(\"Counties\");\n\n JSONObject countyObj;\n\n for (int i = 0; i < listCounties.size(); i++) {\n countyObj = (JSONObject) listCounties.get(i);\n if (client.getCounty().equals(countyObj.get(\"name\").toString())) {\n return Integer.parseInt(countyObj.get(\"port\").toString());\n }\n }\n } catch (ParseException e) {\n e.printStackTrace();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return -1;\n }", "@Override\n\tpublic Map<String, Object> getSchool() {\n\t\treturn getSession().selectOne(getNamespace() + \"getSchool\");\n\t}", "public Integer getSex() {\r\n return sex;\r\n }", "public com.apatar.cdyne.ws.demographix.CensusInfoWithDataSet getNeighborhoodAgeInDataSet(java.lang.String stateAbbrev, java.lang.String placeID) throws java.rmi.RemoteException;", "java.lang.String getCityName();", "public String getCityCode() {\n return (String)getAttributeInternal(CITYCODE);\n }", "private HashMap<String, Integer> getDataBaseCountryPop(Connection conn) {\n // SQL SELECT Query\n String SELECT_COUNTRY_POPULATION = \"SELECT cy.CountryName, SUM(c.Population) as TotalPopulation FROM City c\\n\" +\n \"JOIN State s ON c.StateId = s.StateId\\n\" +\n \"JOIN Country cy ON s.CountryId = cy.CountryId\\n\" +\n \"GROUP BY cy.CountryName\";\n\n HashMap<String, Integer> countryPopMap = new HashMap<String, Integer>();\n\n PreparedStatement statement = null;\n\n try {\n statement = conn.prepareStatement(SELECT_COUNTRY_POPULATION);\n ResultSet rs = statement.executeQuery();\n while (rs.next()) {\n String countryName = rs.getString(\"CountryName\");\n int population = rs.getInt(\"TotalPopulation\");\n countryPopMap.put(countryName, population);\n }\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n// for (String s : countryPopMap.keySet()) {\n// System.out.println(s + \" \" + countryPopMap.get(s));\n// }\n// System.out.println(\"Number of Countries in DB: \" + countryPopMap.size());\n\n return countryPopMap;\n }", "public String toStr() {\n\t\treturn getCollege();\n\t}", "@Override\r\n\tpublic String getBind_house_ind() {\n\t\treturn super.getBind_house_ind();\r\n\t}", "public com.apatar.cdyne.ws.demographix.CensusInfoWithDataSet getNeighborhoodAgeGenderMaleInDataSet(java.lang.String stateAbbrev, java.lang.String placeID) throws java.rmi.RemoteException;", "public int getC_Region_ID();", "public String university() {\n return faker.fakeValuesService().resolve(\"educator.name\", this, faker) \n + \" \" \n + faker.fakeValuesService().resolve(\"educator.tertiary.type\", this, faker);\n }", "public String getCityno() {\n return cityno;\n }", "java.lang.String getRegisteredOfficeCity();", "public String getCouncil() {\n return council;\n }" ]
[ "0.6522816", "0.6517964", "0.64968985", "0.64653176", "0.63346833", "0.6240758", "0.62235636", "0.61959803", "0.5982106", "0.59307796", "0.59196466", "0.5802208", "0.5722518", "0.5672815", "0.56368583", "0.54445857", "0.5342407", "0.52805763", "0.5136963", "0.51001376", "0.5087156", "0.49351156", "0.48617736", "0.4795363", "0.4756025", "0.4607235", "0.4605393", "0.46023366", "0.45700806", "0.4563834", "0.45559546", "0.45211262", "0.4517193", "0.45053232", "0.44976604", "0.44942737", "0.448981", "0.4481908", "0.44677544", "0.44626558", "0.4440151", "0.44330072", "0.4421441", "0.4417828", "0.4416604", "0.44163698", "0.44152966", "0.4412115", "0.43999574", "0.43967015", "0.43841296", "0.43832806", "0.43740848", "0.43588433", "0.43180367", "0.43144873", "0.43116456", "0.43059108", "0.43032163", "0.43002653", "0.42983916", "0.42983916", "0.42981178", "0.42981178", "0.42980883", "0.4296887", "0.4296419", "0.42859688", "0.4262183", "0.42574978", "0.4257131", "0.42537427", "0.42494136", "0.42485598", "0.42485598", "0.42485598", "0.42485598", "0.42485598", "0.42454466", "0.42437172", "0.42428046", "0.423794", "0.42288554", "0.42277968", "0.42239913", "0.42220995", "0.42174467", "0.42152154", "0.42109424", "0.42008877", "0.41987967", "0.41978472", "0.41973004", "0.41938698", "0.41933152", "0.41917393", "0.41908377", "0.4189731", "0.4189231", "0.41889548" ]
0.5612279
15
This method was generated by MyBatis Generator. This method sets the value of the database column homage_genealogy.county
public void setCounty(String county) { this.county = county == null ? null : county.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCounty(String county) {\r\n this.county = county;\r\n }", "public void setCounty(String county) {\n this.county = county;\n }", "public void setCountyid(Integer countyid) {\n this.countyid = countyid;\n }", "public void setCounty_id(String county_id) {\n this.county_id = county_id;\n }", "public void setCountyname(String countyname) {\n this.countyname = countyname;\n }", "public void setCountyagent(Long countyagent) {\n this.countyagent = countyagent;\n }", "public Integer getCountyid() {\n return countyid;\n }", "public String getCounty() {\r\n return county;\r\n }", "public String getCounty() {\n return county;\n }", "public String getCounty_id() {\n return county_id;\n }", "public String getCounty()\n {\n \treturn county;\n }", "public Long getCountyagent() {\n return countyagent;\n }", "public void setNY(int ny){\n newY=ny;\n }", "public void setCounselingField( String counselingField ) {\n this.counselingField = counselingField;\n }", "public String getCountyname() {\n return countyname;\n }", "public String getCounty() {\n return mCounty;\n }", "int updateByExampleSelective(County record, CountyExample example);", "int updateByPrimaryKeySelective(County record);", "@ApiModelProperty(value = \"所在-区\")\n public String getCounty() {\n return county;\n }", "int updateByExample(County record, CountyExample example);", "public String getCountyFeature() {\n\n return (String) this.getAdditionalTagValue(\n GeographicErrorTest.MAPPED_FEATURE_TAG_ID, BGConcepts.COUNTY);\n }", "int updateByPrimaryKey(County record);", "public void addInfectedCounty(String county) {\n\n File file = new File(\"src/com/company/Data/Users.json\");\n\n if (file.exists()) {\n // Caso que o ficheiro exista\n try {\n JSONParser jsonParser = new JSONParser();\n JSONObject obj = (JSONObject) jsonParser.parse(new FileReader(file.getPath()));\n\n JSONArray listCounties = (JSONArray) obj.get(\"Counties\");\n\n JSONObject countyObj;\n boolean found = false;\n\n for (int i = 0; !found && i < listCounties.size(); i++) {\n countyObj = (JSONObject) listCounties.get(i);\n\n if (countyObj.get(\"name\").equals(county)) {\n found = true;\n int totalAdd = Integer.parseInt(countyObj.get(\"infectedTot\").toString()) + 1;\n\n ((JSONObject) listCounties.get(i)).put(\"infectedTot\", totalAdd);\n }\n\n }\n\n JSONArray unregisteredUsers = (JSONArray) obj.get(\"UnregisteredUsers\");\n JSONArray register = (JSONArray) obj.get(\"Registry\");\n\n JSONObject objWrite = new JSONObject();\n\n objWrite.put(\"UnregisteredUsers\", unregisteredUsers);\n objWrite.put(\"Registry\", register);\n objWrite.put(\"Counties\", listCounties);\n\n FileWriter fileWriter = new FileWriter(file.getPath());\n\n fileWriter.write(objWrite.toJSONString());\n\n fileWriter.close();\n\n } catch (ParseException e) {\n e.printStackTrace();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }", "public void setGene(int x, double value)\n {\n this.vectOfCoef.set(x, value);\n }", "void insertSelective(County record);", "public String getCountyCd() {\n\t\treturn countyCd;\n\t}", "@Override\n public String toString() {\n return getCounty();\n }", "public void setGeoCoordinate(GeoCoordinate geoCoordinate) {\n\t\tthis.geoCoordinate = geoCoordinate;\n\t}", "@Override\n\tpublic int updateAgencyValue(int strId, String agencyname, String city, String state) {\n\t\tlogger.debug(\"=====START AdminDAOImpl updateAgencyValue======\");\n\t\tSession session = null;\n\t\tint result=0;\n\t\ttry {\n\t\tsession = sessionFactory.openSession();\t\n\t\tQuery query=session.createQuery(\"UPDATE AgencyMaster as a SET a.statename=:newstate,a.cityname=:newcity where a.id=:newId\");\n\t\tquery.setParameter(\"newstate\", state);\n\t\tquery.setParameter(\"newcity\", city);\n\t\tquery.setParameter(\"newId\", strId);\n\t\tresult=query.executeUpdate();\n\t\t} catch (HibernateException he) {\n\t\t\tlogger.error(\"Exception occured while updating agency:\"\n\t\t\t\t\t+ he.getMessage());\n\t\t\tthrow new ERPException(\n\t\t\t\t\t\"Exception occured while updating agency:\"\n\t\t\t\t\t\t\t+ he.getMessage());\n\t\t} catch (ERPException erp) {\n\t\t\tlogger.error(\"Exception occured while updating agency:\"\n\t\t\t\t\t+ erp.getMessage());\n\t\t\tthrow new ERPException(\"Error while updating agency\");\n\t\t} catch (Exception e) {\n\t\t} finally {\n\t\t\tsession.close();\n\t\t}\n\t\tlogger.debug(\"=====END AdminDAOImpl updateAgencyValue======\");\n\t\treturn result;\n\t}", "public void setCity(String city);", "public void setCouname(String couname) {\n this.couname = couname == null ? null : couname.trim();\n }", "County selectByPrimaryKey(Long id);", "public void setMySpeciesIdentifier(int mySpeciesIdentifier) {\n this.mySpeciesIdentifier = mySpeciesIdentifier;\n }", "public void setCountable(Boolean countable) {\n\t this.countable = countable;\n\t}", "public void setNationality(String nationality);", "public void setCityagent(Long cityagent) {\n this.cityagent = cityagent;\n }", "public void setUserCount(int count)\n\t{\n\t\t// conference-state and its user-count child aren't mandatory\n\t\tif (userCount != null) {\n\t\t\tuserCount.setTextContent(Integer.toString(count));\n\t\t}\n\t\telse {\n\t\t\tif (conferenceState == null) {\n\t\t\t\tconferenceState = document.createElement(CONFERENCE_STATE_ELEMENT_NAME);\n\t\t\t\tconferenceInfo.appendChild(conferenceState);\n\t\t\t}\n\n\t\t\tuserCount = document.createElement(USER_COUNT_ELEMENT_NAME);\n\t\t\tuserCount.setTextContent(Integer.toString(count));\n\t\t\tconferenceState.appendChild(userCount);\n\t\t}\n\t}", "public void setEAIndividual(AbstractEAIndividual indy) {\n this.m_Indy = indy;\n }", "public void changeRegion(ValueChangeEvent valueChangeEvent) {\n WABEAN mybean = new WABEAN();\r\n mybean.AccessAttribute(\"Country\").setInputValue(null);// second level attribunte\r\n // makes also the third level attribute to null \r\n // mybean.AccessAttribute(\"City\").setInputValue(null);// thierd level no need to make it null\r\n }", "public void setCount(java.math.BigInteger count)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COUNT$8);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COUNT$8);\n }\n target.setBigIntegerValue(count);\n }\n }", "public void setChiave(int val) {\n\t\tchiave = val;\n\t}", "public abstract void setCity(String sValue);", "public void setSzCdCounty(java.lang.String szCdCounty)\r\n {\r\n this._szCdCounty = szCdCounty;\r\n }", "public void setCityCount(int cityCount) {\n\t\tthis.cityCount = cityCount;\n\t}", "public void setCity(int tourPosition, City city) {\n tour.set(tourPosition, city);\n // If the tours been altered we need to reset the fitness and distance\n fitness = 0;\n distance = 0;\n }", "public void setMaximumHHOccumpancyPerField(int num) {\n this.maximum_occupancy_Threshold = num;\n }", "public void setGenealogyId(Long genealogyId) {\n this.genealogyId = genealogyId;\n }", "void insert(County record);", "protected void onChange_BirthProbability() {\n onChange_BirthProbability_xjal( BirthProbability );\n }", "public void setAddressCity(String addressCity) {\n this.addressCity = addressCity;\n }", "@Override\n\tpublic void setOccupant(HousePerson h) {\n\t\thouseperson = h;\n\t}", "public Gel_BioInf_Models.ChiSquare1KGenomesPhase3Pop.Builder setChiSquare(float value) {\n validate(fields()[2], value);\n this.chiSquare = value;\n fieldSetFlags()[2] = true;\n return this; \n }", "public void setCity(String s) {\r\n\t\tstate = s;\t\t\r\n\t}", "@Override\n\tpublic void update(City city) {\n\t\t\n\t\tString sql = \"UPDATE city SET name = ?, countrycode = ?, district =?, population = ? WHERE id = ?\";\n\t\n\t\t\n\t\tjdbcTemplate.update(sql, city.getName(), city.getCountryCode(), city.getDistrict(), city.getPopulation(), city.getId());\n\n\t}", "protected void onChange_InitPopulation() {\n onChange_InitPopulation_xjal( InitPopulation );\n }", "public static void SetSchool() {\n\t\tcfg =new Configuration().configure(\"com/HQLSelectQuery/hibernate.cfg.xml\");\n\t\tsf = cfg.buildSessionFactory();\n\t\tsession = sf.openSession();\n\t\t\n\t\t\n\t}", "public void setHighscore(int score)\n {\n this.highscore = score;\n }", "public void setC_Region_ID (int C_Region_ID);", "public void setyCoordinate(int yCoordinate) {\n this.yCoordinate = yCoordinate;\n }", "public void setyCoordinate(double yCoordinate) {\n this.yCoordinate = yCoordinate;\n }", "public QueryPolymorphismSiteSetter() {\n super(\"org.tair.db.locusdetail\", 2147483647);\n }", "public String getCouname() {\n return couname;\n }", "public void setCity(Integer city) {\n this.city = city;\n }", "public void setCity(Integer city) {\n this.city = city;\n }", "public UpdatePolymorphismSiteSetter() {\n super(\"org.tair.db.locusdetail\", 2147483647);\n }", "public void setHijoIzq (nodeTree pHIzq){\n this._hIzq=pHIzq;\n }", "public void setGi(java.math.BigInteger gi)\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(GI$22, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GI$22);\r\n }\r\n target.setBigIntegerValue(gi);\r\n }\r\n }", "public void setOutdoorUmidity(Double outdoorUmidity) {\n this.outdoorUmidity = outdoorUmidity;\n }", "public abstract void updateUpgradeValue(User user, Island island);", "@Test\r\n public void testSetNationality() {\r\n System.out.println(\"setNationality\");\r\n String nationality = null;\r\n Interviewee instance = new Interviewee();\r\n instance.setNationality(nationality);\r\n // TODO review the generated test code and remove the default call to fail.\r\n \r\n }", "@IcalProperty(pindex = PropertyInfoIndex.GEO,\n eventProperty = true,\n todoProperty = true)\n public void setGeo(final BwGeo val) {\n geo = val;\n }", "void setFitnessScore(double score){\n fitnessScore = score;\n }", "@ApiModelProperty(value = \"族谱ID\")\n public Long getGenealogyId() {\n return genealogyId;\n }", "public void setNumberOfAnimalSpecies(int numberOfAnimalSpecies) {\n\t\tthis.numberOfAnimalSpecies = numberOfAnimalSpecies;\n\t}", "public abstract void setProteins(Map<String, Protein> proteins);", "public void setRegionid(int newValue) {\n\tthis.regionid = newValue;\n}", "private void fillCountyManager(CountyManager cmr,CountyManagerForm countyManager) {\n\t\tCounty county = countyDao.findUniqueBy(\"countyId\", countyManager.getCountyId());\n\t\tcmr.setCounty(county);\n\t}", "public void setNyukinsakicd(String nyukinsakicd) {\r\n this.nyukinsakicd = nyukinsakicd;\r\n }", "public void setCountryId(int value);", "protected void setChiSquare(double chiSq) {\n\tthis.chiSq = chiSq;\n }", "public void setSex(java.lang.String param) {\r\n localSexTracker = param != null;\r\n\r\n this.localSex = param;\r\n }", "public void setCity(City city) {\n this.city = city;\n }", "public void setJiaoshibianhao(Integer jiaoshibianhao) {\n this.jiaoshibianhao = jiaoshibianhao;\n }", "public InsertPolymorphismSiteSetter() {\n super(\"org.tair.db.locusdetail\", 2147483647);\n }", "public void setOccupancy(int value) {\n this.occupancy = value;\n }", "public void setNationality(String nationality){\n\t\tthis.nationality = nationality;\n\t}", "public void setNOficina (Integer pNOficina)\r\n {\r\n this.nOficina=pNOficina;\r\n }", "public baconhep.TTau.Builder setNSignalChHad(long value) {\n validate(fields()[7], value);\n this.nSignalChHad = value;\n fieldSetFlags()[7] = true;\n return this; \n }", "public void setORM_Fac_has_university(model.University value) {\n\t\tthis.fac_has_university = value;\n\t}", "public void setCity(String value) {\n setAttributeInternal(CITY, value);\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public void setCounselType( Short counselType ) {\n this.counselType = counselType;\n }", "public abstract void setInChI(String inchi);", "@Override\n public void setCity(String a) {\n this.city = a;\n }", "public void setUserSex(Byte userSex) {\r\n this.userSex = userSex;\r\n }", "public final void setSpeciesID(final int i) {\r\n\t\tthis.speciesID = i;\r\n\t}", "public int getRegionalGISId() {\n return gisID_;\n }", "void update(String selectedGene);", "public Long getCityagent() {\n return cityagent;\n }", "@Test\n public void TestSetContinentName() {\n\n continent.setContinentName(\"Asia\");\n }" ]
[ "0.67870796", "0.6703173", "0.6461634", "0.6300074", "0.6169375", "0.5992943", "0.5594419", "0.5474403", "0.5447666", "0.54101837", "0.53164953", "0.527014", "0.5243082", "0.5212459", "0.5211088", "0.49603406", "0.494772", "0.49308735", "0.49019465", "0.48503324", "0.48079", "0.4777717", "0.47616893", "0.46956155", "0.46251485", "0.4623192", "0.46023163", "0.4519983", "0.44847518", "0.4481244", "0.4476881", "0.44575882", "0.44506392", "0.44501302", "0.44097993", "0.44047084", "0.4395034", "0.4380611", "0.43607336", "0.43401337", "0.43014514", "0.42991507", "0.42865863", "0.428539", "0.42801273", "0.42779118", "0.42710352", "0.42647642", "0.42498434", "0.4235985", "0.42170814", "0.42159992", "0.421542", "0.42146313", "0.42088434", "0.42002806", "0.41898322", "0.41804022", "0.4167532", "0.41595635", "0.41539574", "0.41509482", "0.41469532", "0.41469532", "0.41447252", "0.41429627", "0.41396594", "0.4118885", "0.41155282", "0.4114175", "0.41116396", "0.4108303", "0.41061077", "0.4104472", "0.40947986", "0.40897402", "0.40874618", "0.40868416", "0.40859532", "0.40859202", "0.40810302", "0.40733394", "0.40717393", "0.40682453", "0.40649524", "0.40643123", "0.4056393", "0.4044615", "0.4041566", "0.4035994", "0.40305495", "0.40302515", "0.4025863", "0.40154555", "0.40120462", "0.40085", "0.39995477", "0.39991748", "0.3999047", "0.39903635" ]
0.60610455
5