case class Result(year: Int, day: Int, part: Int, solution: String, time: Double, timestamp: LocalDateTime = LocalDateTime.now(), submitted: Boolean = false) extends Product with Serializable
A class for representing the result of solving, or an attempt at solving, a problem from Advent of Code.
- year
the year which the problem is from
- day
the day in december which the problem is from
- part
one or two
- solution
a solution to the problem
- time
the time it took to solve the problem
- timestamp
the time the problem was solved
- submitted
whether the solution was submitted to and verified on the Advent of Code website
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Result(year: Int, day: Int, part: Int, solution: String, time: Double, timestamp: LocalDateTime = LocalDateTime.now(), submitted: Boolean = false)
- year
the year which the problem is from
- day
the day in december which the problem is from
- part
one or two
- solution
a solution to the problem
- time
the time it took to solve the problem
- timestamp
the time the problem was solved
- submitted
whether the solution was submitted to and verified on the Advent of Code website
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()
- val day: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 part: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def raw: String
- val solution: String
- val submitted: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val time: Double
- val timestamp: LocalDateTime
- def toString(): String
- Definition Classes
- Result → 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])
- val year: Int
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated