case class Attributes(lookup: Map[String, Value]) extends Product with Serializable
Class that holds a map of string to ml.combust.bundle.dsl.Value objects.
Can only have one attribute with a given name at a time.
- lookup
map of attribute name to ml.combust.bundle.dsl.Value object
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Attributes
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Attributes(lookup: Map[String, Value])
- lookup
map of attribute name to ml.combust.bundle.dsl.Value object
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(name: String): Value
Get an attribute.
Get an attribute.
Alias for value
- name
name of the attribute
- returns
the attribute
-
def
asBundle: bundle.Attributes
Convert to bundle attribute list.
Convert to bundle attribute list.
- returns
bundle attribute list
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
get(name: String): Option[Value]
Get an option of an Value from the list.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lookup: Map[String, Value]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
value(name: String): Value
Get a Value from the list.
Get a Value from the list.
Throws an error if the attribute doesn't exist.
- name
name of the attribute
- returns
the attribute
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withValue(name: String, value: Value): Attributes
Add an attribute to the list.
Add an attribute to the list.
- name
name of attribute
- value
value to add
- returns
copy of Attributes with attribute added
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated