File tree Expand file tree Collapse file tree
calc/src/main/java/amatematico/calcintegral/obj Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565x86 /
6666bld /
6767[Bb ]in /
68- [Oo ]bj /
6968[Ll ]og /
7069
7170# Visual Studio 2015/2017 cache/options directory
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments