FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java_Programming_Coursera/src/MinMagFilter.java at master · HVoltBb/Java_Programming_Coursera · GitHub
HVoltBb
Java_Programming_Coursera
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Java_Programming_Coursera
/
src
/
MinMagFilter.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (21 loc) · 527 Bytes
Breadcrumbs
Java_Programming_Coursera
/
src
/
MinMagFilter.java
Copy path
File metadata and controls
25 lines (21 loc) · 527 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
* Write a description of class MinMaxFilter here.
*
* @author (your name)
* @version (a version number or a date)
*/
public
class
MinMagFilter
implements
Filter
{
private
double
magMin
;
private
String
name
;
public
MinMagFilter
(
double
min
) {
magMin
=
min
;
name
=
"Mininum Magnitude filter"
;
}
public
boolean
satisfies
(
QuakeEntry
qe
) {
return
qe
.
getMagnitude
() >=
magMin
;
}
public
String
getName
(){
return
name
;
}
}
Back
|
FazBrowse Home
|
New Git URL