com.phasmidsoftware.gryphon.core.Unordered_Bag
See theUnordered_Bag companion class
Companion object for the Unordered_Bag class providing factory methods to create instances of Unordered with unordered collections of elements.
This object includes utility methods for creating empty unordered bags, bags from sequences, and bags initialized with varargs.
Attributes
- Companion
-
class
- Graph
-
- Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
- Self type
-
Members list
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
-
Mirror
Attributes
- Inherited from:
-
Mirror
Creates an instance of Unordered containing elements from the provided sequence.
Creates an instance of Unordered containing elements from the provided sequence.
Value parameters
- xs
-
the sequence of elements to include in the Unordered collection
Attributes
- Returns
-
an Unordered collection containing the elements from the input sequence
Creates an instance of Unordered containing the provided elements.
Creates an instance of Unordered containing the provided elements.
This method accepts a variable number of arguments and constructs an unordered collection from those arguments.
Value parameters
- xs
-
the elements to include in the unordered collection
Attributes
- Returns
-
an Unordered instance containing the provided elements
Creates an empty instance of Unordered containing no elements.
Creates an empty instance of Unordered containing no elements.
Type parameters
- X
-
the type of elements that the unordered collection can hold
Attributes
- Returns
-
an empty unordered collection