final case class CourseHours(lectures: Float, exercices: Float, practice: Float, seminaire: Float = 0) extends Product with Serializable
Case class wrapping a tripple of "amount of time"
that will determine "how much" of each class a student has per week.
i.e. each student taking a course c
will have lectures
hours of theory
exercices
hours of exercices sets/correction and practice
hours per week.
they vary based what c
is.
- lectures
(corresponds to
sealedconcept.Lectures
)- exercices
(corresponds to
sealedconcept.Exercices
)- practice
(corresponds to
sealedconcept.Practice
)- seminaire
(some course, mostly in litterature, call their activity 'seminaire')
- Alphabetic
- By Inheritance
- CourseHours
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CourseHours(lectures: Float, exercices: Float, practice: Float, seminaire: Float = 0)
- lectures
(corresponds to
sealedconcept.Lectures
)- exercices
(corresponds to
sealedconcept.Exercices
)- practice
(corresponds to
sealedconcept.Practice
)- seminaire
(some course, mostly in litterature, call their activity 'seminaire')
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exercices: Float
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getFormat: String
- returns
format of course i.e. "Course/Exercices" / "Course/Exercices/TP"
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lectures: Float
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val practice: Float
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def semesterSum: Float
sum throughout the whole semester
- val seminaire: Float
- def sum: Float
sum of 3 fields.
sum of 3 fields. i.e. total nb of hours per week
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- CourseHours → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated