Skip to content

Instantly share code, notes, and snippets.

View jwachter's full-sized avatar

Johannes Wachter jwachter

View GitHub Profile
package de.johanneswachter.education.scala.listprocessing {
/**
* <p>The <code>ListProcessing</code> object contains a number of methods to demonstrate
* functional list handling with <i>Scala</i>. Each method performs operations
* on <code>List</code>s to fit a specific scenario.<p>
*
* <p>This functions have been implemented as part of the exercises during the <i>FPUS</i> course
* at the <i>University of Applied Sciences Mannheim</i> in the <i>winter semester 2009</i></p>
*/
object ListProcessing {
package de.johanneswachter.education.scala.lists
// The BaseClass for alle Operations
abstract class Expression {
def evaluate():Int
}
// Define the mathematical operations that are available