validation
NonEmptyVector
Related Docs:
object NonEmptyVector
|
package validation
final
class
NonEmptyVector
[
+A
]
extends
Serializable
A Vector that is guaranteed to be non-empty.
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
NonEmptyVector
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
++
[
AA >:
A
]
(
xs:
NonEmptyVector
[
AA
]
)
:
NonEmptyVector
[
AA
]
def
+:
[
AA >:
A
]
(
x:
AA
)
:
NonEmptyVector
[
AA
]
def
:+
[
AA >:
A
]
(
x:
AA
)
:
NonEmptyVector
[
AA
]
def
==
[
AA >:
A
]
(
other:
NonEmptyVector
[
AA
]
)
(
implicit
AA:
Equiv
[
AA
]
)
:
Boolean
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compare
[
AA >:
A
]
(
other:
NonEmptyVector
[
AA
]
)
(
implicit
AA:
Ordering
[
AA
]
)
:
Int
def
distinct
:
NonEmptyVector
[
A
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
any:
Any
)
:
Boolean
Definition Classes
NonEmptyVector
→ AnyRef → Any
def
exists
(
p: (
A
) ⇒
Boolean
)
:
Boolean
def
filter
(
f: (
A
) ⇒
Boolean
)
:
Vector
[
A
]
def
filterNot
(
f: (
A
) ⇒
Boolean
)
:
Vector
[
A
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
find
(
p: (
A
) ⇒
Boolean
)
:
Option
[
A
]
def
flatMap
[
B
]
(
f: (
A
) ⇒
NonEmptyVector
[
B
]
)
:
NonEmptyVector
[
B
]
def
foldLeft
[
B
]
(
z:
B
)
(
f: (
B
,
A
) ⇒
B
)
:
B
def
forall
(
p: (
A
) ⇒
Boolean
)
:
Boolean
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
NonEmptyVector
→ AnyRef → Any
val
head
:
A
def
init
:
Vector
[
A
]
def
isEmpty
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
last
:
A
def
map
[
B
]
(
f: (
A
) ⇒
B
)
:
NonEmptyVector
[
B
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nonEmpty
:
Boolean
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
reduce
[
B
]
(
f: (
A
) ⇒
B
)
(
g: (
B
, ⇒
B
) ⇒
B
)
:
B
def
reduceLeft
[
B >:
A
]
(
f: (
B
,
A
) ⇒
B
)
:
B
def
reverse
:
NonEmptyVector
[
A
]
def
size
:
Int
def
sortBy
[
B
]
(
f: (
A
) ⇒
B
)
(
implicit
B:
Ordering
[
B
]
)
:
NonEmptyVector
[
A
]
def
sortWith
(
lt: (
A
,
A
) ⇒
Boolean
)
:
NonEmptyVector
[
A
]
def
sorted
[
B >:
A
]
(
implicit
B:
Ordering
[
B
]
)
:
NonEmptyVector
[
A
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tail
:
Vector
[
A
]
def
tailOption
:
Option
[
NonEmptyVector
[
A
]]
def
tails
:
NonEmptyVector
[
NonEmptyVector
[
A
]]
def
tailz
:
Stream
[
NonEmptyVector
[
A
]]
def
toList
:
List
[
A
]
def
toStream
:
Stream
[
A
]
def
toString
()
:
String
Definition Classes
NonEmptyVector
→ AnyRef → Any
def
toVector
:
Vector
[
A
]
def
unzip
[
X
,
Y
]
(
implicit
ev:
<:<
[
A
, (
X
,
Y
)]
)
: (
NonEmptyVector
[
X
],
NonEmptyVector
[
Y
])
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
zip
[
B
]
(
b:
NonEmptyVector
[
B
]
)
:
NonEmptyVector
[(
A
,
B
)]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped
A Vector that is guaranteed to be non-empty.