I want to store information of an open project in a web based project that denotes CSV-like data.
I have
case class Project(user:String, sessionId : String, fileOpen : String, commands:ArrayBuffer[Command])
Question : will commands that have different elements change affect the meaning of equals?
If I do not want commands to take part in equals and hash code and don't want to over ride those methods too, can I declare commands after the class declaration :
case class Project(user:String, sessionId : String, fileOpen : String) ...{
val commands:ArrayBuffer[Command]
Any other way to tell the compiler not to use it in the equals and hascode?