Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimplePeriod tests and implementation #9

Merged
merged 2 commits into from
Feb 26, 2016

Conversation

awmarkley
Copy link
Collaborator

  • Added getValue method to IntNumber

case class IntNumber(n: Int) extends Number
case class IntNumber(n: Int) extends Number {

def getValue( ): Int = { return n }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For your current implementation, you don't need this method, so leave it out for now. We should discuss if there's a common method that all Number subclasses should support.

bethard added a commit that referenced this pull request Feb 26, 2016
SimplePeriod tests and implementation
@bethard bethard merged commit b2e4228 into clulab:master Feb 26, 2016
@awmarkley awmarkley deleted the simple-period branch February 27, 2016 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants