Interface StringExpression
-
- All Superinterfaces:
ComparableExpression<String>
,EventSource<ObservableEvent<String>,ObservableEventListener<? super String>>
,Expression<String>
,ObservableSimpleValue<String>
,ObservableStringValue
,ObservableValue<String>
,ReadableSimpleValue<String>
,ReadableStringValue
,ReadableTypedValue<String>
,ReadableValue<String>
,Supplier<String>
- All Known Subinterfaces:
ReadableStringProperty
,WritableStringProperty
- All Known Implementing Classes:
StringBinding
,StringListProperty
,StringProperty
public interface StringExpression extends ObservableStringValue, ComparableExpression<String>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringExpression
concat(Object other)
default BooleanBinding
isEmpty()
default BooleanBinding
isEqualToIgnoreCase(ObservableStringValue other)
default BooleanBinding
isEqualToIgnoreCase(String other)
default BooleanBinding
isNotEmpty()
default BooleanBinding
isNotEqualToIgnoreCase(ObservableStringValue other)
default BooleanBinding
isNotEqualToIgnoreCase(String other)
default IntegerBinding
length()
-
Methods inherited from interface io.github.mmm.value.observable.comparable.ComparableExpression
greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.value.observable.Expression
asString, dispose, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull
-
Methods inherited from interface io.github.mmm.value.observable.ObservableValue
toString
-
Methods inherited from interface io.github.mmm.value.observable.string.ReadableStringValue
getAsString, getSafe, getValue, getValueClass
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
-
-
-
Method Detail
-
length
default IntegerBinding length()
- Returns:
- a new
IntegerBinding
that holds thelength
of theString
value
.
-
concat
default StringExpression concat(Object other)
-
isEqualToIgnoreCase
default BooleanBinding isEqualToIgnoreCase(ObservableStringValue other)
- Parameters:
other
- theObservableStringValue
to check for equality.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property and thevalue
of the givenObservableStringValue
areequal ignoring the case
.
-
isEqualToIgnoreCase
default BooleanBinding isEqualToIgnoreCase(String other)
- Parameters:
other
- theString
to check for equality.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property and the givenString
areequal ignoring the case
.
-
isNotEqualToIgnoreCase
default BooleanBinding isNotEqualToIgnoreCase(ObservableStringValue other)
- Parameters:
other
- theObservableStringValue
to check for non-equality.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property and thevalue
of the givenObservableStringValue
are NOTequal ignoring the case
.
-
isNotEqualToIgnoreCase
default BooleanBinding isNotEqualToIgnoreCase(String other)
- Parameters:
other
- theString
to check for non-equality.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property and the givenString
are NOTequal ignoring the case
.
-
isEmpty
default BooleanBinding isEmpty()
- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property isempty
.
-
isNotEmpty
default BooleanBinding isNotEmpty()
- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is NOTempty
.
-
-