query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
56ebabc0a1d04e8d3a5dfdb5c97083b6
Get all declared fields from Class Note : getDeclaredFields() may return private attributes, but does not return Parents fields
[ { "docid": "f698be6f55e25a1acded5f91d12bbc36", "score": "0.5729523", "text": "public static List<Field> getAllDeclaredFields(List<Field> fields, Class<?> type) {\n fields.addAll(Arrays.asList(type.getDeclaredFields()));\n\n if (type.getSuperclass() != null) {\n fields = getAllDe...
[ { "docid": "7627306cda6ee56bb18094f7e4818c39", "score": "0.791616", "text": "@Cacheable(value = CacheConstants.DEFAULT_CACHE_30_DAYS, key = \"#clazz.getName()\")\n\tpublic final static List<Field> getDeclaredFields(Class<?> clazz) {\n\t\t\n\t\tList<Field> fields = new LinkedList<Field>();\n\t\t\n\t\t// ...
3dbe89e0c11261d26c668e406a54a42f
Creates a new instance of editarEntregaManagedBean
[ { "docid": "e59384acad052d209517b66eae6e1ea1", "score": "0.8156002", "text": "public editarEntregaManagedBean() {\r\n }", "title": "" } ]
[ { "docid": "ee7cdfbd23e110fb76f9f806b9de5adf", "score": "0.62173766", "text": "void edit(NdcOpcionPreguntaDO entity);", "title": "" }, { "docid": "91068c466e19acc95ac8bd3661ebd2b0", "score": "0.6144362", "text": "@Override\r\n\tpublic void editarEmpleado(Empleado e) {\n\t\ter.save(e)...
ef1bcde067e24ca65bc75040f84f7739
Update the information of the customertable
[ { "docid": "5cbb68dfb287788d50a3ba03956f96e8", "score": "0.54775685", "text": "private void updateTableData() {\n\t\tfor (Observer observer : observers) {\n\t\t\tobserver.update(0);\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "01f97b67998d24829fb95595ad2f23d2", "score": "0.6221704", "text": "public void updateTable() {\n rowdata = new Object[StockAddRender.v.size()][columnName.length];\n AddRenteral render;\n for (int i = 0; i < StockAddRender.v.size(); i++) {\n render = (AddRentera...
bf128c71fe76bd5ef357b21e9e042fc7
Create a new MessageSourceAccessor, using the given default locale.
[ { "docid": "67ee0e29318b970514fac18c439c172a", "score": "0.7603291", "text": "public MessageSourceAccessor(MessageSource messageSource, Locale defaultLocale) {\n\t\tthis.messageSource = messageSource;\n\t\tthis.defaultLocale = defaultLocale;\n\t}", "title": "" } ]
[ { "docid": "cfa2b0a5f032a646f60c00ddf9e934b9", "score": "0.6962475", "text": "public MessageSourceAccessor(MessageSource messageSource) {\n\t\tthis.messageSource = messageSource;\n\t\tthis.defaultLocale = null;\n\t}", "title": "" }, { "docid": "f686b40434b35cbc241bcb693ef836a7", "score":...
e294016beff707832ac402a4ec13a4b3
/ Market Information Network HHI
[ { "docid": "ef20126e5ffbb129b4a54122281a05e3", "score": "0.5913133", "text": "public void calculateHHIs(NeutralityModel model) {\n double[] networkSales = new double[model.networkOperators.size()];\n for (int i = 0; i < model.networkOperators.size(); i++) {\n NetworkOperator no = model.networkOpera...
[ { "docid": "c07edbca201d21a4a4b73781c39878e1", "score": "0.58466154", "text": "java.lang.String getMarket();", "title": "" }, { "docid": "10a1ffb0df053fbd9b5eb0adad44f559", "score": "0.5668652", "text": "io.vegaprotocol.vega.Markets.Market getMarket();", "title": "" }, { ...
2395144421b049ec34341be2aa73d28a
int32 oneof_2634 = 2634;
[ { "docid": "7ad8fae5ff35ba0a4a9d876aa8be84cb", "score": "0.0", "text": "int getOneof2634();", "title": "" } ]
[ { "docid": "70d84d3289af5625e363d1fdc64f1066", "score": "0.6255365", "text": "int intOf();", "title": "" }, { "docid": "bcb5fa3b11bca848a5e6cfd3b39c287e", "score": "0.6180205", "text": "long mo107678c(Integer num);", "title": "" }, { "docid": "14d9de64d1d4966292bdc0add613...
aa3d851ba59ef642e5656c63248dd29c
Returns a pair comprising a byte sequence and a prefix length representing a longestprefix match equivalent to the criterion given when initialized. The returned byte sequence will have minimum size (i.e. rounded to the nearest byte) to contain the initialized field bitwidth.
[ { "docid": "151a92271006f28f4d45d4185b897ee9", "score": "0.0", "text": "Pair<ImmutableByteSequence, Integer> lpmMatch() throws CriterionTranslatorException;", "title": "" } ]
[ { "docid": "079d49e083f660740af408426231cf4a", "score": "0.64719456", "text": "Integer prefixLength();", "title": "" }, { "docid": "a317e1fdb7551a710742d82739e8cc44", "score": "0.5980272", "text": "int getPrefixLength();", "title": "" }, { "docid": "438591eda2d46aed333ea1...
e58714b43d9d86a6f4f44f139b6b9e65
Allow for null strings
[ { "docid": "7dff3ad5b5d30cff2904da8af40d2fe8", "score": "0.0", "text": "private int getHash(String s) {\n return s == null ? 0 : s.hashCode(); \n }", "title": "" } ]
[ { "docid": "2044378427c4f3f8f203ec7af75aa5a7", "score": "0.70174843", "text": "@Override\r\n public String isis() {\r\n return \"null\";\r\n }", "title": "" }, { "docid": "f14e607cb0990739b8d383f89ebbab62", "score": "0.6966858", "text": "private String notNull(String s) ...
cd1ced1109be358b0b017b0a100853bc
repeated .proto.StoryView story_views = 3;
[ { "docid": "6d0800d0704e8b89eae35787f1cb5b1d", "score": "0.6054869", "text": "@java.lang.Override\n public net.iGap.proto.ProtoStoryGetOwnStoryViews.StoryViewOrBuilder getStoryViewsOrBuilder(\n int index) {\n return storyViews_.get(index);\n }", "title": "" } ]
[ { "docid": "c78432334124d9e287243a790852fc4e", "score": "0.6872072", "text": "net.iGap.proto.ProtoStoryGetOwnStoryViews.StoryView getStoryViews(int index);", "title": "" }, { "docid": "98d1f281022b024677d6dd0c753a9f01", "score": "0.681148", "text": "java.util.List<? extends net.iGap....
d68ce6c4a78aa625b143396070a69cf1
Get the RAM for this server type
[ { "docid": "ab2a3663eb65e4a51628c842be761c44", "score": "0.7257121", "text": "public RAM getRAM()\n {\n return mRAM;\n }", "title": "" } ]
[ { "docid": "f710eaee7a62762d22cd377d387fcdd3", "score": "0.7523868", "text": "public Parts getRAM() {\n return new Parts(\"512 MB\");\n }", "title": "" }, { "docid": "c7ea70735bc8467b7085e7fd25b1baec", "score": "0.74809736", "text": "public Parts getRAM() {\n return ...
4392512996058918a0832d15d4382afd
Addition of score(time based amount)
[ { "docid": "0bc1af3e277ec5de37f65f24e498f1c3", "score": "0.7835896", "text": "public void addScore(float amt){\n score += amt;\n }", "title": "" } ]
[ { "docid": "d7a15ec10618de53cb60d4d694841a57", "score": "0.74594027", "text": "public void addScore() {\n this.score += 1;\n }", "title": "" }, { "docid": "32c84dfdec7a8ebaaa4e6d7c05842a71", "score": "0.7431168", "text": "public void addScore(int score) {\n this.scor...
ea97d62021c0d3bb02ab14a3fcc4f6c8
Method responds to keypress events on the user and password fields. Login button is only enabled when both fields contain text.
[ { "docid": "fa7b05cf5de8c6c0856755d4953e5a1e", "score": "0.56350857", "text": "@FXML private void txtChanged() {\r\n\t\tif (nameField.getText().trim().equals(\"\") || passwordField.getText().trim().equals(\"\")) {\r\n\t\t\tbtnLogin.setDisable(true);\r\n\t\t} else {\r\n\t\t\tbtnLogin.setDisable(false);\r...
[ { "docid": "ba2203be76bf571b74db99735685304e", "score": "0.68594635", "text": "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tif(e.getKeyCode()== KeyEvent.VK_ENTER) {\r\n\t\t\t\t\t// Get the username and password of the user\r\n\t\t\t\t\tString username = txtUsername.getText();\r\n\t\t...
6cd4086b54919ead8db9f25aa70995dd
System.out.println("Mouse Event " + evt + " consumed=" + evt.isConsumed());
[ { "docid": "36c546526a452ba437a2b1ab61dd9e13", "score": "0.0", "text": "@Override public void mouseClicked(MouseEvent evt) {\n if (evt.getButton() == MouseEvent.BUTTON1) {\n table.requestFocus();\n }\n }", "title": "" } ]
[ { "docid": "26cf49cf2c59dd5a85b42922c5b05a02", "score": "0.7481748", "text": "void mouseInputResponse(MouseEvent e)\n\t{\n\t}", "title": "" }, { "docid": "f2fb564c6783665020ab0e4deaa0762f", "score": "0.72298026", "text": "public void mouseEvent (MouseEvent e) {\n\t}", "title": ""...
c40293b2c2761aff0ff1e509428ec938
The following api calls are based on this link:
[ { "docid": "701f2b730e90b13350b2a2aea8d9a7a7", "score": "0.0", "text": "@GET(\"airlines\")\n Call<List<AirlineInfo>> getAirlineInfo();", "title": "" } ]
[ { "docid": "a44b64a1fcc60554857f817bcea5ff09", "score": "0.605545", "text": "com.rajni.grpc.blog.Blog getResponse();", "title": "" }, { "docid": "cb622d4488460c0d922ebc802aa94b93", "score": "0.60427463", "text": "public interface FlightApi {\n\n /**\n * The following api calls...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a71e01c12922eb613af3136d7680c259", "score": "0.0", "text": "public Object getModel() {\n\t\treturn lm;\r\n\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
ffc1d09a4e48c3d657aa82636d154476
Creates the BigTwo game and calls the start function.
[ { "docid": "a87e19308fe5d0949ea10858d2035b83", "score": "0.66339254", "text": "public static void main(String[] args)\n\t{\n\t\tBigTwoClient game = new BigTwoClient();\n\t}", "title": "" } ]
[ { "docid": "e837cc401a701c8e4ad7da6ab732659c", "score": "0.70468336", "text": "public void startGame() {\r\n\t\t//snow ----> testing ---> just for fun!!!\r\n\t\tfor(int i = 0; i < snowFlakes; i++) {\r\n\t\t\thandler.addObject(new snow(objectType.SNOW, r.nextInt(WIDTH), r.nextInt(HEIGHT) / 2, false, hand...
ecbd638c2d854505ea58d26c152b4559
//GENEND:initComponents / jLabel9MouseClicked this fucntion will display the login in screen
[ { "docid": "cba5d556702bddc5f1466c02005a7a90", "score": "0.8427421", "text": "private void jLabel9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel9MouseClicked\n // TODO add your handling code here:\n LoginScreen lg = new LoginScreen();\n lg.setVisible(true);\n ...
[ { "docid": "f97a21fc2279c478ff705ceb2f12fa4d", "score": "0.7928152", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t\tif(arg0.getSource() == adminLabel){\n\t\t\t\n\t\t\tlogin1 = new LoginForm(\"ADMIN\");\n\t\t\tif(login2!=null)\n\t\t\t\tlogin2.loginFrame.setVisible(false);\n\...
d797b72034ebfa269b104ebf302400be
/ Return TRUE if the game is over
[ { "docid": "b28f878558595222f829f9e92b795753", "score": "0.7937609", "text": "public boolean isGameover() {\n return getResult() != Result.NONE; \n \n }", "title": "" } ]
[ { "docid": "c2f724eada1dcb736049d8c9c062a261", "score": "0.84464365", "text": "public boolean gameOver() {\n return game.isOver();\n }", "title": "" }, { "docid": "a7b53dd2d3ffabe2e46b172d73ab4ebd", "score": "0.8420656", "text": "boolean isGameOver();", "title": "" },...
f2571792f7c123af51da560f9563416b
For Children's list Includes CHILD
[ { "docid": "b7e01764081f02674d8259c60af0e65f", "score": "0.59306574", "text": "public List<UserDTO> getUsersChildren();", "title": "" } ]
[ { "docid": "300529ce33b7d28c8d65faa8d138e1a8", "score": "0.6773815", "text": "public List<Child> getAllChildren(){\n log.debug(\"Get list of child\");\n return jdbcTemplate.query(LIST_CHILD, childRowMapper());\n }", "title": "" }, { "docid": "59c07d9ff98cc1fe499dc31e9c455a52", "sc...
fa3b9f44dfc534b2fe276a4af1dabd5d
Bind the node given to the declaration that matches the selector.
[ { "docid": "6af7d5959b882378cf422d34762df954", "score": "0.64393973", "text": "protected boolean bind(IRNode node, IJavaScope sc, Selector selector) {\r\n return bind(node, sc, selector, false, JJNode.getInfo(node));\r\n }", "title": "" } ]
[ { "docid": "fd450fa2d78f7f25b42af7d7d3e20085", "score": "0.6679567", "text": "protected boolean bind(IRNode node, Selector selector) {\r\n return bind(node, selector, false);\r\n }", "title": "" }, { "docid": "098b4da63ffda2bd7ea37b9504af20ca", "score": "0.6482235", "text": "...
640dbbc98391d4896231c13dc219c151
Dimension :Le premier champ de constructeur est la largeur et le second est la hauteur
[ { "docid": "5d06b41c165b84d0659301b85618f572", "score": "0.0", "text": "@Override\n\tpublic void motionScheme(int a){\n\t\tint i,j;\n\t\tCase t;\n\t\tboolean ok=true;\n\t\tArrayList<Dimension> list = new ArrayList<Dimension>();\n\t\t\n\t\t\n\t\t/*en bas a droite*/\n\t\ti = this.x+1;\n\t\tj = this.y+1;\n...
[ { "docid": "cea1ccf5cc5b8f1bc17b92f2f6f6bc95", "score": "0.74031353", "text": "Dimension_longueur createDimension_longueur();", "title": "" }, { "docid": "6f5ab9830b5a932e12103d5c8cb452f6", "score": "0.7252749", "text": "Dimension_hauteur createDimension_hauteur();", "title": "" ...
fa405f1343d2c85ad669f5a039093c5f
method to call the dialog
[ { "docid": "1f09bf9020a5330ecb99293cff04ed0d", "score": "0.0", "text": "public void openFeedbackDialog(String desc, String increment, int pictype, final String colour, final int score){\n LayoutInflater inflater = LayoutInflater.from(this);\n View view = inflater.inflate(R.layout.dialog_fe...
[ { "docid": "7cff55275fa3f094949a7f8c11fff465", "score": "0.8199044", "text": "public void launchDialog();", "title": "" }, { "docid": "2dc8b69ababe07cb73024643ac4e982c", "score": "0.7778034", "text": "void showDialog();", "title": "" }, { "docid": "57e26b91fc0306e82ccec17...
e3e3e0587a4908bbfa844a8c16008ab0
Created by Alen on 2017/12/11.
[ { "docid": "c1d0b6165fadddf430cc0efaa29a3f28", "score": "0.0", "text": "@Component(modules = {LiveHoodPresenterModule.class})\npublic interface LiveHoodPresenterComponent {\n void inject(LiveHoodActivity mActivity);\n}", "title": "" } ]
[ { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6221594", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { "docid": "f0705d77863f0fa7c516a99a8eca8134", "score": "0.6039927", "text": "private void zbudujSciezkeiRozpocznij() {\n\t\t\r\n\t}", ...
591ae44d36cd113e55b0efd563637b5b
Get figures from Board.
[ { "docid": "0b09746a9ceb46420233833e8de8d4c2", "score": "0.547391", "text": "public Figure getFigure(int vertical, int horizontal) {\n return this.cells[vertical][horizontal].getFigure();\n }", "title": "" } ]
[ { "docid": "a11e3ad799cdb08f093f830ba58ac8c2", "score": "0.64743423", "text": "public List<Figure> getFigures() {\n return figures;\n }", "title": "" }, { "docid": "f999e600cccf6377f62ec4df283f6c97", "score": "0.6254443", "text": "IFigure getFigure();", "title": "" },...
f7dcb4e791c19b0ef3286fd948435d63
method for returning the score of the ComputerAI object
[ { "docid": "172fa0c5d5bf50eb8cb271711981c65d", "score": "0.0", "text": "public int getTurnScore()\n {\n return nScore;\n }", "title": "" } ]
[ { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.82185066", "text": "int getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.82185066", "text": "int getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", ...
2d64924febe1a474bb3938d4b0ed1cf2
Tears down the test fixture. Called after every test case method.
[ { "docid": "ab317e1b9ce079c2cc51deea9d1c45c7", "score": "0.7168846", "text": "@After\n public void tearDown() {\n \n }", "title": "" } ]
[ { "docid": "4014d1db3b77748d5c22609e7660e3ab", "score": "0.8343669", "text": "@After\n public void tearDown() {\n fixture.cleanUp();\n }", "title": "" }, { "docid": "eb5f5c3e7ebcca4facfd1eb148f57dc9", "score": "0.82960385", "text": "@After\n public void tearDown() {\n ...
94cec1ea6ce588b36208b4863b4e5eb2
Attribute comparison helper, safe to use even if property is null. Used primarily in the javascript rules.
[ { "docid": "0a6a896e4e305000897f9ba16fa7486a", "score": "0.56409323", "text": "public boolean attributeEquals(String key, String expectedValue) {\n String val = getAttributeValue(key);\n if (val != null && val.equals(expectedValue)) {\n return true;\n }\n ret...
[ { "docid": "09a93eb8dbe56e057f5881e056374089", "score": "0.60934323", "text": "@Test\n public void testToAttributeValue_Null() throws IOException {\n String got = escapeAttribute(null);\n assertEquals(\"\", got);\n }", "title": "" }, { "docid": "2cbe32a423f3e5313977c0b8ad5833dd", ...
b82af8a17ffce0b4fc053645b139175b
Returns the number of task within the task list.
[ { "docid": "6a8b0eff9f5a2625ad97b4a61538fa08", "score": "0.7692617", "text": "public int size() {\r\n return tasklist.size();\r\n }", "title": "" } ]
[ { "docid": "4299ce5bcd8e4e7829708883ffa6ca6c", "score": "0.85467744", "text": "public int getTaskCount() {\n return taskList.size();\n }", "title": "" }, { "docid": "68a4268787e3bd55e216d4d888e5da0e", "score": "0.76933044", "text": "public int size() {\n return taskL...
4eae060c59c16ccf669f6ff560130a77
Gets the billing_lastname value for this SalesOrderListEntity.
[ { "docid": "b83c736d431725311ba061223161bc82", "score": "0.8632719", "text": "public java.lang.String getBilling_lastname() {\n return billing_lastname;\n }", "title": "" } ]
[ { "docid": "5397b4aa30c7097f03686550c58361eb", "score": "0.7651787", "text": "public java.lang.String getCustomer_lastname() {\n return customer_lastname;\n }", "title": "" }, { "docid": "b01b5848c106bab7b031ddc36172dce4", "score": "0.7371916", "text": "public java.lang.Str...
0bae08ba222c20925cf7975648d960b8
This method binds data to the view
[ { "docid": "371ff381db5b38fe4049172957204ba9", "score": "0.0", "text": "@Override\r\n public void onBindViewHolder(@NonNull final ViewHolder holder, final int position) {\r\n holder.info.setText(matchList.get(position)[0]);\r\n String[] score = matchList.get(position)[1].split(\":\");\r...
[ { "docid": "a22aa874bdc7d348716d1c1bb5e8c2e3", "score": "0.72384065", "text": "@Override\n\tpublic void bindData() {\n\t\t\n\t}", "title": "" }, { "docid": "9d9d4a8307835e8dd768339486222ff8", "score": "0.6590732", "text": "protected abstract void bindingView();", "title": "" },...
bf5680d99b2b91bbcc8a19cbd5f0c841
Get the Box2D world
[ { "docid": "60e34a9c501b9edf886a3209559dd1e5", "score": "0.7013243", "text": "public World getWorld() {\n\t\treturn physicsWorld;\n\t}", "title": "" } ]
[ { "docid": "26bdccca9aec837ed73db1150f78014b", "score": "0.72848755", "text": "public final World getWorld()\n {\n return this.world; \n }", "title": "" }, { "docid": "b94ccff3452c4d7c0f62467f50441f0b", "score": "0.72827536", "text": "public World getWorld()\r\n {\r\n ...
41a7f0ba9bb02016eb543a20987ea207
ALTERA UM REGISTRO CADASTRADO NO BANCO DE DADOS
[ { "docid": "1ad57edf06fe30719817ae83c19db777", "score": "0.0", "text": "public void alterarRegistro(ComboModel comboModel) throws ParseException {\r\n\t\t\r\n\t\ttry {\r\n\t\t\r\n\t\t\tComboEntity comboEntity = this.getCombo(comboModel.getId_combo());\r\n\t\t\t\r\n\t\t\tcomboEntity.setNm_combo(comboMode...
[ { "docid": "d05ba7a3f671edc577794d5930e18f7e", "score": "0.64664197", "text": "public void altera() throws exception_RegistroJaExisteException, ClassNotFoundException, SQLException{\n int codigo = 0;\n String nome = \"\";\n int codPais = 0;\n int codEquipe = 0;\n\n /**...
788c36615c6d4e228680069ce139f3dd
Create a HiveServer2 service with a precreated database "test_database".
[ { "docid": "79b070175942f1d2d716dab5bdf465f6", "score": "0.61995333", "text": "public HiveServer2JUnitRule() {\n this(\"test_database\");\n }", "title": "" } ]
[ { "docid": "41424a218a1dea6fb5da4c108ce3c8fe", "score": "0.5996986", "text": "public static String createDb() {\r\n\r\n\t\t//Extra nochmal DB selektieren\r\n\t\ttry {\r\n\r\n\t\t\tstmt = connection.createStatement();\r\n\r\n\t\t\tstmt.executeQuery(\"CREATE DATABASE IF NOT EXISTS \" + LIVE_DB);\r\n\r\n\t...
f2cd9fe3bf84a91a7cd57014c2854b76
Unsets the "deletefk" attribute
[ { "docid": "1f5615ca6749dd49bcef18db03d0cf76", "score": "0.8716909", "text": "public void unsetDeletefk()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(DELETEFK$6);\r\n }\r\n }"...
[ { "docid": "792168bdcfc096f8933a2903a3c832a4", "score": "0.7264048", "text": "public void xsetDeletefk(org.apache.xmlbeans.XmlBoolean deletefk)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlBoolean tar...
390e162a0dcb39254952a8a4fd24fb5f
Get the maximum number of items
[ { "docid": "c6a1b92cb47033b9903dff31169726e6", "score": "0.663961", "text": "public int getMaxSize() {\n return maxSize;\n }", "title": "" } ]
[ { "docid": "6f410c35e7aca6a175f171ad88995c15", "score": "0.8478757", "text": "public int getMaxItems()\n {\n return maxItems;\n }", "title": "" }, { "docid": "cf3390df29fa67e553b0e872b5090985", "score": "0.82004535", "text": "int getMaxCount();", "title": "" }, {...
cca256fe1886d73fec85a2a1d2fd6625
Instantiates a new efficiency profile.
[ { "docid": "0a242fe5afd77b91db80af30ac9076ab", "score": "0.5788972", "text": "public EfficiencyProfile(File inputModel) {\r\n\t\tdoc = DOM.getDocument(inputModel);\r\n\t\tinitialize(doc.getDocumentElement());\r\n\t}", "title": "" } ]
[ { "docid": "4fbc9f90f04d283439b13d990dee6b12", "score": "0.7292445", "text": "public EfficiencyProfile() {\r\n\t\tdoc = DOM.getDocument();\r\n\t\tElement e = doc.createElement(\"Efficiency_Profile\");\r\n\t\tdoc.appendChild(e);\r\n\t\tinitialize(e);\r\n\t\tgenerateDefaultProfile();\r\n\t}", "title":...
cf3b9991b20cb85f080a9806d8b739f5
Convert the spaced hex form of a String into a byte array.
[ { "docid": "e1602d18b136e9ca7b0016dd9b283ce8", "score": "0.7705647", "text": "public static byte[] toByteArray(String spacedHex) {\n int idx = 0;\n int len = spacedHex.length();\n StringBuilder sb = new StringBuilder();\n ByteArrayOutputStream bytes = new ByteArrayOutputStrea...
[ { "docid": "239ab9179cb649b67bf35a584570bb5e", "score": "0.8235863", "text": "@NotNull\n private static byte[] convertHexToBytes(String s) {\n int len = s.length();\n if (len % 2 != 0) {\n throw new IllegalArgumentException(\"Not a hex encoded byte array: \" + s);\n }\...
fc03cf7e65c7c40e864e15d99d73d1bc
/ this mapping has 2 methods because user, before he create any questionnaire, must go to /create page, where works GET method, which returns all necessary instruments for questionnaire creation (including possible categories of questionnaires)
[ { "docid": "6a4d70b6d04714f1d41fdfbb7879211b", "score": "0.69706905", "text": "@GetMapping(value = \"/create\")\n public ResponseEntity getPossibleQuestionnaireCategories() {\n return ResponseEntity.ok(Category.values());\n }", "title": "" } ]
[ { "docid": "a5ee03776243f20fde7ce329dd7aec04", "score": "0.6673401", "text": "Questionnaire createQuestionnaire();", "title": "" }, { "docid": "67182a419a8ecd32662a5d11b62dd958", "score": "0.60079527", "text": "@GetMapping(\"/questions/new\")\n\tpublic String newQuestion(@ModelAttrib...
912a552756ec01cf875c0ea724d5dbc4
$ANTLR end "entryRulePatternFunction" $ANTLR start "rulePatternFunction" InternalMIRoN.g:2437:1: rulePatternFunction : ( ( rule__PatternFunction__Group__0 ) ) ;
[ { "docid": "79db5eec7d8692a2fccd839da6a07bb1", "score": "0.810088", "text": "public final void rulePatternFunction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMIRoN.g:2441:2: ( ( ( rule__PatternFunction__Group__0 ) ) ...
[ { "docid": "89cda98481d8457a96e358aa906876cf", "score": "0.73548836", "text": "public final void rule__PatternFunction__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMIRoN.g:15581:1: ( rule__PatternFunction__...
5dd05ba0d18bb67d1ed52bb2096702e7
This method was generated by MyBatis Generator. This method corresponds to the database table pp_status
[ { "docid": "0ca146a58dd406afdf467c71092fa02d", "score": "0.0", "text": "int insert(PpStatus record);", "title": "" } ]
[ { "docid": "8c8fdbb8514685bce8a937a429e9fa0d", "score": "0.64853525", "text": "PpStatus selectByPrimaryKey(Integer statusPid);", "title": "" }, { "docid": "6e3390f8ce3eefabe82a60ee3df64805", "score": "0.6429016", "text": "DBStatus getStatus() ;", "title": "" }, { "docid":...
36cfcd2d1f145eb2ced8678248182926
Performs a dynamic query on the database and returns the matching rows.
[ { "docid": "b99a102663128230c89778456697baee", "score": "0.0", "text": "@SuppressWarnings(\"rawtypes\")\n\tpublic java.util.List dynamicQuery(\n\t\tcom.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "title": "" } ]
[ { "docid": "015618e39df01d64c4b76449e37d14fd", "score": "0.6854549", "text": "public Aduana[] findByDynamicSelect(String sql, Object[] sqlParams) throws AduanaDaoException;", "title": "" }, { "docid": "55d0cf24859220195466b3516a95701e", "score": "0.6706577", "text": "public Aduana[] ...
b9c7d36c07443e4e633d3a03301c897c
Checa saldo da conta pelo ID
[ { "docid": "b8f7d2a5369c723a9cd0e978313517d8", "score": "0.651137", "text": "public void checarSaldo(int idConta) {\n\t\tboolean foundIt = false;\n\t\tfor (Conta elem : contas) {\n\t\t\tif (elem.getId() == idConta) {\n\t\t\t\tfoundIt = true;\n\t\t\t\tSystem.out.println(\"O saldo da conta e: R$\" + elem....
[ { "docid": "91fe7b132a34e6a26a774f2c516c77a3", "score": "0.6581835", "text": "public void depositar(){\n String cadena;\n int deposito = 0;\n \n cadena = JOptionPane.showInputDialog(null,\"Digite la cantidad que desea consignar : \");\n if(cadena != null && !cadena.equ...
aa0db259e0e50143e0f98c3eb74e688f
Handler interface for getting notified when the right sidebar is expanded or collapsed.
[ { "docid": "246dbc28bcfb3856983192fbe44ddd88", "score": "0.7285013", "text": "public interface Handler extends EventHandler {\n void onRightSidebarExpansion(RightSidebarExpansionEvent evt);\n }", "title": "" } ]
[ { "docid": "f214c7939bfa159e1c1d64179db079ce", "score": "0.58165604", "text": "public interface ContainerListener {\n public void onSideContainerBeforeShowLeftSidebar(boolean show);\n public void onSideContainerBeforeShowRightSidebar(boolean show);\n public void onSideContainerAfterShowSideb...
df6833e1d7a929a7701bed956e694ed6
add teamManger to team if the teamManager exists in the system as teamManager or if not exists
[ { "docid": "79a7fb3bf22b77bbf1841d1b7c2570fc", "score": "0.70674545", "text": "public void addTeamManager(String teamName, String emailAddress, Integer teamManagerId, String firstName ,String lastName,List<PermissionType> permissions,String ownedByEmail) throws Exception {\n if(teamName == null |...
[ { "docid": "71ac2cee4a6e65da2145b6c9e3b92172", "score": "0.64233863", "text": "public void addTeam(IChatroom team){\n\t\tteams.add(team);\n\t}", "title": "" }, { "docid": "71fd2423f6f5124432a5b081e119db79", "score": "0.6360867", "text": "public void testGetTeamManager() {\r\n ...
56733c4210f6e21e76cfb2cc1494f656
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
[ { "docid": "852f42536cc459ac8196c93129302d47", "score": "0.0", "text": "public static _Fields findByThriftIdOrThrow(int fieldId) {\r\n _Fields fields = findByThriftId(fieldId);\r\n if (fields == null) throw new IllegalArgumentException(\"Field \" + fieldId + \" doesn't exist!\");\r\n ...
[ { "docid": "27a2a2491541bca476aaff5dab9a03ed", "score": "0.74340147", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ERR\n return ERR;\n default:\n return null;\n }\n }", "title": "" }, { ...
aff413c13765e7376f1959c7c4f08765
Class constructor for AccountsPanel
[ { "docid": "695032e9b73c428796cce5c80eb8701e", "score": "0.60157084", "text": "public AccountsCrudPanel(int crudMode, JButton selectAccountButton, JComboBox<String> selectAccountBox )\n {\n // Set crudMode\n this.crudMode = crudMode;\n this.selectAccountButton = selectAccountButt...
[ { "docid": "923906577dcb4de8f1f4b7bffab174fa", "score": "0.7541721", "text": "public accounts() {\n initComponents();\n }", "title": "" }, { "docid": "7b80281d6ecc0296a522359f56d4acb8", "score": "0.7037759", "text": "public StaffAccounts() {\n initComponents();\n ...
b61d5fd53f4889ec617a7aac6372d44d
/ access modifiers changed from: private
[ { "docid": "1494c3a1ecb38dcb6c32379b763ba1e0", "score": "0.0", "text": "public void reload() {\n if (!TextUtils.isEmpty(this.mWebview.getUrl())) {\n loadUrl(this.mWebview.getUrl());\n }\n }", "title": "" } ]
[ { "docid": "0b06f1c2066a7ed1df417a1383204e17", "score": "0.7468988", "text": "Internal internal();", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.6802854", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "2ad52390d9295...
15bcbceb7316b434799090a801ea32b1
Parse and display the data from Imdb
[ { "docid": "05f632692c88fb346d087596f3a8bb32", "score": "0.7043411", "text": "private void parseAndDisplayImdbData() {\n final String episodeUrl = API_URL + Contract.API_TV + \"/\" + tvShowId + \"/season/\" + seasonNumber + \"/episode/\" + episodeId + \"/external_ids?api_key=\" + Contract.API_KEY...
[ { "docid": "8413f55641165cd04b4d333c2e4e6bbf", "score": "0.59508693", "text": "private void parseAndDisplayData(String response) throws JSONException {\n //ToDo: Add this data for on persistent storage\n JSONObject parentObject = new JSONObject(response);\n Glide.with(getApplication...
c64c1205d6007095d45a9d47e48150ae
/ getDataMin Get the minimum value of the data represented by the image.
[ { "docid": "5cda0dfa6579524a2eb26851ef740df3", "score": "0.71601963", "text": "public float getDataMin()\n{\n return min_data;\n}", "title": "" } ]
[ { "docid": "85a4716ad932ddf4e675cf84ceb41b45", "score": "0.7426919", "text": "public double getMinimum(double[][] data){\n double min = data[0][0];\n for(int i=0; i<data.length; i++){\n for(int j=0; j<data[0].length; j++){\n if(data[i][j]<min){\n ...
6b82f51499d3933c3870a8c0a5d1aeed
Provides access to EC2 via their REST API.
[ { "docid": "25939d366d0a55fb3d01425ccdb6d492", "score": "0.4412576", "text": "@Timeout(duration = 45, timeUnit = TimeUnit.SECONDS)\npublic interface KeyPairClient {\n\n /**\n * Creates a new 2048-bit RSA key pair with the specified name. The public key is stored by\n * Amazon EC2 and the private...
[ { "docid": "eaf9418a794d3ae57916c1e17135f059", "score": "0.5699101", "text": "public static org.apache.camel.builder.endpoint.dsl.AWS2EC2EndpointBuilderFactory.AWS2EC2EndpointBuilder aws2Ec2(\n String path) {\n return org.apache.camel.builder.endpoint.dsl.AWS2EC2EndpointBuilderFactory....
173facae87911b8ee550a7d1865a297c
Alternative to hamcrest 'oneOf' that simplifies to match any one of the values given. And uses a vararg interface
[ { "docid": "d53a6133d3d007aea3730fb784c80ab5", "score": "0.69543123", "text": "@SafeVarargs\n public static <T> Matcher<T> oneOf(T... alternatives) {\n return Matchers.isOneOf(alternatives);\n }", "title": "" } ]
[ { "docid": "50b9bc125a76317df24595e15b4a49c9", "score": "0.61601585", "text": "@Test\n public void testWithParamShouldSucceedWhenValuesMatch() throws Throwable {\n runTests(test.param(param)\n .accepts(0,1,9,10)\n .rejects(-1,-2,11)\n .none(-1,11)\n .any(1,2,3,4,5)\n );\n }",...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5b2bf555b789e5b9f6cc0f2b28a4e894", "score": "0.0", "text": "public void onTestSkipped(ITestResult arg0) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
79189e6f16caf536c8fd0c7d75f42f7e
check to see if the input date is a valid date check bounds
[ { "docid": "ed8e076e4fcaae95fd4a662f29876f4b", "score": "0.72014827", "text": "public boolean isValidDate(){\n\t\tif (year>9999||year<1){\n\t\t\tSystem.out.println(\"Error: invalid year entered\");\n\t\t\treturn false;\n\t\t}\n\t\tif (month>12||month<1){\n\t\t\tSystem.out.println(\"Error: invalid month ...
[ { "docid": "f332d0f84d6d302e51eed3a6c11c7630", "score": "0.7524297", "text": "private boolean isValidDate() {\r\n\t\tint daysInMonth;\r\n\r\n\t\tif (this.month < 1 || this.month > 12) {\r\n\t\t\treturn false;\r\n\r\n\t\t}\r\n\t\tif (this.isLeapYear()) {\r\n\t\t\tdaysInMonth = LEAP_DAYS_IN_MONTH[this.mon...
71b88bbcc0cac4257f0fd924fb503066
Updates the holder with the value in the column of the given name at the current row. An IllegalArgumentException is thrown if the column is not present, and a ClassCastException is thrown if it is present but has a different type
[ { "docid": "18b1271311eff100e866fbe117048d6e", "score": "0.0", "text": "public void getTinyInt(String columnName, NullableTinyIntHolder holder) {\n TinyIntVector vector = (TinyIntVector) table.getVector(columnName);\n vector.get(rowNumber, holder);\n }", "title": "" } ]
[ { "docid": "5f5cc0076ddef154091843df1080e270", "score": "0.62797475", "text": "void setColumnValue(int colIndex, Object value);", "title": "" }, { "docid": "41eb2fff111f6f8bde650e84264af4c7", "score": "0.6068141", "text": "void setValueOfColumn(ModelColumnInfo<Item> column, @Nullable...
1043056f6052251200a867581669d95a
This method was generated by MyBatis Generator. This method returns the value of the database column sys_user.GUID
[ { "docid": "ffd26f76059f97592d801f5880c8c89d", "score": "0.61252534", "text": "public String getGuid() {\n return guid;\n }", "title": "" } ]
[ { "docid": "1ede9628d8765c01efa0199bffdeeaeb", "score": "0.6568823", "text": "java.lang.String getUserUid();", "title": "" }, { "docid": "1ede9628d8765c01efa0199bffdeeaeb", "score": "0.6568823", "text": "java.lang.String getUserUid();", "title": "" }, { "docid": "1ede9628...
41d495d29b0d0f67cc1eb7acae4bffb7
Just excercise more JUnit features.
[ { "docid": "fe44cdff5dbd402eade8428b2091c61f", "score": "0.0", "text": "@Test\n @Ignore\n public void thisIsIgnored() {\n }", "title": "" } ]
[ { "docid": "babba7b870bbd8c0ebdb2ad18c5df624", "score": "0.6924332", "text": "@Override\n\t\t\tpublic void test() {\n\n\t\t\t}", "title": "" }, { "docid": "951846aeed40a4a3fb78ae90042442b0", "score": "0.6871073", "text": "@Test\r\n\tpublic void t(){\r\n\t}", "title": "" }, { ...
20b5c2e2c9cc67ca0d9bfa5949173675
optional float field26 = 26;
[ { "docid": "e71dd64c67f7609abdd6c8b34c0027a4", "score": "0.7549104", "text": "public float getField26() {\n return field26_;\n }", "title": "" } ]
[ { "docid": "a53707b393524059103ad90f5e9ca986", "score": "0.84978914", "text": "float getField26();", "title": "" }, { "docid": "525c03e6c9c6d85678538c12d825b7af", "score": "0.77638185", "text": "float getField25();", "title": "" }, { "docid": "e09f140b3293b2b2ee14e1db1e6d...
56b95d6af22e89664452e8b44ff2335d
Creates an instance of the adapter factory.
[ { "docid": "5597037a0297dd639c0c4391ac63f41b", "score": "0.0", "text": "public StatusAdapterFactory() {\n\t\tif (modelPackage == null) {\n\t\t\tmodelPackage = StatusPackage.eINSTANCE;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "3fe2bfb528029634eb12bd165734237b", "score": "0.6465193", "text": "public IPenAdapter create(IPenDriver driver, String token);", "title": "" }, { "docid": "191a297d640c73b238887c920d87690e", "score": "0.64526284", "text": "public static ExtensibleBeanFactory beanFactory() ...
85b6ace9a298762c8fab5b0b6dc9420b
Creates new form SelectPlayersPanel
[ { "docid": "e687b5434ac21b5657bc7415a50ea7e1", "score": "0.6854887", "text": "public SelectPlayersPanel(TicTacToeForm parentFrame) {\r\n initComponents();\r\n \r\n this.parentFrame = parentFrame;\r\n }", "title": "" } ]
[ { "docid": "28beddc213950965aff293acc6ea8c9a", "score": "0.67079896", "text": "private void selectPlayer() {\n PlayerSelectorPanel playerSelectorPanel = new PlayerSelectorPanel();\n playerSelectorPanel.setLocation(460, 80);\n playerSelectorPanel.setButtonText(\"Select\");\n p...
afca0001bf0e9bd1d3c85473c970eda8
Creating the GraphRequest to fetch user details 1st Param AccessToken 2nd Param Callback (which will be invoked once the request is successful)
[ { "docid": "e641e766857f892fdf40fe8f7d0cf39e", "score": "0.6442932", "text": "private void useLoginInformation(AccessToken accessToken)\n\t{\n\t\tGraphRequest request = GraphRequest.newMeRequest(accessToken, new GraphRequest.GraphJSONObjectCallback()\n\t\t{\n\t\t\t//OnCompleted is invoked once the Graph...
[ { "docid": "07e33cc34e95a605b1749e5855dbe63c", "score": "0.7090028", "text": "private void requestUserInfo(AccessToken accessToken) {\n String FIELDS = \"fields\";\n String ID = \"id\";\n String NAME = \"name\";\n String PICTURE = \"picture\";\n String EMAIL = \"email\...
f0f28510261f42a59223fa36fb3f8e90
string err_msg = 2;
[ { "docid": "0f1219d0cf73a4e29e51bca28e9573fc", "score": "0.0", "text": "public Builder clearErrMsg() {\n \n errMsg_ = getDefaultInstance().getErrMsg();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "1c210ac17790074d4b2a887736b18191", "score": "0.7376716", "text": "java.lang.String getErrMsg();", "title": "" }, { "docid": "1c210ac17790074d4b2a887736b18191", "score": "0.7376716", "text": "java.lang.String getErrMsg();", "title": "" }, { "docid": "1c210ac177...
dcfc373d7984c5c0dd58757d162ca882
Sends the countrequest to the OData service and returns the result.
[ { "docid": "0c2631c89095101e7e0452080892ed00", "score": "0.0", "text": "int execute() throws ODataProducerException;", "title": "" } ]
[ { "docid": "ee98c7260ed8a62eb391f9bbbb557cfc", "score": "0.68611133", "text": "@Override\n public long count() {\n final Client client = createClient();\n\n try {\n final WebResource webResource = client.resource(resource);\n final ClientResponse response = webReso...
cd37556170647d49176fcc621e016d54
/ WARNING combined exceptions agressively possible behaviour change. Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation
[ { "docid": "d7b3372b4dca04c23b803aca274f438c", "score": "0.0", "text": "@Override\n protected void handlePollCalls(AsyncResult object) {\n synchronized (this) {\n int n;\n Object object2;\n int n2;\n Object object3;\n if (((AsyncResult)obj...
[ { "docid": "461498a142e2ebd594f4d7dfe6fd1b30", "score": "0.57902914", "text": "public void mo40770a(Throwable th, int i) {\n switch (i) {\n case -4:\n C5952a.m9284i(\"Tinker.DefaultLoadReporter\", \"patch loadReporter onLoadException: patch load unCatch exception: %s\", ...
4a21bb15dd84b19cf3887effdd74ecf6
Compute the width of the new image, which will be the maximum distance between bottomright and bottomleft xaxis, or the topright and topleft xaxis
[ { "docid": "a0a04691a0bb31d2f3a95175614719f5", "score": "0.6964043", "text": "double width() {\n final double w1 = euclideanDistance(bottomRight, bottomLeft);\n final double w2 = euclideanDistance(topRight, topLeft);\n return Math.max(w1, w2);\n }", "title": "" } ]
[ { "docid": "24e4be7011e344e34c2e2c605055382a", "score": "0.7190305", "text": "public double width() {\n return ((topRight.x + bottomRight.x) - (topLeft.x + bottomLeft.x)) / 2.0;\n }", "title": "" }, { "docid": "8530eebac9d9a74580cabbed37d95974", "score": "0.69727206", "text...
61de34dc703f5ddeded3ff247b3ea8c4
Created by HanXiong on 2017/8/21.
[ { "docid": "b76a24be1654a55836a7125024dad0b7", "score": "0.0", "text": "public interface Route {\n\n\tString getUri();\n\n\tString getSchema();\n\n\tString getUser();\n\n\tString getPassword();\n\n\tList<String> getAddressList();\n\n\tvoid initConnection();\n\n\tvoid close();\n}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.6318412", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.5941959", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" ...
f6f5fc4505238e2bb39578773de0c99e
/ Depending on the user's choices, actually does modification on the image and displays it to the user.
[ { "docid": "980fc6e15000ef528105c4e550d57dc5", "score": "0.6250962", "text": "public static void modifyImage(String picText,\n GridPane grid, Text sceneTitle, Stage primaryStage, Boolean darker,\n Boolean brighter, Boolean saturate, Boolean desaturate,\n Boolean grayscal...
[ { "docid": "551fba2d3ea0d8c1041939742c10d874", "score": "0.7230451", "text": "private void changeImage() {\n\n /*\n * Defines the types that will be allowed to be chosen by user.\n */\n String[] types = { \"png\", \"jpg\" };\n /*\n * Instantiates a File Chooser using the method.\n ...
52cccdb557993c557d441a70a4add909
required string msg = 1; required string msg = 1;
[ { "docid": "83d6fb04a5a6b572d7f15911c57eff21", "score": "0.0", "text": "boolean hasMsg();", "title": "" } ]
[ { "docid": "a356d490caa728c1f29b20337d8a9d54", "score": "0.6853039", "text": "public void setMsg(String msg){this.msg = msg;}", "title": "" }, { "docid": "86f1da626807dcdaddd8ed992d549bd6", "score": "0.66217214", "text": "public void setMessage(@NotNull String message) {\n/* 71 */ ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8ddad5b2d726084af3dc06b8a77a9c25", "score": "0.0", "text": "public void removeSkyModelUpdateListener(SkyModelUpdateListener l) throws RemoteException {\n\t\tif (!listeners.contains(l))\n\t\t\treturn;\n\n\t\t// add to kill list\n\t\tslogger.create().info().level(2).msg(\"Received request to r...
[ { "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...
9a753913689b95ca2d4a2dad14cd6425
This method was generated by MyBatis Generator. This method corresponds to the database table tb_product_image
[ { "docid": "5a9485ed9bdc1fba72f0d5f399b7a96e", "score": "0.0", "text": "public Criteria andUpdateDateLessThanColumn(TbProductImage.Column column) {\n addCriterion(new StringBuilder(\"update_date < \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;\n ...
[ { "docid": "53e743c427f1744978f970bb42084dd2", "score": "0.66598296", "text": "public static Result getProductImageList(String productId){\n \n MysqlDBOperations mysql = new MysqlDBOperations();\n ResourceProperty rs = new ResourceProperty(\"com.generic.resources.mysqlQuery\...
72191e76006085d5704f4831b68c670e
Stopwatch stopwatch = Stopwatch.createStarted();
[ { "docid": "c26e293c79b3a9ab3733c00d60e755cd", "score": "0.0", "text": "public static void testLocalDate() {\n LocalDate localDate = LocalDate.now();\n System.out.println(localDate.getDayOfYear());\n System.out.println(localDate.getDayOfMonth());\n System.out.println(localDat...
[ { "docid": "3439790f10b6587f75882d0f0a3272b4", "score": "0.90058774", "text": "Stopwatch start();", "title": "" }, { "docid": "caeb0de22c829fba721fb1791049a7ab", "score": "0.80847824", "text": "public StopWatch(){\n startTime = System.currentTimeMillis();\n }", "title":...
bbdd5f2cfb86643f917f44e10aef14d9
restores the fields of this game object,
[ { "docid": "e7dcd3b4626d55b8b6454ef41d020f38", "score": "0.74101835", "text": "protected abstract void restoreFields(Game game);", "title": "" } ]
[ { "docid": "e74c3e1699064a08d5ce97a7085765dd", "score": "0.6912758", "text": "public void resetFields() {\n\t\ttop = false;\n\t\tright = false;\n\t\tbottom = false;\n\t\tleft = false;\n\t\towner = \"\";\n\t}", "title": "" }, { "docid": "e199e5ae088638f442d857bf52d05361", "score": "0.6810...
6807242ea202330a3f69cf579393639a
Get a Graphics object that can be drawn into to modify the picture. Implementations should automatically update the onscreen image as this Graphics is drawn into, using the layer's RepaintHandle.
[ { "docid": "217e547279a33f3f45b29a18ed13d4be", "score": "0.68559736", "text": "public abstract Graphics2D getGraphics();", "title": "" } ]
[ { "docid": "a5f2423f03d37ce59bcb9a50ab676a28", "score": "0.7078308", "text": "public Graphics getGraphics() {\n\t\treturn canvas.getGraphics();\n\t}", "title": "" }, { "docid": "68ee851a78e13133ee03eb3caa60d880", "score": "0.69654894", "text": "public Graphics getGraphics();", "t...
159ba1b98f4a6d23aba4077c98182f73
add child to the object
[ { "docid": "049e63d21e1d40c2d333a3b4f04be1f7", "score": "0.6870007", "text": "public void addChild(GameObject child)\n\t{\n\t\tchildren.add(child);\n\t\tchild.setParent(this);\n\t}", "title": "" } ]
[ { "docid": "ded5c8a456583e9d1e4fc9a64c0f77c4", "score": "0.8059215", "text": "public void addChild(Object child);", "title": "" }, { "docid": "c9158d60b71e68abcfdad4c973f4bcde", "score": "0.74719256", "text": "public void addChild(Person child){\n children.add(child);\n }",...
aa0817d5b860c040f1e7f9e27a0d6f37
TODO : dataset should be used here
[ { "docid": "1e12197a85d6e19daf622f6172b192e0", "score": "0.0", "text": "static Roi checkForROIs(Dataset dataset) throws NoLineException {\n\n\t\tImagePlus imp = ij.WindowManager.getCurrentImage();\n\n\t\tRoi roi = null;\n\t\tif (imp != null) {\n\t\t\troi = imp.getRoi();\n\t\t}\n\n\t\tif (roi == null) {\...
[ { "docid": "f66515a1b00bc324d05e09376e8ab101", "score": "0.7018573", "text": "public abstract Dataset readDataset();", "title": "" }, { "docid": "299ab0325f0aeadef3d96a53e3aec54c", "score": "0.67697376", "text": "private void getData() {\n\t\t\n\t}", "title": "" }, { "doc...
26e2e5057cb03c49d5880534df65c7d3
Create a new main server and start it
[ { "docid": "0814d4c44c935d7cd22df29bc179cca1", "score": "0.6944007", "text": "public static void main(String[] args){\n\t\tMainServer mainServer = new MainServer();\n\t\tmainServer.start();\n\t}", "title": "" } ]
[ { "docid": "2adaaa64dc73f730f19e04e2ad3661d4", "score": "0.7720867", "text": "private void createServer() {\n HttpServer server = HttpServer.createSimpleServer();\n server.getServerConfiguration().addHttpHandler(new timeHTTPHandler(),\n new String[]{\"/time\"});\n server.getServerConfigu...
8c5d533de5cd1378bace25752e9cdc13
This method was generated by MyBatis Generator. This method corresponds to the database table ma4350
[ { "docid": "a7ba2e72844efa71270adb832c05bc8a", "score": "0.0", "text": "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "title": "" } ]
[ { "docid": "588be74d8c3111be4ddb99851c2e8a10", "score": "0.63393265", "text": "@Mapper\npublic interface SysConfigurationMapper extends BaseMapper<SysConfiguration, SysConfigurationExample> {\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database...
b2d367eee907736cc7371923cd69c8fd
names the given file
[ { "docid": "f1fdbbdb56a22ead943098f90b3e2843", "score": "0.0", "text": "public short namei(String filename) {\n // loop over fsize array\n for (int i = 0; i < fsize.length; i++) {\n String name = new String(names[i], 0, fsize[i]);\n // make sure the size matches and s...
[ { "docid": "e51c40803b5a1be326645d874891c2be", "score": "0.6931961", "text": "FileName createFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.6782053", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7ddfa6ae4f1a49fb43ba5f529d35748b", "score": "0.0", "text": "@Override\nprotected void finalize() throws Throwable {\n\tsuper.finalize();\n\tSystem.out.println(\"µ÷ÓĂfinalize·˝·¨\");\n}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
d1cbaa8754875297c56109f7d2a768f4
Activa la bandera e inicia la llamada
[ { "docid": "a67a31e4eb0e01d0f794b965081c4a35", "score": "0.5845924", "text": "public void iniciarLlamada() {\n estado = EstadosEnum.LLAMADA;\n }", "title": "" } ]
[ { "docid": "cfe578f910d742ad725b2c91e0bedf60", "score": "0.6822077", "text": "long activate();", "title": "" }, { "docid": "f1dedf00fcea19e9ccee104ed3b8619c", "score": "0.6716813", "text": "public void activate() {\n\n\t}", "title": "" }, { "docid": "8c77977fe05da05545aad...
d80190fe383dd506302c7e1d879e31e3
Retrieves, but does not remove, the element at the root.
[ { "docid": "0bfc83d0966e74d8d736635949de0d6c", "score": "0.0", "text": "public T element() throws NoSuchElementException {\n if (nelems == 0) {\n throw new NoSuchElementException();\n }\n return heap[0];\n }", "title": "" } ]
[ { "docid": "37d40ad538a446af85cdb5c466565177", "score": "0.694307", "text": "public E get() {\n\t\treturn root.element;\n\t}", "title": "" }, { "docid": "b66a7bb5726685a1cfead9baabb4bc8e", "score": "0.6771879", "text": "TopLevelElement getElement();", "title": "" }, { "do...
c41716a7ff9df693f7cc0ac1e7c55a35
Sets up the Cylinder by entering the length of a radius.
[ { "docid": "67cf44f63de36fae288260b689e20e7b", "score": "0.0", "text": "public Sphere (double rad)\n {\n super(rad);\n }", "title": "" } ]
[ { "docid": "1b8ebd37bf16514d0521124ad694bd67", "score": "0.7793169", "text": "public Cylinder(double radius) {\n super(radius);\n }", "title": "" }, { "docid": "ff9996e887643d8e53d3abdefdee2fd2", "score": "0.68838024", "text": "public Cylinder(double radius, double height) ...
534e254f0c4568436a08bd7c11842412
Constructors Package private constructor for XRT only.
[ { "docid": "1a706c097d8163453c186f3394f6464c", "score": "0.0", "text": "RESTCallValidator( RESTCall call )\n {\n this.call = call;\n }", "title": "" } ]
[ { "docid": "395e014ef1dddfa4fed54b3ab9f38108", "score": "0.71203357", "text": "private DXAPI() {\n }", "title": "" }, { "docid": "14bbcedb3163469f0a6112e8a6e9f830", "score": "0.70595336", "text": "private XMLUtils()\n {\n // Nothing to do\n }", "title": "" }, ...
7e9fa9b2a50099b6ee30b1feb9e0f24b
private Connection dbcon; Creates a new instance of SpecialQueries
[ { "docid": "2c000c12cf820143b8a683ac185f44ab", "score": "0.738149", "text": "public SpecialQueries() { \n }", "title": "" } ]
[ { "docid": "5f81a8f9a04267a521d5487f9778ddb1", "score": "0.78236717", "text": "public DBQuery(){\n conn = ConnectionDB.getInstance().getConnection();\n }", "title": "" }, { "docid": "fadbaa467de4eb1d8bc0f9bc1989a4d8", "score": "0.672088", "text": "public Queries() throws Cl...
9487e88f3c863da75d5c5e11e91fb40d
Gets the value of the resultCode property.
[ { "docid": "f233d2b192e393984cbb4d3c1a3a7f51", "score": "0.82526714", "text": "public String getResultCode() {\n\t\treturn resultCode;\n\t}", "title": "" } ]
[ { "docid": "e9542af7302fb2ad1791607feaa48e74", "score": "0.8284201", "text": "public String getResultCode() {\n return resultCode;\n }", "title": "" }, { "docid": "52f16fdf4f67ad2fef0beddf4c505074", "score": "0.7819049", "text": "public int getResultCode() {\n return r...
24eacc86f55bab25fc99e3e87046bdd0
Gets the last known sensor exposure time in nanoseconds.
[ { "docid": "3bd873ab57bad49ac417785d83eca758", "score": "0.7928992", "text": "@Nullable\n public Long getLastSensorExposureTime() {\n return lastSensorExposureTime;\n }", "title": "" } ]
[ { "docid": "643f7327e09d664e1b1871f014080454", "score": "0.7428944", "text": "public int getExposureTime() {\n return nGetExposureTime(_nativeHandle);\n }", "title": "" }, { "docid": "5941415ac01cb8bcd87980272244ea20", "score": "0.74071485", "text": "public int getMaxExposu...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "a706e01755cdaa99e72010669452384e", "score": "0.0", "text": "public Boolean m4460a(Bundle bundle, String str) {\n return (Boolean) bundle.get(str);\n }", "title": "" } ]
[ { "docid": "6cff49359236dc9748a42472eaf4954c", "score": "0.63743937", "text": "public interface C35155a {\n /* renamed from: a */\n void mo89459a();\n }", "title": "" }, { "docid": "1ebc1f569daf5575be1aa061331ac667", "score": "0.63378584", "text": "public interface C...
306fcfca2a99378e996370a39273b542
Created by licy13 on 2016/4/11.
[ { "docid": "6f9876a7027be97a2c6cb5e95d5ba69c", "score": "0.0", "text": "public interface TotalscoresMapper {\n\n /**\n * 批量添加或更新考生成绩信息\n * @param totalscores\n */\n @InsertProvider(type=TotalscoresProvider.class,method=\"batchAddOrUpdateTotalscore\")\n public void batchAddOrUpdateTo...
[ { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.60671824", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.6052196", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}"...
59d59031a6c0d22c6d5fc878cfb9c747
The long description of this operation.
[ { "docid": "9cf2ced19774e50a461f433fcdc712f4", "score": "0.0", "text": "public String getDescription() {\n return description;\n }", "title": "" } ]
[ { "docid": "34cf772ee726f22c630a264e1b3aaeec", "score": "0.8108905", "text": "String getLongDescription();", "title": "" }, { "docid": "a6e9979b13277bebb7c27ea0e0ff5f5f", "score": "0.81063926", "text": "public String longDescription();", "title": "" }, { "docid": "6be493e...
a0739d8c6fbc598efac9b214382ed92f
this function created inside of the profile for google login
[ { "docid": "226b3c68d203282e0f686199f3d673a5", "score": "0.0", "text": "@Override\n public void onFBSignOut() {\n Auth.GoogleSignInApi.signOut(mGoogleApiClient).setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(@NonNull Status status) {\n ...
[ { "docid": "24bcccc768f88dd57234f3857326721a", "score": "0.7545631", "text": "private void DoGoogleLogin() {\n GoogleSignInOptions goption = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)\n .requestIdToken(\"313944750353-jbjk9ibdujijfqukpdo2e38pig1ur030....
9b1bac56376dc9ff33a0200080c9e5c3
Release and reinitialize camera is needed to avoid the preview becoming sluggish after second call to startPreview.
[ { "docid": "ede7bb834f06abfd5234ca9ed2b5cf78", "score": "0.774449", "text": "private void restartPreview()\n {\n releaseCamera();\n initCamera();\n configureCamera();\n startPreview();\n }", "title": "" } ]
[ { "docid": "c7a05a9857a86b06ec387a6aa18c6ca2", "score": "0.8263327", "text": "private void releaseCameraAndPreview() {\n\n if (mCamera != null) {\n mCamera.stopPreview();\n mCamera.release();\n released = true;\n mCamera = null;\n }\n if (...
c00e96750fabb7d44cd075beacf60fb8
Initiate the style of the sheet and cell. The styles are saved in sheet 'CustomStyleSheet' Generally,this sheet shall be hidden.
[ { "docid": "9259fea4e5cc4f131421c35ed96c251a", "score": "0.7121964", "text": "private void initStyleSheet(XSSFWorkbook wb) {\r\n\t\tXSSFSheet sheet = wb.getSheet(\"CustomStyleSheet\");\r\n\t\tXSSFCellStyle cellStyleDefault = sheet.getRow(0).getCell(0).getCellStyle();\r\n\t\tcellStyleMap.put(\"default\",...
[ { "docid": "928f97bbbca3298837a7f549c8936870", "score": "0.67089754", "text": "public void init() {\n super.getCell().setBackground(Color.BLUE);\n\n }", "title": "" }, { "docid": "4a175c7b7e7da8f5d2cd819f0ddcac7c", "score": "0.6439056", "text": "private void setStyles() {\r...
54cf59fa56f955b40574457d249d4349
void setGetEventDetailsResp(GetEventDetailsResp) Sets the value of field 'noDataResponse'.
[ { "docid": "323d6dd796ef59d0b1696228674f0f32", "score": "0.6716743", "text": "public void setNoDataResponse(java.lang.String noDataResponse)\r\n {\r\n this._noDataResponse = noDataResponse;\r\n }", "title": "" } ]
[ { "docid": "3b15c19bd7edf233cc2a473deea06424", "score": "0.77506286", "text": "public void setGetEventDetailsResp(GetEventDetailsResp getEventDetailsResp)\r\n {\r\n this._getEventDetailsResp = getEventDetailsResp;\r\n }", "title": "" }, { "docid": "ba3d99ac782998955154e6d5c45cba...
bd9f83ec368ff712d959f806d57de8f0
Time complexity is : square root of n
[ { "docid": "569b4d3e17b67a412104bd5b7d0488eb", "score": "0.0", "text": "private static boolean checkForPrime(int n) {\n\t\tif (n == 1 || n == 2 || n == 3)\n\t\t\treturn true;\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n\t\tfor (int i = 5; i * i <= n; i = i + 6) {\n\t\t\tif (n % i == 0 || n ...
[ { "docid": "4d2919f4a04a61e58b5aab1bdd03513c", "score": "0.767464", "text": "abstract public double sqrt(double n);", "title": "" }, { "docid": "05ee41fd981d64cdf9e90e676c054e6e", "score": "0.7476154", "text": "public int mySqrt1(int n) {\r\n\t\tif (n == 0 || n == 1)\r\n\t\t\treturn ...
ebc718400c7b1769afe36041eee1eadf
repeated .Team team = 5;
[ { "docid": "84959d3417544078259b1776195ac5a4", "score": "0.0", "text": "public Builder addTeam(\n Team.Builder builderForValue) {\n if (teamBuilder_ == null) {\n ensureTeamIsMutable();\n team_.add(builderForValue.build());\n onChanged();\n } else {\n ...
[ { "docid": "8d86f22f3bf2e89938e5901b2c0c071b", "score": "0.63255423", "text": "public void setTeam(int team)\r\n/* 100: */ {\r\n/* 101:108 */ this.team = team;\r\n/* 102: */ }", "title": "" }, { "docid": "95ff1db803b360e1feec186ccd4571dd", "score": "0.6235588", "text": ...
630b19858c013731fcfd887ca60af652
Still needs to be edited
[ { "docid": "bce578cf8b963cbf10a3d35444505bff", "score": "0.0", "text": "public void deleteBorrower(Borrower borrower) throws ClassNotFoundException, SQLException {\n\t\tsave(\"DELETE FROM tbl_borrower WHERE cardNo = ?\", new Object[] { borrower.getBorrowerCardNo() });\r\n\t}", "title": "" } ]
[ { "docid": "e4dd22f91d5403643fa137f15d245e18", "score": "0.72412676", "text": "@Override\r\n\tpublic void edit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ae9fe296ccd8526b08e8dc4171c68d19", "score": "0.699043", "text": "public void edit() {\n\t\t\n\t\t\n\t}", "title": "" }, ...
527c61fb6c9bbd0d92a4033cec07fc73
Get all the classreportRooms.
[ { "docid": "a637d28fa10af75d7be44a89d0702b2a", "score": "0.5939311", "text": "@Transactional(readOnly = true)\n public Page<ClassreportRoomDTO> findAll(Pageable pageable) {\n log.debug(\"Request to get all ClassreportRooms\");\n return classreportRoomRepository.findAll(pageable).map(cla...
[ { "docid": "e38b9ff762d10333b22e4d96f27f8615", "score": "0.72161555", "text": "public Room[] getRooms() { \n return roomSetUp.getRooms();\n }", "title": "" }, { "docid": "0b87c98ddbb11fd510157da9dba71d9b", "score": "0.7150995", "text": "private void getAndShowRooms() {\n\...
90bf3ce1ebc6df8876d56f075c097eb4
Servo Main: START: 0.45; END: 0.95 Servo Supp: START: 0.6; END: 0.1 Clamp Servo: START: 0.1; END: 0.6
[ { "docid": "f28b662a0cf73fe37577e71fac19067f", "score": "0.49017096", "text": "public void init(HardwareMap hwMap){\n\n testServoMain = hwMap.servo.get(\"1\");\n testServoSupp = hwMap.servo.get(\"2\");\n }", "title": "" } ]
[ { "docid": "2c52e4f6ca62dac202348970f4ba8075", "score": "0.66409403", "text": "public static void main(String[] args) throws IOException\n {\n \tBoard board = Platform.createBoard();\n \n \tI2cBus bus = board.getI2cBus(BBBNames.I2C_1);\n \tAdafruitServoDriver servoDriver = new AdafruitSer...
7f90c59785ca9c89564113c5a9e3c90e
Created by Khartonov Oleg on 02.05.2016.
[ { "docid": "648dd4142e52958e44c574a3962347ae", "score": "0.0", "text": "public interface DataContainer {\n int getOffset();\n\n int getLimit();\n\n int getTotal();\n\n int getCount();\n\n List<DataImpl> getResults();\n\n void setOffset(int offset);\n\n void setLimit(int limit);\n\n ...
[ { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.61896795", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.5704625", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "279c8e8ece01529cec2ab16478b302ac", "score": "0.0", "text": "public List selectListByPage(HashMap<String, Object> param) throws SQLException{\n\t\treturn selectList(\"member.selectMemberListByPage\", param);\r\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
67cee9abdfffd163b24b8a9028480131
Explicitly instructs the listbox to write its Xml data to disk. Called during the edit_save command.
[ { "docid": "d5ba9c548b3e95a7c7d3e1460072d274", "score": "0.67723906", "text": "public void saveListBoxData()\n\t{\n\t\tif (m_type == _TYPE_LISTBOX && m_listbox != null)\n\t\t\tm_listbox.saveListBoxData();\n\t}", "title": "" } ]
[ { "docid": "d88bc9c543ea0a312e098782a3266d56", "score": "0.6370949", "text": "public void saveXmlFile() {\n\t\tsetRenderPoll(\"false\");\n\t\tsetRenderTab(\"true\");\n\t\tsetLoadFunction(\"$('#MyTab a:first').tab('show')\");\n\n\t\top.changeXmlFile(getName(), getXmlFile(), getOwner());\n\t\tsetRenderPol...