izumi.fundamentals.collections.nonempty.NonEmptyString$
See theNonEmptyString companion class Companion object for class NonEmptyString
.
Attributes
- Companion:
- class
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Value members
Constructs a new NonEmptyString
given at least one character.
Constructs a new NonEmptyString
given at least one character.
Attributes
- firstChar
the first character (with index 0) contained in this NonEmptyString
- otherChars
a varargs of zero or more other characters (with index 1, 2, 3, ...) contained in this NonEmptyString
Optionally construct a NonEmptyString
containing the characters, if any, of a given Seq
.
Optionally construct a NonEmptyString
containing the characters, if any, of a given Seq
.
Attributes
- seq
the Seq
of Char
with which to construct a NonEmptyString
- Returns:
a NonEmptyString
containing the elements of the given Seq
, if non-empty, wrapped in
a Some
; else None
if the Seq
is empty
Variable argument extractor for NonEmptyString
s.
Variable argument extractor for NonEmptyString
s.
Attributes
- nonEmptyString:
the NonEmptyString
containing the elements to extract
- Returns:
an Seq
containing this NonEmptyString
s elements, wrapped in a Some