bleep.model.Java.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bleep-model_2.12 Show documentation
Show all versions of bleep-model_2.12 Show documentation
A bleeping fast scala build tool!
The newest version!
package bleep.model
import io.circe.generic.semiauto.{deriveDecoder, deriveEncoder}
import io.circe.{Decoder, Encoder}
case class Java(options: Options) extends SetLike[Java] {
override def intersect(other: Java): Java =
Java(options = options.intersect(other.options))
override def removeAll(other: Java): Java =
Java(options = options.removeAll(other.options))
override def union(other: Java): Java =
Java(options = options.union(other.options))
def isEmpty: Boolean =
this match {
case Java(options) => options.isEmpty
}
}
object Java {
implicit val decodes: Decoder[Java] = deriveDecoder
implicit val encodes: Encoder[Java] = deriveEncoder
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy