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 |
|---|---|---|---|---|---|---|
Creates new form FrmRol | public FrmRol() {
initComponents();
this.CONTROL = new ControlRol();
this.listar();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public FrmInsertar() {\n initComponents();\n }",
"public FrmCrearEmpleado() {\n initComponents();\n tFecha.setDate(new Date());\n }",
"private void createBtnActionPerformed(java.awt.event.ActionEvent evt) {\n\n staff.setName(regName.getText());\n staff.setID(regID.getTe... | [
"0.6428761",
"0.6399876",
"0.6363038",
"0.62636346",
"0.62399673",
"0.6225488",
"0.61792374",
"0.6130434",
"0.6092426",
"0.6050326",
"0.60284996",
"0.6019827",
"0.5999752",
"0.5934043",
"0.5910763",
"0.59020215",
"0.588202",
"0.58797103",
"0.58721584",
"0.5870664",
"0.5792404... | 0.71435463 | 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() {
panelRolLista = new javax.swing.JTabbedPane();
jPanel1 = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
... | {
"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.73191476",
"0.72906625",
"0.72906625",
"0.72906625",
"0.72860986",
"0.7248112",
"0.7213479",
"0.72078276",
"0.7195841",
"0.71899796",
"0.71840525",
"0.7158498",
"0.71477973",
"0.7092748",
"0.70800966",
"0.70558053",
"0.69871384",
"0.69773406",
"0.69548076",
"0.69533914",
"... | 0.0 | -1 |
An 8bit 'byte' value: | public static void main(String[] args) {
byte aByte = (byte) 0b00100001;
// A 16-bit 'short' value:
short aShort = (short) 0b1010000101000101;
// Some 32-bit 'int' values:
int anInt1 = 0b10100001010001011010000101000101;
int anInt2 = 0b101;
int anInt3 = 0B101; // The B can be upper or lower case... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"byte toByteValue() {\n return (byte) value;\n }",
"@Override\n public byte byteValue() {\n return value;\n }",
"public byte get8BitRegisterValue(Register r) {\n switch (r) {\n case A:\n return A;\n case B:\n return B;\n ... | [
"0.76927006",
"0.71749556",
"0.69854057",
"0.6828673",
"0.67762595",
"0.67640066",
"0.6735737",
"0.6725488",
"0.67122626",
"0.67055804",
"0.6696352",
"0.6610582",
"0.65877515",
"0.6564293",
"0.6484089",
"0.6440532",
"0.6439651",
"0.64105856",
"0.6401967",
"0.63951904",
"0.636... | 0.0 | -1 |
Parses the string representation of the time and returns a Java Calendar object. | public static Calendar getTimeFromString(String timeStr) {
DateFormat format = new SimpleDateFormat("hh:mm");
Calendar c = new GregorianCalendar();
Date date;
try {
date = (Date)format.parse(timeStr.substring(0, timeStr.length()-1));
c.setTime(date);
if (timeStr.charAt(timeStr.length()-... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Calendar toCalendar(){\r\n\t\tSimpleDateFormat[] formats = new SimpleDateFormat[] {\r\n\t\t\t\tYYYY_MM_DD_FORMATTER, YYYY_MMT_DD_T_HH_MM_FORMATTER,\r\n\t\t\t\tYYYY_MMT_DD_T_HH_MM_SS_FORMATTER };\r\n\t\tfor (SimpleDateFormat format : formats) {\r\n\t\t\ttry {\r\n\t\t\t\tDate date = format.parse(this.timeStri... | [
"0.66842437",
"0.6361885",
"0.6353294",
"0.63191134",
"0.6281127",
"0.60938156",
"0.60829115",
"0.6030776",
"0.5911416",
"0.58702725",
"0.58514225",
"0.58387697",
"0.5782855",
"0.5777876",
"0.5730492",
"0.57110643",
"0.56905794",
"0.5653294",
"0.5613566",
"0.55886537",
"0.554... | 0.7072354 | 0 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public WdVocabExample() {
oredCriteria = new ArrayList<Criteria>();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.46308562",
"0.... | 0.49100333 | 8 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public String getOrderByClause() {
return orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public void setDistinct(boolean distinct) {
this.distinct = distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public boolean isDistinct() {
return distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public List<Criteria> getOredCriteria() {
return oredCriteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public void or(Criteria criteria) {
oredCriteria.add(criteria);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table wd_vocab | public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<VocabWord> document(int index);",
"int[] documents(VocabWord vocabWord);",
"public static void writeVocab(Vocab vocab) {\n String userId = FirebaseAuth.getInstance().getUid();\n Log.d(\"000\", \"writeVocab: \"+userId);\n mDatabase.child(\"user\").child(userId).child(\"vocab\").child(v... | [
"0.5714772",
"0.5634642",
"0.54471385",
"0.5296146",
"0.5199113",
"0.49331725",
"0.49329886",
"0.4925552",
"0.49100333",
"0.49073565",
"0.48575464",
"0.4840506",
"0.48176134",
"0.47540638",
"0.4731969",
"0.47130308",
"0.46997505",
"0.46928567",
"0.46592632",
"0.46315858",
"0.... | 0.0 | -1 |
Compares weight of inventory items | @Override
public int compare(InventoryItem item1, InventoryItem item2) {
//if items being compared have the same weight, the one with the higher ID will be considered bigger
if (item1.getWeight() == item2.getWeight()) {
return (Long.compare(item1.getID(), item2.getID()));
} else ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic int compare(WaterBottle o1, WaterBottle o2) {\n\t\treturn o1.weight-o2.weight;\r\n\t}",
"public static void main(String[] args){ w = the total weight\n\t\t// i = item i\n\t\t// m[i, w] = maximum value attained with weight <= w using items up to i\n\t\t//\n\t\t// recurrence relation:\n\t\t//... | [
"0.6211985",
"0.6123513",
"0.6112139",
"0.6062029",
"0.6009213",
"0.600498",
"0.5953228",
"0.5938186",
"0.5882382",
"0.5873716",
"0.5868808",
"0.5858215",
"0.5845884",
"0.58434653",
"0.58112174",
"0.5779504",
"0.5771379",
"0.5765076",
"0.5751447",
"0.5710051",
"0.56724626",
... | 0.6790805 | 0 |
Checking all files are in place | @Test
public void bookExists() throws Exception {
String directory = System.getProperty("user.dir");
File file = new File(directory + "\\src\\main\\java\\com\\mylib\\library\\Book.java");
assertTrue(file.exists());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract boolean copyCheckedFiles();",
"private void checkOutFiles(HashMap<String, Blob> allFiles,\n HashMap<String, Blob> curFile)\n throws IOException {\n for (String fileName: allFiles.keySet()) {\n File fileInCWD = new File(Main.CWD, fileNa... | [
"0.65496373",
"0.64847404",
"0.63853955",
"0.5985771",
"0.5942303",
"0.59337664",
"0.5919846",
"0.590579",
"0.58959156",
"0.58915854",
"0.5875187",
"0.5870163",
"0.5820545",
"0.5816279",
"0.5768371",
"0.5747832",
"0.570401",
"0.56916606",
"0.5673835",
"0.5669262",
"0.5664936"... | 0.0 | -1 |
Only allow to extend from same package | DnsMessage(int id) {
header = newHeader(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void extend();",
"@Override\n\tpublic void extends_(JDefinedClass cls) {\n\n\t}",
"private XIncluder() {}",
"public interface Extendable {\n void extend();\n}",
"public interface TestExtend {\n}",
"@Override\n protected void checkSubclass() {\n }",
"TopLevelImport createTopLevelImport();",
"priv... | [
"0.67157334",
"0.62184256",
"0.61768794",
"0.61625826",
"0.6018345",
"0.5830547",
"0.5766686",
"0.5701946",
"0.5696773",
"0.56929773",
"0.56839883",
"0.5648965",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689",
"0.5647689... | 0.0 | -1 |
Returns the header belonging to this message. | public DnsHeader header() {
return header;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHeader() {\n\t\t\treturn header;\n\t\t}",
"public String getHeader() {\n\t\treturn header.toString();\n\t}",
"public String getHeader() {\n\t\treturn _header;\n\t}",
"public String getHeader() {\n return header;\n }",
"public String getHeader() {\n return header;\n }",
... | [
"0.81287783",
"0.80851996",
"0.8084662",
"0.80684465",
"0.80684465",
"0.80251044",
"0.7986797",
"0.7960613",
"0.7848827",
"0.76528543",
"0.7607556",
"0.7588483",
"0.75224745",
"0.7509997",
"0.74914503",
"0.7382221",
"0.73081076",
"0.7297561",
"0.7236845",
"0.7221161",
"0.7206... | 0.7092115 | 26 |
Returns a list of all the questions in this message. | public List<DnsQuestion> questions() {
if (questions == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(questions);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Question> getQuestions() {\n\t\treturn this.questions;\n\t}",
"public ArrayList<Question> getQuestions() {\r\n\t\treturn this.questions;\r\n\t}",
"public List<Question> getQuestions() {\n return questionList;\n }",
"public Question[] getQuestions() {\n return this.questions.toArr... | [
"0.75889075",
"0.73735833",
"0.73545605",
"0.72211754",
"0.7148698",
"0.7028417",
"0.6955382",
"0.6954939",
"0.6951715",
"0.69383264",
"0.69001037",
"0.6739443",
"0.6702652",
"0.6642387",
"0.6620608",
"0.6618001",
"0.6561968",
"0.65221226",
"0.65001905",
"0.6474488",
"0.64281... | 0.75259346 | 1 |
Returns a list of all the answer resource records in this message. | public List<DnsResource> answers() {
if (answers == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(answers);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic List<Answer> findAll() {\n\t\treturn findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);\n\t}",
"@Override\n\tpublic List<Answer> getAllAnswers() {\n\t\treturn dao.findAll();\n\t}",
"public List<DataQuestion> getAllAnswer(){\n return items;\n }",
"public List<Answer> getAnswers... | [
"0.6642069",
"0.6599485",
"0.6544519",
"0.6321325",
"0.6078469",
"0.6042053",
"0.60397595",
"0.60162693",
"0.6002967",
"0.59677064",
"0.595668",
"0.5930868",
"0.5926348",
"0.59110445",
"0.58713055",
"0.583462",
"0.57732755",
"0.5772151",
"0.5738174",
"0.57148993",
"0.5712773"... | 0.6835417 | 0 |
Returns a list of all the authority resource records in this message. | public List<DnsResource> authorityResources() {
if (authority == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(authority);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@RequestMapping(value = \"/authority\", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<List<String>> getAll() throws URISyntaxException {\n\t\tlog.debug(\"REST request to get all authority\");\n\t\treturn new ResponseEntity<>(authorityRepository.findAll().stream()... | [
"0.6185105",
"0.61287606",
"0.61229247",
"0.59720355",
"0.59546936",
"0.5906978",
"0.5875893",
"0.5868714",
"0.58588344",
"0.5850568",
"0.58390355",
"0.5746716",
"0.57350886",
"0.56940883",
"0.56682056",
"0.56542885",
"0.5648558",
"0.5626836",
"0.5617145",
"0.5617145",
"0.561... | 0.7403497 | 0 |
Returns a list of all the additional resource records in this message. | public List<DnsResource> additionalResources() {
if (additional == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(additional);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<MessageResource> listMessageResource();",
"public Collection<Resource> getAdditionalDefinitionProperties() {\n\t\treturn additionalDefinitionProperties;\n\t}",
"public DnsMessage addAdditionalResource(DnsResource resource) {\n if (additional == null) {\n additional = new LinkedLis... | [
"0.62207514",
"0.6006105",
"0.5756539",
"0.56891567",
"0.56865746",
"0.56788886",
"0.5603595",
"0.5603138",
"0.5566479",
"0.5487618",
"0.54533184",
"0.5429252",
"0.5418551",
"0.53880185",
"0.53807",
"0.53684896",
"0.53191304",
"0.5309922",
"0.52986616",
"0.5270657",
"0.524209... | 0.73858654 | 0 |
Adds an answer resource record to this message. | public DnsMessage addAnswer(DnsResource answer) {
if (answers == null) {
answers = new LinkedList<DnsResource>();
}
answers.add(answer);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addQuestionAnswer(Answer answer);",
"public void addAnswer(Answer answer) {\n \t\tanswer.setId(answerIdCounter);\n \t\tanswers.add(answer);\n \t\tanswerIdCounter++;\n \t}",
"void addAnswer(Answer answer);",
"@Override\r\n public void addAnswer(String answer) {\r\n this.answers.add(answer);\r\n... | [
"0.6713576",
"0.6691464",
"0.66405237",
"0.64692765",
"0.61697704",
"0.6028735",
"0.56496924",
"0.5640897",
"0.56059337",
"0.5491348",
"0.5484367",
"0.5483683",
"0.5460599",
"0.5454003",
"0.5387567",
"0.5381038",
"0.5350936",
"0.5330491",
"0.5313302",
"0.52857935",
"0.5249004... | 0.7830685 | 0 |
Adds a question to this message. | public DnsMessage addQuestion(DnsQuestion question) {
if (questions == null) {
questions = new LinkedList<DnsQuestion>();
}
questions.add(question);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addQuestion(Question question) {\n\t\tquestions.add(question);\n\t}",
"public void addQuestion(Question question);",
"public void addQ (Question Q)\n {\n newQuestion = Q;\n \n enqueue();\n }",
"public void addQuestion(Question question) {\n \t\tquestion.setId(questionId... | [
"0.7657272",
"0.7617168",
"0.7518517",
"0.7255216",
"0.7008824",
"0.69841003",
"0.69256",
"0.6922477",
"0.6879726",
"0.6796011",
"0.6728129",
"0.67147297",
"0.67030674",
"0.6593441",
"0.62943685",
"0.62908953",
"0.6284343",
"0.62481934",
"0.62357354",
"0.62092966",
"0.6161620... | 0.7629333 | 1 |
Adds an authority resource record to this message. | public DnsMessage addAuthorityResource(DnsResource resource) {
if (authority == null) {
authority = new LinkedList<DnsResource>();
}
authority.add(resource);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic int addAuthority(Authority authority) throws Exception {\n\t\treturn mapper.addAuthority(authority);\r\n\t}",
"public void addAuthority(Authorities auth){\r\n\t\tauth.setUsers(this);\r\n\t\tauthorities.add(auth);\r\n\t}",
"public void setAuthority(String authority) {\n this.authori... | [
"0.60862136",
"0.5666913",
"0.52209723",
"0.5193961",
"0.51355714",
"0.51284873",
"0.50695014",
"0.5016117",
"0.5015239",
"0.49612653",
"0.4911115",
"0.48867065",
"0.48489517",
"0.48434782",
"0.48394552",
"0.48248595",
"0.48202667",
"0.48168436",
"0.47947085",
"0.47708422",
"... | 0.7194462 | 0 |
Adds an additional resource record to this message. | public DnsMessage addAdditionalResource(DnsResource resource) {
if (additional == null) {
additional = new LinkedList<DnsResource>();
}
additional.add(resource);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addResource(TIdentifiable resource) {\r\n // make sure that the resource doesn't exists already\r\n\t if (resourceExists(resource)) return;\t \r\n\t \r\n // check to see if we need to expand the array:\r\n\t if (m_current_resources_count == m_current_max_resources) expandTable... | [
"0.6509125",
"0.6351414",
"0.61768186",
"0.61680806",
"0.6148225",
"0.6118356",
"0.6076704",
"0.5995019",
"0.5984204",
"0.59810936",
"0.5922705",
"0.5911337",
"0.5873335",
"0.5818188",
"0.5817784",
"0.58059895",
"0.57732576",
"0.5766045",
"0.57610923",
"0.5728338",
"0.5692749... | 0.7701043 | 0 |
Handles request to change user's password. | private boolean userAuthPasswordChangeRequest(Session session, byte[] password) throws Exception {
_buffer.getInt();
_buffer.getShort();
byte[] instruction = _buffer.getString();
_buffer.getString(); // Language tag
if( !(_userinfo instanceof UIKeyboardInteractive) ) {
if( _userinfo != null ) {
_userin... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean changePassword(HttpServletRequest request, HttpServletResponse response);",
"void updateUserPassword(User user);",
"@Override\r\n\tpublic void modifyPassword(String username, String password, String confirmPassword, String oldPassword) {\n\t}",
"@PostMapping(path = \"/account/change_password\"... | [
"0.7848946",
"0.73261833",
"0.72362995",
"0.7068718",
"0.69921046",
"0.69286525",
"0.69058174",
"0.6901659",
"0.6884648",
"0.6883201",
"0.68800175",
"0.68779004",
"0.686698",
"0.6836067",
"0.6835074",
"0.6823319",
"0.68187964",
"0.6817294",
"0.6756161",
"0.6724872",
"0.667089... | 0.6998823 | 4 |
Returns the color that is used for drawing the highlight indicators. | int getHighLightColor(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Color getHighlightColor() {\n return highlightColor;\n }",
"public Color getHighlight();",
"public Color getColor() {\n\t\treturn Color.GRAY;\n\t}",
"public Color getColor() {\n return Color.YELLOW;\n }",
"public Integer getColor() {\n\t\treturn color;\n\t}",
"public static Col... | [
"0.7632842",
"0.76286024",
"0.70849985",
"0.7049137",
"0.7016964",
"0.6997186",
"0.6981725",
"0.6980207",
"0.69381374",
"0.6878604",
"0.6873199",
"0.6873199",
"0.68433166",
"0.6827176",
"0.68224025",
"0.6784763",
"0.6771196",
"0.6771196",
"0.6760901",
"0.67419267",
"0.6736818... | 0.68593735 | 12 |
The constructor of the cards. | public Seed() {
cards = new Cards();
seedCards = new ArrayList<Cards>();
description = "";
autoSummary = "";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Card () {}",
"Cards(String cardName, String cardDes, int puntosHabilidad) {\n this.nombre = cardName;\n this.descripcion = cardDes;\n this.puntos = puntosHabilidad;\n }",
"public Card() { this(12, 3); }",
"public Card()\n {}",
"public CardGameFramework()\n ... | [
"0.82698804",
"0.8090971",
"0.8024289",
"0.7941208",
"0.7937103",
"0.78673434",
"0.7838852",
"0.77329975",
"0.77255434",
"0.7706336",
"0.76491004",
"0.76264614",
"0.7534664",
"0.7515921",
"0.7506903",
"0.7476161",
"0.7439754",
"0.74045163",
"0.7389043",
"0.7372293",
"0.737078... | 0.0 | -1 |
Get the Cards of the seed. | public Cards getCards() {
return cards;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<Cards> getSeedCards() {\r\n\t\treturn seedCards;\r\n\t}",
"public List<Card> getCards() throws RemoteException {\n return mainScreenProvider.getCards();\n }",
"@Override\n\tpublic Cards getCards() {\n\t\treturn cards;\n\t}",
"public List<Card> getCards() {\n\t\treturn new ArrayLis... | [
"0.7714306",
"0.71036017",
"0.7049915",
"0.70216453",
"0.70010066",
"0.697608",
"0.6966324",
"0.69531727",
"0.6919893",
"0.68244",
"0.68055445",
"0.6706363",
"0.6639733",
"0.66346735",
"0.66167074",
"0.65963",
"0.65873015",
"0.6584901",
"0.656852",
"0.65064496",
"0.6489721",
... | 0.72376966 | 1 |
Get the seed cards. | public ArrayList<Cards> getSeedCards() {
return seedCards;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@JsonIgnore\n\tpublic List<Card> getAvailableCards() {\n\t\tList<Card> availableCards = new ArrayList<>();\n\t\tfor (int i = dealtCards.get(); i < Deck.DECK_SIZE; i++) {\n\t\t\tCard card = cards.get(i);\n\t\t\tavailableCards.add(card);\n\t\t}\n\t\treturn availableCards;\n\t}",
"public int[] getCards() {\n \t\tre... | [
"0.7214389",
"0.7192044",
"0.7008184",
"0.69841075",
"0.6963431",
"0.694094",
"0.6796121",
"0.677333",
"0.6740505",
"0.6737961",
"0.6725071",
"0.6719408",
"0.66997063",
"0.66625214",
"0.6654227",
"0.66398084",
"0.6635348",
"0.66308415",
"0.66229236",
"0.661288",
"0.66074574",... | 0.8253217 | 0 |
Get the size of the seed. | public int size() {
return seedCards.size();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static int getRandomSize() {\n return RandomNumberGenerator.getRandomInt(200, 100000);\n }",
"public static int size_length() {\n return (8 / 8);\n }",
"public final int size() {\r\n return sequentialSize(root);\r\n }",
"public static int size() {\n\t\treturn (anonymousSize() +... | [
"0.7296526",
"0.70901924",
"0.6853667",
"0.6850653",
"0.68388045",
"0.6792541",
"0.6783947",
"0.67626995",
"0.6760083",
"0.6745854",
"0.673908",
"0.67300606",
"0.67151445",
"0.6696104",
"0.66792536",
"0.66715306",
"0.6667957",
"0.66275597",
"0.6617355",
"0.66121006",
"0.65738... | 0.72295296 | 1 |
get the ith card in the seed. | public Cards get(int i) {
return seedCards.get(i);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Card giveCard(){\n return this.cardDeck.get(lastIndex++);\n }",
"public Card nextCard(){\r\n\t if(topCardIndex >=52){\r\n\t throw new IndexOutOfBoundsException();\r\n\t }\r\n\t return cards[topCardIndex++];\r\n\t}",
"public int chooseCard(){\n if(playable.size() == 1)//chec... | [
"0.7407205",
"0.68772256",
"0.67871743",
"0.67606676",
"0.6725106",
"0.6639194",
"0.662366",
"0.657255",
"0.65606225",
"0.65570354",
"0.6519145",
"0.6491819",
"0.64861697",
"0.647496",
"0.6451807",
"0.6435623",
"0.6412247",
"0.6357758",
"0.6342162",
"0.63205093",
"0.62987125"... | 0.74253345 | 0 |
add a cards to seed. | public void add(Cards cs) {
for (int i = 0; i < cs.getSize(); i++) {
cards.addCard(cs.getCard(i));
}
seedCards.add(cs);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addCard(Card card) {\n this.deck.push(card);\n }",
"public void add(Card card) {\n this.cards.add(card);\n }",
"public void putCard(Cards cards) {\n playedCards.add(cards);\n }",
"void add(Set<Card> cards);",
"public void addToDeck(ArrayList<Card> cards)\r\n\t{\r\n\t\tfo... | [
"0.6883836",
"0.6848084",
"0.6830559",
"0.6828617",
"0.68014956",
"0.6683606",
"0.6566271",
"0.6564749",
"0.65544754",
"0.6553269",
"0.6541789",
"0.6521036",
"0.65179336",
"0.6469259",
"0.6462653",
"0.6454646",
"0.6453367",
"0.64507353",
"0.64417344",
"0.64332944",
"0.6422957... | 0.7683574 | 0 |
Set the description of the seed. | public void setDescription(String des) {
this.description = des;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setDescription(java.lang.String description) {\n\t\t_esfTournament.setDescription(description);\n\t}",
"public void setDescription(String Description) {\n this.Description = Description;\n }",
"public void setDescription (String Description);",
"public void setDescription (... | [
"0.72816724",
"0.71957934",
"0.7158226",
"0.7158226",
"0.7158226",
"0.7158226",
"0.7158226",
"0.7158226",
"0.715507",
"0.71465707",
"0.71451706",
"0.7144365",
"0.71439993",
"0.71365637",
"0.71303",
"0.71303",
"0.7128134",
"0.712747",
"0.7127005",
"0.71215147",
"0.7105323",
... | 0.0 | -1 |
Get the description of the seed. | public String getDescription() {
return description;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String getDescription() \r\n {\r\n return \"Seeds\";\r\n }",
"public String getDescription() {\n return (desc);\n }",
"String description();",
"String description();",
"String description();",
"String description();",
"String description();",
"String description();"... | [
"0.80987245",
"0.7422866",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7369319",
"0.7299694",
"0.7269694",
"0.7221498",
"0.7219452",
"0.7208353",
"0.7197347",
"0.7182072",
... | 0.0 | -1 |
Assume the seeds are sorted. | @Override
public boolean equals(Object o) {
if (o instanceof Seed) {
Seed s = (Seed) o;
Cards cs1, cs2;
if (this.size() != s.size()) {
return false;
}
for (int i = 0; i < s.size(); i++) {
cs1 = s.get(i);
cs2 = this.get(i);
if (cs1.getCardsType() != cs2.getCardsType()
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void combineSeeds() {\n\t\t\n\t\t// Find all seeds\n\t\tArrayList<Root> allSeeds = new ArrayList<Root>();\n\t\tfor (Root r: allRoots) {\n\t\t\tif (r.isSeed) {\n\t\t\t\tallSeeds.add(r);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// combine all seed voxels into one seed \"root\"\n\t\tArrayList<Coord> seed = new ArrayList<Co... | [
"0.6577796",
"0.6458194",
"0.62888074",
"0.62812",
"0.6213649",
"0.6211347",
"0.6201969",
"0.6173967",
"0.61285394",
"0.6098127",
"0.6063968",
"0.6048669",
"0.60044134",
"0.5986656",
"0.5982456",
"0.59594196",
"0.5938989",
"0.5870402",
"0.5851973",
"0.5812848",
"0.5812848",
... | 0.0 | -1 |
print the actions of application | public static void print() {
System.out.println("1: Push");
System.out.println("2: Pop");
System.out.println("3: Peek");
System.out.println("4: Get size");
System.out.println("5: Check if empty");
System.out.println("6: Exit");
System.out.println("===================================================... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void printActions(ArrayList<Action> actions){\n\t\tfor (int i = 0; i < actions.size(); i++) \n\t\t\tSystem.out.println(actions.get(i));\n\t}",
"@Override\n\tpublic String displayActions() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 0;\n\t\tfor(Action action: this.getTakeableAction... | [
"0.7321359",
"0.6744311",
"0.67022383",
"0.66606903",
"0.66339046",
"0.65123266",
"0.6500217",
"0.64530003",
"0.6443277",
"0.6404122",
"0.63881135",
"0.63212156",
"0.6270406",
"0.62478024",
"0.62431395",
"0.6214777",
"0.6213327",
"0.62102354",
"0.61961794",
"0.61889803",
"0.6... | 0.6148502 | 23 |
/ renamed from: c | private synchronized void m16565c() {
if (!(this.f14719b || this.f14723f.hasMessages(this.f14724g))) {
this.f14723f.sendMessageDelayed(this.f14723f.obtainMessage(this.f14724g), 2000);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo5289a(C5102c c5102c);",
"public static void c0() {\n\t}",
"void mo57278c();",
"private static void cajas() {\n\t\t\n\t}",
"void mo5290b(C5102c c5102c);",
"void mo80457c();",
"void mo12638c();",
"void mo28717a(zzc zzc);",
"void mo21072c();",
"@Override\n\tpublic void ccc() {\n\t\t\n\t}",
... | [
"0.64592767",
"0.644052",
"0.6431582",
"0.6418656",
"0.64118475",
"0.6397491",
"0.6250796",
"0.62470585",
"0.6244832",
"0.6232792",
"0.618864",
"0.61662376",
"0.6152657",
"0.61496663",
"0.6138441",
"0.6137171",
"0.6131197",
"0.6103783",
"0.60983956",
"0.6077118",
"0.6061723",... | 0.0 | -1 |
/ renamed from: a | public void m16570a() {
this.f14719b = false;
m16568d();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
/ renamed from: d | private void m16568d() {
if (this.f14721d && !this.f14719b && !this.f14720c) {
try {
this.f14722e.autoFocus(this.f14726j);
this.f14720c = true;
} catch (Throwable e) {
Log.w(f14717a, "Unexpected exception while focusing", e);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void d() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }",
"public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor... | [
"0.63810617",
"0.616207",
"0.6071929",
"0.59959275",
"0.5877492",
"0.58719957",
"0.5825175",
"0.57585526",
"0.5701679",
"0.5661244",
"0.5651699",
"0.56362265",
"0.562437",
"0.5615328",
"0.56114155",
"0.56114155",
"0.5605659",
"0.56001145",
"0.5589302",
"0.5571578",
"0.5559222... | 0.0 | -1 |
/ renamed from: e | private void m16569e() {
this.f14723f.removeMessages(this.f14724g);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void e() {\n\n\t}",
"public void e() {\n }",
"@Override\n\tpublic void processEvent(Event e) {\n\n\t}",
"@Override\n public void e(String TAG, String msg) {\n }",
"public String toString()\r\n {\r\n return e.toString();\r\n }",
"@Override\n\t\t\t\... | [
"0.72328156",
"0.66032064",
"0.6412127",
"0.6362734",
"0.633999",
"0.62543726",
"0.6232265",
"0.6159535",
"0.61226326",
"0.61226326",
"0.60798717",
"0.6049423",
"0.60396963",
"0.60011584",
"0.5998842",
"0.59709895",
"0.59551716",
"0.5937381",
"0.58854383",
"0.5870234",
"0.586... | 0.0 | -1 |
/ renamed from: b | public void m16571b() {
this.f14719b = true;
this.f14720c = false;
m16569e();
if (this.f14721d) {
try {
this.f14722e.cancelAutoFocus();
} catch (Throwable e) {
Log.w(f14717a, "Unexpected exception while cancelling focusing", e);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo2508a(bxb bxb);",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"v... | [
"0.64558864",
"0.6283203",
"0.6252635",
"0.6250949",
"0.6244743",
"0.6216273",
"0.6194491",
"0.6193556",
"0.61641675",
"0.6140157",
"0.60993093",
"0.60974354",
"0.6077849",
"0.6001867",
"0.5997364",
"0.59737104",
"0.59737104",
"0.5905105",
"0.5904295",
"0.58908087",
"0.588663... | 0.0 | -1 |
Using the event, create and show a dialog | @Override
public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(ActionEvent evt) {\r\n super.actionPerformed(evt);\r\n createDialog().show();\r\n }",
"protected void showDialog(final IJobChangeEvent event) {\r\n\t\tDisplay display = Display.getDefault();\r\n\t\tdisplay.asyncExec(new Runnable() {\r\n\t\t\t@Override\r\n\t\t\tpub... | [
"0.69970083",
"0.66673994",
"0.66198164",
"0.660136",
"0.6570881",
"0.6562758",
"0.65464956",
"0.65276605",
"0.6458311",
"0.6411188",
"0.63921934",
"0.63835883",
"0.6324985",
"0.63234204",
"0.63212043",
"0.63207096",
"0.63095564",
"0.630369",
"0.62904185",
"0.6275812",
"0.626... | 0.0 | -1 |
called when one of the NumberTextFields are changed. | protected abstract void onScalePercentChange(int zoom); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@OnTextChanged(R.id.number_of_tickets_field)\n public void onTicketsNumberChanged(@Nullable CharSequence text) {\n if (text == null || text.toString().equals(\"\")) {\n numberOfTickets = 0;\n } else {\n try {\n numberOfTickets = Integer.parseInt(text.toString()... | [
"0.6799893",
"0.66373307",
"0.65059245",
"0.645344",
"0.64282715",
"0.642674",
"0.6305292",
"0.6223068",
"0.6205492",
"0.61965525",
"0.6163559",
"0.6106315",
"0.6092356",
"0.6081882",
"0.6058185",
"0.60546833",
"0.60417044",
"0.60287184",
"0.6019658",
"0.59794",
"0.59572524",... | 0.0 | -1 |
verifying slot table numbers are updated on clicking spin | @Test(priority = 3, enabled = true)
public void spinUpdatesSlotTable() {
spin();
int[][] slot1 = slotNumbers();
spin();
int[][] slot2 = slotNumbers();
// compare table displayed after spin is not equal to previous
// table
Assert.assertTrue(slot1 != slot2);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void SpinActionPerformed(ActionEvent evt) {\n\t\t//player has to bet before spinning the reels\n\t\tif (obj.getBet() > 0) {\n\t\t\tisSpining = true;\n\t\t\tnew SlotMachineController().startSpining();\n\t\t} else {\n\t\t\tJOptionPane.showMessageDialog(null, \"You should bet first.\");\n\t\t}\n\t}",
"@Test... | [
"0.6133961",
"0.606854",
"0.5835534",
"0.57645214",
"0.5749388",
"0.5616147",
"0.56125075",
"0.56019664",
"0.55592215",
"0.5543491",
"0.5528646",
"0.54428005",
"0.5439479",
"0.5423555",
"0.5405683",
"0.54021",
"0.5398684",
"0.53782487",
"0.53730637",
"0.5340944",
"0.53299725"... | 0.84211415 | 0 |
boolean serviceRunning = ServiceStatusUtils.isServiceRunning(, ); | public void test() {
String name = AddressService.class.getName();
System.out.print(name + "xxxx");
Logs.d(name);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isServiceRunning();",
"public synchronized static boolean isServiceRunning(){\n return prefs.getBoolean(IS_SERVICE_RUNNING, false);\n }",
"private boolean checkServiceIsRunning(){\r\n if (CurrentLocationUtil.isRunning()){\r\n doBindService();\r\n return tru... | [
"0.8874076",
"0.7803146",
"0.7652272",
"0.7633941",
"0.7633941",
"0.7633941",
"0.7633941",
"0.7633941",
"0.7480912",
"0.7430147",
"0.7309039",
"0.7239106",
"0.7239106",
"0.7239106",
"0.7239106",
"0.7239106",
"0.7198832",
"0.7198832",
"0.7197028",
"0.71562994",
"0.7142221",
... | 0.0 | -1 |
Get the cell which this bug is positioned in. | public Cell getPosition() {
return position;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getPosition(){\n\t\treturn this.cell;\n\t}",
"public int getCell() {\n return this.cell;\n }",
"public Cell getCell() {\n\t\treturn cell;\n\t}",
"public SubCell position() {\r\n return position;\r\n }",
"Cell getCellAt(Coord coord);",
"public TableCell getCell() {\n ... | [
"0.7921211",
"0.75943655",
"0.74148923",
"0.74031097",
"0.73327374",
"0.71757",
"0.7152548",
"0.71150553",
"0.7044577",
"0.69692844",
"0.6958153",
"0.6949744",
"0.6924532",
"0.6881853",
"0.6875334",
"0.6727624",
"0.67273796",
"0.67269456",
"0.67249846",
"0.6674521",
"0.666812... | 0.762701 | 1 |
Draw the bug icon. | public void draw(Graphics graphics) {
graphics.drawImage(
Util.getImage(icon),
position.getScreenHorizontalCoord(),
position.getScreenVerticalCoord(),
Cell.CELL_PIXELS,
Cell.CELL_PIXELS,
null
);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void drawIconBorder(Graphics g) {\n }",
"@Override\n\t\tprotected void paintComponent(Graphics g) {\n\t\t\tint width = getWidth();\n\t\t\tint height = getHeight();\n\t\t\tint x = (width - icon.getIconWidth()) / 2;\n\t\t\tint y = icon.getIconHeight() / 2;\n\t\t\tg.setColor(Color.darkGray);\n\t\t\tg.fillR... | [
"0.6310203",
"0.62195706",
"0.62171483",
"0.61953795",
"0.6044179",
"0.5967584",
"0.5896052",
"0.588874",
"0.5829875",
"0.57768583",
"0.5749597",
"0.57366115",
"0.57274836",
"0.57189333",
"0.5703731",
"0.5687344",
"0.565899",
"0.56529045",
"0.5643317",
"0.5574493",
"0.5565347... | 0.5224726 | 50 |
Move this bug to the given cell. | public boolean moveTo(Cell cell) {
if (cell == this.position) {
return true;
}
if (cell.equals(this.position.getNorth())) {
return moveUp();
}
if (cell.equals(this.position.getSouth())) {
return moveDown();
}
if (cell.equals(this.position.getEast())) {
return moveRigh... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void move(FightCell cell);",
"void move(char entry, int column, int row) {\n if(!moveIsOnBoard(column, row) ) {\n // throw an exception\n } else if (!this.state[column][row].isEmpty) {\n // throw a different exception\n } else {\n this.state[column][ro... | [
"0.6591634",
"0.6413922",
"0.6395823",
"0.6321812",
"0.62859255",
"0.6278262",
"0.61090356",
"0.60985595",
"0.60821784",
"0.60683995",
"0.60640925",
"0.6046468",
"0.5948004",
"0.59327036",
"0.5926858",
"0.591077",
"0.5893168",
"0.58824134",
"0.5878834",
"0.58654076",
"0.58411... | 0.62635195 | 6 |
Move this bug to the cell to its north. | public boolean moveUp() {
if (position.isLinked(position.getNorth())) {
position.getGameObjects().remove(this.type);
position = position.getNorth();
position.getGameObjects().add(this.type);
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void move() {\n\t\tGrid<Actor> gr = getGrid();\n\t\tif (gr == null) {\n\t\t\treturn;\n\t\t}\n\t\tLocation loc = getLocation();\n\t\tLocation next = loc.getAdjacentLocation(getDirection());\n\t\t\n\t\tLocation next2 = next.getAdjacentLocation(getDirection());\n\t\tif (gr.isValid(next2)) {\n\t\t\tmoveTo(next2... | [
"0.6745991",
"0.631559",
"0.62153727",
"0.620679",
"0.61582565",
"0.6105444",
"0.60793847",
"0.6076443",
"0.60417217",
"0.6001185",
"0.5990742",
"0.5987357",
"0.595466",
"0.5945374",
"0.59383774",
"0.5937056",
"0.59312975",
"0.5907525",
"0.5897598",
"0.58822936",
"0.58642197"... | 0.0 | -1 |
Move this bug to the cell to its south. | public boolean moveDown() {
if (position.isLinked(position.getSouth())) {
position.getGameObjects().remove(this.type);
position = position.getSouth();
position.getGameObjects().add(this.type);
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void moveRight() {\n this.position.addColumn(1);\n }",
"public synchronized void moveDown(){\n if (!this.isAtBottom()){\n for (int j = 1; j < 25; j++){\n for (int i = 1; i < 13; i++){\n if (this.movable[i][j]){\n this.map... | [
"0.6291503",
"0.61202097",
"0.6107141",
"0.60748297",
"0.59823835",
"0.5971808",
"0.58881545",
"0.57934767",
"0.57793415",
"0.5693965",
"0.5637862",
"0.56038487",
"0.55827194",
"0.558069",
"0.5574306",
"0.5573342",
"0.55596405",
"0.55549455",
"0.55440176",
"0.55342185",
"0.55... | 0.0 | -1 |
Move this bug to the cell to its right. | public boolean moveRight() {
if (position.isLinked(position.getEast())) {
position.getGameObjects().remove(this.type);
position = position.getEast();
position.getGameObjects().add(this.type);
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void moveRight() {\n this.position.addColumn(1);\n }",
"public void moveRight()\n\t{\n\t\tcol++;\n\t}",
"public void moveRight() {\n if (rec.getUpperLeft().getX() + rec.getWidth() + 5 > rightBorder) {\n rec.getUpperLeft().setX(rightBorder - rec.getWidth());\n } else {\... | [
"0.7623036",
"0.72135437",
"0.71182734",
"0.7058453",
"0.7031986",
"0.6980251",
"0.6972927",
"0.69033897",
"0.69005185",
"0.6799685",
"0.67368376",
"0.6720953",
"0.6710528",
"0.65738225",
"0.6561781",
"0.65394753",
"0.65109825",
"0.65043205",
"0.6498129",
"0.63873494",
"0.635... | 0.0 | -1 |
Move this bug to the cell to its left. | public boolean moveLeft() {
if (position.isLinked(position.getWest())) {
position.getGameObjects().remove(this.type);
position = position.getWest();
position.getGameObjects().add(this.type);
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void moveLeft()\n\t{\n\t\tcol--;\n\t}",
"public void moveLeft() {\n if (rec.getUpperLeft().getX() - 5 < leftBorder) {\n rec.getUpperLeft().setX(leftBorder);\n } else {\n rec.getUpperLeft().setX(rec.getUpperLeft().getX() - 5);\n }\n\n }",
"public void moveLef... | [
"0.73081726",
"0.7111586",
"0.7005926",
"0.6898549",
"0.6888124",
"0.6852488",
"0.68508714",
"0.67012864",
"0.6629056",
"0.65953416",
"0.6580893",
"0.6534594",
"0.6533793",
"0.65328294",
"0.6529337",
"0.65079117",
"0.64895904",
"0.6470983",
"0.6451628",
"0.6407585",
"0.631779... | 0.55976784 | 92 |
InputStream stream = new FileInputStream("../demo/src/main/java/config/config.properties"); | public Properties getObjectRepository() throws IOException{
InputStream stream = new FileInputStream("../demo/src/main/resources/config.xlsx");
p.load(stream);
return p;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void getProp() throws Exception {\r\n\r\n\t\tFileInputStream fileInputStream = new FileInputStream(\r\n\t\t\t\t\"C:\\\\repos\\\\test\\\\src\\\\main\\\\java\\\\test\\\\config.properties\");\r\n\r\n\t\tProperties properties = new Properties();\r\n\t\tproperties.load(fileInputStream);\r\n\r\n\t\tSystem.out.pri... | [
"0.65259314",
"0.6413559",
"0.6384995",
"0.6339525",
"0.6323464",
"0.6207721",
"0.6174881",
"0.61725163",
"0.61665493",
"0.6112151",
"0.6053543",
"0.6024446",
"0.6007398",
"0.59827334",
"0.5974574",
"0.595437",
"0.59424216",
"0.59372485",
"0.59025484",
"0.5882502",
"0.587255"... | 0.5269239 | 98 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
cbox = new javax.s... | {
"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.73201853",
"0.7291607",
"0.7291607",
"0.7291607",
"0.7285772",
"0.7248832",
"0.721371",
"0.72083634",
"0.71965843",
"0.7190274",
"0.71847606",
"0.71592176",
"0.71481156",
"0.70935035",
"0.70799935",
"0.70570904",
"0.6987588",
"0.6977819",
"0.69557554",
"0.6953564",
"0.6945... | 0.0 | -1 |
End of variables declaration//GENEND:variables | private void ErreurImage()
{
JOptionPane.showMessageDialog(rootPane, "Cette image n'est plus disponible");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void assignment() {\n\n\t\t\t}",
"private void kk12() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n pu... | [
"0.6359434",
"0.6280371",
"0.61868024",
"0.6094568",
"0.60925734",
"0.6071678",
"0.6052686",
"0.60522056",
"0.6003249",
"0.59887564",
"0.59705925",
"0.59680873",
"0.5967989",
"0.5965816",
"0.5962006",
"0.5942372",
"0.5909877",
"0.5896588",
"0.5891321",
"0.5882983",
"0.5881482... | 0.0 | -1 |
deve andare alla sezione dove visualizza le richieste | @Override
public void goToEvent() {
startActivity(new Intent(AddGuests.this, DetailEventRequest.class)); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void afficherLru() {\n\t\tint nbrCols = listEtape.size();\n\t\tint nbrRows = 0;\n\t\tfor(ArrayList<Processus> list: listEtape) {\n\t\t\tif(list.size() > nbrRows) nbrRows = list.size(); \n\t\t}\n\t\t\n\t\taddColsRows(resultPane, nbrCols+1, nbrRows);\n\t\taddPanelForResult(resultPane);\n\t\n\n\t\tresultPane.s... | [
"0.67456496",
"0.67176634",
"0.6703976",
"0.6400435",
"0.63903403",
"0.63697493",
"0.63241494",
"0.6310434",
"0.62698454",
"0.62366146",
"0.613327",
"0.6112114",
"0.6097082",
"0.6095061",
"0.608117",
"0.6069498",
"0.6054777",
"0.6051018",
"0.6027221",
"0.6019989",
"0.59923565... | 0.0 | -1 |
Created by jowie on 19.12.2017. | public interface ContentReadyListener {
void contentReady(String content);
} | {
"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}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r... | [
"0.6110121",
"0.59859324",
"0.58550256",
"0.58430004",
"0.577231",
"0.577231",
"0.5700886",
"0.56993353",
"0.56941956",
"0.5686388",
"0.5681817",
"0.56581616",
"0.56500745",
"0.56454974",
"0.56347406",
"0.56184524",
"0.56084603",
"0.55920196",
"0.5585289",
"0.5585289",
"0.558... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public List<Goods> list(GoodsVO gv) {
return gd.list(gv);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public List<Type> selectType() {
return gd.selectType();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public List<Brand> selectBrand() {
return gd.selectBrand();
} | {
"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 add(Goods goods) {
gd.addGoods(goods);
gd.addGb(goods.getId(),goods.getBid());
gd.addGt(goods.getId(),goods.getTid());
} | {
"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 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public ScheduleExample() {
oredCriteria = new ArrayList<Criteria>();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public String getOrderByClause() {
return orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void setDistinct(boolean distinct) {
this.distinct = distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public boolean isDistinct() {
return distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public List<Criteria> getOredCriteria() {
return oredCriteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void or(Criteria criteria) {
oredCriteria.add(criteria);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void setStart(int start) {
this.start = start;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public int getStart() {
return start;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public void setLimit(int limit) {
this.limit = limit;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table schedule | public int getLimit() {
return limit;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generateSchedule(){\n\t\t\n\t}",
"@Dao\npublic interface schedule_Dao {\n\n @Query(\"SELECT * FROM Schedule where student_id = :studentId\")\n List<Schedule> getSchedulesStudent(String studentId);\n\n\n\n @Query(\"SELECT COUNT(pkey) FROM Schedule where student_id = :student_id\")\n int ge... | [
"0.6583093",
"0.62134594",
"0.614241",
"0.6096163",
"0.5869904",
"0.5847323",
"0.57736564",
"0.5749311",
"0.5730464",
"0.5692395",
"0.5691314",
"0.5688622",
"0.56733465",
"0.5612722",
"0.56103665",
"0.5601378",
"0.5594937",
"0.5592374",
"0.55869794",
"0.5565921",
"0.5544678",... | 0.0 | -1 |
ctx.setGlobalBlendMode(BlendMode.SRC_OVER); ctx.setFill(Color.BLACK); ctx.fillRect(0, 0, width, height); | private void draw() {
ctx.clearRect(0, 0, width, height);
for (ImageParticle p : particles) {
p.opacity = p.remainingLife / p.life * 0.5;
// Draw particle from image
ctx.save();
ctx.translate(p.x, p.y);
ctx.scale(p.size, p.size);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void draw() {\n background(0);\n}",
"@Override\n public void blend(boolean blend) {\n if(blend) {\n GL11.glEnable(GL11.GL_BLEND);\n } else {\n GL11.glDisable(GL11.GL_BLEND);\n }\n }",
"private void drawBackground() {\n\t\timgG2.setColor(Color.BLACK... | [
"0.6812493",
"0.63180286",
"0.6279813",
"0.61759675",
"0.61723655",
"0.61564845",
"0.61431897",
"0.610823",
"0.609285",
"0.6092661",
"0.6084718",
"0.6073342",
"0.6072947",
"0.606069",
"0.6052326",
"0.6052326",
"0.5954853",
"0.5910265",
"0.58951896",
"0.5891207",
"0.58793855",... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.create_activity);
// 把当前Activity加入到CloseApplication的Activitylist中
CloseApplication.getInstance().addActivity(this);
/*
* 获得系统时间及时区,时间的输出格式是12时制
*/
// SimpleDateFormat sd = new Sim... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public String getField(String key) {
return gp.getValue(key);
} | {
"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 |
FIXME the new post logic should be like below, But I got a file for deleting the new posted card after it was posted. | public void newPostTimeline(TimeLine timeline) {
List<TimeLine> timelines = loadTimelines(SystemProperty.ALL, currentUser);
timeLineSheet.refreshAll(timelines);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void postNewPost() {\n if (mIsReplyOnBulletin) {\n OperationManager operationManager = OperationManager.getInstance(NewPostActivity.this);\n operationManager.postNewReply(etNewPostMsg.getText().toString(),\n getIntent().getExtras().getLong(EXTRA_POST_ID), New... | [
"0.6731729",
"0.6381987",
"0.6091299",
"0.6058018",
"0.60184944",
"0.59692276",
"0.59400046",
"0.58768976",
"0.5866848",
"0.58325016",
"0.5826749",
"0.5808101",
"0.5755651",
"0.57330847",
"0.57314384",
"0.5686733",
"0.5617013",
"0.56160164",
"0.5585265",
"0.55829537",
"0.5558... | 0.0 | -1 |
Metodo que permite configurar los servicios y peticiones que se realicen durante la ejecucion de la aplicacion | @Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.antMatchers(resources).permitAll()
.antMatchers("/","/index", "/usuarioForm").permitAll()
.anyRequest().authenticated()
.and()
.formLogin()
.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setupServicesAndParameters(){\n\t\t//replace services in use, e.g.:\n\t\t/*\n\t\tMap<String, ArrayList<String>> systemInterviewServicesMap = new HashMap<>();\n\t\t\n\t\t//CONTROL DEVICES\n\t\tArrayList<String> controlDevice = new ArrayList<String>();\n\t\t\tcontrolDevice.add(MyDeviceControlServi... | [
"0.7456803",
"0.6501117",
"0.6466256",
"0.6443109",
"0.63076454",
"0.6250123",
"0.6245984",
"0.6217951",
"0.6168657",
"0.61645544",
"0.61319923",
"0.612641",
"0.60805416",
"0.60514075",
"0.6024679",
"0.6019522",
"0.59967935",
"0.59851223",
"0.5957202",
"0.59420234",
"0.590014... | 0.0 | -1 |
List instanceIds = data.stream().map(e > e.getInstanceId()).collect(Collectors.toList()); batchDeleteByInstanceIdw(instanceIds); | @Override
public void batchAdd(List<CmdbIpConfPoolEntity> data) {
confPoolMapper.batchAdd(data);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int batchDelete(List<Integer> ids);",
"public void deleteBatch(List<Integer> list) {\n\t\tEmployeeExample employeeExample=new EmployeeExample();\n\t\tCriteria createCriteria = employeeExample.createCriteria();\n\t\tcreateCriteria.andEmpIdIn(list);\n\t\temployeeMapper.deleteByExample(employeeExample);\n\t}",
"@... | [
"0.6830648",
"0.63208914",
"0.6190081",
"0.6033839",
"0.60065776",
"0.59801954",
"0.5921059",
"0.5850288",
"0.5842845",
"0.5842845",
"0.5842845",
"0.5799654",
"0.57843083",
"0.57810044",
"0.5761892",
"0.5753171",
"0.5753171",
"0.57466924",
"0.5709072",
"0.5697131",
"0.568546"... | 0.0 | -1 |
add a rule to the list first in list is highest match priority | public void addRule(String pattern, RemapRuleType remapType, String opStr) {
rules.add(new RemapRule(pattern, remapType, opStr));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"IRuleset add(IRuleset rule);",
"public void add_rule(Rule rule) throws Exception;",
"private PrismRule addRule(PrismRule lastRule, PrismRule newRule) {\n\n if (lastRule == null) {\n m_rules = newRule;\n } else {\n lastRule.m_next = newRule;\n }\n return newRule;\n }",
"protected void a... | [
"0.66835696",
"0.6642557",
"0.61881715",
"0.6083819",
"0.60583854",
"0.59726584",
"0.58924454",
"0.58575886",
"0.57902914",
"0.5723595",
"0.56877315",
"0.56877315",
"0.56877315",
"0.5657266",
"0.5528831",
"0.5514199",
"0.549826",
"0.54852176",
"0.5423312",
"0.5422436",
"0.541... | 0.51957047 | 36 |
return the first resulting name of a match | public String getNewName(String oldName) {
// return result of first matching rule
Iterator<RemapRule> iter = rules.iterator();
while (iter.hasNext()) {
String newName = iter.next().getNewName(oldName);
if (newName != null) return newName;
}
return oldName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Match getResultMatch();",
"public String getMatchName() {\r\n\t\treturn mMatchName;\r\n\t}",
"Match getCompleteMatch();",
"@Override\r\n\tpublic String getMatch() {\n\t\treturn match;\r\n\t}",
"public Match findMatchFromTeamName(String name1, String name2){\r\n Iterator<Match> itr = this.resultsTree... | [
"0.6655954",
"0.6358753",
"0.635299",
"0.62148815",
"0.6159864",
"0.5926294",
"0.5869741",
"0.58212006",
"0.58196294",
"0.580085",
"0.5778132",
"0.5741002",
"0.5707486",
"0.5689979",
"0.56846225",
"0.56846225",
"0.5684353",
"0.5678726",
"0.56260043",
"0.5621327",
"0.5610945",... | 0.52720326 | 55 |
return the resulting name of a match or null if no match | public String getNewName(String oldName) {
// test for a matching pattern
Pattern p = Pattern.compile(pattern);
Matcher m = p.matcher(oldName);
if (m.matches()) {
switch (remapType) {
case ADD_PREFIX: return opStr + oldName;
case ADD_SUFFIX: return oldName + opStr;
case REGEX_GROUPS:
St... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getMatchName() {\r\n\t\treturn mMatchName;\r\n\t}",
"Match getResultMatch();",
"public T getExactMatch(String arg)\n\t{\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic String getMatch() {\n\t\treturn match;\r\n\t}",
"public Match findMatchFromTeamName(String name1, String name2){\r\n I... | [
"0.64990324",
"0.6495769",
"0.6449565",
"0.6363122",
"0.63402575",
"0.6274079",
"0.597937",
"0.5957588",
"0.5875134",
"0.585493",
"0.5813191",
"0.57118523",
"0.56984705",
"0.5692181",
"0.5637013",
"0.56079155",
"0.5595266",
"0.5576943",
"0.5565619",
"0.55562216",
"0.55468667"... | 0.0 | -1 |
Construct the texture provider. | public ImageryLayerImageProvider(ImageryFileSource layerConfig, Toolbox toolbox)
{
myLayerName = layerConfig.getName();
myLayerKey = layerConfig.generateTypeKey();
myToolbox = toolbox;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setupTexture() {\n GLES20.glActiveTexture(GLES20.GL_TEXTURE0);\n GLES20.glGenTextures(1, textures, 0);\n checkGlError(\"Texture generate\");\n\n GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, textures[0]);\n checkGlError(\"Texture bind\");\n\n videoTe... | [
"0.669868",
"0.6669712",
"0.63451546",
"0.6331714",
"0.6283702",
"0.62354904",
"0.6191932",
"0.6135153",
"0.61101884",
"0.59808046",
"0.59661585",
"0.59290016",
"0.5904864",
"0.5853974",
"0.5847281",
"0.5834103",
"0.58190536",
"0.58133626",
"0.5806994",
"0.5801814",
"0.580160... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
int x[]= {2,9,5,6,0,3,10,1,8,4,7};
Outer outOb=new Outer(x);
outOb.analyze();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Creates a new rendering exception using the given inner exception. | public RenderingException(Throwable cause) {
super(cause);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RenderingException(String message, Throwable cause) {\r\n\t\tsuper(message, cause);\r\n\t}",
"public VelocityEmailException(Throwable nested)\n {\n super(nested);\n }",
"public WebAppException(Throwable nestedException) {\r\n\t\tthis.nestedException_ = nestedException;\r\n\t\tstackTraceStri... | [
"0.600562",
"0.58835644",
"0.5847016",
"0.554384",
"0.55384344",
"0.547117",
"0.54611665",
"0.54533356",
"0.5447499",
"0.5410416",
"0.5397718",
"0.53938013",
"0.5386425",
"0.53736097",
"0.53653836",
"0.52727723",
"0.52700114",
"0.52700114",
"0.5207035",
"0.51633716",
"0.51630... | 0.62869114 | 0 |
Creates a new rendering exception using the given message and inner exception. | public RenderingException(String message, Throwable cause) {
super(message, cause);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public WebAppException(String message, Throwable nestedException) {\r\n\t\tthis(message);\r\n\t\tthis.nestedException_ = nestedException;\r\n\t\tstackTraceString_ = generateStackTraceString(nestedException);\r\n\t\textractProperties(nestedException);\r\n\t}",
"public VelocityEmailException(String msg, Throwable ... | [
"0.6046221",
"0.6000505",
"0.5996571",
"0.58758897",
"0.5875054",
"0.58649105",
"0.58262604",
"0.57365334",
"0.5716537",
"0.5685789",
"0.5667463",
"0.56170213",
"0.5578562",
"0.5555941",
"0.55518293",
"0.5537121",
"0.55066806",
"0.54830545",
"0.5478568",
"0.54542",
"0.5444579... | 0.6433938 | 0 |
Just a pointCut function | @Pointcut("execution(public * com.ac.reserve..*.*Controller.*(..))")
public void apiLog() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private PointCut removePointCut(PointCut p, Integer arg) {\n\t\tif (p.getType().equals(this.targetType)) {\n\t\t\tif (arg == 0) {\n\t\t\t\treturn null;\n\t\t\t} else {\n\t\t\t\tList<PointCut> pointcuts = new ArrayList<PointCut>();\n\t\t\t\treturn new CombinedPointCut(p.getBeginLine(), p.getBeginColumn(), \"&&\", p... | [
"0.6203896",
"0.6090989",
"0.6090989",
"0.5903186",
"0.5799276",
"0.5760676",
"0.5730057",
"0.56407744",
"0.5609783",
"0.5599703",
"0.5589489",
"0.55879426",
"0.55701566",
"0.5565782",
"0.55329794",
"0.5530429",
"0.5523107",
"0.5493173",
"0.54413843",
"0.5431069",
"0.5409514"... | 0.0 | -1 |
Created by Developer on 23/09/2017. | public interface ItemClickListener {
void onClick(View view, int position);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"public final void mo51373a() {\n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Overri... | [
"0.59495085",
"0.5913399",
"0.57759947",
"0.5726271",
"0.5723835",
"0.57166475",
"0.5711555",
"0.56781775",
"0.56781775",
"0.5661091",
"0.56250846",
"0.56183946",
"0.5548902",
"0.5537708",
"0.5533248",
"0.5532072",
"0.5524548",
"0.5504782",
"0.550323",
"0.548687",
"0.54357517... | 0.0 | -1 |
Destroys the currently running tcc process. | void destroy(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void destroy()\n {\n processDestroy();\n super.destroy();\n }",
"void destroy() {\n \t\ttry {\r\n \t\t\tupKeep.stopRunning();\r\n \t\t} catch (InterruptedException e) {\r\n \t\t}\r\n \r\n \t\t// Kill all running processes.\r\n \t\tfor (MaximaProcess mp : pool) {\r\n \t\t\tmp.kill();\r\n \t\t... | [
"0.696026",
"0.672567",
"0.6639871",
"0.66087735",
"0.6600069",
"0.65999675",
"0.6576347",
"0.653768",
"0.6498932",
"0.6456317",
"0.64504874",
"0.63844407",
"0.6351569",
"0.6350335",
"0.63031954",
"0.63031954",
"0.6292796",
"0.6290164",
"0.62851775",
"0.628027",
"0.62469554",... | 0.0 | -1 |
Returns the process of the current tcc execution. | Process getProcess(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public native int getProcess();",
"public final Process getProcess() {\n return process;\n }",
"public static Process getProcess() {\r\n return (m_Proc);\r\n }",
"public Process getProcess() {\n \t\treturn process;\n \t}",
"public Process getProcess()\n {\n return proc;\n }",
"pub... | [
"0.7247095",
"0.7078351",
"0.70762336",
"0.6992589",
"0.698236",
"0.69693106",
"0.6919891",
"0.6669957",
"0.6644295",
"0.6609575",
"0.65968096",
"0.6569765",
"0.6566179",
"0.6543441",
"0.65046483",
"0.64670676",
"0.64189196",
"0.634392",
"0.6321142",
"0.62396723",
"0.61924607... | 0.7428876 | 0 |
Returns the working directory | File getWorkingDirectory(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String workingDirectory() {\n\t\treturn workingDir.getAbsolutePath();\n\t}",
"public File getWorkingDir() {\n return workingDir;\n }",
"public File getWorkingDir() {\n return workingDir;\n }",
"public File getWorkingDirectory()\r\n\t{\r\n\t\treturn workingDirectory;\r\n\t}",
"pub... | [
"0.8812109",
"0.8392914",
"0.8392914",
"0.8309117",
"0.81504816",
"0.81346446",
"0.80978876",
"0.809715",
"0.79328805",
"0.7926475",
"0.7915196",
"0.7910813",
"0.7905919",
"0.784693",
"0.7837941",
"0.77072656",
"0.7610649",
"0.75165457",
"0.74965644",
"0.7493185",
"0.74458426... | 0.7745531 | 15 |
Prints the tcc output to the specified print streams. | ProcessRunner print(PrintStream out, PrintStream err); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract void printToStream(PrintStream stream);",
"public void tulosta(OutputStream os) {\n tulosta(new PrintStream(os));\n }",
"public void printToStdout() {\n\t\tfor (int i = 0; i < results.size(); i++) {\n\t\t\tSystem.out.println(results.get(i).toString());\n\t\t}\n\t}",
"@Before\n\tpubl... | [
"0.62260765",
"0.6220905",
"0.5970825",
"0.59104276",
"0.5802678",
"0.5768841",
"0.5742413",
"0.5674617",
"0.56349254",
"0.5632762",
"0.5610416",
"0.5592988",
"0.55929804",
"0.55781084",
"0.5557973",
"0.55434805",
"0.55419016",
"0.552376",
"0.55187887",
"0.5505922",
"0.550302... | 0.0 | -1 |
Prints the tcc output to the standard output. | ProcessRunner print(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PrintStreamCommandOutput()\n {\n this( System.out );\n }",
"public static void print() {\r\n System.out.println();\r\n }",
"public void println()\n\t{\n\t\tSystem.out.println();\n\t}",
"private static void displayOutput( float t ) {\n\t\tfor (Output o: outputList) {\n\t\t\to.out... | [
"0.6468296",
"0.63201386",
"0.62990266",
"0.62720436",
"0.61381656",
"0.61350787",
"0.61332",
"0.6066832",
"0.6058606",
"0.6025683",
"0.6017962",
"0.6008956",
"0.6001926",
"0.59976953",
"0.5973072",
"0.5964083",
"0.5937079",
"0.5922633",
"0.59100205",
"0.5903293",
"0.5899978"... | 0.54559577 | 97 |
/ TODO 19.02.2018 add support for external headers and libraries CInterpreter addIncludeFolder(File folder); CInterpreter addLibraryFolder(File folder); CInterpreter addLibrary(String libName); Waits until the tcc process terminates. | ProcessRunner waitFor(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void startLibrary();",
"private static native int ptInitLibrary0(String lang);",
"HRESULT LoadTypeLib(String szFile, PointerByReference pptlib);",
"public Object run() {\n \n try {\n try {\n \n String targetArch=JNITargetArch.getTargetArch();\n /... | [
"0.54908127",
"0.5051967",
"0.49335635",
"0.4851688",
"0.477531",
"0.47342584",
"0.4702805",
"0.469301",
"0.46750516",
"0.465493",
"0.46302003",
"0.4590276",
"0.45521122",
"0.4550132",
"0.45280403",
"0.4520412",
"0.4516293",
"0.45129067",
"0.44865137",
"0.44656768",
"0.444721... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.