All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.gov.lexml.renderer.docx.docxmodel.builders.common.scala Maven / Gradle / Ivy

The newest version!
package br.gov.lexml.renderer.docx.docxmodel.builders

trait Modifiable[Q,T] {
  self : Modifiable[Q,T] =>
  def value : Q
  def setValue(x : Q) : T
  final def modify(f : Q => Q) = setValue(f(value))
}

trait Mergeable2[T,Q] {
  def extract(x : T) : Q
  def merge(x : T, y : Q) : T
}



  




© 2015 - 2024 Weber Informatics LLC | Privacy Policy