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 * 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 * @param isVegetarian whether or not the Apatosaurus is vegetarian
*/ */
public Apatosaurus(String name, Boolean isVegetarian) { public Apatosaurus(String name, Boolean isVegetarian) {
@ -23,4 +23,13 @@ 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
@ -85,6 +87,15 @@ public class Park {
return capacity; 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 * Get all the dinosaurs in the park
* *
@ -103,4 +114,5 @@ public class Park {
this.capacity = dinosaurs.length; this.capacity = dinosaurs.length;
this.dinosaurs = dinosaurs; this.dinosaurs = dinosaurs;
} }
} }

View File

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

View File

@ -7,19 +7,17 @@ package com.zfp106.lab1;
public abstract class Stegosaur implements Dinosaur { public abstract class Stegosaur implements Dinosaur {
private String name; private String name;
private boolean isVegetarian; private boolean isVegetarian;
private String subType;
/** /**
* 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);
this.setVegetarian(isVegetarian); this.setVegetarian(isVegetarian);
this.setSubType(subtype);
} }
/** /**
@ -82,16 +80,5 @@ 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
*
* @param subtype The new subtype for the Stegosaur
*/
public void setSubType(String subtype) {
this.subType = subtype;
}
} }

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

@ -7,19 +7,17 @@ package com.zfp106.lab1;
public abstract class Theropod implements Dinosaur { public abstract class Theropod implements Dinosaur {
private String name; private String name;
private boolean isVegetarian; private boolean isVegetarian;
private String subType;
/** /**
* 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);
this.setVegetarian(isVegetarian); this.setVegetarian(isVegetarian);
this.setSubType(subtype);
} }
/** /**
@ -82,16 +80,5 @@ 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
*
* @param subtype The new subtype for the Theropod
*/
public void setSubType(String subtype) {
this.subType = subtype;
}
} }

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,44 @@
* 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-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= - 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-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 *** TODO [#A] Systems Programming Recitation
SCHEDULED: <2024-06-03 Mon 18:00-19:15 ++1w> SCHEDULED: <2024-06-19 Wed 18:00-19:15 ++1w>
:PROPERTIES:
- LOCATION: =Online (zoom)= :LAST_REPEAT: [2024-06-13 Thu 09:35]
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2024-06-13 Thu 09:35]
:END: