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 |
|---|---|---|---|---|---|---|
MBean for retrieving some statistics about the connection pool | public interface DBPoolViewMBean {
/**
* Number of active connections
*
* @return <code>int</code> Number of active connections
*/
public int getNumActive();
/**
* Number of idle connections
*
* @return <code>int</code> Number of idle connections
*/
public int ge... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Map getConnectionUsage();",
"final ConcurrentMap<Object, ManagedConnectionPool> getManagedConnectionPools()\n {\n return mcpPools;\n }",
"public interface DeviceGatewayMonitorJMXMBean {\n\t/**\n\t * @return current tunnel connection count\n\t */\n\tint getTunnelConnectionCount();\n\n\t/**\n\t *... | [
"0.691478",
"0.6544413",
"0.65228903",
"0.625763",
"0.61660045",
"0.6163195",
"0.6138785",
"0.6137472",
"0.612583",
"0.6107291",
"0.60410905",
"0.59830284",
"0.5922929",
"0.5921547",
"0.59114504",
"0.5894359",
"0.58258235",
"0.5802433",
"0.57724303",
"0.5770441",
"0.575144",
... | 0.813234 | 0 |
Number of active connections | public int getNumActive(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getConnectionsCount();",
"public int numConnections(){\n return connections.size();\n }",
"public int getNumOfConnections() {\r\n\t\treturn numOfConnections;\r\n\t}",
"public static int getConnectionCount()\r\n {\r\n return count_; \r\n }",
"int getConnectionCount();",
"public ... | [
"0.8779871",
"0.8741027",
"0.8544166",
"0.85064816",
"0.8416054",
"0.8382249",
"0.82864016",
"0.8235743",
"0.8202746",
"0.8197641",
"0.8189306",
"0.8081173",
"0.80686665",
"0.80374706",
"0.7943861",
"0.78956497",
"0.7833374",
"0.78265697",
"0.7769329",
"0.77639145",
"0.749657... | 0.0 | -1 |
Number of idle connections | public int getNumIdle(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getNumIdle() {\n return _pool.size();\n }",
"public static long getNumberOfOpenConnections() {\n return openConnections.size();\n }",
"int getConnectionsCount();",
"int getTotalCreatedConnections();",
"public int numConnections(){\n return connections.si... | [
"0.7802752",
"0.77686685",
"0.7691691",
"0.7681597",
"0.75935644",
"0.755688",
"0.7522926",
"0.7516185",
"0.7483932",
"0.73354995",
"0.73258775",
"0.7293534",
"0.72698677",
"0.72369546",
"0.72081524",
"0.71651703",
"0.71007276",
"0.7096714",
"0.70588493",
"0.70296466",
"0.699... | 0.78459173 | 0 |
Connection information as a string | public Map getConnectionUsage(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String connectionToString(URLConnection con) throws IOException {\n\t\tStringWriter writer = new StringWriter();\n\t\tIOUtils.copy(con.getInputStream(), writer, \"UTF-8\");\n\t\treturn writer.toString();\n\t}",
"@Override\n public String toString() {\n return (name + \", IP=\" + ipAddress + \":... | [
"0.7514957",
"0.7255365",
"0.725387",
"0.7048909",
"0.69239515",
"0.68940336",
"0.68655837",
"0.68655837",
"0.68655837",
"0.68655837",
"0.68297195",
"0.6781957",
"0.6781957",
"0.6781957",
"0.6781957",
"0.6771722",
"0.665216",
"0.665216",
"0.665216",
"0.665216",
"0.66172236",
... | 0.0 | -1 |
Sets up this panel with some buttons to show how flow layout affects their position. | public FlowPanel(){
setLayout(new FlowLayout());
setBackground(Color.green);
JButton b1 = new JButton("Button 1");
JButton b2 = new JButton("Button 2");
JButton b3 = new JButton("Button 3");
JButton b4 = new JButton("Button 4");
JButton b5 = new JButton("Button 5");
add(b1);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setupPanel()\n\t{\n\t\tthis.setLayout(baseLayout);\n\t\tthis.add(firstButton);\n\t\tthis.add(firstField);\n\t}",
"@Override\n\tpublic void doLayout() {\n\t\tthis.transitionsPanel.setBounds(0, 0, this.getWidth(), this.getHeight());\n\t\t//this.timersButton.setBounds(this.getWidth()-2*50, 0, 50, 50);\... | [
"0.7657153",
"0.746164",
"0.7240827",
"0.72160566",
"0.7182723",
"0.7170811",
"0.7116723",
"0.7114378",
"0.70389956",
"0.70268565",
"0.6982423",
"0.69733006",
"0.69506747",
"0.6946019",
"0.6931121",
"0.6916385",
"0.68668747",
"0.6835703",
"0.68349063",
"0.68265384",
"0.682122... | 0.70714027 | 8 |
Sets up this panel with a button in each area of a border layout to show how it affects their position, shape, and size. | public BorderPanel(){
setLayout(new BorderLayout());
setBackground(Color.green);
JButton b1 = new JButton("Button 1");
JButton b2 = new JButton("Button 2");
JButton b3 = new JButton("Button 3");
JButton b4 = new JButton("Button 4");
JButton b5 = new JButton("Button 5");
add(b1, B... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initButton() {\r\n\t\tthis.panelButton = new JPanel();\r\n\t\tthis.panelButton.setLayout(new BoxLayout(this.panelButton,\r\n\t\t\t\tBoxLayout.LINE_AXIS));\r\n\t\tthis.modifyButton = new JButton(\"Modify\");\r\n\t\tthis.buttonSize(this.modifyButton);\r\n\t\tthis.deleteButton = new JButton(\"Delete\");\... | [
"0.72088665",
"0.69284225",
"0.68910974",
"0.6736612",
"0.6732675",
"0.6701447",
"0.66616315",
"0.6618289",
"0.661206",
"0.65915036",
"0.6567303",
"0.6550717",
"0.65047294",
"0.64689577",
"0.6468821",
"0.6455311",
"0.6435587",
"0.63961613",
"0.63689876",
"0.6352809",
"0.63498... | 0.7495246 | 0 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.cards_list, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.7246102",
"0.7201358",
"0.7194834",
"0.7176498",
"0.71066517",
"0.7039537",
"0.7037961",
"0.70112145",
"0.70094734",
"0.69807225",
"0.6944953",
"0.69389373",
"0.6933199",
"0.6916928",
"0.6916928",
"0.6891486",
"0.68831646",
"0.68754137",
"0.68745375",
"0.68621665",
"0.6862... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.79036397",
"0.78051436",
"0.77656627",
"0.7726445",
"0.7630767",
"0.76211494",
"0.75842685",
"0.75296193",
"0.74868536",
"0.74574566",
"0.74574566",
"0.7437983",
"0.7422003",
"0.7402867",
"0.7391276",
"0.73864174",
"0.7378494",
"0.73696834",
"0.736246",
"0.7355139",
"0.734... | 0.0 | -1 |
Shows a primitive text streaming response that prints the value of one of the REST params | public Response index() {
return new StreamingResponse("text/plain", "x = " + this.parameters.get("x"));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@GET\n @Produces(MediaType.TEXT_PLAIN)\n public String getIt() {\n return \"Got it!\";\n }",
"@GET\r\n @Produces(MediaType.TEXT_PLAIN)\r\n public String getText() {\n return \"hai\";\r\n }",
"@Override\n\tpublic JavaCommonResponse getOutputResponse(String paramStream) {\n\t\tif ... | [
"0.63051176",
"0.62705326",
"0.6145964",
"0.60926723",
"0.6000462",
"0.5982047",
"0.59739375",
"0.5956594",
"0.5890058",
"0.58482695",
"0.5701093",
"0.5591054",
"0.55790013",
"0.55382824",
"0.553069",
"0.54921126",
"0.5461552",
"0.54553515",
"0.5393708",
"0.5392196",
"0.53863... | 0.6043366 | 4 |
XML streaming response, that prints parameter "y", which is not encoded in the URL as a REST param and should be sent through POST or GET. This is to demo the functionality od merging REST and POST/GET params. | public Response hello() {
return new StreamingResponse("text/xml", "<a f=\"" + this.parameters.get("y") + "\" />");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Response index() {\n \t\t\n \t\treturn new StreamingResponse(\"text/plain\", \"x = \" + this.parameters.get(\"x\"));\n \t}",
"@GET\n @Produces(MediaType.TEXT_XML)\n public String sayXMLHello() {\n return \"<?xml version=\\\"1.0\\\"?>\" + \"<hello> Hello Jersey\" + \"</hello>\";\n }",
"@O... | [
"0.5732742",
"0.5659204",
"0.5373799",
"0.5356376",
"0.5295978",
"0.5273295",
"0.5220621",
"0.5168917",
"0.516881",
"0.51658475",
"0.5028106",
"0.49967024",
"0.49835435",
"0.49658287",
"0.49656615",
"0.49370518",
"0.4936427",
"0.4928491",
"0.4928491",
"0.49111944",
"0.4897013... | 0.7018054 | 0 |
Created by VO2 on 04/04/2017. | public interface IClientService {
Client getClientById(Long id);
List<Client> findAll();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"public final void mo51373a() {\n }",
"private stendhal() {\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public void mo4359a()... | [
"0.59322405",
"0.59139955",
"0.5787655",
"0.57515794",
"0.57482195",
"0.56862485",
"0.56547445",
"0.56445664",
"0.56418705",
"0.56418705",
"0.56359327",
"0.5629546",
"0.5628964",
"0.5619978",
"0.5589597",
"0.5532765",
"0.5524808",
"0.55243593",
"0.55014074",
"0.5488316",
"0.5... | 0.0 | -1 |
set characters by default | public DeluxeBurger(){
super("Deluxe", "sausageBacon", 14.54, "white");
super.addHamburgerAddition1("chips", 2.75);
super.addHamburgerAddition2("Drink", 1.81);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCharacterSequence(String chars);",
"public void setNChar()\n/* */ {\n/* 1168 */ this.isNChar = true;\n/* */ }",
"@Override\n public void setCharacter(String character) {\n this.character = character;\n }",
"static public void setDefaultChar(char newMissingChar) {... | [
"0.77039003",
"0.7249356",
"0.7187489",
"0.71028847",
"0.69934726",
"0.6964245",
"0.69199866",
"0.68655246",
"0.6856582",
"0.6742972",
"0.6742689",
"0.67363954",
"0.67329377",
"0.67283875",
"0.6673466",
"0.65839404",
"0.65652525",
"0.6536579",
"0.65326583",
"0.6400298",
"0.63... | 0.0 | -1 |
Test a Clock by setting up a simple test scenario of three timers, stopped independently from each other. Afterwards the result is logged. No errors should occur during this test. | @Test
public void test() throws InterruptedException{
final Clock clock=new Clock();
clock.addTimer("Jef");
clock.addTimer("An");
clock.addTimer("Eva");
clock.startAll();
Thread.sleep(5000); // Sleep 5 seconds
clock.stop("An");
Thread.sleep(2000); // Sleep 2 seconds
clock.stop("Jef");
Thread.sleep(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ClockTest( String testName )\r\n {\r\n super( testName );\r\n }",
"public void testTheClock() throws Exception\r\n {\r\n Clock clock = new SimpleClock();\r\n String timestamp = clock.getTimestamp();\r\n Logger logger = Logger.getLogger( \"test\" );\r\n logger.in... | [
"0.7145874",
"0.71346295",
"0.66045576",
"0.6604253",
"0.64399886",
"0.63086915",
"0.62234503",
"0.61611813",
"0.6149514",
"0.6148633",
"0.6137434",
"0.6086699",
"0.6085503",
"0.6083359",
"0.5986048",
"0.59798443",
"0.58954835",
"0.5878106",
"0.5868216",
"0.58437246",
"0.5831... | 0.69300973 | 2 |
Calculate the value for the term based on this Predictor. | @Override
public double calcTerm( Map<String, Object> param_map )
{
double result = 0.0;
int cat = (Integer) param_map.get( name );
if( value == cat )
result = coefficient;
LOG.debug( String.format( "calc: %s, %d, %d, %e", name, value, cat, result ) );
return result;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"BigDecimal getTermValue();",
"private double[] computePredictionValues() {\n double[] predResponses = new double[D];\n for (int d = 0; d < D; d++) {\n double expDotProd = Math.exp(docLabelDotProds[d]);\n double docPred = expDotProd / (expDotProd + 1);\n predResponse... | [
"0.64094025",
"0.63533777",
"0.6068491",
"0.60643333",
"0.60501415",
"0.60131603",
"0.60131603",
"0.60131603",
"0.59835905",
"0.5952836",
"0.595261",
"0.5913688",
"0.58919",
"0.5846074",
"0.58399904",
"0.5820787",
"0.5811579",
"0.5782414",
"0.5780666",
"0.5767432",
"0.5744992... | 0.5919489 | 11 |
View Source ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated. This interface is a model that represents the PmlFileReturningInfo table in the database. | public interface PmlFileReturningInfoModel extends BaseModel<PmlFileReturningInfo> {
public long getPrimaryKey();
public void setPrimaryKey(long pk);
public long getFileReturningInfoId();
public void setFileReturningInfoId(long fileReturningInfoId);
public String getFileId();
public void se... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface IMxlFile {\n String getBaseName();\n\n List<MxlAnnotation> getAnnotations();\n\n MxlText getText();\n\n String getRawData();\n}",
"public IFile getModelFile() {\r\n \t\treturn newFileCreationPage.getModelFile();\r\n \t}",
"public com.opentext.bn.converters.avro.entity.PayloadRef ge... | [
"0.6320053",
"0.5837242",
"0.56380945",
"0.5633112",
"0.5452221",
"0.53746825",
"0.5370511",
"0.5285829",
"0.52808845",
"0.5239298",
"0.5239298",
"0.5165272",
"0.5135851",
"0.51277846",
"0.51277846",
"0.51277846",
"0.51277846",
"0.51277846",
"0.51277846",
"0.51277846",
"0.512... | 0.74526834 | 0 |
When mouse is clicked, the mouse pointer location is captured in the point p. | public void mouseClicked(MouseEvent e) {
p.x = e.getX();
p.y = e.getY();
repaint();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void pointToMouse() {\n pointToXY(p.mouseX,p.mouseY);\n }",
"public void mousePressed(MouseEvent e) {\n pX = e.getX();\n pY = e.getY();\n }",
"public abstract void mousePressed(Point p);",
"@Override\n\tpublic void mousePressed(MouseEvent e) {\n\t\tpvo3 = g... | [
"0.7961015",
"0.7896092",
"0.7815865",
"0.7601644",
"0.7567838",
"0.7477334",
"0.74192435",
"0.74115306",
"0.737083",
"0.7283606",
"0.72808665",
"0.7274571",
"0.72531754",
"0.72531754",
"0.72531754",
"0.72477967",
"0.72443",
"0.7238943",
"0.72372234",
"0.71769786",
"0.7148182... | 0.80259424 | 0 |
Draw a small solid square around the point | public void paintComponent(Graphics g) {
super.paintComponent(g);
g.drawString("(" + p.x + ", " + p.y + ")", p.x, p.y);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void drawSquare(Graphics g, int x, int y, \n Tetrominoe shape) {\n Color colors[] = {\n new Color(0, 0, 0), new Color(204, 102, 102),\n new Color(102, 204, 102), new Color(102, 102, 204),\n new Color(204, 204, 102), new Color(204, 102, 204),\n n... | [
"0.6841158",
"0.6481778",
"0.6406523",
"0.6390514",
"0.63790333",
"0.6376992",
"0.6376992",
"0.6376992",
"0.6376992",
"0.6258142",
"0.6244814",
"0.6230117",
"0.6098025",
"0.5990853",
"0.588803",
"0.588387",
"0.58698237",
"0.5863747",
"0.58463657",
"0.584251",
"0.5834106",
"... | 0.0 | -1 |
Create new PSMApplication object | @Override
public void onClick(View view) {
PSMApplication newApp = new PSMApplication();
newApp.setFullName(txtName.getText().toString());
newApp.setAddress(txtAddress.getText().toString());
newApp.setEmail(txtEmail.getText().toString());
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private NewApplication createNewApplication() {\n GetNewApplicationRequest req =\n recordFactory.newRecordInstance(GetNewApplicationRequest.class);\n GetNewApplicationResponse resp;\n try {\n resp = rm.getClientRMService().getNewApplication(req);\n } catch (YarnException e) {\n String ... | [
"0.66394204",
"0.64292294",
"0.61971927",
"0.607761",
"0.6022351",
"0.5942246",
"0.5829075",
"0.5814762",
"0.580398",
"0.57874066",
"0.5728375",
"0.5712037",
"0.57110834",
"0.56979424",
"0.5682291",
"0.56330216",
"0.55946946",
"0.55943704",
"0.55760574",
"0.55613977",
"0.5552... | 0.0 | -1 |
setter for result page | public void updateScores(double attempt) {
if(previousScore == 0){
previousScore = currentScore;
}else{
beforePreviousScore = previousScore;
previousScore = currentScore;
}
this.currentScore = 100*(attempt
- (benchmark - (maximumMark - benchmark)/NUMBEROFLEVEL))... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setResultsPage(int resultsPage)\r\n\t{\r\n\t\tthis.resultsPage = resultsPage;\r\n\t}",
"public void setPage(int value) {\n this.page = value;\n }",
"public void setResultsPerPage(int resultsPerPage)\r\n\t{\r\n\t\tthis.resultsPerPage = resultsPerPage;\r\n\t}",
"public void setPage(SQLInt... | [
"0.7555428",
"0.67759496",
"0.6622171",
"0.6608995",
"0.6523983",
"0.6480086",
"0.64516693",
"0.6414685",
"0.6375814",
"0.6367598",
"0.63650703",
"0.63621736",
"0.6343399",
"0.6249615",
"0.61816853",
"0.6164545",
"0.6143013",
"0.6128392",
"0.6122097",
"0.6094955",
"0.6094955"... | 0.0 | -1 |
Initialization: Parse an XMLFile | public DOMParser() { ; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void initParser(String file) {\n if (checkFileExists(file)) {\n parseXml(file);\n }\n }",
"public void parseXmlFile(String fileName){\n\t\t//get the factory\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n\t\t\n\t\ttry {\n\t\t\t//Using factory get an instance of docume... | [
"0.7447327",
"0.7233485",
"0.6888907",
"0.6825626",
"0.667728",
"0.66404825",
"0.6639242",
"0.6615304",
"0.6573589",
"0.6547343",
"0.6521103",
"0.649521",
"0.6466943",
"0.64530134",
"0.6448934",
"0.6434653",
"0.64085853",
"0.6406413",
"0.6392416",
"0.6383519",
"0.6374431",
... | 0.0 | -1 |
Create DOM representation of an XML document. | public void parseXmlFile(String fileName){
//get the factory
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
//Using factory get an instance of document builder
DocumentBuilder db = dbf.newDocumentBuilder();
//parse using builder to get DOM representation of the XML file
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void createDocument() {\n\t\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\r\n\t\t\ttry {\r\n\t\t\t//get an instance of builder\r\n\t\t\tDocumentBuilder db = dbf.newDocumentBuilder();\r\n\r\n\t\t\t//create an instance of DOM\r\n\t\t\tdom = db.newDocument();\r\n\r\n\t\t\t}catch(Parser... | [
"0.7592214",
"0.75508565",
"0.73276615",
"0.7321202",
"0.7206171",
"0.7153396",
"0.6929297",
"0.67786545",
"0.66497433",
"0.658112",
"0.65507674",
"0.65467924",
"0.64916563",
"0.64307874",
"0.64307874",
"0.64307874",
"0.64307874",
"0.6374853",
"0.6300943",
"0.6284289",
"0.623... | 0.0 | -1 |
float f=3.6f; / accepted In Java, when you type a decimal number as 3.6, its interpreted as a double. double is a 64bit precision IEEE 754 floating point, while float is a 32bit precision IEEE 754 floating point. As a float is less precise than a double, the conversion cannot be performed implicitly. If you want to cre... | public static void main(String[] args) {
Runtime rt = Runtime.getRuntime();
System.out.println("Available Free Memory: " + rt.freeMemory());
for(int i=0; i<10000; i++ ) {
GC1 x = new GC1(i);
}
System.out.println("Free Memory before call to gc(): " +rt.freeMemory());
System.runFinalization();
System.gc();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float evaluateAsFloat();",
"public void setfVal(float value){\n this.fVal = value;\n }",
"public final void ruleFloat() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:216:2: ( ( 'Float' ) )\n /... | [
"0.686971",
"0.6745878",
"0.67265934",
"0.66145796",
"0.6601977",
"0.6573846",
"0.6378541",
"0.6362256",
"0.6346636",
"0.6327591",
"0.6327591",
"0.63234675",
"0.63202024",
"0.62783337",
"0.62757283",
"0.62484604",
"0.6239212",
"0.62382555",
"0.62036943",
"0.62026954",
"0.6200... | 0.0 | -1 |
String sql = "select spbh, sum(zdwsl) zdwjhsl from t_cgjh_det t "; | @Override
public DataGrid toYwrk(String cgjhDetIds){
String sql = "select cd.spbh, isnull(max(cd.zdwsl), 0) zdwjhsl, isnull(sum(yd.zdwsl), 0) zdwyrsl, isnull(max(cd.zdwdj), 0) zdwdj"
+ " from t_cgjh_det cd " +
"left join t_cgjh_ywrk cy on cd.id = cy.cgjhdetId " +
"left join t_ywrk y on y.ywrklsh = cy.ywr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float totalSalida(String fecha){\n float total = 0;\n connect();\n ResultSet result = null;\n String sql = \"select sum(requisiciones.total) as salidas from requisiciones where fecha LIKE ?\";\n try{\n PreparedStatement ps = connect.prepareStatement(sql);\n ... | [
"0.6283194",
"0.6263392",
"0.6100063",
"0.58083415",
"0.5781673",
"0.5712146",
"0.57063025",
"0.56490684",
"0.55968285",
"0.55541307",
"0.55086213",
"0.55086213",
"0.5492027",
"0.54339665",
"0.54052365",
"0.53662467",
"0.53554404",
"0.53213423",
"0.53099483",
"0.52804",
"0.52... | 0.52607566 | 21 |
Created by jrejaud on 3/16/16. | public interface TwilioService {
@GET("PhoneNumbers/{phoneNumber}?Type=carrier")
Call<TwilioLookupResponse> lookup(@Path("phoneNumber") String phoneNumber);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpubl... | [
"0.6112198",
"0.5941962",
"0.5929861",
"0.5915847",
"0.5870361",
"0.5839643",
"0.5839643",
"0.5815217",
"0.5793736",
"0.57685614",
"0.57440436",
"0.5727351",
"0.5720611",
"0.57066846",
"0.57066846",
"0.57066846",
"0.57066846",
"0.57066846",
"0.5705585",
"0.56970924",
"0.56900... | 0.0 | -1 |
/ renamed from: com.ss.android.ugc.aweme.shortvideo.sticker.ar.pixaloop.c.c | public interface C40453c {
/* renamed from: a */
void mo100442a(C40429b bVar);
/* renamed from: a */
void mo100443a(List<String> list);
/* renamed from: b */
void mo100444b(List<C40429b> list);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C45630d {\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$f */\n public interface C10555f {\n /* renamed from: es */\n void mo22049es(boolean z);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$d */\n public interface C19512d {\n... | [
"0.6423281",
"0.6419507",
"0.6381675",
"0.6079675",
"0.60379195",
"0.5839689",
"0.58242106",
"0.5803428",
"0.5782854",
"0.57111514",
"0.5705799",
"0.56870955",
"0.5639729",
"0.5575535",
"0.5568573",
"0.5566989",
"0.5559101",
"0.5542903",
"0.5532758",
"0.5512094",
"0.55096036"... | 0.0 | -1 |
/ renamed from: a | void mo100442a(C40429b bVar); | {
"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: a | void mo100443a(List<String> list); | {
"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 | void mo100444b(List<C40429b> list); | {
"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 |
This problem is similar to meeting rooms problem | public static void main(String[] args) {
Interval i1 = new Interval(5, 24);
Interval i2 = new Interval(15, 25);
Interval i3 = new Interval(27, 40);
Interval i4 = new Interval(50, 60);
Interval[] intervals = { i1, i2, i3, i4 };
// Problem 2 : Given an array of meetings time intervals consisting of start a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createRooms()//Method was given\n { \n \n // create the rooms, format is name = new Room(\"description of the situation\"); ex. desc = 'in a small house' would print 'you are in a small house.'\n outside = new Room(\"outside\", \"outside of a small building with a door s... | [
"0.61687356",
"0.60371315",
"0.60368204",
"0.5999019",
"0.5979966",
"0.5969285",
"0.59537166",
"0.59533066",
"0.5884757",
"0.5840068",
"0.5837474",
"0.58374345",
"0.58340335",
"0.5813822",
"0.578472",
"0.57835513",
"0.5747012",
"0.5736094",
"0.5723488",
"0.5704799",
"0.567942... | 0.5539666 | 27 |
Constructs a new axis. | public NumberAxis3D(String label) {
super(label);
setAxisLineVisible(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"AxisType createAxisType();",
"public Vector(float[] axis){ this.axis = axis;}",
"Axis (Timeline timeline) {\n\n// assigns a Timeline to the Axis\n this.timeline = timeline;\n\n// creates a common y value for all Elements of the Axis\n// also used by all Markers on th... | [
"0.6423999",
"0.62586415",
"0.62350637",
"0.6019104",
"0.5996241",
"0.58300865",
"0.5821339",
"0.58150744",
"0.5610956",
"0.5581847",
"0.55641955",
"0.5511965",
"0.55026674",
"0.54917026",
"0.5401326",
"0.53852326",
"0.5362097",
"0.53453326",
"0.53380567",
"0.5324247",
"0.529... | 0.47611362 | 92 |
Draws the axis on a Java 2D graphics device (such as the screen or a printer). | public AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea,
Rectangle2D dataArea, RectangleEdge edge,
PlotRenderingInfo plotState) {
// if the axis is not visible, don't draw it...
if (!isVisible()) {
AxisState state = new AxisState(cursor);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void drawAxis(Graphics2D g2d) {\n g2d.setColor(Color.red);\n drawEdge(g2d,new Point(0, -100), new Point(0, 100));\n g2d.setColor(Color.green);\n drawEdge(g2d,new Point(-100, 0), new Point(100, 0));\n }",
"private void drawAxis(Graphics2D g2) {\r\n if (!isAxisPainted(... | [
"0.7340089",
"0.72833765",
"0.6485567",
"0.6459479",
"0.64534444",
"0.6433714",
"0.6375832",
"0.63129705",
"0.63039994",
"0.62715155",
"0.62271774",
"0.622516",
"0.6219698",
"0.62154984",
"0.6203003",
"0.6203003",
"0.6203003",
"0.6203003",
"0.6202943",
"0.6167947",
"0.6167947... | 0.0 | -1 |
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump. | public org.jivesoftware.smackx.xdata.packet.DataForm parse(org.xmlpull.v1.XmlPullParser r6, int r7) {
/*
r5 = this;
r0 = "";
r1 = "type";
r0 = r6.getAttributeValue(r0, r1);
r0 = org.jivesoftware.smackx.xdata.packet.DataForm.Type.fromString(r0);
r1 = new org.jiveso... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }",
"protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }",
"protected void method_2247() {\r\n // $FF: Couldn't be decom... | [
"0.7617368",
"0.75731146",
"0.7526079",
"0.74510103",
"0.74507606",
"0.74379754",
"0.7381942",
"0.7381942",
"0.7366686",
"0.73540616",
"0.7342512",
"0.73152924",
"0.73081094",
"0.7306009",
"0.72736716",
"0.7252477",
"0.7222176",
"0.7197466",
"0.7177622",
"0.7137001",
"0.71070... | 0.0 | -1 |
/private Integer insightId; private String insightName; private String projectName; private String type; private String lastEdited; private List projects; | public String getTitle() {
return title;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract List<ProjectBean> getProjectList();",
"@Override\n\t@Cacheable(value=\"searchCache\",key=\"#idProject\")\n\tpublic List<InsightDetailsDto> getInsightForProject(Integer idProject)\n\t\t\tthrows Exception {\n\t\t//InsightProject Entity Obtained from DB\n\t\tList<InsightProject> insightDetails = (Li... | [
"0.6104706",
"0.58918846",
"0.57684916",
"0.56797916",
"0.5569438",
"0.55389166",
"0.5501219",
"0.5486785",
"0.5480288",
"0.54460424",
"0.541958",
"0.54138714",
"0.5401079",
"0.5398677",
"0.5397162",
"0.5392705",
"0.53816134",
"0.5362581",
"0.5358303",
"0.5350937",
"0.5345366... | 0.0 | -1 |
/ Draw a rectangle. | public static void drawRecentage(Canvas canvas, int x1, int y1, int x2, int y2)
{
DrawLineCmd.drawLine(canvas, x1, y1, x1, y2);
DrawLineCmd.drawLine(canvas, x1, y1, x2, y1);
DrawLineCmd.drawLine(canvas, x1, y2, x2, y2);
DrawLineCmd.drawLine(canvas, x2, y1, x2, y2);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void drawRect(int x, int y, int width, int height);",
"public void drawRect(int x, int y, int width, int height, int color);",
"public void drawRectangle(int x, int y, int width, int height, Color color) {\n implementation.devDrawRectangle(x, y, width, height, color);\n }",
"public void draw... | [
"0.8481154",
"0.845408",
"0.8043277",
"0.79105747",
"0.78564423",
"0.7757253",
"0.77297014",
"0.7722108",
"0.7687808",
"0.7664041",
"0.76591426",
"0.7658207",
"0.7644127",
"0.7609862",
"0.75770664",
"0.75451326",
"0.7543305",
"0.7387476",
"0.73622847",
"0.7332273",
"0.7308455... | 0.0 | -1 |
/ renamed from: X.0uP reason: invalid class name and case insensitive filesystem | public interface AbstractC19090uP {
void ADh(C07020Vp v);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String fixClassName(String strClassName) {\r\n\t\tstrClassName = strClassName.replace('\\\\', '.');\r\n\t\tstrClassName = strClassName.replace('/', '.');\r\n\t\tstrClassName = strClassName.substring(0, strClassName.length() - 6);\r\n\t\t// remove \".class\"\r\n\t\treturn strClassName;\r\n\t}",
"public v... | [
"0.69580334",
"0.65591484",
"0.6465869",
"0.63529456",
"0.6234606",
"0.61833435",
"0.6003512",
"0.5995756",
"0.59085345",
"0.58766615",
"0.585853",
"0.5846555",
"0.58362347",
"0.5803154",
"0.57615",
"0.57524157",
"0.5737394",
"0.57080626",
"0.5704123",
"0.5700173",
"0.5654940... | 0.0 | -1 |
Scale the View based on current slide offset | @Override
public void onDrawerSlide(View drawerView, float slideOffset) {
final float diffScaledOffset = slideOffset * (1 - END_SCALE);
final float offsetScale = 1 - diffScaledOffset;
contentView.setScaleX(offsetScale);
contentView.setScaleY(of... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onDrawerSlide(View drawerView, float slideOffset) {\n final float diffScaledOffset = slideOffset * (1 - 0.7f);\n final float offsetSc... | [
"0.6752144",
"0.6598713",
"0.63088304",
"0.62811977",
"0.62731797",
"0.62494564",
"0.6026056",
"0.59685695",
"0.5921257",
"0.59014404",
"0.58947563",
"0.5849425",
"0.5844832",
"0.5836234",
"0.5815136",
"0.57818705",
"0.5779044",
"0.5757334",
"0.5744854",
"0.57369804",
"0.5663... | 0.65143967 | 3 |
NB: this will produce twice as many messages as the consumer can handle w/o scaling | @Bean
IntegrationFlow producer() {
MessageSource<String> messageSource = () -> (run.get() ? MessageBuilder
.withPayload("Greetings @ " + Instant.now().toString() + ".").build() : null);
return IntegrationFlows
.from(messageSource, ps -> ps.poller(pm -> pm.fixedRate(10... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void AsyncPush(String topic){\n\t\t\t\t \t\n\t \t/**\n\t \t * output a map, delete existed items\n\t \t */\n\t \t//Map<Key, Integer> deduplicatedBuff = mergeDuplicatedItemsAndDelte(buff);\n\t \t\n\t \t//not in, create, delay\n\t ... | [
"0.70083934",
"0.66992074",
"0.6673492",
"0.6660283",
"0.6575914",
"0.63005906",
"0.609361",
"0.60611117",
"0.6006048",
"0.596468",
"0.5959792",
"0.5935346",
"0.593206",
"0.5896492",
"0.5894595",
"0.586372",
"0.58589196",
"0.58524597",
"0.58296216",
"0.5806432",
"0.5804028",
... | 0.0 | -1 |
onCreate method to display specific job on creation | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sitter_page);
jobType = getIntent().getStringExtra("jobType");
setjobList();
allJobsList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsetContentView(R.layout.activity_job_details);\r\n\t\tinit();\r\n\t\tgetData();\r\n\t\t\r\n\t}",
"@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstance... | [
"0.67259246",
"0.6531007",
"0.6410277",
"0.6298392",
"0.6236475",
"0.6226164",
"0.6223062",
"0.613376",
"0.6126532",
"0.6104845",
"0.6104407",
"0.60144633",
"0.59410626",
"0.5922265",
"0.5886861",
"0.58689666",
"0.58605474",
"0.5807883",
"0.57632154",
"0.5747337",
"0.5739854"... | 0.65064013 | 2 |
This returns an array of Strings of each Job object, for the Job ListView in sitter_page | public String[] getJobArr() {
String[] jobArr;
jobArr = new String[jobList.size()];
for(int i=0;i<jobList.size();i++) {
Log.w("MA", ""+jobList.get(i).listString(jobType));
jobArr[i] = (jobList.get(i)).listString(jobType);
}
return jobArr;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String[] getAllJobs();",
"java.util.List<cb.Careerbuilder.Job> \n getJobsList();",
"@Override\r\n\tpublic List<IncomingJobResponse> getJobList() {\n\t\tList<IncomingJobs> js = (List<IncomingJobs>)incomingRepository.fetchincomingJobs();\r\n\t\tList<IncomingJobResponse> joblist = new ArrayList<Inco... | [
"0.71936053",
"0.7036851",
"0.65818185",
"0.65456027",
"0.6541709",
"0.65387976",
"0.65107834",
"0.6460911",
"0.6415815",
"0.6332801",
"0.6220312",
"0.6171023",
"0.6161288",
"0.6061175",
"0.60341644",
"0.6033407",
"0.5968217",
"0.5894654",
"0.58855504",
"0.58797824",
"0.58356... | 0.68029314 | 2 |
<<<<<<< HEAD View a single job | public void goToViewJob(SittingJob job) {
setContentView(R.layout.activity_view_job);
currentJob = job;
Log.w("MA", "goToViewJob");
populateViewJob();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void viewSpecificJob(String jobID) {\n System.out.println(getJobAtIndex(jobID).toString());\n }",
"public String getJobId();",
"public Job getJob();",
"public int getJobId() ;",
"java.lang.String getJobId();",
"@Override\n\tpublic long getJobId() {\n\t\treturn model.getJobId();\n\t}",
... | [
"0.669832",
"0.64687675",
"0.64625674",
"0.64141303",
"0.6353682",
"0.6301035",
"0.62134254",
"0.60975343",
"0.60197234",
"0.60127765",
"0.60091436",
"0.59815216",
"0.5948216",
"0.59303695",
"0.5859054",
"0.5859054",
"0.5859054",
"0.58201265",
"0.5819274",
"0.581448",
"0.5807... | 0.614853 | 7 |
<<<<<<< HEAD Go back to the dashboard | public void goBackAllJobs(View v) {
finish();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void goBack() throws IOException { DashboardController.dbc.loadHomeScene(); }",
"public void actionPerformed(ActionEvent e)\r\n\t\t{\n\t\t\tif(true)\r\n\t\t\t{\r\n\t\t\t\tUser u ;\r\n\t\t\t\tu = DataBase.findUser(mail.getText());\r\n\t\t\t\tnew Home_Page(u);\r\n<<<<<<< HEAD\r\n\t\t\t\t\r\n\t\t\t\t\r\n====... | [
"0.60902464",
"0.57860297",
"0.57693964",
"0.5737387",
"0.5717667",
"0.56512094",
"0.56480956",
"0.5602208",
"0.5588247",
"0.55882037",
"0.5583467",
"0.5568901",
"0.55670816",
"0.5552783",
"0.55331",
"0.55320066",
"0.5521436",
"0.5508995",
"0.548035",
"0.54434496",
"0.5428837... | 0.0 | -1 |
<<<<<<< HEAD Go back to the sitter page | public void goBackViewJob(View v) {
setContentView(R.layout.activity_sitter_page);
if(jobType.equals("open")) {
((TextView) findViewById(R.id.allAcceptedJobsTitle)).setText("Available Jobs");
}
else if(jobType.equals("owner")) {
((TextView) findViewById(R.id.allAc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void gitThis(){\n\t}",
"public static void main(String[] args) {\nSystem.out.println(\"nagarjuna is .................\");\r\n//second commit\r\nSystem.out.println(\"vinay is ..............................\");\r\n//third commit\r\nSystem.out.println(\"vinay is a ?\");\r\n\t}",
"private void generateConfl... | [
"0.6105997",
"0.5584225",
"0.52708507",
"0.52441263",
"0.51579744",
"0.5150096",
"0.510461",
"0.51028055",
"0.503479",
"0.50201184",
"0.5017102",
"0.5014196",
"0.5011363",
"0.50067407",
"0.4996786",
"0.49847195",
"0.49604994",
"0.4956707",
"0.49555567",
"0.49150747",
"0.48758... | 0.0 | -1 |
This method accepts the job currently being viewed, adding it to the user account | public void acceptJob(View v) {
SittingJob job = currentJob;
try {
Controller.model.deleteJob(currentJob);
Controller.model.openJobs.remove(currentJob);
job.jobInfo.put("sitterIDKey", ""+Controller.currentUser.accountInfo.get("ownerIDKey"));
Controller.mod... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void goToViewJob(SittingJob job) {\n setContentView(R.layout.activity_view_job);\n currentJob = job;\n Log.w(\"MA\", \"goToViewJob\");\n populateViewJob();\n }",
"public void saveJob(View v){\n FirebaseDatabase database = FirebaseDatabase.getInstance();\n Datab... | [
"0.6483548",
"0.5983079",
"0.56892955",
"0.5525844",
"0.55131",
"0.54916227",
"0.5484836",
"0.5422122",
"0.5417419",
"0.53992784",
"0.538662",
"0.5302152",
"0.52864534",
"0.52692366",
"0.5263824",
"0.52209944",
"0.52105004",
"0.51669395",
"0.516535",
"0.51640594",
"0.51596403... | 0.66396296 | 0 |
Mark a job as completed | public void completeJob(View v) {
// FIXME save that it is completed somehow
Log.w("MA", "completeJob");
setContentView(R.layout.activity_sitter_page);
allJobsList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"synchronized public void jobDone(){ // l'action a été réalisée\n\t\tdone = true; // changement d'état\n\t\tthis.notifyAll(); // on notifie tout le monde\n\t}",
"void completeJob();",
"public void markAsDone() {\n this.isDone = true;\n this.completed = \"1\";\n }",
"protected void jobFinished... | [
"0.76233125",
"0.74712735",
"0.73772866",
"0.7176261",
"0.7134803",
"0.71107465",
"0.7099229",
"0.7099229",
"0.7099229",
"0.7044932",
"0.7004043",
"0.6981851",
"0.6969456",
"0.68910736",
"0.68910736",
"0.68910736",
"0.68586075",
"0.68369293",
"0.68194795",
"0.6797855",
"0.679... | 0.62121254 | 48 |
init of blocks and registration naming oredict gameregistry | public static void init () {
/*
* Letter block naming and registry code
*/
for (int i = 0; i <= NameHandler.length(); ++i) {
BlockLetter bL = new BlockLetter();
String name = NameHandler.getNameFromIndex(i);
bL.setBlockName(name);
GameRegistry.registerBlock(bL, name);
letterBlocks.add(bL);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void init()\n {\n oreStarSteel = new BlockOreStarSteel(MSAConfig.ores, Material.rock);\n storageStarSteel = new BlockStorageStarSteel(MSAConfig.storageBlock, Material.iron);\n // tech blocks\n launchTower = new BlockLaunchTower(MSAConfig.launchTower, Material.iron);\n ... | [
"0.7293143",
"0.7265467",
"0.6954017",
"0.6718041",
"0.6699126",
"0.6628596",
"0.6609233",
"0.6575248",
"0.6458508",
"0.64330494",
"0.63834476",
"0.63531584",
"0.62794083",
"0.6217623",
"0.620836",
"0.61399645",
"0.61237264",
"0.6090731",
"0.6050633",
"0.60113764",
"0.5985936... | 0.73843074 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.COIN_TYPE_ID | public String getCoinTypeId() {
return coinTypeId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getSqlType() { return _type; }",
"public int getIdType() {\r\n return idType;\r\n }",
"public Integer getIdType() {\n return idType;\n }",
"public BigDecimal getTypeId() {\n return typeId;\n }",
"public TransactionType findTxnTypeById(int parseLong);",
"public Lon... | [
"0.5974829",
"0.5936235",
"0.5902617",
"0.58978444",
"0.58934903",
"0.5875374",
"0.58400005",
"0.58116096",
"0.5789331",
"0.5760741",
"0.57382274",
"0.57052106",
"0.56930184",
"0.56787986",
"0.5641551",
"0.5639575",
"0.5627759",
"0.560951",
"0.5603192",
"0.56026685",
"0.55628... | 0.6266818 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.COIN_TYPE_ID | public void setCoinTypeId(String coinTypeId) {
this.coinTypeId = coinTypeId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setIdType(int idType) {\r\n this.idType = idType;\r\n }",
"public void setType(long type) {\r\n this.type = type;\r\n }",
"public void setIdType(Integer idType) {\n this.idType = idType;\n }",
"public void setTypeid(Long typeid) {\n this.typeid = typeid;\n ... | [
"0.61935174",
"0.6164011",
"0.6121947",
"0.5858175",
"0.5734242",
"0.57333857",
"0.57333857",
"0.57207406",
"0.56674045",
"0.56434894",
"0.5631274",
"0.56096226",
"0.56015986",
"0.559747",
"0.5591776",
"0.5586988",
"0.5579228",
"0.55552816",
"0.55348945",
"0.55348945",
"0.552... | 0.6040192 | 3 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.REC_TIME | public Date getRecTime() {
return recTime;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getRetrievedTime();",
"public int getRecitationTime(){\n\t\treturn this.recitationTime;\n\t}",
"public java.util.Date getRecCrtTs () {\n\t\treturn recCrtTs;\n\t}",
"final public long getDateTime() {\n return crtime ;\n }",
"public java.sql.Time getREQ_END_TIME()\n {\n \n ret... | [
"0.5921349",
"0.58910257",
"0.5812946",
"0.5797282",
"0.5763677",
"0.5757098",
"0.57562256",
"0.5738044",
"0.5735445",
"0.5735167",
"0.5694209",
"0.568744",
"0.56802696",
"0.56775665",
"0.5666558",
"0.5651597",
"0.56346375",
"0.5633115",
"0.56326234",
"0.5610541",
"0.5603061"... | 0.66718453 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.REC_TIME | public void setRecTime(Date recTime) {
this.recTime = recTime;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTime(){\n \tDatabaseManager.getDBM().setLockedTime(cal); \n }",
"public Date getRecTime() {\n return recTime;\n }",
"void setRetrievedTime(long retrievedTime);",
"private MadisRecord setRecordTime(MadisRecord rec) {\n try {\n rec.setDataTime(new DataTime(rec.... | [
"0.6348822",
"0.57561445",
"0.5713019",
"0.56354016",
"0.54413813",
"0.531161",
"0.5304101",
"0.5303472",
"0.5300685",
"0.5294441",
"0.52903473",
"0.528789",
"0.5219394",
"0.5219394",
"0.5219394",
"0.5198427",
"0.5198401",
"0.5187433",
"0.51655376",
"0.5156053",
"0.51544046",... | 0.6262308 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.ACTIONTYPE | public Integer getActiontype() {
return actiontype;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getActionType() {\n return actionType;\n }",
"public String getActionType() {\n return actionType;\n }",
"public String getActionType() {\n return actionType;\n }",
"public Type getActionType() {\n return actionType;\n }",
"ActionType getType();",
"pu... | [
"0.6543143",
"0.64688724",
"0.6280919",
"0.62469333",
"0.60668284",
"0.59817135",
"0.57427937",
"0.56497294",
"0.5609137",
"0.55973136",
"0.5361593",
"0.53382933",
"0.5334381",
"0.5332504",
"0.5320116",
"0.53162324",
"0.531017",
"0.52783483",
"0.52690744",
"0.5231313",
"0.522... | 0.6639593 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.ACTIONTYPE | public void setActiontype(Integer actiontype) {
this.actiontype = actiontype;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setActionType(Integer actionType) {\n this.actionType = actionType;\n }",
"public String getActionType() {\n return actionType;\n }",
"public Integer getActionType() {\n return actionType;\n }",
"public void setActionType(final String actionType) {\n this.actio... | [
"0.6159836",
"0.5747661",
"0.5665965",
"0.5647385",
"0.5572517",
"0.54976124",
"0.5487883",
"0.53179055",
"0.5226472",
"0.51910305",
"0.51563144",
"0.5149975",
"0.51273674",
"0.5114153",
"0.5112351",
"0.510638",
"0.50819033",
"0.5067338",
"0.5023042",
"0.4981529",
"0.49769408... | 0.60824764 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.LOCK_ID | public String getLockId() {
return lockId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getLockTypeId()\n/* */ {\n/* 58 */ return this.lockTypeId;\n/* */ }",
"public Long getLockNum() {\n return lockNum;\n }",
"public String getLockUserid() {\n\t\treturn lockUserid;\n\t}",
"long getLockOwnersID(String uuid) throws DatabaseException;",
"public Dao<Lock, I... | [
"0.677609",
"0.64829946",
"0.62959033",
"0.5993747",
"0.58650756",
"0.58127683",
"0.58007306",
"0.5701492",
"0.56778556",
"0.56680894",
"0.5618233",
"0.5494253",
"0.54736423",
"0.5462675",
"0.54532677",
"0.541606",
"0.5348849",
"0.5340242",
"0.53170633",
"0.53068393",
"0.5302... | 0.6838373 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.LOCK_ID | public void setLockId(String lockId) {
this.lockId = lockId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLockKey( Long lockKey ) {\n this.lockKey = lockKey;\n }",
"public void setLockNum(Long lockNum) {\n this.lockNum = lockNum;\n }",
"public void setLockUserid(String lockUserid) {\n\t\tthis.lockUserid = lockUserid == null ? null : lockUserid.trim();\n\t}",
"public void setLoc... | [
"0.62645775",
"0.62131774",
"0.58275545",
"0.5824624",
"0.58147967",
"0.58078486",
"0.5692614",
"0.55449694",
"0.5398705",
"0.53773624",
"0.53750724",
"0.53571904",
"0.53398764",
"0.52649826",
"0.52567536",
"0.5256732",
"0.5256732",
"0.5256732",
"0.5238114",
"0.52066845",
"0.... | 0.62133324 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.USER_ID | public String getUserId() {
return userId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getUserid() {\r\n return userid;\r\n }",
"Long getUserId();",
"public Integer getUser_id() {\n\t\treturn user_id;\n\t}",
"public String getLockUserid() {\n\t\treturn lockUserid;\n\t}",
"public long getUserId();",
"public long getUserId();",
"public long getUserId();",
"public l... | [
"0.67942774",
"0.67462516",
"0.6675051",
"0.6582201",
"0.65590453",
"0.65590453",
"0.65590453",
"0.65590453",
"0.6554827",
"0.65533733",
"0.6551452",
"0.65027076",
"0.6501879",
"0.649973",
"0.649973",
"0.64898825",
"0.64898825",
"0.64898825",
"0.64712995",
"0.6466942",
"0.646... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.USER_ID | public void setUserId(String userId) {
this.userId = userId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setUserId(long value) {\r\n this.userId = value;\r\n }",
"private void setUserId(long value) {\n \n userId_ = value;\n }",
"public void setUserId(long value) {\n this.userId = value;\n }",
"private void setUserId(long value) {\n\n userId_ = value;\n }",
... | [
"0.6759799",
"0.6721845",
"0.6692499",
"0.6675379",
"0.6582288",
"0.65371704",
"0.6518113",
"0.64828986",
"0.6441128",
"0.64241093",
"0.6372192",
"0.6372192",
"0.6372192",
"0.6372192",
"0.6370061",
"0.634748",
"0.6345891",
"0.6293144",
"0.622483",
"0.62005407",
"0.61800325",
... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.SERVER_IP | public String getServerIp() {
return serverIp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getServerIP()\n\t{\n\t\treturn this.serverIP;\n\t}",
"public String getServerIP() {\n\t\treturn serverIP;\n\t}",
"public String getServerip() {\n return serverip;\n }",
"public static String getServerIpAddress() {\n return _serverIpAddress;\n }",
"public String getServerIp... | [
"0.67380905",
"0.6674228",
"0.66580266",
"0.66517746",
"0.6641699",
"0.65379065",
"0.6249868",
"0.6195837",
"0.6195282",
"0.61503893",
"0.6081395",
"0.5947231",
"0.5947231",
"0.5936467",
"0.5936467",
"0.5936467",
"0.5936467",
"0.5936467",
"0.5936467",
"0.5936467",
"0.5936467"... | 0.65249574 | 7 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.SERVER_IP | public void setServerIp(String serverIp) {
this.serverIp = serverIp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setServerIp(String serverIp) {\r\n\t\tthis.serverIp = serverIp;\r\n\t}",
"public void setIpServer(String ipServer)\n \t{\n \t\tthis.ipServer = ipServer;\n \t}",
"public void setIp(java.lang.String param){\r\n localIpTracker = true;\r\n \r... | [
"0.6096655",
"0.6086424",
"0.6066759",
"0.6066759",
"0.59609765",
"0.59436435",
"0.593591",
"0.5795259",
"0.5795259",
"0.5733461",
"0.56873316",
"0.56873316",
"0.56372684",
"0.55126226",
"0.5510261",
"0.5456573",
"0.54239815",
"0.5416918",
"0.5405191",
"0.5398605",
"0.5374844... | 0.6188033 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.GAME_ID | public String getGameId() {
return gameId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getGameId() {\n return gameId;\n }",
"public Integer getGameID() {\n\t\treturn game_id;\n\t}",
"String getGameId();",
"public int getGameID() {\n return GameID;\n }",
"public int getGameID() {\n return gameID;\n }",
"GameCode getGameCode(Long gameId);",
"pub... | [
"0.6837099",
"0.66233206",
"0.6513763",
"0.6497123",
"0.6479826",
"0.620028",
"0.609867",
"0.5942891",
"0.5718963",
"0.56774724",
"0.5675201",
"0.55910647",
"0.5589982",
"0.5576083",
"0.5550949",
"0.5547249",
"0.5535192",
"0.5449115",
"0.5423797",
"0.5376708",
"0.5352449",
... | 0.65440136 | 3 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.GAME_ID | public void setGameId(String gameId) {
this.gameId = gameId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setGameId(Integer gameId) {\n this.gameId = gameId;\n }",
"public Integer getGameId() {\n return gameId;\n }",
"public int getGameID() {\n return GameID;\n }",
"public String getGameId() {\n return gameId;\n }",
"public String getGameId() {\n retur... | [
"0.60613644",
"0.5822259",
"0.5606895",
"0.5592111",
"0.5592111",
"0.5589403",
"0.5555305",
"0.5459791",
"0.5405316",
"0.5395874",
"0.52869034",
"0.52652717",
"0.52397823",
"0.52033925",
"0.5201829",
"0.5200242",
"0.5196537",
"0.51937145",
"0.5187432",
"0.5184461",
"0.5183405... | 0.5688647 | 3 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.SERVER_NAME | public String getServerName() {
return serverName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getServerName(){\n return this.serverName;\n }",
"@Column(length = 1024)\r\n @PlaceHolder(key = \"host\")\r\n public String getServerName() {\r\n return serverName;\r\n }",
"public String getServername() {\r\n return servername;\r\n }",
"public String getDBNa... | [
"0.6078156",
"0.6066081",
"0.59527314",
"0.5919755",
"0.5829915",
"0.56983596",
"0.5620478",
"0.5491372",
"0.5433678",
"0.5400942",
"0.5368112",
"0.5358021",
"0.53196234",
"0.5311369",
"0.52942634",
"0.527403",
"0.522195",
"0.5220821",
"0.52022934",
"0.5201974",
"0.5201974",
... | 0.54741937 | 9 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.SERVER_NAME | public void setServerName(String serverName) {
this.serverName = serverName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Column(length = 1024)\r\n @PlaceHolder(key = \"host\")\r\n public String getServerName() {\r\n return serverName;\r\n }",
"public void setServerName(String serverName){\n this.serverName = serverName;\n }",
"public void setServerName(String serverName) {\r\n this.serverName = ... | [
"0.57876796",
"0.5659852",
"0.5493197",
"0.5407421",
"0.53928405",
"0.53810024",
"0.5341607",
"0.51190954",
"0.50897217",
"0.50871783",
"0.5077672",
"0.50718766",
"0.5048043",
"0.5030893",
"0.5010979",
"0.5008728",
"0.49850306",
"0.49298006",
"0.49196553",
"0.49196553",
"0.48... | 0.53890914 | 5 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.LOCK_NUM | public Long getLockNum() {
return lockNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getOtherLockNum() {\n return otherLockNum;\n }",
"public void setLockNum(Long lockNum) {\n this.lockNum = lockNum;\n }",
"public Long getLockTypeId()\n/* */ {\n/* 58 */ return this.lockTypeId;\n/* */ }",
"public String getLockId() {\n return lockId;\n ... | [
"0.63157725",
"0.6218543",
"0.576415",
"0.5720919",
"0.56742936",
"0.55929816",
"0.5544176",
"0.5468113",
"0.5397154",
"0.53803426",
"0.5314445",
"0.5314445",
"0.5314445",
"0.52524996",
"0.5221379",
"0.52021956",
"0.5201427",
"0.5191612",
"0.51797885",
"0.51423496",
"0.513750... | 0.7061703 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.LOCK_NUM | public void setLockNum(Long lockNum) {
this.lockNum = lockNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getLockNum() {\n return lockNum;\n }",
"public void setOtherLockNum(Long otherLockNum) {\n this.otherLockNum = otherLockNum;\n }",
"public void setLockKey( Long lockKey ) {\n this.lockKey = lockKey;\n }",
"public void setLockStatus(long lockStatus) {\r\n this.... | [
"0.612606",
"0.5999024",
"0.5840665",
"0.5773736",
"0.5517215",
"0.5443086",
"0.53247464",
"0.53247464",
"0.53247464",
"0.53223145",
"0.5301006",
"0.5218512",
"0.5177841",
"0.510431",
"0.5058694",
"0.5027298",
"0.50106436",
"0.50104016",
"0.49908704",
"0.49766725",
"0.4957134... | 0.72441286 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.CHANGE_NUM | public Long getChangeNum() {
return changeNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setChangeNum(Long changeNum) {\n this.changeNum = changeNum;\n }",
"public String getOldNum(){\n return cal.getOldNum();\n }",
"public int getChangeType() {\r\n return changeType;\r\n }",
"@Override\n public int getColChange() {\n return colChange;\... | [
"0.66604555",
"0.5747519",
"0.57005984",
"0.5699161",
"0.5628183",
"0.5535376",
"0.549725",
"0.5428344",
"0.5422368",
"0.53305525",
"0.53083515",
"0.52490497",
"0.5236352",
"0.52270406",
"0.52050006",
"0.5185092",
"0.5185092",
"0.5185092",
"0.517766",
"0.5175093",
"0.5139351"... | 0.74144524 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.CHANGE_NUM | public void setChangeNum(Long changeNum) {
this.changeNum = changeNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getChangeNum() {\n return changeNum;\n }",
"public void setLockNum(Long lockNum) {\n this.lockNum = lockNum;\n }",
"public void setHC_JobDataChange_ID (int HC_JobDataChange_ID);",
"public void setBSCA_PriceChangePrev_ID (int BSCA_PriceChangePrev_ID);",
"public void setTransN... | [
"0.6515542",
"0.57043374",
"0.56386185",
"0.5426319",
"0.53509825",
"0.52559",
"0.52229303",
"0.5204109",
"0.5195643",
"0.51855284",
"0.5135807",
"0.5101292",
"0.50344557",
"0.5030552",
"0.5025556",
"0.50113076",
"0.50029254",
"0.50025547",
"0.50025547",
"0.49858376",
"0.4967... | 0.74794245 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.REMAIN_NUM | public Long getRemainNum() {
return remainNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private long getReserveRecNo() {\n\t\tfinal int selectedRow = this.clientUI.getSelectedRowNo();\n\t\treturn this.model.getRecNo(selectedRow);\n\t}",
"protected long getLastCleanedRow() {\n List<String> res = dbconnector.execRead(\"SELECT value FROM MS_DataCleaning_conf \" +\n \"WHERE name='... | [
"0.5984577",
"0.5342329",
"0.53394943",
"0.5306277",
"0.53008217",
"0.5272712",
"0.5265135",
"0.51989913",
"0.519383",
"0.5192908",
"0.5100262",
"0.5100262",
"0.50862956",
"0.50820696",
"0.5049472",
"0.5047395",
"0.50324154",
"0.50231606",
"0.5022022",
"0.49998832",
"0.497667... | 0.6051777 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.REMAIN_NUM | public void setRemainNum(Long remainNum) {
this.remainNum = remainNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setReceiveNum(Long receiveNum) {\r\n this.receiveNum = receiveNum;\r\n }",
"public Long getRemainNum() {\n return remainNum;\n }",
"private long getReserveRecNo() {\n\t\tfinal int selectedRow = this.clientUI.getSelectedRowNo();\n\t\treturn this.model.getRecNo(selectedRow);\n\t}"... | [
"0.52816343",
"0.52800834",
"0.52531654",
"0.5001064",
"0.49810743",
"0.49596703",
"0.4943315",
"0.4911607",
"0.49018863",
"0.4842746",
"0.48055297",
"0.47948027",
"0.47866198",
"0.47835502",
"0.47774133",
"0.47707185",
"0.47640657",
"0.47640657",
"0.47337753",
"0.4689714",
"... | 0.5937892 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column TFC_USE_LOCK_DETAIL.OTHER_LOCK_NUM | public Long getOtherLockNum() {
return otherLockNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOtherLockNum(Long otherLockNum) {\n this.otherLockNum = otherLockNum;\n }",
"public Long getLockNum() {\n return lockNum;\n }",
"public int getOtherId() {\n return instance.getOtherId();\n }",
"public int getOtherId() {\n return otherId_;\n ... | [
"0.69708025",
"0.5749135",
"0.52739215",
"0.52601445",
"0.5176651",
"0.51173246",
"0.51015407",
"0.50854945",
"0.50379694",
"0.49945197",
"0.49288952",
"0.49072376",
"0.48617375",
"0.48553622",
"0.48158973",
"0.47906172",
"0.47816512",
"0.47796702",
"0.47367346",
"0.4720073",
... | 0.7515522 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column TFC_USE_LOCK_DETAIL.OTHER_LOCK_NUM | public void setOtherLockNum(Long otherLockNum) {
this.otherLockNum = otherLockNum;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getOtherLockNum() {\n return otherLockNum;\n }",
"public void setLockNum(Long lockNum) {\n this.lockNum = lockNum;\n }",
"private void setOtherId(int value) {\n \n otherId_ = value;\n }",
"public void setOther(gov.nih.nlm.ncbi.www.SeqIdDocument.SeqId.O... | [
"0.67239463",
"0.60641944",
"0.5641735",
"0.5625648",
"0.5338621",
"0.52553684",
"0.51670456",
"0.5108475",
"0.50557554",
"0.5045666",
"0.49501523",
"0.49490616",
"0.49446896",
"0.49213964",
"0.49127313",
"0.48350212",
"0.48088726",
"0.47932288",
"0.47480384",
"0.47231382",
"... | 0.7824385 | 0 |
This method was generated by MyBatis Generator. This method corresponds to the database table TFC_USE_LOCK_DETAIL | @Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
TFCUseLockDetail other = (TFCUseLockDetail) that;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getLockTypeId()\n/* */ {\n/* 58 */ return this.lockTypeId;\n/* */ }",
"private String getSingleLockSBRStmt() {\n\n if (null == mSingleLockStmt) {\n initClauses();\n mSingleLockStmt = \"SELECT s.EUID FROM SBYN_SYSTEMSBR s \" + mWithClause + \" WHERE s.EUID... | [
"0.5928134",
"0.5616077",
"0.54742384",
"0.54019105",
"0.5378169",
"0.52734303",
"0.52687484",
"0.52197796",
"0.52122426",
"0.51818174",
"0.5144744",
"0.51289",
"0.50960714",
"0.5094976",
"0.5019889",
"0.500352",
"0.5001865",
"0.49933517",
"0.4990437",
"0.49866778",
"0.498348... | 0.5114017 | 12 |
This method was generated by MyBatis Generator. This method corresponds to the database table TFC_USE_LOCK_DETAIL | @Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRowId() == null) ? 0 : getRowId().hashCode());
result = prime * result + ((getCoinTypeId() == null) ? 0 : getCoinTypeId().hashCode());
result = prime * result + ((getRecTime... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getLockTypeId()\n/* */ {\n/* 58 */ return this.lockTypeId;\n/* */ }",
"private String getSingleLockSBRStmt() {\n\n if (null == mSingleLockStmt) {\n initClauses();\n mSingleLockStmt = \"SELECT s.EUID FROM SBYN_SYSTEMSBR s \" + mWithClause + \" WHERE s.EUID... | [
"0.59257936",
"0.56153053",
"0.54717666",
"0.5399092",
"0.5375427",
"0.5271206",
"0.5267385",
"0.5215647",
"0.52116454",
"0.5177909",
"0.514263",
"0.51257724",
"0.5113672",
"0.50925803",
"0.50902885",
"0.50189716",
"0.500118",
"0.49987784",
"0.499427",
"0.4985887",
"0.4984580... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table TFC_USE_LOCK_DETAIL | @Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", coinTypeId=").append(coinTypeId);
sb.append(", recTime=").append(recTime);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getLockTypeId()\n/* */ {\n/* 58 */ return this.lockTypeId;\n/* */ }",
"private String getSingleLockSBRStmt() {\n\n if (null == mSingleLockStmt) {\n initClauses();\n mSingleLockStmt = \"SELECT s.EUID FROM SBYN_SYSTEMSBR s \" + mWithClause + \" WHERE s.EUID... | [
"0.59261245",
"0.561519",
"0.54722834",
"0.5398858",
"0.53774863",
"0.5272275",
"0.52670324",
"0.5216222",
"0.52121407",
"0.5178578",
"0.5143294",
"0.51265365",
"0.511341",
"0.50923073",
"0.50901824",
"0.50195044",
"0.5001683",
"0.49991024",
"0.49925548",
"0.4987129",
"0.4982... | 0.0 | -1 |
Creates the boxes. Only creates alpha box if needed. | public ChannelPanel(boolean hasAlpha) {
this.hasAlpha = hasAlpha;
int boxCount = hasAlpha ? 4:3;
boxList = new ChannelPanelBox[boxCount];
for (int i = 0; i < boxCount; i++) {
boxList[i] = new ChannelPanelBox(i, hasAlpha);
}
moveBox = new ChannelPanelBox(4, hasAlpha);
setPreferredSize(ne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void boxCreator(int[] pos, int width, int height) {\n for (int x = pos[0]; x < pos[0] + width; x++) {\n tiles[x][pos[1]] = Tileset.WALL;\n }\n for (int y = pos[1]; y < pos[1] + height; y++) {\n tiles[pos[0]][y] = Tileset.WALL;\n }\n ... | [
"0.6965729",
"0.67040825",
"0.6663669",
"0.66132385",
"0.6596136",
"0.6360793",
"0.63328075",
"0.6291506",
"0.6287855",
"0.6285107",
"0.6248398",
"0.62386006",
"0.6166337",
"0.6153905",
"0.6128005",
"0.61035585",
"0.6071007",
"0.60657644",
"0.6042698",
"0.6038186",
"0.6023886... | 0.0 | -1 |
checks whether a highlight should be drawn | private void checkHighlight(Point p) {
for (ChannelPanelBox box : boxList) {
if (box.contains(p))
box.highlight(true);
else
box.highlight(false);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isHighlighted();",
"public boolean getHighlight();",
"public boolean isHighlight() {\r\n\t\treturn _highlight;\r\n\t}",
"public void highlightEnable() {\n actualFillColor = new Color(0, 255, 0, 150);\n repaint();\n revalidate();\n }",
"public void setHighlight(boolean high);... | [
"0.7875646",
"0.7495592",
"0.7254078",
"0.7223895",
"0.69905454",
"0.69596106",
"0.6957528",
"0.68418455",
"0.67356306",
"0.6729636",
"0.66835886",
"0.66381264",
"0.6579753",
"0.6504736",
"0.6494656",
"0.6440815",
"0.6427222",
"0.64081794",
"0.64007556",
"0.63357025",
"0.6324... | 0.63519174 | 19 |
Creates new form combinacion | public combinacion() {
initComponents();
eventos();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"FORM createFORM();",
"public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }",
"public FormInserir() {\n initComponents();\n }",
"public static void create(Formulario form){\n daoFormulario.create(form);\n }",
"public SalidaCajaForm() {... | [
"0.7645561",
"0.7226992",
"0.67805517",
"0.6628898",
"0.65278614",
"0.63073295",
"0.6294699",
"0.6143657",
"0.61142033",
"0.6072567",
"0.6043203",
"0.603391",
"0.6026939",
"0.60196984",
"0.6008899",
"0.59998643",
"0.5998477",
"0.5977184",
"0.5961461",
"0.59514165",
"0.5943582... | 0.0 | -1 |
Metodo para la creacion de los eventos. | public void eventos() {
btnAbrir.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent evt) {
btnAbrirActionPerformed(evt);
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void createEvents() {\n\t}",
"private void createEvents()\r\n\t{\r\n\t\teventsCount.add(new Event(RequestMethod.PUT, 0));\r\n\t\teventsCount.add(new Event(RequestMethod.GET, 0));\r\n\t\teventsCount.add(new Event(RequestMethod.POST, 0));\r\n\t}",
"BasicEvents createBasicEvents();",
"private void initE... | [
"0.84884614",
"0.75155926",
"0.73397565",
"0.6993198",
"0.6940482",
"0.6693163",
"0.66661835",
"0.66538733",
"0.6647964",
"0.6647964",
"0.6646281",
"0.6557526",
"0.65385467",
"0.65254277",
"0.651942",
"0.65115637",
"0.64877844",
"0.64834636",
"0.648085",
"0.64396614",
"0.6400... | 0.0 | -1 |
Meotodo para buscar que sean iguales | public void calcular() {
int validar, c, d, u;
int contrasena = 246;
c = Integer.parseInt(spiCentenas.getValue().toString());
d = Integer.parseInt(spiDecenas.getValue().toString());
u = Integer.parseInt(spiUnidades.getValue().toString());
validar = c * 100 + d * 10 + u * ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean iguales(Pares f){\n\t\t\tboolean devolucion = false;\n\t\t\t\n\t\t\tif(f!=null){\n\t\t\t\tif(primero.iguales(f.getSegundo())){\n\t\t\t\t\tif(segundo.iguales(f.getPrimero())){\n\t\t\t\t\t\tif(distancia==f.getDistancia()){\n\t\t\t\t\t\t\tdevolucion=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t... | [
"0.5775896",
"0.56371665",
"0.5438555",
"0.53862697",
"0.5367793",
"0.53406376",
"0.5326582",
"0.5236973",
"0.5226738",
"0.5222249",
"0.52213806",
"0.5214605",
"0.51457363",
"0.51288074",
"0.51231134",
"0.51087856",
"0.51000553",
"0.5072616",
"0.50640166",
"0.5061144",
"0.505... | 0.0 | -1 |
Evento de nuestro boton. | public void btnAbrirActionPerformed(ActionEvent evt) {
calcular();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void ingresar_a_la_Opcion_de_eventos() {\n\t\t\n\t}",
"abstract void botonRecibir_actionPerformed(ActionEvent e);",
"@Override\n\t\t\t\t\tpublic void onEvent(Event event) throws Exception {\n\t\t\t\t\t\tMessagebox.Button button = (Messagebox.Button) event.getData();\n\t\t\t\t\t\tif (button == Messagebox... | [
"0.686689",
"0.66840005",
"0.66582257",
"0.6638055",
"0.6615583",
"0.65838283",
"0.65418375",
"0.64480364",
"0.6371924",
"0.63373965",
"0.62931424",
"0.6286831",
"0.6269416",
"0.62341565",
"0.62207156",
"0.62200403",
"0.6191564",
"0.61650914",
"0.6152389",
"0.6146391",
"0.610... | 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() {
spiCentenas = new javax.swing.JSpinner();
spiDecenas = new javax.swing.JSpinner();
spiUnidades = new javax.swing.JSpinner();
b... | {
"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.73206544",
"0.7291311",
"0.7291311",
"0.7291311",
"0.7286492",
"0.7249181",
"0.7213362",
"0.72085494",
"0.71965617",
"0.7190475",
"0.7184897",
"0.7159234",
"0.71483016",
"0.7094075",
"0.7081491",
"0.70579433",
"0.6987627",
"0.69776064",
"0.69552463",
"0.69549114",
"0.69453... | 0.0 | -1 |
Gets the associated view | public View getView() {
return view;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ViewIdentificator getView() {\r\n return view;\r\n }",
"public View getView() {\n return view;\n }",
"public String getView();",
"public String getView();",
"View getActiveView();",
"public View getView() { return view; }",
"protected View getCompartmentView() {\n\t\tView view = (V... | [
"0.74299246",
"0.6532015",
"0.650972",
"0.650972",
"0.64365155",
"0.64124",
"0.6268603",
"0.62677777",
"0.62620145",
"0.623145",
"0.623145",
"0.623145",
"0.62043774",
"0.6158793",
"0.61265147",
"0.61237234",
"0.60936564",
"0.6093014",
"0.60862184",
"0.6081529",
"0.60690194",
... | 0.67675996 | 1 |
Sets the view this action must run in. | public void setView(View view) {
this.view = view;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setView(@NonNull T view) {\n mView = view;\n }",
"public void setView(View view);",
"public void setView(final String view) \n {\n\tthis.view = view;\n }",
"public void setView(int view)\r\n\t{\n\t\tswitch(view)\r\n\t\t{\r\n\t\t\tcase Settings.ANONYMOUS_VIEW:\r\n\t\t\t\tbreak;\r\n\... | [
"0.7156484",
"0.7115476",
"0.69812775",
"0.6890761",
"0.6829798",
"0.6825188",
"0.6768195",
"0.6713528",
"0.66807383",
"0.6565187",
"0.65270895",
"0.6478179",
"0.64055616",
"0.63708323",
"0.6350114",
"0.6249755",
"0.6204418",
"0.6203546",
"0.61732006",
"0.6113065",
"0.6094152... | 0.72012126 | 0 |
Sets the key for the action name | public void setName(String name) {
this.name = name;
fireChange();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n @NonNull\n public SliceActionImpl setKey(@NonNull String key) {\n mActionKey = key;\n return this;\n }",
"BaseAction(int key, String name) {\n this.key = key;\n this.name = name;\n }",
"public void setKeyName(String newName){\n\n //assigns the value newNam... | [
"0.7099871",
"0.69528157",
"0.674016",
"0.6712145",
"0.66627026",
"0.6609381",
"0.6557214",
"0.65454596",
"0.65346843",
"0.6501448",
"0.64960825",
"0.6493685",
"0.647045",
"0.6463265",
"0.6463265",
"0.6463265",
"0.64527214",
"0.6450896",
"0.6450896",
"0.6446056",
"0.64095134"... | 0.0 | -1 |
Utility method to get the data associated to the view | protected Object getViewData() {
return view.getViewData();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Object getViewDetails();",
"public StudioFinalFixDTO getViewData() {\n return this.viewData;\n }",
"private void getDataFromView() throws EmptyTextFieldException, EmptyChoiceBoxException, NumberSmallerOneException {\n\n date = _view.getDate().getValue();\n title = _view.getTitle().getTe... | [
"0.72120655",
"0.65043473",
"0.62794983",
"0.6074431",
"0.5990717",
"0.59905994",
"0.59795386",
"0.59559864",
"0.58783966",
"0.58681333",
"0.5850952",
"0.5831869",
"0.5784812",
"0.57212967",
"0.57057875",
"0.5689399",
"0.5689399",
"0.5684308",
"0.56833476",
"0.56693757",
"0.5... | 0.7991718 | 0 |
Utility method to validate the view content. In case of validation errors, they are displayed. | protected boolean validateView() {
ValidationReport report = new ValidationReport();
view.validate(report);
// Displays the validation report result
view.display(report);
// Result
return report.isOk();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public View checkContentValidation() {\n return null;\n }",
"@Override\n public View checkContentValidation() {\n return null;\n }",
"@Override\n\tpublic boolean validateContent()\n\t{\n\t\treturn true;\n\t}",
"public interface IValidatingView {\r\n\r\n\t/**\r\n\t * Sets... | [
"0.74903625",
"0.74903625",
"0.7205004",
"0.6181878",
"0.61666536",
"0.61568785",
"0.6147448",
"0.6092104",
"0.6055259",
"0.602797",
"0.59384245",
"0.5891738",
"0.5857381",
"0.58129746",
"0.58103704",
"0.58027625",
"0.57862395",
"0.57790136",
"0.57585794",
"0.5741152",
"0.574... | 0.74647975 | 2 |
Initial state of the action. | public void setEnabled(boolean enabled) {
this.enabled = enabled;
fireChange();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void doInitialAction(){}",
"public void initialState() {\n\t\t//empty\n\t}",
"public InitialState() {\r\n\t\t}",
"public State getInitialState() {\r\n \t\treturn initialState;\r\n \t}",
"public State getInitialState() {\n\t\treturn initialState;\n\t}",
"public void initiateAction() {\r\n\t\t// TOD... | [
"0.7692392",
"0.7638914",
"0.72594416",
"0.72048694",
"0.7091551",
"0.706266",
"0.6868899",
"0.68302333",
"0.68118393",
"0.67923594",
"0.6785418",
"0.67644185",
"0.65731376",
"0.6553342",
"0.64903027",
"0.6445867",
"0.6405534",
"0.63818866",
"0.63602483",
"0.6323042",
"0.6322... | 0.0 | -1 |
Fires a change in the action. | protected void fireChange() {
ActionListener[] actionListenerArray = actionListeners.toArray(new ActionListener[0]);
for (int i = 0; i < actionListenerArray.length; i++) {
ActionListener listener = actionListenerArray[i];
listener.onActionChanged(this);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void actionPerformed (ActionEvent e) {\n fireChanged();\n }",
"@Override\r\n\tprotected void firePropertyChange(int action) {\r\n\t\tsuper.firePropertyChange(action);\r\n\t}",
"public void fireChange() {\n fireChange(new ChangeEvent(source));\n }",
"protected void fi... | [
"0.7426401",
"0.74019474",
"0.73549974",
"0.68464166",
"0.6708779",
"0.668759",
"0.66139144",
"0.64577615",
"0.64563364",
"0.64563364",
"0.64563364",
"0.64563364",
"0.6416002",
"0.64013016",
"0.639562",
"0.63848776",
"0.62691355",
"0.62227684",
"0.62164605",
"0.62112844",
"0.... | 0.7476343 | 0 |
Might be null if Google Play services APK is not available. This method is performed by android at the creation of the Activity. It will be tasked to initializing its presenter. | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_map_chart);
setUpMapIfNeeded();
presenter= PresenterImpl.create(PresenterImpl.ChartType.MAPCHART_TYPE,this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void acquireGooglePlayServices() {\r\n GoogleApiAvailability apiAvailability = GoogleApiAvailability.getInstance();\r\n final int connectionStatusCode = apiAvailability.isGooglePlayServicesAvailable(getActivity());\r\n if (apiAvailability.isUserResolvableError(connectionStatusCode)) {\... | [
"0.7277459",
"0.72615445",
"0.72174466",
"0.72174466",
"0.72174466",
"0.711065",
"0.67224103",
"0.6596314",
"0.6488966",
"0.645785",
"0.63720703",
"0.6350369",
"0.62998617",
"0.6265403",
"0.6159358",
"0.6132073",
"0.6109351",
"0.6107967",
"0.60702914",
"0.60504305",
"0.603398... | 0.5673237 | 52 |
This method will display correctly the chart passed as a parameter. | @Override
public void renderChart(ChartData data) {
markers.clear();
mMap.clear();
ArrayList<MapSet> sets= ((MapChartDataImpl)data).getData();
for(int i=0;i<sets.size();i++){
BitmapDescriptor setmarkerico=null;
ArrayList<MapPoint> set=sets.get(i).getData();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void View()\n\t{\n\t\tDefaultPieDataset pieDataset = new DefaultPieDataset();\n\t\t\n\t\tfor(String key : result.keySet())\n\t\t{\n\t\t\tpieDataset.setValue(key, Double.parseDouble(result.get(key).toString()));\n\t\t}\n\t\t\n\t\tJFreeChart chart = ChartFactory.createPieChart(title, pieDataset, true, true, t... | [
"0.68051994",
"0.67708015",
"0.6770363",
"0.66598433",
"0.66585004",
"0.6615324",
"0.6579938",
"0.6465659",
"0.64376056",
"0.6432189",
"0.63617486",
"0.6307608",
"0.630291",
"0.62948996",
"0.6261786",
"0.61147064",
"0.59905505",
"0.5974524",
"0.5959943",
"0.593203",
"0.592003... | 0.0 | -1 |
This method provides the ability to change the display position of the map chart, or the coordinates of the central point. | @Override
public void setCameraCoordinate(double latitude, double longitude) {
mMap.moveCamera(CameraUpdateFactory.newLatLng(new LatLng(latitude, longitude)));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void reconfigure() {\n computePosition(_primaryPlot.getScreenCoords(findCurrentCenterPoint()), false);\n }",
"public void setMapPosition() {\n\t\txmap = levelState.getx();\n\t\tymap = levelState.gety();\n\t}",
"private void panMap(int x, int y){\r\n Point p = map.getMapCenter();\r\n p.x += ... | [
"0.70611787",
"0.6402091",
"0.63788456",
"0.6268012",
"0.6182953",
"0.6154789",
"0.61147994",
"0.6012174",
"0.5995493",
"0.59884834",
"0.59615684",
"0.59334147",
"0.59323853",
"0.5926745",
"0.59239113",
"0.59119517",
"0.5911848",
"0.5890431",
"0.5885507",
"0.587968",
"0.58606... | 0.0 | -1 |
This method provides the ability to change the display height of the map chart. The permitted heights are available in static constants of class (X_ZOOM_LEVEL) or intermediate values to them. | @Override
public void setCameraZoom(int zoomLevel) {
mMap.moveCamera(CameraUpdateFactory.zoomTo(zoomLevel));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void updateMapViewHeight() {\n\t\tint screenHeight = getActivity().getWindowManager().getDefaultDisplay()\n\t\t\t\t.getHeight();\n\n\t\tint coordinatesContainerHeight = 0;\n\t\tif (mEditMode) {\n\t\t\tmDiveSiteCoordinatesEditContainer.measure(MeasureSpec.UNSPECIFIED,\n\t\t\t\t\tMeasureSpec.UNSPECIFIED);\n\... | [
"0.70661247",
"0.65448505",
"0.65448505",
"0.651352",
"0.648073",
"0.64734995",
"0.6438781",
"0.6390741",
"0.63856643",
"0.63856643",
"0.6365522",
"0.63205093",
"0.6300341",
"0.6297921",
"0.6272116",
"0.6246726",
"0.6243689",
"0.6199641",
"0.619859",
"0.6193157",
"0.6178397",... | 0.0 | -1 |
Returns a single listener. Asserts that the number configured is <= 1, and returns a noop listener if 0 or the only one in the list if 1. | public static ClusterListener singleClusterListener(final ClusterSettings clusterSettings) {
assertTrue(clusterSettings.getClusterListeners().size() <= 1);
return clusterSettings.getClusterListeners().isEmpty()
? NO_OP_CLUSTER_LISTENER
: clusterSettings.getClusterListener... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static ServerListener singleServerListener(final ServerSettings serverSettings) {\n assertTrue(serverSettings.getServerListeners().size() <= 1);\n return serverSettings.getServerListeners().isEmpty()\n ? NO_OP_SERVER_LISTENER\n : serverSettings.getServerListeners(... | [
"0.6223965",
"0.57466096",
"0.55924916",
"0.5585998",
"0.5552002",
"0.54347086",
"0.54001075",
"0.5384879",
"0.5338852",
"0.5231237",
"0.504645",
"0.500792",
"0.5000315",
"0.49573186",
"0.49510753",
"0.49292958",
"0.4872886",
"0.48387346",
"0.482676",
"0.4817139",
"0.47272733... | 0.55467165 | 5 |
Returns a single listener. Asserts that the number configured is <= 1, and returns a noop listener if 0 or the only one in the list if 1. | public static ServerListener singleServerListener(final ServerSettings serverSettings) {
assertTrue(serverSettings.getServerListeners().size() <= 1);
return serverSettings.getServerListeners().isEmpty()
? NO_OP_SERVER_LISTENER
: serverSettings.getServerListeners().get(0);... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static ServerMonitorListener singleServerMonitorListener(final ServerSettings serverSettings) {\n assertTrue(serverSettings.getServerMonitorListeners().size() <= 1);\n return serverSettings.getServerMonitorListeners().isEmpty()\n ? NO_OP_SERVER_MONITOR_LISTENER\n ... | [
"0.57468635",
"0.5592603",
"0.5586251",
"0.5552324",
"0.55473",
"0.5435362",
"0.5399837",
"0.53849614",
"0.53392136",
"0.52315897",
"0.50466186",
"0.5007862",
"0.5000775",
"0.4956263",
"0.49518213",
"0.49293324",
"0.4873376",
"0.48398277",
"0.48252115",
"0.48160207",
"0.47280... | 0.6224255 | 0 |
Returns a single listener. Asserts that the number configured is <= 1, and returns a noop listener if 0 or the only one in the list if 1. | public static ServerMonitorListener singleServerMonitorListener(final ServerSettings serverSettings) {
assertTrue(serverSettings.getServerMonitorListeners().size() <= 1);
return serverSettings.getServerMonitorListeners().isEmpty()
? NO_OP_SERVER_MONITOR_LISTENER
: serverS... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static ServerListener singleServerListener(final ServerSettings serverSettings) {\n assertTrue(serverSettings.getServerListeners().size() <= 1);\n return serverSettings.getServerListeners().isEmpty()\n ? NO_OP_SERVER_LISTENER\n : serverSettings.getServerListeners(... | [
"0.62239",
"0.559228",
"0.5585708",
"0.5552114",
"0.5547311",
"0.54356056",
"0.5399513",
"0.53853977",
"0.5339",
"0.52325225",
"0.5047711",
"0.5008053",
"0.50008154",
"0.49564886",
"0.49514368",
"0.49290577",
"0.48733437",
"0.48400414",
"0.48249707",
"0.48168603",
"0.4727098"... | 0.5746396 | 1 |
TODO Autogenerated method stub | public List<Entity> getListByPage(Integer pageNo, Integer pageSize) {
return entityDao.getListByPage(pageNo, pageSize);
} | {
"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 the file if it doesn't exist | public static void CreateFile(){
try{
new File("wipimages").mkdir();
logscommissions.createNewFile();
}catch(Exception e){
e.printStackTrace();
System.out.println("CreateFile Failed\n");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void createFile()\n {\n //Check if file already exists\n try {\n File myObj = new File(\"src/main/java/ex45/exercise45_output.txt\");\n if (myObj.createNewFile()) {\n System.out.println(\"File created: \" + myObj.getName());// created\n } else {\n ... | [
"0.76564926",
"0.7128559",
"0.69889045",
"0.69790363",
"0.6956708",
"0.6933596",
"0.68425816",
"0.68113685",
"0.67658925",
"0.6763985",
"0.6689998",
"0.6623557",
"0.6616276",
"0.6586332",
"0.65784615",
"0.6572005",
"0.656463",
"0.654466",
"0.65237004",
"0.6483298",
"0.64315",... | 0.68405724 | 7 |
writes the last entry in ManageCommissionerList.comms to the file | public static void WriteFile(){
String[] linha;
FileWriter writer;
try{
writer = new FileWriter(logscommissions, true);
PrintWriter printer = new PrintWriter(writer);
linha = ManageCommissionerList.ReturnsCommissionerListInString(ManageCommissionerList.comms.s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void writeFile(){\n try{\n Path contactsListPath = Paths.get(\"contacts\",\"contacts.txt\");\n Files.write(contactsListPath, contactList);\n } catch(IOException ioe){\n ioe.printStackTrace();\n }\n //refreshes list of Contact objs\n fileToC... | [
"0.595896",
"0.5843249",
"0.57898986",
"0.56865126",
"0.5598278",
"0.5591814",
"0.5591112",
"0.55467737",
"0.5515195",
"0.5434569",
"0.5391005",
"0.53650016",
"0.5363946",
"0.5327779",
"0.53271395",
"0.5326352",
"0.53223073",
"0.5277286",
"0.52631044",
"0.5259959",
"0.5256818... | 0.5637379 | 4 |
replaces the entry of index inside the logs file | public static void ReplacesEntry(int index){
int cont = 0;
String[] thingstowrite = ManageCommissionerList.ReturnsCommissionerListInString(index);
try{
Path path = Paths.get("logscommission.txt");
List<String> lines = Files.readAllLines(path, StandardCharsets.UTF_8);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Reindex() {}",
"private Reindex() {}",
"private void updateIndexMap(String file) {\n\t\ttry (Scanner s = new Scanner(new File(file))) {\n\t\t\twhile (s.hasNext()) {\n\t\t\t\tString word = TextParserUtil.cleanWord(s.next());\n\t\t\t\tString partition = word.substring(0, 1);\n\t\t\t\tif (indexedDir.get(p... | [
"0.5875223",
"0.5875223",
"0.5831418",
"0.57824016",
"0.577178",
"0.5707217",
"0.57038295",
"0.5702541",
"0.5679685",
"0.5643812",
"0.5608264",
"0.558295",
"0.5571575",
"0.5491942",
"0.548454",
"0.5468631",
"0.54499286",
"0.5383341",
"0.53828984",
"0.53399813",
"0.5317977",
... | 0.7176417 | 0 |
replaces the original wip image file | public static void ReplacesImage(int index){
try{
Commissions temp = ManageCommissionerList.comms.get(index);
BufferedImage img = temp.GetWipImage();
File fl = new File("wipimages/wip" + temp.GetCommissionTitle() + index + ".jpg");
ImageIO.write(img, "jpg", fl);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void updateImageFile() throws FileNotFoundException {\n \t\tfinal PrintWriter out = new PrintWriter(asciiImageFile);\n \t\tout.print(asciiImage(false));\n \t\tout.close();\n \t}",
"private void enhanceImage(){\n }",
"@Test\n\tpublic void testUpdateImage() {\n\n\t\tip = new ImagePlus();\n\t\t//assertN... | [
"0.63937587",
"0.5687046",
"0.56526566",
"0.54738593",
"0.547063",
"0.5413172",
"0.5389582",
"0.53681856",
"0.53652376",
"0.5364564",
"0.5345936",
"0.53440565",
"0.5330016",
"0.52858543",
"0.52806616",
"0.52511644",
"0.5235328",
"0.5234176",
"0.5224846",
"0.5215565",
"0.52041... | 0.644516 | 0 |
one method that runs for all buttons when they're clicked to use less code | public void imageClicked(int imageView){
//get text from all buttons
String name=etName.getText().toString().trim();
String phoneNum=etPhoneNumber.getText().toString().trim();
String website=etWebsite.getText().toString().trim();
String address=etLocation.getText().toString().tri... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onClick() {\n for(Runnable action : onClick) action.run();\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getSource().equals(ClientWindow.retButtons()[0])){\n\t\t\tperformButton(0);\n\t\t}\n\t\tif(e.getSource().equals(ClientWindow.retButtons()[1])){\n\t\t\tper... | [
"0.75972474",
"0.73150265",
"0.7153793",
"0.7116389",
"0.71072376",
"0.7065604",
"0.70354354",
"0.69617283",
"0.6958122",
"0.6910598",
"0.6856371",
"0.68290883",
"0.67874485",
"0.67793906",
"0.6713116",
"0.67100376",
"0.6695038",
"0.6687705",
"0.6661109",
"0.6655501",
"0.6651... | 0.0 | -1 |
set connection socket on construction | public serverResponse(Socket connetionSocket) throws FileNotFoundException {
this.connectionSocket = connetionSocket;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSocket(SocketWrapper socket);",
"protected final void setSocket(Socket socket) {\n this.socket = socket;\n }",
"public void setSocket(ServerSocket socket) {\n\t\tthis.socket = socket;\n\t}",
"public GridPeer setSocket(Socket socket) throws Exception\n {\n connected = true;\... | [
"0.76259726",
"0.7056697",
"0.70262396",
"0.6964509",
"0.68047476",
"0.6801477",
"0.67943376",
"0.67671347",
"0.67487663",
"0.6744657",
"0.6740747",
"0.67309713",
"0.6700717",
"0.67006594",
"0.6684615",
"0.6670477",
"0.6644881",
"0.66117376",
"0.65560275",
"0.6550612",
"0.654... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.