$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _  

$

$ - Class in org.osgl
Alias of Osgl

A

a(Object) - Method in class org.osgl.util.S.Buffer
a(String) - Method in class org.osgl.util.S.Buffer
a(StringBuffer) - Method in class org.osgl.util.S.Buffer
a(StringBuilder) - Method in class org.osgl.util.S.Buffer
a(S.Buffer) - Method in class org.osgl.util.S.Buffer
Alias of #append(Buffer)
a(CharSequence) - Method in class org.osgl.util.S.Buffer
a(char[]) - Method in class org.osgl.util.S.Buffer
a(boolean) - Method in class org.osgl.util.S.Buffer
a(char) - Method in class org.osgl.util.S.Buffer
a(int) - Method in class org.osgl.util.S.Buffer
a(long) - Method in class org.osgl.util.S.Buffer
a(float) - Method in class org.osgl.util.S.Buffer
a(double) - Method in class org.osgl.util.S.Buffer
aBool - Variable in class org.osgl.Lang.IndexedVisitor
 
abs(int) - Static method in class org.osgl.util.N
 
abs(long) - Static method in class org.osgl.util.N
 
abs(float) - Static method in class org.osgl.util.N
 
abs(double) - Static method in class org.osgl.util.N
 
abstract_() - Method in class org.osgl.Lang._IsModifier
 
aByte - Variable in class org.osgl.Lang.IndexedVisitor
 
