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 check() { }
{ "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 idleCheck() { }
{ "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 waitCheck(double hours) { }
{ "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 orgasm() { }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public String getDescription() { return null; }
{ "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
if naanu.txt is not found, this constructor creates the file and appends data into the file.
public static void main(String[] args) throws Throwable { FileWriter fw = new FileWriter("naanu.txt", false); //the constructor uses boolean append as the second argument which says whether or not the data written should be appended fw.write("Govinda"); fw.write("\n"); //this statement acts as the print statement...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void createFileUmidade() throws IOException {\r\n\t\tInteger defaultUmidade = 30;\r\n\t\tarqUmidade = new File(pathUmidade);\r\n\t\tif(!arqUmidade.exists()) {\r\n\t\t\tarqUmidade.createNewFile();\r\n\t\t\tFileWriter fw = new FileWriter(getArqUmidade());\r\n\t\t\tBufferedWriter buffWrite = new Buffer...
[ "0.6357028", "0.62215114", "0.5865417", "0.5855924", "0.57790285", "0.56562537", "0.5621291", "0.5596348", "0.55854076", "0.54939646", "0.5490221", "0.54617596", "0.54555064", "0.5402841", "0.5378721", "0.5366933", "0.5358732", "0.53568745", "0.53521127", "0.53519696", "0.534...
0.5991074
2
Created by gustavo on 16/07/16.
public interface GetNinjasClient { @GET("{job_kind}") Observable<Response<String>> list(@Path("job_kind") String jobKind); @GET("{job_id}") Observable<Response<String>> getInfo(@Path("job_id") String id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }"...
[ "0.59788597", "0.5876653", "0.5765054", "0.5730155", "0.5730155", "0.5722694", "0.5711097", "0.57018286", "0.56736755", "0.56702816", "0.5670264", "0.56671715", "0.56525534", "0.56226015", "0.5609535", "0.5604414", "0.5585401", "0.55846375", "0.55688494", "0.55547494", "0.554...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) throws IOException { FileInputStream f=new FileInputStream("D:\\AccuSelenium\\Ram\\TEST\\TestData\\LoginData.xls"); HSSFWorkbook w=new HSSFWorkbook(f); HSSFSheet s=w.getSheet("sheet1"); System.out.println(s.getRow(1)); }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
If image not present in the cache, load it from database. If the image was found, it is stored into the cache. If image was not found, recorded "image not found" string into image data. Write image to response
public void service(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { ServletOutputStream out = null; DeliverableImage aImage = null; MailingComponent comp = null; if(cacheMap == null) { cacheMap = (TimeoutLRUMap) WebApplica...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Bitmap getImageCache(Integer cacheKey)\n {\n synchronized (mLinkedHashMap)\n {\n Bitmap bitmap;\n // Get file from cache\n String file = mLinkedHashMap.get(cacheKey);\n if (file != null)\n {\n bitmap = BitmapFactory.decod...
[ "0.65368026", "0.65052044", "0.64828855", "0.63566554", "0.63488406", "0.63347316", "0.6325496", "0.63148683", "0.6215795", "0.6208067", "0.61510754", "0.6148965", "0.61010367", "0.6042051", "0.5992438", "0.59805924", "0.5957703", "0.59548724", "0.5929144", "0.5888863", "0.58...
0.58666456
20
Method Name: verifyMachineBalance Description: ATM dispenses money It will attempt to provide every customer with money using the largest available bill
public void dispenseMoney(float withdrawAmount, float totalBills, int[] bill, int[] availableAmount) { int amount, remain; String plural; for(int i = 0; i < bill.length; i++){ if (withdrawAmount >= bill[i]){ amount = (int) withdrawAmount / bill[i]; remain = (int) withdrawAmount % (amount * bill[i]); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic double checkBalance(String mobileNo) {\n\t\tCustomer custCheckBalance = custMap.get(mobileNo);\r\n\t\tdouble amount = custCheckBalance.getInitialBalance();\r\n\t\treturn amount;\r\n\t}", "public Masary_Error CheckBillType(String BTC, double CusAmount, String CustId, double serv_balance, dou...
[ "0.6462042", "0.6360145", "0.60955334", "0.60522205", "0.6036383", "0.58710885", "0.5821101", "0.574734", "0.5739771", "0.5704898", "0.5681072", "0.56609213", "0.5648338", "0.5643328", "0.56191975", "0.5617331", "0.56110626", "0.5608729", "0.5566647", "0.55573004", "0.5550886...
0.5220908
74
Initialize with URL from preferences
public RDB() throws Exception { this(Preferences.getURL()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void initialize(URL url, ResourceBundle rb) {\n maestro = new Maestro();\n String nombreUsuario = System.getProperty(\"nombreUsuario\");\n maestro = maestro.obtenerMaestro(nombreUsuario);\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n\n ...
[ "0.6505043", "0.64986336", "0.6287532", "0.6219584", "0.62078136", "0.6163785", "0.6149648", "0.6141603", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0.61206394", "0...
0.0
-1
Must be called to release resources
@Override public void close() { try { connection.close(); } catch (final SQLException e) { // Ignore, shutting down anyway } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unused\")\n\t\t\tprivate void dispose() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tpublic void releaseResouces() {\n\t\tsuper.releaseResouces();\n\t}", "@Override\r\n\tprotected void dispose() {\n\t\t\r\n\t}", "@Override\n public void release() {\n \n }", "@Override\n\t\t\tpublic...
[ "0.77260774", "0.7478803", "0.7308871", "0.7294784", "0.7270011", "0.72686", "0.72686", "0.7257508", "0.724588", "0.7233039", "0.72251374", "0.72164375", "0.7146917", "0.7146917", "0.7146917", "0.7146917", "0.7146917", "0.7146917", "0.7146917", "0.7146917", "0.71345264", "0...
0.0
-1
Set JDBC statement parameter to NULL for null or empty strings
public static void setStringOrNULL(final PreparedStatement statement, final int index, final String value) throws Exception { if (value == null || value.length() == 0) statement.setNull(index, java.sql.Types.VARCHAR); else statement.setString(index, value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNull (JaqyPreparedStatement stmt, int column, ParameterInfo paramInfo) throws Exception;", "public void setNull(PreparedStatement st, int index) throws HibernateException, SQLException {\n st.setCharacterStream(index, null, 0);\n }", "@Override\n public void setNonNullParameter(PreparedSt...
[ "0.7524335", "0.6709396", "0.64133954", "0.6292344", "0.62648237", "0.6162452", "0.61378235", "0.6075371", "0.6057674", "0.60080576", "0.5920295", "0.5848743", "0.58135784", "0.58078855", "0.58045864", "0.57840294", "0.5751509", "0.5747347", "0.5702473", "0.566236", "0.565359...
0.62162
5
Set JDBC statement parameter to NULL for zero
public static void setIntOrNULL(final PreparedStatement statement, final int index, final int value) throws Exception { if (value == 0) statement.setNull(index, java.sql.Types.INTEGER); else statement.setInt(index, value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNull (JaqyPreparedStatement stmt, int column, ParameterInfo paramInfo) throws Exception;", "public void setNull(PreparedStatement st, int index) throws HibernateException, SQLException {\n st.setCharacterStream(index, null, 0);\n }", "void setNull(int index, int sqlType) throws SQLException;...
[ "0.77623135", "0.6757025", "0.6751109", "0.66048324", "0.6390629", "0.6251748", "0.62219214", "0.62075907", "0.6144671", "0.61055386", "0.6035246", "0.60166925", "0.5960475", "0.595022", "0.5939846", "0.59013414", "0.5883104", "0.58517486", "0.57200533", "0.56983393", "0.5666...
0.61566716
8
Gets the "Textseqid" element
public gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId getTextseqId() { synchronized (monitor()) { check_orphaned(); gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null; target = (gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId)get_store().find_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId getTextseqId()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null;\r\n target = (g...
[ "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.70364094", "0.60899097", "0.59489024", "0.5944589", "0.5918847", "0.5780374", "0.5726825", "0.56578386", "0.5654797", "...
0.699825
12
Sets the "Textseqid" element
public void setTextseqId(gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId textseqId) { synchronized (monitor()) { check_orphaned(); gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null; target = (gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId)get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTextseqId(gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId textseqId)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null;\r\n ...
[ "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.6716618", "0.578961", "0.5701385", "0.56872344", "0.56226856", "0.5614936", "0.5614936", "0.55614287", "0.5550063", "0.55422866", ...
0.6645162
12
Appends and returns a new empty "Textseqid" element
public gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId addNewTextseqId() { synchronized (monitor()) { check_orphaned(); gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null; target = (gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId)get_store().ad...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId addNewTextseqId()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.TextseqIdDocument.TextseqId target = null;\r\n target =...
[ "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.63598365", "0.56596214", "0.56596214", "0.56596214", "0.56596214", "0.53468645", "0.523054", "0.5055148", "0.49756294", ...
0.63093305
12
Gets the "name" element
public java.lang.String getName() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$0, 0); if (t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getNameElement();", "public String getName() { \n\t\treturn getNameElement().getValue();\n\t}", "public String getName() { \n\t\treturn getNameElement().getValue();\n\t}", "public String getName() { \n\t\treturn getNameElement().getValue();\n\t}", "public String getName() {\n return elemen...
[ "0.8612842", "0.81303006", "0.81303006", "0.81303006", "0.7891161", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", "0.78843784", ...
0.0
-1
Gets (as xml) the "name" element
public org.apache.xmlbeans.XmlString xgetName() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getNameElement();", "public abstract String getXMLName();", "public String getXmlName() {\n return toString().toLowerCase();\n }", "public String getXmlName() {\n return toString().toLowerCase();\n }", "@XmlElement(required = true, name = \"name\")\n public Str...
[ "0.79326594", "0.76257885", "0.7533295", "0.7533295", "0.7519393", "0.746541", "0.74585706", "0.74585706", "0.7410739", "0.7400476", "0.73413235", "0.7339228", "0.7339228", "0.7339228", "0.73018277", "0.72859776", "0.72859776", "0.72859776", "0.7221325", "0.71752113", "0.7107...
0.68826187
85
True if has "name" element
public boolean isSetName() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(NAME$0) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boo...
[ "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017", "0.81688017"...
0.7269299
66
Sets the "name" element
public void setName(java.lang.String name) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$0, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String name) {\n this.name = name;\n this.box.getElement().setAttribute(\"name\", name);\n }", "public void setName(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/name\",v);\n\t\t_Name=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "public void...
[ "0.8414775", "0.8335173", "0.81755906", "0.81755906", "0.81547827", "0.81547827", "0.81547827", "0.81523526", "0.81523526", "0.81523526", "0.81523526", "0.81512684", "0.8146816", "0.8146553", "0.8143292", "0.81335557", "0.8133047", "0.8123642", "0.81227845", "0.81227845", "0....
0.0
-1
Sets (as xml) the "name" element
public void xsetName(org.apache.xmlbeans.XmlString name) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/name\",v);\n\t\t_Name=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "public void setName(QName name)\n {\n this.name = name;\n }", "public void setName(java.lang.String name)\n {\n synchr...
[ "0.81350136", "0.7991412", "0.7686241", "0.7686241", "0.7665467", "0.7661672", "0.76132125", "0.76132125", "0.76132125", "0.76132125", "0.7590936", "0.75706536", "0.7545307", "0.75388503", "0.75388503", "0.75388503", "0.7525892", "0.7525892", "0.7525892", "0.7522843", "0.7515...
0.74868053
38
Unsets the "name" element
public void unsetName() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(NAME$0, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unsetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(NAME$8, 0);\n }\n }", "public void unsetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().r...
[ "0.82012385", "0.8118484", "0.8118484", "0.80990887", "0.79177004", "0.78141963", "0.77397394", "0.77397394", "0.77397394", "0.76534194", "0.72676903", "0.7053179", "0.7041028", "0.7041028", "0.7041028", "0.7013931", "0.7013931", "0.70125276", "0.70125276", "0.6998639", "0.69...
0.8115277
3
Gets the "accession" element
public java.lang.String getAccession() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSION$2, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAccession() {\n return accession;\n }", "public String getAccess();", "String getAccess();", "String getAccess();", "public void setAccession(String accession) {\n this.accession = accession;\n }", "public void setAccession(String accession) {\n this.accession ...
[ "0.79657954", "0.71707684", "0.7164242", "0.7164242", "0.6901745", "0.6901745", "0.6885491", "0.68393654", "0.6731219", "0.66880643", "0.6623885", "0.6496442", "0.635162", "0.6327125", "0.62839043", "0.6234228", "0.62322545", "0.62019646", "0.6138872", "0.6054219", "0.5900982...
0.73754054
1
Gets (as xml) the "accession" element
public org.apache.xmlbeans.XmlString xgetAccession() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSION$2, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAccession() {\n return accession;\n }", "public java.lang.String getAccession()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org....
[ "0.74041796", "0.6910298", "0.6694254", "0.6694254", "0.6655868", "0.66148543", "0.66148543", "0.6339542", "0.6257649", "0.6151489", "0.6095523", "0.6072249", "0.5929578", "0.58509624", "0.57967854", "0.57667583", "0.5766376", "0.5756712", "0.56437916", "0.5534481", "0.553355...
0.6741216
2
True if has "accession" element
public boolean isSetAccession() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(ACCESSION$2) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasAccess(String accessId);", "public boolean isSetAccessName() {\n return this.accessName != null;\n }", "boolean isAccess(char access);", "boolean hasAccX();", "public void setAccession(String accession) {\n this.accession = accession;\n }", "public void setAccession(String...
[ "0.6750431", "0.6672859", "0.6399827", "0.63888997", "0.6367144", "0.6367144", "0.6363754", "0.63566124", "0.63243663", "0.63243663", "0.62722474", "0.62528235", "0.62099427", "0.6102862", "0.6100607", "0.60869944", "0.6078247", "0.6065845", "0.606293", "0.60233486", "0.60034...
0.76292545
0
Sets the "accession" element
public void setAccession(java.lang.String accession) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSION$2, 0)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAccession(String accession) {\n this.accession = accession;\n }", "public void setAccession(String accession) {\n this.accession = accession;\n }", "public void xsetAccession(org.apache.xmlbeans.XmlString accession)\r\n {\r\n synchronized (monitor())\r\n ...
[ "0.8031622", "0.8031622", "0.7396307", "0.66605157", "0.6605631", "0.6487808", "0.647825", "0.62446624", "0.6199751", "0.61867255", "0.61478853", "0.6127272", "0.61260235", "0.6060561", "0.6052694", "0.5938476", "0.5919479", "0.5872347", "0.58200353", "0.581348", "0.5777756",...
0.79343915
2
Sets (as xml) the "accession" element
public void xsetAccession(org.apache.xmlbeans.XmlString accession) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCES...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAccession(java.lang.String accession)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_use...
[ "0.77177316", "0.7266573", "0.7266573", "0.64031035", "0.60950273", "0.5912387", "0.589379", "0.5844001", "0.5824763", "0.5747759", "0.5661864", "0.5635431", "0.5545589", "0.5543353", "0.5524616", "0.54611087", "0.5455021", "0.54521775", "0.54521775", "0.53955454", "0.5378795...
0.74401313
1
Unsets the "accession" element
public void unsetAccession() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(ACCESSION$2, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearAccess();", "void unsetCit();", "public void supprimerInaccessibles(){\n grammaireCleaner.nettoyNonAccGramm();\n setChanged();\n notifyObservers(\"3\");\n }", "public void clearAccessibleSelection() {\n // To be fully implemented in a future release\n ...
[ "0.7495577", "0.6346841", "0.62852675", "0.6170796", "0.615613", "0.61522406", "0.60894823", "0.60617125", "0.60531193", "0.603079", "0.60055345", "0.5991176", "0.5991176", "0.5987994", "0.59590787", "0.5946929", "0.5907035", "0.5892825", "0.5891164", "0.58880436", "0.5860477...
0.80981433
0
Gets the "release" element
public java.lang.String getRelease() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RELEASE$4, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public org.apache.xmlbeans.XmlString xgetRelease()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RELE...
[ "0.72022855", "0.68360543", "0.67369866", "0.66752595", "0.66215354", "0.6113357", "0.6065619", "0.6017171", "0.598213", "0.5807476", "0.5752797", "0.5752252", "0.5683426", "0.5680628", "0.5666243", "0.56659025", "0.55938464", "0.5562829", "0.5559647", "0.5525255", "0.5521409...
0.7405065
0
Gets (as xml) the "release" element
public org.apache.xmlbeans.XmlString xgetRelease() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RELEASE$4, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getRelease()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RELEASE$4, 0);...
[ "0.70202845", "0.6870281", "0.6528892", "0.59594417", "0.5894522", "0.58908504", "0.58442926", "0.58324885", "0.5812211", "0.57938373", "0.578024", "0.57762027", "0.57597125", "0.5722251", "0.55816925", "0.558018", "0.55420107", "0.55258805", "0.5523556", "0.54978114", "0.549...
0.71008766
0
True if has "release" element
public boolean isSetRelease() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(RELEASE$4) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isReadyForRelease() {\r\n return true;\r\n }", "public boolean isReleased() {\n return released;\n }", "public boolean isSetRelease_date() {\r\n return this.release_date != null;\r\n }", "public boolean isSetRelease_date() {\n return this.release_date != null;\n }", "pu...
[ "0.67418903", "0.6564746", "0.64208037", "0.63971406", "0.6285963", "0.62648916", "0.5893604", "0.5881217", "0.58670217", "0.5818032", "0.5808739", "0.5757334", "0.57114553", "0.5709383", "0.56319433", "0.55934405", "0.55845493", "0.5568649", "0.55671287", "0.55670166", "0.55...
0.753749
0
Sets the "release" element
public void setRelease(java.lang.String release) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RELEASE$4, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void xsetRelease(org.apache.xmlbeans.XmlString release)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_eleme...
[ "0.73491126", "0.6678814", "0.66599596", "0.65723866", "0.654215", "0.62893677", "0.61230683", "0.60643655", "0.60558254", "0.6043833", "0.6037992", "0.60009944", "0.59768236", "0.5926964", "0.59251225", "0.59004456", "0.58930624", "0.58710957", "0.5839414", "0.58289534", "0....
0.7128599
1
Sets (as xml) the "release" element
public void xsetRelease(org.apache.xmlbeans.XmlString release) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RELEASE$4...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRelease(java.lang.String release)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RE...
[ "0.7471408", "0.6984289", "0.6159695", "0.6002463", "0.59759974", "0.5942281", "0.5857012", "0.5832048", "0.58269143", "0.5826031", "0.5761912", "0.57217824", "0.5666408", "0.5665833", "0.5661654", "0.5649218", "0.5631256", "0.56107026", "0.56000334", "0.55960155", "0.5588521...
0.75805753
0
Unsets the "release" element
public void unsetRelease() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(RELEASE$4, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void OnRelease() {\n\t\tsetSelected(false);\n\t}", "@Override\n public void release() {\n // do *not* reset tag attributes\n }", "void unsetRef();", "void unsetTarget();", "private void release() {\n\t\tinitialized = false;\n\t\tpause();\n\t\tsetOnCompletionListener(null);\n\t\t...
[ "0.6828852", "0.6497184", "0.6406601", "0.6398087", "0.63434255", "0.6276381", "0.6259598", "0.62535626", "0.6185199", "0.618355", "0.6176652", "0.6175432", "0.61273384", "0.6119398", "0.61183786", "0.61022604", "0.6095225", "0.6088521", "0.6046431", "0.60444903", "0.6041426"...
0.79352534
0
Gets the "version" element
public java.math.BigInteger getVersion() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$6, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Number getVersion() {\n return (Number) getAttributeInternal(VERSION);\n }", "public String getVersion () {\r\n return version;\r\n }", "public String getVersion(){\r\n return version;\r\n }", "public String getVersion() {\r\n return version;\r\n }", "public String ge...
[ "0.75245136", "0.74244004", "0.74192196", "0.73962617", "0.7371216", "0.7344544", "0.7344544", "0.7343941", "0.73345256", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", "0.73309046", ...
0.0
-1
Gets (as xml) the "version" element
public org.apache.xmlbeans.XmlInteger xgetVersion() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlInteger target = null; target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(VERSION$6, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DOMSupport(DomLevel.THREE)\r\n\t@BrowserSupport({BrowserType.FIREFOX_2P})\r\n\t@Property String getXmlVersion();", "@Override\n @XmlElement(name = \"version\", required = true)\n public synchronized InternationalString getVersion() {\n return version;\n }", "@Override\n public String getXml...
[ "0.73049045", "0.7093985", "0.7052124", "0.6911365", "0.6911365", "0.6911365", "0.6911365", "0.6902582", "0.6862813", "0.68454206", "0.68454206", "0.68454206", "0.68454206", "0.68454206", "0.68454206", "0.68454206", "0.68454206", "0.680917", "0.68014634", "0.67995733", "0.678...
0.0
-1
True if has "version" element
public boolean isSetVersion() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(VERSION$6) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasVersion();", "boolean hasVersion();", "boolean hasVersionNumber();", "public boolean isSetVersion() {\n return this.version != null;\n }", "public boolean isSetVersion() {\n return this.version != null;\n }", "public boolean isVersion()\n {\n return !getVersion().isNull();\n ...
[ "0.84049785", "0.84049785", "0.7976284", "0.789616", "0.789616", "0.7884529", "0.7759714", "0.76211286", "0.74841595", "0.72538084", "0.7205694", "0.70457757", "0.68191373", "0.6807284", "0.6711483", "0.6666866", "0.66491824", "0.66491824", "0.66478324", "0.6643824", "0.66353...
0.76332664
7
Sets the "version" element
public void setVersion(java.math.BigInteger version) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$6, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setVersion(String version);", "void setVersion(String version);", "public void setVersion(String version);", "void setVersion(long version);", "public void setVersion(Number value) {\n setAttributeInternal(VERSION, value);\n }", "public void setVersion(int value) {\n this.version = value;...
[ "0.7932181", "0.7932181", "0.7797636", "0.77636725", "0.77352446", "0.76377344", "0.76346767", "0.75078404", "0.7495627", "0.7451888", "0.7451888", "0.7424127", "0.7419226", "0.73751336", "0.7371051", "0.7332528", "0.7332528", "0.73301977", "0.73295426", "0.7320526", "0.72887...
0.74236816
12
Sets (as xml) the "version" element
public void xsetVersion(org.apache.xmlbeans.XmlInteger version) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlInteger target = null; target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(VERSIO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setVersion(String version);", "void setVersion(String version);", "public void setVersion(String version);", "@CompositeValue(ignore=true)\n @XmlAttribute(name=\"version\")\n public void setVersion(Version version)\n {\n versionRange = new VersionRange(version, true, version, true);\n }", ...
[ "0.756072", "0.756072", "0.7379185", "0.7371162", "0.72861534", "0.72575563", "0.71432126", "0.7035162", "0.6956147", "0.6946483", "0.6935583", "0.6896496", "0.6896496", "0.6871406", "0.685161", "0.683786", "0.68317264", "0.67994475", "0.67944545", "0.67928344", "0.67928344",...
0.69754136
8
Unsets the "version" element
public void unsetVersion() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(VERSION$6, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unsetVersion()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(VERSION$4, 0);\n }\n }", "public void unsetVersionValue() throws JNCException {\n delete(\"version\");\n }", "private void clearVersion() {\n...
[ "0.82496905", "0.7469772", "0.74346966", "0.7226233", "0.71309876", "0.71266764", "0.71266764", "0.71266764", "0.7056754", "0.6929577", "0.68344706", "0.68344706", "0.68344706", "0.65811765", "0.65563285", "0.63724047", "0.63638103", "0.6263887", "0.6263887", "0.6206639", "0....
0.8186032
1
This method refreshes the list with connected capture devices and displaying devices. The layout of this dialog will be changed accordingly. The method will return false in case something goes wrong in the initialization routines. If all is well, true will be returned.
@Action public boolean refreshVideoCapturers() { boolean result = true; try { // refresh capture devices by querying the capturer implementation for uninitialized capture devices Collection<String> videoCapturerNames = videoCapturerFactory.getVideoCapturerNames(); // return if no capturers available if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void displayList(){\n\t\tmArrayAdapter.clear();\n\t\tBT.setupBT();\n\n\t\tListView newDevicesListView = (ListView)\n\t\t\t\tdialog.findViewById(R.id.device_list_display);\n\n\t\tnewDevicesListView.setAdapter(mArrayAdapter);\n\t\tnewDevicesListView.setClickable(true);\n\t}", "private void updateDeviceList...
[ "0.61984634", "0.6119712", "0.6072056", "0.57871115", "0.56034434", "0.5517108", "0.5507506", "0.5401854", "0.53100544", "0.5307213", "0.52967495", "0.52618366", "0.52428526", "0.51692593", "0.51283467", "0.51221395", "0.5100783", "0.50902605", "0.50275457", "0.5020405", "0.5...
0.7240333
0
Add extra monitor selection buttons, only if there are more than 1 connected.
public void addMonitors() { // get graphics environment GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice[] graphicsDevices = graphicsEnvironment.getScreenDevices(); // let user choose on which screen to show the capturer, only if more than one is connec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MultiMonitorDialog(java.awt.Frame parent, boolean modal,java.awt.GraphicsDevice[] gds, int current)\n {\n super(parent, modal);\n \n javax.swing.JScrollPane jScrollPane1 = new javax.swing.JScrollPane();\n javax.swing.JList jList1 = new javax.swing.JList();\n javax.swing...
[ "0.63204926", "0.57884806", "0.5349103", "0.5332148", "0.5313198", "0.5262229", "0.5258899", "0.52269506", "0.521689", "0.5193274", "0.5170047", "0.5103071", "0.5088343", "0.50757885", "0.50711787", "0.50692767", "0.50556296", "0.5054311", "0.50464714", "0.50457126", "0.50372...
0.72649866
0
Created by Pavan Nagaraju on 01Sep18.
public interface APIInterface { @GET("api.php/action=query&format=json&prop=pageimages%7Cpageterms&generator=prefixsearch&redirects=1&formatversion=2&piprop=thumbnail&pithumbsize=50&pilimit=10&wbptterms=description") Call<SearchResponseModel> getDataList(@Query("gpssearch") String name , @Query("gpslimit") St...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Over...
[ "0.60785335", "0.5944208", "0.5879304", "0.5864173", "0.5850209", "0.5840689", "0.5840689", "0.5834586", "0.5817429", "0.5812741", "0.5784143", "0.57728434", "0.57715666", "0.5764907", "0.5751395", "0.57512254", "0.57220507", "0.57160556", "0.5705138", "0.5693988", "0.5655247...
0.0
-1
TODO Autogenerated method stub
@Override public void onNothingSelected(AdapterView<?> arg0) { }
{ "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 onNothingSelected(AdapterView<?> arg0) { }
{ "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
Constructor. Creates a new individual request NOT FOUND exception
public IndividualRequestNotFoundException(Long requestId) { super(ResourceBundle.getBundle(RESOURCE_STRING_PATH) .getString(INDIVIDUAL_REQUEST_NOT_FOUND_EXCEPTION_KEY) + requestId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NotFoundException() {\r\n super(Responses.notFound().build());\r\n }", "public ItemNotFoundException() {\n super();\n }", "public ObjectNotFoundException() {\r\n super(\"ObjectNotFound Exception\");\r\n }", "public DataNotFoundException() {\n\t\tsuper(\"Requested data not found...
[ "0.7890567", "0.7080231", "0.7070314", "0.6870051", "0.67459553", "0.67372197", "0.6646333", "0.663871", "0.6634324", "0.66230494", "0.660246", "0.65976197", "0.658745", "0.6587141", "0.656843", "0.6447414", "0.641838", "0.6382584", "0.6372924", "0.63297087", "0.6325663", "...
0.66778415
6
Connect to NodeCraft with the given username and API key
public NodeCraft(String username, char[] apiKey) { Authenticator.setDefault(new NodeCraftAuthenticator(username, apiKey)); this.version = 1; this.parser = new JSONParser(); this.urlMap = new HashMap<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void connect() throws OOBException {\n \t\tlog.debug(\"enter to connect \");\n \t\tJSch jsch = new JSch();\n \t\ttry {\n\t\t\tjsch.addIdentity(PRIVATE_KEY, PASSPHRASE);\n \t\t\tjsch.setKnownHosts(KNOWN_HOSTS);\n \t\t\tlog.debug(\"user \" + user + \"host : \" + host);\n \t\t\tsession = jsch.getSession(user, ...
[ "0.60381067", "0.5945694", "0.5795684", "0.55083174", "0.5452726", "0.5405414", "0.5353516", "0.5341166", "0.53166544", "0.5314716", "0.5313394", "0.5292531", "0.52685076", "0.5265842", "0.52425027", "0.5224551", "0.5220984", "0.52053535", "0.51802087", "0.515664", "0.5149957...
0.68832284
0
Get the current rate limiting status
public static Map currentRateLimit() throws IOException { if (RATE_LIMIT == null) { RATE_LIMIT = new URL(URL + "limits"); } URLConnection connection = RATE_LIMIT.openConnection(); try { return (JSONObject) new JSONParser().parse(new InputStreamReader(connection.getInputStream())); } catch (ParseE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RateLimiter getRateLimiter() {\n return rateLimiter;\n }", "public RateLimiter getRateLimiter() {\n return rateLimiter;\n }", "public abstract boolean isRateLimit();", "public java.lang.Double getLimitUsageRate() {\n return limitUsageRate;\n }", "void requestRateLimited();", ...
[ "0.711671", "0.7084794", "0.66276354", "0.6562813", "0.6240613", "0.6225282", "0.62037873", "0.60886914", "0.60791796", "0.6023848", "0.5975333", "0.5921683", "0.591782", "0.59176993", "0.59046316", "0.589623", "0.58896124", "0.5886675", "0.5846128", "0.5835562", "0.5835215",...
0.6232481
5
Get a list of all user's services
public Map listServices() throws IOException { return request(GET, address(null, null)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic List<sn.ucad.master.assurance.bo.Service> findAllService() {\n\t\treturn serviceRepository.findAll();\r\n\t}", "List<Service> services();", "public List<String> getAllServices() {\n List<String> allServices = new ArrayList<>();\n for (ServiceDescription service : serviceList...
[ "0.72270536", "0.71488476", "0.6942779", "0.6856492", "0.68258125", "0.6794466", "0.6732073", "0.67156833", "0.66936743", "0.6657612", "0.66319436", "0.6625826", "0.6605469", "0.65804935", "0.6562294", "0.6562294", "0.6522436", "0.6522097", "0.65133315", "0.65133315", "0.6506...
0.6093577
76
Get information about a service by given ID
public Map getService(String id) throws IOException { return request(GET, address(id, null)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic sn.ucad.master.assurance.bo.Service findServiceById(int Idservice) {\n\t\treturn serviceRepository.findOne(Idservice);\r\n\t}", "public Service getService(String id) {\n Service service = catalog.getService(id);\n Assert.notNull(service, \"No service with id '%s' found\", id);...
[ "0.71730316", "0.7164763", "0.7038308", "0.7037881", "0.6867592", "0.6738297", "0.6712259", "0.6684083", "0.66554177", "0.65355587", "0.6516214", "0.6473314", "0.64692503", "0.64681894", "0.6445074", "0.6438977", "0.6335986", "0.63300997", "0.6320326", "0.6314959", "0.6301487...
0.73174673
0
Get status, disk, ram and CPU stats of a service by given ID
public Map serviceStatus(String id) throws IOException { return request(GET, address(id, "stats")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/meter-statuses/{id}\")\n @Timed\n public ResponseEntity<MeterStatus> getMeterStatus(@PathVariable Long id) {\n log.debug(\"REST request to get MeterStatus : {}\", id);\n MeterStatus meterStatus = meterStatusService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional...
[ "0.57975113", "0.56571794", "0.5655275", "0.5643422", "0.55927944", "0.5519911", "0.54880685", "0.54786575", "0.54464847", "0.52738416", "0.5254645", "0.52443063", "0.5242569", "0.5212701", "0.5209452", "0.5195633", "0.5194499", "0.5180545", "0.517879", "0.5161715", "0.513211...
0.7459396
0
Get last 300 lines of console logs of a service by given ID
public Map consoleLogs(String id) throws IOException { return request(POST, address(id, "logs")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\n path = \"/logs/{integrationid}/log/{lines}\",\n produces = {MediaType.TEXT_PLAIN_VALUE}\n )\n public ResponseEntity<String> getLog(\n @Parameter(hidden = true) @RequestHeader(\"Accept\") String mediaType,\n @PathVariable Long integrationid,\n @PathVariable in...
[ "0.57276225", "0.5610969", "0.54727864", "0.54225415", "0.53955483", "0.5310161", "0.5309631", "0.5195446", "0.51897144", "0.5168227", "0.5126993", "0.5125728", "0.5116723", "0.5100262", "0.50995827", "0.50379854", "0.5021572", "0.49772584", "0.4966233", "0.49509835", "0.4941...
0.5774257
0
Get input history of a service by given ID
public Map consoleInputHistory(String id) throws IOException { return request(POST, address(id, "history")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TrackerHistory getTrackerHistory(final Integer id);", "@Override\n public List<History> getHistories(Long id) {\n return historyRepository.findByProposalIdOrderByCreatedDateDesc(id);\n }", "public List<Booking> fetchHistory(Integer id)\n\t{\n\t\treturn booking_repo.fetchAllBookings(id);\n\t}", "...
[ "0.67954016", "0.65494466", "0.6215834", "0.62121254", "0.61194605", "0.60282004", "0.5914989", "0.5901479", "0.58421856", "0.5839741", "0.581121", "0.5776925", "0.5755122", "0.57251316", "0.5666624", "0.56594044", "0.5545521", "0.554146", "0.5530724", "0.552854", "0.54763645...
0.73050773
0
Starts a service by given ID
public Map startServerProcess(String id) throws IOException { return request(POST, address(id, "start")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startService(String id, String configLocation)\n throws IOException;", "public void startService(String service, java.util.Map<String, String> __ctx)\r\n throws AlreadyStartedException,\r\n NoSuchServiceException;", "public void startService(String s...
[ "0.77335143", "0.6847397", "0.6741968", "0.6622537", "0.65104437", "0.65082663", "0.65032434", "0.64864105", "0.643748", "0.6429964", "0.6420753", "0.641336", "0.63944405", "0.62913066", "0.6286687", "0.6271764", "0.6254863", "0.61969936", "0.61576205", "0.6156339", "0.615519...
0.6220306
17
Stops a service by given ID
public Map stopServerProcess(String id) throws IOException { return request(POST, address(id, "stop")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop(Integer id) throws CallError, InterruptedException{\n if (isAsynchronous)\n service.call(\"stop\", id);\n else\n service.call(\"stop\", id).get();\n }", "public void stopService();", "public void stop(Integer id) throws DynamicCallException, ExecutionExce...
[ "0.77354586", "0.7296251", "0.725535", "0.6985582", "0.69652635", "0.68513477", "0.68159074", "0.6801638", "0.68013036", "0.67830634", "0.6559961", "0.6559215", "0.6557308", "0.65562093", "0.65458584", "0.6493521", "0.6462682", "0.6456635", "0.6447948", "0.64151365", "0.63996...
0.67974806
9
Kills a service by given ID. You should only use this if a "stop" fails. Killing the server forcefully may result in data loss
public Map killServerProcess(String id) throws IOException { return request(POST, address(id, "kill")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map stopServerProcess(String id) throws IOException\n\t{\n\t\treturn request(POST, address(id, \"stop\"));\n\t}", "public void stopService();", "@DELETE\n @ApiOperation(\"Forcefully stops a process\")\n @javax.ws.rs.Path(\"/{id}\")\n @WithTimer\n public void kill(@ApiParam @PathParam(\"id\")...
[ "0.70224804", "0.6951843", "0.6827369", "0.6731258", "0.6701272", "0.6408953", "0.639027", "0.637256", "0.63517076", "0.627288", "0.6263784", "0.62372833", "0.6173559", "0.6166999", "0.6163076", "0.61607766", "0.61395806", "0.6093157", "0.60814846", "0.6058152", "0.6051016", ...
0.7129099
0
Sends a console command to a service by given ID
public Map consoleCommand(String id, String cmd) throws IOException { return request(POST, address(id, "msg"), new AbstractMap.SimpleEntry<>("msg", cmd)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int sendCommandWithID(String commandID, String command, String args) throws IOException\n {\n StringBuilder __commandBuffer = new StringBuilder();\n if (commandID != null)\n {\n __commandBuffer.append(commandID);\n __commandBuffer.append(' ');\n }...
[ "0.6051549", "0.5993214", "0.58341765", "0.58000517", "0.57700104", "0.56973654", "0.5597435", "0.55256146", "0.5488773", "0.548346", "0.5404186", "0.53910583", "0.5390756", "0.53634465", "0.5303812", "0.52977204", "0.5297437", "0.52967113", "0.52755666", "0.5270346", "0.5245...
0.65675986
0
Get all coopvault donations
public Map listAllDonations() throws IOException { return request(GET, coOpVault()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"\")\n public Iterable<Donut> returAllDonuts(){\n\n return this.donutRepository.findAll();\n\n }", "public List<Donor> getAllDonors() {\n List<Donor> donorList = new ArrayList<Donor>();\n // Select All Query\n String selectQuery = \"SELECT * FROM \" + TABLE_CONTACTS;...
[ "0.6023599", "0.599073", "0.59697956", "0.59367186", "0.5731825", "0.5623394", "0.55743515", "0.5474839", "0.5446769", "0.54259896", "0.5422626", "0.54129654", "0.5348667", "0.5340755", "0.5291262", "0.5282187", "0.5264026", "0.52607375", "0.52547413", "0.52234185", "0.521968...
0.7671003
0
Get all coopvault donations in the month and year specified
public Map listDonationsByMonth(int month, Integer year) throws IOException { Map.Entry[] entries = new Map.Entry[year == null ? 1 : 2]; entries[0] = new AbstractMap.SimpleEntry<>("month", month); if (year != null) { entries[1] = new AbstractMap.SimpleEntry<>("year", year); } return request(POST, coOpVa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getDonations()\n\t{\n\t\tint donations=0;\n\t\tString query=\"select count(*) from donations where month(donation_date)=month(curdate())\";\n\t\ttry\n\t\t{\n\t\t\tConnection con=DBInfo.getConn();\t\n\t\t\tPreparedStatement ps=con.prepareStatement(query);\n\t\t\tResultSet res=ps.executeQuery();\n\t\t\twh...
[ "0.5810272", "0.5658447", "0.56041586", "0.54442066", "0.5376674", "0.5361514", "0.5357285", "0.5321353", "0.53158975", "0.526058", "0.5225786", "0.5116504", "0.5115341", "0.5112039", "0.5071651", "0.50515485", "0.5049982", "0.5032097", "0.50108534", "0.4983269", "0.4979965",...
0.6738705
0
/reservar cita que manda aal bd Firebae
private void ReservarCita(String horaini,String horafin) { progressDialog=new ProgressDialog(HorasCitasActivity.this); progressDialog.setTitle("Agregado horario"); progressDialog.setMessage("cargando..."); progressDialog.show(); progressDialog.setCancelable(false); S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Reserva Obtener();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "private void limpiarDatos() {\n\t\t\n\t}", "private static void cajas() {\n\t\t\n\t}", "void entrerAuGarage();", "public void estiloAcierto() {\r\n\t\t /**Bea y Jose**/\t\t\r\n \r\n\t}", "public static void viaggia(List<Trasporto...
[ "0.6355217", "0.633617", "0.6291215", "0.62416637", "0.6234504", "0.6155234", "0.6138209", "0.6126375", "0.6121833", "0.60983217", "0.6083376", "0.6073309", "0.6071524", "0.60612524", "0.60382456", "0.6030006", "0.6028387", "0.59969866", "0.59947574", "0.5985296", "0.59630066...
0.5721115
76
TODO Autogenerated method stub
public static void main(String[] args) { }
{ "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 SetUpperLayer(BaseLayer pUpperLayer) { if (pUpperLayer == null) return; this.p_aUpperLayer.add(nUpperLayerCount++, pUpperLayer); // nUpperLayerCount++; }
{ "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 String GetLayerName() { return pLayerName; }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public BaseLayer GetUnderLayer() { if (p_UnderLayer == null) return null; return p_UnderLayer; }
{ "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 BaseLayer GetUpperLayer(int nindex) { if (nindex < 0 || nindex > nUpperLayerCount || nUpperLayerCount < 0) return null; return p_aUpperLayer.get(nindex); }
{ "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
compares two Person objects by their pay grades.
@Override public int compare(Person o1, Person o2) { return o1.payGrade - o2.payGrade; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test \n\tpublic void TestStudentGPA() throws PersonException{\n\t\tArrayList<Enrollment> EnrolledStudents = new ArrayList<Enrollment>();\n\t\tfor (int i = 0; i < Students.size(); i++){\n\t\t\tStudent student = Students.get(i);\n\t\t\tfor (int j = 0; j < Sections.size(); j++){\n\t\t\t\tSection section = Sections.g...
[ "0.6179799", "0.593045", "0.58469766", "0.5609546", "0.55274403", "0.54508615", "0.5446296", "0.54454845", "0.54317135", "0.53867644", "0.5371782", "0.53570104", "0.5338349", "0.5338161", "0.53206843", "0.5312161", "0.5272068", "0.52499", "0.5234338", "0.52130026", "0.5211484...
0.72571933
0
corrected from (String args[])
public static void main(String[] args) { J_S4A2 p = new Child(); p.method2(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String args[]){\n\t\t\n\t}", "public static void main(String args[]){\n\t\t\r\n\t}", "public static void main(String args[]){\n\t\t\n\t\n\t}", "public static void main(String args[])\r\n {\n }", "public static void main (String args[]) {\n\t\t\n }", "public static voi...
[ "0.7775138", "0.770368", "0.7698904", "0.76951927", "0.7693404", "0.7671253", "0.764739", "0.7612967", "0.7591852", "0.7578185", "0.75515133", "0.7545842", "0.752906", "0.7525843", "0.7520798", "0.7520798", "0.7520798", "0.7517378", "0.7516487", "0.7516487", "0.7516487", "0...
0.0
-1
Invoked when an action occurs.
@Override public void actionPerformed(final ActionEvent e) { if (e.getSource() == applyButton) { applyChanges(); } else if (e.getSource() == addButton) { addObject(); } else if (e.getSource() == removeButton) { removeObject(); } else if (e.getSourc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract void onAction();", "public void action() {\n action.action();\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }",...
[ "0.7907701", "0.7775921", "0.7644247", "0.76119846", "0.76119846", "0.76119846", "0.751699", "0.74891174", "0.74193674", "0.7412826", "0.7402896", "0.738321", "0.7359403", "0.7359403", "0.73438245", "0.73412704", "0.73412704", "0.73412704", "0.73412704", "0.73412704", "0.7341...
0.0
-1
directory can be null, The JFileChooser will sort it out
private static JFileChooser createFileChooser(final String dir) { JFileChooser chooser = new JFileChooser(dir); chooser.addChoosableFileFilter(new FileNameExtensionFilter("jGnash Files(*.xml)", "xml")); chooser.setMultiSelectionEnabled(false); return chooser; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void processDirectorySelecction()\n {\n int answer = JSoundsMainWindowViewController.jFileChooser1.showOpenDialog(JSoundsMainWindowViewController.jSoundsMainWindow);\n \n if (answer == JFileChooser.APPROVE_OPTION)\n {\n File actualDirectory = JSoundsMainWindo...
[ "0.7586735", "0.757111", "0.73791414", "0.73667055", "0.72761995", "0.7190224", "0.7090656", "0.7031858", "0.7022798", "0.6979664", "0.6961515", "0.693712", "0.6905371", "0.6900245", "0.68964404", "0.68328524", "0.67908263", "0.6732371", "0.6724387", "0.6661651", "0.6646442",...
0.67282623
18
Called whenever the value of the selection changes.
@Override public void valueChanged(final ListSelectionEvent e) { if (e.getValueIsAdjusting()) { return; } showObject(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void valueChanged (TreeSelectionEvent event)\n {\n updateSelection();\n }", "public void selectionChanged(Selection selecton) {\r\n }", "@Override\n\tpublic void selectionChanged(SelectionChangedEvent arg0) {\n\t\t\n\t}", "@Override\r\n public void valu...
[ "0.8049871", "0.77195513", "0.75989825", "0.7549665", "0.7493419", "0.74383575", "0.73643315", "0.7329341", "0.7322108", "0.7305355", "0.7297087", "0.7268752", "0.725651", "0.7226077", "0.72207373", "0.72141874", "0.7213752", "0.7213752", "0.7213752", "0.7213752", "0.7207815"...
0.6993995
32
Invoked when a component gains the keyboard focus.
@Override public void focusGained(final FocusEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void focusLost(FocusEvent e) { }", "public void focusLost(FocusEvent e)\r\n/* 61: */ {\r\n/* 62:100 */ super.focusLost(e);\r\n/* 63:101 */ if (!e.isTemporary())\r\n/* 64: */ {\r\n/* 65:102 */ this.isKeyboardFocusEvent = true;\r\n/* 66:103 */ if (Boolean.TRUE.equals(ge...
[ "0.7315261", "0.72929037", "0.7218077", "0.72015345", "0.7091004", "0.70329297", "0.6995188", "0.6962948", "0.69411004", "0.69061387", "0.6895146", "0.68951446", "0.6888567", "0.6888567", "0.68820053", "0.6870118", "0.6858421", "0.6854284", "0.6854284", "0.6843854", "0.684337...
0.69253415
9
Invoked when a component loses the keyboard focus.
@Override public void focusLost(final FocusEvent e) { if (e.getSource() == heightField) { updateHeight(); } else if (e.getSource() == countField) { updateCount(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void focusLost(FocusEvent e) { }", "public void focusLost(FocusEvent e)\r\n/* 61: */ {\r\n/* 62:100 */ super.focusLost(e);\r\n/* 63:101 */ if (!e.isTemporary())\r\n/* 64: */ {\r\n/* 65:102 */ this.isKeyboardFocusEvent = true;\r\n/* 66:103 */ if (Boolean.TRUE.equals(ge...
[ "0.732611", "0.72424257", "0.7234921", "0.71455914", "0.71188617", "0.7107634", "0.7014906", "0.6943822", "0.69353294", "0.6915103", "0.68954945", "0.6884816", "0.68456036", "0.6826104", "0.6817126", "0.6782781", "0.6769052", "0.6769052", "0.67446196", "0.67408746", "0.674087...
0.0
-1
TODO Autogenerated method stub
@Override public void execute(Frame frame) { DSTORE._dstore(frame, 1); }
{ "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(String arg0) { System.out.println(arg0); }
{ "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 Patient getPatientByMI(String miCardNo) { return null; }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public Patient getPatientByIDCard(String idCardNo) { return null; }
{ "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 MedicalCard issueCard(Patient patient) { return null; }
{ "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
Given the total forward translation, total sideways translation, and total changed heading, and assuming that all three values changed at a constant rate throughout the robot's travel, calculate the final change in position. Imagine a line from (x,y) to (x', y') and curve it into a sector of angle theta
public pose curvedTrajectoryTranslation(pose in){ // if no rotation, then trig functions will be undefined if(in.r == 0) return in; // define circle that contains the sector double arclength = Math.hypot(in.x, in.y); double radius = arclength/in.r; //curve the path arou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void calculateLocation()\r\n\t{\r\n\t\tdouble leftAngleSpeed \t= this.angleMeasurementLeft.getAngleSum() / ((double)this.angleMeasurementLeft.getDeltaT()/1000); //degree/seconds\r\n\t\tdouble rightAngleSpeed \t= this.angleMeasurementRight.getAngleSum() / ((double)this.angleMeasurementRight.getDeltaT()/10...
[ "0.63270587", "0.62393856", "0.6217475", "0.6184087", "0.60151047", "0.6001065", "0.59617543", "0.5877308", "0.58631986", "0.57781106", "0.5741115", "0.57299495", "0.57043535", "0.569862", "0.5685739", "0.5673544", "0.5626884", "0.55911696", "0.5582098", "0.5576029", "0.55715...
0.0
-1
Get the active page.
private static void replaceCurrentPerspective( IPerspectiveDescriptor persp ) { IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); if( window != null ) { IWorkbenchPage page = window.getActivePage(); if( page != null ) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCurrentPage();", "int getCurrentPage();", "public Page getCurrentPageObject() {\n return getPageObject(this.currentIndex.viewIndex);\n }", "public Integer getCurrentPage();", "public Page getCurrentPageObject() {\n return getPageObject(this.currentIndex.viewIndex);\n }",...
[ "0.7731503", "0.76472145", "0.75972116", "0.75854534", "0.7574968", "0.75586504", "0.747279", "0.74354374", "0.7356802", "0.72679037", "0.7185087", "0.7073816", "0.6668031", "0.64668876", "0.64668876", "0.64668876", "0.64668876", "0.6466306", "0.63953733", "0.63391125", "0.63...
0.0
-1
Retrieve the new project open perspective preference setting
@SuppressWarnings( "restriction" ) public static void switchToLiferayPerspective() { String perspSetting = PrefUtil.getAPIPreferenceStore().getString( IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE ); String promptSetting = IDEWorkbenchPlugin.getDefault().getPreferenceStore().get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Image getOpenPerspectiveImage() {\n\t\treturn iconService.getIcon(\"new_persp.gif\");\n\t}", "String getSceneModePref();", "public static Object getActiveGISProject() {\r\n Project project = ProjectPlugin.getPlugin().getProjectRegistry().getCurrentProject();\r\n \r\n if (project != null)\r\n ...
[ "0.6105316", "0.57859457", "0.57357985", "0.5566905", "0.55043626", "0.5485163", "0.5408164", "0.53928626", "0.5384743", "0.534943", "0.53374964", "0.5334004", "0.5329347", "0.5299211", "0.5299134", "0.5284442", "0.52615017", "0.5238116", "0.52034354", "0.518799", "0.51826674...
0.6011506
1
se inician las clases Productos y clientes, Vector y se invocan los metodos
public static void main(String[] args) { Producto p = null;// Vector productos = new Vector(); Cliente c = null; Vector clientes = new Vector(); //Hacemos do-while para entrar al ciclo del menu do{ //MENU System.out.print("\nMENU\n 1. Registra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String mostrarVentas() {\n String ventas = \"\";\n for (int i = 0; i < posicionActual; i++) { //Recorre el vector hasra la poscion actual, y almacena toda la informacion de estos en una variable String la cual se retornara \n ventas += mostrarCliente(i);\n }\n return v...
[ "0.6349456", "0.60556567", "0.6001794", "0.59610045", "0.59385693", "0.5900588", "0.58930415", "0.5857545", "0.58569145", "0.58440167", "0.580697", "0.5735403", "0.57350147", "0.5731914", "0.5704808", "0.5704065", "0.56955147", "0.5675751", "0.56718814", "0.5667908", "0.56668...
0.71432424
0
//////// Funcion para busqueda Verificar que el codigo que digitamos exista en el objetoproducto
static Producto busqueda(int codigo, Vector productos){ boolean band = false; //si return no es igual a null nos regresara el codigo Producto p,retornP = null; //For para comparar todos los codigos del vector que digitamos for(int x = 0; x < productos.size(); x++){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean comprovarCodi(String codi) {\r\n if(codi == id) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }", "public Integer getExisteCliente(String codigoCliente);", "private String findObj(Integer codigoObj) {\r\n\t\tString valorObj = null;\...
[ "0.6635041", "0.63058764", "0.61721015", "0.61510855", "0.60454243", "0.5971576", "0.5705029", "0.56590855", "0.5654823", "0.5580806", "0.54972064", "0.54665256", "0.5459162", "0.5453437", "0.5452052", "0.5451254", "0.5446593", "0.54438436", "0.5389709", "0.5378813", "0.53746...
0.57491964
6
Funcion para crear archivo Funcion de tipo void la cual le pasamos los clientes y productos
static void CrearArchivo(Vector productos, Vector clientes){ try{ //iniciamos el try y si no funciona se hace el catch BufferedWriter bw = new BufferedWriter( //Iniciamos el archivo adentro de bw que es un objeto. new FileWriter("reporte.txt") ); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gerarCupom(String cliente, String vendedor,List<Produto> produtos, float totalVenda ) throws IOException {\r\n \r\n File arquivo = new File(\"cupomFiscal.txt\");\r\n String produto =\" \"; \r\n if(arquivo.exists()){\r\n System.out.println(\"Arquivo localiza...
[ "0.67832744", "0.67348826", "0.66491383", "0.6357719", "0.60647386", "0.6037003", "0.59456533", "0.5943407", "0.5943201", "0.59383166", "0.5891922", "0.5847844", "0.58063596", "0.5804801", "0.57816154", "0.5778659", "0.57681745", "0.57581234", "0.5746089", "0.5718495", "0.570...
0.7942513
0
Funcion para leer archivo
static void LeerArchivo(){ //iniciamos el try y si no funciona se hace el catch try{ //se crea un objeto br con el archivo de txt BufferedReader br = new BufferedReader( new FileReader("reporte.txt") ); String s; //Mientra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Leer() throws FileNotFoundException\n {\n // se crea una nueva ruta en donde se va a ir a leer el archivo\n String ruta = new File(\"datos.txt\").getAbsolutePath(); \n archivo=new File(ruta); \n }", "String getFile();", "String getFile();", "String getFile();", "public ...
[ "0.7044032", "0.6909237", "0.6909237", "0.6909237", "0.6788289", "0.67167985", "0.6684559", "0.6617609", "0.65879494", "0.65879494", "0.6568503", "0.6568503", "0.65357345", "0.6523345", "0.6501537", "0.64541", "0.6352695", "0.62949556", "0.62949556", "0.62787783", "0.6146534"...
0.7083828
0
TODO Autogenerated method stub
public static void main(String[] args) { Scanner console = new Scanner(System.in); int numEntries = console.nextInt(); for(int ii = 0; ii < numEntries; ii++){ console.nextLine(); String lineScan = console.nextLine(); } }
{ "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
Returns command to reorient EClass based link. New link target or source should be the domain model element associated with this node.
protected Command getReorientRelationshipCommand( ReorientRelationshipRequest req) { switch (getVisualID(req)) { case FactLinkEditPart.VISUAL_ID: return getGEFWrapper(new FactLinkReorientCommand(req)); case FactLink2EditPart.VISUAL_ID: return getGEFWrapper(new FactLink2ReorientCommand(req)); cas...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Command getReorientReferenceRelationshipCommand(\r\n\t\t\tReorientReferenceRelationshipRequest req) {\r\n\t\tswitch (getVisualID(req)) {\r\n\t\tcase ContractRoleAIDEditPart.VISUAL_ID:\r\n\t\t\treturn getGEFWrapper(new ContractRoleAIDReorientCommand(req));\r\n\t\tcase ContractRoleBIDEditPart.VISUAL_ID:\r\...
[ "0.58884394", "0.56282854", "0.5528935", "0.5250662", "0.5199547", "0.50812286", "0.49638382", "0.49353433", "0.4896142", "0.48629707", "0.4797866", "0.47844714", "0.47742617", "0.4742168", "0.47382843", "0.4728288", "0.47221893", "0.46676996", "0.46600556", "0.46488678", "0....
0.60011107
0
Returns command to reorient EReference based link. New link target or source should be the domain model element associated with this node.
protected Command getReorientReferenceRelationshipCommand( ReorientReferenceRelationshipRequest req) { switch (getVisualID(req)) { case ContractRoleAIDEditPart.VISUAL_ID: return getGEFWrapper(new ContractRoleAIDReorientCommand(req)); case ContractRoleBIDEditPart.VISUAL_ID: return getGEFWrapper(new ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ReferenceLink createReferenceLink();", "protected Command getReorientRelationshipCommand(\r\n\t\t\tReorientRelationshipRequest req) {\r\n\t\tswitch (getVisualID(req)) {\r\n\t\tcase FactLinkEditPart.VISUAL_ID:\r\n\t\t\treturn getGEFWrapper(new FactLinkReorientCommand(req));\r\n\t\tcase FactLink2EditPart.VISUAL_ID...
[ "0.58618003", "0.5691871", "0.55159307", "0.5462043", "0.54052496", "0.5404819", "0.5386028", "0.5364511", "0.53476155", "0.53062344", "0.5231481", "0.51697534", "0.5131062", "0.5084615", "0.5074138", "0.5070193", "0.5055253", "0.5006502", "0.4992286", "0.4954186", "0.4950819...
0.64169276
0
/ JADX INFO: super call moved to the top of the method (can break code semantics)
public Base32(int i, byte[] bArr, boolean z, byte b) { super(5, 8, i, bArr == null ? 0 : bArr.length, b); if (z) { this.encodeTable = HEX_ENCODE_TABLE; this.decodeTable = HEX_DECODE_TABLE; } else { this.encodeTable = ENCODE_TABLE; this.decodeTable ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_6349() {\r\n super.method_6349();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "protected void method_3848() {\...
[ "0.74149317", "0.71197605", "0.71197605", "0.71197605", "0.71150804", "0.7021492", "0.7006038", "0.69588333", "0.6935772", "0.6829436", "0.6788324", "0.6759145", "0.6727192", "0.6727192", "0.66796297", "0.666967", "0.6636736", "0.66285443", "0.6620278", "0.6605166", "0.660340...
0.0
-1
/ access modifiers changed from: packageprivate
public void decode(byte[] bArr, int i, int i2, BaseNCodec.Context context) { byte b; int i3 = i2; BaseNCodec.Context context2 = context; if (!context2.eof) { boolean z = true; if (i3 < 0) { context2.eof = true; } int i4 = i;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
Move through the states
public void run() { for(int each=0; each<this.inputString.length(); each++) { Character currentInput = this.inputString.charAt(each); //Test input char if(!currentInput.equals('0') && !currentInput.equals('1') ) { System.out.println("Invalid input"); return; } //Make the ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void transitionStates () {\n myCurrentState = myNextState;\n myNextState = null;\n }", "@Override\n protected void incrementStates() {\n\n }", "public void move() {\n\t\tif(right) {\n\t\t\tgoRight();\n\t\t\tstate++;\n\t\t\tif(state > 5) {\n\t\t\t\tstate = 3;\n\t\t\t}\n\t\t}\n\t\telse ...
[ "0.75724906", "0.73782086", "0.7085621", "0.6847745", "0.66659355", "0.65561026", "0.6491473", "0.64417", "0.6415289", "0.6331067", "0.6255456", "0.6234929", "0.6214254", "0.61920696", "0.61703867", "0.6167499", "0.6167488", "0.6138735", "0.61246485", "0.6123778", "0.612217",...
0.0
-1
Creates new form ContractView
public ContractView() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createContract() {\n\r\n\t}", "public Contract create(){\n\t\treturn new Contract();\n\t}", "@Override\n public void Create() {\n\n initView();\n }", "public void create(Contract contract) {\n contract_dao.create(contract);\n }", "public InvoiceCreate() {\n initCom...
[ "0.63017416", "0.62020046", "0.61011565", "0.6084341", "0.5894213", "0.5841372", "0.58221096", "0.5794927", "0.57392013", "0.5711855", "0.5699035", "0.56882983", "0.56702363", "0.56627005", "0.56543535", "0.562579", "0.5607359", "0.5605992", "0.559578", "0.5594587", "0.558863...
0.7143981
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jDialog1 = new javax.swing.JDialog(); jPanel1 = new javax.swing.JPanel(); jLabel4 = new javax.swing.JLabel(); jComboOriginCity...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7319396", "0.7290941", "0.7290941", "0.7290941", "0.7285927", "0.7248002", "0.72139066", "0.72086275", "0.71958303", "0.718997", "0.7184516", "0.7159095", "0.71481097", "0.709288", "0.70806605", "0.70578784", "0.6986726", "0.6977067", "0.6955257", "0.6954392", "0.6945326",...
0.0
-1
End of variables declaration//GENEND:variables
public void disableNextButton(boolean disable) { this.jNextButton.setEnabled(disable); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
Loads the image for the resource
public void loadImg(String pic) { try { img = ImageIO.read( getClass().getResourceAsStream( pic + ".png" ) ); } catch (IOException e) { e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadResource() {\n\t\ttry {\n\t\t\ttarmacTexture = scaleResourceImagePaint(\"/textures/tarmac2.jpg\", 300, 300);\n\t\t\tgrassTexture = scaleResourceImagePaint(\"/textures/grass.jpg\", 300, 300);\n\t\t\tstopwayTexture = scaleResourceImagePaint(\"/textures/stopway.jpg\", 300, 300);\n\t\t} catch (IOExcep...
[ "0.7534034", "0.744833", "0.7082534", "0.7061615", "0.6961501", "0.6895301", "0.68604857", "0.68518645", "0.68239003", "0.6770411", "0.67388046", "0.6711957", "0.66901815", "0.66865885", "0.66653055", "0.66317457", "0.66298836", "0.6617795", "0.65945816", "0.6588992", "0.6530...
0.61804694
38
Scales the image to the given size
public static BufferedImage scale(BufferedImage src, int w, int h) { BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); int x, y; int ww = src.getWidth(); int hh = src.getHeight(); int[] ys = new int[h]; for (y = 0; y < h; y++) ys[y] = y * hh ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract BufferedImage scale(Dimension destinationSize);", "private void ScaleImage(){\n\t\tBufferedImage resizedImage = new BufferedImage(this.getWidth(), this.getHeight(), BufferedImage.TYPE_INT_RGB);\n\t\tGraphics2D g2 = resizedImage.createGraphics();\n\t\tg2.setRenderingHint(RenderingHints.KEY_INTERPO...
[ "0.78501046", "0.7357414", "0.7051176", "0.6997221", "0.69420844", "0.69277596", "0.6865321", "0.6827133", "0.66988885", "0.65833676", "0.65770537", "0.6551826", "0.6548466", "0.6523023", "0.6516318", "0.6489689", "0.64729124", "0.6437763", "0.6430478", "0.63933855", "0.63755...
0.59628105
61
This is a callback from the PublisherLink
private void messageRecv(M msg) { if (LOG.isTraceEnabled()) { LOG.trace("messageRecv = {}", msg); } else if (LOG.isDebugEnabled()) { LOG.debug("messageRecv = {}", msg.getClass().getName()); } synchronized (_subscribers) { for (SubscriberImpl subscribe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void publishStart(Publisher publisher) {\n }", "public void publishOnFacebook()\n {\n\n }", "void publishMe();", "@Override\n public void onSuccess(DocumentReference documentReference) {\n\n\n\n }", "private void subscribeShortLink() {\n ...
[ "0.61287117", "0.60611457", "0.59523326", "0.57896715", "0.57115245", "0.5650275", "0.5584069", "0.55818176", "0.5534307", "0.5487259", "0.5485604", "0.54414195", "0.54178303", "0.54110765", "0.54103327", "0.5410268", "0.5410013", "0.54072016", "0.54038876", "0.5389947", "0.5...
0.0
-1
Constructor with reference to game board
public ComputerPlayer(Board board) { this.board = board; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private GameBoard() {}", "public Game() {\n board = new FourBoard();\n }", "public GameBoard() {\r\n boards = new ArrayList<GameBoard>();\r\n }", "public AIPlayer(Board board) {\n cells = board.squares;\n }", "Board() {\n this(INITIAL_PIECES, BLACK);\n _countBlac...
[ "0.78297293", "0.7798302", "0.7793751", "0.7776626", "0.77089703", "0.7681368", "0.76437473", "0.7575837", "0.7527504", "0.7514282", "0.7506632", "0.7489906", "0.7480639", "0.7472544", "0.7469792", "0.74689925", "0.7435688", "0.7393836", "0.7387196", "0.7381956", "0.73662543"...
0.7314828
24
YOUR CODE GOES HERE: ADD A SETTTER METHOD FOR THE INSTANCE VARIABLE THAT STORES THE GAME SYMBOL ASSIGNED TO THE COMPUTER PLAYER
public void setCPUmark(String CPUmark) { CPUmark = "o"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Symbol getCurrentPlayerSymbol();", "public char getSymbol() {\n switch (player) {\n case 0:\n return 'O';\n case 1:\n return 'X';\n default:\n return '+';\n }\n }", "Symbol getActiveCard();", "private String...
[ "0.7185782", "0.62769693", "0.6108023", "0.6082387", "0.5962543", "0.592405", "0.58966875", "0.58842164", "0.5883007", "0.5841267", "0.5836957", "0.5833296", "0.5829245", "0.58238673", "0.5822721", "0.58187443", "0.57961553", "0.57607543", "0.5756517", "0.5736977", "0.5691644...
0.0
-1
Search for the first empty cell, according to the preferences
public boolean placeComputerMark(int row, int col) { if((row >= 0) && (row < 3)) { if((col >= 0) && (col < 4)) { if(board[row][col] == '-') { board[row][col] = CPUmark; return true; } } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract AwtCell getEmpty();", "private Cell searchEmptySurrounding(){\n List <Cell> blocks = getSurroundingCells(currentWorm.position.x, currentWorm.position.y);\n for (Cell block : blocks){\n if(!isCellOccupied(block)) return block;\n }\n return null;\n }", "p...
[ "0.6358531", "0.63079935", "0.6245879", "0.61420774", "0.6110192", "0.59919", "0.59622175", "0.59205514", "0.59182537", "0.58314", "0.5826492", "0.57405245", "0.5643728", "0.5628146", "0.5563577", "0.55262893", "0.5507919", "0.550761", "0.54688185", "0.54542863", "0.54376805"...
0.0
-1