nonemptystring
NonEmptyString
Related Docs:
object NonEmptyString
|
package nonemptystring
final
case class
NonEmptyString
(
head:
Char
,
tail:
String
)
extends
Product
with
Serializable
As String but guaranteed to contain at least one character.
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
NonEmptyString
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
NonEmptyString
(
head:
Char
,
tail:
String
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
charAt
(
x1:
Int
)
:
Char
def
chars
:
IntStream
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
codePointAt
(
x1:
Int
)
:
Int
def
codePointBefore
(
x1:
Int
)
:
Int
def
codePointCount
(
x1:
Int
,
x2:
Int
)
:
Int
def
codePoints
:
IntStream
def
compareTo
(
x1:
String
)
:
Int
def
compareToIgnoreCase
(
x1:
String
)
:
Int
def
concat
(
x1:
String
)
:
NonEmptyString
def
contains
(
x1:
CharSequence
)
:
Boolean
def
contentEquals
(
x1:
StringBuffer
)
:
Boolean
def
contentEquals
(
x1:
CharSequence
)
:
Boolean
def
endsWith
(
x1:
String
)
:
Boolean
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equalsIgnoreCase
(
x1:
String
)
:
Boolean
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getBytes
(
x1:
Charset
)
:
Array
[
Byte
]
def
getBytes
(
x1:
String
)
:
Array
[
Byte
]
def
getBytes
(
x1:
Int
,
x2:
Int
,
x3:
Array
[
Byte
]
,
x4:
Int
)
:
Unit
def
getBytes
:
Array
[
Byte
]
def
getChars
(
x1:
Int
,
x2:
Int
,
x3:
Array
[
Char
]
,
x4:
Int
)
:
Unit
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
head
:
Char
def
indexOf
(
x1:
String
,
x2:
Int
)
:
Int
def
indexOf
(
x1:
String
)
:
Int
def
indexOf
(
x1:
Int
,
x2:
Int
)
:
Int
def
indexOf
(
x1:
Int
)
:
Int
def
intern
:
String
def
isEmpty
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
lastIndexOf
(
x1:
String
,
x2:
Int
)
:
Int
def
lastIndexOf
(
x1:
String
)
:
Int
def
lastIndexOf
(
x1:
Int
,
x2:
Int
)
:
Int
def
lastIndexOf
(
x1:
Int
)
:
Int
def
length
:
Int
def
matches
(
x1:
String
)
:
Boolean
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
offsetByCodePoints
(
x1:
Int
,
x2:
Int
)
:
Int
def
regionMatches
(
x1:
Int
,
x2:
String
,
x3:
Int
,
x4:
Int
)
:
Boolean
def
regionMatches
(
x1:
Boolean
,
x2:
Int
,
x3:
String
,
x4:
Int
,
x5:
Int
)
:
Boolean
def
replace
(
oldChar:
Char
,
newChar:
Char
)
:
NonEmptyString
def
replace
(
x1:
CharSequence
,
x2:
CharSequence
)
:
String
def
replaceAll
(
x1:
String
,
x2:
String
)
:
String
def
replaceFirst
(
x1:
String
,
x2:
String
)
:
String
def
split
(
x1:
String
,
x2:
Int
)
:
Array
[
String
]
def
split
(
x1:
String
)
:
Array
[
String
]
def
startsWith
(
x1:
String
,
x2:
Int
)
:
Boolean
def
startsWith
(
x1:
String
)
:
Boolean
def
subSequence
(
x1:
Int
,
x2:
Int
)
:
CharSequence
def
substring
(
x1:
Int
,
x2:
Int
)
:
String
def
substring
(
x1:
Int
)
:
String
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tail
:
String
def
toCharArray
:
Array
[
Char
]
def
toLowerCase
(
x1:
Locale
)
:
NonEmptyString
def
toLowerCase
:
NonEmptyString
def
toString
()
:
String
Definition Classes
NonEmptyString
→ AnyRef → Any
def
toUpperCase
(
x1:
Locale
)
:
NonEmptyString
def
toUpperCase
:
NonEmptyString
def
trim
:
String
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped
As String but guaranteed to contain at least one character.