query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
8cf037279b20765300987030fd57b56f
optional string bunho = 4;
[ { "docid": "8999c54f98a5d3f5d1eb144975f50255", "score": "0.0", "text": "public com.google.protobuf.ByteString\n getBunhoBytes() {\n java.lang.Object ref = bunho_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteS...
[ { "docid": "6d82de299f9a16ea60dc663cd99ef7ec", "score": "0.6948962", "text": "java.lang.String getBunho();", "title": "" }, { "docid": "6d82de299f9a16ea60dc663cd99ef7ec", "score": "0.6948962", "text": "java.lang.String getBunho();", "title": "" }, { "docid": "6d82de299f9a...
c90ebdc03ba31d4150a2b8ce87710c68
///////////////////////////////////////////////////////////////////////// Test insertions across serializations
[ { "docid": "65c1bb7be42b5308fe874b3e7b36777f", "score": "0.5428707", "text": "@Test\n \tpublic void testUnflushedSessionSerialization() throws Exception {\n \t\tSession s = sessionFactory().openSession();\n \t\ts.setFlushMode(FlushMode.MANUAL);\n \t\ts.beginTransaction();\n \n \t\tSimple simple = new Si...
[ { "docid": "7755356b7e6584c90accc797294001ed", "score": "0.62633324", "text": "@Test\n public void coderTest() {\n Pipeline p = GATKTestPipeline.create();\n List<ReferenceShard> refShards = Lists.newArrayList(new ReferenceShard(0, \"1\"), new ReferenceShard(1, \"2\"), new ReferenceShard...
d11fde2be6de10be530acc3ddb68e203
Similar to addBlock, but a Player's orientation is always HORIZONTAL and its position on the y axis always equal to Board's exit.
[ { "docid": "ca27dada2df54d13c79c82299606785c", "score": "0.0", "text": "public Player addPlayer(final int x, int length) {\n\t\tif (redCar != null) {\n\t\t\tthrow new IllegalArgumentException(\"Player already exists.\");\n\t\t}\n\n\t\tif (length > size || length < 1) {\n\t\t\tthrow new IllegalArgumentEx...
[ { "docid": "abc01acca1f2bcacd3c2feaa672da23b", "score": "0.54429585", "text": "@Override\r\n\tpublic void update() {\n\t\tsuper.getBlock().setY(super.getBlock().getY() + 1.0);\r\n\t}", "title": "" }, { "docid": "e3741fbc2a2805b4d2b6c205b313bcda", "score": "0.53336805", "text": "priva...
aedf8a6fbc704ec93573090f81e2d6e9
This method returns how many times a certain character appears within a given string.
[ { "docid": "7bf4d16f4f668d6b238f7948a424c01f", "score": "0.6935934", "text": "public static int countCharacters (char x, String sample) {\r\n\t\tif (sample.length() > 0) {\r\n\t\t\tif (x == sample.charAt(0)) {\r\n\t\t\t\treturn countCharacters(x, sample.substring(1)) + 1;\r\n\t\t\t}else {\r\n\t\t\t\t\r\...
[ { "docid": "3315bec9738790eae1b319b91483f71d", "score": "0.8052447", "text": "public static int findNumberOfOccurrences(String str,char letter) {\nint numberOfTimes=0;\nfor(int i=0;i<str.length();i++){\nif(str.charAt(i)==letter) {\nnumberOfTimes++;\n}\n}\nreturn numberOfTimes;\n}", "title": "" }, ...
f77363ef76cc5efd6abb5507e78c9cd0
you can call this method in your teleop or autonsteps because append is false, it will write over any steps that are in queue instead of adding to them.
[ { "docid": "257616217bac4aa0f0cfd924873fb8fc", "score": "0.0", "text": "public void newDriverAssist(ArrayList<AutonStep> driverAssistSteps)\n {\n this.newDriverAssist(driverAssistSteps, false);\n }", "title": "" } ]
[ { "docid": "e2b2683aef70cd05791172f32b5779dc", "score": "0.6472098", "text": "@Override\n //code block to that will run at the VERY beginning of Teleop\n public ArrayList<AutonStep> createAutonSteps() {\n return null;\n }", "title": "" }, { "docid": "d3fb459868a555b04e6a4acfd...
d0baba1a1d552bb8c0d807adce622a7d
PUT /robots => update the robot
[ { "docid": "4aa959284e2570a61459f991b829b733", "score": "0.7214156", "text": "@RequestMapping(value = \"/robots\",\n method = RequestMethod.PUT,\n produces = MediaType.APPLICATION_JSON_VALUE)\n public ResponseEntity<RobotDto> update(@RequestBody final RobotDto robotDto) {\n ...
[ { "docid": "317744bbcd846633c35cd1d48dce6a8b", "score": "0.6413801", "text": "public void updateRobots(Set<RobotAvatar> robots);", "title": "" }, { "docid": "47de139878fa25fe5eb842310f4f9020", "score": "0.5579383", "text": "public void setRobots(int robots) {\r\n\t\tthis.robots += ro...
0c894c50b580240958b6344533a9d0d6
Default constructor which sets up data arrays.
[ { "docid": "ae1f6275ae53f35a58182f4433a51349", "score": "0.60884273", "text": "public Calibrator()\n {\n dacs = new int[16];\n adcs = new int[24];\n atwdFits = new HashMap[8][128];\n ampGain = new double[3];\n ampGainErr = new double[3];\n ...
[ { "docid": "f8ee81772be70c62cba74bbb4f183146", "score": "0.71281177", "text": "public DataSet() {\r\n\t\tds = new ArrayList<T[]>();\r\n\t}", "title": "" }, { "docid": "028af63b8bb8ac3da2e174b18092f194", "score": "0.6923256", "text": "public DefaultDataSet(String name, double[] x, dou...
95c899f1dcb79c11f5184699bddcae49
Removes events with an _id <= last_id from table
[ { "docid": "cc0859700328adcd716528c06b606e5d", "score": "0.70771825", "text": "public void cleanupEvents(String last_id, String table) {\n if (MPConfig.DEBUG) { Log.d(LOGTAG, \"cleanupEvents _id \" + last_id + \" from table \" + table); }\n\n try {\n SQLiteDatabase db = mDb.getW...
[ { "docid": "26dff0af1d938d71d2277facbec83814", "score": "0.59065723", "text": "public int cleanupEvents(String last_id) {\n mTrackEventOperation.deleteData(mDbParams.getEventUri(), last_id);\n return mTrackEventOperation.queryDataCount(mDbParams.getEventUri());\n }", "title": "" }...
c5781670423ae4c19ffd8a70796896b0
This adds a property descriptor for the Maximum Redelivery Delay feature.
[ { "docid": "26a861febfcafc059472a035f59f754c", "score": "0.80435836", "text": "protected void addMaximumRedeliveryDelayPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRoot...
[ { "docid": "59547d8ad038546c57eeca38e907c209", "score": "0.7387544", "text": "protected void addRedeliveryDelayPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterF...
c8a63ed0cfa65fef80adcbed90e8e0c4
Open user file user.
[ { "docid": "6dd908b916e6cb54246a74a819f0f6fd", "score": "0.70396715", "text": "public User openUserFile(String userName){\n User u = null;\n String fileName = \"Users\\\\\" + userName + \".bin\";\n try (FileInputStream in = new FileInputStream(fileName)){\n ObjectInputStr...
[ { "docid": "4a6111751139f5b2bcfb9feb46ede3a4", "score": "0.7160219", "text": "private void openFile() throws IOException {\n Desktop.getDesktop().open(Paths.get(RecordsFolder.RecordsPath.USER_RECORDS_FILE_PATH.getPath()).toFile());\n }", "title": "" }, { "docid": "da75d6a075691a0ef...
08afde033aeb9258f58e361ebb4923a8
Gets the spouseCode value for this CustomerFamily.
[ { "docid": "5dcda14b6472785dd3449a68b7c3c53e", "score": "0.6959068", "text": "public java.lang.String getSpouseCode() {\n return spouseCode;\n }", "title": "" } ]
[ { "docid": "986e387c52d13bbd3e5a7a93d4d6e29b", "score": "0.5966238", "text": "public java.lang.String getCustomerFamilyRelationshipCode() {\n return customerFamilyRelationshipCode;\n }", "title": "" }, { "docid": "3d18690906d1b0d160673a83d4ae9527", "score": "0.59492886", "t...
1cfff6ecb9b251b9daedbda06069846f
Get a publication based on the generic item.
[ { "docid": "e277f2214805bbb7c3a763ac38d3358c", "score": "0.6729015", "text": "public ResearcherPublication getPublication(GenericItem publication)\r\n\t{\r\n\t\tfor(ResearcherPublication pub : rootPublications)\r\n\t\t{\r\n\t\t\tif( pub.getPublication().equals(publication))\r\n\t\t\t{\r\n\t\t\t\treturn ...
[ { "docid": "f25f11945be6515094857aa4c5756b02", "score": "0.6096303", "text": "public PersonalItem getPersonalItem(GenericItem item);", "title": "" }, { "docid": "3565d93a958482b160b0e10738a7d8b1", "score": "0.59324193", "text": "@GetMapping(\"/publications/id/{publicationId}\")\n ...
f8e177114dafae214cf55568ef6cc2a7
Sets the id member.
[ { "docid": "a996182bb04bf6a26290f0ab364948da", "score": "0.77305245", "text": "public void setIdMember(String idMember) {\n\t\tthis.idMember = idMember;\n\t}", "title": "" } ]
[ { "docid": "765049c5a4fe882245c9a6b58e7e05e0", "score": "0.7572722", "text": "public void setid(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "b0f197b8ce8f94cf80aef259dd8c90fe", "score": "0.7521087", "text": "public void setId(int id) {\n // Setting...
2b5dcc0949631d4fb2cd81e6e5fa083a
/ Because messages may be reordered, it is entirely possible that we get a nonlocal RejectedOverload, followed by an Accepted. So we must loop here.
[ { "docid": "3bd761227e242775b80a6a9fd11ea636", "score": "0.0", "text": "private MessageFilter makeAcceptedRejectedFilter(PeerNode next,\n\t\t\tint acceptedTimeout) {\n \n MessageFilter mfAccepted = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(acceptedTimeout).se...
[ { "docid": "f81e9f7bba7b4de88412329bbcbbdcbe", "score": "0.6877331", "text": "private synchronized void forwardRejectedOverload() {\n \tif(hasForwardedRejectedOverload) return;\n \thasForwardedRejectedOverload = true;\n \t\tnotifyAll();\n\t}", "title": "" }, { "docid": "51813c798cfb0...
f1ff77ac0e1efd7e75001018dc5dd57e
resets the position of the player to default
[ { "docid": "575a8cf05a6e5cd29046a739aa053c56", "score": "0.7544811", "text": "private void reset() {\n this.player.setPosition(0, 0);\n Field[] surroundings = getSurroundings(player);\n notifyChange(player, surroundings);\n\n }", "title": "" } ]
[ { "docid": "80b3535ce1f193c5f9c4ebc8b43b07cc", "score": "0.75736696", "text": "public void reset() {\n this.position = 0;\n }", "title": "" }, { "docid": "8dcafeab89135486df4994ede24901fe", "score": "0.7438204", "text": "public void reset() {\n\t\tisDead(false);\n\t\tplayer...
a1c7bd81499a1ee5fd63887118d0efa8
Created by Administrator on 2018/9/12.
[ { "docid": "98677d4bd6bf8cd18c3516a1f9c92761", "score": "0.0", "text": "public interface OnHeaderRefreshListener {\n void onHeaderRefresh(MyUltimateRefreshView view);\n}", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.61144936", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.60769224", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" ...
ec75b6fd665d535ae4345dd850cd8618
need to database start Action than override this;
[ { "docid": "f6007fd6071c297946673beedafbf311", "score": "0.0", "text": "public void init() throws Exception{\r\n\t\tStatement statement= null;\r\n\t\ttry {\r\n\t\t\tConnection connection = getConnection();\r\n\t\t\tstatement = connection.createStatement();\r\n\t\t\tstatement.execute(\"SET AUTOCOMMIT ON\...
[ { "docid": "3a5a015237028dd2ccde0e01f85bd116", "score": "0.6902218", "text": "public void startSQL() {\r\n startSQL(null);\r\n }", "title": "" }, { "docid": "0a4dc784b6d5bcc74e3a31f8f6ee1993", "score": "0.6663879", "text": "public void start() {\n\t\t\t\n\t\t}", "titl...
01efe50a79b4f630e6e83c6bbc7b0f7a
/ This bean is used by the ConfigService to register with the master and get the configuration. Every service that needs to call a REST service, just needs to have a RestTemplate injected in order to do so.
[ { "docid": "6f6bfc60c6a289f519da420fce088d85", "score": "0.64230293", "text": "@Bean\n\tpublic RestTemplate restTemplate(RestTemplateBuilder builder) \n {\n \treturn builder.build();\n\t}", "title": "" } ]
[ { "docid": "1a47284fa73e6614f84049e29ef27a90", "score": "0.7018156", "text": "@Bean\n public RestTemplate restTemplate() {\n \t return new RestTemplate();\n }", "title": "" }, { "docid": "49eeb118c946daa69973669bc51f4da8", "score": "0.69916296", "text": "@Bean\n\t//@...
07c7dde16fe8409c4a4bb50fa7a3875a
Overrides the default detachChild method to ensure the scene graph will not be updated after a call to updateGeometricState().
[ { "docid": "be321db92f75af6d1dbc5db5a9be882e", "score": "0.6853584", "text": "@Override\r\n public int detachChild(Spatial child) {\r\n childrenToRemove.add(child);\r\n Logger.outputToGUI(Logger.Type.DEBUG, \"Child \" + child.getName() + \" removed from node \" + this.getName());\r\n ...
[ { "docid": "0e6760990d0a0e4552c01ebb2599225f", "score": "0.72077894", "text": "@Override\r\n public synchronized void updateGeometricState() {\r\n //Remove all children in the childrenToRemove list\r\n while(!childrenToRemove.isEmpty()) {\r\n Spatial child = childrenToRemove....
b7e76674ead976982350560b4092b4a5
Create an updated entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
[ { "docid": "edca896980e31afd5468f6b96c796cf8", "score": "0.0", "text": "public static EnumEmpLaborType createUpdatedEntity(EntityManager em) {\n EnumEmpLaborType enumEmpLaborType = new EnumEmpLaborType()\n .valuez(UPDATED_VALUEZ)\n .orderz(UPDATED_ORDERZ)\n .tenen...
[ { "docid": "1c8fbf832f01d95775e46a8bd1d3f50f", "score": "0.7080769", "text": "protected T createSimulatedExistingEntity(){\r\n\t\tfinal T entity = createNewEntity();\r\n\t\tentity.setId( IDUtils.randomPositiveLong() );\r\n\t\treturn entity;\r\n\t}", "title": "" }, { "docid": "8c1904f2d5c96bd...
edb93d43712e8b2af79ef956ed181e97
/ Checks if external storage is available for read and write
[ { "docid": "cb9ad17d2d1e4997e9cac2a0f25b7924", "score": "0.76074874", "text": "private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }", "title": "" } ]
[ { "docid": "bb35546c46e75f6044b499748ac0ff7f", "score": "0.83803624", "text": "private static void checkStorage() {\n // Get the external storage's state\n String state = Environment.getExternalStorageState();\n if (state.equals(Environment.MEDIA_MOUNTED)) {\n // Storage ...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "472ef55d3b4256546fcfb61bf3a8a269", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil.inflate(inflater, R.layout.fragment_project_list, co...
[ { "docid": "8dc6e43eb0ba072f1910928f55684a0a", "score": "0.68880737", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qr_authentication_parsing, co...
d0be5f8a332fd72ccba8a8251239033a
Returns an ArrayList storing the values contained in this map. Note that there may be duplicate values. The ArrayList should contain the values in ascending order of keys. Example. Suppose this map consists of the following (key, value) pairs: (10, Carol), (21, Bill), (45, Carol), (81, Alice), (95, Bill). Then, the ArrayList returned should consist of the strings Carol, Bill, Carol, Alice, Bill, in that order.
[ { "docid": "50e286494ab6c14af9fa33c00fac0ebb", "score": "0.75652546", "text": "public ArrayList<V> values() {\n\t\t// TODO\n\t\tArrayList<V> toRetVal = new ArrayList<V>();\n\t\tIterator<Entry> itr = this.entrySet.iterator();\n\t\t\n\t\twhile(itr.hasNext()){\n\t\t\tEntry Value = itr.next();\n\t\t\ttoRetV...
[ { "docid": "a285f143dd44a54c61c19834a13f0fba", "score": "0.7022935", "text": "public Collection values() {\n return map.values();\n }", "title": "" }, { "docid": "9340bf654e4d966d2e10cd2f416a3ca1", "score": "0.69755584", "text": "java.util.List<com.complexible.common.protobuf.cor...
c38e7ed191030387e2fda8a9d911cdd2
$ANTLR end "entryRuleXUnaryOperation" $ANTLR start "ruleXUnaryOperation" ../com.avaloq.tools.dslsdk.check.ui/srcgen/com/avaloq/tools/dslsdk/check/ui/contentassist/antlr/internal/InternalCheck.g:1118:1: ruleXUnaryOperation : ( ( rule__XUnaryOperation__Alternatives ) ) ;
[ { "docid": "3e39a7f36866906909fe70b6f00b85e6", "score": "0.8578188", "text": "public final void ruleXUnaryOperation() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.avaloq.tools.dslsdk.check.ui/src-gen/com/avalo...
[ { "docid": "f2e60e4cd018d4d9209b5f7fd81d60da", "score": "0.8371401", "text": "public final void ruleXUnaryOperation() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/cont...
fb81dcc93552f77c72f6dd456896dd0e
This function return the value of values of matrix in i,j
[ { "docid": "0c7470947602593b8b5059ea58afa6e3", "score": "0.7592146", "text": "public String getValueIJOfValuesMatrix(int i, int j) {\r\n\t\treturn values_matrix[i][j];\r\n\t}", "title": "" } ]
[ { "docid": "b0cb34eef9edbf8fc46e8d37912fd80f", "score": "0.7542089", "text": "public int viewValue(int i, int j) {\n //System.out.println(\"rows: \" + i + \", Column : \" + j);\n // TODO: hacer que correctamente retorne falso con i o j mayores de lo permitido\n int value;\n i...
b49d51cacf345a781af90a0882f4b0ea
initialize input vector with values from the input vector
[ { "docid": "abbcca0d3e0d44928ca8aacb3c83808c", "score": "0.7303142", "text": "private void initializeInputUnitsWithVector(List<Integer> inputVector) {\n// Assert.that(inputVector.size() == inputUnits.size(), \"Mismatch of input units (#\" + inputUnits.size() + \") and input vector \" + inputV...
[ { "docid": "290f5d28459520d33878b43594b49901", "score": "0.6433738", "text": "public synchronized void setInputVector(RealVector inputValue) {\r\n\t\t// set a copy of the specified value to protect\r\n\t\t// against unexpected modification\r\n\t\tthis.input = inputValue.copy();\r\n\t}", "title": "" ...
a96a763e81a3a81561e45ec1bcabb5e5
Creates an exception of this type.
[ { "docid": "ef602f37799e6986033297439c3b96f3", "score": "0.0", "text": "public UnknownMemberNameException() {\r\n\t\tthis.meaningfulMessage = MESSAGE;\r\n\t}", "title": "" } ]
[ { "docid": "e1c29298ae460f026ea0f349b3a7bd05", "score": "0.67203736", "text": "protected abstract E createInstance(final Throwable cause);", "title": "" }, { "docid": "2070c81b79d38d064c6134ab994ebc5c", "score": "0.65147835", "text": "RuntimeException newException(Object message);", ...
e29b8a133b0137f42bf9263691487244
Test case number: 35 /Coverage entropy=0.08600930325110791
[ { "docid": "fff5ff4d3fef892a1c02b198a15e50d1", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test035() throws Throwable {\n Frame frame0 = new Frame();\n ClassWriter classWriter0 = new ClassWriter(255);\n Item item0 = classWriter0.newInteger(255);\n // Undeclared ex...
[ { "docid": "edbd254adb205bdee80095b913541089", "score": "0.7512595", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evalua...
46fd2d0e737325be33e9cc64fc589c72
this way lets us pass the predicate
[ { "docid": "56ca86e0c98084d035915f18d49a4b96", "score": "0.0", "text": "public static int totalAssetValues(final List<Asset> assets, \n final Predicate<Asset> assetSelector) {\n return assets.stream()\n .filter(assetSelector)\n .mapToInt(Asset::getValue)\n .sum();\n }", ...
[ { "docid": "88b737a77603fc1befe25cdf2fbaf038", "score": "0.68331957", "text": "private void mai() {\n\r\n\t\tPredicate<T>\r\n\t}", "title": "" }, { "docid": "acc942a2bf18591dc7a0a0baa452b722", "score": "0.65588564", "text": "Predicate createPredicate();", "title": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b33de810b30cfd10335bd20529acca54", "score": "0.0", "text": "@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\ttry{\n\t\t\tSystem.out.println(\"点击了\"+models.get(arg2).getTable_num());\n\t\t\tGateway_Model model = models.get(arg2);\t\t\n\t\t\tswit...
[ { "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}", ...
f39042cd5ed4d2039e0991d60bdd74db
$ANTLR end "rule__ExtraData__Group_4__0" $ANTLR start "rule__ExtraData__Group_4__0__Impl" ../org.xtext.example.mydsl.ui/srcgen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2818:1: rule__ExtraData__Group_4__0__Impl : ( 'Type' ) ;
[ { "docid": "daa9cf687eaaab455f5827d66520ca35", "score": "0.77601624", "text": "public final void rule__ExtraData__Group_4__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.mydsl.ui/src-gen/org/xtext/...
[ { "docid": "c6afcb110dc3c88714659acd67c0fcd9", "score": "0.6656309", "text": "public final void rule__TypeStatement__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.yang.ui/src-gen/org/xtext/editor/y...
21008fde886433efa7d3e1629233b35a
Clicks the page button that is supplied into the parameter
[ { "docid": "30c3f0ed2feac50e4001b7fc8dcc2dd3", "score": "0.635984", "text": "public void ClickToNavigateTo(String ClickToNavigateTo) {\r\n\t\tdriver.findElement(By.xpath(\"//a[@id='SideBarButton' and text()='\" + ClickToNavigateTo + \"']\")).click();\r\n\t\t\tLog(\"Clicked the \\\"'\" + ClickToNavigateT...
[ { "docid": "b7ce209fea3f233c91f3583bb34c4c5f", "score": "0.7535315", "text": "@Test\n void _6_clickOnButton() {\n driver.get(new File(\"src/test/resources/html/interactions.html\").getAbsolutePath());\n page.buttonToClick.click();\n }", "title": "" }, { "docid": "fce3f68c...
d9817ba3d01a479709e46dc462dbe379
Sets an updated value for the mean.
[ { "docid": "60340071cd825a02ff4b0059fbf60b19", "score": "0.7129556", "text": "public void setMean(Point2 mean) {\n\t\tthis.mean = mean;\n\t}", "title": "" } ]
[ { "docid": "4d61a4886f3fd748b274003773930cdd", "score": "0.7699115", "text": "public void setMean(double mean) {\n this.mean = mean;\n }", "title": "" }, { "docid": "b27c1f2f45f42698f449fa27796f2c20", "score": "0.7629928", "text": "public abstract void setMean (double m);", "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a4826f736365f3dd955b0e910a4d2671", "score": "0.0", "text": "@Override\n\tpublic Merchant createMerchant(String title)\n\t{\n\t\tthrow new UnimplementedOperationException();\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
51b1b9b572c9e4b0cb2a27301ccc050a
If there is no more room in array, make new array with room
[ { "docid": "bdebecbb18ef57f34087e1ce96588213", "score": "0.0", "text": "public void add_neighbor(Vertex neighbor, int weight) {\n\t\tif(this.adjacentNodes.length < this.numNeighbors) {\n\t\t\tthis.adjacentNodes = this.expand_array(this.adjacentNodes);\n\t\t}\n\t\telse {\n\t\t\tthis.adjacentNodes[numNeig...
[ { "docid": "783babf0e209a9ffe8ff14437cce81fd", "score": "0.6754774", "text": "void growArray() {\n /**\n * Store current elements of arrays\n */\n int[] tmp = new int[length];\n for (int idx = 0; idx < length; idx += 1) {\n tmp[idx] = arr[idx];\n }\...
e75eb4e8a320d202cee37928c52e415e
gl.glDisable(GL.GL_LIGHT0); // cjx for images Global coordinates
[ { "docid": "7829a6b478177fde6ab295524f4ad240", "score": "0.5900246", "text": "public void drawSolar(float E, float e,\n float M, float m) {\n gl.glLineWidth(2);\n drawColorCoord(WIDTH/6, WIDTH/6, WIDTH/6);\n\n myMaterialColor(blackish, whitish, white, black);\n\n gl.gl...
[ { "docid": "5d113e0d0c98f811f5ea4a6cd3d0303b", "score": "0.6684851", "text": "public void draw(GL2 gl, GLU glu, GLUT glut) {\n // render top part\n gl.glPushMatrix();\n ShaderPrograms.trackShader.useProgram(gl);\n Textures.track.enable(gl);\n Textures.track.bind(gl);\n...
7aaa474696b74e0929491163f75cdaa4
Gets a customizable String for the given path with the option to do additional replacements for various variables.
[ { "docid": "53ac456f299bba2e51741f9bc96426a2", "score": "0.5521498", "text": "public String getValue(String path, String defaultValue, boolean addExtraValues) {\n\t\tString value = this.translatedValues.get(path);\n\t\tif (value == null) {\n\t\t\tvalue = defaultValue;\n\t\t\tif (defaultValue.equals(path...
[ { "docid": "9240edfbf16df1d641b470d06da86ded", "score": "0.5396286", "text": "VariablePath getVariablePath();", "title": "" }, { "docid": "792a56d55c93a575d5a6ac944c3080c0", "score": "0.5361056", "text": "private static String mungify(String path)\n {\n return path.replaceA...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b8ed1efb54cffe85d338f9bb28e383f9", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tView layout = initView();\n\t\tgetWindow().setContentView(layout);\n\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
5321e43835605af9ccc38184b0060c8b
ExecutorService service = Executors.newSingleThreadExecutor();
[ { "docid": "68d0a4414537ab4710df3d504e7841b5", "score": "0.64732206", "text": "public static void main(String[] args) {\n\t\t\n\n\t\tExecutorService service = Executors.newCachedThreadPool();\n\t\tSystem.out.println(service.getClass());\n\n\t\twhile (true) {\n\t\t\tservice.execute(()-> {\n\t\t\t\tlong c...
[ { "docid": "d215fa0b4dd5a1dcc71ddab726452bbc", "score": "0.70248586", "text": "protected abstract ExecutorService getExecutorService();", "title": "" }, { "docid": "17c98c83664d2244392cc33d1b3f87b0", "score": "0.6893402", "text": "@Override\n public void start() {\n if (_ex...
5faa8eacdc1f24a578d80795337f8290
$ANTLR end "T__22" $ANTLR start "T__23"
[ { "docid": "52a20bfa44a3ada3fc37b2eae8f22525", "score": "0.0", "text": "public final void mT__23() throws RecognitionException {\r\n try {\r\n int _type = T__23;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalCk2.g:19:7: ( '<=' )\r\n // Intern...
[ { "docid": "3d6cfff1e4a7ab7f825d2d0e8b46d0fc", "score": "0.5764157", "text": "private int yyr23() {\n { yyrv = new First(((Expression)yysv[yysp-1])); }\n yysv[yysp-=2] = yyrv;\n return yypexpr();\n }", "title": "" }, { "docid": "26cafa8acf573ef9e800cf3aeb96b9f8", ...
872441d936466f5c39205b80f83b0fc7
Sets value as attribute value for S_PHOTO using the alias name SPhoto.
[ { "docid": "94d292f748a7d251da51842c2b33cc3d", "score": "0.56781626", "text": "public void setSPhoto(BlobDomain value) {\n setAttributeInternal(SPHOTO, value);\n }", "title": "" } ]
[ { "docid": "6731039daaf5edf3f7abdf75b2e02241", "score": "0.77083725", "text": "public void setPhoto(String value)\r\n {\r\n getSemanticObject().setProperty(social_photo, value);\r\n }", "title": "" }, { "docid": "edd35815256c7296c4aa645b9b52c371", "score": "0.6556252", "...
da0f0fa70e36596f350deea52e7c4f75
Return a raw Observable
[ { "docid": "d9960aa29f1075d1731da1c6c3f3e970", "score": "0.64947957", "text": "Observable<T> getObservable(MessageType type);", "title": "" } ]
[ { "docid": "0f4da1302652fb86bb24afdb3d0061a6", "score": "0.7544301", "text": "Observable<T> getObservable();", "title": "" }, { "docid": "76107e36d8fae025c8118c846a5e3abe", "score": "0.6972046", "text": "public interface AsObservable<T> {\n\n /**\n * Return a raw Observable\n ...
287cb6a5add81c4caa988131d3e4d65f
Getting DDL of Table.
[ { "docid": "c9b25fc74331946c4b09ea6fb48bcea9", "score": "0.66282725", "text": "public static String getTableDDL(String schemaName, String tableName) {\n\n Statement statement = null;\n String result = null;\n ResultSet resultSet = null;\n try {\n statement = DataBa...
[ { "docid": "19108f428472c260f3f24560e540f433", "score": "0.66825414", "text": "public Document getDDL() {\n return ddl;\n }", "title": "" }, { "docid": "8c9723f3e029817b3d64c9b0b6ce11c4", "score": "0.6413636", "text": "public static String getDropTable() {\n\n String...
29a9ce362db20aa72bb0e8cbd2a8098f
if it is a pawn and moves 2 spaces then it will mark if it moved2
[ { "docid": "2e9d0f5dcc32a1cab063f1690a36a575", "score": "0.6473594", "text": "public void setMoved2(boolean inpt){\n moved2 = inpt;\n }", "title": "" } ]
[ { "docid": "8fc9f051c5e0224ffedf95004c79c1a5", "score": "0.69599193", "text": "public boolean movePawn(Deck d,Pawn p) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "6affc00d27bdd15d970232c0eee3b647", "score": "0.6918824", "text": "private boolean checkPawnMove_OneSpace(Coordin...
cb5d00070bd5ac94cf97546fe65f8698
Metodo toString della classe Medico. Restituisce una breve descrizione delle sue principali caratteristiche.
[ { "docid": "5ae961c2edfca72063c6ecea735fc9b8", "score": "0.84957504", "text": "public String toString(){\n\t\tStringBuilder descrizioneMedico = new StringBuilder();\n\t\tdescrizioneMedico.append(\"Nome: \").append(nome).append(\"\\nCognome: \").append(cognome)\n\t\t.append(\"\\nID: \").append(ID).append...
[ { "docid": "68d7cae4bf5da6eac8ac09ac4c695987", "score": "0.7217367", "text": "@Override\n public String toString() {\n return \"moto: \"+super.toString();\n }", "title": "" }, { "docid": "9e45ca8b2da2b60866024173e945d513", "score": "0.71987873", "text": "@Override\n p...
10d9477b12eca3c4b4af5cec36813bee
Find one by categoria and chiave.
[ { "docid": "d688f67316f515cfd501353d968ad004", "score": "0.55452955", "text": "Optional<AppSettingsDTO> findOneByCategoriaAndChiave(String categoria, String chiave);", "title": "" } ]
[ { "docid": "560926e59ff4aa65fb9a2e7b146ff04f", "score": "0.5551154", "text": "abstract public CategoricalResults classify(double a);", "title": "" }, { "docid": "1f907a2268c2f3f009b0fdf76c117bce", "score": "0.54197985", "text": "String selectExactlyOneCategory();", "title": "" ...
b221746ca0bf194bfe703c5f8072b9ac
Issues an error message to the ImageJ log window, plus an exception stack trace to an ImageJ exception window.
[ { "docid": "3f8368e839d5b802fd21e1fcb4f8e444", "score": "0.55273175", "text": "public static void error(final String message, final Throwable t) {\n\t\tif (t != null) t.printStackTrace();\n\t\tfinal String logMessage = message != null ? message : message(t);\n\t\tif (logMessage != null) IJ.log(\"ERROR: ...
[ { "docid": "d31ad6eabd9c5347cb884676619d5a41", "score": "0.62836254", "text": "public void showMessageError(String usrMsg, Throwable e)\r\n { logger.debug(\"\");\r\n // Craft message\r\n String logMsg = usrMsg;\r\n if (e != null)\r\n { usrMsg = usrMsg + \"\\n \\n\" +\r\n \"Info...
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": "bb695718efc879b667c07a763b5615b5", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n g1p5 = new javax.swing.ButtonGroup();\n jLabe...
[ { "docid": "cd0b28bea46d143fe752578508c201dc", "score": "0.77281517", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n }", "title": "" }, { "docid": "e8b4768b3e3c4c6ca716dae9d0c39df9", "score": "0.7493432", "text": "public RealEstatesForm() {\n initCompo...
25553fd49e5cee7c4b8d7c94169b59d6
method used for explicit testsuite definition
[ { "docid": "89f4df9d9a2c3e67ea24bfea9ead1754", "score": "0.61319864", "text": "public static Test suite() {\n return createModuleTest(HelpOperatorTest.class, tests);\n }", "title": "" } ]
[ { "docid": "0251ffbc2e6fdd2f664133343e1c3d74", "score": "0.69100463", "text": "TestSuite createTestSuite();", "title": "" }, { "docid": "793eb586ca8a714aed78600ebf10aab0", "score": "0.66541284", "text": "public static Test suite() {\r\n\t\treturn new IOMdlGlobalsTestSuiteGenerics();\...
bdb343e23dcd5534dd4ee9de2156613b
Clears the value of the 'secondaryAlignment' field
[ { "docid": "5e938c416163cd4a2e313caa8fca01ce", "score": "0.816708", "text": "public org.ga4gh.models.ReadAlignment.Builder clearSecondaryAlignment() {\n secondaryAlignment = null;\n fieldSetFlags()[10] = false;\n return this;\n }", "title": "" } ]
[ { "docid": "34a104a8a8c0485c4d348db1336d6cc3", "score": "0.7065442", "text": "public org.ga4gh.models.ReadAlignment.Builder clearAlignment() {\n alignment = null;\n fieldSetFlags()[9] = false;\n return this;\n }", "title": "" }, { "docid": "844edd4c0bb68254bc09dc1bd1eecca5"...
0b30e0bd2126a6c38c1f23b847ee3ad1
Returns a sphere with normals and y tex coord rightisde up.
[ { "docid": "1a9d8f2aaf33227a34cde454179dbe20", "score": "0.4601742", "text": "public int getNmlSphereIndex(int level)\r\n\t{\r\n\t\treturn list_base + level * 4 + 2;\r\n\t}", "title": "" } ]
[ { "docid": "230012c6686a65a25bf2ed681016f777", "score": "0.61561847", "text": "private float[] getSphereVector(float radius, float x, float y) {\n // flip around the y coordinate; y increases in value towards the bottom of the screen.\n y *= -1;\n // for storing the final coordinate...
7a70673cd1ff3425a1a5c450ed8153fc
$ANTLR end T30 $ANTLR start T31
[ { "docid": "0a09abc718860f50284cdd0a6118655c", "score": "0.0", "text": "public final void mT31() throws RecognitionException {\n try {\n int _type = T31;\n // ../org.ow2.mindEd.adl/src-gen/org/ow2/mind/parser/antlr/internal/InternalAdl.g:29:5: ( ']' )\n // ../org....
[ { "docid": "4d8020efd0bb990e159bb521f92a98d8", "score": "0.60059017", "text": "private int yyr31() {\n yysp -= 4;\n return yypStatement();\n }", "title": "" }, { "docid": "58e9169159b7b4f879f415f287ee7e02", "score": "0.5993115", "text": "private int yyr30() {\n ...
d3ce7de95e1b7af04cd8106a580918bd
The insertSorted method inserts a node in the proper place in a sorted list. The method does not set the last reference.
[ { "docid": "f270c8691f3a8a6fdc179fce102dcee5", "score": "0.65989625", "text": "private Node insertSorted(Node n, Node sortedList)\n {\n \n \n //TODO: add your code\n Node current = sortedList;\n // The node n goes at the beginning if the sortedList is empty\n // or ...
[ { "docid": "a6ea0b2127da0eaf18925165048d2017", "score": "0.69910717", "text": "void sortedInsert(node newnode){\n // case for the head end\n if(sorted == null || sorted.val >= newnode.val){\n newnode.next = sorted;\n sorted = newnode;\n } else {\n no...
883d9e20c2be45cacdf1f281aee6d8c7
Converte a lista em um String.
[ { "docid": "896e2609df5275c365e0f6fb9ac833ef", "score": "0.0", "text": "public String toString() {\n\t\tStringBuffer s = new StringBuffer(\"[\");\n\t\t// inserindo os elementos no buffer\n\t\tfor (Node n = head; n != null; n = n.getNext())\n\t\t\tif (n.getElement() == null)\n\t\t\t\ts.append(\"null, \")...
[ { "docid": "c04fd68b0b2b9766fe4e4a926feaa62b", "score": "0.7116937", "text": "public ArrayList<String> convertToString() {\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tfor (int index = 0; index < size(); index++) {\n\t\t\tresultList.add(taskList.get(index).toString());\n\t\t}\n\t\...
72baa3d03acc10e81e3ca7e54aa8bf35
This method was generated by MyBatis Generator. This method sets the value of the database column t_user.status
[ { "docid": "391073740509db577f2e7e328b1e60e3", "score": "0.61014545", "text": "public void setStatus(Boolean status) {\n this.status = status;\n }", "title": "" } ]
[ { "docid": "b1f8e25f6aa52c8d9fca6d34047888fd", "score": "0.7560953", "text": "public void setStatus(UserStatus status) {\n this.status = status;\n }", "title": "" }, { "docid": "e93723f4c09278492a9b7ff55f40a509", "score": "0.7236258", "text": "@Override\n public boolean ...
f6bea4166a52c9eb413956d63cb51b29
optional string requestUtcTimestamp = 6;
[ { "docid": "fa206e46a3054d93a9753fe1cb2b4c10", "score": "0.8414008", "text": "java.lang.String getRequestUtcTimestamp();", "title": "" } ]
[ { "docid": "cdeaf6432fad8fb4f8b77e5016d93b4c", "score": "0.74309784", "text": "com.google.protobuf.ByteString\n getRequestUtcTimestampBytes();", "title": "" }, { "docid": "4fb1857e2cae18edb501fbb7d0717f9a", "score": "0.72882515", "text": "boolean hasRequestUtcTimestamp();", ...
81aa57ede7efe84133a4b8cb6473d145
Constructor for the magazine.
[ { "docid": "072eb350e06e1a7f9f461393a18a3b25", "score": "0.61026984", "text": "public itemMagazine(String aTitle, String aGenre, int aDate, int aNum, boolean isNew, String aPublisher, int aVol, int anIssue) {\n\t\tsuper(aTitle, aGenre, aDate, aNum, isNew);\n\t\tthis.setPublisher(aPublisher);\n\t\tthis.s...
[ { "docid": "9cf0e0e51e790606f8d3c8b81dfaf388", "score": "0.69023436", "text": "public Magazine(String newTitle) {\r\n title = newTitle;\r\n }", "title": "" }, { "docid": "32cc0f88d598b6a758878940e1baf5b8", "score": "0.6826642", "text": "public Magazine(String title, String ...
39a7a51985f9cd0748dae845b40a0755
metodo para hacer el registro del usuario
[ { "docid": "2960af0ac6b985428e0c887cc4b3a55f", "score": "0.0", "text": "public static Cliente registro(Vista vis, Modelo modelo) {\n\t\tJTextField dni = vis.panelRegistro.txtDni;\n\t\tJTextField nombre = vis.panelRegistro.txtNombre;\n\t\tJTextField apellido = vis.panelRegistro.txtApellido;\n\t\tJTextFie...
[ { "docid": "7d34e9815d36c4e1eb2eee3cd811088f", "score": "0.7843055", "text": "@Override\r\n\tpublic void IngresarUsuario() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5ffca224eb0c9af23aef18f09ce99ec6", "score": "0.73524004", "text": "public void insertarUsuario() {\n\t\t\n\t\t\n\t\tD...
01784a90247b5095e185157a4229065c
Creates a new instance of RotationSensorHandler.
[ { "docid": "2c2dc846324d338a6b8d7ecc6387d443", "score": "0.7082679", "text": "RotationSensorHandler(Activity activity, RotationListener listener) {\n // get a reference to the sensor service\n _rotationSensorManager = (SensorManager)activity.getSystemService(Activity.SENSOR_SERVICE);\n\n ...
[ { "docid": "0abd63a1b12e2877a0141b6b9cf8efb4", "score": "0.60218406", "text": "public RotationComponent() {}", "title": "" }, { "docid": "28277ee72837bec5a7494791406c9566", "score": "0.5719583", "text": "Sensor createSensor();", "title": "" }, { "docid": "126883807ee775bd...
1a8bdc636874b65ffd89ebbbddaba7a0
Tests the child method on an empty children list.
[ { "docid": "f79151bf71c3e0d71668bd52a2e00fe6", "score": "0.7752108", "text": "@Test(expected=NoSuchElementException.class)\n public void testChildEmptyList() {\n\t\t//Throw exceptions\n\t\tb.child(1);\n }", "title": "" } ]
[ { "docid": "7193eea08c62aac9ba8f996256c213a6", "score": "0.7052267", "text": "@Test\n\tpublic void testChild() {\n\t\tassertTrue(a.child(1) == c);\n\t\tassertTrue(a.child(0) == b);\n\t}", "title": "" }, { "docid": "821a5082a5c308cb13ac762062ca9b21", "score": "0.6597591", "text": "pub...
dcbf5f2a3909ad55e21fdb02ff38fb99
This method is used to change the block state of the member
[ { "docid": "afd852e6460b1e8de8772db35eee028d", "score": "0.65402734", "text": "public void blockMember(String memberId, boolean setBlock) {\n // Verify the input parameter\n if (memberId.length() < 1) {\n return;\n }\n //Prepare the update string\n String sq...
[ { "docid": "c1e3a4e7c690c23be53cc044835447b0", "score": "0.6755732", "text": "private DataToSetBlock() {\n }", "title": "" }, { "docid": "48a89ce34b50b1b312597c405e4b3b72", "score": "0.668133", "text": "public void setBlock(MegaBlock block) {\r\n this.block = block;\r\n }", ...
1ff43639e5139582931fe924e06aa23f
Devolve a posicao da primeira ocorrencia da string pat em txt a partir do iesimo caracter
[ { "docid": "527cb9141cb8cdcd6537257bfbac5dca", "score": "0.6560346", "text": "private int search (String txt, int i) {\n int M = pat.length();\n int N = txt.length();\n int skip;\n for (; i <= N - M; i += skip) {\n skip = 0;\n for (int j = M-1; j >= 0; j...
[ { "docid": "2c13c36c626268fb838486bffb3b8dd1", "score": "0.638131", "text": "public int search(String txt) {\n int M = pat.length();\n int N = txt.length();\n int skip;\n for (int i = 0; i <= N - M; i += skip) {\n skip = 0;\n for (int j = M-1; j >= 0; j-...
37ebc79dc3f782373028a2e11101d522
Contract: get all tickets for SheduleItem
[ { "docid": "88a0784696892a7d76c6777e1956ea17", "score": "0.64399016", "text": "public List<TicketEntity> getByPassengerAndSheduleItem(List<PassengerEntity> passengersList,\n SheduleItemEntity sheduleItem) {\n String queryStr = \"FROM Ticke...
[ { "docid": "90292b89f602964b949e3f3b6138fa55", "score": "0.61401236", "text": "public List<Ticket> getTickets() {return tickets;}", "title": "" }, { "docid": "5f2702de2376459ad601af00b59b7570", "score": "0.61205167", "text": "public List<Ticket> getAllTickets(){\n List<Ticket>...
8a6057852aaa3d1779b341b4678da9d1
/ access modifiers changed from: 0000
[ { "docid": "5eacb901ee259d8cf6a93a8a766eedd6", "score": "0.0", "text": "public void startListening() {\n ContentProviderClient acquireContentProviderClient = SliceViewManagerBase.this.mContext.getContentResolver().acquireContentProviderClient(this.mUri);\n if (acquireContentProvide...
[ { "docid": "6394149f71e2badaa8c3d9a23f9ef7d5", "score": "0.6418208", "text": "public abstract zzcci mo29233h();", "title": "" }, { "docid": "6db5017cea06afe0d428b6c46aabff63", "score": "0.6376053", "text": "protected void m9470U() {\n }", "title": "" }, { "docid": "a89...
c61a1d725b2105d7cf8146f8b7987457
repeated .Server2Client.RetrieveFileResponse.ChunkPossiblePosition chunkPossiblePosition = 3;
[ { "docid": "9261fab5998a090022d7755d29211cbf", "score": "0.5337438", "text": "@java.lang.Override\n public java.util.List<edu.usfca.cs.dfs.proto.Message.Server2Client.RetrieveFileResponse.ChunkPossiblePosition> getChunkPossiblePositionList() {\n return chunkPossiblePosition_;\n }", ...
[ { "docid": "2aa4d2e1c7c30527463a21b24a94701f", "score": "0.70000356", "text": "edu.usfca.cs.dfs.proto.Message.Server2Client.RetrieveFileResponse.ChunkPossiblePosition getChunkPossiblePosition(int index);", "title": "" }, { "docid": "fde2663ab0177a32355a758ef827b13a", "score": "0.66012824...
d234b31192457e4f2e37e21bba336b42
Gets the step Number based on V
[ { "docid": "aca7e243074c6a64fc8502d78c8986ae", "score": "0.8086759", "text": "public int getStepNumberV() {\n return stepNumberV;\n }", "title": "" } ]
[ { "docid": "f4e8e66ff8ca9621e35147bddd1398a6", "score": "0.6455385", "text": "int getStep();", "title": "" }, { "docid": "9fddf910418ad6d70cf9764631431e85", "score": "0.64079666", "text": "double getStep();", "title": "" }, { "docid": "517ff23fdacb08d1367f10b15bbdea30", ...
9b38029f61ba0ee870e7198c5434c14e
Calculate the ShannonWeaver equitability. This is the diversity normalized to a score between 0 and 1. Treat the data as proportions (each proportion data point Pi), calculate the sum of Pi log (Pi). Divide by the log (number of data points).
[ { "docid": "82beaafeb292d1162565da72b08c6f47", "score": "0.7238606", "text": "public static double equitability (final double [] data) {\n\t\tdouble diversity = diversity(data);\n\t\tdouble equitability = diversity/ Math.log(data.length);\n\t\treturn equitability;\n\t}", "title": "" } ]
[ { "docid": "b83fb2f8f9ca4fb21dc0f89cd65d19fe", "score": "0.62169945", "text": "private double entropy(List<Instance> instances) {\n if (instances.isEmpty()) return 0;\n double result = 0;\n Map<Double, Integer> summary = summarizeValues(valuesByAttribute(instances, instances.get(0)....
2b23ebebb7c2d3ef9dd082849d653da6
User data change Listener
[ { "docid": "a8fc6532fb2ff3cb936fe9ab3395a125", "score": "0.74970704", "text": "private void addUserChangeListener() {\n // User data change Listener\n mFDatabase.child(userId).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(Data...
[ { "docid": "db19845031983dc6eea7dded814e5bd2", "score": "0.7503803", "text": "private void addUserChangeListener() {\n // User data change listener\n mFirebaseDatabase.child(userId).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChang...
662b3a84bb1dc03794734a87d1d2559d
All the booking for a member are retrieved
[ { "docid": "4c56326fe261791fe5c1300b68d44a2e", "score": "0.5843095", "text": "@Test\n\tpublic void intTest09getAllBookingsForAMember() throws Exception {\n\t\tuserMemberId = \"UserTest\";\n\t\tassertTrue(\"The result should be 1\", managerHandler.getBookBookingManager().getAllBookingsForMember(userMembe...
[ { "docid": "754442300edb34ba67092f7283cfc0a2", "score": "0.7327085", "text": "public List<Booking> getAllBookings();", "title": "" }, { "docid": "32db06b5d178749ac422e1f8c0459299", "score": "0.70767576", "text": "public void getList() {\n //clear the ArrayList\n bbqList...
c6498960d6ba33e686ef5e67c68b7c01
get vertices from an ordered vertex priority queue
[ { "docid": "652a799749aef7fe33e49c980345f3a9", "score": "0.76859725", "text": "private static int[] getOrderedVertexList(TreeSet<VertexPriorityBean> q) {\n int qSize = q.size();\n int[] vList = new int[qSize];\n\n int i = 0;\n while (!q.isEmpty()) {\n vList[i] = q....
[ { "docid": "9f6663e090a504270490ae08bc5e36d8", "score": "0.76225525", "text": "UnboundedQueueInterface<Type> getToVertices(Type vertex);", "title": "" }, { "docid": "78c84dc4b24fbbd713a576fbed5d5114", "score": "0.6774012", "text": "@SuppressWarnings(\"unchecked\")\r\n @Override\r\...
7ef2510b8577d87d21a36272ddda8a18
Sorts a given array by insertion sort.
[ { "docid": "df25dfe62d63fa78a480f7e9216be730", "score": "0.71607417", "text": "public static int[] InsertionSort(int[] sortMe) {\n\t\tfor (int i = 1; i < sortMe.length; i++) {\n\t\t\tint elem = sortMe[i];\n\t\t\tint index = i - 1;\n\t\t\twhile (index >= 0 && sortMe[index] > elem) {\n\t\t\t\tsortMe[index...
[ { "docid": "33700b1d64e4f2db534aa1449af4c76b", "score": "0.8218271", "text": "public static void insertionSort(int[] array) {\n for (int i = 1; i < array.length; i++) {\n int temp = array[i];\n int k;\n \n for (k = i - 1; k >= 0 && array[k] > temp; k--)...
0c8695f6f2be28e46c3beedff6728532
Get configuration value: JaCoCoverage themePrefix.
[ { "docid": "2db83434f7f666a8869a8b3f764cc351", "score": "0.5098171", "text": "public static int getCfgTheme() {\n return pref.getInt(GlobalsOfConfig.PROP_THEME, GlobalsOfConfig.DEF_THEME);\n }", "title": "" } ]
[ { "docid": "12d0f1ed529a13b4f779676712ad4020", "score": "0.59060144", "text": "String getPropertyPrefix();", "title": "" }, { "docid": "6963b64ece89004f8a2ac54de9040fed", "score": "0.57495856", "text": "public String getPrefix() {\n return prefix.getValue();\n }", "titl...
417e25e388b2c78f33800ba9481548c5
Thread discoveryThread = new Thread(DiscoveryThread.getInstance()); discoveryThread.start();
[ { "docid": "6630e260de6c72eaf50f3d9f734d6cb8", "score": "0.0", "text": "public static void run(String uri) {\n try {\n ServerSocket serverSocket = new ServerSocket(5000);\n\n while (true) {\n System.out.println(\"Fingerprint server is running\");\n ...
[ { "docid": "f7770df3b09d83ef1139c5110dfac542", "score": "0.6737587", "text": "private void doDiscovery() {\n try {\n\t\t\t_deviceProvider.beginDiscovery(this, this);\n\t\t} catch (Exception e) {\n\t\t\tUIHelper.ShowAlertDialog(this, \"Unable to start discovery\", \"Unable to start discovery: \" +...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8ed6ece15d4c1ae1264944e241952dc5", "score": "0.0", "text": "public void deleteAuthorByName(String name) throws DataAccessException {\n\t\tAuthor author = getAuthorByName(name);\r\n\t\tdeleteAuthor(author.getId());\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.68310827", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67588294", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\...
574204603842605a9350ef5012700414
add blank item to inventory
[ { "docid": "a6ff71dfede78b7b27fd2db587160d6c", "score": "0.683025", "text": "public void addItem(Inventory inventory){\n InventoryItem newItem = new InventoryItem();\n inventory.addItem(newItem);\n }", "title": "" } ]
[ { "docid": "26b4c03caf2a1266fdfd5509b67b895e", "score": "0.7107795", "text": "public void addItem(Item i){\r\n inventory1.add(i);\r\n }", "title": "" }, { "docid": "fb1ff66d252508aba255adfbb2f36b32", "score": "0.6980173", "text": "public static void addItem(InventoryItem in...
6fa6b58d5e41f8388ffe1ff42e513416
Make a new connection to a Group Router
[ { "docid": "d022c8ecd23ed7f16a5e1f208b10f921", "score": "0.7195003", "text": "private void connectToGroupRouter(String grIP, int port) {\r\n\t\ttry{\r\n\t\t\t// Setup the server side connection data to Group Router\r\n\t\t\tgroupRouterAddress = InetAddress.getByName(grIP);\r\n\t\t\tendpoint = new InetSo...
[ { "docid": "1613cbbf03463eec3282e4ddb7f78245", "score": "0.6253702", "text": "private void spawnOutgoingConnections() {\n \t}", "title": "" }, { "docid": "39fd37642cf5e388ae4813af4002f4b6", "score": "0.5722347", "text": "public void createGroup() {\n\n mManager.createGroup(mCh...
5a7b8b76fe3f15b44669716a65284329
check if blindSpot was already registered
[ { "docid": "1a479000a8428e529e3ca5a5b043865e", "score": "0.5298862", "text": "private boolean checkIfRepeated(JSONObject loc) {\n String lat;\n String lon;\n\n try {\n // for minimum of 60 meters radius\n lat = loc.get(\"latitude\").toString().substring(0, 6); ...
[ { "docid": "ec057c5b79c5bacc92e80fb7db40e680", "score": "0.6109953", "text": "Boolean isSpot();", "title": "" }, { "docid": "d4fd49548a60b73b4afa438d7ec07dc5", "score": "0.5834894", "text": "public boolean checkSpot() {\n return this.piece == null;\n }", "title": "" }...
ef95bc290350421a511e117b6a5b56a9
pre: none post: returns the data values of the tree in preorder traversal
[ { "docid": "47a4bdf6ef1e62354bae6de2c5fc7754", "score": "0.61387825", "text": "private String getPreOrder(IntTreeNode root, String result) {\r\n if (root != null) {\r\n result = result + root.data + \" \";\r\n result = getPreOrder(root.left, result);\r\n result = ...
[ { "docid": "063bcaa1abbd899c67a0a84568b3a9c5", "score": "0.72572756", "text": "public List<Integer> preorderTraversal(TreeNode root) {\n /**\n * stack\n */\n// Stack<TreeNode> stack = new Stack<>();\n// List<Integer> list = new ArrayList<>();\n// if(root == nu...
d7f9dc327e52c9d0a423ebba60c02efd
if one of the two calls returned null while the other didn't return null, the test fails
[ { "docid": "da96cc63f48e631e120358ac20b636f8", "score": "0.0", "text": "private void comparePolicySets(Set<PolicyReader> rs, Set<PolicyReader> ts) {\n\t\tif ((rs == null) && (ts != null) || (rs != null) && (ts == null)) {\n\t\t fail(\"getPolicies returns null when it should return non-null or vice ve...
[ { "docid": "d389500d4a110d4dc0778f62b0015238", "score": "0.7089731", "text": "private void checkRep() {\n assert first != null;\n assert second != null;\n }", "title": "" }, { "docid": "fba16340144d3395b583eb6ff49d5039", "score": "0.6425992", "text": "private void ch...
998548388f0a8a74298c7ea8a88c1f21
Computes the inclusive element index that the provided chunk starts at, given there are a certain number of chunks.
[ { "docid": "720ceaec21bc721809f130d729f3fdeb", "score": "0.79493666", "text": "private static int getChunkStartInclusive(final int chunk, final int nChunks, final int nElements) {\n\t\tfinal int chunkSize = getChunkSize(nChunks, nElements);\n\t\treturn chunk * chunkSize;\n\t}", "title": "" } ]
[ { "docid": "b67e53beabb56771d989fab8b3953668", "score": "0.6531624", "text": "int getStart(int index);", "title": "" }, { "docid": "5ce7e910c9466e8ade1c3ac654f16d59", "score": "0.63482994", "text": "public int getStartingIndex();", "title": "" }, { "docid": "61361d07cbe75...
cf5c526a29fbe013019015fe5f33c870
/ (nonJavadoc) Schrijven naar rij met devNaam of nieuwe rij aanmaken met devNaam
[ { "docid": "ee1d2185ab79ebedda7ca358a81b9056", "score": "0.0", "text": "@Override\r\n\tprotected String doInBackground(String... params) {\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\").newInstance();\r\n\r\n\t\t\tif (isInternal) {\r\n\t\t\t\turl = \"jdbc:mysql://192.168.2.5:3306/project...
[ { "docid": "174462400ed7e7fd19e42f91bcb85b4b", "score": "0.5804268", "text": "public static void developerInfo() {\r\n System.out.println(\"\");\r\n System.out.println(\"*************************************************\");\r\n System.out.println (\"Name: Allison Crenshaw\");\r\n...
517d27a7449731a31e5a5f644e44a120
Check which data organization view will be returned.
[ { "docid": "352ca5067f6817c13867b998b84921d5", "score": "0.0", "text": "@Override\n public Response prepareStream(DigitalObject object) throws IOException {\n List<String> views = DataOrganizerFactory.getInstance().getDataOrganizer().getViews(object.getDigitalObjectId());\n //View 'publ...
[ { "docid": "02ed30b5adee85031692993ef32f2e97", "score": "0.6635927", "text": "public boolean hasOrganizations();", "title": "" }, { "docid": "d768fbccca1512f3972d1b00d7cdd506", "score": "0.60123354", "text": "public boolean getOrganization(){\r\n return...
758fc8f6552eba2622f0b17ba1e9c10d
when(matchingEngine.takeLiquidity(any())).thenReturn(null); eventDistributor.handleClientRegisterRequested(new ClientRegisterRequested(1)); eventDistributor.handleOrderCreated(new OrderCreated(1, 100, 200, Side.BUY)); verifyOrderRejected("An internal error occurred");
[ { "docid": "6697af7bd0e87e51bbcbb051bcb20319", "score": "0.57337606", "text": "@Test\n public void orderCreatedNullLiquidity() throws NoQuantityException {\n }", "title": "" } ]
[ { "docid": "dbe37cc2f773ab20fe20b9437a67a192", "score": "0.655866", "text": "@Test\n public void sendPotentialDemandsToNewSupplier() {\n final Supplier myNewSupplier = new Supplier();\n final List<Category> category1 = Arrays.asList(createCategory(1L));\n final List<Locality> loc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9df7b0786025a10786b06a280e75b86e", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"C:\\\\Users\\\\AshwiniND\\\\Downloads\\\\Java instal\\\\geckodriver-v0.24.0-win64\\\\geckodriver.exe\");\r\n\t\tWebDriver driver = new Fi...
[ { "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}"...
ffc8bdb36fc871b8c25263ab562190ad
Section 3.3.8 With statement context
[ { "docid": "39d936cc5a19201d9ec1ddf2cc4e0248", "score": "0.4513227", "text": "public org.python.Object __enter__() {\n throw new org.python.exceptions.AttributeError(this, \"__enter__\");\n }", "title": "" } ]
[ { "docid": "5205ce4c760a9afa3de49c483ab3a1db", "score": "0.6806314", "text": "@Override\n\t\tpublic AstNode visitWith_stmt(PythonParser.With_stmtContext ctx) {\n\t\t\tList<WithItem> items = ctx.with_item().stream()\n\t\t\t\t\t.map(e -> (WithItem) e.accept(this))\n\t\t\t\t\t.collect(Collectors.toList());...
d6db43cf5807b93e2d7fdfb8892b7f74
Sets specific media ID that is similar in appearance to an asset in search Params for searching similar files.
[ { "docid": "10bf134bc124996299690dd559d0d324", "score": "0.60834795", "text": "public SearchParameters setSimilar(final int similar) {\n if (similar <= 0) {\n throw new IllegalArgumentException(\n \"Should be a valid previous mediaId\");\n }\n this.mSim...
[ { "docid": "91eecbf37124e8b5cb8e0a5cfad99631", "score": "0.68980247", "text": "public SearchParameters setMediaId(final int mediaId) {\n\n if (mediaId <= 0) {\n throw new IllegalArgumentException(\"Should be a valid Media Id\");\n }\n this.mMediaId = mediaId;\n ret...
af4f0e5740f25a3b0928c8c9e83a0e79
/ notification message configurations
[ { "docid": "cb85fff97c41a324a8e91a4e0faff529", "score": "0.0", "text": "public String getStartJobMessage() {\n return startJobMessage;\n }", "title": "" } ]
[ { "docid": "8268ba5c21423c46ee431db34adb50e7", "score": "0.66442186", "text": "public void config(String msg);", "title": "" }, { "docid": "93ff2c433b48aee6f26d34567a51c8e1", "score": "0.61097944", "text": "private void sendNotification() {\n\t}", "title": "" }, { "docid"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f0a33c05e35c60b87406347405aa07e2", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.buttons1);\n\t\tsong = MediaPlayer.create(Menu.this, R.raw.zelda);\n\t\tsong.start();\n\t\t\n\t\...
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
ebe99276df013cb8f27221b969768157
new Car() is the object of car class new keyword is used to creat object
[ { "docid": "799e66ba3c3b55e147fe9002eab7a16e", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tCar a=new Car(); //object creation , here a:object reference variables\n\t\tCar b =new Car();\n\t\tCar c=new Car();\n\t\t\n\t\ta.mod=2015;\n\t\ta.wheel=4;\n\t\t\n\t\tb.mod=2014;\n\t\tb.w...
[ { "docid": "f62ea9c0aaf649d602cb566269580422", "score": "0.78507537", "text": "public Car(){\n\t\t\n\t}", "title": "" }, { "docid": "a632d99b5a009604109ab68cc5432c84", "score": "0.76471376", "text": "public Car() {\n }", "title": "" }, { "docid": "ee4912dfc48321d85a241...
87f73b6fd9b006cf9f2148272c6e999d
Convert the given object to string with each line indented by 4 spaces (except the first line).
[ { "docid": "b903fcab4b14ca87d4e227121a31edfa", "score": "0.0", "text": "private String toIndentedString(java.lang.Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" } ]
[ { "docid": "841a48a612f085a3199e6e4b62c60fbc", "score": "0.7466027", "text": "private String toIndentedString(Object o) {\n if (o == null) { return \"null\"; }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" }, { "docid": "060c307f35bb4b6b5f41e4ead15de...
23961122874e38a73a05aee235134ca0
The height of this EventView.
[ { "docid": "c4e2832cab878c26d9253f4dd77e2ddc", "score": "0.70317173", "text": "public int eventHeight() {\r\n float sMin = Integer.parseInt(e.getStartTime().substring(2));\r\n float eMin = Integer.parseInt(e.getEndTime().substring(2));\r\n float sHour = Integer.parseInt(e.getStartTi...
[ { "docid": "cd40b072a5cbbda26b06d548a2b76fd6", "score": "0.74207693", "text": "public int height() {\r\n if (view != null) {\r\n ViewGroup.LayoutParams layoutParams = view.getLayoutParams();\r\n return layoutParams.height;\r\n }\r\n return 0;\r\n }", "ti...
fa70b9b373e451c4f64319e9e6e30465
method to simply generate random moves
[ { "docid": "e2644156246f82fbf40acfd6a16a5fcb", "score": "0.69095916", "text": "Move selectRandomMove(Board theBoard) {\n MoveList list = theBoard.generateMoves();\r\n int r = rand(list.size());\r\n return list.get(r);\r\n }", "title": "" } ]
[ { "docid": "c793037030e12106034bb7512c771f8b", "score": "0.76178086", "text": "public void makeRandomMove() {\n\t\tRandom myRandom = new Random();\n\t\t// We can move in one of four directions (North, South, East, or West)\n\t\tint direction = myRandom.nextInt(4);\n\t\t// Get all four neighboring locati...
741c7da3044b3bb9100548992d3e8f8f
Create an JsonConsumer from a path
[ { "docid": "e1b3ae7d2f945e12d9c4079818163f48", "score": "0.8514753", "text": "public static JsonConsumer newConsumer(Path path) throws Exception {\n return JsonStreamSpec.with(path).consumer();\n }", "title": "" } ]
[ { "docid": "c96913915bc178fae77a7a7bac50e089", "score": "0.8605594", "text": "public static JsonConsumer newConsumer(String path) throws Exception {\n return JsonStreamSpec.with(path).consumer();\n }", "title": "" }, { "docid": "6fcd6155d31fbbb4dfcb3c4641dccb1f", "score": "0.56...
1d3f798f34a85829293372349c4ce375
/ Unable to fully structure code Enabled aggressive block sorting Lifted jumps to return sites
[ { "docid": "64a97fbd511bd5919b08f34bc6918be3", "score": "0.0", "text": "@Override\n protected boolean showOrClearStorageErrorPopup(StorageController.StorageState var1) {\n var2_2 = -1;\n var3_3 = R.string.cam_strings_error_memory_title_txt;\n if (this.isCurrentStorageExternal()) ...
[ { "docid": "ea97cf060879cffc1b7bef111f282d29", "score": "0.6016002", "text": "final void fallbackSortImpl(int nblock) {\n final int[] ftab = new int[257];\n int H, i, j, k, lo, hi, cc, cc1;\n int nNotDone;\n int nBhtab;\n final int[] eclass = getEclass();\n\n fo...
69f094f2069386013cd1c96fd2616e86
Entry Timestamp of creation
[ { "docid": "01638420705026a0c75f2bcccdbf4bc7", "score": "0.7397749", "text": "@ApiModelProperty(value = \"Entry ** Timestamp of creation\")\n public DateTime getCreationDate() {\n return creationDate;\n }", "title": "" } ]
[ { "docid": "f917e23d926b190d7382e827f971c976", "score": "0.80404353", "text": "Instant getCreationTimestamp();", "title": "" }, { "docid": "206b43d431c23dffcf9e1d79bbe002e5", "score": "0.80307364", "text": "java.lang.String getCreationTimestamp();", "title": "" }, { "doci...
065539927a169b3febd9ec7accc4df77
Acessa o banco para obter uma lista de qualquer entidade que implemente a interface Persitivel.
[ { "docid": "3b42f8c7d2ee58192054af65124e84ed", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic static List<? extends Persistivel> listarPersistiveis(\n\t\t\tClass<? extends Persistivel> classe) {\n\n\t\tSession s = Configuracao.openNewSession();\n\n\t\tList<? extends Persistivel> lis...
[ { "docid": "c518cd6f36027304bc84453e59894c8b", "score": "0.6886485", "text": "@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\r\n\tpublic List<Especializacion> listar() {\r\n\t\tQuery q = em.createNamedQuery(Especializacion.LISTAR_ESPECIALIZACIONES);\r\n\t\tList<Especializacion> lista = q....
b444bac06186aa153c1cf277c75150e3
Metodo que adiciona o voo na lista.
[ { "docid": "2a0c422d4312a181526991d53a041046", "score": "0.63713145", "text": "public void addVoo() {\n\t\tboolean isOver = false; //arrumar\n\t\twhile(!isOver){\n\t\t\ttry{\n\t\t\t\tscanner = new Scanner(System.in);\n\t\t\t\tout.println(\"Digite o codigo do voo:\");\n\t\t\t\tint codVoo = scanner.nextIn...
[ { "docid": "2baa4fb5f3e885112dd70917b90b0cdb", "score": "0.6758085", "text": "public void add(Nodo nuevo){\r\n //PRIMERO VERIFICAR SI LA LISTA ESTÁ VACÍA\r\n if(isEmpty()){\r\n inicio = nuevo;\r\n fin = nuevo;\r\n }else{\r\n /*Nodo temp = inicio;\r\n...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c0da6cb877488df99aae3a1ffe74397f", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tint[] arr= {72,6,57,88,60,42,83,73,48,85};\n\t\theapSort(arr);\n\t\tSystem.out.println(Arrays.toString(arr));\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
6e6ac07b696369918f7d9c32afd6263a
Write code here that turns the phrase above into concrete actions
[ { "docid": "59976ae1926c4d27901a169ecdc7e86e", "score": "0.0", "text": "@When(\"I call row 4 and column {float} data\")\n public void i_call_row_and_column_data(float num2) {\n }", "title": "" } ]
[ { "docid": "fb0cda63b6dd91e2109dfbe08043bfee", "score": "0.7189285", "text": "public void action(String text);", "title": "" }, { "docid": "b7107a4c04b84518c13594ed36ede91d", "score": "0.69798017", "text": "@Override\n\tpublic void action(String action) {\n\t\t\n\t}", "title": ""...
18fdc0d5c7c7b22794e43597f1a7ee60
Function Description: Selects the value from Drop down Function parameters: String xpath Function Return Type: String Author: Puneeta Mishra, Date: 03March2015
[ { "docid": "48c546933766950707a7cfda00de36dd", "score": "0.55412394", "text": "public String Select_DD(By by, String Value){\n\t\tSelect s1= new Select(driver.findElement(by));\n\t\ts1.selectByVisibleText(Value);\n\t\treturn Value+ \"is selected in drop down\";\n\t}", "title": "" } ]
[ { "docid": "d4ca8441b3d40cfee695005f8060ac4f", "score": "0.6738174", "text": "public void select_DropDown(String element, String xpath, String selectText) {\r\n goToSleep(2000);\r\n driver.findElement(By.xpath(element)).click();\r\n if (driver.findElements(By.xpath(xpath)).size() > ...