| Package | Description |
|---|---|
| org.osgl.util |
| Modifier and Type | Field and Description |
|---|---|
static FastStr |
FastStr.EMPTY_STR |
| Modifier and Type | Method and Description |
|---|---|
protected FastStr |
FastStr._empty() |
FastStr |
FastStr.afterFirst(char c) |
FastStr |
FastStr.afterFirst(FastStr s) |
FastStr |
FastStr.afterFirst(String s) |
FastStr |
FastStr.afterLast(char c) |
FastStr |
FastStr.afterLast(FastStr s) |
FastStr |
FastStr.afterLast(String s) |
FastStr |
FastStr.append(C.List<Character> list) |
FastStr |
FastStr.append(char... array) |
FastStr |
FastStr.append(Character character) |
FastStr |
FastStr.append(Collection<? extends Character> collection) |
FastStr |
FastStr.append(FastStr s) |
FastStr |
FastStr.append(String s) |
FastStr |
FastStr.beforeFirst(char c) |
FastStr |
FastStr.beforeFirst(FastStr s) |
FastStr |
FastStr.beforeFirst(String s) |
FastStr |
FastStr.beforeLast(char c) |
FastStr |
FastStr.beforeLast(FastStr s) |
FastStr |
FastStr.beforeLast(String s) |
FastStr |
FastStr.canonical() |
FastStr |
FastStr.capFirst() |
FastStr |
FastStr.copy() |
FastStr |
FastStr.decodeBASE64() |
FastStr |
FastStr.dropWhile(Osgl.Function<? super Character,Boolean> predicate) |
FastStr |
FastStr.encodeBASE64() |
FastStr |
FastStr.insert(int index,
char... ca) |
FastStr |
FastStr.insert(int index,
char character) |
FastStr |
FastStr.insert(int index,
Character... ca) |
FastStr |
FastStr.insert(int index,
Character character) |
FastStr |
FastStr.insert(int index,
StrBase<?> str) |
FastStr |
FastStr.insert(int index,
String s) |
FastStr |
FastStr.lpad(char c,
int times) |
FastStr |
FastStr.lpad(int times) |
static FastStr |
FastStr.of(byte[] bytes,
String encoding) |
static FastStr |
FastStr.of(char[] ca)
Construct a FastStr from a char array
|
static FastStr |
FastStr.of(CharSequence cs)
Construct a FastStr from a CharSequence
|
static FastStr |
FastStr.of(Collection<Character> col)
Construct a FastStr instance from a collection of characters
|
static FastStr |
FastStr.of(Iterable<Character> itr)
Construct a FastStr instance from an iterable of characters
|
static FastStr |
FastStr.of(Iterator<Character> itr)
Construct a FastStr instance from an iterator of characters
|
static FastStr |
FastStr.of(String s)
Construct a FastStr from a String
|
static FastStr |
FastStr.of(StringBuffer sb)
Construct a FastStr from a StringBuffer
|
static FastStr |
FastStr.of(StringBuilder sb)
Construct a FastStr from a StringBuilder
|
FastStr |
FastStr.padLeft(char c,
int times) |
FastStr |
FastStr.padLeft(int times) |
FastStr |
FastStr.padRight(char c,
int times) |
FastStr |
FastStr.padRight(int times) |
FastStr |
FastStr.parallel() |
FastStr |
FastStr.prepend(C.List<Character> list) |
FastStr |
FastStr.prepend(char... chars) |
FastStr |
FastStr.prepend(Character character) |
FastStr |
FastStr.prepend(Collection<? extends Character> collection) |
FastStr |
FastStr.prepend(FastStr s) |
FastStr |
FastStr.prepend(String s) |
FastStr |
FastStr.remove(Osgl.Function<? super Character,Boolean> predicate) |
FastStr |
FastStr.replace(char oldChar,
char newChar)
Wrapper of
String.replace(char, char) but return FastStr instance |
FastStr |
FastStr.replace(CharSequence target,
CharSequence replacement)
Wrapper of
String.replace(CharSequence, CharSequence) but return FastStr type instance |
FastStr |
FastStr.replaceAll(String regex,
String replacement)
Wrapper of
String.replaceAll(String, String) but return FastStr type instance |
FastStr |
FastStr.replaceFirst(String regex,
String replacement)
Wrapper of
String.replaceFirst(String, String) but return FastStr inance |
FastStr |
FastStr.reverse() |
FastStr |
FastStr.rpad(char c,
int times) |
FastStr |
FastStr.rpad(int times) |
FastStr |
FastStr.strip(FastStr prefix,
FastStr suffix) |
FastStr |
FastStr.strip(String prefix,
String suffix) |
FastStr |
FastStr.subList(int fromIndex,
int toIndex) |
FastStr |
FastStr.subSequence(int start,
int end) |
FastStr |
FastStr.takeWhile(Osgl.Function<? super Character,Boolean> predicate) |
FastStr |
FastStr.times(int n) |
FastStr |
FastStr.toFastStr() |
FastStr |
Str.toFastStr() |
abstract FastStr |
StrBase.toFastStr()
Return a
FastStr that contains all the char sequence
in this str instance |
FastStr |
FastStr.toLowerCase(Locale locale)
Wrapper of
String.toLowerCase(java.util.Locale) but return FastStr type instance |
FastStr |
FastStr.toUpperCase(Locale locale)
Wrapper of
String.toUpperCase(java.util.Locale) but return FastStr type instance |
FastStr |
FastStr.trim()
Wrapper of
String.trim() and return FastStr type instance |
static FastStr |
FastStr.unsafeOf(char[] buf)
Construct a FastStr instance from char array without array copying
|
static FastStr |
FastStr.unsafeOf(char[] buf,
int start,
int end)
Construct a FastStr instance from char array, from the start position, finished at end position
without copying the array.
|
static FastStr |
FastStr.unsafeOf(String s)
Construct a FastStr instance from a String instance.
|
FastStr |
FastStr.urlEncode() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<FastStr> |
FastStr._impl() |
C.List<FastStr> |
FastStr.split(String regex,
int limit)
Wrapper of
String.split(String, int) but return an immutable List of FastStr instances |
| Modifier and Type | Method and Description |
|---|---|
FastStr |
FastStr.afterFirst(FastStr s) |
FastStr |
FastStr.afterLast(FastStr s) |
FastStr |
FastStr.append(FastStr s) |
FastStr |
FastStr.beforeFirst(FastStr s) |
FastStr |
FastStr.beforeLast(FastStr s) |
static char[] |
Unsafe.bufOf(FastStr s)
Get the char array buf from a FastStr instance
|
int |
FastStr.compareTo(FastStr o) |
int |
FastStr.compareToIgnoreCase(FastStr o) |
boolean |
FastStr.contentEquals(FastStr x) |
int |
FastStr.count(FastStr search,
boolean overlap) |
boolean |
FastStr.endsWith(FastStr prefix,
int toffset) |
boolean |
FastStr.equalsIgnoreCase(FastStr x) |
int |
FastStr.indexOf(FastStr str,
int fromIndex) |
int |
FastStr.lastIndexOf(FastStr str,
int fromIndex) |
FastStr |
FastStr.prepend(FastStr s) |
protected CharSequence |
Keyword.Style.processToken(FastStr token,
int seq) |
boolean |
FastStr.regionMatches(boolean ignoreCase,
int toffset,
FastStr other,
int ooffset,
int len) |
boolean |
FastStr.startsWith(FastStr prefix,
int toffset) |
FastStr |
FastStr.strip(FastStr prefix,
FastStr suffix) |
Copyright © 2017. All Rights Reserved.