summer-2024: update schedule

This commit is contained in:
Price Hiller 2024-06-12 10:55:33 -05:00
parent 33cf75a7c6
commit e3a7c86aa6
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
10 changed files with 102 additions and 64 deletions

View File

@ -8,7 +8,7 @@ public class Apatosaurus extends Sauropod {
/**
* Create a new Apatosaurus
*
* @param name the name of the Apatosaurus
* @param name the name of the Apatosaurus
* @param isVegetarian whether or not the Apatosaurus is vegetarian
*/
public Apatosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Apatosaurus extends Sauropod {
public String getType() {
return super.getType();
}
/**
* Returns the subtype: "Apatosaurus"
*
* @return the string "Apatosaurus"
*/
public String getSubType() {
return "Apatosaurus";
}
}

View File

@ -8,7 +8,7 @@ public class Brachiosaurus extends Sauropod {
/**
* Create a new Brachiosaurus
*
* @param name the name of Brachiosaurus
* @param name the name of Brachiosaurus
* @param isVegetarian whether or not the Brachiosaurus is vegetarian
*/
public Brachiosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Brachiosaurus extends Sauropod {
public String getType() {
return super.getType();
}
/**
* Returns the subtype: "Brachiosaurus"
*
* @return the string "Brachiosaurus"
*/
public String getSubType() {
return "Brachiosaurus";
}
}

View File

@ -3,7 +3,8 @@ package com.zfp106.lab1;
/**
* A "Jurassic" Park. Like a zoo, but for dinosaurs.
*
* Allows holding collections of dinosaurs up to a set capacity and can have a name for the park.
* Allows holding collections of dinosaurs up to a set capacity and can have a
* name for the park.
*
*/
public class Park {
@ -14,7 +15,7 @@ public class Park {
/**
*
*
* @param name name of the park
* @param name name of the park
* @param capacity how many dinosaurs the park can hold
*/
public Park(String name, Integer capacity) {
@ -24,7 +25,8 @@ public class Park {
}
/**
* Get the string representation of the park, showing the name of the park and all dinosaurs
* Get the string representation of the park, showing the name of the park and
* all dinosaurs
* within the park
*
* @return string representation of the park
@ -85,6 +87,15 @@ public class Park {
return capacity;
}
/**
* Set the capacity of the park
*
* @param capacity the max amount of dinosaurs the park can hold
*/
public void setCapacity(Integer capacity) {
this.capacity = capacity;
}
/**
* Get all the dinosaurs in the park
*
@ -103,4 +114,5 @@ public class Park {
this.capacity = dinosaurs.length;
this.dinosaurs = dinosaurs;
}
}

View File

@ -7,7 +7,6 @@ package com.zfp106.lab1;
public abstract class Sauropod implements Dinosaur {
private String name;
private boolean isVegetarian;
private String subType;
/**
* Construct a new Sauropod
@ -19,7 +18,6 @@ public abstract class Sauropod implements Dinosaur {
public Sauropod(String name, boolean isVegetarian, String subtype) {
this.setName(name);
this.setVegetarian(isVegetarian);
this.setSubType(subtype);
}
/**
@ -82,16 +80,5 @@ public abstract class Sauropod implements Dinosaur {
*
* @return the subtype of the Sauropod
*/
public String getSubType() {
return this.subType;
}
/**
* Set the subtype of the Sauropod
*
* @param subtype The new subtype for the Sauropod
*/
public void setSubType(String subtype) {
this.subType = subtype;
}
public abstract String getSubType();
}

View File

@ -7,19 +7,17 @@ package com.zfp106.lab1;
public abstract class Stegosaur implements Dinosaur {
private String name;
private boolean isVegetarian;
private String subType;
/**
* Construct a new Stegosaur
*
* @param name the name of the Stegosaur
* @param name the name of the Stegosaur
* @param isVegetarian whether the Stegosaur is vegetarian
* @param subtype the subType of the Stegosaur, a specific dinosaur
* @param subtype the subType of the Stegosaur, a specific dinosaur
*/
public Stegosaur(String name, boolean isVegetarian, String subtype) {
this.setName(name);
this.setVegetarian(isVegetarian);
this.setSubType(subtype);
}
/**
@ -82,16 +80,5 @@ public abstract class Stegosaur implements Dinosaur {
*
* @return the subtype of the Stegosaur
*/
public String getSubType() {
return this.subType;
}
/**
* Set the subtype of the Stegosaur
*
* @param subtype The new subtype for the Stegosaur
*/
public void setSubType(String subtype) {
this.subType = subtype;
}
public abstract String getSubType();
}

View File

@ -8,7 +8,7 @@ public class Stegosaurus extends Stegosaur {
/**
* Create a new Stegosaurus
*
* @param name the name of the Stegosaurus
* @param name the name of the Stegosaurus
* @param isVegetarian whether or not the Stegosaurus is vegetarian
*/
public Stegosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Stegosaurus extends Stegosaur {
public String getType() {
return super.getType();
}
/**
* Returns the subtype: "Stegosaurus"
*
* @return the string "Stegosaurus"
*/
public String getSubType() {
return "Stegosaurus";
}
}

View File

@ -7,19 +7,17 @@ package com.zfp106.lab1;
public abstract class Theropod implements Dinosaur {
private String name;
private boolean isVegetarian;
private String subType;
/**
* Construct a new Theropod
*
* @param name the name of the Theropod
* @param name the name of the Theropod
* @param isVegetarian whether the Theropod is vegetarian
* @param subtype the subType of the Theropod, a specific dinosaur
* @param subtype the subType of the Theropod, a specific dinosaur
*/
public Theropod(String name, boolean isVegetarian, String subtype) {
this.setName(name);
this.setVegetarian(isVegetarian);
this.setSubType(subtype);
}
/**
@ -82,16 +80,5 @@ public abstract class Theropod implements Dinosaur {
*
* @return the subtype of the Theropod
*/
public String getSubType() {
return this.subType;
}
/**
* Set the subtype of the Theropod
*
* @param subtype The new subtype for the Theropod
*/
public void setSubType(String subtype) {
this.subType = subtype;
}
public abstract String getSubType();
}

View File

@ -8,7 +8,7 @@ public class Tyrannosaurus extends Theropod {
/**
* Create a new Tyrannosaurus
*
* @param name the name of the Tyrannosaurus
* @param name the name of the Tyrannosaurus
* @param isVegetarian whether or not the Tyrannosaurus is vegetarian
*/
public Tyrannosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Tyrannosaurus extends Theropod {
public String getType() {
return super.getType();
}
/**
* Returns the subtype: "Tyrannosaurus"
*
* @return the string "Tyrannosaurus"
*/
public String getSubType() {
return "Tyrannosaurus";
}
}

View File

@ -8,7 +8,7 @@ public class Velociraptor extends Theropod {
/**
* Create a new Velociraptor
*
* @param name the name of the Velociraptor
* @param name the name of the Velociraptor
* @param isVegetarian whether or not the Velociraptor is vegetarian
*/
public Velociraptor(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Velociraptor extends Theropod {
public String getType() {
return super.getType();
}
/**
* Returns the subtype: "Velociraptor"
*
* @return the string "Velociraptor"
*/
public String getSubType() {
return "Velociraptor";
}
}

View File

@ -27,24 +27,44 @@
* Courses :college:
** Applications Programming :cs3443:
SCHEDULED: <2024-06-03 Mon 10:00-12:00 ++1w> <2024-05-29 Wed 10:00-12:00 ++1w>
** Applications Programming :cs3443:
- COURSE: =CS3443=
- LOCATION: =Online (zoom)=
*** TODO [#A] Applications Programming Mondays
SCHEDULED: <2024-06-17 Mon 10:00-12:00 ++1w>
*** TODO [#A] Applications Programming Wednesdays
SCHEDULED: <2024-06-19 Wed 10:00-12:00 ++1w>
:PROPERTIES:
:LAST_REPEAT: [2024-06-12 Wed 13:43]
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2024-06-12 Wed 13:43]
:END:
** Systems Programming :cs3424:
** Systems Programming :cs3424:
- COURSE: =CS3424=
- LOCATION: =Online (zoom)=
*** Systems Programming Lecture
SCHEDULED: <2024-06-03 Mon 16:00-18:00 ++1w> <2024-05-29 Wed 16:00-18:00 ++1w>
- LOCATION: =Online (zoom)=
**** TODO [#A] Systems Programming Lecture Mondays
SCHEDULED: <2024-06-17 Mon 16:00-18:00 ++1w>
**** TODO [#A] Systems Programming Lecture Wednesdays
SCHEDULED: <2024-06-19 Wed 16:00-18:00 ++1w>
:PROPERTIES:
:LAST_REPEAT: [2024-06-13 Thu 09:34]
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2024-06-13 Thu 09:34]
:END:
*** Systems Programming Lab
SCHEDULED: <2024-06-03 Mon 18:00-19:15 ++1w>
- LOCATION: =Online (zoom)=
*** TODO [#A] Systems Programming Recitation
SCHEDULED: <2024-06-19 Wed 18:00-19:15 ++1w>
:PROPERTIES:
:LAST_REPEAT: [2024-06-13 Thu 09:35]
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2024-06-13 Thu 09:35]
:END: