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
TODO Autogenerated method stub
@Override public void onClick(View v) { showListView(); mPullRefreshScrollView.setLoadRefreshing(); }
{ "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
TODO Autogenerated method stub
@Override public void onClick(View v) { if (popupWindow != null) { if (popupWindow.isShowing()) { popupWindow.dismiss(); accountRemainTitle.Aarrw(R.drawable.arrow_down); } else { popupWindow.showAsDropDown(accountRemainTitle, 0, 0); accountRemainTitle.Aarrw(R.drawable.arr...
{ "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
TODO Autogenerated method stub AccountRemainActivity.this.finish();
@Override public void onClick(View arg0) { accountRemainTitle.Aarrw(R.drawable.arrow_down); AccountRemainActivity.this.finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tIntent intent = new Intent(AccountRemainActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\t\t ConfirmIdentityActivity.class);\r\n\t\t\t\t\t\tstartActivity(intent);\r\n\t\t\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tAccountManage.this...
[ "0.67007023", "0.63945276", "0.6290475", "0.624264", "0.6236781", "0.6141286", "0.6129834", "0.6125866", "0.611486", "0.6081086", "0.60556275", "0.6041815", "0.6041642", "0.60340047", "0.6027112", "0.6019188", "0.5995468", "0.59934956", "0.59926987", "0.59837943", "0.5983516"...
0.67081887
0
TODO Autogenerated method stub
@Override public void onClick(View v) { Intent intent = new Intent(AccountRemainActivity.this, ConfirmIdentityActivity.class); startActivity(intent); }
{ "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
TODO Autogenerated method stub
@Override public void onClick(View v) { Intent intent = new Intent(AccountRemainActivity.this, AddBankCardActivity.class); startActivity(intent); }
{ "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
TODO Autogenerated method stub
@Override public void onResponse(JSONObject response) { Log.d(LOG_TAG, "response:" + response.toString()); dialog.cancel(); try { if (response.getInt("code") == 0) { JSONObject data = response.getJSONObject("data"); remainderMoney.setNumText(Tool.toDeciDouble(data.getString("money"))); ...
{ "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
TODO Autogenerated method stub
@Override protected void onStart() { super.onStart(); if(!createFlag) { Tool.resetPullRefreshView(mPullRefreshScrollView); } else { createFlag = false; } }
{ "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
TODO Autogenerated method stub
@Override public void onClick(View v) { popupWindow.dismiss(); accountRemainTitle.Aarrw(R.drawable.arrow_down); }
{ "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
TODO Autogenerated method stub
@Override public void onDismiss() { LogUtil.info("set arrow down"); accountRemainTitle.Aarrw(R.drawable.arrow_down); }
{ "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
TODO Autogenerated method stub
@Override public void showNoNetwork() { dialog.cancel(); showNetView(false); }
{ "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
TODO Autogenerated method stub
@Override public void showErrReq() { dialog.cancel(); showNetView(true); }
{ "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
Create a factory with the given name and container.
public Factory(NamedObj container, String name) throws IllegalActionException, NameDuplicationException { super(container, name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Container createContainer();", "public abstract ServiceLocator create(String name);", "T createContainer();", "protected static Object createFactory(Map<String, String> configuration,\n String initParameterName) {\n String factoryName = resolveFactoryName(configuration, initParameterName);\...
[ "0.64887077", "0.6158068", "0.593936", "0.58643585", "0.57700545", "0.5594599", "0.5593849", "0.552882", "0.5434255", "0.5417275", "0.5330113", "0.53100675", "0.5305286", "0.5265093", "0.5231998", "0.521765", "0.5216442", "0.5210282", "0.52016526", "0.52014", "0.5195387", "...
0.67832065
0
Create a library pane that displays the given library of actors.
public TabPane createTabPane(TableauFrame parent) { TabPaneExtensionExample tpee = new TabPaneExtensionExample(); /* * Optionally you can create a method called setTabName and use the * "name" value from the configuration.xml file by calling * this.getName(). For Example if you have <property * n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Library() {\n\n\t\tsuper(\"Library\");\n\n\t\tsetSize(600, 900);\n\t\tsetLayout(new GridLayout(3,1));\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\tcreateWidgets();\n\n\t\tsetVisible(true);\n\n\t}", "private void createWidgets() {\n\n\t\tJPanel filmPanel = createFilmPanel();\n\t\tJPanel musi...
[ "0.60904497", "0.565313", "0.5615687", "0.55981266", "0.5552849", "0.54233956", "0.5403362", "0.5361813", "0.53270656", "0.5320299", "0.5316709", "0.529947", "0.5287733", "0.52736753", "0.52735263", "0.52726454", "0.52491087", "0.5227765", "0.5221301", "0.5219747", "0.5219502...
0.0
-1
Abre la Base de Datos.
public DataBase open(){ myDB = new MyHelper(ourContext); myDataBase = myDB.getWritableDatabase(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Data() {\n initComponents();\n koneksi_db();\n tampil_data();\n }", "public void instalarBaseDatos()\r\n\t{\r\n\t\tString nombrebuscado = \"information_schema\";\r\n\t\tArrayList parametrosbd = parametrosConectorBaseDatos();\r\n\t\tif(parametrosbd != null)\r\n\t\t{\r\n\t\t\tif(para...
[ "0.70534813", "0.6888221", "0.68108934", "0.66297626", "0.65381986", "0.6520817", "0.6485769", "0.63848716", "0.6348332", "0.6346914", "0.6309667", "0.62339693", "0.62132937", "0.6202667", "0.6155253", "0.6129752", "0.61039096", "0.60755867", "0.6069876", "0.6065609", "0.6060...
0.0
-1
Cierra la base de Datos.
public void close(){ myDB.close(); myDataBase.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Data() {\n initComponents();\n koneksi_db();\n tampil_data();\n }", "private void limpiarDatos() {\n\t\t\n\t}", "public DanielPatricio() throws SQLException {\n initComponents();\n //limpiar();\n recargarDropDownCarros();\n recargarTextArea();\n ...
[ "0.7391044", "0.7152188", "0.7095548", "0.7024753", "0.6888575", "0.68328977", "0.6776598", "0.67743486", "0.6769542", "0.6741326", "0.6736867", "0.6677119", "0.66680235", "0.66089594", "0.6577752", "0.6570116", "0.6563854", "0.6522621", "0.651112", "0.6504323", "0.6486594", ...
0.0
-1
Este metodo es para la entrada a una tabla generica que necesite solo "latitud", "longitud" y "tiempo".
public void newEntryZipcodes(String zipcode){ open(); ContentValues registro = new ContentValues(); registro.put(Key_zipcode, zipcode); myDataBase.insert(nTZipcodes, null, registro); close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public List<Map<String, Object>> tareasOrdenadasPorDistancia(long id_emergencia){\n try(Connection conn = sql2o.open()){\n List<Emergencia> emergencia = conn.createQuery(\"SELECT ST_X(ST_AsText(ubicacion)) AS longitud, ST_Y(ST_AsText(ubicacion)) AS latitud FROM emergencia WHERE id ...
[ "0.67085004", "0.65185815", "0.58513796", "0.5819291", "0.57384175", "0.5732322", "0.5678833", "0.5598314", "0.5558246", "0.5536526", "0.5516643", "0.54917586", "0.5409931", "0.5408014", "0.53808314", "0.5378101", "0.5356346", "0.53365856", "0.52615154", "0.5260015", "0.52377...
0.0
-1
Method to send responses and database items to mobile
public void sendMessageToMobile(final String str) { new Thread(new Runnable() { @Override public void run() { try { PrintWriter out = new PrintWriter(new OutputStreamWriter(s.getOutputStream(), "utf-8"), true); if (!str.isEmpty()){ out.println(str); out.flush(); Sy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void sendItemListRequest() {\n\t\ttry {\n\t\t\tString xml = \"\";\n\t\t\tif (this.servType.equals(SERVICE_TYPE_SOAP)){\n\t\t\t\txml = server.getItems();\n\t\t\t} else {\n\t\t\t\tWebResource itemListReqService = service.path(URI_GETITEMS);\n\t\t\t\txml = itemListReqService.accept(MediaType.TEXT_...
[ "0.60906404", "0.6082387", "0.6019831", "0.595589", "0.59326565", "0.5907548", "0.5859372", "0.5846559", "0.5834864", "0.5807917", "0.58078825", "0.5806345", "0.58033454", "0.5803121", "0.57970464", "0.57943845", "0.5792853", "0.5741025", "0.5726346", "0.57096463", "0.5700214...
0.0
-1
get list id by filepath
public List<String> getListFilePath() throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = "SELECT filepath FROM " + management + " WHERE step =4 GROUP BY filepath ORDER BY filepath"; con = db.getConnectByProject(project); l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getListIdByFilePathAndForm(String filepath , String formid) throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \"SELECT id FROM \" + management + \" WHERE filepath ='\"+filepath+\"' AND ...
[ "0.6880394", "0.6642296", "0.63768464", "0.6349509", "0.6304797", "0.6228879", "0.62130386", "0.62051535", "0.6129933", "0.6104389", "0.6087934", "0.60591656", "0.60527337", "0.6005926", "0.6004293", "0.59979755", "0.59612375", "0.59433746", "0.58710116", "0.585424", "0.58435...
0.554101
59
get list id by filepath
public Map<String , String> getMapFieldAge() throws AncestryException { Map<String , String> mapFieldAge = new HashMap<String , String>(); Connection con = null; PreparedStatement pst = null; ResultSet rs = null; String sql = ""; try { sql = "SELECT fieldname , detail_field FROM fieldnamelist WHERE field...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getListIdByFilePathAndForm(String filepath , String formid) throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \"SELECT id FROM \" + management + \" WHERE filepath ='\"+filepath+\"' AND ...
[ "0.6880394", "0.6642296", "0.63768464", "0.6349509", "0.6304797", "0.6228879", "0.62130386", "0.62051535", "0.6129933", "0.6104389", "0.6087934", "0.60591656", "0.60527337", "0.6005926", "0.6004293", "0.59979755", "0.59612375", "0.59433746", "0.58710116", "0.585424", "0.58435...
0.0
-1
get list form key by filepath
public List<String> getListFormKey() throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = " SELECT form_id FROM form_info WHERE is_key ORDER BY form_id"; con = db.getConnectByProject(project); listFormKey = JdbcHelper.queryTo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getKeyFilePath();", "public List<String> getListFormKeyByPath(String path) throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \" SELECT DISTINCT( formid) FROM \"+ management +\" WHERE filepa...
[ "0.6941707", "0.6894251", "0.64721245", "0.6408212", "0.6138019", "0.61186934", "0.6103416", "0.60957205", "0.60008365", "0.58422065", "0.5838209", "0.5832982", "0.5826365", "0.58259535", "0.5823694", "0.5821255", "0.57922995", "0.57804537", "0.5778279", "0.5775831", "0.57608...
0.60007584
9
get list form key by filepath
public List<String> getListFormKeyByPath(String path) throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = " SELECT DISTINCT( formid) FROM "+ management +" WHERE filepath ='"+path+"' AND formid IN ( SELECT form_id FROM form_info WH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getKeyFilePath();", "public List<String> getListFilePath() throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \"SELECT filepath FROM \" + management + \" WHERE step =4 GROUP BY filepath ORD...
[ "0.6941289", "0.64741945", "0.64088297", "0.61389977", "0.61191946", "0.61023366", "0.60923976", "0.600035", "0.59978783", "0.58420175", "0.5835064", "0.58289695", "0.5825768", "0.5825635", "0.58253574", "0.5821384", "0.5793192", "0.5779025", "0.5777489", "0.5775611", "0.5762...
0.689366
1
get list id by filepath
public List<String> getListIdByFilePath(String filepath , String user_type) throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = "SELECT m.id FROM " + management + " m JOIN " + proof + " p ON m.id = p.managementid " + "AND m.fi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getListIdByFilePathAndForm(String filepath , String formid) throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \"SELECT id FROM \" + management + \" WHERE filepath ='\"+filepath+\"' AND ...
[ "0.6880394", "0.63768464", "0.6349509", "0.6304797", "0.6228879", "0.62130386", "0.62051535", "0.6129933", "0.6104389", "0.6087934", "0.60591656", "0.60527337", "0.6005926", "0.6004293", "0.59979755", "0.59612375", "0.59433746", "0.58710116", "0.585424", "0.5843566", "0.58163...
0.6642296
1
get list id by filepath and by formid
public List<String> getListIdByFilePathAndForm(String filepath , String formid) throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = "SELECT id FROM " + management + " WHERE filepath ='"+filepath+"' AND step =4 AND formid ="+formid...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getListIdByFilePath(String filepath , String user_type) throws AncestryException {\n\t\tList<String> listFormKey = new ArrayList<String>();\n\t\tConnection con = null;\n\t\tString sql = \"\";\n\t\ttry {\n\t\t\tsql = \"SELECT m.id FROM \" + management + \" m JOIN \" + proof + \" p ON m.id = p.ma...
[ "0.64954156", "0.63166106", "0.60601074", "0.5851309", "0.582994", "0.5808651", "0.5770058", "0.5692658", "0.56612855", "0.5645116", "0.56076384", "0.5582842", "0.55813855", "0.55694646", "0.5560582", "0.5515551", "0.55022454", "0.54788107", "0.54454505", "0.5431857", "0.5426...
0.7904604
0
get list from id to id
public List<String> getListIdFromTo(String from , String to , String formid) throws AncestryException { List<String> listFormKey = new ArrayList<String>(); Connection con = null; String sql = ""; try { sql = "SELECT id FROM " + management + " WHERE step =4 AND id BETWEEN "+ from +" AND "+ to + " AND fo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List getAllIds();", "List<String> getList(String id);", "java.util.List<java.lang.Long> getIdsList();", "public abstract ArrayList<Integer> getIdList();", "java.util.List<java.lang.Integer> getOtherIdsList();", "List<String> findAllIds();", "List<UserInfo> getUserListByIdLists(List<Integer> idLi...
[ "0.7142454", "0.7111853", "0.702601", "0.68793195", "0.6717329", "0.6683649", "0.66372514", "0.6488147", "0.6483287", "0.6436331", "0.6240902", "0.62342644", "0.62179375", "0.620459", "0.61936784", "0.61933225", "0.61922073", "0.61819124", "0.617209", "0.6141054", "0.6138222"...
0.6666462
6
get user type may managementid
public Map<Long , String> getUserTypeByManagementId(String ids) throws AncestryException { Map<Long , String> mapUserType = new HashMap<Long, String>(); Connection con = null; ResultSet rs = null; try { String sql = "SELECT user_type , m.id FROM "+management+" m JOIN " + proof + " p ON m.id = p.ma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getUserTypeId()\n {\n return userTypeId;\n }", "public Integer getUserTypeId() {\n return userTypeId;\n }", "UmType getUserManager();", "public int getUserType() {\n\t\treturn userType;\n\t}", "public Short getUserType() {\r\n return userType;\r\n }", "publ...
[ "0.6892756", "0.6737197", "0.6670923", "0.66694367", "0.6593734", "0.6501748", "0.64567596", "0.64567596", "0.64567596", "0.64567596", "0.63623804", "0.62798554", "0.6217778", "0.62124246", "0.62061703", "0.62026364", "0.6201306", "0.61799794", "0.61662394", "0.60739183", "0....
0.57320136
55
get list management done by user
public List<Management> getListManagementByIds(String ids , boolean isRework) throws AncestryException { setTable(isRework); List<Management> listManagement = new ArrayList<Management>(); ResultSet rs = null; Connection con = null; String sql =""; try { sql = "SELECT m.* FROM " + management + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UserList list();", "protected void getUserList() {\n\t\tmyDatabaseHandler db = new myDatabaseHandler();\n\t\tStatement statement = db.getStatement();\n\t\t// db.createUserTable(statement);\n\t\tuserList = new ArrayList();\n\t\tsearchedUserList = new ArrayList();\n\t\tsearchedUserList = db.getUserList(stat...
[ "0.76206577", "0.727988", "0.71456134", "0.7095613", "0.70008427", "0.69944984", "0.6988931", "0.6924427", "0.68965936", "0.68744624", "0.68228334", "0.6805999", "0.6796249", "0.6787536", "0.66535", "0.6620381", "0.6610696", "0.65878046", "0.65866494", "0.65307194", "0.652427...
0.0
-1
get DigiSoft project information
public Tbl_Projects getProjectInforFromPMS(String projectName) throws AncestryException { Tbl_Projects project = new Tbl_Projects(); Connection con = null; ResultSet rs = null; String sql = ""; try { sql = "SELECT proj_serverip ,proj_schema , proj_dbname , proj_uid , proj_pwd FROM tbl_projects p WHERE pro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ProjectInfo getProjectInfo()\n {\n\treturn c_projectInfo;\n }", "private ModelInfo<Project> getProjectInfo(String projectName) {\n return name2Info.get(projectName);\n }", "public String getProjectno() {\r\n return projectno;\r\n }", "public static final String getProject() {...
[ "0.7297497", "0.68407714", "0.68314284", "0.679368", "0.679368", "0.67585486", "0.67324847", "0.67206347", "0.6683594", "0.6671715", "0.6637465", "0.66335505", "0.6546305", "0.65291107", "0.6525996", "0.652364", "0.65164536", "0.65144634", "0.6507151", "0.6505071", "0.6442249...
0.0
-1
update qc_status in DigiSoft
public boolean updateDigiSoftQcStatus(Tbl_Projects digiSoftProject , String ids) throws AncestryException { boolean flag = false; Connection con = null; try { if(ids.endsWith(",")) { ids = ids.substring(0 , ids.lastIndexOf(",")); } String sql = "UPDATE management SET ancestry_update_status=1 , captu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updatePICstatus2() {\n try {\n Connection connection = connectionClass.CONN();\n String query = \"UPDATE stationdashboard SET Status=2, PIC=NULL where Station='\" + Station + \"' and Line ='\" + Line + \"'\";\n PreparedStatement stmt = connection.prepareStatement...
[ "0.5904421", "0.5718533", "0.5709019", "0.5660452", "0.5635104", "0.56305087", "0.5629423", "0.56289464", "0.5623464", "0.5599459", "0.5555115", "0.55418146", "0.5540025", "0.5535557", "0.5504896", "0.54957306", "0.545682", "0.54554677", "0.5451024", "0.5443178", "0.54260343"...
0.54978645
15
move data to Ancestry
public boolean moveDataToAncestry( BeanInfo beanInfo , List<Long> listIds) throws AncestryException { boolean flag = true; Connection con = null; PreparedStatement pst = null; String sql = ""; try { con = db.getConnectAncestryQC(project); for (long managementid : listIds) { sql = "SELECT * f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void saveChildrenData() {\n boats.forEach(boatDAO::save);\n }", "public void loadData(){\n try {\n entities.clear();\n\n DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\n DocumentBuilder documentBuilder ...
[ "0.5613858", "0.5370091", "0.53674746", "0.5332557", "0.5244915", "0.52283925", "0.51171076", "0.50820184", "0.5054125", "0.50412697", "0.5031925", "0.50214696", "0.5008185", "0.4977697", "0.49743012", "0.4967733", "0.49389187", "0.49224806", "0.49120703", "0.48919398", "0.48...
0.5382982
1
assign job save time
public boolean saveCustomerFeedbackDetail(Connection con , List<Management> listManagement , Map<Long , String> mapUserType , List<String> listField , String ids ) throws ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Time save(Time time);", "@Override\n protected double getServiceTimeForJob (final J job)\n {\n return super.getServiceTimeForJob (job);\n }", "public void saveAndUpdateJobStatus(AbstractPersistedAnalysisJob job) {\r\n job.setLastUpdateDate(new Date());\r\n getWorkspaceService().savePersiste...
[ "0.64444333", "0.639002", "0.6252468", "0.6181681", "0.6114583", "0.60119015", "0.5965483", "0.596141", "0.5952407", "0.5891797", "0.5867527", "0.58354545", "0.58109266", "0.5809332", "0.5787656", "0.57857746", "0.57687056", "0.5767477", "0.5762775", "0.5749721", "0.5729765",...
0.0
-1
Handler for custom "project exception"
@ExceptionHandler(ProjectException.class) public ResponseEntity<Object> exceptionProjectHandler(Exception ex) { HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_JSON); String json = Json.createObjectBuilder() .add("message", "no project found") .buil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default void projectOpenFailed() {\n }", "public InvalidProjectTypeException () {\r\n \t\tsuper();\r\n \t}", "@Override\n public void logError(String message) {\n Log.e(_projectName, message);\n }", "public static void main(String[] args) {\n String dataDir = Utils.getDataDir(HandleExceptions.cl...
[ "0.64956766", "0.6229054", "0.604864", "0.59473693", "0.58898944", "0.58720917", "0.5857198", "0.58436704", "0.5840502", "0.5834281", "0.57939583", "0.5785619", "0.57852316", "0.5775073", "0.57723796", "0.576355", "0.575308", "0.5730774", "0.5727164", "0.5716705", "0.57062876...
0.7026404
0
MotionEvent reports input details from the touch screen and other input controls. In this case, we are only interested in events where the touch position changed.
@Override public boolean onTouchEvent(MotionEvent e) { float x = e.getX(); float y = e.getY(); switch (e.getAction()) { case MotionEvent.ACTION_DOWN: //erwanGLRenderer.startRotating(x,y); break; case MotionEvent.ACTION_UP: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void interpretMotionEvent(MotionEvent event);", "public void onTouchEvent(MotionEvent event) {\n\t\t// history\n\t\t// pointers\n\t\tmDurationLogger.start();\n\t\tevent.getPointerCount();\n\t\tevent.getAction();\n\t\tif (event.getHistorySize() > 0){\n\t\t\tLog.i(\"TouchLogger\",\n\t\t\t\t\t\" x:\" + event...
[ "0.74642015", "0.6924821", "0.66105026", "0.6388952", "0.6386416", "0.6361491", "0.6336418", "0.62610847", "0.6252735", "0.6234121", "0.6190452", "0.6159604", "0.6138012", "0.6126226", "0.6119354", "0.611134", "0.6096003", "0.608886", "0.60756546", "0.6071915", "0.607026", ...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_ID
public String getCommodityStructrueId() { return commodityStructrueId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getCommodityStructrueChildNum() {\r\n return commodityStructrueChildNum;\r\n }", "public String getCommodityStructrueName() {\r\n return commodityStructrueName;\r\n }", "public Integer getCommodityId() {\n return commodityId;\n }", "public String getCommodityStruc...
[ "0.62589794", "0.62234527", "0.6194315", "0.6136486", "0.59598047", "0.55944765", "0.54516417", "0.53933793", "0.5346004", "0.52739275", "0.5221699", "0.52193004", "0.52020293", "0.5188766", "0.51724625", "0.51596844", "0.51596844", "0.5158251", "0.51453304", "0.5136747", "0....
0.7433166
0
This method was generated by MyBatis Generator. This method sets the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_ID
public void setCommodityStructrueId(String commodityStructrueId) { this.commodityStructrueId = commodityStructrueId == null ? null : commodityStructrueId.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCommodityStructrueId() {\r\n return commodityStructrueId;\r\n }", "public void setCommodityStructrueName(String commodityStructrueName) {\r\n this.commodityStructrueName = commodityStructrueName == null ? null : commodityStructrueName.trim();\r\n }", "public void setCommodi...
[ "0.6931375", "0.6155236", "0.59313923", "0.5769626", "0.56795335", "0.5652955", "0.5623469", "0.55003715", "0.5244433", "0.51845837", "0.515615", "0.512752", "0.49503103", "0.47824746", "0.47824746", "0.47821334", "0.4767735", "0.47640038", "0.47592112", "0.4705812", "0.46979...
0.68313813
1
This method was generated by MyBatis Generator. This method returns the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_NAME
public String getCommodityStructrueName() { return commodityStructrueName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCommodityStructrueId() {\r\n return commodityStructrueId;\r\n }", "public void setCommodityStructrueName(String commodityStructrueName) {\r\n this.commodityStructrueName = commodityStructrueName == null ? null : commodityStructrueName.trim();\r\n }", "public String getCommo...
[ "0.6840539", "0.6611841", "0.60250026", "0.5919472", "0.5690048", "0.5614251", "0.55578965", "0.54511744", "0.5358804", "0.53116053", "0.5292427", "0.51425856", "0.51127744", "0.5095919", "0.5059962", "0.49998894", "0.49038696", "0.48918074", "0.48832345", "0.48831055", "0.48...
0.7586634
0
This method was generated by MyBatis Generator. This method sets the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_NAME
public void setCommodityStructrueName(String commodityStructrueName) { this.commodityStructrueName = commodityStructrueName == null ? null : commodityStructrueName.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCommodityStructrueName() {\r\n return commodityStructrueName;\r\n }", "public String getCommodityStructrueId() {\r\n return commodityStructrueId;\r\n }", "public void setCommodityStructrueId(String commodityStructrueId) {\r\n this.commodityStructrueId = commodityStru...
[ "0.7003027", "0.6379412", "0.60873026", "0.5653255", "0.55933833", "0.5476294", "0.5394627", "0.5349068", "0.5322691", "0.5171186", "0.5107355", "0.5012207", "0.49639487", "0.48695147", "0.48304656", "0.48151553", "0.4797396", "0.47704136", "0.476813", "0.46952868", "0.468744...
0.74144554
0
This method was generated by MyBatis Generator. This method returns the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_FARTHER_ID
public String getCommodityStructrueFartherId() { return commodityStructrueFartherId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCommodityStructrueId() {\r\n return commodityStructrueId;\r\n }", "public Integer getCommodityStructrueChildNum() {\r\n return commodityStructrueChildNum;\r\n }", "public void setCommodityStructrueFartherId(String commodityStructrueFartherId) {\r\n this.commodityStru...
[ "0.66349494", "0.61638546", "0.59344995", "0.54723537", "0.5295083", "0.51327", "0.50432605", "0.5015168", "0.49959847", "0.49912757", "0.4900783", "0.48845828", "0.48838043", "0.48268446", "0.47918093", "0.47827837", "0.47551942", "0.4755055", "0.47495452", "0.47472432", "0....
0.7505527
0
This method was generated by MyBatis Generator. This method sets the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_FARTHER_ID
public void setCommodityStructrueFartherId(String commodityStructrueFartherId) { this.commodityStructrueFartherId = commodityStructrueFartherId == null ? null : commodityStructrueFartherId.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCommodityStructrueFartherId() {\r\n return commodityStructrueFartherId;\r\n }", "public String getCommodityStructrueId() {\r\n return commodityStructrueId;\r\n }", "public void setCommodityStructrueChildNum(Integer commodityStructrueChildNum) {\r\n this.commodityStru...
[ "0.6892539", "0.5931039", "0.57307124", "0.5715168", "0.53764373", "0.4968084", "0.4878744", "0.47845492", "0.47751898", "0.46766025", "0.46170142", "0.45251486", "0.45003432", "0.44814843", "0.44795248", "0.44665033", "0.44568726", "0.44513455", "0.44459572", "0.4413013", "0...
0.6828843
1
This method was generated by MyBatis Generator. This method returns the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_CHILD_NUM
public Integer getCommodityStructrueChildNum() { return commodityStructrueChildNum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCommodityStructrueChildNum(Integer commodityStructrueChildNum) {\r\n this.commodityStructrueChildNum = commodityStructrueChildNum;\r\n }", "public String getChildNbr() {\n if (ChildType_Type.featOkTst && ((ChildType_Type)jcasType).casFeat_childNbr == null)\n jcasType.jcas.throwFe...
[ "0.65920824", "0.60228276", "0.60194504", "0.5969077", "0.5549171", "0.55451035", "0.51221925", "0.50588536", "0.5021596", "0.49381608", "0.49258864", "0.49068576", "0.48616934", "0.48440462", "0.48263767", "0.48180223", "0.481679", "0.4816541", "0.48101068", "0.47800168", "0...
0.7532388
0
This method was generated by MyBatis Generator. This method sets the value of the database column g_commodity_structrue.COMMODITY_STRUCTRUE_CHILD_NUM
public void setCommodityStructrueChildNum(Integer commodityStructrueChildNum) { this.commodityStructrueChildNum = commodityStructrueChildNum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getCommodityStructrueChildNum() {\r\n return commodityStructrueChildNum;\r\n }", "public void setChildNum(int value) {\n this.childNum = value;\n }", "public int getChildNum() {\n return childNum;\n }", "public int getChildNum() {\r\n\t\treturn childNum;\r\n\t}", ...
[ "0.70104223", "0.6237775", "0.55415475", "0.55214155", "0.52623576", "0.5254225", "0.49785802", "0.49287683", "0.4896639", "0.47616658", "0.47522238", "0.4693066", "0.46804965", "0.46279803", "0.46235085", "0.45680216", "0.45256358", "0.45206115", "0.45067215", "0.44750556", ...
0.7462478
0
In deze methode wordt een Persoon en Dienblad gemaakt en aan elkaar gekoppeld. Maak twee Artikelen aan en plaats deze op het dienblad. Tenslotte sluit de Persoon zich aan bij de rij voor de kassa.
public void loopPakSluitAan(Persoon persoon, String[] artikelnamen) { for(int i=0; i < artikelnamen.length; i++){ persoon.getDienblad().voegToe(aanbod.getArtikel(artikelnamen[i])); } kassarij.sluitAchteraan(persoon); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showMandje(){\r\n \r\n // Laat \r\n System.out.println(\"Winkelmand bevat de volgende items\");\r\n \r\n // Print alle artikelen die de in zijn winkelmandje heeft\r\n for(Artikel item : artikelen)\r\n {\r\n Syst...
[ "0.676259", "0.64872766", "0.6170788", "0.61069614", "0.601505", "0.59879583", "0.59678024", "0.5950084", "0.59400654", "0.5929451", "0.59171355", "0.5891165", "0.58870894", "0.58831996", "0.58697903", "0.58542556", "0.5842464", "0.58240926", "0.58240783", "0.58210254", "0.57...
0.6425082
2
Deze methode handelt de rij voor de kassa af.
public void verwerkRijVoorKassa() { while(kassarij.erIsEenRij()) { Persoon staatBijKassa = kassarij.eerstePersoonInRij(); kassa.rekenAf(staatBijKassa); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void rotiereNachRechts() {\n\n\t}", "public void redibujarAlgoformers() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void re...
[ "0.71396816", "0.6958336", "0.67902946", "0.6641727", "0.6424432", "0.6411162", "0.6359977", "0.63560975", "0.6294956", "0.6282978", "0.62811375", "0.62657374", "0.62618077", "0.6244891", "0.623587", "0.61825454", "0.6182311", "0.61801016", "0.6170866", "0.61620665", "0.61603...
0.70087117
1
Checks for Location access permission and asks for it if it was not granted
@Override protected void onCreate(Bundle savedInstanceState) { PermissionRequest permReq = new PermissionRequest(this); permReq.locPermissionCheck(); super.onCreate(savedInstanceState); setContentView(R.layout.login_activity); UsernameEt = findViewById(R.id.usernameTxtField)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void checkLocationPermission() {\n\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n //location permission required\n ActivityCompat.requestPermissions(this, new String[]\n ...
[ "0.82845753", "0.81720525", "0.8118491", "0.801384", "0.79818267", "0.79591566", "0.7945737", "0.79417866", "0.7928529", "0.79072636", "0.79020697", "0.79020697", "0.7883411", "0.7873915", "0.78725064", "0.78514594", "0.78167063", "0.7807538", "0.77919644", "0.7755516", "0.77...
0.0
-1
Checks the Username and password and changes the activity to "MainActivity" if the detail introduced are correspond to an account
public void onLogin(View view) { String username = UsernameEt.getText().toString(); String password = PasswordEt.getText().toString(); String type = "login"; LoginAsync loginAsync = new LoginAsync(this); loginAsync.execute(type, username, password); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loginUserMainActivity(View view) \n {\n // Initialize the intent to user's main activity\n Intent userMainIntent = new Intent(this, UserMainActivity.class);\n\n // Get the user name.\n String uname = unameEt.getText().toString();\n\n // Get the password.\n String pwd = pwdEt.getText(...
[ "0.7086019", "0.70265245", "0.69802713", "0.6952186", "0.691303", "0.6853835", "0.679633", "0.6793986", "0.6788007", "0.67762244", "0.6748403", "0.673811", "0.6733823", "0.67165005", "0.6700567", "0.6656264", "0.6634872", "0.6621478", "0.661176", "0.6596622", "0.65619576", ...
0.0
-1
Number 3 means total page is 3
@Override public CharSequence getPageTitle(int position) { switch (position) { case 0: return ""; // "" means the titles will be blank. case 1: return ""; case 2: return ""; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic int getCount() {\n\t\t\t// Show 3 total pages.\n\t\t\treturn 3;\n\t\t}", "int getPagesAmount();", "long getAmountPage();", "int getPagesize();", "@Override\n // This returns the number of pages we have within our view pager\n public int getCount() {\n return 3...
[ "0.7459557", "0.74509716", "0.69160736", "0.688778", "0.68753237", "0.6816704", "0.6719845", "0.6673651", "0.6673651", "0.6673651", "0.6673651", "0.6655563", "0.662365", "0.6616167", "0.65871805", "0.65771955", "0.6573641", "0.65194666", "0.64768565", "0.6437256", "0.64309126...
0.0
-1
Deserializes and validates a credential protocol buffer.
public static Credential fromProtoBytes(byte[] credentialProtoBytes) throws IOException { return new Credential.Builder( org.openyolo.proto.Credential.ADAPTER.decode(credentialProtoBytes)) .build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString\n getCredBytes();", "@Test\n public void fromJson() throws VirgilException, WebAuthnException {\n AuthenticatorMakeCredentialOptions options = AuthenticatorMakeCredentialOptions.fromJSON(MAKE_CREDENTIAL_JSON);\n AttestationObject attObj = authenticator.makeCrede...
[ "0.5547245", "0.5512368", "0.547858", "0.53319716", "0.5131915", "0.505855", "0.50400734", "0.5001952", "0.49943838", "0.49417448", "0.49221393", "0.49059513", "0.49005106", "0.48989135", "0.4890039", "0.4890039", "0.4890039", "0.48710313", "0.48164606", "0.47781706", "0.4772...
0.64007586
0
The underlying protocol buffer form of the credential.
public org.openyolo.proto.Credential getProto() { return mProto; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString\n getCredBytes();", "public Object getCredential()\n {\n return this.credential;\n }", "public Object getCredential()\n {\n return this.credential;\n }", "public Object getCredential()\n {\n return this.credential;\n }", "public Object encryptedCredential() ...
[ "0.77143705", "0.7199088", "0.7199088", "0.7199088", "0.70475143", "0.69884366", "0.6834639", "0.67500323", "0.67500323", "0.67500323", "0.6338505", "0.6338505", "0.63169163", "0.6253257", "0.62228405", "0.6214724", "0.62077165", "0.62077165", "0.62077165", "0.62077165", "0.6...
0.7614262
1
The credential identifier, which is typically unique within the authentication domain. Must be nonempty.
@NonNull public String getIdentifier() { return mProto.id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getCredentialId() {\r\n return credentialId;\r\n }", "public String getCredentialId() {\n return this.CredentialId;\n }", "public String getCredentialsId() {\n return settings.CredentialsId;\n }", "public Object getCredential()\n {\n return this.crede...
[ "0.81738305", "0.793021", "0.7216554", "0.6764385", "0.6764385", "0.6764385", "0.67548144", "0.65610975", "0.6469212", "0.6352678", "0.6174006", "0.61018384", "0.609705", "0.5972171", "0.59351355", "0.58728564", "0.58587265", "0.5848128", "0.58223695", "0.57804215", "0.576959...
0.0
-1
The authentication domain against which this credential can be used, if specified.
@NonNull public AuthenticationDomain getAuthenticationDomain() { return new AuthenticationDomain(mProto.authDomain); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDomain() {\n return getProperty(DOMAIN);\n }", "String getDomain();", "@Override\n public String getDomain() {\n // return this.userDomain;\n return null; // to support create principal for different domains\n }", "public String getDomain() {\r\n return domai...
[ "0.7092751", "0.69887394", "0.69781715", "0.6966443", "0.68934125", "0.68934125", "0.67833686", "0.6539161", "0.6482004", "0.64384276", "0.64138484", "0.626181", "0.623893", "0.6186807", "0.618546", "0.6122283", "0.6098853", "0.60456806", "0.6017364", "0.6015333", "0.6005385"...
0.66384035
7
The credential password, if defined. Must be nonempty, but any further restrictions are the responsibility of the authentication domain to define and validate.
@Nullable public String getPassword() { return mProto.password; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PasswordCredential getPasswordCredential() {\n return passCred;\n }", "public String getPassword() {\r\n return password;\r\n }", "public String getPassword() {return password;}", "public String getPassword(){\r\n\t\treturn password;\r\n\t}", "java.lang.String getPassword();", "java....
[ "0.7338327", "0.70623577", "0.7028417", "0.70233816", "0.70117414", "0.70117414", "0.70117414", "0.70117414", "0.70117414", "0.70117414", "0.70117414", "0.70021224", "0.70021224", "0.6997591", "0.6977392", "0.6977392", "0.6977392", "0.6977392", "0.6977392", "0.6977392", "0.69...
0.0
-1
The display name for the credential, if defined. This is typically the user's full name or an alias for the account that will be recognizable and distinguishable between multiple credentials that the user may have.
@Nullable public String getDisplayName() { return mProto.displayName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getUserDisplayName() {\r\n return getUsername();\r\n }", "java.lang.String getDisplayName();", "java.lang.String getDisplayName();", "java.lang.String getDisplayName();", "java.lang.String getDisplayName();", "java.lang.String getDisplayName();", "java.lang.String getDisp...
[ "0.7540351", "0.750622", "0.750622", "0.750622", "0.750622", "0.750622", "0.750622", "0.7395315", "0.73431176", "0.73431176", "0.7336564", "0.72168386", "0.71785533", "0.715558", "0.715558", "0.71450496", "0.71028733", "0.70706296", "0.70706296", "0.7067509", "0.7055188", "...
0.6524525
86
The display picture for the credential, if defined. This is typically a picture of the user, or some chosen avatar for the account that will be recognizable and distinguishable between multiple credentials that the user may have.
@Nullable public Uri getDisplayPicture() { return (mProto.displayPictureUri != null) ? Uri.parse(mProto.displayPictureUri) : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCurrentUserPicture() {\n\t\treturn currentUser.getPicture();\n\t}", "java.lang.String getProfileImage();", "@Override\n\tpublic String getUserPicture() {\n\t\treturn super.getUserPicture();\n\t}", "private void showProfilePicture() {\n File pic = sender.getProfilePic();\n if (p...
[ "0.7136486", "0.69964874", "0.67688066", "0.65928745", "0.6454903", "0.6424029", "0.6418973", "0.6385767", "0.63169146", "0.62976587", "0.62811434", "0.6272308", "0.6257702", "0.62212384", "0.62100613", "0.6197764", "0.6145203", "0.61237425", "0.6103184", "0.6094956", "0.6034...
0.64853626
4
Additional, nonstandard properties associated with the credential.
@NonNull public Map<String, byte[]> getAdditionalProperties() { Map<String, byte[]> additionalProps = new HashMap<>(); for (KeyValuePair pair : mProto.additionalProps) { byte[] value = pair.value != null ? pair.value.toByteArray() : null; additionalProps.put(pair.name, value...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getCredential()\n {\n return this.credential;\n }", "public Object getCredential()\n {\n return this.credential;\n }", "public Object getCredential()\n {\n return this.credential;\n }", "AccountProperties properties();", "public Credential getCredential() {\n return this...
[ "0.6637935", "0.6637935", "0.6637935", "0.65656996", "0.6419836", "0.6348604", "0.6135224", "0.61150026", "0.60334295", "0.5924558", "0.5905467", "0.58667374", "0.5854468", "0.58076763", "0.5728851", "0.57108706", "0.5612327", "0.5554457", "0.5551433", "0.55111647", "0.550052...
0.51980543
52
Starts the process of creating a credential, based on the properties of the provided protocol buffer representation of the credential. The protocol buffer must contain valid data for a credential.
public Builder(@NonNull org.openyolo.proto.Credential proto) { mProtoBuilder = new org.openyolo.proto.Credential.Builder(); // required properties setIdentifier(proto.id); setAuthenticationDomain(new AuthenticationDomain(proto.authDomain)); setAuthenticationM...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Credential fromProtoBytes(byte[] credentialProtoBytes) throws IOException {\n return new Credential.Builder(\n org.openyolo.proto.Credential.ADAPTER.decode(credentialProtoBytes))\n .build();\n }", "AbstractCredentialModel createBasicCredential(String username...
[ "0.6008417", "0.57993776", "0.5634588", "0.56137735", "0.55702597", "0.5449596", "0.533689", "0.5324242", "0.5244239", "0.52127564", "0.5076166", "0.50512266", "0.49607646", "0.49367777", "0.49272084", "0.4926478", "0.48998642", "0.48771265", "0.48598132", "0.484017", "0.4839...
0.5812093
1
Specifies the identifier for the credential. The provided value must not be null or empty.
@NonNull public Builder setIdentifier(@NonNull String identifier) { require(!TextUtils.isEmpty(identifier), "identifer must not be null or empty"); mProtoBuilder.id = identifier; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getCredentialId() {\r\n return credentialId;\r\n }", "public String getCredentialId() {\n return this.CredentialId;\n }", "public void setCredentialId(Long credentialId) {\n this.credentialId = credentialId;\n }", "public void setCredentialId(java.lang.String c...
[ "0.65629756", "0.63355154", "0.60024637", "0.5944031", "0.5862876", "0.58199036", "0.5753898", "0.57533896", "0.5739263", "0.56830853", "0.56080794", "0.53486514", "0.53394735", "0.5328231", "0.5291849", "0.5262882", "0.5262882", "0.5262882", "0.5262388", "0.5255625", "0.5250...
0.0
-1
Specifies the authentication domain against which this credential is valid.
@NonNull public Builder setAuthenticationDomain(@NonNull AuthenticationDomain domain) { require(domain, notNullValue()); mProtoBuilder.authDomain = extractString(domain); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDomain(String domain) {\r\n this.domain = domain;\r\n }", "protected void setDomain(String domain) {\n this.domain = domain;\n }", "public void setDomain(String domain) {\n setProperty(DOMAIN, domain);\n }", "public String getDomain() {\r\n return domain;\r\n }", ...
[ "0.70605975", "0.6785987", "0.67248696", "0.66872954", "0.660549", "0.660549", "0.65700835", "0.65700835", "0.65080845", "0.6339607", "0.6325818", "0.6281825", "0.62546486", "0.6229104", "0.6180255", "0.6170322", "0.6157307", "0.60762537", "0.6044092", "0.6004808", "0.5975843...
0.6715217
3
Specifies the authentication method for the credential, in string form for convenience.
@NonNull public Builder setAuthenticationMethod(@NonNull String provider) { return setAuthenticationMethod(Uri.parse(provider)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAuthMethod() {\n\t\tString method = options.getProperty(\"auth-method\");\n\t\tif(method == null) {\n\t\t\tmethod = options.getProperty(\"Authentication-Method\");\n\t\t}\n\t\treturn trimedValue(method);\n\t}", "public String getAuthMethod() {\n return AUTH_NAME;\n }", "protected Str...
[ "0.7363168", "0.7259978", "0.69192064", "0.6092602", "0.6008839", "0.5910309", "0.58558303", "0.5848356", "0.5587363", "0.5587363", "0.5587363", "0.5524314", "0.5458158", "0.53759456", "0.53750616", "0.5289613", "0.5225032", "0.5183809", "0.51641595", "0.5144339", "0.5138518"...
0.61312777
3
Specifies the password for the credential. If a nonnull value is provided, it must not be empty.
@NonNull public Builder setPassword(@Nullable String password) { if (password != null) { require(!TextUtils.isEmpty(password), "password must be null or not empty"); } mProtoBuilder.password = password; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setPassword(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n password_ = value;\n onChanged();\n return this;\n }", "public Builder setPassword(\n java.lang.String value...
[ "0.74164844", "0.74164844", "0.73865134", "0.72874725", "0.717668", "0.717668", "0.717668", "0.7171175", "0.71449375", "0.71449375", "0.71449375", "0.71268034", "0.71249485", "0.7118573", "0.71102506", "0.71102506", "0.7090427", "0.70887595", "0.7076535", "0.7076535", "0.7063...
0.68356323
75
Specifies the display name for the credential. If a nonnull value is provided, it must not be empty.
@NonNull public Builder setDisplayName(@Nullable String displayName) { if (displayName != null) { require(!TextUtils.isEmpty(displayName), "display name must be null or not empty"); } mProtoBuilder.displayName = displayName; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDisplayName(final String val) {\n displayName = val;\n }", "public void setDisplayName(String name);", "void setDisplayName(java.lang.String displayName);", "void setDisplayName(String displayName);", "public void setDisplayName(String displayName)\n {\n put(\"DisplayName\", di...
[ "0.7347204", "0.71902955", "0.71781546", "0.71550626", "0.692543", "0.6923569", "0.6923569", "0.6923569", "0.6923569", "0.6923569", "0.6923569", "0.6908143", "0.6828611", "0.6821439", "0.6811202", "0.6750973", "0.6750973", "0.6750973", "0.6720443", "0.67150176", "0.67053425",...
0.0
-1
Specifies the display picture for the credential, which must be a HTTP or HTTPS URI to an image resource.
@NonNull public Builder setDisplayPicture(@Nullable Uri displayPicture) { require(displayPicture, nullOr(isWebUri())); mProtoBuilder.displayPictureUri = extractString(displayPicture); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showProfilePicture() {\n File pic = sender.getProfilePic();\n if (pic == null || !pic.exists()) {\n profilePic.setText(Wrapers.htmlWraper(\"No Profile Picture Found.\"));\n } else {\n profilePic.setIcon(Images.profilePic(pic));\n profilePic.setText...
[ "0.6347419", "0.62603694", "0.6251243", "0.6092651", "0.60600305", "0.5984662", "0.59615517", "0.595519", "0.5877328", "0.5872323", "0.58620304", "0.5843545", "0.5760302", "0.5747785", "0.5715588", "0.56787866", "0.56686586", "0.5665436", "0.56428415", "0.5641874", "0.5637944...
0.65598464
0
Specifies the display picture for the credential, in string form for convenience.
@NonNull public Builder setDisplayPicture(@Nullable String displayPicture) { return setDisplayPicture( displayPicture != null ? Uri.parse(displayPicture) : null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String addDisplay() {\n\t\t// One Parameter: DisplayName\n\t\tStringBuilder tag = new StringBuilder();\n\t\ttag.append(\"|image:\" + parameters[0]);\n\t\treturn tag.toString();\n\n\t}", "java.lang.String getProfileImage();", "@Override\n\tpublic String getUserPicture() {\n\t\treturn super.getUserPictur...
[ "0.6376336", "0.6336827", "0.6064936", "0.60158324", "0.58886135", "0.5872252", "0.58582425", "0.5785989", "0.57630163", "0.57157654", "0.567663", "0.56674767", "0.5639057", "0.5626841", "0.5619395", "0.55807716", "0.5562626", "0.5536738", "0.5532851", "0.5518995", "0.5497387...
0.61305296
2
Specifies any additional, nonstandard properties associated with the credential.
public Builder setAdditionalProperties(@Nullable Map<String, byte[]> additionalProps) { mProtoBuilder.additionalProps = CollectionConverter.toList( additionalProps.entrySet(), KeyValuePairConverters.CONVERTER_ENTRY_TO_KVP); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCredential(final Object credential)\n {\n checkImmutable();\n this.credential = credential;\n }", "public void setCredential(final Object credential)\n {\n checkImmutable();\n if (this.logger.isTraceEnabled()) {\n if (this.getLogCredentials()) {\n this.logger.trace(\"set...
[ "0.6024031", "0.57988185", "0.57988185", "0.5728321", "0.57003534", "0.5609727", "0.5553988", "0.54821795", "0.5462057", "0.5413119", "0.5413119", "0.5413119", "0.5404935", "0.53353626", "0.5289898", "0.5226303", "0.51973295", "0.51556927", "0.5142651", "0.51029485", "0.51003...
0.47551653
65
Checks and updates tile and returns what there should be drawn
public Tile draw(int row, int column) { if (board[row-1][column-1] == Tile.BLANK) { if (playerOneTurn) { board[row-1][column-1] = Tile.CROSS; playerOneTurn = Boolean.FALSE; return Tile.CROSS; } else { board[row-1][column-1] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void drawTile() {\n\n }", "public static void render(Graphics g, Tile tile, Point pxCenterPoint, float value) {\n Point topLeft = new Point(pxCenterPoint.x - (tile.getImage().getWidth() / 2), pxCenterPoint.y - (tile.getImage().getHeight() / 2));\n if (value >= 0) {\n\n\n ...
[ "0.72481525", "0.69751984", "0.66334003", "0.65512437", "0.64157194", "0.6404159", "0.63852394", "0.63782847", "0.63533455", "0.62903243", "0.62680376", "0.6260293", "0.61845475", "0.61740357", "0.61309934", "0.6122803", "0.6063312", "0.60509765", "0.60143995", "0.60092", "0....
0.0
-1
Created by Micro on 4/23/2017.
public interface CommentService extends CrudService<Comment> { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public int describeContents() { return 0; }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public voi...
[ "0.6027266", "0.600352", "0.59472543", "0.5816822", "0.56897837", "0.5667966", "0.5654532", "0.565203", "0.56469965", "0.56469965", "0.5626118", "0.5626118", "0.5626118", "0.5626118", "0.5626118", "0.5626118", "0.5614048", "0.56076485", "0.56070834", "0.55943877", "0.5562761"...
0.0
-1
Initialize all of the subsystems, assumes that the constants file has been read already
public static void initialize() { // USB driveJoystick = new EJoystick(getConstantAsInt(USB_DRIVE_STICK)); controlGamepad = new EGamepad(getConstantAsInt(USB_CONTROL_GAMEPAD)); // Power Panel powerPanel = new PowerDistributionPanel(); //Compressor compressor = new Compressor(Constants.getConstantAsInt(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void init() {\n\t\tinitTypes();\n\t\tinitGlobalFunctions();\n\t\tinitFunctions();\n\t\tinitClasses();\n\t}", "private static void setSubsystems()\n {\n //Components\n //Talons\n frontLeftTalon.setName(\"DrivetrainSubsystem\", \"FrontLeftDriveTalon\");\n frontRightTalon.setName(\"Drivetrain...
[ "0.6774001", "0.6648211", "0.6631083", "0.6620879", "0.6597261", "0.6593761", "0.6530903", "0.65120137", "0.6504226", "0.64787966", "0.64783806", "0.6383646", "0.63802534", "0.63238925", "0.6319897", "0.63174134", "0.6313254", "0.6285568", "0.62703687", "0.62577385", "0.62364...
0.6339355
13
code below demonstrated in Android App Development tutorial series by Caleb Curry
public void newProject(View V){ Intent i = new Intent(this, NewProject.class); i.putExtra("course title",courseTitle); startActivity(i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo25261a(Context context);", "@Override\n public void onClick(View v) {\n ((TextView) findViewById(R.id.text)).setText(\"Android is AWESOME!!\");\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n ...
[ "0.5849354", "0.57197833", "0.56858015", "0.56671065", "0.56587857", "0.5599682", "0.55746686", "0.55729616", "0.5538947", "0.5516798", "0.5504705", "0.54866564", "0.54705524", "0.54701805", "0.5464818", "0.5392203", "0.5386063", "0.53858435", "0.5374593", "0.5363293", "0.535...
0.0
-1
/ renamed from: a
public static final void m148917a(Closeable closeable, Throwable th) { if (closeable != null) { if (th == null) { closeable.close(); return; } try { closeable.close(); } catch (Throwable th2) { C47885...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ Default implementation to indicate whether the processor is associated with a Scannable
public default boolean hasScannable() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public default boolean hasScannableGroup() {\n\t\treturn false;\n\t}", "private void checkForScannable(Scannable scannable, String scannableName) throws FactoryException {\n\t\tif (scannable == null) {\n\t\t\tthrow new FactoryException(\"Could not configure \"+getName()+\" : \"+scannableName+\" has not been set\...
[ "0.686004", "0.6207261", "0.6185805", "0.5803401", "0.55333406", "0.552879", "0.5457922", "0.54496294", "0.54469615", "0.5412041", "0.5397416", "0.53664815", "0.5321156", "0.531547", "0.52986467", "0.5280863", "0.52683055", "0.5250985", "0.5225172", "0.52153385", "0.5205936",...
0.77282035
0
/ Default implementation to indicate whether the processor is associated with a ScannableGroup
public default boolean hasScannableGroup() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public default boolean hasScannable() {\n\t\treturn false;\n\t}", "boolean hasGroupPlacementView();", "@Override\n public boolean isGroup() {\n return false;\n }", "Boolean groupingEnabled();", "public boolean visit(GroupElement node) {\n return visit((AnnotatedBase)node);\n }", "b...
[ "0.64881665", "0.6296329", "0.5963743", "0.58405334", "0.5595778", "0.5581564", "0.54641694", "0.5410648", "0.54101884", "0.53973407", "0.53556347", "0.5315761", "0.5303045", "0.52873874", "0.52873874", "0.52873874", "0.52873874", "0.5281429", "0.5255772", "0.52390575", "0.52...
0.80326295
0
/ Default implementation to indicate whether the processor is associated with a Detector
public default boolean hasDetector() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRecognizer();", "public abstract boolean isTarget();", "public boolean canHandle(Processor processor) {\n return processor.getClass().getName().equals(\"org.embl.ebi.escience.scuflworkers.wsdl.WSDLBasedProcessor\");\n }", "public boolean isDetectorRail() {\n return this.type == Ty...
[ "0.64560735", "0.60658455", "0.6028509", "0.60021764", "0.5892766", "0.5730107", "0.5724841", "0.56360924", "0.5626565", "0.5593908", "0.55927235", "0.55889565", "0.5534917", "0.551661", "0.55148214", "0.55049825", "0.55045265", "0.54949963", "0.5490847", "0.54713243", "0.544...
0.71219575
0
/ Default implementation to indicate whether the processor is associated with a Monitor
public default boolean hasMonitor() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isMonitoring();", "boolean isMonitoring();", "public static boolean isMonitoring(){\n\t\treturn ZMonitorManager.getInstance().getMonitorLifecycle().isMonitorStarted();\n\t}", "boolean isMonitoringEnabled();", "public boolean putMonitor(Hardware monitor) {\n if (monitors.size() < WorkingTable...
[ "0.64744747", "0.64744747", "0.63783824", "0.63504636", "0.6118095", "0.61134386", "0.6090256", "0.60850835", "0.60360503", "0.59632194", "0.59600246", "0.59500986", "0.59238374", "0.5913048", "0.58781916", "0.5850221", "0.583261", "0.57656264", "0.5757242", "0.5745637", "0.5...
0.7552881
0
/ Default implementation to indicate whether the processor is associated with a Roi
public default boolean hasRoi() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean canHandle(Processor processor) {\n return processor.getClass().getName().equals(\"org.embl.ebi.escience.scuflworkers.wsdl.WSDLBasedProcessor\");\n }", "public abstract boolean isPrimary();", "public boolean isActive(String processorName) throws AxisFault {\n SynapseConfiguration...
[ "0.61974055", "0.5924455", "0.57969993", "0.57732093", "0.57691276", "0.56703854", "0.5664062", "0.55994445", "0.5465832", "0.5424195", "0.54225194", "0.54149485", "0.536546", "0.5361503", "0.5298755", "0.5298755", "0.52969754", "0.5292763", "0.5291167", "0.5282591", "0.52806...
0.653868
0
/ Default implementation to indicate whether the processor is associated with a Static Region or Path
public default boolean isStatic() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isStaticProcess() {\n\t\treturn (this.staticConfig != null);\n\t}", "public boolean isMaybeSingleAllocationSite() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && newSet(getObjectSourceLocations()).size() == 1;\n }", "boolean hasCarrierConstant();", "boole...
[ "0.5798509", "0.56230164", "0.55594987", "0.5493905", "0.5486133", "0.54699826", "0.54599047", "0.54370236", "0.54352736", "0.53972197", "0.53972197", "0.5354081", "0.5330508", "0.53105307", "0.528212", "0.5275155", "0.5248861", "0.52398545", "0.5231902", "0.52242976", "0.522...
0.5210853
24
/ Default implementation to indicate whether the processor is associated with an Array Path
public default boolean isArrayScanpath() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isArray_hop() {\n return false;\n }", "@Override\n\tpublic boolean visit(ArrayAccess node) {\n\n\t\treturn super.visit(node);\n\t}", "public abstract boolean isPath();", "public boolean isPathable() {\n // <<-- Creer-Merge: is_pathable_builtin -->> - Code you add betwee...
[ "0.5817915", "0.57555354", "0.57254344", "0.5648967", "0.55260575", "0.5520597", "0.5497251", "0.5414365", "0.53760296", "0.53704107", "0.53639126", "0.53236127", "0.5319826", "0.5290948", "0.5255798", "0.52386564", "0.52386564", "0.52386564", "0.52386564", "0.52386564", "0.5...
0.70130575
0
/ Default implementation to indicate whether the processor is associated with a Numeric value
public default boolean hasNumber() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isNumeric();", "public boolean isNumeric() {\n\t\treturn numeric;\n\t}", "public boolean isNumeric() {\n return this.isInteger() || this.isDecimal() || this.isDouble();\n }", "public boolean isNumberValue()\n {\n return getFieldType().equalsIgnoreCase(TYPE_NUMBER);\n ...
[ "0.74998164", "0.70897293", "0.70366573", "0.695778", "0.68692315", "0.68671304", "0.6625029", "0.6567489", "0.65424633", "0.64281553", "0.6339642", "0.63387746", "0.61732733", "0.61608845", "0.61392254", "0.613545", "0.6077419", "0.603309", "0.603307", "0.5934212", "0.592659...
0.7080471
2
/ Default implementation to indicate whether the processor is associated with a ScanDataConsumer
public default boolean hasScanDataConsumer() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isConsumed();", "public boolean isScanning() { return scanning; }", "public boolean isScanning() {\n return scanning;\n }", "protected boolean isConsumingInput() {\r\n return true;\r\n }", "public boolean canHandle(Processor processor) {\n return processor.getCl...
[ "0.6064132", "0.6023829", "0.59016335", "0.5700784", "0.55641437", "0.5441892", "0.54180574", "0.5374289", "0.53282815", "0.5321819", "0.53027344", "0.52934855", "0.52904403", "0.52904403", "0.52904403", "0.52904403", "0.52904403", "0.52904403", "0.5265591", "0.526317", "0.52...
0.7875709
0
/ Default implementation to indicate whether the processor is associated with a String of tokens
public default boolean hasTokenString() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void processIdentificator() {\r\n\t\tString identificator = generateString();\r\n\r\n\t\tif (identificator.equals(Constants.AND_STRING)) {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.AND_STRING);\r\n\r\n\t\t} else if (identificator.equals(Constants.XOR_STRING)) {\r\n\t\t\ttoken = new Token(Tok...
[ "0.625309", "0.6046537", "0.5984858", "0.5962795", "0.5943791", "0.5943791", "0.5943791", "0.5943791", "0.5943791", "0.5943791", "0.57240963", "0.569517", "0.563102", "0.56014925", "0.5555189", "0.55118793", "0.5428957", "0.54159325", "0.5411486", "0.54090345", "0.5387869", ...
0.64961845
0
Implementations of this method should return the element used to create the processor instance
public Object getElement();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Parts getProcessor();", "<TDef extends IElementDef> Processor<TDef> createProcessor(DynamicScopeContext context, TDef elementDef);", "public interface ProcessorFactory {\n\n ProcessorFactory INSTANCE = new DefaultProcessorFactory();\n\n // TODO rbala Missing JavaDoc\n <TDef extends IEl...
[ "0.6528986", "0.650634", "0.6367895", "0.62613857", "0.60876817", "0.5953914", "0.5929696", "0.5921431", "0.5909691", "0.57444483", "0.56223243", "0.56126326", "0.5609169", "0.5593694", "0.5557031", "0.55526316", "0.55424696", "0.55266464", "0.55150586", "0.54973346", "0.5486...
0.5224557
63
Interface for controlling the questionobject
public interface QuestionInterface { /** * Sets the question. * @param question to be asked */ public void setQuestion(String question); /** * Add options to the question * @param opiton The text for the option * @param correct is this option a correct answer. */ public void addOption(String opiton,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Question {\n void setOne(Object o);\n Object getAll();\n Object getDataToFile();\n}", "public interface Question {\n public String question();\n public String answer();\n public void setQuestion(String q);\n public void setAnswer(String a);\n public boolean isMultipleChoi...
[ "0.712296", "0.68658584", "0.68352467", "0.6752678", "0.6691751", "0.6686906", "0.6647653", "0.6637554", "0.6544198", "0.6506232", "0.6502488", "0.64590603", "0.6454039", "0.6451506", "0.64446527", "0.64138246", "0.6411337", "0.63388777", "0.63255525", "0.6320679", "0.6318952...
0.69825256
1
Add options to the question
public void addOption(String opiton, boolean correct);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addOption() {\n CreatePollLogic.addOption(pollOptions, optionArea, optionContainer);\n }", "@Override\n protected void options()\n {\n super.options();\n addOption(Opt.APPLICATION_ID);\n addOption(Opt.SERVER_ID);\n addOption(Opt.CATEGORY);\n addOptio...
[ "0.6541712", "0.64714026", "0.644034", "0.6359864", "0.6335047", "0.62036014", "0.61582583", "0.615786", "0.61244047", "0.6090387", "0.60890615", "0.6062505", "0.6009544", "0.59959966", "0.59870327", "0.5981618", "0.5911866", "0.5903232", "0.5893124", "0.58876485", "0.5884295...
0.6344633
4
Level animation set to true
private void prepareLevel(){ levelAnimation = true; // Reset the menace level menaceInterval = 1200; // Here we will initialize all the game objects // Make a new player space ship defender = new Defender(context, PlayableX, PlayableY, ExcessX); // Prepare the ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showLevelButton() {\n AlphaAnimation animation = new AlphaAnimation(0.0f, 1.0f);\n animation.setDuration(500);\n levelButtons.startAnimation(animation);\n levelButtons.setVisibility(View.VISIBLE);\n }", "public void setLevel(Level level) { this.currentLevel = level; }"...
[ "0.707353", "0.673722", "0.659452", "0.63637847", "0.6328491", "0.631692", "0.6285179", "0.62765867", "0.6272601", "0.62677413", "0.6265833", "0.6264891", "0.6258873", "0.6215611", "0.62053376", "0.61944807", "0.6192894", "0.61869365", "0.61830246", "0.6151688", "0.61466557",...
0.60682625
35
Did an invader bump into the side of the screen
private void update(){ boolean bumped = false; // Has the player lost boolean lost = false; // Move the player's ship defender.update(fps); // Update the invaders if visible for(int i = 0; i < numInvaders; i++){ if(invaders[i].getVisibility()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void swim() {\r\n\t\tif(super.getPosition()[0] == Ocean.getInstance().getWidth()-71){\r\n\t\t\tinvX = true;\r\n\t\t} else if(super.getPosition()[0] == 0){\r\n\t\t\tinvX = false;\r\n\t\t}\r\n\t\tif(super.getPosition()[1] == Ocean.getInstance().getDepth()-71){\r\n\t\t\tinvY = true;\r\n\t\t} else if(super.getP...
[ "0.65894175", "0.64341223", "0.6352118", "0.6342551", "0.6214289", "0.62050766", "0.6124449", "0.6083185", "0.6078699", "0.60453004", "0.6039765", "0.6024178", "0.6011479", "0.5988885", "0.5987585", "0.59768647", "0.59736717", "0.59546715", "0.59499866", "0.5948774", "0.59334...
0.6497508
1
Make sure our drawing surface is valid or we crash
private void draw(){ if (ourHolder.getSurface().isValid()) { if (openMainMenu) { mainMenu(); } else if (openGameOverMenu) { gameOverMenu(); } else if (openUpgradesMenu) { upgradeMenu(); } else if (openPauseMenu) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean beginDrawing() {\n\t\tif (!p_view.getHolder().getSurface().isValid()) {\n\t\t\treturn false;\n\t\t}\n\t\tp_canvas = p_view.getHolder().lockCanvas();\n\t\treturn true;\n\t}", "public void draw() {\n\n // Make sure our drawing surface is valid or we crash\n if (ourHolder.getSu...
[ "0.67128706", "0.62008905", "0.60969603", "0.6009574", "0.59916365", "0.5944759", "0.59160596", "0.58685887", "0.5810291", "0.5795944", "0.5794055", "0.57157964", "0.5681036", "0.5678819", "0.5621385", "0.5621312", "0.56071323", "0.56010413", "0.5592322", "0.55755895", "0.551...
0.58244705
8
If SpaceInvadersActivity is paused/stopped shutdown our thread.
public void pause() { playing = false; try { gameThread.join(); } catch (InterruptedException e) { Log.e("Error:", "joining thread"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onStop() {\n \tsuper.onStop();\n \tthread.setThreadExit(true);\n \tthread = null;\n \t\n }", "private void exit() {\n this.isRunning = false;\n }", "public static void ThreadStop()\r\n\t{\r\n\t\tthread_running=false;\r\n\t}", "@Override\n\tprotected void...
[ "0.7096293", "0.67189866", "0.6651401", "0.66029304", "0.6602078", "0.65884274", "0.65265536", "0.6476376", "0.6475379", "0.64737713", "0.6424382", "0.6407976", "0.64019793", "0.63911945", "0.6390098", "0.63789386", "0.63740826", "0.6338327", "0.63042396", "0.62817144", "0.62...
0.0
-1
If SpaceInvadersActivity is started then start our thread.
public void resume() { playing = true; gameThread = new Thread(this); gameThread.start(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void startThread() {\n Log.d(TAG, \"Starting \" + getName() + \" thread!\");\n if (!started)\n start();\n running = enabled;\n doStartAction();\n }", "private void start()\n {\n _taskThread.start();\n _state = ActivityState.RUNNING;...
[ "0.651322", "0.6501409", "0.61583173", "0.6145795", "0.61388004", "0.60645765", "0.60089684", "0.60069245", "0.58973444", "0.5863947", "0.58159435", "0.5792389", "0.57636774", "0.57635", "0.57515967", "0.5750082", "0.57445556", "0.5743447", "0.57266665", "0.57131004", "0.5710...
0.0
-1
The SurfaceView class implements onTouchListener So we can override this method and detect screen touches.
@Override public boolean onTouchEvent(MotionEvent motionEvent) { switch (motionEvent.getAction() & MotionEvent.ACTION_MASK) { // Player has touched the screen case MotionEvent.ACTION_DOWN: paused = false; // Pause game if pause button is touched ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\npublic void onCreate(SurfaceHolder surfaceHolder) {\n\tsuper.onCreate(surfaceHolder);\n setTouchEventsEnabled(true);\n}", "@Override\n public boolean onTouchEvent(MotionEvent event) {\n if(!allow_touch) return false; //check if interaction is enabled.\n\n if(!listenerSet) return fa...
[ "0.7768494", "0.7125473", "0.7014549", "0.69646627", "0.69014764", "0.689241", "0.6862347", "0.68537915", "0.682899", "0.6828013", "0.67932385", "0.67617613", "0.67617613", "0.6752167", "0.6718384", "0.6718064", "0.66848916", "0.6675532", "0.66738975", "0.66546804", "0.664935...
0.64219916
43
Constructor for the symmetric ciphers
public CipherDMAP(int ivSize, int skSize, String algorithm) throws DMAPException { iv = SecurityHelper.generateIv(ivSize); try { key = SecurityHelper.generateAESKey(skSize); } catch (NoSuchAlgorithmException e) { throw new DMAPException("Algorithm doesn't exist"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Cipher()\n {\n CodecInterface base64UriCodec = new Base64UriCodec();\n AsymmetricBlockCipher rsaCipher = new OAEPEncoding(\n new RSAEngine(),\n new SHA1Digest()\n );\n BufferedBlockCipher aesCipher = new PaddedBufferedBlockCipher(\n new CBCBloc...
[ "0.70127153", "0.6539395", "0.64423025", "0.6416657", "0.6405663", "0.62900704", "0.6269317", "0.62498003", "0.6190767", "0.61539614", "0.60308385", "0.5973531", "0.596325", "0.5865625", "0.5837103", "0.58337384", "0.5832807", "0.5826494", "0.5826494", "0.5826494", "0.5772335...
0.0
-1
Constructor for the Cipher is the SecretKey and the IV are already known
public CipherDMAP(byte[] key, byte[] iv, String algorithm) throws DMAPException { this.iv = new IvParameterSpec(iv); this.key = new SecretKeySpec(key, 0, key.length, "AES"); encryption = SecurityHelper.generateCipher(algorithm, Cipher.ENCRYPT_MODE, this.key, this.iv); decryption = Secur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CaesarCipherOne(int key) {this.key=key;}", "protected CipherIV instantiateCipherIV (byte[] cipher, byte[] iv) {\n return new CipherIV(cipher, iv);\n }", "private AES() {\r\n\r\n }", "private AES() {\n }", "private void initializeCipherinitVector() {\n try {\n cipher...
[ "0.69753665", "0.68438166", "0.6824115", "0.679561", "0.6744101", "0.6711466", "0.66702217", "0.6644448", "0.66337", "0.6613588", "0.6414319", "0.63760763", "0.63626677", "0.6358284", "0.6322039", "0.62969655", "0.62436604", "0.6238985", "0.618346", "0.60537994", "0.60518813"...
0.54131585
69
Constructor for the asymmetric Ciphers
public CipherDMAP(String algorithm, Key key) throws DMAPException{ this.key = key; encryption = SecurityHelper.generateCipher(algorithm, Cipher.ENCRYPT_MODE, key); decryption = SecurityHelper.generateCipher(algorithm, Cipher.DECRYPT_MODE, key); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Cipher()\n {\n CodecInterface base64UriCodec = new Base64UriCodec();\n AsymmetricBlockCipher rsaCipher = new OAEPEncoding(\n new RSAEngine(),\n new SHA1Digest()\n );\n BufferedBlockCipher aesCipher = new PaddedBufferedBlockCipher(\n new CBCBloc...
[ "0.7073759", "0.6650097", "0.661633", "0.66031736", "0.6538039", "0.6367211", "0.62872815", "0.62515545", "0.62453157", "0.62200797", "0.6192322", "0.6165455", "0.6135604", "0.6129824", "0.6113952", "0.6076221", "0.60742617", "0.6025235", "0.601233", "0.5972558", "0.5972558",...
0.0
-1
Constructor which sets the default scanner.
public parser(java_cup.runtime.Scanner s) {super(s);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public static void setScanner(Scanner s) {\n scanner = s;\n }", "public static void setInputScanner(InputScanner scanner){\n inputScanner = scanner;\n }", "private ConsoleScanner() {}", "public Metad...
[ "0.7363979", "0.71984017", "0.7137678", "0.71248406", "0.70821637", "0.7008351", "0.70074767", "0.6923786", "0.68472075", "0.68472075", "0.68472075", "0.68472075", "0.68472075", "0.68472075", "0.66874146", "0.66866326", "0.66866326", "0.6629352", "0.66149765", "0.65839934", "...
0.6865954
13
Constructor which sets the default scanner.
public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public static void setScanner(Scanner s) {\n scanner = s;\n }", "public static void setInputScanner(InputScanner scanner){\n inputScanner = scanner;\n }", "private ConsoleScanner() {}", "public Metad...
[ "0.7363979", "0.71984017", "0.7137678", "0.71248406", "0.70821637", "0.7008351", "0.70074767", "0.6923786", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.68472075", "0.68472075", "0.68472075", "0.68472075", "0.68472...
0.0
-1
Access to production table.
public short[][] production_table() {return _production_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] production_table() {\r\n return _production_table;\r\n }", "public short[][] production_table() {\r\n return _production_table;\r\n }", "short[][] productionTable();", "public String getTable()\n {\n return table;\n }", "private void refTable() {\n tr...
[ "0.68532145", "0.6843889", "0.57185096", "0.56440794", "0.563", "0.5615971", "0.56071514", "0.5580453", "0.55784947", "0.55773133", "0.5487715", "0.5472419", "0.5464648", "0.54604506", "0.5398757", "0.53913164", "0.5386026", "0.5377525", "0.53717554", "0.5368894", "0.5353499"...
0.68878466
36
Access to parseaction table.
public short[][] action_table() {return _action_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] action_table() {\r\n return _action_table;\r\n }", "public ActionList getActions();", "public int getAction() {\n\t\treturn action;\n\t}", "String[] getActions();", "public Action getAction() {\n\treturn action;\n }", "public int getAction()\n {\n return m_action;\n ...
[ "0.7179779", "0.62669694", "0.6021548", "0.600469", "0.59833246", "0.59769994", "0.59532875", "0.59384024", "0.5918395", "0.5914421", "0.5904511", "0.5899964", "0.5899821", "0.58968484", "0.58912694", "0.58912694", "0.58912694", "0.58912694", "0.5887614", "0.5886775", "0.5883...
0.7216191
36
Access to reduce_goto table.
public short[][] reduce_table() {return _reduce_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] reduce_table() {\r\n return _reduce_table;\r\n }", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_tab...
[ "0.5971808", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643",...
0.6235091
36
Action encapsulation object initializer.
protected void init_actions() { action_obj = new CUP$parser$actions(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void init_actions()\n {\n action_obj = new CUP$FractalParser$actions(this);\n }", "protected void init_actions()\r\n {\r\n action_obj = new CUP$Parser$actions(this);\r\n }", "protected void init_actions()\n {\n action_obj = new CUP$Parser$actions(this);\n }", "prote...
[ "0.7878943", "0.7846156", "0.78301626", "0.78301626", "0.78301626", "0.78301626", "0.78301626", "0.7827101", "0.7796163", "0.7776218", "0.7776218", "0.77193624", "0.7718638", "0.7694373", "0.76459444", "0.7571881", "0.7568066", "0.7562422", "0.7553669", "0.75510633", "0.75282...
0.7798481
18
Invoke a user supplied parse action.
public java_cup.runtime.Symbol do_action( int act_num, java_cup.runtime.lr_parser parser, java.util.Stack stack, int top) throws java.lang.Exception { /* call code in generated class */ return action_obj.CUP$parser$do_action(act_num,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void executeAction( String actionInfo );", "public final java_cup.runtime.Symbol CUP$Parser$do_action(\n int CUP$Parser$act_num,\n java_cup.runtime.lr_parser CUP$Parser$parser,\n java.util.Stack CUP$Parser$stack,\n int CUP$Parser$top)\n ...
[ "0.66233104", "0.65339345", "0.65339345", "0.65339345", "0.6502368", "0.6490189", "0.6490189", "0.6490189", "0.6490189", "0.6490189", "0.64837754", "0.645815", "0.63573897", "0.63072646", "0.62915266", "0.6286955", "0.6286955", "0.62713635", "0.6186821", "0.6142021", "0.61393...
0.59196347
49
Method with the actual generated action code.
public final java_cup.runtime.Symbol CUP$parser$do_action( int CUP$parser$act_num, java_cup.runtime.lr_parser CUP$parser$parser, java.util.Stack CUP$parser$stack, int CUP$parser$top) throws java.lang.Exception { /* Symbol object for ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "public void createAction() {\n }", "@Override\n\tpublic ...
[ "0.72530246", "0.72530246", "0.72530246", "0.7153558", "0.71261686", "0.7101944", "0.68230325", "0.67950875", "0.6650409", "0.66047335", "0.6411715", "0.6410505", "0.640046", "0.6350149", "0.6293054", "0.6283983", "0.6283983", "0.6283983", "0.62545204", "0.6238413", "0.618847...
0.0
-1
Service Interface for managing Quotes.
public interface QuoteService { /** * Get quote of the day. * * @return quote */ String getQuoteOfTheDay(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Quotes() { }", "Quote createQuote();", "public Quotes() {\n\t\tthis(\"quotes\", null);\n\t}", "public void saveQuote() {\n\t\ttry {\n\t\t\tString json = urlRead.readUrl(\"http://dist-sso.it-kartellet.dk/quote/\");\n\n\t\t\tJSONParser jsonParser = new JSONParser();\n\t\t\tJSONObject jsonObject = (JSONO...
[ "0.6509841", "0.6478989", "0.6440469", "0.62777203", "0.6204354", "0.5940131", "0.58640796", "0.5811909", "0.56611925", "0.56554794", "0.5613219", "0.5610099", "0.5591198", "0.5544214", "0.551534", "0.54863006", "0.54369146", "0.53711265", "0.53530306", "0.5339412", "0.533811...
0.6002071
5
Get quote of the day.
String getQuoteOfTheDay();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getQuote(){\n\t\tString quote = null;\n\t\ttry {\n\t\t\tcrs = qb.selectFrom(\"qotd\").all().executeQuery();\n\n\t\t\tif(crs.next()) {\n\t\t\t\tquote = crs.getString(\"qotd\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tcrs.close();\n\t\...
[ "0.715073", "0.67327505", "0.67029834", "0.6310325", "0.6237461", "0.6199531", "0.6153597", "0.6127018", "0.59809977", "0.59572494", "0.5951333", "0.5925061", "0.5869969", "0.58494973", "0.5842881", "0.58376074", "0.5785686", "0.5775588", "0.57514447", "0.573562", "0.57221794...
0.8684161
0
Find the _Fields constant that matches fieldId, or null if its not found.
public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // LIMB return LIMB; case 2: // POS return POS; case 3: // ORI return ORI; case 4: // SPEED return SPEED; case 5: // ANGLS return ANGLS; c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // REFERRAL_LOG_IDS\n return REFERRAL_LOG_IDS;\n default:\n return null;\n }\n }", "@org.apache.thrift.annotation.Nullable\n ...
[ "0.7989081", "0.79171044", "0.7882803", "0.7882803", "0.7882803", "0.7882803", "0.7882803", "0.7882803", "0.77876097", "0.77808255", "0.77308357", "0.7729221", "0.7723209", "0.771415", "0.771415", "0.771107", "0.7710934", "0.7702494", "0.77008075", "0.7697386", "0.76890385", ...
0.0
-1