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
insert record to table selective
int insertSelective(SchedulingPlay record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int insertSelective(Assist_table record);", "void insertSelective(OrderPreferential record) throws SQLException;", "int insertSelective(Enfermedad record);", "int insertSelective(Commet record);", "int insertSelective(Table2 record);", "int insertSelective(Forumpost record);", "int insertSelective(Prue...
[ "0.81889194", "0.7979353", "0.7934133", "0.7930498", "0.79155964", "0.7890657", "0.78646994", "0.78474003", "0.7807074", "0.7801346", "0.7798886", "0.7789977", "0.77874815", "0.7785443", "0.77788824", "0.7768853", "0.7758223", "0.77439445", "0.7743201", "0.77429175", "0.77231...
0.0
-1
select by primary key
SchedulingPlay selectByPrimaryKey(Long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PrhFree selectByPrimaryKey(Integer id);", "Procdef selectByPrimaryKey(String id);", "Disease selectByPrimaryKey(Integer id);", "Abum selectByPrimaryKey(String id);", "Dormitory selectByPrimaryKey(Integer id);", "Yqbd selectByPrimaryKey(Integer id);", "SysId selectByPrimaryKey(String id);", "Kaiwa sel...
[ "0.82872736", "0.8195188", "0.80136865", "0.7918874", "0.7827691", "0.78273815", "0.77874035", "0.778266", "0.77826303", "0.7738281", "0.7730443", "0.770574", "0.7690578", "0.7687502", "0.76771766", "0.765485", "0.76091856", "0.7587789", "0.75776345", "0.751555", "0.749133", ...
0.0
-1
Will render the component at its current state.
public abstract void render(Graphics2D graphics);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void render() {\n\n StateManager.getState().render();\n }", "public void render() {\n }", "public void render() {\r\n\r\n }", "protected void onComponentRendered()\n\t{\n\t}", "protected void render(){}", "public void render()\r\n\t{\n\t}", "@Override\n public void render() {...
[ "0.8213476", "0.70400584", "0.7016086", "0.69803417", "0.6955246", "0.691434", "0.68885285", "0.68885285", "0.6876923", "0.67466813", "0.67420405", "0.6723224", "0.6714269", "0.66990083", "0.66983527", "0.66714835", "0.65795183", "0.6570267", "0.6444883", "0.64243716", "0.641...
0.0
-1
Will update this component with a mouse event, that may trigger an action in it. This method is supposed to be called only when a valid event happened (the mouse is over the component, for example), since it is not guaranteed that implementations will check for that.
public abstract void update(MouseEvent evt, int mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void mouseAction( MouseEvent me )\n {\n \n }", "@Override\n\t\t\tpublic void handle(MouseEvent event) {\n\t\t\t}", "@Override\n public void handle(MouseEvent event) {\n }", "public void mouseEntered( MouseEvent event ){}", "@Override\...
[ "0.7122443", "0.68117416", "0.67812675", "0.6685966", "0.66746634", "0.66618985", "0.6639111", "0.6633616", "0.65895116", "0.65894485", "0.6559037", "0.6559037", "0.6559037", "0.6559037", "0.6559037", "0.6559037", "0.6559037", "0.6558735", "0.6558735", "0.6558735", "0.6540363...
0.0
-1
Will update this component with a mouse wheel event, that may trigger an action in it. This method is supposed to be called only when a valid event happened (the mouse wheel moves at the component), since it is not guaranteed that implementations will check for that.
public abstract void update(MouseWheelEvent evt, int mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mouseWheel(MouseWheelEvent mouseWheelEvent);", "@Override\n public native void mouseWheel(int wheelAmt);", "@Override\n\tpublic void mouseWheelMoved(MouseEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void mouseWheelMoved(int arg0) {\n\t}", "@Override\r\n public void mouseWh...
[ "0.7506558", "0.7333541", "0.7126014", "0.70036155", "0.6855962", "0.68140954", "0.6719253", "0.67143404", "0.66866916", "0.6404295", "0.63837385", "0.634173", "0.63335127", "0.6312894", "0.62268037", "0.61887676", "0.60738134", "0.60730386", "0.60034627", "0.5970618", "0.596...
0.67053986
8
Will update this component with a key event, that may trigger an action in it. This method is supposed to be called only when a valid event happened, since it is not guaranteed that implementations will check for that.
public abstract void update(KeyEvent evt, int mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void keyPressed(KeyPressedEvent keyPressedEvent);", "@Override\r\n\tpublic void keyPressed(KeyEvent key) {\r\n\t\t// Invoke method if the key is pressed. \r\n\t\t// Do nothing, not all three methods need to be used. \r\n\t}", "@Override\n public void onKeyPressed(KeyEvent event) {\n }",...
[ "0.71923786", "0.7101447", "0.70618063", "0.70591015", "0.70591015", "0.70591015", "0.7032547", "0.7031428", "0.70178956", "0.6979844", "0.69605523", "0.6956676", "0.6956441", "0.6943908", "0.69425106", "0.69397765", "0.693331", "0.6928102", "0.69244564", "0.6901462", "0.6898...
0.0
-1
BufferedReader f = new BufferedReader(new FileReader("/Users/spencersharp/Desktop/input.txt"));
public static void main(String[] args) throws IOException { BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); PrintWriter writer = new PrintWriter(new BufferedOutputStream(System.out)); String output = ""; //Write all output to this string //...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void openInput(String file)\r\n\t{\n\t\ttry{\r\n\t\t\tfstream = new FileInputStream(file);\r\n\t\t\tin = new DataInputStream(fstream);\r\n\t\t\tis = new BufferedReader(new InputStreamReader(in));\r\n\t\t}catch(Exception e)\r\n\t\t{\r\n\t\t\tSystem.err.println(e);\r\n\t\t}\r\n\r\n\t}", "public void openFile(){\n\...
[ "0.6740193", "0.6662544", "0.6652363", "0.65906185", "0.6442834", "0.6420198", "0.6381543", "0.63270247", "0.63238484", "0.630331", "0.62438536", "0.6243485", "0.6237703", "0.6230537", "0.6193536", "0.61601615", "0.6101222", "0.60768867", "0.6050758", "0.6050254", "0.60318017...
0.0
-1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login); pDialog = new ProgressDialog(LoginActivity.this); jsonParser = new JsonParser(); appInstance = (JonopriyoApplication) getApplication(); ...
{ "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: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof AwardEntity)) { return false; } AwardEntity other = (AwardEntity) object; if ((this.awardId == null && other.awardId != null) || (this.awardId != null && !this.awardId.equals(other.awardId))) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6896886", "0.6838461", "0.67056817", "0.66419715", "0.66419715", "0.6592331", "0.6579151", "0.6579151", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.65624106", "0.65624106", "0.65441847", "0.65243006", "0.65154546", "0.6487427", "0.64778...
0.0
-1
Adapters for AutoCompleteTextViews for memo and amount.
private void set_autotext_adapters(){ ArrayAdapter<String> amount_adapter = new ArrayAdapter<>(this, android.R.layout.simple_dropdown_item_1line, amount_autos); amount_text = (AutoCompleteTextView) findViewById(R.id.add_group_transaction_amount); amount_text.setAd...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setupAutoComplete() {\n // Map between AutoCompleteTextViews and their Adapters. Some text fields have a custom\n // adapter whose data is updated dynamically (rather than being statically set)\n Map<AutoCompleteTextView, ArrayAdapter<String>> map = new HashMap<>();\n map.p...
[ "0.66071093", "0.621573", "0.60552543", "0.6014064", "0.59443533", "0.5686989", "0.56366086", "0.54755074", "0.54729265", "0.5459597", "0.5456586", "0.5438864", "0.5423296", "0.5389418", "0.5352192", "0.53491926", "0.53312325", "0.53243995", "0.52925444", "0.52760845", "0.527...
0.7357229
0
Checks if at least one user is selected to split bill and if amount is valid.
public void attemptSendData(){ boolean cancel = false; View focusView = null; String amount = amount_text.getText().toString(); // Check for a valid password, if the user entered one. if(userSpinner.getSelectedIndicies().size() == 0) { Toast.makeText(getApplicationCon...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean validateBank() {\n\t\treturn this.getBank().length() > 0 && this.getBank().length() <= 30;\n\t}", "private boolean checkfields() {\n try {\n Integer.parseInt(checknum.getText().toString());\n Integer.parseInt(banknum.getText().toString());\n Integer.parseInt...
[ "0.570182", "0.55899787", "0.5575796", "0.54572165", "0.53790134", "0.5313451", "0.5295544", "0.5290764", "0.5270684", "0.5259581", "0.52521384", "0.52246314", "0.5202002", "0.51638925", "0.5155915", "0.5142704", "0.51313585", "0.51233923", "0.5104798", "0.50949913", "0.50535...
0.6128161
0
Splits amount between all users selected equally. Sends group id, user id, amount, memo, date, and category for each user splitting the bill to the server.
public void sendGroupTransactionData(){ new Thread(new Runnable(){ @Override public void run() { DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault()); Date date = new Date(); String datetime = dateFormat....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendBucks() {\n\t\tconsole.printUsers(userService.getAll(currentUser.getToken()));\n\t\tSystem.out.println(\"\");\n\n\t\tBoolean validResponse = false;\n\t\tint selectedUserId = -1;\n\t\tBigDecimal transferAmount = new BigDecimal(0);\n\t\tBigDecimal zero = new BigDecimal(0);\n\t\tBigDecimal currentBal...
[ "0.548971", "0.54319465", "0.53917956", "0.5100323", "0.5053806", "0.49881008", "0.48669678", "0.48378578", "0.4829267", "0.4824277", "0.47458875", "0.46897894", "0.46501118", "0.4607185", "0.46015948", "0.45900133", "0.4568649", "0.45664304", "0.45641822", "0.45533022", "0.4...
0.5528221
0
A representation of the model object 'Generic Scene Part'.
public interface GenericScenePart extends ICompositor, LNamedElement { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPartString() { return \"Type\"; }", "public DcObjectPart() {\n super(DcModules._OBJECTPART);\n }", "public String toString() {\n\t\treturn \"PartOfSpeechTagger\";\n\t}", "public interface Part\n{\n\t/**\n\t * Add a draw to the part; pool and count to draw from.\n\t * \n\t * @param...
[ "0.58354586", "0.5641904", "0.5535397", "0.55263823", "0.5503362", "0.54213506", "0.5334141", "0.5312413", "0.528284", "0.52531564", "0.5248225", "0.52365625", "0.51270556", "0.5116933", "0.5113682", "0.5103977", "0.5102082", "0.50860167", "0.5085083", "0.50433874", "0.503489...
0.5243189
11
Parser() Parses a JSON message
public void parse(String aMessage) { assert aMessage!=null; assert fBuffer!=null; iMessage=aMessage;//set parse string iIndex=0;//start parsing at first character iRootElement=parseRoot();//parse message }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native Object parse( Object json );", "public static Message parse(JSONObject json) throws JSONException {\n\t\tString text = json.getString(\"text\");\n\t\tDate createdDate = null;\n\t\tif(json.has(\"created_at\")) createdDate = DateParser.parse(json.getString(\"created_at\"));\n\t\tPerson person = Perso...
[ "0.7054281", "0.6838256", "0.654148", "0.6367992", "0.6192972", "0.6161082", "0.6049252", "0.60279685", "0.6024354", "0.6022223", "0.5953447", "0.59335685", "0.58964753", "0.58288985", "0.582858", "0.58213717", "0.57548404", "0.5754256", "0.57366794", "0.5704604", "0.56676257...
0.53937215
36
parse() Returns root element of parsed message
public Element getRootElement() { assert iRootElement!=null; return iRootElement;//here you go }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Element parseRoot() {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n while (peek()<=' ') next();//skip whitespace\r\n switch (peek()) {//switch on next character\r\n case 'n': return new ScalarElement(parseNull());//parse null ...
[ "0.78776795", "0.56729984", "0.5577798", "0.55648005", "0.5556562", "0.5556042", "0.5534612", "0.5522611", "0.5415638", "0.5415474", "0.53816223", "0.53757864", "0.5329245", "0.53176373", "0.5304978", "0.5292683", "0.52731234", "0.5252397", "0.5232541", "0.52076733", "0.51982...
0.0
-1
getRootElement() Returns a JSON string representation of a parsed message
@Override public String toString() { assert iRootElement!=null; return iRootElement.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getRootElement() {\r\n return rootElement;\r\n }", "public String getRootElement() {\n return rootElement;\n }", "public String getRootElem() {\n\t\treturn mRootElem;\n\t}", "java.lang.String getRoot();", "public String getRoot() {\n return root;\n }", ...
[ "0.65626657", "0.64571136", "0.6253074", "0.602218", "0.59471893", "0.5938587", "0.5927589", "0.58403593", "0.5787044", "0.5741997", "0.5739209", "0.57238823", "0.5643891", "0.56381166", "0.5631334", "0.55570704", "0.5550192", "0.55428475", "0.55398333", "0.55398333", "0.5513...
0.5647019
12
toString() Indicates if a parsed message contains a single path
public boolean contains(Path aPath) { assert aPath!=null; assert iRootElement!=null; Element element=iRootElement;//start at root element for (int i=0;i<aPath.fDepth;++i) {//for each level if (aPath.fKeys[i]!=null) {//if object key element=element.getChildElement(aPath.fK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String toString() {\n\t\treturn path.toString();\n\t}", "@Override\n public String toString() {\n final ToString ts = new ToString(this);\n\n ts.append(\"path\", getPath());\n\n return ts.toString();\n }", "@Override\r\n\tpublic String toString() {\r\n\t\tStringBuilder sb = new S...
[ "0.69707245", "0.66212153", "0.6357353", "0.63436806", "0.6248652", "0.62444144", "0.6032237", "0.60024345", "0.5982206", "0.59526247", "0.59405035", "0.5928458", "0.58820677", "0.5858203", "0.5815656", "0.5751427", "0.5748007", "0.57286704", "0.5686261", "0.56577885", "0.565...
0.0
-1
contains Indicates if a parsed message contains all given paths
public boolean containsAll(Path[] aPaths) { assert aPaths!=null; for (int i=0;i<aPaths.length;++i) {//for each path if (!contains(aPaths[i])) return false;//not found, so quit }//for each path return true;//all paths found }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Predicate<String> paths() {\n return or(\n //regex(\"/business.*\"),\n // regex(\"/some.*\"),\n // regex(\"/contacts.*\"),\n // regex(\"/pet.*\"),\n regex(\"/api.*\"),\n regex(\"/oauth2.*\"));\n }", "boole...
[ "0.5827104", "0.57863426", "0.57603985", "0.5689118", "0.5643838", "0.55310994", "0.54399776", "0.54118115", "0.53987134", "0.53159803", "0.5315251", "0.53100145", "0.52702355", "0.52573544", "0.52447766", "0.5241562", "0.52290964", "0.5218713", "0.52132523", "0.52103126", "0...
0.57887787
1
containsAll() Indicates if a parsed message contains any of the given paths
public boolean containsAny(Path[] aPaths) { assert aPaths!=null; for (int i=0;i<aPaths.length;++i) {//for each path if (contains(aPaths[i])) return true;//path found, so quit }//for each path return false;//no paths found }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsAll(Path[] aPaths) {\r\n \r\n assert aPaths!=null;\r\n \r\n for (int i=0;i<aPaths.length;++i) {//for each path\r\n if (!contains(aPaths[i])) return false;//not found, so quit\r\n }//for each path\r\n \r\n return true;//all paths found\r\n \r\n }", "public bool...
[ "0.643425", "0.58672637", "0.585916", "0.585916", "0.5783404", "0.5552729", "0.54667604", "0.5466433", "0.53819424", "0.5370514", "0.53159344", "0.529689", "0.52687484", "0.52370566", "0.52322465", "0.52304584", "0.5224103", "0.5207974", "0.519437", "0.519437", "0.5193299", ...
0.57031435
5
containsAny() Returns an element associated with a path
public Element getElement(Path aPath) { assert aPath!=null; assert iRootElement!=null; if (aPath.fDepth==0) {//if root path return iRootElement;//return root element }//if root path Element element=iRootElement;//start at root element for (int i=0;i<aPath.fDepth;++...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean contains(Path aPath) {\r\n \r\n assert aPath!=null;\r\n assert iRootElement!=null;\r\n \r\n Element element=iRootElement;//start at root element\r\n for (int i=0;i<aPath.fDepth;++i) {//for each level\r\n if (aPath.fKeys[i]!=null) {//if object key\r\n element=element.get...
[ "0.63432217", "0.59628886", "0.5827142", "0.58015764", "0.5736118", "0.5678597", "0.5644313", "0.563882", "0.5587573", "0.5527755", "0.5391121", "0.53650963", "0.5335509", "0.53266305", "0.52820975", "0.5268364", "0.52630466", "0.52600557", "0.5228642", "0.52017725", "0.51969...
0.0
-1
getElement() Returns parsing context
private String context(){ assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); return iMessage.substring(0, iIndex)+" ^ "+iMessage.substring(iIndex);//return parse context }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getElement() { return element; }", "Element getElement();", "String getElement();", "public Object getElement();", "public Object getElement()\r\n\t\t{ return element; }", "public E getElement() { return element; }", "public Object getElement() {\n return element;\n }", ...
[ "0.72253615", "0.71908146", "0.71065396", "0.6973475", "0.69702625", "0.6919434", "0.6709133", "0.67035484", "0.6696752", "0.6676052", "0.66512865", "0.66512865", "0.6649928", "0.65997946", "0.65970343", "0.65858877", "0.65825593", "0.6581888", "0.6576653", "0.65650356", "0.6...
0.0
-1
context() Advances to the next nonwhitespace character from the message being parsed
private char next(){ assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); if (iIndex>=iMessage.length()) return NONE;//return no character if beyond end of the message return iMessage.charAt(iIndex++);//return current character and advance to next }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex);//return parse context\r\n \r\n }", "private void processPendingText() throws SAXException {\n ...
[ "0.74845153", "0.5806031", "0.57842237", "0.5715033", "0.5503114", "0.5465786", "0.54589677", "0.54129446", "0.5402472", "0.539921", "0.5355861", "0.53054637", "0.52787197", "0.5254943", "0.52234685", "0.5157312", "0.5141034", "0.5132525", "0.5115028", "0.5104081", "0.5075775...
0.534841
11
next() Peeks at the next character from the message being parsed
private char peek(){ assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); if (iIndex>=iMessage.length()) return NONE;//return no character if beyond end of the message return iMessage.charAt(iIndex);//return current character }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private char next(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n if (iIndex>=iMessage.length()) return NONE;//return no character if beyond end of the message\r\n return iMessage.charAt(iIndex++);//return current character and advance to nex...
[ "0.7408231", "0.73470396", "0.71755266", "0.6744411", "0.6622708", "0.6529881", "0.651135", "0.6502373", "0.64960366", "0.64802295", "0.6455855", "0.63804144", "0.6352913", "0.6351947", "0.63508195", "0.6346253", "0.6316654", "0.6312398", "0.6304799", "0.62920594", "0.6264558...
0.6777861
3
peek() Rewinds to previous character in the message being parsed
private void back(){ assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); if (iIndex==0) return;//if at start of message --iIndex;//move back one character }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private char peek(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n if (iIndex>=iMessage.length()) return NONE;//return no character if beyond end of the message\r\n return iMessage.charAt(iIndex);//return current character\r\n \r\n }", "...
[ "0.7574588", "0.7528488", "0.74608356", "0.727385", "0.7225999", "0.7123804", "0.71197426", "0.69953895", "0.69210243", "0.67805845", "0.6760693", "0.6760693", "0.6663364", "0.6663364", "0.6663364", "0.6594658", "0.6567133", "0.6567133", "0.6567133", "0.6567133", "0.6565672",...
0.6039735
57
back() Skips over one or more characters
private void skip(int aSkip){ assert aSkip>=0; assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); iIndex+=aSkip;//advance index by the skip distance if (iIndex>=iMessage.length()) iIndex=iMessage.length();//if beyond end then set index at end of message ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void back(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n if (iIndex==0) return;//if at start of message\r\n --iIndex;//move back one character\r\n \r\n }", "void moveBack()\n\t{\n\t\tif (length != 0) \n\t\t{\n\t\t\tcursor = bac...
[ "0.7524059", "0.719681", "0.68650687", "0.6747463", "0.6719109", "0.6606537", "0.6591109", "0.6531761", "0.6519905", "0.6503984", "0.6441715", "0.64261466", "0.63619536", "0.6331306", "0.6302998", "0.62960905", "0.62641954", "0.6261813", "0.6225146", "0.6167164", "0.6137094",...
0.0
-1
skip() Parses a string from the message
private String parseString () { assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); fBuffer.delete(0, fBuffer.length());//empty string buffer char chr=next();//consume opening quote assert chr=='"';//assert quote found chr=next();//get next cha...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void skip(int aSkip){\r\n \r\n assert aSkip>=0;\r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n iIndex+=aSkip;//advance index by the skip distance\r\n if (iIndex>=iMessage.length()) iIndex=iMessage.length();//if beyond end then set index a...
[ "0.6810334", "0.5901487", "0.5826578", "0.5626369", "0.5615032", "0.55577916", "0.5517019", "0.548505", "0.5452711", "0.5443076", "0.54421645", "0.54273003", "0.53777164", "0.5353525", "0.533074", "0.5328993", "0.53160083", "0.5295594", "0.5290001", "0.5284647", "0.5278182", ...
0.47295874
84
parseString() Parses a number from the message
private String parseNumber () { assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); fBuffer.delete(0, fBuffer.length());//empty string buffer char chr=next();//get next character assert "-0123456789".indexOf(chr)>=0;//assert valid start characte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parse(final String s) throws NumberFormatException {\r\n\t}", "public int parseNumber(String str) {\r\n \r\n try {\r\n int i = Integer.parseInt(str);\r\n return i;\r\n } catch (Exception e) {\r\n \r\n }\r\n \r\n return 0;\r\n ...
[ "0.67956775", "0.6492405", "0.64365476", "0.6376886", "0.6283712", "0.6138266", "0.5987774", "0.59604925", "0.5952859", "0.59499955", "0.5884228", "0.58773845", "0.58709216", "0.5854708", "0.5818846", "0.57436067", "0.5719741", "0.57025117", "0.5696873", "0.5687964", "0.56867...
0.75983274
0
parseNumber() Parses a boolean token from the message
private String parseBoolean () { assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); char chr=next();//get next character assert "ft".indexOf(chr)>=0;//assert valid boolean start character switch (chr) {//switch on first character case 'f': skip(4)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract boolean parse ();", "public static boolean parse_boolean(String value) {\n\t return value.equalsIgnoreCase(\"true\") || value.equalsIgnoreCase(\"T\");\n }", "public boolean readBoolean() throws IOException {\n int token = fTokenizer.nextToken();\n if (token == StreamTokenizer.TT_NUMBER...
[ "0.6385502", "0.63222045", "0.62371397", "0.60302746", "0.59977424", "0.5996413", "0.5971827", "0.5940403", "0.59103197", "0.57968354", "0.574928", "0.5645086", "0.56154156", "0.5488402", "0.5488017", "0.5454217", "0.5435024", "0.542722", "0.53916276", "0.53594077", "0.535099...
0.6544114
0
parseBoolean() Parses a null token from the message
private String parseNull () { assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); char chr=next();//get next character assert chr=='n';//assert correct first character skip(3);//skip to end of null token return "null";//return string representa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String parseBoolean () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n char chr=next();//get next character\r\n assert \"ft\".indexOf(chr)>=0;//assert valid boolean start character\r\n switch (chr) {//switch on first character\r...
[ "0.6620521", "0.62457824", "0.6208089", "0.5967905", "0.59392387", "0.5834743", "0.5660468", "0.565148", "0.5589288", "0.55379695", "0.55247736", "0.5504017", "0.5496779", "0.5421971", "0.5408314", "0.53810245", "0.5363495", "0.5359741", "0.53547", "0.53455514", "0.5339719", ...
0.5649769
8
parseNull() Parses a message as the root element (object or array)
private Element parseRoot() { assert iMessage!=null; assert iIndex>=0; assert iIndex<=iMessage.length(); while (peek()<=' ') next();//skip whitespace switch (peek()) {//switch on next character case 'n': return new ScalarElement(parseNull());//parse null case 'f': ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String parseNull () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n char chr=next();//get next character\r\n assert chr=='n';//assert correct first character\r\n skip(3);//skip to end of null token\r\n \r\n return \"null\"...
[ "0.70518744", "0.5711539", "0.5686496", "0.56457096", "0.5542297", "0.535323", "0.5311035", "0.529095", "0.5284922", "0.5252358", "0.52335876", "0.5210929", "0.5181396", "0.51733685", "0.5158489", "0.5116152", "0.51008147", "0.5097083", "0.50949574", "0.50926286", "0.50914776...
0.6261028
1
parseRoot() Parses an array element
private LinkedList<Element> parseArray() { LinkedList<Element> array=new LinkedList<>();//create linked list char chr=next();//consume first character assert chr=='[';//assert first character is an open square bracket while (chr!=']') {//until closing bracket switch (pee...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Element parseRoot() {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n while (peek()<=' ') next();//skip whitespace\r\n switch (peek()) {//switch on next character\r\n case 'n': return new ScalarElement(parseNull());//parse null ...
[ "0.61802644", "0.58236295", "0.56341505", "0.5499196", "0.54788625", "0.53529716", "0.5316055", "0.5276897", "0.527325", "0.5270951", "0.526754", "0.5166289", "0.5165887", "0.51607466", "0.507578", "0.50525194", "0.5031893", "0.5002394", "0.49642763", "0.49157164", "0.4867853...
0.6580501
0
parseArray() Parses an object
private TreeMap<String,Element> parseObject() { TreeMap<String,Element> object=new TreeMap<>();//create hashed map char chr=next();//consume first character assert chr=='{';//assert first character is open curly bracket while (chr!='}') {//until closing bracket found ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic abstract T[] parse(Object valueToParse, Type componentType);", "void decodeObjectArray();", "public interface Parser {\n\n ParsedObject[] parse();\n}", "public native Object parse( Object json );", "private LinkedList<Element> parseArray() {\r\n \r\n LinkedList<Element> array=ne...
[ "0.6831008", "0.65786046", "0.64991295", "0.6258864", "0.61933434", "0.60940266", "0.60788697", "0.5940282", "0.59068924", "0.58963305", "0.5890547", "0.5810568", "0.5760591", "0.57367855", "0.5729832", "0.5705697", "0.5648754", "0.55151653", "0.5508372", "0.5507326", "0.5481...
0.4800289
82
TODO Autogenerated method stub
public void process(String arg0, MessageTypes arg1, InboundMessage msgTemp) { System.out.println("IInboundMessageNotification handler called from Gateway(收到短信后): " + arg0); if(msgTemp!=null){ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd hh-mm-ss"); System.out.println("时间:" + df.format(msgTem...
{ "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
Overriding compare()method of Comparator for descending order of cgpa
public int compare(Student s1, Student s2) { if (s1.cgpa < s2.cgpa) return 1; else if (s1.cgpa > s2.cgpa) return -1; else return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int compare(Cabina o1, Cabina o2) {\n\t\treturn o1.getNumero()-o2.getNumero();\n\t}", "protected Comparator<VirtualMachine> makeDecreasingVirtualMachineComparator() {\n return new Comparator<VirtualMachine>() {\n Comparator<Machine> cap_comp = makeDecreasingMachineComparator...
[ "0.65755343", "0.65723914", "0.62955016", "0.6280027", "0.6251711", "0.62089896", "0.61971444", "0.6178507", "0.6150544", "0.6130988", "0.6128881", "0.61038965", "0.60795695", "0.6078777", "0.6062102", "0.6059242", "0.6055989", "0.60457397", "0.6044336", "0.603924", "0.601647...
0.57542366
67
Setup the click & other events listeners for the view components of this screen. You can add your logic for Binding the data to TextViews and other views as per your need.
private void setupView() { nameET = (EditText)findViewById(R.id.newPlaceName); addressET = (EditText)findViewById(R.id.placeAddress); cityET = (EditText)findViewById(R.id.cityET); View b = findViewById(R.id.placeBtnCancel); b.setOnTouchListener(TOUCH); b.setOnClickListener(this); View b2 = findViewBy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setupUI() {\n textView = (TextView) findViewById(R.id.textView);\n viewGradeButton = (Button) findViewById(R.id.viewAllBillsButton);\n viewDash = (Button) findViewById(R.id.viewDash);\n\n //Listen if the buttons is clicked\n viewGradeButton.setOnClickListener(onCli...
[ "0.7110149", "0.7076485", "0.6933528", "0.686643", "0.68338376", "0.6783966", "0.6780786", "0.6761745", "0.6632441", "0.66002434", "0.6570018", "0.649681", "0.64533883", "0.64468044", "0.64353055", "0.6409571", "0.6365172", "0.63366485", "0.6325624", "0.63203686", "0.63091576...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { int i = 0, hap = 0; for (;i <= 100; i++) { //만약 while문을 통해 증감식을 수행하도록 하면 45가 아닌 46이 값으로 나온다. 주의할 것. hap += i; if (hap >= 1000) break; } System.out.printf(" 총합이 1000을 넘기는 시점은 %d를 더하는 시점입니다.\n", i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Create "PROBLEMS" table in database
public void createTable(Database database) throws SQLException{ database.createTable(PEOPLE_TABLE_NAME, PEOPLE_TABLE_CREATION_ARGS); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createTable() throws DatabaseException\n\t{\n\t\tConnection connection = DatabaseManager.getSingleton().getConnection();\n\t\ttry\n\t\t{\n\t\t\tClosingPreparedStatement stmt = new ClosingPreparedStatement(connection,\n\t\t\t\t\t\"DROP TABLE IF EXISTS QuestStates\");\n\t\t\tstmt.executeUpdate();\n\t\t\t...
[ "0.59870064", "0.59128517", "0.5910527", "0.58797675", "0.58252907", "0.57802105", "0.57500863", "0.5729046", "0.56120086", "0.5603162", "0.5599257", "0.55722666", "0.5549623", "0.553054", "0.5517207", "0.54885143", "0.54860127", "0.54731995", "0.54707164", "0.5464786", "0.54...
0.5565145
12
Creates new form Accueil
public Accueil() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JFrmPagoCuotaAnulacion() {\n setTitle(\"JFrmPagoCuotaAnulacion\");\n initComponents();\n }", "public CreateAccout() {\n initComponents();\n showCT();\n ProcessCtr(true);\n }", "public frmAfiliado() {\n initComponents();\n \n }", "public Cada...
[ "0.6668379", "0.66271716", "0.63809925", "0.6318345", "0.6294048", "0.6266555", "0.62599874", "0.6223603", "0.61626524", "0.61154026", "0.6108802", "0.6094353", "0.60739136", "0.6060112", "0.6030295", "0.5991882", "0.59664685", "0.59640205", "0.5954169", "0.59332514", "0.5927...
0.7105351
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel3 = new java...
{ "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.73185146", "0.7290127", "0.7290127", "0.7290127", "0.7285798", "0.7247533", "0.7214021", "0.720785", "0.71952385", "0.71891224", "0.7184117", "0.7158779", "0.7147133", "0.70921415", "0.70792264", "0.7055538", "0.6986984", "0.6976409", "0.6955238", "0.69525516", "0.69452786...
0.0
-1
$ANTLR start "start" C:\\development\\workspace\\LettersThenDigits\\src\\main\\java\\exp\\parser\\raw\\LettersThenDigitsParser.g:11:1: start : ( LETTER )+ ( DIGIT ) ;
public final void start() throws RecognitionException { try { // C:\\development\\workspace\\LettersThenDigits\\src\\main\\java\\exp\\parser\\raw\\LettersThenDigitsParser.g:12:5: ( ( LETTER )+ ( DIGIT )* ) // C:\\development\\workspace\\LettersThenDigits\\src\\main\\java\\exp\\parser\\ra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mID() throws RecognitionException {\r\n try {\r\n int _type = ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:4: ( LETTER ( DIGIT | LETTER )* )\r\n ...
[ "0.6027378", "0.5520299", "0.551011", "0.5501544", "0.546843", "0.54015064", "0.53464925", "0.5331045", "0.52169454", "0.520345", "0.5197103", "0.5133185", "0.51205987", "0.51137453", "0.51118296", "0.50729734", "0.5070435", "0.50568455", "0.503756", "0.50309455", "0.5025153"...
0.8352203
0
Serialize and Send Properties Object to Server
public String serializeAndSendProObj(LinkedProperties p){ try(FileOutputStream fs = new FileOutputStream(p.getProperty("CarMake")+p.getProperty("CarModel")+p.getProperty("Style")+".serproobj")) { ObjectOutputStream os = new ObjectOutputStream(fs); os.writeObject(p); os.clos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendObjectToServer (Object obj) throws IOException,\n ClassNotFoundException {\n\n ObjectOutputStream out = new ObjectOutputStream(socket.getOutputStream());\n out.writeObject(obj);\n out.flush();\n }", "private void send...
[ "0.61840796", "0.58382964", "0.57983047", "0.56903416", "0.5679986", "0.5669025", "0.55758506", "0.55295026", "0.549918", "0.5488314", "0.54696727", "0.5436044", "0.5412572", "0.5406997", "0.54056275", "0.53968114", "0.5388116", "0.53630435", "0.535856", "0.5345642", "0.53361...
0.679348
0
Sets the identifier of the portlet type to the value specified in the ArticlesListPortletHome class
public FormPortlet( ) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updatePortletCategory(PortletCategory category);", "public void setIdType(int idType) {\r\n this.idType = idType;\r\n }", "public EntityID(PortletID portletID) {\n this.portletID = portletID;\n }", "public void setId_type(String id_type) {\n this.id_type = id_type;\n ...
[ "0.5661132", "0.5608591", "0.55456716", "0.54986846", "0.5457354", "0.54533386", "0.54128844", "0.54081213", "0.53757405", "0.535552", "0.53340703", "0.53039366", "0.5224759", "0.52204305", "0.5159714", "0.5142324", "0.51316625", "0.51072073", "0.5052366", "0.5034634", "0.503...
0.0
-1
Returns the Xml code of the form portlet without XML heading
@Override public String getXml( HttpServletRequest request ) { Plugin plugin = PluginService.getPlugin( this.getPluginName( ) ); Locale locale; if ( request != null ) { locale = request.getLocale( ); } else { locale = Locale.getDef...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getXml( HttpServletRequest request )\n {\n StringBuffer strXml = new StringBuffer( );\n\n XmlUtil.beginElement( strXml, TAG_JASPER_PORTLET );\n XmlUtil.addElementHtml( strXml, TAG_JASPER_PORTLET_CONTENT, _strJasperFeedId );\n XmlUtil.endElement( strXml, TAG_JASPER_PORTL...
[ "0.5453635", "0.5401757", "0.5316445", "0.527799", "0.52551216", "0.52045655", "0.52029353", "0.5182455", "0.51646036", "0.51027447", "0.5062751", "0.506083", "0.5046853", "0.50366974", "0.50234544", "0.5022934", "0.5016615", "0.4998309", "0.4997565", "0.49851975", "0.4982359...
0.5776245
0
Returns the Xml code of the form portlet with XML heading
@Override public String getXmlDocument( HttpServletRequest request ) { return XmlUtil.getXmlHeader( ) + getXml( request ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getXml( HttpServletRequest request )\n {\n Plugin plugin = PluginService.getPlugin( this.getPluginName( ) );\n Locale locale;\n\n if ( request != null )\n {\n locale = request.getLocale( );\n }\n else\n {\n local...
[ "0.5466563", "0.5277952", "0.52565676", "0.5254673", "0.518964", "0.5125584", "0.50864637", "0.5034666", "0.4986931", "0.4978206", "0.49664512", "0.49617374", "0.4953013", "0.4933034", "0.4922839", "0.4922603", "0.49216244", "0.4878053", "0.48742986", "0.48684573", "0.4834773...
0.0
-1
Updates the current instance of the form portlet object
public void update( ) { FormPortletHome.getInstance( ).update( this ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update( )\n {\n JasperPortletHome.getInstance( ).update( this );\n }", "public FormPortlet( )\n {\n }", "public void update(KmsPortlet arg0) {\n\n\t}", "@Override\n public void remove( )\n {\n FormPortletHome.getInstance( ).remove( this );\n }", "public update...
[ "0.69367856", "0.61367375", "0.59132046", "0.5853215", "0.56684434", "0.5637589", "0.560566", "0.55934864", "0.5464329", "0.54234195", "0.53800756", "0.53566444", "0.53549904", "0.5342104", "0.5332542", "0.53204787", "0.5309481", "0.52914", "0.529042", "0.529042", "0.52816594...
0.80558455
0
Removes the current instance of the the form portlet object
@Override public void remove( ) { FormPortletHome.getInstance( ).remove( this ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void remove( )\n {\n JasperPortletHome.getInstance( ).remove( this );\n }", "@Override\n\tpublic void removeForm(ERForm form) {\n\t\t\n\t}", "public void removeAllPortlet()\r\n {\r\n _portletList.removeAllElements();\r\n }", "Form removeElement(String id);", "@Override\n\tp...
[ "0.73191804", "0.66758406", "0.63312656", "0.63082105", "0.63079965", "0.62351704", "0.6226729", "0.62258595", "0.6106462", "0.6075205", "0.60434043", "0.5981553", "0.597119", "0.5951962", "0.59228474", "0.5894882", "0.5852124", "0.5779922", "0.57465565", "0.5745962", "0.5744...
0.85163057
0
int a = x + y; 1 0001 !=
public static void main(String[] args) { methodA(); methodB(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int method01(int a, int b) {\n\n\t\ta = a + b;\n\t\treturn a;\n\t}", "public void puzzle4(){\n\t\tshort x = 0;\n\t\tint i = 123456;\n\t\tx += i; // narrowing primitive conversion [JLS 5.1.3]\n\t\t//x = x + i; // wont compile:possible loss of precision\n\t\tSystem.out.println(\"Value of x \"+x);\n\t}", "static ...
[ "0.632377", "0.6282849", "0.62071615", "0.61716247", "0.6063687", "0.6039725", "0.59763545", "0.59441805", "0.5873004", "0.5776137", "0.57642496", "0.57485884", "0.5747871", "0.5728468", "0.5710622", "0.5649279", "0.5640316", "0.56181717", "0.5611085", "0.56026584", "0.559716...
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() { jScrollPane1 = new javax.swing.JScrollPane(); inventoryTable = new javax.swing.JTable(); vaccineRequestButton = new javax.swing.JButto...
{ "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.7319037", "0.7290621", "0.7290621", "0.7290621", "0.7285163", "0.72480375", "0.72130316", "0.7207723", "0.7195822", "0.7189463", "0.7183591", "0.71580946", "0.7147075", "0.70924276", "0.70795405", "0.7056352", "0.6986753", "0.6976759", "0.6954958", "0.69533294", "0.6944831...
0.0
-1
copy inputs over calculation registers
private void setInputsAndCleanCalculationRegisters(double[] inputs) { System.arraycopy(inputs, 0, registers, 0, inputs.length); // copy clean registers to the rest of calculation registers System.arraycopy(cleanCalculationRegisters, inputs.length, registers, inputs.length, cleanCalculationRegisters....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void copyOp(Scanner input) {\n\t\tprogramStack.add(\"copy\");\n\n\t\twhile (input.hasNext()){\n\t\t\tString token = input.next();\n\t\t\tif(token.equalsIgnoreCase(\"add\"))\n\t\t\t\taddOp(input);\n\t\t\telse\n\t\t\t\tprogramStack.push(token);\n\t\t}\n\n\t\twhile (!programStack.peek().equalsIgnoreCase(\"cop...
[ "0.6170102", "0.58015674", "0.54499006", "0.536321", "0.5226792", "0.5199887", "0.51375175", "0.51159555", "0.50969195", "0.5092079", "0.5054975", "0.5033607", "0.5031121", "0.49660656", "0.49195233", "0.49136713", "0.4896004", "0.48898736", "0.48683092", "0.48559934", "0.484...
0.70366454
0
Requesting an instance of AccountService will give you back a proxy instead of the real service.
public static AccountService getAccountService(){ return new AccountServiceProxy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AccountService getAccountService(){\n return accountService;\n }", "public void setAccountService(AccountService accountService){\n this.accountService = accountService;\n }", "public interface IWecorpAccountService extends IBaseService<WecorpAccount>, ProxySelf<IWecorpAccountService> {\n\n p...
[ "0.74153477", "0.6627813", "0.65362906", "0.64952874", "0.649226", "0.6490701", "0.6393051", "0.6373713", "0.629996", "0.6258119", "0.6062117", "0.6011901", "0.5921989", "0.5912265", "0.5870629", "0.58564293", "0.5838948", "0.58354986", "0.5833882", "0.5811215", "0.57855713",...
0.8532181
0
TODO Autogenerated method stub
@Override public String createNode(String type,String name,String time,String loca,String phone, String desc,String axisId ) { Node node = new Node(type, name, time, loca, phone, desc, axisId); hibernatedao.insert(null, node); return node.getId(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void deleteNode(String nodeId) { Node node = (Node) hibernatedao.queryData(nodeId, Node.class); hibernatedao.delete(null, node); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Node getNodeById(String id) { return (Node) hibernatedao.queryData("from Node n where n.id = "+id, Node.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void updateTC(String nodeId, String title, String content) { Node node = (Node)hibernatedao.queryData(nodeId, Node.class); node.setTitle(title); node.setContent(content); hibernatedao.update(null, node); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public List<Node> getAllNodesByAxisId(String axisId) { return hibernatedao.queryList("from Node n where n.axisId = '"+axisId+"'", null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Gets the input path.
public String getpathInput() { return pathInput; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInputPath() {\n\t\treturn inputPath;\n\t}", "static Path getInputPath(Configuration conf) {\n String in = conf.get(MRUtils.INPUT_PATH);\n if (in == null) {\n return null;\n }\n return new Path(in);\n }", "Path getBaseInputDir();", "public String getI...
[ "0.7734138", "0.73820627", "0.7146575", "0.7125937", "0.6952096", "0.6952096", "0.6952096", "0.6952096", "0.6952096", "0.6905408", "0.6902308", "0.6773562", "0.6749119", "0.6717413", "0.6705646", "0.6692616", "0.6690148", "0.6690148", "0.6690148", "0.66489816", "0.66162676", ...
0.79238546
0
Gets the output path.
public String getpathOutput() { return pathOutput; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getOutputPath()\n {\n return __m_OutputPath;\n }", "public String getOutputPath () \n\t{\n\t\treturn outputPathTextField.getText();\n\t}", "public String getOutputPath() {\n\t\treturn outputPath;\n\t}", "public String getPathFileOut() {\r\n\t\treturn pathFileOut;\r\n\t}", ...
[ "0.84319663", "0.83199424", "0.8276753", "0.7883714", "0.7804139", "0.75962764", "0.7516509", "0.7513653", "0.7492382", "0.7457734", "0.7435459", "0.73991036", "0.7390265", "0.7363911", "0.7332934", "0.717777", "0.71386343", "0.70963216", "0.7058683", "0.6979463", "0.6929218"...
0.7854539
4
/ renamed from: a
public static boolean m2552a() { return VERSION.SDK_INT >= 16; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public static boolean m2553b() { return VERSION.SDK_INT >= 18; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: c
public static boolean m2554c() { return VERSION.SDK_INT >= 19; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: d
public static boolean m2555d() { return VERSION.SDK_INT >= 20; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: e
public static boolean m2556e() { return VERSION.SDK_INT >= 21; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: f
public static boolean m2557f() { return VERSION.SDK_INT >= 24; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155...
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227...
0.0
-1
/ renamed from: g
public static boolean m2558g() { return VERSION.SDK_INT > 25 || "O".equals(VERSION.CODENAME) || VERSION.CODENAME.startsWith("OMR"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: ...
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6105423", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent ev) { String command = ev.getActionCommand(); if (command.equals("Enter")) { showResult(); } else if (command.equals("Reset")) { reset(); } }
{ "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: How to test this?
@Ignore @Test public void kingSecurity() { board = new Board("rnbqkbnr/ppp2ppp/8/8/8/8/3PPPPP/RNBQKBNR w qkQK -"); board.printBoard(); int value = StaticEvaluator.getValue(board.getSquares()); assertTrue(value > 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Ov...
[ "0.5684486", "0.56690586", "0.56514835", "0.5517198", "0.54124206", "0.5360215", "0.5345321", "0.5345321", "0.5345321", "0.5345321", "0.5345321", "0.5345321", "0.5307619", "0.527902", "0.5268941", "0.5257849", "0.5238979", "0.5228875", "0.5186055", "0.5178821", "0.51754", "...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Emp emp = new Address(); emp.show(); emp.stop(); Address address = (Address) emp; address.run(); }
{ "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
The 'which' argument contains the index position of the selected item
public void onClick(DialogInterface dialog, int which) { dialog.dismiss(); Log.e(TAG, "===================> Wifi choose: "+which); Log.e(TAG, "===================> Wifi choose: "+wifis.get(which).toString()); String ssid = wifis.get(which)....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getSelectionIndex() {\n checkWidget();\n return selectedIndex;\n }", "int getSelectedClientIndex();", "static int getIndexSelected() {\n return indexSelected;\n }", "public int getSelectedIndex() {\r\n\t\t\treturn idx;\r\n\t\t}", "public int getSelectionIndex() {\n\t\...
[ "0.6980292", "0.6675483", "0.6639187", "0.66207767", "0.6478555", "0.641538", "0.639817", "0.6392816", "0.63758737", "0.6347876", "0.63474745", "0.632536", "0.63197136", "0.63148355", "0.6295352", "0.6294193", "0.6293649", "0.62230945", "0.61940414", "0.61726665", "0.61673826...
0.0
-1
Crea una interfaz de usuario
public InterfazDeUsuario(MotorDeCalculadora motor) { calc = motor; mostrandoAutor = true; hacerCuadro(); frame.setVisible(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);", "public IUser CreateUser() {\n\t\tIUser iUser = null;\n\t\tswitch (db) {\n\t\tcase \"Mysql\":\n\t\t\tiUser = new MysqlUserImpl();\n\t\t\tbreak;\n\t\tcase \"Access\":\n\t\t\tiUser = new AccessUs...
[ "0.73931736", "0.720927", "0.71507645", "0.7088499", "0.7046184", "0.69301647", "0.69113696", "0.6823006", "0.67804545", "0.6723172", "0.6723172", "0.67154175", "0.66983086", "0.66541684", "0.6649575", "0.66242516", "0.66175246", "0.66164756", "0.658645", "0.65648216", "0.653...
0.0
-1
Establece la visibilidad de la interfaz
public void setVisible(boolean visible) { frame.setVisible(visible); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isVisible();", "boolean isVisible();", "public Boolean isVisible();", "public Boolean isVisible();", "public boolean isVisible();", "public boolean isVisible();", "public boolean isVisible();", "@Override\n public boolean isVisible()\n {\n return true;\n }", "public boolean ...
[ "0.6902706", "0.6902706", "0.67814267", "0.67814267", "0.6742157", "0.6742157", "0.6742157", "0.6704047", "0.67003316", "0.66863734", "0.66863734", "0.66648024", "0.6651343", "0.6618781", "0.6610928", "0.6573091", "0.6528118", "0.64976", "0.6457339", "0.64400446", "0.6389454"...
0.0
-1
Crea el marco para la interfaz de Usuario
private void hacerCuadro() { frame = new JFrame(calc.getTitulo()); JPanel contenedor = (JPanel)frame.getContentPane(); contenedor.setLayout(new BorderLayout(8, 8)); contenedor.setBorder(new EmptyBorder( 10, 10, 10, 10)); visor = new JTextField(); contenedor....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UsuarioControlador() {\n }", "public ControladorUsuario() {\n }", "public OmsUsuario() {\n\t}", "public UsuarioMB() {\n }", "public Usuario () {\r\n\t\t\r\n\t\t\r\n\t}", "public UsuarioControlador() {\r\n\t\tsuper(Usuario.class);\r\n\t}", "public Usuario(int idUsuario, String nome, Stri...
[ "0.63824546", "0.6331748", "0.6316479", "0.631598", "0.6274114", "0.6267061", "0.6219095", "0.61889976", "0.61889976", "0.6090456", "0.5998778", "0.59601873", "0.59398025", "0.5905038", "0.5902486", "0.5853398", "0.5842521", "0.5841961", "0.58274865", "0.5815672", "0.580905",...
0.0
-1
Actualizar la interfaz visor para mostrar el valor actual del la calculadora
private void actualizarVisor() { visor.setText("" + calc.getValorEnVisor()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void salarioAtual() {\n\t\tSystem.out.print(\"VALOR ATUAL\"+this.valor);\r\n\t\t\r\n\t}", "public void atualizar() {\n System.out.println(\"Metodo atualizar chamado!\");\n setR1(0);\n setR2(0);\n setR3(0);\n setN(0);\n\n //context.addMessage(null, n...
[ "0.6528828", "0.64791876", "0.63995385", "0.6364038", "0.6336567", "0.6299412", "0.62882274", "0.6260763", "0.6119155", "0.6097505", "0.6089053", "0.60515815", "0.60388017", "0.59623814", "0.5958574", "0.5950724", "0.595066", "0.59370697", "0.592822", "0.59069514", "0.5891418...
0.83609957
0
Setter to add KeyInfo to stack.
public static void setKeyInfo(Map<String, String> keyInfo) { keyInfos.get().push(keyInfo); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackElement(final K key, final V value)\n {\n this.key = key;\n this.value = value;\n }", "public void setKeyInfo(PGPKeyInfo pgpKeyInfo) {\n pgpSigner.setKeyInfo(pgpKeyInfo);\n }", "void setAuthInfoKey(Object key);", "public void addKey() {\n setBonusKeys(get...
[ "0.5980612", "0.59323573", "0.58803946", "0.5730752", "0.5558142", "0.55003196", "0.5382507", "0.5312345", "0.52814966", "0.5259413", "0.5229882", "0.5174257", "0.5116615", "0.5106569", "0.509125", "0.5091133", "0.5054706", "0.50434494", "0.50157255", "0.49886265", "0.4979368...
0.67487925
0
Override toString Request Dto.
private static void setRequest(Object request) { if (null != request) { MDC.put(ApplicationConstants.REQUEST, request.toString()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }", "@Override\n public String toString()\n {\n return BasicLineFormatter.DEFAULT.formatRequestLine(null, this).toString();\n }", "@Override\n public String toString() {\n return...
[ "0.70186836", "0.70060885", "0.7003108", "0.7003108", "0.7003108", "0.69903", "0.68684065", "0.686773", "0.6822501", "0.68189716", "0.67021024", "0.66903335", "0.6669763", "0.66629344", "0.66629344", "0.6661516", "0.6643912", "0.6616568", "0.6607679", "0.6568322", "0.6564273"...
0.0
-1
Override toString Response Dto.
public static void setResponse(Object response) { if (null != response) { MDC.put(ApplicationConstants.RESPONSE, response.toString()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString() {\n return jsonString;\n }", "@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }", "@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }", "@Override\n ...
[ "0.7097069", "0.70148003", "0.69952965", "0.69952965", "0.69952965", "0.69814676", "0.69769555", "0.6950417", "0.6905615", "0.68392974", "0.6832867", "0.67975783", "0.66777796", "0.66360193", "0.6622952", "0.6622952", "0.6599177", "0.6595148", "0.6573517", "0.65622973", "0.65...
0.0
-1
For getting the temp request.
public static String getTempRequest() { return MDC.get(ApplicationConstants.TEMP_REQUEST); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected TrellisRequest getRequest() {\n return request;\n }", "public GhRequest getRequest() {\r\n return localRequest;\r\n }", "public GhRequest getRequest() {\r\n return localRequest;\r\n }", "public Request getRequest() {\r\n return localRequest;\...
[ "0.6938049", "0.6927306", "0.6927306", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "0.6922104", "...
0.74212754
0
Convert the Object to JSON.
public static String jsonPrint(final Object object, final Class clazz) { final ObjectMapper objectMapper = new ObjectMapper(); String jsonStr = ""; try { final Object jsonObj = objectMapper.readValue(objectMapper.writeValueAsString(object), clazz); jsonStr = objectMapper.writeValueAsString(jsonObj); } cat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Object toJson();", "public String toJson(Object obj){\n return new Gson().toJson(obj);\n }", "byte[] toJson(Object object) throws Exception {\r\n return this.mapper.writeValueAsString(object).getBytes();\r\n }", "public String toJsonfrmObject(Object object) {\n try...
[ "0.77390045", "0.7619253", "0.76182246", "0.7566917", "0.75376326", "0.74924713", "0.74288917", "0.74171764", "0.73599344", "0.73375684", "0.73375684", "0.7304452", "0.72333664", "0.72233427", "0.721689", "0.721689", "0.721689", "0.721689", "0.721689", "0.721689", "0.721689",...
0.0
-1
Override serviceName during error Scenario from TdpExceptionHandler.
public static void setServiceName(String serviceName) { MDC.put(ApplicationConstants.SERVICE_NAME, serviceName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void onServiceError(String error) {\n\n\t\t}", "@Override\n\t\tpublic void onServiceError(String error) {\n\n\t\t}", "public void setServiceName(String serviceName){\n this.serviceName = serviceName;\n }", "public void setServiceName(String serviceName)\r\n {\r\n this.serv...
[ "0.6634793", "0.6634793", "0.65054", "0.6370436", "0.6357495", "0.63298994", "0.6268418", "0.62613535", "0.62613535", "0.5996683", "0.588053", "0.58598715", "0.58569235", "0.5854652", "0.58294976", "0.5821224", "0.5774457", "0.5748469", "0.57290536", "0.5691928", "0.56705016"...
0.5400565
35
Set Service Url from Client Service.
public static void setRemoteAddr(String serviceUrl) { if (null != serviceUrl) { MDC.put(ApplicationConstants.REMOTE_ADDR, serviceUrl); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServiceUrl() {\n return serviceUrl;\n }", "public String getServiceUrl() {\n return \"http://\" + this.serviceHost + \":\" + this.servicePort;\n }", "public URL getServiceUrl() {\n return url;\n }", "String getServiceUrl();", "public void setSoapUrl(String u...
[ "0.6626438", "0.6463199", "0.6240781", "0.62337816", "0.6110051", "0.6030951", "0.59841275", "0.5880757", "0.58706677", "0.58706677", "0.58706677", "0.58149683", "0.5790628", "0.5785789", "0.57793415", "0.5777689", "0.57741016", "0.5771312", "0.5761941", "0.575562", "0.573539...
0.6548406
1
Creates a new artist.
void create(Artist artist);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private MyArtist createArtist(Cursor cursor) {\n int idxArtistId = cursor.getColumnIndex(MyArtistColumns.ARTIST_ID);\n int idxArtistName = cursor.getColumnIndex(MyArtistColumns.ARTIST_NAME);\n int idxImageUrl = cursor.getColumnIndex(MyArtistColumns.IMAGE_URL);\n\n MyArtist artist = new ...
[ "0.7227108", "0.71143645", "0.6863715", "0.65661734", "0.6376047", "0.6376047", "0.631504", "0.6249076", "0.619506", "0.6169655", "0.61672926", "0.60384893", "0.59676707", "0.59069705", "0.587212", "0.57306087", "0.5660197", "0.56493485", "0.56152433", "0.55754286", "0.556262...
0.85476965
0
Returns all artists, but paged, where the provided page determines the page to show.
List<Artist> getPagedList(int page);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<ArtistVO> listPageArtist(Criteria criteria) throws Exception;", "@Test\n public void queryByPage() {\n List<Album> albums = albumDao.SelectByPage(1, 5);\n for (Album album : albums) {\n System.out.println(album);\n }\n }", "public List<ArtistBean> resultArtistList(Pag...
[ "0.619225", "0.58632964", "0.56666285", "0.5643734", "0.5423737", "0.5423737", "0.5356085", "0.52625173", "0.524386", "0.52095896", "0.52052677", "0.5199065", "0.5178784", "0.5123295", "0.5110609", "0.5109273", "0.5096992", "0.5096607", "0.50843936", "0.5077584", "0.5069553",...
0.76043993
0
Returns a single artist referenced by the provided id.
Artist getById(long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Artist getArtist(int artistID) {\n\t\treturn artists.get(artistID);\n\t}", "public Long getArtistId() {\r\n return artistId;\r\n }", "private static String getArtist(String songID) throws SQLException {\n artistStatement = conn.createStatement();\n artistResultSet = artistStateme...
[ "0.72282046", "0.65840226", "0.65002954", "0.6440071", "0.6361351", "0.6332833", "0.6317895", "0.6317437", "0.6316128", "0.6232277", "0.621708", "0.6206271", "0.6160486", "0.6079992", "0.59629774", "0.5914053", "0.59134537", "0.58970636", "0.5864336", "0.58606154", "0.5806991...
0.8443998
0
Test of showAboutUs method, of class Controller.
@Test public void testShowAboutUs() { System.out.println("showAboutUs"); Controller instance = new Controller(); instance.showAboutUs(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result aboutUsPage() {\n\t\treturn ok(views.html.aboutUsPage.render());\n\t}", "@Test\n\tpublic void testRedirectToAboutUs() {\n\t\tServicesLogic.redirectToAboutUs();\n\t}", "public static void showAboutUs() throws IOException {\n Main.FxmlLoader(ABOUTUSPAGE_PATH);\n }", "@Test\n\t pu...
[ "0.7209113", "0.66354525", "0.6561973", "0.64826113", "0.6473336", "0.6386171", "0.63318616", "0.6201587", "0.61581063", "0.6139435", "0.611099", "0.60899156", "0.6089775", "0.60789984", "0.60755277", "0.6074958", "0.6066368", "0.60359293", "0.6021418", "0.60058486", "0.59737...
0.83478945
0
Test of getSortCenterDimensions method, of class Controller.
@Test public void testGetSortCenterDimensions() { System.out.println("getSortCenterDimensions"); Controller instance = new Controller(); Point2D expResult = new Point2D.Float(15f, 10f); Point2D result = instance.getSortCenterDimensions(); assertEquals(expResult, result)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetCenter() {\n int expResult = 3;\n int result = this.dummyDigitSize.getCenter();\n assertEquals(expResult, result);\n }", "@Test\r\n public void testGetShapesSortedByOriginDistance() {\r\n List<Shape> expectedOutput = new ArrayList<Shape>();\r\n ...
[ "0.5587257", "0.54132265", "0.5094512", "0.50638103", "0.49946392", "0.49712262", "0.49708873", "0.49302298", "0.49181333", "0.49048108", "0.48712027", "0.4864019", "0.48576722", "0.48474607", "0.48236656", "0.4816429", "0.48104173", "0.48104173", "0.48037723", "0.48017043", ...
0.82733005
0
Back to the string stored in the database
public String getDBString();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String toDBString();", "public String setBack(){\n\t\tif(back.empty())\n\t\t\treturn null;\n\t\treturn back.pop();\n\t}", "public abstract String toSaveString();", "public String reverse() {\n\t\treturn null;\n\t}", "private void back(){\r\n \r\n assert iMessage!=null;\r\n assert i...
[ "0.59804744", "0.5968122", "0.5901493", "0.5777612", "0.56758785", "0.56361246", "0.55759144", "0.55694884", "0.55595493", "0.552662", "0.54833454", "0.5419792", "0.5393491", "0.53860164", "0.5320476", "0.53098655", "0.5303622", "0.52723", "0.52501357", "0.5244743", "0.522770...
0.51376355
25
A string parsing for KValuable object, the string format by KValuable determine
public IValuable parse(String value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataValue parse(String value) {\r\n \tthrow new RuntimeException(\"no implementation\");\r\n }", "public T parse(String value);", "protected Object parseValue (String value)\n throws Exception\n {\n return value;\n }", "public abstract void parseValue(String v...
[ "0.62846273", "0.62286663", "0.6213504", "0.6195662", "0.61036754", "0.6071284", "0.6044109", "0.6033125", "0.5973772", "0.58401525", "0.57694083", "0.57591456", "0.5755162", "0.5745287", "0.57368153", "0.5725201", "0.56996447", "0.5696753", "0.5693397", "0.5649229", "0.56445...
0.7113361
0
Create an editable view draw object, KVRender of View on
public List<KVRender> buildRender(KVType kvType);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "View createView();", "ViewElement createViewElement();", "public interface View {\n\n public void Update();\n public void Clear(String scopeName);\n\n public ViewScope getMainView();\n public ViewScope getCanvasView();\n public ViewScope getToolbarView();\n public ViewScope getTopMenuView();\...
[ "0.6576342", "0.65649676", "0.64878285", "0.60466975", "0.602325", "0.5967676", "0.5898209", "0.5888008", "0.5864946", "0.5850011", "0.584702", "0.5827349", "0.5743466", "0.57047844", "0.5693794", "0.56104493", "0.5601208", "0.5589961", "0.55834323", "0.5539095", "0.5514863",...
0.52621573
42
Instantiates a new double word.
public DoubleWord(){ super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private SpreedWord() {\n\n }", "public Word (String word) {\n\t\t// Call another constructor\n\t\tthis(word.length());\n\t\t// save the input word in this.theWord\n\t\tthis.theWord = word.toCharArray();\n\t}", "public WordGenerator()\n {\n adjective1a = new ArrayList<String>();\n adjective1b = new Ar...
[ "0.6942074", "0.6645378", "0.658034", "0.6553173", "0.6517378", "0.64239675", "0.6423575", "0.62568986", "0.6180918", "0.60626304", "0.60298765", "0.60273606", "0.6019725", "0.6019725", "0.6019725", "0.6000526", "0.5980346", "0.5942076", "0.5930709", "0.5909567", "0.59058386"...
0.8275413
0
/ shall only be use in Context
public Message(long msg) { m_msg = msg; m_type = getType(msg); parseMessage(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo36026a(Context context);", "Context context();", "Context context();", "void mo25261a(Context context);", "@Override\n public void onContext() {\n }", "Context getContext();", "void mo97180a(Context context);", "public abstract Context context();", "publ...
[ "0.69061786", "0.68875045", "0.68875045", "0.6788003", "0.667835", "0.6622949", "0.6616367", "0.65492564", "0.6499104", "0.649512", "0.6426548", "0.64010966", "0.6351433", "0.6351433", "0.6350278", "0.6349061", "0.63386685", "0.62409484", "0.6212991", "0.6211316", "0.6183652"...
0.0
-1
Filename: SquadAttentionLocalCache.java Description: Version: 0.1 Author: peigen
public interface SquadAttentionLocalCache extends LocalCache { /** * 缓存内容排序 * * @param category 缓存类型 * @param orderByStr 排序变量 * @param orderByType 排序方式 * @param count 取多少条 * @return */ public List<AttentionCache> sort(LocalCacheEnum category, String or...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void cacheLoadThroughSubjects()\n {\n }", "protected boolean getStravaUseCache()\n {\n return true;\n }", "public void clearLocalCache()\n/* */ {\n/* 345 */ super.clearCache();\n/* */ }", "public void setCached() {\n }", "public void cacheResult(ua.org.gostro...
[ "0.59206945", "0.57197994", "0.56711674", "0.5621169", "0.5486602", "0.5457745", "0.54374874", "0.53977877", "0.5362013", "0.53305334", "0.5324054", "0.53109723", "0.52861756", "0.52809656", "0.52725405", "0.5246775", "0.5221212", "0.5214752", "0.5183543", "0.51797533", "0.51...
0.60704434
0
TODO Autogenerated method stub
public void componentHidden(ComponentEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void componentMoved(ComponentEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void componentShown(ComponentEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
method: isValidMove type: boolean parameters: Location from, Location to, Piece [][]b description: Overrides piece's isValidMove method to fit the queen
public boolean isValidMove(Location from, Location to, Piece[][]b) { // Bishop boolean pieceInWay = true; int direction =0; boolean finalLocation = false; boolean verticalUp = false, verticalDown = false, horizontalLeft = false, horizontalRight = false; if(to.getColumn()>from.getColumn() && to.getRow()<...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean validMove(ChessBoard board, Square from, Square to);", "public boolean validMove(ChessBoard board, Square from, Square to) {\r\n // check if piece killing his ally\r\n if(to.getPiece() != null){\r\n if (to.getPiece().isBlue() == this.isBlue()) {\r\n ...
[ "0.82235205", "0.7575378", "0.7572325", "0.75368863", "0.7518084", "0.74719024", "0.73780304", "0.7377379", "0.72815096", "0.72496086", "0.7248103", "0.7236573", "0.7230989", "0.7219533", "0.72108513", "0.72074723", "0.7206058", "0.719928", "0.7171637", "0.71000856", "0.70820...
0.79375285
1
Set the adapter for this AR object.
public void setAdapter(Adapter adapter) { this.adapter = adapter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAdapter(String adapter) {\n this.adapter = adapter;\n }", "public void setAdapter(String adapter) {\n this.adapter = adapter;\n }", "@Override\npublic void setObjectAdapter(ObjectAdapter adapter) {\n\t\n}", "public void setAdapter(ObjectAdapter adapter) {\n mAdapter...
[ "0.7070681", "0.69384485", "0.6612028", "0.64737874", "0.6411764", "0.62745804", "0.6168639", "0.61535597", "0.60134465", "0.597075", "0.593119", "0.58906096", "0.58439213", "0.58407426", "0.57387036", "0.5733954", "0.5681281", "0.5657446", "0.5644238", "0.5612247", "0.560655...
0.72788435
0
Get the table name for this AR object. If the table name has not been set then the table name will be determined by walking up the class hierachy until the direct decendent of the ActiveRecord class is found. For example, if your hierarchy was: Employee extends Person extends ActiveRecord then the table name would be "...
public String getTableName() { if (tableName == null) { tableName = Strings.tableize(ActiveRecords.findActiveRecordBaseName(getClass())); } return tableName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String tableName() {\n if ( tableName != null ) {\n return tableName;\n }\n\n TableName annotation = this.entityType().getAnnotation( TableName.class );\n if ( annotation != null ) {\n tableName = annotation.value();\n } else {\n tableName ...
[ "0.78808707", "0.77437276", "0.7678161", "0.7570846", "0.75306034", "0.75151986", "0.74806476", "0.7454418", "0.74368215", "0.7419845", "0.7419845", "0.7416493", "0.74089414", "0.73922354", "0.7340196", "0.7340196", "0.7299269", "0.72819144", "0.72819144", "0.7272515", "0.726...
0.8358867
0
Set the table name for this AR object.
public void setTableName(String tableName) { this.tableName = tableName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTableName(String name) {\n this.tableName = name;\n }", "public void setTableName(String value) {\n setAttributeInternal(TABLENAME, value);\n }", "public void setTableName(String newVal) {\n if ((newVal != null && this.tableName != null && (newVal.compareTo(this.tableN...
[ "0.7769991", "0.76618004", "0.7020226", "0.700307", "0.70004755", "0.6999129", "0.6902644", "0.6895079", "0.6895079", "0.6854972", "0.6808037", "0.676619", "0.67605084", "0.67567104", "0.67567104", "0.67436266", "0.6738089", "0.6735317", "0.67335004", "0.67335004", "0.6726298...
0.69027275
8
Get the validation errors. This method should never return null.
public ValidationErrors getErrors() { if (errors == null) errors = new ValidationErrors(); return errors; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getErrors()\n {\n return _errors;\n }", "public List<String> getErrors ()\n\t{\n\t\treturn errors;\n\t}", "public List<ExcelImportException> getValidationErrors() {\n\t\treturn this.validationErrors;\n\t}", "public List<String> getErrors() {\n\t\treturn errors;\n\t}", "publ...
[ "0.79775804", "0.7911322", "0.7896865", "0.7891859", "0.7744608", "0.7709429", "0.770605", "0.7698983", "0.76228637", "0.7613477", "0.75352824", "0.7461929", "0.7438233", "0.7371731", "0.73033595", "0.7282149", "0.72214615", "0.7219329", "0.71990764", "0.7198769", "0.7192833"...
0.8536986
0
Set the validation errors.
public void setErrors(ValidationErrors errors) { this.errors = errors; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setErrors(List<Error> errors) {\n\n\t}", "public void setErrors(int err) {\n errors = err;\n }", "void setError();", "public void setErrors(List<ApiError> errors) {\n this.errors = errors;\n }", "public void setErrors(noNamespace.ErrordetectiondashletDocument.Errordet...
[ "0.7457675", "0.7237681", "0.7093019", "0.702176", "0.69928455", "0.681602", "0.6658552", "0.658078", "0.65573096", "0.65466213", "0.6439227", "0.6411137", "0.63726074", "0.6366362", "0.63613516", "0.6345979", "0.63250643", "0.6308225", "0.62319916", "0.6187644", "0.61500263"...
0.8134453
0
Get the primary key value for this record.
public Object getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPrimaryKey() {\n return this.getString(R.string.primaryKey);\n }", "public String getPrimaryKey() {\n if (primaryKey == null) primaryKey = \"id\";\n return primaryKey;\n }", "PrimaryKey getPrimarykey();", "public String fetchPrimaryKey(){\n\t\treturn primaryKey;\n\...
[ "0.77091676", "0.75943315", "0.7563827", "0.7489284", "0.7454062", "0.7363038", "0.73076224", "0.729829", "0.7294701", "0.724714", "0.722127", "0.72122824", "0.70021284", "0.6993869", "0.6918439", "0.6918439", "0.6918439", "0.68907344", "0.68639904", "0.6839282", "0.67968464"...
0.0
-1