query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
action method that handles adapter logic when viewholder is created
@Override public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view = inflater.inflate(R.layout.item_notification_cardview, parent, false); MyViewHolder holder = new MyViewHolder(view); return holder; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n viewModel.holderClicked();\n }", "@Override\n public void onClick(View view) {\n update(holder.getAdapterPosition());\n }", "public ViewHolder(View itemView) {\n super(itemView);\n ...
[ "0.7132698", "0.68727595", "0.683344", "0.6613152", "0.6593133", "0.6588389", "0.65078413", "0.6490654", "0.6468975", "0.6462552", "0.64565486", "0.64553475", "0.64280266", "0.64270616", "0.64264697", "0.6419708", "0.64148265", "0.6414241", "0.64100385", "0.63804096", "0.6362...
0.0
-1
action method that handles adapter logic when viewholder is bound
@Override public void onBindViewHolder(MyViewHolder holder, int position) { Note selectedNote = mNoteWithNotificationList.get(position); if (selectedNote != null) holder.setData(selectedNote, position); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View view) {\n update(holder.getAdapterPosition());\n }", "@Override\n public void onClick(View v) {\n viewModel.holderClicked();\n }", "@Override\n public void onClick(View view) {\n ...
[ "0.7204457", "0.7159267", "0.7116257", "0.6663429", "0.66389775", "0.64861983", "0.6468425", "0.64486456", "0.644671", "0.6413249", "0.638495", "0.6287612", "0.62713", "0.62557757", "0.6249456", "0.62436616", "0.6236638", "0.6230575", "0.62123954", "0.6210028", "0.62086", "...
0.0
-1
method that sets viewholder text information
public void setData(Note selectedNote, int position) { this.notificationTitle.setText(selectedNote.getTitle()); this.notificationDescription.setText(selectedNote.getNotification().getDate()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void setTextView(String str) {\n\t\t\t\t\ttextView_setpsd_info.setText(str);\n\t\t\t\t}", "@Override\n\t\t\tpublic void setTextView(String str) {\n\t\t\t\t\n\t\t\t}", "private void setInfo(String info) {\n// TextView textView = (TextView) findViewById(R.id.info);\n// tex...
[ "0.7262462", "0.71385473", "0.70017636", "0.69664687", "0.6889642", "0.6788282", "0.6750717", "0.66843843", "0.66559106", "0.6653416", "0.6636228", "0.6623894", "0.6590676", "0.6574596", "0.656413", "0.6518085", "0.6498403", "0.6481463", "0.6458753", "0.64231867", "0.6421884"...
0.0
-1
method that handles click actions on viewholder
@Override public void onClick(View v) { if (v == deleteNotification) { deleteNotification(getLayoutPosition()); } else if (v == notificationSelectionLinearLayout) { openNotification(getLayoutPosition()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n viewModel.holderClicked();\n }", "private void OnClick(){\n onWidgetClickListener.onClick(getViewId());\n }", "@Override\n public void onClick(View view) {\n clickListener.onItemClicked(...
[ "0.820963", "0.7723239", "0.7494976", "0.7415016", "0.7339536", "0.71976346", "0.7189379", "0.7152546", "0.7142852", "0.7139972", "0.7139972", "0.7139972", "0.71314067", "0.71314067", "0.71314067", "0.71314067", "0.7120473", "0.7110048", "0.7107733", "0.71031296", "0.71031296...
0.0
-1
method that handles delete notification operations
private void deleteNotification(int position) { Notification notificationToDelete = mNoteWithNotificationList.get(position).getNotification(); Boolean returnVal = db.deleteNotification(notificationToDelete); ArrayList<Note> notes = db.getAllNotes(); if (returnVal) { notifyRemoved(position); int calendarReadPermission = ContextCompat.checkSelfPermission(activity, Manifest.permission.READ_CALENDAR); int calendarWritePermission = ContextCompat.checkSelfPermission(activity, Manifest.permission.WRITE_CALENDAR); if (calendarReadPermission == PermissionChecker.PERMISSION_GRANTED && calendarWritePermission == PermissionChecker.PERMISSION_GRANTED) { int deletedRows = 0; deletedRows = calendarSync.deleteCalendarEntry(activity.getApplicationContext(), notificationToDelete.getId()); if (deletedRows > 0) { Toast.makeText(activity, activity.getResources().getString(R.string.calendar_event_deleted), Toast.LENGTH_LONG).show(); } } } else { Toast.makeText(activity, activity.getResources().getString(R.string.notification_delete_error), Toast.LENGTH_LONG); } refresh(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onDelete();", "@Override\n\t\tpublic void onDeletionNotice(long arg0, long arg1) {\n\t\t\t\n\t\t}", "@Override\r\n public void onDeletionNotice(StatusDeletionNotice statusDeletionNotice) {\n }", "@Override\r\n public void onDeletionNotice(StatusDeletionNotice statusDelet...
[ "0.7686615", "0.751289", "0.7500024", "0.7500024", "0.74519837", "0.74519837", "0.7451535", "0.7443584", "0.73874897", "0.73454136", "0.7288589", "0.72874737", "0.72661126", "0.7262778", "0.7261597", "0.7261187", "0.7260653", "0.7239777", "0.7230315", "0.7224888", "0.718087",...
0.70336914
33
method that applies open notification operations
private void openNotification(int position) { Notification notificationToOpen = mNoteWithNotificationList.get(position).getNotification(); try { db.getNotificationFromNotificationID(notificationToOpen.getId()); Intent intent = new Intent(activity.getApplicationContext(), NotificationEditorActivity.class); intent.putExtra("NOTIFICATION_ID", notificationToOpen.getId()); activity.startActivityForResult(intent, 0); } catch (Exception e) { Toast.makeText(activity, activity.getResources().getString(R.string.notification_open_error), Toast.LENGTH_LONG); } refresh(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void notificationOpened(OSNotificationOpenResult result)\n\t\t{\n\t\t\tLog.d(LCAT, \"com.williamrijksen.onesignal Notification opened handler\");\n\t\t\tif (TiApplication.getAppCurrentActivity() != null && getModuleInstance() != null) {\n\t\t\t\ttry {\n\t\t\t\t\tif (result.notification.payloa...
[ "0.6600649", "0.6390498", "0.6374797", "0.6319019", "0.62908506", "0.61400664", "0.6107675", "0.60944253", "0.6090283", "0.60874265", "0.60730547", "0.6069211", "0.6033791", "0.5964647", "0.59427744", "0.5927402", "0.58993214", "0.5872855", "0.5826614", "0.5816265", "0.581025...
0.6375392
2
method that refreshes viewholder components
private void refresh() { ArrayList<Note> notes = db.getAllNotes(); ArrayList<Note> notesWithNotification = new ArrayList<Note>(); for (int index = 0; index < notes.size(); index++) { if (notes.get(index).getNotification() != null) { notesWithNotification.add(notes.get(index)); } } mNoteWithNotificationList = notesWithNotification; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void refreshView() {\n\n\t}", "@Override\n\tprotected void refreshView() {\n\t\t\n\t}", "@Override\n public void onRefresh() {\n synchronizeContent();\n }", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void reloadView() {\n ...
[ "0.7674117", "0.7639764", "0.7509783", "0.7502533", "0.7372973", "0.73070264", "0.73063886", "0.72106135", "0.7171527", "0.7081447", "0.70761824", "0.7058435", "0.7038533", "0.70359796", "0.6995297", "0.6992712", "0.6951665", "0.69378966", "0.69254243", "0.6914643", "0.690941...
0.0
-1
notifies when an item is removed from viewholder
public void notifyRemoved(int position) { notifyItemRemoved(position); notifyItemRangeChanged(position, mNoteWithNotificationList.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void notifyListItemRemoved(int position);", "void onDeleteItem(E itemElementView);", "public void itemRemoved(E item);", "public void itemRemoved(boolean wasSelected);", "void onItemDeleted();", "@Override\n public void onItemDismiss(int position) {\n dummyDataList.remove(position);\n no...
[ "0.81027365", "0.7725126", "0.76632124", "0.7424219", "0.724602", "0.72101295", "0.71674776", "0.7101698", "0.704225", "0.7012144", "0.69261414", "0.69209373", "0.69100374", "0.6845712", "0.677815", "0.67680526", "0.67564964", "0.67299217", "0.67143", "0.66753405", "0.6655664...
0.7228534
5
notifies when an item is inserted into viewholder
public void notifyInserted(int position) { notifyItemInserted(position); notifyItemRangeChanged(position, mNoteWithNotificationList.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void notifyListItemInserted(int position);", "@Override\n public void notifyItemInserted(int index, int count, int viewType) {\n int pos = index == count - 1 ? getItemCount() : flatPos(index, viewType);\n types.add(pos, viewType);\n /*Notificar al adapter después de la inserción [EN] N...
[ "0.7774553", "0.7050932", "0.69771945", "0.67927", "0.66741526", "0.6393255", "0.6370566", "0.6320603", "0.6263901", "0.62604016", "0.62201136", "0.61929476", "0.61892706", "0.61485827", "0.61243933", "0.6123042", "0.61169815", "0.611355", "0.61047626", "0.6084451", "0.603994...
0.6980901
2
notifies when dataset is changed
public void notifyChanged() { notifyDataSetChanged(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DISPID(-2147412072)\n @PropPut\n void ondatasetchanged(\n java.lang.Object rhs);", "public void dataSetChanged() {\n\n\t\tif (!isPackValid())\n\t\t\treturn;\n\n\t\t// update charts:\n\t\tupdateCharts();\n\n\t}", "public void dataChanged() {\n\t\tif (wijzigInfo)\n\t\t\twijzigInfo();\n\n\t\tsetChanged();\n...
[ "0.831111", "0.7962473", "0.794816", "0.7900978", "0.783313", "0.77924347", "0.7768093", "0.76170444", "0.76170444", "0.7614235", "0.75116104", "0.74593335", "0.7388132", "0.7370509", "0.73500925", "0.72908455", "0.72614384", "0.7155688", "0.71069294", "0.6973261", "0.6923771...
0.0
-1
Indicates if there was an error in the state query process.
@Override public boolean hasError() { return super.hasError() || (answerCode != null && answerCode == GeneralAnswerCode.FAIL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean errorState();", "public boolean isInError()\r\n {\r\n return myCurrentState.equals(State.ERROR);\r\n }", "public String getErrorState();", "public synchronized boolean isErrored() {\n return error != null;\n }", "public boolean hasError() {\n\t\treturn results.getErrors().co...
[ "0.7033087", "0.6989432", "0.6575498", "0.6504563", "0.6392268", "0.6344295", "0.63053846", "0.6270034", "0.6189984", "0.6168981", "0.61056376", "0.61005116", "0.6081185", "0.6066592", "0.6063854", "0.60421026", "0.6033851", "0.6033283", "0.60271764", "0.60271764", "0.6027176...
0.52592605
75
This method deletes Association.
public List<String> deleteAssociation(String srcName, String targetName) throws SQLException, IOException { final int sourceEntityId = UpdateMetadataUtil.getEntityIdByName(srcName, this.connection .createStatement()); final int targetEntityId = UpdateMetadataUtil.getEntityIdByName(targetName, this.connection .createStatement()); final List<String> deleteSQL = this.deleteAssociation(sourceEntityId, targetEntityId); return deleteSQL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteAgence(Agence a) {\n\t\t\n\t}", "void clearAssociations();", "boolean removeAssociation(AssociationEnd association);", "@Override\n\tpublic void deleteByOid(int oaId) {\n\t\tdesignMapper.deleteByOid(oaId);\n\t}", "@DELETE\n public void delete() {\n PersistenceServic...
[ "0.6805526", "0.6510566", "0.64176553", "0.6143485", "0.6069021", "0.6037303", "0.60362244", "0.60248107", "0.5956618", "0.5939247", "0.5936528", "0.58744746", "0.5845786", "0.5834566", "0.5824405", "0.5822734", "0.5817327", "0.579702", "0.5796174", "0.57947814", "0.57916176"...
0.0
-1
This method deletes Association.
public List<String> deleteAssociation(int sourceEntityId, int targetEntityId) throws SQLException { final List<String> deleteSQL = new ArrayList<String>(); String sql; final List<Long> roleIdMap = this.getSourceSQL(deleteSQL, sourceEntityId, targetEntityId); roleIdMap.addAll(this.getSourceSQL(deleteSQL, targetEntityId, sourceEntityId)); for (final Long srcRoleId : roleIdMap) { if (srcRoleId != null) { sql = "delete from dyextn_role where IDENTIFIER=" + srcRoleId; deleteSQL.add(sql); } } return deleteSQL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteAgence(Agence a) {\n\t\t\n\t}", "void clearAssociations();", "boolean removeAssociation(AssociationEnd association);", "@Override\n\tpublic void deleteByOid(int oaId) {\n\t\tdesignMapper.deleteByOid(oaId);\n\t}", "@DELETE\n public void delete() {\n PersistenceServic...
[ "0.6805526", "0.6510566", "0.64176553", "0.6143485", "0.6069021", "0.6037303", "0.60362244", "0.60248107", "0.5956618", "0.5939247", "0.5936528", "0.58744746", "0.5845786", "0.5834566", "0.5824405", "0.5822734", "0.5817327", "0.579702", "0.5796174", "0.57947814", "0.57916176"...
0.0
-1
This method gets Source SQL.
public List<Long> getSourceSQL(List<String> deleteSQL, int sourceEntityId, int targetEntityId) throws SQLException { String sql; Long srcRoleId = null; Long targetRoleId = null; Long deAssociationId = null; final List<Long> roleIdMap = new ArrayList<Long>(); sql = "select INTERMEDIATE_PATH from path where FIRST_ENTITY_ID =" + sourceEntityId + " AND LAST_ENTITY_ID = " + targetEntityId; this.stmt = this.connection.createStatement(); final ResultSet rs = this.stmt.executeQuery(sql); try { while (rs.next()) { final String intermediatePathId = rs.getString(1); sql = "delete from path where INTERMEDIATE_PATH ='" + intermediatePathId + "'"; deleteSQL.add(sql); final StringTokenizer st = new StringTokenizer(intermediatePathId, "_"); while (st.hasMoreTokens()) { final String pathId = st.nextToken(); sql = "delete from path where INTERMEDIATE_PATH ='" + pathId + "'"; deleteSQL.add(sql); sql = "select DE_ASSOCIATION_ID" + " from intra_model_association where ASSOCIATION_ID=" + pathId; final Statement stmt2 = this.connection.createStatement(); final ResultSet rs2 = stmt2.executeQuery(sql); if (rs2.next()) { deAssociationId = rs2.getLong(1); sql = "select DIRECTION,SOURCE_ROLE_ID,TARGET_ROLE_ID" + " from dyextn_association where identifier = " + deAssociationId; final Statement stmt3 = this.connection.createStatement(); final ResultSet rs3 = stmt3.executeQuery(sql); if (rs3.next()) { if (rs3.getString(1).equals("BI_DIRECTIONAL")) { srcRoleId = rs3.getLong(2); targetRoleId = rs3.getLong(3); roleIdMap.add(srcRoleId); roleIdMap.add(targetRoleId); } } rs3.close(); stmt3.close(); } rs2.close(); stmt2.close(); sql = "select identifier" + " from dyextn_constraint_properties" + " where ASSOCIATION_ID = " + deAssociationId; final Statement stmt1 = this.connection.createStatement(); final ResultSet rs1 = stmt1.executeQuery(sql); if (rs1.next()) { final Long constraintId = rs1.getLong(1); sql = "delete from dyextn_column_properties where cnstr_key_prop_id in " + "(select identifier from dyextn_constraintkey_prop where " + "src_constraint_key_id=" + constraintId + " or tgt_constraint_key_id=" + constraintId + ")"; deleteSQL.add(sql); sql = "delete from dyextn_constraintkey_prop where src_constraint_key_id=" + constraintId + " or tgt_constraint_key_id=" + constraintId; deleteSQL.add(sql); sql = "delete from dyextn_constraint_properties" + " where identifier = " + constraintId; deleteSQL.add(sql); sql = "delete from dyextn_database_properties where identifier = " + constraintId; deleteSQL.add(sql); } rs1.close(); stmt1.close(); sql = "delete from intra_model_association" + " where ASSOCIATION_ID =" + pathId; deleteSQL.add(sql); sql = "delete from association where ASSOCIATION_ID =" + pathId; deleteSQL.add(sql); sql = "delete from dyextn_association where IDENTIFIER=" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_attribute where identifier =" + deAssociationId; deleteSQL.add(sql); sql = "delete from DYEXTN_BASE_ABSTRACT_ATTRIBUTE where identifier=" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_tagged_value where ABSTRACT_METADATA_ID=" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_semantic_property where ABSTRACT_METADATA_ID=" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_primitive_attribute where identifier =" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_rule_parameter" + " where RULE_ID =(select IDENTIFIER" + " from dyextn_rule where ATTRIBUTE_ID =" + deAssociationId + ")"; deleteSQL.add(sql); sql = "delete from dyextn_rule where ATTRIBUTE_ID =" + deAssociationId; deleteSQL.add(sql); sql = "delete from dyextn_abstract_metadata where identifier=" + deAssociationId; deleteSQL.add(sql); } } if (srcRoleId != null) { sql = "delete from dyextn_role where IDENTIFIER=" + srcRoleId; deleteSQL.add(sql); } if (targetRoleId != null) { sql = "delete from dyextn_role where IDENTIFIER=" + targetRoleId; deleteSQL.add(sql); } } finally { rs.close(); this.stmt.close(); } return roleIdMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected String getFromSource() {\n return sourceTable;\n }", "String getInitSql();", "private String buildSelect() {\r\n\t\tString select = \"select all_source.line, ' '||replace(all_source.TEXT,chr(9),' ')|| ' ' line from all_source where 2=2 \";\r\n\t\tString ownerCondition = \"\";\r\n\t\tString ownerI...
[ "0.68556947", "0.66352296", "0.6544652", "0.6445748", "0.6433062", "0.63599527", "0.626213", "0.6251941", "0.6197282", "0.61340714", "0.6091537", "0.6091537", "0.60855806", "0.60854995", "0.6078364", "0.6077914", "0.60715854", "0.6061295", "0.60579264", "0.6027978", "0.599862...
0.55579054
85
This method populates Entity To Deletet List.
private void populateEntityToDeletetList() { entityNameListDelete = new ArrayList<String>(); entityNameListDelete.add("edu.wustl.catissuecore.domain.Quantity"); entityNameListDelete .add("edu.wustl.catissuecore.domain.SpecimenCollectionRequirementGroup"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<Pedido> toEntity(List<PedidoDTO> dtoList) {\n\t\treturn null;\n\t}", "public abstract List<T> convertToEntities(List<D> dtos);", "public void getEntities() {\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\tEntityA entityA = exampleDao.getOne(1);\r\n\t\tEntityB entityB3 = entityBDao.g...
[ "0.6537807", "0.62508374", "0.59220165", "0.5921885", "0.5911482", "0.5906171", "0.5863855", "0.5847204", "0.57969856", "0.57923067", "0.57903385", "0.57817966", "0.57586277", "0.57400185", "0.57313746", "0.57197446", "0.5651318", "0.56387347", "0.5631771", "0.56256056", "0.5...
0.7542307
0
This method updates Entity To Delete List.
private void updateEntityToDeleteList() throws SQLException { String sql; this.stmt = this.connection.createStatement(); ResultSet rs; for (final String entityName : entityNameListDelete) { final Entity entity = new Entity(); sql = "select identifier,name from dyextn_abstract_metadata where NAME " + UpdateMetadataUtil.getDBCompareModifier() + "'" + entityName + "'"; rs = this.stmt.executeQuery(sql); if (rs.next()) { entity.setId(rs.getLong(1)); entity.setName(rs.getString(2)); } final TableProperties tableProperties = new TableProperties(); sql = "select identifier from dyextn_table_properties where ABSTRACT_ENTITY_ID=" + entity.getId(); rs = this.stmt.executeQuery(sql); if (rs.next()) { tableProperties.setId(rs.getLong(1)); } rs.close(); entity.setTableProperties(tableProperties); entityToDelete.add(entity); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void delete(List<Field> entity) {\n\t\t\n\t}", "@Override\n public void update(List<CoreContacts> entity) throws Exception {\n for (CoreContacts _corecontacts : entity) {\n if (_corecontacts.isHardDelete()) {\n coreContactsRepository.delete(_corecontacts.ge...
[ "0.73546803", "0.6845082", "0.68432355", "0.6531622", "0.63631636", "0.6341122", "0.6202828", "0.6132483", "0.61213785", "0.6080778", "0.60759413", "0.6051598", "0.6024773", "0.6007011", "0.5996992", "0.5958681", "0.5957585", "0.5920386", "0.591091", "0.5905294", "0.5900502",...
0.75837785
0
This method gets SQL To Delete Association.
public List<String> getSQLToDeleteAssociation() throws IOException, SQLException { final List<String> deleteSQL = new ArrayList<String>(); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.StorageContainer")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.Quantity")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.SpecimenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.SpecimenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.SpecimenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.SpecimenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.SpecimenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.CollectionEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.CollectionEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.CollectionEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.CollectionEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.CollectionEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.FrozenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.FrozenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.FrozenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.FrozenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.FrozenEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Container", "edu.wustl.catissuecore.domain.StorageContainer")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.StorageContainer", "edu.wustl.catissuecore.domain.Container")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.StorageContainer", "edu.wustl.catissuecore.domain.SpecimenArray")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.SpecimenArray", "edu.wustl.catissuecore.domain.StorageContainer")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Container", "edu.wustl.catissuecore.domain.SpecimenArray")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.SpecimenArray", "edu.wustl.catissuecore.domain.Container")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.SpecimenArray", "edu.wustl.catissuecore.domain.SpecimenArray")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Container", "edu.wustl.catissuecore.domain.Container")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.StorageContainer", "edu.wustl.catissuecore.domain.StorageContainer")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.SpecimenArrayContent", "edu.wustl.catissuecore.domain.CellSpecimen")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.SpecimenArrayContent", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.SpecimenArrayContent", "edu.wustl.catissuecore.domain.MolecularSpecimen")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.SpecimenArrayContent", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.DistributedItem", "edu.wustl.catissuecore.domain.CellSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.DistributedItem", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.DistributedItem", "edu.wustl.catissuecore.domain.MolecularSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.DistributedItem", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.CellSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.MolecularSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.CellSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.SpecimenCharacteristics")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.SpecimenCharacteristics")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.SpecimenCharacteristics")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.SpecimenCharacteristics")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimen")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.FixedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.FixedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.FixedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.FixedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.FixedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.CheckInCheckOutEventParameter")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.CheckInCheckOutEventParameter")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.CheckInCheckOutEventParameter")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.CheckInCheckOutEventParameter")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.CheckInCheckOutEventParameter")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.ProcedureEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.ProcedureEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.ProcedureEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.ProcedureEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.ProcedureEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.SpunEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.SpunEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.SpunEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.SpunEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.SpunEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.TransferEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.TransferEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.TransferEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.TransferEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.TransferEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.ReceivedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.ReceivedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.ReceivedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.ReceivedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.ReceivedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.EmbeddedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.EmbeddedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.EmbeddedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.EmbeddedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.EmbeddedEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.ThawEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.ThawEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.ThawEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.ThawEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.ThawEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.ReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.ReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.ReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.ReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.ReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.CellSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.CellSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.CellSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.CellSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.CellSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.TissueSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.TissueSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.FluidSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.FluidSpecimenReviewEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.MolecularSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.MolecularSpecimenReviewParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.Specimen", "edu.wustl.catissuecore.domain.DisposalEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.CellSpecimen", "edu.wustl.catissuecore.domain.DisposalEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.FluidSpecimen", "edu.wustl.catissuecore.domain.DisposalEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.MolecularSpecimen", "edu.wustl.catissuecore.domain.DisposalEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.TissueSpecimen", "edu.wustl.catissuecore.domain.DisposalEventParameters")); deleteSQL.addAll(this.deleteAssociation("edu.wustl.catissuecore.domain.SpecimenOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.SpecimenArrayOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.ExistingSpecimenOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.NewSpecimenOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.DerivedSpecimenOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.PathologicalCaseOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.NewSpecimenArrayOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); deleteSQL.addAll(this.deleteAssociation( "edu.wustl.catissuecore.domain.ExistingSpecimenArrayOrderItem", "edu.wustl.catissuecore.domain.DistributedItem")); return deleteSQL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CustomSql getCustomSqlDelete();", "protected String getDeleteSQL() {\n\t\treturn queryData.getString(\"DeleteSQL\");\n\t}", "public String getDeleteByIdSql() {\r\n\t\treturn \"delete from SHXXB where XH=?\";\r\n\t}", "public List<String> deleteAssociation(String srcName, String targetName) throws SQLE...
[ "0.7015353", "0.65611553", "0.64900696", "0.64264244", "0.62092686", "0.62020564", "0.6082863", "0.598241", "0.59744674", "0.594055", "0.59219074", "0.5920509", "0.59022623", "0.589217", "0.5836929", "0.5765094", "0.57650733", "0.57598984", "0.5739171", "0.5714953", "0.571359...
0.7063967
0
This function creates a random AseInteger between 0 and modulus You can use this number as a witness in a Fermat test to check the primality of modulus
protected ImsInteger createRandomTestNumber(ImsInteger modulus){ // get a random number ImsInteger testNumber = new ImsInteger(modulus.bitLength(), new Random()); // assure that it is positive and smaller modulus testNumber = testNumber.mod(modulus); // assure that it is non zero if(testNumber.compareTo(ImsInteger.ZERO)==0){ testNumber = modulus.subtract(ImsInteger.ONE); } return testNumber; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int random(int mod)\n {\n Random rand = new Random();\n int l= (rand.nextInt());\n if(l<0)\n l=l*-1;\n l=l%mod;\n return l;\n }", "public int generateProtection() {\n\t\tRandom rand = new Random();\n\t\tint protection = 4;\n\t\twhile (!isPrime(protectio...
[ "0.6814503", "0.63636315", "0.61451006", "0.6089311", "0.6074982", "0.59856296", "0.5876082", "0.58591443", "0.5850364", "0.5817928", "0.58101684", "0.580609", "0.57920367", "0.57687247", "0.5763167", "0.5755989", "0.5752876", "0.57444006", "0.57272255", "0.5695679", "0.56709...
0.80844426
0
This method runs a generation. It breeds then genocides.
public static void runAGeneration() { //Breeds Population until max population size for genetic drift breedAll(); //Genocides Population by fitness genocide(); System.out.println("\nPopulation: "); //prints population printPopulation(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void generate() {\n\t}", "void generate() {\n rouletteSelection();\n do {\n updateParents();\n crossover();\n mutation();\n } while (!isValidOffset());\n insertOffspring();\n }", "public static void runGeneration(){\r\n adjust = gene...
[ "0.67800874", "0.67065245", "0.6615054", "0.64834976", "0.63800377", "0.6374572", "0.6332888", "0.62819177", "0.6198671", "0.6177014", "0.6160596", "0.6159781", "0.61528903", "0.61514163", "0.6150578", "0.6122012", "0.6094143", "0.607386", "0.605509", "0.6053064", "0.6042063"...
0.75183016
0
This method breeds the population of polynomials until it reaches maximum size
public static void breedAll() { int a, b; //Pointers to select parents //While loop to ensure full carrying capacity of population while (Population.size() <= maxPop) { //Sorts by Fitness level first sortByFitlvl(); //Selects Two Random Parents a = (int) (Math.abs(Utilities.sharpGauss(4)) * Population.size()); b = (int) (Math.abs(Utilities.sharpGauss(4)) * Population.size()); //System.out.println(a+"\t"+b+"\t"+Population.size()); // Between 1-2 children int children = rand.nextInt(2)+1; for (int i = 0; i < children; i++) { Population.add(Breeder.breed(Population.get(a), Population.get(b), 0.1)); } //sortByFitlvl(); } if (debug) printPopulation(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Polynomial reducePolynomial(){\n Integer maxPower = getMaxPower();\n ArrayList<Monomial> reducedMonomials = new ArrayList<>();\n\n while (maxPower >=0) {\n Integer integerCoefficient = 0;\n float realCoefficient = 0;\n for (Monomial monomial : monomials)...
[ "0.58427477", "0.57834977", "0.57123077", "0.5504871", "0.54789466", "0.54722", "0.53957903", "0.5385908", "0.5325148", "0.52884585", "0.5286366", "0.5278445", "0.5268013", "0.5223382", "0.52224857", "0.51920193", "0.51885974", "0.5186918", "0.51792336", "0.5166949", "0.51539...
0.523715
13
Genocides Population by fitness
public static void genocide() { //Assigns fitness levels evaluateFitnesses(); //Sorts by fitness sortByFitlvl(); //Simple genocide, kills off all until population size. for (int i = Population.size() - 1; i >= populationSize; i--) { Population.remove(i); } /* //Different kind of Genocide, selects organisms based on gaussian distribution while(Population.size() > populationSize){ int randomOrganism = (int)(Population.size() - (Population.size()*Utilities.sharpGauss(2))); Population.remove(randomOrganism); } */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract double getFitness(Genotype genotype);", "public void calcularFitness() {\n double fit = 0;\r\n for (int x=0; x < this.genotipo.length;x++){\r\n if (x!=this.genotipo.length-1){\r\n fit+=distancias[this.genotipo[x]][this.genotipo[x+1]];\r\n }else{\r\n f...
[ "0.7530416", "0.72937435", "0.71762925", "0.713214", "0.71046674", "0.70768654", "0.7012474", "0.69870824", "0.6942672", "0.6895139", "0.68840134", "0.6835274", "0.6789029", "0.67484295", "0.672867", "0.671769", "0.67069036", "0.669347", "0.6687947", "0.66761523", "0.657677",...
0.6992744
7
Sets the fitness levels for population
public static void evaluateFitnesses() { for (Polynomial p : Population) { p.setRawFitness(getRawFitness(p, data)); if (debug) { printPopulation(true); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setFitness(double fitness) throws UnsupportedOperationException;", "public void setFitness(float fitness)\r\n\t{\r\n\t\tthis.fitness = fitness;\r\n\t}", "public void setLevel(int level) {\n if(level > Constant.MAX_LEVEL){\n this.level = Constant.MAX_LEVEL;\n }else {\n t...
[ "0.6434905", "0.6366048", "0.62897277", "0.6164735", "0.60861814", "0.6044535", "0.58838695", "0.58675474", "0.5820505", "0.5819444", "0.5798314", "0.57957757", "0.5722137", "0.5718414", "0.5716546", "0.57017094", "0.56704587", "0.5665395", "0.56551886", "0.56363755", "0.5611...
0.0
-1
Sorts the Population by FitnessLevel
public static void sortByFitlvl() { Collections.sort(Population); if (debug) { debugLog("\nSorted: "); printPopulation(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sortPopulation() {\n println(\"sortPopulation()\", 1);\n //population_size = population.size();\n for(int i = 1; i < population_size; i++) {\n \n //current is the one we're going to put in the right place\n Individual current = population[i];\n ...
[ "0.6560646", "0.64876014", "0.63817173", "0.6363121", "0.6276736", "0.6244936", "0.5729364", "0.570431", "0.5680133", "0.56726754", "0.5670517", "0.5633748", "0.5588508", "0.5568262", "0.55391556", "0.55066377", "0.54891104", "0.5481024", "0.5457904", "0.54557365", "0.5454328...
0.7874136
0
Prints population without fitness
public static void printPopulation() { printPopulation(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void displayPopulation() {\n \n /**/println(\"\\nDisplaying population:\", 0);\n for(int i = 0; i < population_size; i++) {\n println(\"i = \" + i, 1);\n if(population[i] == null) {\n //System.exit(0);\n }\n displayChromosome...
[ "0.7395865", "0.72424597", "0.71898544", "0.6891", "0.67675525", "0.6694522", "0.6680726", "0.6629509", "0.6580412", "0.6516325", "0.6424471", "0.64038974", "0.6320033", "0.61989135", "0.60760736", "0.6071031", "0.60542995", "0.6037309", "0.60204786", "0.6015147", "0.6005653"...
0.8297203
0
Method reading in data points
public static PointD[] fillData() { ArrayList<PointD> vals = new ArrayList(); while (scn.hasNextLine()) { String[] xandy = scn.nextLine().split("\\s*,\\s*"); vals.add(new PointD(Double.parseDouble(xandy[0]), Double.parseDouble(xandy[1]))); } PointD[] vals2 = new PointD[vals.size()]; for (int x = 0; x < vals.size(); x++) { vals2[x] = vals.get(x); } return vals2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void fillDataset(Dataset d){\n try{\n\n BufferedReader in = new BufferedReader(new FileReader(\"src/points.txt\"));\n String str;\n while ((str = in.readLine()) != null){\n String[] tmp=str.split(\",\");\n d.addPoint(new Point(Dou...
[ "0.70440567", "0.6733939", "0.64928305", "0.63613814", "0.6314561", "0.6244136", "0.6193464", "0.6138505", "0.6116229", "0.6077521", "0.6059175", "0.6046076", "0.6032338", "0.60249805", "0.60152215", "0.599693", "0.5959729", "0.5955669", "0.5942223", "0.5936111", "0.5924424",...
0.69301534
1
WaitMethod to slow output
public static void waitTime(long s) { long l = System.currentTimeMillis() + s; while (System.currentTimeMillis() < l) { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void _wait() {\n\t\tfor (int i = 1000; i > 0; i--)\n\t\t\t;\n\t}", "void waitToRead();", "public void waitForData() {\n waitForData(1);\n }", "void suspendOutput();", "public void waitToFinish()\n/* */ {\n/* 473 */ synchronized (this) {\n/* 474 */ while (getIterationsToGo(...
[ "0.6632818", "0.63502955", "0.62361467", "0.6222738", "0.6221158", "0.6171548", "0.6165124", "0.61372674", "0.6131034", "0.60993797", "0.60801846", "0.6068656", "0.60271907", "0.60197455", "0.6015508", "0.60087293", "0.5969813", "0.59680563", "0.59528244", "0.59528244", "0.59...
0.0
-1
Created by anilpaudel on 1/9/18.
public interface LogoutApiInterface { interface LogoutView{ void successfulLogout(); } interface LogoutPresenter{ void logout(); } interface LogoutInteractor{ void logout(); } interface LogoutListener{ void successfulLogout(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}"...
[ "0.6097481", "0.60282964", "0.5936757", "0.59113276", "0.5862211", "0.5862211", "0.58532435", "0.5800031", "0.57875884", "0.5775672", "0.57568395", "0.57474524", "0.5743497", "0.57196385", "0.57196385", "0.57196385", "0.57196385", "0.57196385", "0.57196325", "0.57072824", "0....
0.0
-1
Create different menus depending on the view type
@Override public void create(SwipeMenu menu) { switch (menu.getViewType()) { case 0: createMenu1(menu); break; case 1: createMenu2(menu); break; case 2: createMenu3(menu); break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Menu createViewMenu();", "@Override\n public void create(SwipeMenu menu) {\n switch (menu.getViewType()) {\n case VIEW_TYPE_1:\n createMenu1(menu);\n break;\n case VIEW_TYPE_2:\n ...
[ "0.74869335", "0.6977054", "0.6879095", "0.6803026", "0.6489689", "0.64408296", "0.638675", "0.638317", "0.6370808", "0.6369838", "0.63421535", "0.6311192", "0.63080263", "0.63014984", "0.62985015", "0.62772644", "0.6269395", "0.62375456", "0.6217591", "0.62093776", "0.620402...
0.6989198
1
Get all drugs prescription
@RequestMapping(path = "drugprescription", method = RequestMethod.GET) public List<DrugPrescription> getAllDrugPres(){ return drugPrescriptionService.getAllDrugPres(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HashSet<String> getAllDrugs(){\r\n\t\tlogger.info(\"* Get All PharmGKB Drugs... \");\t\t\r\n\t\tHashSet<String> drugList = new HashSet<String>();\r\n\t\tint nbAdded = 0;\r\n\t\ttry{\r\n\t\t\tGetPgkbDrugList myClientLauncher = new GetPgkbDrugList();\r\n\t\t\tdrugList = myClientLauncher.getList();\r\n\t\t}cat...
[ "0.69669944", "0.6300654", "0.6105135", "0.5971357", "0.5966776", "0.5757565", "0.5725313", "0.57175744", "0.57104826", "0.5668636", "0.5552534", "0.54677886", "0.5467417", "0.54449755", "0.5442753", "0.5436828", "0.5434295", "0.5393077", "0.53820544", "0.5381558", "0.5355613...
0.7141933
0
Get all drugs prescription by page
@RequestMapping(path = "drugprescription", method = RequestMethod.GET, params = "page") public List<DrugPrescription> getAllDrugPresByPage(int page){ return drugPrescriptionService.getAllDrugPresByPage(page); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(path = \"drugprescription\", method = RequestMethod.GET)\n public List<DrugPrescription> getAllDrugPres(){\n return drugPrescriptionService.getAllDrugPres();\n }", "@Override\r\n\tpublic List<ReviewVO> listPage(int page) throws Exception {\n\t\tif(page<=0) {\r\n\t\t\tpage=1;\r\n\t\t}...
[ "0.6300699", "0.59338135", "0.5845402", "0.5725615", "0.5704015", "0.5634879", "0.5626496", "0.5539291", "0.55288523", "0.55217564", "0.5475641", "0.5450891", "0.54228723", "0.53989416", "0.53821456", "0.53330654", "0.52769506", "0.5274604", "0.5266901", "0.52632934", "0.5258...
0.7757025
0
Instantiates a new wall.
public Wall() { canHold = false; isPassable = false; type = TileTypes.WALL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Wall() {\n super(false, \"wall\");\n }", "public wall() { //default constructor makes a 10x10 square extending right and down from the pixel located at 5,5\r\n x = 5;\r\n y = 5;\r\n height = 10;\r\n width = 10;\r\n }", "public Square createWall() {Collect.Hit(\"B...
[ "0.78001446", "0.74669224", "0.7456794", "0.7269603", "0.72059906", "0.7199077", "0.7193067", "0.7182341", "0.7106156", "0.702527", "0.69739777", "0.6952292", "0.68612", "0.67285895", "0.6661011", "0.66056204", "0.6579367", "0.64639056", "0.6439808", "0.6426025", "0.633355", ...
0.71460974
8
Scanner sca = new Scanner(System.in); String str = sca.next();
public static void main(String[] args) { String str = "32+5*2-40/3"; /* Pattern p = Pattern.compile("(([0-9]+)(\\+\\-\\*\\/)?)+"); Matcher m = p.matcher(str); System.out.println(m.find()); System.out.println(m.groupCount()); System.out.println(m.group(1)); System.out.println(m.group(2)); System.out.println(m.group(3)); */ String[] sub = str.split("\\+|\\-|\\*|\\/"); for(String s : sub) { System.out.println(s); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n System.out.println(str);\n }", "public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n String str=in.nextLine();\n System.out.prin...
[ "0.852105", "0.8383909", "0.8150617", "0.8003937", "0.79937375", "0.78033656", "0.7691487", "0.76503205", "0.7624943", "0.7538053", "0.7526914", "0.749418", "0.7465084", "0.74351424", "0.7371356", "0.7300247", "0.7271388", "0.72645295", "0.71799356", "0.71782774", "0.7170037"...
0.0
-1
sc = new InputReader(System.in);
private void compute() { try { sc = new InputReader(new FileInputStream("./resources/trainandpeter")); } catch (FileNotFoundException ex) { throw new IllegalArgumentException(ex); } text = sc.readNext().toCharArray(); n = text.length; pattern1 = sc.readNext(); pattern2 = sc.readNext(); buildDfa(pattern1.toCharArray()); int patpos1 = search(0, n, true); int patpos2 = search(n - 1, -1, false); if (patpos1 == -1 && patpos2 == -1) { System.out.println("fantasy"); System.exit(0); } buildDfa(pattern2.toCharArray()); int patpos3 = -1; if (patpos1 > -1) { patpos3 = search(patpos1 + pattern1.length(), n, true); } int patpos4 = -1; if (patpos2 > -1) { patpos4 = search(patpos2 - pattern1.length(), -1, false); } if (patpos3 == -1 && patpos4 == -1) { System.out.println("fantasy"); System.exit(0); } if (patpos1 > -1 && patpos2 > -1 && patpos3 > -1 && patpos4 > -1) { System.out.println("both"); System.exit(0); } if (patpos1 > -1 && patpos3 > -1) { System.out.println("forward"); System.exit(0); } if (patpos2 > -1 && patpos4 > -1) { System.out.println("backward"); System.exit(0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InputReader() {\n reader = new Scanner(System.in);\n }", "public MyInputStream()\n {\n in = new BufferedReader\n (new InputStreamReader(System.in));\n }", "public MyInput() {\r\n\t\tthis.scanner = new Scanner(System.in);\r\n\t}", "private static void readInput() { inpu...
[ "0.7956525", "0.7302493", "0.71703273", "0.6992725", "0.69221646", "0.6867134", "0.6822845", "0.66576487", "0.66568464", "0.65956366", "0.6565902", "0.65649897", "0.65569437", "0.6544802", "0.6538084", "0.6527101", "0.6477755", "0.64737976", "0.64711785", "0.64302707", "0.642...
0.0
-1
UnityServiceSkeletonInterface java skeleton interface for the axisService
public interface UnityServiceSkeletonInterface { /** * Auto generated method signature * Logout from the Trilliant Networks * @param logout * @throws UnexpectedErrorFault : * @throws AccessDeniedFault : */ public com.trilliantnetworks.unity.ws.LogoutResponse logout ( com.trilliantnetworks.unity.ws.Logout logout ) throws UnexpectedErrorFault,AccessDeniedFault; /** * Auto generated method signature * Apply Vend Code * @param applyVendCodeRequest * @throws UnexpectedErrorFault : * @throws AccessDeniedFault : * @throws LoginFault : */ public com.trilliantnetworks.unity.ws.ApplyVendCodeResponse applyVendCode ( com.trilliantnetworks.unity.ws.ApplyVendCodeRequest applyVendCodeRequest ) throws UnexpectedErrorFault,AccessDeniedFault,LoginFault; /** * Auto generated method signature * Login to the Trilliant Networks * @param login * @throws UnexpectedErrorFault : * @throws AccessDeniedFault : * @throws LoginFault : */ public com.trilliantnetworks.unity.ws.LoginResponse login ( com.trilliantnetworks.unity.ws.Login login ) throws UnexpectedErrorFault,AccessDeniedFault,LoginFault; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface SysPluginService extends BaseService<Sys_plugin> {\n}", "public interface RepairTransportationServiceSkeletonInterface {\n \n \n /**\n * Auto generated method signature\n * \n * @param updateDeliveryTime\n */\n\n ...
[ "0.6105436", "0.60166067", "0.6007152", "0.59864044", "0.5973396", "0.5961251", "0.59604335", "0.5956129", "0.5956129", "0.5952357", "0.59383184", "0.5931557", "0.58853596", "0.5884144", "0.58674407", "0.5866739", "0.58495677", "0.58105695", "0.58105695", "0.58012486", "0.580...
0.81572646
0
where we will store or remove selected items
public void selectSubject(View view) { mSelectedItems = new ArrayList<Integer>(); final String[] choiceArray = getResources().getStringArray( R.array.choices ); final AlertDialog.Builder builder = new AlertDialog.Builder( TutorEnquiry.this ); // set the dialog title builder.setTitle( "Choose One or More" ) .setMultiChoiceItems( R.array.choices, null, new DialogInterface.OnMultiChoiceClickListener() { @Override public void onClick(DialogInterface dialog, int which, boolean isChecked) { if (isChecked) { // if the user checked the item, add it to the selected items mSelectedItems.add( which ); } else if (mSelectedItems.contains( which )) { // else if the item is already in the array, remove it mSelectedItems.remove( Integer.valueOf( which ) ); } } } ) // Set the action buttons .setPositiveButton( "OK", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { StringBuilder selectedIndex = new StringBuilder(); for (int a = 0; a < mSelectedItems.size(); a++) { if (mSelectedItems.size() == 1) { selectedIndex.append( choiceArray[(Integer) mSelectedItems.get( a )] ); } else { selectedIndex.append( choiceArray[(Integer) mSelectedItems.get( a )] + "," ); } } mSubject.setText( selectedIndex.toString() ); } } ) .setNegativeButton( "Cancel", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { // removes the AlertDialog in the screen } } ) .show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSelectedItems(ValueType selectedItems);", "public void itemsSelected() {\n getEntitySelect().close();\n Collection<T> selectedValues = getEntitySelect().getResults().getSelectedValues();\n setReferencesToParentAndPersist((T[]) selectedValues.toArray());\n showAddSuccessful();\...
[ "0.7374617", "0.7306318", "0.689742", "0.673008", "0.67059255", "0.6686028", "0.66291416", "0.66260916", "0.6515925", "0.6466957", "0.64379454", "0.6261394", "0.6256788", "0.62549925", "0.6249795", "0.62341213", "0.62117624", "0.6206791", "0.6181835", "0.6170145", "0.61578417...
0.0
-1
removes the AlertDialog in the screen
@Override public void onClick(DialogInterface dialog, int id) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void dismissAlertDialog();", "@Override\r\n\t\t public void onClick(View arg0) {\n\t\t screenDialog.dismiss();\r\n\t\t }", "public void removeNow() {\n if (mView != null) {\n WindowManager wm = (WindowManager) getSystemService(WINDOW_SERVICE);\n wm.removeView(mView);\n...
[ "0.7331537", "0.70544565", "0.69650793", "0.69605905", "0.69341916", "0.68712217", "0.68233323", "0.67835504", "0.67835504", "0.67640394", "0.6753383", "0.6728037", "0.67082506", "0.67082506", "0.66662616", "0.6649202", "0.6642273", "0.66319215", "0.66243273", "0.6620604", "0...
0.0
-1
showToast("Some actions maybe? Selected index: " + arg1);
@Override public void onClick(DialogInterface arg0, int arg1) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void showToast(String value);", "void toast(CharSequence sequence);", "void showToast(String message);", "void showToast(String message);", "void toast(int resId);", "@Override\n public void onButtonClick(int nButtonIndex) {\n Toast.makeText(this, \"onButtonClick:\" + nButtonIndex, Toast.LENGTH...
[ "0.71878874", "0.70093083", "0.68984246", "0.68984246", "0.6850998", "0.6592783", "0.65809685", "0.6564776", "0.65337", "0.6532495", "0.64689577", "0.644073", "0.6400032", "0.6397948", "0.6395163", "0.6349083", "0.6336874", "0.6293933", "0.62515813", "0.6237211", "0.6231048",...
0.0
-1
user clicked OK, so save the mSelectedItems results somewhere or return them to the component that opened the dialog
@Override public void onClick(DialogInterface dialog, int id) { int selectedPosition = ((AlertDialog) dialog).getListView().getCheckedItemPosition(); mGender.setText( gender[selectedPosition] ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleResultShow(){\n\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Make a selection\");\n\n //create the String[] to display the search result to user\n final CharSequence[] sArray = new CharSequence[searchResult.size()];\n for (...
[ "0.6829261", "0.6516865", "0.6509601", "0.6371898", "0.6371898", "0.6371898", "0.63267654", "0.6319461", "0.6304028", "0.62892956", "0.6199348", "0.6180159", "0.6177116", "0.61508137", "0.6114988", "0.61010885", "0.6091639", "0.60679346", "0.60565513", "0.6043591", "0.6042982...
0.0
-1
removes the dialog from the screen
@Override public void onClick(DialogInterface dialog, int id) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dissmissDialog() {\n if (pdialog != null) {\n if (pdialog.isShowing()) {\n pdialog.dismiss();\n }\n pdialog = null;\n }\n\n }", "protected void closeDialog() { setVisible(false); dispose(); }", "@Override\r\n\t\t public void onCli...
[ "0.72288764", "0.7206668", "0.7186451", "0.7135064", "0.7128193", "0.70437324", "0.7013779", "0.6966106", "0.6909766", "0.6889883", "0.6856258", "0.67920464", "0.67869925", "0.6776493", "0.67505956", "0.6704337", "0.66924083", "0.66866237", "0.66843295", "0.667118", "0.665603...
0.0
-1
Check if no view has focus:
private void hideKeyboard() { View view = this.getCurrentFocus(); if (view != null) { InputMethodManager inputManager = (InputMethodManager) this.getSystemService( Context.INPUT_METHOD_SERVICE ); inputManager.hideSoftInputFromWindow( view.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean m36208d(View view) {\n return view != null && view.hasWindowFocus();\n }", "public boolean hasFocus() {\n return hasFocus;\n }", "@Override\r\n\tpublic boolean isFocused() {\n\t\treturn false;\r\n\t}", "boolean hasFocus() {\n\t\t\tif (text == null || text.isDisposed())...
[ "0.752144", "0.71540445", "0.71503836", "0.71252257", "0.6989558", "0.6839896", "0.6835727", "0.68034774", "0.67644054", "0.6644914", "0.65743554", "0.65302986", "0.6448699", "0.643322", "0.6394429", "0.6380685", "0.63306206", "0.6325382", "0.63178706", "0.62391496", "0.62239...
0.0
-1
String , Ashish , Rohit , Mohit
public static void main(String[] args) { String[] arr = { "Ashish", "Rohit", "Mohit" }; for (int i = 0; i < 3; i++) { System.out.println(arr[i]); } System.out.println("*******************************"); for (String var : arr)// for each loop or enhanced for loop { System.out.println(var); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSurname();", "java.lang.String getS1();", "public static void main(String[] args) {\n\t\tString name=\"Jhon\";\n\t\t\n\t\tSystem.out.println(name);\n\t\t\n\t\tSystem.out.println(\"The length of nameis= \"+name.length()); // string name.length = index sayisini verir yani 4 \n\t\t\n////////////////\n\...
[ "0.5968849", "0.5936842", "0.5930036", "0.58975554", "0.58954597", "0.5869609", "0.5857942", "0.5749064", "0.5738546", "0.5733914", "0.5724826", "0.570651", "0.57046264", "0.5653355", "0.565316", "0.5644268", "0.56279594", "0.561834", "0.56043726", "0.55999357", "0.5589112", ...
0.0
-1
TODO Autogenerated method stub
@Override public void onStructChanged() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Given("^user is on Application landing page$") public void user_is_on_Application_landing_page() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user clicks on My Account button$") public void user_clicks_on_My_Account_button() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user clicks on Register link$") public void user_clicks_on_Register_link() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user enters \"([^\"]*)\" in Username field$") public void user_enters_in_Username_field(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user enters \"([^\"]*)\" in password field$") public void user_enters_in_password_field(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user enters \"([^\"]*)\" in capcha field$") public void user_enters_in_capcha_field(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user clicks on Register button$") public void user_clicks_on_Register_button() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user is successfully registered$") public void user_is_successfully_registered() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user is navigated to Login Page$") public void user_is_navigated_to_Login_Page() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user enters \"([^\"]*)\" in username textbox$") public void user_enters_in_username_textbox(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user eneter \"([^\"]*)\" in password textbox$") public void user_eneter_in_password_textbox(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user clicks Login button$") public void user_clicks_Login_button() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user is on Your Account page$") public void user_is_on_Your_Account_page() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^titel of page is \"([^\"]*)\"$") public void titel_of_page_is(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^My Account button is not present$") public void my_Account_button_is_not_present() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^user enters \"([^\"]*)\" in username field$") public void user_enters_in_username_field(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user gets login failed error message$") public void user_gets_login_failed_error_message() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Process for correct DBI
@Override public void process(CtClass<?> invok) { for (CtMethod<?> method : invok.getAllMethods()){ // Detect no empty method if (method.getBody() != null && method.getBody().toString().length() > 4){ // Split method for detect HashMap initialization and save variable name String[] methodSplit = method.toString().split(";"); List<String> hashMapInit = new ArrayList<String>(); for (int i = 0; i < methodSplit.length ; i++) if (methodSplit[i].indexOf("new HashMap") != -1) if (methodSplit[i].indexOf("=") != -1) hashMapInit.add(methodSplit[i].split(" =")[0].split(" ")[methodSplit[i].split(" =")[0].split(" ").length-1]); else hashMapInit.add(null); // Get all HashMap constructor List<CtConstructorCall<?>> listConstrCall = method.getElements(new TypeFilter<CtConstructorCall<?>>(CtConstructorCall.class) { @Override public boolean matches(CtConstructorCall<?> element) { return element.getType().getSimpleName().equals("HashMap"); } }); for(int i = 0; i < listConstrCall.size(); i++){ listConstrCall.get(i).replace(getFactory().Code().createCodeSnippetExpression(listConstrCall.get(i).toString().split(" \\{")[0])); String constructorCleaned = listConstrCall.get(i).toString().replace(" ", "").replace("\r", "").replace("\n", ""); if (constructorCleaned.indexOf("{{") != -1) for (String element : constructorCleaned.substring(constructorCleaned.toString().indexOf("{{"), constructorCleaned.toString().indexOf("}}")-1) .replace("{{", "").replace("}}", "").split(";")){ listConstrCall.get(i).insertAfter(getFactory().Code().createCodeSnippetStatement(hashMapInit.get(i)+ "." + element + ";")); System.out.println(hashMapInit.get(i)+ "." + element + ";"); } } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ini_SelectDB()\r\n\t{\r\n\r\n\t}", "private ServerError updateDatabase() {\n return updateDatabase(WebConf.DB_CONN, WebConf.JSON_OBJECTS, WebConf.DEFAULT_VERSION);\r\n }", "public static void main(String[] args)\r\n {\n TreeMap<String, String> v_mapDBConf = new TreeMap<>();\r\n...
[ "0.6085699", "0.56667495", "0.5651055", "0.56257594", "0.55746454", "0.55420315", "0.5524941", "0.547947", "0.5470407", "0.54276526", "0.54093397", "0.5372995", "0.5368178", "0.53574574", "0.5354645", "0.5334428", "0.53210765", "0.5317553", "0.5285568", "0.52828443", "0.52674...
0.0
-1
Read the request parameter
@RequestMapping(value = "insert", method = RequestMethod.POST) public String insert(HttpServletRequest request) { int id = Integer.parseInt(request.getParameter("id")); String name = request.getParameter("name"); int marks = Integer.parseInt(request.getParameter("marks")); // Create the student Student student = new Student(id, name,marks); System.out.println(student); // insert student to db String res = studentService.insert(student); if (res.equals("SUCCESS")) request.setAttribute("msg", "Record Inserted"); else request.setAttribute("msg", "Record Not Inserted"); return "insert"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getParameter(HttpServletRequest request, String name) throws ValidationException;", "protected String getParamFromRequest(HttpServletRequest request, String key) {\n return request.getParameter(key);\n }", "private String getValueFromRequest(String key, HttpServletRequest request) {\n if (!St...
[ "0.72812575", "0.72483104", "0.71585673", "0.7106983", "0.7076822", "0.7007003", "0.6924501", "0.69025713", "0.6900014", "0.689537", "0.68818617", "0.67805606", "0.6740833", "0.67222947", "0.6709367", "0.6687444", "0.66289437", "0.6613324", "0.66086674", "0.65949357", "0.6589...
0.0
-1
Read the request parameter
@RequestMapping(value = "update", method = RequestMethod.POST) public String update(HttpServletRequest request) { int id = Integer.parseInt(request.getParameter("id")); String name = request.getParameter("name"); int marks = Integer.parseInt(request.getParameter("marks")); // Create the student Student student = new Student(id, name,marks); System.out.println(student); // insert student to db String res = studentService.update(student); if (res.equals("SUCCESS")) request.setAttribute("msg", "Record Updated"); else request.setAttribute("msg", "Record Not Updated"); return "update"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getParameter(HttpServletRequest request, String name) throws ValidationException;", "protected String getParamFromRequest(HttpServletRequest request, String key) {\n return request.getParameter(key);\n }", "private String getValueFromRequest(String key, HttpServletRequest request) {\n if (!St...
[ "0.72812575", "0.72483104", "0.71585673", "0.7106983", "0.7076822", "0.7007003", "0.6924501", "0.69025713", "0.6900014", "0.689537", "0.68818617", "0.67805606", "0.6740833", "0.67222947", "0.6709367", "0.6687444", "0.66289437", "0.6613324", "0.66086674", "0.65949357", "0.6589...
0.0
-1
Read the request parameter
@RequestMapping(value = "delete", method = RequestMethod.POST) public String delete(HttpServletRequest request) { int id = Integer.parseInt(request.getParameter("id")); // Create the student Student student = studentService.findById(id); System.out.println(student); // insert student to db String res = studentService.delete(student); if (res.equals("SUCCESS")) request.setAttribute("msg", "Record Deleted"); else request.setAttribute("msg", "Record Not Deleted"); return "delete"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getParameter(HttpServletRequest request, String name) throws ValidationException;", "protected String getParamFromRequest(HttpServletRequest request, String key) {\n return request.getParameter(key);\n }", "private String getValueFromRequest(String key, HttpServletRequest request) {\n if (!St...
[ "0.72812575", "0.72483104", "0.71585673", "0.7106983", "0.7076822", "0.7007003", "0.6924501", "0.69025713", "0.6900014", "0.689537", "0.68818617", "0.67805606", "0.6740833", "0.67222947", "0.6709367", "0.6687444", "0.66289437", "0.6613324", "0.66086674", "0.65949357", "0.6589...
0.0
-1
Don't call unless you are managing the instance cache (or not using one, perhaps).
public void remove() throws ManageException, DoesNotExistException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isCaching() {\n return false;\n }", "public void setCached() {\n }", "@Override\n\tpublic boolean isCaching() {\n\t\treturn false;\n\t}", "private UtilsCache() {\n\t\tsuper();\n\t}", "private FixtureCache() {\n\t}", "private FactoryCacheValet() {\n\t\tsuper();\n\t}", ...
[ "0.682451", "0.6582325", "0.6445527", "0.64130205", "0.6190875", "0.61444306", "0.6123719", "0.60922575", "0.6002174", "0.5956997", "0.594793", "0.5941459", "0.5900039", "0.5869755", "0.58685476", "0.58562624", "0.5842573", "0.5826146", "0.58042413", "0.57886875", "0.57831836...
0.0
-1
Getter for property 'ds'.
public static DataSource getDs() { return ds; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double[] getDs() {\n\t\treturn this.ds;\n\t}", "public String getDatasourceName()\n {\n return m_dsName;\n }", "public com.microsoft.schemas.sharepoint.dsp.DSQuery getDsQuery() {\r\n return dsQuery;\r\n }", "public String getValueDs() {\n return this.valueDs;\n }", "publ...
[ "0.7561454", "0.65793955", "0.6576132", "0.65698516", "0.64750737", "0.6473842", "0.64613056", "0.6345575", "0.631471", "0.6313568", "0.6313568", "0.62802464", "0.6276387", "0.62642723", "0.61973226", "0.61722684", "0.6170959", "0.61643815", "0.61250854", "0.6099127", "0.6059...
0.72740453
1
Constructor and Getter Setter
public EndPoint(String endpointId, String friendlyName) { this.endpointId = endpointId; this.manufacturerName = "Manniu tech"; this.modelName = "model23"; this.friendlyName = friendlyName; this.description = "This is a manniu camera"; this.displayCategories = new String[]{"CAMERA"}; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "private Value() {\n\t}", "public Constructor(){\n\t\t\n\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public ValorVariavel() {\r\n }", "private ReadProperty()\r\n {\r\n\r\n }", "public Sett...
[ "0.6795706", "0.651885", "0.65030736", "0.64380056", "0.6243835", "0.62396836", "0.6209844", "0.6208479", "0.62077695", "0.6201366", "0.61916393", "0.61835253", "0.61599606", "0.615213", "0.61492825", "0.6143944", "0.6128994", "0.6125345", "0.61118954", "0.6104098", "0.610137...
0.0
-1
Constructeur d'un joueur humain
public ChessJoueurHumain(Couleur couleur) { super(couleur); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HiloM() { }", "public PhanSo(){\n tuSo = 0;\n mauSo = 1;\n }", "Vaisseau_ordonneeLaPlusHaute createVaisseau_ordonneeLaPlusHaute();", "public TTau() {}", "public Lechuga(Hamburguesa h){\n this.hamburguesa = h;\n }", "public Humano() {\n\t\t\n\t\t// TODO Auto-generated con...
[ "0.6622232", "0.6559905", "0.6088374", "0.6087132", "0.60062087", "0.59650487", "0.5955997", "0.59231484", "0.59022254", "0.58999187", "0.5880968", "0.58666533", "0.5866546", "0.5862539", "0.581931", "0.58189213", "0.5788457", "0.5781052", "0.57694834", "0.5743133", "0.573890...
0.6541679
2
Un joueur Humain doit faire appel a une ihm pour donner son coup
@Override public String getCoup(Echiquier e, List<IPiece> allys, List<IPiece> ennemies, Coord sC) { return chessIHM.getCoup(this, sC, ennemies, e); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Coup coupIA() {\n\n int propriete = TypeCoup.CONT.getValue();\n int bloque = Bloque.NONBLOQUE.getValue();\n Term A = intArrayToList(plateau1);\n Term B = intArrayToList(plateau2);\n Term C = intArrayToList(piecesDispos);\n Variable D = new Variable(\"D\");\n ...
[ "0.6908546", "0.6353326", "0.62649757", "0.6245247", "0.62268203", "0.61669534", "0.61613756", "0.6111363", "0.6030586", "0.6023496", "0.5981125", "0.5967863", "0.5953157", "0.59405196", "0.5926968", "0.5923874", "0.59136635", "0.5863277", "0.58459604", "0.58428544", "0.58315...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
boolean hasAmount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060954", "0.68042034", "0.68042034", "0.68042034", "0.68042034", "0.6781627", "0.6677598", "0.6619633", "0.6570916", "0.6569988", "0.656168", "0.65074176", "0.63675255", "0.629368", "0.62539905", "0.62288237", "0.62288237", "0.617941", "0.61553323", "0.60936576", "0.60870...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
long getAmount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060736", "0.6804174", "0.6804174", "0.6804174", "0.6804174", "0.6781058", "0.66774637", "0.661892", "0.6570788", "0.65700126", "0.6561682", "0.6507028", "0.63676965", "0.62536246", "0.6228053", "0.6228053", "0.61781234", "0.6154722", "0.60930806", "0.6087181", "0.6071525"...
0.6292806
13
usually one of the standard Script forms required bytes script = 2;
boolean hasScript();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67991316", "0.6533587", "0.64289623", "0.63738036", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.5318...
0.47832653
83
usually one of the standard Script forms required bytes script = 2;
com.google.protobuf.ByteString getScript();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x00000002;\n script_ = value;\n }", "public...
[ "0.6533587", "0.64289623", "0.63738036", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.53188705", "0.5311...
0.67991316
0
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
@java.lang.Override public boolean hasAmount() { return ((bitField0_ & 0x00000001) != 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060954", "0.68042034", "0.68042034", "0.68042034", "0.68042034", "0.6781627", "0.6677598", "0.6619633", "0.6570916", "0.6569988", "0.656168", "0.65074176", "0.63675255", "0.629368", "0.62539905", "0.62288237", "0.62288237", "0.617941", "0.61553323", "0.60936576", "0.60870...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
@java.lang.Override public long getAmount() { return amount_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060736", "0.6804174", "0.6804174", "0.6804174", "0.6804174", "0.6781058", "0.66774637", "0.661892", "0.6570788", "0.65700126", "0.6561682", "0.6507028", "0.63676965", "0.6292806", "0.62536246", "0.6228053", "0.6228053", "0.61781234", "0.6154722", "0.60930806", "0.6087181"...
0.56218565
74
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
private void setAmount(long value) { bitField0_ |= 0x00000001; amount_ = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7061211", "0.68050337", "0.68050337", "0.68050337", "0.68050337", "0.67818403", "0.66784346", "0.65712935", "0.65711695", "0.6563038", "0.65080804", "0.63690007", "0.62933224", "0.62547207", "0.6228342", "0.6228342", "0.61796397", "0.6156085", "0.60945046", "0.60886586", "...
0.66202396
7
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
private void clearAmount() { bitField0_ = (bitField0_ & ~0x00000001); amount_ = 0L; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7061211", "0.68050337", "0.68050337", "0.68050337", "0.68050337", "0.67818403", "0.66784346", "0.66202396", "0.65712935", "0.65711695", "0.6563038", "0.65080804", "0.63690007", "0.62933224", "0.62547207", "0.6228342", "0.6228342", "0.61796397", "0.6156085", "0.60945046", "...
0.0
-1
usually one of the standard Script forms required bytes script = 2;
@java.lang.Override public boolean hasScript() { return ((bitField0_ & 0x00000002) != 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67973816", "0.6533307", "0.64277065", "0.6373242", "0.62863594", "0.6278497", "0.60303116", "0.5842328", "0.57758003", "0.56128824", "0.5588009", "0.5566657", "0.55652803", "0.553718", "0.54431194", "0.5440165", "0.5426321", "0.54108113", "0.5358248", "0.5321704", "0.53179...
0.52658635
23
usually one of the standard Script forms required bytes script = 2;
@java.lang.Override public com.google.protobuf.ByteString getScript() { return script_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.6801077", "0.65357125", "0.6429994", "0.63766366", "0.6286722", "0.62805074", "0.6033379", "0.58425856", "0.57796186", "0.56144166", "0.55688226", "0.5566717", "0.55379784", "0.5443428", "0.54427505", "0.5430453", "0.54138076", "0.53583145", "0.5322283", "0.53189075", "0.5...
0.55924904
10
usually one of the standard Script forms required bytes script = 2;
private void setScript(com.google.protobuf.ByteString value) { java.lang.Class<?> valueClass = value.getClass(); bitField0_ |= 0x00000002; script_ = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "public String getScript() {\n/* 256 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public VerificationScript() {\n ...
[ "0.67991316", "0.6533587", "0.64289623", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.53188705", "0.5311...
0.63738036
3
usually one of the standard Script forms required bytes script = 2;
private void clearScript() { bitField0_ = (bitField0_ & ~0x00000002); script_ = getDefaultInstance().getScript(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67991316", "0.6533587", "0.64289623", "0.63738036", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.5318...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
@java.lang.Override public boolean hasAmount() { return instance.hasAmount(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060954", "0.68042034", "0.68042034", "0.68042034", "0.68042034", "0.6781627", "0.6677598", "0.6619633", "0.6570916", "0.6569988", "0.656168", "0.65074176", "0.63675255", "0.629368", "0.62539905", "0.62288237", "0.62288237", "0.617941", "0.61553323", "0.60936576", "0.60870...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
@java.lang.Override public long getAmount() { return instance.getAmount(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7060736", "0.6804174", "0.6804174", "0.6804174", "0.6804174", "0.6781058", "0.66774637", "0.661892", "0.6570788", "0.65700126", "0.6561682", "0.6507028", "0.63676965", "0.6292806", "0.62536246", "0.6228053", "0.6228053", "0.61781234", "0.6154722", "0.60930806", "0.6087181"...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
public Builder setAmount(long value) { copyOnWrite(); instance.setAmount(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7061211", "0.68050337", "0.68050337", "0.68050337", "0.68050337", "0.67818403", "0.66784346", "0.66202396", "0.65712935", "0.65711695", "0.6563038", "0.65080804", "0.63690007", "0.62933224", "0.62547207", "0.6228342", "0.6228342", "0.61796397", "0.6156085", "0.60945046", "...
0.0
-1
amount is integernumberofsatoshis optional uint64 amount = 1 [default = 0];
public Builder clearAmount() { copyOnWrite(); instance.clearAmount(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAmount(long amount);", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount) {\n this.amount = amount;\n }", "public void setAmount(Long amount)...
[ "0.7061211", "0.68050337", "0.68050337", "0.68050337", "0.68050337", "0.67818403", "0.66784346", "0.66202396", "0.65712935", "0.65711695", "0.6563038", "0.65080804", "0.63690007", "0.62933224", "0.62547207", "0.6228342", "0.6228342", "0.61796397", "0.6156085", "0.60945046", "...
0.0
-1
usually one of the standard Script forms required bytes script = 2;
@java.lang.Override public boolean hasScript() { return instance.hasScript(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67973816", "0.6533307", "0.64277065", "0.6373242", "0.62863594", "0.6278497", "0.60303116", "0.5842328", "0.57758003", "0.56128824", "0.5588009", "0.5566657", "0.55652803", "0.553718", "0.54431194", "0.5440165", "0.5426321", "0.54108113", "0.5358248", "0.5321704", "0.53179...
0.0
-1
usually one of the standard Script forms required bytes script = 2;
@java.lang.Override public com.google.protobuf.ByteString getScript() { return instance.getScript(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.6801077", "0.65357125", "0.6429994", "0.63766366", "0.6286722", "0.62805074", "0.6033379", "0.58425856", "0.57796186", "0.56144166", "0.55924904", "0.55688226", "0.5566717", "0.55379784", "0.5443428", "0.54427505", "0.5430453", "0.54138076", "0.53583145", "0.5322283", "0.5...
0.0
-1
usually one of the standard Script forms required bytes script = 2;
public Builder setScript(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setScript(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67991316", "0.6533587", "0.64289623", "0.63738036", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.5318...
0.0
-1
usually one of the standard Script forms required bytes script = 2;
public Builder clearScript() { copyOnWrite(); instance.clearScript(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getScript();", "public VerificationScript(byte[] script) {\n this.script = script;\n }", "byte[] get_destination_script();", "private void setScript(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x000...
[ "0.67991316", "0.6533587", "0.64289623", "0.63738036", "0.62859124", "0.62789303", "0.6030895", "0.5841956", "0.5776855", "0.5613318", "0.55896354", "0.5566089", "0.5564924", "0.55375874", "0.5443141", "0.5441086", "0.54275525", "0.5411179", "0.53577673", "0.5320927", "0.5318...
0.0
-1
Hash of the network genesis block optional string genesis = 1 [default = "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691"];
boolean hasGenesis();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BlockChainLink getGenesisLink();", "@java.lang.Override\n public java.lang.String getGenesis() {\n return genesis_;\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getGenesisBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(genesis_);\n }", "com....
[ "0.6926382", "0.66773117", "0.66424996", "0.65233874", "0.6324576", "0.63017154", "0.62788105", "0.6247794", "0.6169162", "0.6027311", "0.59534395", "0.5923081", "0.5784323", "0.5784323", "0.57361966", "0.5683581", "0.568312", "0.56291246", "0.5623782", "0.5605472", "0.558550...
0.0
-1
Hash of the network genesis block optional string genesis = 1 [default = "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691"];
java.lang.String getGenesis();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BlockChainLink getGenesisLink();", "@java.lang.Override\n public java.lang.String getGenesis() {\n return genesis_;\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getGenesisBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(genesis_);\n }", "com....
[ "0.6927208", "0.6677202", "0.66426426", "0.65233", "0.6325492", "0.6301133", "0.6278923", "0.6247778", "0.61684054", "0.59531325", "0.59239745", "0.5783109", "0.5783109", "0.57365197", "0.5683801", "0.568366", "0.5629013", "0.5623869", "0.56038487", "0.5584258", "0.557094", ...
0.6026342
9
Hash of the network genesis block optional string genesis = 1 [default = "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691"];
com.google.protobuf.ByteString getGenesisBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BlockChainLink getGenesisLink();", "@java.lang.Override\n public java.lang.String getGenesis() {\n return genesis_;\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getGenesisBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(genesis_);\n }", "publ...
[ "0.6927262", "0.667585", "0.6641752", "0.63241553", "0.63015246", "0.62781", "0.6247412", "0.6167449", "0.6025517", "0.5952364", "0.59229356", "0.5783024", "0.5783024", "0.57362574", "0.5683724", "0.56823224", "0.5627969", "0.56225675", "0.56048673", "0.5585004", "0.55720365"...
0.6522562
3
Where payment should be sent repeated .payments.Output outputs = 2;
java.util.List<com.dogecoin.protocols.payments.Protos.Output> getOutputsList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void calculatePayment() {}", "void pay(Payment payment) {\n\n\t}", "private void pay() {\r\n System.out.println(\"Customer sent payment\");\r\n }", "@Override\r\n\tpublic void makePayment(Payment p, int amount) {\n\t\t\r\n\t}", "void pay(Order order);", "public void enterPayment(int coin...
[ "0.6190147", "0.6171904", "0.5976549", "0.5940567", "0.59199846", "0.59026307", "0.589855", "0.58829737", "0.5838494", "0.57997423", "0.5729423", "0.57223356", "0.5621013", "0.56162035", "0.5595309", "0.5573914", "0.55582", "0.5522369", "0.55132663", "0.5512875", "0.5504528",...
0.0
-1
Where payment should be sent repeated .payments.Output outputs = 2;
com.dogecoin.protocols.payments.Protos.Output getOutputs(int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void calculatePayment() {}", "void pay(Payment payment) {\n\n\t}", "private void pay() {\r\n System.out.println(\"Customer sent payment\");\r\n }", "@Override\r\n\tpublic void makePayment(Payment p, int amount) {\n\t\t\r\n\t}", "void pay(Order order);", "public void enterPayment(int coin...
[ "0.61889356", "0.61716366", "0.59775674", "0.5939274", "0.5919283", "0.5902915", "0.5882188", "0.5838648", "0.5800277", "0.5730218", "0.57213587", "0.56207657", "0.56170195", "0.55952394", "0.5572764", "0.55582607", "0.55220014", "0.5513604", "0.5511885", "0.55036163", "0.548...
0.58987474
6
Where payment should be sent repeated .payments.Output outputs = 2;
int getOutputsCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void calculatePayment() {}", "void pay(Payment payment) {\n\n\t}", "private void pay() {\r\n System.out.println(\"Customer sent payment\");\r\n }", "@Override\r\n\tpublic void makePayment(Payment p, int amount) {\n\t\t\r\n\t}", "void pay(Order order);", "public void enterPayment(int coin...
[ "0.6189728", "0.61718285", "0.5977192", "0.5939357", "0.5918659", "0.59034014", "0.5898379", "0.5881606", "0.5838093", "0.58015126", "0.57310265", "0.5721403", "0.5620485", "0.56169635", "0.55954003", "0.5573718", "0.55580556", "0.5521689", "0.5514021", "0.55125624", "0.55041...
0.0
-1
Timestamp; when payment request created required uint64 time = 3;
boolean hasTime();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BigInteger getResponse_time();", "com.google.protobuf.Timestamp getSubmitTime();", "com.google.protobuf.Timestamp getSendTime();", "public Date getPaymentTime() {\n\t\treturn paymentTime;\n\t}", "double getClientTime();", "long getCreateTime();", "long getCreateTime();", "Long timestamp();", "publi...
[ "0.6862211", "0.6237775", "0.62266433", "0.61695325", "0.60990685", "0.60972226", "0.60972226", "0.60893995", "0.6078815", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", ...
0.0
-1
Timestamp; when payment request created required uint64 time = 3;
long getTime();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BigInteger getResponse_time();", "com.google.protobuf.Timestamp getSubmitTime();", "com.google.protobuf.Timestamp getSendTime();", "public Date getPaymentTime() {\n\t\treturn paymentTime;\n\t}", "double getClientTime();", "long getCreateTime();", "long getCreateTime();", "Long timestamp();", "publi...
[ "0.6862211", "0.6237775", "0.62266433", "0.61695325", "0.60990685", "0.60972226", "0.60972226", "0.60893995", "0.6078815", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", "0.60642344", ...
0.0
-1
Timestamp; when this request should be considered invalid optional uint64 expires = 4;
boolean hasExpires();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Date getExpiration()\n {\n return null;\n }", "long getExpiration();", "@Override\n public void setExpiration( Date arg0)\n {\n \n }", "@java.lang.Override\n public boolean hasExpires() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "@ApiMo...
[ "0.67888796", "0.6660935", "0.6604238", "0.6585184", "0.6491881", "0.6327738", "0.6325142", "0.6318848", "0.63155055", "0.63121146", "0.62917465", "0.62906796", "0.62862295", "0.6268857", "0.6265079", "0.6250846", "0.62256515", "0.62234604", "0.6220691", "0.6192885", "0.61844...
0.58393204
47
Timestamp; when this request should be considered invalid optional uint64 expires = 4;
long getExpires();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Date getExpiration()\n {\n return null;\n }", "long getExpiration();", "@Override\n public void setExpiration( Date arg0)\n {\n \n }", "@java.lang.Override\n public boolean hasExpires() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "@ApiMo...
[ "0.6788627", "0.6661481", "0.66046935", "0.65864384", "0.6493445", "0.63271296", "0.6318222", "0.6315905", "0.6312126", "0.62920886", "0.6289404", "0.62868315", "0.6270749", "0.6267154", "0.6253964", "0.62253785", "0.62227017", "0.622246", "0.6192909", "0.6186196", "0.6180339...
0.6327424
5
Humanreadable description of request for the customer optional string memo = 5;
boolean hasMemo();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public String getMemo() {...
[ "0.6589688", "0.65882015", "0.65882015", "0.65882015", "0.65787244", "0.6533798", "0.6533798", "0.6533798", "0.649377", "0.649377", "0.649377", "0.649377", "0.6492644", "0.6467307", "0.6467307", "0.6442704", "0.64249337", "0.6399231", "0.63713586", "0.62734056", "0.62734056",...
0.0
-1
Humanreadable description of request for the customer optional string memo = 5;
java.lang.String getMemo();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public void setMemo(String memo) {\n this.memo = memo;\n }", "public String getMemo() {...
[ "0.6589688", "0.65882015", "0.65882015", "0.65882015", "0.65787244", "0.649377", "0.649377", "0.649377", "0.649377", "0.6492644", "0.6467307", "0.6467307", "0.6442704", "0.64249337", "0.6399231", "0.63713586", "0.62734056", "0.62734056", "0.62734056", "0.6257111", "0.6257111"...
0.6533798
5