- capitalize() - Method in class com.worksap.icefig.lang.CharSeq
-
Returns a copy of CharSeq with the string's first character
converted to uppercase and the remainder to lowercase.
- charAt(int) - Method in class com.worksap.icefig.lang.CharSeq
-
Return the Character at the index i of this CharSeq
- CharSeq - Class in com.worksap.icefig.lang
-
Elegant supplement for String in JDK
- clear() - Method in interface com.worksap.icefig.lang.MutableHash
-
Remove all the key-value pair at this hash.
- clear() - Method in interface com.worksap.icefig.lang.MutableSeq
-
Remove all elements in the seq.
- com.worksap.icefig.lang - package com.worksap.icefig.lang
-
- compact() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- compact() - Method in interface com.worksap.icefig.lang.Seq
-
Returns a copy of the seq itself with all null elements removed.
- compactInPlace() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- compareTo(CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Compares two CharSeqs lexicographically.
- compareToIgnoreCase(CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Compares two CharSeqs lexicographically ignore case differences.
- concat(CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Append string of the given CharSeq to this CharSeq
- concat(String) - Method in class com.worksap.icefig.lang.CharSeq
-
Append the given string to this CharSeq
- contains(T) - Method in interface com.worksap.icefig.lang.Seq
-
- containsAny(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.Hash
-
Check whether this hash contains any key-value pair that satisfies the condition.
- containsKey(K) - Method in interface com.worksap.icefig.lang.Hash
-
Returns true if this hash contains a mapping for the specified
key.
- containsSubSeq(String) - Method in class com.worksap.icefig.lang.CharSeq
-
Check whether this CharSeq contains the sub seq, if the given seq is empty, always return true.
- containsSubSeq(CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Check whether this CharSeq contains the sub seq, if the given seq is empty, always return true.
- containsSubSeq(Seq<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Check whether this seq contains the sub seq, if the given seq is empty, always return true.
- containsValue(V) - Method in interface com.worksap.icefig.lang.Hash
-
- count(V) - Method in interface com.worksap.icefig.lang.Hash
-
Returns the number of the specified value in this hash.
- count(T) - Method in interface com.worksap.icefig.lang.Seq
-
Returns the number of the specified element.
- countIf(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.Hash
-
Returns the number of entries which satisfy the condition.
- countIf(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Returns the number of elements which satisfy the condition.
- countIf(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Returns the number of elements which satisfy the condition.
- filter(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.Hash
-
Return a new hash with the key-value pairs of the original Hash which satisfy the condition.
- filter(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- filter(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filter(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filter(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Gets elements which satisfy the condition, resulting a new seq without changing the original one.
- filter(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Gets elements which satisfy the condition, resulting a new seq without changing the original one.
- filterInPlace(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- filterInPlace(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filterInPlace(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filterWhile(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filterWhile(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filterWhile(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Gets elements at the front of this seq which satisfy the condition, resulting a new seq without changing the original one.
- filterWhile(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Gets elements at the front of this seq which satisfy the condition, resulting a new seq without changing the original one.
- filterWhileInPlace(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- filterWhileInPlace(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- findFirst(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Find the first element which satisfy the condition.
- findFirstIndex(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Find the index of the first element which satisfy the condition.
- findLast(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Find the last element which satisfy the condition.
- findLastIndex(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Find the index of the last element which satisfy the condition.
- first() - Method in interface com.worksap.icefig.lang.Seq
-
- flatMap(Function<T, Seq<R>>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- flatMap(BiFunction<T, Integer, Seq<R>>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- flatMap(Function<T, Seq<R>>) - Method in interface com.worksap.icefig.lang.Seq
-
Transform each element into a seq, and concat all seq together into a new seq.
- flatMap(BiFunction<T, Integer, Seq<R>>) - Method in interface com.worksap.icefig.lang.Seq
-
Similar to
Seq.flatMap(Function), with additional parameter "index" as the second parameter of the lambda expression.
- forEach(Consumer<? super C>) - Method in class com.worksap.icefig.lang.Range
-
Iterate each element of the range.
- forEach(BiConsumer<? super C, Integer>) - Method in class com.worksap.icefig.lang.Range
-
Similar to
Range.forEach(Consumer), with additional parameter "index" as the second parameter of the lambda expression.
- forEach(Consumer<? super T>) - Method in interface com.worksap.icefig.lang.Seq
-
Iterate each element of the seq.
- forEach(BiConsumer<? super T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Similar to
Seq.forEach(Consumer), with additional parameter "index" as the second parameter of the lambda expression.
- forEachByte(Consumer<Byte>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each byte of the CharSeq.
- forEachByte(BiConsumer<Byte, Integer>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each byte of the CharSeq,
with additional parameter "index" as the second parameter.
- forEachChar(Consumer<Character>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each character of the CharSeq.
- forEachChar(BiConsumer<Character, Integer>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each character of the CharSeq,
with additional parameter "index" as the second parameter.
- forEachCodePoint(Consumer<Integer>) - Method in class com.worksap.icefig.lang.CharSeq
-
Takes action on the Unicode of each character in this CharSeq.
- forEachCombination(int, Consumer<Seq<T>>) - Method in interface com.worksap.icefig.lang.Seq
-
- forEachCons(int, Consumer<Seq<T>>) - Method in interface com.worksap.icefig.lang.Seq
-
Similar with
Seq.eachCons(int), but instead of to return the transformed seq, it iterates the transformed seq and do action.
- forEachLine(Consumer<CharSeq>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each line of the CharSeq.
- forEachLine(BiConsumer<CharSeq, Integer>) - Method in class com.worksap.icefig.lang.CharSeq
-
Performs the given action for each line of the CharSeq,
with additional parameter "index" as the second parameter.
- forEachReverse(Consumer<? super T>) - Method in interface com.worksap.icefig.lang.Seq
-
Iterate each element of the seq from the end to the beginning.
- forEachReverse(BiConsumer<? super T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
- forEachSlice(int, Consumer<Seq<T>>) - Method in interface com.worksap.icefig.lang.Seq
-
Slices the seq to construct some slices and take action on each slice.
- from(C) - Method in class com.worksap.icefig.lang.Range
-
Set start point
- Range<C extends java.lang.Comparable<C>> - Class in com.worksap.icefig.lang
-
Range is an element generator on the basis of start point,
end point and next element function.
- Range(C) - Constructor for class com.worksap.icefig.lang.Range
-
- Range(C, C, Function<C, C>) - Constructor for class com.worksap.icefig.lang.Range
-
- reduce(BinaryOperator<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Performs a reduction on the elements of this seq, using the provided
binary operation, and returns the reduced value.
- reduce(R, BiFunction<R, T, R>) - Method in interface com.worksap.icefig.lang.Seq
-
Performs a reduction on the elements of this seq, using the provided initial value
and a binary function, and returns the reduced value.
- reject(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.Hash
-
Return a new hash with the key-value pairs of the original Hash which don't satisfy the condition.
- reject(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- reject(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- reject(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- reject(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Removes elements which satisfy the condition, resulting a new seq without changing the original one.
- reject(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Removes elements which satisfy the condition, resulting a new seq without changing the original one.
- rejectInPlace(BiPredicate<K, V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- rejectInPlace(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rejectInPlace(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rejectWhile(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rejectWhile(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rejectWhile(Predicate<T>) - Method in interface com.worksap.icefig.lang.Seq
-
Removes elements at the front of this seq which satisfy the condition, resulting a new seq without changing the original one.
- rejectWhile(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.Seq
-
Removes elements at the front of this seq which satisfy the condition, resulting a new seq without changing the original one.
- rejectWhileInPlace(Predicate<T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rejectWhileInPlace(BiPredicate<T, Integer>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- remove(K) - Method in interface com.worksap.icefig.lang.Hash
-
Removes the mapping for a key from this map if it is present
(optional operation).
- remove(K, V) - Method in interface com.worksap.icefig.lang.Hash
-
Removes the entry for the specified key only if it is currently
mapped to the specified value.
- remove(K) - Method in interface com.worksap.icefig.lang.MutableHash
-
- remove(K, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
- removeInPlace(K) - Method in interface com.worksap.icefig.lang.MutableHash
-
In-place method of #remove(K)
- removeInPlace(K, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
In-place method of #remove(K, V)
- repeat(int) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- repeat(int) - Method in interface com.worksap.icefig.lang.Seq
-
Returns a new seq built by concatenating the times copies of this seq.
- repeatInPlace(int) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- replace(K, V) - Method in interface com.worksap.icefig.lang.Hash
-
Replaces the entry for the specified key only if it is
currently mapped to some value.
- replace(K, V, V) - Method in interface com.worksap.icefig.lang.Hash
-
Replaces the entry for the specified key only if currently
mapped to the specified value.
- replace(K, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
- replace(K, V, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
- replaceAll(String, CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq by replacing each substring of this
CharSeq that matches the given regular expression with
the given CharSeq replacement.
- replaceAll(String, String) - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq by replacing each substring of this
CharSeq that matches the given regular expression with
the given String replacement.
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in interface com.worksap.icefig.lang.Hash
-
Replaces each entry's value with the result of invoking the given
function on that entry until all entries have been processed or the
function throws an exception.
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- replaceAllInPlace(BiFunction<? super K, ? super V, ? extends V>) - Method in interface com.worksap.icefig.lang.MutableHash
-
- replaceFirst(String, CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq by replacing the first substring of this CharSeq
that matches the given regular expression with the given CharSeq replacement.
- replaceFirst(String, String) - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq by replacing the first substring of this CharSeq
that matches the given regular expression with the given String replacement.
- replaceInPlace(K, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
In-place method of #replace(K, V)
- replaceInPlace(K, V, V) - Method in interface com.worksap.icefig.lang.MutableHash
-
In-place method of #replace(K, V, V)
- reverse() - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq with the characters from
this CharSeq in reverse order.
- reverse() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- reverse() - Method in interface com.worksap.icefig.lang.Seq
-
Constructs a new seq containing all the elements of this seq in reverse order.
- reverseInPlace() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- rPartition(String) - Method in class com.worksap.icefig.lang.CharSeq
-
Searches pattern (regex) in the CharSeq and returns
a Seq of CharSeq consists of the part before it,
the last match, and the part after it.
- sample(int) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- sample() - Method in interface com.worksap.icefig.lang.Seq
-
Randomly find an element in the seq.
- sample(int) - Method in interface com.worksap.icefig.lang.Seq
-
Randomly find n elements in the seq.
- scan(String) - Method in class com.worksap.icefig.lang.CharSeq
-
Scan through this CharSeq iteratively, generate a Seq of CharSeq
with all the matching subStrings.
- Seq<T> - Interface in com.worksap.icefig.lang
-
Elegant supplement for List in JDK
- Seqs - Class in com.worksap.icefig.lang
-
Factory class for construct Seq and MutableSeq
- Seqs() - Constructor for class com.worksap.icefig.lang.Seqs
-
- set(int, T) - Method in interface com.worksap.icefig.lang.MutableSeq
-
Update the element at the index.
- shuffle() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- shuffle() - Method in interface com.worksap.icefig.lang.Seq
-
Randomly shuffle the seq, resulting a new seq.
- shuffleInPlace() - Method in interface com.worksap.icefig.lang.MutableSeq
-
- size() - Method in interface com.worksap.icefig.lang.Hash
-
- size() - Method in interface com.worksap.icefig.lang.Seq
-
Get the number of elements in this seq.
- sort(Comparator<? super T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- sort(Comparator<? super T>) - Method in interface com.worksap.icefig.lang.Seq
-
Sort the seq by the comparator, resulting a new seq, without changing the original seq.
- sortInPlace(Comparator<? super T>) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- split(String) - Method in class com.worksap.icefig.lang.CharSeq
-
Splits this CharSeq around matches of the given regular expression.
- spliterator() - Method in class com.worksap.icefig.lang.Range
-
- startsWith(CharSeq) - Method in class com.worksap.icefig.lang.CharSeq
-
Tests whether this CharSeq starts with the specified prefix
- subSeq(int, int) - Method in class com.worksap.icefig.lang.CharSeq
-
Returns a CharSeq that contains a substring of this CharSeq's string.
- subSeq(int) - Method in class com.worksap.icefig.lang.CharSeq
-
Returns a CharSeq that contains a substring of this CharSeq's string.
- subSeq(int, int) - Method in interface com.worksap.icefig.lang.MutableSeq
-
- subSeq(int, int) - Method in interface com.worksap.icefig.lang.Seq
-
Create a new seq which is the sub seq of the current one.
- swapcase() - Method in class com.worksap.icefig.lang.CharSeq
-
Return a new CharSeq with all characters' cases toggled.