![JAR search and dependency download from the Maven repository](/logo.png)
org.hyperscala.ui.widgets.vs.VisualSearchQuery.scala Maven / Gradle / Ivy
The newest version!
package org.hyperscala.ui.widgets.vs
/**
* @author Matt Hicks
*/
case class VisualSearchQuery(query: String = "", entries: List[VisualSearchEntry] = Nil) {
def values(facet: String) = entries.collect {
case vse if (vse.facet.map(f => f.name).getOrElse(null) == facet) => vse.value
}
lazy val textValue = values(null).headOption
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy