query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
a3e19bbbdbe09d8a9cfaabd299e5cf3c
Sets the emoji according to moodInt
[ { "docid": "8a8941db967cc963001909c775be1a8c", "score": "0.6247789", "text": "private void setMoodImage(int moodInt, ImageView mood){\n switch (moodInt){\n case 1:\n mood.setImageResource(R.drawable.emoji_4_48);\n break;\n case 2:\n ...
[ { "docid": "23ff0b0645cd33d59d7eed2e87fddc63", "score": "0.64831096", "text": "public void setEmojiText(String emojiText) {\n this.emojiText = emojiText;\n }", "title": "" }, { "docid": "6e0c000548245d898acbf973bac1e317", "score": "0.61173797", "text": "public String getEmo...
20ad8d79cf83ef1645e065d85ac67516
Wraps a SafeScript inside a tag. The tag has a nonce attribute populated from the provided CSP nonce value.
[ { "docid": "140c237a26f98e0c8c4563e65f924f2d", "score": "0.7481236", "text": "public static SafeHtml fromScriptWithCspNonce(SafeScript script, String cspNonce) {\n return create(\"<script type=\\\"text/javascript\\\" nonce=\\\"\" + htmlEscapeInternal(cspNonce)\n + \"\\\">\" + script.getSafeScr...
[ { "docid": "6c73a6ba1a959b80c1f497009bb214f1", "score": "0.6395274", "text": "public static SafeHtml fromScript(SafeScript script) {\n return create(\"<script type=\\\"text/javascript\\\">\" + script.getSafeScriptString() + \"</script>\");\n }", "title": "" }, { "docid": "421a84c981ef4c3...
149afbba00a0a36a6ace003e547b0e1c
Returns the number of children for this node
[ { "docid": "f7bb458a818dffce526d35f62722fa79", "score": "0.7808287", "text": "public int childCount() {\n int count = 0;\n if (left != null) count++;\n if (right != null) count++;\n return count;\n }", "title": "" } ]
[ { "docid": "2284bbbdf0af3826bb6dcddb082e2741", "score": "0.8730558", "text": "public int numberOfChildren() {\n // check if children are initialised\n if (children == null) {\n return 0;\n }\n return children.size();\n }", "title": "" }, { "docid": "...
6b6a9d6e1b3afc6e1d752fa460668cf5
Rename the wiki Page
[ { "docid": "e86d576d4412d3b68bbdc548f93401a1", "score": "0.85661155", "text": "public boolean renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle) throws Exception;", "title": "" } ]
[ { "docid": "4606c90f3d19269964cd3cb9cc7e3482", "score": "0.64031106", "text": "public List<SearchResult> searchRenamedPage(String wikiType, String wikiOwner, String pageId) throws Exception;", "title": "" }, { "docid": "2d6ecb113a4764ef1bbac149a1cd0b16", "score": "0.617058", "text": ...
dc50314f15e2bf6ad3c691757f484f44
The persistence interface for the dialog message service. Caching information and settings can be found in portal.properties
[ { "docid": "b88e95b2a7e7413cd342837b8cd6e726", "score": "0.65902406", "text": "@ProviderType\npublic interface DialogMessagePersistence extends BasePersistence<DialogMessage> {\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. Always use {@link DialogMessage...
[ { "docid": "e16b711014125db6455aeb8779ffd098", "score": "0.56265074", "text": "private Notification() {\n this.persistProv = LocalPersistenceProviderFactory.createLocalPersistenceProvider(Notification.class);\n }", "title": "" }, { "docid": "3f04a9b28bc1198250bf09a823c0eef7", "...
7fb4724bce7343a0aa06fd50d0f8bce2
optional int32 update_result = 7;
[ { "docid": "6d64a2264293a87bc3bd64c2820ef42e", "score": "0.55497295", "text": "public boolean hasUpdateResult() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" } ]
[ { "docid": "4d3790f57fc78920075bae803a162d21", "score": "0.77380854", "text": "void update(int result);", "title": "" }, { "docid": "e9d3f413fed5df63d0df03ffc7de9936", "score": "0.761616", "text": "int getUpdateResult();", "title": "" }, { "docid": "5c14aa02153055dd6a3b33...
6d18d4389e616cb431ccd9c1348d1281
This method was generated by MyBatis Generator. This method sets the value of the database column sm_menu.menu_id
[ { "docid": "2cb02337348e986493dc61d12d1bb0e8", "score": "0.7221888", "text": "public void setMenuId(String menuId) {\r\n\t\tthis.menuId = menuId;\r\n\t}", "title": "" } ]
[ { "docid": "e9b3feae31bb05b84e53548f72dd06b2", "score": "0.7599448", "text": "public void setMenuId(Integer menuId) {\n this.menuId = menuId;\n }", "title": "" }, { "docid": "4dc5f6931d95015c53f1c4a93f50c221", "score": "0.71838707", "text": "public void setMenuID (com.wifih...
cc7a0b274959e0146a7516d63ffb4aa7
cmd id:0x0210 required uint64 user_id = 1;
[ { "docid": "fb3d9d9b4638765e8d8946a7732022bf", "score": "0.0", "text": "public Builder setUserId(long value) {\n bitField0_ |= 0x00000001;\n userId_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "1064b635711818b8069a90a27a733c23", "score": "0.6733353", "text": "public Long getUserID()\n/* */ {\n/* 64 */ return this.userID;\n/* */ }", "title": "" }, { "docid": "39b01ca4728632185a04bbf6ccc7758e", "score": "0.6717685", "text": "java.lang.String getUs...
d94a6bc688913bb30ac6ff228ebf0d4a
controller method for update restaurant review
[ { "docid": "28ba1b038bb68ebb8cff119ee5152992", "score": "0.7698247", "text": "@PostMapping(value = \"/update\")\n public RestaurantsReviewDTO updateReview(@RequestBody RestaurantsReviewDTO reviewDTO) throws Exception{\n return restaurantsReviewService.updateReview(reviewDTO);\n }", "tit...
[ { "docid": "37aed774b7a1c8137387486f30b4c360", "score": "0.7093186", "text": "public void updateReview(String user_id, double amenitiesRating, double cleanlinessRating,\n double manpowerRating, double curriculumRating, String review){}", "title": "" }, { "docid": "f28529ea40429c72cd4...
9799c3710465519ab10a1059c7ae4a27
A callout asset. .google.ads.googleads.v9.common.CalloutAsset callout_asset = 20;
[ { "docid": "6125632c62ea108e38efe08548d5181d", "score": "0.64873874", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.ads.googleads.v9.common.CalloutAsset, com.google.ads.googleads.v9.common.CalloutAsset.Builder, com.google.ads.googleads.v9.common.CalloutAssetOrBuilder> \n...
[ { "docid": "4a74e78ea8bd23e65194c30192ac7442", "score": "0.85598654", "text": "@java.lang.Override\n public com.google.ads.googleads.v9.common.CalloutAsset getCalloutAsset() {\n if (assetDataCase_ == 20) {\n return (com.google.ads.googleads.v9.common.CalloutAsset) assetData_;\n }\n retur...
71e4ec2a9387ffb3add48677585a7226
Gets the ap show hide.
[ { "docid": "7b3d51e74fd6793b45f73b4bd655743b", "score": "0.85495585", "text": "public String getApShowHide() {\r\n\t\treturn apShowHide;\r\n\t}", "title": "" } ]
[ { "docid": "e27f2b41470fad706ecc5eb45bb40983", "score": "0.7503158", "text": "public String getShowHide() {\r\n\t\treturn showHide;\r\n\t}", "title": "" }, { "docid": "af64fe556bbb676d3478cd902f0a18ca", "score": "0.74171215", "text": "public String getHdwareShowHide() {\r\n\t\treturn...
e89e31ce54ff6107bc02dc26d8267eab
Returns an exception which indicates that a particular piece of functionality should work, but a developer has not implemented it yet.
[ { "docid": "b8ceaada55a8bce31d84a6281befaf21", "score": "0.5741139", "text": "public static RuntimeException needToImplement(Object o) {\n throw new UnsupportedOperationException(\"need to implement \" + o);\n }", "title": "" } ]
[ { "docid": "b68e066b385b0287a870e50e637bf0df", "score": "0.6072278", "text": "boolean cannotWork();", "title": "" }, { "docid": "7f576b311f750556fa8ed31438152ac3", "score": "0.5985249", "text": "boolean isMet() {\n throw new NotImplementedException();\n }", "title": "" }, ...
e5447a8d919f216ea3e9c38e59c1048b
optional .game.msg.DSkillGods skillGods = 1;
[ { "docid": "ac152768895cebfcbc4630044ecb7c77", "score": "0.0", "text": "public Builder setSkillGods(\n game.msg.Define.DSkillGods.Builder builderForValue) {\n if (skillGodsBuilder_ == null) {\n skillGods_ = builderForValue.build();\n onChanged();\n } else {\n ...
[ { "docid": "8aaa6bb7c0d835b9a35eb92efef72cfb", "score": "0.8282415", "text": "game.msg.Define.DSkillGods getSkillGods();", "title": "" }, { "docid": "8aaa6bb7c0d835b9a35eb92efef72cfb", "score": "0.8282415", "text": "game.msg.Define.DSkillGods getSkillGods();", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9b19d94e90641d1fba2ea567e72cba1e", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\n\t\tsuper.onCreate(savedInstanceState);\n //cardlist\n this.getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n\n\t\tthis.setContentView(R.layou...
[ { "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...
e4066891f907adfe9d6033071573c9fd
click on delete dimension button to delete row
[ { "docid": "024d919528b3726c3d60cdd161c45c92", "score": "0.62006193", "text": "public static void deleteDimension(int dimensionNumber){\n\t\telementExists(\"//*[@id='row_\"+(dimensionNumber-1)+\"']/img[contains(@src,'delete.png')]\").click();\n\t\tif(elementExists(OR.getProperty(\"deleteDimensionPopup\"...
[ { "docid": "815e10f7e6771dc9ef4598c57ce29bb0", "score": "0.73615617", "text": "@Step(\"TodoMVCWorkFlow CLASS: Delete one row\")\n public void deleteRow()\n {\n try\n {\n todoRow_1.mouseHover();\n deleteButton.clickOnIt();\n } catch (Exception exception)\n...
f3beafb9b8a42f13b22d8e9a1683f934
Copy the UTF8 symbols from 'in' to 'out'. Any nonUTF8 symbols in 'in' will be replaced by 'replacement'
[ { "docid": "e801e9096a1b2efbdcb8d3284be89fd3", "score": "0.71054626", "text": "public static int copyReplaceUtf8(ByteBuf in, final int start, final int end, ByteBuf out, byte\n replacement) {\n int i = 0;\n while (start + i < end) {\n // Optimize for long runs of ASCII sequences\n byt...
[ { "docid": "13d1ff5c9be0a48a4b63de61e8bc15f7", "score": "0.58821976", "text": "public final void encodeUtf8Default(CharSequence in, ByteBuffer out) {\n int outIx;\n int inLength = in.length();\n int outIx2 = out.position();\n int inIx = 0;\n while (...
6f8ab406c43aa746e499ca41425c1ecd
Has the setter of publisherName been invoked?
[ { "docid": "034de084ae4cbe0d1fee928d86b83cdf", "score": "0.84679353", "text": "public boolean isSetterInvokedPublisherName() {\r\n return _isSetterInvokedPublisherName;\r\n }", "title": "" } ]
[ { "docid": "7ed4baee8ee2d2b812bd897802681879", "score": "0.71271116", "text": "public void setPublisherName(String value)\n {\n publisherName = value;\n }", "title": "" }, { "docid": "e3c182f37a854fccbbf8cbf4b2b49015", "score": "0.7094092", "text": "public boolean isSett...
597fc9d488869e1ae586070601cfe75f
Test case number: 52 /Coverage entropy=0.0
[ { "docid": "917a9cb7579c1db1a10c6f2a97fb84cf", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test52() throws Throwable {\n EWrapperMsgGenerator eWrapperMsgGenerator0 = new EWrapperMsgGenerator();\n assertEquals(\" =============== end ===============\", eWrapperMsgGenerator0.o...
[ { "docid": "d6df76b4cd9e17e2c3e4b99debdb01f6", "score": "0.72288334", "text": "@Test\n public void test16() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = ...
046149c4ee4a26a79d1c665bde91cd06
check if file exists, if not create it
[ { "docid": "c98ebb53555c335323b5ff37c5bce06e", "score": "0.0", "text": "public static void serialize(Object object) {\n\t File file = new File(filename);\n\t if(file.exists()){\n\t // then we are good, do nothing\n\t } else {\n\t // if it doesn't exist, try to create\n\t try {\n\t fi...
[ { "docid": "335e39aeea4a9752824c911bb522e9e9", "score": "0.792824", "text": "private void createIfNotExists() {\n\t\tif (file.exists()) {\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tfile.createNewFile();\n\t\t\tPluginUtils.log(\"Created \" + getFileName());\n\t\t} catch (Exception e) {\n\t\t\tPluginUtils....
5107edfcc41343107ea31f7922b18d98
Handles the HTTP GET method.
[ { "docid": "c94c06dacd08865842f733627ecd98a1", "score": "0.0", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "title": "" } ]
[ { "docid": "4bb717eb8962469d33b128957be7a6c6", "score": "0.70792866", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t\t\n\t\tBufferedReader reader = req.getReader();\n\t\tString co...
8ee97db80b576052bb9ecd1d645fa68a
int32 grade = 5;
[ { "docid": "490732fdbaa844f3b20550611353a502", "score": "0.0", "text": "public Builder setGrade(int value) {\n \n grade_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "63d86801194e9600444b2fffd8f31148", "score": "0.6773684", "text": "int getGrade();", "title": "" }, { "docid": "63d86801194e9600444b2fffd8f31148", "score": "0.6773684", "text": "int getGrade();", "title": "" }, { "docid": "63d86801194e9600444b2fffd8f31148", ...
5e491dd19bed3f102ef246efc8d9b546
This method is used for removing topping from cart. cartId orderProductId id
[ { "docid": "161768ea67d0d2ccca226d25cf7fad51", "score": "0.7235664", "text": "private void removeTopping(Long cartId, Long orderProductId, Long id) {\n\t\tcheckAndGetOrderCartIfExist(cartId);\n\t\tcheckAndGetOrderProductIfExist(orderProductId);\n\t\torderToppingRepository.deleteById(id);\n\t}", "tit...
[ { "docid": "9d7d02c94e82b78404c7126a90c147de", "score": "0.7003488", "text": "void deleteProductFromCart(final Long cartId, final Long productId);", "title": "" }, { "docid": "36467a019fd89c579c4619fea9a8a8ad", "score": "0.67191523", "text": "void deleteCartItemDetails(int id);", ...
794d5084c4489a25c8502c3dbf794e9e
string playerId = 2;
[ { "docid": "380d466760bfdb583790b37097036635", "score": "0.0", "text": "com.google.protobuf.ByteString\n getPlayerIdBytes();", "title": "" } ]
[ { "docid": "fbedff2bcb4895a426a69ea00b273477", "score": "0.79290384", "text": "int getPlayerId();", "title": "" }, { "docid": "fbedff2bcb4895a426a69ea00b273477", "score": "0.79290384", "text": "int getPlayerId();", "title": "" }, { "docid": "a7319a0dd77bf72ab3e90d680f2809...
368bd806819f5faf3d381ebcfdfb33ea
Returns name of this operation.
[ { "docid": "2310c1af5849c9f375225b5c31591adf", "score": "0.0", "text": "@Override\n abstract public String toString();", "title": "" } ]
[ { "docid": "f59b5fb85c7e5f3154246c40fed466a4", "score": "0.8410564", "text": "public String operationName();", "title": "" }, { "docid": "f194d7727d0f641ae2435bab9494f832", "score": "0.82964295", "text": "MemberName getOperationName();", "title": "" }, { "docid": "d9feeca...
818ad49268210ed23cf825adb6b0eab7
Download a file from the Internet. The entire file is loaded into memory, so only use with small files!
[ { "docid": "bc6a3a372fa822bfb9e4e8d7e2f5f77b", "score": "0.6972585", "text": "public static byte[] download(URL url) throws IOException {\n\t\tif (url == null)\n\t\t\tthrow new IllegalArgumentException();\n\n\t\tURLConnection con = url.openConnection();\n\t\tlong size = con.getContentLengthLong();\n\n\t...
[ { "docid": "7d3e19b395d73d3b3a2d197248584555", "score": "0.7998354", "text": "byte[] download(String fileName) throws IOException;", "title": "" }, { "docid": "8183d17b18ccc823a2a4a7a5479fe188", "score": "0.796066", "text": "private void downloadFile() {\r\n\t\tOutputStream out = nul...
62a00f1136442aa9f30dbd7d75fd7545
Creates a new instance of NO_SUCH_INSTANCE
[ { "docid": "ee528c0a2e3140bc3ae3bea7bfe46833", "score": "0.82694155", "text": "private NO_SUCH_INSTANCE() {\n }", "title": "" } ]
[ { "docid": "829a0810912ef7e250d239c93d5b64a8", "score": "0.69986415", "text": "Object createInstance() throws Exception;", "title": "" }, { "docid": "b6552c7c85ff05ee9c40f1812ab3ca9e", "score": "0.6531684", "text": "protected abstract boolean canCreateNewInstance();", "title": ""...
45a3b181cf88cb86f3c7f6158a20620a
The infer method can be used by a target rule engines to assert axioms that they infer into the bridge.
[ { "docid": "3ecbda361889f0189bf9ee9253f8ad47", "score": "0.5811313", "text": "void inferOWLAxiom(OWLAxiomReference axiom) throws SWRLRuleEngineBridgeException;", "title": "" } ]
[ { "docid": "bf5df3307870b6f4938febdf2b1d4474", "score": "0.5880042", "text": "@Override\n\tpublic void precomputeInferences(InferenceType... arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "ea2050120ec81b6039f55ed004b14b49", "score": "0.5808263", "text": "interface ElkInferenceFlatten...
946e97676d72dc5ad9bdcb69d6d37140
Map for storing messages.
[ { "docid": "038256554fb3de5dea138e64bc6e4d09", "score": "0.0", "text": "@Override\n\tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n Map<String, String> messages = new HashMap<String, String>();\n req.setAttribute(\"messag...
[ { "docid": "371a81ad1c681139865688bc39b1de80", "score": "0.78987855", "text": "public Map getMessages();", "title": "" }, { "docid": "04eab927c4787c3a7e45f0084d32f095", "score": "0.736482", "text": "public abstract ImmutableMap<String, Message> messages();", "title": "" }, { ...
f4982f1f2df8b56e7ccfe82a5f54b390
get the current Runtime name.
[ { "docid": "a69e5ef4b4866ac2437df65c03be0ed9", "score": "0.86432445", "text": "public static String getRuntimeName() {\n return System.getProperty(Constants.RUNTIME);\n }", "title": "" } ]
[ { "docid": "3ad7fc7969ff66b5e1159afb79a5ac40", "score": "0.7036403", "text": "public String getName() {\n return getResourceAsString(\"appName\");\n }", "title": "" }, { "docid": "4142783c341b210e72e1cd37b3af3d67", "score": "0.6984948", "text": "java.lang.String getProcessN...
1289888c28b0a38eb1ff864b667e2f65
Get internationalization bundle factory.
[ { "docid": "9afac2bd3b75d2a947828df44c34250a", "score": "0.815259", "text": "@Bean\n public IBundleFactory getBundleFactory() {\n IInternationalizationService internationalizationService = Locator.findMBean(IInternationalizationService.class,\n IInternationalizationService.MBEAN...
[ { "docid": "8b23ad6206d109ff86caf6e33351fd08", "score": "0.6284388", "text": "private static ResourceBundle getBundle() {\r\n FacesContext ctx = FacesContext.getCurrentInstance();\r\n UIViewRoot uiRoot = ctx.getViewRoot();\r\n Locale locale = uiRoot.getLocale();\r\n ClassLoad...
b26de97c58916b69d367efeb9279f28a
Listener method for the processing button
[ { "docid": "dbe1e96d2a41f7df84370faf2d050e67", "score": "0.8226529", "text": "private void processingButtonListener() {\n JButton processingButton = gui.getButton_Processing();\n\n ActionListener actionListener = (ActionEvent actionEvent) -> {\n gui.getProcessing_TextArea().setT...
[ { "docid": "b458115055b06acda66d2c555e9f93c7", "score": "0.7015042", "text": "private void processingCloseButtonListener() {\n JButton closeProcessingButton = gui.getButton_CloseProcessing();\n\n ActionListener actionListener = (ActionEvent actionEvent) -> {\n gui.getFrame_Proce...
58ffd57a6983b8bc01b26cc469ccb356
Subtract two Vectors A B
[ { "docid": "d9bf4d902eebf020a48bc8a15f7fe268", "score": "0.79397064", "text": "public static Vector vectorSub(Vector a, Vector b){\r\n\t\tFloat x = a.getX() - b.getX();\r\n\t\tFloat y = a.getY() - b.getY();\r\n\t\tFloat z = a.getZ() - b.getZ();\r\n\t\t\r\n\t\treturn new Vector(x, y, z);\r\n\t}", "ti...
[ { "docid": "2e54993d5eef24be3624c20fc2206f23", "score": "0.83941084", "text": "public static Vector substractVector(Vector a, Vector b) {\r\n\t\treturn new Vector(b.getX() - a.getX(), b.getY() - a.getY());\r\n\t}", "title": "" }, { "docid": "4a5e484645646bcd0aca066d6efa2b7f", "score": "0...
a5457630db262ce0bdd5911be2fc22ea
Determine the view type of the current item and perform actions accordingly
[ { "docid": "bbd79b69d9daed828a6e6e12830f6ced", "score": "0.0", "text": "@Override\r\n public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) {\n switch (getItemViewType(position)) {\r\n case 1:\r\n // TextHolder label\r\n Da...
[ { "docid": "1c5dbbd2f87b35212e7158e873b68a4d", "score": "0.686159", "text": "String getViewType();", "title": "" }, { "docid": "6202fbf3b3ad67e341cc155d2d7c4023", "score": "0.65600103", "text": "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "title": "" }, { "docid": ...
0e46fd1472e7818bbf97b4f30c0f9a91
Ens serveix per modificar el tipus de la variable de l'atribut id
[ { "docid": "46e7a92ece37108f056b86af882d84b4", "score": "0.0", "text": "@Override\r\n\tpublic String toString(){ \r\n String p = String.valueOf(id);\r\n return p+\" \"+name;\r\n\t}", "title": "" } ]
[ { "docid": "d44b98153bd1169607ecc95878335e3e", "score": "0.68542105", "text": "public String editar()\r\n/* 64: */ {\r\n/* 65: 84 */ if (getVariableCalidad().getId() > 0) {\r\n/* 66: 85 */ setEditado(true);\r\n/* 67: */ } else {\r\n/* 68: 87 */ addInfoMessage(getLanguage...
70bf3b459dd37e643e2eeeabcd1d7a3a
/ renamed from: i
[ { "docid": "3d6671fae7417e385767160c4df7ac0d", "score": "0.0", "text": "public static final /* synthetic */ InteractView m136587i(GiftFD giftFD) {\n InteractView interactView = giftFD.f98903j;\n if (interactView == null) {\n C32569u.m150520b(C6969H.m41409d(\"G658CC10EB6358227F20...
[ { "docid": "58bb12b2266ea6b431f2b1562f3fb2f2", "score": "0.69467807", "text": "void mo75269d(int i);", "title": "" }, { "docid": "1ab98b9bf227c400a8714ae16a79dd64", "score": "0.68317354", "text": "void mo17642yY(int i);", "title": "" }, { "docid": "e989f0171711c16e0246288...
c249083f0fd6b6a58f5dc3ab0925b416
/ renamed from: j
[ { "docid": "d8e17142c1db6c0d119a7866df16c7f3", "score": "0.0", "text": "public boolean mo23765j() {\n return this.f20501c.mo23602j();\n }", "title": "" } ]
[ { "docid": "b9fc5d9437d2d0e9bb95c17314216d33", "score": "0.7266597", "text": "@Override\n\tpublic void j() {\n\t\t\n\t}", "title": "" }, { "docid": "3d01024adfc8f330144849a5fdb02bc6", "score": "0.6449527", "text": "public void mo24203F(long j) {\n }", "title": "" }, ...
e6d7879c787a7db907e2f1c2039f3319
$ANTLR end "T__121" $ANTLR start "T__122"
[ { "docid": "4001c3ef20e682803668dcb521824206", "score": "0.0", "text": "public final void mT__122() throws RecognitionException {\n try {\n int _type = T__122;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:91:8: ( 'w...
[ { "docid": "fffeb4f7fedd741663c65f9d347863e8", "score": "0.56588054", "text": "public interface MyNewGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int _plus = 5;\n /** RegularExpression Id. */\n int _minus = 6;\n /** RegularExpression Id. */\n int _mu...
3557f1244de45e6a5ed9e96eb21ef9a9
Send a distance vector message to this node. Adds the message to this node's message queue.
[ { "docid": "0cd404f65d477307638408c67eb850f3", "score": "0.0", "text": "public static void sendMessage(Message m) {\n sender_thread.submit(new MessageSender(m));\n }", "title": "" } ]
[ { "docid": "fbad66175df0d0d14649a28ee2a32501", "score": "0.7561069", "text": "public void sendDistanceVector() {\r\n\t\t// make sure it is using distance vector protocol\r\n\t\tif (mProtocol != Protocol.DV_INFO_PKT) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tint neighborAddr;\r\n\t\ttry {\r\n\t\t\tfor (Iterator...
7885484737398cf0058840d307af8593
Busca cliente por id.
[ { "docid": "d7caa074780df5a9f318903538dd4bbf", "score": "0.69825655", "text": "public ClienteBean buscarId(int id) { \r\n Session session = HibernateUtil.getSessionFactory().openSession();\r\n session.beginTransaction();\r\n return (ClienteBean)session.createCriteria(ClienteB...
[ { "docid": "ab64555cab3fc63d92e888a9d30131ee", "score": "0.75376546", "text": "@Override\n\tpublic Cliente buscarCliente(Long id) {\n\t\tCliente c = iCliente.findById(id).orElse(null);\n\t\treturn c;\n\t}", "title": "" }, { "docid": "fe5f21a21a9ec00819084bcf8bfd2822", "score": "0.7493312...
9c5ea944486451da071b4fbf90747760
Stock prices to print.
[ { "docid": "137f4f650f43019c4cfc2d9262734b60", "score": "0.6472996", "text": "public static String stockPricesToPrint(int[] stockPrices) {\n StringBuilder sb = new StringBuilder();\n\n for (int stockPrice : stockPrices) {\n sb.append(stockPrice);\n sb.append(\", \");\n }\n\n sb.set...
[ { "docid": "59e4d32b88b37656b9afb965f723202f", "score": "0.75098914", "text": "public void printStock()\r\n\t{\r\n\t\tstockItem aStockItem;\r\n\t\tSystem.out.println(\"Code \\t\\t Quantity \\t Name \\t\\t Price\");\r\n\t\tfor(int i = 0; i <Stock.size(); i++)\r\n\t\t{\r\n\t\t\taStockItem = Stock.ge...
18600cdc94f828116c3ed427e3872823
transfers from one stack to the provided stack and deletes the existing one
[ { "docid": "0bf3e171d339fabfdbc455fbe003f811", "score": "0.5683785", "text": "public void transfer(Stack<E> to){\n if(to != null) {\n Node<E> current = first;\n while (current != null) {\n to.push(current.getElement());\n\n current = current.nex...
[ { "docid": "f013a364aad3ab5f30e72636e3a4889b", "score": "0.6816043", "text": "@Transactional\n public void remove(StackEntity stack) {\n EntityManager entityManager = entityManagerProvider.get();\n stack = findById(stack.getStackId());\n if (null != stack) {\n entityManager.remove(stack);...
42cad5cc3f436e9f61828a389131e2fc
TODO code application logic here
[ { "docid": "35f99162c08489bab7b179f1e8271b8c", "score": "0.0", "text": "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n while ((str = br.readLine()) != null) {\n System...
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.6368022", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ea4341d488d9be09cc755218b65fadf5", "score": "0.6112183", "text": "@Override\n public void preRetrieving() {\n...
2a472c445b615da2d4662d2fc028cf79
Excluir o numero +5511999999998 pelo xpath //span[text()='+5511999999998']/followingsibling::a
[ { "docid": "aec72672888a740d1b4a1a6885f388b1", "score": "0.0", "text": "@Test\n public void removerUmContatoDeUmUsuario(\n @Param(name = \"telefone\")String telefone,\n @Param(name = \"mensagem\") String mensagemEsperada) {\n navegador.findElement(By.xpath(\"//span[text()...
[ { "docid": "56c85dfd281581372466398877740656", "score": "0.49822968", "text": "public static void main(String[] args) throws InterruptedException {\nSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\total solutions\\\\Downloads\\\\chromedriver_win32 (1)\\\\chromedriver.exe\");\nWebDriver ...
72fe48a0ba9d9ba18ea39825bdf3ce64
Sets the value of the 'freddieHomestepsManagerFlag' field.
[ { "docid": "870e52ad8bc2f9e4fb7b7fd9b82121f5", "score": "0.8836642", "text": "public void setFreddieHomestepsManagerFlag(java.lang.Boolean value) {\n this.freddieHomestepsManagerFlag = value;\n }", "title": "" } ]
[ { "docid": "daf80806deb4613d283c22b4c5def711", "score": "0.85031855", "text": "public com.tenx.resi.ms.contract.api.message.offer.OfferMessage.Builder setFreddieHomestepsManagerFlag(java.lang.Boolean value) {\n validate(fields()[21], value);\n this.freddieHomestepsManagerFlag = value;\n f...
66c6f753b3a2c0674137eb52a6e48e22
Creates a new AdminPermission object with its name set to "AdminPermission".
[ { "docid": "646917271246aaa450e734d28612352a", "score": "0.72990704", "text": "public AdminPermission()\n {\n super(\"AdminPermission\");\n }", "title": "" } ]
[ { "docid": "b20bf8fc527305e91553c077b52896ab", "score": "0.6907444", "text": "Permission createPermission();", "title": "" }, { "docid": "81f156896b62a2c648de8f5b265f1f8c", "score": "0.63575715", "text": "public AdminPermission(String name, String actions)\n {\n this();\n ...
2c2ecc3a92588e5c5670fdf85158eed6
Checks if the file at a specified path can be a valid ant brain; if not, clears the corresponding text field
[ { "docid": "9a9168aca4d8acd5366d246533460b44", "score": "0.6751531", "text": "private void checkBrain(String absolutePath) {\r\n\t\tif (StateMachine.newInstance(absolutePath) == null){\r\n\t\t\tJOptionPane.showMessageDialog(this, \"Error!\\nThis Ant Brain file is invalid.\\n\"+\r\n\t\t\t\t\t\"Please che...
[ { "docid": "b9c24cfa1eff5329845ae0c00b29cc68", "score": "0.51603913", "text": "public void validatePath() throws IOException {\n }", "title": "" }, { "docid": "a3f0256d4615cf1e73ce1c1e21107b7d", "score": "0.5139626", "text": "private void checkAndSetMap(String absPath){\r\n\t\tif ...
80be8241fa9dfe2672e75b2e143069b1
Not worth implementing at the moment; this Map is only accessed from
[ { "docid": "c660dae7681154e48a2baac613b02e28", "score": "0.0", "text": "@Override\n public Set<Map.Entry<Collection<?>, List<?>>> entrySet()\n {\n return Collections.emptySet();\n }", "title": "" } ]
[ { "docid": "d6c5559fa8177fe12ee4a1331855649c", "score": "0.7016021", "text": "@Override\n public HashMap<String, Object> getMap() {\n return map;\n }", "title": "" }, { "docid": "41dc422a8cb2360450e02d26633282c4", "score": "0.698567", "text": "java.util.Map<String, MapP...
1165341234d181225b67b52d0b739559
Returns a string representation of the square's heat map in humanreadable form. (Assuming that all transversals have been counted.)
[ { "docid": "389d7830adf1038a0e2127a58b4e1fde", "score": "0.7568833", "text": "public String toStringTransversalHeatMapHumanReadable()\r\n\t{\r\n\t\tStringBuilder buffer = new StringBuilder(\"\");\r\n\t\t\r\n\t\tfor(int i = 0; i < order; i++)\r\n\t\t{\r\n\t\t\tfor(int j = 0; j < order; j++)\r\n\t\t\t{\r\...
[ { "docid": "a93a1d7f30287897b470f321b89d77dc", "score": "0.71029246", "text": "public String toString()\r\n\t{\r\n\t\tint x, z, y;\r\n\t\tString TextMap = \"From \" + y_offset + \" to \" + (y_offset+height) + \":\" + (char) 13;\r\n\t\t\r\n\t\tfor (x=length-1;x>=0;x--)\r\n\t\t{\r\n\t\t\tfor (y=1;y<=heigh...
e85174b64fa8f75f943b01faa0f7ed3f
if ((driver != null) && (args.length >=2)) String modelClass = (String) argsTable.get(MODEL_CLASS);
[ { "docid": "f3522a72046b1fac4e693f3d7f049e9a", "score": "0.0", "text": "public static void registerEditorClass (SyncClient client, Hashtable argsTable) {\n \tString editorClass = (String) argsTable.get(EDITOR_CLASS);\n \n \tif (editorClass != null) {\n \t\tclient.setEditorClass(editorClass);\n ...
[ { "docid": "eb1d5454d28d709f74af1d13263a02e3", "score": "0.63374645", "text": "public static void main (String[] args)\n\t{\n\t\torg.compiere.Xendra.startupEnvironment(true);\n\t\tCLogMgt.setLevel(Level.WARNING);\t\t\n\t\tlog.warning(\"Generate Model $Revision: 1.1 $\");\n\t\tlog.warning(\"-----------...
070985c4597e559cb74e0f6eb47d7df6
internal Validate the specified RFC1035 label.
[ { "docid": "19cae3c6a1959a2a40c68cf81bbe8bf7", "score": "0.6761623", "text": "public static boolean isValidRFC1035Label(String sName)\n {\n if (sName == null)\n {\n return false;\n }\n\n // internationalization support; see https://tools.ietf.org/htm...
[ { "docid": "c37349957e1b717f83923b79a9fc37e6", "score": "0.62283266", "text": "public boolean isValidLabel();", "title": "" }, { "docid": "97d5099a3c3b8c9252086185f12336f2", "score": "0.54257244", "text": "@Check\n\tpublic void verifyLabelStatement(LabelStatement label) {\n\t\tif(lab...
56343b78db00fe4fdf6c21720529db6c
Handles the HTTP POST method.
[ { "docid": "a4d6191746ad49b4def8ce5d514d3b1a", "score": "0.0", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "9d82bd438ca885e91ee42f441f6a67c0", "score": "0.73963165", "text": "@Override\n\tpublic void doPost(Request request, Response response) {\n\t\t\n\t}", "title": "" }, { "docid": "5e0c4bf9984bc451fe093fb1141f9960", "score": "0.7392475", "text": "@Override\n\tpublic void doPo...
5ff78d55eec5cdb757571ced46f7dcea
check settings and run selected checker
[ { "docid": "2e741d15dfb73f542a303c010f09c720", "score": "0.0", "text": "public void start(){\n\t\tboolean isMasterSyncEnabled = ContentResolver.getMasterSyncAutomatically();\n\t\tif(isMasterSyncEnabled)\n\t\t{\n\t\t\tboolean noRespNoti = SharedPref.getMainBool(SharedPref.Keys.NO_RESP_NOTI, curContext);\...
[ { "docid": "c400d8381aef596038113eb62f600d84", "score": "0.63752216", "text": "public void doChecking() {\n \tdoCheckingDump();\n \tdoCheckingMatl();\n }", "title": "" }, { "docid": "23ff630a1b9b73d13ed10374a9d03b4c", "score": "0.6096467", "text": "private void setChecks() {...
1f36be834d1af5b4efb5f4c8f1a18084
/ access modifiers changed from: protected|final|synthetic
[ { "docid": "a3e48130d4da64ab70ac9e1efdece9da", "score": "0.0", "text": "public final /* synthetic */ void onPostExecute(Object x0) {\n byte[] bArr = (byte[]) x0;\n super.onPostExecute(bArr);\n if (this.c != null) {\n this.c.result(bArr);\n }\n }", "title": "...
[ { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.7086531", "text": "protected void method_3848() {}", "title": "" }, { "docid": "df970d9257b3282612e3b7ad881bca60", "score": "0.68065864", "text": "protected void bhjp5027AcedeMhjj027a() {\n }", "title": "" }, { ...
9f388bf09cee136521ea8f788e024aee
Verify serialization wrt [JACKSON354] NOTE: fails currently because we use Bean Introspector which only sees public methods need to rewrite
[ { "docid": "35a11b778ebc05a135e4d13ebd58be22", "score": "0.5949426", "text": "public void testJackson354Serialization() throws IOException\n {\n assertEquals(\"{\\\"name\\\":\\\"foo\\\"}\", MAPPER.writeValueAsString(new Bean354()));\n }", "title": "" } ]
[ { "docid": "62dd44f77b8ba2090ae0fa36a553d24e", "score": "0.6725539", "text": "@Test\n public void testSerialization() {\n ValidationBean bean = new ValidationBean(\n getValidation(Status.FINE),\n getValidation(Status.UNACCEPTABLE)\n );\n JSONObject json = bean.extract();\n\n // \"...
b63772acb3f4f384263949b0c7976cc2
Checks whether the specified side contains the farmer or not.
[ { "docid": "664517e8aadc1a4a515c4c560f426341", "score": "0.837924", "text": "private boolean checkContainsFarmer(int side) {\n\t\tif (side == 0) {\n\t\t\tfor (Piece p : startSide) {\n\t\t\t\tif (p.toString().contains(\"Farm\") || p.toString().contains(\"farm\") && Boat.isAtStart() && Boat.checkContainsF...
[ { "docid": "59232c6b07c40f3ccdf96ddc2c93aa2c", "score": "0.68765485", "text": "boolean hasSide();", "title": "" }, { "docid": "59232c6b07c40f3ccdf96ddc2c93aa2c", "score": "0.68765485", "text": "boolean hasSide();", "title": "" }, { "docid": "59232c6b07c40f3ccdf96ddc2c93aa...
5ff1b1e5f079df75d3e78abeb43d6346
Returns the means of rows.
[ { "docid": "3c45f906b74aced240e9b6fc3369da83", "score": "0.70818645", "text": "public static double[] rowMeans (RealMatrix matrix) {\n // Get the col sums:\n double[] retval = EMatrixUtils.rowSums(matrix);\n\n // Iterate over return value and divide by the length:\n for (int ...
[ { "docid": "964182bcff43c8637d9d423f577f062a", "score": "0.719204", "text": "double getMean();", "title": "" }, { "docid": "db8cb500181eb3730a39454937dd2e7a", "score": "0.7170173", "text": "public double mean() \n {\n return StdStats.mean(means);\n }", "title": "" }...
47866e8bd2763a649f7c5b868c571434
Test case number: 10 /Coverage entropy=2.4849066497880012
[ { "docid": "4f9194f201dbf36f6dd8931f405e8a85", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test10() throws Throwable {\n AdvancedSettings advancedSettings0 = new AdvancedSettings();\n advancedSettings0.getQSObjectPoolMaker();\n advancedSettings0.setMaxThreadsForNioWrit...
[ { "docid": "c40bf506d7139506e0e2b9f810637cff", "score": "0.6397655", "text": "public void calculateCoverageTest(){\r\n\t\t// TODO Auto-generated method stub\r\n\t\tSystem.out.println(\"calculateCoverageTest()\");\r\n\t}", "title": "" }, { "docid": "eb91d6f4cebb8fb86024a8fa2618303a", "sco...
46776511cd41ee7dcab9d98ed1263e5e
n linhas e 5 colunas, sendo elas: nome | tipo java | valor p/ true | valor p/ false | inverter
[ { "docid": "826952f25a51d07ce96bed806fe63e92", "score": "0.5262092", "text": "private void montarTabelaDominios() {\n vetorTabela = new JComponent[dominiosBooleanos.size()+1][4];\n \n vetorTabela[0][0] = new JLabel(\"Nome\");\n vetorTabela[0][1] = new JLabel(\"Tipo Java\");\n...
[ { "docid": "b5039c153aa8e2955d31fc2c9a5b0242", "score": "0.5892734", "text": "private void CreoTabelleColumn()\n {\n sColumnNameComp = new Vector<String>(); \n \n sColumnNameComp.add(\"ID\");\n sColumnNameComp.add(\"Nome\");\n ...
f0f28510261f42a59223fa36fb3f8e90
string err_msg = 2;
[ { "docid": "80acf4205730d1ae54a48d81a07b346a", "score": "0.0", "text": "public Builder setErrMsg(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n errMsg_ = value;\n onChanged();\n return this;\n }", "title...
[ { "docid": "5c53af4516f72b6f857271cbef39b425", "score": "0.7380679", "text": "java.lang.String getErr();", "title": "" }, { "docid": "1c210ac17790074d4b2a887736b18191", "score": "0.7374157", "text": "java.lang.String getErrMsg();", "title": "" }, { "docid": "1c210ac177900...
286733f6fd834282adc4f048489be5d4
.msggamedata.MsgPrice price = 3;
[ { "docid": "1b85fa7fdb4240fef265f92ad161db45", "score": "0.6160412", "text": "com.felania.msldb.MsgPriceOuterClass.MsgPriceOrBuilder getPriceOrBuilder();", "title": "" } ]
[ { "docid": "83c37c5432257cdb7b768470005a1750", "score": "0.70584625", "text": "com.felania.msldb.MsgPriceOuterClass.MsgPrice getPrice();", "title": "" }, { "docid": "411a3ff6c07fcb15ab0c05b954da7754", "score": "0.6516601", "text": "TypePriceGame (String name, float price) { \n\n ...
b65278a6034028e903a148bc8fe844c9
Service Instance Mock StubResponses below
[ { "docid": "7d2e436432b4754d61e67a2f1effb804", "score": "0.0", "text": "public static void MockGetServiceInstance(WireMockServer wireMockServer, String globalCustId,\n String subscriptionType, String serviceInstanceId, String responseFile) {\n wireMockServer.stubFor(get(urlMatching(\"/...
[ { "docid": "9b1a4bdc13f560a17e63932f1ebdfe19", "score": "0.6487181", "text": "public void testGetServiceMethodForSuccess() {\n myCommunicationRequest.getServiceMethod();\n }", "title": "" }, { "docid": "b8b2119476ecc99adf15a2e6a30af121", "score": "0.6421286", "text": "publi...
e7bb632bcea5c8c075e88f2aee31cf9f
optional .proto.BillInquiryTelecomResponse.BillInfo mid_term = 4;
[ { "docid": "ef07b10c7a33c13ba530d7bef8b4cd85", "score": "0.7238995", "text": "public net.iGap.proto.ProtoBillInquiryTelecom.BillInquiryTelecomResponse.BillInfo getMidTerm() {\n return instance.getMidTerm();\n }", "title": "" } ]
[ { "docid": "f7bbb1df3900bf51b0baa102d3b54009", "score": "0.8654294", "text": "net.iGap.proto.ProtoBillInquiryTelecom.BillInquiryTelecomResponse.BillInfo getMidTerm();", "title": "" }, { "docid": "19d550159ecb46dfb136be39c3e0b571", "score": "0.7545978", "text": "net.iGap.proto.ProtoBi...
fa6e523b93ba31af3ebbfb315b797e27
line 67 "/Applications/Kode Studio.app/Contents/Resources/app/extensions/kha/Kha/Backends/Android/kha/SystemImpl.hx"
[ { "docid": "b3d52b7adb5bff0a298ced36b7a1f223", "score": "0.0", "text": "public static boolean getVsync()\n\t{\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "91d4fc3a4ee275fa3061c52867b0e053", "score": "0.623225", "text": "public static void init(java.lang.Object options, haxe.lang.Function done)\n\t{\n\t\tkha.SystemImpl.w = ((int) (haxe.lang.Runtime.toInt(haxe.lang.Runtime.getField(options, \"width\", true))) );\n\t\t//line 122 \"/Applications/K...
1bd57ea399af3b57a686723afe205a6f
It says what life the fighter has. Using a method makes it easier to read the code, rather than accessing positions in an array.
[ { "docid": "d59fb5fee7f57971ff7f72e083913617", "score": "0.65968245", "text": "public int readLife(int[] fighter) {\n return fighter[LIFE];\n }", "title": "" } ]
[ { "docid": "78a3e43ff2875a19889645770ed9b483", "score": "0.7300325", "text": "public FighterLife life();", "title": "" }, { "docid": "8f0b04a2c887004bbd3e783af5dd2ee0", "score": "0.67573965", "text": "public int getLife()\n\t{\n\t\treturn life;\n\t}", "title": "" }, { "do...
01bc3fcc9b3769a8851d655c62790a67
Complete the rotLeft function below.
[ { "docid": "0402c5e863e4c2e236e051d46d0a5a44", "score": "0.0", "text": "static int[] rotLeft(int[] a, int d) {\n\n int[] result = new int[a.length];\n\n\n int index = 0;\n for (int i = d; i < a.length ; i++) {\n result[index] = a[i];\n index++;\n }\n\n ...
[ { "docid": "627f997e16ad677d97262c3ee12c5fd7", "score": "0.8153982", "text": "private void rotate_left() {\n\t\tthis.setTranslationalVelocity(-0.5);\r\n\t\tthis.setRotationalVelocity(Math.PI /4);\r\n\t}", "title": "" }, { "docid": "7310f5d9adf4262898d095e95ec0b154", "score": "0.814865", ...
4283b048bb03341998f0e064be90a9aa
Native interface for Vulkan method 138 vkDestroySurfaceKHR
[ { "docid": "6488909e4cc24d64ba3dccbb0c5da0d0", "score": "0.8868597", "text": "private static native void vkDestroySurfaceKHR0(\n\t\tlong instance,\n\t\tlong surface,\n\t\tByteBuffer pAllocator);", "title": "" } ]
[ { "docid": "b0d375ca0fa6e5cc2e31c351e81aa1f3", "score": "0.73295796", "text": "public static void vkDestroySurfaceKHR(\n\t\tVkInstance instance,\n\t\tVkSurfaceKHR surface,\n\t\tfinal VkAllocationCallbacks pAllocator) {\n\n\t vkDestroySurfaceKHR0(\n\t\tinstance.getNativeHandle() /* VkHandle */ ,\n\t\tsur...
353daba6cbe3f96f49b8aae79169c98e
Interface your map has to implement
[ { "docid": "2d26cb647fb2b0da52ff4c93ae43cf97", "score": "0.61950254", "text": "public interface IWordMap {\n\n\t/**\n\t * Adds a new position to an entry of the map. Creates the entry if the word is\n\t * not already present in the map.\n\t */\n\tpublic void addPos(String word, IPosition pos);\n\n\t/**\...
[ { "docid": "3926fa686f726c00a49c65c43954fd5e", "score": "0.7442982", "text": "public interface MapObjectType {\n}", "title": "" }, { "docid": "af027215c46727cdf946dd19f0db5ef4", "score": "0.74018604", "text": "public interface IMap \n{ \n String GetMaps(boolean showEnemyShips);\...
2929e4dc83a3570d210b778aaa6ae49b
Set the current url.
[ { "docid": "45f0209e84b54aa3dec9070a2e550f86", "score": "0.6161033", "text": "public void setURL(String newURL);", "title": "" } ]
[ { "docid": "007ba69937a3a7b9105c24c3b2c05350", "score": "0.6884128", "text": "public void setURL (String str) {\n browserComponent.setURL (str);\n }", "title": "" }, { "docid": "c15a047650f5b936304b3878d3ea092a", "score": "0.6823671", "text": "public String getURL()...
efda509c23f4e28d84357275beabff74
The initial dead1HrFuelMoisture values assigned used in this method are from Rothermel et al, "Modeling moisture content of fine dead wildland fuels: input to the BEHAVE fire prediction system." Research Paper INT359. 1986. The other values have been arbitrarily assigned for testing purposes.
[ { "docid": "9351dbb2e7fa23b0ac92740a29ae89d0", "score": "0.48998848", "text": "public static BasicFuelMoisture fromWeatherConditions(WeatherConditions previousWeeksWx) {\r\n switch (previousWeeksWx) {\r\n case HOT_AND_DRY:\r\n return fromReals(\r\n ...
[ { "docid": "d160bbf2188e7e74d33675fdfaa05310", "score": "0.7514746", "text": "public BasicFuelMoisture() {\r\n this.dead1HrFuelMoisture = new Real(FUEL_MOISTURE_1H);\r\n this.dead10HrFuelMoisture = new Real(FUEL_MOISTURE_10H);\r\n this.dead100HrFuelMoisture = new Real(FUEL_MOISTURE_...
a6e2d459a466acaec37da932772d01e0
This method processes provider credentials and sends 7/30 days expiry notification mail to the firm admin
[ { "docid": "f8bba21b50d0afb3fef16ded55842d66", "score": "0.62649715", "text": "private void processProviderCredentials() throws BusinessServiceException{\r\n\t\talertTaskList = new ArrayList<AlertTask>();\r\n\t\tList<ExpiryDetailsVO> providerCredDetailsList = new ArrayList<ExpiryDetailsVO>();\r\n\t\tStr...
[ { "docid": "a6e6364da11bb99007c3fc2323bff414", "score": "0.6198984", "text": "public void processDocumentExpiration() throws BusinessServiceException {\r\n\t\tnotificationMap=new HashMap<String,List<ExpiryDetailsVO>>();\r\n\t\tlong startTime = System.currentTimeMillis();\r\n\t\tprocessFirmCredentials();...
9625329408d67f3761633c86536ee6be
Creating new record in DB
[ { "docid": "9473b967b1dd95cac05fcc780dd22ecb", "score": "0.0", "text": "public void create(T obj) throws SQLException, IOException {\r\n\t\t\tSession session = null;\r\n\t\t\ttry {\r\n\t\t\t\tsession = HibernateManager.getSessionFactory().openSession();\r\n\t\t\t\tsession.beginTransaction();\r\n\t\t\t\t...
[ { "docid": "8ee50403c3fba2166fb61fc78c7986ad", "score": "0.7007387", "text": "public void create(ArticleVo newRecord);", "title": "" }, { "docid": "623fda23cce552ad66e0b66f571fde5e", "score": "0.67974615", "text": "int insert(Active record);", "title": "" }, { "docid": "d...
d352cf3e0427843eee49666c04abe281
Get a random element from the set.
[ { "docid": "2215bc548f6c6986bfcaf0daf58df66f", "score": "0.791835", "text": "public int getRandom() {\n int idx;\n Random rand;\n \n rand = new Random();\n idx = rand.nextInt(set.size());\n return set.get(idx);\n }", "title": "" } ]
[ { "docid": "494093b59c40d472438dfa018d7b2bfa", "score": "0.7723838", "text": "public int getRandom() {\r\n var list = new ArrayList<>(set);\r\n return list.get(new Random().nextInt(set.size()));\r\n }", "title": "" }, { "docid": "d326ef441477ba2aed7dfcaf3edda828", "score...
696ae8a06170dd94e0d10ff8b4a1204f
true if the address was previously used as an input or output in any wallet transaction int BRWalletAddressIsUsed(BRWallet wallet, const char addr);
[ { "docid": "9595987cff7cf6a96a6dc42540961ee8", "score": "0.7108257", "text": "public native boolean addressIsUsed (BRCoreAddress address);", "title": "" } ]
[ { "docid": "9d14de6fcbe6da955e830e8fc2520ce8", "score": "0.7092266", "text": "boolean isMineAddress(Address address);", "title": "" }, { "docid": "6bf547cf67a5f99933917cb733f41d6e", "score": "0.671126", "text": "boolean hasAddress();", "title": "" }, { "docid": "6bf547cf6...
931562e90d051e8a089f7882239e1c6f
Sets the value of the 'name' field
[ { "docid": "7ad06db917ac9a28fc25071515ee67b5", "score": "0.0", "text": "public org.bear.api.app.App.Builder setName(java.lang.String value) {\n validate(fields()[2], value);\n this.name = value;\n fieldSetFlags()[2] = true;\n return this; \n }", "title": "" } ]
[ { "docid": "ad9f0713e17b8cfee5ed645266716aec", "score": "0.89274746", "text": "public void setName(String name){this.name.setValue(name);}", "title": "" }, { "docid": "2fbb96d03a3cfccee7b21d96bf64034c", "score": "0.8817574", "text": "public void setName(String value) {\r\n thi...
ffa7f1ba9a2d46c5a58ee80730d21edd
test the pipe evaluation from Sort app (missing file args and no stdin) > Tail app > Fmt app throws an exception when there is missing stdin for sort application and the file is not specified in the args
[ { "docid": "ddb2bd9968c3fc35dc5140a78104c3e7", "score": "0.77127606", "text": "@Test(expected = PipeCommandException.class)\n\tpublic void testPipeMissingSortArgsTailFmt() throws AbstractApplicationException, ShellException {\n\t\tString cmd = \"sort -n |tail -n 2|fmt\";\n\t\tshell.parseAndEvaluate(cmd,...
[ { "docid": "073afc93991f4dcfeb4edf58c23edccd", "score": "0.7862742", "text": "@Test(expected = PipeCommandException.class)\n\tpublic void testPipeTailSortBadHeadArgs() throws AbstractApplicationException, ShellException {\n\t\tString cmd = \"tail -n 7 \" + FOLDER_LOCATION + \"items.txt | sort | head -k...
1d525b26ba3c4245996ae8255b1c67af
Assigns a new value to a cookie after the cookie is created. If you use a binary value, you may want to use BASE64 encoding. With Version 0 cookies, values should not contain white space, brackets, parentheses, equals signs, commas, double quotes, slashes, question marks, at signs, colons, and semicolons. Empty values ...
[ { "docid": "1469f696984c1bba8a4eeec3276b985e", "score": "0.0", "text": "public void setValue(String newValue) {\n value = newValue;\n }", "title": "" } ]
[ { "docid": "f57901620922ff3f20e907c5605a1ff0", "score": "0.7476375", "text": "void setCookie(String name, String value);", "title": "" }, { "docid": "fde1c6583a8463c13294ca7c31e46211", "score": "0.73440784", "text": "public void setCookie(CharSequence value) {\n this.cookie = valu...
9d92228df0a8b1c9640e5ae74faf08a8
Takes all the numbers and finds an average between them.
[ { "docid": "d3fc8ff81c57d37498c4e3ad92197db0", "score": "0.7211442", "text": "public double getAverage() {\n double total = 0;\n for (int i = 0; i < numbers.length; i++) {\n total = total + numbers[i];\n }\n total = total / numbers.length;\n return total;\n ...
[ { "docid": "faf55c8d07dd643d114b1e0fdddc8e6d", "score": "0.8023687", "text": "double average(){\n\tdouble sum=0.0;\n\n\n\tfor(int i=0;i<nums.length;i++)\n\t\tsum+=nums[i].doubleValue();\n\treturn sum/nums.length;\n }", "title": "" }, { "docid": "9c329eb520f305f82c94ac90d7c7af63", "scor...
0666b4a9946ac484a054dc05d3523a0f
returns the GamePiece's direction field
[ { "docid": "f1955bb5e7c24146b56c4f10158ae6ea", "score": "0.71141106", "text": "public Direction getDirection() {\n\t\treturn (this.direction);\n\t}", "title": "" } ]
[ { "docid": "e3450a829f442971db5ac8aa3169543f", "score": "0.75484836", "text": "float getDirection();", "title": "" }, { "docid": "31079ad3e64137721660edfbc9e7184c", "score": "0.75337046", "text": "public int getDirection() {\r\n\t\treturn dir & 3;\r\n\t}", "title": "" }, { ...
4e34cbeabd986ba70d1a9b590d943acd
indicate the position in the para list
[ { "docid": "6fc603e4810e239e69cff7288620579b", "score": "0.0", "text": "public ArgNode(String name, Stmt stmt, SootMethod m, int index) {\n\t\t super(name, stmt, m);\n\t\t num = index;\n\t}", "title": "" } ]
[ { "docid": "4c0e90ac7b3e13c4f2d4612f2abae9be", "score": "0.7199958", "text": "public int getList_pos() \t\t\t\t{ return list_pos; \t}", "title": "" }, { "docid": "5e1a510a4c65ce07199db78c0a6913b4", "score": "0.67434067", "text": "public String getPosition(){\r\n\t\treturn pos;\r\n\t}...
e97589a367a9763b82c01cf1e8f40a7f
This is used instead of setting NodeOrientation, allowing the Text node to inherit the current orientation.
[ { "docid": "00892004cfb194b09658bdc3a8d6386d", "score": "0.0", "text": "@Override public boolean usesMirroring() {\n return false;\n }", "title": "" } ]
[ { "docid": "06022eccff27058b46c471eea51f71d8", "score": "0.6083765", "text": "public void setLabelOrientation(String str) {\n orientation = str;\n }", "title": "" }, { "docid": "02760697287c18a6542a3bc65e30d853", "score": "0.6025563", "text": "public TextOrientation getOrienta...
49a458cc47df2a6e4240a5a957fcf7a1
Is the button now checked?
[ { "docid": "75efeaa2df49b32e8a52ec4443782444", "score": "0.0", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_owned:\n ...
[ { "docid": "34fa107c2a83c3d3739d5c9950f3b241", "score": "0.7518619", "text": "boolean isChecked();", "title": "" }, { "docid": "34fa107c2a83c3d3739d5c9950f3b241", "score": "0.7518619", "text": "boolean isChecked();", "title": "" }, { "docid": "726117b1fe3d0c290755d3463c02...
0c949d3aea6641f025ce4833ff3cab10
Singleton implementation of NameComparator.
[ { "docid": "eeffa51123baca06b6ad29965ecfdba9", "score": "0.79804087", "text": "public static NameComparator getInstance() {\n if (instance == null) {\n instance = new NameComparator();\n }\n\n return instance;\n }", "title": "" } ]
[ { "docid": "cc1fd160e3040a8e8ef24c544d52f75a", "score": "0.6547672", "text": "public static Comparator<Student> getCompByName() {\n return new Comparator<Student>() {\n @Override\n public int compare(Student s1, Student s2) {\n return s1.getName().compareTo(s2...
db7abc7aa318bc65f1131a004a91059b
Construct from the amount of nanoseconds since start of the Unix epoch. Almost the same as fromUnderlying but performs additional range validation.
[ { "docid": "065274d5bcdae862e2708502dc759bd8", "score": "0.60411966", "text": "public static HdDateTime fromEpochNanoseconds(long value) {\n return NULL_VALUE == value ? null : new HdDateTime(HdDateTimeUtils.fromEpochNanoseconds(value));\n }", "title": "" } ]
[ { "docid": "9b893d0f8686b8f2f00700bdcdcaa401", "score": "0.6100743", "text": "public long toEpochNanoseconds() {\n return HdDateTimeUtils.toEpochNanoseconds(value);\n }", "title": "" }, { "docid": "00e01fc00ba18270f91833a57b27be19", "score": "0.60039496", "text": "public lo...
ff6b972e200f1cadfc83f099a435df13
making Popup window into a width x height dimension
[ { "docid": "c67a7a75514a8d9909f651bccdfa96b7", "score": "0.0", "text": "@Override\n protected void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.popu_up_window);\n DisplayMetrics dm = new DisplayMetrics();\n ...
[ { "docid": "a214a483451d751b5ee0a23aa525952d", "score": "0.76826775", "text": "protected void makePopUp(){\n DisplayMetrics dm = new DisplayMetrics();\n getWindowManager().getDefaultDisplay().getMetrics(dm);\n int height = dm.heightPixels;\n int width = dm.widthPixels;\n ...
a3d634969ba08594cede5f7cad35b555
This method was generated by Abator for iBATIS. This method sets the value of the database column FTZ_OFF_MSG_CTL.MSG_RETURN_STATUS
[ { "docid": "88f5bb2f4b74c7087297452986c5c365", "score": "0.71661675", "text": "public void setMsgReturnStatus(String msgReturnStatus) {\r\n this.msgReturnStatus = msgReturnStatus;\r\n }", "title": "" } ]
[ { "docid": "5d52c13628d16739a2f1d30e508a0c67", "score": "0.64958316", "text": "public String getMsgReturnStatus() {\r\n return msgReturnStatus;\r\n }", "title": "" }, { "docid": "c3f5e533579ec8003ff9a8c06e8f6a27", "score": "0.5711707", "text": "public void setMsgStatus(Stri...
9382482b27ebdba885b95bcdb155447b
Save the current set of answers for the interview in the standard file associated with the interview.
[ { "docid": "5a1cf69edf2a2a139c9c91038ce1e5dc", "score": "0.0", "text": "public void save() throws IOException, Fault {\n File f = getFile();\n if (f == null) {\n throw new IllegalStateException();\n }\n save(f);\n }", "title": "" } ]
[ { "docid": "f960f26ab75ba8e4c7840c8e147a395d", "score": "0.6854386", "text": "public void writeAnswers() {\r\n\t\tFile out = new File(\"answers.txt\");\r\n\r\n\t\ttry (PrintWriter pw = new PrintWriter(out)) {\r\n\r\n\t\t\t// Prints each line in answers\r\n\t\t\tfor (String s : answers) {\r\n\t\t\t\tpw.p...
d54d87aeb573009d8f05254d9a63e6bd
Processes requests for both HTTP GET and POST methods.
[ { "docid": "3d1421212be1409b46eb65300572c22e", "score": "0.0", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n ArrayList<ArrayList<String>> results = new ArrayList<ArrayList<String>>()...
[ { "docid": "0c334655922039340e99c206bd7bce93", "score": "0.6596071", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processGetRequest(request, response);\n }", "title": "" }, {...
d2dffa7c266d360c7d3afb4b2b04c91d
Intent intent = new Intent(BarCode.this, ScanBarcodeActivity.class); startActivityForResult(intent, 0);
[ { "docid": "ad13391ffb99ebe4497000a9f01a28f6", "score": "0.0", "text": "public String scanBarCode() {\n return \"\";\n }", "title": "" } ]
[ { "docid": "7a797214cb95ffdb3796fd5ef5b4ae8e", "score": "0.78809065", "text": "@Override\n public void onClick(View view) {\n\n Intent intent = new Intent(getApplicationContext(),CaptureActivity.class);\n intent.setAction(\"com.google.zxing.client.android.SCAN\")...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "7dc1d83a8910dfd6b3d267f26ee20020", "score": "0.0", "text": "public final MarketRatingBottomSheetFragment mo76211a(String str, String str2, String str3) {\n C32569u.m150519b(str, C6969H.m41409d(\"G7D8AC116BA\"));\n C32569u.m150519b(str2, C6969H.m41409d(\"G7A96D72EB624A72...
[ { "docid": "40e9785645e7f278c7de226a84dd3b77", "score": "0.61801475", "text": "public interface C35595b {\n /* renamed from: a */\n void mo90406a();\n }", "title": "" }, { "docid": "a14760f0a1a6f90e9f568881c3a67610", "score": "0.61778456", "text": "public interface a...
5b121a56a6e3e5cdad87a3e00f50e3be
/ / The name of the data source. Used by Aspose.Words only when executing mail merge with repeatable regions. /
[ { "docid": "5ee5d254e39d162edab3bb0167a5cf57", "score": "0.0", "text": "public String getTableName() { return \"Orders\"; }", "title": "" } ]
[ { "docid": "2bd863f1b176ed368cc8280d4e16abed", "score": "0.7210019", "text": "@Override\n public String getDataSourceName() {\n return SOURCE_NAME;\n }", "title": "" }, { "docid": "e500d39c28fb451226f6aa0e2ad7993c", "score": "0.71002257", "text": "public String getDataSo...
d4d282b54d7122e7e0243731564c304a
LOGGER.info(">Server port: " + this.port);
[ { "docid": "208a25b75f335f3d8fd4fb7c1de73216", "score": "0.65407884", "text": "@Override\n\tpublic int getPort(){\n\t\treturn port;\n\t}", "title": "" } ]
[ { "docid": "e6069072b3f6a83dd52401b3b625178d", "score": "0.7107153", "text": "protected void serverStarted()\n {\n System.out.println\n (\"Server listening for connections on port \" + getPort());\n }", "title": "" }, { "docid": "8448a735a5c8f121e9a0e1a8d712997f", "score": "0.7...
122b3b0ba23534d7127470bda30ecc41
optional .raft.ResCode res_code = 1;
[ { "docid": "69026ef71fa54d0b2fdbb5519e4eba9b", "score": "0.0", "text": "public Builder clearResCode() {\n \n resCode_ = 0;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "57a82f428e38d1c37d7aa940e010e151", "score": "0.7415549", "text": "com.github.wenweihu86.raft.proto.RaftMessage.ResCode getResCode();", "title": "" }, { "docid": "57a82f428e38d1c37d7aa940e010e151", "score": "0.7415549", "text": "com.github.wenweihu86.raft.proto.RaftMessage...
2dd23f9ce700a83a2a7c7a7223aab1f1
Constructor for an initialized MmeDiameterPeer object,
[ { "docid": "c5429d80d5689172a5535e9f527aa93b", "score": "0.64660084", "text": "public MmeDiameterPeer(YangString hostIdentityValue) throws JNCException {\n super(Epc.NAMESPACE, \"mme-diameter-peer\");\n Leaf hostIdentity = new Leaf(Epc.NAMESPACE, \"host-identity\");\n hostIdentity.s...
[ { "docid": "ec68a924c98f1eab60f01bb356d00ec3", "score": "0.8535414", "text": "public MmeDiameterPeer() {\n super(Epc.NAMESPACE, \"mme-diameter-peer\");\n }", "title": "" }, { "docid": "1d3bc9087cff869ddddc69a890b3fb6a", "score": "0.6504455", "text": "public MmeDiameterPeer ...
450547f95c29a9b78e7b9df22e308b48
Updates the information about an existing customer
[ { "docid": "efcaea4f288390e29a192e76868d4ad9", "score": "0.7020527", "text": "public Customer updateCustomer(Customer customer) {\n Customer existingCustomer = repository.findById(customer.getCustomerId()).orElse(null);\n existingCustomer.setFirstName(customer.getFirstName());\n exi...
[ { "docid": "6c0eb4ac82b4d966b264b57566b3aec6", "score": "0.81776", "text": "public void update(Customer customer);", "title": "" }, { "docid": "89aa02e2549ef926e902f6226945ba97", "score": "0.8136971", "text": "@Override\n public void update() {\n System.out.println(Dividers...
39d23082d096d25a41c242ddf6ee3050
Obtiene el valor de la propiedad importeDescuentoPorcentaje1.
[ { "docid": "2da7b37677dadb0bd310017f0d984aa0", "score": "0.7524514", "text": "public double getImporteDescuentoPorcentaje1() {\n return importeDescuentoPorcentaje1;\n }", "title": "" } ]
[ { "docid": "9599f05fa949e4adba7b6253bf70f055", "score": "0.72902346", "text": "public void setImporteDescuentoPorcentaje1(double value) {\n this.importeDescuentoPorcentaje1 = value;\n }", "title": "" }, { "docid": "f1ca5349bd3f656c68822589a8ac8004", "score": "0.71923506", "...
a1965adfcea92b7749d538102e56cc34
Mandar mensagem para os clientes
[ { "docid": "4325e5835194713704f13b097da019ce", "score": "0.57884496", "text": "public synchronized String MandarMensagem(String mensagem){\n return mensagem;\n }", "title": "" } ]
[ { "docid": "d1d5c222c55a7768ea67bb962a35e639", "score": "0.7021837", "text": "public void clientSend(String mensaje) {\r\n try {\r\n // CREO FLUJO DE SALIDA AL SERVIDOR\r\n flujoSalida = new DataOutputStream(Cliente.getOutputStream());\r\n // ENVIO UN SALUDO AL SE...
708590dd0ce10eb2a6360228a6529ff1
Gets the value of the 'legacy_dir_key' field. metricslib/RelayNetworkStatusVote: String getLegacyDirKey()
[ { "docid": "4d7065739597c55f95e11be212061401", "score": "0.86322486", "text": "public java.lang.String getLegacyDirKey() {\n return legacy_dir_key;\n }", "title": "" } ]
[ { "docid": "d3f8ef9990703e6f17dd73a979af8658", "score": "0.8657325", "text": "public java.lang.String getLegacyDirKey() {\n return legacy_dir_key;\n }", "title": "" }, { "docid": "6cf556420d7ae32ea687fe494b2abff6", "score": "0.7629621", "text": "public void setLegacyDirKey(java.l...
09f2b35031c5a9257085ef61876fa6b3
Returns an Iterator that contains all of the currently registered StatDataFileWriters that claim to write files with the given MIME type.
[ { "docid": "b272ca45f6a5e3b6eacf65caf32715f0", "score": "0.79256356", "text": "public static Iterator<StatDataFileWriter>\n getStatDataFileWritersByMIMEType(String MIMEType){\n if (MIMEType == null) {\n throw new IllegalArgumentException(\"MIMEType == null!\");\n }\n ...
[ { "docid": "5d9094300b564b017b87350769182e15", "score": "0.649048", "text": "public static Iterator<StatDataFileReader>\n getStatDataFileReadersByMIMEType(String MIMEType){\n if (MIMEType == null) {\n throw new IllegalArgumentException(\"MIMEType == null!\");\n }\n ...
99e8a1e71aec728d65dcca842c4a81c4
Database Access Object interface class for the Subscription object. The implementation of this class is responsible for all database calls for the Subscription object and is autowired by spring This class should only be accessed from a single service and should never be exposed outside of the API
[ { "docid": "ca2d40bc2a3da053e6cdf05fb5194d0e", "score": "0.70130086", "text": "public interface SubscriptionDAO extends GenericDAO<Subscription> {\n\n /**\n * Delete all subscription of provided dSpaceObject\n * \n * @param context DSpace context object\n * @param dSpaceObject...
[ { "docid": "1d0dbd195a091d89d0c8cf29c2f23759", "score": "0.7137848", "text": "public interface SubscriptionService {\n /**\n * method return subscription by user id\n *\n * @param userId user id\n * @return if subscription presents, then return optional of subscription, else optional....
9b41c623221d7c3bbe5c895519cedbb0
Method to get the List of words in a paragraph with maxFrequency not in the dictionary If dictionary is empty than returning the words with maxFrequency
[ { "docid": "99031a27132274e4487d756fd56d12cb", "score": "0.816962", "text": "public List<String> maxFrequency (String paragraph, List<String> dictionary){\r\n\t\t\r\n\t\tif (paragraph==null) {\r\n\t\t\tSystem.out.println(\"Paragrah is empty\");\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tif (dictionary==null)...
[ { "docid": "a8192e032f41c4a12710864df9e2e0d9", "score": "0.68414205", "text": "List<String> getWordDenisty(){\n\t\tList<String> values = new ArrayList<String>();\n\n\t\t/** \n\t\t* wordsPresent represents the strings in the original text that are present\n\t\t* in the body of the text. This call will si...