Companion
Functions
Create a tuple with the same elements as the receiver, but with the specified newElement appended.
Compare a subrange of the receiver with a subrange of the given byte array tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Test whether the subtuple of the receiver from startIndex1 to endIndex1 equals the subtuple of the byte buffer tuple of the same length starting at startIndex2.
Compare a subrange of the receiver with a subrange of the given byte string. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given byte tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given integer interval tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given nybble tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given object tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given repeated element tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given small integer interval tuple. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of another object. The size of the subrange of both objects is determined by the index range supplied for the receiver.
Compare a subrange of the receiver with a subrange of the given two-byte string. The size of the subrange of both objects is determined by the index range supplied for the receiver.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
As a convenience in Kotlin, allow deconstruction of short tuples.
Compute the hash of the specified subrange of this tuple.
Given a tuple of tuples, concatenate all the inner tuples to construct one new tuple. May destroy the original tuple of tuples if so indicated.
Concatenate the receiver and the argument otherTuple to form a new tuple. Assume that the two input tuples may be destroyed or recycled if they're mutable.
Make a mutable copy of the tuple but in a form that accepts Ints.
Make a mutable copy of the tuple but in a form that accepts Longs.
Make a mutable copy of the tuple but in a form that accepts any objects.
Extract the specified element from the tuple. The element must be an integer in the range 0..15, and is returned as a Java byte.
Search for a particular value in the tuple, starting at the given index and working forward.
Calculate the hash of the subtuple spanning the two indices.
Given two objects that are known to be equal, is the first one in a better form (more compact, more efficient, older generation) than the second one?
Search for a particular value in the tuple, starting at the given one-based index and working backward.
Returns a possibly parallel Stream with this tuple as its source. It is allowable for this method to return a sequential stream.
The receiver is a byte string; extract the code point of the character at the given index as an unsigned byte.
Replace the first child of this tree tuple. Make a copy to modify if the receiver is immutable. Answer the modified original or copy.
Returns a sequential Stream with this tuple as its source.
Transfer the specified subrange of this tuple of bytes into the provided ByteBuffer. There should be sufficient room to write the bytes.
Answer the specified element of the tuple.
Answer a new tuple like the receiver but with a single element replaced at the specified index. If the receiver is mutable and canDestroy is true, then the receiver may be modified or destroyed.
Answer the code point of the character at the given one-based index in this tuple. The tuple doesn't have to be a string, but the requested element must be a character.
Answer the specified element of the tuple. It must be an integer in the range [-2^31..2^31), and is returned as a Java int.
Answer a tuple that has the receiver's elements but in reverse order.
Properties
Answer the approximate memory cost in bits per element of this tuple. This is used to decide the direction of indirections after determining two objects are equal.
The receiver must be a byte buffer tuple; answer its backing ByteBuffer.
Answer the number of children this tree tuple contains.
Return the height of this tree tuple. Flat tuples and subranges have height 0, and tree tuples have heights from 1 to 10. All of a tree tuple's children have a height of one less than the parent tree tuple.