Skip to content

Commit f715926

Browse files
committed
+obj
1 parent a03d337 commit f715926

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ x64/
6565
x86/
6666
bld/
6767
[Bb]in/
68-
[Oo]bj/
6968
[Ll]og/
7069

7170
# Visual Studio 2015/2017 cache/options directory
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
package amatematico.calcintegral.obj;
2+
3+
public class Integral {
4+
private String parteIntegral;
5+
private double extremoDcho;
6+
private double extremoIzqdo;
7+
8+
public Integral() {
9+
}
10+
11+
public Integral(String parteIntegral, double extremoDcho, double extremoIzqdo) {
12+
this.parteIntegral = parteIntegral;
13+
this.extremoDcho = extremoDcho;
14+
this.extremoIzqdo = extremoIzqdo;
15+
}
16+
17+
18+
public String getParteIntegral() {
19+
return this.parteIntegral;
20+
}
21+
22+
public void setParteIntegral(String parteIntegral) {
23+
this.parteIntegral = parteIntegral;
24+
}
25+
26+
public double getExtremoDcho() {
27+
return this.extremoDcho;
28+
}
29+
30+
public void setExtremoDcho(double extremoDcho) {
31+
32+
this.extremoDcho = extremoDcho;
33+
}
34+
35+
public double getExtremoIzqdo() {
36+
return this.extremoIzqdo;
37+
}
38+
39+
public void setExtremoIzqdo(double extremoIzqdo) {
40+
this.extremoIzqdo = extremoIzqdo;
41+
}
42+
43+
@Override
44+
public String toString() {
45+
return "'" + getParteIntegral() + "'. Extremo derecho " + getExtremoDcho() +
46+
" y extremo izquierdo " + getExtremoIzqdo();
47+
}
48+
49+
50+
}

0 commit comments

Comments
 (0)