query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
331a63ad9cc0ca64aa7b89a73f1e1780
Creates a new alarm.
[ { "docid": "493fb0e2e1ae2cb7d15d66d91448723f", "score": "0.53093934", "text": "public Alarm(@Nonnull final String objectName,\n\t @Nonnull final EpicsAlarmSeverity severity,\n\t @Nonnull final String status, \n\t @Nonnull final Date eventtime) {\n\t\t_objectName = obj...
[ { "docid": "83d47c412080287956b1ad329aa82d74", "score": "0.8085867", "text": "Alarm createAlarm();", "title": "" }, { "docid": "aadc00bc241615dac5dc91da9ef94131", "score": "0.63641846", "text": "public Alarm(java.util.Date aTime, WebRadio radio, String mode) {\n this.aTime = aTime...
22f7f2256c7050b94de1d43eafa974b4
Retrieve the texture id for
[ { "docid": "2db18fbbdc3dfa31b3539b003e80a5e1", "score": "0.6870435", "text": "private String getTextureId(@Nonnull final BlockModel model, @Nonnull final String initId) {\n BlockModel cModel = model;\n while (cModel.textures == null || !cModel.textures.containsKey(initId)) {\n c...
[ { "docid": "71e3847dd2a17d6b44e8c87cd4c8e466", "score": "0.7877728", "text": "@Override\r\n\tint getTextureId() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "2436b40d5bf640ead4e8f23b205c8787", "score": "0.71863574", "text": "public int getTextureIndex() {\n return textu...
82adae6ec19be48f44535e8958f99dff
TreeSelectionListener sets selected node
[ { "docid": "e99990b3efafbbf38c35e8b33919a63c", "score": "0.7216659", "text": "public void valueChanged(TreeSelectionEvent evt) {\n SelectedTreePath = evt.getNewLeadSelectionPath();\n\n if(SelectedTreePath==null) {\n SelectedNode = null;\n\n return;\n }\n\n SelectedNode = (PersonNod...
[ { "docid": "4076692d881328ae6764ec33f4a3af7a", "score": "0.7603348", "text": "@Override\n public void valueChanged(TreeSelectionEvent e) {\n DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();\n\n if (node == null)\n //Nothing is select...
362da450961ceeb6118a00e59128e352
A list of aliases created with the image version.
[ { "docid": "79820b5d9c7f72fe355c93a2800eb5a7", "score": "0.6172686", "text": "public CreateImageVersionRequest withAliases(java.util.Collection<String> aliases) {\n setAliases(aliases);\n return this;\n }", "title": "" } ]
[ { "docid": "c943e9549be3a3e6edcc56a9957b8877", "score": "0.72180665", "text": "public java.util.List<String> getAliases() {\n return aliases;\n }", "title": "" }, { "docid": "9caa4be32cc86db2940d4c66aa6b2637", "score": "0.6921233", "text": "public String[] getAliasNames();"...
45e346a91e0f97bf1fadbce5917e80b5
Returns true if this is final.
[ { "docid": "56f3135e54fdebebe87e0c53f563183d", "score": "0.8043704", "text": "public boolean isFinal() {\n return dec().isFinal();\n }", "title": "" } ]
[ { "docid": "120e68ea23d5f923b9b043de8d5c9e63", "score": "0.83271056", "text": "public boolean isFinal()\n {\n return _final;\n }", "title": "" }, { "docid": "fbb0882a1a13c2ccea11874b43dc6768", "score": "0.8321188", "text": "public boolean isFinal() {\n \tif (currentState....
2d24dfc887014c004e3308dfd527f0a0
WireAdminImpl's constructor. Initialise the two HashTables that will keep track of the Consumers and Producers services that are needed by the wires as they are created. Create an empty ArrayList that will keep track of all the wire instances. Create two ServicesListener object that will receive notification of Produce...
[ { "docid": "0af113337754485a89ad186bd4a21307", "score": "0.84740615", "text": "public WireAdminImpl(){\n\n\t\tconsumersTable = new Hashtable<String, ServiceReference>();\n\t\tproducersTable = new Hashtable<String, ServiceReference>();\n\n\t\twires = new ArrayList<WireImpl>();\n\n\t\tdiconnectedWiresTabl...
[ { "docid": "10e97ba01e322085f269288f26a597a7", "score": "0.6511835", "text": "public EventDispatcher() {\n\t\t\n\t\t\tmustStop = false;\n\t\t\teventList = new ArrayList<WireAdminEvent>();\n\t\t\tmyThread = new Thread( this );\n\t\t\tmyThread.start();\n\t\t}", "title": "" }, { "docid": "2d4d2...
a9f6023eabc01e65105bcfc9b6e281da
/ end method getJobTimeStamp() Method to print the error msg and close window if no data
[ { "docid": "28b5f6a19ec4f49aa849ecbde3016a47", "score": "0.5152923", "text": "private String getErrorText()\n\t {\n\t StringBuffer loTextBuffer = new StringBuffer();\n\n\t loTextBuffer.append(\"<HTML>\");\n\t loTextBuffer.append(\"<HEAD>\");\n\t loTextBuffer.append(\"<script>\");\n...
[ { "docid": "f304f69d15847676a67b7f3eb003158b", "score": "0.6520671", "text": "public String getJobTimeStamp()\n\t {\n\t try\n\t {\n\t return getRootDataSource().getCurrentRow().getData(\"BASE_TMPL_PATH\").getString();\n\t } //end try\n\t catch(Throwable loExp)\n\t {\n ...
275bb29f32951f985bd53a5e5d185fed
The doGet method of the servlet. This method is called when a form has its tag value method equals to get.
[ { "docid": "b39c1ddd995bfd91e53bc73b63d92383", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t\tresponse.setContentType(\"text/html;charset=utf-8\");\n\t\tresponse.setCharacterEncoding(\"UTF-8\");\n\...
[ { "docid": "52d506d1a28b909ff6e45722f8b4ce1c", "score": "0.72414386", "text": "@Override\n\tpublic void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "f035f4dc841302fc0cd72c0d607c87...
11aa893e543d0806555c6bbf8d2d7b17
return new Short(value.getParticipantData().getYourTelemetry()); =IF(AND(ABS(AVERAGE(M2065:M2068))>10000,Q2068>11,ABS(U2068)0.18),"RS","T")
[ { "docid": "1f916409e9d44a102a5874eb35aef7f8", "score": "0.0", "text": "@Override\n public String map(Tuple5<Driver, com.mgunter.f1streamcode.RaceInfo, com.mgunter.f1streamcode.RaceInfo, com.mgunter.f1streamcode.RaceInfo,Boolean> value) {\n\n ret...
[ { "docid": "9799f7c787d890c9bf1bdeec248abf41", "score": "0.5758001", "text": "public double getHumidityInside();", "title": "" }, { "docid": "b4f00fa8ba9c1f6dd22109581f23afdc", "score": "0.57079095", "text": "int getFineGrainedConversionValue();", "title": "" }, { "docid"...
50fc01cb511d0711b612e0d89ef3f0a0
Returns true if field timeSpan is set (has been assigned a value) and false otherwise
[ { "docid": "e78b516c56377484656b5732d3e0f215", "score": "0.81220937", "text": "public boolean isSetTimeSpan() {\n return this.timeSpan != null;\n }", "title": "" } ]
[ { "docid": "aaf0b8a4f51004f7d9e68fe24f252351", "score": "0.79589695", "text": "public boolean isSetTimespan() {\n return this.timespan != null;\n }", "title": "" }, { "docid": "aaf0b8a4f51004f7d9e68fe24f252351", "score": "0.79589695", "text": "public boolean isSetTimespan() {...
0a8740b323978db140c0c6e2a3482d09
On Enter at an open tag with no close tag, expect a standard newline. Note: this used to result in an error. The was a bug where we checked beyond the end of the file for a close tag to go with this open tag.
[ { "docid": "1f78f655e3e506a0438ad21c4a6f1013", "score": "0.75183624", "text": "public void testEnterAtOpenTagOnFileBoundary() {\n doEnterTest(\n\n \"{{#foo}}<caret>\",\n\n \"{{#foo}}\\n\" +\n \"<caret>\"\n );\n }", "title": "" } ]
[ { "docid": "1df346c1ad3692414f81297ecbde99c9", "score": "0.61135256", "text": "private void nl ()\n throws SAXException\n {\n String lineEnd = System.getProperty(\"line.separator\");\n try {\n out.write (lineEnd);\n } catch (IOException e) {\n throw new ...
8ee9e5e7dc574eec089042b20089558f
ClientRegistration.class is not specified so will be offered in the menu This plan attempts to match 'implicit' as defined here: the tests are in the same order as the table and the comments list the 3rd column in the table. general list of tests these are run for both response types
[ { "docid": "254fc843e0affa783feb1871cd336e3a", "score": "0.47395808", "text": "public static List<ModuleListEntry> testModulesWithVariants() {\n\t\tList<Class<? extends TestModule>> moduleList = List.of(\n\t\t\tOIDCCServerTest.class, // OP-Response-id_token\n\t\t\t// OIDCCResponseTypeMissing.class, // O...
[ { "docid": "61b73ff15a8cfeb14881388ae22ac3a4", "score": "0.57310444", "text": "@Test\n public void pingClientAuthenticationTypeTest() {\n // TODO: test pingClientAuthenticationType\n }", "title": "" }, { "docid": "cf152702aeed4213748d52452737d22b", "score": "0.5581447", ...
007adedde6ae9a8a52e47688fd513fe5
Returns set that stores all properties (not including subproperties).
[ { "docid": "ee5f97ca6ecc314572af1ab2b29b2d00", "score": "0.65291846", "text": "@Override\r\n public IPropertiesSet getProperties() {\r\n\t\tloadProperties();\r\n\t\treturn super.getProperties();\r\n\t}", "title": "" } ]
[ { "docid": "50dd7ffe7bb29464b42f1b3b8f0e0319", "score": "0.75308245", "text": "@JsonIgnore\n\tpublic Set<String> getAllProperties() {\n\t\treturn new HashSet<String>(properties.keySet());\n\t}", "title": "" }, { "docid": "0004602d252c43179521bdb63f031595", "score": "0.7113441", "text...
9447bb5c1a9d7663620355d69cfa77d1
Check if the ball collides with the top end
[ { "docid": "061349d6f91d006bc4daeef7d34d76f6", "score": "0.715664", "text": "public boolean isCollidingWithTopWall()\r\n\t{\r\n\t\tif(y <= 45)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" } ]
[ { "docid": "f6f5d317e3b7e2e8b9cfc3db1a5f0219", "score": "0.7443133", "text": "public void checkBallHit() {\n\n for (int i = 0; i < numBallsInPlay; i++) { //loops through however many active balls there are\n //if a ball collides with a person\n if (balls[i].getYLoc() + balls...
e9447223b74ee6ff624209865a4cd840
Creates a new ControlPoint object. Adds event listeners to the given Canvas object, so that the user can drag the control point with the mouse.
[ { "docid": "a64017d75a3349b4a8ffdfb41a05faee", "score": "0.6777649", "text": "public ControlPoint(Canvas canvas) {\n\t\t\tthis.canvas = canvas;\n\t\t\tcanvas.addMouseListener(this);\n\t\t\tcanvas.addMouseMoveListener(this);\n\t\t\tcanvas.addListener(SWT.Resize, this);\n\t\t\toldShellWidth = canvas.getCl...
[ { "docid": "e9646a47988885aee34400e959b8450f", "score": "0.5929092", "text": "public ControlPanel() {\n\t\tpoint \t= new Point(200,100);\n\t\tcircle \t= new Circle(point);\n\t\t//add Key Listener this panel\n\t\tsetFocusable(true);\n\t}", "title": "" }, { "docid": "e6f7dfd7978e867d0dd530af25...
514190fc72c4aa0ff4f96d294c04758b
Set maximum value of slice
[ { "docid": "43ac7a254202eb9612b7663df29f6ad9", "score": "0.0", "text": "public Slice setLength(int length) {\n \t\tif (stop != null && step > 0 && length < stop) {\n \t\t\tthrow new IllegalArgumentException(\"Length must be greater than or equal to stop\");\n \t\t}\n \t\tif (start != null && step < 0 &&...
[ { "docid": "99aa8551e542889e83ff42a30c54a7e2", "score": "0.710274", "text": "void setMaximum( int max );", "title": "" }, { "docid": "8417621f7385cdd294d05ed26e0f4e23", "score": "0.7009956", "text": "private void setMax(double value) {\n \n max_ = value;\n }", "title...
e61096366e72a4095b22ce0c2d220c6c
Returns the particles that are part of this model.
[ { "docid": "3875fd17d96ee31b1195deaa3dbd3c14", "score": "0.7938059", "text": "public Particle[] getParticles() {\n return particles;\n }", "title": "" } ]
[ { "docid": "0d62e2a69d9a9370fd83ae34cec313cb", "score": "0.79428995", "text": "public Particle[] getParticles(){\n\t\treturn particles;\n\t}", "title": "" }, { "docid": "b3c61ab056dfcb77e8dc4036c9b977c9", "score": "0.7393035", "text": "public ArrayList<Particles> getParticleList() {\...
0f763f8208f5cda462073bcefed9c37f
Parse de TODAS las tablas mediante la ruta previamente guardada en "routes" y guardado en un un array estatico Proximamente arrays no estaticos
[ { "docid": "a0ed0fdeba4cd689acae64966cc86cf5", "score": "0.0", "text": "public void parseall() throws IOException {\r\n\t\tparseprov();\r\n\t\tparsepe();\r\n\t\tparseproductos();\r\n\t\tparsepp();\r\n\t\tparsepc();\r\n\t\tparsealbaranes();\r\n\t\tparseclientes();\r\n\t\tparseempleados();\r\n\t\tparseexi...
[ { "docid": "2b309c4378e05dd7fc921ccc87c14fec", "score": "0.5940629", "text": "@Override\n protected List<List<HashMap<String, String>>> doInBackground(\n String... jsonData) {\n JSONObject jObject;\n List<List<HashMap<String, String>>> routes = null;\n ...
5fefb20604f904a4a3fb4a25c6023d8c
varibles to load in file
[ { "docid": "d9dd069c0d58b8cbee55da4de4ac8f15", "score": "0.0", "text": "private void loadContacts() {\n\t\tFile file = new File(\"contacts.txt\");\n\t\tScanner dataScanner = null;\n\t\t\n\t\t//Exception handling if file doesnt exist\n\t\ttry {\n\t\t\tdataScanner = new Scanner(file);\n\t\t} catch (FileNo...
[ { "docid": "5bba421391e869ef8749d671339cfbfe", "score": "0.6752083", "text": "public void load() {\n try (BufferedReader read = new BufferedReader(new FileReader(this.path))) {\n String str;\n while ((str = read.readLine()) != null) {\n if (str.length() != 0 &...
62aa3c001d6376b1acd24ec051d76d31
Get the adapter of this reorder list view.
[ { "docid": "cece3b2b58ba9dc689daafbe3e52399d", "score": "0.66894865", "text": "@Override\n public ListAdapter getAdapter() {\n if (mDisableAdapter == null) {\n return super.getAdapter();\n }\n\n // If HeaderView exists, it will be wrapped by HtcHeaderViewListAdapter\n ...
[ { "docid": "9c34988d795236c1b4bb9fc82470e8c2", "score": "0.6746797", "text": "private ListAdapter getWrappedAdapter() {\n return mDisableAdapter != null ? mDisableAdapter.getWrappedAdapter() : null;\n }", "title": "" }, { "docid": "9b7f630962af98f47b3ccd07a884f759", "score": "0...
061d0247b836183c49991e128651e3b2
no default construtor will be this class. because every person should minimum have a name, age and phoneNumber
[ { "docid": "a285d18119d1ded4b1ac437d86271349", "score": "0.82111984", "text": "public Person(String name, int age, String phoneNumber) {\n this.name = name;\n this.age = age;\n this.phoneNumber = phoneNumber;\n }", "title": "" } ]
[ { "docid": "c48a1debb9d9cb5ff955e70168235d47", "score": "0.8255008", "text": "public Person() {\n\t\t// TODO Auto-generated constructor stub\n\t\tname = new Name(\"\");\n\t\tbirthday = new Birthday(\"\");\n\t\tphone = new Phone(\"\");\n\t\temail = new Email(\"\");\n\t\taddress = new Address(\"\");\n\t}"...
4d3c0b24e97b0e5006603d51627f37f6
get mapping for edit pipeline
[ { "docid": "64f597ec703eef7128bbfa97d8803e59", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n\n\t@GetMapping(\"view-crm-pipeline-edit\")\n\tpublic @ResponseBody JsonResponse<PipelineModel> editPipeline(@RequestParam String id, HttpSession session) {\n\n\t\tlogger.info(\"Method : edit Pipeli...
[ { "docid": "744a327015b1ee20530a36164f5884d3", "score": "0.62976307", "text": "String getViewMapping();", "title": "" }, { "docid": "a3f38165e91bb98e9ffdd09c7443a338", "score": "0.59629565", "text": "private String processView()\n {\n ProjectInformation projectInformation =...
fef77df6f7fe790aa239e9bb3d2d0d4a
Checks if a given node is in this path.
[ { "docid": "d74328dabac033fb2cc3f80f7df92a4f", "score": "0.65944695", "text": "public boolean contains(Node n) {\n\t\tif (n==null) return false;\n\t\tif (_startNode.equals(n)) return true;\n\t\tfor (Iterator it = _edges.iterator(); it.hasNext();) {\n\t\t\tif (((Edge) it.next()).getEndNode().equals(n))\n...
[ { "docid": "556980d5a8a549d6d661d39d7d8f3d4f", "score": "0.7038553", "text": "boolean containsNode(CyNode node);", "title": "" }, { "docid": "05fe41b70f108b69c3d0b410bf417f9e", "score": "0.7020987", "text": "public final boolean contains(T node) {\n return node != null && nod...
9505fcccccd8cab0a0eff195f7b648ac
Returns the value of the 'Percent Work Complete' attribute. The amount of work completed on the assignment.
[ { "docid": "67144ee2ab4c8aa1e4dec93dc216c413", "score": "0.7990534", "text": "BigInteger getPercentWorkComplete();", "title": "" } ]
[ { "docid": "46dd0e6e8aace159f0b8c04cec6886e3", "score": "0.7776378", "text": "public synchronized Integer getPercentageComplete() {\r\n m_lastAccess = new GregorianCalendar(); \r\n return m_percentageComplete;\r\n }", "title": "" }, { "docid": "50d96dfffa0...
c210a5d11e55fdd05cfcfd4a471c6e4a
Returns the analyzed exception info for each exception. The are ordered outermost exception to innermost.
[ { "docid": "7b86b93ad9fee45e7f6809553c9f9e79", "score": "0.7459512", "text": "List<ExceptionInfo> getExceptionInfos();", "title": "" } ]
[ { "docid": "8a8a5ccc81b59f11a818f457c2643004", "score": "0.7470786", "text": "public interface ExceptionAnalysis\n{\n /**\n * Returns the analyzed exception info for each exception. The are ordered outermost exception to innermost.\n */\n List<ExceptionInfo> getExceptionInfos();\n}", "...
f107475fd4b75f454ff75dd391dae2d5
method to handle Qnames
[ { "docid": "8d479ed3c8cac482cb468824da256af9", "score": "0.0", "text": "private void writeQName(javax.xml.namespace.QName qname,\n javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {\n java.lang.String namespaceURI = qname.ge...
[ { "docid": "b222ac7f24651d7d7c127d1966b8d954", "score": "0.6699805", "text": "String getQueryName();", "title": "" }, { "docid": "cc790e2c2c48d1fd0f24e14e3001464b", "score": "0.62585604", "text": "protected abstract String getObjectNameQuery();", "title": "" }, { "docid":...
09d393bf94aaf8eeef4c33721a7c1fdb
Step 4: write your tests
[ { "docid": "4031eb6be17bfc7588a6ce45e5afcebc", "score": "0.0", "text": "@Test\n\tpublic void returns_true_for_38() {\n\t\t// Arrange (optional)\n\t\t// Act\n\t\tboolean result = less20.isLessThanMultipleOf20( 38 );\n\t\t// Assert\n\t\tAssert.assertTrue( result );\n\t}", "title": "" } ]
[ { "docid": "3b846cb3d5fdd89c2afbf8190e9d2db5", "score": "0.7340167", "text": "@Override\n\t\t\tpublic void test() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "95a9de5026ac76a9fe4e7c910fdc57c0", "score": "0.7275497", "text": "@Test\n\tpublic void TC001() {\n\t\t\n\t\t\n\t\t\n\t}"...
f0cbbfb04e17f4f2beec968712ca4bf7
(Highstock) Color of the control line. In styled mode use class highchartsaxisresizer instead. This feature requires the dragpanes.js module.
[ { "docid": "affe9d87493777b1912f8610c919f3ec", "score": "0.49337384", "text": "@JSProperty(\"lineColor\")\n @Nullable\n String getLineColor();", "title": "" } ]
[ { "docid": "23d014ef0288672901d38a526dbeb784", "score": "0.6037395", "text": "String plotBorderColor();", "title": "" }, { "docid": "774df324e9ed6ea8ea073b778bedcb59", "score": "0.5891155", "text": "public AssistentPaletteColor() \n { \n initComponents();\n jScrol...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "d2ef693703a2f1d21fe0ca522aa287dd", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_editar_lista, container, false)...
[ { "docid": "a4d0257af1c9c1fc6729357a2e43b6ae", "score": "0.67601705", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_retrofit_upload, container, f...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5581e25ffbd9a9e9131e44b86b52c400", "score": "0.0", "text": "@Override\n\tpublic void destroy() {\n\t\tsuper.destroy();\n\t\tSystem.out.println(\"destroy\");\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
22740d5096e7dd593c0b796a21dc0b41
Getting the rating and displaying it on the toast
[ { "docid": "baff5cb1e62bfe3fb8437671b79095b2", "score": "0.57412946", "text": "@Override\n public void onClick(View arg0) {\n String rating = String.valueOf(ratingbar.getRating());\n DatabaseReference myRef1 = FirebaseDatabase.getInstance().getReference(util.path...
[ { "docid": "3120000ec48221150ac9f6d1a104a998", "score": "0.7547488", "text": "@Override\n public void onClick(View v) {\n String review = editreview.getText().toString();\n String rating=String.valueOf(ratingbar.getRating());\n Toast.makeText(getAp...
dddef7068aeb8929c05ddd9e9e8458b3
Tests the addChild(Tree newChild) method with valid (nonlooping) children.
[ { "docid": "f06b73c636fa98ac2024861ed32d6b92", "score": "0.6496264", "text": "@Test\n\tpublic void testAddChildOneParameter() {\n\t\ta.addChild(d);\n\t\tassertTrue(a.numberOfChildren() == 3);\n\t\tassertTrue(a.child(0).getValue().equals(\"B\"));\n\t\tassertTrue(a.child(1).getValue().equals(\"C\"));\n\t\...
[ { "docid": "6b91146b5f6558f86ed305e03e9fbe93", "score": "0.72291964", "text": "@Test(expected=IllegalArgumentException.class)\n public void testAddChildOneParameterLooping() {\n\t\ta.addChild(d);\n\t\tassertTrue(a.numberOfChildren() == 3);\n\t\tassertTrue(a.child(0).getValue().equals(\"B\"));\n\t\ta...
9c3fad6747f50d31af95be9907da85fc
converts matrix to 1 dimensional row vector it calls reshape command
[ { "docid": "72d76565e999f601a0bae983e759b38a", "score": "0.6205021", "text": "public CMatrix toRowVector() {\n CMatrix ret = this.clone(this);\n\n ret = ret.reshape(1, ret.getRowNumber() * ret.getColumnNumber());\n return ret;\n }", "title": "" } ]
[ { "docid": "aa712081f95cbc7a1798a7bda0f78970", "score": "0.5948104", "text": "public MatrixN toRowVector() {\n\t\tMatrixN a = new MatrixN(1, dim());\n\t\tint i;\n\t\tfor (i = 0; i < dim(); i++) {\n\t\t\ta.set(0, i, ref(i));\n\t\t}\n\t\treturn a;\n\t}", "title": "" }, { "docid": "eed04baa61d2...
5ad9eef999d2b69e70f32f684596ad53
Prepare a new locator to be used to open object for writing.
[ { "docid": "1ae7fb67091544539deae4f205df530b", "score": "0.46078292", "text": "public void writePath(Transaction me,\n\t\t\tContentionManager manager,\n\t\t\tLocator<X> newLocator) {\n retry:\n while (true) {\n\t Copyable<X> version = getVersion(me, manager);\n\t newLocator.oldVersion = versio...
[ { "docid": "44fe918f38755fa872edae8a411084e0", "score": "0.5996889", "text": "public Locator() {\n writer = Transaction.COMMITTED;\n readers = new ReadSet();\n oldVersion = null;\n newVersion = null;\n }", "title": "" }, { "docid": "7a61a607bc1166e90b67ea7b03d0bb0d", "score"...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "f585ada69e4d9d7098a21d7b8157ad16", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTabbedPane1 = new javax.swing.JTabbedPane();\n ...
[ { "docid": "b2448da2d88321527a008e8847d4903d", "score": "0.7521858", "text": "public LineupForm()\n\t{\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7391807", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defa...
1bf285ef9f42cea279bed8e589f0a74a
uint64 request_count = 2;
[ { "docid": "33141c9193994392fd1a74688d77eb6e", "score": "0.733903", "text": "long getRequestCount();", "title": "" } ]
[ { "docid": "9c07e5cbca1750fbf3edd3afdaa5e665", "score": "0.67240083", "text": "@Override\n public void request(long n) {\n }", "title": "" }, { "docid": "c8351e3eae77c40c7ae0b102c431cf4e", "score": "0.67043686", "text": "long getRequestGeneration();", "title": "" }, { ...
93bc1c3362834556d36e4bd93c21aeca
Output only. The full name of the RestorePlan resource. Format: `projects/locations/restorePlans`.
[ { "docid": "52703e71a1df1d0de17a257816f0a8a7", "score": "0.0", "text": "public java.lang.String getName() {\n return name;\n }", "title": "" } ]
[ { "docid": "be7d86b3f048f4ebe40aa12449812e49", "score": "0.69857985", "text": "String getPlanName();", "title": "" }, { "docid": "0951568b385a2ecd6ede11d89aaedf10", "score": "0.65972984", "text": "public String getPlanName() {\n return planName;\n }", "title": "" }, ...
92c1db848afd933e3dfb44a0db179b74
Gets the invocation id.
[ { "docid": "6c54bfed412b34193da896cd5b2e0de4", "score": "0.7443381", "text": "public long[] getInvocationID() {\n\t\treturn invocationID;\n\t}", "title": "" } ]
[ { "docid": "7bfa68ffe15fcce61e9a4a6ac77ecb0b", "score": "0.7902183", "text": "public String getInvocationID() {\n\t return this.invocationID;\n\t}", "title": "" }, { "docid": "3cd41ba766d79b0e623f62689ceaa2c3", "score": "0.77554286", "text": "int invokeId();", "title": "" },...
c68ae35caa153bb8cd3016c9c26da677
Create an intent to pick an image from device or from camera
[ { "docid": "027770f19ce37119d9c8733a860ea1ba", "score": "0.0", "text": "public static Intent CreatePickImageIntent(Activity activity, String chooserTitle, boolean includeCamera, File cameraImage) {\n Intent takePictureCameraIntent = null;\n Intent takePictureGalleryIntent = new Intent(Inte...
[ { "docid": "40df3a65329f93eb18c0ec1c17dca516", "score": "0.80242807", "text": "private void chooseImage() {\n Intent intent = new Intent();\n intent.setType(\"image/*\"); //setting intent type to image\n intent.setAction(Intent.ACTION_GET_CONTENT); //action is set to get some conten...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "29b08176eb9b73934d140f8bac0b6bad", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t\tSystem.out.println(\"Enter loan amount : \");\n\t\tScanner input = new Scanner(System.in);\n\t\tint loan = input.nextInt();\n\t\tSystem.out.println(\"Enter loan period : \");\n\t\tint ...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905785", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66777676", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e210c45882b3ce232fcdf07e8b27bf9e", "score": "0.0", "text": "public static int sumArray(int[] a) {\n\t\tint sum = 0;\n\t\tfor(int i=0;(i<=a.length-1);i++) {\n\t\t\tsum = sum + a[i];\n\t\t}\n\t\treturn sum;\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.66708666", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65675074", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "...
a513db3f70dec5edaa74fc1e2f4cde32
Perceives agents passed onto this sensor
[ { "docid": "f53e8e2727b762f6c2cae0436d241ab3", "score": "0.648809", "text": "protected void perceiveAgents(List<AgentState> agentStates)\n {\n for(PhysicalSensor<?, ?> sense : senses)\n sense.perceiveAgents(agentStates);\n }", "title": "" } ]
[ { "docid": "446dca2bff2d7566418004806bc49eb8", "score": "0.63953465", "text": "public void readAgent() {\n\t\t\n\t}", "title": "" }, { "docid": "08a9be1fd41c8db95af33f9f571292e3", "score": "0.6186224", "text": "public interface AgentsTransfer extends Remote {\n\t\n\t/**\n\t * Run the...
9d580265202033fa798d6ef0e80d8e9e
An interface for an execution adder. So far, we have a main execution adder, that adds a set commands to the main control flow. And a function execution adder, that adds a set of commands to the function.
[ { "docid": "2b9ba3b26b5d8aa482cc3ed9fdef6912", "score": "0.82214504", "text": "public interface IExecutionAdder {\n\tvoid addCommand(ICommand command);\n}", "title": "" } ]
[ { "docid": "c48539bf80a0378c498ba601ebfbe9de", "score": "0.6715211", "text": "public interface Commands\n{\n void execute();\n\n}", "title": "" }, { "docid": "a0ea1acb832b8a10a1b445f2748f5299", "score": "0.6676717", "text": "public interface Command {\n public double execute();\...
2919def556bbd9d9f05bd7f7b587919e
Calcula el IVA repercutido
[ { "docid": "11c7e1083159ccd7893e368317c5e40a", "score": "0.6413398", "text": "public static float calcularIva(float precioSinIva, float iva) {\n\n\t\tfloat precioConIva = precioSinIva + (precioSinIva * iva / 100);\n\t\treturn precioConIva;\n\t}", "title": "" } ]
[ { "docid": "c7a8348273d5995e2771c25dc91f1fbb", "score": "0.6457229", "text": "@Override\r\n public void calculaVolumen() {\r\n volumen = Math.PI * radio * radio * altura;\r\n }", "title": "" }, { "docid": "a907ebd7c6c749084f4d219954978b5b", "score": "0.6153175", "text": ...
0ab10af99dfd0fd05883808ef794e61a
$ANTLR end rule__FeatureCall__Group_0_1__0__Impl $ANTLR start rule__FeatureCall__Group_0_1__1 ../org.eclipselabs.mscript.language.ui/srcgen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:11586:1: rule__FeatureCall__Group_0_1__1 : rule__FeatureCall__Group_0_1__1__Impl ;
[ { "docid": "0fa03a08f5ac1d3e4ad70ea2508a9fd9", "score": "0.8149149", "text": "public final void rule__FeatureCall__Group_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/...
[ { "docid": "ba93ccbcb196a536c88677fa2ee7f227", "score": "0.81367016", "text": "public final void rule__FeatureCall__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/e...
c1eb105b00842fae16df8699acab4255
Returns the value of the 'Z' attribute. The default value is "1.0". If the meaning of the 'Z' attribute isn't clear, there really should be more of a description here...
[ { "docid": "586186bbeef333386998d82669ede36b", "score": "0.7812993", "text": "double getZ();", "title": "" } ]
[ { "docid": "6f3abf5b318954391cb676575d1aa76d", "score": "0.80105513", "text": "public double getZ() {\n\t\treturn z;\n\t}", "title": "" }, { "docid": "22b9b788ac307d73296d456cd1d116f3", "score": "0.7950961", "text": "public double getZ(){\r\n\t\treturn this.z;\r\n\t}", "title": "...
8c4ec115568e1c373f1e38328e273c9d
counts time from starting time and stores it
[ { "docid": "8e92d955e523b85a7bab957b2c43107b", "score": "0.0", "text": "public static void stopTime() {\n time = System.nanoTime() - startTime;\n }", "title": "" } ]
[ { "docid": "d67f68ca3ffbd1f572f8aef594aa1f33", "score": "0.65454924", "text": "protected void computeTime() {\n\t\tcomputedTime = System.currentTimeMillis()-startingTime;\n\t}", "title": "" }, { "docid": "faa197f2a289b1269620640e79761832", "score": "0.6514168", "text": "public void i...
66fc75bcea57abf065522a7d675bf2da
Check if given string is integer or not
[ { "docid": "556271df07abf3df7ac4bd3191f306f7", "score": "0.75579035", "text": "public static boolean isInteger(String s) {\n int radix = 10;\n if (s.isEmpty())\n return false;\n for (int i = 0; i < s.length(); i++) {\n if (i == 0 && s.charAt(i) == '-') {\n ...
[ { "docid": "07c4984c039c12bdc078b67c803e2043", "score": "0.8057415", "text": "public boolean isInt(String s){\n \tboolean isAnInt=true;\n \ttry{\n \t\tInteger.parseInt(s);\n \t}\n \tcatch(NumberFormatException e){\n \t\tisAnInt=false;\n \t}\n \tfinally{\n \t\treturn isAnInt;\n...
7edf0e5e72561d1d1f8d211b77a2d4f3
Tests if the substring of the next token string from this resolver beginning at the specified index starts with the specified prefix.
[ { "docid": "843be9c251edbea59d30dab372cd3d81", "score": "0.7272358", "text": "public boolean startsWith(String prefix, int startOffset) {\n\t\treturn match(prefix, startOffset, false);\n\t}", "title": "" } ]
[ { "docid": "899ab79dac50a0b0a191ab03aecba498", "score": "0.77614576", "text": "public boolean startsWith(String prefix) {\n\t\treturn match(prefix, 0, false);\n\t}", "title": "" }, { "docid": "ed24a585e076fe0872b95eb3db9da30c", "score": "0.7730024", "text": "protected boolean startsW...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8cca91cac925b5705ad04bc37f32693e", "score": "0.0", "text": "@Override\n\tpublic List<TblMulitData> getAll() {\n\t\treturn null;\n\t}", "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...
954b3de85fa62c7aa77244253c60d366
/String sa = new String("abc"); String str1 = "a"; String str2 = "b"; String str3 = "ab"; String str4 = str1 + str2; String str5 = new String("ab"); System.out.println(str5.equals(str3)); // true System.out.println(str5 == str3); // false System.out.println(str5.intern() == str3); // true System.out.println(str5.intern...
[ { "docid": "883def3e47bd40fb9b9fb52e93376aeb", "score": "0.92132336", "text": "public static void main(String[] args) {\n String a = \"abc\";\n String s1 = new String(\"abc\");\n System.out.println(s1.intern() == s1);\n\n// String s2 = new StringBuilder().append(\"ja\").appen...
[ { "docid": "b7dad4195c025b405a4bffc26ece9f68", "score": "0.90535146", "text": "public static void main(String[] args) {\n\n String s1 = new String(\"a\");\n s1.intern();\n String s2 = \"a\";\n System.out.println(s1 == s2);//false\n\n String s3 = new String(\"a\") + new...
a86acdc4dc4051dd6e07d349c596f7cd
Model supports order by, functions in join criteria
[ { "docid": "99a2701126b8176baebc5ff96f3c1415", "score": "0.0", "text": "@Test public void testUseMergeJoin9() throws Exception {\n // Create query\n String sql = \"SELECT pm1.g1.e1 FROM pm1.g1, pm1.g2 WHERE concat(pm1.g1.e1, 'x') = concat(pm1.g2.e1, 'x')\";//$NON-NLS-1$\n\n FakeCapa...
[ { "docid": "7bebea00e5dcba5114b93f02ac1366b2", "score": "0.6288809", "text": "public String getOrderByClause();", "title": "" }, { "docid": "610a892767f8403e4e6c56ac1825cb1b", "score": "0.60836506", "text": "public String getOrderByField();", "title": "" }, { "docid": "07...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b4d0ae9c49ab27cc8db3c89c3adcd868", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tEntityManagerFactory entityManagerFactory;\n\t\tentityManagerFactory = Persistence.createEntityManagerFactory(\"user\");\n\t\tEntityManager manager = entityManagerFactory.createEntityMan...
[ { "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...
59b1ff38e8c3351fb1b8a070ca25f6b2
UserAuthorityRepository with CRUD operations on UserAuthority entity
[ { "docid": "ba6c3b6f3c6d19f2e218c2564b9f6c7d", "score": "0.7254298", "text": "public interface UserAuthorityRepository extends CrudRepository<UserAuthority, Long> {\n\n /**\n * Finds a list of authorities of the given user name.\n * \n * @param username Username of the user\n * \n ...
[ { "docid": "299d44a2d442accffd09fc6b406e65ce", "score": "0.7553173", "text": "public interface UserAuthorityRepository extends CrudRepository<UserAuthority, Long> {\n\n List<UserAuthority> findByUsername(String username);\n}", "title": "" }, { "docid": "d5956bee8cc34f44c242f304a7132e11", ...
93d09ba3208865a69a6e759ee48387de
method to enter item name
[ { "docid": "1f1c466ef77c01e2ec30be8b8b4e70f9", "score": "0.7775573", "text": "public void item_name(String item_name1)\n\t{\n\t\tenter_item_name.sendKeys(item_name1);\n\t}", "title": "" } ]
[ { "docid": "7f752950d28f3f603946952bc67b989a", "score": "0.8141488", "text": "void setItemName(final String name);", "title": "" }, { "docid": "0528cb199d785bbaa54953391baad7b8", "score": "0.8003257", "text": "public void setItemName(String itemName) { this.itemName = itemName; }", ...
24b222bd00c728d1a021c97bd53060c9
Whether this enumeration represents a state where data cannot be modified anymore.
[ { "docid": "91d01d3d731ffd454e713e01b6b3f2eb", "score": "0.6279117", "text": "final boolean isUnmodifiable() {\n return code >= ModifiableMetadata.FINAL;\n }", "title": "" } ]
[ { "docid": "37cd0289b198ddba0e718d0edb5bb3ff", "score": "0.6887528", "text": "@SuppressWarnings(\"WeakerAccess\")\n public Boolean IsInvalid() {\n return _status.Invalid;\n }", "title": "" }, { "docid": "3c63c04bd4fb0c89e45fd9ccb31c13f7", "score": "0.6451185", "text": "@...
790ad7cd8bb108cd28883e1803db1407
Unpacks the compressed character translation table.
[ { "docid": "f1d9cda07ce2cf5b5bcf30ed72686b3f", "score": "0.5789259", "text": "private static char [] yy_unpack_cmap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 146) {\n int coun...
[ { "docid": "3c35b58917259da8661f32294efbe2f0", "score": "0.6268001", "text": "private static int yy_unpack(String packed, int offset, int [] trans) {\n int i = 0; /* index in packed string */\n int j = offset; /* index in unpacked array */\n int l = packed.length();\n while (i < l) {...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8a09fa86b095b72b7945f3c4642ff2be", "score": "0.0", "text": "@Override\n\tpublic void clear() {\n\t\t\n\t}", "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...
f703d863ca1797b501bc58ba8acfb8ec
Created by techMenaka on 8/18/17.
[ { "docid": "552dc4d1accfe1b3c4de59da6975beb3", "score": "0.0", "text": "public interface KafkaProducerService {\n void configure(String brokerList, String sync);\n\n void start();\n\n void produce(String value) throws ExecutionException, InterruptedException;\n\n void close();\n}", "titl...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6081244", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "88ecb62c7a1a93131fb72fdf892b6e96", "score": "0.60714513", "text": "public void mo18969b() {\n }", "title": "" }, ...
4cf940754b39ca17f7eda6ffe5fce46a
TODO get ride of over usage by saving variable once on run. Returns the date in format of "Jul 06"
[ { "docid": "5ecb0fb78bece68e907e520ff6c6ce71", "score": "0.60986054", "text": "public static String getDate(){\n Date today = new Date();\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"MM-dd-yy\");\n String date = dateFormat.format(today);\n return(date); \n }", ...
[ { "docid": "17fb0b2507e048056360b6320d1dfe01", "score": "0.6474678", "text": "static String getDate()\n\t{\n\t\treturn dateFormat.format(currentDate);\n\t}", "title": "" }, { "docid": "46e251394e825a2025620d449caf2e64", "score": "0.6436651", "text": "public static String getRunDate()...
3fc7dd2d93641208ff9736d37dfdb228
Returns the combined boundaries of the currently selected segments.
[ { "docid": "588d2a7fc5afff7b6e013228ce274da7", "score": "0.6673403", "text": "public double[] getCombinedAnnotationBoundaries() throws NoSegmentationSelectedException {\n TreeSet<ObservableSegment> selectedAnnotations = observableSegmentation.getSelectedSegments();\n double timeStart = sel...
[ { "docid": "b760ea7ea94f928a725bfcc9569f4bd5", "score": "0.59870887", "text": "Rectangle getBounds(boolean highlighted);", "title": "" }, { "docid": "84540baae936bc0af598719f23ff9fad", "score": "0.597117", "text": "@Override\r\n @Immutable\r\n public int[] getBoundaries() {\r\n...
533fed589b0d03d221a24338e835c226
Return player has permission node.
[ { "docid": "de161b5b849fa7203f1dde409efe552a", "score": "0.69557416", "text": "public boolean hasPermission(Player player, String permission){\n\t\treturn player.isOp() ? true : player.hasPermission(permission);\n\t}", "title": "" } ]
[ { "docid": "c589a121a009ccbe7e7e209034e62c37", "score": "0.72405666", "text": "public Boolean hasPermission(CommandSender sender, String node, Boolean needOp) {\n\t\tif (!(sender instanceof Player)) return true;\n\t\n\t\tPlayer player = (Player) sender;\n\t\tif (Permissions != null) return Permissions.h...
98b8ace0b0cfd4ca32b35738031895ec
Website I used to understand and construct the multiBracketValidation method
[ { "docid": "3b98f59d3300049f9b31fef0556373ac", "score": "0.6935776", "text": "public boolean multiBracketValidation(String input) {\r\n HashMap<Character, Character> map = new HashMap<Character, Character>();\r\n map.put('(', ')');\r\n map.put('[', ']');\r\n map.put('{', '}')...
[ { "docid": "e57a46e85e378c7646df1e8a8859e797", "score": "0.66492707", "text": "@Override\n public List<String> validationErrors(String str){\n List<String> errors = new ArrayList<String>();\n long brackets_count = 0;\n for (int i = 0; i < brackets.length; i++) {\n if (...
f63a5c37e30d3f3eb8a54608bdd287cb
Returns a new PixelFormat with the current settings.
[ { "docid": "b302487360ad3e0bd527958e65bdb9a3", "score": "0.66787905", "text": "public PixelFormat getFormat() {\n return new PixelFormat( bpp, alphaBits, depthBits,\n stencilBits, samples );\n }", "title": "" } ]
[ { "docid": "5341fc539fa2996b7811de658913e32b", "score": "0.50944567", "text": "public MediaFormatFactory getFormatFactory()\n {\n if (formatFactory == null)\n formatFactory = new MediaFormatFactoryImpl();\n return formatFactory;\n }", "title": "" }, { "doc...
b2f3238f00e0c502127dda2b8440548c
end of main method
[ { "docid": "7dd3055e3ab38fade32466e2aa37c1f1", "score": "0.0", "text": "private static void printArray(int[] array) {\r\n for (int i = 0; i < array.length; i++) {\r\n System.out.print(\r\n (i == 0) ? \"[\" + array[i] :\r\n (i != array.lengt...
[ { "docid": "352e74fe9be7236a67e8703f282c8a70", "score": "0.7054282", "text": "public static void main() {\n\n\t}", "title": "" }, { "docid": "0e2493394973b2ff084e01a671d33a11", "score": "0.68781084", "text": "public static void main (String[] args)\r\t{", "title": "" }, { ...
d6221ec92bf68311f2468b4dd1d3b673
java.lang.Object unmarshal(java.io.Reader) Method validate
[ { "docid": "0f42056b70d300f1fb3c19d9f9157031", "score": "0.0", "text": "public void validate()\r\n throws org.exolab.castor.xml.ValidationException\r\n {\r\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n validator.validate(this);\r\n }"...
[ { "docid": "d5c85d833f31b637693f7bd33bff8d16", "score": "0.64063084", "text": "public Object parseXml(Reader reader) throws Exception {\n JAXBContext jc = JAXBContext.newInstance(Resource.class, Institution.class, Person.class);\n final List<String> lines = IOUtils.readLines(reader);\n ...
6e7ef07997725c91bec680ecb170d46c
Load a specified Assignment from SharedPreferences
[ { "docid": "fc2355fd49678fde47f0653ef40f812a", "score": "0.7938101", "text": "public static Assignment load(Context context, String key) {\n Gson gson = new Gson();\n\n SharedPreferences prefs = context.getSharedPreferences(prefs_file, Context.MODE_PRIVATE);\n String assignmentStrin...
[ { "docid": "28ad836fac7e8f5e277fa37c89e23ef5", "score": "0.6353788", "text": "public static List<Assignment> loadAllAssignments(Context context) {\n List<Assignment> assignments = new ArrayList<>();\n Assignment assignment;\n Gson gson = new Gson();\n\n Log.d(\"loadAllAssignm...
f2f15d3dc18fd360d8582fd3a1398e1a
Run the void setStringPermissions(Set) method test.
[ { "docid": "ab5ac7e895e4057f926072043a39aa59", "score": "0.826422", "text": "@Test\n\tpublic void testSetStringPermissions_1()\n\t\tthrows Exception {\n\t\tSimpleAuthorizationInfo fixture = new SimpleAuthorizationInfo(new HashSet());\n\t\tfixture.setStringPermissions(new HashSet());\n\t\tfixture.setObje...
[ { "docid": "027e2dc227a467787c88196d9f5b4ec6", "score": "0.73513615", "text": "@Test\n\tpublic void testAddStringPermissions_1()\n\t\tthrows Exception {\n\t\tSimpleAuthorizationInfo fixture = new SimpleAuthorizationInfo(new HashSet());\n\t\tfixture.setStringPermissions(null);\n\t\tfixture.setObjectPermi...
1e7a5c67854af7efe6b838b1cea8163c
Sets the kept salary card of this player (identified via ID number) to the given salary card and resets the current number of pay raises to 0 should this player decide to switch careers (alongside salaries)
[ { "docid": "91b1e90aceba3e8389d21b51ac09f68f", "score": "0.6918773", "text": "public void keepSalaryCard(int currPlayerID, SalaryCard c) {\n players.get(getIndexOf(currPlayerID)).keepSalaryCard(c);\n }", "title": "" } ]
[ { "docid": "3f9dca5be751a0e72a7c3ba6b725c562", "score": "0.6623758", "text": "public void setCash(long salary) {\r\n\t\tthis.salary = salary;\r\n\t}", "title": "" }, { "docid": "5a97b152d564e4cdf1ccf74ce6123bb3", "score": "0.61237645", "text": "public void setSalary(int newSalary)\n ...
2e58c794a80c5294f72439f311030b61
POST /okusefers : Create a new okuSefer.
[ { "docid": "cab4516f694c9f1d1a7b491652e07be9", "score": "0.7879045", "text": "@PostMapping(\"/oku-sefers\")\n @Timed\n public ResponseEntity<OkuSefer> createOkuSefer(@RequestBody OkuSefer okuSefer) throws URISyntaxException {\n log.debug(\"REST request to save OkuSefer : {}\", okuSefer);\n ...
[ { "docid": "cad0094f9161549eeb6999baa6dfef5f", "score": "0.5418126", "text": "@PostMapping(\"/fichas\")\n public ResponseEntity<Ficha> createFicha(@Valid @RequestBody Ficha ficha) throws URISyntaxException {\n log.debug(\"REST request to save Ficha : {}\", ficha);\n if (ficha.getId() !=...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d9b1d14351a0ac45cda26bf0f0ee0083", "score": "0.0", "text": "@Override\n\tpublic void saveStudent(Student student) {\n\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
64c22bdae543efd0eca2982713c1601d
Server Port Server Constructor
[ { "docid": "652372905033ed15736c3b9234aa8270", "score": "0.6885765", "text": "public Socket3Server (int port) throws IOException {\n\t\t\n\t\t// Port\n\t\tthis.port = port;\t\t\n\t\n\t\t\n\t\t// While Loop For Multiple Clients\n\t\twhile (true) {\n\t\t\t\n\t\t\t// Server Socket Initialization\n\t\t\tthi...
[ { "docid": "b7446085928f753fb35d6965c36a8b74", "score": "0.86160004", "text": "public Server(int serverPort) {\r\n\t\tthis.serverPort = serverPort;\r\n\t}", "title": "" }, { "docid": "0ee2b59e114709b9373d52f92a5440e7", "score": "0.80444366", "text": "public Server(int port) {\n\t\tth...
2b1f91402cf6ddeebe4caf16e016fecb
Check if an adjacency list contains all vertices from a set.
[ { "docid": "150986c670a6fda6285fdf58e07de846", "score": "0.687116", "text": "private void verifyContainsVertices(AdjacencyList adjacencyList,\n Set<Vertex> vertices) {\n for (Vertex vertex : vertices) {\n assertTrue(adjacencyList.containsVertex(vertex));\n }\n }", ...
[ { "docid": "8b539458698897bab744c11ae29cf80f", "score": "0.7152232", "text": "public boolean contains(Set<T> set)\n {\n return from.containsAll(set);\n }", "title": "" }, { "docid": "33c9d900acfc237b6bee5bf724e5f21a", "score": "0.6995531", "text": "public boolean allConnected(){...
ea1457ad3206802d65f917d533312902
Constructor for the PreGameSetup class
[ { "docid": "5e4eb2f68a01ccd9608c5be3b357fa56", "score": "0.7705201", "text": "public PreGameSetup() {\r\n vf = new VerifyInput();\r\n this.bagValues = new int[3][];\r\n }", "title": "" } ]
[ { "docid": "e50eb988e819852b3313d57b9a9b38fb", "score": "0.6560428", "text": "@Before\n\tpublic void setUp()\n\t\tthrows Exception {\n\t\tplayers = new String[3];\n\t\tplayers[0] = \"1\";\n\t\tplayers[1] = \"2\";\n\t\tplayers[2] = \"3\";\n\t\tgame = new Game(3, \"Default map1.xml\", null, players);\n\t\...
8c9922b7c9171b2f6e6ed4cc67d36809
End of method Method to change maximum withdraw limit
[ { "docid": "8f62df7975532e41f75ca8b9395e6f96", "score": "0.71968615", "text": "public void setMaxWithLimit(double maxWithLim)\n{\n maxWithLimit = maxWithLim;\n}", "title": "" } ]
[ { "docid": "9686c19cd3642138d0c0cb99c7998aa9", "score": "0.68937325", "text": "public void setMaxDayWithDrawel(double maxDayWithdrawel) {\n this.maxDayWithdrawel = maxDayWithdrawel;\n }", "title": "" }, { "docid": "18e097dd8138f7c6cb2a3c3b9c337c3b", "score": "0.6656826", "t...
dfc3b2b122b0709364cf5b79f7b0c4ae
The communication table in flat file storage
[ { "docid": "c0a4a235d78fe8b2b38bbc3cdccd6a0d", "score": "0.6850001", "text": "public FileCommunicationTable communicationTable(){\n return new FileCommunicationTable(yamlConfiguration, file);\n }", "title": "" } ]
[ { "docid": "2ed441125057e2dd27d935bc76761287", "score": "0.54928565", "text": "void write(RandomAccessFile table){\n try{\n table.writeShort(cellPayloadSize);\n table.writeInt(rowid);\n\n table.writeByte(numOfColumns);\n for(DataElement e : payload){\n ...
3306e9673fb326664ee3082258bd023d
This constructor creates a single TransactionSystem
[ { "docid": "650f85d897006ce2f5732b5b7045c4ef", "score": "0.76362914", "text": "public TransactionSystem()\n\t{\n\t\ttransactionQueue = new LinkedList<Transaction>();\n\t\tSystem.out.println(\"Transaction system created!\");\n\t}", "title": "" } ]
[ { "docid": "3295a92016e3911b7441ae2efac4fa09", "score": "0.6815321", "text": "public TransactionSystem(List<Transaction> transactionList)\n\t{\n\t\ttransactionQueue = new LinkedList<Transaction>();\n\t\tfor(Transaction transaction: transactionList)\n\t\t\ttransactionQueue.add(transaction);\n\t\tSystem.o...
8fcdafe7bf04dad587e6cf2b17088306
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation
[ { "docid": "9af3ed8dd000e4280deacd0f73982ff4", "score": "0.0", "text": "public void onClick(DialogInterface dialogInterface, int n2) {\n try {\n int n3;\n FileInputStream fileInputStream = new FileInputStream(new File(a.i));\n ...
[ { "docid": "4774c9b7c543e06883e1566ff6a8b0d5", "score": "0.5739996", "text": "protected boolean sortBasedShuffleOn () { throw new RuntimeException(); }", "title": "" }, { "docid": "f0b5701a132c8e643ae27861184adaff", "score": "0.55396867", "text": "private MeasuringSortingAlgorithms(...
c8ad066ea21174f8674e8116da9772d1
Compile the grammar into a parser.
[ { "docid": "325a2bc1feb32bd71aeb3b6fada4ed56", "score": "0.65156096", "text": "private static Parser<FlingballGrammar> makeParser() {\n try {\n // read the grammar as a file, relative to the project root.\n final File grammarFile = new File(\"src/flingball/Flingball.g\");\n ...
[ { "docid": "bd3f25529514759ceb4b16541d9c7d21", "score": "0.63869643", "text": "public void parseCompile() {\n\tthis.checkToken(\"compile\");\n\t((DefaultHandler)this.handler).setCommand(\"compile\");\n}", "title": "" }, { "docid": "051f4a410cda9d1f4bd492a785ce8b2a", "score": "0.634962", ...
d9b67549c8411796f80dcd8b4eae22c1
required int32 lobbyId = 1;
[ { "docid": "b049c6b75ef84bc82aacb926e1ef27f2", "score": "0.0", "text": "public boolean hasLobbyId() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "2de483cab1a65430d04155734803c3b7", "score": "0.59023935", "text": "public void setC_BankAccount_ID (int C_BankAccount_ID)\n{\nset_Value (\"C_BankAccount_ID\", new Integer(C_BankAccount_ID));\n}", "title": "" }, { "docid": "7b90b6dfa92b591424628f06a9a77573", "score": "0.585106...
52f2a021a1a7882e2d862990cda8099a
get ICE Contact From Input
[ { "docid": "0ab9fdd1347c6f68cba16221a1155fc9", "score": "0.79420763", "text": "private ICE getICEContactFromInput() {\n ICE ice = new ICE();\n ice.setId(getArguments().getInt(\"id\"));\n ice.setName(name.getText().toString());\n ice.setContactNo(iceContactNo.getText().toStrin...
[ { "docid": "3396ae005252360089f6b984d9819002", "score": "0.678984", "text": "private ICE toSaveICEContactFromInput() {\n ICE ice = new ICE();\n ice.setId(getArguments().getInt(\"id\"));\n ice.setName(name.getText().toString());\n ice.setContactNo(iceContactNo.getText().toStri...
350b174a605463f9182f7e1106b2ca17
end getAccountBalance method Update the current balance
[ { "docid": "1c1e868a0ae73e5de377332e4a252059", "score": "0.0", "text": "public boolean withdrawAmount(int amount)\r\n\t{\r\n\t\tif (isEnoughWithdraw(amount))\r\n\t\t{\r\n\t\t\tbalance = balance - amount;\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn false;\r\n\t\t} //end if\r\n\t}"...
[ { "docid": "691a74bc96226c7ccd1400e88bd9d47c", "score": "0.8153288", "text": "private void updateAccountBalance(String accountId) {\n List<BookingModel> bookingModelList = bookingModelMap.get(accountId);\n\n double value = 0.0;\n for (BookingModel bookingModel : bookingModelList) {\...
71c62c274acb87f19fcd85a91ff945c2
Set the timestamp at which this infraction was created
[ { "docid": "2755eba681b0ed097c0a383dbc6d71c9", "score": "0.71908706", "text": "public InfractionBuilder setTimestamp(Long timestamp) {\n this.timestamp = timestamp;\n return this;\n }", "title": "" } ]
[ { "docid": "01a253b5018f4dbd55a6f2f998512c63", "score": "0.7433302", "text": "public void setTimestamp()\n\t{\n\t\ttimestamp = System.nanoTime();\n\t}", "title": "" }, { "docid": "72035f707160b04ea3a7bd0ea84507ec", "score": "0.70953023", "text": "public void setTimestamp(Date tstamp)...
cae8ec73a6b14d68256a5877698d8939
/ access modifiers changed from: private / access modifiers changed from: public / renamed from: f
[ { "docid": "bd01517fe00de3a7da33e5106336f190", "score": "0.0", "text": "private final void m66123f(int i) {\n ZHImageView zHImageView = (ZHImageView) mo69930c(R.id.search);\n C32569u.m150513a((Object) zHImageView, C6969H.m41409d(\"G7A86D408BC38\"));\n zHImageView.getDrawable().mutat...
[ { "docid": "b03428f04b8600618608fca961bc1f9b", "score": "0.72233546", "text": "public void f() {\n\t\t\n\t}", "title": "" }, { "docid": "8df2860821597c6966a39b685d85efbd", "score": "0.7106618", "text": "private FahrzeugVerwaltung() {\n\t}", "title": "" }, { "docid": "e4d0...
327e5bdbd348a8dbbda990c723f4cb8c
sets up the menu item text when starting a new activity
[ { "docid": "73385a08a7e0662778d97581f829bfa0", "score": "0.0", "text": "@Override\r\n public boolean onPrepareOptionsMenu(Menu menu){\r\n MenuItem item = menu.findItem(R.id.shuffle);\r\n if(shuffle){\r\n item.setTitle(\"Shuffle::ON\");\r\n }\r\n else{\r\n ...
[ { "docid": "05e5e14571e5b504abe882bf6d740a8d", "score": "0.71273816", "text": "public void setMenuText(String text) {\n fMenuText = text;\n }", "title": "" }, { "docid": "86f2753bde14377e70f0a5ee3851886b", "score": "0.7069143", "text": "@Override\n public boolean onCreateOptio...
17e486ff27b308e754fe9dba33746847
RunGRP.printToDisplay returns a String representing the current run state in the correct format for the ChronoTimerGUI run display
[ { "docid": "68c5417732395221f9adec80fb280d3d", "score": "0.67586184", "text": "@Override\r\n\tpublic String printToDisplay(Calendar time){\r\n\t\tString out = \"\";\r\n\t\t\r\n\t\tif(!this.getRunners().isEmpty()){\r\n\t\t\tRunner elapsed = new Runner(-1);\r\n\t\t\telapsed.setStart(this.getStart());\r\n\...
[ { "docid": "612713edca538d6f61562fd2e4018507", "score": "0.67679983", "text": "public String getDisplay() {\n\t\tTime t = new Time();\n\t\tString ret = \"Current Race Time:\\n\";\n\t\tif(groupStart != null) ret += groupStart.difference(new Time()).printTime() + \"\\n\";\n\t\t\n\t\tret += \"\\nFinished:\...
801c5bfc150ff40e9faa77ecc3dfa541
Get the number of comparisons made.
[ { "docid": "7ec0992536f8e8730b1abb1471455b5c", "score": "0.0", "text": "public int getCount() {\r\n return count;\r\n }", "title": "" } ]
[ { "docid": "c61882ade7dc413c83fcec0c406229e9", "score": "0.7792799", "text": "public int getNumberOfComparisons() {\n return numberOfComparisons;\n }", "title": "" }, { "docid": "96d65cc80a54beb760698dd66d8501cb", "score": "0.75009763", "text": "public int countComparion ()...
b01c490e80a889439b877ae3cfbbe28e
Gets the single instance of WsnacidStub.
[ { "docid": "aceb665c377833e5f94ad1732a477867", "score": "0.7897192", "text": "public static WsnacidStub getWsnacidStub() throws AxisFault{\r\n\t\treturn getWsnacidStub(WS_NACID_ENDPOINT);\r\n\t}", "title": "" } ]
[ { "docid": "33e830b5f3e8caba130164ef0eefb01c", "score": "0.6647915", "text": "public static WsnacidStub getWsnacidStub(String ep) throws AxisFault{\r\n\t\tWsnacidStub stub = new WsnacidStub(ep);\r\n\t\tstub._getServiceClient().getOptions().setTimeOutInMilliSeconds(WS_TIMEOUT);\r\n\t\treturn stub;\r\n\t...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "906f5dceb800b096e13f5c0a7ee2de12", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View addressView=inflater.inflate(R.layout.fragment_blank_fragment2,null);\n ...
[ { "docid": "e4a07f9e56beb5c09bafea61fb480337", "score": "0.6792006", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_student_graph, container, fals...
d84576b6ddc443371f68f768af7d8766
Add link between two node
[ { "docid": "a038ae2e075c8056bb458fcbae9831c9", "score": "0.6286567", "text": "private void addLink(DiagramNode child, DiagramNode parent, boolean isInheritance) {\n DiagramLink link = diagram.getFactory().createDiagramLink(parent, child);\n if (isInheritance) {\n link.setBaseSha...
[ { "docid": "0779803fb1378e288752f555d52b5930", "score": "0.6772183", "text": "public boolean addLink(PathFragment fromFrag, PathFragment toFrag, String dataVal);", "title": "" }, { "docid": "09661bf3730b9c7b77eab7b8b0b49ae1", "score": "0.67651784", "text": "private void setNodeLinks(...
ed4ddfa107a560cd3679c2a2a242f581
repeated .PBCountDataType countElements = 1;
[ { "docid": "08ae7cbee33b70763ac61f0f51c5e408", "score": "0.55982596", "text": "@java.lang.Override\n public java.util.List<FollowersPlus.PBCountDataType> getCountElementsList() {\n return instance.getCountElementsList();\n }", "title": "" } ]
[ { "docid": "8b834a5fc25886e24c5831b04fa0635a", "score": "0.6908641", "text": "FollowersPlus.PBCountDataType getCountElements(int index);", "title": "" }, { "docid": "9a8a028469c2667df66a6fd761986a37", "score": "0.6299013", "text": "int getRepeatedAllTypesCount();", "title": "" ...
e491b8eb3809a988d873d753433610ad
repeated string equipped_item_id = 21; NPC: if not specified, inferred from inventory
[ { "docid": "0d83640b7acaaf00186f717655c05dcd", "score": "0.0", "text": "public Builder addAllEquippedItemId(\n java.lang.Iterable<java.lang.String> values) {\n ensureEquippedItemIdIsMutable();\n super.addAll(values, equippedItemId_);\n onChanged();\n return this;\n ...
[ { "docid": "2716221ba06a00811744de9b50669333", "score": "0.66403496", "text": "com.eldritch.invoken.proto.Actors.ActorParams.InventoryItem getInventoryItem(int index);", "title": "" }, { "docid": "f22d0374d05434a1981ddbf8e01eb77d", "score": "0.6526902", "text": "public void pickUp(St...
7232ba4cf4d70b0d4e0287148e423f15
TC: O(1) SC: O(1)
[ { "docid": "00fdd1e6debe2c44f99ba4e23b060c56", "score": "0.0", "text": "public boolean isOverlapping(Interval first, Interval second){\n return first.end >= second.start && second.end >= first.start;\n }", "title": "" } ]
[ { "docid": "00514a396111acdb8c4773cd851920d2", "score": "0.57805437", "text": "@Test\npublic void testUniquePaths() throws Exception { \n//TODO: Test goes here...\n UniquePathsDP uniquePathsDP = new UniquePathsDP();\n int paths = uniquePathsDP.uniquePaths(3, 7);\n int pathsBetter = uniquePathsD...
657d84b553715d1006883ea202555198
End of Add by Infosys for Bug 300086 Date 04/26/2005
[ { "docid": "7ab511b309a944f1276c5bccf6d178a3", "score": "0.0", "text": "public static MapList getContextPersons(Context context, String[] args, boolean bECAssign)\r\n throws Exception\r\n {\r\n Map programMap = (Map) JPO.unpackArgs(args);\r\n short sQueryLimit =\r\n ...
[ { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.7036223", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.6696784", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "7ba2946d983b...
fd3062d400ffd646bda382f4a7767037
Removes the device from the required device list
[ { "docid": "8d59097812e95769882348189e4ccb5d", "score": "0.7874261", "text": "void removeRequiredDevice(String dev) {\n synchronized (requiredDevices) {\n if (requiredDevices.contains(dev)) {\n requiredDevices.remove(dev);\n }\n }\n }", "title": ...
[ { "docid": "301871c5a3695497c0c00815324c962d", "score": "0.7739564", "text": "@Override\n\t\tpublic void removeDevice(TangibleDevice dev) {\n\t\t\t_devices.remove(dev);\n\t\t}", "title": "" }, { "docid": "32937ac5167e0a128058bda52eff3afb", "score": "0.70824414", "text": "void rs2_del...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fdf817bfa32517c655404596ccbcf10b", "score": "0.0", "text": "@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\t\tpDialog = new ProgressDialog(Util.mContext);\n\t\tpDialog.setMessage(\"Updating! Please wait...\");\n\t\tpDialog.setCancelable(false);\n\t\tpDialog.show();...
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
10f2536cae6efcf7d87c764cb52912f6
used to store time of when picture is taken creates layout for partially completed report and allows user to still edit report param savedInstanceState: TODO what does this do?
[ { "docid": "314347296552ec2775151671be35301b", "score": "0.59065324", "text": "protected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState); //TODO what does this super to?\n\t\tsetContentView(R.layout.unfinished_report); //sets the content to this specified layout\n\t\t\...
[ { "docid": "8d2c1727ad56dc0d4dc0f039a12dcdc8", "score": "0.64154536", "text": "@Override\n public void onSaveInstanceState(Bundle savedInstanceState) {\n super.onSaveInstanceState(savedInstanceState);\n savedInstanceState.putLong(\"clock\", chronometer.getBase());\n savedInstance...
56343b78db00fe4fdf6c21720529db6c
Handles the HTTP POST method.
[ { "docid": "b810aebe02c7bf82747e845d2a6c9c44", "score": "0.0", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n String name = request.getParameter(\"name\");\n String cate...
[ { "docid": "cae8906078924cde8196073adb9173fe", "score": "0.70273906", "text": "Post(){\r\n \r\n \r\n }", "title": "" }, { "docid": "65498fd0c44ab7f02f73e2018ca33680", "score": "0.7000886", "text": "@Override\n protected void doPost(HttpServletRequest request, Http...
b4444dc6125d5042d3c810e5c2829f13
This method was generated by Abator for iBATIS. This method sets the value of the database column EB_SELLER_SITE_STORE.STORE_URL
[ { "docid": "39547b7d86c6c7b895932088680e7849", "score": "0.73550934", "text": "public void setStoreUrl(String storeUrl) {\r\n this.storeUrl = storeUrl;\r\n }", "title": "" } ]
[ { "docid": "d0d12e168494273a669729b18725cda2", "score": "0.655265", "text": "public String getStoreUrl() {\r\n return storeUrl;\r\n }", "title": "" }, { "docid": "fb5033fff307bdfee9e10d0823a93a87", "score": "0.5978047", "text": "public void setStoreAddress(String storeAddre...
7f328b51c61e86ca2f3444152b77bdb7
Updates an artist by id
[ { "docid": "93302e549201f4a45fd61c0229d258b4", "score": "0.77676374", "text": "@PutMapping(\"/artists/{id}\")\n public String updateArtistById(@PathVariable long id,@RequestBody Artist artist){\n // artist.setId(id);\n\n //hvis du finder artist i databasen så returner den.\n // Fi...
[ { "docid": "5a37e5c40f0c44b5038a18bc2eef816c", "score": "0.73017997", "text": "@PUT\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"/{id}\")\n public ArtistEntity update(@PathParam(\"id\") String id, ArtistEntity artist) {\n try {\n ...