mirror of
https://github.com/SoPat712/RUSwipeShare.git
synced 2025-08-21 19:08:46 -04:00
doubles are numbers
This commit is contained in:
@@ -10,8 +10,8 @@ class TimeRange {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class PriceRange {
|
class PriceRange {
|
||||||
int low = 0;
|
double low = 0;
|
||||||
int high = 0;
|
double high = 0;
|
||||||
|
|
||||||
PriceRange(this.low, this.high);
|
PriceRange(this.low, this.high);
|
||||||
}
|
}
|
||||||
@@ -32,7 +32,7 @@ class Seller implements Comparable<Seller> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
int compareTo(Seller other) {
|
int compareTo(Seller other) {
|
||||||
return this.name.compareTo(other.name);
|
return name.compareTo(other.name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user