forked from sonicether/Sound-Physics
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed missing default constructor in config
- Loading branch information
Showing
5 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/com/sonicether/soundphysics/config/ReflectivityPair.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.sonicether.soundphysics.config; | ||
|
||
public class ReflectivityPair { | ||
public double reflectivity; | ||
public String example; | ||
|
||
public ReflectivityPair(double r, String s){ | ||
reflectivity = r; example = s; | ||
} | ||
|
||
public ReflectivityPair() { reflectivity = 0; example = null; } | ||
|
||
public double getLeft() {return reflectivity;} | ||
public String getRight() {return example;} | ||
public void setLeft(double r) {reflectivity = r;} | ||
public void setRight(String s) {example = s;} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters