Skip to content

Instantly share code, notes, and snippets.

@rjenkins
Created July 7, 2012 19:18
Show Gist options
  • Save rjenkins/3067731 to your computer and use it in GitHub Desktop.
Save rjenkins/3067731 to your computer and use it in GitHub Desktop.
GenericKeyValueDAO.scala
trait GenericKeyValueDAO[K, T] {
def persist(key: K, t: T): T
def deleteByKey(key: K)
def delete(t: T)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment