summer-2024: update schedule

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

View File

@ -23,4 +23,14 @@ public class Apatosaurus extends Sauropod {
public String getType() { public String getType() {
return super.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 * 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 * @param isVegetarian whether or not the Brachiosaurus is vegetarian
*/ */
public Brachiosaurus(String name, Boolean isVegetarian) { public Brachiosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ public class Brachiosaurus extends Sauropod {
public String getType() { public String getType() {
return super.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. * 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 { 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 * @param capacity how many dinosaurs the park can hold
*/ */
public Park(String name, Integer capacity) { 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 * within the park
* *
* @return string representation of the park * @return string representation of the park

View File

@ -82,9 +82,7 @@ public abstract class Sauropod implements Dinosaur {
* *
* @return the subtype of the Sauropod * @return the subtype of the Sauropod
*/ */
public String getSubType() { public abstract String getSubType();
return this.subType;
}
/** /**
* Set the subtype of the Sauropod * Set the subtype of the Sauropod

View File

@ -12,9 +12,9 @@ public abstract class Stegosaur implements Dinosaur {
/** /**
* Construct a new Stegosaur * 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 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) { public Stegosaur(String name, boolean isVegetarian, String subtype) {
this.setName(name); this.setName(name);
@ -82,9 +82,7 @@ public abstract class Stegosaur implements Dinosaur {
* *
* @return the subtype of the Stegosaur * @return the subtype of the Stegosaur
*/ */
public String getSubType() { public abstract String getSubType();
return this.subType;
}
/** /**
* Set the subtype of the Stegosaur * Set the subtype of the Stegosaur

View File

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

View File

@ -12,9 +12,9 @@ public abstract class Theropod implements Dinosaur {
/** /**
* Construct a new Theropod * 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 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) { public Theropod(String name, boolean isVegetarian, String subtype) {
this.setName(name); this.setName(name);
@ -82,9 +82,7 @@ public abstract class Theropod implements Dinosaur {
* *
* @return the subtype of the Theropod * @return the subtype of the Theropod
*/ */
public String getSubType() { public abstract String getSubType();
return this.subType;
}
/** /**
* Set the subtype of the Theropod * Set the subtype of the Theropod

View File

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

View File

@ -27,24 +27,26 @@
* Courses :college: * Courses :college:
** Applications Programming :cs3443: ** Applications Programming :cs3443:
SCHEDULED: <2024-06-03 Mon 10:00-12:00 ++1w> <2024-05-29 Wed 10:00-12:00 ++1w>
- COURSE: =CS3443= - COURSE: =CS3443=
- LOCATION: =Online (zoom)= - 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-12 Wed 10:00-12:00 ++1w>
** Systems Programming :cs3424: ** Systems Programming :cs3424:
- COURSE: =CS3424= - COURSE: =CS3424=
- LOCATION: =Online (zoom)= - LOCATION: =Online (zoom)=
*** Systems Programming Lecture *** 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-12 Wed 16:00-18:00 ++1w>
*** Systems Programming Lab *** TODO [#A] Systems Programming Lab
SCHEDULED: <2024-06-03 Mon 18:00-19:15 ++1w> SCHEDULED: <2024-06-12 Wed 18:00-19:15 ++1w>
- LOCATION: =Online (zoom)=