forked from DeflatedPickle/GodDrinksJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a006363
commit f036af1
Showing
12 changed files
with
95 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
package goddrinksjava; | ||
|
||
public class Circle extends PointSet { | ||
public interface Circle extends PointSet { | ||
// Not sure what to return | ||
public Object getCircumference() { | ||
return ""; | ||
} | ||
Object getCircumference(); | ||
|
||
public void resetCircumference() { | ||
|
||
} | ||
void resetCircumference(); | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package goddrinksjava; | ||
|
||
public class Eggplant extends Fruit { | ||
public interface Eggplant extends Fruit { | ||
} |
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 |
---|---|---|
@@ -1,21 +1,13 @@ | ||
package goddrinksjava; | ||
|
||
public class Fruit extends Thing { | ||
public interface Fruit { | ||
// Not sure what to return | ||
public Object getNutrients() { | ||
return ""; | ||
} | ||
Object getNutrients(); | ||
|
||
public void resetNutrients() { | ||
|
||
} | ||
void resetNutrients(); | ||
|
||
// Not sure what to return | ||
public Object getAntioxidants() { | ||
return ""; | ||
} | ||
|
||
public void resetAntioxidants() { | ||
Object getAntioxidants(); | ||
|
||
} | ||
void resetAntioxidants(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
package goddrinksjava; | ||
|
||
public class PointSet extends Thing { | ||
public interface PointSet { | ||
// Not sure what to return | ||
public Object getDimensions() { | ||
return ""; | ||
} | ||
Object getDimensions(); | ||
|
||
public void resetDimentions() { | ||
|
||
} | ||
|
||
// Not sure what to return | ||
public Object toAttribute() { | ||
return ""; | ||
} | ||
void resetDimentions(); | ||
} |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
package goddrinksjava; | ||
|
||
public class Sequence extends Thing { | ||
public void setLimit() { | ||
|
||
} | ||
public interface Sequence { | ||
void setLimit(Integer limit); | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package goddrinksjava; | ||
|
||
public class SineWave extends Thing { | ||
public interface SineWave { | ||
} |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
package goddrinksjava; | ||
|
||
public class TabbyCat extends Thing { | ||
public void purr() { | ||
|
||
} | ||
public interface TabbyCat { | ||
void purr(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package goddrinksjava; | ||
|
||
public class Tomato extends Fruit { | ||
public interface Tomato extends Fruit { | ||
} |
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