Package org.apache.commons.lang3
Class Strings.Builder
java.lang.Object
org.apache.commons.lang3.builder.AbstractSupplier<Strings,Strings.Builder,RuntimeException>
org.apache.commons.lang3.Strings.Builder
- All Implemented Interfaces:
FailableSupplier<Strings,RuntimeException>
- Enclosing class:
Strings
public static class Strings.Builder
extends AbstractSupplier<Strings,Strings.Builder,RuntimeException>
Builds
Strings instances.-
Field Summary
Fields inherited from interface org.apache.commons.lang3.function.FailableSupplier
NUL -
Method Summary
Modifier and TypeMethodDescriptionget()Gets a newStringsinstance.setIgnoreCase(boolean ignoreCase) Sets the ignoreCase property for new Strings instances.setNullIsLess(boolean nullIsLess) Sets the nullIsLess property for new Strings instances.Methods inherited from class org.apache.commons.lang3.builder.AbstractSupplier
asThis
-
Method Details
-
get
Gets a newStringsinstance.- Returns:
- a result
-
setIgnoreCase
Sets the ignoreCase property for new Strings instances.- Parameters:
ignoreCase- the ignoreCase property for new Strings instances.- Returns:
- this instance.
-
setNullIsLess
Sets the nullIsLess property for new Strings instances.- Parameters:
nullIsLess- the nullIsLess property for new Strings instances.- Returns:
- this instance.
-