accept(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.List
 
accept(Lang.IndexedVisitor<Integer, ? super T>) - Method in interface org.osgl.util.C.List
Loop through the list and for each element, call on the indexedVisitor function specified
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ListOrSet
 
accept(Lang.IndexedVisitor<? super K, ? super V>) - Method in class org.osgl.util.C.Map
Alias of #forEach(Osgl.IndexedVisitor)
accept(Lang.Visitor<? super ELEMENT>) - Method in interface org.osgl.util.C.Range
Iterate this Traversable with a visitor function.
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ReversibleSequence
 
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Sequence
 
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Set
 
accept(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Traversable
Iterate this Traversable with a visitor function.
accept(Lang.Visitor<? super ELEMENT>) - Method in class org.osgl.util.LazyRange
 
accept(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
accept(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
accept(Lang.Visitor<? super T>) - Method in class org.osgl.util.SequenceBase
 
accept(Lang.Visitor<? super T>) - Method in class org.osgl.util.SetBase
 
accept(Lang.Visitor<? super Character>) - Method in class org.osgl.util.StrBase
 
accept(Lang.Visitor<? super T>) - Method in class org.osgl.util.TraversableBase
 
acceptLeft(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
acceptLeft(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.List
 
acceptLeft(Lang.IndexedVisitor<Integer, ? super T>) - Method in interface org.osgl.util.C.List
Loop through the list from 0 to size - 1.
acceptLeft(Lang.Visitor<? super ELEMENT>) - Method in interface org.osgl.util.C.Range
Iterate through this sequence from head to tail with the visitor function specified
acceptLeft(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ReversibleSequence
 
acceptLeft(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Sequence
Iterate through this sequence from head to tail with the visitor function specified
acceptLeft(Lang.Visitor<? super ELEMENT>) - Method in class org.osgl.util.LazyRange
 
acceptLeft(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
acceptLeft(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
acceptLeft(Lang.Visitor<? super T>) - Method in class org.osgl.util.SequenceBase
 
acceptLeft(Lang.Visitor<? super Character>) - Method in class org.osgl.util.StrBase
 
acceptRight(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
acceptRight(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.Lang.Var
 
acceptRight(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.List
 
acceptRight(Lang.IndexedVisitor<Integer, ? super T>) - Method in interface org.osgl.util.C.List
Loop through the list from size() - 1 to 0.
acceptRight(Lang.Visitor<? super ELEMENT>) - Method in interface org.osgl.util.C.Range
iterate through the range from tail to head
acceptRight(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ReversibleSequence
Iterate through this sequence from tail to head with the visitor function specified
acceptRight(Lang.Visitor<? super ELEMENT>) - Method in class org.osgl.util.LazyRange
 
acceptRight(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
acceptRight(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
acceptRight(Lang.Visitor<? super Character>) - Method in class org.osgl.util.StrBase
 
aChar - Variable in class org.osgl.Lang.IndexedVisitor
 
add(T) - Method in class org.osgl.Lang.Var
 
add(int, T) - Method in class org.osgl.Lang.Var
 
add(T) - Static method in enum org.osgl.util.C.F
Returns a function that add the specified element into the argument collection and return true if add successfully or false otherwise
add(int, T) - Static method in enum org.osgl.util.C.F
Returns a function that add specified element into the argument list at specified position.
add(T) - Method in class org.osgl.util.ListBase
 
add(int, T) - Method in class org.osgl.util.ListBase
 
add(T) - Method in class org.osgl.util.ListBuilder
 
add(int, T) - Method in class org.osgl.util.ListBuilder
 
add(Number) - Static method in class org.osgl.util.N.F
 
add(Number, Class<T>) - Static method in class org.osgl.util.N.F
 
add(Number) - Method in class org.osgl.util.N.Num
 
add(T) - Method in class org.osgl.util.SingletonListIterator
 
add(int, Character) - Method in class org.osgl.util.StrBase
 
add(Lang.Binary<A, B>) - Method in class org.osgl.util.ZippedListIterator
 
addAll(Iterable<? extends T>) - Method in class org.osgl.Lang.Var
 
addAll(int, Collection<? extends T>) - Method in class org.osgl.Lang.Var
 
addAll(Collection<? extends T>) - Method in class org.osgl.Lang.Var
 
addAll(Collection<? extends T>) - Static method in enum org.osgl.util.C.F
Returns a function that add all elements in the source collection specified into the destination collection as argument.
addAll(int, Collection<? extends T>) - Static method in enum org.osgl.util.C.F
Returns a function that add all elements from the source collection specified into the argument list at the position specified
addAll(Iterable<? extends T>) - Method in interface org.osgl.util.C.List
Add all elements from an Iterable into this list.
addAll(Iterable<? extends T>) - Method in class org.osgl.util.ListBase
 
addAll(Collection<? extends T>) - Method in class org.osgl.util.ListBuilder
 
addAll(ListBuilder<? extends T>) - Method in class org.osgl.util.ListBuilder
 
addAll(int, ListBuilder<? extends T>) - Method in class org.osgl.util.ListBuilder
 
addAll(int, Collection<? extends T>) - Method in class org.osgl.util.ListBuilder
 
addAllTo(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that takes argument of type Collection and add all elements inside into the specified collection.
addAllTo(int, C.List<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that add all elements from the argument collection into the destination list specified at the position specified
adder(Lang.Function<X, T>) - Static method in class org.osgl.util.N.F
 
adder(Lang.Function<X, T>, Class<T>) - Static method in class org.osgl.util.N.F
 
addPredefinedResolver(Class<T>, StringValueResolver<T>) - Static method in class org.osgl.util.StringValueResolver
 
addTo(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that add the argument to a collection specified and returns true if added successfully or false otherwise
addTo(int, L) - Static method in enum org.osgl.util.C.F
Returns a function that add the argument into the specified list at specified position.
addTwo() - Static method in class org.osgl.util.N.F
 
addTwo(Class<T>) - Static method in class org.osgl.util.N.F
 
aDouble - Variable in class org.osgl.Lang.IndexedVisitor
 
aFloat - Variable in class org.osgl.Lang.IndexedVisitor
 
after(String) - Method in class org.osgl.util.S._Cut
 
after(String, String) - Static method in class org.osgl.util.S
 
after(String, String, boolean) - Static method in class org.osgl.util.S
 
after(T) - Method in class org.osgl.util.StrBase
 
after(String) - Method in class org.osgl.util.StrBase
 
afterFirst(String) - Method in class org.osgl.util.FastStr
 
afterFirst(FastStr) - Method in class org.osgl.util.FastStr
 
afterFirst(char) - Method in class org.osgl.util.FastStr
 
afterFirst(String) - Method in class org.osgl.util.S._Cut
 
afterFirst(String, String) - Static method in class org.osgl.util.S
 
afterFirst(Str) - Method in class org.osgl.util.Str
 
afterFirst(String) - Method in class org.osgl.util.Str
 
afterFirst(char) - Method in class org.osgl.util.Str
 
afterFirst(String) - Method in class org.osgl.util.StrBase
 
afterFirst(T) - Method in class org.osgl.util.StrBase
 
afterFirst(char) - Method in class org.osgl.util.StrBase
 
afterLast(String) - Method in class org.osgl.util.FastStr
 
afterLast(FastStr) - Method in class org.osgl.util.FastStr
 
afterLast(char) - Method in class org.osgl.util.FastStr
 
afterLast(String) - Method in class org.osgl.util.S._Cut
 
afterLast(String, String) - Static method in class org.osgl.util.S
 
afterLast(Str) - Method in class org.osgl.util.Str
 
afterLast(String) - Method in class org.osgl.util.Str
 
afterLast(char) - Method in class org.osgl.util.Str
 
afterLast(String) - Method in class org.osgl.util.StrBase
 
afterLast(T) - Method in class org.osgl.util.StrBase
 
afterLast(char) - Method in class org.osgl.util.StrBase
 
aggregate(Class<T>) - Static method in class org.osgl.util.N.F
 
Algorithm - Interface in org.osgl.util.algo
Created with IntelliJ IDEA.
Algorithms - Enum in org.osgl.util.algo
Created with IntelliJ IDEA.
allBlank(String...) - Static method in class org.osgl.util.S
Check if all of the specified string is blank
allContainsIn(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a predicate function that check if all element in the argument (a collection) contained in the collection specified
allEmpty(String...) - Static method in class org.osgl.util.S
allMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
allMatch(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Traversable
Check if all elements match the predicate specified
allMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
allMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SetBase
 
allMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.TraversableBase
 
aLong - Variable in class org.osgl.Lang.IndexedVisitor
 
alpha(float) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
amended(AnnotationAware) - Method in class org.osgl.util.StringValueResolver
Returns an amended copy of this resolver based on the AnnotationAware provided.
and(Collection<Lang.Function<? super T, Boolean>>) - Static method in enum org.osgl.Lang.F
Returns a composed Lang.Predicate function that for any given parameter, the test result is true only when all of the specified predicates returns true when applied to the parameter
and(Lang.Function<? super T, Boolean>...) - Static method in enum org.osgl.Lang.F
Returns a composed Lang.Predicate function that for any given parameter, the test result is true only when all of the specified predicates returns true when applied to the parameter
and(Lang.Function<? super T, Boolean>...) - Method in class org.osgl.Lang.Predicate
Return an Predicate predicate from a list of Function<Boolean, T> with AND operation.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F0
Returns a composed function that applies this function to it’s input and then applies the after function to the result.
andThen(Lang.Func0<? extends R>...) - Method in class org.osgl.Lang.F0
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F1
Returns a composed function that applies this function to it’s input and then applies the after function to the result.
andThen(Lang.Function<? super P1, ? extends R>...) - Method in class org.osgl.Lang.F1
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F2
Returns a composed function from this function and the specified function that takes the result of this function.
andThen(Lang.Func2<? super P1, ? super P2, ? extends R>...) - Method in class org.osgl.Lang.F2
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F3
Returns a composed function from this function and the specified function that takes the result of this function.
andThen(Lang.Func3<? super P1, ? super P2, ? super P3, ? extends R>...) - Method in class org.osgl.Lang.F3
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F4
Returns a composed function from this function and the specified function that takes the result of this function.
andThen(Lang.Func4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R>...) - Method in class org.osgl.Lang.F4
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
andThen(Lang.Function<? super R, ? extends T>) - Method in class org.osgl.Lang.F5
Returns a composed function from this function and the specified function that takes the result of this function.
andThen(Lang.Func5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R>...) - Method in class org.osgl.Lang.F5
Returns a composed function that applied, in sequence, this function and all functions specified one by one.
ANGLE_BRACKETS - Static variable in class org.osgl.util.S
Alias of S.DIAMOND
anInt - Variable in class org.osgl.Lang.IndexedVisitor
 
AnnotationAware - Interface in org.osgl.util
 
any(Collection<Lang.Function<? super T, Boolean>>) - Static method in enum org.osgl.Lang.F
any(Lang.Function<? super T, Boolean>...) - Static method in enum org.osgl.Lang.F
Alias of #or(Function[])
any - Variable in class org.osgl.Lang.IndexedVisitor
 
ANY_TO_BOOLEAN - Static variable in class org.osgl.Lang.TypeConverter
 
ANY_TO_STRING - Static variable in class org.osgl.Lang.TypeConverter
 
anyBlank(String...) - Static method in class org.osgl.util.S
Check if anyone of the specified string is blank
anyEmpty(String...) - Static method in class org.osgl.util.S
anyMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
anyMatch(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Traversable
Check if any elements matches the predicate specified
anyMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
anyMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SetBase
 
anyMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.TraversableBase
 
anyNull(Object, Object...) - Static method in class org.osgl.Lang
Check if any objects in the parameter list is null
append(CharSequence) - Method in class org.osgl.util.BufferedOutput
 
append(CharSequence, int, int) - Method in class org.osgl.util.BufferedOutput
 
append(char[], int, int) - Method in class org.osgl.util.BufferedOutput
 
append(char) - Method in class org.osgl.util.BufferedOutput
 
append(byte[]) - Method in class org.osgl.util.BufferedOutput
 
append(byte[], int, int) - Method in class org.osgl.util.BufferedOutput
 
append(byte) - Method in class org.osgl.util.BufferedOutput
 
append(ByteBuffer) - Method in class org.osgl.util.BufferedOutput
 
append(T) - Method in interface org.osgl.util.C.List
Returns a sequence consists of all elements of this sequence followed by the element specified.
append(Collection<? extends T>) - Method in interface org.osgl.util.C.List
append(C.List<T>) - Method in interface org.osgl.util.C.List
Returns a List contains all elements in this List followed by all elements in the specified List.
append(T) - Method in interface org.osgl.util.C.List.Cursor
Add an element after the element this cursor points to.
append(T) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a sequence consists of all elements of this sequence followed by the element specified.
append(C.ReversibleSequence<T>) - Method in interface org.osgl.util.C.ReversibleSequence
Returns an new reversible sequence contains all elements in this sequence followed by all elements in the specified reverse sequence
append(Iterable<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of this sequence followed by all elements of the specified iterable.
append(C.Sequence<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of this sequence followed by all elements of the specified sequence.
append(Iterator<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of this sequence followed by all elements of the specified iterator.
append(Enumeration<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of this sequence followed by all elements of the specified enumeration.
append(T) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of this sequence followed by the element specified.
append(Collection<? extends Character>) - Method in class org.osgl.util.FastStr
 
append(C.List<Character>) - Method in class org.osgl.util.FastStr
 
append(char...) - Method in class org.osgl.util.FastStr
 
append(Character) - Method in class org.osgl.util.FastStr
 
append(FastStr) - Method in class org.osgl.util.FastStr
 
append(String) - Method in class org.osgl.util.FastStr
 
append(CharSequence, Writer) - Static method in class org.osgl.util.IO
write content into a writer without closing the writer when finished.
append(InputStream, OutputStream) - Static method in class org.osgl.util.IO
Copy content from input stream to output stream without closing the output stream
append(Iterable<? extends T>) - Method in class org.osgl.util.ListBase
 
append(Collection<? extends T>) - Method in class org.osgl.util.ListBase
 
append(C.Sequence<? extends T>) - Method in class org.osgl.util.ListBase
 
append(Iterator<? extends T>) - Method in class org.osgl.util.ListBase
 
append(Enumeration<? extends T>) - Method in class org.osgl.util.ListBase
 
append(C.ReversibleSequence<T>) - Method in class org.osgl.util.ListBase
 
append(C.List<T>) - Method in class org.osgl.util.ListBase
 
append(T) - Method in class org.osgl.util.ListBase
 
append(T) - Method in class org.osgl.util.ListBuilder
 
append(Object[]) - Method in class org.osgl.util.ListBuilder
 
append(Object[], Object[]) - Method in class org.osgl.util.ListBuilder
 
append(Object[], Object[], Object[]...) - Method in class org.osgl.util.ListBuilder
 
append(T, T) - Method in class org.osgl.util.ListBuilder
 
append(T, T, T) - Method in class org.osgl.util.ListBuilder
 
append(T, T, T, T) - Method in class org.osgl.util.ListBuilder
 
append(T, T, T, T, T) - Method in class org.osgl.util.ListBuilder
 
append(T, T, T, T, T, T...) - Method in class org.osgl.util.ListBuilder
 
append(Collection<? extends T>) - Method in class org.osgl.util.ListBuilder
 
append(Collection<? extends T>, Collection<? extends T>) - Method in class org.osgl.util.ListBuilder
 
append(Collection<? extends T>, Collection<? extends T>, Collection<? extends T>...) - Method in class org.osgl.util.ListBuilder
 
append(Iterable<? extends T>) - Method in class org.osgl.util.ListBuilder
 
append(Iterator<? extends T>) - Method in class org.osgl.util.ListBuilder
 
append(Enumeration<? extends T>) - Method in class org.osgl.util.ListBuilder
 
append(CharSequence) - Method in interface org.osgl.util.Output
Appends the specified character sequence to this Output.
append(CharSequence, int, int) - Method in interface org.osgl.util.Output
Appends a subsequence of the specified character sequence to this Output.
append(char) - Method in interface org.osgl.util.Output
Appends the specified character to this Output.
append(byte[]) - Method in interface org.osgl.util.Output
Appends a byte array to this Output.
append(byte[], int, int) - Method in interface org.osgl.util.Output
Appends a subsequence of the specified byte array to this Output.
append(byte) - Method in interface org.osgl.util.Output
Appends a byte to this Output.
append(ByteBuffer) - Method in interface org.osgl.util.Output
Appends the specified buffer into this Appendable.
append(CharSequence) - Method in class org.osgl.util.OutputStreamOutput
 
append(CharSequence, int, int) - Method in class org.osgl.util.OutputStreamOutput
 
append(char) - Method in class org.osgl.util.OutputStreamOutput
 
append(byte[]) - Method in class org.osgl.util.OutputStreamOutput
 
append(byte[], int, int) - Method in class org.osgl.util.OutputStreamOutput
 
append(byte) - Method in class org.osgl.util.OutputStreamOutput
 
append(ByteBuffer) - Method in class org.osgl.util.OutputStreamOutput
 
append(Object) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the Object argument.
append(String) - Method in class org.osgl.util.S.Buffer
Appends the specified string to this character sequence.
append(StringBuffer) - Method in class org.osgl.util.S.Buffer
 
append(StringBuilder) - Method in class org.osgl.util.S.Buffer
 
append(S.Buffer) - Method in class org.osgl.util.S.Buffer
 
append(CharSequence) - Method in class org.osgl.util.S.Buffer
 
append(CharSequence, int, int) - Method in class org.osgl.util.S.Buffer
Appends a subsequence of the specified CharSequence to this sequence.
append(char[]) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the char array argument to this sequence.
append(char[], int, int) - Method in class org.osgl.util.S.Buffer
Appends the string representation of a subarray of the char array argument to this sequence.
append(byte[]) - Method in class org.osgl.util.S.Buffer
 
append(byte[], int, int) - Method in class org.osgl.util.S.Buffer
 
append(byte) - Method in class org.osgl.util.S.Buffer
 
append(ByteBuffer) - Method in class org.osgl.util.S.Buffer
 
append(boolean) - Method in class org.osgl.util.S.Buffer
 
append(char) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the char argument to this sequence.
append(int) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the int argument to this sequence.
append(long) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the long argument to this sequence.
append(float) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the float argument to this sequence.
append(double) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the double argument to this sequence.
append(String) - Static method in enum org.osgl.util.S.F
 
append(Iterable<? extends T>) - Method in class org.osgl.util.SequenceBase
 
append(C.Sequence<? extends T>) - Method in class org.osgl.util.SequenceBase
 
append(Iterator<? extends T>) - Method in class org.osgl.util.SequenceBase
 
append(Enumeration<? extends T>) - Method in class org.osgl.util.SequenceBase
 
append(T) - Method in class org.osgl.util.SequenceBase
 
append(Collection<? extends Character>) - Method in class org.osgl.util.Str
 
append(C.List<Character>) - Method in class org.osgl.util.Str
 
append(char...) - Method in class org.osgl.util.Str
 
append(Character) - Method in class org.osgl.util.Str
 
append(Str) - Method in class org.osgl.util.Str
 
append(String) - Method in class org.osgl.util.Str
 
append(Collection<? extends Character>) - Method in class org.osgl.util.StrBase
Return a str instance contains all characters of this str append with all characters in the collection specified
append(C.List<Character>) - Method in class org.osgl.util.StrBase
Return a str instance contains all characters of this str instance append with all characters in the list specified
append(char...) - Method in class org.osgl.util.StrBase
Return a str instance contains all characters of this str instance append with all characters in the array specified
append(Character) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance appended with the character specified
append(T) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance appended with all characters in teh str specified
append(String) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance appended with all characters in the String specified
append(CharSequence) - Method in class org.osgl.util.WriterOutput
 
append(CharSequence, int, int) - Method in class org.osgl.util.WriterOutput
 
append(char) - Method in class org.osgl.util.WriterOutput
 
append(byte[]) - Method in class org.osgl.util.WriterOutput
 
append(byte[], int, int) - Method in class org.osgl.util.WriterOutput
 
append(byte) - Method in class org.osgl.util.WriterOutput
 
append(ByteBuffer) - Method in class org.osgl.util.WriterOutput
 
appendCodePoint(int) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the codePoint argument to this sequence.
appendList(C.List<T>) - Method in class org.osgl.util.ListBase
 
appendReversibleSeq(C.ReversibleSequence<T>) - Method in class org.osgl.util.ListBase
 
appendTo(Deque<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that append the argument to a Deque specified
appendTo(C.Sequence<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that append the argument to a C.Sequence specified
appendTo(Lang.Func0<BufferedImage>) - Method in class org.osgl.util.Img._Load
 
appendTo(BufferedImage) - Method in class org.osgl.util.Img._Load
 
appendTo(Lang.Func0<BufferedImage>) - Method in class org.osgl.util.Img.Concatenater.Stage
 
appendWith(Lang.Func0<BufferedImage>) - Method in class org.osgl.util.Img._Load
 
appendWith(BufferedImage) - Method in class org.osgl.util.Img._Load
 
appendWith(Lang.Func0<BufferedImage>) - Method in class org.osgl.util.Img.Concatenater.Stage
 
apply() - Method in class org.osgl.concurrent.ContextLocal.InitialValueProvider
 
apply(T, T) - Method in class org.osgl.Lang.Comparator
 
apply() - Method in class org.osgl.Lang.Factory
 
apply() - Method in interface org.osgl.Lang.Func0
user application to implement main logic of applying the function
apply(P1, P2) - Method in interface org.osgl.Lang.Func2
Apply the two params to the function
apply(P1, P2, P3) - Method in interface org.osgl.Lang.Func3
Run the function with parameters specified.
apply(P1, P2, P3, P4) - Method in interface org.osgl.Lang.Func4
Run the function with parameters specified.
apply(P1, P2, P3, P4, P5) - Method in interface org.osgl.Lang.Func5
Run the function with parameters specified.
apply(T) - Method in interface org.osgl.Lang.Function
Apply this function to <T> type parameter.
apply(K, T) - Method in class org.osgl.Lang.IndexedVisitor
 
apply(T) - Method in class org.osgl.Lang.Predicate
 
apply(T) - Method in class org.osgl.Lang.Processor
 
apply() - Method in class org.osgl.Lang.Provider
 
apply(FROM) - Method in class org.osgl.Lang.Transformer
 
apply(P1, P2) - Method in class org.osgl.Lang.V2
 
apply(P1, P2, P3) - Method in class org.osgl.Lang.V3
 
apply(P1, P2, P3, P4) - Method in class org.osgl.Lang.V4
 
apply(P1, P2, P3, P4, P5) - Method in class org.osgl.Lang.V5
 
apply() - Method in class org.osgl.Lang.Var
 
apply(T) - Method in class org.osgl.Lang.Visitor
 
apply(T[], Integer, Integer, T, Comparator<T>) - Method in class org.osgl.util.algo.ArrayBinarySearch
 
apply(T[], Integer, Integer) - Method in class org.osgl.util.algo.ArrayReverse
 
apply(T[], Integer, Integer) - Method in class org.osgl.util.algo.ArrayReverseInplace
 
apply(T[], Integer, Integer, T, Comparator<T>) - Method in interface org.osgl.util.algo.ArraySearch
Search array region specified by from and to using the predicate specified
apply(T[], Integer, Integer, Comparator<T>) - Method in class org.osgl.util.algo.ArraySortBase
 
apply(T[], Integer, Integer, Comparator<T>) - Method in class org.osgl.util.algo.ArraySortInplaceBase
 
apply(char[], char[], char[], Integer) - Method in class org.osgl.util.algo.StringReplace
Apply the function to replace all target in text with replacement and return a char[] contains the result with all target replaced with replacement
apply(char[], char[], Integer) - Method in class org.osgl.util.algo.StringSearch
 
apply(Byte, Integer) - Method in class org.osgl.util.N.ByteRangeStep
 
apply(Integer, Integer) - Method in class org.osgl.util.N.IntRangeStep
 
apply(Long, Integer) - Method in class org.osgl.util.N.LongRangeStep
 
apply(Number, Number) - Method in enum org.osgl.util.N.Op
 
apply(T, Integer) - Method in class org.osgl.util.N.RangeStep
 
apply(Short, Integer) - Method in class org.osgl.util.N.ShortRangeStep
 
apply(Class<?>) - Method in class org.osgl.util.SimpleObjectFactory
 
apply(String, Class<?>) - Method in class org.osgl.util.SimpleStringValueResolver
 
apply(String) - Method in class org.osgl.util.StringValueResolver
 
applyOrElse(Lang.F0<? extends R>) - Method in class org.osgl.Lang.F0
Applies this partial function to the given argument when it is contained in the function domain.
applyOrElse(P1, Lang.F1<? super P1, ? extends R>) - Method in class org.osgl.Lang.F1
Applies this partial function to the given argument when it is contained in the function domain.
applyOrElse(P1, P2, Lang.F2<? super P1, ? super P2, ? extends R>) - Method in class org.osgl.Lang.F2
Applies this partial function to the given argument when it is contained in the function domain.
applyOrElse(P1, P2, P3, Lang.F3<? super P1, ? super P2, ? super P3, ? extends R>) - Method in class org.osgl.Lang.F3
Applies this partial function to the given argument when it is contained in the function domain.
applyOrElse(P1, P2, P3, P4, Lang.F4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R>) - Method in class org.osgl.Lang.F4
Applies this partial function to the given argument when it is contained in the function domain.
applyOrElse(P1, P2, P3, P4, P5, Lang.F5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R>) - Method in class org.osgl.Lang.F5
Applies this partial function to the given argument when it is contained in the function domain.
array() - Method in class org.osgl.Lang._IsClass
 
ARRAY_INSERTION_SORT - Static variable in enum org.osgl.util.algo.Algorithms
 
ARRAY_INSERTION_SORT_INPLACE - Static variable in enum org.osgl.util.algo.Algorithms
 
ARRAY_REVERSE - Static variable in enum org.osgl.util.algo.Algorithms
 
ARRAY_REVERSE_INPLACE - Static variable in enum org.osgl.util.algo.Algorithms
 
ArrayAlgorithm - Interface in org.osgl.util.algo
Created with IntelliJ IDEA.
ArrayAlgorithm.Util - Enum in org.osgl.util.algo
 
ArrayBinarySearch<T> - Class in org.osgl.util.algo
Implement the binary search on array which is assumed to be sorted already
ArrayBinarySearch() - Constructor for class org.osgl.util.algo.ArrayBinarySearch
 
arrayInsertionSort() - Static method in enum org.osgl.util.algo.Algorithms
 
ArrayInsertionSort<T> - Class in org.osgl.util.algo
Array insertion sort algorithm.
ArrayInsertionSort() - Constructor for class org.osgl.util.algo.ArrayInsertionSort
 
arrayInsertionSortInplace() - Static method in enum org.osgl.util.algo.Algorithms
 
ArrayInsertionSortInplace<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArrayInsertionSortInplace() - Constructor for class org.osgl.util.algo.ArrayInsertionSortInplace
 
ArrayMergeSort<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArrayMergeSort() - Constructor for class org.osgl.util.algo.ArrayMergeSort
 
ArrayMergeSortInplace<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArrayMergeSortInplace() - Constructor for class org.osgl.util.algo.ArrayMergeSortInplace
 
arrayReverse() - Static method in enum org.osgl.util.algo.Algorithms
 
ArrayReverse<T> - Class in org.osgl.util.algo
Return an new array contains elements specified by from and to in an array in reverse order
ArrayReverse() - Constructor for class org.osgl.util.algo.ArrayReverse
 
arrayReverseInplace() - Static method in enum org.osgl.util.algo.Algorithms
 
ArrayReverseInplace<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArrayReverseInplace() - Constructor for class org.osgl.util.algo.ArrayReverseInplace
 
ArraySearch<T> - Interface in org.osgl.util.algo
Created with IntelliJ IDEA.
ArraySimpleInsertionSort<T> - Class in org.osgl.util.algo
Array insertion sort algorithm.
ArraySimpleInsertionSort() - Constructor for class org.osgl.util.algo.ArraySimpleInsertionSort
 
ArraySimpleInsertionSortInplace<T> - Class in org.osgl.util.algo
Array insertion sort algorithm.
ArraySimpleInsertionSortInplace() - Constructor for class org.osgl.util.algo.ArraySimpleInsertionSortInplace
 
ArraySort<T> - Interface in org.osgl.util.algo
Created with IntelliJ IDEA.
ArraySortBase<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArraySortBase() - Constructor for class org.osgl.util.algo.ArraySortBase
 
ArraySortInplaceBase<T> - Class in org.osgl.util.algo
Created with IntelliJ IDEA.
ArraySortInplaceBase() - Constructor for class org.osgl.util.algo.ArraySortInplaceBase
 
as(Class<T>) - Method in class org.osgl.util.N.Num
 
AS_STRING - Static variable in enum org.osgl.Lang.F
A predefined function that when applied to an object instance, returns String representation of the instance
asCollection(Iterable<T>) - Static method in class org.osgl.util.C
 
asCollection() - Static method in enum org.osgl.util.C.F
 
asEnum(Class<T>, String) - Static method in class org.osgl.Lang
Return an enum value from code
asEnum(Class<T>, String, boolean) - Static method in class org.osgl.Lang
Return an enum value from code
asJDKException() - Method in exception org.osgl.exception.InvalidArgException
Convert to corresponding JDK exception.
asJDKException() - Method in exception org.osgl.exception.InvalidRangeException
Convert to corresponding JDK exception.
asJDKException() - Method in exception org.osgl.exception.InvalidStateException
Convert to corresponding JDK exception.
asJDKException() - Method in exception org.osgl.exception.UnsupportedException
Convert to corresponding JDK exception.
asList() - Method in class org.osgl.util.C.Array
 
asNewList() - Method in class org.osgl.util.C.Array
 
asObject(boolean[]) - Static method in class org.osgl.Lang
 
asObject(byte[]) - Static method in class org.osgl.Lang
 
asObject(char[]) - Static method in class org.osgl.Lang
 
asObject(short[]) - Static method in class org.osgl.Lang
 
asObject(int[]) - Static method in class org.osgl.Lang
 
asObject(long[]) - Static method in class org.osgl.Lang
 
asObject(float[]) - Static method in class org.osgl.Lang
 
asObject(double[]) - Static method in class org.osgl.Lang
 
asOutputStream() - Method in class org.osgl.util.BufferedOutput
 
asOutputStream(Output) - Static method in class org.osgl.util.Output.Adaptors
 
asOutputStream() - Method in interface org.osgl.util.Output
Create an OutputStream based on this Output instance.
asOutputStream() - Method in class org.osgl.util.OutputStreamOutput
 
asOutputStream() - Method in class org.osgl.util.S.Buffer
 
asOutputStream() - Method in class org.osgl.util.WriterOutput
 
asPrimitive(Boolean[]) - Static method in class org.osgl.Lang
 
asPrimitive(Byte[]) - Static method in class org.osgl.Lang
 
asPrimitive(Character[]) - Static method in class org.osgl.Lang
 
asPrimitive(Short[]) - Static method in class org.osgl.Lang
 
asPrimitive(Integer[]) - Static method in class org.osgl.Lang
 
asPrimitive(Long[]) - Static method in class org.osgl.Lang
 
asPrimitive(Float[]) - Static method in class org.osgl.Lang
 
asPrimitive(Double[]) - Static method in class org.osgl.Lang
 
asString() - Static method in enum org.osgl.Lang.F
A type-safe version of Lang.F.AS_STRING.
asString(Class<T>) - Static method in enum org.osgl.Lang.F
Type safe version of Lang.F.AS_STRING.
aStr - Variable in class org.osgl.Lang.IndexedVisitor
 
asWriter() - Method in class org.osgl.util.BufferedOutput
 
asWriter(Output) - Static method in class org.osgl.util.Output.Adaptors
 
asWriter() - Method in interface org.osgl.util.Output
Create an Writer based on this Output instance.
asWriter() - Method in class org.osgl.util.OutputStreamOutput
 
asWriter() - Method in class org.osgl.util.S.Buffer
 
asWriter() - Method in class org.osgl.util.WriterOutput
 
async(Lang.F0<T>, int) - Static method in class org.osgl.Lang
Execute callback asynchronously after delay specified
attr - Variable in class org.osgl.Lang.IndexedVisitor
 
attribute(String, Object) - Method in class org.osgl.util.StringValueResolver
Set attribute of this resolver.
attribute(String) - Method in class org.osgl.util.StringValueResolver
Get attribute of this resolver by key specified
attributes - Variable in class org.osgl.util.StringValueResolver
 
attributes(Map<String, Object>) - Method in class org.osgl.util.StringValueResolver
Set attributes to this resolver

B

background(Color) - Method in class org.osgl.util.Img.Concatenater.Stage
 
background(int, int) - Static method in enum org.osgl.util.Img.F
A function that generates a transparent background in rectangular area
background(int, int, Lang.Func0<Integer>) - Static method in enum org.osgl.util.Img.F
A function that generates a background in rectangular area with color specified
backward() - Method in interface org.osgl.util.C.List.Cursor
Move the cursor backward to make it point to the previous element to the current element
baos() - Static method in class org.osgl.util.IO
Returns a byte array output stream
before(String) - Method in class org.osgl.util.S._Cut
 
before(String, String) - Static method in class org.osgl.util.S
 
before(String, String, boolean) - Static method in class org.osgl.util.S
 
before(String) - Method in class org.osgl.util.StrBase
 
before(T) - Method in class org.osgl.util.StrBase
 
beforeFirst(String) - Method in class org.osgl.util.FastStr
 
beforeFirst(FastStr) - Method in class org.osgl.util.FastStr
 
beforeFirst(char) - Method in class org.osgl.util.FastStr
 
beforeFirst(String) - Method in class org.osgl.util.S._Cut
 
beforeFirst(String, String) - Static method in class org.osgl.util.S
 
beforeFirst(Str) - Method in class org.osgl.util.Str
 
beforeFirst(String) - Method in class org.osgl.util.Str
 
beforeFirst(char) - Method in class org.osgl.util.Str
 
beforeFirst(String) - Method in class org.osgl.util.StrBase
 
beforeFirst(char) - Method in class org.osgl.util.StrBase
 
beforeFirst(T) - Method in class org.osgl.util.StrBase
 
beforeLast(String) - Method in class org.osgl.util.FastStr
 
beforeLast(FastStr) - Method in class org.osgl.util.FastStr
 
beforeLast(char) - Method in class org.osgl.util.FastStr
 
beforeLast(String) - Method in class org.osgl.util.S._Cut
 
beforeLast(String, String) - Static method in class org.osgl.util.S
 
beforeLast(Str) - Method in class org.osgl.util.Str
 
beforeLast(String) - Method in class org.osgl.util.Str
 
beforeLast(char) - Method in class org.osgl.util.Str
 
beforeLast(String) - Method in class org.osgl.util.StrBase
 
beforeLast(T) - Method in class org.osgl.util.StrBase
 
beforeLast(char) - Method in class org.osgl.util.StrBase
 
benchmark() - Static method in class org.osgl.util.algo.ArrayInsertionSortInplace
 
BigDecimalValueObjectCodec - Class in org.osgl.util
 
BigDecimalValueObjectCodec() - Constructor for class org.osgl.util.BigDecimalValueObjectCodec
 
BigIntegerValueObjectCodec - Class in org.osgl.util
 
BigIntegerValueObjectCodec() - Constructor for class org.osgl.util.BigIntegerValueObjectCodec
 
Binary(A, B) - Static method in class org.osgl.Lang
 
binary(Lang.T2<String, String>) - Static method in class org.osgl.util.S
 
binary(String, String) - Static method in class org.osgl.util.S
 
binarySplit(String, char) - Static method in class org.osgl.util.S
Split string by separator into two parts and return in a S.T2 object
blank() - Method in class org.osgl.util.S._Is
 
blank(String) - Static method in class org.osgl.util.S
Determine if a string is all blank or empty or null
blur() - Method in class org.osgl.util.Img._Load
 
blur(int) - Method in class org.osgl.util.Img._Load
 
blur(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
bool(Object) - Static method in class org.osgl.Lang
Evaluate an object’s bool value.
bool(boolean) - Static method in class org.osgl.Lang
 
bool(String) - Static method in class org.osgl.Lang
Do bool evaluation on a String.
bool(Collection<?>) - Static method in class org.osgl.Lang
Do bool evaluation on a collection.
bool(byte) - Static method in class org.osgl.Lang
Do bool evaluation on a byte value
bool(char) - Static method in class org.osgl.Lang
Do bool evaluation on a char value
bool(int) - Static method in class org.osgl.Lang
Do bool evaluation on a int value
bool(long) - Static method in class org.osgl.Lang
Do bool evaluation on a long value
bool(float) - Static method in class org.osgl.Lang
Do bool evaluation on a float value
bool(double) - Static method in class org.osgl.Lang
Do bool evaluation on a double value
bool(BigDecimal) - Static method in class org.osgl.Lang
Do bool evaluation on a BigDecimal value
bool(BigInteger) - Static method in class org.osgl.Lang
Do bool evaluation on a BigInteger value
bool(File) - Static method in class org.osgl.Lang
Do bool evaluation on a File instance.
bool(Lang.Func0<?>) - Static method in class org.osgl.Lang
Do bool evaluation on an Lang.Func0 instance.
booleanValue() - Method in class org.osgl.util.ValueObject
 
BRACES - Static variable in class org.osgl.util.S
A pair of braces: { and }
BRACKETS - Static variable in class org.osgl.util.S
A pair of brackets: [ and ]
BREAK - Static variable in class org.osgl.Lang
A predefined Break instance without payload
breakIf(Lang.Function<? super T, Boolean>, P) - Static method in enum org.osgl.Lang.F
Return a one variable function that throw out a Lang.Break with payload specified when a predicate return true on an element been tested
breakIf(Lang.Function<? super T, Boolean>) - Static method in enum org.osgl.Lang.F
Return a one variable function that throw out a Lang.Break when a predicate return true on an element been tested.
breakIf(Lang.Func2<? super T1, ? super T2, Boolean>, P) - Static method in enum org.osgl.Lang.F
Return a two variables function that throw out a Lang.Break with payload specified when a two variables predicate return true on an element been tested
breakIf(Lang.Func2<? super T1, ? super T2, Boolean>) - Static method in enum org.osgl.Lang.F
Return a two variables function that throw out a Lang.Break when a two variables predicate return true on an element been tested.
breakIf(Lang.Func3<? super T1, ? super T2, ? super T3, Boolean>, P) - Static method in enum org.osgl.Lang.F
Return a three variables function that throw out a Lang.Break with payload specified when a three variables predicate return true on an element been tested
breakIf(Lang.Func3<? super T1, ? super T2, ? super T3, Boolean>) - Static method in enum org.osgl.Lang.F
Return a three variables function that throw out a Lang.Break when a three variables predicate return true on an element been tested.
breakIf(Lang.Func4<? super T1, ? super T2, ? super T3, ? super T4, Boolean>, P) - Static method in enum org.osgl.Lang.F
Return a four variables function that throw out a Lang.Break with payload specified when a four variables predicate return true on an element been tested
breakIf(Lang.Func4<? super T1, ? super T2, ? super T3, ? super T4, Boolean>) - Static method in enum org.osgl.Lang.F
Return a four variables function that throw out a Lang.Break when the predicate returns true on an element been tested.
breakIf(Lang.Func5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, Boolean>, P) - Static method in enum org.osgl.Lang.F
Return a five variables function that throw out a Lang.Break with payload specified when a five variables predicate return true on an element been tested
breakIf(Lang.Func5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, Boolean>) - Static method in enum org.osgl.Lang.F
Return a five variables function that throw out a Lang.Break when the predicate returns true on an element been tested.
breakOut(T) - Static method in class org.osgl.Lang
A utility method to throw out a Break with payload
breakOut(Object) - Method in class org.osgl.Lang.FuncBase
Return a Lang.Break with payload.
buffer() - Static method in class org.osgl.util.S
Returns a S.Buffer instance.
buffer(boolean) - Static method in class org.osgl.util.S
 
buffer(byte) - Static method in class org.osgl.util.S
 
buffer(short) - Static method in class org.osgl.util.S
 
buffer(char) - Static method in class org.osgl.util.S
 
buffer(int) - Static method in class org.osgl.util.S
 
buffer(float) - Static method in class org.osgl.util.S
 
buffer(long) - Static method in class org.osgl.util.S
 
buffer(double) - Static method in class org.osgl.util.S
 
buffer(Object) - Static method in class org.osgl.util.S
 
buffer(String) - Static method in class org.osgl.util.S
 
buffered(OutputStream) - Static method in class org.osgl.util.IO
 
buffered(InputStream) - Static method in class org.osgl.util.IO
 
buffered(Writer) - Static method in class org.osgl.util.IO
 
buffered(Reader) - Static method in class org.osgl.util.IO
 
BufferedOutput - Class in org.osgl.util
 
bufOf(CharSequence) - Static method in class org.osgl.util.FastStr
Return the char array that backed the char sequence specified
bufOf(String) - Static method in enum org.osgl.util.Unsafe
Get the char array buf out of a string directly
bufOf(CharSequence) - Static method in enum org.osgl.util.Unsafe
Returns char array that backed the char sequence specified
bufOf(FastStr) - Static method in enum org.osgl.util.Unsafe
Get the char array buf from a FastStr instance
builder() - Static method in class org.osgl.util.S
Returns the ThreadLocal StringBuilder instance with length set to 0
builder(boolean) - Static method in class org.osgl.util.S
 
builder(byte) - Static method in class org.osgl.util.S
 
builder(short) - Static method in class org.osgl.util.S
 
builder(char) - Static method in class org.osgl.util.S
 
builder(int) - Static method in class org.osgl.util.S
 
builder(float) - Static method in class org.osgl.util.S
 
builder(long) - Static method in class org.osgl.util.S
 
builder(double) - Static method in class org.osgl.util.S
 
builder(Object) - Static method in class org.osgl.util.S
 
builder(String) - Static method in class org.osgl.util.S
 
buildTypeParamImplLookup(Class) - Static method in class org.osgl.util.Generics
Build class type variable name and type variable implementation lookup
buildTypeParamImplLookup(Class, Map<String, Class>) - Static method in class org.osgl.util.Generics
 
by(int) - Method in class org.osgl.util.S._Cut
 
by(String) - Method in class org.osgl.util.S._IterableJoiner
 
BYTE_RANGE_STEP - Static variable in class org.osgl.util.N.F
 
byteRangeStep(int) - Static method in class org.osgl.util.N.F
 
byteToHexString(byte[]) - Static method in class org.osgl.util.Codec
Write a byte array as hexadecimal String.
byteValue() - Method in class org.osgl.util.ValueObject
 

C

C - Class in org.osgl.util
The namespace for OSGL collection utilities
C.Array<T> - Class in org.osgl.util
 
C.F - Enum in org.osgl.util
the namespace of function definitions relevant to Collection manipulation
C.Feature - Enum in org.osgl.util
The character enum for a data structure
C.Featured - Interface in org.osgl.util
Define a type that holds a set of C.Feature
C.Featured.Factory - Class in org.osgl.util
 
C.Featured.Factory() - Constructor for class org.osgl.util.C.Featured.Factory
 
C.List<T> - Interface in org.osgl.util
The osgl List interface is a mixture of List and osgl C.Sequence
C.List.Cursor<T> - Interface in org.osgl.util
A cursor points to an element of a List.
C.ListFactory - Interface in org.osgl.util
Defines a factory to create java List instance used by DelegatingList to create it’s backing data structure
C.ListFactory.Predefined - Enum in org.osgl.util
 
C.ListOrSet<T> - Interface in org.osgl.util
 
C.Map<K,V> - Class in org.osgl.util
 
C.Map(boolean, Object...) - Constructor for class org.osgl.util.C.Map
 
C.Map(boolean, Map<? extends K, ? extends V>) - Constructor for class org.osgl.util.C.Map
 
C.Map._Builder - Class in org.osgl.util
 
C.Map.Entry<K,V> - Class in org.osgl.util
 
C.Map.Entry(K, V) - Constructor for class org.osgl.util.C.Map.Entry
 
C.Mutable - Enum in org.osgl.util
 
C.Range<ELEMENT> - Interface in org.osgl.util
Define a Range data structure which contains a discrete sequence of elements start from C.Range.from() until C.Range.to().
C.ReversibleSequence<T> - Interface in org.osgl.util
A bidirectional sequence which can be iterated from tail to head
C.Sequence<T> - Interface in org.osgl.util
 
C.Set<T> - Interface in org.osgl.util
 
C.Traversable<T> - Interface in org.osgl.util
Define a traversable structure with functional programming support, including map, reduce etc.
CacheService - Interface in org.osgl.cache
Defines a cache service
camelCase() - Method in class org.osgl.util.Keyword
 
camelCase(CharSequence) - Static method in class org.osgl.util.S
 
canonical() - Method in class org.osgl.util.FastStr
 
CAP_FIRST - Static variable in enum org.osgl.util.S.F
 
capacity() - Method in class org.osgl.util.S.Buffer
Returns the current capacity.
capFirst() - Method in class org.osgl.util.FastStr
 
capFirst(String) - Static method in class org.osgl.util.S
 
capFirst() - Method in class org.osgl.util.Str
 
capFirst() - Method in class org.osgl.util.StrBase
 
caseInsensitivie() - Method in class org.osgl.Lang._ConvertStage
 
cast(Object, Class<T>) - Static method in class org.osgl.Lang
Cast an object to a type.
cast(Object) - Static method in class org.osgl.Lang
 
cbrt(double) - Static method in class org.osgl.util.N
 
cbrt() - Static method in class org.osgl.util.N.F
 
cbrt() - Method in class org.osgl.util.N.Num
 
ceil(double) - Static method in class org.osgl.util.N
 
ceil() - Method in class org.osgl.util.N.Num
 
charArray() - Method in class org.osgl.util.FastStr
charArray() - Method in class org.osgl.util.Str
 
charArray() - Method in class org.osgl.util.StrBase
 
charAt(int) - Method in class org.osgl.util.FastStr
 
charAt(int) - Method in class org.osgl.util.S.Buffer
Returns the char value in this sequence at the specified index.
charAt(int) - Method in class org.osgl.util.Str
 
CharEncoding - Class in org.osgl.util
Relocated from commons-codec project
CharEncoding() - Constructor for class org.osgl.util.CharEncoding
 
Charsets - Class in org.osgl.util
Relocated from commons-codec project
Charsets() - Constructor for class org.osgl.util.Charsets
 
charValue() - Method in class org.osgl.util.ValueObject
 
checkIndex(Object[], int) - Static method in enum org.osgl.util.algo.ArrayAlgorithm.Util
 
checkIndex(Object[], int, int) - Static method in enum org.osgl.util.algo.ArrayAlgorithm.Util
 
checkState() - Method in class org.osgl.util.ListBuilder
 
checksum(File) - Static method in class org.osgl.util.IO
Returns checksum of a file.
checksum(InputStream) - Static method in class org.osgl.util.IO
Returns checksum from an input stream.
child(File, String) - Static method in class org.osgl.util.IO
 
children(File) - Static method in class org.osgl.util.IO
 
classForName(String) - Static method in class org.osgl.Lang
 
classForName(String, ClassLoader) - Static method in class org.osgl.Lang
 
classOf(Type) - Static method in class org.osgl.util.Generics
 
clear() - Method in interface org.osgl.cache.CacheService
Remove all cached items
clear() - Method in class org.osgl.Lang.Var
 
clear() - Method in class org.osgl.util.C.Map
 
clear() - Method in class org.osgl.util.ListBuilder
 
clearAttributes() - Method in class org.osgl.util.StringValueResolver
Clear all attributes on this resolver
clone() - Method in class org.osgl.Lang.None
 
close() - Method in class org.osgl.util.BufferedOutput
 
close(Closeable) - Static method in class org.osgl.util.IO
 
close() - Method in interface org.osgl.util.Output
Close this Output instance.
close() - Method in class org.osgl.util.OutputStreamOutput
 
close() - Method in class org.osgl.util.S.Buffer
 
close() - Method in class org.osgl.util.WriterOutput
 
close() - Method in class org.osgl.util.WriterOutputStream
Close the stream.
Codec - Class in org.osgl.util
Utility class for encoding and decoding
Codec() - Constructor for class org.osgl.util.Codec
 
codePointAt(int) - Method in class org.osgl.util.S.Buffer
Returns the character (Unicode code point) at the specified index.
codePointBefore(int) - Method in class org.osgl.util.S.Buffer
Returns the character (Unicode code point) before the specified index.
codePointCount(int, int) - Method in class org.osgl.util.S.Buffer
Returns the number of Unicode code points in the specified text range of this sequence.
collection() - Method in class org.osgl.Lang._IsClass
 
CollectionNS - Class in org.osgl.util
Collection namespace.
CollectionNS() - Constructor for class org.osgl.util.CollectionNS
 
color(Color) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
COLOR_TRANSPARENT - Static variable in enum org.osgl.util.Img
 
COMMON_SEP - Static variable in class org.osgl.util.S
A commonly used separator: [,;:\s]+
comparator(Lang.Func2<? super T, ? super T, Integer>) - Static method in class org.osgl.Lang
Adapt a general Lang.Func2 function with (T, T, Integer) type into Comparator
comparator(Comparator<? super T>) - Static method in class org.osgl.Lang
Adapt a jdk Comparator into osgl Comparator
compareTo(FastStr) - Method in class org.osgl.util.FastStr
 
compareTo(CharSequence) - Method in class org.osgl.util.FastStr
 
compareTo(Keyword) - Method in class org.osgl.util.Keyword
 
compareTo(Str) - Method in class org.osgl.util.Str
 
compareTo(CharSequence) - Method in class org.osgl.util.Str
 
compareTo(CharSequence) - Method in class org.osgl.util.StrBase
Compare the char sequence specified against this str
compareToIgnoreCase(FastStr) - Method in class org.osgl.util.FastStr
 
compareToIgnoreCase(CharSequence) - Method in class org.osgl.util.FastStr
 
compareToIgnoreCase(Str) - Method in class org.osgl.util.Str
 
compareToIgnoreCase(CharSequence) - Method in class org.osgl.util.Str
 
compareToIgnoreCase(T) - Method in class org.osgl.util.StrBase
Compare the str specified against this str in a case insensitive manner
compareToIgnoreCase(CharSequence) - Method in class org.osgl.util.StrBase
Compare the char sequence specified against this str in a case insensitive manner
comparing(Lang.Function<? super T, ? extends U>) - Static method in enum org.osgl.Lang.F
 
comparing(Lang.Function<? super T, ? extends U>, Comparator<? super U>) - Static method in enum org.osgl.Lang.F
Construct a Comparator with a function to extract the key of type U from given object of type T and a comparator to compare type U
compose(Lang.Func0<? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F0&lt;R&gt;> function by composing the specified Func0&ltP1&gt; function with this function applied last
compose(Lang.Function<? super X1, ? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F1&lt;X1, R&gt;> function by composing the specified Function&ltX1, P1&gt; function with this function applied last
compose(Lang.Func2<? super X1, ? super X2, ? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F2&lt;X1, X2, R&gt;> function by composing the specified Func2&ltX1, X2, P1&gt; function with this function applied last
compose(Lang.Func3<? super X1, ? super X2, ? super X3, ? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F3&lt;X1, X2, X3, R&gt;> function by composing the specified Func3&ltX1, X2, X3, P1&gt; function with this function applied last
compose(Lang.Func4<? super X1, ? super X2, ? super X3, ? super X4, ? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F3&lt;X1, X2, X3, X4, R&gt;> function by composing the specified Func3&ltX1, X2, X3, X4, P1&gt; function with this function applied last
compose(Lang.Func5<? super X1, ? super X2, ? super X3, ? super X4, ? super X5, ? extends P1>) - Method in class org.osgl.Lang.F1
Returns an F3&lt;X1, X2, X3, X4, X5, R&gt;> function by composing the specified Func3&ltX1, X2, X3, X4, X5, P1&gt; function with this function applied last
composite(Iterator<? extends T>, Iterator<? extends T>) - Static method in enum org.osgl.util.Iterators
 
CompositeList<T> - Class in org.osgl.util
Created with IntelliJ IDEA.
compress(float) - Method in class org.osgl.util.Img._Load
 
compressionQuality(float) - Method in class org.osgl.util.Img.ProcessorStage
 
concat(T[], T) - Static method in class org.osgl.Lang
 
concat(T[], T[]) - Static method in class org.osgl.Lang
 
concat(T[], T[], T[]...) - Static method in class org.osgl.Lang
 
concat(int[], int[]) - Static method in class org.osgl.Lang
 
concat(int[], int[], int[]...) - Static method in class org.osgl.Lang
 
concat(boolean[], boolean[]) - Static method in class org.osgl.Lang
 
concat(boolean[], boolean[], boolean[]...) - Static method in class org.osgl.Lang
 
concat(byte[], byte[]) - Static method in class org.osgl.Lang
 
concat(byte[], byte[], byte[]...) - Static method in class org.osgl.Lang
 
concat(short[], short[]) - Static method in class org.osgl.Lang
 
concat(short[], short[], short[]...) - Static method in class org.osgl.Lang
 
concat(char[], char[]) - Static method in class org.osgl.Lang
 
concat(char[], char[], char[]...) - Static method in class org.osgl.Lang
 
concat(long[], long[]) - Static method in class org.osgl.Lang
 
concat(long[], long[], long[]...) - Static method in class org.osgl.Lang
 
concat(float[], float[]) - Static method in class org.osgl.Lang
 
concat(float[], float[], float[]...) - Static method in class org.osgl.Lang
 
concat(double[], double[]) - Static method in class org.osgl.Lang
 
concat(double[], double[], double[]...) - Static method in class org.osgl.Lang
 
concat(C.Sequence<T>, C.Sequence<T>) - Static method in class org.osgl.util.C
Concatenate two C.Sequence into one
concat(C.ReversibleSequence<T>, C.ReversibleSequence<T>) - Static method in class org.osgl.util.C
Concatenate two C.ReversibleSequence into one
concat(C.List<T>, C.List<T>) - Static method in class org.osgl.util.C
Concatenate two List into one.
concat(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
concat(Lang.Func0<BufferedImage>, Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
concat(String, String) - Static method in class org.osgl.util.S
 
concat(Object, Object) - Static method in class org.osgl.util.S
 
concat(String, String, String) - Static method in class org.osgl.util.S
 
concat(Object, Object, Object) - Static method in class org.osgl.util.S
 
concat(String, String, String, String) - Static method in class org.osgl.util.S
 
concat(Object, Object, Object, Object) - Static method in class org.osgl.util.S
 
concat(String, String, String, String, String) - Static method in class org.osgl.util.S
 
concat(Object, Object, Object, Object, Object) - Static method in class org.osgl.util.S
 
concat(String, String, String, String, String, String...) - Static method in class org.osgl.util.S
 
concat(Object, Object, Object, Object, Object, Object...) - Static method in class org.osgl.util.S
 
concat(String[]) - Static method in class org.osgl.util.S
 
concat(Object[]) - Static method in class org.osgl.util.S
 
concat(String) - Method in class org.osgl.util.StrBase
 
concat(T) - Method in class org.osgl.util.StrBase
 
concatenate(N.Dimension, N.Dimension) - Method in enum org.osgl.util.Img.Direction
 
conf - Static variable in class org.osgl.Lang
 
CONF_CONTEXT_LOCAL_FACTORY - Static variable in interface org.osgl.concurrent.ContextLocal
 
CONF_LINKED_LIST_FACTORY - Static variable in class org.osgl.util.C
“osgl.list.factory”, the property key to configure user defined list factory.
CONF_RANDOM_ACCESS_LIST_FACTORY - Static variable in class org.osgl.util.C
“osgl.random_access_list.factory”, the property key to configure user defined random access list factory.
ConfigurationException - Exception in org.osgl.exception
Indicate a configuration error
ConfigurationException(String) - Constructor for exception org.osgl.exception.ConfigurationException
 
ConfigurationException(String, Object...) - Constructor for exception org.osgl.exception.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception org.osgl.exception.ConfigurationException
 
ConfigurationException(Throwable, String, Object...) - Constructor for exception org.osgl.exception.ConfigurationException
 
Const<T> - Class in org.osgl.util
Represent an immutable value
constant(T) - Static method in class org.osgl.Lang
 
constant() - Static method in class org.osgl.Lang
 
constantName() - Method in class org.osgl.util.Keyword
 
consumed() - Method in class org.osgl.util.S.Buffer
 
contain(CharSequence) - Method in class org.osgl.util.S._Is
 
contains(Object) - Method in class org.osgl.Lang.Var
 
contains(T) - Static method in enum org.osgl.util.C.F
Returns a predicate function that check if the argument (collection) contains the element specified
contains(ELEMENT) - Method in interface org.osgl.util.C.Range
Check if an element is contained in this range
contains(CharSequence) - Method in class org.osgl.util.FastStr
contains(ELEMENT) - Method in class org.osgl.util.LazyRange
 
CONTAINS - Static variable in enum org.osgl.util.S.F
 
contains(String) - Static method in enum org.osgl.util.S.F
 
contains(CharSequence) - Method in class org.osgl.util.Str
 
contains(CharSequence) - Method in class org.osgl.util.StrBase
 
contains(char) - Method in class org.osgl.util.StrBase
 
containsAll(Collection<?>) - Method in class org.osgl.Lang.Var
 
containsAll(Collection<? extends T>) - Static method in enum org.osgl.util.C.F
Returns a predicate function that check if all element in the collection specified are contained in the argument collection
containsAll(C.Range<ELEMENT>) - Method in interface org.osgl.util.C.Range
Check if this range contains all elements of another range of the same type (identified by C.Range.order() and C.Range.step()).
containsAll(C.Range<ELEMENT>) - Method in class org.osgl.util.LazyRange
 
containsIn(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a predicate function that check if the argument is contained in the collection specified
containsKey(Object) - Method in class org.osgl.util.C.Map
 
containsValue(Object) - Method in class org.osgl.util.C.Map
 
contentEquals(CharSequence) - Method in class org.osgl.util.FastStr
contentEquals(FastStr) - Method in class org.osgl.util.FastStr
 
contentEquals(CharSequence) - Method in class org.osgl.util.Str
 
contentEquals(Str) - Method in class org.osgl.util.Str
 
contentEquals(CharSequence) - Method in class org.osgl.util.StrBase
Check if this str content is equals to the char sequence specified
contentEquals(T) - Method in class org.osgl.util.StrBase
Check if this str content iks equals to the str specified
contentEquals(StringBuffer) - Method in class org.osgl.util.StrBase
ContextLocal<T> - Interface in org.osgl.concurrent
Provide access to context local bag.
contextLocal() - Static method in class org.osgl.Lang
 
contextLocal(ContextLocal.InitialValueProvider<T>) - Static method in class org.osgl.Lang
 
ContextLocal.Factory - Interface in org.osgl.concurrent
 
ContextLocal.Factory.Predefined - Enum in org.osgl.concurrent
 
ContextLocal.InitialValueProvider<T> - Class in org.osgl.concurrent
 
ContextLocal.InitialValueProvider() - Constructor for class org.osgl.concurrent.ContextLocal.InitialValueProvider
 
ContextLocalBase<T> - Class in org.osgl.concurrent
 
ContextLocalBase() - Constructor for class org.osgl.concurrent.ContextLocalBase
 
ContextLocalBase(ContextLocal.InitialValueProvider<T>) - Constructor for class org.osgl.concurrent.ContextLocalBase
 
convert(FROM) - Static method in class org.osgl.Lang
 
convert(FROM) - Method in class org.osgl.Lang.TypeConverter
Convert value into TO type
convert(FROM, Object) - Method in class org.osgl.Lang.TypeConverter
Convert value into TO type with hint
convertValue(Class, Object) - Method in class org.osgl.util.ReflectionPropertySetter
 
copy() - Method in interface org.osgl.util.C.List
Returns a mutable copy of this list
copy() - Method in class org.osgl.util.FastStr
 
copy() - Method in class org.osgl.util.Img._Load
 
copy(InputStream, OutputStream) - Static method in class org.osgl.util.IO
 
copy(InputStream, OutputStream, boolean) - Static method in class org.osgl.util.IO
Copy an stream to another one.
copy() - Method in class org.osgl.util.ListBase
 
copy() - Method in class org.osgl.util.StrBase
Returns a copy of this str.
copy(int, int, char[], int) - Method in class org.osgl.util.StrBase
 
copyDirectory(File, File) - Static method in class org.osgl.util.IO
 
copyOf(T[]) - Static method in class org.osgl.util.C.Array
 
count(T) - Method in interface org.osgl.util.C.Sequence
Count the element occurence in this sequence
count(String, boolean) - Method in class org.osgl.util.FastStr
 
count(FastStr, boolean) - Method in class org.osgl.util.FastStr
 
count(T) - Method in class org.osgl.util.ListBase
 
count(String, String) - Static method in class org.osgl.util.S
Count how many times a search string occurred in the give string
count(String, String, boolean) - Static method in class org.osgl.util.S
Count how many times a search string occurred in the give string
count(T) - Method in class org.osgl.util.SequenceBase
 
count(C.Sequence<T>, T) - Static method in class org.osgl.util.SequenceBase
 
count(String, boolean) - Method in class org.osgl.util.Str
 
count(Str, boolean) - Method in class org.osgl.util.Str
 
count(String, boolean) - Method in class org.osgl.util.StrBase
 
count(T, boolean) - Method in class org.osgl.util.StrBase
 
count(String) - Method in class org.osgl.util.StrBase
 
count(T) - Method in class org.osgl.util.StrBase
 
COUNTER - Static variable in class org.osgl.util.N.F
 
counter() - Static method in class org.osgl.util.N.F
 
countWithOverlap(String) - Method in class org.osgl.util.StrBase
 
countWithOverlap(T) - Method in class org.osgl.util.StrBase
 
create() - Method in interface org.osgl.concurrent.ContextLocal.Factory
 
create(ContextLocal.InitialValueProvider<T>) - Method in interface org.osgl.concurrent.ContextLocal.Factory
 
create() - Method in class org.osgl.Lang.Factory
The abstract create method that will be called by the Lang.Factory.apply() method
create() - Method in interface org.osgl.util.C.ListFactory
Create an empty java.util.List contains the generic type E
create(Collection<? extends ET>) - Method in interface org.osgl.util.C.ListFactory
Create a java.util.List pre populated with elements of specified collection
create(int) - Method in interface org.osgl.util.C.ListFactory
Create a java.util.List with initial capacity
create() - Static method in class org.osgl.util.ListBuilder
Create an empty ListBuilder instance
create(int) - Static method in class org.osgl.util.ListBuilder
 
createGraphics2D() - Method in class org.osgl.util.Img.Processor
Create the Graphics2D.
createListPropertyGetter(Class) - Method in interface org.osgl.util.PropertyHandlerFactory
 
createListPropertyGetter(Class) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createListPropertySetter(Class) - Method in interface org.osgl.util.PropertyHandlerFactory
 
createListPropertySetter(Class) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createMapPropertyGetter(Class, Class) - Method in interface org.osgl.util.PropertyHandlerFactory
 
createMapPropertyGetter(Class, Class) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createMapPropertySetter(Class, Class) - Method in interface org.osgl.util.PropertyHandlerFactory
 
createMapPropertySetter(Class, Class) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createPropertyGetter(Class, String, boolean) - Method in interface org.osgl.util.PropertyHandlerFactory
createPropertyGetter(Class, String, boolean) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createPropertySetter(Class, String) - Method in interface org.osgl.util.PropertyHandlerFactory
createPropertySetter(Class, String) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
createStage(BufferedImage) - Method in class org.osgl.util.Img.Cropper
 
createStage(BufferedImage) - Method in class org.osgl.util.Img.Flip
 
createStage() - Method in class org.osgl.util.Img.Processor
Create a builder for this processor.
createStage(BufferedImage) - Method in class org.osgl.util.Img.Processor
Create a builder for this processor.
createStage(BufferedImage) - Method in class org.osgl.util.Img.Resizer
 
createStage(BufferedImage) - Method in class org.osgl.util.Img.WaterMarker
 
createTarget() - Method in class org.osgl.util.Img.Processor
Create Img.Processor.target image using source width/height.
crop() - Method in class org.osgl.util.Img._Load
 
crop(int, int, int, int) - Method in class org.osgl.util.Img._Load
 
crop(Lang.Tuple<Integer, Integer>, Lang.Tuple<Integer, Integer>) - Method in class org.osgl.util.Img._Load
 
crop(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
Crypto - Enum in org.osgl.util
Cryptography utils.
Crypto.HashType - Enum in org.osgl.util
Define a hash type enumeration for strong-typing
CryptoService - Interface in org.osgl.util
Created by luog on 16/01/14.
cubic() - Static method in class org.osgl.util.N.F
 
cubic(Class<T>) - Static method in class org.osgl.util.N.F
 
CURLY_BRACES - Static variable in class org.osgl.util.S
Alias of S.BRACES
curry(P1) - Method in class org.osgl.Lang.F1
 
curry(P1, P2) - Method in class org.osgl.Lang.F2
 
curry(P2) - Method in class org.osgl.Lang.F2
 
curry(P1, P2, P3) - Method in class org.osgl.Lang.F3
 
curry(P2, P3) - Method in class org.osgl.Lang.F3
 
curry(P3) - Method in class org.osgl.Lang.F3
 
curry(P1, P2, P3, P4) - Method in class org.osgl.Lang.F4
 
curry(P2, P3, P4) - Method in class org.osgl.Lang.F4
 
curry(P3, P4) - Method in class org.osgl.Lang.F4
 
curry(P4) - Method in class org.osgl.Lang.F4
 
curry(P1, P2, P3, P4, P5) - Method in class org.osgl.Lang.F5
 
curry(P2, P3, P4, P5) - Method in class org.osgl.Lang.F5
 
curry(P3, P4, P5) - Method in class org.osgl.Lang.F5
 
curry(P4, P5) - Method in class org.osgl.Lang.F5
 
curry(P5) - Method in class org.osgl.Lang.F5
 
curry(Number, Number) - Method in enum org.osgl.util.N.Op
 
cut(Object) - Static method in class org.osgl.util.S
 
cutOff(String, int) - Static method in class org.osgl.util.S
cutOff(int) - Method in class org.osgl.util.StrBase

D

dashed() - Method in class org.osgl.util.Keyword
 
dashed(CharSequence) - Static method in class org.osgl.util.S
 
DATE_TO_STRING - Static variable in class org.osgl.Lang.TypeConverter
 
DBL - Static variable in class org.osgl.util.N.F
 
dbl() - Static method in class org.osgl.util.N.F
 
dbl(Class<T>) - Static method in class org.osgl.util.N.F
 
decode(String, Class<T>) - Static method in class org.osgl.util.ValueObject
Decode a object instance from a string with given target object type
decodeBASE64(String) - Static method in class org.osgl.util.Codec
Deprecated.
decodeBase64(String) - Static method in class org.osgl.util.Codec
Decode a base64 value
decodeBASE64() - Method in class org.osgl.util.FastStr
 
decodeBASE64(String) - Static method in class org.osgl.util.S
Decode Base64 encoded string
decodeBase64(String) - Static method in class org.osgl.util.S
 
decodeBASE64() - Method in class org.osgl.util.Str
 
decodeBASE64() - Method in class org.osgl.util.StrBase
 
decodeUrl(String, Charset) - Static method in class org.osgl.util.Codec
 
decodeUrl(String) - Static method in class org.osgl.util.Codec
 
decodeUrlSafeBase64(String) - Static method in class org.osgl.util.Codec
Decode a URL safe base64 value
decr(String) - Method in interface org.osgl.cache.CacheService
Decrease an number type value associated with key key by 1
decr(String, int) - Method in interface org.osgl.cache.CacheService
Decrease an number type value associated with key key by 1 with expires specified
decrypt(String, String) - Method in interface org.osgl.util.CryptoService
Deprecated.
decrypt(String, String, String) - Method in interface org.osgl.util.CryptoService
Deprecated.
decrypt(String, byte[]) - Method in interface org.osgl.util.CryptoService
Decrypt a secret using the private key specified
decrypt(String, byte[], byte[]) - Method in interface org.osgl.util.CryptoService
Decrypt a secret using the private key specified along with the salt
decryptAES(String, String) - Static method in enum org.osgl.util.Crypto
Deprecated.
decryptAES(String, byte[]) - Static method in enum org.osgl.util.Crypto
Decrypt a String with the AES encryption standard.
decryptAES(String, String, String) - Static method in enum org.osgl.util.Crypto
Deprecated.
decryptAES(String, byte[], byte[]) - Static method in enum org.osgl.util.Crypto
Decrypt a String with the AES encryption standard.
DEF_CACHE_NAME - Static variable in interface org.osgl.cache.CacheService
 
DEF_MIME_TYPE - Static variable in enum org.osgl.util.Img
The default image MIME type when not specified
DEF_STRING_REPLACE - Static variable in class org.osgl.OsglConfig
Default string replace logic
DEF_STRING_SEARCH - Static variable in class org.osgl.OsglConfig
Default string search logic
defaultFactory() - Static method in enum org.osgl.concurrent.ContextLocal.Factory.Predefined
 
defaultTo(Object) - Method in class org.osgl.Lang._ConvertStage
 
DelegatingIterator<T> - Class in org.osgl.util
Created with IntelliJ IDEA.
delete(File) - Static method in class org.osgl.util.IO
 
delete(File, boolean) - Static method in class org.osgl.util.IO
 
delete(int, int) - Method in class org.osgl.util.S.Buffer
Removes the characters in a substring of this sequence.
deleteCharAt(int) - Method in class org.osgl.util.S.Buffer
Removes the char at the specified position in this sequence.
dequeAppend(T) - Static method in enum org.osgl.util.C.F
Returns a function that append specified element to argument deque
dequePrepend(T) - Static method in enum org.osgl.util.C.F
Returns a function that prepend specified element to argument deque
deserialize(byte[], Class<T>) - Static method in class org.osgl.Lang
 
deserialize(byte[]) - Static method in class org.osgl.Lang
 
DIAMOND - Static variable in class org.osgl.util.S
A pair of angle brackets: < and >
dimension(int, int) - Static method in class org.osgl.util.N
 
dir(Img.Direction) - Method in class org.osgl.util.Img.Concatenater.Stage
 
div(Number) - Static method in class org.osgl.util.N.F
Deprecated.
div(Number, Class<T>) - Static method in class org.osgl.util.N.F
Deprecated.
div(Number) - Method in class org.osgl.util.N.Num
 
DIVIDE - Static variable in class org.osgl.util.N.F
 
divide(Class<R>) - Static method in class org.osgl.util.N.F
 
divideBy(Number) - Static method in class org.osgl.util.N.F
 
divideBy(Number, Class<T>) - Static method in class org.osgl.util.N.F
 
doFillInStackTrace() - Method in exception org.osgl.exception.FastRuntimeException
 
dos2unix(String) - Static method in class org.osgl.util.S
 
doSet(Object, Object) - Method in class org.osgl.util.ReflectionPropertySetter
 
DOUBLE_ANGLE_QUOTATION_MARK - Static variable in class org.osgl.util.S
A pair of double angle quotation mark: « (u00ab) and » (u00bb)
doubleValue() - Method in class org.osgl.util.N.Num
 
doubleValue() - Method in class org.osgl.util.ValueObject
 
drawImage(Graphics2D, BufferedImage, BufferedImage) - Method in enum org.osgl.util.Img.Direction
 
drop(int) - Method in class org.osgl.Lang.Var
 
drop() - Method in interface org.osgl.util.C.List.Cursor
Remove the current element this cursor points to.
drop(int) - Method in interface org.osgl.util.C.List
Returns a Sequence consisting of the elements from this Sequence except the first n if number n is positive and the Sequence contains more than n elements
drop(int) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a Sequence consisting of the elements from this Sequence except the first n if number n is positive and the Sequence contains more than n elements
drop(int) - Method in interface org.osgl.util.C.Sequence
Returns a Sequence consisting of the elements from this Sequence except the first n if number n is positive and the Sequence contains more than n elements
drop(int) - Method in class org.osgl.util.LazyRange
 
drop(int) - Method in class org.osgl.util.ListBase
 
drop(int) - Method in class org.osgl.util.SequenceBase
 
drop(int) - Method in class org.osgl.util.StrBase
 
dropAlphaChannelIfJPEG(ImageWriter) - Method in class org.osgl.util.Img.ProcessorStage
 
dropWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
dropWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.List
Returns a Sequence consisting of the elements from this sequence with leading elements dropped until the predicate returns true
dropWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.ReversibleSequence
 
dropWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Sequence
Returns a Sequence consisting of the elements from this sequence with leading elements dropped until the predicate returns true
dropWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.FastStr
 
dropWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
dropWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SequenceBase
 
dropWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.Str
 
dropWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.StrBase
Return a str that without the first N characters in the string.

E

E - Class in org.osgl.util
Utility class to throw common exceptions
E - Static variable in class org.osgl.util.N
The double value that is closer than any other to e, the base of the natural logarithms.
each(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.List
 
each(Lang.IndexedVisitor<Integer, ? super T>) - Method in interface org.osgl.util.C.List
Alias of #accept(Osgl.Visitor)
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ListOrSet
 
each(Lang.IndexedVisitor<? super K, ? super V>) - Method in class org.osgl.util.C.Map
Alias of #forEach(Osgl.IndexedVisitor)
each(Lang.Visitor<? super ELEMENT>) - Method in interface org.osgl.util.C.Range
 
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ReversibleSequence
 
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Sequence
 
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Set
 
each(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Traversable
Alias of #accept(Osgl.Visitor)
each(Lang.Visitor<? super ELEMENT>) - Method in class org.osgl.util.LazyRange
 
each(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
each(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
each(Lang.Visitor<? super T>) - Method in class org.osgl.util.SequenceBase
 
each(Lang.Visitor<? super T>) - Method in class org.osgl.util.SetBase
 
each(Lang.Visitor<? super T>) - Method in class org.osgl.util.TraversableBase
 
eager() - Method in class org.osgl.Lang.Var
 
eager() - Method in class org.osgl.util.C.Array
 
eager() - Method in interface org.osgl.util.C.List
Returns this traversable and make sure C.Feature.LAZY is unset
eager() - Method in interface org.osgl.util.C.ListOrSet
 
eager() - Method in interface org.osgl.util.C.ReversibleSequence
Returns this traversable and make sure C.Feature.LAZY is unset
eager() - Method in interface org.osgl.util.C.Sequence
Returns this traversable and make sure C.Feature.LAZY is unset
eager() - Method in interface org.osgl.util.C.Set
 
eager() - Method in interface org.osgl.util.C.Traversable
Returns this traversable and turn off C.Feature.LAZY
eager() - Method in class org.osgl.util.ListBase
 
eager() - Method in class org.osgl.util.SequenceBase
 
eager() - Method in class org.osgl.util.SetBase
 
eager() - Method in class org.osgl.util.StrBase
 
eager() - Method in class org.osgl.util.TraversableBase
 
echo(String, Object...) - Static method in class org.osgl.Lang
 
elseThen(Lang.Function<? super T, R>) - Method in class org.osgl.Lang.Predicate
 
EMPTY - Static variable in class org.osgl.util.C
 
empty(Collection<?>) - Static method in class org.osgl.util.C
 
empty(Map) - Static method in class org.osgl.util.C
 
empty() - Static method in class org.osgl.util.C
 
empty() - Method in class org.osgl.util.S._Is
 
empty(String) - Static method in class org.osgl.util.S
Determine if a string is empty or null
empty() - Method in class org.osgl.util.StrBase
 
EMPTY_ARRAY - Static variable in class org.osgl.util.S
An empty string array constant
EMPTY_BYTE_ARRAY - Static variable in class org.osgl.util.N
An empty byte[]
EMPTY_DOUBLE_ARRAY - Static variable in class org.osgl.util.N
An empty double[]
EMPTY_FLOAT_ARRAY - Static variable in class org.osgl.util.N
An empty float[]
EMPTY_INT_ARRAY - Static variable in class org.osgl.util.N
An empty int[]
EMPTY_LIST - Static variable in class org.osgl.util.C
 
EMPTY_LONG_ARRAY - Static variable in class org.osgl.util.N
An empty long[]
EMPTY_MAP - Static variable in class org.osgl.util.C
 
EMPTY_SET - Static variable in class org.osgl.util.C
 
EMPTY_SHORT_ARRAY - Static variable in class org.osgl.util.N
An empty short[]
EMPTY_STR - Static variable in class org.osgl.util.FastStr
 
EMPTY_STR - Static variable in class org.osgl.util.Str
 
emptyListOf(Class<T>) - Static method in class org.osgl.util.C
 
encode(Object) - Static method in class org.osgl.util.ValueObject
Encode a object into a String
encodeBASE64(String) - Static method in class org.osgl.util.Codec
Deprecated.
encodeBase64(String) - Static method in class org.osgl.util.Codec
Encode a String to base64
encodeBASE64(byte[]) - Static method in class org.osgl.util.Codec
Deprecated.
encodeBase64(byte[]) - Static method in class org.osgl.util.Codec
Encode binary data to base64
encodeBASE64() - Method in class org.osgl.util.FastStr
 
encodeBASE64(String) - Static method in class org.osgl.util.S
Encode a string using Base64 encoding
encodeBase64(String) - Static method in class org.osgl.util.S
 
encodeBASE64() - Method in class org.osgl.util.Str
 
encodeBASE64() - Method in class org.osgl.util.StrBase
 
encodeUrl(String, Charset) - Static method in class org.osgl.util.Codec
 
encodeUrl(String) - Static method in class org.osgl.util.Codec
 
encodeUrlSafeBase64(String) - Static method in class org.osgl.util.Codec
Encode a String to base64 using variant URL safe encode scheme
encodeUrlSafeBase64(byte[]) - Static method in class org.osgl.util.Codec
Encode binary data to base64 use Url safe variant
encodingException(UnsupportedEncodingException) - Static method in class org.osgl.util.E
encrypt(String, String) - Method in interface org.osgl.util.CryptoService
Deprecated.
encrypt(String, byte[]) - Method in interface org.osgl.util.CryptoService
Encrypt a String content using private key specified
encrypt(String, String, String) - Method in interface org.osgl.util.CryptoService
Deprecated.
encrypt(String, byte[], byte[]) - Method in interface org.osgl.util.CryptoService
Encrypt a string content using private key specified along with salt
encryptAES(String, String) - Static method in enum org.osgl.util.Crypto
Deprecated.
encryptAES(String, byte[]) - Static method in enum org.osgl.util.Crypto
Encrypt a String with the AES encryption standard.
encryptAES(String, String, String) - Static method in enum org.osgl.util.Crypto
Deprecated.
encryptAES(String, byte[], byte[]) - Static method in enum org.osgl.util.Crypto
Encrypt a String with the AES encryption standard.
ENDS_WITH - Static variable in enum org.osgl.util.S.F
 
endsWith(CharSequence, int) - Method in class org.osgl.util.FastStr
 
endsWith(FastStr, int) - Method in class org.osgl.util.FastStr
 
endsWith(String, String) - Static method in class org.osgl.util.S
 
endsWith(String, char) - Static method in class org.osgl.util.S
 
endsWith(String) - Static method in enum org.osgl.util.S.F
 
endsWith(CharSequence, int) - Method in class org.osgl.util.Str
 
endsWith(Str, int) - Method in class org.osgl.util.Str
 
endsWith(CharSequence) - Method in class org.osgl.util.StrBase
Check if this str ends with the given char sequence
endsWith(T) - Method in class org.osgl.util.StrBase
Check if this str ends with the given str
endsWith(T, int) - Method in class org.osgl.util.StrBase
Check this str instance ends with str, with the search starts at specified offset
endsWith(CharSequence, int) - Method in class org.osgl.util.StrBase
Check if this str ends with a char sequence, with the search starts at the specified offset
endWith(String) - Method in class org.osgl.util.S._Ensure
 
endWith(char) - Method in class org.osgl.util.S._Ensure
 
endWith(String) - Method in class org.osgl.util.S._Is
 
ensure(Object) - Static method in class org.osgl.util.S
 
ensureCapacity(int) - Method in class org.osgl.util.S.Buffer
Ensures that the capacity is at least equal to the specified minimum.
ensureEndsWith(String, String) - Static method in class org.osgl.util.S
 
ensureEndsWith(String, char) - Static method in class org.osgl.util.S
 
ensureGet(T, T) - Static method in class org.osgl.Lang
 
ensureGet(T, Lang.F0<T>) - Static method in class org.osgl.Lang
 
ensureGet(T, T, T) - Static method in class org.osgl.Lang
 
ensureGet(T, T, T, T) - Static method in class org.osgl.Lang
 
ensureGet(T, List<T>) - Static method in class org.osgl.Lang
 
ensureStartsWith(String, String) - Static method in class org.osgl.util.S
 
ensureStartsWith(String, char) - Static method in class org.osgl.util.S
 
ensureStrippedOff(String, String, String) - Static method in class org.osgl.util.S
 
ensureStrippedOff(String, Lang.Tuple<String, String>) - Static method in class org.osgl.util.S
 
ensureWrappedWith(String, String, String) - Static method in class org.osgl.util.S
 
ensureWrappedWith(String, Lang.Tuple<String, String>) - Static method in class org.osgl.util.S
 
entrySet() - Method in class org.osgl.util.C.Map
 
enumerable(Enumeration<T>) - Static method in class org.osgl.util.C
Convert a Enumeration to an Iterable
EnumerationIterator<T> - Class in org.osgl.util
Bridge from Enumeration to Iterator
EnumerationIterator(Enumeration<? extends T>) - Constructor for class org.osgl.util.EnumerationIterator
 
enumValue() - Method in class org.osgl.util.ValueObject
 
eq(Object, Object) - Static method in class org.osgl.Lang
Check if two object is equals to each other.
eq(boolean, boolean) - Static method in class org.osgl.Lang
Check if two boolean value equals to each other
eq(byte, byte) - Static method in class org.osgl.Lang
Check if two byte value equals to each other
eq(char, char) - Static method in class org.osgl.Lang
Check if two char value equals to each other
eq(short, short) - Static method in class org.osgl.Lang
Check if two short value equals to each other
eq(int, int) - Static method in class org.osgl.Lang
Check if two int value equals to each other
eq(float, float) - Static method in class org.osgl.Lang
Check if two float value equals to each other
eq(long, long) - Static method in class org.osgl.Lang
Check if two long value equals to each other
eq(double, double) - Static method in class org.osgl.Lang
Check if two double value equals to each other
EQ - Static variable in enum org.osgl.Lang.F
A predefined function that applies to two parameters and check if they are equals to each other
eq() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.EQ
eq(P) - Static method in enum org.osgl.Lang.F
Returns a Lang.Predicate that checkes if the argument equals to the element specified
eq(int) - Method in class org.osgl.util.N._IntRequire
 
eq(Number, Number) - Static method in class org.osgl.util.N
 
eq(Number) - Method in class org.osgl.util.N.Num
 
eq(N.Type) - Method in enum org.osgl.util.N.Type
 
eq(String, String) - Static method in class org.osgl.util.S
eq(String, String, int) - Static method in class org.osgl.util.S
eq(CharSequence) - Method in class org.osgl.util.StrBase
eq(T) - Method in class org.osgl.util.StrBase
eq(StringBuffer) - Method in class org.osgl.util.StrBase
eq2(Object, Object) - Static method in class org.osgl.Lang
Check if two objects are equals to each other.
EQUAL - Static variable in enum org.osgl.Lang.F
Alias of Lang.F.EQ
equal() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.eq()
equal(String, String) - Static method in class org.osgl.util.S
Return true if 2 strings are equals to each other without ignore space and case sensitive.
equal(String, String, int) - Static method in class org.osgl.util.S
Return true if 2 strings are equals to each other as per rule specified
equal(int, String...) - Static method in class org.osgl.util.S
Check if all strings are equal to each other
equals(Object) - Method in class org.osgl.Lang
 
equals(Object) - Method in class org.osgl.Lang.Option
 
equals(Object) - Method in class org.osgl.Lang.Quadruple
 
equals(Object) - Method in class org.osgl.Lang.Quintuple
 
equals(Object) - Method in class org.osgl.Lang.Triple
 
equals(Object) - Method in class org.osgl.Lang.Tuple
 
equals(Object) - Method in class org.osgl.Lang.TypeConverter
 
equals(Object) - Method in class org.osgl.Lang.Var
 
equals(Object) - Method in class org.osgl.util.C.Map
 
equals(Object) - Method in class org.osgl.util.Const
 
equals(Object) - Method in class org.osgl.util.FastStr
 
equals(Object) - Method in class org.osgl.util.Keyword
 
equals(Object) - Method in class org.osgl.util.LazyRange
 
equals(Object) - Method in class org.osgl.util.ListBase
 
equals(Object) - Method in class org.osgl.util.N.ByteRangeStep
 
equals(Object) - Method in class org.osgl.util.N.IntRangeStep
 
equals(Object) - Method in class org.osgl.util.N.LongRangeStep
 
equals(Object) - Method in class org.osgl.util.N.RangeStep
 
equals(Object) - Method in class org.osgl.util.N.ShortRangeStep
 
equals(Object) - Method in class org.osgl.util.StrBase
 
equals(Object) - Method in class org.osgl.util.ValueObject
 
equalsIgnoreCase(CharSequence) - Method in class org.osgl.util.FastStr
equalsIgnoreCase(FastStr) - Method in class org.osgl.util.FastStr
 
equalsIgnoreCase(CharSequence) - Method in class org.osgl.util.Str
 
equalsIgnoreCase(CharSequence) - Method in class org.osgl.util.StrBase
Compare content of the str and the specified char sequence, case insensitive
equalTo(int) - Method in class org.osgl.util.N._IntRequire
 
equalTo(CharSequence) - Method in class org.osgl.util.S._Is
 
error(String, Object...) - Static method in class org.osgl.Lang
 
evaluate(Annotation) - Static method in class org.osgl.Lang
Evaluate Annotation properties
evenNumbers() - Static method in class org.osgl.util.C
Returns a C.Range of non-negative even numbers starts from 0 to Integer.MAX_VALUE.
evict(String) - Method in interface org.osgl.cache.CacheService
Remove an item from the cache service by key
ExceptionNS - Class in org.osgl.util
Exception utility namespace.
ExceptionNS() - Constructor for class org.osgl.util.ExceptionNS
 
exp(double) - Static method in class org.osgl.util.N
 
exp() - Method in class org.osgl.util.N.Num
 
extract(Collection<?>, String) - Static method in class org.osgl.util.C
 

F

f - Variable in class org.osgl.Lang.Option
A reference to this runtime function namesapce
f - Variable in class org.osgl.Lang.Var
 
F0 - Static variable in class org.osgl.Lang
A dumb function for Lang.Func0 that does nothing and return null
f0() - Static method in class org.osgl.Lang
Return a dumb function for Lang.Func0.
f0(Lang.Func0<? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Func0 typed function to Lang.F0 type
F1 - Static variable in class org.osgl.Lang
A dumb Lang.Function implementation that does nothing and return null
f1() - Static method in class org.osgl.Lang
The type-safe version of Lang.F1
f1(Lang.Function<? super P1, ? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Function function into a Lang.F1 typed function
f1(Lang.Bijection<X, Y>) - Static method in class org.osgl.Lang
 
F2 - Static variable in class org.osgl.Lang
A dumb Lang.Func2 implementation that does nothing and return null
f2() - Static method in class org.osgl.Lang
The type-safe version of Lang.F2
f2(Lang.Func2<? super P1, ? super P2, ? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Func2 function into a Lang.F2 typed function
F3 - Static variable in class org.osgl.Lang
A dumb Lang.Func3 implementation that does nothing and return null
f3() - Static method in class org.osgl.Lang
The type-safe version of Lang.F3
f3(Lang.Func3<? super P1, ? super P2, ? super P3, ? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Func3 function into a Lang.F3 typed function
F4 - Static variable in class org.osgl.Lang
A dumb Lang.Func4 implementation that does nothing and return null
f4() - Static method in class org.osgl.Lang
The type-safe version of Lang.F4
f4(Lang.Func4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Func4 function into a Lang.F4 typed function
F5 - Static variable in class org.osgl.Lang
A dumb Lang.Func5 implementation that does nothing and return null
f5() - Static method in class org.osgl.Lang
The type-safe version of Lang.F5
f5(Lang.Func5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R>) - Static method in class org.osgl.Lang
Convert a general Lang.Func5 function into a Lang.F5 typed function
factory(Lang.Func0<T>) - Static method in class org.osgl.Lang
 
FALSE - Static variable in enum org.osgl.Lang.F
A predefined forever FALSE predicate which always return false for whatever element been tested
FastJsonObjectCodec - Class in org.osgl.util
 
FastJsonObjectCodec() - Constructor for class org.osgl.util.FastJsonObjectCodec
 
FastRuntimeException - Exception in org.osgl.exception
Runtime exception without fill the stack trace.
FastRuntimeException() - Constructor for exception org.osgl.exception.FastRuntimeException
 
FastRuntimeException(String) - Constructor for exception org.osgl.exception.FastRuntimeException
 
FastRuntimeException(String, Object...) - Constructor for exception org.osgl.exception.FastRuntimeException
 
FastRuntimeException(Throwable) - Constructor for exception org.osgl.exception.FastRuntimeException
 
FastRuntimeException(Throwable, String, Object...) - Constructor for exception org.osgl.exception.FastRuntimeException
 
fastSplit(String, String) - Static method in class org.osgl.util.S
Split a string by separator literal and return a list of strings
FastStr - Class in org.osgl.util
FastStr implements the same contract of Str with the a char array.
FeaturedBase - Class in org.osgl.util
Provide common logic to handle C.Featured interface
FeaturedBase() - Constructor for class org.osgl.util.FeaturedBase
 
features() - Method in interface org.osgl.util.C.Featured
Get all characteristics in EnumSet
features() - Method in class org.osgl.util.FeaturedBase
 
features() - Method in class org.osgl.util.ListBase
 
features() - Method in class org.osgl.util.SetBase
 
features_() - Method in class org.osgl.util.FeaturedBase
 
features_() - Method in class org.osgl.util.ListBase
 
features_() - Method in class org.osgl.util.SetBase
 
fieldOf(Class<?>, String) - Static method in class org.osgl.Lang
Returns non-static field of a class by name.
fieldOf(Class<?>, String, boolean) - Static method in class org.osgl.Lang
Returns field of a class by name.
fieldOf(Class<?>, String, Class<?>, boolean) - Static method in class org.osgl.Lang
Returns field of a class by name.
fieldsOf(Class<?>) - Static method in class org.osgl.Lang
Returns all fields of a class and all super classes.
fieldsOf(Class<?>, Lang.Function<Field, Boolean>) - Static method in class org.osgl.Lang
Returns all fields of a class and all super classes.
fieldsOf(Class<?>, boolean) - Static method in class org.osgl.Lang
Returns all fields of a class and all super classes.
fieldsOf(Class<?>, Class<?>, boolean) - Static method in class org.osgl.Lang
Returns all fields of a class and all super classes until root class.
fieldsOf(Class<?>, Class<?>, Lang.Function<Field, Boolean>) - Static method in class org.osgl.Lang
Returns all fields of a class and all super classes until root class.
fieldsOf(Class<?>, Lang.Function<Class<?>, Boolean>, Lang.Function<Field, Boolean>) - Static method in class org.osgl.Lang
 
fieldWithAnnotation(Class<? extends Annotation>) - Static method in enum org.osgl.Lang.F
Returns a predicate function that when applied to a Field type object, returns true if the field has specified annotation presented
fifth() - Method in class org.osgl.Lang.Quintuple
 
FILE_SEP - Static variable in class org.osgl.util.S
FILE_SEP_CHAR - Static variable in class org.osgl.util.S
FILE_TO_IS - Static variable in class org.osgl.util.IO.F
 
fileExtension(String) - Static method in class org.osgl.util.S
Get the extension of a filename
fileSeparator() - Method in enum org.osgl.util.OS
 
fill(boolean, boolean[]) - Static method in class org.osgl.Lang
 
fill(byte, byte[]) - Static method in class org.osgl.Lang
 
fill(char, char[]) - Static method in class org.osgl.Lang
 
fill(short, short[]) - Static method in class org.osgl.Lang
 
fill(int, int[]) - Static method in class org.osgl.Lang
 
fill(float, float[]) - Static method in class org.osgl.Lang
 
fill(long, long[]) - Static method in class org.osgl.Lang
 
fill(double, double[]) - Static method in class org.osgl.Lang
 
fill(T, T[]) - Static method in class org.osgl.Lang
 
fillInStackTrace() - Method in exception org.osgl.exception.FastRuntimeException
 
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Option#filter(Function) on this Option
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Option
If a value is present, and the value matches the given predicate, return an Option describing the value, otherwise return Lang.NONE.
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
filter(C.Sequence<T>, Lang.Function<? super T, Boolean>) - Static method in class org.osgl.util.C
 
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.List
 
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.ListOrSet
 
filter(Lang.Function<K, Boolean>) - Method in class org.osgl.util.C.Map
 
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.ReversibleSequence
 
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Sequence
Returns an new traversable that contains all elements in the current traversable except that does not pass the test of the filter function specified.
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Set
 
filter(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Traversable
Returns an new traversable that contains all elements in the current traversable except that does not pass the test of the filter function specified.
filter(Iterator<? extends T>, Lang.Function<? super T, Boolean>) - Static method in enum org.osgl.util.Iterators
 
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SequenceBase
 
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SetBase
 
filter(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.StrBase
 
filter(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.TraversableBase
 
filterIndex(Iterator<? extends T>, Lang.Function<Integer, Boolean>) - Static method in enum org.osgl.util.Iterators
 
filterUntil(Iterator<? extends T>, Lang.Function<? super T, Boolean>) - Static method in enum org.osgl.util.Iterators
 
filterWhile(Iterator<? extends T>, Lang.Function<? super T, Boolean>) - Static method in enum org.osgl.util.Iterators
 
findFirst(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
findFirst(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Sequence
Apply the predicate specified to the element of this sequence from head to tail.
findFirst(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
findFirst(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SequenceBase
Delegate to TraversableBase#findOne(org.osgl.Osgl.Function)
findLast(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
findLast(Lang.Function<? super ELEMENT, Boolean>) - Method in interface org.osgl.util.C.Range
 
findLast(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.ReversibleSequence
Apply the predicate specified to the element of this sequence from tail to head.
findLast(Lang.Function<? super ELEMENT, Boolean>) - Method in class org.osgl.util.LazyRange
 
findLast(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
findOne(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
findOne(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Traversable
Returns an element that matches the predicate specified.
findOne(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
findOne(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SetBase
 
findOne(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.TraversableBase
Iterate the traversal to check if any element applied to the predicate the iteration process stop when the element is found and return an option describing the element.
first() - Method in class org.osgl.Lang.Quadruple
 
first() - Method in class org.osgl.Lang.Quintuple
 
first() - Method in class org.osgl.Lang.Triple
 
first() - Method in class org.osgl.Lang.Tuple
 
first() - Method in interface org.osgl.util.C.Sequence
first() - Method in class org.osgl.util.ListBase
 
first(int) - Method in class org.osgl.util.S._Cut
 
FIRST - Static variable in enum org.osgl.util.S.F
 
first(int) - Static method in enum org.osgl.util.S.F
 
first(String, int) - Static method in class org.osgl.util.S
Return the string of first N chars.
first() - Method in class org.osgl.util.SequenceBase
 
flatMap(Lang.Function<? super T, Lang.Option<B>>) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Option#flatMap(Function) on this Option
flatMap(Lang.Function<? super T, Lang.Option<B>>) - Method in class org.osgl.Lang.Option
If a value is present, apply the provided Option-bearing mapping function to it, return that result, otherwise return Lang.NONE.
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in class org.osgl.Lang.Var
 
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.osgl.util.C.List
Returns a traversable consisting of the results of replacing each element of this stream with the contents of the iterable produced by applying the provided mapping function to each element.
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a traversable consisting of the results of replacing each element of this stream with the contents of the iterable produced by applying the provided mapping function to each element.
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.osgl.util.C.Sequence
Returns a traversable consisting of the results of replacing each element of this stream with the contents of the iterable produced by applying the provided mapping function to each element.
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.osgl.util.C.Traversable
Returns a traversable consisting of the results of replacing each element of this stream with the contents of the iterable produced by applying the provided mapping function to each element.
flatMap(Iterator<? extends T>, Lang.Function<? super T, ? extends Iterable<? extends R>>) - Static method in enum org.osgl.util.Iterators
 
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in class org.osgl.util.ListBase
 
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in class org.osgl.util.SequenceBase
 
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in class org.osgl.util.SetBase
 
flatMap(Lang.Function<? super Character, ? extends Iterable<? extends R>>) - Method in class org.osgl.util.StrBase
 
flatMap(Lang.Function<? super T, ? extends Iterable<? extends R>>) - Method in class org.osgl.util.TraversableBase
 
flip() - Method in class org.osgl.util.Img._Load
 
flip(Img.Direction) - Method in class org.osgl.util.Img._Load
 
flip(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
flipVertial() - Method in class org.osgl.util.Img._Load
 
floatValue() - Method in class org.osgl.util.N.Num
 
floatValue() - Method in class org.osgl.util.ValueObject
 
floor(double) - Static method in class org.osgl.util.N
 
floor() - Method in class org.osgl.util.N.Num
 
flush() - Method in class org.osgl.util.BufferedOutput
 
flush(Flushable) - Static method in class org.osgl.util.IO
 
flush(ObjectOutput) - Static method in class org.osgl.util.IO
 
flush(ImageInputStream) - Static method in class org.osgl.util.IO
 
flush() - Method in interface org.osgl.util.Output
Flushes the output.
flush() - Method in class org.osgl.util.OutputStreamOutput
 
flush() - Method in class org.osgl.util.S.Buffer
 
flush() - Method in class org.osgl.util.WriterOutput
 
flush() - Method in class org.osgl.util.WriterOutputStream
Flush the stream.
fmt(String, Object...) - Static method in class org.osgl.Lang
fmt(String) - Static method in class org.osgl.util.S
 
fmt(String, Object...) - Static method in class org.osgl.util.S
font(Font) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
forEach(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
forEach(Iterable<? extends T>, Lang.Visitor<? super T>) - Static method in class org.osgl.util.C
Run visitor function on each element supplied by the iterable.
forEach(Iterator<? extends T>, Lang.Visitor<? super T>) - Static method in class org.osgl.util.C
Run visitor function on each element supplied by the iterator.
forEach(Map<K, V>, Lang.IndexedVisitor<? super K, ? super V>) - Static method in class org.osgl.util.C
Run indexedVisitor function on all key/value pair in a given map.
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.List
 
forEach(Lang.IndexedVisitor<Integer, ? super T>) - Method in interface org.osgl.util.C.List
Alias of #accept(Osgl.Visitor)
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ListOrSet
 
forEach(Lang.IndexedVisitor<? super K, ? super V>) - Method in class org.osgl.util.C.Map
Loop through this map on each key/value pair, apply them to the function specified
forEach(Lang.Visitor<? super ELEMENT>) - Method in interface org.osgl.util.C.Range
 
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.ReversibleSequence
 
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Sequence
 
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Set
 
forEach(Lang.Visitor<? super T>) - Method in interface org.osgl.util.C.Traversable
Alias of #accept(Osgl.Visitor)
forEach(Lang.Visitor<? super ELEMENT>) - Method in class org.osgl.util.LazyRange
 
forEach(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
forEach(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
forEach(Lang.Visitor<? super T>) - Method in class org.osgl.util.SequenceBase
 
forEach(Lang.Visitor<? super T>) - Method in class org.osgl.util.SetBase
Sub class could override this method to implement iterating in parallel.
forEach(Lang.Visitor<? super T>) - Method in class org.osgl.util.TraversableBase
Iterate through this traversal and apply the visitor function specified to each element iterated
forEachIterable(Lang.Visitor<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that apply the visitor function specified on the argument (iterable)
forEachLeft(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
forEachLeft(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.Lang.Var
 
forEachLeft(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
forEachLeft(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
forEachLeft(Lang.Visitor<? super T>) - Method in class org.osgl.util.SequenceBase
 
forEachRight(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Var
 
forEachRight(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.Lang.Var
 
forEachRight(Lang.Visitor<? super T>) - Method in class org.osgl.util.ListBase
 
forEachRight(Lang.IndexedVisitor<Integer, ? super T>) - Method in class org.osgl.util.ListBase
 
forFiveTimes() - Method in class org.osgl.util.S._CharRepeater
 
forFiveTimes() - Method in class org.osgl.util.S._StringRepeater
 
forFourTimes() - Method in class org.osgl.util.S._CharRepeater
 
forFourTimes() - Method in class org.osgl.util.S._StringRepeater
 
forOneTime() - Method in class org.osgl.util.S._CharRepeater
 
forOneTime() - Method in class org.osgl.util.S._StringRepeater
 
forth() - Method in class org.osgl.Lang.Quadruple
 
forth() - Method in class org.osgl.Lang.Quintuple
 
forThreeTimes() - Method in class org.osgl.util.S._CharRepeater
 
forThreeTimes() - Method in class org.osgl.util.S._StringRepeater
 
forTimes(int) - Method in class org.osgl.util.S._CharRepeater
 
forTimes(int) - Method in class org.osgl.util.S._StringRepeater
 
forTwoTimes() - Method in class org.osgl.util.S._CharRepeater
 
forTwoTimes() - Method in class org.osgl.util.S._StringRepeater
 
forward() - Method in interface org.osgl.util.C.List.Cursor
Move the cursor forward to make it point to the next element to the current element
from() - Method in interface org.osgl.util.C.Range
Returns the from value (inclusive) in the range
from() - Method in class org.osgl.util.LazyRange
 
fromType - Variable in class org.osgl.Lang.TypeConverter
 

G

g - Variable in class org.osgl.util.Img.Processor
The graphics
g() - Method in class org.osgl.util.Img.Processor
Get Graphics2D instance.
generalPredicate(Lang.Visitor<? super T>) - Static method in class org.osgl.Lang
Convert a general Function<T, ?> typed function to Predicate<T> function.
generateHashCode() - Method in class org.osgl.util.TraversableBase
Sub class can override this method to provide more efficient algorithm to generate hash code.
Generics - Class in org.osgl.util
Provides utilities for generic relevant operations
Generics() - Constructor for class org.osgl.util.Generics
 
genericTargetType() - Method in class org.osgl.util.StringValueResolver
 
genRandomDigits(int) - Static method in enum org.osgl.util.Crypto
Generate random digital string with the size specified.
genRandomDigits() - Static method in enum org.osgl.util.Crypto
Generate random digital string of random size range from 4 to 12 inclusive
genRandomStr(int) - Static method in enum org.osgl.util.Crypto
Generate random String with readable characters.
genRandomStr() - Static method in enum org.osgl.util.Crypto
Generate random string with random length from 4 to 12 inclusive
genSecret(int) - Static method in enum org.osgl.util.Crypto
Generate a secret string from random byte array
genSecret() - Static method in enum org.osgl.util.Crypto
Generate secret string using 4 bytes
get(String) - Method in interface org.osgl.cache.CacheService
Return an item from the cache service by key
get() - Method in interface org.osgl.concurrent.ContextLocal
Returns the value in the current context’s copy of this context-local variable.
get() - Method in class org.osgl.concurrent.JDKThreadLocal
 
get() - Method in exception org.osgl.Lang.Break
Return the payload
get() - Method in class org.osgl.Lang.IndexedVisitor
 
get(String) - Method in class org.osgl.Lang.IndexedVisitor
 
get() - Method in class org.osgl.Lang.None
 
GET - Variable in class org.osgl.Lang.Option.f
A function that when applied, returns the value described by this Option
get() - Method in class org.osgl.Lang.Option
If a value is present in this Option, returns the value, otherwise throws NoSuchElementException.
get() - Method in class org.osgl.Lang.Producer
 
get() - Method in class org.osgl.Lang.Provider
Get the element
get() - Method in class org.osgl.Lang.Some
 
get(int) - Method in class org.osgl.Lang.Var
 
get() - Method in class org.osgl.Lang.Var
 
get(int) - Method in class org.osgl.util.C.Array
 
get() - Method in interface org.osgl.util.C.List.Cursor
Returns the element this cursor points to.
get(Object) - Method in class org.osgl.util.C.Map
 
get(int) - Method in class org.osgl.util.CompositeList
 
get() - Method in class org.osgl.util.Const
Returns the object stored in this Val
get(Class<FROM>, Class<TO>) - Method in class org.osgl.util.converter.TypeConverterRegistry
 
get() - Method in class org.osgl.util.Img._Load
 
get() - Method in class org.osgl.util.Img.ProcessorStage
Returns the the target image as a result of processing or source image if no Img.ProcessorStage.processor is provided
get(int) - Method in class org.osgl.util.IntRange
 
get(int) - Method in class org.osgl.util.ListBuilder
 
get(Object, Object) - Method in class org.osgl.util.ListPropertyGetter
 
get(Object, Object) - Method in class org.osgl.util.MapPropertyGetter
 
get() - Method in class org.osgl.util.N.Num
 
get() - Static method in enum org.osgl.util.OS
 
get(Object, Object) - Method in interface org.osgl.util.PropertyGetter
Get the property value from an entity
get(Object, Object) - Method in class org.osgl.util.ReflectionPropertyGetter
 
get() - Method in class org.osgl.util.S._IterableJoiner
 
get(int) - Method in class org.osgl.util.S.Buffer
get(int) - Method in class org.osgl.util.StrBase
 
getAnnotation(Class<T>) - Method in interface org.osgl.util.AnnotationAware
 
getBoolean() - Method in class org.osgl.Lang.IndexedVisitor
 
getBrowser() - Method in class org.osgl.web.util.UserAgent
 
getByte() - Method in class org.osgl.Lang.IndexedVisitor
 
getBytes() - Method in class org.osgl.util.FastStr
 
getBytes(String) - Method in class org.osgl.util.FastStr
 
getBytes(Charset) - Method in class org.osgl.util.FastStr
 
getBytes() - Method in class org.osgl.util.Str
 
getBytes(String) - Method in class org.osgl.util.Str
 
getBytes(Charset) - Method in class org.osgl.util.Str
 
getBytes() - Method in class org.osgl.util.StrBase
Encodes this str into a sequence of bytes using the platform’s default charset, storing the result into a new byte array.
getBytes(Charset) - Method in class org.osgl.util.StrBase
Encodes this str into a sequence of bytes using the given charset, storing the result into a new byte array.
getBytes(String) - Method in class org.osgl.util.StrBase
Encodes this str into a sequence of bytes using the named charset, storing the result into a new byte array.
getBytesAscII() - Method in class org.osgl.util.FastStr
 
getBytesAscII() - Method in class org.osgl.util.Str
 
getBytesAscII() - Method in class org.osgl.util.StrBase
Returns byte array of string composed of only ascii chars
getBytesUTF8() - Method in class org.osgl.util.FastStr
 
getBytesUTF8() - Method in class org.osgl.util.Str
 
getBytesUTF8() - Method in class org.osgl.util.StrBase
Returns byte array of string composed of UTF-8 chars
getChar() - Method in class org.osgl.Lang.IndexedVisitor
 
getChars(int, int, char[], int) - Method in class org.osgl.util.FastStr
 
getChars(int, int, char[], int) - Method in class org.osgl.util.S.Buffer
Characters are copied from this sequence into the destination character array dst.
getChars(int, int, char[], int) - Method in class org.osgl.util.Str
 
getChars(int, int, char[], int) - Method in class org.osgl.util.StrBase
Copy part of the char sequence into another array
getCommonSep() - Static method in class org.osgl.util.S
 
getDevice() - Method in class org.osgl.web.util.UserAgent
 
getDouble() - Method in class org.osgl.Lang.IndexedVisitor
 
getFieldValue(Object, Field) - Static method in class org.osgl.Lang
Get value of an object field.
getFloat() - Method in class org.osgl.Lang.IndexedVisitor
 
getInt() - Method in class org.osgl.Lang.IndexedVisitor
 
getKey() - Method in class org.osgl.util.C.Map.Entry
 
getLong() - Method in class org.osgl.Lang.IndexedVisitor
 
getMethod(Class, String, Object...) - Static method in class org.osgl.Lang
Returns Method by name and parameter value
getMethod(Class, String, Class...) - Static method in class org.osgl.Lang
Returns Method by name and argument type
getOS() - Method in class org.osgl.web.util.UserAgent
 
getProperty(Object, String) - Static method in class org.osgl.Lang
 
getProperty(CacheService, Object, String) - Static method in class org.osgl.Lang
 
getStr() - Method in class org.osgl.Lang.IndexedVisitor
 
getStringBufferRententionLimit() - Static method in class org.osgl.OsglConfig
 
getStringBufferRententionLimit() - Static method in class org.osgl.util.UtilConfig
 
getValue() - Method in class org.osgl.util.C.Map.Entry
 
getValue(String) - Method in interface org.osgl.util.KV
Returns a decoded value by key
getValue(String) - Method in class org.osgl.util.KVStore
Get value object value by key from the store.
GIF_MIME_TYPE - Static variable in enum org.osgl.util.Img
 
given(T) - Static method in class org.osgl.Lang
 
given(Object) - Static method in class org.osgl.util.S
 
given(String) - Static method in class org.osgl.util.S
 
GREATER_THAN - Static variable in enum org.osgl.Lang.F
A function that apply to two parameters then return true if the first parameter is greater than the second one.
GREATER_THAN_OR_EQUAL_TO - Static variable in enum org.osgl.Lang.F
A function that apply to two parameters then return true if the first parameter is greater than or equal to the second one.
greaterThan(T) - Static method in enum org.osgl.Lang.F
greaterThan() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.gt()
greaterThan(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
greaterThan(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
greaterThan(int) - Method in class org.osgl.util.N._IntRequire
 
greaterThan(int) - Static method in class org.osgl.util.N.F
 
greaterThanOrEqualsTo(T) - Static method in enum org.osgl.Lang.F
greaterThanOrEqualsTo() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.gte()
greaterThanOrEqualsTo(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
greaterThanOrEqualsTo(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
greaterThanOrEqualsTo(int) - Static method in class org.osgl.util.N.F
 
greaterThanOrEqualTo(int) - Method in class org.osgl.util.N._IntRequire
 
gt(T) - Static method in enum org.osgl.Lang.F
Returns a function that apply to one parameter and compare it with the value v specified, returns true if the parameter applied is greater than v
gt() - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one.
gt(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one using the Comparator specified
gt(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one using the Comparator specified
gt(int) - Method in class org.osgl.util.N._IntRequire
 
gt(int) - Static method in class org.osgl.util.N.F
 
gt(Number, Number) - Static method in class org.osgl.util.N
 
gt(Number) - Method in class org.osgl.util.N.Num
 
gt(N.Type) - Method in enum org.osgl.util.N.Type
 
gte(T) - Static method in enum org.osgl.Lang.F
Returns a function that apply to one parameter and compare it with the value v specified, returns true if the parameter applied is greater than or equals to v
gte() - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is greater than or equals to another one.
gte(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is greater than or equals to another one using the Comparator specified
gte(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is greater than or equals to another one using the Comparator specified
gte(int) - Method in class org.osgl.util.N._IntRequire
 
gte(int) - Static method in class org.osgl.util.N.F
 
guardedVisitor(Lang.Function<? super T, Boolean>, Lang.Visitor<? super T>) - Static method in class org.osgl.Lang
Return a composed visitor function that only applies when the guard predicate test returns true

H

h() - Method in class org.osgl.util.N.Dimension
 
HALF - Static variable in class org.osgl.util.N.F
 
half() - Static method in class org.osgl.util.N.F
 
half(Class<T>) - Static method in class org.osgl.util.N.F
 
hasAnnotation(Class<? extends Annotation>) - Method in interface org.osgl.util.AnnotationAware
 
HASH_CODE - Static variable in enum org.osgl.Lang.F
A predefined function that calculate hash code of an object
hashCode() - Method in class org.osgl.Lang
 
hashCode() - Method in class org.osgl.Lang.Option
 
hashCode() - Method in class org.osgl.Lang.Quadruple
 
hashCode() - Method in class org.osgl.Lang.Quintuple
 
hashCode() - Method in class org.osgl.Lang.Triple
 
hashCode() - Method in class org.osgl.Lang.Tuple
 
hashCode() - Method in class org.osgl.Lang.TypeConverter
 
hashCode() - Method in class org.osgl.Lang.Var
 
hashCode() - Method in class org.osgl.util.C.Map
 
hashCode() - Method in class org.osgl.util.Const
 
hashCode() - Method in class org.osgl.util.FastStr
 
hashCode() - Method in class org.osgl.util.Keyword
 
hashCode() - Method in class org.osgl.util.LazyRange
 
hashCode() - Method in class org.osgl.util.ListBase
 
hashCode() - Method in class org.osgl.util.Str
 
hashCode() - Method in class org.osgl.util.TraversableBase
Iterate through the traversal to aggregate hash code of all element.
hashCode() - Method in class org.osgl.util.ValueObject
 
hasNext() - Method in interface org.osgl.util.C.List.Cursor
Returns if the cursor can be moved forward to get the next element
hasNext() - Method in class org.osgl.util.DelegatingIterator
 
hasNext() - Method in class org.osgl.util.EnumerationIterator
 
hasNext() - Method in class org.osgl.util.SingletonIterator
 
hasNext() - Method in class org.osgl.util.SingletonListIterator
 
hasNext() - Method in class org.osgl.util.ZippedListIterator
 
hasPrevious() - Method in interface org.osgl.util.C.List.Cursor
Returns if the cursor can be moved backward to get the previous element
hasPrevious() - Method in class org.osgl.util.SingletonListIterator
 
hasPrevious() - Method in class org.osgl.util.ZippedListIterator
 
have(Object) - Static method in class org.osgl.util.S
 
have(String) - Static method in class org.osgl.util.S
 
having(T) - Static method in class org.osgl.Lang
 
hc() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.HASH_CODE
hc(boolean) - Static method in class org.osgl.Lang
 
hc(boolean[]) - Static method in class org.osgl.Lang
 
hc(short) - Static method in class org.osgl.Lang
 
hc(short[]) - Static method in class org.osgl.Lang
 
hc(byte) - Static method in class org.osgl.Lang
 
hc(byte[]) - Static method in class org.osgl.Lang
 
hc(char) - Static method in class org.osgl.Lang
 
hc(char[]) - Static method in class org.osgl.Lang
 
hc(int) - Static method in class org.osgl.Lang
 
hc(int[]) - Static method in class org.osgl.Lang
 
hc(float) - Static method in class org.osgl.Lang
 
hc(float[]) - Static method in class org.osgl.Lang
 
hc(long) - Static method in class org.osgl.Lang
 
hc(long[]) - Static method in class org.osgl.Lang
 
hc(double) - Static method in class org.osgl.Lang
 
hc(double[]) - Static method in class org.osgl.Lang
Calculate hashcode of double array specified
hc(Object) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
hc(Object, Object) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
hc(Object, Object, Object) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
hc(Object, Object, Object, Object) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
hc(Object, Object, Object, Object, Object) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
hc(Object, Object, Object, Object, Object, Object...) - Static method in class org.osgl.Lang
Calculate hashcode of objects specified
head() - Method in class org.osgl.Lang.Var
 
head(int) - Method in interface org.osgl.util.C.List
head(int) - Method in interface org.osgl.util.C.ReversibleSequence
head() - Method in interface org.osgl.util.C.Sequence
Returns an Osgl.Option of the first element in the Sequence or Lang.NONE if the Sequence is empty
head(int) - Method in interface org.osgl.util.C.Sequence
head(int) - Method in class org.osgl.util.LazyRange
 
head() - Method in class org.osgl.util.ListBase
 
head(int) - Method in class org.osgl.util.ListBase
 
head() - Method in class org.osgl.util.SequenceBase
 
head(int) - Method in class org.osgl.util.SequenceBase
 
head(int) - Method in class org.osgl.util.StrBase
 
height() - Method in class org.osgl.util.N.Dimension
 
hexMD5(String) - Static method in class org.osgl.util.Codec
Build an hexadecimal MD5 hash for a String
hexSHA1(String) - Static method in class org.osgl.util.Codec
Build an hexadecimal SHA1 hash for a String
hexStringToByte(String) - Static method in class org.osgl.util.Codec
Transform an hexadecimal String to a byte array.
HIDDEN_SEPARATOR - Static variable in class org.osgl.util.S
Alias of S.HSEP
HIDDEN_SEPARATOR_CHAR - Static variable in class org.osgl.util.S
Alias of S.HSEP_CHAR
hint(Object) - Method in class org.osgl.Lang._ConvertStage
 
HINT_CASE_INSENSITIVE - Static variable in class org.osgl.Lang.TypeConverter
 
horizontally() - Method in class org.osgl.util.Img.Concatenater.Stage
 
HSEP - Static variable in class org.osgl.util.S
The invisible separator used by program: “”
HSEP_CHAR - Static variable in class org.osgl.util.S
The invisible separator char ''
httpHeader() - Method in class org.osgl.util.Keyword
 

I

IDENTITY - Static variable in enum org.osgl.Lang.F
A predefined function that when apply to a parameter it return it directly, so for any Object o
identity() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.IDENTITY
identity(Class<T>) - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.IDENTITY
identity(EnumSet<C.Feature>) - Static method in class org.osgl.util.C.Featured.Factory
 
ifNullThen(T, T) - Static method in class org.osgl.Lang
 
ifNullThen(T, Lang.F0<T>) - Static method in class org.osgl.Lang
 
ifThen(Lang.Function<? super T, R>) - Method in class org.osgl.Lang.Predicate
 
IGNORECASE - Static variable in class org.osgl.util.S
equal modifier: specify equal comparison should ignore leading and after spaces.
IGNORESPACE - Static variable in class org.osgl.util.S
equal modifier: specify equal comparison should be case insensitive
illegalArgumentIf(boolean) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException if tester is true.
illegalArgumentIf(boolean, String) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException if tester is false.
illegalArgumentIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException with error message specified if tester is true.
illegalArgumentIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException if tester is false.
illegalArgumentIfNot(boolean, String) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException if tester is true.
illegalArgumentIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an IllegalArgumentException with error message specified if tester is false.
illegalStateIf(boolean) - Static method in class org.osgl.util.E
Throws out an IllegalStateException if tester is true.
illegalStateIf(boolean, String) - Static method in class org.osgl.util.E
Throws out an IllegalStateException with error message specified if tester is true.
illegalStateIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an IllegalStateException with error message specified if tester is true.
illegalStateIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an IllegalStateException if tester is false.
illegalStateIfNot(boolean, String) - Static method in class org.osgl.util.E
Throws out an IllegalStateException with error message specified if tester is false.
illegalStateIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an IllegalStateException with error message specified if tester is false.
Img - Enum in org.osgl.util
Image utilities
Img._Load - Class in org.osgl.util
 
Img.BinarySourceProcessor<PROCESSOR extends Img.BinarySourceProcessor<PROCESSOR,STAGE>,STAGE extends Img.ProcessorStage<STAGE,PROCESSOR>> - Class in org.osgl.util
The base class that process two image sources and produce result image
Img.BinarySourceProcessor() - Constructor for class org.osgl.util.Img.BinarySourceProcessor
 
Img.BinarySourceProcessor.ScaleFix - Enum in org.osgl.util
How to handle two image sources scale mismatch
Img.Concatenater - Class in org.osgl.util
 
Img.Concatenater.Stage - Class in org.osgl.util
 
Img.Concatenater.Stage(BufferedImage) - Constructor for class org.osgl.util.Img.Concatenater.Stage
 
Img.Cropper - Class in org.osgl.util
 
Img.Cropper.Stage - Class in org.osgl.util
 
Img.Direction - Enum in org.osgl.util
The direction used to process image
Img.F - Enum in org.osgl.util
The namespace for functions
Img.Flip - Class in org.osgl.util
 
Img.Flip.Stage - Class in org.osgl.util
 
Img.Processor<PROCESSOR extends Img.Processor<PROCESSOR,STAGE>,STAGE extends Img.ProcessorStage<STAGE,PROCESSOR>> - Class in org.osgl.util
Base class for image operator function which provides source width, height, ratio parameters on demand
Img.Processor() - Constructor for class org.osgl.util.Img.Processor
 
Img.ProcessorStage<STAGE extends Img.ProcessorStage<STAGE,PROCESSOR>,PROCESSOR extends Img.Processor<PROCESSOR,STAGE>> - Class in org.osgl.util
 
Img.ProcessorStage(Lang.Func0<BufferedImage>, PROCESSOR) - Constructor for class org.osgl.util.Img.ProcessorStage
Construct a ProcessorBuilder with an image source provider
Img.ProcessorStage(BufferedImage, PROCESSOR) - Constructor for class org.osgl.util.Img.ProcessorStage
Construct a ProcessorBuilder with image source specified
Img.Resizer - Class in org.osgl.util
Resize an image
Img.Resizer.Stage - Class in org.osgl.util
 
Img.WaterMarker - Class in org.osgl.util
 
Img.WaterMarker.Stage - Class in org.osgl.util
 
Img.WaterMarker.Stage(BufferedImage) - Constructor for class org.osgl.util.Img.WaterMarker.Stage
 
Img.WaterMarker.Stage(BufferedImage, Img.WaterMarker) - Constructor for class org.osgl.util.Img.WaterMarker.Stage
 
in(String) - Method in class org.osgl.util.S._Replace2
 
in(String) - Method in class org.osgl.util.S._ReplaceCharStage
 
in(String) - Method in class org.osgl.util.S._ReplaceStage
 
incr(String) - Method in interface org.osgl.cache.CacheService
Increase an number type value associated with key key by 1
incr(String, int) - Method in interface org.osgl.cache.CacheService
Increase an number type value associated with key key with expires specified
index() - Method in interface org.osgl.util.C.List.Cursor
Returns the index of the element to which the cursor pointed
indexGuardedVisitor(Lang.Function<? super K, Boolean>, Lang.Visitor<? super T>) - Static method in class org.osgl.Lang
 
indexOf(Object) - Method in class org.osgl.Lang.Var
 
indexOf(int, int) - Method in class org.osgl.util.FastStr
 
indexOf(CharSequence, int) - Method in class org.osgl.util.FastStr
 
indexOf(FastStr, int) - Method in class org.osgl.util.FastStr
 
indexOf(String) - Method in class org.osgl.util.S.Buffer
Returns the index within this string of the first occurrence of the specified substring.
indexOf(String, int) - Method in class org.osgl.util.S.Buffer
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
indexOf(char[], int, int, char[], int, int, int) - Static method in class org.osgl.util.S
Search for strings.
indexOf(int, int) - Method in class org.osgl.util.Str
 
indexOf(CharSequence, int) - Method in class org.osgl.util.Str
 
indexOf(Str, int) - Method in class org.osgl.util.Str
 
indexOf(int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified character.
indexOf(Object) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified object.
indexOf(int, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified character.
indexOf(CharSequence, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified substring, starting at the specified index.
indexOf(T, int) - Method in class org.osgl.util.StrBase
Locate another str inside this str, start at the specified index
indexOf(List<Character>) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified character list
indexOf(List<Character>, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified character list, starting at the specified index
indexOf(T) - Method in class org.osgl.util.StrBase
Locate another str inside this str, start at the specified index
indexOf(CharSequence) - Method in class org.osgl.util.StrBase
Returns the index within this str of the first occurrence of the specified substring, starting at 0.
INFO - Static variable in class org.osgl.util.VM
 
initFeatures() - Method in class org.osgl.Lang.Var
 
initFeatures() - Method in class org.osgl.util.CompositeList
 
initFeatures() - Method in class org.osgl.util.FeaturedBase
Sub class should override this method to provide initial feature set for the feature based instance
initFeatures() - Method in class org.osgl.util.ListBase
Sub class should override this method to provide initial feature set for the feature based instance
initFeatures() - Method in class org.osgl.util.SequenceBase
 
initFeatures() - Method in class org.osgl.util.SetBase
Sub class should override this method to provide initial feature set for the feature based instance
initFeatures() - Method in class org.osgl.util.StrBase
 
initFeatures() - Method in class org.osgl.util.TraversableBase
 
initialValue() - Method in interface org.osgl.concurrent.ContextLocal
Returns the current context’s “initial value” for this context-local variable.
initialValue() - Method in class org.osgl.concurrent.ContextLocal.InitialValueProvider
 
initialValue() - Method in class org.osgl.concurrent.ContextLocalBase
 
insert(int, T) - Method in class org.osgl.Lang.Var
 
insert(int, T...) - Method in class org.osgl.Lang.Var
 
insert(int, List<T>) - Method in class org.osgl.Lang.Var
 
insert(int, T) - Method in interface org.osgl.util.C.List
Insert an element at the position specified by index.
insert(int, T...) - Method in interface org.osgl.util.C.List
Insert an array of elements at the position specified by index.
insert(int, List<T>) - Method in interface org.osgl.util.C.List
Insert a sub list at the position specified by index.
insert(int, char) - Method in class org.osgl.util.FastStr
 
insert(int, Character) - Method in class org.osgl.util.FastStr
 
insert(int, StrBase<?>) - Method in class org.osgl.util.FastStr
 
insert(int, Character...) - Method in class org.osgl.util.FastStr
 
insert(int, char...) - Method in class org.osgl.util.FastStr
 
insert(int, String) - Method in class org.osgl.util.FastStr
 
insert(int, T) - Method in class org.osgl.util.ListBase
 
insert(int, T...) - Method in class org.osgl.util.ListBase
 
insert(int, List<T>) - Method in class org.osgl.util.ListBase
 
insert(int, char[], int, int) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of a subarray of the str array argument into this sequence.
insert(int, Object) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the Object argument into this character sequence.
insert(int, String) - Method in class org.osgl.util.S.Buffer
Inserts the string into this character sequence.
insert(int, char[]) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the char array argument into this sequence.
insert(int, CharSequence) - Method in class org.osgl.util.S.Buffer
Inserts the specified CharSequence into this sequence.
insert(int, CharSequence, int, int) - Method in class org.osgl.util.S.Buffer
Inserts a subsequence of the specified CharSequence into this sequence.
insert(int, boolean) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the boolean argument into this sequence.
insert(int, char) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the char argument into this sequence.
insert(int, int) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the second int argument into this sequence.
insert(int, long) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the long argument into this sequence.
insert(int, float) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the float argument into this sequence.
insert(int, double) - Method in class org.osgl.util.S.Buffer
Inserts the string representation of the double argument into this sequence.
insert(int, char) - Method in class org.osgl.util.Str
 
insert(int, Character) - Method in class org.osgl.util.Str
 
insert(int, Character...) - Method in class org.osgl.util.Str
 
insert(int, char...) - Method in class org.osgl.util.Str
 
insert(int, StrBase<?>) - Method in class org.osgl.util.Str
 
insert(int, String) - Method in class org.osgl.util.Str
 
insert(int, char) - Method in class org.osgl.util.StrBase
Return a new str with character inserted into the char sequence of this str
insert(int, Character) - Method in class org.osgl.util.StrBase
Return a new str with character inserted into the char sequence of this str
insert(int, Character...) - Method in class org.osgl.util.StrBase
Return a new str with character array inserted into the char sequence of this str
insert(int, char...) - Method in class org.osgl.util.StrBase
Return a new str with character array inserted into the char sequence of this str
insert(int, StrBase<?>) - Method in class org.osgl.util.StrBase
Returns a new str with a string specified inserted into the char sequence of this str
insert(int, String) - Method in class org.osgl.util.StrBase
Returns a new str with a string specified inserted into the char sequence of this str
INSTANCE - Static variable in class org.osgl.$
 
INSTANCE - Static variable in class org.osgl.Lang
 
INSTANCE - Static variable in class org.osgl.Lang.None
 
INSTANCE - Static variable in class org.osgl.util.BigDecimalValueObjectCodec
 
INSTANCE - Static variable in class org.osgl.util.BigIntegerValueObjectCodec
 
INSTANCE - Static variable in class org.osgl.util.converter.TypeConverterRegistry
 
INSTANCE - Static variable in class org.osgl.util.FastJsonObjectCodec
 
INSTANCE - Static variable in class org.osgl.util.KeywordValueObjectCodec
 
INSTANCE - Static variable in class org.osgl.util.KVCodec
 
INSTANCE - Static variable in class org.osgl.util.SimpleObjectFactory
 
INSTANCE - Static variable in class org.osgl.util.SimpleStringValueResolver
 
instanceOf(Class<?>) - Method in class org.osgl.Lang._IsClass
 
INT_RANGE_STEP - Static variable in class org.osgl.util.N.F
 
integer() - Method in class org.osgl.util.S._Is
 
intercectionOf(Collection<? extends T>, Collection<? extends T>) - Static method in class org.osgl.util.C
 
interceptionOf(Collection<? extends T>, Collection<? extends T>, Collection<? extends T>, Collection<? extends T>...) - Static method in class org.osgl.util.C
 
interface_() - Method in class org.osgl.Lang._IsModifier
 
intern() - Method in class org.osgl.util.FastStr
Wrapper of String.intern()
intern() - Method in class org.osgl.util.Str
 
intern() - Method in class org.osgl.util.StrBase
 
IntRange - Class in org.osgl.util
 
IntRange(int, int) - Constructor for class org.osgl.util.IntRange
 
IntRange(int, int, int) - Constructor for class org.osgl.util.IntRange
 
intRangeStep(int) - Static method in class org.osgl.util.N.F
 
intValue() - Method in class org.osgl.util.N.Num
 
intValue() - Method in class org.osgl.util.ValueObject
 
invalidArg() - Static method in class org.osgl.util.E
Throws out an InvalidArgException.
invalidArg(String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidArgException with error message specified.
InvalidArgException - Exception in org.osgl.exception
Argument(s) is not valid
InvalidArgException() - Constructor for exception org.osgl.exception.InvalidArgException
 
InvalidArgException(String) - Constructor for exception org.osgl.exception.InvalidArgException
 
InvalidArgException(String, Object...) - Constructor for exception org.osgl.exception.InvalidArgException
 
InvalidArgException(Throwable) - Constructor for exception org.osgl.exception.InvalidArgException
 
invalidArgIf(boolean) - Static method in class org.osgl.util.E
Throws out an InvalidArgException when tester is true.
invalidArgIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidArgException with error message specified when tester is true.
invalidArgIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an InvalidArgException when tester is false.
invalidArgIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidArgException with error message specified when tester is false.
invalidConfiguration(String, Object...) - Static method in class org.osgl.util.E
Throws out a ConfigurationException with message specified.
invalidConfiguration(Throwable, String, Object...) - Static method in class org.osgl.util.E
Throws out a ConfigurationException with cause and message specified.
invalidConfigurationIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out a ConfigurationException with message specified if tester evaluated to true.
invalidConfigurationIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out a ConfigurationException with message specified if tester evaluated to false.
invalidRange() - Static method in class org.osgl.util.E
Throws out an InvalidRangeException.
invalidRange(String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidRangeException with error message specified.
InvalidRangeException - Exception in org.osgl.exception
Indicate a computation exceeds the implied range
InvalidRangeException() - Constructor for exception org.osgl.exception.InvalidRangeException
 
InvalidRangeException(String) - Constructor for exception org.osgl.exception.InvalidRangeException
 
InvalidRangeException(String, Object...) - Constructor for exception org.osgl.exception.InvalidRangeException
 
InvalidRangeException(Throwable) - Constructor for exception org.osgl.exception.InvalidRangeException
 
invalidRangeIf(boolean) - Static method in class org.osgl.util.E
Throws out an InvalidRangeException when tester is true.
invalidRangeIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidRangeException with error message specified when tester is true.
invalidRangeIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an InvalidRangeException when tester is false.
invalidRangeIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidRangeException with error message specified when tester is false.
invalidState() - Static method in class org.osgl.util.E
Throws out an InvalidStateException.
invalidState(String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidStateException with message specified.
InvalidStateException - Exception in org.osgl.exception
Indicate a certain state of the object is not valid when accepting a message
InvalidStateException() - Constructor for exception org.osgl.exception.InvalidStateException
 
InvalidStateException(String) - Constructor for exception org.osgl.exception.InvalidStateException
 
InvalidStateException(String, Object...) - Constructor for exception org.osgl.exception.InvalidStateException
 
InvalidStateException(Throwable) - Constructor for exception org.osgl.exception.InvalidStateException
 
invalidStateIf(boolean) - Static method in class org.osgl.util.E
Throws out an InvalidStateException when tester evaluated to true.
invalidStateIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an InvalidStateException when tester evaluated to true.
invert() - Method in interface org.osgl.Lang.Bijection
Returns the inverse function mapping from Y back to X
invert(Lang.Bijection<X, Y>) - Static method in enum org.osgl.Lang.F
Returns a inverted function of Lang.Bijection which map from X to Y, and the returned function map from Y to X.
invert() - Method in class org.osgl.Lang.F1
 
invert() - Method in class org.osgl.Lang.Operator
 
invokeStatic(Class<T>, String, Object...) - Static method in class org.osgl.Lang
Invoke a static method by name and parameters
invokeStatic(Lang.Var<Method>, Class<T>, String, Object...) - Static method in class org.osgl.Lang
Invoke a static method by name and parameters.
invokeStatic(Method, Object...) - Static method in class org.osgl.Lang
Invoke a static method.
invokeVirtual(Lang.Var<Method>, T, String, Object...) - Static method in class org.osgl.Lang
Invoke a virtual method by instance, method name and arguments.
invokeVirtual(T, String, Object...) - Static method in class org.osgl.Lang
Invoke a virtual method by instance, method name and arguments.
invokeVirtual(T, Method, Object...) - Static method in class org.osgl.Lang
Invoke a virtual method.
IO - Class in org.osgl.util
IO utilities
IO() - Constructor for class org.osgl.util.IO
 
IO.F - Class in org.osgl.util
 
IO.F() - Constructor for class org.osgl.util.IO.F
 
ioException(IOException) - Static method in class org.osgl.util.E
Wrap the IOException into UnexpectedIOException and throw it out.
ioException(String, Object...) - Static method in class org.osgl.util.E
Throws out an UnexpectedIOException with error message specified.
is(Object) - Static method in class org.osgl.Lang
 
is(Class<?>) - Static method in class org.osgl.Lang
 
is(Member) - Static method in class org.osgl.Lang
 
is(Class<?>) - Method in class org.osgl.Lang.Meta
 
is(C.Feature) - Method in interface org.osgl.util.C.Featured
Check if this object has a certain C.Feature
is(C.Feature) - Method in class org.osgl.util.FeaturedBase
 
is() - Static method in class org.osgl.util.IO
Returns an empty input stream
is(File) - Static method in class org.osgl.util.IO
Returns a file input stream
is(byte[]) - Static method in class org.osgl.util.IO
 
is(String) - Static method in class org.osgl.util.IO
Returns an input stream from a string which will be encoded with CharSet.defaultCharset()
is(URL) - Static method in class org.osgl.util.IO
 
is(C.Feature) - Method in class org.osgl.util.ListBase
 
is(Object) - Static method in class org.osgl.util.S
 
is(C.Feature) - Method in class org.osgl.util.SetBase
 
is(UserAgent.Device) - Method in class org.osgl.web.util.UserAgent
 
IS_64 - Static variable in class org.osgl.Lang
 
IS_64 - Static variable in class org.osgl.util.VM
 
IS_BLANK - Static variable in enum org.osgl.util.S.F
 
IS_DEFINED - Variable in class org.osgl.Lang.Option.f
A function that when applied, returns if the Option is defined
IS_EMPTY - Static variable in enum org.osgl.util.S.F
 
IS_EVEN - Static variable in class org.osgl.util.N.F
 
IS_NULL - Static variable in enum org.osgl.Lang.F
A predefined Predicate predicate test if the element specified is null or Lang.NONE.
IS_ODD - Static variable in class org.osgl.util.N.F
 
IS_SERVER - Static variable in class org.osgl.Lang
 
IS_SERVER - Static variable in class org.osgl.util.VM
 
isAllBlank(String...) - Static method in class org.osgl.util.S
isAllEmpty(String...) - Static method in class org.osgl.util.S
Check if all of the specified string is empty
isAnyBlank(String...) - Static method in class org.osgl.util.S
isAnyEmpty(String...) - Static method in class org.osgl.util.S
Check if anyone of the specified string is empty
isBlank() - Method in class org.osgl.util.FastStr
 
isBlank(String) - Static method in class org.osgl.util.S
isBlank() - Method in class org.osgl.util.Str
 
isBlank() - Method in class org.osgl.util.StrBase
Check if this str is blank (empty or all space characters)
isChrome() - Method in class org.osgl.web.util.UserAgent
 
isDefined() - Method in class org.osgl.Lang.Option
Returns true if this Option is not Lang.NONE
isDefined() - Method in class org.osgl.Lang.Var
 
isDefined() - Method in interface org.osgl.util.C.List.Cursor
Returns true if the cursor is not obsolete and points to an element in the list
isEmpty() - Method in class org.osgl.Lang.Var
 
isEmpty() - Method in class org.osgl.util.C.Array
 
isEmpty(Collection<?>) - Static method in class org.osgl.util.C
 
isEmpty(Map) - Static method in class org.osgl.util.C
 
isEmpty() - Method in class org.osgl.util.C.Map
 
isEmpty() - Method in interface org.osgl.util.C.Traversable
Is this traversal empty?
isEmpty() - Method in class org.osgl.util.FastStr
 
isEmpty() - Method in class org.osgl.util.S.Buffer
Check if the buffer is empty.
isEmpty(String) - Static method in class org.osgl.util.S
isEmpty() - Method in class org.osgl.util.Str
 
isEmpty() - Method in class org.osgl.util.TraversableBase
 
isEqual(String, String) - Static method in class org.osgl.util.S
isEqual(String, String, int) - Static method in class org.osgl.util.S
isFirefox() - Method in class org.osgl.web.util.UserAgent
 
isFirefox3() - Method in class org.osgl.web.util.UserAgent
 
isFirefox4Up() - Method in class org.osgl.web.util.UserAgent
 
isHorizontal() - Method in enum org.osgl.util.Img.Direction
 
isIE() - Method in class org.osgl.web.util.UserAgent
 
isIE10Up() - Method in class org.osgl.web.util.UserAgent
 
isIE11Up() - Method in class org.osgl.web.util.UserAgent
 
isIE678() - Method in class org.osgl.web.util.UserAgent
 
isIE9Down() - Method in class org.osgl.web.util.UserAgent
 
isIE9Up() - Method in class org.osgl.web.util.UserAgent
 
isImmutable(C.Traversable<?>) - Static method in class org.osgl.util.C
Check if a C.Traversable structure is immutable.
isImmutable() - Method in class org.osgl.util.ListBase
 
isImmutable() - Method in class org.osgl.util.SequenceBase
 
isImmutable() - Method in class org.osgl.util.SetBase
 
isInt(String) - Static method in class org.osgl.util.N
Check if a string s represent an int or long
isInt(String, int) - Static method in class org.osgl.util.N
Check if a string s represent an int or long as per radix specified
isInt(String) - Static method in class org.osgl.util.S
Check if a string is integer or long
isIntOrLong(String) - Static method in class org.osgl.util.S
Check if a string is integer or long
isLazy() - Method in class org.osgl.util.ListBase
 
isLazy() - Method in class org.osgl.util.SequenceBase
 
isLazy() - Method in class org.osgl.util.SetBase
 
isLimited() - Method in class org.osgl.util.SequenceBase
 
isLinux() - Method in enum org.osgl.util.OS
 
isMacOsX() - Method in enum org.osgl.util.OS
 
isMobile() - Method in class org.osgl.web.util.UserAgent
 
isMutable() - Method in class org.osgl.util.ListBase
 
isMutable() - Method in class org.osgl.util.SequenceBase
 
isMutable() - Method in class org.osgl.util.SetBase
 
isNegative(BigDecimal) - Static method in class org.osgl.util.N
Check if a BigDecimal is negative
isNegative(BigInteger) - Static method in class org.osgl.util.N
Check if a BigInteger is negative
isNot(Class<?>) - Method in class org.osgl.Lang.Meta
 
isNotBlank(String) - Static method in class org.osgl.util.S
Antonym of S.blank(String)
isNotEmpty() - Method in class org.osgl.util.C.Array
 
isNotEmpty(String) - Static method in class org.osgl.util.S
isNull() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.IS_NULL
isNull(Class<T>) - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.IS_NULL
isNull(Object) - Static method in class org.osgl.Lang
Check if an object is null or Lang.NONE
isNull() - Method in class org.osgl.Lang.Var
 
isNumeric(String) - Static method in class org.osgl.util.N
Check if a String s is numeric string
isNumeric(String) - Static method in class org.osgl.util.S
Check if a string is numeric
ISO_8859_1 - Static variable in class org.osgl.util.CharEncoding
CharEncodingISO Latin Alphabet No.
ISO_8859_1 - Static variable in class org.osgl.util.Charsets
CharEncodingISO Latin Alphabet No.
isOpera() - Method in class org.osgl.web.util.UserAgent
 
isPerfectSquare(long) - Static method in class org.osgl.util.N
Check if a long is a perfect square number.
isPositive(BigDecimal) - Static method in class org.osgl.util.N
Check if a BigDecimal is positive
isPositive(BigInteger) - Static method in class org.osgl.util.N
Check if a BigInteger is positive
isPrimitive(Class<?>) - Static method in class org.osgl.Lang
Check if a given class is a primitive type
isReadOnly(C.Traversable<?>) - Static method in class org.osgl.util.C
Check if a C.Traversable structure is read only.
isReadOnly() - Method in class org.osgl.util.ListBase
 
isReadOnly() - Method in class org.osgl.util.SequenceBase
 
isReadOnly() - Method in class org.osgl.util.SetBase
 
isSafari() - Method in class org.osgl.web.util.UserAgent
 
isSimpleType(Class<?>) - Static method in class org.osgl.Lang
Check if a give class c is a simple type.
isTablet() - Method in class org.osgl.web.util.UserAgent
 
isUCWeb() - Method in class org.osgl.web.util.UserAgent
 
isUDF() - Method in class org.osgl.util.ValueObject
 
isUnix() - Method in enum org.osgl.util.OS
 
isVertical() - Method in enum org.osgl.util.Img.Direction
 
isWebKit() - Method in class org.osgl.web.util.UserAgent
 
isWindows() - Method in enum org.osgl.util.OS
 
iterable() - Method in class org.osgl.Lang._IsClass
 
iterableHashCode(Iterable<?>) - Static method in class org.osgl.Lang
 
iterator() - Method in class org.osgl.Lang.None
 
iterator() - Method in class org.osgl.Lang.Some
 
iterator() - Method in class org.osgl.Lang.Var
 
iterator() - Method in class org.osgl.util.C.Array
 
iterator() - Method in class org.osgl.util.ListBase
 
Iterators - Enum in org.osgl.util
Created with IntelliJ IDEA.
itr() - Method in class org.osgl.util.DelegatingIterator
 

J

JAVA_VERSION - Static variable in class org.osgl.Lang
 
javaVariable() - Method in class org.osgl.util.Keyword
 
JDKThreadLocal<T> - Class in org.osgl.concurrent
Implement ContextLocal using JDK ThreadLocal
JDKThreadLocal() - Constructor for class org.osgl.concurrent.JDKThreadLocal
 
JDKThreadLocal(ContextLocal.InitialValueProvider<T>) - Constructor for class org.osgl.concurrent.JDKThreadLocal
 
JDKThreadLocalFactory - Static variable in enum org.osgl.concurrent.ContextLocal.Factory.Predefined
 
join() - Method in class org.osgl.util.S._IterableJoiner
 
join(String, Iterable<?>) - Static method in class org.osgl.util.S
Join a list of object into a string
join(String, String, String, Iterable<?>) - Static method in class org.osgl.util.S
Join a list of object into a string, prefix and suffix will be added if supplied
join(String, String, String, Iterable<?>, boolean, boolean) - Static method in class org.osgl.util.S
Join a list of object into a string, prefix and suffix will be added if supplied
join(Iterable<?>) - Static method in class org.osgl.util.S
 
join(String, String...) - Static method in class org.osgl.util.S
Join an array of strings into a string
join(String, String, int) - Static method in class org.osgl.util.S
Join a string by separator for n times
join(String, int) - Static method in class org.osgl.util.S
Join a string for n times
joinedBy(String) - Method in class org.osgl.util.S._StringRepeater
 
JPG_MIME_TYPE - Static variable in enum org.osgl.util.Img
 

K

KEY - Static variable in class org.osgl.web.util.UserAgent
 
keySet() - Method in class org.osgl.util.C.Map
 
Keyword - Class in org.osgl.util
A Keyword can be presented in the different ways: * CamelCaseStyle * underscore_style * CONSTANT_STYLE * dash-style * “readable style” * “Http-Header-Style”
Keyword(CharSequence) - Constructor for class org.osgl.util.Keyword
 
keyword - Variable in class org.osgl.util.S._Replace
 
keyword - Variable in class org.osgl.util.S._Replace2
 
Keyword.Style - Enum in org.osgl.util
 
KeywordValueObjectCodec - Class in org.osgl.util
 
KeywordValueObjectCodec() - Constructor for class org.osgl.util.KeywordValueObjectCodec
 
kindOf(Object) - Method in class org.osgl.Lang._IsClass
 
kindOf(Object) - Method in class org.osgl.Lang.Meta
 
KV - Interface in org.osgl.util
A instance of KV is a Map with ValueObject indexed with String
KVCodec - Class in org.osgl.util
 
KVCodec() - Constructor for class org.osgl.util.KVCodec
 
KVStore - Class in org.osgl.util
A simple implementation of KV using HashMap
KVStore() - Constructor for class org.osgl.util.KVStore
Create an empty KVStore
KVStore(KVStore) - Constructor for class org.osgl.util.KVStore
Create a KVStore by coping another KVStore
KVStore(Map<String, Object>) - Constructor for class org.osgl.util.KVStore
Create a KVStore with a (String, Object) map

L

Lang - Class in org.osgl
Osgl is the umbrella namespace aggregates core utilities of OSGL toolkit: Function interfaces and base implementations currying utilities Tuple and multi-elements tupbles Option core utilities like ts() predefined functions aggregated in the F namespace
Lang() - Constructor for class org.osgl.Lang
 
Lang._ConvertStage<FROM> - Class in org.osgl
 
Lang._IsClass - Class in org.osgl
 
Lang._IsClass(Object) - Constructor for class org.osgl.Lang._IsClass
 
Lang._IsClass(Class<?>) - Constructor for class org.osgl.Lang._IsClass
 
Lang._IsModifier - Class in org.osgl
 
Lang._IsModifier(int) - Constructor for class org.osgl.Lang._IsModifier
 
Lang._IsReflectMember - Class in org.osgl
 
Lang._IsReflectMember(Member) - Constructor for class org.osgl.Lang._IsReflectMember
 
Lang.Bijection<X,Y> - Interface in org.osgl
Lang.Binary<LEFT,RIGHT> - Class in org.osgl
Alias of Lang.Tuple
Lang.Binary(LEFT, RIGHT) - Constructor for class org.osgl.Lang.Binary
 
Lang.Break - Exception in org.osgl
A Break is used to shortcut a sequence of function executions
Lang.Break() - Constructor for exception org.osgl.Lang.Break
construct a Break without payload
Lang.Break(Object) - Constructor for exception org.osgl.Lang.Break
Construct a Break with payload specified.
Lang.Comparator<T> - Class in org.osgl
Adapt JDK Comparator (since 1.2) to Functional programming.
Lang.Comparator() - Constructor for class org.osgl.Lang.Comparator
 
Lang.Conf - Class in org.osgl
Namespace to configure or extend OSGL _ utilities
Lang.Conf() - Constructor for class org.osgl.Lang.Conf
 
Lang.F - Enum in org.osgl
The namespace to aggregate predefined core functions
Lang.F0<R> - Class in org.osgl
Default implementation for Lang.Func0.
Lang.F0() - Constructor for class org.osgl.Lang.F0
 
Lang.F1<P1,R> - Class in org.osgl
Base implementation of Lang.Function function.
Lang.F1() - Constructor for class org.osgl.Lang.F1
 
Lang.F2<P1,P2,R> - Class in org.osgl
Base implementation of Lang.Func2 function.
Lang.F2() - Constructor for class org.osgl.Lang.F2
 
Lang.F3<P1,P2,P3,R> - Class in org.osgl
Base implementation of Lang.Func3 function.
Lang.F3() - Constructor for class org.osgl.Lang.F3
 
Lang.F4<P1,P2,P3,P4,R> - Class in org.osgl
Base implementation of Lang.Func4 function.
Lang.F4() - Constructor for class org.osgl.Lang.F4
 
Lang.F5<P1,P2,P3,P4,P5,R> - Class in org.osgl
Base implementation of Lang.Func5 function.
Lang.F5() - Constructor for class org.osgl.Lang.F5
 
Lang.Factory<T> - Class in org.osgl
The class adapt traditional Factory to Function
Lang.Factory() - Constructor for class org.osgl.Lang.Factory
 
Lang.Func0<R> - Interface in org.osgl
Define a function that apply to no parameter (strictly this is not a function)
Lang.Func1<P1,R> - Interface in org.osgl
Alias of Lang.Function
Lang.Func2<P1,P2,R> - Interface in org.osgl
Define a function structure that accept two parameter
Lang.Func3<P1,P2,P3,R> - Interface in org.osgl
Define a function structure that accept three parameter
Lang.Func4<P1,P2,P3,P4,R> - Interface in org.osgl
Define a function structure that accept four parameter
Lang.Func5<P1,P2,P3,P4,P5,R> - Interface in org.osgl
Define a function structure that accept five parameter
Lang.FuncBase - Class in org.osgl
The base for all Fx function class implemention
Lang.FuncBase() - Constructor for class org.osgl.Lang.FuncBase
 
Lang.Function<T,U> - Interface in org.osgl
Define a function structure that accept one parameter.
Lang.IndexedVisitor<K,T> - Class in org.osgl
An IndexedVisitor provide a tool to iterate through a Map or indexed list by passing the key/index and the value to the function.
Lang.IndexedVisitor() - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(Map<String, ?>) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(T) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(String) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(boolean) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(int) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(long) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(double) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(float) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(byte) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.IndexedVisitor(char) - Constructor for class org.osgl.Lang.IndexedVisitor
 
Lang.Meta<T> - Class in org.osgl
 
Lang.Meta(T) - Constructor for class org.osgl.Lang.Meta
 
Lang.MultiplicableFunction<P1,R> - Interface in org.osgl
A Lang.Function function that support Lang.MultiplicableFunction.times(int) operation
Lang.None<T> - Class in org.osgl
 
Lang.Operator<T> - Class in org.osgl
 
Lang.Operator() - Constructor for class org.osgl.Lang.Operator
 
Lang.Option<T> - Class in org.osgl
Defines an option of element T.
Lang.Option.f - Class in org.osgl
The runtime/instance function namespace
Lang.Pair<LEFT,RIGHT> - Class in org.osgl
Alias of Lang.Binary
Lang.Pair(LEFT, RIGHT) - Constructor for class org.osgl.Lang.Pair
 
Lang.Predicate<T> - Class in org.osgl
Predicate is a predefined Function<Boolean, T> typed function with a set of utilities dealing with boolean operations.
Lang.Predicate() - Constructor for class org.osgl.Lang.Predicate
 
Lang.Processor<T> - Class in org.osgl
Define a processor function which applied to one parameter and return the parameter instance after processing on the parameter
Lang.Processor() - Constructor for class org.osgl.Lang.Processor
 
Lang.Producer<PRODUCT> - Class in org.osgl
A Producer is a provider that Lang.Producer.produce() product
Lang.Producer() - Constructor for class org.osgl.Lang.Producer
 
Lang.Provider<ELEMENT> - Class in org.osgl
A Provider is a function that apply to nothing and return an element
Lang.Provider() - Constructor for class org.osgl.Lang.Provider
 
Lang.Quadruple<A,B,C,D> - Class in org.osgl
 
Lang.Quadruple(A, B, C, D) - Constructor for class org.osgl.Lang.Quadruple
 
Lang.Quintuple<A,B,C,D,E> - Class in org.osgl
 
Lang.Quintuple(A, B, C, D, E) - Constructor for class org.osgl.Lang.Quintuple
 
Lang.Some<T> - Class in org.osgl
 
Lang.Some(T) - Constructor for class org.osgl.Lang.Some
 
Lang.T2<A,B> - Class in org.osgl
Alias of Lang.Pair
Lang.T2(A, B) - Constructor for class org.osgl.Lang.T2
 
Lang.T3<A,B,C> - Class in org.osgl
 
Lang.T3(A, B, C) - Constructor for class org.osgl.Lang.T3
 
Lang.T4<A,B,C,D> - Class in org.osgl
 
Lang.T4(A, B, C, D) - Constructor for class org.osgl.Lang.T4
 
Lang.T5<A,B,C,D,E> - Class in org.osgl
 
Lang.T5(A, B, C, D, E) - Constructor for class org.osgl.Lang.T5
 
Lang.Transformer<FROM,TO> - Class in org.osgl
A Transformer is literally a kind of Lang.F1 function
Lang.Transformer() - Constructor for class org.osgl.Lang.Transformer
 
Lang.Triple<A,B,C> - Class in org.osgl
A tuple with three elements
Lang.Triple(A, B, C) - Constructor for class org.osgl.Lang.Triple
 
Lang.Tuple<A,B> - Class in org.osgl
 
Lang.Tuple(A, B) - Constructor for class org.osgl.Lang.Tuple
 
Lang.TypeConverter<FROM,TO> - Class in org.osgl
A TypeConverter is a Lang.Transformer that convert a type to another
Lang.TypeConverter(Class<FROM>, Class<TO>) - Constructor for class org.osgl.Lang.TypeConverter
 
Lang.TypeConverter() - Constructor for class org.osgl.Lang.TypeConverter
 
Lang.V1<P1> - Class in org.osgl
 
Lang.V1() - Constructor for class org.osgl.Lang.V1
 
Lang.V2<P1,P2> - Class in org.osgl
 
Lang.V2() - Constructor for class org.osgl.Lang.V2
 
Lang.V3<P1,P2,P3> - Class in org.osgl
 
Lang.V3() - Constructor for class org.osgl.Lang.V3
 
Lang.V4<P1,P2,P3,P4> - Class in org.osgl
 
Lang.V4() - Constructor for class org.osgl.Lang.V4
 
Lang.V5<P1,P2,P3,P4,P5> - Class in org.osgl
 
Lang.V5() - Constructor for class org.osgl.Lang.V5
 
Lang.Val<T> - Class in org.osgl
 
Lang.Val(T) - Constructor for class org.osgl.Lang.Val
 
Lang.Var<T> - Class in org.osgl
 
Lang.Var(T) - Constructor for class org.osgl.Lang.Var
 
Lang.Var._f - Class in org.osgl
 
Lang.Var._f() - Constructor for class org.osgl.Lang.Var._f
 
Lang.Visitor<T> - Class in org.osgl
Define a visitor (known as Consumer in java 8) function which applied to one parameter and without return type
Lang.Visitor() - Constructor for class org.osgl.Lang.Visitor
Construct a visitor without payload
last() - Method in class org.osgl.Lang.Quadruple
 
last() - Method in class org.osgl.Lang.Quintuple
 
last() - Method in class org.osgl.Lang.Triple
 
last() - Method in class org.osgl.Lang.Tuple
 
last() - Method in class org.osgl.Lang.Var
 
last() - Method in interface org.osgl.util.C.Range
 
last() - Method in interface org.osgl.util.C.ReversibleSequence
Returns the last element from this Sequence
last() - Method in class org.osgl.util.LazyRange
 
last() - Method in class org.osgl.util.ListBase
 
last(int) - Method in class org.osgl.util.S._Cut
 
LAST - Static variable in enum org.osgl.util.S.F
 
last(int) - Static method in enum org.osgl.util.S.F
 
last(String, int) - Static method in class org.osgl.util.S
Return last n chars
lastIndexOf(Object) - Method in class org.osgl.Lang.Var
 
lastIndexOf(int, int) - Method in class org.osgl.util.FastStr
 
lastIndexOf(CharSequence, int) - Method in class org.osgl.util.FastStr
 
lastIndexOf(FastStr, int) - Method in class org.osgl.util.FastStr
 
lastIndexOf(String) - Method in class org.osgl.util.S.Buffer
Returns the index within this string of the rightmost occurrence of the specified substring.
lastIndexOf(String, int) - Method in class org.osgl.util.S.Buffer
Returns the index within this string of the last occurrence of the specified substring.
lastIndexOf(int, int) - Method in class org.osgl.util.Str
 
lastIndexOf(CharSequence, int) - Method in class org.osgl.util.Str
 
lastIndexOf(Str, int) - Method in class org.osgl.util.Str
 
lastIndexOf(int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified character.
lastIndexOf(CharSequence) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified substring.
lastIndexOf(T) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified substr.
lastIndexOf(List<Character>) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified character list
lastIndexOf(List<Character>, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified character list, starting at the specified index from tail to head
lastIndexOf(Object) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified object.
lastIndexOf(int, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified character, searching backward starting at the specified index.
lastIndexOf(CharSequence, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified substring, searching backward starting at the specified index.
lastIndexOf(T, int) - Method in class org.osgl.util.StrBase
Returns the index within this str of the last occurrence of the specified str, searching backward starting at the specified index.
lazy() - Method in class org.osgl.Lang.Var
 
lazy() - Method in class org.osgl.util.C.Array
 
lazy() - Method in interface org.osgl.util.C.List
Returns this traversable and make sure C.Feature.LAZY is set
lazy() - Method in interface org.osgl.util.C.ListOrSet
 
lazy() - Method in interface org.osgl.util.C.ReversibleSequence
Returns this traversable and make sure C.Feature.LAZY is set
lazy() - Method in interface org.osgl.util.C.Sequence
Returns this traversable and make sure C.Feature.LAZY is set
lazy() - Method in interface org.osgl.util.C.Set
 
lazy() - Method in interface org.osgl.util.C.Traversable
Returns this traversable and try to turn on C.Feature.LAZY.
lazy() - Method in class org.osgl.util.ListBase
 
lazy() - Method in class org.osgl.util.SequenceBase
 
lazy() - Method in class org.osgl.util.SetBase
 
lazy() - Method in class org.osgl.util.StrBase
 
lazy() - Method in class org.osgl.util.TraversableBase
 
lazyExtract(Iterable<?>, String) - Static method in class org.osgl.util.C
 
LazyRange<ELEMENT> - Class in org.osgl.util
Implement C.Range using LazySeq.
LazyRange(ELEMENT, ELEMENT, Lang.Func2<ELEMENT, Integer, ELEMENT>) - Constructor for class org.osgl.util.LazyRange
 
LazyRange(ELEMENT, ELEMENT, Comparator<ELEMENT>, Lang.Func2<ELEMENT, Integer, ELEMENT>) - Constructor for class org.osgl.util.LazyRange
 
left() - Method in class org.osgl.Lang.Tuple
 
len(String) - Static method in class org.osgl.util.S
 
len(String, String...) - Static method in class org.osgl.util.S
 
length() - Method in class org.osgl.util.FastStr
 
length() - Method in class org.osgl.util.S.Buffer
Returns the length (character count).
LENGTH - Static variable in enum org.osgl.util.S.F
 
length() - Method in class org.osgl.util.Str
 
LESS_THAN - Static variable in enum org.osgl.Lang.F
A function that apply to two parameters then return true if the first parameter is less than the second one.
LESS_THAN_OR_EQUAL_TO - Static variable in enum org.osgl.Lang.F
A function that apply to two parameters then return true if the first parameter is less than or equal to the second one.
lessThan(T) - Static method in enum org.osgl.Lang.F
lessThan() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.lt()
lessThan(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
lessThan(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
lessThan(int) - Method in class org.osgl.util.N._IntRequire
 
lessThan(int) - Static method in class org.osgl.util.N.F
 
lessThanOrEqualsTo(T) - Static method in enum org.osgl.Lang.F
lessThanOrEqualsTo() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.lte()
lessThanOrEqualsTo(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
lessThanOrEqualsTo(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
lessThanOrEqualsTo(int) - Static method in class org.osgl.util.N.F
 
lessThanOrEqualTo(int) - Method in class org.osgl.util.N._IntRequire
 
lift() - Method in class org.osgl.Lang.F0
Turns this partial function into a plain function returning an Option result.
lift() - Method in class org.osgl.Lang.F1
Turns this partial function into a plain function returning an Option result.
lift() - Method in class org.osgl.Lang.F2
Turns this partial function into a plain function returning an Option result.
lift() - Method in class org.osgl.Lang.F3
Turns this partial function into a plain function returning an Option result.
lift() - Method in class org.osgl.Lang.F4
Turns this partial function into a plain function returning an Option result.
lift() - Method in class org.osgl.Lang.F5
Turns this partial function into a plain function returning an Option result.
lineSeparator() - Method in enum org.osgl.util.OS
 
list() - Method in class org.osgl.Lang._IsClass
 
list() - Static method in class org.osgl.util.C
Returns an empty immutable list
list(T) - Static method in class org.osgl.util.C
 
list(T, T...) - Static method in class org.osgl.util.C
Creates an immutable list from an element plus an array of elements
list(boolean[]) - Static method in class org.osgl.util.C
Create an immutable Boolean list of a byte (primitive type) array.
list(byte[]) - Static method in class org.osgl.util.C
Create an immutable Byte list of a byte (primitive type) array.
list(char[]) - Static method in class org.osgl.util.C
Create an immutable Character list of a char array.
list(short[]) - Static method in class org.osgl.util.C
Create an immutable Short list of a short array.
list(int[]) - Static method in class org.osgl.util.C
Create an immutable integer list of a int array.
list(long[]) - Static method in class org.osgl.util.C
Create an immutable Long list of a long array.
list(float[]) - Static method in class org.osgl.util.C
Create an immutable byte list of a float array.
list(double[]) - Static method in class org.osgl.util.C
Create an immutable Byte list of a double array.
list(Iterable<? extends T>) - Static method in class org.osgl.util.C
 
list(Iterator<? extends T>) - Static method in class org.osgl.util.C
 
list(Enumeration<? extends T>) - Static method in class org.osgl.util.C
 
list(Collection<? extends T>) - Static method in class org.osgl.util.C
 
list(List<? extends T>) - Static method in class org.osgl.util.C
 
list() - Static method in class org.osgl.util.S
Returns an empty immutable list
list(String) - Static method in class org.osgl.util.S
 
list(String, String) - Static method in class org.osgl.util.S
 
list(String, String, String...) - Static method in class org.osgl.util.S
 
list(Iterable<String>) - Static method in class org.osgl.util.S
 
ListBase<T> - Class in org.osgl.util
 
ListBase() - Constructor for class org.osgl.util.ListBase
 
ListBuilder<T> - Class in org.osgl.util
A simple array based List that support append element to the tail of the list only.
ListBuilder(int) - Constructor for class org.osgl.util.ListBuilder
 
listIterator(int) - Method in class org.osgl.Lang.Var
 
listIterator() - Method in class org.osgl.Lang.Var
 
listIterator(int) - Method in class org.osgl.util.CompositeList
 
listIterator(int) - Method in class org.osgl.util.ListBase
 
listIterator(int) - Method in class org.osgl.util.StrBase
 
listOf(T...) - Static method in class org.osgl.util.C
Creates an immutable list of an array of elements.
listOf(boolean[]) - Static method in class org.osgl.util.C
Create an immutable Boolean list from a boolean (primitive type) array.
listOf(byte[]) - Static method in class org.osgl.util.C
Create an immutable Byte list from a byte (primitive type) array.
listOf(char[]) - Static method in class org.osgl.util.C
Create an immutable Short list from a char (primitive type) array.
listOf(short[]) - Static method in class org.osgl.util.C
Create an immutable Short list from a short (primitive type) array.
listOf(int[]) - Static method in class org.osgl.util.C
Create an immutable Integer list from an int (primitive type) array.
listOf(long[]) - Static method in class org.osgl.util.C
Create an immutable Long list from a long (primitive type) array.
listOf(float[]) - Static method in class org.osgl.util.C
Create an immutable Float list from a float (primitive type) array.
listOf(double[]) - Static method in class org.osgl.util.C
Create an immutable Double list from an double (primitive type) array.
listOf(String...) - Static method in class org.osgl.util.S
 
ListPropertyGetter - Class in org.osgl.util
Implement PropertyGetter on a List type entity
ListPropertyGetter(Class<?>) - Constructor for class org.osgl.util.ListPropertyGetter
 
ListPropertyGetter(PropertyGetter.NullValuePolicy, Class<?>) - Constructor for class org.osgl.util.ListPropertyGetter
 
ListPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, Class<?>) - Constructor for class org.osgl.util.ListPropertyGetter
 
ListPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, PropertyGetter.NullValuePolicy, Class<?>) - Constructor for class org.osgl.util.ListPropertyGetter
 
ListPropertySetter - Class in org.osgl.util
Implement PropertySetter on List type entity specifically
ListPropertySetter(Class<?>) - Constructor for class org.osgl.util.ListPropertySetter
 
ListPropertySetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, Class<?>) - Constructor for class org.osgl.util.ListPropertySetter
 
loadProperties(File) - Static method in class org.osgl.util.IO
Load properties from a file
loadProperties(InputStream) - Static method in class org.osgl.util.IO
Load properties from an inputStream
loadProperties(Reader) - Static method in class org.osgl.util.IO
Load properties from an inputStream
loadProperties(String) - Static method in class org.osgl.util.IO
Load properties from a string content
locate(Lang.Function<T, Boolean>) - Method in class org.osgl.Lang.Var
 
locate(Lang.Function<T, Boolean>) - Method in interface org.osgl.util.C.List
Locate any one element in the list that matches the predicate.
locate(Lang.Function<T, Boolean>) - Method in class org.osgl.util.ListBase
 
locateFirst(Lang.Function<T, Boolean>) - Method in class org.osgl.Lang.Var
 
locateFirst(Lang.Function<T, Boolean>) - Method in interface org.osgl.util.C.List
Find the first element in this list that matches the predicate.
locateFirst(Lang.Function<T, Boolean>) - Method in class org.osgl.util.ListBase
 
locateLast(Lang.Function<T, Boolean>) - Method in class org.osgl.Lang.Var
 
locateLast(Lang.Function<T, Boolean>) - Method in interface org.osgl.util.C.List
Locate the first element in this list that matches the predicate.
locateLast(Lang.Function<T, Boolean>) - Method in class org.osgl.util.ListBase
 
log(double) - Static method in class org.osgl.util.N
 
log() - Method in class org.osgl.util.N.Num
 
log10(double) - Static method in class org.osgl.util.N
 
log10() - Method in class org.osgl.util.N.Num
 
LONG_RANGE_STEP - Static variable in class org.osgl.util.N.F
 
longRangeStep(int) - Static method in class org.osgl.util.N.F
 
longValue() - Method in class org.osgl.util.N.Num
 
longValue() - Method in class org.osgl.util.ValueObject
 
lower() - Method in class org.osgl.util.StrBase
 
lower(Locale) - Method in class org.osgl.util.StrBase
 
lowerFirst(String) - Static method in class org.osgl.util.S
 
lpad(char, int) - Method in class org.osgl.util.FastStr
 
lpad(int) - Method in class org.osgl.util.FastStr
 
lpad(String, char, int) - Static method in class org.osgl.util.S
lpad(String, int) - Static method in class org.osgl.util.S
lpad(char, int) - Method in class org.osgl.util.Str
 
lpad(int) - Method in class org.osgl.util.Str
 
lpad(char, int) - Method in class org.osgl.util.StrBase
lpad(int) - Method in class org.osgl.util.StrBase
lt(T) - Static method in enum org.osgl.Lang.F
Returns a function that apply to one parameter and compare it with the value v specified, returns true if the parameter applied is less than v
lt() - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one.
lt(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one using the Comparator specified
lt(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than another one using the Comparator specified
lt(int) - Method in class org.osgl.util.N._IntRequire
 
lt(int) - Static method in class org.osgl.util.N.F
 
lt(Number, Number) - Static method in class org.osgl.util.N
 
lt(Number) - Method in class org.osgl.util.N.Num
 
lt(N.Type) - Method in enum org.osgl.util.N.Type
 
lte(T) - Static method in enum org.osgl.Lang.F
Returns a function that apply to one parameter and compare it with the value v specified, returns true if the parameter applied is less than or equals to v
lte() - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than or equals to another one.
lte(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than or equals to another one using the Comparator specified
lte(Lang.Func2<? super T, ? super T, Integer>) - Static method in enum org.osgl.Lang.F
Returns a function that check if a value is less than or equals to another one using the Comparator specified
lte(int) - Method in class org.osgl.util.N._IntRequire
 
lte(int) - Static method in class org.osgl.util.N.F
 

M

main(String[]) - Static method in class org.osgl.Osgl
Deprecated.
 
main(String[]) - Static method in class org.osgl.util.algo.ArrayBinarySearch
 
main(String[]) - Static method in class org.osgl.util.algo.ArrayInsertionSort
 
main(String[]) - Static method in class org.osgl.util.algo.ArrayInsertionSortInplace
 
main(String[]) - Static method in class org.osgl.util.algo.ArrayMergeSort
 
main(String[]) - Static method in class org.osgl.util.algo.ArrayMergeSortInplace
 
main(String[]) - Static method in class org.osgl.util.algo.ArraySimpleInsertionSort
 
main(String[]) - Static method in class org.osgl.util.algo.ArraySimpleInsertionSortInplace
 
main(String[]) - Static method in class org.osgl.util.Const
 
main(String[]) - Static method in class org.osgl.util.Generics
 
main(String[]) - Static method in class org.osgl.util.StringValueResolver
 
main(String[]) - Static method in class org.osgl.web.util.UserAgent
 
map(Lang.Function<? super T, ? extends B>) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Option#map(Function) on this Option
map(Lang.Function<? super T, ? extends B>) - Method in class org.osgl.Lang.Option
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an Option describing the result.
map(Lang.Function<? super T, ? extends R>) - Method in class org.osgl.Lang.Var
 
map(Lang.Function<? super T, ? extends R>) - Method in interface org.osgl.util.C.List
 
map(Lang.Function<? super T, ? extends R>) - Method in interface org.osgl.util.C.ListOrSet
 
map(Iterable<T>, Lang.Function<? super T, ? extends R>) - Static method in class org.osgl.util.C
 
map(C.ReversibleSequence<T>, Lang.Function<? super T, ? extends R>) - Static method in class org.osgl.util.C
 
map(Object...) - Static method in class org.osgl.util.C
Deprecated.
Map(Object...) - Static method in class org.osgl.util.C
Create a immutable Map from elements specified in an array.
map(Collection<Lang.Tuple<K, V>>) - Static method in class org.osgl.util.C
Deprecated.
Map(Collection<Lang.Tuple<K, V>>) - Static method in class org.osgl.util.C
 
map(Map<? extends K, ? extends V>) - Static method in class org.osgl.util.C
Create an immutable Map from existing Map
map(K) - Method in class org.osgl.util.C.Map
 
map(Lang.Function<? super T, ? extends R>) - Method in interface org.osgl.util.C.ReversibleSequence
 
map(Lang.Function<? super T, ? extends R>) - Method in interface org.osgl.util.C.Sequence
Returns an new traversable with a mapper function specified.
map(Lang.Function<? super T, ? extends R>) - Method in interface org.osgl.util.C.Traversable
Returns an new traversable with a mapper function specified.
map(Iterator<? extends T>, Lang.Function<? super T, ? extends R>) - Static method in enum org.osgl.util.Iterators
 
map(Lang.Function<? super T, ? extends R>) - Method in class org.osgl.util.ListBase
 
map(Lang.Function<? super T, ? extends R>) - Method in class org.osgl.util.SequenceBase
 
map(Lang.Function<? super T, ? extends R>) - Method in class org.osgl.util.SetBase
 
map(Lang.Function<? super Character, ? extends R>) - Method in class org.osgl.util.StrBase
 
map(Lang.Function<? super T, ? extends R>) - Method in class org.osgl.util.TraversableBase
 
mapper(Lang.Function<R, T>) - Method in class org.osgl.Lang.Var._f
 
MapPropertyGetter - Class in org.osgl.util
Implement PropertyGetter on a Map type entity
MapPropertyGetter(Class<?>, Class<?>) - Constructor for class org.osgl.util.MapPropertyGetter
 
MapPropertyGetter(PropertyGetter.NullValuePolicy, Class<?>, Class<?>) - Constructor for class org.osgl.util.MapPropertyGetter
 
MapPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, Class<?>, Class<?>) - Constructor for class org.osgl.util.MapPropertyGetter
 
MapPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, PropertyGetter.NullValuePolicy, Class<?>, Class<?>) - Constructor for class org.osgl.util.MapPropertyGetter
 
MapPropertySetter - Class in org.osgl.util
Implement PropertySetter on Map type entity specifically
MapPropertySetter(Class<?>, Class<?>) - Constructor for class org.osgl.util.MapPropertySetter
 
matches(String) - Method in class org.osgl.util.FastStr
matches(String) - Method in class org.osgl.util.Str
 
matches(String) - Method in class org.osgl.util.StrBase
Tells whether or not this str matches the given regular expression.
materialize(byte[], Class<T>) - Static method in class org.osgl.Lang
 
materialize(byte[]) - Static method in class org.osgl.Lang
 
max(int, int) - Static method in class org.osgl.util.N
 
max(long, long) - Static method in class org.osgl.util.N
 
max(float, float) - Static method in class org.osgl.util.N
 
max(double, double) - Static method in class org.osgl.util.N
 
MAX_LENGTH - Static variable in enum org.osgl.util.S.F
 
maxLength(int) - Static method in enum org.osgl.util.S.F
 
maxLength(String, int) - Static method in class org.osgl.util.S
maxLength(int) - Method in class org.osgl.util.StrBase
merge(C.Range<ELEMENT>) - Method in interface org.osgl.util.C.Range
Returns an new range this range and another range r2 merged together.
merge(C.Range<ELEMENT>) - Method in class org.osgl.util.LazyRange
 
meta(T) - Static method in class org.osgl.Lang
 
min(int, int) - Static method in class org.osgl.util.N
 
min(long, long) - Static method in class org.osgl.util.N
 
min(float, float) - Static method in class org.osgl.util.N
 
min(double, double) - Static method in class org.osgl.util.N
 
ms() - Static method in class org.osgl.Lang
msgFmt(String) - Static method in class org.osgl.util.S
Returns the template or "" if template is null
msgFmt(String, Object...) - Static method in class org.osgl.util.S
mul(Number) - Static method in class org.osgl.util.N.F
Deprecated.
mul(Number, Class<T>) - Static method in class org.osgl.util.N.F
Deprecated.
mul(Number) - Method in class org.osgl.util.N.Num
 
MULTIPLY - Static variable in class org.osgl.util.N.F
 
multiply(Class<R>) - Static method in class org.osgl.util.N.F
 
multiplyBy(Number) - Static method in class org.osgl.util.N.F
 
multiplyBy(Number, Class<T>) - Static method in class org.osgl.util.N.F
 
mutableOperation() - Method in class org.osgl.util.DelegatingIterator
 

N

N - Class in org.osgl.util
The namespace under which number relevant structures, functions and logics are defined
N._FloatRequire - Class in org.osgl.util
 
N._IntRequire - Class in org.osgl.util
 
N.ByteRangeStep - Class in org.osgl.util
 
N.ByteRangeStep() - Constructor for class org.osgl.util.N.ByteRangeStep
 
N.ByteRangeStep(int) - Constructor for class org.osgl.util.N.ByteRangeStep
 
N.Coordinate2D - Class in org.osgl.util
 
N.Coordinate2D(Integer, Integer) - Constructor for class org.osgl.util.N.Coordinate2D
 
N.Dimension - Class in org.osgl.util
 
N.Dimension(Integer, Integer) - Constructor for class org.osgl.util.N.Dimension
 
N.F - Class in org.osgl.util
 
N.F() - Constructor for class org.osgl.util.N.F
 
N.IntRangeStep - Class in org.osgl.util
 
N.IntRangeStep() - Constructor for class org.osgl.util.N.IntRangeStep
 
N.IntRangeStep(int) - Constructor for class org.osgl.util.N.IntRangeStep
 
N.LongRangeStep - Class in org.osgl.util
 
N.LongRangeStep() - Constructor for class org.osgl.util.N.LongRangeStep
 
N.LongRangeStep(int) - Constructor for class org.osgl.util.N.LongRangeStep
 
N.Num<T extends Number> - Class in org.osgl.util
 
N.Num(Number) - Constructor for class org.osgl.util.N.Num
 
N.Op - Enum in org.osgl.util
 
N.Pair - Class in org.osgl.util
 
N.Pair(Integer, Integer) - Constructor for class org.osgl.util.N.Pair
 
N.RangeStep<T extends Number> - Class in org.osgl.util
 
N.RangeStep() - Constructor for class org.osgl.util.N.RangeStep
 
N.RangeStep(int) - Constructor for class org.osgl.util.N.RangeStep
 
N.ShortRangeStep - Class in org.osgl.util
 
N.ShortRangeStep() - Constructor for class org.osgl.util.N.ShortRangeStep
 
N.ShortRangeStep(int) - Constructor for class org.osgl.util.N.ShortRangeStep
 
N.Type - Enum in org.osgl.util
 
N.WH - Class in org.osgl.util
 
N.WH(Integer, Integer) - Constructor for class org.osgl.util.N.WH
 
N.XY - Class in org.osgl.util
 
N.XY(Integer, Integer) - Constructor for class org.osgl.util.N.XY
 
NATURAL_ORDER - Static variable in enum org.osgl.Lang.F
 
NATURAL_ORDER - Variable in enum org.osgl.util.StrBase.F
 
naturalNumbers() - Static method in class org.osgl.util.C
Returns a C.Range of non-negative integers start from 0 to Integer.MAX_VALUE.
naturalOrder() - Static method in enum org.osgl.Lang.F
 
NE - Static variable in enum org.osgl.Lang.F
A predefined function that applies to two parameters and check if they are not equals to each other.
ne() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.NE
ne(Object, Object) - Static method in class org.osgl.Lang
Check if two objects are equals to each other.
negate(Lang.Func0<Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate function
negate(Lang.Function<? super T, Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate function that applied to 1 params and returns boolean value
negate(Lang.Func2<? super P1, ? super P2, Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate that applied to 2 parameters and returns boolean value
negate(Lang.Func3<? super P1, ? super P2, ? super P3, Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate that applied to 3 parameters and returns boolean value
negate(Lang.Func4<? super P1, ? super P2, ? super P3, ? super P4, Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate that applied to 3 parameters and returns boolean value
negate(Lang.Func5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, Boolean>) - Static method in enum org.osgl.Lang.F
Returns a negate function of the specified predicate that applied to 3 parameters and returns boolean value
negate() - Method in class org.osgl.Lang.Predicate
Returns a negate function of this
negate(Lang.Function<T, Boolean>) - Static method in class org.osgl.Lang.Predicate
 
negative() - Method in class org.osgl.util.N._IntRequire
 
NEGATIVE - Static variable in class org.osgl.util.N.F
 
neq(int) - Method in class org.osgl.util.N._IntRequire
 
neq(Number, Number) - Static method in class org.osgl.util.N
 
neq(String, String) - Static method in class org.osgl.util.S
neq(String, String, int) - Static method in class org.osgl.util.S
newArray(T[]) - Static method in class org.osgl.Lang
Create an new array with specified array type and length
newArray(T[], int) - Static method in class org.osgl.Lang
Create an new array with specified type and length
newArray(int[]) - Static method in class org.osgl.Lang
 
newArray(int[], int) - Static method in class org.osgl.Lang
 
newArray(byte[]) - Static method in class org.osgl.Lang
 
newArray(byte[], int) - Static method in class org.osgl.Lang
 
newArray(char[]) - Static method in class org.osgl.Lang
 
newArray(char[], int) - Static method in class org.osgl.Lang
 
newArray(short[]) - Static method in class org.osgl.Lang
 
newArray(short[], int) - Static method in class org.osgl.Lang
 
newArray(long[]) - Static method in class org.osgl.Lang
 
newArray(long[], int) - Static method in class org.osgl.Lang
 
newArray(float[]) - Static method in class org.osgl.Lang
 
newArray(float[], int) - Static method in class org.osgl.Lang
 
newArray(double[]) - Static method in class org.osgl.Lang
 
newArray(double[], int) - Static method in class org.osgl.Lang
 
newArray(boolean[]) - Static method in class org.osgl.Lang
 
newArray(boolean[], int) - Static method in class org.osgl.Lang
 
newBuffer() - Static method in class org.osgl.util.S
Returns an new S.Buffer instance
newBuffer(byte) - Static method in class org.osgl.util.S
 
newBuffer(short) - Static method in class org.osgl.util.S
 
newBuffer(char) - Static method in class org.osgl.util.S
 
newBuffer(int) - Static method in class org.osgl.util.S
 
newBuffer(float) - Static method in class org.osgl.util.S
 
newBuffer(long) - Static method in class org.osgl.util.S
 
newBuffer(double) - Static method in class org.osgl.util.S
 
newBuffer(Object) - Static method in class org.osgl.util.S
 
newBuffer(String) - Static method in class org.osgl.util.S
 
newBuilder() - Static method in class org.osgl.util.S
Return an new StringBuilder instance
newBuilder(byte) - Static method in class org.osgl.util.S
 
newBuilder(short) - Static method in class org.osgl.util.S
 
newBuilder(char) - Static method in class org.osgl.util.S
 
newBuilder(int) - Static method in class org.osgl.util.S
 
newBuilder(float) - Static method in class org.osgl.util.S
 
newBuilder(long) - Static method in class org.osgl.util.S
 
newBuilder(double) - Static method in class org.osgl.util.S
 
newBuilder(Object) - Static method in class org.osgl.util.S
 
newBuilder(String) - Static method in class org.osgl.util.S
 
newGetter(Class, Method, Field) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
newInstance(String) - Static method in class org.osgl.Lang
 
newInstance(String, ClassLoader) - Static method in class org.osgl.Lang
 
newInstance(Class<T>) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, P1) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, P1, P2) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, P1, P2, P3) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, P1, P2, P3, P4) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, P1, P2, P3, P4, P5) - Static method in class org.osgl.Lang
 
newInstance(Class<T>, Object, Object, Object, Object, Object, Object...) - Static method in class org.osgl.Lang
 
newList() - Static method in class org.osgl.util.C
 
newList(Iterable<? extends T>) - Static method in class org.osgl.util.C
 
newList(T) - Static method in class org.osgl.util.C
 
newList(T, T) - Static method in class org.osgl.util.C
 
newList(T, T, T) - Static method in class org.osgl.util.C
 
newList(T, T, T, T...) - Static method in class org.osgl.util.C
 
newList() - Static method in class org.osgl.util.S
 
newList(Iterable<String>) - Static method in class org.osgl.util.S
 
newList(String) - Static method in class org.osgl.util.S
 
newList(String, String) - Static method in class org.osgl.util.S
 
newList(String, String, String) - Static method in class org.osgl.util.S
 
newList(String, String, String, String...) - Static method in class org.osgl.util.S
 
newListOf(T[]) - Static method in class org.osgl.util.C
 
newListOf(String[]) - Static method in class org.osgl.util.S
 
newMap(Object...) - Static method in class org.osgl.util.C
Create an new Map from an array of elements.
newMap(Map<? extends K, ? extends V>) - Static method in class org.osgl.util.C
Create an new Map from existing Map
newSet() - Static method in class org.osgl.util.C
Create an new empty set
newSet(Collection<? extends T>) - Static method in class org.osgl.util.C
Create an new set with all elements contained in the collection specified
newSetter(Class, Method, Field) - Method in class org.osgl.util.ReflectionPropertyHandlerFactory
 
newSizedBuffer(int) - Static method in class org.osgl.util.S
Return an new S.Buffer instance with predefined size specified
newSizedBuilder(int) - Static method in class org.osgl.util.S
 
newSizedList(int) - Static method in class org.osgl.util.C
 
next() - Method in class org.osgl.util.DelegatingIterator
 
next() - Method in class org.osgl.util.EnumerationIterator
 
next - Variable in class org.osgl.util.LazyRange
 
next() - Method in class org.osgl.util.SingletonIterator
 
next() - Method in class org.osgl.util.SingletonListIterator
 
next() - Method in class org.osgl.util.ZippedListIterator
 
nextIndex() - Method in class org.osgl.util.SingletonListIterator
 
nextIndex() - Method in class org.osgl.util.ZippedListIterator
 
nil() - Static method in class org.osgl.Lang
An empty method.
no() - Static method in enum org.osgl.Lang.F
A type-safe version of Lang.F.FALSE
noBlank(String...) - Static method in class org.osgl.util.S
noEmpty(String...) - Static method in class org.osgl.util.S
noMutableOperation() - Method in class org.osgl.util.CompositeList
 
NON_STATIC_FIELD - Static variable in enum org.osgl.Lang.F
A predicate function that when applied to a Field type object, returns true when the field is not static
none(Collection<Lang.Function<? super T, Boolean>>) - Static method in enum org.osgl.Lang.F
none(Lang.Function<? super T, Boolean>...) - Static method in enum org.osgl.Lang.F
Negation of #or(Function[])
NONE - Static variable in class org.osgl.Lang
 
none() - Static method in class org.osgl.Lang
 
none() - Static method in class org.osgl.Lang.Option
 
noneMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
noneMatch(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Traversable
Check if no elements matches the predicate specified.
noneMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
noneMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SetBase
 
noneMatch(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.TraversableBase
 
noneNull(Object, Object...) - Static method in class org.osgl.Lang
 
nonNegative() - Method in class org.osgl.util.N._IntRequire
 
noScaleFix() - Method in class org.osgl.util.Img.Concatenater.Stage
 
not() - Static method in enum org.osgl.Lang.F
Returns a function that evaluate an argument’s boolean value and negate the value.
not(Object) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(java.lang.Object)
not(boolean) - Static method in class org.osgl.Lang
Returns negative of a boolean value
not(String) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(java.lang.String)
not(Collection<?>) - Static method in class org.osgl.Lang
not(byte) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(byte)
not(char) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(char)
not(int) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(int)
not(long) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(long)
not(float) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(float)
not(double) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(double)
not(BigDecimal) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(BigDecimal)
not(BigInteger) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(BigInteger)
not(File) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(File)
not(Lang.Func0<?>) - Static method in class org.osgl.Lang
Returns negative of Lang.bool(Func0)
NOT_DEFINED - Variable in class org.osgl.Lang.Option.f
NOT_EMPTY - Static variable in enum org.osgl.util.S.F
 
NOT_EQUAL - Static variable in enum org.osgl.Lang.F
Alias of Lang.F.NE
NOT_NULL - Static variable in enum org.osgl.Lang.F
A predefined Predicate predicate test if the element specified is NOT null
NotAppliedException - Exception in org.osgl.exception
Used by function object to indicate that it doesn’t apply to the parameter specified.
NotAppliedException() - Constructor for exception org.osgl.exception.NotAppliedException
 
notBlank(String) - Static method in class org.osgl.util.S
Antonym of S.blank(String)
notDefined() - Method in class org.osgl.Lang.Option
notEmpty(Collection<?>) - Static method in class org.osgl.util.C
 
notEmpty(Map) - Static method in class org.osgl.util.C
 
notEmpty(String) - Static method in class org.osgl.util.S
Antonym of S.empty(String)
notEmpty() - Method in class org.osgl.util.StrBase
 
notEqual() - Static method in enum org.osgl.Lang.F
Alias of Lang.F.ne()
notEqual(String, String) - Static method in class org.osgl.util.S
Return false if 2 strings are equals to each other
notEqualTo(int) - Method in class org.osgl.util.N._IntRequire
 
notInstanceOf(Class<?>) - Method in class org.osgl.Lang._IsClass
 
notNull() - Static method in enum org.osgl.Lang.F
The type-safe version of Lang.F.NOT_NULL
notNull(T) - Static method in class org.osgl.Lang
Deprecated.
NPE(T) - Static method in class org.osgl.Lang
 
NPE(Object) - Static method in class org.osgl.util.E
Throws NullPointerException if o1 is null.
NPE(Object, Object) - Static method in class org.osgl.util.E
Throws out NullPointerException if o1 or o2 is null.
NPE(Object, Object, Object) - Static method in class org.osgl.util.E
Throws out NullPointerException if o1 or o2 or o3 is null.
NPE(Object, Object, Object, Object...) - Static method in class org.osgl.util.E
Throw out NullPointerException if any one of the passed objects is null.
NPE(boolean) - Static method in class org.osgl.util.E
Throws out a NullPointerException when tester evaluated to true.
npeIf(boolean) - Static method in class org.osgl.util.E
Throws out an NullPointerException when tester is true.
npeIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an NullPointerException when tester is false.
ns() - Static method in class org.osgl.Lang
NULL_CONVERTER - Static variable in class org.osgl.util.converter.TypeConverterRegistry
 
NULL_SAFE - Static variable in enum org.osgl.util.S.F
 
num(Number) - Static method in class org.osgl.util.N
 
num(String) - Static method in class org.osgl.util.N
 
NUM_TO_BIG_DEC - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_BIG_INT - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_BYTE - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_DOUBLE - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_FLOAT - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_INT - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_LONG - Static variable in class org.osgl.Lang.TypeConverter
 
NUM_TO_SHORT - Static variable in class org.osgl.Lang.TypeConverter
 
NUMBER_CLASSES - Static variable in class org.osgl.util.N
 
numeric() - Method in class org.osgl.util.S._Is
 
NumNS - Class in org.osgl.util
Number utility namespace.

O

oddNumbers() - Static method in class org.osgl.util.C
Returns a C.Range of positive odd numbers starts from 1 to Integer.MAX_VALUE.
of(T) - Static method in class org.osgl.Lang.Option
Returns an Option with the specified present value if it is not null or Lang.NONE otherwise.
of(T) - Static method in class org.osgl.Lang.Val
 
of(T) - Static method in class org.osgl.Lang.Var
 
of(T[]) - Static method in class org.osgl.util.C.Array
 
of(E) - Static method in class org.osgl.util.Const
 
of(Lang.Var<E>) - Static method in class org.osgl.util.Const
 
of(Iterator<? extends T>, boolean) - Static method in class org.osgl.util.DelegatingIterator
 
of(char[]) - Static method in class org.osgl.util.FastStr
Construct a FastStr from a char array
of(CharSequence) - Static method in class org.osgl.util.FastStr
Construct a FastStr from a CharSequence
of(String) - Static method in class org.osgl.util.FastStr
Construct a FastStr from a String
of(StringBuilder) - Static method in class org.osgl.util.FastStr
Construct a FastStr from a StringBuilder
of(StringBuffer) - Static method in class org.osgl.util.FastStr
Construct a FastStr from a StringBuffer
of(Iterable<Character>) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from an iterable of characters
of(Collection<Character>) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from a collection of characters
of(Iterator<Character>) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from an iterator of characters
of(byte[], String) - Static method in class org.osgl.util.FastStr
 
of(int, int) - Static method in class org.osgl.util.IntRange
 
of(T) - Static method in enum org.osgl.util.Iterators
 
of(CharSequence) - Static method in class org.osgl.util.Keyword
 
of(ELEMENT, ELEMENT) - Method in class org.osgl.util.LazyRange
 
of(OutputStream) - Static method in class org.osgl.util.Output.Adaptors
 
of(Writer) - Static method in class org.osgl.util.Output.Adaptors
 
of(Appendable) - Static method in class org.osgl.util.Output.Adaptors
 
of(String) - Static method in class org.osgl.util.Str
 
of(Character...) - Static method in class org.osgl.util.Str
 
of(char...) - Static method in class org.osgl.util.Str
 
of(StringBuilder) - Static method in class org.osgl.util.Str
 
of(Iterable<Character>) - Static method in class org.osgl.util.Str
 
of(Collection<Character>) - Static method in class org.osgl.util.Str
 
of(Iterator<Character>) - Static method in class org.osgl.util.Str
 
of(Object) - Static method in class org.osgl.util.ValueObject
 
offset(int, int) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
offsetByCodePoints(int, int) - Method in class org.osgl.util.S.Buffer
Returns the index within this sequence that is offset from the given index by codePointOffset code points.
offsetX(int) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
offsetY(int) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
onlyIn(Collection<? extends T>) - Method in class org.osgl.Lang.Var
 
onlyIn(Collection<? extends T>) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in the col collection specified but not in this set
onlyIn(Collection<? extends T>) - Method in class org.osgl.util.SetBase
 
open() - Method in class org.osgl.util.BufferedOutput
 
open() - Method in interface org.osgl.util.Output
Prepare this Output instance for appending.
open() - Method in class org.osgl.util.OutputStreamOutput
 
open() - Method in class org.osgl.util.S.Buffer
 
open() - Method in class org.osgl.util.WriterOutput
 
or(Collection<Lang.Function<? super T, Boolean>>) - Static method in enum org.osgl.Lang.F
Returns a composed Lang.Predicate function that for any given parameter, the test result is true only when any one of the specified predicates returns true when applied to the parameter
or(Lang.Function<? super T, Boolean>...) - Static method in enum org.osgl.Lang.F
Returns a composed Lang.Predicate function that for any given parameter, the test result is true when any one of the specified predicates returns true on the parameter
or(Lang.Function<? super T, Boolean>...) - Method in class org.osgl.Lang.Predicate
Return an Predicate predicate from a list of Function<Boolean, T> with OR operation.
order() - Method in interface org.osgl.util.C.Range
Returns a Osgl.Func2 function that takes two elements in the range domain and returns an integer to determine the order of the two elements.
order() - Method in class org.osgl.util.LazyRange
 
ordering - Variable in class org.osgl.util.LazyRange
 
orElse(Lang.Func0<? extends R>) - Method in class org.osgl.Lang.F0
Returns a composed function that when applied, try to apply this function first, in case a RuntimeException is captured apply to the fallback function specified.
orElse(Lang.Function<? super P1, ? extends R>) - Method in class org.osgl.Lang.F1
Returns a composed function that when applied, try to apply this function first, in case a NotAppliedException is captured apply to the fallback function specified.
orElse(Lang.Func2<? super P1, ? super P2, ? extends R>) - Method in class org.osgl.Lang.F2
Returns a composed function that when applied, try to apply this function first, in case a NotAppliedException is captured apply to the fallback function specified.
orElse(Lang.Func3<? super P1, ? super P2, ? super P3, ? extends R>) - Method in class org.osgl.Lang.F3
Returns a composed function that when applied, try to apply this function first, in case a NotAppliedException is captured apply to the fallback function specified.
orElse(Lang.Func4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R>) - Method in class org.osgl.Lang.F4
Returns a composed function that when applied, try to apply this function first, in case a NotAppliedException is captured apply to the fallback function specified.
orElse(Lang.Func5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R>) - Method in class org.osgl.Lang.F5
Returns a composed function that when applied, try to apply this function first, in case a NotAppliedException is captured apply to the fallback function specified.
orElse(T) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Lang.Option.orElse(Object) on this Option
orElse(Lang.Func0<? extends T>) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Option#orElse(Func0) on this Option
orElse(T) - Method in class org.osgl.Lang.Option
Return the value if present, otherwise return other.
orElse(Lang.Func0<? extends T>) - Method in class org.osgl.Lang.Option
Return the value if present, otherwise invoke other and return the result of that invocation.
org.osgl - package org.osgl
 
org.osgl.cache - package org.osgl.cache
 
org.osgl.concurrent - package org.osgl.concurrent
 
org.osgl.exception - package org.osgl.exception
 
org.osgl.util - package org.osgl.util
 
org.osgl.util.algo - package org.osgl.util.algo
 
org.osgl.util.converter - package org.osgl.util.converter
 
org.osgl.web.util - package org.osgl.web.util
 
OS - Static variable in class org.osgl.Lang
 
os(File) - Static method in enum org.osgl.util.Img
 
os(OutputStream) - Static method in enum org.osgl.util.Img
 
os() - Static method in class org.osgl.util.IO
Deprecated.
os(File) - Static method in class org.osgl.util.IO
Returns a file output stream
OS - Enum in org.osgl.util
Operating system enum
Osgl - Class in org.osgl
Deprecated.
Osgl() - Constructor for class org.osgl.Osgl
Deprecated.
 
OsglConfig - Class in org.osgl
 
OsglConfig() - Constructor for class org.osgl.OsglConfig
 
Output - Interface in org.osgl.util
Output is an Appendable with extra methods to append ByteBuffer and byte[].
Output.Adaptors - Class in org.osgl.util
 
Output.Adaptors() - Constructor for class org.osgl.util.Output.Adaptors
 
OutputStreamOutput - Class in org.osgl.util
 
OutputStreamOutput(OutputStream) - Constructor for class org.osgl.util.OutputStreamOutput
 

P

p(Object) - Method in class org.osgl.util.S.Buffer
p(String) - Method in class org.osgl.util.S.Buffer
p(StringBuffer) - Method in class org.osgl.util.S.Buffer
p(StringBuilder) - Method in class org.osgl.util.S.Buffer
p(S.Buffer) - Method in class org.osgl.util.S.Buffer
Alias of #prepend(Buffer)
p(CharSequence) - Method in class org.osgl.util.S.Buffer
p(char[]) - Method in class org.osgl.util.S.Buffer
p(boolean) - Method in class org.osgl.util.S.Buffer
p(char) - Method in class org.osgl.util.S.Buffer
p(int) - Method in class org.osgl.util.S.Buffer
p(long) - Method in class org.osgl.util.S.Buffer
p(float) - Method in class org.osgl.util.S.Buffer
p(double) - Method in class org.osgl.util.S.Buffer
padLeft(char, int) - Method in class org.osgl.util.FastStr
 
padLeft(int) - Method in class org.osgl.util.FastStr
 
padLeft(String, char, int) - Static method in class org.osgl.util.S
Left pad a string with character specified
padLeft(String, int) - Static method in class org.osgl.util.S
Left pad a string with number of space specified
padLeft(char, int) - Method in class org.osgl.util.Str
 
padLeft(int) - Method in class org.osgl.util.Str
 
padLeft(char, int) - Method in class org.osgl.util.StrBase
Returns a str instance with times of char c left pad to the current str
padLeft(int) - Method in class org.osgl.util.StrBase
Returns a str instance with times of char ' ' (space) left pad to the current str
padRight(char, int) - Method in class org.osgl.util.FastStr
 
padRight(int) - Method in class org.osgl.util.FastStr
 
padRight(String, char, int) - Static method in class org.osgl.util.S
Right pad a string with character specified
padRight(String, int) - Static method in class org.osgl.util.S
Right pad a string with number of space specified
padRight(char, int) - Method in class org.osgl.util.Str
 
padRight(int) - Method in class org.osgl.util.Str
 
padRight(char, int) - Method in class org.osgl.util.StrBase
Returns a str instance with times of char c right pad to the current str
padRight(int) - Method in class org.osgl.util.StrBase
Returns a str instance with times of char ' ' (space) right pad to the current str
Pair(A, B) - Static method in class org.osgl.Lang
 
pair(Lang.T2<String, String>) - Static method in class org.osgl.util.S
 
pair(String, String) - Static method in class org.osgl.util.S
 
parallel() - Method in class org.osgl.Lang.Var
 
parallel() - Method in class org.osgl.util.C.Array
 
parallel() - Method in interface org.osgl.util.C.List
Returns this traversable and make sure C.Feature.PARALLEL is set
parallel() - Method in interface org.osgl.util.C.ListOrSet
 
parallel() - Method in interface org.osgl.util.C.ReversibleSequence
Returns this traversable and make sure C.Feature.PARALLEL is set
parallel() - Method in interface org.osgl.util.C.Sequence
Returns this traversable and make sure C.Feature.PARALLEL is set
parallel() - Method in interface org.osgl.util.C.Set
 
parallel() - Method in interface org.osgl.util.C.Traversable
Returns this traversable and try to turn on C.Feature.PARALLEL.
parallel() - Method in class org.osgl.util.FastStr
 
parallel() - Method in class org.osgl.util.ListBase
 
parallel() - Method in class org.osgl.util.SequenceBase
 
parallel() - Method in class org.osgl.util.SetBase
 
parallel() - Method in class org.osgl.util.StrBase
 
parallel() - Method in class org.osgl.util.TraversableBase
 
parent(File) - Static method in class org.osgl.util.IO
 
PARENTHESES - Static variable in class org.osgl.util.S
A pair of parentheses: ( and )
parkLeft() - Method in interface org.osgl.util.C.List.Cursor
Park the cursor at the position before the first element.
parkRight() - Method in interface org.osgl.util.C.List.Cursor
Park the cursor at the position after the last element
parse(String) - Method in class org.osgl.util.BigDecimalValueObjectCodec
 
parse(String) - Method in class org.osgl.util.BigIntegerValueObjectCodec
 
parse(String) - Method in class org.osgl.util.FastJsonObjectCodec
 
parse(String) - Method in class org.osgl.util.KeywordValueObjectCodec
 
parse(String) - Method in class org.osgl.util.KVCodec
 
parse(String) - Method in interface org.osgl.util.ValueObject.Codec
 
parse(String) - Static method in class org.osgl.web.util.UserAgent
 
passwordHash(String) - Static method in enum org.osgl.util.Crypto
Create a password hash using the default hashing algorithm
passwordHash(String, Crypto.HashType) - Static method in enum org.osgl.util.Crypto
Create a password hash using specific hashing algorithm
passwordHash(char[]) - Static method in enum org.osgl.util.Crypto
Create a password hash using the default hashing algorithm
passwordHash(char[], Crypto.HashType) - Static method in enum org.osgl.util.Crypto
Create a password hash using specific hashing algorithm
PATH_SEP - Static variable in class org.osgl.util.S
PATH_SEP_CHAR - Static variable in class org.osgl.util.S
The {@link File#pathSeparatorChar
pathConcat(String, char, String) - Static method in class org.osgl.util.S
 
pathSeparator() - Method in enum org.osgl.util.OS
 
pattern - Variable in class org.osgl.util.S._Replace
 
pattern - Variable in class org.osgl.util.S._Replace2
 
PATTERN_COMMON_SEP - Static variable in class org.osgl.util.S
A precompiled Pattern of S.COMMON_SEP
PI - Static variable in class org.osgl.util.N
The double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.
pipeline(P) - Method in class org.osgl.util.Img.ProcessorStage
Pipeline the target image as an input (source) image to to another processor
pipeline(Class<? extends P>) - Method in class org.osgl.util.Img.ProcessorStage
 
pipeline() - Method in class org.osgl.util.Img.ProcessorStage
 
PNG_MIME_TYPE - Static variable in enum org.osgl.util.Img
 
pos(CharSequence, int) - Method in class org.osgl.util.StrBase
pos(CharSequence) - Method in class org.osgl.util.StrBase
pos(int) - Method in class org.osgl.util.StrBase
pos(T) - Method in class org.osgl.util.StrBase
pos(int, int) - Method in class org.osgl.util.StrBase
pos(T, int) - Method in class org.osgl.util.StrBase
positive() - Method in class org.osgl.util.N._IntRequire
 
positive(String, Object...) - Method in class org.osgl.util.N._IntRequire
 
pow(double) - Method in class org.osgl.util.N.Num
 
pow(double, double) - Static method in class org.osgl.util.N
 
predefined() - Static method in class org.osgl.util.StringValueResolver
 
predefined(Class<T>) - Static method in class org.osgl.util.StringValueResolver
 
predicate(Lang.Function<? super T, Boolean>) - Static method in class org.osgl.Lang
Convert a Function<T, Boolean> typed function to Predicate<T> function.
prepend(T) - Method in interface org.osgl.util.C.List.Cursor
Add an element in front of the element this cursor points to.
prepend(T) - Method in interface org.osgl.util.C.List
 
prepend(Collection<? extends T>) - Method in interface org.osgl.util.C.List
 
prepend(C.List<T>) - Method in interface org.osgl.util.C.List
 
prepend(T, C.Sequence<T>) - Static method in class org.osgl.util.C
 
prepend(T) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a sequence consists of the element specified followed by all elements of this sequence.
prepend(C.ReversibleSequence<T>) - Method in interface org.osgl.util.C.ReversibleSequence
Returns an new reversible sequence contains all elements in specified reversible sequence followed by all elements in this sequence
prepend(Iterable<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of the iterable specified followed by all elements of this sequence
prepend(Iterator<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of the iterator specified followed by all elements of this sequence
prepend(Enumeration<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of the enumeration specified followed by all elements of this sequence
prepend(C.Sequence<? extends T>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of all elements of the sequence specified followed by all elements of this sequence
prepend(T) - Method in interface org.osgl.util.C.Sequence
Returns a sequence consists of the element specified followed by all elements of this sequence.
prepend(Collection<? extends Character>) - Method in class org.osgl.util.FastStr
 
prepend(C.List<Character>) - Method in class org.osgl.util.FastStr
 
prepend(char...) - Method in class org.osgl.util.FastStr
 
prepend(Character) - Method in class org.osgl.util.FastStr
 
prepend(FastStr) - Method in class org.osgl.util.FastStr
 
prepend(String) - Method in class org.osgl.util.FastStr
 
prepend(Collection<? extends T>) - Method in class org.osgl.util.ListBase
 
prepend(Iterable<? extends T>) - Method in class org.osgl.util.ListBase
 
prepend(Iterator<? extends T>) - Method in class org.osgl.util.ListBase
 
prepend(Enumeration<? extends T>) - Method in class org.osgl.util.ListBase
 
prepend(C.Sequence<? extends T>) - Method in class org.osgl.util.ListBase
Returns a sequence consists of all elements of the sequence specified followed by all elements of this sequence
prepend(C.ReversibleSequence<T>) - Method in class org.osgl.util.ListBase
 
prepend(C.List<T>) - Method in class org.osgl.util.ListBase
This method will NOT change the underline list
prepend(T) - Method in class org.osgl.util.ListBase
Returns a sequence consists of the element specified followed by all elements of this sequence.
prepend(Object) - Method in class org.osgl.util.S.Buffer
 
prepend(String) - Method in class org.osgl.util.S.Buffer
 
prepend(StringBuffer) - Method in class org.osgl.util.S.Buffer
 
prepend(StringBuilder) - Method in class org.osgl.util.S.Buffer
 
prepend(S.Buffer) - Method in class org.osgl.util.S.Buffer
 
prepend(CharSequence) - Method in class org.osgl.util.S.Buffer
 
prepend(char[]) - Method in class org.osgl.util.S.Buffer
 
prepend(boolean) - Method in class org.osgl.util.S.Buffer
Appends the string representation of the boolean argument to the sequence.
prepend(char) - Method in class org.osgl.util.S.Buffer
 
prepend(int) - Method in class org.osgl.util.S.Buffer
 
prepend(long) - Method in class org.osgl.util.S.Buffer
 
prepend(float) - Method in class org.osgl.util.S.Buffer
 
prepend(double) - Method in class org.osgl.util.S.Buffer
 
prepend(String) - Static method in enum org.osgl.util.S.F
 
prepend(Iterable<? extends T>) - Method in class org.osgl.util.SequenceBase
 
prepend(Iterator<? extends T>) - Method in class org.osgl.util.SequenceBase
 
prepend(Enumeration<? extends T>) - Method in class org.osgl.util.SequenceBase
 
prepend(C.Sequence<? extends T>) - Method in class org.osgl.util.SequenceBase
 
prepend(T) - Method in class org.osgl.util.SequenceBase
 
prepend(Collection<? extends Character>) - Method in class org.osgl.util.Str
 
prepend(C.List<Character>) - Method in class org.osgl.util.Str
 
prepend(char...) - Method in class org.osgl.util.Str
 
prepend(Character) - Method in class org.osgl.util.Str
 
prepend(Str) - Method in class org.osgl.util.Str
 
prepend(String) - Method in class org.osgl.util.Str
 
prepend(Collection<? extends Character>) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance prepended with all characters in teh collection
prepend(C.List<Character>) - Method in class org.osgl.util.StrBase
Return a str instance contains all characters of this str instance prepended with all characters in the list specified
prepend(char...) - Method in class org.osgl.util.StrBase
Return a str instance contains all characters of this str instance prepended with all characters in the array specified
prepend(Character) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance prepended with the character specified
prepend(T) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance prepended with all characters in the str specified
prepend(String) - Method in class org.osgl.util.StrBase
Returns a str instance contains all characters of this str instance prepended with all characters in the String specified
prependList(C.List<T>) - Method in class org.osgl.util.ListBase
 
prependReversibleSeq(C.ReversibleSequence<T>) - Method in class org.osgl.util.ListBase
 
prependTo(Deque<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that prepend an element to a deque specified and return the deque instance
prependTo(C.Sequence<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that prepend the argument to a C.Sequence specified
PreprocessedStringSearch - Class in org.osgl.util.algo
Encapsulate a preprocessed String search which contains 1.
PreprocessedStringSearch() - Constructor for class org.osgl.util.algo.PreprocessedStringSearch
 
preTransform() - Method in class org.osgl.util.Img.ProcessorStage
 
prev - Variable in class org.osgl.util.LazyRange
 
previous() - Method in class org.osgl.util.SingletonListIterator
 
previous() - Method in class org.osgl.util.ZippedListIterator
 
previousIndex() - Method in class org.osgl.util.SingletonListIterator
 
previousIndex() - Method in class org.osgl.util.ZippedListIterator
 
primitiveTypeOf(Class) - Static method in class org.osgl.Lang
 
PRINT - Static variable in class org.osgl.util.IO.F
 
print() - Static method in class org.osgl.util.IO.F
 
print(String, String) - Static method in class org.osgl.util.IO.F
 
print(String, String, PrintStream) - Static method in class org.osgl.util.IO.F
 
PRINTLN - Static variable in class org.osgl.util.IO.F
 
println() - Static method in class org.osgl.util.IO.F
 
process(T) - Method in class org.osgl.Lang.Processor
Subclass must override thie method to process the parameter
process(InputStream) - Method in class org.osgl.util.Img.Processor
 
process(BufferedImage) - Method in class org.osgl.util.Img.Processor
 
processor(Img.Processor) - Method in class org.osgl.util.Img._Load
 
processToken(FastStr, int) - Method in enum org.osgl.util.Keyword.Style
 
produce() - Method in class org.osgl.Lang.Producer
 
produce() - Method in class org.osgl.util.Img.Processor
 
propertyExtractor(String) - Static method in enum org.osgl.Lang.F
 
PropertyGetter - Interface in org.osgl.util
 
PropertyGetter.NullValuePolicy - Enum in org.osgl.util
 
PropertyHandler - Interface in org.osgl.util
 
propertyHandlerFactory - Static variable in class org.osgl.Lang
 
PropertyHandlerFactory - Interface in org.osgl.util
PropertySetter - Interface in org.osgl.util
The implementation of this class set a value on an entity
provides(T) - Static method in enum org.osgl.Lang.F
Return a provider that when called will return the object specified
public_() - Method in class org.osgl.Lang._IsModifier
 
put(String, Object, int) - Method in interface org.osgl.cache.CacheService
Store an item into the cache service by key and set ttl value
put(String, Object) - Method in interface org.osgl.cache.CacheService
Store an item into the cache by key and use default ttl
put(K, V) - Method in class org.osgl.util.C.Map
 
putAll(Map<? extends K, ? extends V>) - Method in class org.osgl.util.C.Map
 
putValue(String, Object) - Method in interface org.osgl.util.KV
Add an new pair (key, val) into the store.
putValue(String, Object) - Method in class org.osgl.util.KVStore
Put a simple data into the store with a key.
putValues(Map<String, Object>) - Method in interface org.osgl.util.KV
Put all (key, value) pair from an normal map into this KV map.
putValues(Map<String, Object>) - Method in class org.osgl.util.KVStore
Put a map of (key, value) pair into the store.

Q

quote(Object, char) - Static method in class org.osgl.util.S
Deprecated.
quote(String, char) - Static method in class org.osgl.util.S
Deprecated.
quote(Object, String) - Static method in class org.osgl.util.S
Deprecated.
quote(String, String) - Static method in class org.osgl.util.S
Deprecated.

R

randDouble() - Static method in class org.osgl.util.N
 
randDoubleWithSymbol() - Static method in class org.osgl.util.N
 
randFloat() - Static method in class org.osgl.util.N
 
randFloatWithSymbol() - Static method in class org.osgl.util.N
 
randInt() - Static method in class org.osgl.util.N
 
randInt(int) - Static method in class org.osgl.util.N
 
randIntWithSymbol() - Static method in class org.osgl.util.N
 
randIntWithSymbol(int) - Static method in class org.osgl.util.N
 
randLong() - Static method in class org.osgl.util.N
 
randLongWithSymbol() - Static method in class org.osgl.util.N
 
random(T, T...) - Static method in class org.osgl.Lang
 
random(T[]) - Static method in class org.osgl.Lang
 
random(List<T>) - Static method in class org.osgl.Lang
 
random(C.Range<T>) - Static method in class org.osgl.Lang
 
RANDOM - Static variable in enum org.osgl.util.S.F
 
random() - Static method in enum org.osgl.util.S.F
 
random(int) - Static method in enum org.osgl.util.S.F
 
random(int) - Static method in class org.osgl.util.S
Generate random string.
random() - Static method in class org.osgl.util.S
 
RANDOM_COLOR_VALUE - Static variable in enum org.osgl.util.Img.F
 
RANDOM_N - Static variable in enum org.osgl.util.S.F
 
randomPixels(int, int) - Static method in enum org.osgl.util.Img.F
A function that generates a background image with pixels with random color
randomStr() - Static method in class org.osgl.Lang
 
randomStr(int) - Static method in class org.osgl.Lang
 
range(int, int) - Static method in class org.osgl.util.C
Returns a C.Range of integer specified by from and to.
range(byte, byte) - Static method in class org.osgl.util.C
Returns a C.Range of byte specified by from and to.
range(short, short) - Static method in class org.osgl.util.C
Returns a C.Range of short specified by from and to.
range(long, long) - Static method in class org.osgl.util.C
Returns a C.Range of long specified by from and to.
read(InputStream) - Static method in enum org.osgl.util.Img
 
read(File) - Static method in enum org.osgl.util.Img
 
read(URL) - Static method in enum org.osgl.util.Img
 
readable() - Method in class org.osgl.util.Keyword
 
readContent(File) - Static method in class org.osgl.util.IO
Read binary content of a file (warning does not use on large file !)
readContent(InputStream) - Static method in class org.osgl.util.IO
 
readContentAsString(File) - Static method in class org.osgl.util.IO
Read file content to a String (always use utf-8)
readContentAsString(URL, String) - Static method in class org.osgl.util.IO
Read file content to a String
readContentAsString(URL) - Static method in class org.osgl.util.IO
Read file content to a String (always use utf-8)
readContentAsString(File, String) - Static method in class org.osgl.util.IO
Read file content to a String
readContentAsString(InputStream) - Static method in class org.osgl.util.IO
 
readContentAsString(InputStream, String) - Static method in class org.osgl.util.IO
 
reader() - Static method in class org.osgl.util.IO
Returns an empty reader
reader(File) - Static method in class org.osgl.util.IO
Returns a file reader
reader(byte[]) - Static method in class org.osgl.util.IO
 
reader(InputStream) - Static method in class org.osgl.util.IO
 
reader(URL) - Static method in class org.osgl.util.IO
 
reader(String) - Static method in class org.osgl.util.IO
Returns a string reader from a content specified
readLines(File) - Static method in class org.osgl.util.IO
 
readLines(File, int) - Static method in class org.osgl.util.IO
 
readLines(File, String) - Static method in class org.osgl.util.IO
 
readLines(File, String, int) - Static method in class org.osgl.util.IO
 
readLines(InputStream, String) - Static method in class org.osgl.util.IO
 
readLines(InputStream, String, int) - Static method in class org.osgl.util.IO
 
readLines(InputStream) - Static method in class org.osgl.util.IO
 
readLines(InputStream, int) - Static method in class org.osgl.util.IO
 
readLines(Reader) - Static method in class org.osgl.util.IO
 
readLines(Reader, int) - Static method in class org.osgl.util.IO
 
readLines(URL) - Static method in class org.osgl.util.IO
 
readLines(URL, int) - Static method in class org.osgl.util.IO
 
readLines(URL, String) - Static method in class org.osgl.util.IO
 
readLines(URL, String, int) - Static method in class org.osgl.util.IO
 
readOnly() - Method in interface org.osgl.util.C.List
Returns a view of this list that is readonly.
readOnly() - Method in class org.osgl.util.C.Map
 
readOnly(boolean) - Method in class org.osgl.util.C.Map
 
readOnly - Variable in class org.osgl.util.DelegatingIterator
 
readOnly() - Method in class org.osgl.util.ListBase
 
readOnly() - Method in class org.osgl.util.StrBase
 
reduce(R, Lang.Func2<R, T, R>) - Method in class org.osgl.Lang.Var
 
reduce(Lang.Func2<T, T, T>) - Method in class org.osgl.Lang.Var
 
reduce(R, Lang.Func2<R, T, R>) - Method in interface org.osgl.util.C.Sequence
Performs a reduction on the elements in this traversable, using the provided identity and accumulating function.
reduce(Lang.Func2<T, T, T>) - Method in interface org.osgl.util.C.Sequence
Performs a reduction on the elements in this traversable, using provided accumulating function.
reduce(R, Lang.Func2<R, T, R>) - Method in interface org.osgl.util.C.Traversable
Performs a reduction on the elements in this traversable, using the provided identity and accumulating function.
reduce(Lang.Func2<T, T, T>) - Method in interface org.osgl.util.C.Traversable
Performs a reduction on the elements in this traversable, using provided accumulating function.
reduce(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.ListBase
 
reduce(Lang.Func2<T, T, T>) - Method in class org.osgl.util.ListBase
 
reduce(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.SetBase
 
reduce(Lang.Func2<T, T, T>) - Method in class org.osgl.util.SetBase
 
reduce(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.TraversableBase
Iterate through the traversal to apply the accumulator to the result of previous application and the element being iterated.
reduce(Lang.Func2<T, T, T>) - Method in class org.osgl.util.TraversableBase
Iterate through the traversal to apply the accumulator to the result of previous application and the element being iterated.
reduceLeft(R, Lang.Func2<R, T, R>) - Method in class org.osgl.Lang.Var
 
reduceLeft(Lang.Func2<T, T, T>) - Method in class org.osgl.Lang.Var
 
reduceLeft(R, Lang.Func2<R, T, R>) - Method in interface org.osgl.util.C.Sequence
Run reduction from header side.
reduceLeft(Lang.Func2<T, T, T>) - Method in interface org.osgl.util.C.Sequence
Run reduction from head to tail.
reduceLeft(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.ListBase
 
reduceLeft(Lang.Func2<T, T, T>) - Method in class org.osgl.util.ListBase
 
reduceLeft(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.SequenceBase
Delegate to TraversableBase#reduce(Object, org.osgl.Osgl.Func2)
reduceLeft(Lang.Func2<T, T, T>) - Method in class org.osgl.util.SequenceBase
Delegate to TraversableBase#reduce(org.osgl.Osgl.Func2)
reduceRight(R, Lang.Func2<R, T, R>) - Method in class org.osgl.Lang.Var
 
reduceRight(Lang.Func2<T, T, T>) - Method in class org.osgl.Lang.Var
 
reduceRight(R, Lang.Func2<R, ELEMENT, R>) - Method in interface org.osgl.util.C.Range
 
reduceRight(Lang.Func2<ELEMENT, ELEMENT, ELEMENT>) - Method in interface org.osgl.util.C.Range
 
reduceRight(R, Lang.Func2<R, T, R>) - Method in interface org.osgl.util.C.ReversibleSequence
Run reduction from tail side.
reduceRight(Lang.Func2<T, T, T>) - Method in interface org.osgl.util.C.ReversibleSequence
Run reduction from tail to head.
reduceRight(R, Lang.Func2<R, ELEMENT, R>) - Method in class org.osgl.util.LazyRange
 
reduceRight(Lang.Func2<ELEMENT, ELEMENT, ELEMENT>) - Method in class org.osgl.util.LazyRange
 
reduceRight(R, Lang.Func2<R, T, R>) - Method in class org.osgl.util.ListBase
 
reduceRight(Lang.Func2<T, T, T>) - Method in class org.osgl.util.ListBase
 
ReflectionPropertyGetter - Class in org.osgl.util
Implement PropertyGetter using Java reflection
ReflectionPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, Class, Method, Field, ReflectionPropertyHandlerFactory) - Constructor for class org.osgl.util.ReflectionPropertyGetter
 
ReflectionPropertyGetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, PropertyGetter.NullValuePolicy, Class, Method, Field, ReflectionPropertyHandlerFactory) - Constructor for class org.osgl.util.ReflectionPropertyGetter
 
ReflectionPropertyGetter(Class, Method, Field, ReflectionPropertyHandlerFactory) - Constructor for class org.osgl.util.ReflectionPropertyGetter
 
ReflectionPropertyGetter(PropertyGetter.NullValuePolicy, Class, Method, Field) - Constructor for class org.osgl.util.ReflectionPropertyGetter
 
ReflectionPropertyHandlerFactory - Class in org.osgl.util
Create PropertyGetter and PropertySetter based on Java reflection
ReflectionPropertyHandlerFactory() - Constructor for class org.osgl.util.ReflectionPropertyHandlerFactory
 
ReflectionPropertySetter - Class in org.osgl.util
Implement PropertySetter using Java reflection
ReflectionPropertySetter(Class, Method, Field) - Constructor for class org.osgl.util.ReflectionPropertySetter
 
ReflectionPropertySetter(Lang.Function<Class<?>, Object>, Lang.Func2<String, Class<?>, ?>, Class, Method, Field) - Constructor for class org.osgl.util.ReflectionPropertySetter
 
regionMatches(boolean, int, FastStr, int, int) - Method in class org.osgl.util.FastStr
 
regionMatches(boolean, int, CharSequence, int, int) - Method in class org.osgl.util.FastStr
 
regionMatches(boolean, int, Str, int, int) - Method in class org.osgl.util.Str
 
regionMatches(boolean, int, CharSequence, int, int) - Method in class org.osgl.util.Str
 
regionMatches(boolean, int, T, int, int) - Method in class org.osgl.util.StrBase
Tests if two string regions are equal.
regionMatches(boolean, int, CharSequence, int, int) - Method in class org.osgl.util.StrBase
Tests if two string regions are equal.
regionMatches(int, T, int, int) - Method in class org.osgl.util.StrBase
 
regionMatches(int, String, int, int) - Method in class org.osgl.util.StrBase
 
register(Lang.TypeConverter) - Method in class org.osgl.util.converter.TypeConverterRegistry
 
register(ValueObject.Codec) - Static method in class org.osgl.util.ValueObject
 
registerBoolTester(Lang.Function<Object, Boolean>) - Method in class org.osgl.Lang.Conf
Register a boolean tester.
remove() - Method in interface org.osgl.concurrent.ContextLocal
Removes the current context’s value for this context-local variable.
remove() - Method in class org.osgl.concurrent.JDKThreadLocal
 
remove(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
remove(int) - Method in class org.osgl.Lang.Var
 
remove(Object) - Method in class org.osgl.Lang.Var
 
remove(T) - Static method in enum org.osgl.util.C.F
Returns a function that remove the element specified from the argument collection.
remove(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.List
For mutable list, remove all element that matches the predicate specified from this List and return this list once done.
remove(Object) - Method in class org.osgl.util.C.Map
 
remove() - Method in class org.osgl.util.DelegatingIterator
 
remove() - Method in class org.osgl.util.EnumerationIterator
 
remove(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.FastStr
 
remove(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
remove() - Method in class org.osgl.util.SingletonIterator
 
remove() - Method in class org.osgl.util.SingletonListIterator
 
remove(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.Str
 
remove(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.StrBase
Returns a str that with all characters in this str instance except those matches the test of predicate function specified
remove(int) - Method in class org.osgl.util.StrBase
 
remove() - Method in class org.osgl.util.ZippedListIterator
 
removeAll(Collection<?>) - Method in class org.osgl.Lang.Var
 
removeAll(Collection<? extends T>) - Static method in enum org.osgl.util.C.F
Returns a function that remove all elements in the source collection from the argument collection.
removeAllFrom(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that remove all elements in the argument collection from the fromCollection specified.
removeFrom(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that remove the argument from a collection specified.
removeRange(int, int) - Method in class org.osgl.Lang.Var
 
repeat(String) - Static method in class org.osgl.util.S
 
repeat(char) - Static method in class org.osgl.util.S
 
replace(char[], char[], char[], int) - Method in class org.osgl.util.algo.StringReplace
Sub class shall implement the replacement logic in this method
replace(char[], char[], char[], int) - Method in class org.osgl.util.algo.StringReplace.SimpleStringReplace
 
replace(char, char) - Method in class org.osgl.util.FastStr
Wrapper of String.replace(char, char) but return FastStr instance
replace(CharSequence, CharSequence) - Method in class org.osgl.util.FastStr
Wrapper of String.replace(CharSequence, CharSequence) but return FastStr type instance
replace(String) - Method in class org.osgl.util.S._Have
 
replace(Pattern) - Method in class org.osgl.util.S._Have
 
replace(char) - Method in class org.osgl.util.S._Have
 
replace(int, int, String) - Method in class org.osgl.util.S.Buffer
Replaces the characters in a substring of this sequence with characters in the specified String.
replace(Pattern) - Static method in class org.osgl.util.S
 
replace(Object) - Static method in class org.osgl.util.S
 
replace(String) - Static method in class org.osgl.util.S
 
replace(char) - Static method in class org.osgl.util.S
 
replace(char, char) - Method in class org.osgl.util.Str
 
replace(CharSequence, CharSequence) - Method in class org.osgl.util.Str
 
replace(char, char) - Method in class org.osgl.util.StrBase
Returns a new str resulting from replacing all occurrences of oldChar in this string with newChar.
replace(CharSequence, CharSequence) - Method in class org.osgl.util.StrBase
Replaces each substring of this str that matches the literal target sequence with the specified literal replacement sequence.
replaceAll(String, String) - Method in class org.osgl.util.FastStr
Wrapper of String.replaceAll(String, String) but return FastStr type instance
replaceAll(String, String) - Method in class org.osgl.util.Str
 
replaceAll(String, String) - Method in class org.osgl.util.StrBase
Replaces each substr of this str that matches the given regular expression with the given replacement.
replaceFirst(String, String) - Method in class org.osgl.util.FastStr
Wrapper of String.replaceFirst(String, String) but return FastStr inance
replaceFirst(String, String) - Method in class org.osgl.util.Str
 
replaceFirst(String, String) - Method in class org.osgl.util.StrBase
Replaces the first substring of this str that matches the given regular expression with the given replacement.
replacer(Lang.Func4<char[], char[], char[], Integer, char[]>) - Method in class org.osgl.util.S._Replace
 
replacer(Lang.Func4<char[], char[], char[], Integer, char[]>) - Method in class org.osgl.util.S._Replace2
 
require(int) - Static method in class org.osgl.util.N
 
requireAlpha(float) - Static method in class org.osgl.util.N
Image alpha float range is 0.0f to 1.0f inclusive
requireNegative(int) - Static method in class org.osgl.util.N
 
requireNonNegative(int) - Static method in class org.osgl.util.N
 
requireNotBlank(String) - Static method in class org.osgl.util.S
Throw IllegalArgumentException if the string specified is blank, otherwise return the string specified
requireNotEmpty(String) - Static method in class org.osgl.util.S
Throw IllegalArgumentException if the string specified S.isEmpty(String) is empty}, otherwise return the string specified
requireNotNaN(float) - Static method in class org.osgl.util.N
 
requireNotNull(T) - Static method in class org.osgl.Lang
Return the object if it is not null, otherwise throw out NullPointerException.
requirePositive(int) - Static method in class org.osgl.util.N
 
requirePositive(int, String, Object...) - Static method in class org.osgl.util.N
 
requirePositive(float) - Static method in class org.osgl.util.N
 
reset() - Method in class org.osgl.util.S.Buffer
 
resize() - Method in class org.osgl.util.Img._Load
 
resize(float) - Method in class org.osgl.util.Img._Load
 
resize(int, int) - Method in class org.osgl.util.Img._Load
 
resize(Lang.Tuple<Integer, Integer>) - Method in class org.osgl.util.Img._Load
 
resize(Dimension) - Method in class org.osgl.util.Img._Load
 
resize(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
resolve(String) - Method in class org.osgl.util.BigDecimalValueObjectCodec
 
resolve(String) - Method in class org.osgl.util.BigIntegerValueObjectCodec
 
resolve(String) - Method in class org.osgl.util.FastJsonObjectCodec
 
resolve(String) - Method in class org.osgl.util.KeywordValueObjectCodec
 
resolve(String) - Method in class org.osgl.util.KVCodec
 
resolve(String) - Method in class org.osgl.util.StringValueResolver
 
resolvers - Variable in class org.osgl.util.SimpleStringValueResolver
 
retainAll(Collection<?>) - Method in class org.osgl.Lang.Var
 
retainAll(Collection<? extends T>) - Static method in enum org.osgl.util.C.F
Returns a function that retains only elements contained in the specified collection in the argument collection.
retainAllIn(Collection<? super T>) - Static method in enum org.osgl.util.C.F
Returns a function that retains only elements contained in the argument collection in the collection specified.
reverse(Comparator<? super T>) - Static method in enum org.osgl.Lang.F
 
reverse(boolean[]) - Static method in class org.osgl.Lang
 
reverse(byte[]) - Static method in class org.osgl.Lang
 
reverse(char[]) - Static method in class org.osgl.Lang
 
reverse(short[]) - Static method in class org.osgl.Lang
 
reverse(int[]) - Static method in class org.osgl.Lang
 
reverse(float[]) - Static method in class org.osgl.Lang
 
reverse(long[]) - Static method in class org.osgl.Lang
 
reverse(double[]) - Static method in class org.osgl.Lang
 
reverse(Object[]) - Static method in class org.osgl.Lang
 
reverse() - Method in class org.osgl.Lang.Var
 
reverse(T[], int, int) - Method in class org.osgl.util.algo.ArrayReverse
 
reverse(T[], int, int) - Method in class org.osgl.util.algo.ArrayReverseInplace
 
reverse() - Method in class org.osgl.util.C.Array
 
reverse() - Method in interface org.osgl.util.C.List
 
reverse() - Method in interface org.osgl.util.C.Range
 
reverse() - Method in interface org.osgl.util.C.ReversibleSequence
Returns an new Sequence that reverse this Sequence.
reverse() - Method in class org.osgl.util.FastStr
 
reverse() - Method in class org.osgl.util.Img.Concatenater.Stage
 
reverse() - Method in class org.osgl.util.LazyRange
 
reverse() - Method in class org.osgl.util.ListBase
 
reverse() - Method in class org.osgl.util.S.Buffer
Causes this character sequence to be replaced by the reverse of the sequence.
reverse() - Method in class org.osgl.util.Str
 
reverse() - Method in class org.osgl.util.StrBase
Returns a str that contains all characters in this str instance but in a reversed order.
REVERSE_ORDER - Static variable in enum org.osgl.Lang.F
 
REVERSE_ORDER - Variable in enum org.osgl.util.StrBase.F
 
reversed() - Method in class org.osgl.Lang.Comparator
reverseIterator() - Method in class org.osgl.Lang.Var
 
reverseIterator() - Method in class org.osgl.util.C.Array
 
reverseIterator() - Method in interface org.osgl.util.C.Range
 
reverseIterator() - Method in interface org.osgl.util.C.ReversibleSequence
Returns an Iterator iterate the sequence from tail to head
reverseIterator() - Method in class org.osgl.util.LazyRange
 
reverseIterator() - Method in class org.osgl.util.ListBase
 
reverseOrder() - Static method in enum org.osgl.Lang.F
 
right() - Method in class org.osgl.Lang.Tuple
 
round(float) - Static method in class org.osgl.util.N
 
round(float, int) - Static method in class org.osgl.util.N
 
round(double) - Static method in class org.osgl.util.N
 
round(double, int) - Static method in class org.osgl.util.N
 
rpad(char, int) - Method in class org.osgl.util.FastStr
 
rpad(int) - Method in class org.osgl.util.FastStr
 
rpad(String, char, int) - Static method in class org.osgl.util.S
rpad(String, int) - Static method in class org.osgl.util.S
rpad(char, int) - Method in class org.osgl.util.Str
 
rpad(int) - Method in class org.osgl.util.Str
 
rpad(char, int) - Method in class org.osgl.util.StrBase
rpad(int) - Method in class org.osgl.util.StrBase
rpos(int) - Method in class org.osgl.util.StrBase
rpos(T) - Method in class org.osgl.util.StrBase
rpos(CharSequence, int) - Method in class org.osgl.util.StrBase
rpos(T, int) - Method in class org.osgl.util.StrBase
rpos(CharSequence) - Method in class org.osgl.util.StrBase
rpos(int, int) - Method in class org.osgl.util.StrBase
run() - Method in class org.osgl.util.Img.Concatenater
 
run() - Method in class org.osgl.util.Img.Cropper
 
run() - Method in class org.osgl.util.Img.Flip
 
run() - Method in class org.osgl.util.Img.Processor
 
run() - Method in class org.osgl.util.Img.Resizer
 
run() - Method in class org.osgl.util.Img.WaterMarker
 
runWith(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Option.f
Returns a function that when applied, run Option#runWith(Visitor) on this Option
runWith(Lang.Visitor<? super T>) - Method in class org.osgl.Lang.Option
 

S

S - Class in org.osgl.util
String utilities
S._CharRepeater - Class in org.osgl.util
 
S._Cut - Class in org.osgl.util
 
S._Ensure - Class in org.osgl.util
 
S._Have - Class in org.osgl.util
 
S._Is - Class in org.osgl.util
 
S._IterableJoiner - Class in org.osgl.util
 
S._Replace - Class in org.osgl.util
 
S._Replace2 - Class in org.osgl.util
 
S._ReplaceChar - Class in org.osgl.util
 
S._ReplaceCharStage - Class in org.osgl.util
 
S._ReplaceCharStage(char) - Constructor for class org.osgl.util.S._ReplaceCharStage
 
S._ReplaceStage - Class in org.osgl.util
 
S._StringRepeater - Class in org.osgl.util
 
S._WrapReplace - Class in org.osgl.util
 
S._WrapReplace(String, String) - Constructor for class org.osgl.util.S._WrapReplace
 
S._WrapStringBuilder - Class in org.osgl.util
 
S.Binary - Class in org.osgl.util
 
S.Binary(String, String) - Constructor for class org.osgl.util.S.Binary
 
S.Binary(Lang.Tuple<String, String>) - Constructor for class org.osgl.util.S.Binary
 
S.Buffer - Class in org.osgl.util
A S.Buffer is OSGL’s implementation of JDK’s StringBuilder with additional method to track the state of the instance, i.e.
S.Buffer() - Constructor for class org.osgl.util.S.Buffer
This no-arg constructor is necessary for serialization of subclasses.
S.Buffer(int) - Constructor for class org.osgl.util.S.Buffer
Creates an Buffer of the specified capacity.
S.F - Enum in org.osgl.util
 
S.List - Interface in org.osgl.util
 
S.Pair - Class in org.osgl.util
 
S.Pair(String, String) - Constructor for class org.osgl.util.S.Pair
 
S.Pair(Lang.Tuple<String, String>) - Constructor for class org.osgl.util.S.Pair
 
S.Quadruple - Class in org.osgl.util
 
S.Quadruple(String, String, String, String) - Constructor for class org.osgl.util.S.Quadruple
 
S.Quadruple(Lang.Quadruple<String, String, String, String>) - Constructor for class org.osgl.util.S.Quadruple
 
S.Quintuple - Class in org.osgl.util
 
S.Quintuple(String, String, String, String, String) - Constructor for class org.osgl.util.S.Quintuple
 
S.Quintuple(Lang.Quintuple<String, String, String, String, String>) - Constructor for class org.osgl.util.S.Quintuple
 
S.T2 - Class in org.osgl.util
 
S.T2(String, String) - Constructor for class org.osgl.util.S.T2
 
S.T2(Lang.T2<String, String>) - Constructor for class org.osgl.util.S.T2
 
S.T3 - Class in org.osgl.util
 
S.T3(String, String, String) - Constructor for class org.osgl.util.S.T3
 
S.T3(Lang.Triple<String, String, String>) - Constructor for class org.osgl.util.S.T3
 
S.T4 - Class in org.osgl.util
 
S.T4(String, String, String, String) - Constructor for class org.osgl.util.S.T4
 
S.T4(Lang.Quadruple<String, String, String, String>) - Constructor for class org.osgl.util.S.T4
 
S.T5 - Class in org.osgl.util
 
S.T5(String, String, String, String, String) - Constructor for class org.osgl.util.S.T5
 
S.T5(Lang.Quintuple<String, String, String, String, String>) - Constructor for class org.osgl.util.S.T5
 
S.Triple - Class in org.osgl.util
 
S.Triple(String, String, String) - Constructor for class org.osgl.util.S.Triple
 
S.Triple(Lang.Triple<String, String, String>) - Constructor for class org.osgl.util.S.Triple
 
S.Val - Class in org.osgl.util
 
S.Val(String) - Constructor for class org.osgl.util.S.Val
 
S.Var - Class in org.osgl.util
 
S.Var(String) - Constructor for class org.osgl.util.S.Var
 
safeClassForName(String) - Static method in class org.osgl.Lang
 
safeClassForName(String, ClassLoader) - Static method in class org.osgl.Lang
 
safeNewInstance(String) - Static method in class org.osgl.Lang
 
scaleFix(Img.BinarySourceProcessor.ScaleFix) - Method in class org.osgl.util.Img.Concatenater.Stage
 
scaleToMax() - Method in class org.osgl.util.Img.Concatenater.Stage
 
search(T, T...) - Static method in class org.osgl.Lang
Search an element in a array
search(char[], char[], int) - Method in class org.osgl.util.algo.StringSearch
Search a char array in another char array with from index specified
search(char[], char[], int) - Method in class org.osgl.util.algo.StringSearch.SimpleStringSearch
 
second() - Method in class org.osgl.Lang.Quadruple
 
second() - Method in class org.osgl.Lang.Quintuple
 
second() - Method in class org.osgl.Lang.Triple
 
second() - Method in class org.osgl.Lang.Tuple
 
secondSource(BufferedImage) - Method in class org.osgl.util.Img.BinarySourceProcessor
Set second source image.
SEP_COLON - Static variable in class org.osgl.util.Keyword
 
SEP_COMMA - Static variable in class org.osgl.util.Keyword
 
SEP_DASH - Static variable in class org.osgl.util.Keyword
 
SEP_DOT - Static variable in class org.osgl.util.Keyword
 
SEP_FORWARD_SLASH - Static variable in class org.osgl.util.Keyword
 
SEP_SEMI_COLON - Static variable in class org.osgl.util.Keyword
 
SEP_SLASH - Static variable in class org.osgl.util.Keyword
 
SEP_SPACE - Static variable in class org.osgl.util.Keyword
 
SEP_UNDERSCORE - Static variable in class org.osgl.util.Keyword
 
separatorWithPrefixAndSuffix() - Method in class org.osgl.util.S._IterableJoiner
 
seq(Iterable<? extends T>) - Static method in class org.osgl.util.C
Return a C.Sequence consists of all elements in the iterable specified
seq(Iterator<? extends T>) - Static method in class org.osgl.util.C
 
seq(Enumeration<? extends T>) - Static method in class org.osgl.util.C
 
sequenceAppend(T) - Static method in enum org.osgl.util.C.F
Returns a function that append specified element to argument sequence
SequenceBase<T> - Class in org.osgl.util
Provide default implementation to some C.Sequence interface.
SequenceBase() - Constructor for class org.osgl.util.SequenceBase
 
sequencePrepend(T) - Static method in enum org.osgl.util.C.F
Returns a function that preppend specified element to argument sequence
sequential() - Method in class org.osgl.Lang.Var
 
sequential() - Method in class org.osgl.util.C.Array
 
sequential() - Method in interface org.osgl.util.C.List
Returns this traversable and make sure C.Feature.PARALLEL is unset
sequential() - Method in interface org.osgl.util.C.ListOrSet
 
sequential() - Method in interface org.osgl.util.C.ReversibleSequence
Returns this traversable and make sure C.Feature.PARALLEL is unset
sequential() - Method in interface org.osgl.util.C.Sequence
Returns this traversable and make sure C.Feature.PARALLEL is unset
sequential() - Method in interface org.osgl.util.C.Set
 
sequential() - Method in interface org.osgl.util.C.Traversable
Returns this traversable and turn off C.Feature.PARALLEL
sequential() - Method in class org.osgl.util.ListBase
 
sequential() - Method in class org.osgl.util.SequenceBase
 
sequential() - Method in class org.osgl.util.SetBase
 
sequential() - Method in class org.osgl.util.TraversableBase
 
serialize(T) - Static method in class org.osgl.Lang
 
set(T) - Method in interface org.osgl.concurrent.ContextLocal
Sets the current context’s copy of this context-local variable to the specified value.
set(T) - Method in class org.osgl.concurrent.JDKThreadLocal
 
set() - Method in class org.osgl.Lang._IsClass
 
set(T) - Method in class org.osgl.Lang.Val
 
set(int, T) - Method in class org.osgl.Lang.Val
 
set(T) - Method in class org.osgl.Lang.Var
 
set(Lang.Var<T>) - Method in class org.osgl.Lang.Var
 
set(int, T) - Method in class org.osgl.Lang.Var
 
set(int, T) - Method in class org.osgl.util.C.Array
 
set(T) - Method in interface org.osgl.util.C.List.Cursor
Replace the element this cursor points to with the new element specified.
set() - Static method in class org.osgl.util.C
Create an empty immutable set
set(T) - Static method in class org.osgl.util.C
Create an immutable set of a single element
set(T, T...) - Static method in class org.osgl.util.C
Create an immutable set contains specified elements
set(Collection<? extends T>) - Static method in class org.osgl.util.C
Create an immutable set of all elements contained in the collection specified
set(Iterable<? extends T>) - Static method in class org.osgl.util.C
Create an immutable set of all elements supplied by the iterable specified
set(Object, Object, Object) - Method in class org.osgl.util.ListPropertySetter
 
set(Object, Object, Object) - Method in class org.osgl.util.MapPropertySetter
 
set(Object, Object, Object) - Method in interface org.osgl.util.PropertySetter
After calling this method, the value will be set on a property of an entity object
set(Object, Object, Object) - Method in class org.osgl.util.ReflectionPropertySetter
 
set(int, char) - Method in class org.osgl.util.S.Buffer
set(T) - Method in class org.osgl.util.SingletonListIterator
 
set(int, Character) - Method in class org.osgl.util.StrBase
 
set(Lang.Binary<A, B>) - Method in class org.osgl.util.ZippedListIterator
 
set(String) - Static method in class org.osgl.web.util.UserAgent
Deprecated.
set1(A) - Method in class org.osgl.Lang.Quadruple
 
set1(A) - Method in class org.osgl.Lang.Quintuple
 
set1(A) - Method in class org.osgl.Lang.Triple
 
set1(A) - Method in class org.osgl.Lang.Tuple
 
set2(B) - Method in class org.osgl.Lang.Quadruple
 
set2(B) - Method in class org.osgl.Lang.Quintuple
 
set2(B) - Method in class org.osgl.Lang.Triple
 
set2(B) - Method in class org.osgl.Lang.Tuple
 
set3(C) - Method in class org.osgl.Lang.Quadruple
 
set3(C) - Method in class org.osgl.Lang.Quintuple
 
set3(C) - Method in class org.osgl.Lang.Triple
 
set4(D) - Method in class org.osgl.Lang.Quadruple
 
set4(D) - Method in class org.osgl.Lang.Quintuple
 
set5(E) - Method in class org.osgl.Lang.Quintuple
 
SetBase<T> - Class in org.osgl.util
 
SetBase() - Constructor for class org.osgl.util.SetBase
 
setCharAt(int, char) - Method in class org.osgl.util.S.Buffer
The character at the specified index is set to ch.
setCryptoService(CryptoService) - Static method in enum org.osgl.util.Crypto
 
setDefaultTTL(int) - Method in interface org.osgl.cache.CacheService
Set default ttl value which will be used if user pass 0 as ttl or not specified ttl Note some service might not favor this method after the internal cache service is initialized.
setFeature(C.Feature) - Method in class org.osgl.util.FeaturedBase
 
setFeature(C.Feature) - Method in class org.osgl.util.ListBase
 
setFeature(C.Feature) - Method in class org.osgl.util.SetBase
 
setFeature(C.Feature) - Method in class org.osgl.util.StrBase
 
setField(String, T, F) - Static method in class org.osgl.Lang
Set an object field value using reflection.
setLength(int) - Method in class org.osgl.util.S.Buffer
Sets the length of the character sequence.
setNullValuePolicy(PropertyGetter.NullValuePolicy) - Method in interface org.osgl.util.PropertyGetter
Set null value policy
setObjectFactory(Lang.Function<Class<?>, Object>) - Method in interface org.osgl.util.PropertyHandler
 
setOf(T...) - Static method in class org.osgl.util.C
Create an immutable set of an array of elements
setProperty(Object, Object, String) - Static method in class org.osgl.Lang
 
setProperty(CacheService, Object, Object, String) - Static method in class org.osgl.Lang
 
setStringBufferInitSize(int) - Static method in class org.osgl.OsglConfig
 
setStringBufferInitSize(int) - Static method in class org.osgl.util.UtilConfig
 
setStringBufferRententionLimit(int) - Static method in class org.osgl.OsglConfig
 
setStringBufferRententionLimit(int) - Static method in class org.osgl.util.UtilConfig
 
setStringValueResolver(Lang.Func2<String, Class<?>, ?>) - Method in interface org.osgl.util.PropertyHandler
 
setTargetSpec(int, int) - Method in class org.osgl.util.Img.Processor
Create Img.Processor.target image using specified width and height.
setTargetSpec(int, int, boolean) - Method in class org.osgl.util.Img.Processor
Create Img.Processor.target image using specified width, height and alpha channel flag
setter() - Method in class org.osgl.Lang.Var._f
 
setter() - Method in class org.osgl.util.ListPropertyGetter
 
setter() - Method in class org.osgl.util.MapPropertyGetter
 
setter() - Method in interface org.osgl.util.PropertyGetter
Returns the corresponding setter
setter() - Method in class org.osgl.util.ReflectionPropertyGetter
 
setValue(V) - Method in class org.osgl.util.C.Map.Entry
 
shinkToSmall() - Method in class org.osgl.util.Img.Concatenater.Stage
 
SHORT_RANGE_STEP - Static variable in class org.osgl.util.N.F
 
shortRangeStep(int) - Static method in class org.osgl.util.N.F
 
shortValue() - Method in class org.osgl.util.ValueObject
 
shouldFix() - Method in enum org.osgl.util.Img.BinarySourceProcessor.ScaleFix
 
SHU_MING_HAO - Static variable in class org.osgl.util.S
Alias of S.书名号
shutdown() - Method in interface org.osgl.cache.CacheService
Shutdown the cache service
sign(String, byte[]) - Static method in enum org.osgl.util.Crypto
Sign a message with a key
sign() - Static method in class org.osgl.util.N.F
 
sign() - Method in class org.osgl.util.N.Num
 
sign(Number) - Static method in class org.osgl.util.N
 
SimpleObjectFactory - Class in org.osgl.util
 
SimpleObjectFactory() - Constructor for class org.osgl.util.SimpleObjectFactory
 
SimpleStringValueResolver - Class in org.osgl.util
 
SimpleStringValueResolver() - Constructor for class org.osgl.util.SimpleStringValueResolver
 
SINGLE_ANGLE_QUOTATION_MARK - Static variable in class org.osgl.util.S
A pair of single angle quotation mark: (u2039) and (u203a)
SingletonIterator<T> - Class in org.osgl.util
Created with IntelliJ IDEA.
SingletonIterator(T) - Constructor for class org.osgl.util.SingletonIterator
 
singletonList(T) - Static method in class org.osgl.util.C
 
SingletonListIterator<T> - Class in org.osgl.util
Created with IntelliJ IDEA.
SingletonListIterator(T) - Constructor for class org.osgl.util.SingletonListIterator
 
size() - Method in class org.osgl.Lang.Var
 
size() - Method in class org.osgl.util.C.Array
 
size() - Method in class org.osgl.util.C.Map
 
size() - Method in interface org.osgl.util.C.Traversable
Return the size of this traversal
size() - Method in class org.osgl.util.CompositeList
 
size() - Method in class org.osgl.util.LazyRange
 
size() - Method in class org.osgl.util.ListBuilder
 
size() - Method in class org.osgl.util.StrBase
 
sizedBuffer(int) - Static method in class org.osgl.util.S
 
sizedBuilder(int) - Static method in class org.osgl.util.S
Deprecated.
snapshot() - Method in interface org.osgl.util.C.List
Returns an immutable list contains all elements of the current list.
snapshot() - Method in class org.osgl.util.ListBase
 
snapshot() - Method in class org.osgl.util.StrBase
 
some(T) - Static method in class org.osgl.Lang.Option
Returns an Option with the specified present non-null value.
some(T) - Static method in class org.osgl.Lang
 
sort(T[], int, int, Comparator<T>) - Method in interface org.osgl.util.algo.ArraySort
 
sort(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArraySortBase
 
sort(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArraySortInplaceBase
 
sort0(T[], int, int, Comparator<T>, T[]) - Method in class org.osgl.util.algo.ArrayInsertionSort
 
sort0(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArrayInsertionSortInplace
 
sort0(T[], int, int, Comparator<T>, T[]) - Method in class org.osgl.util.algo.ArrayMergeSort
 
sort0(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArrayMergeSortInplace
 
sort0(T[], int, int, Comparator<T>, T[]) - Method in class org.osgl.util.algo.ArraySimpleInsertionSort
 
sort0(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArraySimpleInsertionSortInplace
 
sort0(T[], int, int, Comparator<T>, T[]) - Method in class org.osgl.util.algo.ArraySortBase
 
sort0(T[], int, int, Comparator<T>) - Method in class org.osgl.util.algo.ArraySortInplaceBase
 
sorted() - Method in interface org.osgl.util.C.List
Returns a sorted copy of this list.
sorted(Comparator<? super T>) - Method in interface org.osgl.util.C.List
Returns a sorted copy of this list.
sorted() - Method in class org.osgl.util.ListBase
 
sorted(Comparator<? super T>) - Method in class org.osgl.util.ListBase
 
source(InputStream) - Static method in enum org.osgl.util.Img.F
 
source(File) - Static method in enum org.osgl.util.Img.F
 
source(BufferedImage) - Static method in enum org.osgl.util.Img.F
 
source - Variable in class org.osgl.util.Img.Processor
The source image
source(BufferedImage) - Method in class org.osgl.util.Img.Processor
Set source image.
source(InputStream) - Method in class org.osgl.util.Img.ProcessorStage
 
source(BufferedImage) - Method in class org.osgl.util.Img.ProcessorStage
 
source(InputStream) - Static method in enum org.osgl.util.Img
 
source(File) - Static method in enum org.osgl.util.Img
 
source(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
source(BufferedImage) - Static method in enum org.osgl.util.Img
 
source2 - Variable in class org.osgl.util.Img.BinarySourceProcessor
The second source image
source2Height - Variable in class org.osgl.util.Img.BinarySourceProcessor
The second source image height
source2Ratio - Variable in class org.osgl.util.Img.BinarySourceProcessor
The second source image width/height ratio
source2Width - Variable in class org.osgl.util.Img.BinarySourceProcessor
The second source image width
sourceHeight - Variable in class org.osgl.util.Img.Processor
The source image height
sourceRatio - Variable in class org.osgl.util.Img.Processor
The source image width/height ratio
sourceWidth - Variable in class org.osgl.util.Img.Processor
The source image width
SPEC_VERSION - Static variable in class org.osgl.util.VM
 
split(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.List
Split this list into two list based on the predicate specified.
split(String, int) - Method in class org.osgl.util.FastStr
Wrapper of String.split(String, int) but return an immutable List of FastStr instances
split(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
SPLIT - Static variable in enum org.osgl.util.S.F
A split function that use the S.COMMON_SEP to split Strings
split(String) - Static method in enum org.osgl.util.S.F
 
split(String, char) - Static method in class org.osgl.util.S
Split a string into a list of strings by specified separator char
split(String, int) - Method in class org.osgl.util.Str
 
split(String, int) - Method in class org.osgl.util.StrBase
 
split(String) - Method in class org.osgl.util.StrBase
 
sqr() - Static method in class org.osgl.util.N.F
 
sqr(Class<T>) - Static method in class org.osgl.util.N.F
 
sqrt() - Static method in class org.osgl.util.N.F
 
sqrt() - Method in class org.osgl.util.N.Num
 
sqrt(double) - Static method in class org.osgl.util.N
 
SQUARE_BRACKETS - Static variable in class org.osgl.util.S
Alias of S.BRACKETS
stackTrace(Throwable) - Static method in class org.osgl.util.E
Returns the error stack trace of a Throwable specified as a String.
STARTS_WITH - Static variable in enum org.osgl.util.S.F
 
startsWith(FastStr, int) - Method in class org.osgl.util.FastStr
 
startsWith(CharSequence, int) - Method in class org.osgl.util.FastStr
 
startsWith(String) - Static method in enum org.osgl.util.S.F
 
startsWith(String, String) - Static method in class org.osgl.util.S
 
startsWith(String, char) - Static method in class org.osgl.util.S
 
startsWith(Str, int) - Method in class org.osgl.util.Str
 
startsWith(CharSequence, int) - Method in class org.osgl.util.Str
 
startsWith(CharSequence) - Method in class org.osgl.util.StrBase
Check if this str starts with the given char sequence
startsWith(T) - Method in class org.osgl.util.StrBase
Check if this str starts with the given str
startsWith(T, int) - Method in class org.osgl.util.StrBase
Check this str instance starts with str, with the search starts at specified offset
startsWith(CharSequence, int) - Method in class org.osgl.util.StrBase
Check if this str starts with a char sequence, with the search starts at the specified offset
startup() - Method in interface org.osgl.cache.CacheService
Restart the cache service after shutdown
startWith(String) - Method in class org.osgl.util.S._Ensure
 
startWith(char) - Method in class org.osgl.util.S._Ensure
 
startWith(String, int) - Method in class org.osgl.util.S._Is
 
startWith(String) - Method in class org.osgl.util.S._Is
 
static_() - Method in class org.osgl.Lang._IsModifier
 
step() - Method in interface org.osgl.util.C.Range
Returns a Osgl.Func2 function that applied to an element in this Range and an integer n indicate the number of steps.
step() - Method in class org.osgl.util.IntRange
 
step() - Method in class org.osgl.util.LazyRange
 
step(int) - Method in class org.osgl.util.N.RangeStep
 
str(Object) - Static method in class org.osgl.util.S
 
str(char...) - Static method in class org.osgl.util.S
 
Str - Class in org.osgl.util
 
Str() - Constructor for class org.osgl.util.Str
 
StrBase<T extends StrBase<T>> - Class in org.osgl.util
The abstract base class for Str and FastStr.
StrBase() - Constructor for class org.osgl.util.StrBase
 
StrBase.F - Enum in org.osgl.util
 
string(Object, boolean) - Static method in class org.osgl.util.S
Get string representation of an object instance
string(Object) - Static method in class org.osgl.util.S
 
STRING_TO_BIG_DEC - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_BIG_INT - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_BYTE - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_CHARACTER - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_DATE - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_DOUBLE - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_FLOAT - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_INTEGER - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_LONG - Static variable in class org.osgl.Lang.TypeConverter
 
STRING_TO_SHORT - Static variable in class org.osgl.Lang.TypeConverter
 
StringNS - Class in org.osgl.util
String utility namespace.
stringOf(char[]) - Static method in enum org.osgl.util.Unsafe
Returns a string directly from the char array supplied without copy operation
StringReplace - Class in org.osgl.util.algo
Base class for implementing algorithm that perform replacement on char[]
StringReplace() - Constructor for class org.osgl.util.algo.StringReplace
 
StringReplace.SimpleStringReplace - Class in org.osgl.util.algo
 
StringReplace.SimpleStringReplace(StringSearch) - Constructor for class org.osgl.util.algo.StringReplace.SimpleStringReplace
 
StringReplace.SimpleStringReplace() - Constructor for class org.osgl.util.algo.StringReplace.SimpleStringReplace
 
StringSearch - Class in org.osgl.util.algo
 
StringSearch() - Constructor for class org.osgl.util.algo.StringSearch
 
StringSearch.SimpleStringSearch - Class in org.osgl.util.algo
Implement a simple string search algorithm using JDK String.indexOf algorithm
StringSearch.SimpleStringSearch() - Constructor for class org.osgl.util.algo.StringSearch.SimpleStringSearch
 
StringSearchPattern - Class in org.osgl.util.algo
Defines String search pattern that can encapsulate preprocess result
StringSearchPattern() - Constructor for class org.osgl.util.algo.StringSearchPattern
 
stringToEnum(Class<ENUM>) - Static method in class org.osgl.Lang.TypeConverter
 
stringValue() - Method in class org.osgl.util.ValueObject
 
StringValueResolver<T> - Class in org.osgl.util
A String value resolver resolves a string value into a certain type of object instance.
StringValueResolver() - Constructor for class org.osgl.util.StringValueResolver
 
StringValueResolver(Class<T>) - Constructor for class org.osgl.util.StringValueResolver
 
strip(String, String) - Method in class org.osgl.util.FastStr
 
strip(FastStr, FastStr) - Method in class org.osgl.util.FastStr
 
strip(Object, String, String) - Static method in class org.osgl.util.S
Strip the prefix and suffix from an object’s String representation and return the result
strip(String, String) - Method in class org.osgl.util.Str
 
strip(String, String) - Method in class org.osgl.util.StrBase
 
strippedOff(String, String) - Method in class org.osgl.util.S._Ensure
 
strippedOff(String) - Method in class org.osgl.util.S._Ensure
 
strippedOff(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._Ensure
 
sub(Number) - Method in class org.osgl.util.N.Num
 
subList(int, int) - Method in class org.osgl.Lang.Var
 
subList(int, int) - Method in interface org.osgl.util.C.List
 
subList(int, int) - Method in class org.osgl.util.FastStr
 
subList(int, int) - Method in class org.osgl.util.ListBase
 
subList(int, int) - Method in class org.osgl.util.Str
 
subList(int, int) - Method in class org.osgl.util.StrBase
Returns a sub str that is a part of this str
subSequence(int, int) - Method in class org.osgl.util.FastStr
 
subSequence(int, int) - Method in class org.osgl.util.S.Buffer
Returns a new character sequence that is a subsequence of this sequence.
subSequence(int, int) - Method in class org.osgl.util.Str
 
subSequence(int, int) - Method in class org.osgl.util.StrBase
Return a part of this str specified by start inclusive and end exclusive position.
substr(int, int) - Method in class org.osgl.util.StrBase
 
substr(int) - Method in class org.osgl.util.StrBase
Synonym of StrBase.substring(int) but return Str instead of String
substring(int) - Method in class org.osgl.util.FastStr
substring(int, int) - Method in class org.osgl.util.FastStr
substring(int) - Method in class org.osgl.util.S.Buffer
Returns a new String that contains a subsequence of characters currently contained in this character sequence.
substring(int, int) - Method in class org.osgl.util.S.Buffer
Returns a new String that contains a subsequence of characters currently contained in this sequence.
substring(int) - Method in class org.osgl.util.Str
 
substring(int, int) - Method in class org.osgl.util.Str
 
substring(int) - Method in class org.osgl.util.StrBase
Return a sub string of type String of this str starts from beginIndex specified till the end of the char array of this str
substring(int, int) - Method in class org.osgl.util.StrBase
Returns a new string that is a substring of this str.
subtract(Class<T>) - Static method in class org.osgl.util.N.F
 

T

T2(A, B) - Static method in class org.osgl.Lang
 
T3(A, B, C) - Static method in class org.osgl.Lang
 
T4(A, B, C, D) - Static method in class org.osgl.Lang
 
T5(A, B, C, D, E) - Static method in class org.osgl.Lang
 
tail() - Method in class org.osgl.Lang.Var
 
tail(int) - Method in class org.osgl.Lang.Var
 
tail() - Method in interface org.osgl.util.C.List
Returns the rest part of the Sequence except the first element
tail(int) - Method in interface org.osgl.util.C.List
Returns a Sequence consisting the last n elements from this Sequence if number n is positive and the Sequence contains more than n elements
tail(int) - Method in interface org.osgl.util.C.Range
 
tail() - Method in interface org.osgl.util.C.ReversibleSequence
Returns the rest part of the Sequence except the first element
tail(int) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a Sequence consisting the last n elements from this Sequence if number n is positive and the Sequence contains more than n elements
tail() - Method in interface org.osgl.util.C.Sequence
Returns the rest part of the Sequence except the first element
tail() - Method in class org.osgl.util.LazyRange
 
tail(int) - Method in class org.osgl.util.LazyRange
 
tail() - Method in class org.osgl.util.ListBase
 
tail(int) - Method in class org.osgl.util.ListBase
 
tail() - Method in class org.osgl.util.SequenceBase
 
tail() - Method in class org.osgl.util.StrBase
 
tail(int) - Method in class org.osgl.util.StrBase
 
take(T) - Static method in class org.osgl.Lang
 
take(int) - Method in class org.osgl.Lang.Var
 
take(int) - Method in interface org.osgl.util.C.List
Returns a Sequence consisting the first n elements from this Sequence if number n is positive and the Sequence contains more than n elements
take(int) - Method in interface org.osgl.util.C.ReversibleSequence
Returns a Sequence consisting the first n elements from this Sequence if number n is positive and the Sequence contains more than n elements
take(int) - Method in interface org.osgl.util.C.Sequence
Returns a Sequence consisting the first n elements from this Sequence if number n is positive and the Sequence contains more than n elements
take(int) - Method in class org.osgl.util.LazyRange
 
take(int) - Method in class org.osgl.util.ListBase
 
take(Object) - Static method in class org.osgl.util.S
 
take(String) - Static method in class org.osgl.util.S
 
take(int) - Method in class org.osgl.util.SequenceBase
 
take(int) - Method in class org.osgl.util.StrBase
 
takeWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.Lang.Var
 
takeWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.List
Returns an new Sequence that takes the head of this Sequence until the predicate evaluate to false:
takeWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.ReversibleSequence
Returns an new Sequence that takes the head of this Sequence until the predicate evaluate to false:
takeWhile(Lang.Function<? super T, Boolean>) - Method in interface org.osgl.util.C.Sequence
Returns an new Sequence that takes the head of this Sequence until the predicate evaluate to false:
takeWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.FastStr
 
takeWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.ListBase
 
takeWhile(Lang.Function<? super T, Boolean>) - Method in class org.osgl.util.SequenceBase
 
takeWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.Str
 
takeWhile(Lang.Function<? super Character, Boolean>) - Method in class org.osgl.util.StrBase
Return a str that contains the first N characters in this string, the characters in the new str must matches the test specified by the predicate function.
target - Variable in class org.osgl.util.Img.Processor
The target image
targetClass() - Method in class org.osgl.util.BigDecimalValueObjectCodec
 
targetClass() - Method in class org.osgl.util.BigIntegerValueObjectCodec
 
targetClass() - Method in class org.osgl.util.FastJsonObjectCodec
 
targetClass() - Method in class org.osgl.util.KeywordValueObjectCodec
 
targetClass() - Method in class org.osgl.util.KVCodec
 
targetClass() - Method in interface org.osgl.util.ValueObject.Codec
 
targetScale(int, int) - Method in enum org.osgl.util.Img.BinarySourceProcessor.ScaleFix
 
targetType() - Method in class org.osgl.util.StringValueResolver
 
tbd() - Static method in class org.osgl.util.E
Throws out a UnsupportedException with message to be implemented.
tbd(String) - Static method in class org.osgl.util.E
Throws out a UnsupportedException with feature specified.
test(T) - Method in class org.osgl.Lang.Predicate
Sub class to implement this method to test on the supplied elements
test() - Static method in class org.osgl.util.algo.ArrayInsertionSortInplace
 
text(String) - Method in class org.osgl.util.Img.WaterMarker.Stage
 
thenComparing(Comparator<? super T>) - Method in class org.osgl.Lang.Comparator
thenComparing(Lang.Function<? super T, ? extends U>, Comparator<? super U>) - Method in class org.osgl.Lang.Comparator
thenComparing(Lang.Function<? super T, ? extends U>) - Method in class org.osgl.Lang.Comparator
third() - Method in class org.osgl.Lang.Quadruple
 
third() - Method in class org.osgl.Lang.Quintuple
 
third() - Method in class org.osgl.Lang.Triple
 
times(int) - Method in class org.osgl.Lang.F1
 
times(int) - Method in interface org.osgl.Lang.MultiplicableFunction
Returns a function with n times factor specified.
times(int) - Method in class org.osgl.Lang.Operator
 
times(Lang.Function<T, T>, T, int) - Static method in class org.osgl.Lang
 
times(int) - Method in class org.osgl.util.FastStr
 
times(int) - Method in class org.osgl.util.N.ByteRangeStep
 
times(int) - Method in class org.osgl.util.N.IntRangeStep
 
times(int) - Method in class org.osgl.util.N.LongRangeStep
 
times - Variable in class org.osgl.util.N.RangeStep
 
times(int) - Method in class org.osgl.util.N.RangeStep
 
times(int) - Method in class org.osgl.util.N.ShortRangeStep
 
times(int) - Method in class org.osgl.util.S._CharRepeater
 
times(int) - Method in class org.osgl.util.S._StringRepeater
 
times(String, int) - Static method in class org.osgl.util.S
times(char, int) - Static method in class org.osgl.util.S
Return a string composed of times of char c
times(int) - Method in class org.osgl.util.Str
 
times(int) - Method in class org.osgl.util.StrBase
Returns a str instance that repeat this str’s char sequence for n times
tmpFile() - Static method in class org.osgl.util.IO
 
tmpFile(String, String) - Static method in class org.osgl.util.IO
 
tmpFile(String, String, File) - Static method in class org.osgl.util.IO
 
to(Class<TO>) - Method in class org.osgl.Lang._ConvertStage
 
to(V) - Method in class org.osgl.util.C.Map._Builder
 
to() - Method in interface org.osgl.util.C.Range
Returns the to value (exclusive) of the range
to() - Method in class org.osgl.util.LazyRange
 
TO_LOWERCASE - Static variable in enum org.osgl.util.S.F
 
TO_UPPERCASE - Static variable in enum org.osgl.util.S.F
 
toArray() - Method in class org.osgl.Lang.Var
 
toArray(T[]) - Method in class org.osgl.Lang.Var
 
toArray() - Method in class org.osgl.util.ListBuilder
 
toArray(T[]) - Method in class org.osgl.util.ListBuilder
 
toBase64() - Method in class org.osgl.util.Img.ProcessorStage
 
toBase64(String) - Method in class org.osgl.util.Img.ProcessorStage
 
toBase64(File) - Static method in enum org.osgl.util.Img
Encode an image to base64 using a data: URI
toBase64(InputStream, String) - Static method in enum org.osgl.util.Img
Encode an image to base64 using a data: URI
toBase64(byte[], String) - Static method in enum org.osgl.util.Img
Encode an image to base64 using a data: URI
toBool() - Method in class org.osgl.Lang._ConvertStage
 
toBoolean() - Method in class org.osgl.Lang._ConvertStage
 
toBooleanPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toByte() - Method in class org.osgl.Lang._ConvertStage
 
toByteArray() - Method in class org.osgl.util.Img.ProcessorStage
 
toByteArray(String) - Method in class org.osgl.util.Img.ProcessorStage
 
toBytePrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toChar() - Method in class org.osgl.Lang._ConvertStage
 
toCharacter() - Method in class org.osgl.Lang._ConvertStage
 
toCharacterPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toCharArray() - Method in class org.osgl.util.StrBase
toCharset(Charset) - Static method in class org.osgl.util.Charsets
Returns the given Charset or the default Charset if the given Charset is null.
toCharset(String) - Static method in class org.osgl.util.Charsets
Returns a Charset for the named charset.
toDate() - Method in class org.osgl.Lang._ConvertStage
 
toDouble() - Method in class org.osgl.Lang._ConvertStage
 
toDoublePrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toFastStr() - Method in class org.osgl.util.FastStr
 
toFastStr() - Method in class org.osgl.util.Str
 
toFastStr() - Method in class org.osgl.util.StrBase
Return a FastStr that contains all the char sequence in this str instance
toFloat() - Method in class org.osgl.Lang._ConvertStage
 
toFloatPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toInt() - Method in class org.osgl.Lang._ConvertStage
 
toInteger() - Method in class org.osgl.Lang._ConvertStage
 
toIntegerPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toJDKException() - Method in exception org.osgl.exception.UnexpectedEncodingException
Convert to corresponding JDK exception.
toJSONString(BigDecimal) - Method in class org.osgl.util.BigDecimalValueObjectCodec
 
toJSONString(BigInteger) - Method in class org.osgl.util.BigIntegerValueObjectCodec
 
toJSONString(JSONObject) - Method in class org.osgl.util.FastJsonObjectCodec
 
toJSONString(Keyword) - Method in class org.osgl.util.KeywordValueObjectCodec
 
toJSONString(KV) - Method in class org.osgl.util.KVCodec
 
toJSONString(T) - Method in interface org.osgl.util.ValueObject.Codec
 
toJSONString() - Method in class org.osgl.util.ValueObject
 
tokens() - Method in class org.osgl.util.Keyword
 
toList() - Method in class org.osgl.Lang.Tuple
 
toList() - Method in class org.osgl.util.ListBuilder
Return an immutable list contains all element of this list builder and then release references to the internal buffer.
toList(Iterable<? extends T>) - Static method in class org.osgl.util.ListBuilder
Returns an immutable C.List from iterable
toList(Iterator<? extends T>) - Static method in class org.osgl.util.ListBuilder
Returns an immutable C.List from an iterator
toList(Enumeration<? extends T>) - Static method in class org.osgl.util.ListBuilder
 
toList(Collection<? extends T>) - Static method in class org.osgl.util.ListBuilder
Returns an immutable C.List from a collection
toLong() - Method in class org.osgl.Lang._ConvertStage
 
toLongPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toLowerCase(Locale) - Method in class org.osgl.util.FastStr
Wrapper of String.toLowerCase(java.util.Locale) but return FastStr type instance
toLowerCase(Locale) - Method in class org.osgl.util.Str
 
toLowerCase(Locale) - Method in class org.osgl.util.StrBase
 
toLowerCase() - Method in class org.osgl.util.StrBase
 
toMap() - Method in class org.osgl.Lang.Tuple
Convert this Tuple instance into a Map with one key,value pair.
toMap(Collection<Lang.Tuple<K, V>>) - Static method in class org.osgl.Lang.Tuple
Convert a list of Tuple instances into a Map.
toMap(Lang.Function<? super T, ? extends K>, Lang.Function<? super T, ? extends V>) - Method in interface org.osgl.util.C.List
Create a Map from this list using a key extract function and a value extract function
toMap() - Method in interface org.osgl.util.KV
Returns a Map contains (key, value) pairs that stored in this KV map.
toMap() - Method in class org.osgl.util.KVStore
Returns a Map contains (key, value) pairs that stored in this KVStore.
toMap(Lang.Function<? super T, ? extends K>, Lang.Function<? super T, ? extends V>) - Method in class org.osgl.util.ListBase
 
toMapByKey(Lang.Function<? super T, ? extends V>) - Method in interface org.osgl.util.C.List
Create a Map from this list using a value extract function.
toMapByKey(Lang.Function<? super T, ? extends V>) - Method in class org.osgl.util.ListBase
 
toMapByVal(Lang.Function<? super T, ? extends K>) - Method in interface org.osgl.util.C.List
Create a Map from this list using a key extract function.
toMapByVal(Lang.Function<? super T, ? extends K>) - Method in class org.osgl.util.ListBase
 
toOption() - Method in class org.osgl.Lang.Var
 
toSet() - Method in class org.osgl.util.ListBuilder
 
toShort() - Method in class org.osgl.Lang._ConvertStage
 
toShortPrimitive() - Method in class org.osgl.Lang._ConvertStage
 
toString() - Method in class org.osgl.Lang._ConvertStage
 
toString() - Method in class org.osgl.Lang.None
 
toString() - Method in class org.osgl.Lang.Option
 
toString() - Method in class org.osgl.Lang.Quadruple
 
toString() - Method in class org.osgl.Lang.Quintuple
 
toString() - Method in class org.osgl.Lang.Some
 
toString() - Method in class org.osgl.Lang
 
toString(Object) - Static method in class org.osgl.Lang
Returns String representation of an object instance.
toString() - Method in class org.osgl.Lang.Triple
 
toString() - Method in class org.osgl.Lang.Tuple
 
toString() - Method in class org.osgl.Lang.TypeConverter
 
toString(BigDecimal) - Method in class org.osgl.util.BigDecimalValueObjectCodec
 
toString(BigInteger) - Method in class org.osgl.util.BigIntegerValueObjectCodec
 
toString() - Method in class org.osgl.util.C.Map
 
toString() - Method in class org.osgl.util.Const
 
toString() - Method in enum org.osgl.util.Crypto.HashType
 
toString(JSONObject) - Method in class org.osgl.util.FastJsonObjectCodec
 
toString() - Method in class org.osgl.util.FastStr
 
toString(Keyword) - Method in enum org.osgl.util.Keyword.Style
 
toString() - Method in class org.osgl.util.Keyword
Returns string representation of this keyword using underscore style
toString(Keyword.Style) - Method in class org.osgl.util.Keyword
Return string representation of this keyword using style specified
toString(Keyword) - Method in class org.osgl.util.KeywordValueObjectCodec
 
toString(KV) - Method in class org.osgl.util.KVCodec
 
toString() - Method in class org.osgl.util.LazyRange
 
toString() - Method in class org.osgl.util.N.Num
 
toString() - Method in class org.osgl.util.S._IterableJoiner
 
toString() - Method in class org.osgl.util.S._WrapStringBuilder
 
toString() - Method in class org.osgl.util.S.Buffer
Returns a string representing the data in this sequence.
toString() - Method in class org.osgl.util.Str
 
toString(T) - Method in interface org.osgl.util.ValueObject.Codec
 
toString() - Method in class org.osgl.util.ValueObject
 
toString() - Method in class org.osgl.web.util.UserAgent
 
toString2(Object) - Static method in class org.osgl.Lang
 
toType - Variable in class org.osgl.Lang.TypeConverter
 
toUpperCase(Locale) - Method in class org.osgl.util.FastStr
Wrapper of String.toUpperCase(java.util.Locale) but return FastStr type instance
toUpperCase(Locale) - Method in class org.osgl.util.Str
 
toUpperCase(Locale) - Method in class org.osgl.util.StrBase
 
toUpperCase() - Method in class org.osgl.util.StrBase
 
toVal() - Method in class org.osgl.util.Const
 
toVar() - Method in class org.osgl.util.Const
 
TRACKING_PIXEL - Static variable in enum org.osgl.util.Img.F
A function that generates a transparent tracking pixel
TRACKING_PIXEL_BASE64 - Static variable in enum org.osgl.util.Img
Base64 string of a tracking pixel image in gif format
TRACKING_PIXEL_BYTES - Static variable in enum org.osgl.util.Img
Byte array of a tracking pixel image in gif format
transform(FROM) - Method in class org.osgl.Lang.Transformer
The place sub class to implement the transform logic
transform(FROM) - Method in class org.osgl.Lang.TypeConverter
 
transform(Lang.Function<K, NK>, Lang.Function<V, NV>) - Method in class org.osgl.util.C.Map
 
transformKeys(Lang.Function<K, NK>) - Method in class org.osgl.util.C.Map
 
transformValues(Lang.Function<V, NV>) - Method in class org.osgl.util.C.Map
 
TraversableBase<T> - Class in org.osgl.util
Provide default implementation to some C.Traversable interface
TraversableBase() - Constructor for class org.osgl.util.TraversableBase
 
triage(Exception) - Static method in exception org.osgl.exception.UnexpectedMethodInvocationException
 
trim() - Method in class org.osgl.util.FastStr
Wrapper of String.trim() and return FastStr type instance
TRIM - Static variable in enum org.osgl.util.S.F
 
trim(String) - Static method in class org.osgl.util.S
Null safety trim
trim() - Method in class org.osgl.util.Str
 
trim() - Method in class org.osgl.util.StrBase
 
trimToSize() - Method in class org.osgl.util.ListBuilder
 
trimToSize() - Method in class org.osgl.util.S.Buffer
Attempts to reduce storage used for the character sequence.
tripleSplit(String, char) - Static method in class org.osgl.util.S
Split string by separator into three parts and return in a S.T3 object
TRUE - Static variable in enum org.osgl.Lang.F
A predefined forever true predicate which returns true on any element been tested
ts() - Static method in class org.osgl.Lang
Return current time stamp in nano seconds.
Tuple(P1, P2) - Static method in class org.osgl.Lang
 
TypeConverterRegistry - Class in org.osgl.util.converter
 
TypeConverterRegistry() - Constructor for class org.osgl.util.converter.TypeConverterRegistry
 
typeParamImplementations(Class, Class) - Static method in class org.osgl.util.Generics
Returns implementation of type parameters declared in the root class/interface by the given sub class

U

underscore() - Method in class org.osgl.util.Keyword
 
underscore(CharSequence) - Static method in class org.osgl.util.S
 
unexpected(String, Object...) - Static method in class org.osgl.util.E
Throws out a UnexpectedException with message specified.
unexpected(Throwable) - Static method in class org.osgl.util.E
Throws out a UnexpectedException with cause specified.
unexpected(Throwable, String, Object...) - Static method in class org.osgl.util.E
Throws out a UnexpectedException with message and cause specified.
UnexpectedClassNotFoundException - Exception in org.osgl.exception
A RuntimeException version of JDK’s ClassNotFoundException
UnexpectedClassNotFoundException(ClassNotFoundException) - Constructor for exception org.osgl.exception.UnexpectedClassNotFoundException
 
UnexpectedClassNotFoundException(ClassNotFoundException, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedClassNotFoundException
 
UnexpectedEncodingException - Exception in org.osgl.exception
Wrap java’s UnsupportedEncodingException into RuntimeException
UnexpectedEncodingException(IOException) - Constructor for exception org.osgl.exception.UnexpectedEncodingException
 
UnexpectedException - Exception in org.osgl.exception
Could be used when programmer think it is not logic to reach somewhere.
UnexpectedException() - Constructor for exception org.osgl.exception.UnexpectedException
 
UnexpectedException(String) - Constructor for exception org.osgl.exception.UnexpectedException
 
UnexpectedException(String, Object...) - Constructor for exception org.osgl.exception.UnexpectedException
 
UnexpectedException(Throwable) - Constructor for exception org.osgl.exception.UnexpectedException
 
UnexpectedException(Throwable, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedException
 
unexpectedIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out a UnexpectedException with message and cause specified when tester is evaluated to true.
unexpectedIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out a UnexpectedException with message and cause specified when tester is not evaluated to true.
UnexpectedIOException - Exception in org.osgl.exception
Wrap java’s IOException into runtime exception
UnexpectedIOException(IOException) - Constructor for exception org.osgl.exception.UnexpectedIOException
 
UnexpectedIOException(String, Object...) - Constructor for exception org.osgl.exception.UnexpectedIOException
 
UnexpectedIOException(Throwable, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedIOException
 
UnexpectedMethodInvocationException - Exception in org.osgl.exception
A runtime exception that is raised when exception encountered invoking a method by Java reflection
UnexpectedNewInstanceException - Exception in org.osgl.exception
A runtime exception that is raised when exception encountered creating new instance by Java reflection
UnexpectedNewInstanceException(String, Object...) - Constructor for exception org.osgl.exception.UnexpectedNewInstanceException
 
UnexpectedNewInstanceException(Exception) - Constructor for exception org.osgl.exception.UnexpectedNewInstanceException
 
UnexpectedNewInstanceException(Exception, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedNewInstanceException
 
UnexpectedNoSuchFieldException - Exception in org.osgl.exception
A RuntimeException version of JDK’s NoSuchFieldException
UnexpectedNoSuchFieldException(NoSuchFieldException) - Constructor for exception org.osgl.exception.UnexpectedNoSuchFieldException
 
UnexpectedNoSuchFieldException(NoSuchMethodException, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedNoSuchFieldException
 
UnexpectedNoSuchMethodException - Exception in org.osgl.exception
A RuntimeException version of JDK’s NoSuchMethodException
UnexpectedNoSuchMethodException(Class<?>, String) - Constructor for exception org.osgl.exception.UnexpectedNoSuchMethodException
 
UnexpectedNoSuchMethodException(String, Object...) - Constructor for exception org.osgl.exception.UnexpectedNoSuchMethodException
 
UnexpectedNoSuchMethodException(NoSuchMethodException) - Constructor for exception org.osgl.exception.UnexpectedNoSuchMethodException
 
UnexpectedNoSuchMethodException(NoSuchMethodException, String, Object...) - Constructor for exception org.osgl.exception.UnexpectedNoSuchMethodException
 
unionOf(Collection<? extends T>, Collection<? extends T>) - Static method in class org.osgl.util.C
 
unionOf(Collection<? extends T>, Collection<? extends T>, Collection<? extends T>, Collection<? extends T>...) - Static method in class org.osgl.util.C
 
unique() - Method in interface org.osgl.util.C.List
Return a list that contains unique set of this list and keep the orders.
unique(Comparator<T>) - Method in interface org.osgl.util.C.List
Return a list that contains unique set as per the comparator specified of this list and keep the orders.
unique() - Method in class org.osgl.util.ListBase
 
unique(Comparator<T>) - Method in class org.osgl.util.ListBase
 
unix2dos(String) - Static method in class org.osgl.util.S
 
UNKNOWN - Static variable in class org.osgl.web.util.UserAgent
 
unregister(ValueObject.Codec) - Static method in class org.osgl.util.ValueObject
 
Unsafe - Enum in org.osgl.util
 
unsafeCapFirst(String) - Static method in class org.osgl.util.S
 
unsafeChars() - Method in class org.osgl.util.FastStr
Return char array buf of this FastStr instance.
unsafeOf(String) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from a String instance.
unsafeOf(char[]) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from char array without array copying
unsafeOf(char[], int, int) - Static method in class org.osgl.util.FastStr
Construct a FastStr instance from char array, from the start position, finished at end position without copying the array.
unsetFeature(C.Feature) - Method in class org.osgl.util.FeaturedBase
 
unsetFeature(C.Feature) - Method in class org.osgl.util.ListBase
 
unsetFeature(C.Feature) - Method in class org.osgl.util.SetBase
 
unsetFeature(C.Feature) - Method in class org.osgl.util.StrBase
 
unsupport() - Static method in class org.osgl.util.E
Throws out an UnsupportedException.
unsupport(String, Object...) - Static method in class org.osgl.util.E
Throws out an UnsupportedException with error message specified.
UnsupportedException - Exception in org.osgl.exception
An operation is unsupported
UnsupportedException() - Constructor for exception org.osgl.exception.UnsupportedException
 
UnsupportedException(String) - Constructor for exception org.osgl.exception.UnsupportedException
 
UnsupportedException(String, Object...) - Constructor for exception org.osgl.exception.UnsupportedException
 
UnsupportedException(Throwable) - Constructor for exception org.osgl.exception.UnsupportedException
 
unsupportedIf(boolean) - Static method in class org.osgl.util.E
Throws out an UnsupportedException if tester is true.
unsupportedIf(boolean, String) - Static method in class org.osgl.util.E
Throws out an UnsupportedException with error message specified if tester is true.
unsupportedIf(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an UnsupportedException with error message specified if tester is true.
unsupportedIfNot(boolean) - Static method in class org.osgl.util.E
Throws out an UnsupportedException if tester is false.
unsupportedIfNot(boolean, String) - Static method in class org.osgl.util.E
Throws out an UnsupportedException with error message specified if tester is false.
unsupportedIfNot(boolean, String, Object...) - Static method in class org.osgl.util.E
Throws out an UnsupportedException with error message specified if tester is false.
update(Lang.Function<T, T>) - Method in class org.osgl.Lang.Var
 
update(Lang.Func0<T>) - Method in class org.osgl.Lang.Var
 
updater(Lang.Function<T, T>) - Method in class org.osgl.Lang.Var._f
 
updater(Lang.Func2<T, T, T>) - Method in class org.osgl.Lang.Var._f
 
upper() - Method in class org.osgl.util.StrBase
 
upper(Locale) - Method in class org.osgl.util.StrBase
 
URL_SAFE_BASE64_PADDING_CHAR - Static variable in class org.osgl.util.Codec
 
urlDecode(String) - Static method in class org.osgl.util.S
 
urlEncode() - Method in class org.osgl.util.FastStr
 
urlEncode(String) - Static method in class org.osgl.util.S
perform URL encoding on a giving string
urlEncode() - Method in class org.osgl.util.Str
 
urlEncode() - Method in class org.osgl.util.StrBase
 
US_ASCII - Static variable in class org.osgl.util.CharEncoding
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
US_ASCII - Static variable in class org.osgl.util.Charsets
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
UserAgent - Class in org.osgl.web.util
 
UserAgent.Browser - Enum in org.osgl.web.util
 
UserAgent.Device - Enum in org.osgl.web.util
 
UserAgent.OS - Enum in org.osgl.web.util
 
usingRegEx() - Method in class org.osgl.util.S._Replace
 
usingRegEx() - Method in class org.osgl.util.S._Replace2
 
UTF_16 - Static variable in class org.osgl.util.CharEncoding
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output)
UTF_16 - Static variable in class org.osgl.util.Charsets
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output)
UTF_16BE - Static variable in class org.osgl.util.CharEncoding
Sixteen-bit Unicode Transformation Format, big-endian byte order.
UTF_16BE - Static variable in class org.osgl.util.Charsets
Sixteen-bit Unicode Transformation Format, big-endian byte order.
UTF_16LE - Static variable in class org.osgl.util.CharEncoding
Sixteen-bit Unicode Transformation Format, little-endian byte order.
UTF_16LE - Static variable in class org.osgl.util.Charsets
Sixteen-bit Unicode Transformation Format, little-endian byte order.
UTF_8 - Static variable in class org.osgl.util.CharEncoding
Eight-bit Unicode Transformation Format.
UTF_8 - Static variable in class org.osgl.util.Charsets
Eight-bit Unicode Transformation Format.
UtilConfig - Class in org.osgl.util
 
UtilConfig() - Constructor for class org.osgl.util.UtilConfig
 
UUID() - Static method in class org.osgl.util.Codec
 
uuid() - Static method in class org.osgl.util.Codec
Alias of Codec.UUID()
uuid() - Static method in class org.osgl.util.S
 

V

val(T) - Static method in class org.osgl.Lang
 
val(String) - Static method in class org.osgl.util.S
 
val() - Method in class org.osgl.util.StrBase
 
value() - Method in class org.osgl.util.StrBase
 
value() - Method in class org.osgl.util.ValueObject
 
ValueObject - Class in org.osgl.util
A ValueObject encapsulate data of simple types in common Java application.
ValueObject() - Constructor for class org.osgl.util.ValueObject
 
ValueObject(boolean) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(byte) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(char) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(short) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(int) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(float) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(long) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(double) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(String) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(CharSequence) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(Enum) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(Object) - Constructor for class org.osgl.util.ValueObject
 
ValueObject(ValueObject) - Constructor for class org.osgl.util.ValueObject
 
ValueObject.Codec<T> - Interface in org.osgl.util
 
valueOf(String) - Static method in enum org.osgl.concurrent.ContextLocal.Factory.Predefined
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.Lang.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.algo.Algorithms
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.algo.ArrayAlgorithm.Util
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.C.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.C.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.C.ListFactory.Predefined
Returns the enum constant of this type with the specified name.
valueOf(K, V) - Static method in class org.osgl.util.C.Map.Entry
 
valueOf(String) - Static method in enum org.osgl.util.C.Mutable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Crypto.HashType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Crypto
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Img.BinarySourceProcessor.ScaleFix
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Img.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Img.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Img
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Iterators
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Keyword.Style
Returns the enum constant of this type with the specified name.
valueOf(Number) - Static method in class org.osgl.util.N.Num
 
valueOf(String) - Static method in enum org.osgl.util.N.Op
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.N.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.OS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.PropertyGetter.NullValuePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.S.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.StrBase.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.util.Unsafe
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.web.util.UserAgent.Browser
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.web.util.UserAgent.Device
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.web.util.UserAgent.OS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class org.osgl.web.util.UserAgent
 
values() - Static method in enum org.osgl.concurrent.ContextLocal.Factory.Predefined
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.Lang.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.algo.Algorithms
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.algo.ArrayAlgorithm.Util
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.C.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.C.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.C.ListFactory.Predefined
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.osgl.util.C.Map
 
values() - Static method in enum org.osgl.util.C.Mutable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Crypto.HashType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Crypto
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Img.BinarySourceProcessor.ScaleFix
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Img.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Img.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Img
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Iterators
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Keyword.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.N.Op
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.N.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.OS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.PropertyGetter.NullValuePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.S.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.StrBase.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.util.Unsafe
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.web.util.UserAgent.Browser
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.web.util.UserAgent.Device
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.web.util.UserAgent.OS
Returns an array containing the constants of this enum type, in the order they are declared.
var(T) - Static method in class org.osgl.Lang
 
var() - Static method in class org.osgl.Lang
 
var(String) - Static method in class org.osgl.util.S
 
VERSION - Static variable in class org.osgl.Lang
 
VERSION - Static variable in class org.osgl.util.VM
 
vertically() - Method in class org.osgl.util.Img.Concatenater.Stage
 
visit(K, T) - Method in class org.osgl.Lang.IndexedVisitor
 
visit(P1, P2) - Method in class org.osgl.Lang.V2
 
visit(P1, P2, P3) - Method in class org.osgl.Lang.V3
 
visit(P1, P2, P3, P4) - Method in class org.osgl.Lang.V4
 
visit(P1, P2, P3, P4, P5) - Method in class org.osgl.Lang.V5
 
visit(T) - Method in class org.osgl.Lang.Visitor
User application to implement visit logic in this method
visitor(Lang.Function<? super T, ?>) - Static method in class org.osgl.Lang
Convert a Function&lt;? super T, Void&gt; function into a Lang.Visitor
VM - Class in org.osgl.util
Keep track java VM info

W

w() - Method in class org.osgl.util.N.Dimension
 
watermark() - Method in class org.osgl.util.Img._Load
 
watermark(String) - Method in class org.osgl.util.Img._Load
 
watermark(Lang.Func0<BufferedImage>) - Static method in enum org.osgl.util.Img
 
wh(int, int) - Static method in class org.osgl.util.N
 
width() - Method in class org.osgl.util.N.Dimension
 
with(Collection<? extends T>) - Method in class org.osgl.Lang.Var
 
with(T) - Method in class org.osgl.Lang.Var
 
with(T, T...) - Method in class org.osgl.Lang.Var
 
with(Collection<? extends T>) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in this set and all elements in the col collection specified
with(T) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in this set plus the element specified
with(T, T...) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in this set plus all the elements specified in the parameter list
with(Lang.Func0<BufferedImage>) - Method in class org.osgl.util.Img.Concatenater.Stage
 
with(Lang.Function<String, String>) - Method in class org.osgl.util.S._Replace
 
with(String) - Method in class org.osgl.util.S._Replace
 
with(char) - Method in class org.osgl.util.S._ReplaceChar
 
with(char) - Method in class org.osgl.util.S._ReplaceCharStage
 
with(String) - Method in class org.osgl.util.S._ReplaceStage
 
with(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._WrapReplace
 
with(String, String) - Method in class org.osgl.util.S._WrapReplace
 
with(Lang.Function<String, String>) - Method in class org.osgl.util.S._WrapReplace
 
with(String) - Method in class org.osgl.util.S._WrapReplace
 
with(String) - Method in class org.osgl.util.S._WrapStringBuilder
 
with(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._WrapStringBuilder
 
with(Collection<? extends T>) - Method in class org.osgl.util.SetBase
 
with(T) - Method in class org.osgl.util.SetBase
 
with(T, T...) - Method in class org.osgl.util.SetBase
 
withIn(Collection<? extends T>) - Method in class org.osgl.Lang.Var
 
withIn(Collection<? extends T>) - Method in interface org.osgl.util.C.Set
Returns a set contains only elements in both col collection specified and this set
withIn(Collection<? extends T>) - Method in class org.osgl.util.SetBase
 
without(Collection<? super T>) - Method in class org.osgl.Lang.Var
 
without(T) - Method in class org.osgl.Lang.Var
 
without(T, T...) - Method in class org.osgl.Lang.Var
 
without(Collection<? super T>) - Method in interface org.osgl.util.C.List
Returns a List contains all elements in this List and not in the col collection specified
without(T) - Method in interface org.osgl.util.C.List
Returns a list contains all elements in the list except the one specified
without(T, T...) - Method in interface org.osgl.util.C.List
Returns a list contains all elements in the list except the ones specified
without(Collection<? super T>) - Method in interface org.osgl.util.C.ListOrSet
 
without(T) - Method in interface org.osgl.util.C.ListOrSet
 
without(T, T...) - Method in interface org.osgl.util.C.ListOrSet
 
without(Collection<? super T>) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in this set and not in the col collection specified
without(T) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in the set except the one specified
without(T, T...) - Method in interface org.osgl.util.C.Set
Returns a set contains all elements in the set except the ones specified
without(Collection<? super T>) - Method in class org.osgl.util.ListBase
 
without(T) - Method in class org.osgl.util.ListBase
 
without(T, T...) - Method in class org.osgl.util.ListBase
 
without(Collection<? super T>) - Method in class org.osgl.util.SetBase
 
without(T) - Method in class org.osgl.util.SetBase
 
without(T, T...) - Method in class org.osgl.util.SetBase
 
withPrefix(String) - Method in class org.osgl.util.S._IterableJoiner
 
withSuffix(String) - Method in class org.osgl.util.S._IterableJoiner
 
wrap(Lang.Func4<char[], char[], char[], Integer, char[]>) - Static method in class org.osgl.util.algo.StringReplace
 
wrap(Lang.Func3<char[], char[], Integer, Integer>) - Static method in class org.osgl.util.algo.StringSearch
 
wrap(Output) - Static method in class org.osgl.util.BufferedOutput
 
wrap(List<T>) - Static method in class org.osgl.util.C
 
wrap(Object) - Static method in class org.osgl.util.S
 
wrap(String) - Static method in class org.osgl.util.S
 
wrap(Object, char) - Static method in class org.osgl.util.S
 
wrap(String, char) - Static method in class org.osgl.util.S
 
wrap(Object, char, char) - Static method in class org.osgl.util.S
 
wrap(String, char, char) - Static method in class org.osgl.util.S
 
wrap(Object, String, String) - Static method in class org.osgl.util.S
 
wrap(String, String, String) - Static method in class org.osgl.util.S
 
wrap(Object, Lang.Tuple<String, String>) - Static method in class org.osgl.util.S
 
wrap(String, Lang.Tuple<String, String>) - Static method in class org.osgl.util.S
 
wrap(Object, String) - Static method in class org.osgl.util.S
 
wrap(String, String) - Static method in class org.osgl.util.S
 
wrap(Lang.Function<String, T>, Class<T>) - Static method in class org.osgl.util.StringValueResolver
 
wrapElementWith(String) - Method in class org.osgl.util.S._IterableJoiner
 
wrapElementWith(String, String) - Method in class org.osgl.util.S._IterableJoiner
 
wrapElementWith(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._IterableJoiner
 
wrappedWith(String, String) - Method in class org.osgl.util.S._Ensure
 
wrappedWith(String) - Method in class org.osgl.util.S._Ensure
 
wrappedWith(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._Ensure
 
wrappedWith(String, String) - Method in class org.osgl.util.S._Is
 
wrappedWith(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._Is
 
wrapper(String, String) - Static method in enum org.osgl.util.S.F
 
wrapper(String) - Static method in enum org.osgl.util.S.F
 
wrapper(Lang.Tuple<String, String>) - Static method in enum org.osgl.util.S.F
 
wrapperClassOf(Class) - Static method in class org.osgl.Lang
 
wrapWith(Lang.Tuple<String, String>) - Method in class org.osgl.util.S._StringRepeater
 
wrapWith(String) - Method in class org.osgl.util.S._StringRepeater
 
wrapWith(String, String) - Method in class org.osgl.util.S._StringRepeater
 
write(CharSequence, File) - Static method in class org.osgl.util.IO
Write string content to a file with UTF-8 encoding.
write(CharSequence, File, String) - Static method in class org.osgl.util.IO
Write String content to a file with encoding specified
write(char, Writer) - Static method in class org.osgl.util.IO
 
write(CharSequence, Writer) - Static method in class org.osgl.util.IO
Write content into a writer and close the writer.
write(CharSequence, Writer, boolean) - Static method in class org.osgl.util.IO
Write content into a writer.
write(InputStream, OutputStream) - Static method in class org.osgl.util.IO
write(InputStream, File) - Static method in class org.osgl.util.IO
 
write(byte, OutputStream) - Static method in class org.osgl.util.IO
 
write(byte[], File) - Static method in class org.osgl.util.IO
Write binary data to a file
write(byte[], OutputStream) - Static method in class org.osgl.util.IO
Write binary data to an output steam
write(byte[], int, int) - Method in class org.osgl.util.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(byte[]) - Method in class org.osgl.util.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(int) - Method in class org.osgl.util.WriterOutputStream
Write a single byte to the stream.
writeContent(CharSequence, File) - Static method in class org.osgl.util.IO
Deprecated.
writeContent(CharSequence, File, String) - Static method in class org.osgl.util.IO
Deprecated.
writeContent(CharSequence, Writer) - Static method in class org.osgl.util.IO
Deprecated.
writer() - Static method in class org.osgl.util.IO
Returns a string writer
writer(File) - Static method in class org.osgl.util.IO
Returns a file writer
WriterOutput - Class in org.osgl.util
 
WriterOutput(Writer) - Constructor for class org.osgl.util.WriterOutput
 
WriterOutputStream - Class in org.osgl.util
The source code come from apache commons IO
WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer, String, int, boolean) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, String) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer) - Constructor for class org.osgl.util.WriterOutputStream
Constructs a new WriterOutputStream that uses the default character encoding and with a default output buffer size of 1024 characters.
writeTo(String) - Method in class org.osgl.util.Img.ProcessorStage
 
writeTo(File, String) - Method in class org.osgl.util.Img.ProcessorStage
 
writeTo(File) - Method in class org.osgl.util.Img.ProcessorStage
 
writeTo(OutputStream, String) - Method in class org.osgl.util.Img.ProcessorStage
 

X

x() - Method in class org.osgl.util.N.Coordinate2D
 
x(int) - Method in class org.osgl.util.S._CharRepeater
 
x(int) - Method in class org.osgl.util.S._StringRepeater
 
xy(int, int) - Static method in class org.osgl.util.N
 

Y

y() - Method in class org.osgl.util.N.Coordinate2D
 
yes() - Static method in enum org.osgl.Lang.F
A type-safe version of Lang.F.TRUE

Z

zip(Iterable<E>) - Method in class org.osgl.Lang.Var
 
zip(List<B>) - Method in class org.osgl.Lang.Var
 
zip(List<T2>) - Method in interface org.osgl.util.C.List
Returns a list formed from this list and another iterable collection by combining corresponding elements in pairs.
zip() - Method in class org.osgl.util.C.Map
 
zip(C.ReversibleSequence<T2>) - Method in interface org.osgl.util.C.ReversibleSequence
 
zip(Iterable<T2>) - Method in interface org.osgl.util.C.Sequence
Returns a sequence formed from this sequence and another iterable collection by combining corresponding elements in pairs.
zip(ISObject...) - Static method in class org.osgl.util.IO
 
zip(File...) - Static method in class org.osgl.util.IO
 
zip(List<T2>) - Method in class org.osgl.util.ListBase
 
zip(Iterable<T2>) - Method in class org.osgl.util.ListBase
 
zip(C.ReversibleSequence<T2>) - Method in class org.osgl.util.ListBase
 
zip(Iterable<T2>) - Method in class org.osgl.util.SequenceBase
 
zipAll(List<T2>, T, T2) - Method in interface org.osgl.util.C.List
Returns a list formed from this list and another iterable collection by combining corresponding elements in pairs.
zipAll(C.ReversibleSequence<T2>, T, T2) - Method in interface org.osgl.util.C.ReversibleSequence
 
zipAll(Iterable<T2>, T, T2) - Method in interface org.osgl.util.C.Sequence
Returns a sequence formed from this sequence and another iterable collection by combining corresponding elements in pairs.
zipAll(List<T2>, T, T2) - Method in class org.osgl.util.ListBase
 
zipAll(Iterable<T2>, T, T2) - Method in class org.osgl.util.ListBase
 
zipAll(C.ReversibleSequence<T2>, T, T2) - Method in class org.osgl.util.ListBase
 
zipAll(Iterable<T2>, T, T2) - Method in class org.osgl.util.SequenceBase
 
zipInto(File, File...) - Static method in class org.osgl.util.IO
 
ZippedListIterator<A,B> - Class in org.osgl.util
 
zipWithIndex() - Method in class org.osgl.Lang.Var
 
zipWithIndex() - Method in interface org.osgl.util.C.List
Zip this sequence with its indices
zipWithIndex() - Method in interface org.osgl.util.C.Sequence
Zip this sequence with its indices
zipWithIndex() - Method in class org.osgl.util.ListBase
 
zipWithIndex() - Method in class org.osgl.util.SequenceBase
 

_

_1 - Variable in class org.osgl.Lang.Quadruple
 
_1 - Variable in class org.osgl.Lang.Quintuple
 
_1 - Variable in class org.osgl.Lang.Triple
 
_1 - Variable in class org.osgl.Lang.Tuple
 
_2 - Variable in class org.osgl.Lang.Quadruple
 
_2 - Variable in class org.osgl.Lang.Quintuple
 
_2 - Variable in class org.osgl.Lang.Triple
 
_2 - Variable in class org.osgl.Lang.Tuple
 
_3 - Variable in class org.osgl.Lang.Quadruple
 
_3 - Variable in class org.osgl.Lang.Quintuple
 
_3 - Variable in class org.osgl.Lang.Triple
 
_4 - Variable in class org.osgl.Lang.Quadruple
 
_4 - Variable in class org.osgl.Lang.Quintuple
 
_5 - Variable in class org.osgl.Lang.Quintuple
 
_empty() - Method in class org.osgl.util.FastStr
 
_empty() - Method in class org.osgl.util.Str
 
_empty() - Method in class org.osgl.util.StrBase
Check if the str is empty
_impl() - Method in class org.osgl.util.FastStr
 
_impl() - Method in class org.osgl.util.Str
 
_impl() - Method in class org.osgl.util.StrBase
Return the class of the implementation

书名号 - Static variable in class org.osgl.util.S
A pair of 书名号 (ShuMingHao, a Chevron-like symbol): (u300a) and (u300b)
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _  

Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.