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 |
|---|---|---|---|---|---|---|
Constructor for a RelationshipTypeImplementation | IANodeTypeImplCandidate(AbstractRelationshipTypeImplementation impl) {
this.relationImpl = impl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Relationship() {\r\n\t}",
"public RelationshipElement (RelationshipElement.Impl impl, \n\t\tPersistenceClassElement declaringClass)\n\t{\n\t\tsuper(impl, declaringClass);\n\t}",
"public RelationshipElement ()\n\t{\n\t\tthis(null, null);\n\t}",
"public TmRelationship() {\n this(\"TM_RELATIONSHIP... | [
"0.7400314",
"0.6805942",
"0.67278564",
"0.64834136",
"0.63402796",
"0.6278303",
"0.61737955",
"0.6099572",
"0.6086065",
"0.60358024",
"0.5989492",
"0.59772485",
"0.59756744",
"0.5848232",
"0.58474606",
"0.5835287",
"0.57255495",
"0.5713691",
"0.5712991",
"0.5696727",
"0.5666... | 0.6387806 | 4 |
Adds a mapping from IA to InfrastructureNode with a PrePhaseIAPlugin | void add(AbstractImplementationArtifact ia, AbstractNodeTemplate nodeTemplate, IPlanBuilderPrePhaseIAPlugin plugin) {
for (AbstractImplementationArtifact candidateIa : this.ias) {
if (candidateIa.equals(ia)) {
return;
}
}
this.ias.add(ia);
this.infraNodes.add(nodeTemplate);
this.plugins.add(plugin);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addInitializer(IASTInitializer initializer);",
"@Override\n\tpublic JsonElement addAI(AddAIRequest addAIreq) {\n\t\treturn null;\n\t}",
"public void addVMinterfPair(String intrfcLabel, String ipAddress) {\n\r\n this.intrfces.add(new VMinterface(intrfcLabel, ipAddress));\r\n }",
"public ... | [
"0.4839917",
"0.48224744",
"0.48144147",
"0.4770598",
"0.4713821",
"0.46981183",
"0.46773106",
"0.46547723",
"0.4627584",
"0.46249092",
"0.46220312",
"0.45874792",
"0.45662904",
"0.45549068",
"0.45529234",
"0.45482978",
"0.45272166",
"0.4507689",
"0.45028484",
"0.44924062",
"... | 0.70359236 | 0 |
Checks whether all IA's can be deployed of Implementation | boolean isValid() {
if (this.nodeImpl != null) {
for (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {
boolean matched = false;
for (AbstractImplementationArtifact handledIa : this.ias) {
if (ia.equals(handledIa)) {
matched = true;
}
}
if (!matched) {
return false;
}
}
return true;
} else {
for (AbstractImplementationArtifact ia : this.relationImpl.getImplementationArtifacts()) {
boolean matched = false;
for (AbstractImplementationArtifact handledIa : this.ias) {
if (ia.equals(handledIa)) {
matched = true;
}
}
if (!matched) {
return false;
}
}
return true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic boolean canBeContainedInto(IAlgoContainer algoContainer) {\n\t\treturn false;\n\t}",
"boolean isValid(String interfaceName, String operationName) {\n\t\tif (this.nodeImpl != null) {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {\n\t\t\t\t... | [
"0.6156228",
"0.60459554",
"0.5848657",
"0.58339185",
"0.5686509",
"0.5657187",
"0.56163526",
"0.5593819",
"0.55441827",
"0.54547596",
"0.5450937",
"0.5446229",
"0.54310036",
"0.5430528",
"0.5423071",
"0.5420984",
"0.5413596",
"0.5402467",
"0.5396256",
"0.5362761",
"0.5360582... | 0.6829453 | 0 |
Checks whether all IA's can be deployed of Implementation | boolean isValid(String interfaceName, String operationName) {
if (this.nodeImpl != null) {
for (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {
if (ia.getInterfaceName() != interfaceName) {
continue;
}
if (ia.getOperationName() != null && ia.getOperationName() != operationName) {
continue;
}
boolean matched = false;
for (AbstractImplementationArtifact handledIa : this.ias) {
if (ia.equals(handledIa)) {
matched = true;
}
}
if (!matched) {
return false;
}
}
return true;
} else {
for (AbstractImplementationArtifact ia : this.relationImpl.getImplementationArtifacts()) {
if (ia.getInterfaceName() != interfaceName) {
continue;
}
if (ia.getOperationName() != null && ia.getOperationName() != operationName) {
continue;
}
boolean matched = false;
for (AbstractImplementationArtifact handledIa : this.ias) {
if (ia.equals(handledIa)) {
matched = true;
}
}
if (!matched) {
return false;
}
}
return true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isValid() {\n\t\tif (this.nodeImpl != null) {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatc... | [
"0.68297833",
"0.6156886",
"0.5848633",
"0.5833673",
"0.5685655",
"0.5656773",
"0.5615253",
"0.55938816",
"0.55448633",
"0.54550445",
"0.54510593",
"0.54462695",
"0.5430781",
"0.5430128",
"0.54229337",
"0.54209894",
"0.5413438",
"0.5403069",
"0.5396863",
"0.53625846",
"0.5360... | 0.60461146 | 2 |
return String save to file | public String toFile(){
return String.format("%s:%s:%s:%s:%s:%s:%s",hashIndex,id,super.toFile(),
facultyAbbr.getAbbreviation(), courseName.getCourseName(),tutorialGroup,session);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String savedFile();",
"File getSaveFile();",
"void save(String filename);",
"void save(String output);",
"void save(String fileName);",
"static String save() {\n JFileChooser fileChooser;\n String path = FileLoader.loadFile(\"path.txt\");\n if (path != null) {\n fileChoose... | [
"0.7968382",
"0.7457428",
"0.7186797",
"0.7144742",
"0.71416485",
"0.71125567",
"0.7106949",
"0.7099316",
"0.70925885",
"0.69926924",
"0.69672364",
"0.69542193",
"0.6844332",
"0.68338776",
"0.6658952",
"0.6642455",
"0.66356045",
"0.6628048",
"0.66258126",
"0.6607457",
"0.6598... | 0.6654766 | 15 |
Created by liangz on 2016/1/17. | public interface Greeting {
void sayHello(String name);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r... | [
"0.6096386",
"0.59488046",
"0.5875996",
"0.5802846",
"0.5775452",
"0.5775452",
"0.57289666",
"0.56829375",
"0.56827396",
"0.56611717",
"0.56584036",
"0.5656494",
"0.5633446",
"0.56306225",
"0.56080335",
"0.5600167",
"0.5594848",
"0.558465",
"0.5577579",
"0.55771303",
"0.55615... | 0.0 | -1 |
/ int id; String nickname; String password; String salt; Date register_date; Date last_login_date; int login_count; | @Insert("insert into shoppinguser(id,nickname,password,salt,register_date,last_login_date,login_count) "
+ "values(#{id},#{nickname},#{password},#{salt},#{register_date},#{last_login_date},#{login_count})")
Boolean tx(ShoppingUser user); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface LoginRepository {\n\n\t/**\n\t * Generates data to provision the database with 100,000 dummy records.\n\t * \n\t * @return returns 1 if the operation was successful.\n\t */\n\tpublic long insert();\n\n\t/**\n\t * Queries all of the unique dates (ignoring time) in the table in ascending\n\t * order... | [
"0.6687849",
"0.6471946",
"0.64135003",
"0.63905513",
"0.6104411",
"0.6077001",
"0.59108233",
"0.5909348",
"0.59069955",
"0.5832791",
"0.582241",
"0.582241",
"0.582241",
"0.5820515",
"0.5809692",
"0.5806264",
"0.57907826",
"0.5789611",
"0.5789611",
"0.5789611",
"0.5789611",
... | 0.59844106 | 6 |
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() {
painelFundo = new javax.swing.JPanel();
painel6 = new javax.swing.JPanel();
jLabel28 = new javax.swing.JLabel();
labelcone4 = new javax.swing.JLabel();
jLabel35 = new javax.swing.JLabel();
cilindro_respArea = new javax.swing.JTextField();
cilindro_areaTxtRaio = new javax.swing.JTextField();
cilindro_areaTxtArea = new javax.swing.JTextField();
cilindro_btnArea = new javax.swing.JButton();
cilindro_eixoX = new javax.swing.JTextField();
labelcone5 = new javax.swing.JLabel();
cilindro_eixoY = new javax.swing.JTextField();
labelcone6 = new javax.swing.JLabel();
jLabel45 = new javax.swing.JLabel();
cilindro_respVol = new javax.swing.JTextField();
jLabel58 = new javax.swing.JLabel();
jLabel59 = new javax.swing.JLabel();
jLabel62 = new javax.swing.JLabel();
jLabel63 = new javax.swing.JLabel();
labelcone7 = new javax.swing.JLabel();
labelcone13 = new javax.swing.JLabel();
labelcone14 = new javax.swing.JLabel();
labelcone15 = new javax.swing.JLabel();
PainelBotoes = new javax.swing.JPanel();
linhaHorizontalPainel = new javax.swing.JPanel();
botao1 = new javax.swing.JPanel();
textoBotao1 = new javax.swing.JLabel();
abaBotao1 = new javax.swing.JPanel();
botao1Select = new javax.swing.JPanel();
txtBotaoSelect1 = new javax.swing.JLabel();
titulo1 = new javax.swing.JLabel();
titulo2 = new javax.swing.JLabel();
titulo3 = new javax.swing.JLabel();
titulo5 = new javax.swing.JLabel();
titulo6 = new javax.swing.JLabel();
botao2 = new javax.swing.JPanel();
textoBotao2 = new javax.swing.JLabel();
abaBotao2 = new javax.swing.JPanel();
botao_aba_Triangulo = new javax.swing.JPanel();
txtBotaoSelect2 = new javax.swing.JLabel();
botao3 = new javax.swing.JPanel();
abaBotao3 = new javax.swing.JPanel();
botao3Select = new javax.swing.JPanel();
txtBotaoSelect3 = new javax.swing.JLabel();
textoBotao3 = new javax.swing.JLabel();
botao4 = new javax.swing.JPanel();
abaBotao4 = new javax.swing.JPanel();
botao4Select = new javax.swing.JPanel();
txtBotaoSelect4 = new javax.swing.JLabel();
textoBotao4 = new javax.swing.JLabel();
botao5 = new javax.swing.JPanel();
abaBotao5 = new javax.swing.JPanel();
botao5Select = new javax.swing.JPanel();
txtBotaoSelect5 = new javax.swing.JLabel();
textoBotao5 = new javax.swing.JLabel();
botao6 = new javax.swing.JPanel();
abaBotao6 = new javax.swing.JPanel();
botao6Select = new javax.swing.JPanel();
txtBotaoSelect6 = new javax.swing.JLabel();
textoBotao6 = new javax.swing.JLabel();
botao7 = new javax.swing.JPanel();
abaBotao7 = new javax.swing.JPanel();
botao7Select = new javax.swing.JPanel();
txtBotaoSelect7 = new javax.swing.JLabel();
textoBotao7 = new javax.swing.JLabel();
botao8 = new javax.swing.JPanel();
abaBotao8 = new javax.swing.JPanel();
botao8Select = new javax.swing.JPanel();
txtBotaoSelect8 = new javax.swing.JLabel();
textoBotao8 = new javax.swing.JLabel();
painel1 = new javax.swing.JPanel();
caminhoObjetos = new javax.swing.JTextField();
jLabel2 = new javax.swing.JLabel();
jScrollPane2 = new javax.swing.JScrollPane();
telaObjetos = new javax.swing.JTextArea();
jLabel1 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel();
btnCarregarObjetos = new javax.swing.JButton();
limparCampo = new javax.swing.JButton();
salvar_objetos = new javax.swing.JButton();
painel2 = new javax.swing.JPanel();
jLabel8 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
triangulo_ladoAtxt = new javax.swing.JTextField();
triangulo_ladoBtxt = new javax.swing.JTextField();
triangulo_ladoCtxt = new javax.swing.JTextField();
jLabel9 = new javax.swing.JLabel();
triangulo_resp_perimetro = new javax.swing.JTextField();
triangulo_btn_calcPerimetro = new javax.swing.JButton();
triangulo_alturaTxt = new javax.swing.JTextField();
jLabel14 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel();
triangulo_baseTxt = new javax.swing.JTextField();
triangulo_respAreaTxt = new javax.swing.JTextField();
jLabel10 = new javax.swing.JLabel();
jLabel17 = new javax.swing.JLabel();
triangulo_eixoX = new javax.swing.JTextField();
jLabel18 = new javax.swing.JLabel();
jLabel19 = new javax.swing.JLabel();
triangulo_eixoY = new javax.swing.JTextField();
jLabel50 = new javax.swing.JLabel();
jLabel53 = new javax.swing.JLabel();
labelcone21 = new javax.swing.JLabel();
labelcone22 = new javax.swing.JLabel();
labelcone23 = new javax.swing.JLabel();
labelcone24 = new javax.swing.JLabel();
labelcone25 = new javax.swing.JLabel();
labelcone26 = new javax.swing.JLabel();
labelcone27 = new javax.swing.JLabel();
painel3 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
cone_respVol = new javax.swing.JTextField();
cone_alturaVol = new javax.swing.JTextField();
jLabel31 = new javax.swing.JLabel();
jLabel33 = new javax.swing.JLabel();
cone_areaTotal = new javax.swing.JTextField();
cone_areaRaio = new javax.swing.JTextField();
cone_areaGeratriz = new javax.swing.JTextField();
cone_btnAreaTot = new javax.swing.JButton();
jLabel34 = new javax.swing.JLabel();
cone_eixoY = new javax.swing.JTextField();
cone_eixoX = new javax.swing.JTextField();
jLabel36 = new javax.swing.JLabel();
jLabel32 = new javax.swing.JLabel();
jLabel47 = new javax.swing.JLabel();
jLabel52 = new javax.swing.JLabel();
jLabel37 = new javax.swing.JLabel();
jLabel42 = new javax.swing.JLabel();
jLabel44 = new javax.swing.JLabel();
jLabel68 = new javax.swing.JLabel();
jLabel69 = new javax.swing.JLabel();
painel4 = new javax.swing.JPanel();
paralelepipedo_btnCalcArea = new javax.swing.JButton();
paralelepipedo_alturaArea = new javax.swing.JTextField();
jLabel20 = new javax.swing.JLabel();
paralelepipedo_largArea = new javax.swing.JTextField();
jLabel21 = new javax.swing.JLabel();
paralelepipedo_compArea = new javax.swing.JTextField();
jLabel22 = new javax.swing.JLabel();
jLabel23 = new javax.swing.JLabel();
paralelepipedo_respArea = new javax.swing.JTextField();
jLabel27 = new javax.swing.JLabel();
paralelepipedo_volResp = new javax.swing.JTextField();
jLabel29 = new javax.swing.JLabel();
paralelepipedo_EixoX = new javax.swing.JTextField();
paralelepipedo_EixoY = new javax.swing.JTextField();
jLabel30 = new javax.swing.JLabel();
jLabel54 = new javax.swing.JLabel();
jLabel55 = new javax.swing.JLabel();
jLabel56 = new javax.swing.JLabel();
jLabel57 = new javax.swing.JLabel();
jLabel60 = new javax.swing.JLabel();
jLabel61 = new javax.swing.JLabel();
labelcone16 = new javax.swing.JLabel();
labelcone17 = new javax.swing.JLabel();
labelcone18 = new javax.swing.JLabel();
labelcone19 = new javax.swing.JLabel();
labelcone20 = new javax.swing.JLabel();
painel5 = new javax.swing.JPanel();
jLabel46 = new javax.swing.JLabel();
jLabel48 = new javax.swing.JLabel();
quad_respPer = new javax.swing.JTextField();
labelcone9 = new javax.swing.JLabel();
quad_eixoX = new javax.swing.JTextField();
labelcone10 = new javax.swing.JLabel();
quad_eixoY = new javax.swing.JTextField();
quad_btnArea = new javax.swing.JButton();
jLabel49 = new javax.swing.JLabel();
jLabel51 = new javax.swing.JLabel();
labelcone12 = new javax.swing.JLabel();
quad_respArea = new javax.swing.JTextField();
quad_areaLadoA = new javax.swing.JTextField();
jLabel66 = new javax.swing.JLabel();
jLabel67 = new javax.swing.JLabel();
labelcone28 = new javax.swing.JLabel();
labelcone29 = new javax.swing.JLabel();
labelcone30 = new javax.swing.JLabel();
painel7 = new javax.swing.JPanel();
jLabel6 = new javax.swing.JLabel();
labelcone1 = new javax.swing.JLabel();
jLabel38 = new javax.swing.JLabel();
equacao_x1 = new javax.swing.JTextField();
equacao_A = new javax.swing.JTextField();
equacao_calcular = new javax.swing.JButton();
jLabel39 = new javax.swing.JLabel();
labelcone2 = new javax.swing.JLabel();
equacao_B = new javax.swing.JTextField();
equacao_C = new javax.swing.JTextField();
labelcone3 = new javax.swing.JLabel();
jLabel40 = new javax.swing.JLabel();
equacao_x2 = new javax.swing.JTextField();
jLabel41 = new javax.swing.JLabel();
equacao_Delta = new javax.swing.JTextField();
jLabel64 = new javax.swing.JLabel();
jLabel65 = new javax.swing.JLabel();
painel8 = new javax.swing.JPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Programa de Calculo");
setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
setLocation(new java.awt.Point(400, 90));
setMaximumSize(new java.awt.Dimension(720, 560));
setMinimumSize(new java.awt.Dimension(820, 560));
setName("janelaPrincipal"); // NOI18N
setPreferredSize(new java.awt.Dimension(710, 550));
setResizable(false);
setSize(new java.awt.Dimension(710, 550));
painelFundo.setBackground(new java.awt.Color(255, 255, 255));
painelFundo.setMinimumSize(new java.awt.Dimension(820, 550));
painelFundo.setPreferredSize(new java.awt.Dimension(820, 550));
painelFundo.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
painel6.setBackground(new java.awt.Color(220, 123, 103));
painel6.setLayout(null);
jLabel28.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel28.setText("Altura:");
painel6.add(jLabel28);
jLabel28.setBounds(50, 160, 49, 34);
labelcone4.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone4.setText("Raio:");
painel6.add(labelcone4);
labelcone4.setBounds(61, 124, 38, 39);
jLabel35.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel35.setText("Area Total:");
painel6.add(jLabel35);
jLabel35.setBounds(10, 287, 81, 39);
cilindro_respArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_respAreaActionPerformed(evt);
}
});
painel6.add(cilindro_respArea);
cilindro_respArea.setBounds(101, 295, 74, 20);
cilindro_areaTxtRaio.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_areaTxtRaioActionPerformed(evt);
}
});
painel6.add(cilindro_areaTxtRaio);
cilindro_areaTxtRaio.setBounds(110, 130, 72, 20);
cilindro_areaTxtArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_areaTxtAreaActionPerformed(evt);
}
});
painel6.add(cilindro_areaTxtArea);
cilindro_areaTxtArea.setBounds(110, 160, 72, 20);
cilindro_btnArea.setText("Calcular");
cilindro_btnArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_btnAreaActionPerformed(evt);
}
});
painel6.add(cilindro_btnArea);
cilindro_btnArea.setBounds(237, 346, 90, 23);
cilindro_eixoX.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_eixoXActionPerformed(evt);
}
});
painel6.add(cilindro_eixoX);
cilindro_eixoX.setBounds(113, 30, 72, 20);
labelcone5.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone5.setText("m²");
painel6.add(labelcone5);
labelcone5.setBounds(190, 120, 41, 39);
cilindro_eixoY.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_eixoYActionPerformed(evt);
}
});
painel6.add(cilindro_eixoY);
cilindro_eixoY.setBounds(278, 30, 72, 20);
labelcone6.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone6.setText("Eixo Y: ");
painel6.add(labelcone6);
labelcone6.setBounds(211, 22, 63, 39);
jLabel45.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel45.setText("Volume:");
painel6.add(jLabel45);
jLabel45.setBounds(32, 339, 61, 39);
cilindro_respVol.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cilindro_respVolActionPerformed(evt);
}
});
painel6.add(cilindro_respVol);
cilindro_respVol.setBounds(103, 347, 74, 20);
jLabel58.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel58.setText("Formula Área");
painel6.add(jLabel58);
jLabel58.setBounds(275, 104, 199, 23);
jLabel59.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel59.setText("Formula Volume");
painel6.add(jLabel59);
jLabel59.setBounds(257, 235, 199, 23);
jLabel62.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel62.setText(" A = 2 . pi . r ( r + h )");
painel6.add(jLabel62);
jLabel62.setBounds(244, 145, 223, 35);
jLabel63.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel63.setText("V = pi . r² . h");
painel6.add(jLabel63);
jLabel63.setBounds(277, 264, 179, 55);
labelcone7.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone7.setText("Eixo X: ");
painel6.add(labelcone7);
labelcone7.setBounds(50, 22, 59, 39);
labelcone13.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone13.setText("m³");
painel6.add(labelcone13);
labelcone13.setBounds(181, 340, 41, 39);
labelcone14.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone14.setText("m²");
painel6.add(labelcone14);
labelcone14.setBounds(190, 150, 41, 39);
labelcone15.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone15.setText("m²");
painel6.add(labelcone15);
labelcone15.setBounds(185, 288, 41, 39);
painelFundo.add(painel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
PainelBotoes.setBackground(new java.awt.Color(56, 55, 55));
linhaHorizontalPainel.setBackground(new java.awt.Color(153, 153, 153));
linhaHorizontalPainel.setPreferredSize(new java.awt.Dimension(240, 2));
linhaHorizontalPainel.setRequestFocusEnabled(false);
javax.swing.GroupLayout linhaHorizontalPainelLayout = new javax.swing.GroupLayout(linhaHorizontalPainel);
linhaHorizontalPainel.setLayout(linhaHorizontalPainelLayout);
linhaHorizontalPainelLayout.setHorizontalGroup(
linhaHorizontalPainelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 248, Short.MAX_VALUE)
);
linhaHorizontalPainelLayout.setVerticalGroup(
linhaHorizontalPainelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 2, Short.MAX_VALUE)
);
botao1.setBackground(new java.awt.Color(56, 55, 55));
botao1.setPreferredSize(new java.awt.Dimension(150, 76));
botao1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao1MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao1MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao1MouseExited(evt);
}
});
botao1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
textoBotao1.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao1.setForeground(new java.awt.Color(204, 204, 204));
textoBotao1.setText("Objetos Salvos");
botao1.add(textoBotao1, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 7, -1, -1));
abaBotao1.setBackground(new java.awt.Color(121, 121, 121));
abaBotao1.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao1.add(abaBotao1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao1Select.setBackground(new java.awt.Color(83, 83, 83));
botao1Select.setPreferredSize(new java.awt.Dimension(150, 55));
botao1Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao1SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao1SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao1SelectMouseExited(evt);
}
});
botao1Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect1.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect1.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect1.setText("Objetos Salvos");
botao1Select.add(txtBotaoSelect1, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 7, -1, -1));
botao1.add(botao1Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
titulo1.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
titulo1.setForeground(new java.awt.Color(204, 204, 204));
titulo1.setText("v0.05");
titulo2.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
titulo2.setForeground(new java.awt.Color(204, 204, 204));
titulo2.setText("Funções Matemáticas ");
titulo3.setFont(new java.awt.Font("Calibri", 1, 36)); // NOI18N
titulo3.setForeground(new java.awt.Color(204, 204, 204));
titulo3.setText("Cálculos ");
titulo5.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
titulo5.setForeground(new java.awt.Color(204, 204, 204));
titulo5.setText("&");
titulo6.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
titulo6.setForeground(new java.awt.Color(204, 204, 204));
titulo6.setText("Geometria");
botao2.setBackground(new java.awt.Color(56, 55, 55));
botao2.setPreferredSize(new java.awt.Dimension(300, 76));
botao2.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao2MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao2MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao2MouseExited(evt);
}
});
botao2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
textoBotao2.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao2.setForeground(new java.awt.Color(204, 204, 204));
textoBotao2.setText("Triangulo");
botao2.add(textoBotao2, new org.netbeans.lib.awtextra.AbsoluteConstraints(85, 7, -1, -1));
abaBotao2.setBackground(new java.awt.Color(121, 121, 121));
abaBotao2.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao2.add(abaBotao2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao_aba_Triangulo.setBackground(new java.awt.Color(83, 83, 83));
botao_aba_Triangulo.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao_aba_TrianguloMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao_aba_TrianguloMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao_aba_TrianguloMouseExited(evt);
}
});
botao_aba_Triangulo.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect2.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect2.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect2.setText("Triangulo");
botao_aba_Triangulo.add(txtBotaoSelect2, new org.netbeans.lib.awtextra.AbsoluteConstraints(85, 7, -1, -1));
botao2.add(botao_aba_Triangulo, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
botao3.setBackground(new java.awt.Color(56, 55, 55));
botao3.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao3MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao3MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao3MouseExited(evt);
}
});
botao3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao3.setBackground(new java.awt.Color(121, 121, 121));
abaBotao3.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao3.add(abaBotao3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao3Select.setBackground(new java.awt.Color(83, 83, 83));
botao3Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao3SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao3SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao3SelectMouseExited(evt);
}
});
botao3Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect3.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect3.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect3.setText("Cone");
botao3Select.add(txtBotaoSelect3, new org.netbeans.lib.awtextra.AbsoluteConstraints(105, 7, -1, -1));
botao3.add(botao3Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao3.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao3.setForeground(new java.awt.Color(204, 204, 204));
textoBotao3.setText("Cone");
botao3.add(textoBotao3, new org.netbeans.lib.awtextra.AbsoluteConstraints(105, 7, -1, -1));
botao4.setBackground(new java.awt.Color(56, 55, 55));
botao4.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao4MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao4MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao4MouseExited(evt);
}
});
botao4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao4.setBackground(new java.awt.Color(121, 121, 121));
abaBotao4.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao4.add(abaBotao4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao4Select.setBackground(new java.awt.Color(83, 83, 83));
botao4Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao4SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao4SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao4SelectMouseExited(evt);
}
});
botao4Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect4.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect4.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect4.setText("Paralelepípedo");
botao4Select.add(txtBotaoSelect4, new org.netbeans.lib.awtextra.AbsoluteConstraints(55, 7, -1, -1));
botao4.add(botao4Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao4.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao4.setForeground(new java.awt.Color(204, 204, 204));
textoBotao4.setText("Paralelepípedo");
botao4.add(textoBotao4, new org.netbeans.lib.awtextra.AbsoluteConstraints(55, 7, -1, -1));
botao5.setBackground(new java.awt.Color(56, 55, 55));
botao5.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao5MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao5MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao5MouseExited(evt);
}
});
botao5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao5.setBackground(new java.awt.Color(121, 121, 121));
abaBotao5.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao5.add(abaBotao5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao5Select.setBackground(new java.awt.Color(83, 83, 83));
botao5Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao5SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao5SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao5SelectMouseExited(evt);
}
});
botao5Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect5.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect5.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect5.setText("Quadrado");
botao5Select.add(txtBotaoSelect5, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 7, -1, -1));
botao5.add(botao5Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao5.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao5.setForeground(new java.awt.Color(204, 204, 204));
textoBotao5.setText("Quadrado");
botao5.add(textoBotao5, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 7, -1, -1));
botao6.setBackground(new java.awt.Color(56, 55, 55));
botao6.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao6MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao6MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao6MouseExited(evt);
}
});
botao6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao6.setBackground(new java.awt.Color(121, 121, 121));
abaBotao6.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao6.add(abaBotao6, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao6Select.setBackground(new java.awt.Color(83, 83, 83));
botao6Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao6SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao6SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao6SelectMouseExited(evt);
}
});
botao6Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect6.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect6.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect6.setText("Cilindro");
botao6Select.add(txtBotaoSelect6, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 7, -1, -1));
botao6.add(botao6Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao6.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao6.setForeground(new java.awt.Color(204, 204, 204));
textoBotao6.setText("Cilindro");
botao6.add(textoBotao6, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 7, -1, -1));
botao7.setBackground(new java.awt.Color(56, 55, 55));
botao7.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao7MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao7MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao7MouseExited(evt);
}
});
botao7.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao7.setBackground(new java.awt.Color(121, 121, 121));
abaBotao7.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao7.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao7.add(abaBotao7, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao7Select.setBackground(new java.awt.Color(83, 83, 83));
botao7Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao7SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao7SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao7SelectMouseExited(evt);
}
});
botao7Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect7.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect7.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect7.setText("Equação (Bhaskara)");
botao7Select.add(txtBotaoSelect7, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 7, -1, -1));
botao7.add(botao7Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao7.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao7.setForeground(new java.awt.Color(204, 204, 204));
textoBotao7.setText("Equação (Bhaskara)");
botao7.add(textoBotao7, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 7, -1, -1));
botao8.setBackground(new java.awt.Color(56, 55, 55));
botao8.setPreferredSize(new java.awt.Dimension(260, 40));
botao8.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao8MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao8MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao8MouseExited(evt);
}
});
botao8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
abaBotao8.setBackground(new java.awt.Color(121, 121, 121));
abaBotao8.setPreferredSize(new java.awt.Dimension(4, 76));
abaBotao8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
botao8.add(abaBotao8, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 8, -1));
botao8Select.setBackground(new java.awt.Color(83, 83, 83));
botao8Select.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
botao8SelectMouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
botao8SelectMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
botao8SelectMouseExited(evt);
}
});
botao8Select.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
txtBotaoSelect8.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
txtBotaoSelect8.setForeground(new java.awt.Color(204, 204, 204));
txtBotaoSelect8.setText("Sobre");
botao8Select.add(txtBotaoSelect8, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 7, -1, -1));
botao8.add(botao8Select, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 40));
textoBotao8.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
textoBotao8.setForeground(new java.awt.Color(204, 204, 204));
textoBotao8.setText("Sobre");
botao8.add(textoBotao8, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 7, -1, -1));
javax.swing.GroupLayout PainelBotoesLayout = new javax.swing.GroupLayout(PainelBotoes);
PainelBotoes.setLayout(PainelBotoesLayout);
PainelBotoesLayout.setHorizontalGroup(
PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGap(53, 53, 53)
.addComponent(titulo5)
.addGap(18, 18, 18)
.addComponent(titulo6))
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGap(18, 18, 18)
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(titulo2)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addComponent(titulo3)
.addGap(50, 50, 50)
.addComponent(titulo1)))))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addContainerGap()
.addComponent(linhaHorizontalPainel, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(botao1, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(botao8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(botao7, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(botao6, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(botao5, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(botao4, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(botao2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addComponent(botao3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
.addGap(0, 0, Short.MAX_VALUE))
);
PainelBotoesLayout.setVerticalGroup(
PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addGap(27, 27, 27)
.addComponent(titulo3, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(PainelBotoesLayout.createSequentialGroup()
.addContainerGap()
.addComponent(titulo1)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(titulo2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(11, 11, 11)
.addGroup(PainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(titulo6)
.addComponent(titulo5))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(linhaHorizontalPainel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(botao1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao2, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao3, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao4, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao5, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao6, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao7, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(botao8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(30, Short.MAX_VALUE))
);
painelFundo.add(PainelBotoes, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 260, 550));
painel1.setBackground(new java.awt.Color(220, 123, 103));
painel1.setPreferredSize(new java.awt.Dimension(710, 810));
caminhoObjetos.setText("C:/Users/denis/Desktop/objetosGeometricos.dat");
jLabel2.setFont(new java.awt.Font("Calibri", 1, 24)); // NOI18N
jLabel2.setForeground(new java.awt.Color(70, 70, 70));
jLabel2.setText("Objetos Salvos ");
telaObjetos.setColumns(20);
telaObjetos.setRows(5);
jScrollPane2.setViewportView(telaObjetos);
jLabel1.setText("Caminho: ");
jLabel15.setFont(new java.awt.Font("Calibri Light", 0, 11)); // NOI18N
jLabel15.setText("Utilize por exemplo: (\"C:/Users/Desktop/arquivo.dat\")");
btnCarregarObjetos.setText("Carregar Arquivo");
btnCarregarObjetos.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnCarregarObjetosActionPerformed(evt);
}
});
limparCampo.setText("Apagar Objetos");
limparCampo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
limparCampoActionPerformed(evt);
}
});
salvar_objetos.setText("Salvar Objeto");
salvar_objetos.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
salvar_objetosActionPerformed(evt);
}
});
javax.swing.GroupLayout painel1Layout = new javax.swing.GroupLayout(painel1);
painel1.setLayout(painel1Layout);
painel1Layout.setHorizontalGroup(
painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(painel1Layout.createSequentialGroup()
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(painel1Layout.createSequentialGroup()
.addContainerGap()
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(painel1Layout.createSequentialGroup()
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(painel1Layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(caminhoObjetos, javax.swing.GroupLayout.PREFERRED_SIZE, 427, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(painel1Layout.createSequentialGroup()
.addComponent(jLabel15)
.addGap(0, 0, Short.MAX_VALUE))))
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(painel1Layout.createSequentialGroup()
.addComponent(btnCarregarObjetos)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(limparCampo))
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 481, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(salvar_objetos))))
.addGroup(painel1Layout.createSequentialGroup()
.addGap(112, 112, 112)
.addComponent(jLabel2)))
.addContainerGap(67, Short.MAX_VALUE))
);
painel1Layout.setVerticalGroup(
painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(painel1Layout.createSequentialGroup()
.addGap(73, 73, 73)
.addComponent(jLabel15)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(caminhoObjetos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(salvar_objetos)
.addGap(52, 52, 52)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 169, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(painel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(limparCampo)
.addComponent(btnCarregarObjetos))
.addContainerGap())
);
painelFundo.add(painel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
painel2.setBackground(new java.awt.Color(220, 123, 103));
painel2.setMaximumSize(new java.awt.Dimension(820, 560));
painel2.setMinimumSize(new java.awt.Dimension(820, 560));
painel2.setPreferredSize(new java.awt.Dimension(820, 550));
painel2.setLayout(null);
jLabel8.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel8.setText("Formula Perimetro");
painel2.add(jLabel8);
jLabel8.setBounds(310, 130, 162, 28);
jLabel11.setText("Lado A:");
painel2.add(jLabel11);
jLabel11.setBounds(57, 141, 60, 40);
jLabel12.setText("Lado C:");
painel2.add(jLabel12);
jLabel12.setBounds(57, 206, 60, 40);
jLabel13.setText("Lado B:");
painel2.add(jLabel13);
jLabel13.setBounds(57, 172, 60, 40);
painel2.add(triangulo_ladoAtxt);
triangulo_ladoAtxt.setBounds(120, 150, 77, 20);
painel2.add(triangulo_ladoBtxt);
triangulo_ladoBtxt.setBounds(120, 180, 77, 20);
painel2.add(triangulo_ladoCtxt);
triangulo_ladoCtxt.setBounds(120, 210, 77, 20);
jLabel9.setText("Perimetro:");
painel2.add(jLabel9);
jLabel9.setBounds(40, 370, 70, 20);
painel2.add(triangulo_resp_perimetro);
triangulo_resp_perimetro.setBounds(120, 360, 77, 20);
triangulo_btn_calcPerimetro.setText("Calcular");
triangulo_btn_calcPerimetro.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
triangulo_btn_calcPerimetroActionPerformed(evt);
}
});
painel2.add(triangulo_btn_calcPerimetro);
triangulo_btn_calcPerimetro.setBounds(120, 310, 90, 23);
painel2.add(triangulo_alturaTxt);
triangulo_alturaTxt.setBounds(120, 240, 77, 20);
jLabel14.setText("Altura:");
painel2.add(jLabel14);
jLabel14.setBounds(60, 240, 50, 40);
jLabel16.setText("Base:");
painel2.add(jLabel16);
jLabel16.setBounds(60, 270, 50, 40);
painel2.add(triangulo_baseTxt);
triangulo_baseTxt.setBounds(120, 270, 77, 20);
painel2.add(triangulo_respAreaTxt);
triangulo_respAreaTxt.setBounds(120, 390, 77, 20);
jLabel10.setText("Area:");
painel2.add(jLabel10);
jLabel10.setBounds(70, 390, 50, 20);
jLabel17.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel17.setText("Formula Area");
painel2.add(jLabel17);
jLabel17.setBounds(340, 250, 154, 28);
painel2.add(triangulo_eixoX);
triangulo_eixoX.setBounds(80, 60, 77, 20);
jLabel18.setText("Eixo X: ");
painel2.add(jLabel18);
jLabel18.setBounds(30, 50, 50, 40);
jLabel19.setText("Eixo Y: ");
painel2.add(jLabel19);
jLabel19.setBounds(170, 54, 60, 30);
triangulo_eixoY.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
triangulo_eixoYActionPerformed(evt);
}
});
painel2.add(triangulo_eixoY);
triangulo_eixoY.setBounds(230, 60, 77, 20);
jLabel50.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prototipointerface/formula_area-triangulo.png"))); // NOI18N
painel2.add(jLabel50);
jLabel50.setBounds(290, 270, 183, 78);
jLabel53.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel53.setText("P = ( a + b + c )");
painel2.add(jLabel53);
jLabel53.setBounds(310, 150, 163, 52);
labelcone21.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone21.setText("m²");
painel2.add(labelcone21);
labelcone21.setBounds(200, 380, 20, 40);
labelcone22.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone22.setText("m²");
painel2.add(labelcone22);
labelcone22.setBounds(200, 140, 20, 40);
labelcone23.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone23.setText("m²");
painel2.add(labelcone23);
labelcone23.setBounds(200, 170, 20, 40);
labelcone24.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone24.setText("m²");
painel2.add(labelcone24);
labelcone24.setBounds(200, 200, 20, 40);
labelcone25.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone25.setText("m²");
painel2.add(labelcone25);
labelcone25.setBounds(200, 230, 20, 40);
labelcone26.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone26.setText("m²");
painel2.add(labelcone26);
labelcone26.setBounds(200, 260, 20, 40);
labelcone27.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone27.setText("m²");
painel2.add(labelcone27);
labelcone27.setBounds(200, 350, 20, 40);
painelFundo.add(painel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 820, 550));
painel3.setBackground(new java.awt.Color(220, 123, 103));
painel3.setLayout(null);
jLabel3.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel3.setText("Formula Volume");
painel3.add(jLabel3);
jLabel3.setBounds(300, 280, 170, 23);
jLabel4.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel4.setText("Formula Area");
painel3.add(jLabel4);
jLabel4.setBounds(330, 150, 160, 23);
jLabel5.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel5.setText("Altura:");
painel3.add(jLabel5);
jLabel5.setBounds(40, 220, 49, 34);
jLabel7.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel7.setText("Volume:");
painel3.add(jLabel7);
jLabel7.setBounds(40, 350, 70, 39);
cone_respVol.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_respVolActionPerformed(evt);
}
});
painel3.add(cone_respVol);
cone_respVol.setBounds(110, 360, 74, 20);
cone_alturaVol.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_alturaVolActionPerformed(evt);
}
});
painel3.add(cone_alturaVol);
cone_alturaVol.setBounds(100, 220, 72, 20);
jLabel31.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel31.setText("Geratriz: ");
painel3.add(jLabel31);
jLabel31.setBounds(26, 183, 77, 34);
jLabel33.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel33.setText("Area Total: ");
painel3.add(jLabel33);
jLabel33.setBounds(20, 320, 100, 39);
cone_areaTotal.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_areaTotalActionPerformed(evt);
}
});
painel3.add(cone_areaTotal);
cone_areaTotal.setBounds(110, 330, 74, 20);
cone_areaRaio.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_areaRaioActionPerformed(evt);
}
});
cone_areaRaio.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
cone_areaRaioPropertyChange(evt);
}
});
painel3.add(cone_areaRaio);
cone_areaRaio.setBounds(100, 160, 72, 20);
cone_areaGeratriz.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_areaGeratrizActionPerformed(evt);
}
});
painel3.add(cone_areaGeratriz);
cone_areaGeratriz.setBounds(100, 190, 72, 20);
cone_btnAreaTot.setText("Calcular");
cone_btnAreaTot.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_btnAreaTotActionPerformed(evt);
}
});
painel3.add(cone_btnAreaTot);
cone_btnAreaTot.setBounds(100, 260, 90, 23);
jLabel34.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel34.setText("Raio:");
painel3.add(jLabel34);
jLabel34.setBounds(50, 160, 38, 23);
cone_eixoY.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_eixoYActionPerformed(evt);
}
});
cone_eixoY.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
cone_eixoYPropertyChange(evt);
}
});
painel3.add(cone_eixoY);
cone_eixoY.setBounds(250, 40, 72, 20);
cone_eixoX.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cone_eixoXActionPerformed(evt);
}
});
painel3.add(cone_eixoX);
cone_eixoX.setBounds(110, 40, 72, 20);
jLabel36.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel36.setText("Eixo Y:");
painel3.add(jLabel36);
jLabel36.setBounds(190, 30, 70, 39);
jLabel32.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
jLabel32.setText("m²");
painel3.add(jLabel32);
jLabel32.setBounds(190, 220, 30, 18);
jLabel47.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prototipointerface/formula_volumeCone.png"))); // NOI18N
painel3.add(jLabel47);
jLabel47.setBounds(290, 310, 190, 60);
jLabel52.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prototipointerface/formula_areaCone.png"))); // NOI18N
jLabel52.setText("jLabel47");
painel3.add(jLabel52);
jLabel52.setBounds(300, 170, 190, 40);
jLabel37.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel37.setText("Eixo X:");
painel3.add(jLabel37);
jLabel37.setBounds(50, 40, 60, 23);
jLabel42.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
jLabel42.setText("m³");
painel3.add(jLabel42);
jLabel42.setBounds(190, 360, 30, 18);
jLabel44.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
jLabel44.setText("m²");
painel3.add(jLabel44);
jLabel44.setBounds(190, 190, 30, 18);
jLabel68.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
jLabel68.setText("m²");
painel3.add(jLabel68);
jLabel68.setBounds(190, 160, 30, 18);
jLabel69.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
jLabel69.setText("m²");
painel3.add(jLabel69);
jLabel69.setBounds(190, 330, 30, 18);
painelFundo.add(painel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
painel4.setBackground(new java.awt.Color(220, 123, 103));
painel4.setPreferredSize(new java.awt.Dimension(710, 810));
painel4.setLayout(null);
paralelepipedo_btnCalcArea.setText(" Calcular");
paralelepipedo_btnCalcArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
paralelepipedo_btnCalcAreaActionPerformed(evt);
}
});
painel4.add(paralelepipedo_btnCalcArea);
paralelepipedo_btnCalcArea.setBounds(110, 250, 90, 23);
painel4.add(paralelepipedo_alturaArea);
paralelepipedo_alturaArea.setBounds(120, 140, 77, 20);
jLabel20.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel20.setText("Altura:");
painel4.add(jLabel20);
jLabel20.setBounds(60, 140, 90, 28);
painel4.add(paralelepipedo_largArea);
paralelepipedo_largArea.setBounds(120, 210, 77, 20);
jLabel21.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel21.setText("Largura:");
painel4.add(jLabel21);
jLabel21.setBounds(50, 210, 100, 28);
painel4.add(paralelepipedo_compArea);
paralelepipedo_compArea.setBounds(120, 180, 77, 20);
jLabel22.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel22.setText("Cumprimento:");
painel4.add(jLabel22);
jLabel22.setBounds(10, 174, 120, 28);
jLabel23.setFont(new java.awt.Font("Calibri Light", 1, 18)); // NOI18N
jLabel23.setText("Formula Volume");
painel4.add(jLabel23);
jLabel23.setBounds(250, 260, 170, 23);
paralelepipedo_respArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
paralelepipedo_respAreaActionPerformed(evt);
}
});
painel4.add(paralelepipedo_respArea);
paralelepipedo_respArea.setBounds(120, 310, 77, 20);
jLabel27.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel27.setText("Volume:");
painel4.add(jLabel27);
jLabel27.setBounds(50, 340, 90, 28);
painel4.add(paralelepipedo_volResp);
paralelepipedo_volResp.setBounds(120, 340, 77, 20);
jLabel29.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel29.setText("Eixo X: ");
painel4.add(jLabel29);
jLabel29.setBounds(60, 50, 100, 28);
painel4.add(paralelepipedo_EixoX);
paralelepipedo_EixoX.setBounds(120, 50, 77, 20);
painel4.add(paralelepipedo_EixoY);
paralelepipedo_EixoY.setBounds(270, 50, 77, 20);
jLabel30.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel30.setText("Eixo Y: ");
painel4.add(jLabel30);
jLabel30.setBounds(200, 50, 70, 28);
jLabel54.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel54.setText("Area:");
painel4.add(jLabel54);
jLabel54.setBounds(60, 310, 80, 28);
jLabel55.setFont(new java.awt.Font("Calibri Light", 1, 18)); // NOI18N
jLabel55.setText("Formula Area");
painel4.add(jLabel55);
jLabel55.setBounds(290, 120, 170, 23);
jLabel56.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel56.setText(" .");
painel4.add(jLabel56);
jLabel56.setBounds(360, 290, 60, 30);
jLabel57.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel57.setText("V = ( a b c )");
painel4.add(jLabel57);
jLabel57.setBounds(250, 280, 180, 50);
jLabel60.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel60.setText("AT = 2 (ab +ac + bc)");
painel4.add(jLabel60);
jLabel60.setBounds(260, 140, 270, 50);
jLabel61.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel61.setText(" .");
painel4.add(jLabel61);
jLabel61.setBounds(320, 290, 60, 30);
labelcone16.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone16.setText("m³");
painel4.add(labelcone16);
labelcone16.setBounds(200, 330, 20, 40);
labelcone17.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone17.setText("m²");
painel4.add(labelcone17);
labelcone17.setBounds(200, 140, 20, 30);
labelcone18.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone18.setText("m²");
painel4.add(labelcone18);
labelcone18.setBounds(200, 170, 20, 30);
labelcone19.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone19.setText("m²");
painel4.add(labelcone19);
labelcone19.setBounds(200, 210, 20, 30);
labelcone20.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone20.setText("m²");
painel4.add(labelcone20);
labelcone20.setBounds(200, 300, 20, 40);
painelFundo.add(painel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
painel5.setBackground(new java.awt.Color(220, 123, 103));
painel5.setLayout(null);
jLabel46.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel46.setText("Formula Perimetro");
painel5.add(jLabel46);
jLabel46.setBounds(250, 230, 141, 23);
jLabel48.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel48.setText("Perimetro:");
painel5.add(jLabel48);
jLabel48.setBounds(20, 260, 78, 39);
quad_respPer.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_respPerActionPerformed(evt);
}
});
painel5.add(quad_respPer);
quad_respPer.setBounds(110, 270, 74, 20);
labelcone9.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone9.setText("Eixo X:");
painel5.add(labelcone9);
labelcone9.setBounds(50, 60, 49, 39);
quad_eixoX.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_eixoXActionPerformed(evt);
}
});
painel5.add(quad_eixoX);
quad_eixoX.setBounds(100, 70, 72, 20);
labelcone10.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone10.setText("Eixo Y:");
painel5.add(labelcone10);
labelcone10.setBounds(180, 60, 49, 39);
quad_eixoY.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_eixoYActionPerformed(evt);
}
});
painel5.add(quad_eixoY);
quad_eixoY.setBounds(240, 70, 72, 20);
quad_btnArea.setText("Calcular");
quad_btnArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_btnAreaActionPerformed(evt);
}
});
painel5.add(quad_btnArea);
quad_btnArea.setBounds(90, 190, 90, 23);
jLabel49.setFont(new java.awt.Font("Calibri", 1, 18)); // NOI18N
jLabel49.setText("Formula Area");
painel5.add(jLabel49);
jLabel49.setBounds(250, 130, 140, 29);
jLabel51.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel51.setText("Area Total:");
painel5.add(jLabel51);
jLabel51.setBounds(20, 230, 81, 39);
labelcone12.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone12.setText("Lado A:");
painel5.add(labelcone12);
labelcone12.setBounds(30, 140, 55, 39);
quad_respArea.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_respAreaActionPerformed(evt);
}
});
painel5.add(quad_respArea);
quad_respArea.setBounds(110, 240, 74, 20);
quad_areaLadoA.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
quad_areaLadoAActionPerformed(evt);
}
});
painel5.add(quad_areaLadoA);
quad_areaLadoA.setBounds(90, 150, 72, 20);
jLabel66.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel66.setText("A = ( L . L . L . L)");
painel5.add(jLabel66);
jLabel66.setBounds(250, 260, 210, 50);
jLabel67.setFont(new java.awt.Font("Calibri Light", 3, 24)); // NOI18N
jLabel67.setText("P = ( L . L )");
painel5.add(jLabel67);
jLabel67.setBounds(260, 160, 120, 50);
labelcone28.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone28.setText("m²");
painel5.add(labelcone28);
labelcone28.setBounds(190, 260, 20, 40);
labelcone29.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone29.setText("m²");
painel5.add(labelcone29);
labelcone29.setBounds(170, 140, 20, 40);
labelcone30.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
labelcone30.setText("m²");
painel5.add(labelcone30);
labelcone30.setBounds(190, 230, 20, 40);
painelFundo.add(painel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
painel7.setBackground(new java.awt.Color(220, 123, 103));
painel7.setPreferredSize(new java.awt.Dimension(710, 560));
painel7.setLayout(null);
jLabel6.setFont(new java.awt.Font("Calibri", 0, 36)); // NOI18N
jLabel6.setText("(Bhaskara)");
painel7.add(jLabel6);
jLabel6.setBounds(120, 70, 155, 54);
labelcone1.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone1.setText("A: ");
painel7.add(labelcone1);
labelcone1.setBounds(60, 170, 19, 20);
jLabel38.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel38.setText("X1:");
painel7.add(jLabel38);
jLabel38.setBounds(60, 390, 23, 23);
equacao_x1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_x1ActionPerformed(evt);
}
});
painel7.add(equacao_x1);
equacao_x1.setBounds(100, 390, 74, 20);
equacao_A.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_AActionPerformed(evt);
}
});
painel7.add(equacao_A);
equacao_A.setBounds(100, 170, 72, 20);
equacao_calcular.setText("Calcular");
equacao_calcular.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_calcularActionPerformed(evt);
}
});
painel7.add(equacao_calcular);
equacao_calcular.setBounds(100, 260, 100, 23);
jLabel39.setFont(new java.awt.Font("Calibri", 0, 36)); // NOI18N
jLabel39.setText("Equação de Segundo Grau");
painel7.add(jLabel39);
jLabel39.setBounds(80, 10, 385, 54);
labelcone2.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone2.setText("B: ");
painel7.add(labelcone2);
labelcone2.setBounds(60, 200, 19, 20);
equacao_B.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_BActionPerformed(evt);
}
});
painel7.add(equacao_B);
equacao_B.setBounds(100, 200, 72, 20);
equacao_C.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_CActionPerformed(evt);
}
});
painel7.add(equacao_C);
equacao_C.setBounds(100, 230, 72, 20);
labelcone3.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
labelcone3.setText("C: ");
painel7.add(labelcone3);
labelcone3.setBounds(60, 230, 19, 20);
jLabel40.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel40.setText("X2:");
painel7.add(jLabel40);
jLabel40.setBounds(60, 420, 23, 20);
equacao_x2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_x2ActionPerformed(evt);
}
});
painel7.add(equacao_x2);
equacao_x2.setBounds(100, 420, 74, 20);
jLabel41.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel41.setText("Delta:");
painel7.add(jLabel41);
jLabel41.setBounds(40, 350, 44, 20);
equacao_Delta.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
equacao_DeltaActionPerformed(evt);
}
});
painel7.add(equacao_Delta);
equacao_Delta.setBounds(100, 350, 74, 20);
jLabel64.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prototipointerface/bhaskara.png"))); // NOI18N
painel7.add(jLabel64);
jLabel64.setBounds(190, 170, 360, 98);
jLabel65.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prototipointerface/delta.png"))); // NOI18N
painel7.add(jLabel65);
jLabel65.setBounds(260, 280, 280, 60);
painelFundo.add(painel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 820, 550));
painel8.setBackground(new java.awt.Color(220, 123, 103));
javax.swing.GroupLayout painel8Layout = new javax.swing.GroupLayout(painel8);
painel8.setLayout(painel8Layout);
painel8Layout.setHorizontalGroup(
painel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 560, Short.MAX_VALUE)
);
painel8Layout.setVerticalGroup(
painel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 550, Short.MAX_VALUE)
);
painelFundo.add(painel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 0, 560, 550));
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(painelFundo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(painelFundo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
} | {
"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.73197734",
"0.72914416",
"0.72914416",
"0.72914416",
"0.72862023",
"0.72487676",
"0.7213741",
"0.7207628",
"0.7196503",
"0.7190263",
"0.71850693",
"0.71594703",
"0.7147939",
"0.7093137",
"0.70808756",
"0.70566356",
"0.6987119",
"0.69778043",
"0.6955563",
"0.6953879",
"0.69... | 0.0 | -1 |
Created by dell on 2017/5/25. | public interface CityDao {
List<City> queryAllCity() throws Exception;
City queryCityByCode(String cityCode) throws Exception;
List<City> queryCityByBmsCode(String code) throws Exception;
List<City> insert(City city) throws Exception;
} | {
"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}",
"private sta... | [
"0.6010854",
"0.59495294",
"0.57842803",
"0.5772546",
"0.57026505",
"0.57026505",
"0.56978196",
"0.56855285",
"0.56467044",
"0.56466204",
"0.56220436",
"0.55895543",
"0.55796504",
"0.5567922",
"0.5567577",
"0.55653983",
"0.55457413",
"0.5539698",
"0.5539314",
"0.55367947",
"0... | 0.0 | -1 |
make a call to ensure a SetCookie is sent back to the client | @Test(singleThreaded = true)
public void cookiesShouldBeIgnored() {
Mockit.setUpMock(AbstractHttpClient.class, new MockAbstractHttpClient(new MockHooks() {
@Override
public void responseHook(BasicHttpResponse response) {
response.setHeader("Set-Cookie", "foo=bar; path=/;");
}
}));
connection.execute(new AddonList(), apiKey);
Mockit.setUpMock(AbstractHttpClient.class, new MockAbstractHttpClient(new MockHooks() {
@Override
public void beforeAssertions(HttpUriRequest request, HttpContext context) {
Assert.assertEquals(request.getHeaders("Cookie").length, 0, "Cookies should be ignored, but there are cookies present.");
}
}));
// run this twice to ensure the set-cookie was sent from the first request
connection.execute(new AddonList(), apiKey);
Mockit.tearDownMocks(AbstractHttpClient.class);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addCookie(HttpServletResponse response, Cookie cookie);",
"@Override\n public void addCookie(Cookie arg0) {\n\n }",
"HttpChannel addResponseCookie(Cookie cookie);",
"HttpClientRequest addCookie(Cookie cookie);",
"public void eatCookie(){\n}",
"protected void setHasCookie (boolean aHasCookie)\n\t{\... | [
"0.6737716",
"0.65515286",
"0.6424103",
"0.63472444",
"0.626732",
"0.6224651",
"0.6193522",
"0.61911637",
"0.6145395",
"0.6079308",
"0.59700316",
"0.59526724",
"0.5917791",
"0.58386624",
"0.58248633",
"0.58131784",
"0.5744305",
"0.57244337",
"0.5716918",
"0.567472",
"0.566300... | 0.56121904 | 25 |
renvoie l'adresse du premier objet de la freelist renvoie null ssi le freelist est vide | public Integer freelistHead() {
return freelist;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"SELLbeholder() {\n listehode = new Node(null, null);\n }",
"public LinkListPessoa() // constructor\r\n\t{\r\n\t\tfirst = null;\r\n\t}",
"public ListaEncadeada() {\n first = null;\n }",
"public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n... | [
"0.61638665",
"0.58074474",
"0.56530017",
"0.5552302",
"0.55199933",
"0.55131054",
"0.54786074",
"0.54235464",
"0.5405921",
"0.53609395",
"0.5357186",
"0.53517",
"0.53463614",
"0.5312451",
"0.52864784",
"0.5278059",
"0.52652514",
"0.525374",
"0.5245144",
"0.52447826",
"0.5236... | 0.5749836 | 2 |
skip to next word | private void nocompressedUnPack()throws UnpackException,ZipEndException{
skipByte();
//get the len
long LEN = 0x00;
byte byte0 = getByte();
byte byte1 = getByte();
byte byte2 = getByte();
byte byte3 = getByte();
LEN |= byte1;
LEN |= (byte0 << 8);
LEN &= 0X0000ffff;
// LEN |= (byte2<<24);
// LEN |= (byte3<<16);
int l = 0;
try{
for (long num = 0; num < LEN ; num ++){
outputStoredByte(getByte());
}
}catch (IOException e){
e.printStackTrace();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void skip()\n {\n skip(1);\n }",
"void skip();",
"public void skipWhitespace() {\n while (this.index < this.input.length() && Character.isWhitespace(this.input.charAt(this.index)))\n this.index++;\n }",
"public void skipWhitespace() throws IOException {\n\t\twhile (Ch... | [
"0.65024865",
"0.6325893",
"0.6225052",
"0.6135569",
"0.5995545",
"0.5961962",
"0.5953523",
"0.5948891",
"0.59292346",
"0.59116185",
"0.5823205",
"0.5808325",
"0.5797231",
"0.5797231",
"0.5794901",
"0.5775014",
"0.5765143",
"0.5727727",
"0.5695091",
"0.5687633",
"0.56637454",... | 0.0 | -1 |
Convert String to a clause Currently only working for ImplicationClause!!! | public static ArrayDeque<String> parseSingle (String inputString) {
//using ArrayDeque here since it does everything and is flexible. Could do a linkedList though..?
ArrayDeque inputQueue = new ArrayDeque<String>();; //input queue. not sure if i really need this
ArrayDeque outputQueue = new ArrayDeque<String>();//output queue
ArrayDeque operatorStack = new ArrayDeque<String>(); //operator stack
//remove spaces
inputString = inputString.replaceAll("\\s+", "");
String inputArray[] = inputString.split("(?<==>|&|~|\\/|<=>)|(?==>|&|~|\\/|<=>)"); //TODO build this regex dynamically from Connective enum
for (String inputElement: inputArray) {
inputQueue.add(inputElement);
}
//convert to rpn form
//don't worry about parentheses, do later as part of research
while (!inputQueue.isEmpty()) {
//check if element is a operator
if (isOperator((String)inputQueue.peekFirst())) {
//add operator to stack if empty
if (operatorStack.isEmpty()) {
operatorStack.addLast(inputQueue.pollFirst());
//while there is an operator on the operatorStack with greater precedence than the current pop that one
} else if (compare((String)inputQueue.peekFirst(), (String)operatorStack.peekLast()) <= 0) {
outputQueue.add(operatorStack.pollLast());
continue; //need to restart loop since may be operatorStack.size() > 1
} else {
operatorStack.addLast(inputQueue.pollFirst());
}
//operands
} else {
outputQueue.add(inputQueue.pollFirst());
}
}
//once inputQueue is empty need to finish draining the operators
while (!operatorStack.isEmpty()) {
outputQueue.add(operatorStack.pollLast());
}
//TODO: maybe convert proposition symbol to Horn form
return (outputQueue);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String convertStatement (String oraStatement);",
"public String convertStatement (String oraStatement);",
"GeneralClause createGeneralClause();",
"static @NotNull StandardMethodContract fromText(@NotNull String clause) {\n try {\n return fromText(clause, 0, clause);\n }\n catch (ParseExc... | [
"0.6371254",
"0.6371254",
"0.554105",
"0.55285907",
"0.5509327",
"0.5391444",
"0.5333151",
"0.5276164",
"0.5212917",
"0.51626897",
"0.5157493",
"0.5131782",
"0.51034254",
"0.5089558",
"0.50534266",
"0.5039065",
"0.501003",
"0.4990501",
"0.49639356",
"0.4963585",
"0.49329492",... | 0.0 | -1 |
Check if token is an operator | public static boolean isOperator(String token) {
if (Connective.getValueFromSymbol(token) == null) {
return false;
} else {
return true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static boolean isOperator(String token) {\n\t\treturn OPERATORS.containsKey(token);\n\t}",
"boolean hasOperator();",
"private boolean isOperator(String op){\n return (op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\"));\n }",
"public boolean isOperator(char operator) {\r... | [
"0.83493143",
"0.7944489",
"0.79354",
"0.78201604",
"0.78094715",
"0.779517",
"0.7688405",
"0.7637184",
"0.76070386",
"0.7598517",
"0.753938",
"0.7533456",
"0.75099313",
"0.7451475",
"0.74398994",
"0.74197227",
"0.74113333",
"0.74074674",
"0.7384716",
"0.73148495",
"0.7304854... | 0.82779986 | 1 |
/ If idCreateIfLessZero is negative, a new id is generated. | public PersistentShopkeeper newShopkeeper(long idCreateIfLessZero) throws PersistenceException {
if(idCreateIfLessZero > 0) return (PersistentShopkeeper)PersistentProxi.createProxi(idCreateIfLessZero, 192);
long id = ConnectionHandler.getTheConnectionHandler().theShopkeeperFacade.getNextId();
Shopkeeper result = new Shopkeeper(null,null,null,null,null,null,id);
Cache.getTheCache().put(result);
return (PersistentShopkeeper)PersistentProxi.createProxi(id, 192);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Long createId() {\n return System.currentTimeMillis() % 1000;\n }",
"private static Integer generateID() {\n Integer uniqueID = -1;\n while (setOfIDs.contains(uniqueID) || !Employee.isPositive(uniqueID)) {\n uniqueID += 1;\n }\n return uniqueID;\n }",
... | [
"0.69807535",
"0.689084",
"0.68705297",
"0.65920454",
"0.6518035",
"0.63658535",
"0.6318653",
"0.6256387",
"0.61024976",
"0.60915095",
"0.6086561",
"0.6046908",
"0.6025654",
"0.6020851",
"0.599919",
"0.59808314",
"0.5959303",
"0.5953019",
"0.59338605",
"0.5882105",
"0.5879366... | 0.5759707 | 29 |
/ my shutdown code here | public void run() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void shutdown();",
"void sh... | [
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8462973",
"0.8378951",
"0.8363803",
"0.8363803",
"0.8363803",
"... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public PostInformationExample() {
oredCriteria = new ArrayList<Criteria>();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.47501215 | 72 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public String getOrderByClause() {
return orderByClause;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.59889555",
"0.57390594",
"0.570231",
"0.5665071",
"0.563877",
"0.54984266",
"0.5481363",
"0.54466987",
"0.5425114",
"0.54112184",
"0.5379956",
"0.53751487",
"0.5359197",
"0.53162086",
"0.5312936",
"0.528954",
"0.52719784",
"0.5232329",
"0.5205044",
"0.5203752",
"0.51913637... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public void setDistinct(boolean distinct) {
this.distinct = distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5987747",
"0.57387984",
"0.570264",
"0.5665812",
"0.56388885",
"0.5496917",
"0.5480753",
"0.54475796",
"0.542511",
"0.541118",
"0.53788257",
"0.53745884",
"0.5357548",
"0.531441",
"0.5312663",
"0.52880096",
"0.5271237",
"0.5232208",
"0.5204402",
"0.52036",
"0.5190716",
"... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public boolean isDistinct() {
return distinct;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public List<Criteria> getOredCriteria() {
return oredCriteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public void or(Criteria criteria) {
oredCriteria.add(criteria);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.59889555",
"0.57390594",
"0.570231",
"0.5665071",
"0.563877",
"0.54984266",
"0.5481363",
"0.54466987",
"0.5425114",
"0.54112184",
"0.5379956",
"0.53751487",
"0.5359197",
"0.53162086",
"0.5312936",
"0.528954",
"0.52719784",
"0.5232329",
"0.5205044",
"0.5203752",
"0.51913637... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5987747",
"0.57387984",
"0.570264",
"0.5665812",
"0.56388885",
"0.5496917",
"0.5480753",
"0.54475796",
"0.542511",
"0.541118",
"0.53788257",
"0.53745884",
"0.5357548",
"0.531441",
"0.5312663",
"0.52880096",
"0.5271237",
"0.5232208",
"0.5204402",
"0.52036",
"0.5190716",
"... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.5986511",
"0.57343584",
"0.5698853",
"0.56634164",
"0.56359017",
"0.5495471",
"0.54766834",
"0.5443607",
"0.54186773",
"0.540675",
"0.5376697",
"0.53740305",
"0.5356344",
"0.5313168",
"0.5307734",
"0.52856094",
"0.5266923",
"0.5225843",
"0.5206651",
"0.51996106",
"0.519231... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method corresponds to the database table post_information | public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPostSQL()\n {\n return _get_imfObject().getPostSQL();\n }",
"public PostRecord() {\n super(PostTable.POST);\n }",
"Forumpost selectByPrimaryKey(Integer postid);",
"PostSaveDTO queryDetailById(String postId);",
"public ArrayList<PostInfo> getPost() throws SQLException... | [
"0.59889555",
"0.57390594",
"0.570231",
"0.5665071",
"0.563877",
"0.54984266",
"0.5481363",
"0.54466987",
"0.5425114",
"0.54112184",
"0.5379956",
"0.53751487",
"0.5359197",
"0.53162086",
"0.5312936",
"0.528954",
"0.52719784",
"0.5232329",
"0.5205044",
"0.5203752",
"0.51913637... | 0.0 | -1 |
inflate the ordersheet layout | @Override
public void initialize()
{
llOrderSheet = (LinearLayout)inflater.inflate(R.layout.movementdetail, null);
llBody.addView(llOrderSheet,LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT);
Bundle bundle = getIntent().getExtras();
if(bundle != null)
{
load_type = bundle.getInt("load_type");
loadRequestDO = (LoadRequestDO)bundle.get("object");
}
intialiseControls();
tvOrdersheetHeader.setText(tvOrdersheetHeader.getText().toString());
lvItems.setVisibility(View.GONE);
tvNoItemFoundBase.setVisibility(View.VISIBLE);
lvItems.setVerticalScrollBarEnabled(false);
lvItems.setDivider(getResources().getDrawable(R.drawable.saparetor));
lvItems.setCacheColorHint(0);
lvItems.setFadingEdgeLength(0);
lvItems.setAdapter(ordersheetadapter = new ItemListAdapter(new ArrayList<VanLoadDO>()));
loadData();
llOrdersheetVerify.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View arg0)
{
btnOrdersheetVerify.performClick();
}
});
btnOrdersheetVerify.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v)
{
if(btnOrdersheetVerify.getText().toString().equalsIgnoreCase("Refresh"))
loadRequestStatus();
else if(btnOrdersheetVerify.getText().toString().equalsIgnoreCase("Continue"))
{
Intent intent = new Intent(MovementDetail.this, VerifyItemInVehicle.class);
// intent.putExtra("updatededDate", vecOrdProduct);
intent.putExtra("movementId", loadRequestDO.MovementCode);
intent.putExtra("movementType", loadRequestDO.MovementType);
intent.putExtra("isMenu", false);
startActivityForResult(intent, 1111);
}
else if(btnOrdersheetVerify.getText().toString().equalsIgnoreCase("Finish"))
{
finish();
}
}
});
btnPrint_stock_details.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v)
{
if(vecOrdProduct!=null && vecOrdProduct.size()>0){
Intent intent = new Intent(MovementDetail.this,WoosimPrinterActivity.class);
intent.putExtra("CALLFROM", CONSTANTOBJ.PRINT_STOCK_DETAILS);intent.putExtra("STOCK_DETAILS", vecOrdProduct);
intent.putExtra("MOVEMENT_STATUS", StringUtils.getInt(loadRequestDO.MovementStatus));
startActivity(intent);
}
}
});
if(vecOrdProduct == null)
vecOrdProduct = new ArrayList<VanLoadDO>();
btnCheckOut.setVisibility(View.GONE);
ivLogOut.setVisibility(View.GONE);
ivSearchCross.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
etSearch.setText("");
ivSearchCross.setVisibility(View.GONE);
if(ordersheetadapter!=null){
ordersheetadapter.refreshList(vecOrdProduct);
}
}
});
etSearch.addTextChangedListener(new TextWatcher()
{
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count,
int after) {}
@Override
public void afterTextChanged(Editable s) {
if(!TextUtils.isEmpty(s))
ivSearchCross.setVisibility(View.VISIBLE);
else
ivSearchCross.setVisibility(View.GONE);
ArrayList<VanLoadDO> vecVanLoadTemp = searchUnloadItems(s.toString());
if(ordersheetadapter!=null){
ordersheetadapter.refreshList(vecVanLoadTemp);
}
}
});
setTypeFaceRobotoNormal(llOrderSheet);
tvOrdersheetHeader.setTypeface(AppConstants.Roboto_Condensed_Bold);
btnOrdersheetVerify.setTypeface(AppConstants.Roboto_Condensed_Bold);
tvDescription.setTypeface(AppConstants.Roboto_Condensed_Bold);
tvQty.setTypeface(AppConstants.Roboto_Condensed_Bold);
tvApprovedQty.setTypeface(AppConstants.Roboto_Condensed_Bold);
tvCollectedQty.setTypeface(AppConstants.Roboto_Condensed_Bold);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void inflateView() {\n\t\tLog.v(T, \"inflateView\");\n\t\tif (!isInEditMode()) {\n\t\t\tString inflaterService = Context.LAYOUT_INFLATER_SERVICE;\n\n\t\t\tLayoutInflater layoutInflater = (LayoutInflater) getContext()\n\t\t\t\t\t.getSystemService(inflaterService);\n\t\t\tlayoutInflater.inflate(R.layout.dms_... | [
"0.5890113",
"0.57894355",
"0.56916815",
"0.56162274",
"0.5483293",
"0.546548",
"0.5443728",
"0.54227716",
"0.53833956",
"0.53136694",
"0.52592814",
"0.52295303",
"0.51858807",
"0.5166835",
"0.51589715",
"0.51505625",
"0.5139388",
"0.5138448",
"0.5125051",
"0.51182425",
"0.51... | 0.5086788 | 23 |
initializing all the Controls of DeliveryVerifyItemList class | public void intialiseControls()
{
//getting ids add_stock_inventory
llOrderListView = (LinearLayout)llOrderSheet.findViewById(R.id.llordersheet);
llItemHeader = (LinearLayout)llOrderSheet.findViewById(R.id.llItemHeader);
llApproved = (LinearLayout)llOrderSheet.findViewById(R.id.llApproved);
llCollectedQty = (LinearLayout)llOrderSheet.findViewById(R.id.llCollectedQty);
ivCollectedSep = (ImageView)llOrderSheet.findViewById(R.id.ivCollectedSep);
ivApprovedSep = (ImageView)llOrderSheet.findViewById(R.id.ivApprovedSep);
rlWareHouse = (RelativeLayout) llOrderSheet.findViewById(R.id.rlWareHouse);
btnOrdersheetVerify = (Button)llOrderSheet.findViewById(R.id.btnOrdersheetVerify);
btnPrint_stock_details = (Button)llOrderSheet.findViewById(R.id.btnPrint_stock_details);
llOrdersheetVerify = (LinearLayout)llOrderSheet.findViewById(R.id.llOrdersheetVerify);
llPrintStockDetail = (LinearLayout)llOrderSheet.findViewById(R.id.llPrintStockDetail);
lvItems = (ListView)llOrderSheet.findViewById(R.id.lvItems);
tvOrdersheetHeader = (TextView)llOrderSheet.findViewById(R.id.tvOrdersheetHeader);
tvNoItemFoundBase = (TextView)llOrderSheet.findViewById(R.id.tvNoItemFound);
llTopLayout = (LinearLayout)llOrderSheet.findViewById(R.id.llTopLayout);
etSearch = (EditText)llOrderSheet.findViewById(R.id.etSearch);
etSearch.setHintTextColor(Color.WHITE);
ivSearchCross = (ImageView)llOrderSheet.findViewById(R.id.ivSearchCross);
llHeader = (LinearLayout)llOrderSheet.findViewById(R.id.llHeader);
tvTotalQtUN = (TextView)llOrderSheet.findViewById(R.id.tvTotalQtUN);
tvVanQty = (TextView)llOrderSheet.findViewById(R.id.tvVanQty);
ivSeprator = (ImageView)llOrderSheet.findViewById(R.id.ivSeprator);
ivSepUN = (ImageView)llOrderSheet.findViewById(R.id.ivSepUN);
llTopLayout.setVisibility(View.VISIBLE);
tvOrdersheetHeader.setVisibility(View.VISIBLE);
llPrintStockDetail.setVisibility(View.VISIBLE);
tvOrdersheetHeader.setTypeface(AppConstants.Roboto_Condensed_Bold);
tvDescription=(TextView) llOrderSheet.findViewById(R.id.tvDescription);
tvQty= (TextView) llOrderSheet.findViewById(R.id.tvQty);
tvApprovedQty=(TextView) llOrderSheet.findViewById(R.id.tvApprovedQty);
tvCollectedQty=(TextView) llOrderSheet.findViewById(R.id.tvCollectedQty);
refreshLoad();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@PostConstruct\r\n private void init() {\n this.ccTypes = new ArrayList<SelectItem>();\r\n this.ccTypes.add(new SelectItem(CreditCardType.CARD_A, getCCTypeLabel(CreditCardType.CARD_A)));\r\n this.ccTypes.add(new SelectItem(CreditCardType.CARD_B, getCCTypeLabel(CreditCardType.CARD_B)));\r\n\... | [
"0.69124556",
"0.662743",
"0.65649444",
"0.6548717",
"0.6529054",
"0.64712566",
"0.6456296",
"0.64496607",
"0.6366396",
"0.6363389",
"0.63539606",
"0.6352231",
"0.6331789",
"0.6292674",
"0.62894905",
"0.62752205",
"0.62680715",
"0.6249577",
"0.6248646",
"0.62460035",
"0.62127... | 0.60170835 | 47 |
Delete the server stats up to the specified date. | public void delete(long serverId, Date date)
{
Query query = getSession().createQuery("DELETE FROM ServerStats WHERE serverId=:id AND date <= :date");
query.setParameter("id", serverId);
query.setParameter("date", date);
query.executeUpdate();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void deleteSiteStats () throws DataServiceException;",
"@DELETE\n @Path(\"/{nom}/{date}\")\n public Response remove(@PathParam(\"nom\") String nom, @PathParam(\"date\") String date) {\n DataAccess dataAccess = DataAccess.begin();\n try {\n dataAccess.deleteEvent(nom, date);\... | [
"0.6839637",
"0.5698813",
"0.56445885",
"0.5534936",
"0.54458386",
"0.5378095",
"0.52837974",
"0.52782625",
"0.51942694",
"0.5185219",
"0.51722825",
"0.5145539",
"0.50506765",
"0.5009616",
"0.49998346",
"0.49826914",
"0.49821758",
"0.49624977",
"0.4959493",
"0.4958317",
"0.49... | 0.78529847 | 0 |
Created by Harish on 5/9/2018. | public interface IPCalls {
void attemptToGetQuations();
void sendAnswers(AnswerModel model);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"public final void mo51373a() {\n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpubl... | [
"0.6130352",
"0.5928052",
"0.5771419",
"0.5759872",
"0.5749009",
"0.57249415",
"0.57249415",
"0.5666665",
"0.5634292",
"0.56297135",
"0.5620553",
"0.5620181",
"0.55848265",
"0.55672467",
"0.55607027",
"0.5554834",
"0.5545397",
"0.55390596",
"0.553846",
"0.553846",
"0.553846",... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public int predict(double[] x) {
double[][] inputArray = new double[1][x.length];
for (int i = 0; i < x.length; i++) {
inputArray[0][i] = x[i]-0.5*this.means[0][0][i]-0.5*this.means[1][0][i];
}
Matrix input = new Matrix(inputArray);
double result = this.delta;
// System.out.println(input.times(this.beta.get(label)).getRowDimension());
result += input.times(this.beta).get(0, 0);
// System.out.println(result);
return result > 0 ? 1 : -1;
} | {
"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 int predict(double[] x, double[] posteriori) {
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 |
Inflate the layout for this fragment | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View root = inflater.inflate(R.layout.fragment_home, container, false);
Button btnPlay = (Button) root.findViewById(R.id.btn_play);
Button btnAddUser = (Button) root.findViewById(R.id.btn_add_user);
btnAddUser.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
NavHostFragment navHostFragment = (NavHostFragment) getActivity().getSupportFragmentManager().findFragmentById(R.id.nav_host_fragment);
NavController navController = navHostFragment.getNavController();
navController.navigate(R.id.action_homeFragment_to_addUserFragment);
}
});
btnPlay.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Spinner s = root.findViewById(R.id.spinner);
Globals.setActiveUser((String)s.getSelectedItem());
NavHostFragment navHostFragment = (NavHostFragment) getActivity().getSupportFragmentManager().findFragmentById(R.id.nav_host_fragment);
NavController navController = navHostFragment.getNavController();
navController.navigate(R.id.action_homeFragment_to_gameFragment);
}
});
LiveData<List<User>> users = MyDatabase.getInstance(getContext()).userDao().getAllUsers();
users.observe(getViewLifecycleOwner(), new Observer<List<User>>() {
@Override
public void onChanged(List<User> users) {
Spinner spinner = root.findViewById(R.id.spinner);
List<String> list = new ArrayList<>();
for(User u: users){
list.add(u.getUserId()+": "+u.getUsername());
}
ArrayAdapter<String> spinnerAdapter =new ArrayAdapter<String>(HomeFragment.this.getContext(),R.layout.support_simple_spinner_dropdown_item,list);
spinner.setAdapter(spinnerAdapter);
}
});
return root;
} | {
"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 |
/ / / / | private WebElement getCheckBoxElementWithoutSearchbyText(String widgetID, String value) {
/* 53 */ List<WebElement> elementsList = this.webdriver.findElements(By.xpath(".//*[@id='attribute-tree-" + widgetID + "']//span[text() = '" + value + "']"));
/* 54 */ if (elementsList.size() > 0) {
/* 55 */ return elementsList.get(0);
/* */ }
/* 57 */ return null;
/* */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) ... | [
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.4915... | 0.0 | -1 |
Die Werte aller Variablen einer Variablengruppe sind aktualisiert worden. | public void allActualValuesUpdated (); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"public VarTag(String title, double defalut) {\n super(new FlowLayout());\n this.title = title;\n\n this.init(defalut);\n\n }",
"private void setVariations(Element theElement) {\n\t\tNodeList planList = null;\n\t\tplanList = th... | [
"0.5843655",
"0.563781",
"0.55819726",
"0.553195",
"0.5506314",
"0.55002",
"0.54417866",
"0.5429812",
"0.53985953",
"0.5397774",
"0.53580785",
"0.5357484",
"0.5353495",
"0.5295982",
"0.52743304",
"0.5241959",
"0.5241332",
"0.5240076",
"0.5209855",
"0.5140113",
"0.51334715",
... | 0.0 | -1 |
Paluuarvoton metodi kasvattaa listan kokoa tarvittaessa | private void kasvata() {
T[] uusi = (T[]) new Object[this.arvot.length * 3 / 2 + 1];
for (int i = 0; i < this.arvot.length; i++) {
uusi[i] = this.arvot[i];
}
this.arvot = uusi;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void listar() {\n\t\t\n\t}",
"public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sl... | [
"0.7076725",
"0.70687735",
"0.68241525",
"0.67341125",
"0.67297757",
"0.67032105",
"0.6578326",
"0.64944",
"0.64791346",
"0.64751935",
"0.6471848",
"0.6464304",
"0.6436946",
"0.642302",
"0.64204705",
"0.6395828",
"0.6385539",
"0.63809353",
"0.6359758",
"0.63584304",
"0.633990... | 0.0 | -1 |
Metodi tarkistaa onko arvo listassa | public boolean sisaltaa(T arvo) {
for (int i = 0; i < this.arvoja; i++) {
if (this.arvot[i].equals(arvo)) {
return true;
}
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void tallennaTiedostoon() {\n viitearkisto.tallenna();\n }",
"public Asiakas(){\n\t\tid++;\n\t\tbussiNumero = new Random().nextInt(OmaMoottori.bussienMaara);\n\t\tsaapumisaika = Kello.getInstance().getAika();\n\t}",
"private void kasvata() {\n T[] uusi = (T[]) new Object[this.arvot.len... | [
"0.65031683",
"0.62774146",
"0.6276434",
"0.62430036",
"0.6241081",
"0.6240646",
"0.6226945",
"0.62103313",
"0.62015486",
"0.6189356",
"0.6187149",
"0.6171987",
"0.6163831",
"0.6152159",
"0.6142055",
"0.6132724",
"0.60885084",
"0.6085166",
"0.6072101",
"0.6068749",
"0.6066577... | 0.0 | -1 |
Metodi hakee listan koon | public int koko() {
return this.arvoja;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void lisaaKomennot() {\n this.komennot.put(1, new TarkasteleListoja(1, \"Tarkastele listoja\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n this.komennot.put(2, new LisaaListalle(2, \"Lisää listalle\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n ... | [
"0.67785186",
"0.66671324",
"0.66435236",
"0.6618566",
"0.6505119",
"0.6466855",
"0.64531493",
"0.64243424",
"0.6420922",
"0.6403078",
"0.63986933",
"0.6383964",
"0.63676935",
"0.63662875",
"0.6338242",
"0.6334237",
"0.6313326",
"0.63061816",
"0.6303563",
"0.6300637",
"0.6297... | 0.0 | -1 |
Created by hanbit on 20170315. | public interface IDetail {
public Map<?,?> list(String params);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"private static void cajas() {\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\n\tpub... | [
"0.58398396",
"0.5835505",
"0.5772648",
"0.56989074",
"0.5640031",
"0.5640031",
"0.5618108",
"0.5592638",
"0.5521885",
"0.55081356",
"0.5496179",
"0.5494734",
"0.5492572",
"0.54759616",
"0.546993",
"0.54608685",
"0.54572576",
"0.54572576",
"0.54572576",
"0.54572576",
"0.54572... | 0.0 | -1 |
Render the label box in the given graphical context. | public void draw(Graphics2D g2d) {
for (int i = 0; i < lines.size(); ++i) {
int deltaX = (width - getGlobalFontMetrics().stringWidth(lines.elementAt(i))) / 2;
int deltaY = getGlobalFontMetrics().getHeight() * (i + 1) - getGlobalFontMetrics().getDescent();
g2d.drawString(lines.elementAt(i), x + deltaX + 1, y + deltaY);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic JLabel createLabel() {\r\n\t\treturn new JLabel();\r\n\t}",
"void drawLabel() {\n\t\tfloat gavityValue = (int) (radius * 100);\n\t\tgavityValue /= 100;\n\t\tString label = \"gravityField \" + id + \"\\n gravity: \" + gavityValue;\n\t\tfloat labelWidth = gg.textWidth(label);\n\t\tfloat textH... | [
"0.65169877",
"0.64607483",
"0.62626344",
"0.62040025",
"0.6093153",
"0.606383",
"0.6059988",
"0.59618753",
"0.5949263",
"0.5937996",
"0.59244454",
"0.5834479",
"0.5809217",
"0.57729304",
"0.5766355",
"0.57610893",
"0.5722317",
"0.57129693",
"0.5703119",
"0.57020307",
"0.5699... | 0.0 | -1 |
Computes the bounds of the entity (smallest rectangle containing all elements of the entity) and caches the result. | protected void computeBounds() {
bounds = new Rectangle(layout.location.x - icon.getIconWidth() / 2,
layout.location.y - icon.getIconHeight() / 2, icon.getIconWidth(), icon.getIconHeight()).union(labelBox)
.union(ports[0].getBounds()).union(ports[1].getBounds()).union(ports[2].getBounds())
.union(component.getType() == TemplateComponent.TYPE_CHANNEL
? ports[3].getBounds().union(supHalo.getBounds())
: ports[3].getBounds());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }",
"public Bounds getBounds () { return (bounds); }",
"Rectangle getModelExtent() {\n Iterator elements = getIterator();\n Rectangle rect = new Rectangle(); // An empty rectangl... | [
"0.68203753",
"0.6534264",
"0.64092964",
"0.6334577",
"0.6330494",
"0.63217413",
"0.6308599",
"0.62851125",
"0.6220515",
"0.61984",
"0.6196434",
"0.6196434",
"0.6196434",
"0.6179114",
"0.6169018",
"0.6142656",
"0.61341786",
"0.61236805",
"0.6120348",
"0.6117917",
"0.6117917",... | 0.5487618 | 89 |
Renders the icon and the label of the entity in the given graphical context. This method is used internally by the other draw... methods. | private void drawCore(Graphics2D g2d) {
icon.paintIcon(g2d, layout.location.x - icon.getIconWidth() / 2, layout.location.y - icon.getIconHeight() / 2,
g2d.getColor());
labelBox.draw(g2d);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void render() {\n\t\tif (this.hidden) {\n\t\t\treturn;\n\t\t}\n\n\t\tsuper.render();\n\n\t\tthis.font.draw(Graphics.batch, this.label, this.getX(),\n\t\t\tthis.getY() + (this.getHeight() - this.font.getLineHeight()) / 2);\n\t}",
"public void draw(DrawingContext context) {\n\t\t\t\t}",
"priv... | [
"0.6115844",
"0.58350074",
"0.5806297",
"0.57782096",
"0.5755643",
"0.5676429",
"0.56624776",
"0.5613337",
"0.557312",
"0.55609465",
"0.5534119",
"0.55311143",
"0.54932773",
"0.54886264",
"0.5487098",
"0.54734856",
"0.5456487",
"0.5443561",
"0.5423401",
"0.540937",
"0.5394198... | 0.6352609 | 0 |
Retrieve the location of the entity. | public Point getLocation() {
return layout.location;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Location getCurrentLocation() { return entity.getLocation(); }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLoca... | [
"0.77994263",
"0.7149624",
"0.7149624",
"0.7149624",
"0.7149624",
"0.7149624",
"0.7143488",
"0.7135003",
"0.7104832",
"0.7092384",
"0.7089785",
"0.7063621",
"0.706316",
"0.7058668",
"0.7042096",
"0.70366454",
"0.70351714",
"0.7034876",
"0.7034876",
"0.7034876",
"0.7034876",
... | 0.0 | -1 |
Updates the entity to reflect any changes to the icon, label, location, type of entity, etc. In essence, recomputes how the entity should be rendered. | public void update() {
icon = new SimpleIcon(layout.tag, layout.color, DiagramElement.getGlobalFontRenderer());
icon.setIsModule(component.getType() != TemplateComponent.TYPE_CHANNEL);
icon.setFlagged(component.hasModel() && component.getModel().hasAnnotation(FLAG_MARK));
int maxWidth = 3 * icon.getIconWidth();
String[] words = layout.label.split(" ");
Vector<String> lines = new Vector<String>();
int wordsConsumed = 0;
while (wordsConsumed < words.length) {
String line = "";
int i;
for (i = wordsConsumed; i < words.length; ++i) {
line += words[i];
if (getGlobalFontMetrics().stringWidth(line) > maxWidth) {
break;
}
line += " ";
}
if (i == words.length) // all left-over words fit
{
line = line.substring(0, line.length() - 1);
lines.add(line);
wordsConsumed = words.length;
} else
// some left-over words didn't fit
{
if (i == wordsConsumed) // the first left-over word was too long
{
lines.add(line);
wordsConsumed++;
} else
// at least one left-over word fit
{
line = line.substring(0, line.lastIndexOf(" "));
lines.add(line);
wordsConsumed = i;
}
}
}
labelBox = new LabelBox(lines);
int deltaX = -(labelBox.width / 2);
int deltaY = icon.getIconHeight() / 2 + LABEL_SPACING;
labelBox.x = layout.location.x + deltaX;
labelBox.y = layout.location.y + deltaY;
ports[0] = new Ellipse2D.Float(layout.location.x - icon.getIconWidth() / 2 - 2 * PORT_RADIUS - 1,
layout.location.y - PORT_RADIUS, 2 * PORT_RADIUS, 2 * PORT_RADIUS);
ports[1] = new Ellipse2D.Float(layout.location.x - PORT_RADIUS,
layout.location.y - icon.getIconHeight() / 2 - 2 * PORT_RADIUS - 1, 2 * PORT_RADIUS, 2 * PORT_RADIUS);
ports[2] = new Ellipse2D.Float(layout.location.x + icon.getIconWidth() / 2 + 1, layout.location.y - PORT_RADIUS,
2 * PORT_RADIUS, 2 * PORT_RADIUS);
ports[3] = new Ellipse2D.Float(layout.location.x - PORT_RADIUS, (int) labelBox.getMaxY() + 1, 2 * PORT_RADIUS,
2 * PORT_RADIUS);
if (component.getType() == TemplateComponent.TYPE_CHANNEL) {
supHalo = new Ellipse2D.Float(layout.location.x + icon.getIconWidth() / 4,
layout.location.y - icon.getIconHeight() / 4 - 2 * HALO_RADIUS, 2 * HALO_RADIUS, 2 * HALO_RADIUS);
haloDX = -getGlobalFontMetrics().stringWidth(HALO_LABEL) / 2 + 1;
haloDY = getGlobalFontMetrics().getAscent() / 2;
}
computeBounds();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void updateEntity();",
"public void update()\n {\n modifier = coral.getCurrentSubject();\n modified = new Date();\n try\n {\n persistence.save(this);\n }\n catch(SQLException e)\n {\n throw new BackendException(\"failed to update re... | [
"0.6841805",
"0.66094565",
"0.6560716",
"0.6534289",
"0.64579624",
"0.6446285",
"0.6415439",
"0.64139634",
"0.62011415",
"0.6180839",
"0.6180839",
"0.6134099",
"0.61274827",
"0.6112831",
"0.6112831",
"0.6090531",
"0.5973813",
"0.5969914",
"0.5967642",
"0.5927491",
"0.59187275... | 0.0 | -1 |
Retrieve the label of the entity. | public String getLabel() {
return layout.label;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getLabel() {\n return _label == null ? name() : _label;\n }",
"public L getLabel() {\n\t\tcheckRep();\n\t\treturn this.label;\n\t}",
"public Object getLabel() {\n if (this.label != null) {\n return this.label;\n }\n\n return this.getDefaultLabel();\n }... | [
"0.75552267",
"0.7487074",
"0.7455346",
"0.74483466",
"0.7442091",
"0.7337152",
"0.7324227",
"0.7319385",
"0.7319385",
"0.7319385",
"0.7318926",
"0.7314135",
"0.731195",
"0.731195",
"0.731195",
"0.731195",
"0.73059297",
"0.73059297",
"0.73059297",
"0.7295544",
"0.7288441",
... | 0.65260977 | 92 |
Retrieve the center points of the connector handles. | public Point[] getPorts() {
return new Point[] { new Point((int) ports[0].getCenterX(), (int) ports[0].getCenterY()),
new Point((int) ports[1].getCenterX(), (int) ports[1].getCenterY()),
new Point((int) ports[2].getCenterX(), (int) ports[2].getCenterY()),
new Point((int) ports[3].getCenterX(), (int) ports[3].getCenterY()) };
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double[] getCenter() {\n return this.center;\n }",
"public Coords getCenter()\r\n {\r\n return new Coords(Math.round(x + width / 2), Math.round(y + height / 2));\r\n }",
"private double[] getMeanCenter(){\n double[] meanXY = new double[2];\n float[] trans = getTransl... | [
"0.6457902",
"0.6402138",
"0.6383645",
"0.6364336",
"0.63611615",
"0.6334377",
"0.6303055",
"0.6261225",
"0.6208064",
"0.6204626",
"0.61990756",
"0.61799794",
"0.6149161",
"0.61471057",
"0.61440176",
"0.6139243",
"0.61217886",
"0.61217886",
"0.61202717",
"0.6053046",
"0.60529... | 0.0 | -1 |
Retrieve the icon of the entity. | public EntityIcon getIcon() {
return icon;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getIcon() {\n return icon;\n }",
"public String getIcon() {\n return icon;\n }",
"public String getIcon() {\n return icon;\n }",
"public String getIcon() {\n return icon;\n }",
"public Icon getIcon();",
"protected Icon getIcon() {\n return getC... | [
"0.78421533",
"0.78421533",
"0.78421533",
"0.78421533",
"0.7691652",
"0.76369977",
"0.7569367",
"0.7565402",
"0.7561498",
"0.7561498",
"0.75592566",
"0.7552315",
"0.7538647",
"0.7538647",
"0.75258976",
"0.75258976",
"0.7509828",
"0.75073147",
"0.74715984",
"0.74400103",
"0.74... | 0.8526124 | 0 |
recipes in a course | @RequestMapping(value = "course", method = RequestMethod.GET)
public String course(Model model, @RequestParam int id){
Course cor = courseDao.findOne(id);
List<Recipe> recipes = cor.getRecipes();
model.addAttribute("recipes", recipes);
model.addAttribute("title", cor.getCourseName() + " recipes");
return "recipe/list-under";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void readRecipes() {\n\t\tBufferedReader br = null;\n\t\tString line = \"\";\n\t\tString cvsSplitBy = \",\";\n\t\ttry {\n\n\t\t\tbr = new BufferedReader(new FileReader(inputFileLocation));\n\t\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t\tString[] currentLine = line.split(cvsSplitBy);\n\t\t\t\tReci... | [
"0.59384054",
"0.5900457",
"0.58887243",
"0.5861732",
"0.58466446",
"0.5825758",
"0.5763878",
"0.57242775",
"0.57211745",
"0.5533625",
"0.5528189",
"0.5510665",
"0.5504736",
"0.5497366",
"0.5489718",
"0.5475491",
"0.5423683",
"0.5381466",
"0.5358342",
"0.5339338",
"0.53370523... | 0.58716893 | 3 |
recipes in a category | @RequestMapping(value = "category", method = RequestMethod.GET)
public String category(Model model, @RequestParam int id){
Category cat = categoryDao.findOne(id);
List<Recipe> recipes = cat.getRecipes();
model.addAttribute("recipes", recipes);
model.addAttribute("title", cat.getCategoryName() + " recipes");
return "recipe/list-under";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"SortedSet<Recipe> findRecipesByCategory(MealCategory category) throws ServiceFailureException;",
"@Test\n public void ShouldFindbyCategory() {\n Recipe curry = new Recipe();\n curry.setCategory(\"curry\");\n Recipe curryOne = new Recipe();\n curryOne.setCategory(\"curry\");\n ... | [
"0.66475296",
"0.63849795",
"0.63177955",
"0.62229526",
"0.59414214",
"0.5931748",
"0.5925992",
"0.5894831",
"0.5877931",
"0.5828168",
"0.5816349",
"0.57722056",
"0.5750304",
"0.5672554",
"0.5670553",
"0.5668514",
"0.5654459",
"0.5631286",
"0.56305623",
"0.5576489",
"0.557410... | 0.5754103 | 12 |
We will never update a message, we want the user to think before write ;) | @Override
public DomainMessage update(DomainMessage entity) {
throw new UnsupportedOperationException();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract void updateMessage(String msg);",
"public abstract void update(Message message);",
"@Override\r\n public void update(String message) {\r\n send(message);\r\n }",
"@Override\n\tpublic MessagePojo updatemessage(MessagePojo message) {\n\t\treturn null;\n\t}",
"public void saveChanges() t... | [
"0.6813672",
"0.6690752",
"0.65555096",
"0.65279937",
"0.6461275",
"0.64200366",
"0.6406262",
"0.63917434",
"0.63337946",
"0.62806636",
"0.627658",
"0.6246203",
"0.6190159",
"0.6175662",
"0.61679786",
"0.61436",
"0.61404824",
"0.611725",
"0.6072308",
"0.6058841",
"0.6047745",... | 0.0 | -1 |
Our policy forbids to retrieve only one message | @Override
public DomainMessage get(Long key) {
throw new UnsupportedOperationException();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Cursor getUndeliveredOneToOneChatMessages();",
"protected byte[] getNextMessage(){\n if (messages.size() > 0) {\n byte message[] = messages.get(0).clone();\n messages.remove(0);\n return message;\n } else {\n return null;\n }\n \n }",
... | [
"0.6375965",
"0.59802926",
"0.5851197",
"0.5781152",
"0.57753783",
"0.5720371",
"0.5695424",
"0.5695424",
"0.5695424",
"0.5695424",
"0.5695424",
"0.5665781",
"0.56476855",
"0.56066316",
"0.5598457",
"0.55850065",
"0.55653566",
"0.55625653",
"0.5551946",
"0.5542074",
"0.553791... | 0.0 | -1 |
Our CEO got drunk and deleted all messages. He said "Never again!", here is the result. | @Override
public void delete(Long key) {
throw new UnsupportedOperationException();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void onDeletedMessages(Context context, int total) {\n\t}",
"public static Boolean deleteAllDraftMessage() {\r\n\r\n\t\ttry {\r\n\r\n\t\t\tdb.execSQL(\"DELETE FROM drafts\");\r\n\t\t\t//Log.d(\"DRAFT DELETE\", \"Record deleted!\");\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\t//Log.e(\"DRAF... | [
"0.67509645",
"0.67443085",
"0.66470754",
"0.66258293",
"0.65486073",
"0.6478055",
"0.64338994",
"0.63736683",
"0.6359684",
"0.6348178",
"0.6339886",
"0.6336516",
"0.6312401",
"0.6298116",
"0.6293213",
"0.62849486",
"0.6248561",
"0.62325317",
"0.6229878",
"0.6188247",
"0.6185... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public int itemLayoutRes()
{
return R.layout.recommendlist_item;
} | {
"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 View getView(int position, View convertView, ViewGroup parent, ViewHolder viewHolder)
{
ImageView iv_avatar = viewHolder.obtainView(convertView, R.id.iv_avatar);
ViewGroup.LayoutParams layoutParams = iv_avatar.getLayoutParams();
layoutParams.height = YARDisplayUtil.getScreenWidth() / 4 - 30;
iv_avatar.setLayoutParams(layoutParams);
TextView tv_age = viewHolder.obtainView(convertView, R.id.tv_age);
User user = list.get(position);
YARImageLoader.newInstance().get(iv_avatar, user.avatar);
tv_age.setText(user.age + "");
return convertView;
} | {
"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 |
double saldoAlterado = saldo valor; saldo = saldoAlterado; OUTRO OPCAO1 saldo = saldo valor; OUTRO OPCAO2 saldo = valor; OUTRO OPCAO3 this.saldo = valor; | boolean sacar(double valor) {
if (valor <= this.saldo+this.limite) {
this.saldo -= valor;
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSaldo(double saldo) {\r\n this.saldo = saldo;\r\n }",
"public void setSaldo(double saldo) {\n this.saldo = saldo;\n }",
"public void setMontoDescuento(double param){\n \n this.localMontoDescuento=param;\n ... | [
"0.70229083",
"0.6947313",
"0.68157536",
"0.67851603",
"0.6742573",
"0.6676275",
"0.65972936",
"0.65484387",
"0.65219325",
"0.6454004",
"0.6452844",
"0.6420195",
"0.641545",
"0.6391229",
"0.63352084",
"0.6333743",
"0.6328248",
"0.6319252",
"0.6316532",
"0.62811315",
"0.628113... | 0.0 | -1 |
Constructor for the build settings page area. | public PmdMavenBuildSettings(Job parent) {
super(parent, "pmd-PmdReporter");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public SettingsPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public SettingPage() {\n\t\tPageFactory.initElements(driver, this);\t\t\n\t}",
"public HeaderSettingsPage()\n {\n initialize();\n }",
"public LandRYSettingPage() {\n initComponents();\n }",
"public Settings(... | [
"0.7249059",
"0.7067198",
"0.69152474",
"0.68492776",
"0.6838699",
"0.6838699",
"0.66991055",
"0.6675251",
"0.65593046",
"0.65401",
"0.6510181",
"0.6508382",
"0.64869565",
"0.6441339",
"0.6432581",
"0.64243907",
"0.64136",
"0.63947624",
"0.6325822",
"0.6250974",
"0.61666435",... | 0.0 | -1 |
Function is sending temperature value to server and getting the converted value and return the value | public double convertor(double temperature) {
// Create the locator object to locate the server
FahrenheitToCelsiusServiceLocator locatorObject = new FahrenheitToCelsiusServiceLocator();
double result = 0;
// setting the locator end point address
locatorObject.setFahrenheitToCelsiusEndpointAddress("http://localhost:8080/com.metacube.SoapServer/services/FahrenheitToCelsius");
try {
FahrenheitToCelsius temperatureConversion = locatorObject.getFahrenheitToCelsius();
result = temperatureConversion.convertFahrenheitToCelsius(temperature);
} catch (ServiceException | RemoteException e) {
System.out.println("Error in connection.");
} catch (Exception e) {
System.out.println("Error occured.");
}
return result;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getTemperature() {\r\n \t\r\n \t//Get the date from the DateService class\r\n \tDate theDate = theDateService.getDate(); \r\n \t\r\n \t//Increment the number of readings\r\n \tlngNumberOfReadings ++;\r\n \tdouble temp = 0.0;\r\n \tString rep = \"\";\r\n \t\r\n \t//Assume ... | [
"0.6786036",
"0.67057574",
"0.6541925",
"0.63427705",
"0.63037765",
"0.62909216",
"0.6207452",
"0.61954814",
"0.6162984",
"0.61320275",
"0.6123412",
"0.6111857",
"0.6093232",
"0.6085996",
"0.6052514",
"0.60494894",
"0.6034902",
"0.6016575",
"0.59995884",
"0.59713084",
"0.5962... | 0.7271355 | 0 |
Write a recursive function to calculate sum of digits of any number | public static void main(String[] args) {
int input = 7123456;
int result = sumOfDigits(input, 0);
System.out.println(result);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static int sumDigits(int sum) {\n int result;\n do {\n result = 0;\n while (sum != 0) {\n result += sum % 10;\n sum /= 10;\n }\n sum = result;\n }\n while (result > 9);\n return result;\n }",
"... | [
"0.729017",
"0.7266182",
"0.71737844",
"0.70809454",
"0.70464987",
"0.69996494",
"0.69425774",
"0.69311225",
"0.6834423",
"0.6807154",
"0.67953753",
"0.67299294",
"0.6643616",
"0.64977705",
"0.6497311",
"0.64746475",
"0.64410347",
"0.64382935",
"0.64061815",
"0.6346776",
"0.6... | 0.67412573 | 11 |
TODO Autogenerated method stub | public static void main(String[] args) {
LongestIncreasingSub l=new LongestIncreasingSub();
int[] arr= {3,4,5};
List<Integer> list=new ArrayList<Integer>();
list=l.LongestSub(arr);
System.out.print(list);
} | {
"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 |
Constructor: calls from superclass. Increases count of birds. | public Vulture(int x, int y){
super(x,y);
super.countbird++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MountainBike() {\n super();\n }",
"public Boop() {\n\t\tsuper();\n\t}",
"public Billfold()\n {\n \n }",
"public Rook()\n {\n super();\n }",
"Vehicle() \n {\n System.out.println(\"Constructor of the Super class called\");\n noOfTyres = 5;\n accessor... | [
"0.66075736",
"0.6511449",
"0.6510507",
"0.64637345",
"0.64576584",
"0.6437485",
"0.6423698",
"0.6414618",
"0.6408502",
"0.6383607",
"0.6357696",
"0.6333522",
"0.63299257",
"0.6291172",
"0.6284499",
"0.6264379",
"0.6259318",
"0.625245",
"0.62490577",
"0.6233029",
"0.6218693",... | 0.6864076 | 0 |
This method returns the color of the bird according to the fied above. | public Color getColor(){
return COL;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Color getColor() {\n return BirdColor;\n }",
"private static BufferedImage colorBird(final BufferedImage refImage,\n final Color color) {\n \n final BufferedImage image = new BufferedImage(BIRD_WIDTH,\n BIRD_HEIGHT, BufferedImage.TYPE_INT_ARGB);\... | [
"0.82198054",
"0.7429001",
"0.7129767",
"0.7087231",
"0.7052885",
"0.70323724",
"0.7026924",
"0.7026174",
"0.7026174",
"0.7013578",
"0.70127815",
"0.70127815",
"0.7001386",
"0.69885284",
"0.6978873",
"0.6978873",
"0.6978873",
"0.6978873",
"0.6978873",
"0.6968339",
"0.6941322"... | 0.0 | -1 |
This method makes the bird to move. | public void fly(){
//If bird is facing up.
if (i == 0){
//Move up one position and change direction (i).
super.p.y = super.p.y - 1;
i = 1;
//If bird is facing to the left.
} else if (i == 1){
//Move to the left one position and change direction (i).
super.p.x = super.p.x - 1;
i = 2;
//If bird is facing down.
} else if (i == 2){
//Move down right one position and change direction (i).
super.p.y = super.p.y + 1;
i = 3;
//If bird is facing to the right.
} else if (i == 3){
//Move to the right one position and change direction (i).
super.p.x = super.p.x + 1;
i = 0;
}
//Increase count of flights.
super.countfly++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void moveBird() {\n\t\t// your code here\n\t\txBird += xVelo;\n\t\tyBird += yVelo;\n\t\t\n\t\tif(gSwitch) {\n\t\t\tyVelo += G;\n\t\t}\n\t\t\n\t\tif (yI >= W_HEIGHT) {\n\t\t\txI = 200; yI = 300;\n\t\t\tgSwitch = false;\n\t\t\txVelo = 0; yVelo = 0;\n\t\t\t}\n\t\t}",
"public void move() {\r\n\t\tthis.swim();... | [
"0.83045405",
"0.7430579",
"0.715834",
"0.715448",
"0.70771784",
"0.7025088",
"0.7023505",
"0.6976796",
"0.6956428",
"0.69333327",
"0.6928395",
"0.6913052",
"0.69089174",
"0.690376",
"0.6890521",
"0.68880725",
"0.6870921",
"0.6860572",
"0.6821762",
"0.68178195",
"0.68154556",... | 0.0 | -1 |
Fill a suggestion for a key word | public static void associate(final String keyWord, final JHelpSuggestion<String> suggestion)
{
final Pair<String, String> association = EditorResources.KEY_WORDS.get(keyWord);
if(association == null)
{
suggestion.addSuggestion(keyWord);
}
else
{
suggestion.addSuggestion(keyWord, association.element1, association.element2);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void suggestCategory() {\n String[] allCat = {\"Pizza\", \"Pasta\", \"Dessert\", \"Salad\", \"SoftDrinks\"};\n// for (ItemDTO i : allDetails) {\n// names.add(i.getName());\n// }\n\n TextFields.bindAutoCompletion(txtCat, allCat);\n }",
"void AddSuggest... | [
"0.64450157",
"0.6345676",
"0.63301027",
"0.6280766",
"0.61847305",
"0.6154497",
"0.6015924",
"0.59775037",
"0.5922519",
"0.59143287",
"0.591167",
"0.5897375",
"0.58844906",
"0.58521885",
"0.57930183",
"0.5744052",
"0.5730508",
"0.56997836",
"0.5684675",
"0.5671603",
"0.56658... | 0.5909574 | 11 |
TODO Autogenerated method stub | @Override
public List<MsgVO> listSendMsg(String sendUser) {
return session.selectList(namespace + ".listAllSendMsg", sendUser);
} | {
"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<MsgVO> listReceiveMsg(String receiveUser) {
return session.selectList(namespace + ".listAllReceiveMsg", receiveUser);
} | {
"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 MsgVO detailMsg(int msgNo) {
return session.selectOne(namespace + ".detailMsg", msgNo);
} | {
"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 sendMsg(MsgVO mvo) {
session.insert(namespace + ".sendMsg", mvo);
} | {
"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 deleteMsg(int msgNo) {
session.delete(namespace + ".deleteMsg", msgNo);
} | {
"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 updateMsg(MsgVO mvo) {
session.update(namespace + ".readMsg", mvo);
} | {
"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 boolean findUser(String findId) {
if(session.selectOne(namespace + ".searchUser", findId) != null)
{
return true;
}
return false;
} | {
"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 sendAskLvUp(MsgVO mvo) {
session.insert(namespace + ".sendLvUp", mvo);
} | {
"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 MsgVO selectUpMsg(String userId) {
return session.selectOne(namespace + ".selectUpMsg", userId);
} | {
"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 completeMsg(int msgNo) {
session.update(namespace + ".completeUpMsg", msgNo);
} | {
"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 |
The natural order of these keys is primarily according to start positions. Field lineId is the secondary sort condition so that lines with identical start position aren't lost and are kept in original order. | public IndexKey(BpCoord start, long lineId) {
this.start = start;
this.lineId = lineId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public IndexKey(BpCoord start, long lineId, boolean isRowNumber) {\n\t\tthis(start, lineId);\n\t\tthis.isRowNumber = isRowNumber;\n\t}",
"abstract String getSortKey();",
"public void sort() // sort according to primary key defined in RecordTemplate\n\t{\n\t\trecordList.sort((Record r1, Record r2)->r1.getValue(... | [
"0.58036035",
"0.55803674",
"0.53991663",
"0.5375732",
"0.5316069",
"0.5290766",
"0.51989603",
"0.5136136",
"0.5132505",
"0.51253",
"0.5072173",
"0.5062979",
"0.5058252",
"0.50564384",
"0.49924684",
"0.49923894",
"0.49873936",
"0.49750227",
"0.49468613",
"0.49323836",
"0.4922... | 0.6039727 | 0 |
Same as the contructor with two parameters, but sets the flag isRowNumber. When this flag is true, the lineId must be the line number of the line in file. In other words, lineId of the first line is 0, lineId of the second line is 1 and so on. | public IndexKey(BpCoord start, long lineId, boolean isRowNumber) {
this(start, lineId);
this.isRowNumber = isRowNumber;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setRowNumber(int rowNumber) {\n this.rowNumber = rowNumber;\n }",
"public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}",
"public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}",
"public void setLineNumber(int lineNumber) {\n this.lineNumber = l... | [
"0.68872786",
"0.6869398",
"0.6869398",
"0.65953845",
"0.65608203",
"0.656075",
"0.65265465",
"0.6498563",
"0.63968635",
"0.63572556",
"0.6335753",
"0.62973887",
"0.6287291",
"0.6237828",
"0.6199214",
"0.6089638",
"0.60807204",
"0.60511094",
"0.60466325",
"0.6033677",
"0.5990... | 0.66153747 | 3 |
Get the row number of the line in the original data file, excluding all comment lines. The row nubmer of first content line is 0. | public Integer getRowNumber() {
if (isRowNumber) {
return (int) lineId;
}
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getLineNumber()\n {\n // LineNumberReader counts lines from 0. So add 1\n\n return lineNumberReader.getLineNumber() + 1;\n }",
"public final int getLineNumber()\n {\n return _lineNumber + 1;\n }",
"public int getRowNo() {\n return rowIndex+1;\n }",
"priva... | [
"0.7362136",
"0.7024464",
"0.6995112",
"0.68936205",
"0.6887708",
"0.6880937",
"0.6876031",
"0.686111",
"0.68356204",
"0.68173105",
"0.6811948",
"0.678419",
"0.6749734",
"0.67429525",
"0.6735402",
"0.6692985",
"0.6690664",
"0.6689367",
"0.6662944",
"0.6640367",
"0.6615009",
... | 0.7203934 | 1 |
This is the constructor, which calculates the whole magicsquare and saves it internaly in the array. | public MagicSquare(int n){
this.size = n;
if(n%2!=1) // we don't have an odd number
return;
this.numbers = new int[n][n];
int row = n-1;
int column = n/2;
int k = 0;
for(k=1; k<=n*n; k++){
this.numbers[row][column] = k;
if(this.numbers[(row+1)%n][(column+1)%n]!=0){
row --;
}else{
column = (column + 1) % n;
row = (row + 1) % n;
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double magnitudeSquared() {\n \n return _x * _x + _y * _y; \n \n }",
"public AdvancedMagicSquare(int n){//constructor\n\t\tm = new int[n * n];//array of length n*n\n\t\tthis.order = n;\n\t\tmaxNum = n * n;//calculate the the biggest number in the square\n\t\tMagic_Con... | [
"0.60309076",
"0.5962311",
"0.5828307",
"0.5687178",
"0.5608937",
"0.54843205",
"0.5483615",
"0.5453475",
"0.5347917",
"0.5346312",
"0.53384835",
"0.5310147",
"0.53050685",
"0.5291901",
"0.52848387",
"0.51963943",
"0.5177621",
"0.51730293",
"0.51639724",
"0.5147159",
"0.51132... | 0.4707727 | 89 |
This method transforms the array into a nice readable string. | public String toString(){
StringBuilder output = new StringBuilder();
for(int i = 0; i<this.size; i++){
for(int j=0; j<this.size; j++){
output.append(this.numbers[i][j] + "\t");
}
output.append("\n");
}
return output.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public String toString() {\n String arrString = \"\";\n \n //loop to add all the elements\n for (int i = 0; i < this.array.length; i++) {\n arrString = arrString + \" \" + this.array[i];\n }\n \n return arrString;\n }",
"public String ... | [
"0.7807411",
"0.77973855",
"0.7779461",
"0.7690712",
"0.76893157",
"0.76122224",
"0.7479306",
"0.7451991",
"0.74338216",
"0.74338216",
"0.7433607",
"0.74075025",
"0.7406094",
"0.7337772",
"0.7242021",
"0.72258437",
"0.7225369",
"0.72119975",
"0.72115475",
"0.7160515",
"0.7158... | 0.6359758 | 81 |
Resets the array to its original configuration and return it. | public int[] reset()
{
return reset;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int[] reset() {\n\t\t\treturn originalArr;\n\t\t}",
"public int[] reset() {\n return Arrays.copyOf(origin, origin.length);\n }",
"public int[] reset() {\r\n return reset;\r\n }",
"public int[] reset() {\n return store;\n }",
"private int[] reset() {\n ret... | [
"0.7683946",
"0.697118",
"0.6904059",
"0.6714145",
"0.6640303",
"0.64434683",
"0.6318128",
"0.6288678",
"0.62609303",
"0.6259935",
"0.6196086",
"0.6185046",
"0.6129283",
"0.60915095",
"0.601098",
"0.60055953",
"0.5967921",
"0.59418577",
"0.59418577",
"0.59418577",
"0.59418577... | 0.68361205 | 3 |
Returns a random shuffling of the array. | public int[] shuffle()
{
List<Integer> al = new ArrayList(reset.length);
//push all values of the original array onto an arraylist
for(int i = 0; i < reset.length; i++)
{
al.add(reset[i]);
}
//shuffles the arraylist
Collections.shuffle(al);
return al.stream().mapToInt(Integer::intValue).toArray();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int[] shuffle() {\n int len = data_random.length;\n Random rand = new Random();\n for (int i = 0; i < len; i++) {\n int r = rand.nextInt(len);\n int temp = data_random[i];\n data_random[i] = data_random[r];\n data_random[r]=temp;\n }\n... | [
"0.79378474",
"0.778238",
"0.77558976",
"0.7748851",
"0.769553",
"0.7656073",
"0.7656073",
"0.764616",
"0.7633283",
"0.7544139",
"0.74743384",
"0.745568",
"0.7454164",
"0.74540776",
"0.74223113",
"0.7409494",
"0.7409494",
"0.73869467",
"0.73639935",
"0.73605025",
"0.7356231",... | 0.6837485 | 57 |
Gets the order type. | public String getOrderType() {
return orderType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOrderType() {\n\t\treturn (String) get_Value(\"OrderType\");\n\t}",
"OrderType getOrderType();",
"public String\t\tgetOrderType();",
"public OrderType getOrderType() {\r\n\t\treturn orderType;\r\n\t}",
"public io.opencannabis.schema.commerce.CommercialOrder.OrderType getType() {\n @Su... | [
"0.8719366",
"0.85913455",
"0.85036075",
"0.8290917",
"0.80434775",
"0.8007302",
"0.7768034",
"0.7707993",
"0.768508",
"0.7608755",
"0.7473719",
"0.74301696",
"0.7127392",
"0.66333425",
"0.6575502",
"0.6521937",
"0.6495691",
"0.64707524",
"0.6421422",
"0.64182323",
"0.6418232... | 0.84081537 | 3 |
Sets the order type. | public void setOrderType(String orderType) {
this.orderType = orderType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setOrderType(OrderType inOrderType);",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setORDERTYPE(java.lang.CharSequence value) {\n validate(fields()[0], value);\n this.ORDER_TYPE = value;\n fieldSetFlags()[0] = true;\n return this;\n }",
"pub... | [
"0.83039093",
"0.7984508",
"0.78427005",
"0.7553709",
"0.75022805",
"0.74796003",
"0.72120243",
"0.68842256",
"0.68842256",
"0.68842256",
"0.68813384",
"0.6876721",
"0.68715024",
"0.68673575",
"0.68233794",
"0.68233794",
"0.68233794",
"0.68214196",
"0.6813853",
"0.6811878",
"... | 0.7714705 | 3 |
Gets the vest length. | public String getVestLength() {
return vestLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double length() {\n return Vecteur.add(this.OB, this.OA.opposé()).length();\n }",
"public int getLength() {\n return mySize.getLength();\n }",
"public abstract long getLength() throws VlException;",
"public Integer getLength() {\n return _length;\n }",
"public Integer g... | [
"0.73019594",
"0.7299599",
"0.7219866",
"0.72086895",
"0.72086895",
"0.7178461",
"0.71755505",
"0.71550417",
"0.71447366",
"0.71324104",
"0.7131873",
"0.71272844",
"0.71272844",
"0.71272844",
"0.7112652",
"0.7106346",
"0.7106346",
"0.7104444",
"0.71036667",
"0.70962435",
"0.7... | 0.86306816 | 0 |
Sets the vest length. | public void setVestLength(String vestLength) {
this.vestLength = vestLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLength(int length);",
"public void setLength(long length);",
"public void setLength(long length);",
"void setLength( long length );",
"public void setSizeV(long s){\n\t\tthis.sizeV = s;\n\t}",
"public void setLength(double newLength) {\n length = newLength;\n }",
"public void setLengt... | [
"0.7124675",
"0.71165824",
"0.71165824",
"0.7024933",
"0.6958635",
"0.69220537",
"0.69102186",
"0.69102186",
"0.69059366",
"0.6810897",
"0.68085927",
"0.6795991",
"0.6758556",
"0.6756371",
"0.67173105",
"0.66933143",
"0.6668992",
"0.66628236",
"0.66628236",
"0.66628236",
"0.6... | 0.7881686 | 0 |
Gets the half hem. | public String getHalfHem() {
return halfHem;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getH();",
"public int getHalfHeight() {\n\t\t\treturn halfHeight;\n\t\t}",
"double getEndH();",
"public double getH() {\n return h;\n }",
"public double getH() {\n return h;\n }",
"public int getHeigth() {\r\n return heigth;\r\n }",
"double getStartH();",
"float ... | [
"0.72194684",
"0.70025206",
"0.6887065",
"0.68716586",
"0.68716586",
"0.6659721",
"0.66528684",
"0.664534",
"0.6590846",
"0.6475594",
"0.6453623",
"0.6429561",
"0.6393684",
"0.63773084",
"0.6332004",
"0.63086694",
"0.6263634",
"0.6190814",
"0.6163289",
"0.6153929",
"0.6096264... | 0.80964535 | 0 |
Sets the half hem. | public void setHalfHem(String halfHem) {
this.halfHem = halfHem;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setH(double set_h) {\r\n\t\th = set_h;\t\r\n\t\t}",
"public void setH(Double h);",
"public void setH(double h) {\n this.h = h;\n }",
"public void setH_(double h_) {\n\t\tthis.h_ = h_;\n\t}",
"public String getHalfHem() {\r\n\t\treturn halfHem;\r\n\t}",
"public void setH(int h... | [
"0.71519667",
"0.7120179",
"0.68574196",
"0.68489915",
"0.6775056",
"0.6695622",
"0.6690215",
"0.66309375",
"0.63674855",
"0.6307606",
"0.629649",
"0.6288356",
"0.6137717",
"0.6085755",
"0.5902046",
"0.5881092",
"0.5816511",
"0.58156013",
"0.5767889",
"0.57531494",
"0.5743164... | 0.79922664 | 0 |
Gets the front neck depth. | public String getFrontNeckDepth() {
return frontNeckDepth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBackNeckDepth() {\r\n\t\treturn backNeckDepth;\r\n\t}",
"float getDepth();",
"float getDepth();",
"public float getDepth() {\n return depth_;\n }",
"public float getDepth() {\r\n\t\treturn Float.parseFloat(getProperty(\"depth\").toString());\t\r\n\t}",
"public float getDepth() {\... | [
"0.75244635",
"0.7308696",
"0.7308696",
"0.7183528",
"0.7176209",
"0.71594393",
"0.71594393",
"0.7156532",
"0.71414524",
"0.71367323",
"0.7135742",
"0.7093513",
"0.7025078",
"0.69727767",
"0.6960203",
"0.6960203",
"0.6933091",
"0.68967295",
"0.68858856",
"0.6847398",
"0.68427... | 0.86314094 | 0 |
Sets the front neck depth. | public void setFrontNeckDepth(String frontNeckDepth) {
this.frontNeckDepth = frontNeckDepth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setFront(Node front){\n this.front = front;\n }",
"private final void setDepth(int depth){\n\t\tthis.depth = depth;\n\t}",
"public void setFront(int x) {\r\n front = x;\r\n }",
"public void setDepth(double aDepth);",
"public String getFrontNeckDepth() {\r\n\t\treturn frontNe... | [
"0.7011289",
"0.68904006",
"0.68075067",
"0.67818975",
"0.6737041",
"0.6726807",
"0.6633183",
"0.65926844",
"0.652649",
"0.64966834",
"0.64516294",
"0.639505",
"0.637172",
"0.6345341",
"0.6294519",
"0.6256504",
"0.62512",
"0.61364853",
"0.61145675",
"0.6094932",
"0.6059653",
... | 0.78225833 | 0 |
Gets the back neck depth. | public String getBackNeckDepth() {
return backNeckDepth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getFrontNeckDepth() {\r\n\t\treturn frontNeckDepth;\r\n\t}",
"int getDepth();",
"public static int getDepth() {\n return depth;\n }",
"public double getDepth();",
"int getMax_depth();",
"int depth();",
"int depth();",
"public int getDepth()\n {\n return m_Depth;\n ... | [
"0.7715348",
"0.7048738",
"0.6997645",
"0.6974663",
"0.6964981",
"0.69561267",
"0.69561267",
"0.6955543",
"0.69267493",
"0.6918469",
"0.6918469",
"0.6905917",
"0.6896013",
"0.687072",
"0.683974",
"0.6834218",
"0.6807708",
"0.6785072",
"0.67764366",
"0.67615527",
"0.6755977",
... | 0.87911147 | 0 |
Sets the back neck depth. | public void setBackNeckDepth(String backNeckDepth) {
this.backNeckDepth = backNeckDepth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBackNeckDepth() {\r\n\t\treturn backNeckDepth;\r\n\t}",
"public void setBack(Node back){\n this.back = back;\n }",
"private final void setDepth(int depth){\n\t\tthis.depth = depth;\n\t}",
"void decrementNewDepth() {\n mNewDepth--;\n }",
"public void setDepth(int newdepth)\n ... | [
"0.70791864",
"0.6873703",
"0.6746654",
"0.66345084",
"0.66002667",
"0.65990967",
"0.65796065",
"0.6564907",
"0.6545252",
"0.6525688",
"0.6493057",
"0.646717",
"0.63809353",
"0.6340831",
"0.63150525",
"0.62736315",
"0.613115",
"0.6109442",
"0.6011616",
"0.59940445",
"0.599230... | 0.8203113 | 0 |
Gets the sleeve length. | public String getSleeveLength() {
return sleeveLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSleeveLength(String sleeveLength) {\r\n\t\tthis.sleeveLength = sleeveLength;\r\n\t}",
"public double get_length() {\n\t\treturn _length;\n\t}",
"public int getLengthOfStay() {\n return this.length_of_stay;\n }",
"public double length () {\n return Math.sqrt(lengthSquared());\n... | [
"0.6825573",
"0.663453",
"0.6616817",
"0.6607963",
"0.6513091",
"0.64858",
"0.6477909",
"0.64718634",
"0.64429367",
"0.64173245",
"0.64062864",
"0.6389171",
"0.63851446",
"0.6378495",
"0.6371947",
"0.6366502",
"0.6353353",
"0.6353353",
"0.635128",
"0.6347906",
"0.633764",
"... | 0.86309415 | 0 |
Sets the sleeve length. | public void setSleeveLength(String sleeveLength) {
this.sleeveLength = sleeveLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLength(long length);",
"public void setLength(long length);",
"void setLength(int length);",
"void setLength( long length );",
"public String getSleeveLength() {\r\n\t\treturn sleeveLength;\r\n\t}",
"public void setLengthOfStay(int len) {\n this.length_of_stay=len;\n }",
"publi... | [
"0.70230883",
"0.70230883",
"0.70029914",
"0.69308317",
"0.65799135",
"0.65378493",
"0.6507313",
"0.64803535",
"0.64667624",
"0.64667624",
"0.6407479",
"0.63961655",
"0.6383362",
"0.6367234",
"0.63396156",
"0.63194",
"0.63070124",
"0.6305433",
"0.6305433",
"0.6305433",
"0.628... | 0.8517374 | 0 |
Gets the sleeve round. | public String getSleeveRound() {
return sleeveRound;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSleeveRound(String sleeveRound) {\r\n\t\tthis.sleeveRound = sleeveRound;\r\n\t}",
"public Player round() {\n chooseFighter(player1, player2);\n // It's not allowed to construct a Fighter with Health (or Attack) equals 0\n\n Player winner = fight();\n\n gameOver = winner... | [
"0.6675053",
"0.63289887",
"0.6126625",
"0.6098423",
"0.60451955",
"0.5951561",
"0.59003365",
"0.58475816",
"0.5797395",
"0.5760068",
"0.57171184",
"0.56497806",
"0.56372875",
"0.5634977",
"0.5622753",
"0.5621076",
"0.5579834",
"0.5537854",
"0.5537854",
"0.5511393",
"0.549820... | 0.82932633 | 0 |
Sets the sleeve round. | public void setSleeveRound(String sleeveRound) {
this.sleeveRound = sleeveRound;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getSleeveRound() {\r\n\t\treturn sleeveRound;\r\n\t}",
"public void setSleeveLength(String sleeveLength) {\r\n\t\tthis.sleeveLength = sleeveLength;\r\n\t}",
"public void setRound(int round) {\r\n this.round = round;\r\n }",
"public void setRound(final int value) {\n round = val... | [
"0.6310815",
"0.60068077",
"0.6000782",
"0.59167236",
"0.5909505",
"0.57995903",
"0.57408357",
"0.57071954",
"0.57013434",
"0.5698863",
"0.56960326",
"0.566161",
"0.5654575",
"0.564785",
"0.56093",
"0.5580136",
"0.554528",
"0.55339694",
"0.5502492",
"0.5480382",
"0.5466468",
... | 0.81554127 | 0 |
Gets the bottom width. | public String getBottomWidth() {
return bottomWidth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int width()\n {\n return Math.max(top, bottom);\n }",
"public int getBottomWeight(){\r\n\t \treturn this.bottomWeight;\r\n\t }",
"public int getBottom() {\n return position[0] + (size - 1) / 2;\n }",
"public int getBottom() {\n\t\treturn this.bottom;\n\t}",
"public void ... | [
"0.7739838",
"0.72915846",
"0.70347935",
"0.70281506",
"0.69557875",
"0.68985647",
"0.68454206",
"0.67391926",
"0.6721019",
"0.66424507",
"0.66071206",
"0.6606158",
"0.6568776",
"0.6514468",
"0.6466044",
"0.6451858",
"0.644978",
"0.64429146",
"0.64429146",
"0.64429146",
"0.64... | 0.8867935 | 0 |
Sets the bottom width. | public void setBottomWidth(String bottomWidth) {
this.bottomWidth = bottomWidth;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBottomWidth() {\r\n\t\treturn bottomWidth;\r\n\t}",
"public void setBottom(int x) {\r\n bottomSide = x;\r\n }",
"public void setBottom() {\n reset(State.BOTTOM);\n }",
"public UtilsPadding setBottom(Number bottom) {\n if (jsBase == null) {\n this.bottom ... | [
"0.7194655",
"0.6660363",
"0.66382855",
"0.6200252",
"0.6115339",
"0.6078501",
"0.6060527",
"0.6060527",
"0.60012656",
"0.59949386",
"0.5973079",
"0.596996",
"0.5945359",
"0.59445506",
"0.5919954",
"0.5917569",
"0.5896704",
"0.58501005",
"0.5844383",
"0.5840099",
"0.5838901",... | 0.83187157 | 0 |
Gets the side slit length. | public String getSideSlitLength() {
return sideSlitLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getLength() {\n return this.sideLength;\n }",
"public double getSideLength() {\n\t\treturn this.sideLength;\n\t}",
"public int getSide() {\n\t\treturn getLength() ;\n\t}",
"public void setSideSlitLength(String sideSlitLength) {\r\n\t\tthis.sideSlitLength = sideSlitLength;\r\n\t}",
"pub... | [
"0.80968916",
"0.807994",
"0.7442542",
"0.73169637",
"0.69133246",
"0.6899971",
"0.67797726",
"0.6739905",
"0.6737174",
"0.673121",
"0.67230326",
"0.6716578",
"0.6688525",
"0.66829646",
"0.663963",
"0.66200876",
"0.6618948",
"0.6617185",
"0.66145676",
"0.6576708",
"0.6515605"... | 0.8762473 | 0 |
Sets the side slit length. | public void setSideSlitLength(String sideSlitLength) {
this.sideSlitLength = sideSlitLength;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSquareSide (int newLength){\r\n model.setSideLength(newLength);\r\n view.resetView(model);\r\n }",
"public void setSideLength(double sideLength) {\n\t\tthis.sideLength = sideLength;\n\t}",
"public String getSideSlitLength() {\r\n\t\treturn sideSlitLength;\r\n\t}",
"void setLen... | [
"0.7350068",
"0.73237324",
"0.71611077",
"0.68904215",
"0.67841786",
"0.67841786",
"0.6692474",
"0.6555115",
"0.65292025",
"0.65272766",
"0.6517221",
"0.6516721",
"0.6516721",
"0.6481679",
"0.6452471",
"0.644456",
"0.6444107",
"0.6395657",
"0.63705695",
"0.63490254",
"0.63490... | 0.8378812 | 0 |
Gets the upper chest. | public String getUpperChest() {
return upperChest;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getChest() {\n return chest;\n }",
"public double getChest() {\n return chest;\n }",
"public double getUpperValue() {\n return this.upperMeasure.getValue();\n }",
"public int getUpperValue() {\n return getValue() + getExtent();\n }",
"public Point getup... | [
"0.71634597",
"0.71634597",
"0.65223694",
"0.65107095",
"0.6488749",
"0.6411528",
"0.63918865",
"0.6366561",
"0.6350312",
"0.62817305",
"0.62667245",
"0.62421715",
"0.6220167",
"0.61237353",
"0.6114779",
"0.6056619",
"0.6047784",
"0.6041529",
"0.60303414",
"0.6014203",
"0.599... | 0.7568423 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.