query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
50371ff4044c3ac6936195914a7e3022
JUnit4 Test Setup Code
[ { "docid": "1dd2a572aa702687e2e45203fe681f01", "score": "0.0", "text": "@BeforeClass\n\tpublic static void setUpBeforeClass() throws Exception {\n\t\t//System.out.println( CustomerTest.class.getSimpleName() + \".setUpBeforeClass() called.\" );\n\t}", "title": "" } ]
[ { "docid": "1fbf26953d1d9b1786a5a0d0edb1b028", "score": "0.80596715", "text": "public void setUp() {\n }", "title": "" }, { "docid": "63a60a05194d83e4fc019392c259ed45", "score": "0.8034218", "text": "protected void setUp() {\n }", "title": "" }, { "docid": "757f709f...
dcf087215ed0892b54c3d5e608854992
Creating a HashSet of elements Copy builder
[ { "docid": "740ccaf5d17078093a4af4a653ec56bc", "score": "0.0", "text": "public Layer(HashSet<GIS_element> hs) {\r\n\t\tthis.hs=hs;\r\n\t}", "title": "" } ]
[ { "docid": "7d11645e351a3c2f28b89370e6160a71", "score": "0.67080945", "text": "public void copyValues(){\n System.out.println(\"Removing Values into List\");\n HashSet<String> hash_Set = new HashSet<String>();\n hash_Set.add(\"Java\");\n hash_Set.add(\"C\");\n hash_Set.add(\"C++\");\n ...
8f26dbe1ffe3bc4c9661c12e4f126460
Returns all of the activities that are in the DB
[ { "docid": "53ecde8f82af16d7922367ab8578a361", "score": "0.75580084", "text": "public ArrayList<String> getAllActivities() {\n SQLiteDatabase db = this.getReadableDatabase();\n cursor = db.rawQuery(GET_ALL_ACTIVITIES, null);\n int birdActivityColumnIndex = cu...
[ { "docid": "ca8fea1c979d97cb9787468df144b4b4", "score": "0.76565003", "text": "public List<Activity> viewAllActivities() {\r\n\t\tConnectionPoolManager con = new ConnectionPoolManager();\r\n\t\tList<Activity> activitys = new ArrayList<Activity>();\r\n\t\tactivitys = ActivitysDBManager.getInstance().getA...
c65894cf81e21e16d3239e837f5e56cf
$ANTLR end "rule__ETimeInterval__Group__0__Impl" $ANTLR start "rule__ETimeInterval__Group__1" InternalAADMParser.g:10374:1: rule__ETimeInterval__Group__1 : rule__ETimeInterval__Group__1__Impl ;
[ { "docid": "17f6222e1eea6a669a4daf1cc08673ba", "score": "0.79824847", "text": "public final void rule__ETimeInterval__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10378:1: ( rule__ETimeInterval__G...
[ { "docid": "1ea870fec499cbec0b31f4e65b5f9147", "score": "0.8011528", "text": "public final void rule__ETimeInterval__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10389:1: ( ( ( rule__ETimeIn...
514bdb7da8fb061e19725fa9cfd4a835
Method which carries out tasks which should run before deleting a claim.
[ { "docid": "b63e24ae53f9d41d3e514a4474f4aac6", "score": "0.6866323", "text": "boolean doPreDeleteClaim(String claimUri, String tenantDomain) throws ClaimMetadataException;", "title": "" } ]
[ { "docid": "1552338b870e442b54aa7161829d9bc9", "score": "0.66235423", "text": "@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)\r\n \t\tprivate void onClaimDeleted(ClaimDeletedEvent e) {\n \t\t\tnew GriefPreventionClaim78(e.getClaim().getID()).remove();\r\n \t\t}", "title": ""...
190b9c24591dd09d18b40344c56005a6
.msggamedata.MsgClanFestivalData my_clan_festival_data = 1;
[ { "docid": "9e90b904378bf96f89bbec0067631af4", "score": "0.0", "text": "public boolean hasMyClanFestivalData() {\n return myClanFestivalData_ != null;\n }", "title": "" } ]
[ { "docid": "0f3fdf449c8a54f54f08e91a45e4649d", "score": "0.690518", "text": "com.felania.msldb.MsgClanFestivalDataOuterClass.MsgClanFestivalData getMyClanFestivalData();", "title": "" }, { "docid": "d70a110f5ba11c840ed31c7377799096", "score": "0.64611214", "text": "com.felania.msldb....
30615aa4a4e3a2f28570de59941ae614
Helper macros to build the effective address EA = zero page address
[ { "docid": "31c1675b2d7a4eb74ba755c3c6e6383e", "score": "0.0", "text": "public static void EA_ZPG() {\n m6502.zp.SetL(RDOPARG());\n m6502.ea.SetD(m6502.zp.D);\n }", "title": "" } ]
[ { "docid": "3a6d059ebdc8703f5320a51faea620f5", "score": "0.5893704", "text": "@Override\r\n\tpublic int createAddress(Address address) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "c793ee5e2e4f65f410e9b1d5dd844557", "score": "0.55938715", "text": "long address();", "title"...
5e65fbc3511a95f6df89803851dfdcc4
Returns the response that created this object.
[ { "docid": "fe72e9ca32b254a80c93f3d94f2c787a", "score": "0.72037655", "text": "public RestResponse response() {\n\t\treturn response;\n\t}", "title": "" } ]
[ { "docid": "5a1b9af15b7740aee24f473222b0157d", "score": "0.77501994", "text": "public Object GetResponse() {\n\t\treturn response;\n\t}", "title": "" }, { "docid": "ecf4108ec688a4a4a5922df2f35cd0e7", "score": "0.74566096", "text": "Response createResponse();", "title": "" }, ...
58802306497ff7e3805473a11b4e57b3
Returns the number of assesses where uuid = &63; and companyId = &63;.
[ { "docid": "600442cbfc6483d927a9312267f234a9", "score": "0.68519247", "text": "public static int countByUuid_C(java.lang.String uuid, long companyId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().countByUuid_C(uuid, companyId);\n\t}", "title": "" } ...
[ { "docid": "a40e7d84445755a41543eb58577413f4", "score": "0.8129674", "text": "public int countByUuid_C(String uuid, long companyId);", "title": "" }, { "docid": "a40e7d84445755a41543eb58577413f4", "score": "0.8129674", "text": "public int countByUuid_C(String uuid, long companyId);",...
01a7c08aae0911d251af7ea15f222c97
Method when button clicked runs moonshine/Option 2 command Depending on the room option gives different command
[ { "docid": "b74e0336920ce459f2eb6ff959c7d14a", "score": "0.7305121", "text": "private void moonshine1 (MouseEvent evt) \n {\n if (player.getCurrentRoom() == exploreAmerica)\n {\n \n command = new Command(\"go\", \"moonshine\");\n \n processCommand(...
[ { "docid": "051ade7115433607276057413ef91840", "score": "0.6900119", "text": "private void mudding1 (MouseEvent evt) \n {\n if (player.getCurrentRoom() == exploreAmerica)\n {\n command = new Command(\"go\", \"mudding\");\n }\n if (player.getC...
5e3f5edbaf530663826388dadb2b1ea6
this label will be used together with a running number for all objects (that are to be tested) to identify them in the output
[ { "docid": "d79c51d7d3f9f72c7ab1a6f9c495bad1", "score": "0.5819186", "text": "public String getObjectsLabel()\r\n {\r\n return objectsLabel;\r\n }", "title": "" } ]
[ { "docid": "e43c4d1624a2f01c3ed773b2162c213f", "score": "0.64256185", "text": "void updateIterationsLabel()\r\n {\r\n int numberOfIterations = this.parentUIElement.getGameInstance().getNumberOfIterations();\r\n this.numberOfIterationsLabel.setText(\"\" + numberOfIterations);\r\n }", "t...
3916675b72ab123dc96261198da5630e
Create a task wrapper for callable tasks.
[ { "docid": "7b6b4938ea55f215ad3142c910a11d69", "score": "0.7970273", "text": "public <V> ITaskWrapper newWrapper(Callable<V> task, ITaskResultProcessor<V> processor);", "title": "" } ]
[ { "docid": "d7f5cef40d5b03a14fae65e01f0480c8", "score": "0.8297425", "text": "public <V> ITaskWrapper newWrapper(Callable<V> task);", "title": "" }, { "docid": "e72c8f76be17a386f621c8f95b48a119", "score": "0.7900394", "text": "public interface ITaskWrapperFactory\n{\n /**\n * ...
3cf719a85d5f4c241ba45e0bc852a26a
try to read an incomplete file
[ { "docid": "6fc97e13752f3c1984c77e70398f60f3", "score": "0.0", "text": "@Test\n public void test_read_stl_19() {\n Mesh_3D shape = new Mesh_3D();\n String filename = \"test.stl\";\n List<String> content = new ArrayList<>();\n content.add(\"soliD incomplete\");\n con...
[ { "docid": "6e44613be47ce50c6d2bd6c984d508ac", "score": "0.6764886", "text": "public void testReadEmptyMultipleEOF() throws Exception {\n final FileObject file = getReadFolder().resolveFile(\"empty.txt\");\n assertTrue(file.exists());\n\n // Start reading from the file\n try (InputStream ins...
82cbc107ab56f2b18009ef817e1cecfd
The context passed to the dynamic data hook that contains the info needed by the application to service the current operation.
[ { "docid": "a4f96b3a917d9022c3c73ad3e33997ae", "score": "0.73595977", "text": "public interface Context {\n\n /** @return the operation being performed */\n public Operation getOperation();\n\n /**\n * @return the path where the dynamic data hook is registered.\n * A...
[ { "docid": "f3be73cf60fa58203addeb0188e858da", "score": "0.7091268", "text": "public interface DynamicDataHook {\n\n /**\n * The operation being performed that triggered the call to the dynamic\n * data hook. These correspond to the top-level treespace operations.\n */\n public enum Op...
8761ad4092273a30e13f2607a415905f
test new sequence with clones associated with anonymous sources which will cause the given RawAttributes to collapse to an existing source record and the anonymous records are not used.
[ { "docid": "3aa3d0396efd0765e2878342db3b9dc8", "score": "0.59160835", "text": "public void testNewSeqCloneAnnonSrc() throws Exception\n {\n String accid = \"T00313\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine...
[ { "docid": "1ce5f50dfb0c2feab1dc4b60cb0c9417", "score": "0.5796829", "text": "public void testNewSeqNewNamedSrc() throws Exception\n {\n String accid = \"NOGOOD\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setLibraryName(\"name5\");\n raw.setCellLine(\"HeLa\");\...
f62160f35f531eaefe31214378a5045b
Return the contact email address
[ { "docid": "048f09e66e940481ec30141b4199a558", "score": "0.8076701", "text": "public String getContactEmail() {\r\n return tfContactEmail.getText().trim();\r\n }", "title": "" } ]
[ { "docid": "8318be8ce966f541b83325299260c99c", "score": "0.80698276", "text": "public java.lang.String getEmailAddress();", "title": "" }, { "docid": "c99ccd5fab9195fba77d05bf217acf1d", "score": "0.7971381", "text": "public String getContactEmail() {\r\n return this.contactEma...
5b4377a97c4626d12261cc90449e78ce
$ANTLR end "rule__NetworkLevelSpecialAlgorithm__Group_7_3__0" $ANTLR start "rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl" ../org.wsn.sennet.xtext.ui/srcgen/org/wsn/sennet/xtext/ui/contentassist/antlr/internal/InternalDSL.g:7621:1: rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl : ( ',' ) ;
[ { "docid": "b019ebd2d84a5088b44ae5ef01f12289", "score": "0.7701944", "text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_7_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.sennet....
[ { "docid": "47db4ecda3128976d3eb045d8bae3484", "score": "0.73628086", "text": "public final void rule__NetworkLevelSpecialAlgorithm__Group_10_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.wsn.senne...
2139b2d7ad7fa1e46e98edfec9b6aff7
Ordina gli amici per distanza (ordine crescente)
[ { "docid": "51079dd7e3f4c1202c5c7ade4ceeed1b", "score": "0.0", "text": "public void sortAmiciByDistance (){\n Collections.sort(amiciSeguiti);\n }", "title": "" } ]
[ { "docid": "028db9cb2c8a0fbf218feb9efd050c42", "score": "0.66699934", "text": "private void ordenarPoblacion() {\n\n\t\tordenarBurbuja(aptitud_individuo, weight);\n\t}", "title": "" }, { "docid": "971e143accedec2e4277011f0ae37cfd", "score": "0.6630225", "text": "Anunt creareAnunt (An...
3bf95bd3ceec211b5eff192829e41bcf
A new Enigma machine with alphabet ALPHA, 1 < NUMROTORS rotor slots, and 0 <= PAWLS < NUMROTORS pawls. ALLROTORS contains all the available rotors.
[ { "docid": "f4a61ce07ddafa816fcdac46116fed60", "score": "0.7513649", "text": "Machine(Alphabet alpha, int numRotors, int pawls,\n Collection<Rotor> allRotors) {\n _alphabet = alpha;\n _numRotors = numRotors;\n _pawls = pawls;\n _allRotors = new ArrayList<Rotor>(all...
[ { "docid": "484a5cc6b236d3bcf33c3129689eb93a", "score": "0.7425368", "text": "Machine(Alphabet alpha, int numRotors, int pawls,\n Collection<Rotor> allRotors) {\n _alphabet = alpha;\n _numRotors = numRotors;\n _pawls = pawls;\n _myRotors = new Rotor[_numRotors];\n ...
1e4a60d970e2901f318fbba4ad4d9db2
create directory in hdfs
[ { "docid": "757718f23b71257236b5ff7c77b7316c", "score": "0.6886132", "text": "void mkdir(String dir) throws IOException;", "title": "" } ]
[ { "docid": "f60456ae837e5059a975817964691b6c", "score": "0.70098746", "text": "HierarchicalResource createDirectory() throws IOException;", "title": "" }, { "docid": "81ebb07da47e13d8a05edf5cac3e84f6", "score": "0.6897412", "text": "private static boolean createDirOnFileSystem(FileSy...
2a123507c33f53aaced6cea0b4a519e2
After scenario tear down, will clean up the webdriver if configured to do so in reuse scenarios or close the driver in the event of an error
[ { "docid": "660bcda6e18549f1d9162efa3abbbc77", "score": "0.7236548", "text": "@AfterEveryScenario\n public final void basePostScenariotearDown() {\n\n final WebDriverContext webDriverContext = webDriverContextSupplier.get();\n\n if (webDriverContext != null) {\n WebdriverReus...
[ { "docid": "81ee620bd4db46955ec4853329856ad1", "score": "0.7899266", "text": "@After\n public static void afterScenario() {\n LOGGER.info(\"Quit selenium webdriver\");\n DriverInstance.quitDriver();\n }", "title": "" }, { "docid": "822cd3d2908539f583a6b983b553db2e", "...
bb42e24db59f1585c4962bb8b42097d8
Sends data for the patient to linkage.xml and launches the program.
[ { "docid": "028fc3f8408cc558b29e7f558daff92f", "score": "0.63437635", "text": "public static void sendData(Program ProgramCur, Patient pat) throws Exception {\n String path = Programs.getProgramPath(ProgramCur);\n if (!File.Exists(path))\n {\n MessageBox.Show(path + \" co...
[ { "docid": "66c2596080ca4010b62f3a9820fc467e", "score": "0.5158609", "text": "public static void main(String[] args) {\n\t /* Hannah*/\n//\t JOptionPane.showMessageDialog(frame,\n//\t\t\t \"Eggs are not supposed to be green.\");\n\t \n\t Object[] options = {\"Driver\",\n \"Rider\"};\...
293c2c8501c6e8d99b5af08df73a1b8b
Setup the mandatory fields None, in this case.
[ { "docid": "3008dcc1e1bdaf59198f6bb9ee771f72", "score": "0.0", "text": "@Override\n\tpublic void setupAddFields(EquationStandardTransaction transaction)\n\t{\n\n\t}", "title": "" } ]
[ { "docid": "1b8ee4a3ee582e5979b12528630c6c69", "score": "0.7079004", "text": "public void setRequiredfields() {\n\t\tSystem.out.println(\"as\");\n\t\tthis.objFirstName.isEnabled();\n\t\t\n\t}", "title": "" }, { "docid": "8966623fc77aabe9ad29cf7afbb5758b", "score": "0.647737", "text":...
dfd77eac25cbb34368adcd0423f841ba
Generates an SVG file using given JSON configuration object.
[ { "docid": "e24176515aff80f43382634258fd2ee8", "score": "0.48366478", "text": "public synchronized String generate(String options, String theme,\n String lang, int targetWidth, int targetHeight) {\n\n try {\n ensureTemporaryFiles();\n\n OutputStream out = process....
[ { "docid": "5fd31ca0c3d2a7d9b994b24e6ebf7904", "score": "0.63797027", "text": "public void writeSVG();", "title": "" }, { "docid": "a66ec4872b50f8a3ea416a67db2e7ce8", "score": "0.5735833", "text": "@Test\n public void test() throws IOException, FontFormatException {\n Strin...
212ad1c42787867df02c80908fcbdb91
push a value into the latest stack
[ { "docid": "d2bc3a8824ca4f7881b5ce609ed91e21", "score": "0.71307397", "text": "public void push(int v){\r\n\t\r\n\t\tSolution3Stack last=getLastStack();\t\t\t\t\t\r\n\t\tif(last!=null && !last.isFull()){ \t\t\t\t//the last stack is not empty or not full\r\n\t\t\tlast.push(v);\t\t\t\t\t\t\t\t\t// then...
[ { "docid": "8c465b503385e54e27f126c5213fb7c3", "score": "0.812095", "text": "public void push(E value) {\n this.inStack.push(value);\n }", "title": "" }, { "docid": "41f8ba3797492f0e2791b18b68c34da2", "score": "0.80816233", "text": "public void push(TYPE val) {\r\n\t\tcount...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "dae0624e8e97ba27d59f0283b472151b", "score": "0.0", "text": "@Override\n public String visit(ArrayCreationLevel n, Object arg) {\n return null;\n }", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
ac7f494b703598bacda5e3fceabf587b
Get the front element.
[ { "docid": "009c3250875842680201c238e58d8b66", "score": "0.0", "text": "public int peek() {\n int front = 0;\n if(!s1.isEmpty())\n {\n while(!s1.isEmpty())\n {\n front = s1.pop();\n s2.push(front);\n ...
[ { "docid": "03097f72af743bf2713f7f3a0a6bdcf4", "score": "0.807004", "text": "public Object getFront(){\n\t\tif(! isEmpty())\n\t\t\treturn Q[front];\n\t\telse return null;\n\t}", "title": "" }, { "docid": "0bf894dba03b9c53f04c58abf7e98ed0", "score": "0.78673095", "text": "public T get...
99425de56fa039e59db394ff3e3572ed
If the task is considered very simple, the task can be executed on space. A task is considered very simple if the time it takes to solve it is less than or equal to the time it takes to marshal/unmarshal + latency.
[ { "docid": "d7544afc3811c3853bb349392b58ef6d", "score": "0.0", "text": "boolean isSimple();", "title": "" } ]
[ { "docid": "25db894795bc33a2e05c93ecbde6ecb5", "score": "0.6607037", "text": "public abstract Object execute(Task task);", "title": "" }, { "docid": "d7f74e9f9315b4bca962eb8e27a0e84f", "score": "0.645419", "text": "Task runTask();", "title": "" }, { "docid": "6a8c34285689...
660df7bf73f08dd16e17a9aaab4d831a
Set if |type| is |TPD_MANAGER_| optional .android_studio.TraceProcessorDaemonManagerStats tpd_manager_stats = 18;
[ { "docid": "93086317276d98f129f8b723ca8b5318", "score": "0.70456845", "text": "public com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStatsOrBuilder getTpdManagerStatsOrBuilder() {\n return tpdManagerStats_ == null ? com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerSt...
[ { "docid": "91a974d26bc73674ccce1d3b18dfd4a1", "score": "0.73826176", "text": "public Builder setTpdManagerStats(com.google.wireless.android.sdk.stats.TraceProcessorDaemonManagerStats value) {\n if (tpdManagerStatsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "24b7d95be72d3b7ec8e59d78bc4adfd9", "score": "0.0", "text": "@Override\n\t\tprotected String doInBackground(String... params) {\n\t\t\tString result = null;\n\t\t\tThreadsRequest request = new ThreadsRequest(MyReplyListActivity.this);\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\tLog.d(\"doInBackground\", ...
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
a40b2986f57f799baac74e0acfa11ac3
most of the time we include a default constructor unless we have a good reason not too a good reason not to have one is if our object requires another object for it to function
[ { "docid": "052063db26ecff6a6a55acfa591adea8", "score": "0.0", "text": "public Food() {\n\t\tsuper();\n\t\tallFoods[numberOfFoodCreated] = this;\n\t\tnumberOfFoodCreated++;\n\t\t\n\t}", "title": "" } ]
[ { "docid": "1ddbb7fadf4b6a5cf5fa9016a884398f", "score": "0.7812946", "text": "private LonelyObject(){}", "title": "" }, { "docid": "6bd374f3ab76627ec5d8981a3c054e5b", "score": "0.7730919", "text": "private SingleObject(){}", "title": "" }, { "docid": "140fc0d94b13b16f28b6...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "6416ad8a8d63e2b16c9f828b264a1ec6", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n RecyclerView recyclerView = (RecyclerView) inflater.inflate(R.layout.fragment_...
[ { "docid": "8dc6e43eb0ba072f1910928f55684a0a", "score": "0.68880737", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qr_authentication_parsing, co...
669191af0da82e0c6762883d68962981
Remove a relation from the list of chatRelation of this user and save the user in the DB if db is not null
[ { "docid": "8030096f26232561b56376a5e6da16a4", "score": "0.7132327", "text": "public void removeChatRelation(ChatRelation chatRelation, DatabaseReference db) {\n if (chatRelations_ != null) chatRelations_.remove(chatRelation);\n\n if (db != null) {\n addToDB(db);\n }\n ...
[ { "docid": "cd21e60b5fdf002f434420f955036a44", "score": "0.65061325", "text": "public void removeChatRelation(ChatRelation chatRelation) {\n removeChatRelation(chatRelation, null);\n }", "title": "" }, { "docid": "da7cd853b84a9aac603c31b8f8044a0c", "score": "0.64715767", "t...
0c7a99b65ce4ffd1bb6f4882e58d8043
Metodo para insertar elementos a la lista
[ { "docid": "700998d8edcf0e46a3cc4ae227719bab", "score": "0.0", "text": "public void push(E item);", "title": "" } ]
[ { "docid": "2b37ddac191bc974ff7665bb7c915a70", "score": "0.75210875", "text": "public void insert (Listable item);", "title": "" }, { "docid": "ce73b4f3d92944f6b32b5ba54f845f1a", "score": "0.73791105", "text": "@Override\r\n\tpublic void insertar() {\n\t\t\r\n\t}", "title": "" ...
613c68baf43f3e71e9be27f89cbd9af5
Please do the flowing problem.
[ { "docid": "e834c1bfb4523a7cc1cd5e6d1561d3b4", "score": "0.0", "text": "public static void main(String[] args) {\n\t\n\t\t/* Find the prime numbers from 1 to 1000 then print to console.Also print out the total prime numbers within the range.\n\t(prime numbers are only divisible by number 1 and the numbe...
[ { "docid": "5c7cfd4162b860b67351891d2d9f59e1", "score": "0.6340576", "text": "public void step()\n\t{\n\t\tif (status > -1) \n\t\t\treturn;\n\t\t\n\t\t\n\t\tif (turn == 0)\n\t\t{\n\t\t\tint move = p0.getMove(board, 0);\n\t\t\tboard = board.makeMove(move, 0);\n\t\t} else\n\t\t{\n\t\t\tint move = p1.getMo...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "779b545ec74bc187c8bd7998b8611bad", "score": "0.0", "text": "@Override\r\n\tpublic String showFirstName(String mail) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6682288", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6682288", "text": "@Override\n public void otvori() {\n ...
4b9d6d4178d2ef0c36d495d6fcdd600f
Get all players where the number of players is determined by the limit. List of players is ordered by points desc.
[ { "docid": "2400c6d1c8e74bf38c200adaf1e10144", "score": "0.7709072", "text": "public List<Player> getAllPlayersLimit(int limit) {\n\t\treturn repository.findAll(limit);\n\t}", "title": "" } ]
[ { "docid": "6ba09b84cf5c40a1bd321283eb97f4f3", "score": "0.6447754", "text": "Data<List<Pins>> getLike(Integer limit);", "title": "" }, { "docid": "b267c70e49e85c25f6a49b41db442c8c", "score": "0.6394416", "text": "public List<Pregunta> getPreguntasMasVotadas(int limit);", "title"...
fa91803a1cd5b18d564165bdd944be45
optional bool fuel_flow = 10;
[ { "docid": "ab779dc27ff5e873f413e390660c89ca", "score": "0.6138484", "text": "public boolean getFuelFlow() {\n return fuelFlow_;\n }", "title": "" } ]
[ { "docid": "f32713541476532a6380ab7511b1b83d", "score": "0.70236933", "text": "boolean getFuelFlow();", "title": "" }, { "docid": "be04b45b95d99f3a8f3a7b21800880c5", "score": "0.6364671", "text": "boolean hasFuelFlow();", "title": "" }, { "docid": "cf94d0adb05ace8af70b038...
7763c8950883533ca9ba5821b2af98c8
Constructs a double formula representing the given double.
[ { "docid": "c4100ca70e1de337c6b456be5c4f2166", "score": "0.74679565", "text": "public DoubleFormula(double d) {\r\n this.val = d;\r\n }", "title": "" } ]
[ { "docid": "d4b5999b2b2270451ee0ad0e18dbf096", "score": "0.63102835", "text": "public static GameRules.Type<DoubleRule> createDoubleRule(double defaultValue) {\n\t\treturn createDoubleRule(defaultValue, (server, rule) -> {\n\t\t});\n\t}", "title": "" }, { "docid": "13ebd91e472fc5ced3c82b75e4...
49956c21640c107a8e441085fefd1fea
This method adds a Filter Attribute to the Search object. Filter Attributes map to the WHERE clause of the SQL statement.
[ { "docid": "d4294226b062b065edf01d2ade62c58d", "score": "0.6042351", "text": "public ISearch addFilter(long[] assocs, long attr, IOperator op, String value, boolean useSynonyms, boolean isQuestion) throws OculusException;", "title": "" } ]
[ { "docid": "f12cdc85db43c40a53f6e5f44f1a263a", "score": "0.6411496", "text": "public void addFilter(Filter filter) {\n\t\tSystem.out.println(\"Adding filter: \" + filter.getTabName() + \":\" + filter.getColName() \n\t\t\t\t+ \" indexed:\" + filter.isArray() + \" dim:\" + filter.isDimLookup() \n\t\t\t\t+...
cf5e402d95aafa0c40af1a7f9dbb214e
/ Determine operational status of pool READY, if any of the status value is 2 (OK). otherwise NOTREADY
[ { "docid": "7c646a899ac05e9a4f4f6f734d750c86", "score": "0.73570967", "text": "protected String determineOperationalStatus(CIMInstance poolInstance) {\n String operationalStatus = StoragePool.PoolOperationalStatus.NOTREADY.name();\n try {\n UnsignedInteger16[] opStatus = (Unsign...
[ { "docid": "3e591395abd7ba37db5e3be8f3781344", "score": "0.6292199", "text": "com.wql.locks.grpcpool2.HealthCheckResponse.ServingStatus getStatus();", "title": "" }, { "docid": "56d65b9fc9d65239680880e43b10c63f", "score": "0.6057051", "text": "@Override\n public int checkStatus(){...
2e181b49cffe39603e4a1f15090f893a
if the interface class is InvokeHandler class ,jump the method filter
[ { "docid": "4c377c17b111a88d75d3f3e7b21196b0", "score": "0.60464203", "text": "@Override\r\n\tpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable{\n\t\tHandlerSet handler = null;\r\n\t\tif (registerDefinition != null) {\r\n\t\t\thandler = registerDefinition.getMethodHandler...
[ { "docid": "a55b55b858d4f58792c94af029c8118e", "score": "0.68201876", "text": "public interface MyInvocationHandler {\n\n public Object invoke(Object proxy, Method method, Object[] args) throws Throwable;\n\n}", "title": "" }, { "docid": "998ccd2ac402679e7d227c3133a9fc76", "score": "0...
92f0188043308e99aa434e50ed85c1ac
Keep track of a player's new target using this event. It's worth noting that if you aren't in a fight, all player interactions including trading & following will trigger a new fight and a new opponent. Due to this, set the lastFightTime (in FightPerformance) in the past to only be 5 seconds before the time NEW_FIGHT_DELAY would trigger and unset the opponent, in case the player follows a different player before actually starting a fight or getting attacked. In other words, remain skeptical of the validity of this event.
[ { "docid": "e367852cf2272659fcb19f8785073a60", "score": "0.541711", "text": "@Subscribe\n\tpublic void onInteractingChanged(InteractingChanged event)\n\t{\n\t\tif (config.restrictToLms() && !isAtLMS())\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tstopFightIfOver();\n\n\t\t// if the client player already has a va...
[ { "docid": "bb4c9bc458f8a936aaf04a747a769916", "score": "0.5939384", "text": "public void setAttackTarget(EntityLivingBase p_70624_1_) {\n/* 164 */ this.attackTarget = p_70624_1_;\n/* 165 */ Reflector.callVoid(Reflector.ForgeHooks_onLivingSetAttackTarget, new Object[] { this, p_70624_1_ });\n/...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8e16fa621425ccb0ae957ba4220f49aa", "score": "0.0", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tint cate = listcates_audio.get(arg2).getId();\n\t\t\t\tIntent i = new Intent(getApplicationContext(),ListChildCateDi...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
9a2f7015e1b7703fe9da501b130f3ae3
Create an image file name
[ { "docid": "5aafc2beb6691276bde6598f9289fb9c", "score": "0.66951907", "text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"PNG_\" + timeStamp + \"_\";\n File storage...
[ { "docid": "01269efc11ccc20e92f8d50c067cab2f", "score": "0.7852325", "text": "private File createImageFileName(){\n\t\tSimpleDateFormat timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\", java.util.Locale.getDefault());\n\t\tDate today = Calendar.getInstance().getTime();\n\t String imageFileName = ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3c61cdc81c060931ffba4334cd795aba", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t\ttry {\n\t\t\tFileInputStream fileInputStream = new FileInputStream(\"C:\\\\Users\\\\VJIT\\\\Desktop\\\\CapgPrograms\\\\filedemo.txt\");\n\t\t\tint i;\n\t\t\twhile((i = fileInputStream....
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
f87f05d94747ae60a282d69a78eb12aa
/ renamed from: gV
[ { "docid": "20f40ce350b786a06040450ae05a2c0e", "score": "0.0", "text": "public static C1590a m3215gV(int i) {\n switch (i) {\n case 1:\n return release;\n case 2:\n return debug;\n case 3:\n ...
[ { "docid": "fde4b9e254805cee80c8c4571215867f", "score": "0.73256236", "text": "@Override\n\tpublic void guolv() {\n\t\t\n\t}", "title": "" }, { "docid": "95ce0fc7444d023b91c55224c1aba5ba", "score": "0.68541384", "text": "private void gpTomov() {\n\t\t\n\t}", "title": "" }, { ...
8b0ab8d35155768f217eca8e1e36b0ce
Cria uma ordemServicoProdutoEndereco e associa ao endereco bipado
[ { "docid": "ea3c8f05dfcf4dab19b924367353f27c", "score": "0.72578484", "text": "private Ordemservicoprodutoendereco createOrdemEndereco(Endereco endereco, Ordemservicoproduto osp) {\r\n\t\tOrdemservicoprodutoendereco ospe = null;\r\n\t\t\r\n\t if(osp.getListaOrdemservicoprodutoendereco() != null && !o...
[ { "docid": "0e596b293aac3a5ac7959e06eea1129a", "score": "0.6775862", "text": "public String criarEndereco(String rua, int numero, String nomeBairro){\n Bairro bairro = validarBairro(nomeBairro);\r\n if(bairro != null){\r\n //caso exista cria o endereco e adiciona na lista\r\n ...
9be882ba3916f1388148690861fc09f7
PUBLIC: This method is called when a throwable at finer level needs to be logged.
[ { "docid": "d1a010799f3e091e5c882ca78ef2494c", "score": "0.0", "text": "public void throwing(Throwable throwable);", "title": "" } ]
[ { "docid": "76f3ad59239ee629a168657ddd0d7fc1", "score": "0.6670194", "text": "public void logFatalException(Throwable throwable) {\n Logger.getLogger()\n .d(\"Recorded on-demand fatal events: \" + onDemandCounter.getRecordedOnDemandExceptions());\n Logger.getLogger()\n .d(\"Dropped o...
8731634e0f7505964e21157f7b2085bc
Send a message back to the Player
[ { "docid": "313b607e2312b26cc797c09169d46b5b", "score": "0.6389746", "text": "public void sendMessageToPlayer(Player player, String message) {\r\n\t\tif(isInit) {\r\n\t\t\tplayer.sendMessage(layout + message);\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "47e07eea5683b74938e35ed2116ac769", "score": "0.7644224", "text": "public RpgPlayer sendMessage(String msg);", "title": "" }, { "docid": "fb191822158d2e7b4af3ccb4c4678742", "score": "0.74892235", "text": "@Override\n\tpublic void playerSentMessage(Player player, String mes...
8a0bf32856876abaf11b9b7e4efd0716
defining class named "pyramid"
[ { "docid": "2a77fa2d6bc21af5f05496f6957c50e8", "score": "0.49620876", "text": "public static void main(String[] args) { //defining main function\r\n\tfor (int i=0;i<=4;i++) { //number of lines in pyramid; here 5\r\n\t\t\tfor (int j=0;j<=i ;j++) { // number of stars per line\r\n...
[ { "docid": "11148791fbc97210c888cab3189aa89e", "score": "0.66985506", "text": "public static void main(String[] args) {\n\t\tNewMethod2.Pyramid(10);\r\n\t\t\r\n\t\t}", "title": "" }, { "docid": "bcef9df79b3577144c21c1b2803f6dc5", "score": "0.64210236", "text": "public static void mai...
f67ec3d704ed9ae1def6997c899f2d1d
Vehicle type category .maps.fleetengine.v1.Vehicle.VehicleType.Category category = 1;
[ { "docid": "79896a43f18b0636e2dfc25efbd4566c", "score": "0.67800826", "text": "@java.lang.Override public google.maps.fleetengine.v1.Vehicle.VehicleType.Category getCategory() {\n @SuppressWarnings(\"deprecation\")\n google.maps.fleetengine.v1.Vehicle.VehicleType.Category result = google.maps....
[ { "docid": "f7487f01cc5cecdcf2250113b741346e", "score": "0.8422868", "text": "google.maps.fleetengine.v1.Vehicle.VehicleType.Category getCategory();", "title": "" }, { "docid": "955f8f40365f48ac42cdf1576d9ea4aa", "score": "0.69794893", "text": "public String getVehicleTypeCategory() ...
d1e2bce2637fd5fd49b161f12d6328c8
Indicates if this entry inherits permissions from it's parent object.
[ { "docid": "9a683b85ce5da41cdaad0105185a4eaf", "score": "0.6359136", "text": "public boolean isEntriesInheriting() {\r\n\t\treturn entriesInheriting;\r\n\t}", "title": "" } ]
[ { "docid": "4c6d88257d8d6f336957756488d9ff24", "score": "0.7009564", "text": "public boolean getIsInheritedFromParent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbean...
5d4fc8e2e5728ac4ebdb445bdb1348ed
Plain Literal is an ordinary Literal that is created with his type infered. This interface is used to tag the Literals that have no explicit type from the user and the XMLSchema.STRING type is automatically inferred.
[ { "docid": "ea6c0aaaa6dea639148c33cc7c89fd58", "score": "0.67194194", "text": "public interface PlainLiteral extends Literal {\n\n}", "title": "" } ]
[ { "docid": "0776e74468e12855ba766a338c5ac223", "score": "0.70520335", "text": "RealLiteral createRealLiteral();", "title": "" }, { "docid": "fd979c01c1d57fc274ff44585ddb42a7", "score": "0.6733962", "text": "@Override\n\t\tpublic Object createLiteral(Object datatype, String stringValu...
ae55dd13cdcb9c623c45e069ad84d9c3
==================== Events ==================== Starts the peers
[ { "docid": "3d77c6782249fc5abde67ca4fed4e489", "score": "0.0", "text": "public synchronized void start()\n\t{\n\t\tif (_host == null)\n\t\t\tthrow new IllegalStateException(\"host not set\");\n\t\t_state.start();\n\t}", "title": "" } ]
[ { "docid": "130f94b9072ffbaa91ef1a8d441bc315", "score": "0.77461034", "text": "public void startPeerDiscover(){\n peerConnection.startPeerDiscover();\n }", "title": "" }, { "docid": "2a14a860fc29f3ad95823cdf934bceef", "score": "0.71236706", "text": "public void start() {\r\...
cae432f997175cbaf3492e7b2970c328
java.lang.String getDocs() Returns the value of field 'generator'. The field 'generator' has the following description: A string indicating the program used to generate the channel.
[ { "docid": "2742a1e06dbcafaaf4d54e83fdcbd055", "score": "0.5983952", "text": "public java.lang.String getGenerator()\n {\n return this._generator;\n }", "title": "" } ]
[ { "docid": "909c43072efc740de3bb201ccacb19aa", "score": "0.6896847", "text": "public java.lang.String getDocs()\n {\n return this._docs;\n }", "title": "" }, { "docid": "f213f9d14746f5044b711c3a7dd4b2e3", "score": "0.62479466", "text": "public String getDocumentation() {...
d05839152d71b856dd9cbc4e8e9149d6
Gets the row and column of the sprite that should be used from the sprite sheet
[ { "docid": "f550252a4a79018056e36a9b0043c88a", "score": "0.0", "text": "private Point findConnectedTexture() {\r\n\t\tupdateNearbyActors(isWall);\r\n\t\tint row = -1;\r\n\t\tint col = -1;\r\n\t\t\r\n\t\t/** amount of connected actors directly touching */\r\n\t\tint touching = 0;\r\n\t\tif(checkSide(Side...
[ { "docid": "18f4d0058d3c0bcf43dbc3fe5100931c", "score": "0.7059496", "text": "protected Sprite getSprite(int row, int col) {\n return sprites[row-1][col-1];\n }", "title": "" }, { "docid": "38fd3e5cf904778fdc57c80aef5c02b7", "score": "0.69155544", "text": "@Override\n\tpubl...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "1a239553d1a9a50807c9256d7901f3e1", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n ...
[ { "docid": "ac3e1bc71579c444b2b4c8c6f32f17e7", "score": "0.7707419", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n //or ca...
1857263e70afbf5b33092dee4a42c6a3
/! The number of results to return. Capped at 50.
[ { "docid": "2176e739924b831ef6e152964be49e9e", "score": "0.0", "text": "public NLFoursquareVenueExploreParametersBuilder limit(int limit) {\n // Capped by Foursquare\n _params.put(\"limit\", String.valueOf(limit));\n\n return this;\n }", "title": "" } ]
[ { "docid": "21ee6770541c985dcca28a215a4dd316", "score": "0.705716", "text": "int getResultsCount();", "title": "" }, { "docid": "21ee6770541c985dcca28a215a4dd316", "score": "0.705716", "text": "int getResultsCount();", "title": "" }, { "docid": "21ee6770541c985dcca28a215a...
50958ff8903b3012554ddf9f9c9baa4a
///////////////////////////////////////////////////////////////////////// Click handling and listeners /////////////////////////////////////////////////////////////////////////
[ { "docid": "de2110a77e3eba11966f296911753419", "score": "0.0", "text": "public void keyPadNumberClick( View view ) {\n String buttonText = ( (Button) view ).getText().toString();\n switch (buttonText) {\n default:\n Toast.makeText(getContext(), \"Got a button clic...
[ { "docid": "250d96b6708dfc1af630330c98cbac7d", "score": "0.7831479", "text": "public void click() {\n\t\t\n\t}", "title": "" }, { "docid": "e3c3a7be60e38edca7b6ae7a6993115a", "score": "0.7737798", "text": "@Override\n\tprotected void processClick(View v) {\n\t\t\n\t}", "title": "...
7f33271c4724a0f27382fc56dcef0ccb
Returns the Orgnization Names. Returns a set of organization names. The paramter numOfEntries identifies the number of entries to return, if 0 returns all the entries. The paramter recursive determines if to return one level of entries beneath the entryDN or all the entries till the leaf node.
[ { "docid": "8fb8fd1c5308059b1937c1e06755201c", "score": "0.54016054", "text": "Set searchOrganizationNames(SSOToken token, int numOfEntries,\n boolean sortResults, boolean ascendingOrder, String serviceName,\n String attrName, Set values) throws SMSException, SSOException {\n ...
[ { "docid": "f63b803ca4bd865911bc4ca3605ccd18", "score": "0.5761007", "text": "Set searchSubOrgNames(SSOToken token, String filter, int numOfEntries,\n boolean sortResults, boolean ascendingOrder, boolean recursive)\n throws SMSException, SSOException {\n // If backend has...
893cdfa56de1b5c1f4576d57ce790311
Return the min employees number
[ { "docid": "45e0a1454551614674f78e93eda45b2b", "score": "0.83492064", "text": "public int getMinEmployees() {\n\t\treturn this.minEmployees;\n\t}", "title": "" } ]
[ { "docid": "80beee8f1424d4581050f2058221c2f0", "score": "0.6671183", "text": "public int findMin() {\n return min;\r\n }", "title": "" }, { "docid": "c905a9a6a09e813546c0c6208dadb887", "score": "0.6572815", "text": "public static double lowestSalary(List<Employee> employees...
fc7ad4c4e2fc0fb16de306b53d81fd2e
/ / / / / / / / / / / / / / /
[ { "docid": "a9209cdee1b177de61a3b4c3b98410bd", "score": "0.0", "text": "int parameterSlotCount() {\n/* 987 */ return this.form.parameterSlotCount();\n/* */ }", "title": "" } ]
[ { "docid": "d4e5d5fe38cc475eeac92d4fdadfd133", "score": "0.53869486", "text": "public double getWidth() { return 1; }", "title": "" }, { "docid": "cd84ee1a68505d1781a1a85ddb9de6de", "score": "0.52419996", "text": "String ring();", "title": "" }, { "docid": "1f517844eade2...
81aacfe9c611e7205a40b2602345e262
Create the application. Initialize the contents of the frame.
[ { "docid": "50fea0d55c250e0ca91594a090b9b1eb", "score": "0.0", "text": "public Login() {\r\n\t\tSystem.out.println(facade + \" Login barrun\");\r\n\t\tsetBounds(100, 100, 450, 300);\r\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tgetContentPane().setLayout(null);\r\n\t\tsetVisible(true);\r...
[ { "docid": "d451fd0e000380c0e6a80f4b8bbf8460", "score": "0.7390831", "text": "private void createFrame() {\n\t\t\n\t\t// set the dimensions of the main frame relative to a set ratio of\n\t\t// the screen's size\n\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tDEFAULT_FRAME_W...