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

com.malliina.json.JsonEnumSet.scala Maven / Gradle / Ivy

There is a newer version: 3.7.4
Show newest version
package com.malliina.json

import com.malliina.values.StringEnumCompanion

@deprecated("Use StringEnumCompanion", "1.8.0")
abstract class JsonEnumSet[T] extends StringEnumCompanion[T] {
  def withName(name: String): Option[T] =
    all.find(i => resolveName(i).toLowerCase == name.toLowerCase)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy