query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
ffa8bb3d06f39c5c1c9915e261d0ddf8
Description of the productOffering
[ { "docid": "a679703cff2043bfddd4eb4682c528c7", "score": "0.75599825", "text": "public ProductOffering description(String description) {\n this.description = description;\n return this;\n }", "title": "" } ]
[ { "docid": "2dc193327bd39fee6ed93d677c093105", "score": "0.75992584", "text": "java.lang.String getProductDescription();", "title": "" }, { "docid": "6789087540c1edd893549d4db0741f21", "score": "0.7053062", "text": "@Override\n\tpublic java.lang.String getDescription() {\n\t\treturn ...
495868f610b3c27ed7d8a5d6f6a5e500
Spring UserDetails implementation methods
[ { "docid": "d5c37ee1e3e67d6f6afaf5a2accdc52a", "score": "0.0", "text": "@Override\n\tpublic Collection<? extends GrantedAuthority> getAuthorities() {\n\t\tList<GrantedAuthority> authorities = AuthorityUtils.createAuthorityList(\"ROLE_USER\");\n\t\treturn authorities;\n\t}", "title": "" } ]
[ { "docid": "5c695ca1dfb4a020f9630303ac0bb64a", "score": "0.7872639", "text": "UserInf getUserDetails();", "title": "" }, { "docid": "acf9fd292f59b135c993520464ee7e18", "score": "0.7708859", "text": "public interface CustomUserDetailsService extends UserDetailsService {\n\n /**\n ...
dae6eb184b23a4575a94a0543cce286a
ON CREATE METHOD END ............................................................................................................................... ............................................................................................................................... OPTIONS MENU START ////////////////////////...
[ { "docid": "947492d36950842efe7baae13025fe7b", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater( );\n menuInflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",...
[ { "docid": "51b0128157dcdd120985dd78581a35cc", "score": "0.73901135", "text": "private void createMenuOptions()\n {\n visualization.add(createOption(\"Iterator\", 40, 40, finder));\n visualization.add(createOption(\"Singleton\", 40, 80, finder));\n visualization.add(createOption(...
5413a60726d4a3069f64ef2cceda3e01
Returns the number of annotations.
[ { "docid": "65a8961d8b94ef8d96ae461eac74d851", "score": "0.6920535", "text": "public int getAnnotationCount(String kamName) {\n return annotationCounts[index.get(kamName)];\n }", "title": "" } ]
[ { "docid": "fa446a2e6940c32e5f9b5f62e0d66791", "score": "0.88823795", "text": "public int getAnnotationCount()\n {\n return annotations_.size();\n }", "title": "" }, { "docid": "6b81f9617d1a875ebae4057dc4e9d99e", "score": "0.8397432", "text": "public int getAnnotationCount()...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "db7828f4cc56070c3f7b1588c80ef1f6", "score": "0.0", "text": "@Override\n\tpublic HashMap<String, ClientService> getClientsList() throws Exception {\n\t\tcl.readLock().lock();\n\t\ttry {\n\t\t\tHashMap<String, ClientService> list = clientlist;\n\t\t\treturn list;\n\t\t} finally {\n\t\t\tcl.rea...
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
1675d0bc8f0ea115c421a57187fcb5b7
prints a given question
[ { "docid": "c9f5ccd5eeda1a00e5aa585fcda02876", "score": "0.6229666", "text": "public void print(String questionText, String[] answerText){\n\t\tpj.setPrintable(new PrintTemplate(buildTextArray(questionText,answerText)));\n\t\tprint();\n\t}", "title": "" } ]
[ { "docid": "4914c683b6f16a827736175b1cd0a4c9", "score": "0.77815145", "text": "public void display() {\n System.out.print(question);\r\n \r\n }", "title": "" }, { "docid": "834df11424c89aa3ff268629ff8ecf2f", "score": "0.7313646", "text": "public void print() {\n Sys...
b4e1c40802feddeafed76ac316fb42d7
on changing the page make respected tab selected
[ { "docid": "05639874ea23024c3a5ecd16ecc29731", "score": "0.0", "text": "@Override\npublic void onPageSelected(int position) {\n actionBar.setSelectedNavigationItem(position);\n\n }", "title": "" } ]
[ { "docid": "a84205f011e4b2ba7f063b6283058c99", "score": "0.7417053", "text": "public void tabSelected();", "title": "" }, { "docid": "90b1b927b4c8aa44d00b2da6572f8939", "score": "0.7374896", "text": "public void setSelectedTab(int arg0) {\n\n\t}", "title": "" }, { "docid"...
a0fdbd323e15f7a620141081ba540440
In the first round we collect all possible tags and their properties.
[ { "docid": "f5cbfee0aa2bcd9ba19e3c0dad3fc70e", "score": "0.0", "text": "@Override\n //Triggered when the start of tag is found.\n public void startElement(String uri, String localName, \n String qName, Attributes attributes) \n throws SAXExce...
[ { "docid": "af71ff9d8dc11e759c98cc2eee9a9d3f", "score": "0.6203389", "text": "private static void setupTags() {\n tag_archived = new Tag(\"archived\", \"o1\");\n tag_handle_this = new Tag(\"handle_this\", \"o1\");\n tag_noteworthy = new Tag(\"noteworthy\", \"o1\");\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "65e184a0e552077f8c66cd61a736d029", "score": "0.0", "text": "@Override\n\tpublic int getVisualHeight() {\n\t\treturn 0;\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d9c71dce8daa3d2944638f53a968a883", "score": "0.0", "text": "@Override\n\tpublic String getRandomFortune() {\n\t\treturn null;\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}"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6918b352cdf550157f2e825d1b206260", "score": "0.0", "text": "@Override\n\tpublic void msgFoodIsReady(String choice, int tableNum) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
a9349e218e68c730a1c472dd5fb09e3a
setting up an ArrayBag to test
[ { "docid": "6082d45a81087aa7a6aba35fd0571449", "score": "0.5414869", "text": "public static void main(String[] args) {\n\t\tResizableArrayBag<Integer> firstResizableBag = new ResizableArrayBag<Integer>();\n\t\tfirstResizableBag.add(8);\n\t\tfirstResizableBag.add(2);\n\t\tfirstResizableBag.add(4);\n\t\tf...
[ { "docid": "8ae2c2b2b89434200c44b41ee30bf074", "score": "0.66828865", "text": "public ArrayBag() {\r\t\tthis(25);\r\t}", "title": "" }, { "docid": "35e93d8a1f8112138a43f155b67be978", "score": "0.6618927", "text": "public static void main(String[] args) {\n\t\tBag<String> bag = new Ar...
435e299c3c989bf1e6d6249501575955
Aqui compruebo si las imagenes seleccionadas equivalen
[ { "docid": "72dfa9291b09a4021840b6fff5a1981c", "score": "0.0", "text": "@Override\n public void run() {\n calcular();\n }", "title": "" } ]
[ { "docid": "95528c780e871b8236a10ffdb0235eeb", "score": "0.6183561", "text": "protected void clickCheck(){\r\n if(Greenfoot.mouseClicked(this)){\r\n if(this.selected == false){\r\n this.selected = true;\r\n //calls its own individual selectmyself method (t...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "2310456fd11e45a12aaef30de70b0403", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == R.id.action_settings) {\n return true;\n }\n return super.onOptionsItemSelected(ite...
[ { "docid": "66fb4eef026da4e1a08c9bebc57402c3", "score": "0.7865961", "text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t case android.R.id.home:\t\t//App icon in action bar clicked, so go to the main activity\t \r\n\t...
220c4bf1c2e1d71c0419a40b4c207459
Generate a random uppercase letter
[ { "docid": "1cddba81b094b6cc427bbf7b2ec93c62", "score": "0.87986505", "text": "public static char getRandomUpperCaseLetter() {\r\n\t\treturn getRandomCharacter('A', 'Z');\r\n\t}", "title": "" } ]
[ { "docid": "a8f07adb7a82dc725a177f15eba07d71", "score": "0.8771638", "text": "public static char getRandomUpperCaseLetter(){\r\n return getRandomCharacter('A', 'Z');\r\n }", "title": "" }, { "docid": "46aaac99692367cf1e8ad38b16f9a95f", "score": "0.8700355", "text": "public ...
5c5a133df14c2f3a4b706257a77c2646
Converts a JsonArray of strings into a List of Block;Integer pairs. It expects string values in the format domain:path(:metadata) where () is optional.
[ { "docid": "a7c4fe4f43c17197ebe47cad7663f5a4", "score": "0.65208626", "text": "private List<Pair<Block, Integer>> getBlockMetaPairsFromArray(JsonArray ary) {\n List<Pair<Block, Integer>> blockMetaPairs = new ArrayList<>();\n ary.forEach((element) -> {\n String str = element.getA...
[ { "docid": "4293b4051553c7c856a043ebe1d8afe7", "score": "0.54895496", "text": "public static <T> List<T> convertJsonArrayToListOfObjects(String jsonArray, Class<T[]> clazz) throws JsonProcessingException {\n return Arrays.asList(objectMapper.readValue(jsonArray,clazz));\n }", "title": "" ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5ba50c5ed7480916f3c83cc1961f0384", "score": "0.0", "text": "@Override\n\tpublic int countByExample(TExBusOrderExample example) {\n\t\treturn 0;\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836227", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.66787636", "text": "private void apparence() {\r\n\r\n\t}", "title": "" },...
de11f0ed94da73102d62b44005598b6f
/ generate url then call ParseCity function
[ { "docid": "2a6b27c63135f432f364d5e5b52ae05b", "score": "0.6874984", "text": "public void run() {\n\n\t\tString url = \"\";\n\t\twhile (currentPosition >= 0) {\n\t\t\tsynchronized (UberRequest.class) {\n\n\t\t\t\turl = citiesUrl.get(currentPosition);\n\t\t\t\tcurrentPosition--;\n\t\t\t}\n\n\t\t\tParseCi...
[ { "docid": "c384ee40be5d15dcb8f69496fac3849f", "score": "0.66840106", "text": "public static void ParseCity(String url) {\n\t\tConnection con = Jsoup.connect(url);\n\t\tcon.header(\"User-Agent\",\n\t\t\t\t\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0\");// 配置模拟浏览器\n\t\tRespo...
f107475fd4b75f454ff75dd391dae2d5
method to handle Qnames
[ { "docid": "8d479ed3c8cac482cb468824da256af9", "score": "0.0", "text": "private void writeQName(javax.xml.namespace.QName qname,\n javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {\n java.lang.String namespaceURI = qname.ge...
[ { "docid": "f8324a505c8dfaa75168b90f0165922f", "score": "0.66248506", "text": "java.lang.String getQ();", "title": "" }, { "docid": "95a578a0c3d8a05fc9d4dcba4a13ea9c", "score": "0.658182", "text": "protected String addqoutes(String name) {\n return quoute + name + quoute;\n ...
40e44fe618317dea1d41cdf342a6e9ab
Always effect for 8 seconds, then refresh
[ { "docid": "acbfff8475605f9e91200fd6818cbeef", "score": "0.0", "text": "private void effectPlayer(EntityLivingBase entity, Potion potion, int amplifier) {\n\t\tif (entity.getActivePotionEffect(potion) == null || entity.getActivePotionEffect(potion).getDuration() <= 1)\r\n\t\t\tentity.addPotionEffect(new...
[ { "docid": "5d1686f531484b106883af710ca01831", "score": "0.6993213", "text": "void timer(){\n while(true){\n if((System.currentTimeMillis()-LastRefresh)> sleep){\n LastRefresh = System.currentTimeMillis();\n repaint();\n break;\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "809f0d5c31b0806035ef6a7fe770a76c", "score": "0.0", "text": "public final Link invoke(WebShareInfo webShareInfo) {\n C32569u.m150519b(webShareInfo, \"p1\");\n return webShareInfo.getShareQZoneLink();\n }", "title": "" } ]
[ { "docid": "c79c695ff1a387d67d7909ad1aa5f659", "score": "0.6257125", "text": "public interface C34917a {\n /* renamed from: a */\n void mo88344a();\n }", "title": "" }, { "docid": "bd698bac216066724da966bcf8ed7aa8", "score": "0.62108594", "text": "public interface C0...
14a9561556f4982fcec224a4b858abaf
Wires a controller's annotated components and event handlers, in that order, using this component to resolve name references.
[ { "docid": "a6486e8ecadcec5703edd87246fd9251", "score": "0.5760608", "text": "@PropertySetter(value = \"controller:\", bindable = false, defer = true, description = \"Controller to be wired to this component.\")\n public void wireController(\n String mode,\n Object controller) {...
[ { "docid": "4d91eaf7adc4d0a2b6d29329e0718dd4", "score": "0.5902845", "text": "@Bind(id = IPOJO_DEP_CONTROLLER)\n\tprotected void bindController(final IRobotController aController) {\n\t\t// Activate buttons\n\t\tpControlPresent = true;\n\t\tupdateButtons();\n\t}", "title": "" }, { "docid": "...
346e33bd4ef993bf3e9856060ced981d
/ Create a String that should be combination of letters, numbers and special characters. Find out how many alpha characters are there in the String.
[ { "docid": "23460b823397f815218436d6dbc60c8e", "score": "0.67187977", "text": "public static void main(String[] args) {\n\t String str=\"aasdjiasdj123128985123asd1!#@!%$(!@$!@&\";\n\n\t int c=0;\n\t for(int i=0; i<str.length(); i++) {\n\t \t if(Character.isLetter(str.charAt(i)))\n\t \t...
[ { "docid": "e72a9b94251766311b8827b4f3078932", "score": "0.69326884", "text": "public static int countLetters(String s){\n int count = 0;\r\n for(int i=0;i<s.length();i++){ \r\n if((s.charAt(i) >='a' && s.charAt(i)<='z') || (s.charAt(i)>='A' && s.charAt(i)<='Z')) \r\n count++; \r\n\r\n ...
7f00fdc32cd630da700adc8abf480d04
Adds a node to the model
[ { "docid": "b6b46e5a8f75f1354030497bcfcc015d", "score": "0.63000023", "text": "public void addNode(Object id, Node node) {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" } ]
[ { "docid": "210098d097865bab10165603931318cf", "score": "0.7530768", "text": "public void addNode(Node node) {\n\t\t\n\t}", "title": "" }, { "docid": "0e269258e4b9aec89d7918df381d897b", "score": "0.7375784", "text": "void addNode(OpenstackNode node);", "title": "" }, { "d...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "22aa9ca1c008fedf2806f091404c3063", "score": "0.0", "text": "@Override\n\tpublic void addClick() {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69747204", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.680673", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t...
e4bf0e73aa1db83dd9470872571aa114
This method returns the cumulative distribution function of this random variable for the specified value.
[ { "docid": "7c0b571d32d1c3a98191094f97f1f4f1", "score": "0.55601764", "text": "public double cdf(Integer x)\n {\n return 1.0 - Math.pow(1.0 - p, x/1.0);\n }", "title": "" } ]
[ { "docid": "7c32d492f8f6032902da3d1b662f905d", "score": "0.7632768", "text": "public abstract double cumulativeDensity(double value);", "title": "" }, { "docid": "73aa4d4606dc93e0c2e74a025763a9fa", "score": "0.61865014", "text": "public KualiDecimal getCumulative() {\n return ...
0a861f671eac3f6c9ac4d0d5f2cb81bb
Contents insert all data to elasticsearch database
[ { "docid": "348ef76444c7b9282bfa059899e7d83b", "score": "0.64846945", "text": "@GetMapping(\"/elasticInsertData\")\n public Map<Check,Object> elasticInsertData(){\n Map<Check,Object> map = new LinkedHashMap<>();\n List<Contents> contentsList = contentsRepository.findAll();\n try ...
[ { "docid": "6a4ceb09bf8451c2ab49f3461777cb65", "score": "0.62880075", "text": "private void indexSearch() throws Exception {\n\n\t\tif (getClient().admin().indices().prepareExists(\"taiger\").execute().actionGet().isExists()) {\n\t\t\tassertTrue(deleteIndex(\"taiger\"));\n\t\t}\n\n\t\tCreateIndexRequest...
00f4b6bb53ea581c83c43b63f7ddb5b9
Add a single Bindings entry
[ { "docid": "2ba18879ee823850a29ba5b0bb944538", "score": "0.6431535", "text": "public ComponentProperty addBindingsEntry(String key, FormBindingElement value) {\n if (null == this.bindings) {\n this.bindings = new java.util.HashMap<String, FormBindingElement>();\n }\n if (...
[ { "docid": "2e3ae656876c855ff9617855286573ac", "score": "0.7119713", "text": "public void addBinding(IBinding binding) {\n \t}", "title": "" }, { "docid": "1da0784bfb1deeb834cfc081accc7fa4", "score": "0.63409644", "text": "private void registerBindings(){\t\t\n\t}", "title": "" ...
68310a58eb3fe8957738a88ad5618789
Mettre a jour les options.
[ { "docid": "afcceca4f08afea2c97cd11474ee074d", "score": "0.77439797", "text": "public void Mise_a_jour_options() {\n System.out.println(\"mise a jour option \");\n List<String> Options_choisis = new ArrayList<String>();\n Options_choisis = multiSelectionSpinner.getSelectedStrings();...
[ { "docid": "931845377b4485647a53bc0eaabb2ec6", "score": "0.7429548", "text": "java.lang.String getOptions();", "title": "" }, { "docid": "9a384c5f8d71b542430d91464bd5fa4f", "score": "0.72578", "text": "void showOptions();", "title": "" }, { "docid": "f0d491b2fb92e47ef3a2c...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c506a5dace0f17cbc3e226b1c90f6eb9", "score": "0.0", "text": "@Override\r\n\tpublic List<Provider> findAll() {\n\t\treturn providerDao.findAll();\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
dbe0e2365501e555167da2fd7eadaa64
Set the value related to the column: TCINTMSUPPLIERNAME
[ { "docid": "4266094bbfbd1ddacdbeacabf80c8f45", "score": "0.7157715", "text": "public void setTcintmsuppliername(java.lang.String _tcintmsuppliername)\r\n {\r\n this._tcintmsuppliername = _tcintmsuppliername;\r\n }", "title": "" } ]
[ { "docid": "023c9bcf012fb75c4b045b6b919ada92", "score": "0.6864524", "text": "public java.lang.String getTcintmsuppliername()\r\n {\r\n return _tcintmsuppliername;\r\n }", "title": "" }, { "docid": "3a50cb61b7ff7a212dd01d7f28678f65", "score": "0.5857761", ...
b096bd86d80b55294c257fc04a79b053
Stop any actors created for a test to avoid conflict with other tests
[ { "docid": "c7432cbbb009108fd03ea9c467df83fe", "score": "0.57222867", "text": "private void cleanup(Optional<ActorRef> tromboneHCDOpt, ActorRef... a) {\n TestProbe monitor = new TestProbe(system);\n for(ActorRef actorRef : a) {\n monitor.watch(actorRef);\n system.stop(actorRef);\n m...
[ { "docid": "ac37b69d3f3e02669bda6f42666c8f5a", "score": "0.72073007", "text": "public void stopTests();", "title": "" }, { "docid": "5a14ac525b3d4a47fcb684d0ea1f7f72", "score": "0.6667101", "text": "protected static void stopTesting()\t{\n\t\ttestMode = false;\n\t}", "title": "" ...
ce007416273862cbcee49fe606fcefea
The value we will be editing.
[ { "docid": "73215ead2e8eecddded591dc42950042", "score": "0.0", "text": "public void setValue(Object o) { value=(MultiLineString) o;}", "title": "" } ]
[ { "docid": "865d27662923c8fc7103dc448ff49686", "score": "0.758641", "text": "@Override\r\n public Object getEditableValue()\r\n {\n return this;\r\n }", "title": "" }, { "docid": "d8b8be6f7a3fc0d9c2931da10ea40f74", "score": "0.7525275", "text": "public Object getEdita...
b99d00ff6ca99b7bcc9092e3e9c19745
This class does not need to be instantiated.
[ { "docid": "9b3df7fbccdf6582a4b5d460a13e7962", "score": "0.0", "text": "private EMFCompare() {\r\n \t\t// hides default constructor\r\n \t}", "title": "" } ]
[ { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.712363", "text": "public function() {}", "title": "" }, { "docid": "ca9fd3596c915ed7aa5476efdc6c819a", "score": "0.679469", "text": "protected Comestible() {\n\n\t}", "title": "" }, { "docid": "87929e8b046b6fb5c75...
a1f9cbdf5bb15c504ff01707c21b213c
Creates new form NewLocPanel
[ { "docid": "89a795a37639affa616b3dc1946b9e8a", "score": "0.5927007", "text": "public NewLocPanel(Pozition poz, int totalPos, boolean circular, LocList prohibited) {\n this.poz = poz;\n this.circular = circular;\n this.totalPos = totalPos;\n this.prohibited = prohibited;\n ...
[ { "docid": "24a8e50cc040b4a0025afae21a02099c", "score": "0.64589447", "text": "protected JPanel editExistingMapPanel() {\r\n\t\tframe.setBounds(0, 0, Toolkit.getDefaultToolkit().getScreenSize().width,\r\n\t\t\t\tToolkit.getDefaultToolkit().getScreenSize().height);\r\n\t\tframe.setResizable(true);\r\n\t\...
021b2e3e682fa41716c267158430deaf
Checks whether the game is over by: Checking if there are any valid moves stemming from any penguin's location left on the board Checking if there is only one player left, meaning the rest got kicked out If there are no more valid moves OR if there is only one player left, the game immediately ends. Meaning: the method...
[ { "docid": "a7b53dd2d3ffabe2e46b172d73ab4ebd", "score": "0.0", "text": "boolean isGameOver();", "title": "" } ]
[ { "docid": "cfcbcf365d5e91e13c7e3229aaa74d8b", "score": "0.7633426", "text": "public boolean checkGameOver() {\n if (CheckWin()) {\r\n return true;}\r\n\r\n for(int row=0; row<6; row++) { //Check for Draw that all Columns are full\r\n for(int col=0; col<7; col++) {\r\n if(gameBoard[ro...
ac9a3662a3c0ac5f6e485b58da207b4f
This method was generated by MyBatis Generator. This method returns the value of the database column t_goods_order.ChannelUserId
[ { "docid": "9a49d4f156ae7a164895feb2b587220b", "score": "0.7624927", "text": "public String getChannelUserId() {\n return channelUserId;\n }", "title": "" } ]
[ { "docid": "b0a738083b6d2b1dc7a7bed686b40041", "score": "0.67797977", "text": "@Override\n\tpublic long findChannelByUserId() {\n\t\tJwtUserDetails userDetails =getPrincipal();\n\t\tLong id = new Long(userDetails.getId());\n\t\treturn channelRepo.findByChannelOwner(id.intValue()).getId();\n\t}", "ti...
9b48844d29f0415bdaab2b18b339a825
Update the score if a fixed amount of time has passed
[ { "docid": "e0032e5e0286f85f1428761352b3f8fc", "score": "0.75556505", "text": "public void checkScoreTime() {\n\t\t\tif (scoringTime >= scoreCheck) {\n\t\t\t\tScoreController.scoreHealth(items.getHealthBar().getHealth());\n\t\t\t\tscoringTime = 0;\n\t\t\t}\n\t\t}", "title": "" } ]
[ { "docid": "b78470279224ed3be4efdbdf9d23901a", "score": "0.7476395", "text": "public void increaseScore()\n {\n if (System.currentTimeMillis() >= this.lastScoreIncrease + this.waitPerScoreIncrease)\n {\n this.lastScoreIncrease = System.currentTimeMillis();\n this.s...
387a46bf094a2dd5e1809865002ffbe8
Called when the activity is about to become visible.
[ { "docid": "a484525912055a1a03ad2281cac3de40", "score": "0.0", "text": "@Override\n protected void onStart() {\n super.onStart();\n // Print Log\n Log.i(mess, \"onStart\");\n }", "title": "" } ]
[ { "docid": "2bde85193f9fccb475ee03e1fc4db638", "score": "0.72472596", "text": "protected void onShown() {\r\n\t\tshown = true;\r\n\t}", "title": "" }, { "docid": "fc8d09472a09dd1f618f15f7a86222c1", "score": "0.7066562", "text": "public final void activate() {\n mIsVisible = tr...
90632bafeb0dc6ed4520d40fb2f3981a
Returns the node number at the same index as the Edge Matrix
[ { "docid": "c2abd1c7a7612c165439dd74ab9f55cc", "score": "0.0", "text": "public int getNode(int pos) {\n return nodes[pos];\n }", "title": "" } ]
[ { "docid": "e83f1bb6b179293ed98cb3437b97a27e", "score": "0.6918925", "text": "public int numEdge() {\n\t\tint tmp = 0;\n\t\tfor (int i = 0; i < matrix.length; i++) {\n\t\t\tfor (int j = 0; j < matrix[i].length; j++) {\n\t\t\t\ttmp += matrix[i][j];\n\t\t\t}\n\t\t}\n\t\treturn tmp;\n\t}", "title": "" ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e5b07185862742e9b50b2d3457d55db7", "score": "0.0", "text": "@Override\n\tprotected void onDraw(Canvas canvas) {\n\t\tsuper.onDraw(canvas);\n\t\tif (mProgress > 0 ) {\n\t\t\tcanvas.drawCircle(mXCenter, mYCenter, mRadius, mCirclePaint);\n\t\t\tRectF oval = new RectF(); \n\t\t\toval.left = (mX...
[ { "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...
55d706997dedd49197ba9ee5a9e08c92
Get the type code of the store
[ { "docid": "ecddd16339949a189431c99592bea479", "score": "0.0", "text": "public int getCode()\r\n\t{\r\n\t\treturn CODE;\r\n\t}", "title": "" } ]
[ { "docid": "321140c67e7a64dd57225f01bbc70aa0", "score": "0.788267", "text": "String getStoreCode();", "title": "" }, { "docid": "e811b217dcec98926598a80b881510c3", "score": "0.74111545", "text": "int getTypeCode();", "title": "" }, { "docid": "a8a5ffa416202ea7fbccefe51ae9...
126c894288b1ab6675074f1284df1b93
Tests the AbstractRig.revoke method.
[ { "docid": "bb52d4a547c655a0d69737c2012f7f79", "score": "0.5797078", "text": "@Test\n public void testRevokeAbortBatch()\n {\n final String instructions = System.getProperty(\"user.dir\") + \n \"/test/resources/Control/instructions.txt\";\n try\n {\n ...
[ { "docid": "e2dc43271345e2165e82ebc5d98ebce2", "score": "0.694398", "text": "public void revoke() {\n isRevoked = true;\n }", "title": "" }, { "docid": "f15f3aee949b6c3c48bfe4aee16fc654", "score": "0.670817", "text": "@Test \r\n\tvoid FA_REVOC_54() {\r\n\t\tString filePath = \"Js...
e1ab7932a8244a3f45755312dfd16f9f
COMMA ((IDENTIFIER EQUALS expr) | expr | IDENTIFIER | STRING_LITERAL)
[ { "docid": "4915f2379f9fa77076641a7f7edffe74", "score": "0.0", "text": "private static boolean echo_arg_list_2_0(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"echo_arg_list_2_0\")) return false;\n boolean r;\n Marker m = enter_section_(b);\n r = consumeToken(b, COMMA);\n r = r &&...
[ { "docid": "067cff799f9a51e944f654b8207ee2b2", "score": "0.6571892", "text": "public void expression_list() {\n\t\tif(lookahead.getType() == TokenType.ID\n\t\t\t\t|| lookahead.getType() == TokenType.NUMBER \n\t\t\t\t|| lookahead.getType()\n\t\t\t\t== TokenType.LEFTPAR \n\t\t\t\t|| lookahead.getType() ==...
32fe718dd4a11cd7dca4250e6df3bbd1
Checks if the pawn move is valid, if it can attack or if it can do the move En Passant returns true
[ { "docid": "65098c90c072e9f8de31113698b89a83", "score": "0.68495315", "text": "private boolean movePawn(Player player, Tile fromTile, Tile toTile){\n\n int fromX = fromTile.getX();\n int fromY = fromTile.getY();\n int toX = toTile.getX();\n int toY = toTile.getY();\n i...
[ { "docid": "684964f0b0597416ad27280325baf188", "score": "0.7304137", "text": "private boolean checkValidMove(Move move){\n if (status != GameStatus.ACTIVE){\r\n System.out.println(\"Game is finished\");\r\n return false;\r\n }\r\n\r\n if (move.getPieceMoved() =...
953c9e731413a1a2172dcd52f1f71975
optional .com.spotify.proto.ListAttributes attributes = 3;
[ { "docid": "62d5d547231ea9ea7041af445c9dcba8", "score": "0.61028296", "text": "public Builder mergeAttributes(com.spotify.playlist4.proto.Playlist4Meta.ListAttributes value) {\n if (attributesBuilder_ == null) {\n if (((bitField0_ & 0x00000004) == 0x00000004) &&\n attributes...
[ { "docid": "ae47bd4c02626708beb3aa1a282ac7cf", "score": "0.8458681", "text": "com.spotify.playlist4.proto.Playlist4Meta.ListAttributesOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "ae47bd4c02626708beb3aa1a282ac7cf", "score": "0.8458681", "text": "com.spotify.playlis...
0d0e5215fa272051d7331b156b631aeb
Function test : Tests getMessage(Object obj) method for accuracy, numRatings >= this.minimumNumRatings
[ { "docid": "466ac15d931107608a28a64ae5664a5e", "score": "0.6129715", "text": "public void testGetMessageAccuracy1() throws Exception {\n\t\tValidationInfo info = AccuracyTestHelper.createValidationInfo();\n\t\tinfo.setUser(new ExternalUserImpl(2, \"handle1\", \"firstName\", \"lastName\", \"email@dd.dd\"...
[ { "docid": "bba1d4750fa28e2c7cec2e66c332dcef", "score": "0.66819483", "text": "public void testGetMessage_Object_Accuracy1() {\r\n String value = nullValidator.getMessage(null);\r\n assertNull(\"Test accuracy for method getMessage() failed, the value should be return properly.\", value);\r...
4f5a5044e2271fbe1c959175c0292e08
Sets type of this label
[ { "docid": "1005f054ea92394738ddf826e414c983", "score": "0.829079", "text": "public void setType(LabelType newType);", "title": "" } ]
[ { "docid": "5b096b69130e3c60dd1aea9a5daaf6f7", "score": "0.77235067", "text": "void setType(final String type);", "title": "" }, { "docid": "113fcb9fe0d01066f0e38425b7603ea9", "score": "0.7632356", "text": "void setType(java.lang.String type);", "title": "" }, { "docid": ...
a08abc09818155b9a9d16c575a457d4c
Pre execute rule for findByBusinessKey in RefIdentificationTypeComp This method is modularized in respective rule class Use Aspect Oriented Programming (AOP) based Yugandhar Rule to override / extend the default OOTB validation
[ { "docid": "fa7231104c2e06f792119257724c7060", "score": "0.67705625", "text": "public void preExecuteRefIdentificationTypefindByBusinessKey(TxnTransferObj txnTransferObj) {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" } ]
[ { "docid": "7fbd606c2f8bba8af7697c92ce151fa9", "score": "0.6979027", "text": "public void preValidateRefIdentificationTypefindByBusinessKey(TxnTransferObj txnTransferObj) {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "e613e243e2bd0cdeb0af43eb2c9b8715", "sco...
99cb3c7899b0ce5116d8a370c4af09db
Visualiza las carreras existentes.
[ { "docid": "6f86c2baf61ddf3655525a9280cd325e", "score": "0.64788675", "text": "public void mostrarCarreras() {\n Carrera carreras = cabeza;\n String respuesta = \"\";\n while (carreras != null) {\n respuesta += String.format(\"* %s \\n \", carreras.getNombreCarrera());\n...
[ { "docid": "95eddffca8a04dd4dd42151a1530d919", "score": "0.6944049", "text": "public void visualiza() {\n\t\tfor (Palabra2 p: dicc) {\n\t\t\tp.escribeInfo();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "be33f359c391ad4bd23ff6d9b33fb7b3", "score": "0.62924594", "text": "public static ...
df6a3eae8fd77068b35c9816e8a0feba
Get maximum size (in bytes) to determine whether a file is completely cached in memory (if lower than maximum size), or if it is just streamed (if greater than maximum size).
[ { "docid": "40d605d9fd967d33ab013360b68b2c76", "score": "0.64562905", "text": "public long getFileSizeLimitToKeepInMemory() {\n return fileSizeLimitToKeepInMemory;\n }", "title": "" } ]
[ { "docid": "dc99fd7236d0d13be579fa03ca47b33a", "score": "0.7073843", "text": "boolean hasLimitMaxbytes();", "title": "" }, { "docid": "9695db9c1d10738f8dc2fa8327c317a0", "score": "0.6785178", "text": "public long getMaxFileSize() {\n\t\tint maxFileSize = Integer.parseInt(env.getPrope...
cce4a6deec5613a000f70b5bd4488388
Created by Tolik on 11.02.2017.
[ { "docid": "bbdd7e3b3d4c3e4ecbb56e06bf149d4b", "score": "0.0", "text": "public interface GitHubService {\n\n @GET(\"users/{username}\")\n Observable<GithubUser> getGitHubUser(@Path(\"username\") String username);\n\n @GET(\"users/{username}/repos\")\n Observable<List<GitHubUserRepository>> g...
[ { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.60395294", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.60258657", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "efc66779d1b594b552cf42538fbf2e68", "score": "0.0", "text": "public void save() throws ExceptionBase {\n \n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
fdbab6e2763683a485f201afc61a87b1
Two event are equals if they have the same id
[ { "docid": "9a8631f2a373a0fb4c49220f70146176", "score": "0.72819245", "text": "@Override\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (getClass() != obj.getClass()) {\n return false;\n }\n final Event othe...
[ { "docid": "df8b273339b52f06edd8a91e19260128", "score": "0.74574524", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof BmwEvent)) {\n return false;\n }\n BmwEvent other = (BmwEvent) object;\n if ((this.id == null && oth...
ba545631f927e7ed86edf8afa570c477
repeated .toit.api.UserChange changes = 1;
[ { "docid": "11acacf72f1cc1746036f515bc720f78", "score": "0.5501969", "text": "public io.toit.proto.toit.api.UserProto.UserChange.Builder addChangesBuilder() {\n return getChangesFieldBuilder().addBuilder(\n io.toit.proto.toit.api.UserProto.UserChange.getDefaultInstance());\n }", ...
[ { "docid": "539eb621003270cced4ae74797c415bf", "score": "0.6600783", "text": "io.toit.proto.toit.api.UserProto.UserChange getChanges(int index);", "title": "" }, { "docid": "1f2c3c3c176250e6c74d8055ec26dd23", "score": "0.6042054", "text": "java.util.List<io.toit.proto.toit.api.UserPr...
c6598c7ae93a70dd821298f495483deb
Creates new entry in Firebase and navigates back to MainActivity
[ { "docid": "49c8763c07b62252f6bb4c58d3b9698e", "score": "0.65651375", "text": "public void submitInfoButton(View v) {\n //each entry needs a unique ID\n String personID = appState.firebaseReference.push().getKey();\n String name = nameField.getText().toString();\n String num ...
[ { "docid": "af4e679240ae1380657f2c8300bddb6f", "score": "0.67300916", "text": "private void addNewItem(View view) {//Method to add new items to Database using the '+' button.\n addToDatabase = findViewById(R.id.imageButtonAddNew);\n addToDatabase.setOnClickListener(new View.OnClickListener...
b793fd924e9d647f3cc6c8111e3bedc1
Make this text component italicized
[ { "docid": "ed52cd8ceade59d59a195042eb8fc5b9", "score": "0.7679928", "text": "public RichText withItalic() {\n this.italic = true;\n return this;\n }", "title": "" } ]
[ { "docid": "d2fd5edfcb7776944dcd3058690267a1", "score": "0.71338713", "text": "public void applyItalic(TextStyle other)\n {\n if(other._italic!=null)\n _italic=other.isItalic();\n }", "title": "" }, { "docid": "32c7879f29791d29a872909a0176449d", "score": "0.7047373", "text"...
c2c6be63424b7306a551e6b75d90b257
Construct a new interval thread that will run on the given interval with the given name.
[ { "docid": "4c5be97227343662b2f57acaec0c3444", "score": "0.7464147", "text": "public IntervalWork(int intervalSeconds, String name) {\r\n\t\tlogger.debug(\"Worker constructor name=\"+name+\" interval=\"+intervalSeconds);\r\n\t\tthis.interval = intervalSeconds * 1000;\r\n\t\tthis.threadName = giveThreadN...
[ { "docid": "81e70af2bdb20727a37e96a3315352ef", "score": "0.6150786", "text": "Interval createInterval();", "title": "" }, { "docid": "0e52075001d583b42f59792a37406ba6", "score": "0.608348", "text": "public MyTimerTask(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, ...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "f2a5b11ea4b82a727596f5d30dab416c", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblNoHingeSelected = new javax.swing.JLabel();\n ...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7392794", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "156c28fa8...
29bfca5dd601e3d96455b1e6adc053ea
Gets the attribute value for METERING_MODE using the alias name MeteringMode.
[ { "docid": "36a0286b0bfde1243fc6c219d25c7905", "score": "0.8146511", "text": "public String getMeteringMode() {\n return (String) getAttributeInternal(METERINGMODE);\n }", "title": "" } ]
[ { "docid": "f463f7705076b76a0987922946c863ad", "score": "0.67130405", "text": "public void setMeteringMode(String value) {\n setAttributeInternal(METERINGMODE, value);\n }", "title": "" }, { "docid": "5f6ea50f5dad2c4a04ac180c166f11da", "score": "0.58547133", "text": "public...
276191dc13cc67dd29349081ae3c7add
Used by DatumReader. Applications should not call.
[ { "docid": "b532415ed12a2af4e34ba61a059963c6", "score": "0.0", "text": "@SuppressWarnings(value = \"unchecked\")\n public void put(int field$, java.lang.Object value$) {\n switch (field$) {\n case 0:\n id = (java.lang.CharSequence) value$;\n break;\n ...
[ { "docid": "70348133c2ca7635674cf0359968c5ce", "score": "0.6453163", "text": "protected void readData() {\n\n\t}", "title": "" }, { "docid": "452e0b56ad31e43b2766c1280450d5f9", "score": "0.6153034", "text": "@Override\r\n\tprotected void readImpl()\r\n\t{\r\n\t}", "title": "" }...
228655092f4f580e9788dd56818d8429
methods parse the app setup info from a save file
[ { "docid": "c2c40e376aa2c02b266149010ff51bde", "score": "0.0", "text": "public void restoreSetupFrom(URL url) {\n\treadXMLFile(url);\n\ttheDoc.setupFromSnapshot();\n }", "title": "" } ]
[ { "docid": "b1f23dfca9a42815f942a05209d3b75f", "score": "0.5970459", "text": "public String[] setupConfig(String[] args) {\n \n if ( configFilename != null ) {\n File file = findConfigFile(configFilename);\n if ( file != null && file.exists() ) {\n try {\n...
7f4048f9c0348eae45ed391b31feac00
List all Messages of the user's mailbox with labelIds applied.
[ { "docid": "236eb2136fc9534d65bc6db085078bc8", "score": "0.68433475", "text": "public List<Message> listMessagesWithLabels(List<String> labelIds) throws Exception {\n\t\tListMessagesResponse response = service.users().messages().list(\"me\")\n\t\t\t\t.setLabelIds(labelIds).execute();\n\n\t\tList<Message...
[ { "docid": "ab14e7d2b189d409d2f10fa8ea19e7a0", "score": "0.73951113", "text": "public List<Message> listMessagesWithLabels( String userId, List<String> labelIds)\r\n\t\t\tthrows IOException {\n\t\tString x;\r\n\t//\tint y =1/0;\r\n\t//\tx = y;\r\n//\t\tMap<Integer,String> capacity= null;\r\n//\t\tfor(E...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "dcbd59c17376651312c0aa38d523ded1", "score": "0.0", "text": "@Override\n public Object getCellEditorValue() {\n return null;\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
683e796aa91ea15c5e4fb484c3e006b6
This property is an array of references to the chasis that this manager has control over.
[ { "docid": "1ea597e20bac4110d8759488b7943634", "score": "0.62916285", "text": "@ApiModelProperty(value = \"This property is an array of references to the chasis that this manager has control over.\")\n @JsonProperty(\"ManagerForChassis\")\n public List<Odata400IdRef> getManagerForChassis() {\n retu...
[ { "docid": "f1f1c0263af273caa8bed469df47ba9a", "score": "0.5760378", "text": "public ACE[] getAces() {\r\n return aces;\r\n }", "title": "" }, { "docid": "c0a429f3d41135ac854bf75611ae221d", "score": "0.5582789", "text": "public Client[] getClients() {\r\n return clients;\r...
5237b729f909cc248dbdc839b26ac40c
Identifies and extracts the type of task namely: Deadline, Event or Todo
[ { "docid": "56299d463b0c59b8104ef63f5b838bda", "score": "0.6540591", "text": "public static TaskType extractTaskType(String userRequest) throws DukeException {\n userRequest = userRequest.toLowerCase().trim();\n TaskType currentTaskType;\n if (userRequest.contains(\"/by\") && userRe...
[ { "docid": "8144b2249aec4dfb597d7642dec64d14", "score": "0.7581227", "text": "java.lang.String getTaskType();", "title": "" }, { "docid": "e8902fb87e04bafa591e5b7db4172e84", "score": "0.68958205", "text": "public abstract String getTaskType();", "title": "" }, { "docid": ...
cb651e8187ae1bdc988b0732744960ad
Helper Method to convert a car to a Dto Will return null if you pass null
[ { "docid": "1d03ea694b11676e8d5a58468726b339", "score": "0.82114583", "text": "private CarDto convertToDto(Car car) {\n\t\tif (car == null) {\n\t\t\treturn null;\n\t\t}\n\t\telse {\n\t\t\tCarDto carDto = new CarDto(car.getLicensePlate(), car.getModel(), car.getYear(), car.getMotorType());\n\t\t\treturn...
[ { "docid": "f5730c4ddfc07d26b6e9b0e45f644c74", "score": "0.69574195", "text": "ImmutableConstructibleCarDto carToCarDto(ImmutableConstructableCar car);", "title": "" }, { "docid": "2815100a718090bae8fcaf4fadbfe234", "score": "0.6622699", "text": "public T toDTO();", "title": "" ...
65a4acfd6974984228d44be1baf9a045
Invokes the transport binding call() method.
[ { "docid": "d82962f046bedc6b7ae943789901cd1f", "score": "0.58107984", "text": "private void processTransportBindingCall() throws Throwable {\n try {\n clientConfigurationCtx.getTransportBinding().call(clientConfigurationCtx);\n } catch(javax.xml.ws.soap.SOAPFaultException soapFaultExc) {\n ...
[ { "docid": "8bfc6c28722c973cee5cf482d35b010f", "score": "0.65294164", "text": "void invoke(IServiceCall call);", "title": "" }, { "docid": "2fc6b15318fa8461bbee4ee3f0f820b9", "score": "0.64737", "text": "void invoke(IServiceCall call, int channel);", "title": "" }, { "doc...
c0b36acf3727f3edd197b9f7ffc0cf3e
optional .messages.AppendEntryRequest request = 1;
[ { "docid": "0034a29512d2bea002d814296d515bca", "score": "0.5535685", "text": "public com.raft.message.AppendEntryProto.AppendEntryRequest getRequest() {\n if (requestBuilder_ == null) {\n return request_;\n } else {\n return requestBuilder_.getMessage();\n }\n ...
[ { "docid": "d63e31c880c660c1910a6ad707146bc6", "score": "0.79772955", "text": "com.raft.message.AppendEntryProto.AppendEntryRequest getRequest();", "title": "" }, { "docid": "8b3cec9e643fc5ccdbcc5b61f60761f5", "score": "0.76059496", "text": "com.raft.message.AppendEntryProto.AppendEn...
76547fabb8cc634532289325fe817054
repeated .blokus.MoveList yellow = 2;
[ { "docid": "8ef433f63b6f1b9949c53fb94148a4eb", "score": "0.6719036", "text": "blokus.Proto.MoveList getYellow(int index);", "title": "" } ]
[ { "docid": "74f7f8eac773468353357c04f5ccb32d", "score": "0.67781603", "text": "blokus.Proto.MoveList getBlue(int index);", "title": "" }, { "docid": "270135799846bda8aa97e1f98e21a450", "score": "0.6656731", "text": "blokus.Proto.MoveList getGreen(int index);", "title": "" }, ...
155fac4f0553d22f229357fc4970cf6d
Methode zum Abfragen, ob Wendepunkte angezeigt werden oder nicht. Gibt einen Boolean wieder.
[ { "docid": "c724e70627d16c0deb43dc93d1d30315", "score": "0.0", "text": "public boolean getCbWendepkt(){\n\t\treturn cbWendepkt;\n\t}", "title": "" } ]
[ { "docid": "bfad390a1aaaea604a867e96731a4404", "score": "0.6942643", "text": "public boolean isBool() throws PDFNetException {\n/* 74 */ return IsBool(this.a);\n/* */ }", "title": "" }, { "docid": "33fb587e2a2582ef3afaf243f33c2419", "score": "0.6769433", "text": "@Overri...
506f379cd7aca2a2644122966291feb6
Constructeur de la frame d'affichage du message.
[ { "docid": "d0689f8e4d4535b45af8e60ad04977cc", "score": "0.6370916", "text": "@SuppressWarnings(\"deprecation\")\npublic JFrameMsg(String title, String msg) {\n\tsuper();\n\t// Traitement du Look & Feel : L&F Java.\n\ttry {\n\t\tUIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());...
[ { "docid": "38c33067675754391c38dd1b76ca072b", "score": "0.69930726", "text": "public Message() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "9399ebccad0125a640d7cbef1ff426db", "score": "0.6805459", "text": "public Message() {\n // Needed for Firebse\n }", "title": ...
de477911104d4bf388864cf512042113
Insert the method's description here. Creation date: (11/22/2001 3:04:26 PM)
[ { "docid": "42c608747a2616e95bc83c9e422099a7", "score": "0.0", "text": "public int getVitalsID() {\n\t\treturn vitalsID;\n\t}", "title": "" } ]
[ { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.7058903", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.7058903", "text": "public void mo5201a() {\n }", "title": "" }, ...
1c82a988f20b5909e9f39c5323dbf5aa
/ / / / / / / / /
[ { "docid": "601abee105693e862e983e393b186e19", "score": "0.0", "text": "public final JavaType constructType(TypeReference<?> valueTypeRef)\n/* */ {\n/* 302 */ return getTypeFactory().constructType(valueTypeRef.getType());\n/* */ }", "title": "" } ]
[ { "docid": "b858c6ff6e97cd194310df71bbeb64ca", "score": "0.54798657", "text": "private int s(int pos){return (pos+up)%Global.array_size;}", "title": "" }, { "docid": "e482d4998c13216ac8acb8b77fc3b020", "score": "0.531951", "text": "private int w(int pos){return pos-1;}", "title":...
b2f790087902a60104ce052cd017db00
Sets the time that should be deducted for a lunch break for a specific shift
[ { "docid": "12fe69bf3463e06d82141a84f4083552", "score": "0.5467263", "text": "public void setLunchDeduct(int lunchDeduct) {\r\n this.lunchDeduct = lunchDeduct;\r\n }", "title": "" } ]
[ { "docid": "56220888aa053a2a17efb7671972936a", "score": "0.66800296", "text": "public void setLunchStop(LocalTime lunchStop) {\r\n this.lunchStop = lunchStop;\r\n }", "title": "" }, { "docid": "689a86a7e88e50014a7fdf7a955a7a43", "score": "0.63489544", "text": "public Shift(...
6a5d8729b1ad8cdd7bb7a19be5edf667
if the default key is valid then the key has not been set
[ { "docid": "f3d7878fdc923ee65855268652daa9f6", "score": "0.6448115", "text": "boolean isKeySet() {\n return !isKeyValid(defaultKey());\n }", "title": "" } ]
[ { "docid": "458ed333ab311fcaaba38648c389b768", "score": "0.6947713", "text": "default boolean isGetKeyDefined()\n {\n return false;\n }", "title": "" }, { "docid": "9e8fce83df303196f2ee4d83d49bbb16", "score": "0.67554486", "text": "boolean hasDefaultKeyId();", "title": "...
f818aa463dc419fe5a9555c5a1d0a473
simulate 100 probabilistic runs of the agent
[ { "docid": "6ebec93c1a0b5b5cc2ce6978fb684c05", "score": "0.76156896", "text": "public String simulate100ProbabilisticRuns() {\n\n mdp.setStochastic();\n double av_path = 0;\n double av_reward = 0;\n for (int i = 0; i < 100; i++) {\n int pathlength = 0;\n ...
[ { "docid": "695b0a66b7ff2268ee5e6158656fb49c", "score": "0.6566976", "text": "public void runLongSimulation() {\n simulate(4000);\n }", "title": "" }, { "docid": "5b419a8ea679508b45160541e968220f", "score": "0.65502846", "text": "public void simulateOneStep()\n {\n ...
2e85707759c5d0ca064d547167523f45
The method of class GameMap to set coordinator
[ { "docid": "2f57954fa2c6819d8a354dcace04e8aa", "score": "0.6834519", "text": "public void setCoordinator(Coordinator coordinator) {\n this.coordinator = coordinator;\n }", "title": "" } ]
[ { "docid": "83c48592cafb48d020768e8d6f9d485d", "score": "0.66802025", "text": "public void setCoordinator(String coordinator) {\n\t\tthis.coordinator = coordinator;\t\t\n\t}", "title": "" }, { "docid": "87ba2a112d5ea00d2f69686037c31636", "score": "0.66108024", "text": "public void se...
c1164f24892494bc5d41921d5ec17344
Constructs a Port action
[ { "docid": "ecb40d1251a3513efbedf07ee8159554", "score": "0.0", "text": "protected Action(Executable pCondition) {\n\t\tthis.Condition = pCondition;\n\t}", "title": "" } ]
[ { "docid": "6ee29a566c1c971b9b83939fb08bf04a", "score": "0.7404483", "text": "Port createPort();", "title": "" }, { "docid": "7cce742890feaedddf892e2c7274ca49", "score": "0.7398738", "text": "public Port createPort();", "title": "" }, { "docid": "b9c88aa3c0efb592a7fb97e4c...
a589679f9bbdd138f081f04318513f7c
Used to copy one list to another
[ { "docid": "3497bc118863703a5a7797070241c85b", "score": "0.6984812", "text": "private static ArrayList<Entry> copyList(ArrayList<Entry> input){\r\n\t\tArrayList<Entry> newList = new ArrayList<Entry>();\r\n\t\tfor(Entry e : input) newList.add(e);\r\n\t\treturn newList;\r\n\t}", "title": "" } ]
[ { "docid": "742fe163d4bbd2cce7e86178fada7bf7", "score": "0.7368452", "text": "public void copyList(ArrayList<Integer> l1, ArrayList<Integer> l2){\n for(int i: l1){\n l2.add(i);\n }\n }", "title": "" }, { "docid": "2007adce9143a896be4f34b573ba0122", "score": "0...
652e07bc1c8ebbf48ac2f48cee875603
SimpleApplet default constructor Only this class's install method should create the applet object.
[ { "docid": "957e347b17778659c06a6055b90ca682", "score": "0.61024064", "text": "protected SimpleApplet(byte[] buffer, short offset, byte length)\n {\n // data offset is used for application specific parameter.\n // initialization with default offset (AID offset).\n short dataOffse...
[ { "docid": "dc8d6f4cb42bb5b4ec17de7e61413344", "score": "0.7026801", "text": "public IRCApplet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "c731459617c2d1e775a3b44c13e14220", "score": "0.6799494", "text": "public void init()\r\n\t{\n\t\tsymantec.itools.lang.Context.setAppl...
b7a469ee988150f7f01e84238d92cf70
Metodo para conectarse a la cuenta de dropbox al menos 1 vez
[ { "docid": "ed7417a4bb6973c77a3eba524f3c2815", "score": "0.0", "text": "public void doLogin(Activity activity) {\n\t\tif (!isLoggedIn())\n\t\t\tmDropboxAPI.getSession().startAuthentication(activity);\n\t}", "title": "" } ]
[ { "docid": "11b0910a4e05321ff29618bdb8ca1c6b", "score": "0.6380042", "text": "public void dropboxOptions(){\n \t\tIntent intentDropbox = new Intent(this, Dropbox.class);\n \t\tstartActivity(intentDropbox);\n \t}", "title": "" }, { "docid": "ba9d50daca76133abdfb1f460b31838e", "score": "0....
6e07d1fca7a611a23abacc75a12b0fbe
getGroupCount method to return the count of the parent list
[ { "docid": "c37230c295592be9ba1864cec13a3ad6", "score": "0.67119026", "text": "@Override\n public int getGroupCount() {\n return cats.size();\n }", "title": "" } ]
[ { "docid": "7f40196c440846633f39689f60e0cc0a", "score": "0.8304056", "text": "public int getGroupCount();", "title": "" }, { "docid": "29f3db91a08e491e5d88e094576aa6bd", "score": "0.8026651", "text": "public int getGroupCount() {\n\t\treturn parent.length;\n\t}", "title": "" },...
8a12d4e748019abd4020ded096fecd74
Name: dequeue Purpose: Removes an element from the front of the queue
[ { "docid": "4fccfa7c9a90c2c5875608213e86fa48", "score": "0.8023941", "text": "@Override\n\t@SuppressWarnings(\"unchecked\")\n public E dequeue(){\n\t\treturn theQueue.removeFirst();\n\t}", "title": "" } ]
[ { "docid": "34f9324af1036e409be203f66c1cb66b", "score": "0.8508257", "text": "public void dequeue()\n {\n d.remove_first();\n }", "title": "" }, { "docid": "a2f69064651fb17bba3029fe2e585224", "score": "0.8275528", "text": "public T dequeue();", "title": "" }, { ...
56557a18d2f1d6cf33aaaaa52e33f84c
/ Returns the PumpGasUnit class that pumps the one gallon of gas selected by user
[ { "docid": "c480c6726f9a708724d505c0aca3c424", "score": "0.75629306", "text": "@Override\r\n\tpublic PumpGasUnit getPumpGasUnit() {\r\n\t\treturn new PumpGasUnit2(this.dataStore);\r\n\t}", "title": "" } ]
[ { "docid": "3b420ca3542fbb8e0c74161351cc4646", "score": "0.7715773", "text": "@Override\n\tpublic PumpGasUnit getPumpGasUnit() {\n\t\treturn new PumpGasUnit2();\n\t}", "title": "" }, { "docid": "1668a3c063f22605dcac852961ab5de1", "score": "0.6040785", "text": "@Override\n\tpublic Gas...
f3b8ef9deb8ba341635c62bc87790994
This method was generated by MyBatis Generator. This method returns the value of the database column j_usermsg.readsign
[ { "docid": "f1a8099f7e9bd357ea0143315aaa35d8", "score": "0.6113597", "text": "public Integer getReadsign() {\n return readsign;\n }", "title": "" } ]
[ { "docid": "f9099f89d39ab808d7c5bf8fc0caba58", "score": "0.5510833", "text": "String checkMessage() {\n ResultSet msgResult = AbstractPerson.ab.getRecordFromQuery(\"SELECT message from message where messageid ='\" + Session.s1.userID + \"'\");\n try {\n\n if (msgResult != null) ...
072118f8a19dabc6db039080f4a6c295
}} Exit key definition
[ { "docid": "2094f544ea3649aafde2cfbf9c4d9342", "score": "0.0", "text": "@Override\n public void enterFieldName(MySQLParser.FieldNameContext ctx)\n {\n String name = ctx.getText();\n if (name.startsWith(\"`\") && name.endsWith(\"`\")) {\n name = name.substring(1, name.lengt...
[ { "docid": "f9873d39114ed018be8be3bc9a63f11d", "score": "0.69953907", "text": "public void keyPressed(int key, char c) {\n/* 62 */ if (key == 1) {\n/* 63 */ System.exit(0);\n/* */ }\n/* */ }", "title": "" }, { "docid": "b9cf5ab2a972f2d942dc7f28ed25654b", "score": "0...
b4f0bbfc55a7891fbcc2feb1dd6365e7
repeated .cn.wsds.gamemaster.pb.QuestionSuvery questionSuvery = 1;
[ { "docid": "0e97dea0dcb0d3cf537dad99c14dba7b", "score": "0.0", "text": "public Builder setQuestionSuvery(\n int index, cn.wsds.gamemaster.pb.Proto.QuestionSuvery value) {\n if (questionSuveryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException()...
[ { "docid": "2121582a440e567542092872b5644e75", "score": "0.72592896", "text": "com.protobuftest.protobuf.GameProbuf.Game.Question getQestion();", "title": "" }, { "docid": "4e7dbf8fcd797f51df1a517a94ce0a33", "score": "0.67901725", "text": "com.protobuftest.protobuf.GameProbuf.Game.Qu...
939cda827aecd51b95375bb242369a2a
int rowCount = i;
[ { "docid": "8393ab29456ba0b4106e798fee19b17a", "score": "0.0", "text": "public void displayInventory() {\n\n//\n //\n for (int i = 0; i <= colCount; i++) {//print header line\n\n displayColDiv();\n if (i == 0) {\n System.out.print(\"item name \");\n ...
[ { "docid": "a7f6efd2cac9d68012812742c60464f2", "score": "0.7414392", "text": "public int getRowCount(){\n return rowCount;\n }", "title": "" }, { "docid": "c1a299395e15b2eb4ec112e7ebd9f113", "score": "0.7180226", "text": "public int getRowCount() {\n return this.ro...
d132e285ff67ccc14563662756e9afa8
enum NumericComparisonOperator returns ComparisonOperator: EQUALS='=' | NOT_EQUALS='!=' | LESS_THAN='' | GREATER_THAN_EQUALS='>=';
[ { "docid": "3d4e2e57306d9b147b01a9688ee76ae3", "score": "0.0", "text": "public EnumRule getRule() { return rule; }", "title": "" } ]
[ { "docid": "562e7784f021829668b608b157948247", "score": "0.7084115", "text": "public interface Operator {\n /**\n * Indicates that we're passing through a grammar production without\n * actually activating it. For example in the expression\n * <code>1</code> is matches AdditiveExpr and Mu...
4086ca5829ac6dd66c2ba7e26f94c3dc
/ Test method for 'uk.me.jstott.jcoord.LatLng.toDMSString()'
[ { "docid": "607483c70cfab2138d87258742c613b7", "score": "0.8268509", "text": "public void testToDMSString5() {\n LatLng ll = new LatLng(-10.25, -10.25);\n assertEquals(\"10 15 0.0 S 10 15 0.0 W\", ll.toDMSString());\n }", "title": "" } ]
[ { "docid": "ef5945f15c45373cbf01a88acc8dc5df", "score": "0.86176825", "text": "public void testToDMSString2() {\n LatLng ll = new LatLng(10.0, 10.0);\n assertEquals(\"10 0 0.0 N 10 0 0.0 E\", ll.toDMSString());\n }", "title": "" }, { "docid": "5a871d053c05d96ccac6e762da55b40a", "s...
29af19f1c6924664f09f38a2c0332260
Returns the value of field 'AA_HZDFRM_fontisDownloadFrequencyMeridian'.
[ { "docid": "8bdc086c4f074635c669fb7f312a8f04", "score": "0.89353865", "text": "public java.lang.String getAA_HZDFRM_fontisDownloadFrequencyMeridian(\n ) {\n return this._AA_HZDFRM_fontisDownloadFrequencyMeridian;\n }", "title": "" } ]
[ { "docid": "362628d294f96bea80456fbc81ce6629", "score": "0.7740931", "text": "public void setAA_HZDFRM_fontisDownloadFrequencyMeridian(\n final java.lang.String AA_HZDFRM_fontisDownloadFrequencyMeridian) {\n this._AA_HZDFRM_fontisDownloadFrequencyMeridian = AA_HZDFRM_fontisDownloadFreq...
28b58928f0aa75e369202ae3a5139067
Method definition for option E which offers customized logs for a particular month
[ { "docid": "a878788b42ab6d377968b44ad4f93a85", "score": "0.5443394", "text": "public static void optionE() throws IOException {\n\t\t\n\t//Print statement informing the user of their choice\n\t\t System.out.println(\"You chose to view customized logs for a particular month. Enter the month(1-12): \");\n...
[ { "docid": "38b86f389f5eb8e3f22341059ba217bb", "score": "0.59288996", "text": "public static void optionF() throws IOException {\n\t\tSystem.out.println(\"You chose to view all logs for a particular month and day. Enter the month you would like to see (1-12)\");\n\t\t//Declares integer month variable an...
1d6af2c816c45dd36b5651a2d80017a3
Add new term to query
[ { "docid": "7157ca60355460df6b29b685d53a06c0", "score": "0.58901393", "text": "public void addQueryTerms(Set<String> collection) {\n for (String term: collection) {\n this.query.add(term);\n this.uniqueTerms.add(term);\n this.weight.add(0.0);\n }\n }", ...
[ { "docid": "e025fa4aee03f90c043cb9c497a1a6c5", "score": "0.75731343", "text": "public void addTerm(String term, int documentID, int tokenNumber);", "title": "" }, { "docid": "f5d6b100590d88b666e7724dcc5f8ddc", "score": "0.70268285", "text": "public void addTerm(Term t){\n\t\tif(this....
abea52a39ff432117b586f46cf45ee39
Obter uma listagem dos remetentes
[ { "docid": "2841f51cca3ad75a9a32301e4022ef75", "score": "0.0", "text": "EgoiMapList getSenders(EgoiMap arguments) throws EgoiException;", "title": "" } ]
[ { "docid": "536c2b1a92b456b8328998ff0bb5df86", "score": "0.6731316", "text": "public List<ItemRentado> consultarItemsRentados();", "title": "" }, { "docid": "7011f3ab827bbccad18fc1711abb09e3", "score": "0.66528016", "text": "public List<Renta> cargarRentas();", "title": "" }, ...
46290695cd33d3219562e2a8650649a7
Returning the bottom boundary of the game world.
[ { "docid": "90de58704b0a6dd373230e5f4b37767e", "score": "0.0", "text": "public static int getMinPositionY(){\n\t\treturn 0;\n\t}", "title": "" } ]
[ { "docid": "c4a1c1ac25a03ee67f6c06d1934f7828", "score": "0.7511459", "text": "public int getYBottomBound(){\n\t\treturn this.yBottomBound;\n\t}", "title": "" }, { "docid": "4a0cabf70d8613730a7138e78846f56e", "score": "0.71403223", "text": "public final Vector bottomRight() { return n...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "17f293b1cd83110ef68795f554ff8db1", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_location, container, false)...
[ { "docid": "5db754451b89950dcc8f0d4244c4b6e8", "score": "0.69515103", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_feed_recycle, container, false);\n\n //set ...
618d021226564f01f91357576d4a77e6
Simple constructor to use when creating a view from code.
[ { "docid": "e7df56f6e7fde7a4012036a6e0f6f9fa", "score": "0.0", "text": "public CustomFontManager(Context context) {\n\t\tsuper(context);\n\t}", "title": "" } ]
[ { "docid": "4903f7989b5dc9f7f3d03880cea1b544", "score": "0.79321873", "text": "public View() {\r\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "7142fffb4f797a1de2656766df65bb11", "score": "0.72359216", "text": "public Viewer()\n {\n this(null, null);\n }", "title": ""...
2b4737728aab1a236d1ce078d43a89fc
Set value(s) replacing existing
[ { "docid": "ff0154e074759fc95bc8d504732526e6", "score": "0.0", "text": "public void set(String name, T value) {\n\t\t\tget(name, true).add(value);\n\t\t}", "title": "" } ]
[ { "docid": "04ae0ef991dbc644b97a96048b90958a", "score": "0.6794894", "text": "Object set(Object newValue);", "title": "" }, { "docid": "ae38868ab0b98bc60c44553913f9c040", "score": "0.6659933", "text": "public void setValue(Object value);", "title": "" }, { "docid": "415c0...
ec5282b200e394eb2a7d12223e3b454d
Returns the queries joins
[ { "docid": "9e4556b9b37e7588d107490de075c548", "score": "0.7375011", "text": "public List<Join> getJoins()\n {\n return joins;\n }", "title": "" } ]
[ { "docid": "fa9bfb7e071e830d7ec63b8984e85ea0", "score": "0.69305986", "text": "private String getJoinClause(){\n String joinClause = \"\";\n if(!joins.isEmpty()){\n for(Map<String, String> map : this.joins){\n if(map.containsKey(\"joinType\")){\n ...