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 |
|---|---|---|---|---|---|---|
Created by lewis on 5/5/2016. | public interface SliderDao {
void addSlider(Slider slider);
void editSlider(Slider slider);
List<Slider> getAllSlider();
Slider getSliderById(int sliderId);
} | {
"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}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r... | [
"0.62733036",
"0.60557616",
"0.60174507",
"0.5992758",
"0.5932493",
"0.5912796",
"0.5912796",
"0.5888389",
"0.5844914",
"0.5799106",
"0.57971424",
"0.57779825",
"0.57775533",
"0.57748586",
"0.5767646",
"0.5760456",
"0.57349",
"0.5702062",
"0.56891805",
"0.56772155",
"0.566745... | 0.0 | -1 |
this is not sent in the RegistrySendsNodeManifest | public NodeInfo() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private NodeRestartRequest() {\n\t\t}",
"@Override\n\tpublic String getNodeName() {\n\t\treturn null;\n\t}",
"@Override\r\n\t\tpublic String getNodeName()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"abstract protected boolean shouldRegister(NodeDescriptor node) throws NodeException;",
"@Override\n pu... | [
"0.5613914",
"0.5443059",
"0.5411562",
"0.53480417",
"0.53160965",
"0.52717525",
"0.5267884",
"0.52438235",
"0.5240501",
"0.5213795",
"0.51799417",
"0.5133043",
"0.51215374",
"0.5062749",
"0.49926102",
"0.4983441",
"0.49687096",
"0.49664",
"0.49641523",
"0.49504858",
"0.49328... | 0.0 | -1 |
Justin2 justin2 = new Justin2(); Justin3 justin3 = new Justin3(); | public void paint(Graphics g) {
cloud.paint(g);
g1.paint(g);
teacher.paint(g);
justin.paint(g);
butt.paint(g);
//justin2.paint(g);
//justin3.paint(g);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String args[]){\n SingleTonClass myobject= SingleTonClass.objectCreationMethod();\r\n SingleTonClass myobject1= SingleTonClass.objectCreationMethod();\r\n myobject.display();\r\n myobject.b = 600;\r\n myobject1.display();\r\n myobject1.b = 800;\r\n ... | [
"0.60705197",
"0.6019863",
"0.5933533",
"0.58267945",
"0.57430744",
"0.5731387",
"0.57097036",
"0.56878483",
"0.56878483",
"0.5647084",
"0.56129134",
"0.55798924",
"0.5575958",
"0.55658305",
"0.55500937",
"0.5542211",
"0.5526273",
"0.5522114",
"0.5506702",
"0.5487817",
"0.547... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseClicked(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseEntered(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseExited(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mousePressed(MouseEvent arg0) {
int x = arg0.getX();
int y = arg0.getY();
//send mouse x and y to the justin object's collision mode
justin.collided(x, y);
//justin2.collided(x, y);
//justin3.collided(x, y);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseReleased(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void actionPerformed(ActionEvent arg0) {
repaint();
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
delete active recordset ElecDevices | public void deleteElecDevices(ElecDevices activeED){
EntityManager em = getEntityManager();
EntityTransaction tx = null;
try{
tx = em.getTransaction();
tx.begin();
em.remove(activeED);;
tx.commit();
}catch(Exception re)
{
if(tx!=null)
System.out.println("Erreur : annulation des... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void deleteDevices(){\n SQLiteDatabase db = getWritableDatabase();\n db.execSQL(\"delete from \"+devicesContract.deviceEntry.tableName);\n db.close();\n }",
"int deleteByPrimaryKey(Integer deviceId);",
"int deleteAllComponents(RecordSet inputRecords);",
"int deleteByPrimaryKey(... | [
"0.73003477",
"0.6431612",
"0.6426504",
"0.6424282",
"0.6311436",
"0.6181604",
"0.60884196",
"0.6025627",
"0.6007307",
"0.5908887",
"0.5900853",
"0.58934164",
"0.58908606",
"0.5890814",
"0.5858275",
"0.58574426",
"0.58518857",
"0.5848847",
"0.5769962",
"0.57677907",
"0.575495... | 0.73700935 | 0 |
Creates new form Categoria | public Categoria() {
initComponents();
desabilitarComponentes();
carregarTabela();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Categorie addCategorie(Categorie c);",
"public VentanaCreaCategoria(VentanaPrincipal v, Categoria c) {\r\n\t\tthis.vp = v;\r\n\t\tthis.setResizable(false);\r\n\t\tthis.setLocationRelativeTo(null);\r\n\t\tsetTitle(\"Crear categor\\u00EDa\");\r\n\t\tsetBounds(100, 100, 441, 237);\r\n\t\tgetContentPane().set... | [
"0.70870334",
"0.68157345",
"0.6808088",
"0.67270195",
"0.66709054",
"0.6645591",
"0.6586346",
"0.6579576",
"0.6484866",
"0.64634156",
"0.6455865",
"0.6424667",
"0.63679266",
"0.63657624",
"0.6326268",
"0.6296901",
"0.6278225",
"0.62641346",
"0.6252661",
"0.6211283",
"0.62084... | 0.6483905 | 9 |
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() {
labelCodigo = new javax.swing.JLabel();
textCodigo = new javax.swing.JTextField();
labelDescricao = new javax.swing.JLabel();
... | {
"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 |
End of variables declaration//GENEND:variables | private void limparComponentes() {
textCodigo.setText("0");
textDescricao.setText("");
tableCategorias.clearSelection();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void assignment() {\n\n\t\t\t}",
"private void kk12() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n pu... | [
"0.6359672",
"0.62805766",
"0.6188898",
"0.6094004",
"0.60918343",
"0.6070505",
"0.6051442",
"0.6051194",
"0.60025513",
"0.59884185",
"0.59703076",
"0.5967403",
"0.59663707",
"0.5965261",
"0.5961392",
"0.5940802",
"0.59082854",
"0.5895613",
"0.58904797",
"0.5881886",
"0.58808... | 0.0 | -1 |
Often repeated helper methods that need Thread.sleep() | public void clickHome(){
try{
Thread.sleep(500);
new WebDriverWait(this.driver, 15)
.until(ExpectedConditions.elementToBeClickable(this.home)).click();
} catch (Exception e){
System.out.println(e.getMessage());
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sleep() {\n\t\t\n\t}",
"@Override\n\tpublic void sleeps() {\n\t\t\n\t}",
"void sleep()\r\n\t{\r\n\t\t\r\n\t}",
"void sleep();",
"void sleep();",
"private void sleep()\n {\n try {\n Thread.sleep(Driver.sleepTimeMs);\n }\n catch (InterruptedExcept... | [
"0.76628745",
"0.76564276",
"0.7494593",
"0.7341722",
"0.7341722",
"0.7338492",
"0.72763944",
"0.7115189",
"0.7058012",
"0.7020912",
"0.70137423",
"0.6970008",
"0.695958",
"0.6957285",
"0.6956018",
"0.6906892",
"0.6892628",
"0.68917423",
"0.68665457",
"0.6864665",
"0.6817863"... | 0.0 | -1 |
This method checks if the input is valid. | public static boolean isValid(String fullCommand) {
String strWeek = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);
if (!strWeek.isEmpty()) {
char checkSpace = strWeek.charAt(0);
if (checkSpace != ' ') {
return false;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isInputValid() {\n return true;\n }",
"private boolean isValidInput() {\n\t\treturn true;\n\t}",
"protected abstract boolean isInputValid();",
"@Override\n\tpublic boolean checkInput() {\n\t\treturn true;\n\t}",
"protected abstract boolean checkInput();",
"private void validateI... | [
"0.86311847",
"0.8621043",
"0.8205435",
"0.80104893",
"0.7659533",
"0.75889695",
"0.7528009",
"0.73813134",
"0.73791265",
"0.7298029",
"0.72287863",
"0.7214566",
"0.7143308",
"0.7142205",
"0.7039204",
"0.70074975",
"0.6977608",
"0.6959642",
"0.69593763",
"0.6911742",
"0.68479... | 0.0 | -1 |
This method converts the given week format to the format in the lookup table. | public static String getWeek(String fullCommand) {
String week = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);
week = week.trim();
if ((week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)
|| week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_READI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.czht.face.recognition.Czhtdev.Week getWeekday();",
"public void setWeek(String week) {\r\n this.week = week;\r\n }",
"public static String getWeekCommandFormat(String selectedWeek) {\n String week;\n if ((selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS... | [
"0.58978814",
"0.5850066",
"0.58476514",
"0.5729341",
"0.5710333",
"0.5487794",
"0.5469987",
"0.54393643",
"0.5407124",
"0.5376118",
"0.53610086",
"0.53382725",
"0.5334008",
"0.53173304",
"0.53155446",
"0.5293977",
"0.5253256",
"0.51860154",
"0.5153705",
"0.51428443",
"0.5129... | 0.52642125 | 16 |
This method converts the given week format to the WeekCommand format. | public static String getWeekCommandFormat(String selectedWeek) {
String week;
if ((selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)
|| selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_READING)
|| selectedWeek.toLowerCa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setWeek(String week) {\r\n this.week = week;\r\n }",
"public static String getWeek(String fullCommand) {\n String week = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);\n week = week.trim();\n if ((week.equals(DukeConstants.WEEK_FORMAT_... | [
"0.5943389",
"0.58986765",
"0.55039877",
"0.54471105",
"0.5269529",
"0.51886183",
"0.5058589",
"0.5038172",
"0.5029171",
"0.5004754",
"0.49799708",
"0.49733692",
"0.4952225",
"0.4927971",
"0.492177",
"0.49185687",
"0.4878001",
"0.4831168",
"0.48240837",
"0.48208904",
"0.48052... | 0.6958288 | 0 |
i will go on the assumption that a bus cannot be considered "handicapped" and/or a huge work truck cannot be handicapped, neither can a motorcycle constructor | public Handicap(String model, String make, String year, String platenum, Color color, int spotnum) {
super(model, make, year, platenum, color, spotnum, spaceType, MONEY_MULT);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Bus() {\n\t}",
"public Pwm(int bus){\n instanceBus = bus;\n if(bus == unusedBus){\n \n }\n else{\n pwmInstance = new Jaguar(bus);\n Debug.output(\"Pwm constructor: created PWM on bus\", new Integer(bus), ConstantManager.deviceDebug);\n }\... | [
"0.65989375",
"0.6267305",
"0.602956",
"0.6017493",
"0.5986665",
"0.59611714",
"0.5910458",
"0.58989334",
"0.5890187",
"0.5871715",
"0.5819528",
"0.58186907",
"0.5777843",
"0.5756253",
"0.5742486",
"0.5696585",
"0.5681841",
"0.5675616",
"0.5662082",
"0.5659919",
"0.5629914",
... | 0.0 | -1 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. | @Override
public void removeFilterValue(String value) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void habilitar() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}... | [
"0.77442753",
"0.73745763",
"0.6965507",
"0.6908429",
"0.6797187",
"0.67738247",
"0.6770793",
"0.6653347",
"0.66378933",
"0.66238236",
"0.6608154",
"0.6608154",
"0.65922153",
"0.6585848",
"0.6554524",
"0.64987206",
"0.6461772",
"0.64494187",
"0.6428624",
"0.64187545",
"0.6382... | 0.0 | -1 |
Set the author and title fields when this object is constructed. | public Book(String bookAuthor, String bookTitle, int bookPages, String getDetails)
{
author = bookAuthor;
title = bookTitle;
pages = bookPages;
details = author,title,pages;
Number = "";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void setAuthor(String author) {\n\t\tsuper.setAuthor(author);\r\n\t}",
"public void setAuthor(String author) {\r\n this.author = author;\r\n }",
"public void setAuthor(String author)\r\n {\r\n m_author = author;\r\n }",
"public void setAuthor(String author) {\n\tthis.... | [
"0.70109046",
"0.6943203",
"0.68946505",
"0.6874416",
"0.6849712",
"0.6849712",
"0.6849712",
"0.6849712",
"0.6849712",
"0.68214935",
"0.67768276",
"0.6775204",
"0.676499",
"0.6731825",
"0.6713397",
"0.67121416",
"0.6660803",
"0.65891975",
"0.65761524",
"0.651972",
"0.6504792"... | 0.0 | -1 |
Add the methods here... First we return the Author and Title. | public String getAuthor(){
return author;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract String getAuthor();",
"public String getAuthor();",
"String getAuthor();",
"String getAuthor();",
"String getAuthorName();",
"@Override\n public String toString() {\n return this.title + \" (\" + this.author.getName() + \"), \" + this.year;\n }",
"public String getAuthor() ... | [
"0.76468605",
"0.7548181",
"0.74727833",
"0.74727833",
"0.7141513",
"0.70737565",
"0.7051773",
"0.6904545",
"0.6876284",
"0.6834744",
"0.6833335",
"0.68114626",
"0.6808989",
"0.67898977",
"0.6778089",
"0.6737536",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.673... | 0.67291653 | 28 |
The we also add print methods for Author and Title. | public String printAuthor(){
System.out.println();
return author;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void printDetails()\n {\n super.printDetails();\n System.out.println(\"The author is \" + author + \" and the isbn is \" + isbn); \n }",
"public void printAuthor()\n {\n System.out.println(\"by: \" + author);\n }",
"public void print()\n {\n System.out.p... | [
"0.75523025",
"0.7363412",
"0.718165",
"0.71222067",
"0.6956036",
"0.69020456",
"0.67580634",
"0.6674863",
"0.66688037",
"0.66013116",
"0.6587716",
"0.65822095",
"0.6563947",
"0.65495205",
"0.6544851",
"0.6520266",
"0.6518818",
"0.65175",
"0.6517349",
"0.65105927",
"0.6501481... | 0.7060703 | 4 |
We add a method for the number of pages. | public int getPages(){
return pages;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int numberOfPages() {\n // TODO Auto-generated method stub\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }",
"int getPagesAmount();",
"public int getPageCount() { return _pages.size(); }",
"public Integer getPageCount();",
"int getPagesize();",
"publi... | [
"0.7951517",
"0.7936263",
"0.75981647",
"0.74188435",
"0.7387987",
"0.7311176",
"0.72853816",
"0.7218366",
"0.7187743",
"0.7187743",
"0.71742606",
"0.7074687",
"0.7032156",
"0.700225",
"0.6997022",
"0.69829327",
"0.69610053",
"0.6941431",
"0.6926586",
"0.6926586",
"0.6926586"... | 0.7333695 | 5 |
This is the method for getting the details of the book. | public String printDetails(){
System.out.println("This is the Title of the book:");
return title;
System.out.println("This is the Author of the book:");
return author;
System.out.println("This is how many pages there are:");
return pages;
System.out.println("This ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void getBookDetails() {\n\t}",
"public void retrieveDetailedBookInfo(){\n //Check for internet connection\n if(!NetworkJSONUtils.checkInternetConnection(this)) {\n ErrorUtils.errorDialog(BookDetailsActivity.this, \"Network Error\", \"It seems you don't have any network connection.... | [
"0.841402",
"0.7447691",
"0.74009687",
"0.7334918",
"0.7301713",
"0.724441",
"0.7035093",
"0.703147",
"0.70282066",
"0.68915707",
"0.68569756",
"0.68567246",
"0.6744845",
"0.66742396",
"0.6658333",
"0.6658333",
"0.66474485",
"0.6642318",
"0.6626686",
"0.659081",
"0.65519893",... | 0.66658324 | 14 |
Constructors Do not use this constructor directly, please use the factory method available in the associated manager. | MTBTypesDTO() {
// EMPTY CONSTRUCTOR
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Factory() {\n\t\tsuper();\n\t}",
"public Factory() {\n this(getInternalClient());\n }",
"Constructor() {\r\n\t\t \r\n\t }",
"public MystFactoryImpl()\r\n {\r\n super();\r\n }",
"private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}",
"pr... | [
"0.72810936",
"0.7078391",
"0.6888206",
"0.6868341",
"0.6859736",
"0.6809445",
"0.67956877",
"0.6779191",
"0.6736015",
"0.6726101",
"0.66906947",
"0.6660072",
"0.66525066",
"0.66453123",
"0.66362673",
"0.6633612",
"0.6629753",
"0.6619201",
"0.6605571",
"0.6605571",
"0.6605571... | 0.0 | -1 |
Public Methods Getter method for MTBTypesKey. PRIMARY KEY. Meta Data Information (in progress): full name: MTBTypes._MTBTypes_key column size: 18 jdbc type returned by the driver: Types.NUMERIC | public Long getMTBTypesKeyOriginal() {
return MTBTypesKeyOriginal;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public String getKeyType() \n {\n return DBFactory.getKeyTypeName(this.keyType);\n }",
"public Class<? extends DBRecordKey<gDBR>> getKeyClass()\n {\n return this.keyClass;\n }",
"public boolean isSetKey_column_ty... | [
"0.793996",
"0.69063216",
"0.6542969",
"0.64015",
"0.6382677",
"0.6377475",
"0.6336475",
"0.6263753",
"0.6255924",
"0.6207737",
"0.6194181",
"0.61665905",
"0.61290497",
"0.6098108",
"0.5964089",
"0.5859389",
"0.5789783",
"0.5780441",
"0.567781",
"0.566105",
"0.5646219",
"0.... | 0.7131031 | 1 |
Getter method for MTBTypesKey. PRIMARY KEY. Meta Data Information (in progress): full name: MTBTypes._MTBTypes_key column size: 18 jdbc type returned by the driver: Types.NUMERIC | public Long getMTBTypesKey() {
return MTBTypesKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"public String getKeyType() \n {\n return DBFactory.getKeyTypeName(this.keyType);\n }",
"public Class<? extends DBRecordKey<gDBR>> getKeyClass()\n {\n return this.keyClass;\n }",
"public KeyType ke... | [
"0.71525884",
"0.6924002",
"0.6509943",
"0.63381666",
"0.6337347",
"0.6335145",
"0.63191307",
"0.62596995",
"0.6242547",
"0.6228508",
"0.6166409",
"0.6094926",
"0.60787916",
"0.60531116",
"0.5897147",
"0.58313453",
"0.5734787",
"0.5720741",
"0.5691775",
"0.5673495",
"0.563791... | 0.7986733 | 0 |
Setter method for MTBTypesKey. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setMTBTypesKey(Long newVal) {
if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) ||
(newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {
return;
}
if(this.MTBTypesKeyOriginal == null) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMTBTypesKey(long newVal) {\n setMTBTypesKey(new Long(newVal));\n }",
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"public Long getMTBTypesKeyOriginal() {\n re... | [
"0.7196522",
"0.6505903",
"0.6194824",
"0.6017134",
"0.53700423",
"0.50760937",
"0.50524664",
"0.502807",
"0.4923712",
"0.49214676",
"0.4908336",
"0.4863709",
"0.48153394",
"0.47468722",
"0.47447997",
"0.47237498",
"0.47195658",
"0.47127077",
"0.47043",
"0.4701849",
"0.469304... | 0.79975134 | 0 |
Setter method for MTBTypesKey. Convenient for those who do not want to deal with Objects for primary types. | public void setMTBTypesKey(long newVal) {
setMTBTypesKey(new Long(newVal));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal ==... | [
"0.7625598",
"0.7406532",
"0.6505284",
"0.58160806",
"0.5619378",
"0.5615758",
"0.5605829",
"0.55121917",
"0.550712",
"0.5503712",
"0.5447944",
"0.54422605",
"0.5427901",
"0.54237854",
"0.5423006",
"0.53891885",
"0.5351109",
"0.5334451",
"0.5329194",
"0.5323505",
"0.52874327"... | 0.74918616 | 1 |
Determines if the MTBTypesKey has been modified. | public boolean isMTBTypesKeyModified() {
return MTBTypesKey_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate... | [
"0.7032434",
"0.6615933",
"0.6530374",
"0.6454003",
"0.63611406",
"0.6235634",
"0.600517",
"0.5981351",
"0.5944881",
"0.5876917",
"0.5874901",
"0.5818878",
"0.580688",
"0.5669224",
"0.5667859",
"0.5667859",
"0.5652674",
"0.56203514",
"0.5602522",
"0.5529853",
"0.5518632",
"... | 0.85433716 | 0 |
Determines if the MTBTypesKey has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isMTBTypesKeyInitialized() {
return MTBTypesKey_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"protected void checkInitialized() {\n \tc... | [
"0.6642439",
"0.6146988",
"0.60629797",
"0.59277284",
"0.58265644",
"0.58094203",
"0.5804871",
"0.5804871",
"0.5804871",
"0.5775708",
"0.57381725",
"0.57091326",
"0.5661798",
"0.55828416",
"0.55824065",
"0.55530083",
"0.5546772",
"0.5539218",
"0.5531622",
"0.55246663",
"0.552... | 0.83086157 | 0 |
Getter method for type. Meta Data Information (in progress): full name: MTBTypes.type column size: 255 jdbc type returned by the driver: Types.VARCHAR | public String getType() {
return type;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public StrColumn getType() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"type\", StrColumn::new) :\n getBinaryColumn(\"type\"));\n }",
"public StrColumn getType() {\n return delegate.getColumn(\"type\", DelegatingStrColumn::new);\n }",
"public StrColumn getTyp... | [
"0.7976575",
"0.77308655",
"0.77308655",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7329325",
"0.71914244",
"0.71542853",
"0.7142458",
"0.7106052",... | 0.69103616 | 85 |
Setter method for type. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setType(String newVal) {
if ((newVal != null && this.type != null && (newVal.compareTo(this.type) == 0)) ||
(newVal == null && this.type == null && type_is_initialized)) {
return;
}
this.type = newVal;
type_is_modified = true;
type_is_ini... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setType(TLPropertyType type) {\n ModelEvent<?> event = new ModelEventBuilder( ModelEventType.TYPE_ASSIGNMENT_MODIFIED, this )\n .setOldValue( this.type ).setNewValue( type ).buildEvent();\n\n this.type = type;\n publishEvent( event );\n }",
"@Override\n\tpublic void... | [
"0.64192325",
"0.6161918",
"0.606914",
"0.59796757",
"0.59796757",
"0.5932877",
"0.5921126",
"0.5841422",
"0.58390695",
"0.5832131",
"0.5778471",
"0.5769274",
"0.5760427",
"0.5759284",
"0.57334787",
"0.564653",
"0.5636203",
"0.5615129",
"0.5565983",
"0.555888",
"0.55567497",
... | 0.69852644 | 0 |
Determines if the type has been modified. | public boolean isTypeModified() {
return type_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\... | [
"0.7436801",
"0.7340483",
"0.72645336",
"0.71275085",
"0.71155256",
"0.70415795",
"0.70415795",
"0.7017722",
"0.7017722",
"0.6938911",
"0.69247544",
"0.6843812",
"0.6830764",
"0.6827865",
"0.67750645",
"0.6767842",
"0.6696803",
"0.6690016",
"0.6679001",
"0.6629228",
"0.661486... | 0.85214776 | 0 |
Determines if the type has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isTypeInitialized() {
return type_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean wasInitialized()\n {\n retu... | [
"0.66412777",
"0.64518064",
"0.64485115",
"0.6360571",
"0.6351195",
"0.6334132",
"0.6304253",
"0.6293616",
"0.62812287",
"0.62327594",
"0.6217423",
"0.61760885",
"0.6126925",
"0.612174",
"0.61028147",
"0.6100802",
"0.6100669",
"0.60995674",
"0.6091154",
"0.6083469",
"0.607606... | 0.7840435 | 0 |
Getter method for description. Meta Data Information (in progress): full name: MTBTypes.description column size: 255 jdbc type returned by the driver: Types.VARCHAR | public String getDescription() {
return description;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t@Column(name = \"leadTypeDescription\", length = 128, nullable = true)\n\tpublic String getDescription()\n\t{\n\t\treturn super.getDescription();\n\t}",
"public int getDescriptionType(){\n return localDescriptionType;\n }",
"public String ge... | [
"0.7787579",
"0.74056375",
"0.7298159",
"0.709487",
"0.70227486",
"0.69170266",
"0.69170266",
"0.69170266",
"0.69170266",
"0.69170266",
"0.6900209",
"0.68937093",
"0.6828805",
"0.6815249",
"0.6814033",
"0.6799104",
"0.67987657",
"0.67969525",
"0.67813146",
"0.67813146",
"0.67... | 0.6465101 | 88 |
Setter method for description. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setDescription(String newVal) {
if ((newVal != null && this.description != null && (newVal.compareTo(this.description) == 0)) ||
(newVal == null && this.description == null && description_is_initialized)) {
return;
}
this.description = newVal;
des... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }",
"public void setDescription(String description) {\n this.description = description;\n this.updated = new Date();\n }",
"public void setDescription(String new... | [
"0.6419075",
"0.6396522",
"0.6351277",
"0.6351277",
"0.6290151",
"0.6286131",
"0.6248471",
"0.62465274",
"0.6232133",
"0.61994135",
"0.61424494",
"0.61144686",
"0.6092925",
"0.6080886",
"0.6058809",
"0.60563815",
"0.6046941",
"0.6036601",
"0.6025772",
"0.5996279",
"0.59862024... | 0.7342054 | 0 |
Determines if the description has been modified. | public boolean isDescriptionModified() {
return description_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isModified();",
"boolean isModified();",
"public boolean isModified();",
"public boolean isModified();",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"boolean isOssModified();",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModified() {\n\t... | [
"0.7651092",
"0.7651092",
"0.76469934",
"0.76469934",
"0.7642609",
"0.7613512",
"0.7577501",
"0.754829",
"0.74410754",
"0.73939025",
"0.7363333",
"0.73410434",
"0.7308325",
"0.7228216",
"0.71324885",
"0.7092442",
"0.7070048",
"0.706133",
"0.7046515",
"0.7009794",
"0.69979256"... | 0.8638346 | 0 |
Determines if the description has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isDescriptionInitialized() {
return description_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.Descriptio... | [
"0.6451082",
"0.6451082",
"0.6451082",
"0.6433463",
"0.639541",
"0.6365532",
"0.6301679",
"0.625395",
"0.6217355",
"0.62137735",
"0.6190114",
"0.6145133",
"0.611507",
"0.609364",
"0.60924256",
"0.60908246",
"0.60864896",
"0.60680294",
"0.6045048",
"0.60194254",
"0.6013451",
... | 0.7636649 | 0 |
Getter method for tableName. Meta Data Information (in progress): full name: MTBTypes.tableName column size: 255 jdbc type returned by the driver: Types.VARCHAR | public String getTableName() {
return tableName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTableNameString() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return ... | [
"0.78486705",
"0.7734449",
"0.7734449",
"0.77006054",
"0.77006054",
"0.7697806",
"0.7697806",
"0.7693202",
"0.7635311",
"0.763169",
"0.7627692",
"0.7591335",
"0.75282156",
"0.75263596",
"0.7517456",
"0.7379146",
"0.7379146",
"0.7366577",
"0.7332533",
"0.72808015",
"0.7272127"... | 0.7724532 | 3 |
Setter method for tableName. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setTableName(String newVal) {
if ((newVal != null && this.tableName != null && (newVal.compareTo(this.tableName) == 0)) ||
(newVal == null && this.tableName == null && tableName_is_initialized)) {
return;
}
this.tableName = newVal;
tableName_is_mo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected final void immutableSetTableName(final String tableName)\n {\n m__strTableName = tableName;\n }",
"public void setTableName(final String tableName)\n {\n immutableSetTableName(tableName);\n }",
"public void setTable(String aValue) {\n String oldValue = table;\n ... | [
"0.6883281",
"0.651691",
"0.6392916",
"0.62345254",
"0.6185981",
"0.617989",
"0.617989",
"0.60867476",
"0.60867476",
"0.60867476",
"0.60334337",
"0.6010325",
"0.5963383",
"0.58623344",
"0.58326036",
"0.57018083",
"0.56001866",
"0.55888873",
"0.55672425",
"0.55566454",
"0.5555... | 0.7603935 | 0 |
Determines if the tableName has been modified. | public boolean isTableNameModified() {
return tableName_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_mo... | [
"0.702555",
"0.68566847",
"0.6621127",
"0.6609808",
"0.64606833",
"0.63353944",
"0.6258897",
"0.6243344",
"0.6243344",
"0.61791056",
"0.6152112",
"0.6147674",
"0.6147674",
"0.6147674",
"0.6147674",
"0.6147674",
"0.61249405",
"0.60979843",
"0.60979843",
"0.60769707",
"0.604910... | 0.8733999 | 0 |
Determines if the tableName has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isTableNameInitialized() {
return tableName_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return t... | [
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475527",
"0.6456665",
"0.64299655",
"0.6408707",
"0.629867",
"0.6122667",
"0.6106927",
"0.6057996",
"0.5925773",
"0.58863264",
"0.58406377",
"0.5806996",
"0.5798302",
"0.57884544",
"0.56892645",
"0.5675646",... | 0.8224366 | 0 |
Getter method for columnName. Meta Data Information (in progress): full name: MTBTypes.columnName column size: 255 jdbc type returned by the driver: Types.VARCHAR | public String getColumnName() {
return columnName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getColumnName() {\r\n return columnName;\r\n }",
"public String getName(){\n\t\t\treturn columnName;\n\t\t}",
"public String getName() {\n return columnName;\n }",
"public String getColumnName() {\n return this.columnName;\n }",
"String getColumnName();... | [
"0.74532735",
"0.74371946",
"0.73746884",
"0.7263528",
"0.7238513",
"0.7148641",
"0.7104927",
"0.70791024",
"0.70555353",
"0.7052739",
"0.7039088",
"0.6973037",
"0.6973037",
"0.69521195",
"0.69147706",
"0.6892993",
"0.6892993",
"0.68618375",
"0.6811014",
"0.68079346",
"0.6794... | 0.7463955 | 0 |
Setter method for columnName. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setColumnName(String newVal) {
if ((newVal != null && this.columnName != null && (newVal.compareTo(this.columnName) == 0)) ||
(newVal == null && this.columnName == null && columnName_is_initialized)) {
return;
}
this.columnName = newVal;
columnNam... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setColumnName(String columnName);",
"public void setColumnName (String ColumnName);",
"public void setColumnName(java.lang.String columnName) {\r\n this.columnName = columnName;\r\n }",
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public ... | [
"0.6217329",
"0.6027037",
"0.5918641",
"0.5909321",
"0.5838018",
"0.58194923",
"0.57938427",
"0.5777783",
"0.5728754",
"0.5631832",
"0.5622918",
"0.5616021",
"0.5419846",
"0.5412472",
"0.540154",
"0.54015094",
"0.5396486",
"0.53295237",
"0.5316141",
"0.53137326",
"0.53034264"... | 0.73221016 | 0 |
Determines if the columnName has been modified. | public boolean isColumnNameModified() {
return columnName_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate... | [
"0.69323176",
"0.66811264",
"0.66171235",
"0.6423646",
"0.6411571",
"0.6401179",
"0.6386532",
"0.6353794",
"0.623942",
"0.61872977",
"0.6161354",
"0.6145654",
"0.6103933",
"0.60978794",
"0.60856277",
"0.6083152",
"0.6083152",
"0.60672736",
"0.60406196",
"0.6027473",
"0.601355... | 0.8480897 | 0 |
Determines if the columnName has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isColumnNameInitialized() {
return columnName_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSetColName() {\n return this.colName != null;\n }",
"public boolean isSetColumn_names() {\n return this.column_names != null;\n }",
"public boolean isSetColNames() {\n return this.colNames != null;\n }",
"public boolean isTableNameInitialized() {\n return tableName_is_init... | [
"0.7039014",
"0.6663647",
"0.6542366",
"0.6391045",
"0.6383954",
"0.6332803",
"0.63061476",
"0.6249077",
"0.62153196",
"0.6104632",
"0.6053467",
"0.59923965",
"0.5977804",
"0.58640504",
"0.58073807",
"0.57995045",
"0.5786154",
"0.5786154",
"0.5786154",
"0.5786154",
"0.5786154... | 0.81991047 | 0 |
Getter method for createUser. Meta Data Information (in progress): full name: MTBTypes.create_user column size: 50 jdbc type returned by the driver: Types.VARCHAR | public String getCreateUser() {
return createUser;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getCreateUser() {\n java.lang.Object ref = createUser_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8... | [
"0.7104327",
"0.7018861",
"0.6920577",
"0.6859189",
"0.6849563",
"0.6814114",
"0.6764277",
"0.6644282",
"0.660942",
"0.6597598",
"0.65783876",
"0.6543635",
"0.6524137",
"0.6524137",
"0.65189457",
"0.6507488",
"0.6476147",
"0.6473552",
"0.6473552",
"0.6462498",
"0.64353216",
... | 0.63413644 | 41 |
Setter method for createUser. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setCreateUser(String newVal) {
if ((newVal != null && this.createUser != null && (newVal.compareTo(this.createUser) == 0)) ||
(newVal == null && this.createUser == null && createUser_is_initialized)) {
return;
}
this.createUser = newVal;
createUse... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"public void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"public void setCreateUser(User createUser)\r\n... | [
"0.71107954",
"0.6797886",
"0.66690063",
"0.6266298",
"0.62467736",
"0.61869276",
"0.61336285",
"0.6121539",
"0.6116409",
"0.6113616",
"0.6113616",
"0.6113616",
"0.6103069",
"0.6038464",
"0.6003739",
"0.6001444",
"0.5945507",
"0.59372973",
"0.591126",
"0.5894818",
"0.58633524... | 0.75022644 | 0 |
Determines if the createUser has been modified. | public boolean isCreateUserModified() {
return createUser_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isUpdateUserModified() {\n return updateUser_is_modified; \n }",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"private boolean userMadeChanges() {\n\t\treturn userMadeChanges(null);\n\t}",
"public boolean isCreateUserInitialized() {\n ... | [
"0.720603",
"0.6929145",
"0.68615",
"0.64954835",
"0.6468757",
"0.63666797",
"0.6352891",
"0.6327446",
"0.6327446",
"0.6327446",
"0.6298092",
"0.62021416",
"0.6153141",
"0.6048081",
"0.6047535",
"0.60402197",
"0.6012402",
"0.599318",
"0.5973255",
"0.5948921",
"0.5908009",
"... | 0.874745 | 0 |
Determines if the createUser has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isCreateUserInitialized() {
return createUser_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean isUpdateUserInitialized() {\n return updateUser_is_initialized; \n }",
"public boolean isSetCreate_user_priv() {\n return this.__isset.create_user_priv;\n }",
"public boolean isSetUse... | [
"0.6677584",
"0.6629077",
"0.6319722",
"0.62816346",
"0.62816346",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6175625",
"0.61493397",
"0.61493397",
"0.6067571",
"0.6067571",
"0.60174936",
"0.60174936",
"0.60016435",
"0.5992949",
"0.5961545",
"0.596154... | 0.81547326 | 0 |
Getter method for createDate. Meta Data Information (in progress): full name: MTBTypes.create_date column size: 23 jdbc type returned by the driver: Types.TIMESTAMP | public java.util.Date getCreateDate() {
if (createDate == null) {
return null;
}
return (java.util.Date)createDate.clone();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Date getCreateDate();",
"Date getCreateDate();",
"public Timestamp getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate();",
"public Date getCreateDate();",
"public Date getCreateDate();",
"public Long getCreateDatetime() {\n return createDatetime;\n }",
"public... | [
"0.77845645",
"0.77845645",
"0.7766965",
"0.77423966",
"0.77423966",
"0.77423966",
"0.77406394",
"0.77406394",
"0.77044296",
"0.7629025",
"0.75997174",
"0.75997174",
"0.7599008",
"0.75627905",
"0.75621885",
"0.75470173",
"0.7518454",
"0.7518454",
"0.7506396",
"0.74867463",
"0... | 0.71058816 | 79 |
Setter method for createDate. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setCreateDate(java.util.Date newVal) {
if ((newVal != null && this.createDate != null && (newVal.compareTo(this.createDate) == 0)) ||
(newVal == null && this.createDate == null && createDate_is_initialized)) {
return;
}
try {
this.createDate = (... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCreated(Date v) \n {\n \n if (!ObjectUtils.equals(this.created, v))\n {\n this.created = v;\n setModified(true);\n }\n \n \n }",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_changesetEntry... | [
"0.74403185",
"0.7233216",
"0.7217198",
"0.71991074",
"0.7197055",
"0.7197055",
"0.7192496",
"0.7192496",
"0.7192496",
"0.71859306",
"0.7113026",
"0.6990983",
"0.6990983",
"0.69821316",
"0.69772685",
"0.69656855",
"0.69656855",
"0.69656855",
"0.69111735",
"0.6897092",
"0.6896... | 0.7986866 | 0 |
Setter method for createDate. Convenient for those who do not want to deal with Objects for primary types. | public void setCreateDate(long newVal) {
setCreateDate(new java.util.Date(newVal));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"void setCreateDate(Date date);",
"public void setCreateDate(Date createDate) { this.createDate = createDate; }",
"@Override\n\tpublic void setCreateDate(Date create... | [
"0.8093258",
"0.8093258",
"0.8093258",
"0.80821174",
"0.80674404",
"0.80099934",
"0.80099934",
"0.7945781",
"0.7805254",
"0.7684587",
"0.7684587",
"0.767761",
"0.76690906",
"0.76624745",
"0.76624745",
"0.760215",
"0.7576204",
"0.75741714",
"0.75571775",
"0.75415343",
"0.75415... | 0.72112113 | 65 |
Determines if the createDate has been modified. | public boolean isCreateDateModified() {
return createDate_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean isStatusdateModi... | [
"0.7403401",
"0.7380076",
"0.7348826",
"0.7328373",
"0.73106354",
"0.70937836",
"0.69806826",
"0.69773406",
"0.696391",
"0.696391",
"0.696391",
"0.6855557",
"0.68090117",
"0.67721504",
"0.6716479",
"0.6686262",
"0.6682932",
"0.6639267",
"0.6633805",
"0.66314363",
"0.66262084"... | 0.8730466 | 0 |
Determines if the createDate has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isCreateDateInitialized() {
return createDate_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreatetime() {\n return this.createtime != null;\n }",
"public boolean hasCreateDate() {\n return fieldSetFlags()[2];\n ... | [
"0.7568573",
"0.7568573",
"0.71550035",
"0.71246034",
"0.69207597",
"0.69141275",
"0.6875844",
"0.67546463",
"0.6710264",
"0.66961265",
"0.66935915",
"0.66773933",
"0.66591626",
"0.66247994",
"0.660483",
"0.660483",
"0.660483",
"0.65935105",
"0.65935105",
"0.6551024",
"0.6527... | 0.82787323 | 0 |
Getter method for updateUser. Meta Data Information (in progress): full name: MTBTypes.update_user column size: 50 jdbc type returned by the driver: Types.VARCHAR | public String getUpdateUser() {
return updateUser;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void update_TbUser() {\n builder = new Uri.Builder();\n builder.appendQueryParameter(\"username\", Server.owner.get_username());\n builder.appendQueryParameter(\"email\", Server.owner.get_Email());\n builder.appendQueryParameter(\"birthday\", Server.owner.get_Birthday().to... | [
"0.6921643",
"0.6700379",
"0.6622308",
"0.6585034",
"0.65654504",
"0.6508766",
"0.6490855",
"0.64883417",
"0.6461695",
"0.64229137",
"0.63661146",
"0.6329025",
"0.6310423",
"0.6299141",
"0.6250813",
"0.6249709",
"0.6226425",
"0.6197647",
"0.6186612",
"0.61826986",
"0.6176147"... | 0.6189624 | 18 |
Setter method for updateUser. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setUpdateUser(String newVal) {
if ((newVal != null && this.updateUser != null && (newVal.compareTo(this.updateUser) == 0)) ||
(newVal == null && this.updateUser == null && updateUser_is_initialized)) {
return;
}
this.updateUser = newVal;
updateUse... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public void setModifiedBy(org.semanticwb.model... | [
"0.72832483",
"0.6986158",
"0.690136",
"0.690136",
"0.690136",
"0.66545737",
"0.66400445",
"0.66089666",
"0.651637",
"0.6484698",
"0.6467981",
"0.63148373",
"0.6299573",
"0.62985724",
"0.6296945",
"0.6277081",
"0.62685645",
"0.62685645",
"0.6245092",
"0.6238285",
"0.6225266",... | 0.74982464 | 0 |
Determines if the updateUser has been modified. | public boolean isUpdateUserModified() {
return updateUser_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isCreateUserModified() {\n return createUser_is_modified; \n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified |... | [
"0.761217",
"0.7243873",
"0.68577075",
"0.68422616",
"0.68259996",
"0.6772057",
"0.6760507",
"0.67307734",
"0.6726745",
"0.6702265",
"0.6663392",
"0.66425246",
"0.66242623",
"0.6612113",
"0.6601742",
"0.6571413",
"0.6571413",
"0.6555095",
"0.6547294",
"0.65425473",
"0.6542547... | 0.86412877 | 0 |
Determines if the updateUser has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isUpdateUserInitialized() {
return updateUser_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isCreateUserInitialized() {\n return createUser_is_initialized; \n }",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }",
"public boolean isSetUpdateId() {\n return this.updateId != null;\n }",
"public boolean isSetUpdate_time() {\n ... | [
"0.6957022",
"0.67669994",
"0.62463486",
"0.62088495",
"0.6059358",
"0.6059358",
"0.5973973",
"0.59444135",
"0.5889405",
"0.5889405",
"0.5871592",
"0.5852596",
"0.58435875",
"0.58328843",
"0.5832513",
"0.5813428",
"0.58113605",
"0.5793727",
"0.5782945",
"0.5774453",
"0.576664... | 0.7852226 | 0 |
Getter method for updateDate. Meta Data Information (in progress): full name: MTBTypes.update_date column size: 23 jdbc type returned by the driver: Types.TIMESTAMP | public java.util.Date getUpdateDate() {
if (updateDate == null) {
return null;
}
return (java.util.Date)updateDate.clone();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date getUpdateDatetime();",
"Date getUpdatedDate();",
"public Timestamp getUpdateDate() {\n return updateDate;\n }",
"Date getDateUpdated();",
"public String getUpdateDate() {\r\n return updateDate;\r\n }",
"public Date getUpdateDate() {\r\n return updateDate;\r\n }",... | [
"0.78667563",
"0.7680193",
"0.7548106",
"0.7545893",
"0.7390668",
"0.73708576",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.733692",
"0.73250943",
"0.73250943",
"0.7291223",
"0.71881205",... | 0.7204718 | 20 |
Setter method for updateDate. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'. | public void setUpdateDate(java.util.Date newVal) {
if ((newVal != null && this.updateDate != null && (newVal.compareTo(this.updateDate) == 0)) ||
(newVal == null && this.updateDate == null && updateDate_is_initialized)) {
return;
}
try {
this.updateDate = (... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setUpdatedDate(Date updatedDate);",
"void setDateUpdated(final Date dateUpdated);",
"public void setUpdatedOn(Date updatedOn);",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
... | [
"0.7464104",
"0.7394089",
"0.73089975",
"0.71810627",
"0.71810627",
"0.717156",
"0.7084746",
"0.7084746",
"0.6995888",
"0.6991866",
"0.69694775",
"0.6966814",
"0.69307196",
"0.690588",
"0.690588",
"0.690588",
"0.6889183",
"0.6873692",
"0.6873692",
"0.68644434",
"0.68644434",
... | 0.76859623 | 0 |
Setter method for updateDate. Convenient for those who do not want to deal with Objects for primary types. | public void setUpdateDate(long newVal) {
setUpdateDate(new java.util.Date(newVal));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setUpdatedDate(Date updatedDate);",
"public void setUpdateDatetime(Date updateDatetime);",
"public void setUpdatedOn(Date updatedOn);",
"public void updateDate(Date date);",
"public void setUpdateDate(java.util.Date newVal) {\n if ((newVal != null && this.updateDate != null && (newVal.compareTo... | [
"0.75876004",
"0.7499481",
"0.73412406",
"0.7278901",
"0.7272784",
"0.7233985",
"0.71320635",
"0.71044266",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7032972",
"0.7010187",
"0.6994033",
"0.6991487",... | 0.671415 | 33 |
Determines if the updateDate has been modified. | public boolean isUpdateDateModified() {
return updateDate_is_modified;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasModifiedAt() {\n ... | [
"0.7688009",
"0.7662295",
"0.75512224",
"0.7443991",
"0.7390878",
"0.7331979",
"0.7311548",
"0.7253338",
"0.72453165",
"0.72192013",
"0.72192013",
"0.7179954",
"0.7138592",
"0.71260977",
"0.7124187",
"0.71085143",
"0.70744294",
"0.69827026",
"0.69681954",
"0.69681954",
"0.690... | 0.8654094 | 0 |
Determines if the updateDate has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized. | public boolean isUpdateDateInitialized() {
return updateDate_is_initialized;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }",
"public boolean isSetUpdateTime() {\n return this.updateTim... | [
"0.7537553",
"0.7537553",
"0.71077436",
"0.69190675",
"0.68350226",
"0.6825272",
"0.6823005",
"0.6789218",
"0.67015934",
"0.6632719",
"0.6374891",
"0.63738066",
"0.6361031",
"0.6345907",
"0.6311339",
"0.6239625",
"0.61595553",
"0.6159203",
"0.60043913",
"0.59603846",
"0.58782... | 0.8159606 | 0 |
Determines if the object has been modified since the last time this method was called. We can also determine if this object has ever been modified since its creation. | public boolean isModified() {
return MTBTypesKey_is_modified ||
type_is_modified ||
description_is_modified ||
tableName_is_modified ||
columnName_is_modified ||
createUser_is_modified ||
createDate_is_modified ||
updateUser_is_modified ||
updateDate_is_modified;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModified() {\n\t\tretur... | [
"0.7915155",
"0.7834603",
"0.7509165",
"0.7495042",
"0.7429855",
"0.7370424",
"0.73313",
"0.73296696",
"0.7306869",
"0.7217625",
"0.71616805",
"0.7156328",
"0.70913714",
"0.7067673",
"0.7067673",
"0.70627433",
"0.7055278",
"0.7055278",
"0.7027923",
"0.701841",
"0.701237",
"... | 0.69228977 | 23 |
Resets the object modification status to 'not modified'. | public void resetIsModified() {
MTBTypesKey_is_modified = false;
type_is_modified = false;
description_is_modified = false;
tableName_is_modified = false;
columnName_is_modified = false;
createUser_is_modified = false;
createDate_is_modified = false;
updat... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void resetModification()\n {\n _modifiedSinceSave = false;\n }",
"public void clearModifiedFlag();",
"public void resetIsModified() {\n roomstlogid_is_modified = false;\n roomstid_is_modified = false;\n roomid_is_modified = false;\n statusdate_is_modified = false;\n ... | [
"0.80256706",
"0.73261315",
"0.7196443",
"0.7103667",
"0.68750334",
"0.67503107",
"0.66316015",
"0.6591152",
"0.6442528",
"0.6341959",
"0.63016385",
"0.62570417",
"0.6227744",
"0.6205569",
"0.61940354",
"0.6187429",
"0.61675775",
"0.6161537",
"0.6153509",
"0.61356395",
"0.609... | 0.7227361 | 2 |
Copies the passed bean into the current bean. | public void copy(MTBTypesDTO bean) {
setMTBTypesKey(bean.getMTBTypesKey());
setType(bean.getType());
setDescription(bean.getDescription());
setTableName(bean.getTableName());
setColumnName(bean.getColumnName());
setCreateUser(bean.getCreateUser());
setCreateDate(b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic <T extends HippoBean> void cloneBean(T sourceBean) {\n\t\t\r\n\t}",
"public void copy(RoomstlogBean bean) {\n setRoomstlogid(bean.getRoomstlogid());\n setRoomstid(bean.getRoomstid());\n setRoomid(bean.getRoomid());\n setStatusdate(bean.getStatusdate());\n ... | [
"0.6997226",
"0.6368806",
"0.61947286",
"0.6111135",
"0.5900378",
"0.5831173",
"0.57726634",
"0.5716329",
"0.57068694",
"0.5655099",
"0.5621454",
"0.5620594",
"0.5582158",
"0.5581418",
"0.55175567",
"0.5500079",
"0.5482576",
"0.54469657",
"0.5429195",
"0.54178566",
"0.5400868... | 0.5533747 | 14 |
Returns the object string representation. | public String toString() {
StringBuffer ret = new StringBuffer();
ret.append("\n[MTBTypes] ");
ret.append("\n - MTBTypes._MTBTypes_key = ").append((MTBTypesKey_is_initialized ? ("[" + (MTBTypesKey == null ? null : MTBTypesKey.toString()) + "]") : "not initialized"));
ret.appe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the ... | [
"0.809714",
"0.7921561",
"0.76736987",
"0.76660186",
"0.76660186",
"0.7638587",
"0.75592476",
"0.75446284",
"0.75288165",
"0.752097",
"0.74476755",
"0.7438453",
"0.7409365",
"0.7394651",
"0.73785204",
"0.7354205",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.733... | 0.0 | -1 |
Returns the object string representation as XML. | public String toXML() {
StringBuffer ret = new StringBuffer();
ret.append("<table name=\"MTBTypes\">\n");
ret.append(" <column name=\"_MTBTypes_key\"\n");
ret.append(" value=\"").append((MTBTypesKey_is_initialized ? ((MTBTypesKey == null ? null : MTBTypesKey.toString())) : ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toXML() {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter, true);\n toXML(printWriter);\n return stringWriter.toString();\n }",
"public String toXml() {\n\t\treturn(toString());\n\t}",
"public abstract String toXML();",
"pu... | [
"0.7701464",
"0.7683493",
"0.75395113",
"0.75395113",
"0.75395113",
"0.7513484",
"0.7494928",
"0.7454804",
"0.7377396",
"0.7314441",
"0.7258969",
"0.7258969",
"0.7234413",
"0.7214857",
"0.7210287",
"0.720317",
"0.7195732",
"0.71552885",
"0.7101148",
"0.7061211",
"0.7052802",
... | 0.0 | -1 |
Created by imozerov on 06.02.16. | @Singleton
@Component(modules = AppModule.class)
public interface AppComponent {
void inject(ArtListFragment fragment);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpub... | [
"0.5767207",
"0.5745877",
"0.5733582",
"0.56793064",
"0.5640895",
"0.5640895",
"0.5625013",
"0.56072986",
"0.55846477",
"0.5574582",
"0.5569931",
"0.5543385",
"0.55356234",
"0.5531911",
"0.55140585",
"0.5511955",
"0.5507854",
"0.550589",
"0.54953766",
"0.5493213",
"0.5492922"... | 0.0 | -1 |
/ Json should look like: newWindowID: bookingID: | @Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
if (!SessionUtils.validateSession(req)){
resp.sendRedirect(Constants.LOGIN_PAGE_URL);
return;
}
BMSEngine engine = ServletUtils.getEngine(getSer... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static JSONObject addObject(JSONArray bookList,Book book){\r\n bookList.add(book.toJson()); \r\n JSONObject bookObject = new JSONObject();\r\n bookObject.put(\"books\", bookList);\r\n return bookObject;\r\n }",
"@Override\n public void actionPerformed(NetworkE... | [
"0.5036403",
"0.4978135",
"0.49378368",
"0.49249336",
"0.49165565",
"0.49140114",
"0.48658642",
"0.48066097",
"0.47919437",
"0.47898027",
"0.47722635",
"0.47722635",
"0.47664768",
"0.47652766",
"0.47581086",
"0.4751406",
"0.47398147",
"0.47365713",
"0.47326782",
"0.4715582",
... | 0.46783787 | 23 |
/Libreria libro1=new Libreria(); Libreria libro2=new Libreria(); Libreria libro3=new Libreria(); libro1.engadirLibros(); libro2.engadirLibros(); libro3.engadirLibros(); | public static void main(String[] args) {
Libreria objLibro=new Libreria();
int opcion;
do {
opcion=Integer.parseInt(JOptionPane.showInputDialog("Selecciona la opcion que quieras realizar:\n1=Añadir libro\n2=Borrar libro\n3=Amosar todos os libros\n4=Dar de baixa\n5=Consultar libro"));... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Libreria() {\n\t\tnumLibs = 0;\n\t\tlb = new Libro[CAP_INICIAL];\n\t}",
"private static void mostrarLibros() {\n\n\t\tlibros\n\t\t.stream()\n\t\t.forEach(System.out::println);\n//\t\t\n//\t\tfor (Libro l :libros) {\n//\t\t\tSystem.out.println(l);\n//\t\t}\n\t}",
"public static void main(String[] args) {... | [
"0.71734434",
"0.6649573",
"0.6559195",
"0.6472367",
"0.6360739",
"0.6220382",
"0.6212788",
"0.6206182",
"0.6169908",
"0.61641496",
"0.6159041",
"0.6053376",
"0.6053214",
"0.60081005",
"0.5980595",
"0.59796095",
"0.5908153",
"0.5830948",
"0.5787408",
"0.57663035",
"0.5758185"... | 0.6439442 | 4 |
WhiteSpace passing the validation solve | @InitBinder
public void initBinder(WebDataBinder dataBinder) {
StringTrimmerEditor stringTrimmerEditor = new StringTrimmerEditor(true); // true - trim to null if the input has just white spaces
//remove the leading and trailing whitespace
dataBinder.registerCustomEditor(String.class, stringTrimmerEdi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Rule WhiteSpace() {\n return ZeroOrMore(AnyOf(\" \\n\\r\\t\\f\"));\n }",
"@Test\r\n\t\tpublic void testParseNoWhitespace() {\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tdriver.findElement(By.id(\"code_code\")).sendKeys(\"a = 5\\nb = 6\\nc = a + (b * 4)\");;\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tWebElement submitButt... | [
"0.71960896",
"0.6344354",
"0.6204222",
"0.6200314",
"0.615096",
"0.61137617",
"0.59235334",
"0.59017026",
"0.5840754",
"0.5836647",
"0.5747152",
"0.5742122",
"0.56998634",
"0.5691272",
"0.56695783",
"0.5663226",
"0.56426394",
"0.56401694",
"0.56369495",
"0.5633267",
"0.56188... | 0.0 | -1 |
function to get the number of rolls | public void getRowCount() {
try {
String FILE = "src/test/resources/Datasheet.xlsx";
String SHEET_NAME = "Master";
XSSFWorkbook workbook = new XSSFWorkbook();
}catch (Exception exp)
{
exp.printStackTrace();
System.out.println(exp.getMessage());
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int RollCount() {\n\t\treturn 0;\r\n\t}",
"static int roll() {\n\t\tRandom rand = new Random();\t\t\t\t//get large random number\n\t\tint num2 = rand.nextInt();\t\t\t\t//convert from long to int\n\t\treturn Math.abs(num2%6)+1;\t\t\t\t//num between 1 and 6\n\t}",
"public int roll() {\n\t\treturn 3;\n\t}"... | [
"0.8015432",
"0.7388876",
"0.7373832",
"0.7329057",
"0.73209935",
"0.72767895",
"0.72767895",
"0.7263336",
"0.7249543",
"0.72420967",
"0.71996963",
"0.71732306",
"0.7145802",
"0.71069926",
"0.7094627",
"0.70943624",
"0.7071428",
"0.7035313",
"0.7011355",
"0.6986794",
"0.69712... | 0.0 | -1 |
step1 String UserName="Admin",Password="admin123"; String Nationality_text="Indian899"; String URL=" step1 | @DataProvider(name = "TC01_Add_Nationality")
public static Object[][] Authentication1() throws Exception {
ExcelApiTest4 eat = new ExcelApiTest4();
Object[][] testObjArray = eat.getTableArray("C://HTML Report//OrangeHRM6//TC01_Nationality3.xlsx", "Sheet1");
System.out.println(testObjArray.length);
return (t... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Given(\"^I'm on \\\"([^\\\"]*)\\\" page of GetGo pay with valid \\\"([^\\\"]*)\\\" and \\\"([^\\\"]*)\\\"$\")\n public void i_m_on_page_of_GetGo_pay_with_valid_and(String arg1, String arg2, String arg3) throws Throwable {\n passworddetails=arg3;\n email=PropertyReader.testDataOf(arg2);\n if... | [
"0.64439124",
"0.5995518",
"0.58627015",
"0.58604515",
"0.5854122",
"0.5822784",
"0.5791982",
"0.5788191",
"0.577551",
"0.57654583",
"0.5750409",
"0.5742054",
"0.5686608",
"0.56773686",
"0.565214",
"0.56322694",
"0.5631918",
"0.5623167",
"0.5602239",
"0.55928546",
"0.5575883"... | 0.0 | -1 |
GET X3D This method will return the X3D for the Cell. It runs through each of its components and collects up their representations and then assembles them into one unified X3D model. | public String getX3D(boolean snipet) {
// Assemble the Feet
String header = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<!DOCTYPE X3D PUBLIC \"ISO//Web3D//DTD X3D 3.0//EN\" \"http://www.web3d.org/specifications/x3d-3.0.dtd\">\n " +
"<X3D profile='Immersive' >\n" +
"<head>\n" +
"<meta name='... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public X3DObject getX3dModel()\n {\t \n\t return x3dModel;\n }",
"public int getXD3 ()\n\t{\n\t\treturn xDimension3;\n\t}",
"@java.lang.Override\n public godot.wire.Wire.Vector3 getX() {\n return x_ == null ? godot.wire.Wire.Vector3.getDefaultInstance() : x_;\n }",
"public godot.wire.Wire.Vect... | [
"0.70887077",
"0.64578456",
"0.5954983",
"0.5939825",
"0.56911004",
"0.56317955",
"0.5542174",
"0.55346525",
"0.53795326",
"0.52833986",
"0.52527094",
"0.51508886",
"0.51473093",
"0.51126564",
"0.51080495",
"0.5105034",
"0.5100475",
"0.50886375",
"0.5053627",
"0.50323087",
"0... | 0.5911613 | 4 |
SETUP DEFAULT BOUNDBOXES Setup the Default Bounding Boxes for the Feet. The routine will return a set of bound boxes | private BioMightBoundBoxes setupDefaultBoundBoxes()
{
// Set up the collection to hold the Bounding Boxes
BioMightBoundBoxes bioBoundBoxes = null;
// Initialize the position of the bounding box vars
BigDecimal xPos = new BigDecimal(0.0);
BigDecimal yPos = new BigDecimal(0.0);
BigDecimal zPos= ne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private HashMap setupBoundBoxes(BioMightBoundBoxes bioMightBoundBoxesIn) \r\n\t{\r\n\t\t// Set up the bounding boxes for the various components\r\n\t\t// The various components locations will be driven by the\r\n\t\t// bounding boxes\r\n\t\tHashMap boundingBoxesMap = new HashMap();\r\n\t\r\n\t\t// Initialize the p... | [
"0.6794962",
"0.6608531",
"0.6531819",
"0.63683176",
"0.61021894",
"0.59626245",
"0.59441197",
"0.58493197",
"0.5844816",
"0.58221465",
"0.5786644",
"0.5676765",
"0.56752586",
"0.56597614",
"0.55685556",
"0.55456376",
"0.55029356",
"0.54989994",
"0.5426104",
"0.5419185",
"0.5... | 0.7996336 | 0 |
SETUP BOUND BOXES Setup the Internal Bounding Boxes for the Feet. This divides the Feet into its vascular,muscular,tissue components As we are working with a collection, the hashmap will not contain a bunch of bound boxes with connectors. It will contain two BioMightBoxes. Each BioMightBox has a hashmap. with it will h... | private HashMap setupBoundBoxes(BioMightBoundBoxes bioMightBoundBoxesIn)
{
// Set up the bounding boxes for the various components
// The various components locations will be driven by the
// bounding boxes
HashMap boundingBoxesMap = new HashMap();
// Initialize the position of the bounding box var... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private HashMap setupBoundBoxes(BioMightBoundBox bioMightBoundBoxIn) \r\n\t{\r\n\t\t// Set up the bounding boxes for the various components\r\n\t\t// The various components locations will be driven by the\r\n\t\t// bounding boxes\r\n\t\tHashMap boundingBoxMap = new HashMap();\r\n\t\t\r\n\t\t// Initialize the posit... | [
"0.80508566",
"0.79776776",
"0.65687686",
"0.60397637",
"0.6031392",
"0.6014089",
"0.58301836",
"0.5805937",
"0.5753388",
"0.5722871",
"0.56329185",
"0.5611094",
"0.56000394",
"0.5591092",
"0.5582896",
"0.5567162",
"0.55639035",
"0.5541109",
"0.5509024",
"0.55009645",
"0.5489... | 0.8263337 | 0 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jLabelResultados = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstan... | {
"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 |
execute generic updateclass (either an update, delete, or insert) operation and returns a count of affected rows. Since underlying Coherence operations (and this connector) can modify at most one cache object at a time, this will always return 1. It will never actually return 0, because if an operation fails, a Connect... | @Override
public void execute() throws TranslatorException {
if (command instanceof Update) {
executeUpdate();
}
else if (command instanceof Delete) {
executeDelete();
}
else if (command instanceof Insert) {
executeInsert();
}
// else {
// final String msg = LDAPPlugin.Util.getString(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getUpdateCount() throws SQLException {\n int to_return = getUpdateCountInternal();\n update_result = -1;\n return to_return;\n }",
"@Override\n public int getUpdateCount() throws SQLException {\n return -1;\n }",
"@Override\n\tpublic int getUpdateCount() t... | [
"0.72152615",
"0.71204704",
"0.70157653",
"0.6888075",
"0.6783427",
"0.6771924",
"0.6496966",
"0.64260864",
"0.6345141",
"0.62722623",
"0.62129766",
"0.61902463",
"0.6151241",
"0.6126701",
"0.6087094",
"0.60857224",
"0.6082374",
"0.6071954",
"0.6067499",
"0.6008609",
"0.60061... | 0.0 | -1 |
Private method to perform the inserting of an object into the cache | private void executeInsert()
throws TranslatorException {
Insert icommand = (Insert) command;
Table t = metadata.getTable(icommand.getTable().getMetadataObject().getFullName());
// if the table has a foreign key, its must be a child (contained) object in the root
if (t.getForeignKeys() != null && t.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void addToCache(T obj) {\n\t\tcache.add(obj);\n\t}",
"@Override\r\n public void add(IMObject object) {\r\n cache.add(object);\r\n }",
"@Override\n\tprotected String insertInner(KeyCacheObjectTest obj) throws DaoManagerException {\n\t\treturn null;\n\t}",
"public final synchro... | [
"0.67219126",
"0.6577904",
"0.65611446",
"0.64026016",
"0.6383087",
"0.6307107",
"0.62443",
"0.6208823",
"0.620876",
"0.6207847",
"0.6206569",
"0.62022644",
"0.6201277",
"0.6181998",
"0.6180064",
"0.617663",
"0.6168854",
"0.6153885",
"0.6140377",
"0.6108131",
"0.6103354",
"... | 0.699478 | 0 |
Private method to actually do an update operation. | private void executeUpdate()
throws TranslatorException {
Update ucommand = (Update) command;
Table t = metadata.getTable(ucommand.getTable().getMetadataObject().getFullName());
// List<ForeignKey> fks = t.getForeignKeys();
// if the table has a foreign key, its must be a child (contained) object in th... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(){}",
"public void update(){}",
"public void executeUpdate();",
"protected abstract void update();",
"protected abstract void update();",
"public void update() {}",
"void executeUpdate();",
"@Test\r\n\tpublic void testUpdate() {\r\n\t\tList<E> entities = dao.findAll();\r\n\t\tE upd... | [
"0.7351533",
"0.7351533",
"0.72761",
"0.7237153",
"0.7237153",
"0.7100064",
"0.7087685",
"0.70247644",
"0.70137346",
"0.6940439",
"0.69017166",
"0.6885168",
"0.68832344",
"0.68708867",
"0.6859483",
"0.6859483",
"0.6859483",
"0.68487704",
"0.68414235",
"0.6810588",
"0.6787839"... | 0.0 | -1 |
cancel here by closing the copy of the ldap context (if it was initialized, which is only true if execute() was previously called) calling close on already closed context is safe per javax.naming.Context javadoc so we won't worry about this also happening in our close method | public void cancel() throws TranslatorException {
close();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void closeContext( Context ctx )\n throws PSException\n {\n if ( ctx != null )\n {\n try\n {\n ctx.close();\n } catch ( NamingException e )\n {\n throw new PSException( CommonExceptionConstants.GENERAL_NAMING_CODE, \"Unable ... | [
"0.6634533",
"0.6486541",
"0.6444317",
"0.6356938",
"0.63557446",
"0.6025639",
"0.58199555",
"0.5793011",
"0.56131285",
"0.55713946",
"0.55179024",
"0.5453176",
"0.5445203",
"0.5440835",
"0.5425961",
"0.54182506",
"0.54182297",
"0.540901",
"0.5406293",
"0.5406293",
"0.5403528... | 0.0 | -1 |
close here by closing the copy of the ldap context (if it was initialized, which is only true if execute() was previously called) calling close on already closed context is safe per javax.naming.Context javadoc so we won't worry about this also happening in our close method | public void close() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void closeContext( Context ctx )\n throws PSException\n {\n if ( ctx != null )\n {\n try\n {\n ctx.close();\n } catch ( NamingException e )\n {\n throw new PSException( CommonExceptionConstants.GENERAL_NAMING_CODE, \"Unable ... | [
"0.67360955",
"0.663977",
"0.6486156",
"0.627219",
"0.6257386",
"0.5836214",
"0.5746273",
"0.5623302",
"0.56117904",
"0.56026834",
"0.5591601",
"0.5568408",
"0.5549493",
"0.55437744",
"0.55267876",
"0.5521093",
"0.5491098",
"0.54275924",
"0.5425425",
"0.54101145",
"0.53884715... | 0.0 | -1 |
Steps the clock of the signal | public void step() {
internaltime ++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void clock(double period);",
"public void step(){\r\n\t\tcurrentTime++;\r\n\t\tfor (TimeObserver t : observers) {\r\n\t\t\tt.timeChanged(currentTime);\r\n\t\t}\r\n\t}",
"public void step(long now) {\n\t}",
"public void step(long t) {\n\n\t}",
"public void step() {\n\t\tw.step(timeStep, iterations);\... | [
"0.73284006",
"0.7183606",
"0.70485395",
"0.6989928",
"0.6696054",
"0.6667475",
"0.6628557",
"0.65150535",
"0.6412082",
"0.6342541",
"0.63241297",
"0.6271567",
"0.62433183",
"0.6229187",
"0.6213505",
"0.6208973",
"0.62021774",
"0.618599",
"0.61504585",
"0.6143197",
"0.6138987... | 0.7158327 | 2 |
Creates a new park object | public Park(int parkId, String name, double latitude, double longitude, String washroom,
String neighName, String neighURL, String streetNumber, String streetName) {
this.parkId = parkId;
this.name = name;
this.latitude = latitude;
this.longitude = longitude;
this... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Parking createParking();",
"public ParkingSpace() {}",
"public CarPark() {\r\n\t\tthis(Constants.DEFAULT_MAX_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_SMALL_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_MOTORCYCLE_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_QUEUE_SIZE);\r\n\r\n\t\t// Initialise the parking spot... | [
"0.7127305",
"0.65983367",
"0.6533802",
"0.6202329",
"0.61468774",
"0.60969996",
"0.6041205",
"0.5960005",
"0.58706903",
"0.58674246",
"0.5831411",
"0.5792651",
"0.5762711",
"0.57545346",
"0.5731484",
"0.5730789",
"0.57132846",
"0.56824416",
"0.556196",
"0.5547345",
"0.554226... | 0.6096467 | 6 |
Creates a new park object | public Park(int parkId, String name, double latitude, double longitude, String washroom,
String neighName, String neighURL, String streetNumber, String streetName,
String[] facility, String[] feature) {
this.parkId = parkId;
this.name = name;
this.latitude = latit... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Parking createParking();",
"public ParkingSpace() {}",
"public CarPark() {\r\n\t\tthis(Constants.DEFAULT_MAX_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_SMALL_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_MOTORCYCLE_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_QUEUE_SIZE);\r\n\r\n\t\t// Initialise the parking spot... | [
"0.7127305",
"0.65983367",
"0.6533802",
"0.6202329",
"0.61468774",
"0.60969996",
"0.6096467",
"0.5960005",
"0.58706903",
"0.58674246",
"0.5831411",
"0.5792651",
"0.5762711",
"0.57545346",
"0.5731484",
"0.5730789",
"0.57132846",
"0.56824416",
"0.556196",
"0.5547345",
"0.554226... | 0.6041205 | 7 |
Mergeable defines an equivalent relation: canMerge and corresponding method for two object that can merge. | public interface Mergeable<T extends Mergeable<T>> {
/**
* Determines whether this object and the given can be merged,
*
* @param x
* @return
*/
boolean canMerge(T x);
/**
* Merges two objects, throws an exception if canMerge(x) returns false.
*
* @param x
* @re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean canMerge(Item other);",
"boolean canMerge(T x);",
"public interface Mergeable<T extends Mergeable>\n{\n /**\n * Performs merge of this object with another object of the same type.\n * Returns this object as a result of the performed merge.\n *\n * @param object object to merge... | [
"0.7210415",
"0.6896268",
"0.6642484",
"0.6406813",
"0.60980976",
"0.6002686",
"0.5938131",
"0.57872593",
"0.5753737",
"0.5708611",
"0.5647424",
"0.55946666",
"0.5532582",
"0.5528082",
"0.54901147",
"0.54554296",
"0.5276483",
"0.52436817",
"0.519607",
"0.51931274",
"0.5106652... | 0.74815345 | 0 |
Determines whether this object and the given can be merged, | boolean canMerge(T x); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean canMerge(Item other);",
"boolean isMerged();",
"public boolean canBeMerged(Releaseplan entity) {\r\n\t\treturn true;\r\n\t}",
"public boolean canBeMerged(MInspectSetting entity) {\n\t\treturn true;\n\t}",
"public boolean canBeMerged(SchoolCourseStudent entity) {\r\n\t\treturn true;\r\n\t}",
... | [
"0.74834675",
"0.72669846",
"0.70739675",
"0.70155644",
"0.67764133",
"0.66749203",
"0.6628243",
"0.6352074",
"0.633651",
"0.6233476",
"0.598498",
"0.5981322",
"0.58887225",
"0.5848881",
"0.5828377",
"0.58046675",
"0.5791297",
"0.57815886",
"0.5754441",
"0.5711211",
"0.569958... | 0.78114206 | 0 |
Merges two objects, throws an exception if canMerge(x) returns false. | T merge(T x); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean canMerge(T x);",
"public interface Mergeable<T extends Mergeable<T>> {\n /**\n * Determines whether this object and the given can be merged,\n *\n * @param x\n * @return\n */\n boolean canMerge(T x);\n\n /**\n * Merges two objects, throws an exception if canMerge(x) retur... | [
"0.6796491",
"0.6525819",
"0.64516556",
"0.6319674",
"0.6165746",
"0.61437815",
"0.6117465",
"0.6105518",
"0.5990635",
"0.58809566",
"0.570689",
"0.5706567",
"0.5461646",
"0.5394975",
"0.5374238",
"0.53650385",
"0.53064793",
"0.5257313",
"0.5183611",
"0.5165035",
"0.51490414"... | 0.6018743 | 8 |
System.out.println("" + "handleSignInResult:" + result.isSuccess()); | private void handleSignInResult(GoogleSignInResult result) {
if (result.isSuccess()) {
// Signed in successfully, show authenticated UI.
GoogleSignInAccount acct = result.getSignInAccount();
// mStatusTextView.setText(getString(R.string.signed_in_fmt, acct.getDisplayName()));
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void onSignInSucceeded() {\n\n\t}",
"private void handleSignInResult(GoogleSignInResult result) {\n Log.v(\"SIGNIN STATUS\", \"SIGNIN RESULT: \" + result.getStatus().getStatusMessage());\n Log.v(\"SIGNIN STATUS\", \"SIGNIN CODE: \" + result.getStatus().getStatusCode());\n ... | [
"0.7711815",
"0.74119306",
"0.73391044",
"0.73359084",
"0.7182458",
"0.69735074",
"0.68710357",
"0.68270266",
"0.6813461",
"0.6769561",
"0.674541",
"0.6713846",
"0.669141",
"0.66630495",
"0.6620463",
"0.6605679",
"0.65853256",
"0.658109",
"0.65542597",
"0.65542597",
"0.652048... | 0.7193538 | 4 |
get the first day of the date you introduct | public static Date getFirstDate(Date date ) throws ParseException{
String format = "yyyyMM";
date = formatStrtoDate( format(date, format) + "01", format + "dd");
return date;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Date firstDay(final Date date) {\n final Calendar cal = new GregorianCalendar();\n cal.setTime(date);\n cal.set(Calendar.DAY_OF_MONTH, cal.getMinimum(Calendar.DAY_OF_MONTH));\n cal.set(Calendar.HOUR_OF_DAY, 00);\n cal.set(Calendar.MINUTE, 00);\n cal.set(Calen... | [
"0.78690153",
"0.7472683",
"0.73546344",
"0.7179246",
"0.7113759",
"0.700598",
"0.69404876",
"0.6910578",
"0.68460244",
"0.6821757",
"0.68215984",
"0.680668",
"0.68007666",
"0.6729872",
"0.67286766",
"0.67255706",
"0.67125213",
"0.6676052",
"0.66206855",
"0.6581765",
"0.65439... | 0.71756357 | 4 |
An object is groupable if it can be collected together into a herd | public interface Groupable {
/**
* Access method for getting the list of abilities from the member instance
*
* @see common.objects.Herd
* @see common.objects.Leader
* @see common.datatypes.Ability
*
* @return Collection (ArrayList) Abilities (enum) that this member has
*
* @t... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Collection derive(Object o) {\r\n\r\n LinkedList groups = new LinkedList();\r\n\r\n if ( ! (o instanceof Order) ) return groups; // stubs have no groups\r\n Order order = (Order) o;\r\n\r\n // first pass, gather unique SKUs\r\n\r\n HashSet skus = new HashSet();\r\n\r\n Iterator i ... | [
"0.6173314",
"0.592443",
"0.577433",
"0.5704399",
"0.56719476",
"0.5590991",
"0.556903",
"0.55407417",
"0.55373263",
"0.5536259",
"0.55078423",
"0.5461039",
"0.54565275",
"0.5422513",
"0.5386402",
"0.5336668",
"0.529646",
"0.5282929",
"0.52669346",
"0.523681",
"0.5204614",
... | 0.5680667 | 4 |
Access method for getting the list of abilities from the member instance | ArrayList<Ability> getAbilities() throws RemoteException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract Ability[] getAbilities();",
"public static List<Ability> getAbilities() {\n return Collections.unmodifiableList(new ArrayList<>(ABILITIES.values()));\n }",
"@Override\n\tpublic Ability[] getAbilities() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic void setAbilities() {\n\t\t\r\n\t}",
... | [
"0.8037297",
"0.7474722",
"0.67502946",
"0.6513916",
"0.6418352",
"0.6162733",
"0.61300504",
"0.6087043",
"0.6016307",
"0.6003496",
"0.59827054",
"0.59778637",
"0.59627736",
"0.5958675",
"0.58829945",
"0.5876017",
"0.58420825",
"0.58386433",
"0.5834337",
"0.5801583",
"0.57922... | 0.8098993 | 0 |
TODO Autogenerated method stub | @Override
public void mouseDragged(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseMoved(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseClicked(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseEntered(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseExited(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.