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 |
|---|---|---|---|---|---|---|
The doGet method of the servlet. This method is called when a form has its tag value method equals to get. | public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
String para,val;
List<String> ls=new ArrayList<String>();
List<FileItem> list;
String book_name = "",author_name="",ISBN="",genre="",pid="",price="",page... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tSystem.out.println(\"get\");\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOEx... | [
"0.7431789",
"0.7351055",
"0.7253812",
"0.7251127",
"0.7242823",
"0.7240639",
"0.7206084",
"0.7206084",
"0.72046196",
"0.7200079",
"0.71998185",
"0.71821666",
"0.71724033",
"0.71697336",
"0.7158166",
"0.71544284",
"0.7151455",
"0.71504116",
"0.713911",
"0.71378016",
"0.713780... | 0.0 | -1 |
The doPost method of the servlet. This method is called when a form has its tag value method equals to post. | public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n }",
"protected void doPost(HttpServletRequest request, H... | [
"0.7658706",
"0.7603883",
"0.7525566",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.74704945",
"0.7469401",
"0.74294287",
"0.741362",
"0.74038875",
"0.7387313",
"0.73722315",
"0.... | 0.0 | -1 |
int i = 0; | @Test
public void testThread() {
Thread thread1 = new Thread(() -> {
//i++;
for (int j = 0; j < 2000000; j++) {
(this.i)++;
}
});
Thread thread2 = new Thread(() -> {
//System.out.println("i = " + i);
for (int j = 0... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int i() {\n \treturn i; \n }",
"void mo88773a(int i);",
"private final int initializeInt() {\n\t\treturn 0;\r\n\t}",
"void m15858a(int i);",
"void mo37668e(int i);",
"void mo66998a(int i);",
"public int geti(){\r\n return i;\r\n}",
"void mo1747a(int i);",
"void mo54406a(int i);",... | [
"0.7340133",
"0.671264",
"0.6699176",
"0.65986115",
"0.6590442",
"0.65107054",
"0.6486693",
"0.6480871",
"0.64143187",
"0.63957494",
"0.63825953",
"0.6369617",
"0.63657945",
"0.63572437",
"0.6351441",
"0.6326865",
"0.6310568",
"0.6300307",
"0.62836283",
"0.6274899",
"0.627395... | 0.0 | -1 |
/ Gestion des orifices commerciaux | public void GestionOrificeCommercial(TapsVector tvector, OrificesVector ovector, double[] CstValue) {
// Step 1 : Add artificial Orifices
double dmin = 0.000001;
double dmax = 1;
ovector.addDiameters(dmin);
ovector.addDiameters(dmax);
// Sort orifice liste
Collections.sort(ovector, new Orifices(0));
f... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void Ordenamiento() {\n\n\t}",
"public void recibeOrden() {\r\n\t\tSystem.out.println(\"Ordene mi General\");\r\n\t}",
"public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}",
"private void ordenarItems(Criterio criOrd) {\r\n // Ordenación > Desactivación Filtro\r\n desactivarFi... | [
"0.6560365",
"0.65520257",
"0.62969065",
"0.6271633",
"0.6258041",
"0.6220865",
"0.6200044",
"0.6189933",
"0.6182421",
"0.61463505",
"0.6117417",
"0.61033124",
"0.609762",
"0.6090507",
"0.6084248",
"0.60781074",
"0.60689914",
"0.6067933",
"0.60604537",
"0.6051402",
"0.6045177... | 0.0 | -1 |
/ Gestion des orifices parfait | public void GestionOrificeParfait(double[] x, NodesVector nvector, PipesVector pvector, DiametersVector dvector,
OrificesVector ovector, double[] LoadFactor, double[] Cste1, double outflow, TapsVector tvector,
double[] CstValue) {
double d = 0;
Taps taps;
for (int i = NbNodes - NbTaps - 1; i < (NbNodes - 1... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void Ordenamiento() {\n\n\t}",
"public void recibeOrden() {\r\n\t\tSystem.out.println(\"Ordene mi General\");\r\n\t}",
"public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}",
"public void inOrden(){\n\t\tPlanta planta= Singleton.GetPlanta();\n\t Arbol <T> aux=null;\n\t if (!vacio()) {\... | [
"0.69682604",
"0.6440004",
"0.6361715",
"0.63061273",
"0.6279832",
"0.60926485",
"0.60688704",
"0.5995961",
"0.5926036",
"0.59190404",
"0.58934987",
"0.58746445",
"0.5857962",
"0.58359426",
"0.579327",
"0.5790406",
"0.5763325",
"0.5745814",
"0.57387125",
"0.57266176",
"0.5717... | 0.0 | -1 |
/ Resolution du probleme Design | public void Resolution(double[] x, NodesVector nvector, PipesVector pvector, DiametersVector dvector,
TapsVector tvector, double outflow, double PrixMax, double[] ACoeff, int[] AIRow, int[] AIColumn,
int[] AIColumn2, int L, double[] c, boundkey[] bkx, double[] blx, double[] bux, double lcom) {
/* constraints... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic String getProblem() {\n\t\treturn \"Le circuit est vide\";\n\t}",
"@Override\n protected void adicionarLetrasErradas() {\n }",
"@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne ... | [
"0.6424587",
"0.6324634",
"0.5813339",
"0.5795879",
"0.56997585",
"0.5686779",
"0.5611942",
"0.55991304",
"0.5591058",
"0.5544987",
"0.5540439",
"0.5488503",
"0.5478034",
"0.5467211",
"0.5451794",
"0.54488385",
"0.5425111",
"0.5422397",
"0.5375943",
"0.53633434",
"0.53422654"... | 0.0 | -1 |
/ definition de la matrice A sous forme creuse | public void MatriceA(double[] ACoeff, /* Tableau des coeff */
int[] AIRow, /* Tableau d'indice de ligne */
int[] AIColumn, int[] AIColumn2, PipesVector pvector, NodesVector nvector, DiametersVector dvector,
double[] LoadFactor, int L, int n1) {
Pipes pipes;
Nodes nodes;
Diameters diam = null;
int IPath... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void matrizAdjunta (){\n float tablaA[][]= getMatriz();\n setMatrizAdjunta(new float[3][3]);\n getMatrizAdjunta()[0][0]=(tablaA[1][1]*tablaA[2][2]) - (tablaA[1][2]*tablaA[2][1]);\n getMatrizAdjunta()[0][1]=-((tablaA[0][1]*tablaA[2][2]) - (tablaA[0][2]*tablaA[2][1]));\n get... | [
"0.63533854",
"0.6267832",
"0.6131492",
"0.6008555",
"0.59880537",
"0.59506863",
"0.594724",
"0.59152573",
"0.5897269",
"0.57503194",
"0.57395935",
"0.5728706",
"0.5725277",
"0.5693922",
"0.565593",
"0.56495607",
"0.5615343",
"0.56009066",
"0.55796236",
"0.55480164",
"0.55273... | 0.54680777 | 32 |
/ renvoie le nombre d'uunts non nul dans la matrice A | public int LengthTab(NodesVector nvector) {
int L = 0;
Nodes nodes;
for (int i = 1; i < nvector.size(); i++) {
nodes = (Nodes) nvector.elementAt(i);
L = (L + nodes.path.size()) - 1;
}
return (((L + NbPipes) * NbDiam) + NbNodes) - 1 + (NbDiam * NbPipes);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void inicialAleatorio() {\n //aqui adiciona naquele vetor que de auxilio\n alocacao.add(Estados.ELETRICISTAS);\n alocacao.add(Estados.ELETRICISTAS2);\n alocacao.add(Estados.QUALIDADE);\n alocacao.add(Estados.QUALIDADE2);\n alocacao.add(Estados.FABRICACAO_ESTRUTURAL)... | [
"0.5926546",
"0.59098977",
"0.5632948",
"0.5599293",
"0.55668515",
"0.5543492",
"0.5525888",
"0.5502684",
"0.5452053",
"0.5398104",
"0.5378612",
"0.53243834",
"0.5321407",
"0.5291718",
"0.52834195",
"0.52651143",
"0.5257089",
"0.52543676",
"0.524745",
"0.52381474",
"0.5236633... | 0.0 | -1 |
/ Initialise les valeurs constantes et le type des contraintes | public void InitializeConstraints(boundkey[] bkc, double[] blc, NodesVector nvector, PipesVector pvector,
TapsVector tvector, double outflow, double PrixMax, double lcom) {
Nodes nodes;
Pipes pipes;
Taps taps;
/* Contraintes sur les Nodes - taps */
for (int i = 0; i < (NbNodes - NbTaps - 1); i++) {
nod... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void InitValuables() {\n\t\tsuper.InitValuables();\n\t\t\n\t}",
"protected void InitValuables() {\n\t\tsuper.InitValuables();\n\t\t\n\t\tCursurIndex = 1;\n\t\t\n\t}",
"protected void init()\n {\n m_fModified = false;\n m_fLoaded = false;\n m_abClazz = null;... | [
"0.6665934",
"0.62649053",
"0.61604697",
"0.6145301",
"0.6135188",
"0.6107844",
"0.60878485",
"0.60874295",
"0.6035128",
"0.59897417",
"0.59717125",
"0.59051466",
"0.5870141",
"0.5845582",
"0.581483",
"0.57891655",
"0.5788149",
"0.5775819",
"0.5775819",
"0.57607436",
"0.57523... | 0.0 | -1 |
/ Initialise les bornes inferieures et superieures des variables | public void InitializeVariable(double[] x, PipesVector pvector, boundkey[] bkx, double[] blx, double[] bux,
DiametersVector dvector, NodesVector nvector, double outflow) {
Pipes pipes;
Diameters diam;
Nodes nodes;
/* les variables de longeurs */
for (int i = 0; i < NbPipes; i++) {
pipes = (Pipes) pvect... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"public static void initialisations() {\n\t\tit = 0;\r\n\t\tbc = 1;\r\n\r\n\t\t// pile des reprises pour compilation des branchements en avant\r\n\t\tpileRep = new TPileRep(); \r\n\t\t// programme objet = code Mapile de l'unite en cours de compilation\r... | [
"0.7449146",
"0.7000395",
"0.6939784",
"0.65269536",
"0.6458471",
"0.64263815",
"0.6416309",
"0.6363981",
"0.63398415",
"0.6298365",
"0.6187557",
"0.617845",
"0.6166163",
"0.61655664",
"0.6109207",
"0.6101122",
"0.60954094",
"0.6083722",
"0.607245",
"0.6059096",
"0.6036891",
... | 0.0 | -1 |
/ Calcul des valeurs des contraintes avec les l1 et l2 | public double[] CstValue2(double[] x, int n1, int m1, NodesVector nvector, PipesVector pvector,
DiametersVector dvector, TapsVector tvector, double[] LoadFactor, double outflow) {
double[] Cst = new double[m1];
Nodes nodes;
Pipes pipes;
String n_end;
/* Les noeuds sans les robinets */
for (int i = 1; i ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean constraintChecker(Norm norm1, Norm norm2) {\n\t\tif (norm1.getActivationConstraint() == null || norm1.getDeactivationConstraint() == null ||\n\t\t\tnorm2.getActivationConstraint() == null || norm2.getDeactivationConstraint() == null) {\n\t\t\t\n\t\t\tnorm1.setActivationConstraint(null);\n\t\t\tnorm... | [
"0.5986338",
"0.52943337",
"0.5254881",
"0.5152505",
"0.5150076",
"0.51391995",
"0.5132344",
"0.5120854",
"0.511386",
"0.5105931",
"0.5104986",
"0.5064697",
"0.49602443",
"0.4955275",
"0.49502727",
"0.49263802",
"0.49255717",
"0.48963237",
"0.48670042",
"0.48561335",
"0.48406... | 0.0 | -1 |
/ Calcul le coeff de la variable d'ecart dans la fonction objectif | public double CoeffM(PipesVector pvector, DiametersVector dvector) {
double Coeff = 0;
Pipes pipes;
Diameters diam = (Diameters) dvector.lastElement();
for (int i = 0; i < pvector.size(); i++) {
pipes = (Pipes) pvector.elementAt(i);
Coeff = Coeff + pipes.length;
}
return Coeff * diam.cost;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double[] coeff();",
"public double getCoeff() {\n\t\t\t\treturn coeff;\n\t\t\t}",
"public double getCoefficient();",
"double objetosc() {\n return dlugosc * wysokosc * szerokosc; //zwraca obliczenie poza metode\r\n }",
"@Override\r\n public double obtenerVolumen() {\n return Math.... | [
"0.72190845",
"0.71552396",
"0.7067061",
"0.6946377",
"0.67195827",
"0.6431322",
"0.6403854",
"0.6390001",
"0.63725746",
"0.62728995",
"0.62619936",
"0.62513256",
"0.62513256",
"0.6234234",
"0.6206213",
"0.61886716",
"0.61311215",
"0.6127826",
"0.607924",
"0.60781354",
"0.607... | 0.0 | -1 |
Obtiene un String con los argumentos de la linea de comandos y los suma | public static double sumaD(String[] args){
double suma = 0;
for(String num : args){
suma += Double.parseDouble(num);//< Cada argumento en la linea de comandos se convierte a tipo double
}
return suma;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String CombineCommand(String paramString1,String paramString2,String paramString3,String paramString4,String paramString5,String paramString6){\n String str1 = intToHex(Integer.valueOf((4+(2+(paramString1.length()+paramString2.length()+paramString3.length()+paramString4.length()))+paramString5... | [
"0.6127203",
"0.5998808",
"0.5822689",
"0.5584495",
"0.5550392",
"0.55105275",
"0.5483549",
"0.5473563",
"0.5463863",
"0.54634196",
"0.54467237",
"0.5432855",
"0.5414422",
"0.5412366",
"0.54082304",
"0.54049563",
"0.5389969",
"0.5356633",
"0.53558123",
"0.5349887",
"0.5348596... | 0.6024077 | 1 |
Univocity parser is a library for csv data parsing | static CsvParser getCsvParser(){
CsvParserSettings settings = new CsvParserSettings();
settings.getFormat().setLineSeparator("\n");
return new CsvParser(settings);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void parseCSV(String csv) {\n\t\t\n\t}",
"@Override\n\tpublic void executeParser() {\n\t\tString filepath = (!filePath.isEmpty() && !filePath.equals(null)) ? filePath : \"faculty.csv\";\n\n\t\tList<String> linesFromFile = loadLinesFromFile(filepath);\n\t\t// Convert the list to an Array of St... | [
"0.7047617",
"0.617328",
"0.5753881",
"0.57187545",
"0.57110035",
"0.56873846",
"0.56834143",
"0.56817335",
"0.5643453",
"0.5593038",
"0.55804235",
"0.55758303",
"0.5567217",
"0.5550853",
"0.55388963",
"0.5538578",
"0.5535181",
"0.55127215",
"0.55078304",
"0.54888064",
"0.543... | 0.50965476 | 59 |
Bind screen buffer to an offscreen frame buffer, to enable render to texture. | public void bind() {GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, mFrameBufferHandle[0]);} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unbind() {GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);}",
"public GlBuffer bind(){\n\t\t//Log.d(TAG,\"bind()\");\n if(mVaoHandle != UNBIND_HANDLE){\n GLES30.glBindVertexArray(mVaoHandle);\n }\n GLES20.glBindBuffer(this.target, this.handle);\n\t\treturn this;\n\t... | [
"0.65322685",
"0.63225365",
"0.6277837",
"0.6178773",
"0.6124973",
"0.57971317",
"0.5754566",
"0.57525015",
"0.5751427",
"0.57467455",
"0.5658867",
"0.56455916",
"0.5625273",
"0.5600158",
"0.55987126",
"0.5593262",
"0.5546031",
"0.554224",
"0.55196124",
"0.55033785",
"0.55032... | 0.7860769 | 0 |
Unbind screen buffer from offscreen frame buffer, to enable render to screen. | public void unbind() {GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public GlBuffer unbind(){\n\t\t//Log.d(TAG,\"unbind()\");\n\t\tGLES20.glBindBuffer(this.target, this.UNBIND_HANDLE);\n\t\tif(mVaoHandle != UNBIND_HANDLE){\n GLES30.glBindVertexArray(UNBIND_HANDLE);\n }\n\t\treturn this;\n\t}",
"public void unbind()\n {\n glBindTexture(GL_TEXTURE_2D, 0... | [
"0.70697606",
"0.6747742",
"0.6735298",
"0.6718293",
"0.64997923",
"0.6432385",
"0.6367658",
"0.62524426",
"0.6227672",
"0.6227672",
"0.62226176",
"0.621585",
"0.6162159",
"0.61184776",
"0.6098199",
"0.6094565",
"0.6080173",
"0.60358006",
"0.60259867",
"0.6012652",
"0.5954357... | 0.79553664 | 0 |
Created by ujjwal on 9/9/17. | public interface ShopChangeLocationCallback {
void onSuccess(ShopChangeLocationData shopChangeLocationData);
void onFailure(String error);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private stendhal() {\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.6148607",
"0.60353714",
"0.6009001",
"0.59182024",
"0.5890469",
"0.5890469",
"0.5860216",
"0.5842361",
"0.58336604",
"0.58303225",
"0.58233297",
"0.5813042",
"0.5803818",
"0.5789241",
"0.5772886",
"0.57660913",
"0.57569134",
"0.57527685",
"0.5751767",
"0.574917",
"0.574917... | 0.0 | -1 |
/ 16: / 17: | public Date getFromDate()
/* 18: */ {
/* 19:27 */ return this.fromDate;
/* 20: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int method_2436() {\r\n return 16;\r\n }",
"@Override\n\tpublic void challenge16() {\n\n\t}",
"@Override\n\tpublic void challenge17() {\n\n\t}",
"public void mo21783H() {\n }",
"void mo1506m();",
"void mo1507n();",
"abstract String mo1748c();",
"public int mo36g() {\n return 4... | [
"0.6010123",
"0.54958713",
"0.54333407",
"0.5318605",
"0.52705675",
"0.52618265",
"0.5255383",
"0.52539575",
"0.5238814",
"0.51768786",
"0.5176542",
"0.5168479",
"0.51142555",
"0.5100694",
"0.5091688",
"0.5089837",
"0.50867546",
"0.5079878",
"0.50720996",
"0.5071261",
"0.5069... | 0.0 | -1 |
/ 21: / 22: | public void setFromDate(Date fromDate)
/* 23: */ {
/* 24:31 */ this.fromDate = fromDate;
/* 25: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n System.out.println(time);\n\n }",
"@Test public void Time_len_6()\t\t\t\t\t\t\t\t\t{tst_time_(\"041526\"\t\t\t\t\t, \"04:15:26.000\");}",
"public int method_2436() {\r\n return 16;\r\n }",
"Strin... | [
"0.534623",
"0.52499974",
"0.5203156",
"0.5195486",
"0.51819974",
"0.5118246",
"0.5110165",
"0.5085032",
"0.5028799",
"0.49937344",
"0.4984221",
"0.49815378",
"0.49563402",
"0.49429893",
"0.4916874",
"0.4913282",
"0.49071732",
"0.4888068",
"0.4874233",
"0.48535246",
"0.483411... | 0.0 | -1 |
/ 26: / 27: | public Date getToDate()
/* 28: */ {
/* 29:35 */ return this.toDate;
/* 30: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected long advanceH(final long k) {\n return 5 * k - 2;\n }",
"public interface KeyCode {\n\n // Alphabet keys:\n int A_UPPER_CASE = 65;\n int B_UPPER_CASE = 66;\n int C_UPPER_CASE = 67;\n int D_UPPER_CASE = 68;\n int E_UPPER_CASE = 69;\n int F_UPPER_CASE = 70;\n int ... | [
"0.5919065",
"0.58293915",
"0.5783761",
"0.57222",
"0.5684215",
"0.5666696",
"0.5648324",
"0.55976385",
"0.5596936",
"0.5587685",
"0.5554415",
"0.55315316",
"0.5515268",
"0.5513173",
"0.55085003",
"0.5501894",
"0.5493817",
"0.549027",
"0.5487756",
"0.5482723",
"0.5475901",
... | 0.0 | -1 |
/ 31: / 32: | public void setToDate(Date toDate)
/* 33: */ {
/* 34:39 */ this.toDate = toDate;
/* 35: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static int m31084a(zzss zzss) {\n int a = zzss.mo32193a(5);\n if (a == 31) {\n return zzss.mo32193a(6) + 32;\n }\n return a;\n }",
"long mo25071a(long j);",
"private static int m24353e(int i) {\n return i - (i >> 2);\n }",
"int pacemodulator() {\n ... | [
"0.62963396",
"0.59440124",
"0.57739705",
"0.57141614",
"0.5701559",
"0.5699544",
"0.5646099",
"0.5642437",
"0.5629925",
"0.56253356",
"0.5610839",
"0.5563996",
"0.5522939",
"0.548909",
"0.54865575",
"0.5462985",
"0.5444711",
"0.5444689",
"0.54403347",
"0.5427563",
"0.5415013... | 0.0 | -1 |
/ 36: / 37: | public String getEmployee()
/* 38: */ {
/* 39:43 */ return this.employee;
/* 40: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int mo36g() {\n return 8;\n }",
"public int mo36g() {\n return 4;\n }",
"public int mo36g() {\n return 2;\n }",
"public int method_2436() {\r\n return 16;\r\n }",
"void mo33731Pw();",
"private int hash2(T key) { //first two char length\r\n\r\n if(key.toS... | [
"0.65359914",
"0.64565927",
"0.62169176",
"0.57769096",
"0.56730235",
"0.55864763",
"0.5585528",
"0.5524674",
"0.5500363",
"0.5496521",
"0.5462278",
"0.5460473",
"0.5426655",
"0.5426231",
"0.54231566",
"0.5414338",
"0.5387402",
"0.5383913",
"0.53662795",
"0.5365847",
"0.53589... | 0.0 | -1 |
/ 41: / 42: | public void setEmployee(String employee)
/* 43: */ {
/* 44:47 */ this.employee = employee;
/* 45: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int p_()\r\n/* 96: */ {\r\n/* 97:117 */ return 64;\r\n/* 98: */ }",
"@Test(timeout = 4000)\n public void test108() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.minus();\n assertEquals(\":\", token0.getT... | [
"0.5341317",
"0.52096474",
"0.5205457",
"0.5161731",
"0.51383066",
"0.5012722",
"0.4937671",
"0.49333248",
"0.48979363",
"0.48871312",
"0.48799226",
"0.48746786",
"0.48724476",
"0.48663735",
"0.48439127",
"0.48427773",
"0.48387632",
"0.48075563",
"0.48029733",
"0.48008916",
"... | 0.0 | -1 |
/ 46: / 47: | public Integer getPresentDays()
/* 48: */ {
/* 49:51 */ return this.presentDays;
/* 50: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void method_4270() {}",
"public void mo3749d() {\n }",
"private void m50366E() {\n }",
"private void m50367F() {\n }",
"public void mo6944a() {\n }",
"public void mo21792Q() {\n }",
"public void mo21779D() {\n }",
"public void mo56167c() {\n }",
"public void mo44053a() {... | [
"0.62225187",
"0.6196798",
"0.6182217",
"0.60921586",
"0.60875773",
"0.5987154",
"0.59844154",
"0.595278",
"0.5903989",
"0.58754444",
"0.58401626",
"0.58318335",
"0.5829085",
"0.5819841",
"0.5814654",
"0.58055794",
"0.58030266",
"0.57910573",
"0.577479",
"0.5747162",
"0.57458... | 0.0 | -1 |
/ 51: / 52: | public void setPresentDays(Integer presentDays)
/* 53: */ {
/* 54:55 */ this.presentDays = presentDays;
/* 55: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo21783H() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n ... | [
"0.6011063",
"0.592115",
"0.592115",
"0.592115",
"0.592115",
"0.592115",
"0.592115",
"0.592115",
"0.59008324",
"0.5899904",
"0.5895328",
"0.5884135",
"0.5877814",
"0.58709264",
"0.58522165",
"0.5848674",
"0.58455974",
"0.5836744",
"0.5829192",
"0.5826001",
"0.58181417",
"0.... | 0.0 | -1 |
/ 56: / 57: | public Integer getAbsentDays()
/* 58: */ {
/* 59:59 */ return this.absentDays;
/* 60: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void m81856t() {\n try {\n String c = m81844c(C6969H.m41409d(\"G738BEA0DBA32BD20E319AF5CEBF5C6\"));\n if (!TextUtils.isEmpty(c)) {\n this.f58084p = Integer.parseInt(c);\n }\n } catch (Exception e) {\n WebUtil.m68654a(C6969H.m41409d(\"... | [
"0.61619836",
"0.61381924",
"0.5925535",
"0.59093827",
"0.5889382",
"0.58681315",
"0.58660483",
"0.5840844",
"0.5797282",
"0.5782404",
"0.5723484",
"0.571404",
"0.57015324",
"0.56341034",
"0.56239974",
"0.56151545",
"0.5564989",
"0.55623686",
"0.55430996",
"0.55348754",
"0.55... | 0.0 | -1 |
/ 61: / 62: | public void setAbsentDays(Integer absentDays)
/* 63: */ {
/* 64:63 */ this.absentDays = absentDays;
/* 65: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo33731Pw();",
"private static char[] m619z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 20);\n }\n return toCharArray;\n }",
"public int mo36g() {\n return 8;\n }",
... | [
"0.5801043",
"0.5759407",
"0.56598",
"0.5584209",
"0.55577767",
"0.554453",
"0.5527439",
"0.5525754",
"0.54991597",
"0.54979694",
"0.5477865",
"0.5476648",
"0.5460501",
"0.54396975",
"0.5387762",
"0.5378683",
"0.537648",
"0.5365215",
"0.5361451",
"0.5359626",
"0.53591585",
... | 0.0 | -1 |
/ 66: / 67: | public Integer getTotalDays()
/* 68: */ {
/* 69:67 */ return this.totalDays;
/* 70: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int p_()\r\n/* 96: */ {\r\n/* 97:117 */ return 64;\r\n/* 98: */ }",
"private int e(String paramString, int paramInt)\r\n/* 628: */ {\r\n/* 629:624 */ int i1 = paramString.length();\r\n/* 630:625 */ int i2 = 0;\r\n/* 631:626 */ int i3 = 0;\r\n/* 632:627 */ int i4 = -1;... | [
"0.54522383",
"0.54069614",
"0.52382696",
"0.52263093",
"0.51856625",
"0.51632285",
"0.512805",
"0.51137567",
"0.50969964",
"0.5095524",
"0.50912374",
"0.50845927",
"0.5072171",
"0.5068586",
"0.5064603",
"0.5050348",
"0.5044404",
"0.503492",
"0.5027616",
"0.50273556",
"0.5019... | 0.0 | -1 |
/ 71: / 72: | public void setTotalDays(Integer totalDays)
/* 73: */ {
/* 74:71 */ this.totalDays = totalDays;
/* 75: */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo21783H() {\n }",
"public int mo36g() {\n return 8;\n }",
"long getUnknown72();",
"private void m50366E() {\n }",
"void mo33732Px();",
"public void mo21782G() {\n }",
"public void mo9233aH() {\n }",
"public void mo21794S() {\n }",
"private void m50367F() {\n ... | [
"0.63248605",
"0.6248767",
"0.62081563",
"0.6162223",
"0.6159178",
"0.6152275",
"0.6141111",
"0.60671777",
"0.6054647",
"0.6054383",
"0.6043052",
"0.60428774",
"0.6042391",
"0.6028199",
"0.60235906",
"0.6016217",
"0.60128844",
"0.5993532",
"0.59837824",
"0.59702784",
"0.59628... | 0.0 | -1 |
Method to print the filename to console | public static void printFileName(String filename) {
System.out.println("\n" + filename + ":");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract void print(String fileName);",
"public void printFile() {\n\t\t\n\t\tfor(String[] line_i: linesArray) {\n\t\t\tSystem.out.println( Arrays.toString(line_i) );\n\t\t}\n\t}",
"@Override\n\tpublic void printToFile() {\n\t\t\n\t}",
"public void printFilenames(){\n\t\tSystem.out.println(\"\\nAgent list o... | [
"0.7508328",
"0.7127899",
"0.71246696",
"0.70925426",
"0.6887989",
"0.68244445",
"0.66586393",
"0.64918125",
"0.63609815",
"0.6351887",
"0.6340459",
"0.6276725",
"0.6272489",
"0.6247176",
"0.6239817",
"0.6223117",
"0.6223117",
"0.6223117",
"0.6223117",
"0.6223117",
"0.6223117... | 0.79248357 | 0 |
Method to print the statistics to console | public static void printStatistics(String compareFileName, int percentage) {
System.out.println(percentage + "% of lines are also in " + compareFileName);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void printStats();",
"public void printStatistics() {\n\t// Skriv statistiken samlad så här långt\n stats.print();\n }",
"public void printStats() {\n\t\tSystem.out.println(\"========== LCMFreq v0.96r18 - STATS ============\");\n\t\tSystem.out.println(\" Freq. itemsets count: \" + frequentCount);\n\t... | [
"0.84616554",
"0.84134465",
"0.7938017",
"0.7785385",
"0.77491707",
"0.76872844",
"0.76472926",
"0.7626531",
"0.75749964",
"0.74382865",
"0.7419288",
"0.73704976",
"0.7359236",
"0.7323438",
"0.729069",
"0.729069",
"0.7289072",
"0.72812736",
"0.72594756",
"0.7195017",
"0.71365... | 0.0 | -1 |
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | public Object[][] getContents() {
/* 223 */ return m_errorMessages;
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"void mo33732Px();",
"Info mo7564ix();",
"private void m50366E() {\n }",
"void mo21072c();",
"void mo57278c();",
"private void m50367F() {\n }",
"void mo72113b();",
"public abstract void mo56925d();",
"void mo60893b();",
"pub... | [
"0.52888227",
"0.5211715",
"0.5188904",
"0.5169915",
"0.51650035",
"0.5109148",
"0.5073878",
"0.5070167",
"0.5063504",
"0.5051082",
"0.5047402",
"0.50442225",
"0.50349885",
"0.502783",
"0.50117177",
"0.5011424",
"0.50033474",
"0.5001107",
"0.49992502",
"0.49869153",
"0.498286... | 0.0 | -1 |
Controls the model for a game being authored. Allows the view to modify and retrieve information about the model. | public interface AuthoringModelController {
/**
* Save the current state of the current level a game being authored.
*
* @param saveName
* the name to assign to the save file
*/
void saveGameState(File saveName);
/**
* Load the detailed state of a game for a particular level, including
* h... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void handleModelViewEvent(ModelEvent modelEvent) {\n\t\tsuper.handleModelViewEvent(modelEvent);\n\t\tActionEvent e = modelEvent.getActionEvent();\n\t\tswitch(e.action){\n\t\tcase ActionEventConstant.ACTION_REQUEST_LOGIN:\n\t\t\tgoMainScreen();\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}",
"private void s... | [
"0.5940745",
"0.5879703",
"0.5876263",
"0.5746804",
"0.57173437",
"0.5668577",
"0.5603413",
"0.55620253",
"0.55385554",
"0.5513322",
"0.54988396",
"0.5493039",
"0.5485811",
"0.5480687",
"0.5464867",
"0.5431023",
"0.53808177",
"0.5369205",
"0.5338545",
"0.5328732",
"0.5312517"... | 0.644989 | 0 |
Save the current state of the current level a game being authored. | void saveGameState(File saveName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void SaveCurrentGame(){\n if(gameStarted == false){ return; }\n recordGame.write(board, timeRuunableThread, level);\n timeRuunableThread.setDrawNumber(false);\n canLoadGame = true;\n // update infoCanvas\n CleanInfoCanvas();\n }",
"public void saveGame(){\n ... | [
"0.7126473",
"0.6942775",
"0.6825217",
"0.6623542",
"0.6559167",
"0.6482649",
"0.64589775",
"0.6450856",
"0.6415388",
"0.63632244",
"0.63479024",
"0.6333818",
"0.6309761",
"0.6286231",
"0.6281646",
"0.6274209",
"0.6232289",
"0.6197721",
"0.61798733",
"0.61319965",
"0.6120959"... | 0.5896386 | 26 |
Load the detailed state of a game for a particular level, including highlevel information and elements present. | void loadOriginalGameState(String saveName, int level) throws IOException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void loadLevel(Game game, int level) {\n //stop any ongoing sounds\n game.getGameLevel().getLevelSound().stop();\n //creates new arrList\n game.resetGameLevels();\n //Loads levels in the arrList\n game.buildGameLevelsArray();\n //set to desired level\n ... | [
"0.70447785",
"0.67687833",
"0.65500057",
"0.6398866",
"0.6244537",
"0.62298054",
"0.62200105",
"0.61957115",
"0.6158446",
"0.61414057",
"0.6132567",
"0.60820967",
"0.6071789",
"0.59657085",
"0.59597903",
"0.59475833",
"0.5917672",
"0.5911314",
"0.5853731",
"0.5840967",
"0.58... | 0.65641105 | 2 |
Export a fully authored game, including all levels, into an executable file. | void exportGame(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void saveGame() {\r\n\t\t//separator used by system\r\n\t\tString separator = System.getProperty(\"file.separator\");\r\n\t\t//path to where files will be saved\r\n\t\tString path = System.getProperty(\"user.dir\") + separator + \"src\" + separator + \"GameFiles\" + separator;\r\n\r\n\t\ttry {\r\n\r\n\t\t\t... | [
"0.607093",
"0.5973365",
"0.5850033",
"0.5773603",
"0.5710563",
"0.56436133",
"0.5614346",
"0.56131583",
"0.5605861",
"0.5605294",
"0.55022305",
"0.548222",
"0.5478932",
"0.54580873",
"0.54340947",
"0.54333764",
"0.54311186",
"0.54307353",
"0.5366633",
"0.5345743",
"0.5340817... | 0.72712207 | 0 |
Create a new level for the game being authored. Saves the state of the current level being authored when the transition occurs. | void createNewLevel(int level); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createLevel() {\n room = 1;\n currentLevelFinish = false;\n createRoom();\n }",
"@Override\n\tpublic void newGame(String level) {\n\t\tmanager.newGame(level);\n\t}",
"public void newlevel() {\n\t\tblack = new Background(COURT_WIDTH, COURT_HEIGHT); // reset background\n\t\tc... | [
"0.74612206",
"0.6481612",
"0.6339254",
"0.618092",
"0.61445314",
"0.60951555",
"0.59422714",
"0.587623",
"0.5857021",
"0.5842025",
"0.5767244",
"0.57420087",
"0.5672994",
"0.5631675",
"0.56146324",
"0.5574514",
"0.55722684",
"0.5556798",
"0.55226815",
"0.5495149",
"0.5479144... | 0.6946495 | 1 |
Delete the previously created level. | void deleteLevel(int level) throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void removeLevel()\n {\n clearLevelAndDecreaseCount();\n }",
"void remove(int level) {\n if (containsKey(level)) {\n set(level, null);\n }\n }",
"public void clearLevel() {\n super.clearLevel();\n }",
"public Builder clearLevel() {\n \n leve... | [
"0.7377329",
"0.67837626",
"0.6568177",
"0.65681624",
"0.6549172",
"0.6549172",
"0.64754283",
"0.6429012",
"0.6182619",
"0.6150713",
"0.61488664",
"0.6143662",
"0.6135399",
"0.60735357",
"0.584442",
"0.584442",
"0.584442",
"0.5684226",
"0.5659676",
"0.5598601",
"0.5598155",
... | 0.7605986 | 0 |
Get the toplevel configuration options for a game element definition. | Map<String, List<String>> getElementBaseConfigurationOptions(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static List<IConfigElement> getConfigElements()\n {\n\n List<IConfigElement> configElements = new ArrayList<IConfigElement>();\n\n if (ConfigReference.getInstance().isLoaded())\n {\n\n IConfigElement generalConfigs = new ConfigElement(ConfigReference.getInstance().getCategory(Configuration.C... | [
"0.5665131",
"0.5465306",
"0.54507405",
"0.54486734",
"0.5438303",
"0.5421884",
"0.5416358",
"0.5410427",
"0.53788096",
"0.5369639",
"0.5361291",
"0.53342694",
"0.52638495",
"0.5252974",
"0.52387214",
"0.52245325",
"0.5207602",
"0.52030057",
"0.52030057",
"0.52030057",
"0.520... | 0.6570639 | 0 |
Get auxiliary configuration elements for a game element, based on toplevel configuration choices. | Map<String, Class> getAuxiliaryElementConfigurationOptions(Map<String, String> baseConfigurationChoices); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static List<IConfigElement> getConfigElements()\n {\n\n List<IConfigElement> configElements = new ArrayList<IConfigElement>();\n\n if (ConfigReference.getInstance().isLoaded())\n {\n\n IConfigElement generalConfigs = new ConfigElement(ConfigReference.getInstance().getCategory(Configuration.C... | [
"0.6312782",
"0.57577944",
"0.5483927",
"0.5170814",
"0.50164944",
"0.48330036",
"0.47897157",
"0.47836745",
"0.4753569",
"0.46570918",
"0.46551716",
"0.46366572",
"0.46362683",
"0.45877337",
"0.45623216",
"0.45311633",
"0.45064625",
"0.44984615",
"0.44679424",
"0.44667998",
... | 0.65315074 | 0 |
Define a new type of element for the game being authored. Elements of this type will be created by the model based on its properties, assuming defaults where necessary. This method should not be used for updating properties of an existing template, the updateElementDefinition method should be used for that instead. | void defineElement(String elementName, Map<String, String> properties) throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ElementDefinition createElementDefinition();",
"protected abstract M createNewElement();",
"public void addElement() {\n\t\tXmlNode newNode = new XmlNode(rootNode, this);// make a new default-type field\n\t\taddElement(newNode);\n\t}",
"public org.ccsds.moims.mo.mal.structures.Element createElement()\n {\n ... | [
"0.60208094",
"0.5985025",
"0.5950426",
"0.59488297",
"0.57518685",
"0.565196",
"0.56205887",
"0.56136453",
"0.5500408",
"0.54917437",
"0.5491412",
"0.5409567",
"0.5405541",
"0.53958255",
"0.538763",
"0.53633565",
"0.5344207",
"0.5304955",
"0.53049195",
"0.53043675",
"0.52772... | 0.581942 | 4 |
Update an existing template by overwriting the specified properties to their new specified values. Should not be used to create a new template, the defineElement method should be used for that. | void updateElementDefinition(String elementName, Map<String, String> propertiesToUpdate, boolean retroactive)
throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void updateFromTemplate() {\r\n try {\r\n if (templateList.getSelectedItem() != null) {\r\n getConfigurer().loadPropertiesFromFile((String) templateList.getSelectedItem());\r\n Iterator<PropertyInputPanel> it = propertyInputPanels.iterator();\r\n ... | [
"0.66162777",
"0.5840744",
"0.5678183",
"0.5659963",
"0.5525229",
"0.53472924",
"0.5346034",
"0.5246391",
"0.5212573",
"0.52051973",
"0.51585984",
"0.5158297",
"0.51166123",
"0.51048374",
"0.5073321",
"0.5028476",
"0.49946845",
"0.49890056",
"0.49849826",
"0.4937589",
"0.4929... | 0.55639696 | 4 |
Delete a previously defined template | void deleteElementDefinition(String elementName) throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void deleteTemplate(Template template)\n\t{\n\t\tTemplateDAO dao = new TemplateDAO();\n\t\tdao.delete(template);\t\t\n\t\t//return template.getId();\n\t}",
"private void removeTemplate()\r\n {\r\n\t String template = keyField.getText();\r\n\t if (template.length()==0)\r\n\t {\r\n\t\t label.setTe... | [
"0.7263077",
"0.71443355",
"0.7045573",
"0.67889607",
"0.66909605",
"0.6685673",
"0.65575457",
"0.6504716",
"0.6452316",
"0.6434337",
"0.63680774",
"0.6340045",
"0.6332246",
"0.6294537",
"0.6239067",
"0.6226477",
"0.6154342",
"0.6076083",
"0.60094804",
"0.5956544",
"0.5934277... | 0.0 | -1 |
Place a game element of previously defined type within the game. | int placeElement(String elementName, Point2D startCoordinates); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void place(Position position) { this.position = position; }",
"void doPlaceObject() {\r\n\t\tif (renderer.surface == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (currentBaseTile != null) {\r\n\t\t\tUndoableMapEdit undo = new UndoableMapEdit(renderer.surface);\r\n\t\t\tdeleteEntitiesOf(renderer.surface.bas... | [
"0.63700414",
"0.6135403",
"0.5992532",
"0.59165514",
"0.5877243",
"0.58639795",
"0.58341867",
"0.5820387",
"0.5814763",
"0.57732064",
"0.576538",
"0.5763493",
"0.57489234",
"0.5742881",
"0.5696539",
"0.5679356",
"0.5637803",
"0.5539662",
"0.5526633",
"0.54990506",
"0.5487230... | 0.6654218 | 0 |
Add element of given name | void addElementToInventory(String elementName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addElement(String name, Element element) {\n if (elementMap.containsKey(name)) {\n elementMap.get(name).add(element);\n } else {\n List<Element> newList = new ArrayList<Element>();\n newList.add(element);\n elementMap.put(name, newList);\n }\n ... | [
"0.7846013",
"0.73158664",
"0.7069774",
"0.69692254",
"0.6934679",
"0.68558425",
"0.6747492",
"0.6740377",
"0.67105186",
"0.66862357",
"0.66695493",
"0.66605824",
"0.66445124",
"0.65345997",
"0.65163755",
"0.6505447",
"0.6504156",
"0.6460129",
"0.6422429",
"0.64013684",
"0.63... | 0.73785096 | 1 |
/ Place a game element of previously defined type within the game which follows a path defined in the authoring environment as it moves. | int placePathFollowingElement(String elementName, PathList pathList); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int placeElement(String elementName, Point2D startCoordinates);",
"public void place(Position position) { this.position = position; }",
"public void placePiece(Piece newPiece){pieceAtVertex = newPiece;}",
"public void placePlayer(Person user) {\r\n\t\trooms[user.getY()][user.getX()].addOccupant(user);\r\n\t\... | [
"0.6551388",
"0.61999893",
"0.5917502",
"0.5854441",
"0.5808802",
"0.5766124",
"0.5754892",
"0.56326765",
"0.557912",
"0.55279785",
"0.5521315",
"0.55090815",
"0.5491801",
"0.54829395",
"0.54420465",
"0.5428967",
"0.5408382",
"0.5398164",
"0.5378613",
"0.53708005",
"0.5361159... | 0.5603143 | 8 |
Retrieve the inventory for the current level | Set<String> getInventory(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Inventory getInventory(){ //needed for InventoryView - Sam\n return inventory;\n }",
"SimpleInventory getOpenedInventory(Player player);",
"List<InventoryItem> getInventory();",
"InventoryItem getInventoryItem();",
"Collection<Item> getInventory();",
"public Inventory getInventory() {\n ... | [
"0.7365154",
"0.73141074",
"0.7225232",
"0.72197676",
"0.718174",
"0.71575344",
"0.70304036",
"0.7028407",
"0.7011508",
"0.679084",
"0.6742425",
"0.67184275",
"0.66689587",
"0.6624247",
"0.6567695",
"0.6481727",
"0.6458852",
"0.6454776",
"0.644951",
"0.6441315",
"0.64386886",... | 0.6088371 | 37 |
Get the ImageView corresponding to a particular spriteId | ImageView getRepresentationFromSpriteId(int spriteId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Image getSpriteImage(Sprite sprite){\n if(sprite == null){\n return sprites.get(1);\n }\n return sprites.get(sprite.getSpriteIndex());\n }",
"public ImageView getImageView() {\n return (ImageView) getView().findViewById(imageViewId);\n }",
"public BufferedIma... | [
"0.63825047",
"0.6300345",
"0.6088288",
"0.6053803",
"0.6026254",
"0.6018497",
"0.5973069",
"0.5957602",
"0.59541065",
"0.59535885",
"0.59335274",
"0.5815927",
"0.5780013",
"0.57446903",
"0.5716134",
"0.5709531",
"0.5702598",
"0.56996065",
"0.5672419",
"0.56497926",
"0.563539... | 0.8716144 | 0 |
Get the highlevel status of a game inprogress, notably points, lives, etc | Map<String, Double> getStatus(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public GameState getGameProgress() {\r\n return gameProgress;\r\n }",
"com.lvl6.proto.EventQuestProto.QuestProgressResponseProto.QuestProgressStatus getStatus();",
"public int status() \n {\n \tif (stonesCount(7,12) != 0 && stonesCount(0,5) != 0)\n \t\treturn GAME_NOT_OVER;\n \telse if (s... | [
"0.6924256",
"0.68483853",
"0.6570773",
"0.651613",
"0.64533794",
"0.6399223",
"0.6341362",
"0.63145727",
"0.6301131",
"0.6202334",
"0.6174774",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
"0.6173075",
... | 0.0 | -1 |
Retrieve information on the cost of each element in terms of the various resources | Map<String, Map<String, Double>> getElementCosts(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public CostInfo getCostInfo();",
"int getResourceCost();",
"List<ResourceSkuCosts> costs();",
"double getCost();",
"double getCost();",
"int getCost();",
"int getCost();",
"int getCost();",
"public void getCosts() {\n\t}",
"public double getCosts();",
"public String getCost() {\n\t\tString t = ... | [
"0.72447675",
"0.71982634",
"0.6967354",
"0.69117117",
"0.69117117",
"0.66977763",
"0.66977763",
"0.66977763",
"0.6650951",
"0.65935475",
"0.64581776",
"0.6454881",
"0.64532864",
"0.6371298",
"0.6341702",
"0.6332524",
"0.63008434",
"0.63008434",
"0.63008434",
"0.6298227",
"0.... | 0.6723396 | 5 |
Move a previously created game element to a new location. | void moveElement(int elementId, double xCoordinate, double yCoordinate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void move() {\n this.pposX = this.posX;\n this.pposY = this.posY;\n this.posX = newPosX;\n this.posY = newPosY;\n }",
"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 = l... | [
"0.664119",
"0.6451863",
"0.63995904",
"0.63076353",
"0.63065445",
"0.62965727",
"0.627384",
"0.62705356",
"0.62505925",
"0.62505925",
"0.62091404",
"0.6197625",
"0.6130696",
"0.61041224",
"0.60790825",
"0.6076921",
"0.6075229",
"0.60653067",
"0.6060216",
"0.60579014",
"0.605... | 0.744488 | 0 |
Update the properties of a particular game element, without changing the definition of its type. | void updateElementProperties(int elementId, Map<String, String> propertiesToUpdate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void updateElementDefinition(String elementName, Map<String, String> propertiesToUpdate, boolean retroactive)\n\t\t\tthrows IllegalArgumentException;",
"@Override\r\n\tpublic void updateElement() {\n\r\n\t}",
"@Override\r\n\tpublic void update(Notification notification, EObject element) {\n\t\tsuper.update(not... | [
"0.68322605",
"0.6466803",
"0.59122753",
"0.5751627",
"0.56630105",
"0.5600026",
"0.5598383",
"0.55877113",
"0.5555216",
"0.55402464",
"0.55052274",
"0.54442143",
"0.5432834",
"0.5388471",
"0.5376164",
"0.53638715",
"0.5350577",
"0.53438663",
"0.5307031",
"0.5284575",
"0.5263... | 0.67630625 | 1 |
Delete a previously created game element. | void deleteElement(int elementId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void deleteElement(ProjectElement element) {\r\n \t\tProject projectInternal = element.getProjectInternal();\r\n projectInternal.getElementsInternal().remove(element);\r\n \r\n deleteResource(element); \r\n \r\n projectInternal.eResource().setMod... | [
"0.7256203",
"0.72158986",
"0.6708678",
"0.65374666",
"0.65333676",
"0.6490799",
"0.6364067",
"0.63579184",
"0.6326866",
"0.63248396",
"0.6290804",
"0.62727845",
"0.6255449",
"0.6196223",
"0.6164559",
"0.61520255",
"0.6135988",
"0.6133474",
"0.6127881",
"0.61054075",
"0.60645... | 0.7233078 | 1 |
Fetch all available game names and their corresponding descriptions | Map<String, String> getAvailableGames(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Game populateGames(String name);",
"private String[] getGamesList() {\n\n\t\tGames games = new Games();\n\n\t\tint maxRecords = games.count();\n\t\tArrayList<Game> records = games.findAll(maxRecords, 0);\n\t\tIterator<Game> it = records.iterator();\n\n\t\tString[] output = new String[maxRecords];\n\t\tint... | [
"0.6714682",
"0.64884263",
"0.6277138",
"0.60999256",
"0.6063215",
"0.59496903",
"0.5778381",
"0.57694525",
"0.5758527",
"0.56878716",
"0.5687847",
"0.56834066",
"0.5626424",
"0.5610416",
"0.55538046",
"0.55538046",
"0.5544181",
"0.5527553",
"0.55168796",
"0.5510952",
"0.5495... | 0.6682618 | 1 |
Get a map of properties for a particular game element, so as to allow for their displaying in a modification area of the display. | Map<String, String> getElementProperties(int elementId) throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Map getProperties();",
"Map<String, String> getProperties();",
"Map<String, String> getProperties();",
"Map<String, String> properties();",
"Map<String, String> properties();",
"java.util.Map<java.lang.String, java.lang.String>\n getPropertiesMap();",
"public HashMap<Integer, Object> getEffec... | [
"0.7264347",
"0.6642836",
"0.6642836",
"0.6615882",
"0.6615882",
"0.6607427",
"0.6527915",
"0.6454771",
"0.6444409",
"0.6434357",
"0.64231265",
"0.6389119",
"0.63482964",
"0.6262944",
"0.6258379",
"0.6253446",
"0.6231321",
"0.62271845",
"0.61936843",
"0.61834157",
"0.616746",... | 0.6973934 | 1 |
Get a map of properties for an element template / model, so as to allow for their displaying in a modification area of the display | Map<String, String> getTemplateProperties(String elementName) throws IllegalArgumentException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Map<String, Map<String, String>> getAllDefinedTemplateProperties();",
"public Map getProperties();",
"Map<String, String> getPropsViews();",
"Map<String, String> getElementProperties(int elementId) throws IllegalArgumentException;",
"private Map<String, Object> getMvcMetadata(ComponentTemplate componentTem... | [
"0.7048475",
"0.61952275",
"0.6161409",
"0.6126773",
"0.6111248",
"0.60978854",
"0.60633826",
"0.59037316",
"0.57900363",
"0.57900363",
"0.5744562",
"0.57435614",
"0.5698256",
"0.5675115",
"0.55611",
"0.55385554",
"0.55113757",
"0.5506875",
"0.5506875",
"0.54807234",
"0.54498... | 0.71837246 | 0 |
Get map of all defined template names to their properties | Map<String, Map<String, String>> getAllDefinedTemplateProperties(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Map<String, String> getTemplateProperties(String elementName) throws IllegalArgumentException;",
"public Map<File, TemplatesStoreData> getTemplatesDescriptors() {\n\t\treturn TemplatesStore.getInstance().getData();\n\t}",
"Map<String, String> properties();",
"Map<String, String> properties();",
"public Map... | [
"0.72963953",
"0.64464325",
"0.6244876",
"0.6244876",
"0.6224562",
"0.60946506",
"0.608766",
"0.60629624",
"0.60629624",
"0.60183215",
"0.6008203",
"0.5976208",
"0.59225476",
"0.5902554",
"0.5902554",
"0.5902554",
"0.5899642",
"0.5885184",
"0.5837328",
"0.581794",
"0.5764519"... | 0.849445 | 0 |
Set the name of the game being authored. | void setGameName(String gameName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void setOpponentName(String name) {\n\t\tmain.setOpponentUsername(name);\r\n\t}",
"public void setCurrentPlayerName(String name)\n {\n currentPlayerName = name;\n startGame();\n }",
"public void setName(String name)\r\n\t{\r\n\t\tthis.playerName = name;\r\n\t}",
"pri... | [
"0.8020342",
"0.7410898",
"0.726483",
"0.72556835",
"0.7189777",
"0.71757144",
"0.7153519",
"0.7142645",
"0.69720715",
"0.69720715",
"0.6947376",
"0.68825036",
"0.68587565",
"0.6843261",
"0.681903",
"0.6810246",
"0.67314935",
"0.67137176",
"0.6712088",
"0.6676216",
"0.6647369... | 0.81581277 | 0 |
Set the description of a game being authored. | void setGameDescription(String gameDescription); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setDescription(String UserDescription){\n Description = UserDescription;\n }",
"@Override\n\tpublic void setDescription(java.lang.String description) {\n\t\t_esfTournament.setDescription(description);\n\t}",
"public void editDescription(String description) {\n this.description = d... | [
"0.6953411",
"0.68571025",
"0.6670382",
"0.66101027",
"0.66099167",
"0.6598985",
"0.6578415",
"0.65775603",
"0.6570203",
"0.6558313",
"0.65260196",
"0.65256643",
"0.6522488",
"0.6522488",
"0.65186316",
"0.65165925",
"0.65165925",
"0.65165925",
"0.65165925",
"0.65165925",
"0.6... | 0.788428 | 0 |
Set the victory condition for the current level of the game being authored | void setVictoryCondition(String conditionIdentifier); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setLevel(int current)\r\n\t{\r\n\t\tGame.level = current;\r\n\t}",
"public void setLevel(Level level) { this.currentLevel = level; }",
"public void setActiveLevel(PlayerLevel toSet){\r\n\t\tthis.activeLevel = toSet;\r\n\t}",
"public void victory() {\n fieldInerface.setPleasedSmile()... | [
"0.6299736",
"0.62602705",
"0.6258404",
"0.61229",
"0.6070392",
"0.6002836",
"0.58377016",
"0.58244336",
"0.58191913",
"0.5766658",
"0.5726775",
"0.5702871",
"0.5650893",
"0.5624963",
"0.56034714",
"0.5589636",
"0.55835605",
"0.55727834",
"0.5563427",
"0.5561557",
"0.5544555"... | 0.6712229 | 0 |
Set the defeat condition for the current level of the game being authored | void setDefeatCondition(String conditionIdentifier); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void defend(){\n\tdefense += (int)(Math.random() * defense * .45 + 5);\n\tstrength -= 3;\n\tif (defense > 70) {\n\t defense = 70;\n\t}\t \n\tcounterDef += 1;\n\tif (counterDef == 2){\n\t counterDef = 0;\n\t recover();\n\t}\n\tSystem.out.println(\"You brace yourself with your bow.\");\n }",
... | [
"0.6490645",
"0.6123172",
"0.60716236",
"0.6013953",
"0.60017437",
"0.5976512",
"0.5975461",
"0.5963512",
"0.59554446",
"0.5933994",
"0.591738",
"0.5915948",
"0.589732",
"0.589732",
"0.5897065",
"0.5896431",
"0.58830136",
"0.5882672",
"0.583715",
"0.58349454",
"0.5832778",
... | 0.6502406 | 0 |
Set a toplevel game status property (e.g. lives, starting resources, etc) | void setStatusProperty(String property, Double value); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public synchronized void setMyGameStatus(boolean status)\n {\n \tgameStatus=status;\n }",
"private void setGameStatus() {\n this.gameStatus = false;\n }",
"public void startGame() {\n status = Status.COMPLETE;\n }",
"public void statusChanged(GameStatusEvent e) {\n gameRun... | [
"0.7324744",
"0.73145896",
"0.66495115",
"0.64880496",
"0.63455665",
"0.6289365",
"0.6239829",
"0.6181859",
"0.6138867",
"0.613361",
"0.6074028",
"0.6042933",
"0.603795",
"0.60208595",
"0.60090554",
"0.5954825",
"0.59434646",
"0.5940571",
"0.5933449",
"0.59257746",
"0.5919709... | 0.0 | -1 |
Set the resource endowments for the current level | void setResourceEndowments(Map<String, Double> resourceEndowments); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setResourceEndowment(String resourceName, double newResourceEndowment);",
"public void setEndLevel(int arg[]) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.ENDLEVEL.toString(), arg);\n\t}",
"public void setEndLevel(int arg) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.... | [
"0.6762921",
"0.57961524",
"0.56952435",
"0.5396676",
"0.53487796",
"0.5306046",
"0.5259364",
"0.5242882",
"0.5158345",
"0.49875838",
"0.49470645",
"0.49411282",
"0.49400195",
"0.4915439",
"0.48278132",
"0.48211327",
"0.48124576",
"0.47855935",
"0.47524884",
"0.47475776",
"0.... | 0.654056 | 1 |
Set the resource endowment of a specific resource name | void setResourceEndowment(String resourceName, double newResourceEndowment); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void resourceSet(String resource)\r\n {\r\n // nothing to do\r\n }",
"void setResourceID(String resourceID);",
"public void setResource(String res) {\n if (definerSet) {\n tooManyDefinitions();\n }\n definerSet = true;\n this.resource = res;\n }",
"pri... | [
"0.6176249",
"0.60332066",
"0.5931337",
"0.57885724",
"0.5659261",
"0.562687",
"0.55914503",
"0.55734503",
"0.55526066",
"0.5487481",
"0.54801387",
"0.54198265",
"0.5391343",
"0.5323093",
"0.5321172",
"0.52808475",
"0.52624285",
"0.5209747",
"0.51864505",
"0.5178114",
"0.5171... | 0.76378715 | 0 |
Set the cost of an element in terms of various resources | void setUnitCost(String elementName, Map<String, Double> unitCosts); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setCost(double cost);",
"double setCost(double cost);",
"double setEstimatedCost(double cost);",
"protected void setCost(double cost) \r\n\t{\tthis.cost = cost;\t}",
"public void setCost(double cost){\n this.cost = cost;\n }",
"public void setCost(int c) {\r\n this.cost = c;\r\n }",
... | [
"0.780633",
"0.7741618",
"0.7402863",
"0.739765",
"0.72940546",
"0.71051246",
"0.70739484",
"0.7012226",
"0.6987208",
"0.6970889",
"0.6964331",
"0.69134784",
"0.67680776",
"0.676552",
"0.6722084",
"0.6690047",
"0.66624355",
"0.66128045",
"0.6612168",
"0.6594971",
"0.65919447"... | 0.7005342 | 8 |
Set the behavior and parameters of the wave | void setWaveProperties(Map<String, String> waveProperties, Collection<String> elementNamesToSpawn,
Point2D spawningPoint); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void set(float signal);",
"public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }",
"public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }",
"public wave() {\n initComponents();\n //velikos... | [
"0.6507781",
"0.64673305",
"0.63442636",
"0.60766345",
"0.6059603",
"0.6046771",
"0.6017419",
"0.59314835",
"0.58821315",
"0.5857602",
"0.5846217",
"0.5835977",
"0.5793674",
"0.57784945",
"0.5776237",
"0.5749931",
"0.5745392",
"0.57111067",
"0.5694595",
"0.5671924",
"0.566368... | 0.6374431 | 2 |
Retrieve a collection of descriptions of the possible victory conditions | Collection<String> getPossibleVictoryConditions(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Collection<String> getPossibleDefeatConditions();",
"@Override\n public VictoryConditionDetails getDetails() {\n Map<String, String> info = new LinkedHashMap<>();\n\n VictoryConditionDetails details = new VictoryConditionDetails();\n\n details.setKey(title);\n details.setInfo(info)... | [
"0.6471496",
"0.62063795",
"0.59583414",
"0.56826633",
"0.56120926",
"0.5594748",
"0.55121475",
"0.5458843",
"0.5408525",
"0.5397795",
"0.53864026",
"0.53431576",
"0.52631825",
"0.5254114",
"0.52088875",
"0.5185371",
"0.5172993",
"0.51626986",
"0.5155666",
"0.5126179",
"0.508... | 0.7884963 | 0 |
Retrieve a collection of descriptions of the possible defeat conditions | Collection<String> getPossibleDefeatConditions(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List getDonts() {\n\t\tif (donts == null) {\n\t\t\tdonts = getFormattedPractices(\"/metadataFieldInfo/field/bestPractices/donts\");\n\t\t}\n\t\treturn donts;\n\t}",
"String getDescriptionIfNotMet();",
"public List<String> extractIllnesses(String description) {\n\t\tList<String> newSentences = this.getSe... | [
"0.62870246",
"0.5979938",
"0.5963804",
"0.5846862",
"0.57998174",
"0.5730159",
"0.57219905",
"0.5691241",
"0.56286955",
"0.5618691",
"0.5586462",
"0.555819",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
"0.5550671",
... | 0.8063685 | 0 |
Sets the value of machineId | public void setMachineId(String machineId)
{
this.machineId = machineId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMachineID(int value) {\n this.machineID = value;\n }",
"public Builder setMachineId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n machineId_ = value;\n onChanged();\n ret... | [
"0.8190285",
"0.8076635",
"0.75210387",
"0.699879",
"0.6691065",
"0.66248745",
"0.65779746",
"0.6455351",
"0.64543426",
"0.6423769",
"0.6421312",
"0.62767017",
"0.62471956",
"0.61094195",
"0.59738195",
"0.5940609",
"0.5931577",
"0.5759509",
"0.5752379",
"0.57241136",
"0.57241... | 0.78019637 | 2 |
Gets the value of machineId | public String getMachineId()
{
return machineId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getMachineId();",
"public java.lang.String getMachineId() {\n java.lang.Object ref = machineId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n machineId_ = s;\n ... | [
"0.8579903",
"0.8427723",
"0.84135604",
"0.8230804",
"0.81560117",
"0.81003165",
"0.8058991",
"0.7507749",
"0.7389363",
"0.73605174",
"0.6978438",
"0.6883941",
"0.6597202",
"0.6513882",
"0.64723253",
"0.6438992",
"0.6223046",
"0.6193674",
"0.61848915",
"0.59627587",
"0.594410... | 0.845599 | 1 |
Sets the value of customerId | public void setCustomerId(String customerId)
{
this.customerId = customerId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCustomerId(final Integer customerId)\n {\n this.customerId = customerId;\n }",
"public void setCustomerId(Number value) {\n setAttributeInternal(CUSTOMERID, value);\n }",
"public void setCustomerId(int customerId) \n {\n this.customerId = customerId;\n }",
"publ... | [
"0.850142",
"0.8431124",
"0.8398406",
"0.834065",
"0.824759",
"0.8198464",
"0.8180485",
"0.8180485",
"0.8068582",
"0.792426",
"0.78224385",
"0.77771497",
"0.7624997",
"0.7562989",
"0.7450499",
"0.73978174",
"0.73485076",
"0.73464197",
"0.7336837",
"0.7305992",
"0.7267135",
... | 0.7993464 | 9 |
Gets the value of customerId | public String getCustomerId()
{
return customerId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getCustomerId();",
"java.lang.String getCustomerId();",
"public String getCustomerId() {\n return customerId;\n }",
"public String getCustomerId() {\n return customerId;\n }",
"public Integer getCustomerId()\n {\n return customerId;\n }",
"public final String... | [
"0.8743601",
"0.8743601",
"0.8368577",
"0.8368577",
"0.8349535",
"0.8334606",
"0.83222646",
"0.82716846",
"0.8256677",
"0.8256677",
"0.82515544",
"0.81850404",
"0.81670153",
"0.8105223",
"0.81037766",
"0.81037766",
"0.8062491",
"0.8061023",
"0.7990134",
"0.7980426",
"0.795743... | 0.83837587 | 2 |
Sets the value of viveId | public void setViveId(String viveId)
{
this.viveId = viveId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getViveId()\n\t{\n\t\treturn viveId;\n\t}",
"public void setvID(int vID) {\n this.vID = vID;\n }",
"public void setIdVenta(String idVenta) {\n this.idVenta = idVenta;\n }",
"public void setIdVozilo(long value) {\n this.idVozilo = value;\n }",
"public void setProv... | [
"0.74468005",
"0.7319619",
"0.6703446",
"0.63751185",
"0.62967396",
"0.62806445",
"0.6277875",
"0.6209495",
"0.6197956",
"0.6155994",
"0.6149248",
"0.59905314",
"0.5979167",
"0.5961435",
"0.5898825",
"0.5875818",
"0.5875818",
"0.5835617",
"0.5801079",
"0.57880205",
"0.5757441... | 0.78250986 | 0 |
Gets the value of viveId | public String getViveId()
{
return viveId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getvID() {\n return vID;\n }",
"public long getVocubalaryId();",
"public String getVatId()\n {\n return vatId;\n }",
"int getVida()\n\t{\n\t\treturn vida;\n\t}",
"public int getVaoID() {\n\t\treturn vaoID;\n\t}",
"public void setViveId(String viveId)\n\t{\n\t\tthis.viveI... | [
"0.76750153",
"0.72408336",
"0.7227487",
"0.6880349",
"0.6790781",
"0.6764973",
"0.6514823",
"0.650115",
"0.6460625",
"0.64408994",
"0.64408994",
"0.6409164",
"0.6386856",
"0.63783014",
"0.6373185",
"0.6351542",
"0.6347854",
"0.63140726",
"0.63101375",
"0.63101375",
"0.619747... | 0.86271805 | 0 |
Sets the value of cpuSerialNo | public void setCpuSerialNo(String cpuSerialNo)
{
this.cpuSerialNo = cpuSerialNo;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}",
"public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }",
"public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }",
"@Override\n public void setSerialNumber(String val... | [
"0.7478448",
"0.70625734",
"0.70282817",
"0.70037067",
"0.69746274",
"0.6831669",
"0.68169624",
"0.67912316",
"0.6589954",
"0.6532364",
"0.6419771",
"0.6379282",
"0.6266731",
"0.62660015",
"0.62444633",
"0.617545",
"0.6136695",
"0.612987",
"0.60830796",
"0.6037113",
"0.603711... | 0.8499678 | 0 |
Gets the value of cpuSerialNo | public String getCpuSerialNo()
{
return cpuSerialNo;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}",
"public void setCpuSerialNo(String cpuSerialNo)\n\t{\n\t\tthis.cpuSerialNo = cpuSerialNo;\n\t}",
"public long getSerial() {\n\t\treturn this.serialNumber;\n\t}",
"public String getSerialNo() {\n\t\treturn serialNo;\n\t}",
"java.lang.String... | [
"0.72455484",
"0.7147344",
"0.70424855",
"0.69937587",
"0.69687426",
"0.69272745",
"0.69272745",
"0.6876558",
"0.6840836",
"0.67867684",
"0.6744517",
"0.67228377",
"0.6710402",
"0.6679351",
"0.66545933",
"0.66545933",
"0.6639413",
"0.6628436",
"0.66202885",
"0.661507",
"0.661... | 0.8893718 | 0 |
Sets the value of keyData | public void setKeyData(String keyData)
{
this.keyData = keyData;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Generated\n @Selector(\"setKeyData:\")\n public native void setKeyData(@NotNull NSData value);",
"public void setData(@NotNull String key, @NotNull Object value) {\n data.put(key, value);\n }",
"public void setData(String key, String value) {\r\n\t\tdata.put(key, value);\r\n\t}",
"public abstract ... | [
"0.76517314",
"0.735272",
"0.7336733",
"0.7207391",
"0.6997723",
"0.6885116",
"0.6840391",
"0.67881984",
"0.67771137",
"0.6770856",
"0.6742934",
"0.6723623",
"0.6722419",
"0.6694746",
"0.6694746",
"0.66854256",
"0.66776925",
"0.6671751",
"0.6669933",
"0.66692454",
"0.6660342"... | 0.8173715 | 0 |
Gets the value of keyData | public String getKeyData()
{
return keyData;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getData(String key) {\r\n\t\treturn (String) data.get(key);\r\n\t}",
"<T> T getValue(DataKey<T> key);",
"public String get(String key) {\n return getData().get(key);\n }",
"public Object getDataValue(String key) {\n\t\t if (data.containsKey(key)) {\n\t\t\t return data.get(key);\n\t\t }\n\t\... | [
"0.7512311",
"0.74345386",
"0.73910147",
"0.7190827",
"0.71626663",
"0.7134295",
"0.68473727",
"0.679567",
"0.67864126",
"0.67824733",
"0.67402667",
"0.67331344",
"0.6729635",
"0.67114383",
"0.67035",
"0.6696639",
"0.66889757",
"0.66889757",
"0.66889757",
"0.66889757",
"0.668... | 0.7755498 | 0 |
Sets the value of keyTimestamp | public void setKeyTimestamp(String keyTimestamp)
{
this.keyTimestamp = keyTimestamp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setKeyingTime(long keyTime) {\n\t\tthis.keyTime = keyTime;\n\t}",
"void setTimestamp(int index, Timestamp value)\n throws SQLException;",
"public void setTimestamp(Date timestamp) {\r\n this.timestamp = timestamp;\r\n }",
"public void setTimestamp(long value) {\r\n this.... | [
"0.68729156",
"0.6658167",
"0.652179",
"0.65106803",
"0.65099853",
"0.65097404",
"0.65081036",
"0.6489232",
"0.6464748",
"0.6432168",
"0.64165527",
"0.63986933",
"0.632154",
"0.63129073",
"0.6295576",
"0.6228112",
"0.6213066",
"0.6180643",
"0.61744714",
"0.61597544",
"0.61506... | 0.8019905 | 0 |
Gets the value of keyTimestamp | public String getKeyTimestamp()
{
return keyTimestamp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTimestamp();",
"java.lang.String getTimestamp();",
"String getTimestamp();",
"String getTimestamp();",
"public Integer getTimestamp() {\n return timestamp;\n }",
"int getTimestamp();",
"public long getTimestamp();",
"public long getTimestamp();",
"long getTimestamp();"... | [
"0.6887865",
"0.6887865",
"0.68832135",
"0.68832135",
"0.6809777",
"0.6756086",
"0.67538345",
"0.67538345",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
"0.67324966",
... | 0.7803386 | 0 |
Sets the value of stolenFlag | public void setStolenFlag(String stolenFlag)
{
this.stolenFlag = stolenFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setStolenFlag(Character aStolenFlag) {\n stolenFlag = aStolenFlag;\n }",
"public String getStolenFlag()\n\t{\n\t\treturn stolenFlag;\n\t}",
"protected void setFlag() {\n flag = flagVal;\n }",
"protected void setFlag() {\n flag = flagVal;\n }",
"void setProtection(boole... | [
"0.8040051",
"0.6284645",
"0.62460023",
"0.62460023",
"0.6220608",
"0.60652155",
"0.5982736",
"0.5854979",
"0.5830964",
"0.58000594",
"0.57505685",
"0.5745746",
"0.5744186",
"0.5739638",
"0.5715371",
"0.5713626",
"0.5708759",
"0.56935126",
"0.5682854",
"0.5679632",
"0.5661183... | 0.8206227 | 0 |
Gets the value of stolenFlag | public String getStolenFlag()
{
return stolenFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Character getStolenFlag() {\n return stolenFlag;\n }",
"public void setStolenFlag(String stolenFlag)\n\t{\n\t\tthis.stolenFlag = stolenFlag;\n\t}",
"int getFlag();",
"String getSpareFlag();",
"public boolean get(Flag flag) {\n return bits.get(flag.getId());\n }",
"public String... | [
"0.75552607",
"0.6783786",
"0.636464",
"0.6258364",
"0.62413573",
"0.6222127",
"0.6144513",
"0.60895336",
"0.60693413",
"0.5903484",
"0.5850142",
"0.5842492",
"0.5804669",
"0.5795501",
"0.57921916",
"0.5789289",
"0.5781492",
"0.5779821",
"0.574285",
"0.5742307",
"0.57370615",... | 0.8324042 | 0 |
Sets the value of terminateFlag | public void setTerminateFlag(String terminateFlag)
{
this.terminateFlag = terminateFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setTerminated(boolean flag) {\n\t \t pimpl.terminated = flag;\n\t \t }",
"protected void setTerminate(boolean terminate){\r\n\t\tif(isTerminated() == false)\r\n\t\t\tisTerminated = terminate;\r\n\t}",
"public String getTerminateFlag()\n\t{\n\t\treturn terminateFlag;\n\t}",
"public ... | [
"0.75917715",
"0.7464952",
"0.70645356",
"0.68670887",
"0.63625926",
"0.6245191",
"0.62066555",
"0.6200284",
"0.61828643",
"0.61828643",
"0.61828643",
"0.6086818",
"0.60760397",
"0.60718775",
"0.6068505",
"0.6068505",
"0.6068505",
"0.6068505",
"0.606651",
"0.60258555",
"0.602... | 0.8200686 | 0 |
Gets the value of terminateFlag | public String getTerminateFlag()
{
return terminateFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTerminateFlag(String terminateFlag)\n\t{\n\t\tthis.terminateFlag = terminateFlag;\n\t}",
"@Basic @Raw\n public boolean isTerminated(){\n \treturn this.isTerminated;\n }",
"@Basic\r\n\t@Raw\r\n\tpublic boolean isTerminated(){\r\n\t\treturn isTerminated;\r\n\t}",
"protected void setTerm... | [
"0.6996253",
"0.63455623",
"0.6257888",
"0.6221587",
"0.62103903",
"0.6018425",
"0.5955139",
"0.58803385",
"0.578801",
"0.56915724",
"0.5682476",
"0.5677868",
"0.56562304",
"0.5608721",
"0.5522962",
"0.55056953",
"0.5440915",
"0.5398349",
"0.538664",
"0.53792137",
"0.5352331"... | 0.84387237 | 0 |
Sets the value of registeredFlag | public void setRegisteredFlag(String registeredFlag)
{
this.registeredFlag = registeredFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setFlag() {\n flag = flagVal;\n }",
"protected void setFlag() {\n flag = flagVal;\n }",
"public void setFlag( int flag )\n {\n value |= 1 << flag;\n setBit( flag );\n }",
"public static void registerFlag() {\n if (!enabled())\n return;\... | [
"0.75361264",
"0.75361264",
"0.70416903",
"0.69425523",
"0.6752616",
"0.66948855",
"0.6616727",
"0.6615975",
"0.6578696",
"0.65738183",
"0.65057164",
"0.6471999",
"0.6439076",
"0.6399139",
"0.63978404",
"0.63715655",
"0.6369693",
"0.6327092",
"0.62882036",
"0.6282589",
"0.628... | 0.7754926 | 0 |
Gets the value of registeredFlag | public String getRegisteredFlag()
{
return registeredFlag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getFlag();",
"public boolean get(Flag flag) {\n return bits.get(flag.getId());\n }",
"public int getFlag()\n {\n return flag;\n }",
"public Integer getFLAG() {\n return FLAG;\n }",
"@Override\n public int getFlag() {\n return flag_;\n }",
"public Boolean ge... | [
"0.73389494",
"0.72672904",
"0.72323716",
"0.68831503",
"0.6775475",
"0.67560005",
"0.67131084",
"0.66995895",
"0.66951287",
"0.66352826",
"0.6483883",
"0.6443272",
"0.640063",
"0.6382491",
"0.6324652",
"0.6317541",
"0.6262753",
"0.62386984",
"0.6219379",
"0.62093216",
"0.619... | 0.8078875 | 0 |
Sets the value of crudMethod | public void setCrudMethod(String crudMethod)
{
this.crudMethod = crudMethod;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCrudMethod()\n\t{\n\t\treturn crudMethod;\n\t}",
"public void setMethod(HTTPMethod method);",
"void setMethod(org.hl7.fhir.CodeableConcept method);",
"@Test\n\tpublic void testMethodCRUDConfig() {\n\t\tfinal IntrospectionResult introspection = getIntrospection();\n\t\tfinal IntrospectionFull... | [
"0.72625154",
"0.5781236",
"0.57681143",
"0.57511747",
"0.574267",
"0.5726415",
"0.5687029",
"0.5641827",
"0.5606127",
"0.5596152",
"0.5588459",
"0.5556142",
"0.54617065",
"0.5455317",
"0.5420227",
"0.5320752",
"0.5266627",
"0.52598643",
"0.524675",
"0.52301955",
"0.5173106",... | 0.8309375 | 0 |
Gets the value of crudMethod | public String getCrudMethod()
{
return crudMethod;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCrudMethod(String crudMethod)\n\t{\n\t\tthis.crudMethod = crudMethod;\n\t}",
"ResourceMethod getMethodType();",
"private String getGetMethodName() {\n assert name != null;\n if (field != null && (field.getType() == Boolean.class\n || \"boolean\".equals(field.getT... | [
"0.71742326",
"0.62488663",
"0.61609685",
"0.6051126",
"0.5940956",
"0.5896908",
"0.5888669",
"0.58177567",
"0.5778132",
"0.57740957",
"0.5710533",
"0.56881756",
"0.5679504",
"0.56535333",
"0.5630067",
"0.5625566",
"0.5625566",
"0.5625566",
"0.55994445",
"0.55994445",
"0.5575... | 0.8314544 | 0 |
Created by sverma on 01/03/2017. | public interface TPUserRepository extends JpaRepository<TPUser, Long> {
} | {
"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 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\tpubl... | [
"0.5990196",
"0.585553",
"0.5765432",
"0.5760741",
"0.57273203",
"0.5676031",
"0.5676031",
"0.5642814",
"0.5628792",
"0.5612105",
"0.559077",
"0.55859596",
"0.5583755",
"0.5527733",
"0.55205554",
"0.5518523",
"0.5517548",
"0.55097127",
"0.5504741",
"0.5489787",
"0.54855555",
... | 0.0 | -1 |
Filter to calls on X chromosomes | @Override
public ImmutableList<GenotypeCalls> filterCompatibleRecords(Collection<GenotypeCalls> calls) {
Stream<GenotypeCalls> xCalls = calls.stream()
.filter(call -> call.getChromType() == ChromosomeType.X_CHROMOSOMAL);
// Filter to calls compatible with AD inheritance
Stream<GenotypeCalls> compatibleCalls;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Chromosome fittestChromosome();",
"public PopulationFilter(int nr)\n { \n super();\n inhabitants = nr;\n }",
"public void findIsolatedGenes(){\n\t\tHashMap isolated = new HashMap();\n\t\t//for each chromosome\n\t\tIterator it = genesSelect.keySet().iterator();\n\t\twhile (it.hasNext(... | [
"0.56021214",
"0.5265275",
"0.5264745",
"0.52517843",
"0.52322507",
"0.51307416",
"0.512483",
"0.51116055",
"0.49929103",
"0.49425867",
"0.4899979",
"0.48956406",
"0.48832223",
"0.4868192",
"0.48654965",
"0.48366874",
"0.4812393",
"0.47957265",
"0.47957203",
"0.47835642",
"0.... | 0.4941399 | 10 |
Token literal values and constants. Generated by org.javacc.parser.OtherFilesGenstart() | public interface SimpleGrParserConstants {
/** End of File. */
int EOF = 0;
/** RegularExpression Id. */
int NumberLit = 6;
/** RegularExpression Id. */
int BooleanLit = 7;
/** RegularExpression Id. */
int StringLit = 8;
/** RegularExpression Id. */
int Null = 9;
/** RegularExpression Id. */
in... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }",
"public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n ... | [
"0.71155787",
"0.70305866",
"0.6956046",
"0.6914663",
"0.6850541",
"0.6840152",
"0.6662246",
"0.6583701",
"0.64419836",
"0.64267457",
"0.63652784",
"0.631383",
"0.629485",
"0.6287227",
"0.6269712",
"0.62518096",
"0.624475",
"0.62288386",
"0.622461",
"0.62202245",
"0.61992085"... | 0.6670924 | 6 |
Establecemos los metodos de cada caso | public void ParImpar() throws IOException{
System.out.println("Ingrese un numero: ");
numero = leer.nextInt();
if (numero % 2 == 0)
System.out.println("El numero " + numero + " es par");
else
System.out.println("El numero " + numero + " es impar");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mostrarDados() {\n txtId.setText(\"\" + lista.get(indice).getId());\n txtNome.setText(lista.get(indice).getNome());\n txtEmail.setText(lista.get(indice).getEmail());\n txtSenha.setText(lista.get(indice).getSenha());\n preencheTabela();\n }",
"public void marcarTo... | [
"0.683546",
"0.6817625",
"0.67044526",
"0.6700371",
"0.66272444",
"0.6593755",
"0.65903467",
"0.6565204",
"0.6563739",
"0.6514349",
"0.6513149",
"0.6466959",
"0.64006597",
"0.63955724",
"0.63943964",
"0.6349256",
"0.63424885",
"0.63396055",
"0.633455",
"0.6334129",
"0.6330768... | 0.0 | -1 |
subclasses may override subclasses may override | public void completeResourceAdapter_ConfComplete(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void prot() {\n }",
"@Override\n protected void checkSubclass() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void comer() {\n\t\... | [
"0.71218264",
"0.6902035",
"0.684619",
"0.6821538",
"0.6796264",
"0.6723408",
"0.66966224",
"0.66966224",
"0.66966224",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
"0.6688979",
... | 0.0 | -1 |
subclasses may override subclasses may override subclasses may override subclasses may override subclasses may override | public void completeParameterType_PName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
// subclasses may override
// subclasses may override
// subclasses may override
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void prot() {\n }",
"@Override\n protected void checkSubclass() {\n }",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void dosomething() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tvoid methodAbstractAndSubclass... | [
"0.70165783",
"0.68576187",
"0.68155885",
"0.6793122",
"0.67270035",
"0.67254835",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915",
"0.6664915"... | 0.0 | -1 |
subclasses may override subclasses may override | public void completeRuleHTTP_HMethod(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void prot() {\n }",
"@Override\n protected void checkSubclass() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void comer() {\n\t\... | [
"0.71202815",
"0.69011277",
"0.6844959",
"0.6820635",
"0.6796313",
"0.6722267",
"0.66956747",
"0.66956747",
"0.66956747",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
"0.66881394",
... | 0.0 | -1 |
Creates new form CurrentCashBoxPanel | public CashBoxPanel(SaleController saleController, UsersDAO usersDAO, CashBoxesDAO cashBoxesDAO) {
this.saleController = saleController;
this.usersDAO = usersDAO;
this.cashBoxesDAO = cashBoxesDAO;
initComponents();
jButton_history.setVisible(User.getCurrentUser().hasPermissionOrI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public JPanel getNewClientAccountPanel() {\n clientAccountView = new ClientAccountView();\n clientAccountView.setAccNum(smCntr.getID());\n clientAccountView.setFormToAdd();\n return clientAccountView;\n }",
"private static void createAndShowGUI() {\n frame = new JFrame(\"Sho... | [
"0.644407",
"0.6300586",
"0.6231423",
"0.61121583",
"0.6104547",
"0.60676146",
"0.60535026",
"0.6053214",
"0.6006447",
"0.6004968",
"0.6004012",
"0.59620225",
"0.5957141",
"0.59515995",
"0.5950893",
"0.593553",
"0.59111816",
"0.59111655",
"0.59100914",
"0.5910078",
"0.5906077... | 0.6521183 | 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() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel_openDate = new javax.swing.JLabel();
jLabel3 = ... | {
"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.73195875",
"0.7291065",
"0.7291065",
"0.7291065",
"0.7286258",
"0.7248489",
"0.7213822",
"0.7208757",
"0.7195916",
"0.7190243",
"0.7184025",
"0.71591616",
"0.7148041",
"0.70930153",
"0.7080625",
"0.7056986",
"0.6987694",
"0.69770867",
"0.6955136",
"0.69538426",
"0.69452894... | 0.0 | -1 |
Service interface containing methods to manage warehouses. | public interface WarehouseService {
/**
* This method returns all warehouses data from database by calling respective repository methods.
*
* @return set of {@link Warehouse}s
*/
Set<Warehouse> getAllWarehouses();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface WarehouseManipulator {\n int newWarehouseRequest(String s, NewWarehouseModalBottomSheet mbs);\n int editWarehouseRequest(Warehouse w,String newName, EditWarehouseModalBottomSheet mbs);\n int removeWarehouseRequest(Warehouse w);\n List<Warehouse> getWarehouses(String role);\n int sho... | [
"0.6830508",
"0.6636139",
"0.6284013",
"0.62360275",
"0.61552125",
"0.61545825",
"0.5948793",
"0.5789638",
"0.5694451",
"0.56539536",
"0.56526285",
"0.56427443",
"0.56422544",
"0.56302243",
"0.5627802",
"0.5618553",
"0.56133765",
"0.55999506",
"0.5598217",
"0.5582973",
"0.557... | 0.7584068 | 0 |
This method was generated by MyBatis Generator. This method corresponds to the database table d_notifica_priorita | @Delete({ "delete from d_notifica_priorita", "where priorita_id = #{prioritaId,jdbcType=INTEGER}" })
int deleteByPrimaryKey(Integer prioritaId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Select({ \"select\", \"priorita_id, priorita_cod, priorita_desc, validita_inizio, validita_fine, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione\", \"from d_notifica_priorita\" })\n\t@Results({ @Result(column = \"priorita_id\", property = \"prioritaId\", jdbcType = JdbcType.INTEG... | [
"0.77601045",
"0.75835073",
"0.7036577",
"0.5956248",
"0.58587676",
"0.57645524",
"0.5692494",
"0.55224663",
"0.54399693",
"0.539614",
"0.5392722",
"0.53900665",
"0.53405434",
"0.5276605",
"0.5250458",
"0.5207004",
"0.5202744",
"0.51826584",
"0.5168523",
"0.5142875",
"0.51235... | 0.5355968 | 12 |
This method was generated by MyBatis Generator. This method corresponds to the database table d_notifica_priorita | @Insert({ "insert into d_notifica_priorita (priorita_cod, priorita_desc, ", "validita_inizio, validita_fine, ",
"utente_operazione, data_creazione, ", "data_modifica, data_cancellazione)",
"values (#{prioritaCod,jdbcType=VARCHAR}, #{prioritaDesc,jdbcType=VARCHAR}, ",
"#{validitaInizio,jdbcType=TIMESTAMP}, #{va... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Select({ \"select\", \"priorita_id, priorita_cod, priorita_desc, validita_inizio, validita_fine, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione\", \"from d_notifica_priorita\" })\n\t@Results({ @Result(column = \"priorita_id\", property = \"prioritaId\", jdbcType = JdbcType.INTEG... | [
"0.7758712",
"0.7581938",
"0.5958643",
"0.58574814",
"0.57657635",
"0.56951547",
"0.5524052",
"0.5440901",
"0.53976667",
"0.53955",
"0.5390703",
"0.5356333",
"0.5341127",
"0.5278638",
"0.5251762",
"0.52072173",
"0.5205692",
"0.51847464",
"0.51694494",
"0.5145082",
"0.5121546"... | 0.70364726 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.