feat: move everything to single folder

This commit is contained in:
Yadunand Prem
2022-11-05 10:28:46 +08:00
parent 0eb6cd0b30
commit 44c87f3500
315 changed files with 48612 additions and 0 deletions

21
cs2030s/Lab6/Cond.java Normal file
View File

@@ -0,0 +1,21 @@
/**
* Represents a conditional type.
* CS2030S Lab 5
* AY20/21 Semester 2
*
*/
interface Cond {
/**
* Evaluates the given conditional.
*
* @return the boolean result of the evaluation
*/
boolean eval();
/**
* negates the value of the conditional, without evaluating it.
*
* @return a new conditional, with the negated value
*/
Cond neg();
}