- SafeVarargs - Annotation Type in java.lang
-
A programmer assertion that the body of the annotated method or
constructor does not perform potentially unsafe operations on its
varargs parameter.
- sample() - Method in class net.sf.rubycollect4j.RubyArray
-
Picks an element randomly.
- sample(int) - Method in class net.sf.rubycollect4j.RubyArray
-
Picks n element randomly.
- scan(String) - Method in class net.sf.rubycollect4j.RubyString
-
Both forms iterate through str, matching the regexp.
- scan(String, Block<String>) - Method in class net.sf.rubycollect4j.RubyString
-
Both forms iterate through str, matching the regexp.
- scanGroups(String) - Method in class net.sf.rubycollect4j.RubyString
-
Both forms iterate through str, matching the regexp.
- scanGroups(String, Block<RubyArray<String>>) - Method in class net.sf.rubycollect4j.RubyString
-
Both forms iterate through str, matching the regexp.
- scrub() - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with �.
- scrub(String) - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with
given replacement character.
- scrub(TransformBlock<RubyArray<Byte>, String>) - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with
returned value of the block.
- scrubǃ() - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with �.
- scrubǃ(String) - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with
given replacement character.
- scrubǃ(TransformBlock<RubyArray<Byte>, String>) - Method in class net.sf.rubycollect4j.RubyString
-
If the string is invalid byte sequence then replace invalid bytes with
returned value of the block.
- second() - Method in class net.sf.rubycollect4j.RubyDate
-
- seconds() - Method in class net.sf.rubycollect4j.RubyDate.DateShifter
-
Shifts the time by seconds.
- seek(int) - Method in class net.sf.rubycollect4j.RubyDir
-
Returns a
RubyDir
that entries is set to the given position.
- seek(long) - Method in class net.sf.rubycollect4j.RubyIO
-
Moves the cursor to certain position.
- select() - Method in interface net.sf.rubycollect4j.Ruby.Enumerable
-
Returns an enumerator of elements.
- select(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.Ruby.Enumerable
-
- select() - Method in interface net.sf.rubycollect4j.Ruby.LazyEnumerator
-
Returns an enumerator of elements.
- select(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.Ruby.LazyEnumerator
-
- select() - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Returns an enumerator of elements.
- select(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
- select() - Method in class net.sf.rubycollect4j.RubyEnumerable
-
Returns an enumerator of elements.
- select(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- select(EntryBooleanBlock<? super K, ? super V>) - Method in class net.sf.rubycollect4j.RubyHash
-
An adapter method.
- select() - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
Returns an enumerator of elements.
- select(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- selectǃ() - Method in class net.sf.rubycollect4j.RubyArray
-
- selectǃ(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubyArray
-
Selects elements which the result returned by the block are false.
- selectǃ(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubySet
-
- send(Object, String, Object...) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Byte) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, byte) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Short) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, short) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Integer) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, int) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Long) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, long) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Float) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, float) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Double) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, double) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Boolean) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, boolean) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, Character) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- send(Object, String, char) - Static method in class net.sf.rubycollect4j.RubyObject
-
Executes a method of any Object by Java reflection.
- set(int, E) - Method in class net.sf.rubycollect4j.RubyArray
-
- setbyte(int, byte) - Method in class net.sf.rubycollect4j.RubyString
-
Modifies the indexth byte.
- setDefault(V) - Method in class net.sf.rubycollect4j.RubyHash
-
Sets the default value of this
RubyHash
.
- setValue(V) - Method in class net.sf.rubycollect4j.util.ComparableEntry
-
- setValue(U) - Method in class net.sf.rubycollect4j.util.LinkedIdentityMap.IdentityEntry
-
- shift() - Method in class net.sf.rubycollect4j.RubyArray
-
Removes and returns the first element.
- shift(int) - Method in class net.sf.rubycollect4j.RubyArray
-
Removes and returns the first n element.
- shift() - Method in class net.sf.rubycollect4j.RubyHash
-
Removes the first Entry and returns it.
- shuffle() - Method in class net.sf.rubycollect4j.RubyArray
-
- shuffleǃ() - Method in class net.sf.rubycollect4j.RubyArray
-
- size() - Method in class net.sf.rubycollect4j.RubyArray
-
- size(String) - Static method in class net.sf.rubycollect4j.RubyFile
-
Returns the size of a file.
- size() - Method in class net.sf.rubycollect4j.RubyFile
-
Returns the size of the file in bytes.
- size() - Method in class net.sf.rubycollect4j.RubyHash
-
- size() - Method in class net.sf.rubycollect4j.RubySet
-
- size() - Method in class net.sf.rubycollect4j.RubyString
-
Returns the character length of str.
- size() - Method in class net.sf.rubycollect4j.util.LinkedIdentityMap.EntrySet
-
- size() - Method in class net.sf.rubycollect4j.util.LinkedIdentityMap.KeySet
-
- size() - Method in class net.sf.rubycollect4j.util.LinkedIdentityMap
-
- size() - Method in class net.sf.rubycollect4j.util.LinkedIdentityMap.Values
-
- sizeʔ(String) - Static method in class net.sf.rubycollect4j.RubyFile
-
Returns null if filedoesn’t exist or has 0 in length, the size of the file
otherwise.
- slice(int) - Method in class net.sf.rubycollect4j.RubyArray
-
- slice(int, int) - Method in class net.sf.rubycollect4j.RubyArray
-
- slice(int) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a substring of one character at that index.
- slice(int, int) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a substring containing length characters starting at the index.
- slice(Pattern) - Method in class net.sf.rubycollect4j.RubyString
-
Returns the matching portion of the string.
- slice(Pattern, int) - Method in class net.sf.rubycollect4j.RubyString
-
Returns the target group of matching portion of the string.
- slice(String) - Method in class net.sf.rubycollect4j.RubyString
-
Returns if matchStr occurs in the string.
- sliceBefore(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.Ruby.Enumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should get true returned by the block.
- sliceBefore(String) - Method in interface net.sf.rubycollect4j.Ruby.Enumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should be matched by the regex.
- sliceBefore(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.Ruby.LazyEnumerator
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should get true returned by the block.
- sliceBefore(String) - Method in interface net.sf.rubycollect4j.Ruby.LazyEnumerator
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should be matched by the regex.
- sliceBefore(BooleanBlock<? super E>) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should get true returned by the block.
- sliceBefore(String) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should be matched by the regex.
- sliceBefore(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should get true returned by the block.
- sliceBefore(String) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should be matched by the regex.
- sliceBefore(EntryBooleanBlock<? super K, ? super V>) - Method in class net.sf.rubycollect4j.RubyHash
-
An adapter method.
- sliceBefore(BooleanBlock<? super E>) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should get true returned by the block.
- sliceBefore(String) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
Groups elements into
RubyArray
s and the first element of each
RubyArray
should be matched by the regex.
- SliceBeforeIterable<E> - Class in net.sf.rubycollect4j.iter
-
- SliceBeforeIterable(Iterable<? extends E>, BooleanBlock<? super E>) - Constructor for class net.sf.rubycollect4j.iter.SliceBeforeIterable
-
- SliceBeforeIterable(Iterable<E>, Pattern) - Constructor for class net.sf.rubycollect4j.iter.SliceBeforeIterable
-
Creates a SliceBeforeIterable.
- SliceBeforeIterator<E> - Class in net.sf.rubycollect4j.iter
-
- SliceBeforeIterator(Iterator<? extends E>, BooleanBlock<? super E>) - Constructor for class net.sf.rubycollect4j.iter.SliceBeforeIterator
-
- SliceBeforeIterator(Iterator<? extends E>, Pattern) - Constructor for class net.sf.rubycollect4j.iter.SliceBeforeIterator
-
- sliceǃ(int) - Method in class net.sf.rubycollect4j.RubyArray
-
Removes and returns an element of given index out of this
RubyArray
.
- sliceǃ(int, int) - Method in class net.sf.rubycollect4j.RubyArray
-
Slices an interval of this
RubyArray
out of self.
- sliceǃ(int) - Method in class net.sf.rubycollect4j.RubyString
-
Deletes the specified portion from str, and returns the portion deleted.
- sliceǃ(int, int) - Method in class net.sf.rubycollect4j.RubyString
-
Deletes the specified portion from str, and returns the portion deleted.
- sliceǃ(Pattern) - Method in class net.sf.rubycollect4j.RubyString
-
Deletes the specified portion from str, and returns the portion deleted.
- sliceǃ(Pattern, int) - Method in class net.sf.rubycollect4j.RubyString
-
Deletes the specified portion from str, and returns the portion deleted.
- sliceǃ(String) - Method in class net.sf.rubycollect4j.RubyString
-
Deletes the specified portion from str, and returns the portion deleted.
- sort() - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Sorts elements and puts them into a
RubyArray
.
- sort() - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- sort() - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- sortBy() - Method in interface net.sf.rubycollect4j.Ruby.Enumerable
-
Returns an enumerator of elements.
- sortBy() - Method in interface net.sf.rubycollect4j.Ruby.LazyEnumerator
-
Returns an enumerator of elements.
- sortBy() - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Returns an enumerator of elements.
- sortBy(Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Sorts elements by the ordering of outputs transformed by the block
induced by the Comparator, then puts them into a
RubyArray
.
- sortBy(Comparator<? super E>, Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Sorts elements by the ordering of outputs transformed by the block
induced by the Comparator for S and applies the Comparator for E again
before puts them into a
RubyArray
.
- sortBy(TransformBlock<? super E, ? extends S>) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Sorts elements by the ordering of outputs transformed by the block, then
puts them into a
RubyArray
.
- sortBy(String, Object...) - Method in interface net.sf.rubycollect4j.RubyContract.Enumerable
-
Sorts elements by the ordering of the outputs invoked by given method
name, then puts them into a
RubyArray
.
- sortBy() - Method in class net.sf.rubycollect4j.RubyEnumerable
-
Returns an enumerator of elements.
- sortBy(Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- sortBy(Comparator<? super E>, Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- sortBy(TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- sortBy(String, Object...) - Method in class net.sf.rubycollect4j.RubyEnumerable
-
- sortBy(Comparator<? super S>, EntryTransformBlock<? super K, ? super V, ? extends S>) - Method in class net.sf.rubycollect4j.RubyHash
-
An adapter method.
- sortBy(EntryTransformBlock<? super K, ? super V, ? extends S>) - Method in class net.sf.rubycollect4j.RubyHash
-
An adapter method.
- sortBy() - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
Returns an enumerator of elements.
- sortBy(Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- sortBy(Comparator<? super E>, Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- sortBy(TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- sortBy(String, Object...) - Method in class net.sf.rubycollect4j.RubyLazyEnumerator
-
- sortByǃ() - Method in class net.sf.rubycollect4j.RubyArray
-
- sortByǃ(Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyArray
-
Sorts elements of this
RubyArray
by the ordering of outputs
transformed by the block induced by the Comparator.
- sortByǃ(Comparator<? super E>, Comparator<? super S>, TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyArray
-
Sorts elements of this
RubyArray
by the ordering of outputs
transformed by the block induced by the Comparator for S and applies the
Comparator for E again.
- sortByǃ(TransformBlock<? super E, ? extends S>) - Method in class net.sf.rubycollect4j.RubyArray
-
Sorts elements of this
RubyArray
by the ordering of putputs
transformed by the block.
- sortByǃ(String, Object...) - Method in class net.sf.rubycollect4j.RubyArray
-
Sorts elements of this
RubyArray
by the ordering of outputs invoked
by given method name.
- sortǃ() - Method in class net.sf.rubycollect4j.RubyArray
-
- sortǃ(Comparator<? super E>) - Method in class net.sf.rubycollect4j.RubyArray
-
- split() - Method in class net.sf.rubycollect4j.RubyString
-
Divides str into substrings based on a whitespaces, returning a
RubyArray
of these substrings.
- split(String) - Method in class net.sf.rubycollect4j.RubyString
-
Divides str into substrings based on a delimiter, returning a
RubyArray
of these substrings.
- split(String, int) - Method in class net.sf.rubycollect4j.RubyString
-
Divides str into substrings based on a delimiter, returning a
RubyArray
of these substrings, at most that limit number of fields
will be returned.
- split(Pattern) - Method in class net.sf.rubycollect4j.RubyString
-
Divides str into substrings based on a Pattern, returning a
RubyArray
of these substrings.
- split(Pattern, int) - Method in class net.sf.rubycollect4j.RubyString
-
Divides str into substrings based on a Pattern, returning a
RubyArray
of these substrings, at most that limit number of fields
will be returned.
- squeeze() - Method in class net.sf.rubycollect4j.RubyString
-
- squeeze(String) - Method in class net.sf.rubycollect4j.RubyString
-
- squeezeǃ() - Method in class net.sf.rubycollect4j.RubyString
-
Squeezes str in place, returning either str, or nil if no changes were
made.
- squeezeǃ(String) - Method in class net.sf.rubycollect4j.RubyString
-
Squeezes str in place, returning either str, or nil if no changes were
made.
- startWithʔ(String, String...) - Method in class net.sf.rubycollect4j.RubyString
-
Returns true if str starts with one of the prefixes given.
- step(int) - Method in class net.sf.rubycollect4j.RubyRange
-
- step(int, Block<E>) - Method in class net.sf.rubycollect4j.RubyRange
-
Iterates over this
RubyRange
and yields each nth element to the
block.
- StepIterable<E> - Class in net.sf.rubycollect4j.iter
-
StepIterable
iterates elements by skipping n elements each time.
- StepIterable(Iterable<? extends E>, int) - Constructor for class net.sf.rubycollect4j.iter.StepIterable
-
- StepIterator<E> - Class in net.sf.rubycollect4j.iter
-
StepIterator
iterates elements by skipping n elements each time.
- StepIterator(Iterator<? extends E>, int) - Constructor for class net.sf.rubycollect4j.iter.StepIterator
-
- store(K, V) - Method in class net.sf.rubycollect4j.RubyHash
-
Puts a key-value pair and returns the value.
- StringSuccessor - Class in net.sf.rubycollect4j.succ
-
- strip() - Method in class net.sf.rubycollect4j.RubyString
-
Returns a copy of str with leading and trailing whitespace removed.
- stripǃ() - Method in class net.sf.rubycollect4j.RubyString
-
Removes leading and trailing whitespace from str.
- sub(String, String) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a copy of str with the first occurrence of pattern replaced by the
second argument.
- sub(String, Map<String, ?>) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a copy of str with the first occurrence of pattern replaced by the
second argument.
- sub(String, TransformBlock<String, String>) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a copy of str with the first occurrence of pattern replaced by the
value returned by the block will be substituted for the match on each call.
- subList(int, int) - Method in class net.sf.rubycollect4j.RubyArray
-
- subSequence(int, int) - Method in class net.sf.rubycollect4j.RubyString
-
- subSequence(int, int) - Method in class net.sf.rubycollect4j.util.ASCII8BitUTF
-
- subsetʔ(Set<E>) - Method in class net.sf.rubycollect4j.RubySet
-
Returns true if the set is a subset of the given set.
- subtract(Iterable<E>) - Method in class net.sf.rubycollect4j.RubySet
-
Deletes every element that appears in the given Iterable and returns self.
- subǃ(String, String) - Method in class net.sf.rubycollect4j.RubyString
-
- subǃ(String, TransformBlock<String, String>) - Method in class net.sf.rubycollect4j.RubyString
-
- succ() - Method in class net.sf.rubycollect4j.RubyString
-
Returns the successor to str.
- succ(Character) - Method in class net.sf.rubycollect4j.succ.CharacterSuccessor
-
- succ(Date) - Method in class net.sf.rubycollect4j.succ.DateSuccessor
-
- succ(Double) - Method in class net.sf.rubycollect4j.succ.DoubleSuccessor
-
- succ(Integer) - Method in class net.sf.rubycollect4j.succ.IntegerSuccessor
-
- succ(Long) - Method in class net.sf.rubycollect4j.succ.LongSuccessor
-
- succ(String) - Method in class net.sf.rubycollect4j.succ.StringSuccessor
-
- succ(E) - Method in interface net.sf.rubycollect4j.succ.Successive
-
Returns the successor of given element.
- Successive<E> - Interface in net.sf.rubycollect4j.succ
-
Successive
interface defines a common approach to generate a
successive item of any given element.
- succǃ() - Method in class net.sf.rubycollect4j.RubyString
-
- sum() - Method in class net.sf.rubycollect4j.RubyString
-
Returns a basic n-bit checksum of the characters in str, where n is 16.
- sum(int) - Method in class net.sf.rubycollect4j.RubyString
-
Returns a basic n-bit checksum of the characters in str, where n is the
optional Fixnum parameter.
- supersetʔ(Set<E>) - Method in class net.sf.rubycollect4j.RubySet
-
Returns true if the set is a superset of the given set.
- swapcase() - Method in class net.sf.rubycollect4j.RubyString
-
Returns a copy of str with uppercase alphabetic characters converted to
lowercase and lowercase characters converted to uppercase.
- swapcaseǃ() - Method in class net.sf.rubycollect4j.RubyString
-
Equivalent to
RubyString.swapcase()
, but modifies the receiver in place,
returning str, or null if no changes were made.