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 |
|---|---|---|---|---|---|---|
METHODS Add a targeted entity | void addEntity(IViewEntity entity); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void add(E entity);",
"public void addEntity(Entity e)\r\n\t{\r\n\t\tentities.add(e);\r\n\t}",
"@Override\n\tpublic void addEntity( final Entity _entity )\n\t{\n\t\tif( _entity == null )\n\t\t{\n\t\t\tLogger.println( \"Attempting to add null entity.\", Logger.Verbosity.MAJOR ) ;\n\t\t\treturn ;\n\t\t}\n... | [
"0.7742894",
"0.7351899",
"0.7333879",
"0.73241466",
"0.7059058",
"0.69421846",
"0.6940553",
"0.68791425",
"0.6791859",
"0.6779802",
"0.67779744",
"0.6748623",
"0.6704525",
"0.66692734",
"0.6651178",
"0.6623806",
"0.6602298",
"0.659482",
"0.6562411",
"0.6562411",
"0.650361",
... | 0.7159194 | 4 |
Add a targeted entity as constraint | void addConstraintEntity(IViewEntity entity); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void addConstraint(String constraint) {\n\n\t}",
"Constraint createConstraint();",
"Constraint createConstraint();",
"public Constraint addConstraint() {\n\t\tConstraint newType = new Constraint();\n\t\tgetConstraint().add(newType);\n\t\treturn newType; \n\t}",
"public void addConstrain... | [
"0.6335638",
"0.6303737",
"0.6303737",
"0.6075967",
"0.60424775",
"0.5939207",
"0.5904072",
"0.58979434",
"0.5760978",
"0.5746646",
"0.56584984",
"0.5637769",
"0.5624358",
"0.5607157",
"0.5568153",
"0.5565783",
"0.55273294",
"0.5482911",
"0.54207695",
"0.5417874",
"0.54076034... | 0.7596246 | 0 |
Remove a linked entity | void removeEntity(IViewEntity entity); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void remove(Object entity) {\n\t\t\n\t}",
"abstract protected void removeEntity(Entity entity);",
"public void remove(E e) {\n\t\tentities.remove(e);\n\t}",
"@Override\n\tpublic void remove(Post entity) {\n\t\t\n\t}",
"public void removeEntity(Entity entity){\n entityList.remove(... | [
"0.71009094",
"0.7086035",
"0.70263416",
"0.69305295",
"0.6911162",
"0.69069254",
"0.6896306",
"0.6887363",
"0.67870927",
"0.6725754",
"0.6725754",
"0.6693719",
"0.66347533",
"0.6633869",
"0.6628104",
"0.6595461",
"0.65693384",
"0.65212905",
"0.64920837",
"0.64844024",
"0.646... | 0.6544873 | 17 |
Remove a linked entity as constraint | void removeConstraintEntity(IViewEntity entity); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void removeConstraintRelation(IViewRelation relation);",
"abstract protected void removeEntity(Entity entity);",
"@Override\n\tpublic void remove(Object entity) {\n\t\t\n\t}",
"void removeRelationship(DbRelationship rel) {\n objectList.remove(rel);\n fireTableDataChanged();\n }",
"public a... | [
"0.68250406",
"0.64729",
"0.6301068",
"0.6270966",
"0.62577724",
"0.62357646",
"0.62185365",
"0.6217872",
"0.6162544",
"0.61623454",
"0.61346895",
"0.6113839",
"0.6093101",
"0.6069902",
"0.603069",
"0.60153615",
"0.5975753",
"0.59620786",
"0.5942109",
"0.5942109",
"0.5941673"... | 0.7487949 | 0 |
Add a targeted relation | void addRelation(IViewRelation relation); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Relationship createRelationship();",
"public void createRelation(Agent source, Agent target, double relation) {\n this.gamygdala.createRelation(source, target, relation);\n }",
"org.hl7.fhir.ObservationRelated addNewRelated();",
"void addConstraintRelation(IViewRelation relation);",
"public void ... | [
"0.67634684",
"0.63898003",
"0.63855594",
"0.63533413",
"0.63390106",
"0.6332996",
"0.6296762",
"0.6267737",
"0.62621003",
"0.6200261",
"0.6158574",
"0.607225",
"0.60711664",
"0.60185575",
"0.5909867",
"0.5887614",
"0.5845752",
"0.58261585",
"0.5824706",
"0.5795749",
"0.57863... | 0.6975648 | 0 |
Add a targeted relation as constraint | void addConstraintRelation(IViewRelation relation); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.microsoft.schemas.crm._2011.contracts.ArrayOfConstraintRelation addNewConstraints();",
"public void addConstraint(final PgConstraint constraint) {\n constraints.add(constraint);\n }",
"@Override\n\tpublic void addConstraint(String constraint) {\n\n\t}",
"public Constraint addConstraint() {\n\... | [
"0.65684265",
"0.6316446",
"0.63009304",
"0.62736297",
"0.6160528",
"0.5985171",
"0.5985171",
"0.59213424",
"0.58704424",
"0.57692266",
"0.5740027",
"0.5730259",
"0.56724405",
"0.5653139",
"0.5639398",
"0.55996156",
"0.558997",
"0.5571763",
"0.55305564",
"0.5517115",
"0.54962... | 0.7590596 | 0 |
Remove a linked relation | void removeRelation(IViewRelation relation); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void delRelations();",
"public void delIncomingRelations();",
"void removeRelationship(DbRelationship rel) {\n objectList.remove(rel);\n fireTableDataChanged();\n }",
"void unsetFurtherRelations();",
"public void removeRelation(Relation relation) {\n \tif (relation.getSection() =... | [
"0.7354114",
"0.7304763",
"0.7194674",
"0.71843517",
"0.6985766",
"0.69655514",
"0.6625176",
"0.6611362",
"0.65687203",
"0.64791924",
"0.6458249",
"0.6398844",
"0.6376286",
"0.6363749",
"0.6362715",
"0.6354196",
"0.63116914",
"0.62609476",
"0.6251236",
"0.62210923",
"0.621869... | 0.7582743 | 0 |
Remove a linked relation as constraint | void removeConstraintRelation(IViewRelation relation); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void removeRelation(IViewRelation relation);",
"public void delIncomingRelations();",
"void unsetFurtherRelations();",
"public void delRelations();",
"void removeRelationship(DbRelationship rel) {\n objectList.remove(rel);\n fireTableDataChanged();\n }",
"public void removeNonMemberInher... | [
"0.7277848",
"0.69893354",
"0.6917811",
"0.6890697",
"0.6402915",
"0.635245",
"0.63500476",
"0.60995",
"0.6028782",
"0.5991161",
"0.59662044",
"0.591622",
"0.5901813",
"0.58199394",
"0.5819748",
"0.57932824",
"0.57867074",
"0.5762112",
"0.5755868",
"0.5754429",
"0.57479966",
... | 0.79159164 | 0 |
this method creates asks the user for the info while also checks that the diameter is correct. | public Wheel() throws Exception {
String brandInput = JOptionPane.showInputDialog(null, "Enter wheel's brand");
this.brand = brandInput;
String diameterInput = JOptionPane.showInputDialog(null, "Enter wheel's diameter.");
this.diameter = Double.parseDouble(diameterInput);
double proveDiameter= this.diameter;... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void inputInformation() throws IOException {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n System.out.println(\"Please enter shape: \");\n shape = input.readLine();\n\n System.out.println(\"Please... | [
"0.5998137",
"0.59646904",
"0.585471",
"0.5802272",
"0.57675743",
"0.5683919",
"0.5599339",
"0.5562919",
"0.55017847",
"0.54875624",
"0.54660183",
"0.5458157",
"0.54391867",
"0.5406223",
"0.5372723",
"0.5365387",
"0.53447443",
"0.53282356",
"0.53280216",
"0.5313652",
"0.52927... | 0.0 | -1 |
Multiply by the reciprocal. | public Complex divide(Complex other) {
double scale = (other.real * other.real) + (other.imaginary * other.imaginary);
return this.multiply(
new Complex(other.real / scale, -other.imaginary / scale));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract O reciprocal();",
"private void reciprocal()\n\t{\n\t\tif(Fun == null)\n\t\t{\n\t\t\tsetLeftValue();\n\t\t\tresult = calc.reciprocal ( );\n\t\t\tupdateText();\n\t\t\tsetLeftValue();\n\t\t}\n\t}",
"public Fraction reciprocal(){\n return new Fraction(this.denominator,this.numerator);\n ... | [
"0.7502424",
"0.7459185",
"0.7196824",
"0.7003957",
"0.6478955",
"0.6329555",
"0.5917671",
"0.59058094",
"0.5833074",
"0.57940745",
"0.56466866",
"0.56465036",
"0.5605503",
"0.55403215",
"0.552089",
"0.54738057",
"0.5466964",
"0.54399663",
"0.54178333",
"0.5408077",
"0.539947... | 0.0 | -1 |
System.out.println("Kampf ist vorbei, Runde: "+round+", Gewinner: "+i); | private void endFight(int i, int round) {
calcAndApplyDebrisfield();
if(i == 0) { // Vicory for att
def_pb = getPb(defPlanetId);
resDiff();
int cargoSpace = getCargoSpace();
long maxMetal = (long)(def_pg.getMetal()/2);
long maxCrystal = (long)(def_pg.getCrystal()/2);
long maxDeut = (long)(def... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void startRound(int round) {\n\t\tif (round != 1) {\n\t\t\tSystem.out.println(\" Vous avez effectuez votre : \" + round + \" ème attaques\\n\");\n\t\t} else {\n\t\t\tSystem.out.println(\" Vous avez effectuez votre : \" + round + \" ère attaque\\n\");\n\t\t}\n\n\t}",
"public void showOuterNguoi() {\n\t\t\t... | [
"0.63617605",
"0.6329148",
"0.62497246",
"0.6248506",
"0.6223942",
"0.6196458",
"0.6177232",
"0.61222565",
"0.60760194",
"0.6059584",
"0.6047278",
"0.60205674",
"0.6006501",
"0.59675586",
"0.5938061",
"0.5877729",
"0.5848837",
"0.5829718",
"0.58243376",
"0.58038205",
"0.57951... | 0.0 | -1 |
Inflate the layout for this fragment | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment_nearesthospitals, container, false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }",
"@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup... | [
"0.6739604",
"0.67235583",
"0.6721706",
"0.6698254",
"0.6691869",
"0.6687986",
"0.66869223",
"0.6684548",
"0.66766286",
"0.6674615",
"0.66654444",
"0.66654384",
"0.6664403",
"0.66596216",
"0.6653321",
"0.6647136",
"0.66423255",
"0.66388357",
"0.6637491",
"0.6634193",
"0.66251... | 0.0 | -1 |
Unique identifier for a ProgramDefinition. | public abstract long id(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getProgramId();",
"public Integer getProgramId();",
"public String getProgramId() {\n return pathsProvider.getProgramId();\n }",
"public int getProgramIdFromUI(String programName) throws ParseException;",
"public String createUniqueScriptInstanceIdentifier() {\n\n\t\tLOGGER.debug(\"Creating a ... | [
"0.7626198",
"0.72319174",
"0.6871854",
"0.64124525",
"0.6151157",
"0.610131",
"0.6041456",
"0.60047746",
"0.59981143",
"0.59467226",
"0.5946615",
"0.5929189",
"0.5880002",
"0.5874663",
"0.5871192",
"0.5862612",
"0.58584356",
"0.5853852",
"0.5846803",
"0.58317834",
"0.5827706... | 0.0 | -1 |
Descriptive name of a Program, e.g. Car Tab Rebate Program | public abstract String name(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getProgramName()\r\n \t{\r\n \t\treturn m_program.m_csSimpleName;\r\n \t}",
"public String getProgram() {\n return program;\n }",
"String getProgram()\n\t\t{\n\t\t\treturn mProgram;\n\t\t}",
"public void setProgramName(String _value){\r\n\t\tprogramName=_value;\r\n\t}",
"public void pickG... | [
"0.75280285",
"0.6791496",
"0.6526533",
"0.65102434",
"0.64544696",
"0.63365525",
"0.62784547",
"0.62519795",
"0.6228872",
"0.6221708",
"0.62175834",
"0.6067213",
"0.6055614",
"0.60543585",
"0.59983546",
"0.5987785",
"0.5972215",
"0.5951075",
"0.5949579",
"0.59256494",
"0.591... | 0.0 | -1 |
A human readable description of a Program. | public abstract String description(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getProgram() {\n return program;\n }",
"String getProgram()\n\t\t{\n\t\t\treturn mProgram;\n\t\t}",
"public static void p_show_info_program() {\n System.out.println(\"╔══════════════════════════════╗\");\n System.out.println(\"║ SoftCalculator V1.2 ║\");\n System... | [
"0.711863",
"0.6918308",
"0.6775416",
"0.65395576",
"0.6474533",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.64606625",
"0.6443983",
"0.6308561",
"0.62595457",
"0.... | 0.0 | -1 |
True if a question with the given question's ID is in the program. | public boolean hasQuestion(QuestionDefinition question) {
return hasQuestion(question.getId());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isProgramActive(String programId);",
"boolean hasQuestID();",
"boolean hasQuestID();",
"boolean hasQuestID();",
"boolean hasQuestID();",
"public boolean hasQuestion(long questionId) {\n if (questionIds.isEmpty()) {\n questionIds =\n Optional.of(\n blockDefinit... | [
"0.7119044",
"0.6872221",
"0.6872221",
"0.6872221",
"0.6872221",
"0.6726859",
"0.6667801",
"0.6667801",
"0.6667801",
"0.6667801",
"0.6309981",
"0.60167575",
"0.59861356",
"0.59458315",
"0.59093064",
"0.5869218",
"0.5844057",
"0.5820042",
"0.5818457",
"0.58088",
"0.5801244",
... | 0.5817906 | 19 |
True if a question with the given questionId is in the program. | public boolean hasQuestion(long questionId) {
if (questionIds.isEmpty()) {
questionIds =
Optional.of(
blockDefinitions().stream()
.map(BlockDefinition::programQuestionDefinitions)
.flatMap(ImmutableList::stream)
.map(ProgramQuestion... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isProgramActive(String programId);",
"boolean hasQuestId();",
"boolean hasQuestId();",
"boolean hasQuestId();",
"boolean hasQuestId();",
"boolean hasQuestID();",
"boolean hasQuestID();",
"boolean hasQuestID();",
"boolean hasQuestID();",
"public static boolean doesUserOwn(int userId... | [
"0.710213",
"0.64662945",
"0.64662945",
"0.64662945",
"0.64662945",
"0.6448159",
"0.6448159",
"0.6448159",
"0.6448159",
"0.63643867",
"0.6051336",
"0.59752655",
"0.58362037",
"0.58298707",
"0.5798416",
"0.57792956",
"0.57526255",
"0.57526255",
"0.57526255",
"0.5735741",
"0.57... | 0.7182641 | 0 |
Created by chenhuan on 2018/10/14. | public interface RolePermsMapper {
//根据角色查询权限
Set<Permission> getPermsByRoleId(Integer roleId);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\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.60476154",
"0.59089106",
"0.57272536",
"0.5683244",
"0.56759596",
"0.56759596",
"0.5639551",
"0.56289375",
"0.5603989",
"0.55886614",
"0.5569084",
"0.55578357",
"0.5544679",
"0.5533587",
"0.55119216",
"0.54970634",
"0.54960203",
"0.5495039",
"0.54902965",
"0.54902965",
"0.... | 0.0 | -1 |
Reads data from a file into arrays and processes the array | public void run()throws IOException
{
/*
* Data is read from the file using the Scanner class
* As data is read, the average of the grades is calculated
*
*/
// Declare the arrays and variables
int count; // count of students
double sum; ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void readArray(String fileName, int[] newArray) throws Exception{\n\n // Create DataInputStream object to read from binary file.\n // Use fileName from demo file and read into newArray in demo file.\n DataInputStream input = new DataInputStream(new FileInputStream(fileName));\n\n... | [
"0.6684084",
"0.65013796",
"0.6406973",
"0.6305909",
"0.6276239",
"0.60917825",
"0.6056825",
"0.60178643",
"0.599822",
"0.5991653",
"0.5948662",
"0.5939707",
"0.5933139",
"0.59027284",
"0.5896708",
"0.58714455",
"0.58434916",
"0.5835806",
"0.58096695",
"0.57961315",
"0.579097... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public Integer add(Role role) {
return roleDao.add(role);
} | {
"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 Integer update(Role role) {
return roleDao.update(role);
} | {
"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<Role> list(Map<String, Object> map) {
return roleDao.list(map);
} | {
"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 Integer getTotal(Map<String, Object> map) {
return roleDao.getTotal(map);
} | {
"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.66730285",
"0.65698135",
"0.6524193",
"0.64818907",
"0.6477969",
"0.6459897",
"0.64150065",
"0.6378023",
"0.62785167",
"0.6256323",
"0.62391806",
"0.6225302",
"0.6203955",
"0.6196986",
"0.6196986",
"0.6193411",
"0.6188864",
"0.6175446",
"0.61352557",
"0.6129083",
"0.608151... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public Role findById(Integer id) {
return roleDao.findById(id);
} | {
"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 Integer delete(Integer id) {
return roleDao.delete(id);
} | {
"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 |
An example of how to validate the worksheet column cells. | @Override
protected void validateColumn(WorksheetColumn worksheetColumn,
String changedValue) {
if ("foo".equals(changedValue)) {
worksheetColumn.setErrorKey("foo.error");
} else {
worksheetColumn.removeError();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void validateCell( int row, int column )\n {\n }",
"@Test\r\n public void Test006TakeUserInputInValidColumn()\r\n {\r\n gol.input = new Scanner(new ByteArrayInputStream(\"2 1 2 20 2 3 2 4 -1\".getBytes()));\r\n gol.takeUserInput();\r\n assertTrue(gol.grid[2][1] == 1 && gol.grid... | [
"0.740747",
"0.6546069",
"0.63819855",
"0.6271714",
"0.62300634",
"0.6179038",
"0.61166775",
"0.6086603",
"0.60693717",
"0.60203385",
"0.60175693",
"0.6003255",
"0.5999822",
"0.59888166",
"0.59791434",
"0.59571326",
"0.59226614",
"0.5860601",
"0.58523715",
"0.5850109",
"0.584... | 0.6456174 | 2 |
need to connect address (ip) which is a string into a string (inetAddress) object | public boolean openConnection(String address) {
try {
// the following line wont work because server already occupies that port
// socket = new DatagramSocket(port);
// now we will bind to any port that is available
// however this way server needs to know the port we are sending from
// UDP prot... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getAddr();",
"public InternetAddress getFromAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"InetAddress getAddress();",
... | [
"0.7131306",
"0.7049835",
"0.6786688",
"0.6786688",
"0.6786688",
"0.6786688",
"0.6786688",
"0.6786688",
"0.67131025",
"0.67131025",
"0.66900635",
"0.66791934",
"0.6632596",
"0.65863204",
"0.65257305",
"0.65257305",
"0.65257305",
"0.65257305",
"0.65257305",
"0.65257305",
"0.65... | 0.0 | -1 |
need final because run is anonymous inner class | public void send(final byte[] data) {
send = new Thread("Send") {
// anaonymous class prevents us from making new class that implemtents Runnable
public void run(){
DatagramPacket packet = new DatagramPacket(data,data.length, ip, port);
try {
socket.send(packet);
} catch (IOException e) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void run(){}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"public final void run() {\r\n }",
"@Override\n\t\t\tpublic void run() {\n\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
... | [
"0.72892547",
"0.7049616",
"0.7048593",
"0.7032514",
"0.7027696",
"0.7027696",
"0.7023956",
"0.7023956",
"0.70031303",
"0.70031303",
"0.6981132",
"0.69795746",
"0.69739264",
"0.69614273",
"0.69614273",
"0.69614273",
"0.69127506",
"0.69127506",
"0.6906476",
"0.6906476",
"0.690... | 0.0 | -1 |
anaonymous class prevents us from making new class that implemtents Runnable | public void run(){
DatagramPacket packet = new DatagramPacket(data,data.length, ip, port);
try {
socket.send(packet);
} catch (IOException e) {
e.printStackTrace();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MyRunnable(){\t\n\t}",
"private interface CheckedRunnable {\n void run() throws Exception;\n }",
"interface Runnable {\n void execute() throws Throwable;\n default void run() {\n try {\n execute();\n } catch(Throwable t) {\n throw ... | [
"0.7437982",
"0.7266642",
"0.6986044",
"0.6883336",
"0.6870408",
"0.6832347",
"0.65767086",
"0.6541706",
"0.653731",
"0.6493179",
"0.6479454",
"0.64634395",
"0.64524937",
"0.64412135",
"0.64165276",
"0.63656306",
"0.6362395",
"0.63431513",
"0.6321917",
"0.6313276",
"0.6310025... | 0.0 | -1 |
dont want to send package with size larger than kb | public String receive() {
byte[] data = new byte[1024];
DatagramPacket packet = new DatagramPacket(data, data.length);
//put data into packet
try {
// receive data that is send to socket, which knows the port
//socket will sit until it receives sth --> will freeze application
// need for threads
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPackageSize(int size){\r\n }",
"int getServerPayloadSizeBytes();",
"@Override\n public void handleMessage(Message msg) {\n sendEmptyMessageDelayed(0, 3000);\n if (resClient.getSendBufferFreePercent() <= 0.05) {\n Toast.makeText(Streamin... | [
"0.6461547",
"0.613846",
"0.59462",
"0.59075326",
"0.5752641",
"0.5752516",
"0.56580293",
"0.5646574",
"0.5642733",
"0.5600271",
"0.5550618",
"0.5543457",
"0.5531028",
"0.55182666",
"0.5510984",
"0.5490072",
"0.5464494",
"0.5452791",
"0.5446252",
"0.5441609",
"0.54357356",
... | 0.0 | -1 |
dont terminate when it is used | public void run(){
synchronized (socket) {
socket.close();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void terminate() {\n\t\r\n\t}",
"public void terminate() {\n\t}",
"public void terminate() {\n\t}",
"public void terminate() {\n\t}",
"@Override\n public final void terminate() {\n }",
"public void terminate() {\n }",
"public void terminate();",
"void terminate();",
"... | [
"0.69544613",
"0.6918962",
"0.6918962",
"0.6918962",
"0.6896004",
"0.6718687",
"0.66932184",
"0.66445065",
"0.66445065",
"0.66445065",
"0.66445065",
"0.66445065",
"0.66139823",
"0.6568534",
"0.65579987",
"0.6530413",
"0.65272033",
"0.6526809",
"0.6507576",
"0.65005237",
"0.64... | 0.0 | -1 |
method to search an element using ternary search algorithm | public static int ternarySearch(int[] arr, int low, int high, int data) {
if (low <= high) {
int mid1 = low + (high - low) / 3;
int mid2 = high - (high - low) / 3;
if (data == arr[mid1])
return mid1;
else if (data == arr[mid2])
return mid2;
else if (data < arr[mid1])
retu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean search(T element);",
"public T find(T element);",
"public abstract Iter<Boolean> search(T element);",
"int search(E item);",
"private void search(Object value)\r\n\t\t{\n\r\n\t\t}",
"public int Search(Element e){\n\tint int_ret_val ;\n\tList aux01 ;\n\tElement var_elem ;\n\tboolean var_end... | [
"0.74570984",
"0.7204477",
"0.70815605",
"0.6707192",
"0.66871214",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
"0.6574042",
... | 0.0 | -1 |
Determine whether this course is externally managed | public void init() {
externallyManaged = getCourse().isExternallyManaged();
// Get the default search text
if(StringUtils.trimToNull(searchText) == null) {
searchText = JsfUtil.getLocalizedMessage("roster_search_text");
}
// Get the site enrollments
List siteStudents;
if(searchText.equals(JsfUtil.get... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isExternallyManaged();",
"boolean getIsManaged();",
"public boolean isExternal()\n {\n return false;\n }",
"public boolean isCollectorHostExternal(String clusterName);",
"boolean hasExternalAttributionModel();",
"boolean hasExtern... | [
"0.6541918",
"0.65183556",
"0.6420811",
"0.6269018",
"0.62395227",
"0.6207387",
"0.6185073",
"0.61838096",
"0.608948",
"0.60257316",
"0.595157",
"0.58435416",
"0.57782555",
"0.57772917",
"0.5771294",
"0.5753364",
"0.5728508",
"0.56668836",
"0.5659413",
"0.56590676",
"0.565530... | 0.0 | -1 |
Created by LeidyZuluaga on 13/06/16. | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_view_times_manager_detail);
expandableListView = (ExpandableListView) findViewById(R.id.elvCollaborator);
listDetail = new ArrayList<>();
expand... | {
"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\n... | [
"0.6211446",
"0.60265297",
"0.5970745",
"0.5923373",
"0.58919007",
"0.58919007",
"0.58873373",
"0.58840567",
"0.5861458",
"0.5851131",
"0.5839344",
"0.5833579",
"0.58219814",
"0.5810128",
"0.57800645",
"0.5775014",
"0.57531816",
"0.57182646",
"0.571392",
"0.56875455",
"0.5682... | 0.0 | -1 |
navigate to next screen | @Override
public void run() {
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);
startActivity(intent);
finish();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void goToNextActivity() {\n startActivity(new Intent(this,NextActivity.class));\n }",
"public void goToNextPage() {\n nextPageButton.click();\n }",
"private void nextScreen() {\n mHandler.post(new Runnable() {\n @Override\n public void run() {\n ... | [
"0.7420185",
"0.7398687",
"0.713069",
"0.69096273",
"0.6894213",
"0.6688725",
"0.6657274",
"0.6635422",
"0.66185373",
"0.66026694",
"0.6563938",
"0.654127",
"0.6521042",
"0.64876914",
"0.6452152",
"0.6433632",
"0.6426445",
"0.63787395",
"0.6334103",
"0.6331265",
"0.63206303",... | 0.0 | -1 |
general information about offer to grant | public interface Offer {
/**
* information about provider
* @return
*/
OperationUser getOfferProvider();
/**
* short description of offer
* @return
*/
String getOfferSummary();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static int getAcceptDecision(Offer offer) {\n\t\treturn 0;\n\t}",
"public long getStreetCredGain();",
"Offer getOffer();",
"@Override\n\tpublic String getOffer() {\n\t\treturn \"Get 10% of on your next purchase\";\n\t}",
"public int getWorkCredGain();",
"int getPants();",
"@Override\n protec... | [
"0.58651364",
"0.58307767",
"0.5799613",
"0.5702101",
"0.5639372",
"0.5507887",
"0.5427707",
"0.5412484",
"0.53944385",
"0.5366899",
"0.5365294",
"0.5361802",
"0.5353719",
"0.5340032",
"0.53166395",
"0.5312183",
"0.52659243",
"0.5237627",
"0.5229675",
"0.52222866",
"0.5203732... | 0.5822257 | 2 |
short description of offer | String getOfferSummary(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic String getOffer() {\n\t\treturn \"Get 10% of on your next purchase\";\n\t}",
"@Override\n public String getDescription() {\n return \"Publish exchange offer\";\n }",
"Offer getOffer();",
"@Override\n public String getDescription() {\n ... | [
"0.7526069",
"0.73470974",
"0.70044523",
"0.6776733",
"0.67574835",
"0.67462116",
"0.6735456",
"0.6703463",
"0.6678126",
"0.66599476",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"0.66478366",
"... | 0.72815746 | 2 |
Creates new JPA Repository with custom Tree Discriminator. | public JpaNestedNodeRepositoryConfiguration(
EntityManager entityManager, Class<N> nodeClass, Class<ID> idClass, JpaTreeDiscriminator<ID, N> treeDiscriminator) {
this.treeDiscriminator = treeDiscriminator;
this.entityManager = entityManager;
this.nodeClass = nodeClass;
this.i... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"RepositoryType createRepositoryType();",
"TypeRepository createTypeRepository();",
"@Repository\npublic interface ItemComboRepository extends Neo4jRepository<ItemCombo, Long> {\n\n ItemRepository findByCode(String code);\n\n}",
"public interface NodeTypeRepository extends CrudRepository<NodeType,Long> {\n... | [
"0.6825506",
"0.65568817",
"0.57375896",
"0.5727925",
"0.56575346",
"0.5470636",
"0.5454329",
"0.5433983",
"0.54021674",
"0.5354381",
"0.5277634",
"0.5265809",
"0.52549374",
"0.52044153",
"0.51732045",
"0.5125251",
"0.5110747",
"0.50715953",
"0.5053443",
"0.5051946",
"0.50415... | 0.5521537 | 5 |
Creates new JPA Repository with no Tree Discriminator. | public JpaNestedNodeRepositoryConfiguration(EntityManager entityManager, Class<N> nodeClass, Class<ID> idClass) {
this(entityManager, nodeClass, idClass, new MapJpaTreeDiscriminator<>());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"RepositoryType createRepositoryType();",
"TypeRepository createTypeRepository();",
"TRepo createRepo();",
"@NoRepositoryBean\npublic interface AbstractEntityRepository<T extends AbstractEntity> extends JpaRepository<T, Long>\n{\n}",
"@Override\n public CreateRepositoryResult createRepository(CreateRepos... | [
"0.6694891",
"0.6281815",
"0.60698855",
"0.593791",
"0.5910675",
"0.58754265",
"0.5809769",
"0.5751289",
"0.5557519",
"0.5553921",
"0.55054307",
"0.5445601",
"0.5400149",
"0.5372431",
"0.53646564",
"0.5348607",
"0.5336957",
"0.5330669",
"0.5313077",
"0.5288869",
"0.5287716",
... | 0.0 | -1 |
Get affected by an ability. | @Override
public void accept(final Ability ability) {
ability.affect(this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"AbilityDamage getAbilityDamage();",
"AbilityTarget getAbilityTarget();",
"@Override\n\tpublic Affectation getAffectation(int idAff) {\n\t\treturn dao.getAffectation(idAff);\n\t}",
"public abstract Ability[] getAbilities();",
"public void abilityOne() {\n ability(map.getCurrentTurnHero().getAbilities... | [
"0.67269295",
"0.62749356",
"0.6039876",
"0.5973703",
"0.5921558",
"0.5717288",
"0.56784785",
"0.55884904",
"0.55884904",
"0.55884904",
"0.55884904",
"0.55884904",
"0.5549514",
"0.55474937",
"0.54896593",
"0.54749346",
"0.54736847",
"0.546263",
"0.5447455",
"0.5420236",
"0.53... | 0.5675975 | 7 |
/ Begin Protected Region [[user]] / End Protected Region [[user]] | private VarietyPackage() {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@BeforeGroups(groups = \"REGION_ADMIN\")\n protected void loginRegionAdmin() throws Exception {\n login(\"region@eos.cz\", \"region\");\n }",
"void tempInRegionUI();",
"private void t2() {\n // read from a super region, write to a sub region: keep both\n readProtected();\n writeDefault();... | [
"0.572606",
"0.5661151",
"0.5541952",
"0.5534831",
"0.53766334",
"0.53282255",
"0.53265214",
"0.53100324",
"0.53019756",
"0.5284465",
"0.5239375",
"0.5239375",
"0.5239375",
"0.5239375",
"0.52314025",
"0.52270883",
"0.52270883",
"0.52270883",
"0.5223046",
"0.5218256",
"0.52155... | 0.0 | -1 |
Spring Data JPA repository for the AtApplicantAcc entity. | @SuppressWarnings("unused")
@Repository
public interface AtApplicantAccRepository extends JpaRepository<AtApplicantAcc, Long> {
List<AtApplicantAcc> findByIdApplicantId(Long id);
AtApplicantAcc findById(Long id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SuppressWarnings(\"unused\")\n@Repository\npublic interface AtApplicantsSchoolsRepository extends JpaRepository<AtApplicantsSchools, Long> {\n List<AtApplicantsSchools> findByIdApplicantId(Long id);\n AtApplicantsSchools findById(Long id);\n}",
"List<ApplicantDetailsResponse> getAllApplicants() throws Ser... | [
"0.6500802",
"0.5931544",
"0.5835854",
"0.58022785",
"0.5720909",
"0.56979764",
"0.56847036",
"0.5628011",
"0.5597075",
"0.5574721",
"0.5561313",
"0.5533427",
"0.55125976",
"0.55125976",
"0.55125976",
"0.55125976",
"0.55125976",
"0.55125976",
"0.55125976",
"0.55125976",
"0.54... | 0.77413017 | 0 |
create a chart set titles | public void createChart(StatisticPreviewChartViewModel statistic, Chart chart){
chart.getTitle().setText(mainUser.getUsername());
chart.getAxisSet().getXAxis(0).getTitle().setText("Dzień");
chart.getAxisSet().getYAxis(0).getTitle().setText("Kwoty");
// create scatter series
ILineSeries seri... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Text createTitle() {\n\t\tText title = new Text(\"Selecteer Gasten\");\n\t\ttitle.getStyleClass().add(\"h1\");\n\t\ttitle.setFont(Font.font(22));\n\t\treturn title;\t\t\n\t}",
"private void addTitle() {\n\t\tJXPanel titlePanel = new JXPanel();\n\t\ttitlePanel.setLayout(null);\n\t\ttitlePanel.setSize(180, ... | [
"0.62829185",
"0.62648445",
"0.62159497",
"0.6181867",
"0.61593777",
"0.6119729",
"0.6102008",
"0.6055335",
"0.6052448",
"0.5984976",
"0.59823",
"0.59557885",
"0.594423",
"0.59059954",
"0.5898253",
"0.58738613",
"0.5848065",
"0.5814709",
"0.58124906",
"0.58069324",
"0.5799455... | 0.0 | -1 |
Generic method to automate | public void checkOtherFooterLinks(String linkText,String url,String finder,String pageText){
WebElement labelLink = driver.findElement(By.xpath(linkText));
labelLink.click();
assertTrue(driver.getCurrentUrl().equals(url), "Page is missing");
if(driver.getCurrentUrl().equals(url)){
WebElement text = driver... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void testGenericMethod() {\n \n }",
"public abstract Result<T> mo66250a();",
"private void constructionHelper(GenericServiceResult genericServiceResult) {\n\n assertEquals(this.string, genericServiceResult.get(\"string\"));\n assertEquals(this.integer, genericServiceResult.get(\"... | [
"0.56364334",
"0.5250442",
"0.5167333",
"0.51622844",
"0.5156509",
"0.5141944",
"0.51415616",
"0.5126186",
"0.50984764",
"0.5089112",
"0.50674415",
"0.50648713",
"0.5058034",
"0.50484043",
"0.5038702",
"0.5019149",
"0.5008189",
"0.50071084",
"0.49944994",
"0.49854502",
"0.498... | 0.0 | -1 |
I was able to use a.removeAll(b) instead of this. | public static <E> boolean intersects(Set<E> a, Set<E> b) {
if (!(a.size() < b.size())) {
// The documentation for Sets.intersection() suggests that it's best that the first set be smaller.
// Hopefully they actually tested that! :D
// (Could just use that. But, uh, this code ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testRemoveAll() {\n\t\tSet<Integer> setA = new HashSet<>(Arrays.asList(1, 2, 3, 4, 5));\n\t\tSet<Integer> setB = new HashSet<>(Arrays.asList(9, 8, 7, 6, 5, 4, 3));\n\t\tsetA.removeAll(setB);\n\t\tSet<Integer> union = new HashSet<>(Arrays.asList(1, 2));\n\t\tassertEquals(setA, union);\n\t}",
... | [
"0.7650577",
"0.7585007",
"0.730709",
"0.7101635",
"0.6983502",
"0.685387",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.68258953",
"0.6754357",
"0.6738438",
"0.672... | 0.0 | -1 |
Sugestao do Daniel Oliveira, de comparacao de objeto mensagem, excelente. | @Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (!(obj instanceof Message))
return false;
Message other = (Message) obj;
if (ip == null) {
if (other.ip != null)
return false;
} else if (!ip.equals(other.ip))
return false;
if... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int compare(mess m){\n if (m.get_avail()!=this.get_avail()){\r\n \t//System.out.println(\"yes\");\r\n if (m.get_avail()>this.get_avail())return 1;\r\n else return -1;\r\n }\r\n else if (m.get_nutrition()!=this.get_nutrition()){\r\n \t//System.out.prin... | [
"0.6248364",
"0.6220077",
"0.6194671",
"0.60634005",
"0.5982932",
"0.5943276",
"0.5931574",
"0.5928068",
"0.59236485",
"0.5892046",
"0.579496",
"0.57835627",
"0.5759109",
"0.5752842",
"0.5734437",
"0.5716798",
"0.57076746",
"0.5692751",
"0.56864005",
"0.5683893",
"0.5647009",... | 0.0 | -1 |
Sugestao do Daniel Olivera (Muito boa) de impressao direta do objeto via toString(); | @Override
public String toString() {
return "[" + this.getTimestamp() + "] " + this.getOwnerName() + " -> " + this.getText();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"Str... | [
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"0.6895365",
"... | 0.0 | -1 |
AUTOMATICALLY SETS ITS CREATION TIME | public Message () {
this.setCreationtime(Calendar.getInstance().getTimeInMillis());
setTimestamp();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setupTime() {\n this.start = System.currentTimeMillis();\n }",
"public long timeOfCreation() {\n\t\treturn timeOfCreation ;\n\t}",
"private void setCreateTime(long createTime) {\n this.createTime = createTime;\n }",
"public void setCreateTime(Date createTime)\n/* */ {... | [
"0.71428776",
"0.71060026",
"0.6806087",
"0.67819357",
"0.6620115",
"0.6599305",
"0.65711826",
"0.65645427",
"0.6526878",
"0.6526878",
"0.65093076",
"0.649846",
"0.6465656",
"0.6465656",
"0.6446447",
"0.6436524",
"0.6420416",
"0.6419808",
"0.6388252",
"0.63658535",
"0.6365853... | 0.0 | -1 |
send a JS event | public static void sendEvent(final ReactContext context, final String eventName, Object body) {
if (context != null) {
context
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
.emit(eventName, body);
} else {
Log.d(TAG, "Missing context - cannot send event!");
}... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void sendEvent(Event event);",
"private void sendMessageToJs(JSONObject event, CallbackContext callback) {\n final PluginResult result = new PluginResult(PluginResult.Status.OK, event);\n result.setKeepCallback(true);\n callback.sendPluginResult(result);\n }",
"public static void... | [
"0.68757355",
"0.62616974",
"0.60600466",
"0.5894746",
"0.582574",
"0.57958806",
"0.5786549",
"0.5761753",
"0.5750387",
"0.5745083",
"0.572015",
"0.5716612",
"0.57065713",
"0.5543319",
"0.5539611",
"0.5534899",
"0.55331296",
"0.55150616",
"0.5514698",
"0.55073285",
"0.5501797... | 0.0 | -1 |
We need to check if app is in foreground otherwise the app will crash. | public static boolean isAppInForeground(Context context) {
ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
List<ActivityManager.RunningAppProcessInfo> appProcesses =
activityManager.getRunningAppProcesses();
if (appProcesses == null) {
retu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isAppInForeground() {\n ActivityManager manager = (ActivityManager) this.getSystemService(Context.ACTIVITY_SERVICE);\n\n List<ActivityManager.RunningAppProcessInfo> appProcesses = manager.getRunningAppProcesses();\n\n if (appProcesses == null) {\n return false;\n ... | [
"0.7934396",
"0.7357652",
"0.7165568",
"0.7070657",
"0.67891836",
"0.66902685",
"0.63056487",
"0.6158254",
"0.60339606",
"0.5944531",
"0.58996564",
"0.58461136",
"0.58330244",
"0.5819071",
"0.58176833",
"0.577469",
"0.573118",
"0.5686236",
"0.56569874",
"0.56527466",
"0.56495... | 0.741193 | 1 |
Creates the necessary imports for a type. | public static Collection<String> createNecessaryImportsForTypeInClass(final String type) {
final Set<String> imports = new HashSet<String>();
if (TypeUtils.isListOrSet(type)) {
addCollectionImports(type, imports);
}
else {
if (!TypeUtils.isPrimitiveType(type)) {
imports.add(type);
}
}
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"TypeImport createTypeImport();",
"Imports createImports();",
"Import createImport();",
"Import createImport();",
"TopLevelImport createTopLevelImport();",
"ImportDeclaration createImportDeclaration();",
"@Test\r\n public void testImportRedundancy() throws ClassNotFoundException\r\n {\r\n T... | [
"0.81787866",
"0.7139646",
"0.6809299",
"0.6809299",
"0.61033875",
"0.6018389",
"0.5751293",
"0.56659293",
"0.54580307",
"0.5446249",
"0.5344641",
"0.53325284",
"0.5324426",
"0.5256486",
"0.52509505",
"0.5239544",
"0.5239544",
"0.5239544",
"0.5192927",
"0.5189482",
"0.5182794... | 0.63188034 | 4 |
Checks if a given String contains import statements and returns them as a Set. | public static Set<String> onlyImports(final String type) {
final Set<String> imports = new HashSet<String>();
final Matcher matcher = NameUtils.IMPORT_STATEMENT_PATTERN.matcher(type);
while (matcher.find()) {
imports.add(matcher.group());
}
return imports;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static List<String> checkImports(CompilationUnit cu) {\n\t\tList<String> list = new ArrayList<>();\n\t\tImportCollector ic = new ImportCollector();\n\t\tic.visit(cu, list);\n\t\treturn list;\n\t}",
"static public String[] parseImport(String value) {\n \treturn value.split(\";\");\n }",
"private ... | [
"0.6139017",
"0.610832",
"0.601725",
"0.57967126",
"0.5744882",
"0.55991006",
"0.5574813",
"0.55536777",
"0.5471258",
"0.5436261",
"0.5426482",
"0.53852385",
"0.5368773",
"0.5337675",
"0.53053373",
"0.52950203",
"0.52764666",
"0.5249482",
"0.524187",
"0.5219686",
"0.52179486"... | 0.7177023 | 0 |
Perform tasks when user clicked buttons on the UI, open the browser , save file or cancel | @Override
public void actionPerformed(ActionEvent e) {
if(e.getSource()==browse){
if (chooser == null){
chooser = new JFileChooser();
chooser.setCurrentDirectory(new java.io.File(projectPath));
chooser.setDialogTitle("Find Folder");
chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString url = \"Aide.html\";\r\n\t\t\t\tFile htmlFile = new File(url);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tDesktop.getDesktop().browse(htmlFile.toURI());\r\n\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t... | [
"0.67830175",
"0.6528472",
"0.6523565",
"0.6498823",
"0.6464747",
"0.6409014",
"0.63940805",
"0.6388375",
"0.6348719",
"0.63475215",
"0.6295525",
"0.6284142",
"0.6256847",
"0.62350667",
"0.62290186",
"0.6209255",
"0.6176667",
"0.6136296",
"0.6099498",
"0.6096245",
"0.6095023"... | 0.57014984 | 75 |
save to the file to selected folder | public void saveFile(){
// the files name
String fileName = nameOfFile.getText();
String folderName = saveTo.getText();
String pattern = "^[a-zA-Z0-9_]*$";
String seperator = System.getProperty("file.separator");
//checks if file name is valid
if (!fileName.matches(pattern)){
if (mf != null){
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void save_to_file() {\n\t\tthis.setAlwaysOnTop(false);\n\t\t\n\t\t/**\n\t\t * chose file with file selector \n\t\t */\n\t\t\n\t\tFileDialog fd = new FileDialog(this, \"Choose a save directory\", FileDialog.SAVE);\n\t\t\n\t\t//default path is current directory\n\t\tfd.setDirectory(System.getProperty(\"user.dir\"));... | [
"0.71206343",
"0.711006",
"0.7017667",
"0.69465923",
"0.6938499",
"0.690592",
"0.689975",
"0.68931025",
"0.6891862",
"0.68658257",
"0.685879",
"0.68467057",
"0.6820723",
"0.67874646",
"0.67833537",
"0.6760197",
"0.6728978",
"0.6718278",
"0.66762716",
"0.6627822",
"0.6617135",... | 0.61701745 | 76 |
Set the properties (rate,pitch etc..) for the synthetic speech | public void setSyntheticSpeechAttributes(String message,JLabel statuslbl,JProgressBar progressBar, String voice, double rate, int pitchStart, int pitchEnd){
this.message = message;
this.progressBar=progressBar;
this.statuslbl=statuslbl;
this.voice=voice;
this.rate=rate;
this.pitchStart=pitchStart;
this.pi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setUpSound() {\n try {\n generateTone();\n setFrequencyLabel();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"public void setSpeechRate(int speechRate) {\n mSelf.setSpeechRate(speechRate);\n }",
"public void s... | [
"0.6945772",
"0.6478518",
"0.63737905",
"0.63020617",
"0.62552416",
"0.6133293",
"0.60303855",
"0.60195714",
"0.6017611",
"0.59639823",
"0.59345275",
"0.59243906",
"0.59165674",
"0.58480036",
"0.5846578",
"0.58418",
"0.5806842",
"0.57976675",
"0.57910544",
"0.57679856",
"0.57... | 0.68112206 | 1 |
add pin in map view with the information of the selected location | @Override
public void onMapReady(GoogleMap googleMap) {
mMap = googleMap;
if(null!=sampleJsonModel){
LatLng sydney = new LatLng(Double.valueOf(sampleJsonModel.getLocation().getLatitude()), Double.valueOf(sampleJsonModel.getLocation().getLongitude()));
mMap.addMarker(new Marke... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\tpublic void onMapClick(LatLng arg0) {\n\t\t\t\tfinal LatLng location = arg0;\n \tAlertDialog builder = new AlertDialog.Builder(MainActivity.this)\n\t .setMessage(\"Do you want to add your location here?\")\n\t .setPositiveButton(\"Yes\", new DialogInterface.O... | [
"0.68978363",
"0.67660695",
"0.67410755",
"0.664748",
"0.66069275",
"0.6585642",
"0.6538931",
"0.6500783",
"0.64980197",
"0.64110106",
"0.6406645",
"0.6369001",
"0.6363023",
"0.6349982",
"0.6292427",
"0.62585783",
"0.62545353",
"0.6215206",
"0.6210322",
"0.6203957",
"0.619211... | 0.0 | -1 |
TODO Autogenerated method stub | public int compare(Object o1, Object o2) {
return 0;
} | {
"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 |
Takes an Readable object and an EnhancedImageModel object to setup the controller in order to process the inputs specified in the Readable object using the EnhancedImageModel. | public ControllerImpl(Readable in, EnhancedImageModel model) {
super(model);
this.in = in;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface ImageRenderer {\n /** Set displayed image from ImageProvider. This method is recommended,\n * because it allows the Rendered to choose the most efficient transfer\n * format. \n */\n void setImageFromSpec(ImageProvider spec);\n\n /** Set displayed image from buffered image. */... | [
"0.56721485",
"0.55056745",
"0.54911476",
"0.54064727",
"0.5368156",
"0.53535306",
"0.528575",
"0.52835125",
"0.52517337",
"0.52394927",
"0.5151989",
"0.51517636",
"0.50891554",
"0.5087392",
"0.5015852",
"0.5006236",
"0.5006081",
"0.49708876",
"0.49559772",
"0.4951963",
"0.49... | 0.7597842 | 0 |
Processes the input present in the readable object to execute the commands by calling appropriate command. | @Override
public void processInput() throws IllegalArgumentException, InputMismatchException,
FileNotFoundException {
Scanner scanner = new Scanner(this.in);
while (scanner.hasNext()) {
String input = scanner.next();
switch (input) {
case "q":
return;
case "load... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void acceptCommands() {\n\t\tScanner input = new Scanner(System.in);\n\t\tInteractiveCommandParser commandParser = new InteractiveCommandParser(\n\t\t\t\tinput, this);\n\t\tcommandParser.readCommands(); // blocking command reader\n\t}",
"private void handleInvocationCommand() throws IOException, ClassNot... | [
"0.66213965",
"0.6578318",
"0.6469232",
"0.6417695",
"0.637724",
"0.6358706",
"0.6326564",
"0.6294905",
"0.62633985",
"0.62458694",
"0.6244996",
"0.6166739",
"0.61587393",
"0.61339164",
"0.6105946",
"0.60699904",
"0.6068059",
"0.60595745",
"0.6009329",
"0.59925354",
"0.598460... | 0.67383605 | 0 |
Handle the request to "/basket" URL to go to the basket page. | @GetMapping("/basket")
public String getBasket(HttpServletRequest request, Model model) {
Map<Product, Integer> productsInBasket = basketService.getProductsInBasket(request);
model.addAttribute("items", productsInBasket);
try {
Client clientForView = clientService.getClientForVie... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Then(\"^view basket$\")\r\n\tpublic void view_basket() throws Throwable {\n\t\tverbose(\"***********************************************************\");\r\n\t\tAssert.assertTrue(navigate_rsc.viewbasket());\r\n\t\tverbose(\"***********************************************************\");\r\n\t \r\n\t}",
"@Test \n... | [
"0.6599431",
"0.5862584",
"0.562068",
"0.55725986",
"0.5416117",
"0.5401285",
"0.5344774",
"0.5331036",
"0.52810633",
"0.5279256",
"0.5220957",
"0.52203304",
"0.5203084",
"0.520185",
"0.5198865",
"0.51872206",
"0.51617295",
"0.5149296",
"0.5133208",
"0.5131469",
"0.5107609",
... | 0.64770997 | 1 |
Handle the AJAX request to "/basket" URL to add one item of the particular product to the basket. | @GetMapping(value = "/basket", produces = {MediaType.APPLICATION_JSON_VALUE})
@ResponseBody
public ResponseEntity<Integer> addToBasketAjax(@RequestParam(name = "item") int id,
HttpSession session) {
Integer shop_basket = basketService.prepareProductsFor... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@RequestMapping(\n method = RequestMethod.POST,\n consumes = MediaType.APPLICATION_JSON_VALUE,\n path = \"{productId}\"\n )\n public void addProductToShoppingCart(@PathVariable(\"productId\") UUID productId){\n shoppingCartService.insertProduct(productId);\n }",
"... | [
"0.65612066",
"0.63380855",
"0.6162193",
"0.6138692",
"0.6053667",
"0.60467744",
"0.6040623",
"0.6025999",
"0.5933959",
"0.59301543",
"0.58967716",
"0.5878705",
"0.5861583",
"0.5849273",
"0.58218014",
"0.579983",
"0.57711726",
"0.57518315",
"0.57442653",
"0.5740928",
"0.57381... | 0.7187741 | 0 |
Handle the AJAX request to "/delete" URL to remove all items of the particular product from the basket. | @GetMapping(value = "/delete", produces = {MediaType.APPLICATION_JSON_VALUE})
@ResponseBody
public ResponseEntity<Double> deleteFromBasketAjax(@RequestParam(name = "delete") int id,
HttpSession session) {
Double totalPrice = basketService.deleteFrom... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void deleteProduct(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException {\n\t\tString theProduct=request.getParameter(\"deleteProduct\");\n\t\tdaoPageAdmin.DeleteProduct(theProduct);\n\t\tloadProduct(request, response);\n\t}",
"@RequestMapping(metho... | [
"0.6316829",
"0.62800574",
"0.6256609",
"0.6249483",
"0.6226783",
"0.6168359",
"0.611487",
"0.6099312",
"0.6092368",
"0.60516727",
"0.60370153",
"0.6006123",
"0.59914684",
"0.5983789",
"0.5980531",
"0.5927764",
"0.5910227",
"0.5909917",
"0.5907242",
"0.5901129",
"0.5881182",
... | 0.6989072 | 0 |
Handle the AJAX request to "/editOrderMinus" URL to remove one item of the particular product from the basket. | @GetMapping(value = "/editOrderMinus", produces = {MediaType.APPLICATION_JSON_VALUE})
@ResponseBody
public ResponseEntity<List> editOrderFromBasketMinusAjax(@RequestParam(name = "editOrderMinus") int id,
HttpSession session) {
List<Number> res... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void removeItem() {\r\n\t\tlog.info(\"Remove item\");\r\n\t\tsu.waitElementClickableAndClick(LocatorType.Xpath, CartSplitViewField.Remove.getName());\r\n\t}",
"private void btnRemoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRemoveActionPerformed\n if(tblOrders.getSelecte... | [
"0.6295755",
"0.62568897",
"0.6221051",
"0.6205631",
"0.6102288",
"0.6033867",
"0.5968655",
"0.5910623",
"0.59102845",
"0.5815577",
"0.5791495",
"0.57817703",
"0.5758305",
"0.5745303",
"0.56806004",
"0.5653951",
"0.5634829",
"0.55780023",
"0.55339944",
"0.55307144",
"0.552032... | 0.75061995 | 0 |
Handle the AJAX request to "/editOrderMinus" URL to add one item of the particular product to the basket. | @GetMapping(value = "/editOrderPlus", produces = {MediaType.APPLICATION_JSON_VALUE})
@ResponseBody
public ResponseEntity<List> editOrderFromBasketPlusAjax(@RequestParam(name = "editOrderPlus") int id,
HttpSession session) {
List<Number> result ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@GetMapping(value = \"/editOrderMinus\", produces = {MediaType.APPLICATION_JSON_VALUE})\n @ResponseBody\n public ResponseEntity<List> editOrderFromBasketMinusAjax(@RequestParam(name = \"editOrderMinus\") int id,\n HttpSession session) {\n Lis... | [
"0.7196557",
"0.58080435",
"0.5752007",
"0.5530176",
"0.5460537",
"0.5409718",
"0.5383968",
"0.53730404",
"0.53527904",
"0.533224",
"0.53272694",
"0.53062713",
"0.52553123",
"0.52242255",
"0.52202076",
"0.5219484",
"0.5213287",
"0.51950854",
"0.51897556",
"0.5187147",
"0.5169... | 0.65741456 | 1 |
Interface for services that can compile and evaluate expressions found in JSONPaths. | public interface PathExpressionService {
/**
* Compile an expression.
*
* @param path The original path.
* @param offset The offset of the expression being compiled in the original path.
* @param inputString The expression to compile.
* @return The compiled form of the expression. Thi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface ExpressionService {\n String ID = ExpressionService.class.getName();\n\n String DAYS_DESCRIPTION = \"[Number of days]\";\n\n String SYMBOL_DAYS = \"[days]\";\n\n String SYMBOL_WILDCARD = \"*\";\n\n String UID_EXPRESSION = \"[a-zA-Z]\\\\w{10}\";\n\n String INT_EXPRESSION = \"^(0|-?[1-9]\\\\d*... | [
"0.63578767",
"0.5789392",
"0.5787839",
"0.56648093",
"0.55791116",
"0.55501294",
"0.5486834",
"0.5486834",
"0.54809314",
"0.54786164",
"0.54511786",
"0.53801656",
"0.5353043",
"0.53049326",
"0.5299146",
"0.52934915",
"0.52615774",
"0.5253872",
"0.5244548",
"0.5232732",
"0.52... | 0.8184121 | 0 |
Evaluated a compiled expression. | Object evaluate(CompiledExpressionHolder code, Object scopes, Object root, Object key, Object
value) throws InvalidPathException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"EvaluationResult evalExpression(ValueExp expr) { return evalExpression(expr, true); }",
"Expr expr();",
"public Object eval (Object expression);",
"public String compile () throws IOException, RhinoEvaluatorException {\n return compile(1, null);\n }",
"private Expr expression() {\n return ... | [
"0.66991615",
"0.62619007",
"0.62471676",
"0.6241216",
"0.619062",
"0.61351323",
"0.60434234",
"0.59163964",
"0.59081614",
"0.59042454",
"0.58965063",
"0.58233345",
"0.58134174",
"0.57647824",
"0.57592875",
"0.57410794",
"0.5739115",
"0.5739115",
"0.5739115",
"0.5739115",
"0.... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public String getCharset() {
return "GBK";
} | {
"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.66730285",
"0.65698135",
"0.6524193",
"0.64818907",
"0.6477969",
"0.6459897",
"0.64150065",
"0.6378023",
"0.62785167",
"0.6256323",
"0.62391806",
"0.6225302",
"0.6203955",
"0.6196986",
"0.6196986",
"0.6193411",
"0.6188864",
"0.6175446",
"0.61352557",
"0.6129083",
"0.608151... | 0.0 | -1 |
TODO : REMOVE THE asyncRead | public void sendAuthPackge() throws IOException {
// 生成认证数据
byte[] rand1 = RandomUtil.randomBytes(8);
byte[] rand2 = RandomUtil.randomBytes(12);
// 保存认证数据
byte[] seed = new byte[rand1.length + rand2.length];
System.arraycopy(rand1, 0, seed, 0, rand1.length);
Syst... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SuppressWarnings(\"unused\")\n private void _read() {\n }",
"protected void doBeginRead() throws Exception {}",
"@Override\n\tpublic void read() {\n\n\t}",
"Read createRead();",
"public void ownRead();",
"private void doRead() throws IOException {\n\t\t\tvar res = sc.read(bb);\n\n\t\t\tif ( res ==... | [
"0.67510784",
"0.6607115",
"0.63493955",
"0.6344708",
"0.63442874",
"0.63387924",
"0.6325563",
"0.6318644",
"0.6231992",
"0.60667294",
"0.6059022",
"0.60020924",
"0.5996216",
"0.59862053",
"0.594565",
"0.5922631",
"0.5884679",
"0.58430576",
"0.58176553",
"0.5775277",
"0.57503... | 0.0 | -1 |
/ / / / / / / 235 | public long toTimelineValue(long millisecond) { return millisecond; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static int getNumPatterns() { return 64; }",
"void mo33732Px();",
"public int mo36g() {\n return 8;\n }",
"public void setDimensionRatio(java.lang.String r9) {\n /*\n r8 = this;\n r0 = 0;\n if (r9 == 0) goto L_0x008e;\n L_0x0003:\n r1 = r9.lengt... | [
"0.586389",
"0.5465072",
"0.5399509",
"0.5369582",
"0.5318581",
"0.531581",
"0.5204256",
"0.5186763",
"0.51498055",
"0.5137106",
"0.51125944",
"0.51111585",
"0.5094",
"0.50856704",
"0.50763553",
"0.5067018",
"0.5048842",
"0.503541",
"0.50145406",
"0.50086135",
"0.50039655",
... | 0.0 | -1 |
/ / / / / / / / / / / / 247 | public long toTimelineValue(Date date) { return date.getTime(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static int getNumPatterns() { return 64; }",
"public int mo36g() {\n return 8;\n }",
"void mo33732Px();",
"@Override\n protected long advanceH(final long k) {\n return 5 * k - 2;\n }",
"@Override\n\tpublic int computeSize() {\n\t\treturn 36;\n\t}",
"private static byte[] m1... | [
"0.56302947",
"0.5582685",
"0.5498562",
"0.54105353",
"0.54050684",
"0.5376962",
"0.5352394",
"0.53474134",
"0.5330335",
"0.53227866",
"0.5317571",
"0.53164",
"0.5311871",
"0.5279454",
"0.527457",
"0.52497196",
"0.52195394",
"0.5207208",
"0.5188227",
"0.5185443",
"0.51808757"... | 0.0 | -1 |
/ / / / / / / / / / / / / 260 | public long toMillisecond(long value) { return value; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getWidth() {\n return 260;\n }",
"@Override\n\tpublic float getWidth() {\n\t\treturn 26;\n\t}",
"long getWidth();",
"BigInteger getWidth();",
"int getWidth() {return width;}",
"public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n... | [
"0.61018103",
"0.59025544",
"0.5796835",
"0.57514644",
"0.57251346",
"0.5712425",
"0.56953716",
"0.5679688",
"0.5669128",
"0.5624107",
"0.56186485",
"0.5583614",
"0.5551445",
"0.5543816",
"0.5506743",
"0.54704237",
"0.54569876",
"0.54569876",
"0.5447675",
"0.5442602",
"0.5426... | 0.0 | -1 |
/ / / / / / / / / / / / / 273 | public boolean containsDomainValue(long millisecond) { return true; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic float getWidth() {\n\t\treturn 26;\n\t}",
"public int mo36g() {\n return 8;\n }",
"void mo33732Px();",
"public void getTile_B8();",
"public static double computeDiameter(int wireGauge)\r\n{ \r\n return 0.127 * Math.pow(92.0, (36.0 - wireGauge) / 39.0); \r\n}",
"@Override\... | [
"0.56420535",
"0.56232333",
"0.56098235",
"0.5499521",
"0.54355246",
"0.5424333",
"0.53982735",
"0.53973067",
"0.5383353",
"0.5383353",
"0.53715944",
"0.5347634",
"0.53171355",
"0.52921647",
"0.52852213",
"0.5261187",
"0.52611595",
"0.52568305",
"0.5251813",
"0.52455026",
"0.... | 0.0 | -1 |
/ / / / / / / / / / / / / 286 | public boolean containsDomainValue(Date date) { return true; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void m8368b();",
"int mo27483b();",
"public static int m8655e() {\n return 8;\n }",
"void mo12637b();",
"public abstract long mo13681c();",
"Info mo7564ix();",
"void mo41086b();",
"void mo33732Px();",
"public abstract int mo8526p();",
"public abstract int mo13680b();",
"public abstrac... | [
"0.65601486",
"0.6552503",
"0.6428991",
"0.63827944",
"0.6382646",
"0.63190466",
"0.6314334",
"0.6304125",
"0.6298777",
"0.6276178",
"0.6237686",
"0.6199612",
"0.6186604",
"0.6185119",
"0.61774796",
"0.616961",
"0.61664647",
"0.6162459",
"0.6156234",
"0.6156209",
"0.6142641",... | 0.0 | -1 |
/ / / / / / / / / / / / / / 300 | public boolean containsDomainRange(long from, long to) { return true; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public double tuition(){\n return 2500;\n }",
"public float spiderScaleAmount()\n {\nreturn 1F;\n }",
"public double getWidth() {\n return this.size * 2.0; \n }",
"public float sizeMultiplier();",
"public abstract int getSpotsNeeded();",
"@Override\n public double tota... | [
"0.5737296",
"0.55706084",
"0.5546276",
"0.5479354",
"0.5450031",
"0.5437595",
"0.54053265",
"0.5396616",
"0.53926045",
"0.5390248",
"0.53783226",
"0.5359353",
"0.5340813",
"0.53374386",
"0.5332108",
"0.5328276",
"0.5320112",
"0.53173816",
"0.5310813",
"0.5302769",
"0.5295886... | 0.0 | -1 |
/ / / / / / / / / / / / / / 314 | public boolean containsDomainRange(Date from, Date to) { return true; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int mo36g() {\n return 8;\n }",
"public int arn() {\n return 383;\n }",
"public final int mo30256g() {\n return this.f7581c.f7036c.size();\n }",
"void mo33732Px();",
"public int mo36g() {\n return 4;\n }",
"@Override\n\tpublic int computeSize() {\n\t\treturn... | [
"0.57836246",
"0.576623",
"0.5675889",
"0.5670542",
"0.55829513",
"0.55734736",
"0.55671495",
"0.55570954",
"0.5554979",
"0.5543137",
"0.5518718",
"0.54861814",
"0.54365146",
"0.5436378",
"0.54210776",
"0.54210776",
"0.54168636",
"0.5405837",
"0.5404874",
"0.53951955",
"0.536... | 0.0 | -1 |
/ / / / / / / / / / / | public boolean equals(Object object) {
/* 326 */ if (object == null) {
/* 327 */ return false;
/* */ }
/* 329 */ if (object == this) {
/* 330 */ return true;
/* */ }
/* 332 */ if (object instanceof DefaultTimeline) {
/* 333 */ return true;
/* */... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"public abstract void bepaalGrootte();",
"double passer();",
"int getWidth() {return width;}",
"public void zeichneQuadra... | [
"0.5540745",
"0.5444497",
"0.5205538",
"0.5182055",
"0.5094161",
"0.50587463",
"0.5053648",
"0.50452423",
"0.50258267",
"0.50122976",
"0.5012191",
"0.50119436",
"0.50044477",
"0.49989554",
"0.49980396",
"0.49847832",
"0.49795863",
"0.49785143",
"0.4966902",
"0.49588826",
"0.4... | 0.0 | -1 |
/ / / / / 359 | public DateAxis() { this(null); } | {
"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 abstract long mo9229aD();",
"public abstract long mo9755t();",
"public abstract long mo9746k();",
"public static void main(String[] args) {\n\t\t\... | [
"0.5885725",
"0.5788242",
"0.5571903",
"0.55693835",
"0.5545561",
"0.54535097",
"0.544171",
"0.5426597",
"0.54071885",
"0.5333326",
"0.5315955",
"0.5291846",
"0.52899295",
"0.5283038",
"0.5272697",
"0.526636",
"0.526129",
"0.52597624",
"0.52486825",
"0.5244141",
"0.52323914",... | 0.0 | -1 |
/ / / / / / / / / 368 | public DateAxis(String label) { this(label, TimeZone.getDefault()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo33732Px();",
"public int mo36g() {\n return 8;\n }",
"Info mo7564ix();",
"public final int mo30256g() {\n return this.f7581c.f7036c.size();\n }",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f... | [
"0.5930729",
"0.5864335",
"0.56873167",
"0.56850135",
"0.5644463",
"0.56335574",
"0.56199884",
"0.5614748",
"0.5586583",
"0.55702454",
"0.5537771",
"0.5500982",
"0.5473972",
"0.54635674",
"0.54596055",
"0.54573965",
"0.54428285",
"0.54232466",
"0.54166627",
"0.54164654",
"0.5... | 0.0 | -1 |
/ / / / / / / / / / / / / / / / / 385 | public DateAxis(String label, TimeZone zone) { this(label, zone, Locale.getDefault()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo33732Px();",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n ... | [
"0.5761186",
"0.57373387",
"0.5723506",
"0.5654589",
"0.56270444",
"0.5593662",
"0.55911255",
"0.556834",
"0.5564324",
"0.55607706",
"0.55291396",
"0.552551",
"0.5518346",
"0.5470354",
"0.54676914",
"0.54676914",
"0.54627514",
"0.5435474",
"0.5423218",
"0.54182917",
"0.539260... | 0.0 | -1 |
/ / / / / / / / / / / / / / / / | public DateAxis(String label, TimeZone zone, Locale locale) {
/* 402 */ super(label, createStandardDateTickUnits(zone, locale));
/* 403 */ this.tickUnit = new DateTickUnit(DateTickUnitType.DAY, true, new SimpleDateFormat());
/* */
/* 405 */ setAutoRangeMinimumSize(2.0D);
/* */
/* 407... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"double passer();",
"public Integer getWidth(){return this.width;}",
"int getWidth() {return width;}",
"public void... | [
"0.5430595",
"0.53330356",
"0.5092637",
"0.50776035",
"0.50656015",
"0.5061517",
"0.50255305",
"0.501914",
"0.5013608",
"0.5012112",
"0.50097734",
"0.49939048",
"0.49924976",
"0.49502665",
"0.4925594",
"0.4921649",
"0.49190572",
"0.49077547",
"0.49070126",
"0.49018925",
"0.48... | 0.0 | -1 |
/ / / / / / / / / / / / 424 | public TimeZone getTimeZone() { return this.timeZone; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int method_2436() {\r\n return 16;\r\n }",
"Info mo7564ix();",
"static int getNumPatterns() { return 64; }",
"public static int offset_group() {\n return (24 / 8);\n }",
"public void init24()\n {\n\t \twidth= p[21]<<24 | p[20]<<16 | p[19]<<8 | p[18];\n\t\theight= p... | [
"0.5546143",
"0.55324805",
"0.551816",
"0.54615915",
"0.5413829",
"0.52866316",
"0.5254523",
"0.5183443",
"0.51754415",
"0.51560086",
"0.50926083",
"0.5080902",
"0.5043485",
"0.5040706",
"0.5010761",
"0.50069976",
"0.4993033",
"0.49787542",
"0.49768698",
"0.49740115",
"0.4945... | 0.0 | -1 |
/ / / / / / / / / / / / / | public void setTimeZone(TimeZone zone) {
/* 438 */ ParamChecks.nullNotPermitted(zone, "zone");
/* 439 */ this.timeZone = zone;
/* 440 */ setStandardTickUnits(createStandardDateTickUnits(zone, this.locale));
/* 441 */ fireChangeEvent();
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"int getWidth() {return width;}",
"double passer();",
"public abstract void bepaalGrootte();",
"public Integer getWidth()... | [
"0.55104524",
"0.54136074",
"0.51382613",
"0.511921",
"0.5069645",
"0.50632066",
"0.5061232",
"0.50567037",
"0.50560975",
"0.50190926",
"0.50086707",
"0.50070775",
"0.49875844",
"0.4968691",
"0.49646097",
"0.4947161",
"0.4947018",
"0.49441117",
"0.49407196",
"0.4928466",
"0.4... | 0.0 | -1 |
/ / / / / / / / / / 452 | public Locale getLocale() { return this.locale; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }",
"Info mo7564ix();",
"static int getNumPatterns() { return 64; }",
"private static byte[] m17790a(Bitmap bitmap) {\n int i;\n int i2;\n int i3;\n int widt... | [
"0.57995766",
"0.5765893",
"0.57391095",
"0.5715729",
"0.5695205",
"0.56742245",
"0.56703275",
"0.5653013",
"0.56337917",
"0.56333464",
"0.5611973",
"0.56103384",
"0.5594903",
"0.5582012",
"0.5574773",
"0.5566597",
"0.5561045",
"0.5556379",
"0.5556379",
"0.55349",
"0.5485734"... | 0.0 | -1 |
/ / / / / / / / / | public void setLocale(Locale locale) {
/* 462 */ ParamChecks.nullNotPermitted(locale, "locale");
/* 463 */ this.locale = locale;
/* 464 */ setStandardTickUnits(createStandardDateTickUnits(this.timeZone, this.locale));
/* */
/* 466 */ fireChangeEvent();
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void divide() {\n\t\t\n\t}",
"private int rightChild(int i){return 2*i+2;}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"public abstract void b... | [
"0.5531016",
"0.54378587",
"0.52516115",
"0.52405924",
"0.5151045",
"0.5127977",
"0.50680465",
"0.5066997",
"0.50218964",
"0.5013022",
"0.5007318",
"0.50048536",
"0.49997565",
"0.4994835",
"0.49735898",
"0.49699947",
"0.49680406",
"0.49594593",
"0.4937881",
"0.49361676",
"0.4... | 0.0 | -1 |
/ / / / / / / / 475 | public Timeline getTimeline() { return this.timeline; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"public double getPerimiter(){return (2*height +2*width);}",
"BigInteger getWidth();",
"public double getWidth() {\n return this.size * 2.0; \n }",
"void mo33732Px();",
"int regionSplitBits4DownSampledTable();",
"stat... | [
"0.6267649",
"0.5982671",
"0.5817717",
"0.58041155",
"0.5719764",
"0.568809",
"0.5635789",
"0.5609374",
"0.5561369",
"0.5535078",
"0.5533969",
"0.5524006",
"0.5484666",
"0.5468005",
"0.5466903",
"0.5466062",
"0.545359",
"0.54443926",
"0.5442252",
"0.5439749",
"0.5417638",
"... | 0.0 | -1 |
/ / / / / / / / / | public void setTimeline(Timeline timeline) {
/* 485 */ if (this.timeline != timeline) {
/* 486 */ this.timeline = timeline;
/* 487 */ fireChangeEvent();
/* */ }
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void divide() {\n\t\t\n\t}",
"private int rightChild(int i){return 2*i+2;}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"public abstract void b... | [
"0.5532527",
"0.54391015",
"0.5251596",
"0.52418447",
"0.5150535",
"0.512878",
"0.50683415",
"0.5066834",
"0.50221753",
"0.50129646",
"0.50077325",
"0.50051177",
"0.49997202",
"0.499538",
"0.49736512",
"0.49707893",
"0.49684572",
"0.49598044",
"0.49381968",
"0.49364173",
"0.4... | 0.0 | -1 |
/ / / / / / / / / / / / / / / / 505 | public DateTickUnit getTickUnit() { return this.tickUnit; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int m5345e() {\n if (Process.myUid() == 1000) {\n return 0;\n }\n boolean equals;\n try {\n equals = \"mounted\".equals(Environment.getExternalStorageState());\n } catch (Exception e) {\n equals = false;\n }\n if (C1222aj.m53... | [
"0.5600951",
"0.5483561",
"0.54818994",
"0.54070526",
"0.5382031",
"0.52840275",
"0.52724975",
"0.52724975",
"0.52585804",
"0.5233316",
"0.52039456",
"0.51991916",
"0.51767343",
"0.517457",
"0.51595175",
"0.5158456",
"0.5136364",
"0.51327616",
"0.5124568",
"0.5122001",
"0.511... | 0.0 | -1 |
/ / / / / / / / / / / / / / 519 | public void setTickUnit(DateTickUnit unit) { setTickUnit(unit, true, true); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }",
"public abstract long mo9229aD();",
"Info mo7564ix();",
"public abstract long mo9746k();",
"long getUnknown72();",
"public int arn() {\n return 383;\n }",
"public abstract long mo13... | [
"0.59519166",
"0.5911183",
"0.5880068",
"0.5865933",
"0.5858787",
"0.5837384",
"0.5813619",
"0.57992965",
"0.57922816",
"0.57452494",
"0.57183784",
"0.56882817",
"0.56693983",
"0.56631285",
"0.56376815",
"0.5622208",
"0.5622208",
"0.5619794",
"0.5591939",
"0.5589374",
"0.5566... | 0.0 | -1 |
/ / / / / / / / / / / / / / / | public void setTickUnit(DateTickUnit unit, boolean notify, boolean turnOffAutoSelection) {
/* 535 */ this.tickUnit = unit;
/* 536 */ if (turnOffAutoSelection) {
/* 537 */ setAutoTickUnitSelection(false, false);
/* */ }
/* 539 */ if (notify) {
/* 540 */ fireChangeEvent();
/* */... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"double passer();",
"int getWidth() {return width;}",
"public Integer getWidth(){return this.width;}",
"public void... | [
"0.54599804",
"0.5361702",
"0.50828",
"0.50729156",
"0.5065769",
"0.50643295",
"0.50565934",
"0.5055456",
"0.5028421",
"0.50179166",
"0.50039816",
"0.499804",
"0.49814743",
"0.49544477",
"0.49448815",
"0.49297482",
"0.49270833",
"0.49128833",
"0.49060607",
"0.49048623",
"0.49... | 0.0 | -1 |
/ / / / / / / / / / 552 | public DateFormat getDateFormatOverride() { return this.dateFormatOverride; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static int getNumPatterns() { return 64; }",
"Info mo7564ix();",
"private static byte[] m17790a(Bitmap bitmap) {\n int i;\n int i2;\n int i3;\n int width = bitmap.getWidth();\n int height = bitmap.getHeight();\n OutputStream byteArrayOutputStream = new ... | [
"0.57372636",
"0.56970197",
"0.5633279",
"0.56286687",
"0.56225383",
"0.55624074",
"0.555793",
"0.5543602",
"0.55351484",
"0.55351484",
"0.55245274",
"0.5515133",
"0.5511253",
"0.550764",
"0.54865575",
"0.5479448",
"0.5444919",
"0.5420666",
"0.53815114",
"0.5372531",
"0.53627... | 0.0 | -1 |
/ / / / / / / / / / | public void setDateFormatOverride(DateFormat formatter) {
/* 563 */ this.dateFormatOverride = formatter;
/* 564 */ fireChangeEvent();
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"public abstract void bepaalGrootte();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50... | [
"0.5542132",
"0.5447128",
"0.5228179",
"0.5214033",
"0.5111349",
"0.5096622",
"0.50625235",
"0.50373936",
"0.50340563",
"0.5012307",
"0.5004564",
"0.50032336",
"0.49990067",
"0.49965036",
"0.49912918",
"0.4987793",
"0.49815953",
"0.49780196",
"0.4968169",
"0.49576157",
"0.491... | 0.0 | -1 |
/ / / / / / / / / / / 576 | public void setRange(Range range) { setRange(range, true, true); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"public double getWidth() {\n return this.size * 2.0; \n }",
"@Override\n public int width()\n {\n return... | [
"0.5755739",
"0.56758964",
"0.562419",
"0.550157",
"0.5461418",
"0.54506093",
"0.54449356",
"0.53924465",
"0.53888035",
"0.5368401",
"0.5348288",
"0.53212243",
"0.5305525",
"0.52999717",
"0.52993613",
"0.52940047",
"0.5293051",
"0.5253695",
"0.5250912",
"0.52447784",
"0.52307... | 0.0 | -1 |
/ / / / / / / / / / / / / / / | public void setRange(Range range, boolean turnOffAutoRange, boolean notify) {
/* */ DateRange dateRange;
/* 593 */ ParamChecks.nullNotPermitted(range, "range");
/* */
/* */
/* 596 */ if (!(range instanceof DateRange)) {
/* 597 */ dateRange = new DateRange(range);
/* */ ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"double passer();",
"int getWidth() {return width;}",
"public Integer getWidth(){return this.width;}",
"public void... | [
"0.54599804",
"0.5361702",
"0.50828",
"0.50729156",
"0.5065769",
"0.50643295",
"0.50565934",
"0.5055456",
"0.5028421",
"0.50179166",
"0.50039816",
"0.499804",
"0.49814743",
"0.49544477",
"0.49448815",
"0.49297482",
"0.49270833",
"0.49128833",
"0.49060607",
"0.49048623",
"0.49... | 0.0 | -1 |
/ / / / / / / / / | public void setRange(Date lower, Date upper) {
/* 610 */ if (lower.getTime() >= upper.getTime()) {
/* 611 */ throw new IllegalArgumentException("Requires 'lower' < 'upper'.");
/* */ }
/* 613 */ setRange(new DateRange(lower, upper));
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void divide() {\n\t\t\n\t}",
"private int rightChild(int i){return 2*i+2;}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"public abstract void b... | [
"0.5532527",
"0.54391015",
"0.5251596",
"0.52418447",
"0.5150535",
"0.512878",
"0.50683415",
"0.5066834",
"0.50221753",
"0.50129646",
"0.50077325",
"0.50051177",
"0.49997202",
"0.499538",
"0.49736512",
"0.49707893",
"0.49684572",
"0.49598044",
"0.49381968",
"0.49364173",
"0.4... | 0.0 | -1 |
/ / / / / / / / / / | public void setRange(double lower, double upper) {
/* 625 */ if (lower >= upper) {
/* 626 */ throw new IllegalArgumentException("Requires 'lower' < 'upper'.");
/* */ }
/* 628 */ setRange(new DateRange(lower, upper));
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"public abstract void bepaalGrootte();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50... | [
"0.5542132",
"0.5447128",
"0.5228179",
"0.5214033",
"0.5111349",
"0.5096622",
"0.50625235",
"0.50373936",
"0.50340563",
"0.5012307",
"0.5004564",
"0.50032336",
"0.49990067",
"0.49965036",
"0.49912918",
"0.4987793",
"0.49815953",
"0.49780196",
"0.4968169",
"0.49576157",
"0.491... | 0.0 | -1 |
/ / / / / / / / / / | public Date getMinimumDate() {
/* */ Date result;
/* 641 */ Range range = getRange();
/* 642 */ if (range instanceof DateRange) {
/* 643 */ DateRange r = (DateRange)range;
/* 644 */ result = r.getLowerDate();
/* */ } else {
/* */
/* 647 */ result = new Date((... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"public abstract void bepaalGrootte();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50... | [
"0.5540896",
"0.5446543",
"0.5227331",
"0.52141076",
"0.5111389",
"0.50963986",
"0.50654864",
"0.5038032",
"0.50336593",
"0.501189",
"0.50033337",
"0.5002645",
"0.4999724",
"0.4997505",
"0.49938273",
"0.4988672",
"0.4982446",
"0.49785286",
"0.4967535",
"0.49578318",
"0.491564... | 0.0 | -1 |
/ / / / / / / / / / / / / / | public void setMinimumDate(Date date) {
/* 665 */ ParamChecks.nullNotPermitted(date, "date");
/* */
/* 667 */ Date maxDate = getMaximumDate();
/* 668 */ long maxMillis = maxDate.getTime();
/* 669 */ long newMinMillis = date.getTime();
/* 670 */ if (maxMillis <= newMinMillis) {
/* 671... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"int getWidth() {return width;}... | [
"0.5488944",
"0.539108",
"0.5100269",
"0.50899094",
"0.5069534",
"0.50693107",
"0.5066066",
"0.5061679",
"0.50442266",
"0.5015036",
"0.5014165",
"0.5003645",
"0.49693072",
"0.49573815",
"0.49514338",
"0.49499622",
"0.49293876",
"0.4927479",
"0.4927194",
"0.4917197",
"0.491014... | 0.0 | -1 |
/ / / / / / / / / / | public Date getMaximumDate() {
/* */ Date result;
/* 689 */ Range range = getRange();
/* 690 */ if (range instanceof DateRange) {
/* 691 */ DateRange r = (DateRange)range;
/* 692 */ result = r.getUpperDate();
/* */ } else {
/* */
/* 695 */ result = new Date((... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"public abstract void bepaalGrootte();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50... | [
"0.5540896",
"0.5446543",
"0.5227331",
"0.52141076",
"0.5111389",
"0.50963986",
"0.50654864",
"0.5038032",
"0.50336593",
"0.501189",
"0.50033337",
"0.5002645",
"0.4999724",
"0.4997505",
"0.49938273",
"0.4988672",
"0.4982446",
"0.49785286",
"0.4967535",
"0.49578318",
"0.491564... | 0.0 | -1 |
/ / / / / / / / / / / / / / | public void setMaximumDate(Date maximumDate) {
/* 713 */ ParamChecks.nullNotPermitted(maximumDate, "maximumDate");
/* */
/* 715 */ Date minDate = getMinimumDate();
/* 716 */ long minMillis = minDate.getTime();
/* 717 */ long newMaxMillis = maximumDate.getTime();
/* 718 */ if (minMilli... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"private int rightChild(int i){return 2*i+2;}",
"public void divide() {\n\t\t\n\t}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"int getWidth() {return width;}... | [
"0.54896694",
"0.5391855",
"0.50999725",
"0.5089729",
"0.5071565",
"0.50698775",
"0.5066746",
"0.5062716",
"0.5045067",
"0.5015888",
"0.50144786",
"0.50042266",
"0.49699038",
"0.4958074",
"0.49504146",
"0.49493113",
"0.4928954",
"0.49281803",
"0.49264044",
"0.49144852",
"0.49... | 0.0 | -1 |
/ / / / / / / / 733 | public DateTickMarkPosition getTickMarkPosition() { return this.tickMarkPosition; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"float getLoopbackDbfs();",
"Info mo7564ix();",
"static int SC(int db) {\n return (int) (db * ((3 / EG_STEP) * (1 << ENV_BITS))) + EG_DST;\n }",
"public void testYourSecondPartition() {\n\tSystem.out.print(\"\\nTesting Second Partition...\\n\");\n executeTestPrintResult(\"http://abc.com:65535... | [
"0.52321947",
"0.51386696",
"0.5095668",
"0.50802535",
"0.49317524",
"0.4924139",
"0.48916772",
"0.48680338",
"0.4793264",
"0.47502685",
"0.4748944",
"0.47484633",
"0.47360885",
"0.47355822",
"0.4696801",
"0.4673733",
"0.46717802",
"0.46637002",
"0.46586892",
"0.46501356",
"0... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.