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
Called after 'edge' is removed.
public boolean removeEdge(Edge edge) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean deleteEdge(Edge edge) {\n return false;\n }", "void remove(Edge edge);", "private void removeEdge(Edge edge) {\n\t\tshapes.remove(edge);\n\t\tshapes.remove(edge.getEdgeLabel());\n\t\tremove(edge.getEdgeLabel());\n\t}", "@Override\n public void remove() {\n de...
[ "0.7541656", "0.7477761", "0.7463888", "0.7313644", "0.7115675", "0.70503694", "0.7049732", "0.68884325", "0.686001", "0.6854631", "0.68474966", "0.68191385", "0.6808725", "0.6772408", "0.66863674", "0.66656655", "0.6655334", "0.6650045", "0.66316533", "0.6630756", "0.6608881...
0.6896759
7
Called after 'node' is removed.
public boolean removeNode(DAGNode node) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onRemoveNode(Node node) {\n\t}", "@Override\n\tpublic void nodeRemoved(TGGraph graph, TGNode node) {\n gLogger.log(TGLogger.TGLevel.Debug, \"Node is removed\");\n removedList.put(((AbstractEntity) node).getVirtualId(), node);\n\t}", "public void nodeRemoved(TreeNode removedNode) {\n\t...
[ "0.8380434", "0.7497973", "0.74409837", "0.72653437", "0.72209394", "0.7216923", "0.72055376", "0.7130973", "0.7115186", "0.69794387", "0.69688344", "0.69555", "0.69500303", "0.6884809", "0.68805283", "0.6865087", "0.6837426", "0.6834644", "0.6827363", "0.68245834", "0.679428...
0.66222227
34
Removes a property from a DAG Object.
public void removeProperty(DAGObject dagObj, String key) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void graphRemoveProperty( int propertyKey );", "public void removeProperty(TLProperty element);", "void relRemoveProperty( long relId, int propertyKey );", "void nodeRemoveProperty( long nodeId, int propertyKey );", "public Object removeProperty( String key );", "Property removeValue(PropertyValue<?, ?> ...
[ "0.79884213", "0.7397385", "0.7031784", "0.703009", "0.69986427", "0.6846835", "0.6580054", "0.6576801", "0.6521362", "0.6421605", "0.6415319", "0.63890773", "0.634753", "0.62357104", "0.6167117", "0.616371", "0.60452145", "0.60352474", "0.60314316", "0.6025817", "0.6025817",...
0.8135047
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.withwradals_id
public Long getWithwradalsId() { return withwradalsId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setWithwradalsId(Long withwradalsId) {\r\n this.withwradalsId = withwradalsId;\r\n }", "@Id\n @WhereSQL(sql = \"id=:WxPayconfig_id\")\n public java.lang.String getId() {\n return this.id;\n }", "public String getOwningInstitutionHoldingsId() {\n return owningInstitu...
[ "0.67869014", "0.5573697", "0.53317595", "0.5065597", "0.5052507", "0.50268227", "0.5016196", "0.49721184", "0.49616635", "0.48888913", "0.48681915", "0.48650676", "0.48440322", "0.4805809", "0.48046792", "0.48012573", "0.4755622", "0.4753598", "0.47365266", "0.47220087", "0....
0.74511886
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.withwradals_id
public void setWithwradalsId(Long withwradalsId) { this.withwradalsId = withwradalsId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getWithwradalsId() {\r\n return withwradalsId;\r\n }", "public void setWithdrawFee(BigDecimal withdrawFee) {\n this.withdrawFee = withdrawFee;\n }", "public void setWithdrawMoney(BigDecimal withdrawMoney) {\n this.withdrawMoney = withdrawMoney;\n }", "@Id\n @Where...
[ "0.655405", "0.5669407", "0.56435573", "0.48940697", "0.48577836", "0.48493528", "0.4781099", "0.47582993", "0.47547805", "0.4729848", "0.46966767", "0.46722302", "0.46534055", "0.46301642", "0.46185488", "0.45935327", "0.4591399", "0.45899534", "0.45774004", "0.45702574", "0...
0.75555587
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.money
public BigDecimal getMoney() { return money; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BigDecimal getWithdrawMoney() {\n return withdrawMoney;\n }", "public int getMoney() {\n return this.budget;\n }", "public BigDecimal getMoney() {\n return money;\n }", "public BigDecimal getMoney() {\n return money;\n }", "public BigDecimal getMoney() {\n ...
[ "0.69438535", "0.6345313", "0.63341296", "0.63341296", "0.63341296", "0.6318355", "0.629791", "0.62787724", "0.627797", "0.6248535", "0.62445766", "0.62445766", "0.62282085", "0.6195212", "0.6154495", "0.614634", "0.6128207", "0.61027104", "0.60929394", "0.60864323", "0.60728...
0.63579696
2
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.money
public void setMoney(BigDecimal money) { this.money = money; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setWithdrawMoney(BigDecimal withdrawMoney) {\n this.withdrawMoney = withdrawMoney;\n }", "public void setMoney(BigDecimal money) {\n this.money = money;\n }", "public void setMoney(BigDecimal money) {\n this.money = money;\n }", "public void setMoney(BigDecimal money...
[ "0.72881866", "0.6471964", "0.6471964", "0.6471964", "0.6287902", "0.60866004", "0.60715646", "0.6066636", "0.6059026", "0.6052008", "0.6038336", "0.6038171", "0.6035856", "0.60350424", "0.6018743", "0.5955194", "0.5909728", "0.5896378", "0.5852069", "0.5846888", "0.5835851",...
0.651528
2
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.ctime
public Date getCtime() { return ctime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Column(name = \"D_CTIME\", nullable = false)\n public Date getCtime() {\n return this.ctime;\n }", "public long getTimeBoltBBoltC() {\n return timeBoltBBoltC_;\n }", "public long getTimeBoltBBoltC() {\n return timeBoltBBoltC_;\n }", "long getTimeBoltBBoltC();", "public lon...
[ "0.58388805", "0.56710577", "0.5648041", "0.5512501", "0.5407765", "0.53827477", "0.5380985", "0.5319154", "0.5304321", "0.52940655", "0.52827746", "0.5239423", "0.5227928", "0.5227928", "0.52184045", "0.5167513", "0.51673055", "0.51653296", "0.5113516", "0.5103112", "0.50926...
0.528441
10
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.ctime
public void setCtime(Date ctime) { this.ctime = ctime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDateExpiry( Timestamp tDateExpiry )\r\n {\r\n _tDateExpiry = tDateExpiry;\r\n }", "public void setDateAcct (Timestamp DateAcct);", "public void setDateAcct (Timestamp DateAcct);", "public void setCtime(DateTime ctime) {\r\n this.ctime = ctime;\r\n }", "public void setC...
[ "0.53635263", "0.5261477", "0.5261477", "0.5189853", "0.5096902", "0.50749755", "0.506773", "0.5045063", "0.49300605", "0.48473263", "0.48374826", "0.48101088", "0.48101088", "0.47882047", "0.4785222", "0.4779138", "0.47763348", "0.47734952", "0.4760418", "0.47378996", "0.471...
0.5125313
4
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.account_name
public String getAccountName() { return accountName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getAccount();", "java.lang.String getBankName();", "public String getAccountName() {\n return this.accountName;\n }", "public String getAccountName() {\n return accountName;\n }", "public String getAccountName() {\n return accountName;\n }", "public String g...
[ "0.63400954", "0.63305753", "0.63232386", "0.6247122", "0.6247122", "0.6247122", "0.61048925", "0.60874695", "0.60708827", "0.6033869", "0.6019012", "0.5997651", "0.59554374", "0.5902651", "0.58795685", "0.5813933", "0.57935107", "0.5789732", "0.5773927", "0.5773927", "0.5773...
0.62858945
3
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.account_name
public void setAccountName(String accountName) { this.accountName = accountName == null ? null : accountName.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAccountName(String accountName){\n if(checkAccountClosed()){\n System.out.println(\"This transaction could not be processed. Please check your account status.\");\n }\n this.accountName = accountName;\n }", "public void setJP_BankAccount_Value (String JP_BankAcco...
[ "0.6463985", "0.6024062", "0.59463423", "0.59189814", "0.5900035", "0.5900035", "0.5843011", "0.58224034", "0.581119", "0.5727933", "0.56996816", "0.56978476", "0.56336814", "0.5517459", "0.5506607", "0.5504041", "0.549735", "0.5487912", "0.548703", "0.5447969", "0.54231316",...
0.5978455
2
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.bank_code
public String getBankCode() { return bankCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getBankNo();", "@org.jetbrains.annotations.Nullable()\n @kotlin.jvm.JvmStatic()\n public final com.stripe.android.view.NetbankingBank get(@org.jetbrains.annotations.Nullable()\n java.lang.String bankCode) {\n return null;\n }", "@Override\n\tpublic String...
[ "0.66602075", "0.66440177", "0.6559766", "0.64869213", "0.6478958", "0.63510334", "0.6289993", "0.6280736", "0.6237391", "0.6237391", "0.6230317", "0.6217702", "0.61769575", "0.61731243", "0.6167156", "0.61615235", "0.61424047", "0.6130129", "0.61164767", "0.6047125", "0.6035...
0.7403931
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.bank_code
public void setBankCode(String bankCode) { this.bankCode = bankCode == null ? null : bankCode.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBankCode() {\r\n return bankCode;\r\n }", "public void setJP_BankAccount_Value (String JP_BankAccount_Value);", "public void setBankID(String value) {\n this.bankID = value;\n }", "public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);", "public void setJP...
[ "0.68748224", "0.6533338", "0.65207714", "0.63839877", "0.63766503", "0.62999904", "0.61928695", "0.60676306", "0.6047305", "0.6017236", "0.5982502", "0.5860722", "0.58509874", "0.5847461", "0.58301556", "0.58301556", "0.58301556", "0.58301556", "0.58301556", "0.58301556", "0...
0.6784347
1
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.bank
public String getBank() { return bank; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBank() {\n\t\tthis.setBank(this.bank);\n\t\treturn this.bank;\n\t}", "public String getBank() {\n return bank;\n }", "public String getBankID() {\n return bankID;\n }", "public double getAmountBank() {\n return this.amountBank;\n }", "@Nullable\n public S...
[ "0.68450814", "0.68092686", "0.67382777", "0.67369187", "0.66858083", "0.6684648", "0.66448545", "0.6636786", "0.66088873", "0.66077876", "0.65636235", "0.6549399", "0.6478084", "0.6477815", "0.6416324", "0.6416324", "0.63820183", "0.63528347", "0.6349741", "0.6338986", "0.63...
0.68383306
2
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.bank
public void setBank(String bank) { this.bank = bank == null ? null : bank.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBankID(String value) {\n this.bankID = value;\n }", "public void setBank(Bank bank) {\r\n this.bank = bank;\r\n }", "public void setAmountBank(double amountBank) {\n this.amountBank = amountBank;\n }", "public void setBank(String bank) {\n\t\tif (bank == null)\n...
[ "0.68773544", "0.687029", "0.67701715", "0.66299397", "0.6581538", "0.65699285", "0.6509878", "0.6494771", "0.64773446", "0.64134675", "0.6395089", "0.63672996", "0.63465405", "0.6327002", "0.62337613", "0.62337613", "0.6233418", "0.62263125", "0.6217063", "0.62126046", "0.62...
0.6540054
7
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.ID_card
public String getIdCard() { return idCard; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getCardId() {\r\n return cardId;\r\n }", "public int getCardID() {\n return cardID;\n }", "public int getC_BankAccount_ID();", "public int getCardBillDepositId(UUID cardId, YearMonth billDate) throws BankException {\n logger.warning(\"This account does not support this ...
[ "0.6480183", "0.6393712", "0.6347216", "0.6273617", "0.60419875", "0.60030586", "0.5996688", "0.5994546", "0.5884107", "0.58811605", "0.5869429", "0.58640033", "0.5842249", "0.58285046", "0.5820402", "0.5816002", "0.58049846", "0.5801113", "0.5801113", "0.5801113", "0.5716855...
0.6018732
5
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.ID_card
public void setIdCard(String idCard) { this.idCard = idCard == null ? null : idCard.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdCardNo(String idCardNo) {\n this.idCardNo = idCardNo;\n }", "public void setIdCard(String idCard) {\n\t\tthis.idCard = idCard;\n\t}", "public void setIdcard(String idcard) {\r\n this.idcard = idcard;\r\n }", "public void setC_BankAccount_ID (int C_BankAccount_ID);", "pu...
[ "0.6364726", "0.63611823", "0.6280236", "0.6232062", "0.6099741", "0.6083053", "0.6068195", "0.6032412", "0.5929376", "0.5927359", "0.58980244", "0.58240694", "0.57141525", "0.56977314", "0.56977314", "0.56835705", "0.5672715", "0.5653954", "0.56343174", "0.56317717", "0.5596...
0.59064895
10
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.user_id
public Long getUserId() { return userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getUser_id() {\n\t\treturn user_id;\n\t}", "public BigDecimal getUserId() {\r\n return userId;\r\n }", "public Integer getIdUser() {\r\n\t\treturn idUser;\r\n\t}", "public int getIdUser() {\n return idUser;\n }", "public int getIdUser() {\n return idUser;\n }", ...
[ "0.6486463", "0.63380873", "0.61889076", "0.60950595", "0.60950595", "0.60672706", "0.60152787", "0.60152787", "0.6012704", "0.6012704", "0.6012704", "0.6001707", "0.5997912", "0.59923494", "0.5982564", "0.59806967", "0.59806967", "0.59806967", "0.59806967", "0.59806967", "0....
0.58044064
75
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.user_id
public void setUserId(Long userId) { this.userId = userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setId_user(int id_user) {\r\n this.id_user = id_user;\r\n }", "public void setId_user(int id_user) {\n this.id_user = id_user;\n }", "public void setIdUser(int value) {\n this.idUser = value;\n }", "public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;...
[ "0.6247511", "0.6230651", "0.6120955", "0.6108266", "0.60181814", "0.5981025", "0.59795046", "0.5951609", "0.5796955", "0.57759905", "0.5653407", "0.5653407", "0.5653407", "0.5653407", "0.56103987", "0.5600388", "0.55999875", "0.5579653", "0.554638", "0.55225646", "0.5500417"...
0.5241965
94
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.username
public String getUsername() { return username; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUsername() throws SQLException {\n\t\tloadFromDB();\n\t\treturn rev_user_text;\n\t}", "public String getuserName() {\r\n return (String)getNamedWhereClauseParam(\"userName\");\r\n }", "public String returnUserName() {\n\t\treturn this.registration_username.getAttribute(\"value\");\r\...
[ "0.641191", "0.5831239", "0.5818438", "0.5777314", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.5758146", "0.57559264", "0.57479274", "0.5715126", "0.57024467", "0.5692642", "0.5692642", "0.5692642", "0.56796485", ...
0.5450168
98
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.username
public void setUsername(String username) { this.username = username == null ? null : username.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setApproverUserName(String username, String transactionId) {\n\t\tint id=Integer.parseInt(transactionId);\n\t\tString sql=\"Update transaction set approverUserName=? where id=?\";\n\t\tint i=jdbcTemplate.update(sql, new Object[] {username,id});\n\n\t\t\n\t}", "@Override\n\t@Transactional\n\tpublic vo...
[ "0.62652844", "0.5882302", "0.5688626", "0.5662406", "0.5608727", "0.5560779", "0.5558974", "0.54690903", "0.54561406", "0.5385211", "0.5364282", "0.5352021", "0.5343373", "0.5340654", "0.53251755", "0.5313856", "0.53053504", "0.52933794", "0.52909", "0.5281249", "0.52699727"...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.status
public Byte getStatus() { return status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Enumerated(EnumType.STRING)\n@Column(name = \"STATUS\", length = EntityWithId.COLUMNLENGTH)\n \n @NotNull(message = \"{NotNull.gov.nih.nci.calims2.domain.administration.customerservice.BillingInformation.status}\")\n public gov.nih.nci.calims2.domain.administration.customerservice.enumeration.BillingInformatio...
[ "0.60801333", "0.6055673", "0.60457176", "0.6037363", "0.60169125", "0.59952074", "0.5956087", "0.59318495", "0.59318495", "0.58706397", "0.58564276", "0.58208257", "0.5816172", "0.5816056", "0.5803182", "0.57284516", "0.56383646", "0.56383646", "0.56383646", "0.56383646", "0...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.status
public void setStatus(Byte status) { this.status = status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setBidded(){\n this.status = \"Bidded\";\n }", "public int updateFundingStatusByFundingNo(String funding_status, int funding_no) throws Exception;", "public void setBanStatus(String BanStatus) {\n this.BanStatus = BanStatus;\n }", "public void setStatus(gov.nih.nci.calims2.do...
[ "0.6082581", "0.57650757", "0.5673585", "0.5659862", "0.56073314", "0.55022484", "0.5462529", "0.54613125", "0.54425", "0.54314345", "0.5394282", "0.53779525", "0.5333529", "0.53210723", "0.53060937", "0.5300804", "0.5298328", "0.5287677", "0.5287677", "0.5287677", "0.5278215...
0.5149932
59
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.auditing_man
public String getAuditingMan() { return auditingMan; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getAuditingManId() {\r\n return auditingManId;\r\n }", "public void setAuditingMan(String auditingMan) {\r\n this.auditingMan = auditingMan == null ? null : auditingMan.trim();\r\n }", "public void setAuditingManId(Long auditingManId) {\r\n this.auditingManId = auditingMa...
[ "0.59877145", "0.55100626", "0.52961034", "0.48841828", "0.48402783", "0.48314694", "0.48169237", "0.48103765", "0.4767631", "0.47528282", "0.47291043", "0.47207198", "0.47096035", "0.4680895", "0.46803647", "0.46540233", "0.4639883", "0.46053717", "0.4589782", "0.45765567", ...
0.6332289
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.auditing_man
public void setAuditingMan(String auditingMan) { this.auditingMan = auditingMan == null ? null : auditingMan.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAuditingManId(Long auditingManId) {\r\n this.auditingManId = auditingManId;\r\n }", "public String getAuditingMan() {\r\n return auditingMan;\r\n }", "public Long getAuditingManId() {\r\n return auditingManId;\r\n }", "void setManageTransactionBalance(String balan...
[ "0.60505134", "0.5631588", "0.55411285", "0.4919523", "0.4809466", "0.48051658", "0.46760333", "0.46739852", "0.4659355", "0.46156877", "0.46066806", "0.4582691", "0.44924793", "0.44898328", "0.44797936", "0.445912", "0.44579697", "0.44201073", "0.44101608", "0.44059944", "0....
0.6347318
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.auditing_man_id
public Long getAuditingManId() { return auditingManId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAuditingManId(Long auditingManId) {\r\n this.auditingManId = auditingManId;\r\n }", "public String getSalesManId() {\n return salesManId;\n }", "public String getAuditingMan() {\r\n return auditingMan;\r\n }", "public Integer getId() {\n\t\treturn loanId; //chang...
[ "0.5929109", "0.5513925", "0.549127", "0.54779303", "0.54020387", "0.53538495", "0.5100494", "0.5094194", "0.5060214", "0.5029305", "0.5026718", "0.4954787", "0.49454153", "0.4940526", "0.49323383", "0.492343", "0.4865866", "0.48599872", "0.48599872", "0.48577017", "0.4821908...
0.6794033
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.auditing_man_id
public void setAuditingManId(Long auditingManId) { this.auditingManId = auditingManId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getAuditingManId() {\r\n return auditingManId;\r\n }", "public void setAuditingMan(String auditingMan) {\r\n this.auditingMan = auditingMan == null ? null : auditingMan.trim();\r\n }", "public String getSalesManId() {\n return salesManId;\n }", "public void setSalesM...
[ "0.62040454", "0.5576524", "0.51957834", "0.5149431", "0.4885793", "0.48257276", "0.48066428", "0.478861", "0.47265652", "0.47180846", "0.47068673", "0.46748415", "0.46284482", "0.46052924", "0.45905977", "0.45877576", "0.4581684", "0.45799807", "0.45710728", "0.45676586", "0...
0.66693383
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.auditing_time
public Date getAuditingTime() { return auditingTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAuditingTime(Date auditingTime) {\r\n this.auditingTime = auditingTime;\r\n }", "DateTime getTransactionTime() {\n assertInTransaction();\n return TRANSACTION_INFO.get().transactionTime;\n }", "public Timestamp getAdvisorTimestamp( String advisorId){\n\t\tBasicConfigurator.confi...
[ "0.5519082", "0.5513908", "0.54501325", "0.54476744", "0.5374202", "0.527533", "0.52371526", "0.52208996", "0.52107376", "0.5190142", "0.5140041", "0.51293355", "0.5129046", "0.5124699", "0.5121348", "0.512056", "0.51036483", "0.51017743", "0.50853765", "0.50095284", "0.49961...
0.6760659
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.auditing_time
public void setAuditingTime(Date auditingTime) { this.auditingTime = auditingTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getAuditingTime() {\r\n return auditingTime;\r\n }", "public void setTime(){\n \tDatabaseManager.getDBM().setLockedTime(cal); \n }", "void setAuditingCompany(ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData auditingCompany);", "public void setDateExpiry( Times...
[ "0.60762477", "0.51511294", "0.5125683", "0.50514054", "0.50252914", "0.50252914", "0.5014143", "0.49966076", "0.49753755", "0.4945743", "0.48286533", "0.48075774", "0.4789574", "0.47787195", "0.47787195", "0.47762734", "0.47430915", "0.47109994", "0.46947002", "0.46926203", ...
0.68334454
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.remark
public String getRemark() { return remark; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getMoneyRemark() {\n return moneyRemark;\n }", "public String getRemark() {\r\n return remark;\r\n }", "public java.lang.String getRemark () {\n\t\treturn _remark;\n\t}", "public String getBusinessRemark() {\n return businessRemark;\n }", "public String getRemark() {\n...
[ "0.62823254", "0.60127634", "0.5967437", "0.5934801", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", "0.5927489", ...
0.5966862
5
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.remark
public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRemark(String remark)\n/* */ {\n/* 267 */ this.remark = remark;\n/* */ }", "public void setRemark(String remark) {\r\n this.remark = remark;\r\n }", "public void setRemark(String remark) {\r\n this.remark = remark;\r\n }", "public void setRemark(String remark) {\r...
[ "0.5976915", "0.58341503", "0.57841927", "0.57841927", "0.5711355", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.57055986", "0.56580937", "0.5648251", "0.559565", "0.556241", "0.551242", "0.5510071", "0.547...
0.5479866
20
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.wallet_id
public Long getWalletId() { return walletId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UUID getWalletId();", "public io.lightcone.data.types.AccountID getWalletId() {\n if (walletIdBuilder_ == null) {\n return walletId_ == null ? io.lightcone.data.types.AccountID.getDefaultInstance() : walletId_;\n } else {\n return walletIdBuilder_.getMessage();\n }\n }", ...
[ "0.65015364", "0.64009833", "0.62213117", "0.6193907", "0.6144871", "0.61263", "0.60951126", "0.599156", "0.59129226", "0.5787523", "0.5732374", "0.56803614", "0.5655111", "0.5554704", "0.55515516", "0.55057645", "0.550073", "0.5500706", "0.54806674", "0.54806674", "0.544485"...
0.6764502
0
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.wallet_id
public void setWalletId(Long walletId) { this.walletId = walletId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getWalletId() {\r\n return walletId;\r\n }", "public Builder setWalletId(io.lightcone.data.types.AccountID value) {\n if (walletIdBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n walletId_ = value;\n onChanged();\...
[ "0.59644043", "0.5828143", "0.57925415", "0.5558278", "0.55007964", "0.5463379", "0.5442535", "0.5432072", "0.539317", "0.5382979", "0.5373386", "0.53683674", "0.530935", "0.53074807", "0.52772033", "0.52473617", "0.5245046", "0.52139664", "0.5210187", "0.5198171", "0.517954"...
0.627166
0
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.card_id
public Long getCardId() { return cardId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCardBillDepositId(UUID cardId, YearMonth billDate) throws BankException {\n logger.warning(\"This account does not support this feature\");\n throw new BankException(\"This account does not support this feature\");\n }", "public int getC_BankAccount_ID();", "public int getCardBil...
[ "0.62971747", "0.60965425", "0.605432", "0.5906197", "0.5883353", "0.58317125", "0.5694425", "0.5689504", "0.5686216", "0.56625587", "0.56605595", "0.5650239", "0.56455976", "0.5623735", "0.5575273", "0.55743915", "0.553867", "0.551024", "0.5506485", "0.54991716", "0.5496926"...
0.62628776
1
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.card_id
public void setCardId(Long cardId) { this.cardId = cardId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdCardNo(String idCardNo) {\n this.idCardNo = idCardNo;\n }", "public void setIdCard(String idCard) {\n\t\tthis.idCard = idCard;\n\t}", "public void setC_BankAccount_ID (int C_BankAccount_ID);", "public void setIdcard(String idcard) {\r\n this.idcard = idcard;\r\n }", "pu...
[ "0.606705", "0.598089", "0.5976807", "0.5941095", "0.5836175", "0.58085585", "0.57678425", "0.57237804", "0.56800485", "0.5679848", "0.5638326", "0.55659455", "0.5559607", "0.5549407", "0.54942167", "0.54402083", "0.5418513", "0.5398619", "0.5398619", "0.53804195", "0.5359005...
0.5945224
3
This method was generated by MyBatis Generator. This method returns the value of the database column bjwg_withdrawals.card_type
public Byte getCardType() { return cardType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBankAccountType();", "public String getCardType() {\n return cardType;\n }", "public String getCardType()\n\t{\n\t\tif(response.containsKey(\"CARD_TYPE\")) {\n\t\t\treturn response.get(\"CARD_TYPE\");\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}", "public java.lang.String getCardT...
[ "0.66198474", "0.64028716", "0.6395641", "0.63064426", "0.6295419", "0.6229348", "0.61681235", "0.61124766", "0.60316324", "0.5911038", "0.5789445", "0.5758907", "0.5746893", "0.56526536", "0.56314796", "0.5594916", "0.55867684", "0.5559391", "0.5546373", "0.55399513", "0.553...
0.6367167
3
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_withdrawals.card_type
public void setCardType(Byte cardType) { this.cardType = cardType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBankAccountType (String BankAccountType);", "public void setCreditCardType (String CreditCardType);", "public void setCardtype(Integer cardtype) {\n this.cardtype = cardtype;\n }", "public void setCardType(java.lang.String cardType) {\r\n this.cardType = cardType;\r\n }", ...
[ "0.6578773", "0.6318955", "0.6284853", "0.62261003", "0.6211175", "0.6110718", "0.5957988", "0.5871575", "0.57146597", "0.5672966", "0.5632631", "0.5626616", "0.5621297", "0.5573208", "0.5529198", "0.54981095", "0.54395294", "0.5393411", "0.53694063", "0.5363747", "0.53609115...
0.64765424
1
construct an empty deque
public Deque() { size = 0; first = null; last = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Deque() {}", "public Deque() {\n resetDeque();\n }", "public Deque() {\n first = null;\n last = null;\n len = 0;\n }", "public ArrayDeque() {\n myQ = (T[]) new Object[IDeque.MAX_LENGTH];\n myLength = 0;\n }", "public Deque() {\n first = null;\n ...
[ "0.76667625", "0.7573738", "0.7542433", "0.74479204", "0.74461347", "0.744521", "0.7432987", "0.74019843", "0.7381615", "0.7371903", "0.736806", "0.7356306", "0.73232234", "0.7276065", "0.7262491", "0.7168991", "0.7168991", "0.70985764", "0.70910513", "0.70799613", "0.7061786...
0.7598663
1
is the deque empty?
public boolean isEmpty() { return (first == null || last == null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEmpty() { return (dequeSize == 0); }", "public boolean isEmpty()\n\t{ \n\t\treturn (front==-1);\n\t}", "boolean isEmpty()\n\t{\n\t\treturn front==-1;\n\t}", "boolean isEmpty() {\n return queue.isEmpty();\n }", "public boolean isEmpty() \n {\n\treturn queue.size() == 0;\n }", "b...
[ "0.86400646", "0.7800625", "0.7682804", "0.76651835", "0.76222736", "0.7608162", "0.7595055", "0.7572813", "0.75324225", "0.7528037", "0.75213253", "0.75065756", "0.75065756", "0.7497441", "0.7493133", "0.7448971", "0.74330163", "0.74330163", "0.7432061", "0.7426376", "0.7415...
0.0
-1
return the number of items on the deque
public int size() { return size; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size() { return dequeSize; }", "public int size() {\n\t\t//Because we're the only consumer, we know nothing will be removed while\n\t\t//we're computing the size, so we know there are at least (rear - front)\n\t\t//elements already added.\n\t\treturn (int)(rear.get() - front.get());\n\t}", "public i...
[ "0.7744248", "0.7660284", "0.7549973", "0.7480438", "0.7400977", "0.7380982", "0.7325825", "0.7317728", "0.7316973", "0.7272361", "0.7254938", "0.7251049", "0.72342014", "0.7225008", "0.72034544", "0.7193932", "0.7161825", "0.715709", "0.71547633", "0.71547633", "0.7134782", ...
0.0
-1
add the item to the front
public void addFirst(Item item) { if (item != null) { if (size == 0) { // initiation for the first adding first = new Node(); last = new Node(); first.item = item; first.front = null; first.back = null; last = first; } else { // normal front adding Node oldfirst = first; first = new Node(); first.front = null; first.item = item; first.back = oldfirst; oldfirst.front = first; } size++; } else throw new IllegalArgumentException("?"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFront(E item) {\r\n\t\tNode<E> node = new Node<E>(item, first);\r\n\t\tif(isEmpty())\r\n\t\t\tfirst = last = node;//it would be the first node so it would be first and last\r\n\t\telse {\r\n\t\t\tfirst = node;//creates a new node and puts it in the 1st position\r\n\t\t}\r\n\t}", "public void pushF...
[ "0.7545115", "0.734564", "0.716254", "0.71477896", "0.7058661", "0.6929179", "0.6906867", "0.6861979", "0.6817409", "0.6804744", "0.6803967", "0.67784566", "0.67276895", "0.6723167", "0.67010933", "0.66642934", "0.6660615", "0.66572195", "0.66299736", "0.6624024", "0.66212845...
0.66882455
15
add the item to the back
public void addLast(Item item) { // initiation if (item != null) { if (size == 0) { first = new Node(); last = new Node(); first.item = item; first.front = null; first.back = null; last = first; } else { Node oldlast = last; last = new Node(); last.back = null; last.item = item; last.front = oldlast; oldlast.back = last; } size++; } else throw new IllegalArgumentException("?"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pushBack (O o)\r\n {\r\n //create new VectorItem\r\n VectorItem<O> vi = new VectorItem<O> (o,last, null);\r\n if (isEmpty()) \r\n {\r\n last = vi;\r\n first = vi;\r\n }\r\n else \r\n {\r\n last.setNext(vi);\r\n ...
[ "0.6808673", "0.67139083", "0.6646266", "0.6575679", "0.65149784", "0.6497531", "0.6479731", "0.6468467", "0.64445233", "0.64111775", "0.6396748", "0.6356855", "0.62956", "0.6277961", "0.6238132", "0.6230934", "0.62210673", "0.6182991", "0.6141744", "0.61137706", "0.60972977"...
0.5718084
64
remove and return the item from the front
public Item removeFirst() { if (!isEmpty()) { Item item = first.item; first = first.back; size--; if (size != 0) first.front = null; return item; } else throw new NoSuchElementException("?"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public L removeFromFront(){\n\t\tif(isEmpty())//throw exception if List is empty\n\t\tthrow new IllegalStateException(\"List \" + name + \" is empty\");\n\n\t\tL removedItem = (L) firstNode.data; //retrieve data being removed\n\n\t\t//update references firstNode and lastNode\n\t\tif(firstNode == lastNode)\n\t\tfir...
[ "0.7883357", "0.7865078", "0.7686264", "0.7592321", "0.75910217", "0.75425607", "0.7415091", "0.73397964", "0.7328858", "0.7303898", "0.730209", "0.72899884", "0.7261162", "0.7242955", "0.7236106", "0.7184411", "0.71836567", "0.71794116", "0.7129657", "0.7084265", "0.70802754...
0.7315592
9
remove and return the item from the back
public Item removeLast() { if (!isEmpty()) { Item item = last.item; last = last.front; size--; if (size != 0) last.back = null; return item; } else throw new NoSuchElementException("?"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Item deleteBack() {\n items[size - 1] = null;\n size -= size;\n Item itemToReturn = getBack();\n \n return itemToReturn;\n }", "public L removeFromBack(){\n\t\tif (isEmpty())//throw exception if List is empty\n\t\tthrow new IllegalStateException(\"List \" + name + \" ...
[ "0.7866885", "0.75282735", "0.7326513", "0.7251105", "0.71618", "0.71175784", "0.70751595", "0.7072789", "0.70568997", "0.70024896", "0.69777507", "0.6964681", "0.6920908", "0.68886846", "0.68800455", "0.68714565", "0.6861104", "0.6840769", "0.68336236", "0.68285406", "0.6821...
0.0
-1
public constructor, returning an Iterator
public Iterator<Item> iterator() { return new ListIterator(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Iterator()\n {\n this(null, null, true);\n }", "public Iterator()\n {\n this(null, null, true);\n }", "public Iterator()\n {\n this(null, null, true);\n }", "public ab...
[ "0.7996458", "0.7996458", "0.7996458", "0.78276277", "0.7570596", "0.7553041", "0.7520195", "0.74544716", "0.7440424", "0.73879296", "0.7374471", "0.7328379", "0.73062354", "0.7296738", "0.72871464", "0.7278872", "0.72608083", "0.72411317", "0.72411317", "0.7233007", "0.72284...
0.0
-1
Returns the value of the 'Name' attribute. If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
String getName();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getName() {\n\t\treturn (String) attributes.get(\"name\");\n\t}", "public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}", "public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}", "public String getName() {\n\t\treturn (String) get_Value(\"Name...
[ "0.8553422", "0.83123064", "0.83123064", "0.83123064", "0.816431", "0.8147509", "0.79948115", "0.79948115", "0.79948115", "0.7956412", "0.79136974", "0.78368413", "0.78252697", "0.78149396", "0.78066176", "0.7782152", "0.77800816", "0.77800816", "0.77800816", "0.77800816", "0...
0.0
-1
Returns the value of the 'Tag' attribute. If the meaning of the 'Tag' attribute isn't clear, there really should be more of a description here...
String getTag();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getTag();", "java.lang.String getTag();", "public String getTag()\n\t{\n\t\treturn tag;\n\t}", "public String getTag()\n\t{\n\t\treturn tag;\n\t}", "public String getTag() {\r\n return tag;\r\n }", "public String getTag() {\n return this.tag;\n }", "public String ge...
[ "0.8263177", "0.8263177", "0.80761516", "0.80761516", "0.8055304", "0.80378675", "0.803501", "0.803501", "0.8029781", "0.80081445", "0.80080193", "0.7974509", "0.79090244", "0.7894956", "0.77322286", "0.7703423", "0.76444054", "0.7630096", "0.757903", "0.75187266", "0.7492527...
0.7833467
14
Returns the value of the 'Docker Filelocation' attribute. If the meaning of the 'Docker Filelocation' attribute isn't clear, there really should be more of a description here...
String getDockerFilelocation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getFileLoc() {\n java.lang.Object ref = fileLoc_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n ...
[ "0.630594", "0.62500083", "0.61248904", "0.60431546", "0.59828025", "0.59746104", "0.58313036", "0.5726274", "0.5717071", "0.564009", "0.5570968", "0.55073434", "0.5499911", "0.54811305", "0.54505265", "0.5434259", "0.5422261", "0.539588", "0.5380209", "0.53785497", "0.537053...
0.80067694
0
Returns the value of the 'Force RM' attribute. If the meaning of the 'Force RM' attribute isn't clear, there really should be more of a description here...
boolean isForceRM();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vector2d getRm() {\n return rm;\n }", "public Vector2d getRrm() {\n return rrm;\n }", "public double getRms() {\n return this.rms;\n }", "public double getRMIC() {\r\n return relMatchedIonCount;\r\n }", "public String getTorqueRPM() {\r\n return torqueR...
[ "0.62194467", "0.59505135", "0.58126074", "0.5799732", "0.5747911", "0.55779713", "0.5416619", "0.5407691", "0.53987193", "0.539656", "0.53855264", "0.53546685", "0.5336952", "0.53213406", "0.53064054", "0.5300997", "0.5299886", "0.52639425", "0.5253686", "0.5233457", "0.5233...
0.6770861
0
Returns the value of the 'No Cache' attribute. If the meaning of the 'No Cache' attribute isn't clear, there really should be more of a description here...
boolean isNoCache();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkNoCache() {\n\treturn getBoolean(ATTR_NOCACHE, false);\n }", "public boolean getNoCache() {\n return noCache;\n }", "public boolean isNoCache() {\n\t\treturn myNoCache;\n\t}", "public boolean getMayCache () {\n\treturn mayCache;\n }", "public void setNoCache() {\n noC...
[ "0.78684133", "0.76537746", "0.7370768", "0.70953345", "0.7072027", "0.67561364", "0.6667177", "0.66436565", "0.6484636", "0.623063", "0.6203887", "0.6148515", "0.613142", "0.6131004", "0.6102372", "0.6079982", "0.6070706", "0.6031316", "0.6026066", "0.5971402", "0.5957772", ...
0.7443529
2
Returns the value of the 'Memory' attribute. If the meaning of the 'Memory' attribute isn't clear, there really should be more of a description here...
long getMemory();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getMemory()\n\t{\n\t\treturn memorySize;\n\t}", "public Integer getMemorySize() {\n return this.memorySize;\n }", "public final byte[] getMemory() {\r\n return this.memory;\r\n }", "public Integer getMemoryMb() {\n return memoryMb;\n }", "@Override\n\tpublic String getMem...
[ "0.8019096", "0.78330535", "0.7812865", "0.7740699", "0.76789343", "0.7665636", "0.7493898", "0.73922235", "0.7328287", "0.72188944", "0.7122759", "0.7063062", "0.704697", "0.70025575", "0.69781095", "0.6944246", "0.6930068", "0.6893653", "0.67403656", "0.6708232", "0.6691715...
0.78592634
2
Returns the value of the 'Memswap' attribute. If the meaning of the 'Memswap' attribute isn't clear, there really should be more of a description here...
long getMemswap();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getMemory();", "long getMemory();", "public String getSMemName() {\n return sMemName;\n }", "public double getSwap(){\r\n \treturn this.dswap;\r\n \t}", "@Array({161}) \n\t@Field(6) \n\tpublic Pointer<Byte > Memo() {\n\t\treturn this.io.getPointerField(this, 6);\n\t}", "public l...
[ "0.5865386", "0.5865386", "0.5823144", "0.5770943", "0.5717052", "0.56229776", "0.5600177", "0.5540753", "0.54490197", "0.53871644", "0.5350601", "0.53490305", "0.5334185", "0.53163725", "0.5303665", "0.52781945", "0.5261946", "0.5258013", "0.525753", "0.52464676", "0.5236047...
0.73961884
0
Returns the value of the 'Cpusetcpus' attribute. If the meaning of the 'Cpusetcpus' attribute isn't clear, there really should be more of a description here...
String getCpusetcpus();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getCpus() {\n return cpus;\n }", "public Integer getCpus() {\n return cpus;\n }", "public Long getCpu() {\n return this.Cpu;\n }", "public CPU getCPU() {\r\n\t\treturn cpu;\r\n\t}", "@ApiModelProperty(required = true, value = \"The number (across all cores) of micro-s...
[ "0.73307407", "0.7316831", "0.7178981", "0.6846716", "0.68203366", "0.6800116", "0.6732811", "0.6722736", "0.65813136", "0.65789986", "0.6554404", "0.6530809", "0.6502295", "0.6471289", "0.6397704", "0.6395445", "0.6390824", "0.6349131", "0.6274202", "0.6255652", "0.623411", ...
0.8311162
0
Returns the value of the 'Cpushares' attribute. If the meaning of the 'Cpushares' attribute isn't clear, there really should be more of a description here...
String getCpushares();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getCPR() {\n return CPR;\n }", "public Integer getCcn()\r\n {\r\n return (Integer) ( (IntegerMetricBO) getMetrics().get( CCN ) ).getValue();\r\n }", "public java.lang.String getCoverage()\n {\n synchronized (monitor())\n {\n check_...
[ "0.5671439", "0.55006015", "0.53937346", "0.5372736", "0.5357226", "0.53061473", "0.52321553", "0.5216084", "0.5215243", "0.5161483", "0.51585644", "0.5145387", "0.51443166", "0.51360387", "0.5123014", "0.51124805", "0.5098013", "0.50762844", "0.5073841", "0.50727767", "0.506...
0.6845209
0
Returns the value of the 'Remove' attribute. If the meaning of the 'Remove' attribute isn't clear, there really should be more of a description here...
boolean isRemove();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getReasonRemove() {\r\n return reasonRemove;\r\n }", "public String remove() \n {\n //TODO\n return \"\";\n }", "public JButton getBtnRemove() {\r\n\t\treturn btnRemove;\r\n\t}", "@Override\n\tpublic void removeAttribute(String arg0) {\n\t\t\n\t}", "public abstra...
[ "0.71695", "0.6644001", "0.6611635", "0.6549437", "0.6488051", "0.6486748", "0.6466519", "0.64617205", "0.6362629", "0.63095915", "0.6304057", "0.6258638", "0.62525284", "0.6226658", "0.6217284", "0.62012225", "0.6184801", "0.61526126", "0.60447717", "0.6031015", "0.60161954"...
0.61439073
18
Returns the value of the 'Quiet' attribute. If the meaning of the 'Quiet' attribute isn't clear, there really should be more of a description here...
boolean isQuiet();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final boolean isQuiet() {\r\n return quiet;\r\n }", "public boolean isQuiet() {\n\t\treturn false;\n\t}", "public boolean isQuiet() {\n return quiet;\n }", "public boolean isQuiet() {\n return quiet;\n }", "public void setQuiet(boolean isQuiet) {\r\n\t\tthis.isQ...
[ "0.70590836", "0.7028019", "0.7021024", "0.7021024", "0.66391486", "0.6588018", "0.57555026", "0.55375296", "0.53765094", "0.5279089", "0.50533104", "0.49749386", "0.4929482", "0.49225783", "0.49141413", "0.4889196", "0.4882408", "0.48668295", "0.48606327", "0.4851584", "0.48...
0.69590104
4
Returns the value of the 'Pull' attribute. If the meaning of the 'Pull' attribute isn't clear, there really should be more of a description here...
boolean isPull();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPullRequestId() {\n return this.pullRequestId;\n }", "public byte GetPullups () throws IOException {\n return mDevice.readRegByte(GPPU);\n }", "public void pull();", "@ApiModelProperty(value = \"The git pull request policy for this project. Valid values are: \\\"off\\\", ...
[ "0.657389", "0.6264688", "0.5943801", "0.5840426", "0.5672692", "0.549685", "0.5431702", "0.5423231", "0.53520465", "0.53181964", "0.5300363", "0.5270377", "0.5269261", "0.52354854", "0.5212143", "0.51387596", "0.51324385", "0.513121", "0.5051186", "0.5046171", "0.50346166", ...
0.7070962
0
It will check the size of the specified column array whether zero or not. This is used for finding which column is empty and can be filled with another card from another slot
public static boolean checkColumn(ArrayList<Card> CardArray) { int cardSize = CardArray.size(); if (cardSize == 0) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isEmpty(){\n return cellSize == 0;\n }", "public boolean isEmtpyBySize(){\n\t\treturn size == 0;\n\t}", "@Override\n\tpublic boolean boardIsfull() {\n\t\treturn _columnFull.size() == _columnCount;\n\t}", "@Override\n public boolean isColumnFull(int col) throws IllegalColumnExcept...
[ "0.7005256", "0.6684346", "0.6615099", "0.66011375", "0.6579356", "0.6519578", "0.6473133", "0.64700305", "0.6437215", "0.6357361", "0.6347783", "0.6336529", "0.6334612", "0.6282956", "0.62791234", "0.62781847", "0.6254573", "0.6237725", "0.62170845", "0.6203833", "0.6176205"...
0.7275175
0
It will grab the index of the last element in the array. Then "temp" will grab the value of the element of the array. Finally, store that value to destination column which supposedly empty.
public static void moveCard (ArrayList<Card> cardSource, ArrayList<Card> cardDestination) { int lastCardIndex = cardSource.size() - 1; Card temp = cardSource.get(lastCardIndex); cardDestination.add(temp); cardSource.remove(lastCardIndex); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected int lastIdx() {\n return arrayIndex(currentWindowIndex() - 1);\n }", "private void moveRight(int index) {\n if (index != dataSize)\n for (int i = dataSize; i >= index; i--)\n array[i+1] = array[i];\n }", "private E remove(){\n E tmp = array[0];\n ...
[ "0.55664325", "0.5526153", "0.5383486", "0.5224653", "0.5198374", "0.51821953", "0.5156934", "0.5136623", "0.5128649", "0.51051193", "0.5083425", "0.5078749", "0.5064191", "0.504462", "0.5036705", "0.5004358", "0.5001663", "0.4975403", "0.49696338", "0.49608886", "0.49562147"...
0.0
-1
The two inputs should be the int values that represent the suits. Would work fine with the faces, if I ever needed to test equality. Yeah, this is pretty much a stock function, or method or whatever it is in Java. This is called later in the greater compare function. Author: Taylor Kirkpatrick
public static boolean same_int(int a, int b){ if(a == b) { return true; } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int compareInts(int first, int second) {\n return first > second ? 1 : (second > first ? -1 : 0);\n }", "private int compareIntAndFloat(int x, float y) {\n if (x < y) {\n return -1;\n } else if (x == y) {\n return 0;\n } else {\n return 1;\...
[ "0.5841872", "0.5653433", "0.5645491", "0.5629273", "0.5623832", "0.5582585", "0.55706", "0.556999", "0.54933465", "0.54487234", "0.54345626", "0.53669506", "0.53663355", "0.53474313", "0.53448045", "0.5335835", "0.5295609", "0.52680933", "0.5266046", "0.52303135", "0.5225594...
0.0
-1
Also rather simple, but hey, this is pretty good for hardly understanding Java. This one takes in two ints, two ints representing the faces and one that asks if user wants a greater than or less than comparison. Technically don't need the third one if this function was used cleverly, but let's be convenient. Returns boolean. Also incorporated into the larger compare function. Author: Taylor Kirkpatrick
public static boolean compare_face(int a, int b, String c){ if (c.equals("g")){ // The less than is never actually used in this scope. But who knows what the future holds? if (a > b){ return true; } return false; } if (c.equals("l")){ if (a < b){ return true; } return false; } return false; // Something went wrong here. But logically it'll never happen, so don't worry boys and girls. }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n int a = 1;\n int b = 2;\n if (a < b){\n System.out.println(\"a is less than b\");\n }\n\n // write your code below\n int red = 10;\n int blue = 20;\n\n if (red > blue) {\n System.out.println(\"r...
[ "0.6113364", "0.59677196", "0.5888473", "0.5825393", "0.5813736", "0.5801119", "0.57781255", "0.5772991", "0.5763721", "0.56689304", "0.56640905", "0.56586236", "0.5647779", "0.5638964", "0.56278306", "0.56094974", "0.5603287", "0.5570282", "0.5570282", "0.5570282", "0.557028...
0.70757735
0
Fire and forget function. Takes two cards as inputs, returns a boolean if the first card can be removed. NOTE: First argument is the card to be removed, second argument is the top card of another column. Author: Taylor Kirkpatrick
public static boolean can_remove(Card a, Card b){ int asuit = a.getSuit(); int bsuit = b.getSuit(); int aface = a.getRank(); int bface = b.getRank(); if (same_int(asuit,bsuit)){ if (compare_face(aface,bface,"l")){ return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean canBeRemoved(int cardIndex);", "public boolean removeCard(HomeCellSpider x, Card top) {\n \tpiles= x.piles;\n \tif(piles.get(piles.size()-1) == top) {//check to see if top is really the top card of the homecellpile\n \t\tpiles.remove(piles.size()-1);//if so remove it and decrease the overall car...
[ "0.7537587", "0.66685295", "0.64000744", "0.6307534", "0.6298197", "0.62924373", "0.62324524", "0.6194795", "0.6185483", "0.61837816", "0.6154246", "0.61311567", "0.61138576", "0.6107233", "0.609156", "0.60599107", "0.6035344", "0.5982273", "0.59668106", "0.59646535", "0.5911...
0.64801437
2
/constructor con los atributos de subclase
public Lectura(String libro) { this.libro = libro; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public MorteSubita() {\n }", "public Coche() {\n super();\n }", "public Sobre() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "public Clade() {}", "public Supercar() {\r\n\t\t\r\n\t}", "public Cohete() {\n\n\t}", "private BaseDatos() {\n }", "public Antrian...
[ "0.68689644", "0.6836473", "0.68173236", "0.6730497", "0.671677", "0.6638422", "0.6616981", "0.6569425", "0.65632087", "0.65623116", "0.6556414", "0.65404785", "0.6517448", "0.6499999", "0.64926255", "0.64865667", "0.64626175", "0.6456302", "0.6450537", "0.64471835", "0.64471...
0.0
-1
/constructor con todos los atributos de subclase y supclase
public Lectura(String libro, long id, String nombre, Date fechaHora) { super(id, nombre, fechaHora); this.libro = libro; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public nomina()\n {\n deducidoClase = new deducido();\n devengadoClase = new devengado();\n }", "public CianetoClass() {\r\n this.cianetoMethods = new Hashtable<String, Object>();\r\n this.cianetoAttributes = new Hashtable<String, Object>();\r\n }", "ConjuntoTDA claves();", "p...
[ "0.6474268", "0.64551646", "0.63822377", "0.6352138", "0.6281338", "0.62523663", "0.62455773", "0.62132204", "0.61879057", "0.6181754", "0.61674756", "0.6155088", "0.61455846", "0.6143307", "0.61101216", "0.6039246", "0.60072714", "0.599517", "0.59883267", "0.5984238", "0.596...
0.0
-1
/getters y setters de los atributos de la subclase
public String getLibro() { return libro; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private RepositorioAtendimentoPublicoHBM() {\r\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Test\r\n public void testSetMicentro() {\r\n System.out.println(\"setMicentro\");\r\n ...
[ "0.6073521", "0.5952012", "0.58372873", "0.58075076", "0.5758739", "0.5696568", "0.56942594", "0.5648137", "0.5628447", "0.5612333", "0.56070167", "0.5602829", "0.5580826", "0.55796665", "0.5569513", "0.5564674", "0.5560264", "0.55525774", "0.55525774", "0.55377734", "0.55340...
0.0
-1
additionally to the navigation drawer, inflate the base menu into the options menu
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.toolbar_menu, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflat...
[ "0.7601779", "0.73540366", "0.73258895", "0.72882766", "0.7282684", "0.7268976", "0.7261765", "0.72576094", "0.7257449", "0.72553134", "0.72478276", "0.72429574", "0.72399384", "0.72399384", "0.723527", "0.7220425", "0.7195989", "0.7176407", "0.7175116", "0.71674365", "0.7154...
0.0
-1
Log.d("GetCategory Details: ", response.data().toString());
@Override public void onResponse(@NotNull final Response<GetCategoryDetailsQuery.Data> response) { List<GetCategoryDetailsQuery.Food> foods = response.data().category().foods(); for (int i = 0; i < foods.size(); i++) { Log.d("ALL Food ==>", foods.get(i).name()); } DetailsActivity.this.runOnUiThread(new Runnable() { @Override public void run() { foodList = Objects.requireNonNull(response.data().category()).foods(); detsRecyclerViewAdapter.setCategoryData(foodList); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\n // If the request is succesfull\n public void onResponse(JSONObject response) {\n try {\n JSONArray categoriesArray = response.getJSONArray(\"categories\");\n for (int i = 0; i < categoriesArray.length(); i++){\n categories.add(categoriesArray.getStri...
[ "0.6875623", "0.66284716", "0.65843296", "0.6558456", "0.64045095", "0.63743955", "0.6367279", "0.62544864", "0.62516326", "0.6218433", "0.6078261", "0.6057166", "0.6028857", "0.6025881", "0.60155046", "0.59843665", "0.59719694", "0.59640336", "0.59497654", "0.5947195", "0.59...
0.6447617
4
if n is even , so f(n1/2)
static long findSum(int N) { if(N==0) return 0; return (long)((N+1)>>1)*((N+1)>>1)+findSum((int)N>>1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f5(int N) { \n int x = 0;\n // log(n)\n for(int i = N; i > 0; i = i/2)\n // O(n) + O(n/2) + O(n/4)\n x += f1(i);\n \n return x; \n \n }", "public static int next(int n)\n { \n int x = 0;\n...
[ "0.7011988", "0.6712899", "0.6593857", "0.6550015", "0.65209734", "0.6473822", "0.6468356", "0.64529324", "0.64431924", "0.64364237", "0.64339197", "0.638705", "0.63843244", "0.6362277", "0.62809587", "0.6240785", "0.62393916", "0.6238007", "0.62340766", "0.620513", "0.619523...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { int array[] = new int[]{5,3,7,4,1,9,0,5,11,19,13}; quickSort(array,0,array.length-1); for(int i=0;i<array.length-1;i++){ System.out.print(array[i]+","); } System.out.println(array[array.length-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
Which states you'd carry in the course of doing so.
public MinInfo(int popularVotesNeeded, ArrayList<State> statesUsed) { this.popularVotesNeeded = popularVotesNeeded; this.statesUsed = statesUsed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getState();", "int getState();", "int getState();", "int getState();", "int getState();", "int getState();", "public int getState() {return state;}", "public int getState() {return state;}", "Object getState();", "protected abstract int numStates();", "public int getState();", "public int...
[ "0.7116379", "0.7116379", "0.7116379", "0.7116379", "0.7116379", "0.7116379", "0.70088506", "0.70088506", "0.6970138", "0.6934487", "0.69135225", "0.69135225", "0.69135225", "0.69135225", "0.67473465", "0.67311597", "0.6704444", "0.66968435", "0.6673242", "0.66661745", "0.666...
0.0
-1
Created by Admin on 2017/5/26.
public interface IServiceDetailsActivityModel { void getDta(String serviceId , String userid , ModelCallBack modelCallBack); void collection(String userid , String serviceId , ModelCallBack modelCallBack); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@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\tpublic void entrenar() {\n\t\t\n\t}", "@Ov...
[ "0.6242353", "0.62079734", "0.5885065", "0.58622795", "0.5856957", "0.5801557", "0.57691354", "0.5725489", "0.571957", "0.5705706", "0.5682671", "0.56818897", "0.5681235", "0.5674415", "0.5669679", "0.5669679", "0.5659585", "0.5659585", "0.56475997", "0.5621376", "0.5614959",...
0.0
-1
Instantiates a new Hyper table.
public HyperTable(int dimension) { this.dimension = dimension; this.numOfElements = 0; this.table = new Node(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static LearningTable createLearningTable() {\n\t\tLearningTable table = new LearningTable(null, null, null);\n\t\t\n\t\ttable.getAttributes().addAll(createAttributes());\n\t\ttable.getExamples().addAll(createExamples(table.getAttributes()));\n\t\t\n\t\treturn table;\n\t}", "public TableCreation(Table tabl...
[ "0.6870561", "0.68553185", "0.66691095", "0.65947855", "0.65912646", "0.6574914", "0.65741575", "0.6509751", "0.65066814", "0.650502", "0.64848596", "0.6447669", "0.64469296", "0.6434648", "0.64148885", "0.6409301", "0.64049155", "0.63868946", "0.63838506", "0.638201", "0.637...
0.6828432
2
Gets num of elements.
public int getNumOfElements() { return numOfElements; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumberOfElements();", "Long getNumberOfElement();", "public abstract Integer getNumberOfElements();", "public int getNumElements()\n {\n return numElements;\n }", "public int getNumElements() {\n return numElements;\n }", "public int getNumElements() {\n return...
[ "0.86558235", "0.85825044", "0.84204084", "0.8379321", "0.82744133", "0.82744133", "0.82718503", "0.817093", "0.81274515", "0.77853656", "0.77568305", "0.77368224", "0.7700859", "0.7698697", "0.7693171", "0.7688487", "0.7673", "0.7672268", "0.7654479", "0.7648545", "0.7624200...
0.8379628
3
Instantiates a new Hyper table iterator.
public HyperTableLeafIterator() { this.stack = new LinkedList<>(); this.stack.add(table); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Iterator<T> iterator() {\n return new CLITableIterator<T>(createNew(tables, cursor, rowIndex));\n }", "@Override\n public Iterator<Iterable<T>> iterator() {\n return new TableIterator();\n }", "@Override\n\t\tpublic Iterator<Word> iterator() {\n\t\t\treturn new Hash...
[ "0.70452267", "0.6952817", "0.672366", "0.6524494", "0.6379625", "0.6325919", "0.6310989", "0.62457925", "0.62364626", "0.61737686", "0.61212236", "0.60945714", "0.59821457", "0.59651977", "0.5962431", "0.58543533", "0.58450806", "0.5827311", "0.58272684", "0.5814931", "0.581...
0.670049
3
Instantiates a new Node.
public Node() { this.nodeMap = new HashMap<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Node(){}", "public Node() {}", "public Node() {}", "public Node() {}", "public Node() {}", "public Node() {\r\n\t}", "public Node() {\r\n\t}", "public Node() {\n }", "public Node() {\n\t}", "public Node(){\n\n\t\t}", "public Node() {\n\n }", "public Node()\r\n {\r\n ...
[ "0.79285115", "0.7903408", "0.7903408", "0.7903408", "0.7903408", "0.7643643", "0.7643643", "0.76040184", "0.7596774", "0.7544121", "0.7542543", "0.75424737", "0.7522534", "0.7416743", "0.7404547", "0.71393836", "0.7000394", "0.69823664", "0.69299364", "0.68798244", "0.685948...
0.67003936
27
Instantiates a new Leaf.
public Leaf(E element, I[] index) { this.element = element; this.index = index; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Leaf(){}", "public Leaf(T data) {\n this.data = data;\n this.progeny = 1;\n }", "Leaf(int size, Color color) {\n this.size = size;\n this.color = color;\n }", "private LeafNode(Token newToken) {\r\n\t\tthis.token = newToken;\r\n\t}", "public Leaf(int value) {\n\t\t\tsuper();\n\t\t\tthi...
[ "0.8571519", "0.7380425", "0.67859787", "0.6774903", "0.6736052", "0.66553336", "0.66462755", "0.6546618", "0.6543918", "0.63958806", "0.6289557", "0.6284173", "0.62339854", "0.622392", "0.61791205", "0.6176427", "0.61750555", "0.61714506", "0.6153889", "0.6101593", "0.609811...
0.6263786
12
Log.e("email password", et_login_dialog.getText().toString() + " " + et_password_dialog.getText().toString());
@Override public void onClick(View v) { if (et_login_dialog.getText().toString().equals("") || et_password_dialog.getText().toString().equals("")) { Toast.makeText(SignUpActivity.this, "Username and password can't be empty!", Toast.LENGTH_SHORT).show(); } else { String login_email = et_login_dialog.getText().toString(); String login_password = et_password_dialog.getText().toString(); Log.e("TOKEN ", generatePushToken()); if (generatePushToken() != null) { loginRequest(login_email, login_password, generatePushToken()); } } // myDialog.dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n String emailUser,userPassword,userConfirm;\n emailUser = email.getText().toString().trim();\n userPassword = password.getText().toString().trim();\n userConfirm = confirmPassword.getText().toString()....
[ "0.7190922", "0.7187721", "0.69746304", "0.6903303", "0.670368", "0.6696491", "0.6627252", "0.6557378", "0.65461576", "0.6503907", "0.64675766", "0.64609957", "0.6459698", "0.6455309", "0.6427114", "0.64258856", "0.6391856", "0.6371366", "0.6371366", "0.6363235", "0.63113415"...
0.5884071
66
JFormDesigner Component initialization DO NOT MODIFY //GENBEGIN:initComponents Generated using JFormDesigner Evaluation license Mariano Rajoy
private void initComponents() { frame = new JFrame(); JPanel panel2 = new JPanel(); enrereButton = new JButton(); JLabel label1 = new JLabel(); JPanel panel3 = new JPanel(); textField1 = new JTextField(); JLabel label2 = new JLabel(); JPanel panel4 = new JPanel(); JLabel label3 = new JLabel(); jScrollPane1 = new JScrollPane(); textArea1 = new JTextArea(); JPanel panel5 = new JPanel(); cercaButton = new JButton(); framew = new JWindow(); label4 = new JLabel(); //======== frame ======== { frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.addComponentListener(new ComponentAdapter() { @Override public void componentMoved(ComponentEvent e) { framewComponentMoved(e); } }); Container frameContentPane = frame.getContentPane(); //======== panel2 ======== { // JFormDesigner evaluation mark panel2.setBorder(new javax.swing.border.CompoundBorder( new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0), "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red), panel2.getBorder())); panel2.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}}); //---- enrereButton ---- enrereButton.setText("Enrere"); enrereButton.addActionListener(e -> enrereButtonActionPerformed(e)); //---- label1 ---- label1.setText("CERCA RELLEV\u00c0NCIA"); GroupLayout panel2Layout = new GroupLayout(panel2); panel2.setLayout(panel2Layout); panel2Layout.setHorizontalGroup( panel2Layout.createParallelGroup() .addGroup(panel2Layout.createSequentialGroup() .addComponent(enrereButton) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 106, Short.MAX_VALUE) .addComponent(label1, GroupLayout.PREFERRED_SIZE, 136, GroupLayout.PREFERRED_SIZE) .addGap(41, 41, 41)) ); panel2Layout.setVerticalGroup( panel2Layout.createParallelGroup() .addGroup(panel2Layout.createSequentialGroup() .addGap(26, 26, 26) .addGroup(panel2Layout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(enrereButton) .addComponent(label1, GroupLayout.PREFERRED_SIZE, 32, GroupLayout.PREFERRED_SIZE))) ); } //======== panel3 ======== { //---- label2 ---- label2.setText("Tipus de cerca : "); GroupLayout panel3Layout = new GroupLayout(panel3); panel3.setLayout(panel3Layout); panel3Layout.setHorizontalGroup( panel3Layout.createParallelGroup() .addGroup(panel3Layout.createSequentialGroup() .addComponent(label2) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(textField1, GroupLayout.PREFERRED_SIZE, 290, GroupLayout.PREFERRED_SIZE) .addGap(92, 92, 92)) ); panel3Layout.setVerticalGroup( panel3Layout.createParallelGroup() .addGroup(panel3Layout.createSequentialGroup() .addGap(23, 23, 23) .addGroup(panel3Layout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(label2) .addComponent(textField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) .addGap(12, 12, 12)) ); } //======== panel4 ======== { //---- label3 ---- label3.setText("Entitats:"); //======== jScrollPane1 ======== { //---- textArea1 ---- textArea1.setColumns(20); textArea1.setRows(5); jScrollPane1.setViewportView(textArea1); } GroupLayout panel4Layout = new GroupLayout(panel4); panel4.setLayout(panel4Layout); panel4Layout.setHorizontalGroup( panel4Layout.createParallelGroup() .addGroup(panel4Layout.createSequentialGroup() .addGap(42, 42, 42) .addComponent(label3) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPane1, GroupLayout.PREFERRED_SIZE, 285, GroupLayout.PREFERRED_SIZE) .addContainerGap(97, Short.MAX_VALUE)) ); panel4Layout.setVerticalGroup( panel4Layout.createParallelGroup() .addGroup(panel4Layout.createSequentialGroup() .addGroup(panel4Layout.createParallelGroup() .addComponent(label3) .addGroup(panel4Layout.createSequentialGroup() .addContainerGap() .addComponent(jScrollPane1, GroupLayout.PREFERRED_SIZE, 141, GroupLayout.PREFERRED_SIZE))) .addContainerGap(35, Short.MAX_VALUE)) ); } //======== panel5 ======== { //---- cercaButton ---- cercaButton.setText("Cerca"); GroupLayout panel5Layout = new GroupLayout(panel5); panel5.setLayout(panel5Layout); panel5Layout.setHorizontalGroup( panel5Layout.createParallelGroup() .addGroup(panel5Layout.createSequentialGroup() .addGap(283, 283, 283) .addComponent(cercaButton) .addGap(141, 141, 141)) ); panel5Layout.setVerticalGroup( panel5Layout.createParallelGroup() .addGroup(panel5Layout.createSequentialGroup() .addGap(14, 14, 14) .addComponent(cercaButton)) ); } GroupLayout frameContentPaneLayout = new GroupLayout(frameContentPane); frameContentPane.setLayout(frameContentPaneLayout); frameContentPaneLayout.setHorizontalGroup( frameContentPaneLayout.createParallelGroup() .addGroup(frameContentPaneLayout.createSequentialGroup() .addGroup(frameContentPaneLayout.createParallelGroup() .addComponent(panel2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addComponent(panel3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addGroup(frameContentPaneLayout.createSequentialGroup() .addContainerGap() .addGroup(frameContentPaneLayout.createParallelGroup() .addComponent(panel5, GroupLayout.PREFERRED_SIZE, 353, GroupLayout.PREFERRED_SIZE) .addComponent(panel4, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) .addContainerGap()) ); frameContentPaneLayout.setVerticalGroup( frameContentPaneLayout.createParallelGroup() .addGroup(frameContentPaneLayout.createSequentialGroup() .addComponent(panel2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addGap(5, 5, 5) .addComponent(panel3, GroupLayout.PREFERRED_SIZE, 47, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(panel4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(panel5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addGap(33, 33, 33)) ); frame.pack(); frame.setLocationRelativeTo(frame.getOwner()); } //======== framew ======== { framew.setOpacity(0.5F); framew.setFocusable(false); framew.setFocusableWindowState(false); framew.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); framew.setAlwaysOnTop(true); framew.addComponentListener(new ComponentAdapter() { @Override public void componentMoved(ComponentEvent e) { framewComponentMoved(e); } }); Container framewContentPane = framew.getContentPane(); //---- label4 ---- label4.setIcon(new ImageIcon(getClass().getResource("/Presentacio/ajax-loader.gif"))); label4.setHorizontalAlignment(SwingConstants.CENTER); label4.setFocusable(false); label4.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); GroupLayout framewContentPaneLayout = new GroupLayout(framewContentPane); framewContentPane.setLayout(framewContentPaneLayout); framewContentPaneLayout.setHorizontalGroup( framewContentPaneLayout.createParallelGroup() .addComponent(label4, GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE) ); framewContentPaneLayout.setVerticalGroup( framewContentPaneLayout.createParallelGroup() .addComponent(label4, GroupLayout.Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 370, Short.MAX_VALUE) ); framew.pack(); framew.setLocationRelativeTo(framew.getOwner()); } // JFormDesigner - End of component initialization //GEN-END:initComponents }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initComponents() {\n\n\t\tsetName(\"Form\"); // NOI18N\n\t\tsetLayout(new java.awt.BorderLayout());\n\t}", "private void initComponents() {\n lblHAUF = new JLabel();\n jdcHAUF = new JDateChooser();\n lblStation = new JLabel();\n cmbStation = new JComboBox<>();\n lb...
[ "0.7652414", "0.7496697", "0.7452454", "0.73758924", "0.73626375", "0.7360245", "0.72831124", "0.72831124", "0.72741336", "0.72310144", "0.72210455", "0.7159029", "0.714826", "0.71469367", "0.71425194", "0.7136123", "0.7116926", "0.7105034", "0.70971704", "0.70848125", "0.707...
0.0
-1
JFormDesigner End of variables declaration //GENEND:variables
public VistaRellevancia(CtrlPresentacio ctrlPresentacio) { System.out.println ("isEventDispatchThread: " + SwingUtilities.isEventDispatchThread()); this.cp = ctrlPresentacio; initComponents(); inicialitzarbotons(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n productCompanyjTextField1 = new javax.swing.JTextField();\n jLabel3 = new javax.swi...
[ "0.65706116", "0.6555794", "0.65312", "0.6521951", "0.65049237", "0.6500465", "0.64855844", "0.64697295", "0.6462114", "0.645328", "0.64237463", "0.6392135", "0.63890016", "0.636686", "0.63384837", "0.6329578", "0.6328353", "0.63180065", "0.6307303", "0.6296184", "0.62773705"...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { int number=123; }
{ "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
public static void main(String[] args) { new RadioButtonwithActionListener(); }
{ "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
Creates new form GuiCadastroAtendente
public GuiCadastroAtendente(ArrayList<Pessoa> c) { initComponents(); cadPessoas = c; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public ViewCreatePagamento() {\n ...
[ "0.7525035", "0.70679563", "0.7066946", "0.7039021", "0.70080703", "0.6981184", "0.69444686", "0.69009787", "0.6892333", "0.6890638", "0.6878367", "0.6860452", "0.68595576", "0.6854302", "0.68482774", "0.6833056", "0.6830878", "0.68204963", "0.6817824", "0.6817308", "0.680323...
0.0
-1
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() { grbtTurno = new javax.swing.ButtonGroup(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); txtRegFuncional = new javax.swing.JTextField(); txtNome = new javax.swing.JTextField(); txtEndereco = new javax.swing.JTextField(); txtTelefone = new javax.swing.JTextField(); jPanelTurno = new javax.swing.JPanel(); rbtManha = new javax.swing.JRadioButton(); rbtTarde = new javax.swing.JRadioButton(); rbtNoite = new javax.swing.JRadioButton(); btnConsultar = new javax.swing.JButton(); btnInserir = new javax.swing.JButton(); btnAlterar = new javax.swing.JButton(); btnExcluir = new javax.swing.JButton(); btnSair = new javax.swing.JButton(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setTitle("Cadastro Atendente"); jLabel1.setText("Reg. Funcional"); jLabel2.setText("Nome"); jLabel3.setText("Endereço"); jLabel4.setText("Telefone"); txtNome.setEnabled(false); txtEndereco.setEnabled(false); txtTelefone.setEnabled(false); jPanelTurno.setBorder(javax.swing.BorderFactory.createTitledBorder("Turno")); grbtTurno.add(rbtManha); rbtManha.setSelected(true); rbtManha.setText("Manhã"); rbtManha.setEnabled(false); grbtTurno.add(rbtTarde); rbtTarde.setText("Tarde"); rbtTarde.setEnabled(false); grbtTurno.add(rbtNoite); rbtNoite.setText("Noite"); rbtNoite.setEnabled(false); javax.swing.GroupLayout jPanelTurnoLayout = new javax.swing.GroupLayout(jPanelTurno); jPanelTurno.setLayout(jPanelTurnoLayout); jPanelTurnoLayout.setHorizontalGroup( jPanelTurnoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanelTurnoLayout.createSequentialGroup() .addComponent(rbtManha) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(rbtTarde) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(rbtNoite) .addContainerGap()) ); jPanelTurnoLayout.setVerticalGroup( jPanelTurnoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelTurnoLayout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addGroup(jPanelTurnoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(rbtManha) .addComponent(rbtTarde) .addComponent(rbtNoite))) ); btnConsultar.setText("Consultar"); btnConsultar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnConsultarActionPerformed(evt); } }); btnInserir.setText("Inserir"); btnInserir.setEnabled(false); btnInserir.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnInserirActionPerformed(evt); } }); btnAlterar.setText("Alterar"); btnAlterar.setEnabled(false); btnAlterar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnAlterarActionPerformed(evt); } }); btnExcluir.setText("Excluir"); btnExcluir.setEnabled(false); btnExcluir.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnExcluirActionPerformed(evt); } }); btnSair.setText("Sair"); btnSair.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnSairActionPerformed(evt); } }); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(20, 20, 20) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(btnConsultar) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(btnInserir) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(btnAlterar) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(btnExcluir) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(btnSair)) .addComponent(jPanelTurno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel1) .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(txtNome, javax.swing.GroupLayout.DEFAULT_SIZE, 250, Short.MAX_VALUE) .addComponent(txtEndereco) .addComponent(txtRegFuncional, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addContainerGap(16, Short.MAX_VALUE)) ); layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {btnAlterar, btnConsultar, btnExcluir, btnInserir, btnSair}); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(43, 43, 43) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(txtRegFuncional, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(txtEndereco, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(txtTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addComponent(jPanelTurno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(btnConsultar) .addComponent(btnInserir) .addComponent(btnAlterar) .addComponent(btnExcluir) .addComponent(btnSair)) .addContainerGap(10, Short.MAX_VALUE)) ); layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {btnAlterar, btnConsultar, btnExcluir, btnInserir, btnSair}); pack(); }
{ "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.73208135", "0.7291972", "0.7291972", "0.7291972", "0.7287118", "0.72494483", "0.7214677", "0.72086734", "0.7197058", "0.71912485", "0.7185818", "0.71596724", "0.71489036", "0.7094215", "0.7082007", "0.70579666", "0.6988024", "0.6978225", "0.6955616", "0.6955434", "0.694586...
0.0
-1
endregion region Estimate Gas
public void estimateGas(final TokenTransferObject tokenTransferObject, @NonNull final OnCompletion<TokenTransferObject> completion) { new Handler().post(new Runnable() { @Override public void run() { try { Transaction transaction = Transaction.createEthCallTransaction(credentials.getAddress(), tokenTransferObject.getRecipientAddress(), null); EthEstimateGas ethEstimateGas = web3.ethEstimateGas(transaction).sendAsync().get(); if (ethEstimateGas.hasError()) { tokenTransferObject.setErrorMessage(ethEstimateGas.getError().getMessage()); completion.onCompleted(false, tokenTransferObject); return; } BigInteger gasLimit = ethEstimateGas.getAmountUsed(); tokenTransferObject.setGasLimit(gasLimit.longValue()); completion.onCompleted(true, tokenTransferObject); } catch (Exception e) { e.printStackTrace(); tokenTransferObject.setErrorMessage(e.getLocalizedMessage()); completion.onCompleted(false, tokenTransferObject); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testGA() {\n\t\tGenetic ga = new Genetic(100, 500, 10, SelectionType.TOURNAMENT , 0.6, 0.1);\n\t\tOptimumSolution os = ga.run();\n\t\tSystem.out.println(os.getSolution());\n\t}", "double CalcGaretz(double amount, double size, double sg, double time, double start_vol,\n \t\t\tint yeast_flocc,...
[ "0.63572574", "0.6286456", "0.6246727", "0.60397375", "0.60350066", "0.5919562", "0.589135", "0.58633816", "0.5805981", "0.5782457", "0.5779782", "0.5766287", "0.5764035", "0.5739309", "0.5704153", "0.5703214", "0.56518984", "0.5638624", "0.56366396", "0.5631303", "0.56312656...
0.0
-1
endregion region Gas limit after Transaction
public void getUsedGasInTransaction(final TokenTransferObject tokenTransferObject, @NonNull final OnCompletion<TokenTransferObject> completion) { new Handler().post(new Runnable() { @Override public void run() { try { EthGetTransactionReceipt ethGetTransactionReceipt = web3.ethGetTransactionReceipt(tokenTransferObject.getTransactionHash()).sendAsync().get(); if (ethGetTransactionReceipt.hasError()) { tokenTransferObject.setErrorMessage(ethGetTransactionReceipt.getError().getMessage()); completion.onCompleted(false, tokenTransferObject); return; } TransactionReceipt receipt = ethGetTransactionReceipt.getResult(); if (receipt == null) { tokenTransferObject.setErrorMessage(ethGetTransactionReceipt.getError().getMessage()); completion.onCompleted(false, tokenTransferObject); return; } BigInteger gasUsed = receipt.getGasUsed(); tokenTransferObject.setGasLimit(gasUsed.longValue()); completion.onCompleted(true, tokenTransferObject); } catch (Exception e) { e.printStackTrace(); tokenTransferObject.setErrorMessage(e.getLocalizedMessage()); completion.onCompleted(false, tokenTransferObject); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMaxTransactions(long maxTrans) {\n\t\tif (maxTrans > 0)\n\t\t\tthis.maxTrans = maxTrans;\n\t}", "Limit createLimit();", "public void decMaxTransactions() {\n\t\tmaxTrans--;\n\t}", "int getLimit();", "int getLimit();", "public void setMaxTotalCost(int amount);", "public long getMaxTransac...
[ "0.62483674", "0.6216538", "0.61877036", "0.6179791", "0.6179791", "0.6136937", "0.60968643", "0.6088983", "0.6068094", "0.60307604", "0.60240424", "0.6013387", "0.59892184", "0.5856045", "0.58547944", "0.58215475", "0.5807281", "0.5779188", "0.5741807", "0.57142603", "0.5708...
0.0
-1
endregion region data function
private static String encodeTransferData(String toAddress, BigInteger sum) { Function function = new Function( "transfer", // function we're calling Arrays.<Type>asList(new Address(toAddress), new Uint256(sum))); return FunctionEncoder.encode(function); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void Data(){\n\t\t\t\t\t\t\n\t\t\t\t\t}", "Object getData();", "Object getData();", "@Override\n\tpublic void getData() {\n\t\t\n\t}", "int getData2();", "int getData2();", "public abstract Object getData();", "protected abstract Object[]...
[ "0.66935223", "0.6659274", "0.6599605", "0.6599605", "0.6584072", "0.65649307", "0.65649307", "0.6483147", "0.6419381", "0.6393119", "0.63812023", "0.63700813", "0.63392353", "0.6317609", "0.6317609", "0.6313178", "0.63054144", "0.62736684", "0.6269837", "0.6184409", "0.61714...
0.0
-1
Indicates the cluster placer to use in the defragmentation process.
public DefragmenterBuilder withClusterPlacer(ClusterPlacer clusterPlacer) { this.clusterPlacer = clusterPlacer; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Defragmenter(ClusterPlacer clusterPlacer, NodePlacer nodePlacer) {\n this.clusterPlacer = clusterPlacer;\n this.nodePlacer = nodePlacer;\n }", "public void decideCluster(){\n\tdouble shortest = 1000000;\n\tfor(int i = 0; i < clusterDist.length; i++)\n\t{\n\t\tif(clusterDist[i] < shortest...
[ "0.63369846", "0.5610774", "0.55174655", "0.5335565", "0.5262514", "0.5235515", "0.5224209", "0.5223664", "0.5223664", "0.5189061", "0.5189061", "0.50979495", "0.505803", "0.5032699", "0.49953336", "0.4967051", "0.49642506", "0.4957391", "0.4919972", "0.48880172", "0.48866677...
0.6112011
1
Indicates the node placer to use in the defragmentation process.
public DefragmenterBuilder withNodePlacer(NodePlacer nodePlacer) { this.nodePlacer = nodePlacer; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Defragmenter(ClusterPlacer clusterPlacer, NodePlacer nodePlacer) {\n this.clusterPlacer = clusterPlacer;\n this.nodePlacer = nodePlacer;\n }", "public MainDefragClass() {\n\tparameters = new Parameter_Provider_for_ILP();\n\tgurobi_defrag_Obj = new GurobiObj_for_defrag(parameters);\n\tilp...
[ "0.59030634", "0.5266285", "0.5256142", "0.5116534", "0.5038981", "0.4965884", "0.49408114", "0.49003538", "0.48556158", "0.48404998", "0.4818967", "0.48039857", "0.47815907", "0.47241476", "0.47062624", "0.4704384", "0.46726933", "0.46157908", "0.456432", "0.4549956", "0.453...
0.5156586
3
Constructor for a defragmenter.
private Defragmenter(ClusterPlacer clusterPlacer, NodePlacer nodePlacer) { this.clusterPlacer = clusterPlacer; this.nodePlacer = nodePlacer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public QRFragment() {\n }", "public StintFragment() {\n }", "public WakelockRegexFragment() {\n }", "public RickAndMortyFragment() {\n }", "public BleScanFragment() {\n //empty\n }", "public Destroyer() {\n super(DS_SIZE);\n }", "public FExDetailFragment() {\n \t}", "pub...
[ "0.6922445", "0.63121617", "0.6125744", "0.6098606", "0.6090345", "0.608641", "0.60582614", "0.60148305", "0.5956865", "0.591203", "0.5833353", "0.58293074", "0.58293074", "0.5813539", "0.58103144", "0.5768902", "0.57532996", "0.5714212", "0.569118", "0.56605226", "0.56563044...
0.65831685
1
Performs the defragmentation of a graph.
public void defragment(Graph graph, double elemDistance, int iterations) { Graph clusterPlacement = clusterPlacer.computePlacing(graph); NodeAttribute<Coordinates> initialNodePlacement = nodePlacer.computePlacing(graph, clusterPlacement); NodeAttribute<Coordinates> positions = graph.nodeAttribute(StdAttribute.nodePosition); NodeAttribute<Coordinates> originalPositions = new NodeAttribute<>(new Coordinates(0, 0)); originalPositions.copy(positions); for (Node node : graph.nodes()) { positions.set(node, initialNodePlacement.get(node)); } Boundaries boundaries = buildBoundaries(graph, clusterPlacement); ModularFdl modular = new ModularFdl.ModularFdlBuilder(graph) //.withForce(new ModularForce.EdgeAttraction(20)) .withForce(new SetElementsRepulsion(elemDistance, boundaries)) .withForce(new BoundaryEdgeAttraction(elemDistance / 2, boundaries)) .withForce(new ModularForce.SelectedEdgeNodeRepulsion2D(elemDistance / 2, boundaries.edges)) .withConstraint(new ModularConstraint.DecreasingMaxMovement(elemDistance)) .withConstraint(new ModularConstraint.SurroundingEdges(boundaries.surroundingEdges)) .withPostProcessing(new ModularPostProcessing.FlexibleEdges(boundaries.edges, elemDistance, 5 * elemDistance)) .build(); modular.iterate(iterations); modular.close(); removeBoundaries(graph, boundaries); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearGraph(){\n\t\tthis.tools.clearGraph(graph);\n\t}", "void detachFromGraphView();", "public void removeAllEdges() {\n }", "protected void resetGraph() {\n for (List<Edge> path : graph) {\r\n for (Edge e : path) {\r\n e.flow = 0;\r\n }\r\n }...
[ "0.58251673", "0.5790943", "0.5720467", "0.569313", "0.568405", "0.55592453", "0.54861295", "0.54605526", "0.5446549", "0.5415361", "0.54006743", "0.5399844", "0.5396212", "0.53916657", "0.5387664", "0.53793377", "0.5344679", "0.5339972", "0.53193736", "0.527596", "0.5273045"...
0.63905823
0
Builds the cluster boundaries.
private Boundaries buildBoundaries(Graph graph, Graph clusterPlacement) { Boundaries boundaries = new Boundaries(); NodeAttribute<Coordinates> clusterPositions = clusterPlacement.nodeAttribute(StdAttribute.nodePosition); NodeAttribute<Coordinates> clusterSizes = clusterPlacement.nodeAttribute(StdAttribute.nodeSize); NodeAttribute<Coordinates> positions = graph.nodeAttribute(StdAttribute.nodePosition); EdgeAttribute<ControlPoints> edgePoints = graph.edgeAttribute(StdAttribute.edgePoints); for (Graph cluster : graph.subGraphs()) { String clusterLabel = cluster.<String>graphAttribute(StdAttribute.label).get(); Node clusterPlaceholder = clusterPlacement.getNode(clusterLabel); Coordinates clusterCenter = clusterPositions.get(clusterPlaceholder); Coordinates clusterSize = clusterSizes.get(clusterPlaceholder); Coordinates clusterBottomLeft = clusterCenter.minus(clusterSize.divide(2)); Node boundaryNode = graph.newNode(); Edge boundaryEdge = graph.newEdge(boundaryNode, boundaryNode); positions.set(boundaryNode, clusterBottomLeft); ControlPoints edgeBends = new ControlPoints(); edgeBends.add(clusterBottomLeft.plus(new Coordinates(clusterSize.x(), 0))); edgeBends.add(clusterBottomLeft.plus(clusterSize)); edgeBends.add(clusterBottomLeft.plus(new Coordinates(0, clusterSize.y()))); edgePoints.set(boundaryEdge, edgeBends); boundaries.nodes.add(boundaryNode); boundaries.edges.add(boundaryEdge); Collection<Edge> surroundingEdge = new HashSet<>(); surroundingEdge.add(boundaryEdge); for (Node node : cluster.nodes()) { boundaries.surroundingEdges.set(node, surroundingEdge); } } boundaries.surroundingEdges.setDefault(boundaries.edges); return boundaries; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void buildInitialBand()\r\n\t{\n\t\r\n\tint bl = boundary.size();\r\n\tfor(int i=0; i<bl; i++) \r\n\t\t{\r\n\t\tInt2d bCur = boundary.get(i);\r\n\t\t//System.out.println(bCur.x + \", \" + bCur.y + \": size = \" + heap.size());\r\n\t\t\r\n\t\ttestPointsAround(bCur.x,bCur.y);\r\n\t\t}\r\n\t\r\n\t}", "public...
[ "0.5955002", "0.5948939", "0.5758232", "0.57174754", "0.5699636", "0.56248194", "0.56018734", "0.54651815", "0.5463193", "0.5407469", "0.53848016", "0.5370827", "0.53603095", "0.5323533", "0.5301888", "0.529562", "0.52829105", "0.52731025", "0.5270946", "0.5263991", "0.522995...
0.7197272
0
Removes the cluster boundaries.
private void removeBoundaries(Graph graph, Boundaries boundaries) { for (Edge boundaryEdge : boundaries.edges) { graph.remove(boundaryEdge); } for (Node boundaryNode : boundaries.nodes) { graph.remove(boundaryNode); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Centroid removeCentroid();", "public void clearCentroids();", "public void removeNeighbours(){\n\t\tgetNeighbours().removeAll(getNeighbours());\n\t}", "public void clearCentroidVectors();", "void removeNeighbors();", "public void removeAllEdges() {\n }", "void removeIsBoundaryNodeOf(Boundary ...
[ "0.67219293", "0.65790397", "0.6373342", "0.6342814", "0.6149594", "0.5916342", "0.569065", "0.5677843", "0.562721", "0.560067", "0.5583608", "0.55590457", "0.55236596", "0.5494835", "0.54861873", "0.5431278", "0.5430508", "0.5415346", "0.54012203", "0.53727293", "0.53719646"...
0.6236005
4
Constructs a set element repulsion force.
public SetElementsRepulsion(double nodeNodeDistance, Boundaries boundaries) { super(nodeNodeDistance); this.boundaries = boundaries; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InbreedingCoeff(){\n super((Set<String>) null);\n }", "public TrustingMonotonicArraySet(T[] elements) {\n this();\n\n for (T element : elements) {\n add(element);\n }\n }", "protected Set() {\n size = 0;\n set = new int[TEN];\n }", "private static <T> Set<T> C...
[ "0.5686216", "0.56305385", "0.5531976", "0.55275404", "0.5515915", "0.55147225", "0.5502172", "0.5433119", "0.5370793", "0.5357458", "0.53186125", "0.52637434", "0.5258224", "0.5254679", "0.5241014", "0.52397364", "0.52316594", "0.5230376", "0.5204737", "0.5203258", "0.519615...
0.0
-1
Filters nodes that are not set elements from the force computation.
private Collection<Node> keepOnlySetElement(Collection<Node> nodes) { Set<Node> elements = new HashSet<>(); for (Node node : nodes) { Edge originalEdge = synchronizer().getOriginalEdge(node); if ((originalEdge != null && !boundaries.edges.contains(originalEdge)) || !boundaries.nodes.contains(node)) { elements.add(node); } } return elements; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void filterNodes(String filter) {\n\n\n tree_graphs.getChildren().clear();\n populate(universe, filter, this.showNodes, this.showEdges,\n this.showHyperEdges);\n\n\n tree_nodes.getChildren().clear();\n for (INode node : universe.getNodes()) {\n if (node....
[ "0.64825475", "0.6341451", "0.5986958", "0.5975144", "0.5926031", "0.580734", "0.57111305", "0.57006407", "0.5695605", "0.56898534", "0.560578", "0.5589836", "0.5577235", "0.5526869", "0.54876363", "0.5481617", "0.541707", "0.54124814", "0.5411843", "0.5400107", "0.53448874",...
0.65978515
0
Constructs a boundary edge attraction force.
public BoundaryEdgeAttraction(double edgeLength, Boundaries boundaries) { super(edgeLength); this.boundaries = boundaries; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public WeightedEdge(){\n\t\t\n\t}", "private Shape createEdge() {\n\t\tEdge edge = (Edge)shapeFactory.getShape(ShapeFactory.EDGE);\n\t\tEdgeLabel edgeLabel = (EdgeLabel) shapeFactory.getShape(ShapeFactory.EDGE_LABEL);\n\t\tedgeLabel.setEdge(edge);\n\t\tedge.setEdgeLabel(edgeLabel);\n\t\tshapes.add(edgeLabel);\n\...
[ "0.5584004", "0.5491449", "0.5369232", "0.5316955", "0.5238717", "0.5212495", "0.51839244", "0.5130067", "0.50977325", "0.5091174", "0.5061924", "0.5060201", "0.5053217", "0.5045023", "0.5043003", "0.5023219", "0.50217456", "0.49825305", "0.49699008", "0.4934898", "0.49247724...
0.700191
0
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
public static File get(String name, Output<String> id, @Nullable FileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new File(name, id, state, options); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @Transactional\n public State getState(long id) {\n Optional<State> result = stateRepository.findById(id);\n State state = null;\n if (result.isPresent()) {\n state = result.get();\n }\n else {\n throw new NotFoundException(\"Did not find s...
[ "0.5551466", "0.5301206", "0.52610826", "0.52093625", "0.51635975", "0.50691676", "0.5066848", "0.50588924", "0.50147897", "0.49278232", "0.48810565", "0.48624068", "0.47859916", "0.4766376", "0.47515142", "0.47029004", "0.46594232", "0.45852926", "0.45647335", "0.45527905", ...
0.0
-1
Write a program in Java to find the number and sum of all integer between 100 and 200 which are divisible by 9.
public static void main(String []args) { Scanner in = new Scanner(System.in); // Using While Loop int start, end, div, i, sum=0; System.out.println("Input beginning number: "); start = in.nextInt(); System.out.println("Input ending number: "); end = in.nextInt(); System.out.println("Input divisible number: "); div = in.nextInt(); System.out.println("Numbers between " + start + " and " + end + " divisible by " + div + " : "); i=start; while(i<end){ if(i%div==0){ System.out.print(" " + i); // OR.. System.out.printf("% 5d",i); sum+=i; } i++; } System.out.println("\n\nThe sum : " + sum); // Using For Loop /*int start, end, div, i, sum=0; System.out.println("Input beginning number: "); start = in.nextInt(); System.out.println("Input ending number: "); end = in.nextInt(); System.out.println("Input divisible number: "); div = in.nextInt(); System.out.println("Numbers between " + start + " and " + end + " divisible by " + div + " : "); for(i=start;i<end;i++){ if(i%div==0){ System.out.print(" " + i); // OR.. System.out.printf("% 5d",i); sum+=i; } } System.out.println("\n\nThe sum : " + sum);*/ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int sumOf1To100nos() {\r\n\t\t \r\n\t\t int sum =0;\r\n\t\t \r\n\t\t for(int i=1; i<=100;i++) {\r\n\t\t\t sum+=i;\r\n\t\t }\r\n\t\t \r\n\t\t return sum;\r\n\t }", "public static void sumNum() {\n\t\tint result = 0;\n\t\tfor(int i = 1; i<=112; i = i + 3) {\n\t\t\tresult = result + i;\t\n\t\t}\n\tSystem.out...
[ "0.69983363", "0.6678754", "0.6607421", "0.6577799", "0.6538776", "0.6349906", "0.6338734", "0.6277361", "0.6276087", "0.6202734", "0.61732525", "0.61401606", "0.6122446", "0.6105265", "0.60976565", "0.60897475", "0.6055701", "0.6038503", "0.6007689", "0.6004719", "0.5986002"...
0.6506758
5
sendRequest() method is responsible for making HTTP GET call to the resource specified by URL object. If responseCode is 'Redirect'(301/302/303), it fetches the content from redirected location, specified by 'Location' field in the header.
public void sendRequest() { URL obj; try { // Instantiating HttpURLConnection object for making GET request. obj = new URL(REQUEST_URL); HttpURLConnection connection = (HttpURLConnection) obj.openConnection(); connection.setRequestMethod(REQUEST_METHOD); connection.setRequestProperty("User-Agent", USER_AGENT); connection.setInstanceFollowRedirects(FOLLOW_REDIRECTS); HttpURLConnection.setFollowRedirects(FOLLOW_REDIRECTS); // Checking response code for successful request. // If responseCode==200, read the response, // if responseCode==3xx, i.e., a redirect, then make the request to // new redirected link, specified by 'Location' field. // NOTE: Only one level of redirection is supported for now. // Can be modified to support multiple levels of Redirections. int responseCode = connection.getResponseCode(); if(responseCode == HttpURLConnection.HTTP_MOVED_PERM || responseCode == HttpURLConnection.HTTP_MOVED_TEMP || responseCode == HttpURLConnection.HTTP_SEE_OTHER) { logger.info("Redirect received in responseCode"); String newUrl = connection.getHeaderField("Location"); connection = (HttpURLConnection) new URL(newUrl).openConnection(); } responseCode = connection.getResponseCode(); // process response message if responseCode==200 i.e., success. if (responseCode == HttpURLConnection.HTTP_OK) { BufferedReader in = new BufferedReader(new InputStreamReader( connection.getInputStream())); String inputLine; StringBuffer response = new StringBuffer(); while ((inputLine = in.readLine()) != null) { response.append(inputLine); } in.close(); //Uncomment following line to log response data. //logger.info(response.toString()); } else { logger.warning("Http GET request was unsuccessful!"); } } catch (MalformedURLException e) { logger.severe("MalformedURLException: " + e.getMessage()); e.printStackTrace(); } catch (IOException e) { logger.severe("IOException: " + e.getMessage()); e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doGet() throws IOException {\n\n // search ressource\n byte[] contentByte = null;\n try {\n contentByte = ToolBox.readFileByte(RESOURCE_DIRECTORY, this.url);\n this.statusCode = OK;\n ContentType contentType = new ContentType(this.extension);\n ...
[ "0.62186503", "0.6143714", "0.60414505", "0.6024494", "0.57008857", "0.5695925", "0.55753285", "0.55433995", "0.55404574", "0.54602563", "0.53097296", "0.5281098", "0.52632976", "0.5247761", "0.52397066", "0.52259535", "0.52070385", "0.5206846", "0.5202026", "0.51795256", "0....
0.76084006
0
endregion region Utility API
private void addDateAction(@NonNull Context context, @NonNull List<GuidedAction> actions, long currentDate) { actions.add(new GuidedDatePickerAction.Builder(context) .id(ACTION_DATE_PICKER) .date(currentDate) .build()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Util() { }", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Util() {\n }", "private OMUtil() { }", "private stendhal() {\n\t}", "private F...
[ "0.67309505", "0.65345156", "0.65345156", "0.6239946", "0.6239946", "0.6239946", "0.6239946", "0.60755557", "0.6009281", "0.6003628", "0.5989609", "0.5923705", "0.5918398", "0.5905361", "0.5905361", "0.5902433", "0.58473396", "0.58230853", "0.580633", "0.580633", "0.5782879",...
0.0
-1
/ creates the graph view. Initializes default parameters.
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { rootView = inflater.inflate(R.layout.fragment_graph_plot, container, false); graph = rootView.findViewById(R.id.graph); initGraph(graph); graphViewEditText = rootView.findViewById(R.id.graphWidthEditText); final Button button = rootView.findViewById(R.id.widthAdjust); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { try { graphWidth = Integer.parseInt(graphViewEditText.getText().toString()); graph.getViewport().setMinX(0); graph.removeAllSeries(); for(CustomPair<String, CustomPair<Integer, Integer>> can:cans) { series.get(can.getKey()).resetData(new DataPoint[]{}); } initGraph(graph); graphViewEditText.setText(""); InputMethodManager inputManager = (InputMethodManager) getActivity().getSystemService(getActivity().INPUT_METHOD_SERVICE); inputManager.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); }catch(NumberFormatException e) { return; } } }); return rootView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GraphView() {\r\n graphModel = new GraphModel();\r\n graphModel.setNoOfChannels(0);\r\n graphModel.setXLength(1);\r\n initializeGraph();\r\n add(chartPanel);\r\n setVisible(true);\r\n }", "private void createGraph() {\r\n graph = new Graph(SHELL, SWT.NONE);\r\n\r\n final G...
[ "0.744516", "0.69708234", "0.6815752", "0.66617113", "0.6518163", "0.65110046", "0.64679664", "0.6389043", "0.6384356", "0.6378575", "0.63764626", "0.63260686", "0.6289596", "0.6273286", "0.62654114", "0.6253026", "0.62314415", "0.6228127", "0.61900055", "0.61603504", "0.6159...
0.0
-1