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 |
|---|---|---|---|---|---|---|
Cancels the machine reservation for the given enterprise. | public void cancelReservationFor(final Enterprise enterprise) {
context.getApi().getInfrastructureApi().cancelReservation(enterprise.unwrap(), target);
target.getLinks().remove(target.searchLink(ParentLinkName.ENTERPRISE));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void cancelReservation(String reservationId) throws ObjectNotFoundException;",
"@Override\r\n\tpublic void cancelReservation(Reservation r) {\n\t\tentityManager.remove(entityManager.merge(r));\r\n\t\t\r\n\r\n\t}",
"private void processCancelReservation() {\n System.out.println(\"Which reservation would ... | [
"0.67052776",
"0.59545296",
"0.5847843",
"0.5637937",
"0.55551267",
"0.5551013",
"0.5551013",
"0.55203635",
"0.5515564",
"0.54507077",
"0.5403784",
"0.5387366",
"0.5377504",
"0.5377067",
"0.53619295",
"0.53524184",
"0.5320603",
"0.5296781",
"0.529427",
"0.52379876",
"0.522861... | 0.7821483 | 0 |
Check if the machine is reserved. | public boolean isReserved() {
return target.searchLink(ParentLinkName.ENTERPRISE) != null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean checkMachineAvailable ()\n throws Exception\n {\n try {\n log.info(\"Claiming free machine\");\n\n Machine freeMachine = Machine.getFreeMachine(session);\n if (freeMachine == null) {\n Scheduler scheduler = Scheduler.getScheduler();\n log.info(String.format(\n ... | [
"0.70995957",
"0.7091761",
"0.70106345",
"0.6998712",
"0.63954437",
"0.6376852",
"0.6294456",
"0.6213891",
"0.6213891",
"0.6213891",
"0.6213891",
"0.6172733",
"0.61360854",
"0.60908467",
"0.60903376",
"0.6068743",
"0.59664494",
"0.59242165",
"0.5914574",
"0.5907955",
"0.58743... | 0.5679817 | 38 |
Get the enterprise that has reserved the machine or null if the machine is not reserved. | public Enterprise getOwnerEnterprise() {
if (!isReserved()) {
return null;
}
EnterpriseDto enterprise = context.getApi().getEnterpriseApi()
.getEnterprise(target.getIdFromLink(ParentLinkName.ENTERPRISE));
return wrap(context, Enterprise.class, enterprise);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getEnterpriseId() {\n return enterpriseId;\n }",
"public org.hl7.fhir.String getSoftware()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.String target = null;\n target = (org.hl7.fhir.String)get_store().find_elemen... | [
"0.57595676",
"0.5533754",
"0.53393227",
"0.52798855",
"0.52319556",
"0.5165722",
"0.5152972",
"0.5090484",
"0.5034733",
"0.5020808",
"0.502057",
"0.50181115",
"0.49555394",
"0.4952774",
"0.4946006",
"0.49341175",
"0.4929005",
"0.49160108",
"0.49104232",
"0.49040982",
"0.4885... | 0.6374129 | 0 |
getter setter ends execute method implementation | public String execute() {
try {
int i = getEmail().indexOf('@');
String checkuser = getEmail().substring(0, i);
checkuser.replace("_", "__");
checkuser.replace(".", "_");
date = new java.sql.Date(dob.getTime());
SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd");
strDate = fo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Set method_1559();",
"@Override\r\n\tprotected void execute() {\r\n\t}",
"@Override\n protected void execute() {\n \n }",
"protected void execute() {\r\n }",
"protected void execute() {}",
"protected void execute() {\n\t\t\n\t}",
"protected void execute() {\n\n\t}",
... | [
"0.6596706",
"0.64869857",
"0.6466574",
"0.6437173",
"0.64060766",
"0.6403728",
"0.6377941",
"0.6354832",
"0.6352669",
"0.63427645",
"0.63427645",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.63366556",
"0.... | 0.0 | -1 |
int a = Integer.parseInt(pkgCode); | private String getOrderCode(int pkgCode){
int a = pkgCode ;
int b = a/10 ;
int c = b*10 ;
// System.out.println(c);
return c+"" ;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getInt();",
"public static void main(String[] args) {\n\t\tString a=\"770\";\n\t\tint b=Integer.parseInt(a);\n\t\tSystem.out.println(b);\n\n\t}",
"public static void main(String[] args){\n String test = \" +3 21\";\n int value = atoi(test);\n System.out.println(\"Conversion result i... | [
"0.6376507",
"0.628382",
"0.62821406",
"0.6216341",
"0.61853474",
"0.6136126",
"0.60377735",
"0.60345185",
"0.600725",
"0.5999679",
"0.5995854",
"0.59800124",
"0.5886722",
"0.5883386",
"0.58763367",
"0.58763367",
"0.5871137",
"0.5855295",
"0.5848819",
"0.58475685",
"0.5831949... | 0.61890596 | 4 |
Receive a parsing event and invoke the associated listener, if any. | public final void lineParsed(LineFormat format, int logicalLinecount,
int physicalLineCount, String[] values) throws AbortFFPException {
for (Iterator i = associatedLineFormats.iterator(); i.hasNext();) {
Association a = (Association) i.next();
if (format.equals(a.getLineForm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface IParseObjectListener {\n void onItemCLick(ParseObject parseObject);\n}",
"@Override\n public void onMessageReceived(MessageReceivedEvent event) {\n if (event.getAuthor().isBot()) {\n return ;\n }\n\n Parser.parse(event.getMessage().getContentRaw(), event);\n... | [
"0.57324564",
"0.5640458",
"0.5576579",
"0.5571277",
"0.5552152",
"0.5361264",
"0.53400445",
"0.5317534",
"0.5315665",
"0.52671057",
"0.5254269",
"0.5237167",
"0.5209749",
"0.5181812",
"0.5180319",
"0.51676506",
"0.5161882",
"0.5148798",
"0.51454365",
"0.5135597",
"0.51109385... | 0.0 | -1 |
Recupera a postagem selecionada e passa a mesma para a outra activity | @Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Postagem postagem = listaDePostagens.get(position);
String idPodt = postagem.getIdPostagem();
Intent i = new Intent(getApplicationContext(), VisualizandoPostagensActiv... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void obterDadosActivityLista() {\r\n bNnovo = getIntent().getExtras().getBoolean(\"novo\");\r\n }",
"@Override\n public void onClick(View view) {\n Post info_post = ControladoraPresentacio.getpost_perName(view.getContentDescription().toString());\n ControladoraPosts... | [
"0.6069823",
"0.60106224",
"0.5741972",
"0.5673725",
"0.56398505",
"0.56278527",
"0.5600269",
"0.5582414",
"0.55464727",
"0.55292606",
"0.551197",
"0.547795",
"0.5437233",
"0.5409188",
"0.5397773",
"0.5396029",
"0.5374756",
"0.53400844",
"0.53368795",
"0.5323712",
"0.5303999"... | 0.0 | -1 |
Recuperar dados do Firebase | @Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
dadosDoUsuarioLogado = snapshot.getValue(Usuario.class);
seguindoUserLogado = dadosDoUsuarioLogado.getSeguindo();
// Verifica se seguimos o usuario
verificaSeSegueUsuarioAmig... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void iniciarBaseDeDatos(){\n db_reference = FirebaseDatabase.getInstance().getReference();\n\n }",
"private void iniciarFirebase(){\n FirebaseApp.initializeApp(getApplicationContext());\n firebaseDatabase = FirebaseDatabase.getInstance();\n databaseReference = firebaseDatab... | [
"0.7753662",
"0.7582195",
"0.7483214",
"0.7090578",
"0.6981089",
"0.6951031",
"0.69419956",
"0.6863143",
"0.68332404",
"0.68161327",
"0.66992706",
"0.66504276",
"0.6562217",
"0.6556582",
"0.64909637",
"0.64729476",
"0.64725006",
"0.64709765",
"0.64653987",
"0.64148235",
"0.64... | 0.0 | -1 |
recuperando dados do usuario | public void recuperandoDadosUsuarioescolhido(){
Bundle bundle = getIntent().getExtras();
if (bundle != null){
if (bundle.containsKey("usuarioSelecionado")){
dadosDoUsuario = (Usuario) bundle.getSerializable("usuarioSelecionado");
}
}
// Configuran... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void cargarDatosUsuario() {\n this.textUsuario.setText(this.usuarioCargado.getUsuario());\n this.textContraseña.setText(this.usuarioCargado.getContraseña());\n this.textNombre.setText(this.usuarioCargado.getNombre());\n this.textApellido.setText(this.usuarioCargado.getApellido()... | [
"0.7313724",
"0.72538984",
"0.72171015",
"0.714788",
"0.7066201",
"0.69987476",
"0.6982764",
"0.6967358",
"0.6958028",
"0.6939324",
"0.6910425",
"0.6910343",
"0.6837416",
"0.6823821",
"0.68167114",
"0.6801721",
"0.6788748",
"0.6779832",
"0.6773648",
"0.67683077",
"0.6763573",... | 0.71878195 | 3 |
Recupera as fotos postadas pelo usuario | public void carregarFotosPostagem(){
postagensUsuarioRef.addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
// Limpando Lista de postagens
listaDePostagens.clear();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"fotos(){}",
"@Override\n\tvoid postarFoto() {\n\n\t}",
"private void getImagesFromServer() {\n trObtainAllPetImages.setUser(user);\n trObtainAllPetImages.execute();\n Map<String, byte[]> petImages = trObtainAllPetImages.getResult();\n Set<String> names = petImages.keySet();\n\n ... | [
"0.7045853",
"0.6280929",
"0.6265338",
"0.59744066",
"0.5932783",
"0.59161925",
"0.58809155",
"0.58704776",
"0.582118",
"0.5812004",
"0.57804376",
"0.5741388",
"0.57255834",
"0.5687445",
"0.566515",
"0.5648864",
"0.56446415",
"0.5624881",
"0.5581476",
"0.5571255",
"0.5556334"... | 0.6117862 | 3 |
Limpando Lista de postagens | @Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
listaDePostagens.clear();
listaDeUrl.clear();
// Configurar tamanho do grid
// recuperamos o tamanho da tela do usuario e dividimos por 3
int tamanhoGrid = g... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<PostInfo> getPostList();",
"public TableModelPosto(ArrayList<Posto> listPostos) {\n postos = listPostos;\n }",
"public Post()\n {\n nachrichten = new ArrayList<Nachricht>();\n }",
"public void initNegPosts(){\n\t\t\tdbAdapter = new DBAdapter(getActivity());\n\t\t\tdbAdapter.open()... | [
"0.68832386",
"0.65059566",
"0.6399692",
"0.63955784",
"0.63948977",
"0.6352551",
"0.6233599",
"0.62221956",
"0.6016117",
"0.59672827",
"0.5921431",
"0.5916476",
"0.5888213",
"0.5876542",
"0.58526903",
"0.5828243",
"0.5821546",
"0.5820014",
"0.5759951",
"0.57347894",
"0.57099... | 0.0 | -1 |
String cusName = request.getParameter("cusName"); | @Override
public void execute(HttpServletRequest request,Document document) throws Exception {
Font FontChinese = WordUtil.font;//加入document:
/** 创建文档主体内容 */
document.add(new Paragraph("First page of the document."));// Paragraph添加文本
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String getParameter(HttpServletRequest req, String name) {\n String value = req.getParameter(name);\n return value == null ? \"\" : value.trim();\n }",
"private String getParameter(String name, HttpServletRequest request) {\r\n String value = request.getParameter(name);\r\n ... | [
"0.6663104",
"0.65345037",
"0.6397635",
"0.602725",
"0.5906632",
"0.5904827",
"0.5871605",
"0.5732176",
"0.56411856",
"0.5639123",
"0.5624434",
"0.5619733",
"0.56177455",
"0.55973583",
"0.55686116",
"0.5561156",
"0.5539737",
"0.553281",
"0.55315834",
"0.5531543",
"0.55057013"... | 0.0 | -1 |
Generate a string that lists all parameters. Subclasses should override this to add their own parameters. | public String toString() {
String contents = "";
if (scenario != null) {
if (controller.getWorld().getHasScenarios()) {
contents += "Scenario: " + scenario + "\n";
}
contents += "Number of runs: " + numOfRuns + "\n";
contents += "Trial duration: " + trialDuration + "\n";
contents += "Number of tr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString(){\r\n\t\t\r\n\t\tString x =\"\";\r\n\t\t\r\n\t\tfor(int i=0; i < param.size() ; i++ ){\r\n\t\t\t\r\n\t\t\tx += param.get(i) + \"\\n\" ; \r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn x;\r\n\t}",
"public String toString() {\n return getClass().getName() + \"[\" + paramString() + \"]\";\... | [
"0.7629322",
"0.7583556",
"0.7404943",
"0.7334076",
"0.72639424",
"0.7234267",
"0.71103317",
"0.69427896",
"0.6891062",
"0.68561155",
"0.6789724",
"0.67854005",
"0.6752342",
"0.6741777",
"0.6732299",
"0.67209995",
"0.6699936",
"0.6682494",
"0.6677843",
"0.6672702",
"0.6644817... | 0.0 | -1 |
Save all parameters to parameters.txt | public void saveSelf() {
CRFileIOHelper.stringToFile(this.toString(), controller.getReportController().getCurrentFilePath() + "parameters");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void saveParameters(File paramFile) throws IOException {\r\n String xml = pui.toXML();\r\n Files.write(paramFile.toPath(), xml.getBytes(), StandardOpenOption.CREATE);\r\n }",
"private static void saveSettings() {\n try {\n File settings = new File(\"settings.txt\");\n F... | [
"0.66500217",
"0.6518991",
"0.6493093",
"0.6436197",
"0.6149076",
"0.6136114",
"0.6078537",
"0.60074896",
"0.597779",
"0.5908057",
"0.58834934",
"0.579863",
"0.5764559",
"0.5717788",
"0.5711327",
"0.5696851",
"0.56608415",
"0.56569403",
"0.5646422",
"0.5637754",
"0.56176347",... | 0.63863015 | 4 |
Check that all parameters have been set. Subclasses should override this to add their own checks. | public boolean checkSelf() {
boolean ok = true;
if (controller == null) {
System.err.println("CRParameters :: controller not set");
ok = false;
}
if (scenario.length() == 0 && controller.getWorld().getHasScenarios()) {
System.err.println("CRParameters :: scenario not set");
ok = false;
}
if (rep... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void checkParameters() {\n }",
"private void checkParams() throws InvalidParamException{\r\n String error = svm.svm_check_parameter(this.problem, this.param);\r\n if(error != null){\r\n throw new InvalidParamException(\"Invalid parameter setting!\" + error);\r\n }\r\n ... | [
"0.7787702",
"0.7121558",
"0.70760775",
"0.6825936",
"0.68144596",
"0.665194",
"0.6626342",
"0.6609821",
"0.65786386",
"0.6574006",
"0.65653956",
"0.6560069",
"0.6560069",
"0.6560069",
"0.6560069",
"0.6560069",
"0.655008",
"0.65088546",
"0.6491504",
"0.64825845",
"0.64766246"... | 0.6310373 | 24 |
For use in tests | public ScriptExpressionEvaluatorFactory(ScriptExpressionFactory scriptExpressionFactory,
SecurityContextManager securityContextManager, PrismContext prismContext) {
this.scriptExpressionFactory = scriptExpressionFactory;
this.securityContextManager = securityContextManager;
this.prismContext = pris... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\t\t\tpublic void test() {\n\t\t\t}",
"private void test() {\n\n\t}",
"private stendhal() {\n\t}",
"private ProtomakEngineTestHelper() {\r\n\t}",
"private test5() {\r\n\t\r\n\t}",
"@Override\n @Before\n public void setUp() throws IOException {\n }",
"private JacobUtils() {}",
"private... | [
"0.6315484",
"0.62910306",
"0.62089396",
"0.59769475",
"0.5923137",
"0.58382624",
"0.58243227",
"0.57882816",
"0.577634",
"0.575917",
"0.5757698",
"0.5750651",
"0.5750651",
"0.5750651",
"0.5750651",
"0.5750651",
"0.5750651",
"0.5749724",
"0.5735744",
"0.5721228",
"0.57055783"... | 0.0 | -1 |
recorremos la lista de actividades | private void comprobarActividades(List<DetectedActivity> actividadesProvables){
for( DetectedActivity activity : actividadesProvables) {
//preguntamos por el tipo
switch( activity.getType() ) {
case DetectedActivity.IN_VEHICLE: {
//preguntamos por la p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<Oficios> buscarActivas();",
"public String[] getActivations(){\n return activations;\n }",
"@Override\r\n\tpublic List<EquipoCompetencia> listarActivos() {\n\t\treturn null;\r\n\t}",
"public List<ActividadEntitie> LoadAllActividades() {\r\n\t\t\r\n\t\tCursor cursor = this.myDatabase.query(Acti... | [
"0.7051063",
"0.6834119",
"0.6800472",
"0.67393327",
"0.6659396",
"0.6571008",
"0.64986306",
"0.64740926",
"0.645609",
"0.64454794",
"0.63292384",
"0.62964076",
"0.6221698",
"0.6180618",
"0.61459136",
"0.6118913",
"0.61077064",
"0.60874337",
"0.60608923",
"0.6058803",
"0.6051... | 0.62717575 | 12 |
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() {
txtCui = new javax.swing.JLabel();
txtNombre = new javax.swing.JLabel();
jTextCUI = new javax.swing.JTextField();
texprimernom... | {
"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.73212945",
"0.72917914",
"0.72917914",
"0.72917914",
"0.7287366",
"0.7249836",
"0.721417",
"0.72097963",
"0.7196912",
"0.71916485",
"0.71853215",
"0.71597755",
"0.71489745",
"0.70949036",
"0.708269",
"0.70589983",
"0.698844",
"0.69783324",
"0.69561446",
"0.6955426",
"0.694... | 0.0 | -1 |
para almacenar datos familiares MetodosFam metodofam = new MetodosFam(); | private void btnGuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarActionPerformed
Boolean exito = true;
try{
exito = metodobd.Guardar(
jTexRegistroMedico.getText().trim(),
jTextCUI.getText().trim(),
texprimernombre.getText()... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void agregarFantasma(Fantasma fantasma) {\n // TODO implement here\n }",
"private void comerFantasma(Fantasma fantasma) {\n // TODO implement here\n }",
"public Familia(String cedulaFam,Persona per,Persona per2)\n {\n cedulaFamiliar = cedulaFam;\n used = true;\n ... | [
"0.71417505",
"0.6746384",
"0.67304575",
"0.668715",
"0.65774184",
"0.65270257",
"0.64802414",
"0.644838",
"0.64466625",
"0.64461476",
"0.64424664",
"0.63452005",
"0.6315557",
"0.6290797",
"0.6278501",
"0.6220379",
"0.6215646",
"0.6212001",
"0.61857754",
"0.61809134",
"0.6172... | 0.0 | -1 |
Constructor, makes Tetris board | TetrisBoard() {
// create new board
blockMatrix = new boolean[NUM_ROWS][NUM_COLS];
// fill in values for board
initBoard();
// add new piece to fall
addNewPiece();
// start scores at 0
numLines = 0;
numTetrises = 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TetrisBoard() {\n super();\n\n myBoard = new Board();\n myHeight = myBoard.getHeight() * BLOCK_SIZE;\n myWidth = myBoard.getWidth() * BLOCK_SIZE;\n myGameMode = CLASSIC_MODE;\n myBoardString = myBoard.toString();\n myGameOver = false;\n myWelcome = tru... | [
"0.8085578",
"0.75261426",
"0.74939793",
"0.73027086",
"0.7299297",
"0.7252785",
"0.7246189",
"0.7200892",
"0.71944785",
"0.7189966",
"0.718244",
"0.7159018",
"0.7151573",
"0.7103338",
"0.7096863",
"0.7010528",
"0.70092124",
"0.70079285",
"0.700576",
"0.6992188",
"0.69914645"... | 0.80191284 | 1 |
initialize current piece grid position | protected void initCurrentGP() {
// centers the falling pieces at the top row
currentPieceGridPosition = new int[]{0, 3};
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInitialPosition()\n {\n putGenericPiece(GenericPiece.PAWN, Colour.WHITE, Square.a2);\n putGenericPiece(GenericPiece.PAWN, Colour.WHITE, Square.b2);\n putGenericPiece(GenericPiece.PAWN, Colour.WHITE, Square.c2);\n putGenericPiece(GenericPiece.PAWN, Colour.WHITE, Square.d2);\n ... | [
"0.7451914",
"0.7424644",
"0.7111519",
"0.7083535",
"0.68735933",
"0.68037146",
"0.6748573",
"0.6724271",
"0.668575",
"0.66634744",
"0.6639048",
"0.6636886",
"0.66154784",
"0.66045",
"0.65963286",
"0.6580156",
"0.65610087",
"0.65600634",
"0.65507793",
"0.65411955",
"0.6537229... | 0.8273778 | 0 |
currentPiece lands on board and becomes part of preexisting board and/or clears lines | public void landPiece() {
// current rotation of piece
int rot = currentPiece.getPieceRotation();
// x coordinate of current piece's northwest corner
int row = currentPieceGridPosition[0];
// y coordinate of current piece's northwest corner
int col = currentPieceGridPosition[1];
// adds currentPie... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void drawCurrentToBoard () {\n board.clearTemp();\n for (int r = 0; r < currentPiece.height; ++r)\n for (int c = 0; c < currentPiece.width; ++c)\n if (currentPiece.blocks[r][c] == 1)\n board.addBlock(new Block(currentPiece.color), r + currentRow, c + curre... | [
"0.8124214",
"0.71547824",
"0.6876891",
"0.67810035",
"0.6722012",
"0.67218494",
"0.6715662",
"0.65649027",
"0.6536268",
"0.6521349",
"0.6515366",
"0.64850533",
"0.64589477",
"0.64452416",
"0.63960195",
"0.6393166",
"0.6387404",
"0.63775814",
"0.6366717",
"0.6366364",
"0.6363... | 0.66745424 | 7 |
moves currentPiece down returns true if piece was able to move down | public boolean moveDown() {
// x coordinate of current piece's northwest corner, with change
int gridRow = currentPieceGridPosition[0] + 1;
// y coordinate of current piece's northwest corner
int gridCol = currentPieceGridPosition[1];
// check to see if safe
if(validMove(currentPiece, currentPiece.p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void oneLineDown() {\n if (!tryMove(curPiece, curX, curY - 1)) {\n \n pieceDropped();\n }\n }",
"public boolean moveDown() \r\n\t{\r\n\t\tboolean moved = false;\r\n\t\tif ( maze [currentRow] [currentCol].isOpenDown() )\r\n\t\t{\r\n\t\t\tmaze [currentRow] [currentCol... | [
"0.7102004",
"0.70516956",
"0.6916572",
"0.68845934",
"0.6796493",
"0.67914206",
"0.67905664",
"0.67713255",
"0.6733568",
"0.67326343",
"0.672066",
"0.6720201",
"0.67191005",
"0.66863656",
"0.6682635",
"0.66296077",
"0.66085327",
"0.6517281",
"0.6503038",
"0.6502956",
"0.6495... | 0.8683523 | 0 |
checks if currentPiece will hit a filled space return true if collision will occur | protected boolean detectCollision(TetrisPiece piece, int rot, int gridRow, int gridCol) {
// goes through rows and columns of filledSquares matrices
for(int i = 0; i < 4; i++) {
for(int j = 0; j < 4; j++) {
if(piece.isFilled(rot, i, j)) {
// conditions for collision
if(hasBlock(i + gridRow,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isFull() {\n for (int r = 0; r < 6; r++) {\n for (int c = 0; c < 7; c++) {\n if (!hasPiece(r, c)) {\n return false;\n }\n }\n }\n return true;\n }",
"private boolean c... | [
"0.7072649",
"0.6808622",
"0.68035954",
"0.6759583",
"0.6752581",
"0.67311865",
"0.6715467",
"0.6650014",
"0.664811",
"0.6615603",
"0.65667534",
"0.6529603",
"0.6501599",
"0.6500498",
"0.6498121",
"0.64897615",
"0.6468384",
"0.6452958",
"0.6452247",
"0.6431364",
"0.6422948",
... | 0.0 | -1 |
checks if currentPiece will be out of bounds return true if out of bounds | protected boolean detectOutOfBounds(TetrisPiece piece, int rot, int gridRow, int gridCol) {
// goes through rows and columns of filledSquares matrices
for(int i = 0; i < 4; i++) {
for(int j = 0; j < 4; j++) {
if(piece.isFilled(rot, i, j)) {
// conditions for out of bounds
if(i + gridRow > ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean outOfBounds()\n {\n if((lastpowerUp.equals(\"BLUE\") || lastpowerUp.equals(\"RAINBOW\")) && powerupTimer > 0)\n {\n return false;\n }\n \n if(head.getA() < 150 || head.getA() >= 1260)\n return true;\n else if(head.getB() <150 || head... | [
"0.76537627",
"0.7397387",
"0.70150846",
"0.69691366",
"0.6939355",
"0.6935412",
"0.6921457",
"0.68959105",
"0.6865114",
"0.68040454",
"0.67201805",
"0.6686241",
"0.6643112",
"0.6638019",
"0.66346794",
"0.66191494",
"0.6616282",
"0.66107655",
"0.6606407",
"0.65796757",
"0.657... | 0.69444716 | 4 |
checks if move is valid in currentPiece's current position return true if valid | protected boolean validMove(TetrisPiece piece, int rot, int gridRow, int gridCol) {
if(detectOutOfBounds(piece, rot, gridRow, gridCol)) {
return false;
}
if(detectCollision(piece, rot, gridRow, gridCol)) {
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isLegalMove(String move) {\n\t\tString[] moveParts = move.split(\";\");\n\n\t\tint fromRow = Integer.parseInt(moveParts[0].charAt(0) + \"\");\n\t\tint fromCol = Integer.parseInt(moveParts[0].charAt(1) + \"\");\n\n\t\tint toRow = Integer.parseInt(moveParts[1].charAt(0) + \"\");\n\t\tint toCol = Inte... | [
"0.7857436",
"0.78077215",
"0.7659428",
"0.7618952",
"0.7604047",
"0.75440174",
"0.75293833",
"0.75154436",
"0.7496493",
"0.7453668",
"0.7442554",
"0.7412967",
"0.7407568",
"0.73711824",
"0.735424",
"0.7347129",
"0.730856",
"0.7308299",
"0.7252135",
"0.7236423",
"0.7222372",
... | 0.7430481 | 11 |
checks to see if an index is currently filled with a block | public boolean hasBlock(int row, int col) {
if(blockMatrix[row][col]) {
return true;
}
return false; // if block is not filled
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isFull() {\r\n\t\treturn cur_index == size;\r\n\t}",
"public int isFull(){\n\t\tfor(i = 0; i < blocksPerSet; i++){\n\t\t\tif(blocks[i].getValid() == false)\n\t\t\t\treturn i;\n\t\t}\n\t\treturn -1;\n\t}",
"boolean hasNewBlock();",
"boolean hasNewBlock();",
"@Override\n\tpublic boolean isVali... | [
"0.6894296",
"0.67096955",
"0.6641917",
"0.6641917",
"0.6602737",
"0.6512772",
"0.6461406",
"0.6439849",
"0.6374357",
"0.63694435",
"0.6319113",
"0.6285518",
"0.6285518",
"0.6275407",
"0.6275407",
"0.625065",
"0.6237164",
"0.6226824",
"0.6218308",
"0.6216967",
"0.6216967",
... | 0.58152485 | 88 |
adds a new piece to the board | public void addNewPiece() {
// creates a range from 1-7 to choose from each of the pieces
int pieceChoice = (int) (Math.random()*7) + 1;
if(pieceChoice == 1) {
currentPiece = new TetrisI();
}
else if(pieceChoice == 2) {
currentPiece = new TetrisJ();
}
else if(pieceChoice == 3) {
currentPiece = n... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addPiece(Piece piece);",
"public void addPiece(ChessPiece piece, int row, int col) \n\t{\n\t\t/* remove the old piece if one is already there */\n\t\tif (m_pieces[row][col] != null) {\n\t\t\tremovePiece(row, col);\n\t\t}\n\t\t\n\t\t/* set the coordinates of the piece and add it to the array*/\n\t\tpiece.set... | [
"0.80538553",
"0.78569776",
"0.7684282",
"0.76410216",
"0.7608473",
"0.752921",
"0.7459473",
"0.7409782",
"0.73200566",
"0.7288415",
"0.7287135",
"0.7164885",
"0.709557",
"0.69959337",
"0.69587785",
"0.6925823",
"0.691814",
"0.6868509",
"0.6778117",
"0.673734",
"0.6734674",
... | 0.75827354 | 5 |
checks for how many lines are full | public int numberOfFormedLines() {
// number of formed lines
int countFullLines = 0;
// goes through blockMatrix to count full lines
for(int i = 0; i < blockMatrix.length; i++) {
if(fullLine(i)) {
countFullLines++;
}
}
return countFullLines;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int checkLines() {\n\t\tint completedLines = 0;\n\t\tfor(int row = 0; row < ROW_COUNT; row++) {\n\t\t\tif(checkLine(row)) {\n\t\t\t\tcompletedLines++;\n\t\t\t}\n\t\t}\n\t\treturn completedLines;\n\t}",
"private int checkLines(){\r\n \tint contRows = 0;\r\n \t\r\n \tfor (float y = height; y >= 0 &... | [
"0.71041876",
"0.6783119",
"0.67253613",
"0.66129917",
"0.66098726",
"0.6552716",
"0.6460471",
"0.6455286",
"0.64533436",
"0.64499354",
"0.6439608",
"0.6376241",
"0.6351536",
"0.63395447",
"0.63054234",
"0.62836206",
"0.62822264",
"0.6281603",
"0.62802416",
"0.6221675",
"0.62... | 0.6549781 | 6 |
checks if a line is full return true if full line | protected boolean fullLine(int row) {
// goes through columns in that row specified
for(int j = 0; j < blockMatrix[row].length; j++) {
// returns false when there's an empty position
if(!hasBlock(row, j)) {
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean hasLine(){\r\n\t\tif (getLine().equals(\"\"))\r\n\t\t\treturn false;\r\n\t\telse return true;\r\n\t}",
"public boolean checkLine(String line) {\n int len = line.length();\n return !(len > 0 && Character.isWhitespace(line.charAt(len-1)));\n }",
"public boolean isFull() {\n return (e... | [
"0.7105528",
"0.679141",
"0.67191803",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.666621",
"0.66603416",
"0.654172",
"0.65076536",
"0.6504763",
"0.6462563",
"0.64223546",
"0.6390119",
"0.6390119",
"0.6390119",
"0.63901... | 0.73222613 | 0 |
removes a row from the board | protected void removeLine(int row) {
// clear out the true values from row/filled blocks
for(int j = 0; j < blockMatrix[row].length; j++) {
blockMatrix[row][j] = false;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void removeRow(int row) {\r\n\t\tdata.remove(row);\r\n\t}",
"public void removeFromRow(int value, int row){\n\tfor (int c = 0; c < 9; c ++){\r\n\t if (board[row][c].remove(value) == true) {\r\n\t\tassign (board[row][c].getGuess(), row, c);\r\n\t }\r\n\t} \r\n }",
"public void deleteRow(int row)... | [
"0.7893189",
"0.7573764",
"0.7499533",
"0.7448323",
"0.73608977",
"0.7289463",
"0.7224596",
"0.716201",
"0.7152306",
"0.7076332",
"0.7013351",
"0.7003599",
"0.6888906",
"0.68742394",
"0.6845922",
"0.6833275",
"0.68210787",
"0.6745753",
"0.67393816",
"0.67302024",
"0.6727342",... | 0.71402436 | 9 |
getter for the block matrix | public boolean[][] getBlockMatrix() {
return blockMatrix;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int[][] getMatrix(){\n\t\treturn matrix;\n\t}",
"public Matrix getMatrix() {\n\t\treturn matrix;\n\t}",
"public int[][] getMat() {\n // Note: java has no return read-only so we won't return matrix;\n // b\\c that would expose internal representation. Instead we will\n // copy each row into a ne... | [
"0.71438813",
"0.6872498",
"0.68469584",
"0.68194175",
"0.6760946",
"0.67339915",
"0.6661414",
"0.65422285",
"0.65325135",
"0.6510901",
"0.6486403",
"0.6484227",
"0.643984",
"0.6404705",
"0.6388338",
"0.63773584",
"0.6310585",
"0.63065827",
"0.62972707",
"0.62886155",
"0.6241... | 0.7797521 | 0 |
getter for the current piece | public TetrisPiece getCurrentPiece() {
return currentPiece;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getPiece() {\n return piece;\n }",
"public Piece getPiece()\r\n\t{\r\n\t\treturn piece;\r\n\t}",
"public int getPiece()\n\t{\n\t\treturn this.piece;\n\t}",
"public Piece getPiece() {\n\treturn piece;\n }",
"public Piece getPiece() {\n return this.piece;\n }",
"public Pie... | [
"0.7822624",
"0.77230763",
"0.7650519",
"0.76294124",
"0.74916047",
"0.74092704",
"0.7329832",
"0.72029",
"0.7188531",
"0.71272546",
"0.6940858",
"0.67544234",
"0.6724535",
"0.65638226",
"0.64601743",
"0.6442294",
"0.64016944",
"0.64001006",
"0.63891786",
"0.63466614",
"0.629... | 0.7674723 | 2 |
getter for the current piece grid position | public int[] getCurrentPieceGridPosition() {
return currentPieceGridPosition;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public GridCoord getCoord() {\n return coord;\n }",
"public GridCoord getCoord() {\n\t\treturn this.coord;\n\t}",
"public Point getGridCoordinates(){\n try {\n return (new Point(x / MapManager.getMapTileWidth(), y / MapManager.getMapTileHeight()));\n } catch (Exception e){\n ... | [
"0.7607658",
"0.73848516",
"0.7254834",
"0.7198394",
"0.7096821",
"0.6980371",
"0.6974328",
"0.6938334",
"0.688062",
"0.6862264",
"0.6850397",
"0.6812854",
"0.68100756",
"0.6802343",
"0.6757499",
"0.67501",
"0.67468023",
"0.6733264",
"0.6716415",
"0.6710571",
"0.6707463",
"... | 0.83184135 | 0 |
getter for the number of columns in the board | public int getNumCols() {
return NUM_COLS;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract int getNumColumns();",
"public int getNcol(){\r\n \treturn this.ncol;\r\n \t}",
"public int getBoardWidth(){\n return Cols;\n }",
"public abstract int numColumns();",
"int getColumnsCount();",
"int getColumnsCount();",
"int getBoardSize() {\n return row * colu... | [
"0.8132356",
"0.8046831",
"0.7955775",
"0.7915884",
"0.78732836",
"0.78732836",
"0.7790583",
"0.77835846",
"0.77835846",
"0.7750578",
"0.7746703",
"0.7737178",
"0.7712254",
"0.77082247",
"0.7695197",
"0.76841694",
"0.760757",
"0.75794846",
"0.75678796",
"0.754377",
"0.7541837... | 0.7423064 | 36 |
getter for the number of rows in the board | public int getNumRows() {
return NUM_ROWS;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumRows() { \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Getter for the number of rows\n\t\treturn numRows; \n\t}",
"public int getNumRows() {\n return numRows;\n }",
"public int getNumRows() {\n return numRows;\n }",
"public int getRows() {\n\t\treturn myGrid.getRows();\n\t}",
"pub... | [
"0.77133167",
"0.7701651",
"0.7701651",
"0.7648005",
"0.7646482",
"0.76405066",
"0.76338875",
"0.76332635",
"0.7614704",
"0.7609044",
"0.75931925",
"0.7550331",
"0.7525352",
"0.7524268",
"0.7524268",
"0.75043565",
"0.75043565",
"0.74386895",
"0.74386895",
"0.74243134",
"0.742... | 0.75711286 | 11 |
getter for number of lines cleared this round | public int getNumLines() {
return numLines;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getLinesCount();",
"public int getNumLines ();",
"int getFixedLines();",
"public int getLines() {\n\t\treturn this.linhas;\n\t}",
"int getNumberOfLines();",
"public int getLinesCount() {\n return lines.length;\n }",
"public int getLineCount() {\n\t\treturn lineCount;\n\t}",
"public int ... | [
"0.76553667",
"0.75229055",
"0.7347769",
"0.7291094",
"0.7176272",
"0.705869",
"0.6958666",
"0.695781",
"0.69138217",
"0.68381447",
"0.6817384",
"0.6804865",
"0.6783754",
"0.67631346",
"0.6705445",
"0.6671511",
"0.665215",
"0.66046995",
"0.659819",
"0.6579698",
"0.6558556",
... | 0.7368827 | 2 |
getter for number of tetrises cleared this round | public int getNumTetrises() {
return numTetrises;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int numberOfTires() {\n int tires = 4;\n return tires;\n }",
"public int getCount() {\n\t\treturn this.countRound;\n\t}",
"public int getDraws() {\n return drawRound;\n }",
"public int getNSteps() {\n //if (mCovered == null) {\n //return 0;\n //}\n ... | [
"0.6545123",
"0.6478049",
"0.6426997",
"0.64240843",
"0.64002186",
"0.6363631",
"0.63560843",
"0.6337811",
"0.631095",
"0.6302619",
"0.6125567",
"0.61202174",
"0.61140585",
"0.6113801",
"0.60203284",
"0.6017727",
"0.5970543",
"0.5964815",
"0.595897",
"0.594856",
"0.5946349",
... | 0.71908194 | 0 |
Inflate tab_layout and setup Views. | @Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View x = inflater.inflate(R.layout.tablayout,null);
tabLayout = (TabLayout) x.findViewById(R.id.tabs);
viewPager = (ViewPager) x.findViewById(R.id.viewpager);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setupTabLayout() {\n tabLayout = (TabLayout) findViewById(R.id.tabs);\n tabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {\n @Override\n public void onTabSelected(TabLayout.Tab tab) {\n onTabTapped(tab.getPosition());\n ... | [
"0.7598438",
"0.7462454",
"0.74252385",
"0.7272815",
"0.71435124",
"0.71230143",
"0.7113529",
"0.7019951",
"0.7017021",
"0.68861395",
"0.6868795",
"0.68148637",
"0.6803321",
"0.6772938",
"0.6766637",
"0.67323047",
"0.66998154",
"0.6687504",
"0.66516876",
"0.662578",
"0.662371... | 0.68786335 | 10 |
Return fragment with respect to Position . | @Override
public Fragment getItem(int position)
{
switch (position){
case 0 : return new MedicalBackground();
case 1 : return new DiagnosticsFragmentLister();
case 2 :
if(StaffLogin.patientStaff) return new LabFragment();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Fragment getFragmentByPosition(int position);",
"String fragment();",
"public static text_fragment show_position(position pos) {\n assert pos != null;\n @Nullable text_position fragment_begin = null;\n @Nullable text_position fragment_end = null;\n // We only know how to display ... | [
"0.7211597",
"0.66629267",
"0.6293737",
"0.62685627",
"0.62094367",
"0.62094367",
"0.62065566",
"0.61614364",
"0.61355186",
"0.60890514",
"0.59531206",
"0.595292",
"0.5922138",
"0.58863115",
"0.58863115",
"0.58015746",
"0.57909775",
"0.5777364",
"0.5745434",
"0.57023746",
"0.... | 0.0 | -1 |
This method returns the title of the tab according to the position. | @Override
public CharSequence getPageTitle(int position) {
switch (position){
case 0 :
return "Medical Background";
case 1 :
return "Diagnostics";
case 2 :
if(StaffLogin.patientStaff)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTabTitle();",
"@Override\n public CharSequence getPageTitle(int position){\n String tabTitles[] = mContext.getResources().getStringArray(R.array.tab_name);\n // Generate title based on item position\n return tabTitles[position];\n }",
"@Override\n public CharSeque... | [
"0.82418054",
"0.78068435",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7791949",
"0.7696135",
"0.7538385",
"0.7530389",
"0.7521226",
"0.74965394",
"0.7448661",
"0.74179846",
"0.7373183",
"0.7245362",... | 0.6704706 | 62 |
Fin del main. Cuenta la cantidad de hojas que contiene un arbol binario x, y devuelve el total como un entero. | public static int cantNodosHojas(Nodo raiz)
{
if(raiz == null)
{
return 0;
}
else if(raiz.ramaDerecha == null && raiz.ramaIzquierda == null)
{
return 1;
}
else
{
return (cantNodosHojas(raiz.subArbolIzquie... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int AmbosHijos() { //Hecho por mi\n if (this.esArbolVacio()) {\n return 0; //Arbol vacio\n }\n int ambos = 0;\n Queue<NodoBinario<T>> colaDeNodos = new LinkedList<>();\n colaDeNodos.offer(raiz);\n while (!colaDeNodos.isEmpty()) {\n NodoBinario<... | [
"0.64654964",
"0.61365855",
"0.60868263",
"0.6075238",
"0.5970718",
"0.5922037",
"0.57455957",
"0.57261574",
"0.5671911",
"0.5666756",
"0.5661241",
"0.5639377",
"0.5610447",
"0.5604428",
"0.5585328",
"0.5581924",
"0.55652386",
"0.5554072",
"0.55531585",
"0.5533723",
"0.553228... | 0.5113505 | 96 |
TODO Autogenerated method stub | public void savePerson(Person person) {
} | {
"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 | public void findPersonById(int i) {
} | {
"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 | public Object getPersonService() {
return null;
} | {
"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 |
Ensure we have a starting base | @Test
@Ignore("This is only applicable to Neo4j 2.0.0-M03 and below where transactions " +
"were not mandatory for reading")
public void defaultReadingIsReadCommitted() throws Exception {
assertNameAndAgeViaLookup(john.getId(), "John", 34, "John");
// Do the update in a separate Thr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setRequiredBase(int value) {\n this.requiredBase = value;\n }",
"public int getRequiredBase() {\n return requiredBase;\n }",
"public URL makeBase(URL startingURL);",
"public void setBase(Integer base);",
"public void changeToBaseOne() {\r\n\t\tthis.numberBase = 1;\r\n\t}",
... | [
"0.6714828",
"0.62438744",
"0.5881109",
"0.58169734",
"0.57179725",
"0.57075244",
"0.5670263",
"0.56520694",
"0.54986435",
"0.5489096",
"0.54603744",
"0.5385849",
"0.53538305",
"0.52330554",
"0.5217459",
"0.52133924",
"0.5190282",
"0.5183077",
"0.51585543",
"0.5151476",
"0.51... | 0.0 | -1 |
Constructor for task to run JUnit test. | TestTask(TestMethod test, boolean testIsolation) {
this.test = test;
this.testIsolation = testIsolation;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected TeststepRunner() {}",
"public ActivitiTestCase() {\n }",
"public void setUp() {\n instance = new Task();\n }",
"public Task() {\n\t}",
"public TestOrchestrator(final NativeTest testTask) {\n this(testTask, new TestOrchestratorFactory(testTask));\n }",
"@org.junit.Test\n ... | [
"0.71849537",
"0.6900298",
"0.6896586",
"0.68449086",
"0.6836316",
"0.673831",
"0.67212015",
"0.6703802",
"0.66993994",
"0.6672542",
"0.66706175",
"0.66368955",
"0.66356206",
"0.66179246",
"0.6596162",
"0.6575848",
"0.6544828",
"0.65402937",
"0.6538126",
"0.651971",
"0.650222... | 0.67659366 | 5 |
Callable method to run JUnit test and return result. | @Override
public Result call() throws TimeoutException, InterruptedException {
Request request;
if (testIsolation) {
request = Request.method(test.reloadClass(), test.getName());
} else {
request = Request.method(test.getTestClass(), test.getName());
}
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TestResult run() {\n TestResult result= createResult();\n run(result);\n return result;\n }",
"protected abstract TestResult runTestImpl() throws Exception;",
"public static void runTests() {\n\t\tResult result = JUnitCore.runClasses(TestCalculator.class);\n\n\t}",
"public ... | [
"0.73580587",
"0.68335253",
"0.6566057",
"0.6531041",
"0.6435892",
"0.6310474",
"0.6263938",
"0.61583376",
"0.6140481",
"0.6125002",
"0.61241317",
"0.6096797",
"0.60536796",
"0.6048627",
"0.60118407",
"0.6009552",
"0.5961537",
"0.5960132",
"0.5951862",
"0.5948516",
"0.5917568... | 0.6172197 | 7 |
TODO Autogenerated method stub | public List<Classinfo> list() {
return null;
} | {
"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 | public List<Classinfo> listByState(int seqstate) {
return null;
} | {
"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 | public List<Classinfo> listById(String userid) {
return null;
} | {
"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 |
IMPORTANT INVARIANT: this should always return a map, never null. | Map getConnectionManagerMap(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Map<String, String> asMap();",
"protected Map<String, Object> assertMap() {\n if (type == Type.LIST) {\n throw new FlexDataWrongTypeRuntimeException(type, Type.OBJECT); \n }\n if (entryCollectionMap == null) {\n entryCollectionMap = new LinkedHashMap<String, Object>();\... | [
"0.71968734",
"0.7112828",
"0.68250567",
"0.68250567",
"0.68077785",
"0.67897165",
"0.6766068",
"0.67442024",
"0.67338336",
"0.6649481",
"0.6631335",
"0.6630815",
"0.66244227",
"0.65434015",
"0.6542813",
"0.6541981",
"0.6535934",
"0.65334857",
"0.65031755",
"0.6496064",
"0.64... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createBanque(Banque b) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readBanque(Banque b) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateBanque(Banque b) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteBanque(Banque b) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createAgence(Agence a) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readAgence(Agence a) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateAgence(Agence a) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteAgence(Agence a) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createGerant(Gerant g) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readGerant(Gerant g) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateGerant(Gerant g) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteGerant(Gerant g) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createConseille(Conseille c) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readConseille(Conseille c) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateConseille(Conseille c) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteConseille(Conseille c) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createClient(Client clt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readClient(Client clt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createCpteCourant(CompteCourant cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readCpteCourant(CompteCourant cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateCpteCourant(CompteCourant cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteCpteCourant(CompteCourant cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createCpteEpargne(CompteEpargne cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readCpteEpargne(CompteEpargne cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateCpteEpargne(CompteEpargne cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteCpteEpargne(CompteEpargne cpt) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createBourse(Bourse brs) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readBourse(Bourse brs) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateBourse(Bourse brs) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteBourse(Bourse brs) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void createCB(CB cb) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void readCB(CB cb) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void updateCB(CB cb) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void deleteCB(CB cb) {
} | {
"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 |
Invite join leave broadcasts: | public static String wasInvited(SagaPlayer sagaPlayer, Bundle settlement) {
return Colour.normal1 + "You were invited to " + settlement.getName() + " settlement.";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void leave()\n {\n if (chatRoomSession != null)\n { // manually close the chat room session\n // and set the chat room session to null.\n chatRoomSession.close();\n chatRoomSession = null;\n }\n\n Iterator<Entry<String, Contact>> membersSet =\n... | [
"0.6398811",
"0.5915995",
"0.58797383",
"0.5859068",
"0.5836381",
"0.58085155",
"0.5789541",
"0.5770565",
"0.574297",
"0.5673105",
"0.56579834",
"0.563932",
"0.5571805",
"0.55498093",
"0.54932564",
"0.5458752",
"0.54272157",
"0.54085433",
"0.5407741",
"0.5403168",
"0.53877956... | 0.0 | -1 |
/ Counting sort runs in n time. And Bucket sort run in whatever sorting algorithm is implemented with bucket sort /Counting Sort Algorithm Starts Here | public static void main(String[] args) {
System.out.println("Counting Sort\n");
int [] A = {14, 10, 13, 4, 7, 9, 3, 5, 3, 5};
int [] B = new int [A.length + 1];
//Gets the highest number in the array
int k = 0;
for(int i = 0 ; i < A.length ; i++){
if(A[i] > k)
k = A[i];
}
CountingSort(A,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static long[] radixsort(int arr[], int n)\r\n\r\n {\n\r\n int m = getMax(arr, n);\r\n\r\n long st = System.nanoTime();\r\n\r\n\r\n\r\n for (int exp = 1; m/exp > 0; exp *= 10)\r\n\r\n countSort(arr, n, exp);\r\n\r\n \r\n\r\n long et = System.nanoTime();\r\n\r\n threeVals[2] = et - st;\r\n\r\n return threeVals;\r\n\... | [
"0.7196746",
"0.6862599",
"0.6857852",
"0.6808985",
"0.6744581",
"0.6622991",
"0.6563143",
"0.6551251",
"0.650606",
"0.64846414",
"0.64768493",
"0.6472294",
"0.6458959",
"0.64425385",
"0.64113724",
"0.6410554",
"0.6391669",
"0.63893086",
"0.63803446",
"0.637191",
"0.635121",
... | 0.72432965 | 0 |
/ Prints out the before sorting algorithm | private static void CountingSort(int[] A, int[] B, int k) {
System.out.print("Before counting sort: ");
for(int i = 0 ; i < A.length ; i++){
System.out.print(A[i] + " ");
}
System.out.println();
//C goes all the way to 14
int [] C = new int [k + 1];
// System.out.println("The amount of index in... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String doSort();",
"public void sort() {\n\t\tSystem.out.println(\"Quick Sort Algorithm invoked\");\n\n\t}",
"public void sort() {\n }",
"@Override\n\tpublic String sort() {\n\t\tString s=\"Insertionsort Function\";\n\t\treturn s;\n\t}",
"public static void main(String[] args) {\r\n int[] numb... | [
"0.7108104",
"0.7037572",
"0.69379663",
"0.6805804",
"0.67414784",
"0.67182076",
"0.6711482",
"0.6681777",
"0.66371244",
"0.6628222",
"0.6623443",
"0.6616382",
"0.6616382",
"0.6579741",
"0.6569543",
"0.6550508",
"0.6547107",
"0.65227056",
"0.6476374",
"0.6472823",
"0.64450043... | 0.0 | -1 |
/ Prints out the before sorting algorithm | private static void BucketSort(int[] A){
System.out.println("BucketSort\n");
System.out.print("Before bucket sort: ");
for(int i = 0 ; i < A.length ; i++){
System.out.print(A[i] + " ");
}
System.out.println();
//Gets the highest number in the array
int MaxNum = 0;
for(int i = 0 ; i < A.le... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String doSort();",
"public void sort() {\n\t\tSystem.out.println(\"Quick Sort Algorithm invoked\");\n\n\t}",
"public void sort() {\n }",
"@Override\n\tpublic String sort() {\n\t\tString s=\"Insertionsort Function\";\n\t\treturn s;\n\t}",
"public static void main(String[] args) {\r\n int[] numb... | [
"0.7108104",
"0.7037572",
"0.69379663",
"0.6805804",
"0.67414784",
"0.67182076",
"0.6711482",
"0.6681777",
"0.66371244",
"0.6628222",
"0.6623443",
"0.6616382",
"0.6616382",
"0.6579741",
"0.6569543",
"0.6550508",
"0.6547107",
"0.65227056",
"0.6476374",
"0.6472823",
"0.64450043... | 0.0 | -1 |
Gets the organizationId attribute. | public String getOrganizationId() {
return organizationId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Number getOrganizationId() {\n return (Number)getAttributeInternal(ORGANIZATIONID);\n }",
"public String getOrganizationId() {\r\n return organizationId;\r\n }",
"public Long getOrganizationId() {\n return organizationId;\n }",
"public Long getOrganizationId() {\n ... | [
"0.8544945",
"0.84024775",
"0.83336157",
"0.83336157",
"0.81429446",
"0.80378234",
"0.80198026",
"0.7991703",
"0.77231365",
"0.7697433",
"0.7558807",
"0.7541266",
"0.7526924",
"0.75072074",
"0.75072074",
"0.75072074",
"0.75072074",
"0.75072074",
"0.7468377",
"0.7342058",
"0.7... | 0.840367 | 1 |
Sets the organizationId attribute value. | public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOrganizationId(Number value) {\n setAttributeInternal(ORGANIZATIONID, value);\n }",
"public void setOrganizationId(long organizationId);",
"public void setOrganizationId(java.lang.String organizationId)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orph... | [
"0.8266839",
"0.8153391",
"0.8122145",
"0.80504733",
"0.7904958",
"0.7626826",
"0.75822085",
"0.75822085",
"0.7438747",
"0.7349569",
"0.7349569",
"0.7169491",
"0.71658236",
"0.7150487",
"0.7084765",
"0.6973984",
"0.6973984",
"0.6951871",
"0.68523294",
"0.68523294",
"0.6852329... | 0.75004166 | 8 |
Gets the organization attribute. | public Organization getOrganization() {
return organization;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOrganization() {\n return organization;\n }",
"public Number getOrganizationId() {\n return (Number)getAttributeInternal(ORGANIZATIONID);\n }",
"public String getOrganization ()\n {\n return this.organization;\n }",
"public String organization() {\n ... | [
"0.79180634",
"0.79081774",
"0.78894156",
"0.78248495",
"0.78155863",
"0.77175796",
"0.75889456",
"0.73210806",
"0.73143893",
"0.7299385",
"0.7257271",
"0.7232387",
"0.7219396",
"0.71937484",
"0.717655",
"0.7131058",
"0.70341676",
"0.70341676",
"0.7022272",
"0.70076084",
"0.6... | 0.7591742 | 7 |
Sets the organization attribute value. | public void setOrganization(Organization organization) {
this.organization = organization;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setOrganization(String organization) {\n this.organization = organization;\n }",
"public void setOrganization(String organization);",
"public void setOrganization(Organization organization){\r\n\t\tthis.organization = organization;\r\n\t}",
"public void setOrganizationId(Number value... | [
"0.7812425",
"0.77790326",
"0.7653908",
"0.76293576",
"0.75828063",
"0.7308876",
"0.71943784",
"0.70696205",
"0.70696205",
"0.7036321",
"0.7013611",
"0.6961922",
"0.6900918",
"0.67314863",
"0.6632712",
"0.6632712",
"0.6632712",
"0.6632712",
"0.6632712",
"0.6632712",
"0.663271... | 0.75529975 | 6 |
pointcut names must match | @Before("pointcut()") //pointcut names must match
public void log(){
logger.info("-------LOG INFO first------");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void testPublic() throws IOException {\n String[] publicHello = new String[] { \"method-execution(void HelloWorld.main(java.lang.String[]))\" };\n String[] publicFancyHello = new String[] { \"method-execution(void FancyHelloWorld.main(java.lang.String[]))\", \"method-execution(java.lang.String... | [
"0.6773263",
"0.6675503",
"0.66695005",
"0.6527641",
"0.64671105",
"0.6449985",
"0.642501",
"0.6421168",
"0.64153427",
"0.6383601",
"0.63799614",
"0.63614845",
"0.6356686",
"0.6291849",
"0.62910706",
"0.61872846",
"0.61699635",
"0.6163281",
"0.6147261",
"0.60744226",
"0.60618... | 0.69513273 | 0 |
TODO Autogenerated method stub | @Override
public void run() {
for (int i = 0; i < 10; i++) {
conditionThreadCommunication.printA();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void run() {
for (int i = 0; i < 10; i++) {
conditionThreadCommunication.printB();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void run() {
for (int i = 0; i < 10; i++) {
conditionThreadCommunication.printC();
}
} | {
"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 |
Created by zsy on 16/8/11. | public interface UserLoginFacade {
/**
* 正常登陆接口
*
* @param loginParam loginParam
* @return
*/
public Result<UserInfoDTO> loginForApp(LoginParam loginParam);
/**
* 同意协议
*
* @param loginParam loginParam
* @return
*/
public Result<UserInfoDTO> agreeProtoc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n... | [
"0.6018238",
"0.5957879",
"0.59034765",
"0.58546776",
"0.58288753",
"0.58288753",
"0.5814219",
"0.5799727",
"0.5765852",
"0.57506347",
"0.5730584",
"0.5724686",
"0.5717869",
"0.570747",
"0.57036316",
"0.5700574",
"0.5699036",
"0.5693993",
"0.5689294",
"0.5671746",
"0.5671499"... | 0.0 | -1 |
getAutoCompleteInfo() method take employeeId as a input and display all employeeId's or employeeName's in the search box based on the user supplied values. | @RequestMapping(value = "/getAutoCompleteInfo", method = RequestMethod.POST)
public @ResponseBody String getAutoCompleteInfo(@RequestParam("employeeId") String employeeId) {
List<Integer> infolist = null;
Pattern pattern = Pattern.compile("^[0-9]$");
Matcher matcher = pattern.matcher(employeeId);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public EmployeeLookup() {\r\n\t\tfill();\r\n\t\tinitialize();\r\n\t\t//AutoCompleteDecorator.decorate(el);\r\n\t}",
"public Employeedetails getEmployeeDetailByName(String employeeId);",
"private void btnGetEmployeeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGetEmployeeActionPerformed\... | [
"0.6071533",
"0.59636265",
"0.58795404",
"0.56845766",
"0.5522358",
"0.5398993",
"0.53936094",
"0.53391856",
"0.53066266",
"0.53026885",
"0.52903223",
"0.5277353",
"0.5269778",
"0.52370375",
"0.5225741",
"0.5215933",
"0.52125365",
"0.5205844",
"0.5205409",
"0.52040195",
"0.51... | 0.69363487 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.