Index

A B C D E F G I L M O P R S T 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(byte, byte) - Static method in class com.reve.reed.solomon.matrix.Galois
Adds two elements of the field.
ALL_CODING_LOOPS - Static variable in interface com.reve.reed.solomon.coding.CodingLoop
All of the available coding loop algorithms.
allPossiblePolynomials() - Static method in class com.reve.reed.solomon.matrix.Galois
Returns a list of all polynomials that can be used to generate the field.
augment(Matrix) - Method in class com.reve.reed.solomon.matrix.Matrix
Returns the concatenation of this matrix and the matrix on the right.
augment(MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns the concatenation of this matrix and the matrix on the right.
augment(MatrixOptimized, MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns the concatenation of this matrix and the matrix on the right.

B

ByteInputOutputExpCodingLoop - Class in com.reve.reed.solomon.coding
 
ByteInputOutputExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.ByteInputOutputExpCodingLoop
 
ByteInputOutputTableCodingLoop - Class in com.reve.reed.solomon.coding
 
ByteInputOutputTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.ByteInputOutputTableCodingLoop
 
ByteOutputInputExpCodingLoop - Class in com.reve.reed.solomon.coding
 
ByteOutputInputExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.ByteOutputInputExpCodingLoop
 
ByteOutputInputTableCodingLoop - Class in com.reve.reed.solomon.coding
 
ByteOutputInputTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.ByteOutputInputTableCodingLoop
 
BYTES_IN_INT - Static variable in class com.reve.reed.solomon.sample.SampleDecoder
 
BYTES_IN_INT - Static variable in class com.reve.reed.solomon.sample.SampleEncoder
 

C

checkSomeShards(byte[][], byte[][], int, byte[][], int, int, int, byte[]) - Method in interface com.reve.reed.solomon.coding.CodingLoop
Multiplies a subset of rows from a coding matrix by a full set of input shards to produce some output shards, and checks that the the data is those shards matches what's expected.
checkSomeShards(byte[][], byte[][], int, byte[][], int, int, int, byte[]) - Method in class com.reve.reed.solomon.coding.CodingLoopBase
 
checkSomeShards(byte[][], byte[][], int, byte[][], int, int, int, byte[]) - Method in class com.reve.reed.solomon.coding.InputOutputByteTableCodingLoop
 
checkSomeShards(byte[][], byte[][], int, byte[][], int, int, int, byte[]) - Method in class com.reve.reed.solomon.coding.OutputInputByteTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.ByteInputOutputExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.ByteInputOutputTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.ByteOutputInputExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.ByteOutputInputTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in interface com.reve.reed.solomon.coding.CodingLoop
Multiplies a subset of rows from a coding matrix by a full set of input shards to produce some output shards.
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.InputByteOutputExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.InputByteOutputTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.InputOutputByteExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.InputOutputByteTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.OutputByteInputExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.OutputByteInputTableCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.OutputInputByteExpCodingLoop
 
codeSomeShards(byte[][], byte[][], int, byte[][], int, int, int) - Method in class com.reve.reed.solomon.coding.OutputInputByteTableCodingLoop
 
CodingLoop - Interface in com.reve.reed.solomon.coding
 
CodingLoopBase - Class in com.reve.reed.solomon.coding
Common implementations for coding loops.
CodingLoopBase() - Constructor for class com.reve.reed.solomon.coding.CodingLoopBase
 
com.reve.reed.solomon - package com.reve.reed.solomon
 
com.reve.reed.solomon.coding - package com.reve.reed.solomon.coding
 
com.reve.reed.solomon.matrix - package com.reve.reed.solomon.matrix
 
com.reve.reed.solomon.sample - package com.reve.reed.solomon.sample
 
com.reve.reed.solomon.shard - package com.reve.reed.solomon.shard
 
create(int, int) - Static method in class com.reve.reed.solomon.ReedSolomon
Creates a ReedSolomon codec with the default coding loop.
create(int, int) - Static method in class com.reve.reed.solomon.ReedSolomonOptimized
 

D

DATA_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleDecoder
 
DATA_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleEncoder
 
dataShardCount - Variable in class com.reve.reed.solomon.ReedSolomonOptimized
 
decodeMissing(byte[][], boolean[], int, int) - Method in class com.reve.reed.solomon.ReedSolomon
Given a list of shards, some of which contain data, fills in the ones that don't have data.
decodeMissing(byte[][], boolean[], int, int) - Method in class com.reve.reed.solomon.ReedSolomonOptimized
Given a list of shards, some of which contain data, fills in the ones that don't have data.
decodeMissing(byte[][], boolean[], int, int, int, int) - Method in class com.reve.reed.solomon.ReedSolomonOptimized
Given a list of shards, some of which contain data, fills in the ones that don't have data.
decodeParity(Shard, byte[], int) - Method in class com.reve.reed.solomon.ReveReedSolomon
Decode the given instance of Shard and save the decoded bytes into given output array.
decodeParity(Shard, int, byte[], int) - Method in class com.reve.reed.solomon.ReveReedSolomon
Decode the given instance of Shard and save the decoded bytes into given output array.
DEFAULT_LOSS_PERCENTAGE - Static variable in class com.reve.reed.solomon.ReveReedSolomon
Default value for loss percentage while getting the ReedSolomonOptimized instance from ReveReedSolomon.solomonMap
divide(byte, byte) - Static method in class com.reve.reed.solomon.matrix.Galois
Inverse of multiplication.

E

encodeParity(byte[][], int, int) - Method in class com.reve.reed.solomon.ReedSolomon
Encodes parity for a set of data shards.
encodeParity(byte[][], int, int) - Method in class com.reve.reed.solomon.ReedSolomonOptimized
 
encodeParity(byte[][], int, int, int, int) - Method in class com.reve.reed.solomon.ReedSolomon
 
encodeParity(byte[][], int, int, int, int) - Method in class com.reve.reed.solomon.ReedSolomonOptimized
 
encodeParity(byte[], int, int) - Method in class com.reve.reed.solomon.ReveReedSolomon
Encode the given byte array using ReveReedSolomon.DEFAULT_LOSS_PERCENTAGE instance of ReedSolomonOptimized This method will try to encode bytes with as most data shard count as possible.
encodeParity(byte[], int, int, int) - Method in class com.reve.reed.solomon.ReveReedSolomon
 
equals(Object) - Method in class com.reve.reed.solomon.matrix.Matrix
Returns true iff this matrix is identical to the other.
equals(Object) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns true iff this matrix is identical to the other.
exp(byte, int) - Static method in class com.reve.reed.solomon.matrix.Galois
Computes a**n.
expandIfRequired(int) - Method in class com.reve.reed.solomon.shard.Shard
Expand the length of each byte array of Shard.data to the required value if the length is not enough.

F

FIELD_SIZE - Static variable in class com.reve.reed.solomon.matrix.Galois
The number of elements in the field.
freeInstance(Shard) - Static method in class com.reve.reed.solomon.shard.Shard
 

G

Galois - Class in com.reve.reed.solomon.matrix
8-bit Galois Field This class implements multiplication, division, addition, subtraction, and exponentiation.
Galois() - Constructor for class com.reve.reed.solomon.matrix.Galois
 
generateExpTable(short[]) - Static method in class com.reve.reed.solomon.matrix.Galois
Generates the inverse log table.
generateLogTable(int) - Static method in class com.reve.reed.solomon.matrix.Galois
Generates a logarithm table given a starting polynomial.
generateMultiplicationTable() - Static method in class com.reve.reed.solomon.matrix.Galois
Generates a multiplication table as an array of byte arrays.
GENERATING_POLYNOMIAL - Static variable in class com.reve.reed.solomon.matrix.Galois
The polynomial used to generate the logarithm table.
get(int, int) - Method in class com.reve.reed.solomon.matrix.Matrix
Returns the value at row r, column c.
get(int, int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns the value at row r, column c.
getColumns() - Method in class com.reve.reed.solomon.matrix.Matrix
Returns the number of columns in this matrix.
getColumns() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
 
getData() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
 
getData() - Method in class com.reve.reed.solomon.shard.Shard
 
getDataShardCount() - Method in class com.reve.reed.solomon.ReedSolomon
Returns the number of data shards.
getDataShardCount() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getInstance() - Static method in class com.reve.reed.solomon.ReveReedSolomon
Get the single-ton instance.
getInstance() - Static method in class com.reve.reed.solomon.shard.Shard
 
getLossPercentage() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getPaddingLen() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getParityShardCount() - Method in class com.reve.reed.solomon.ReedSolomon
Returns the number of parity shards.
getParityShardCount() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getPresence() - Method in class com.reve.reed.solomon.shard.Shard
 
getRow(int) - Method in class com.reve.reed.solomon.matrix.Matrix
Returns one row of the matrix as a byte array.
getRow(int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns one row of the matrix as a byte array.
getRow(int, byte[], int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns one row of the matrix as a byte array.
getRows() - Method in class com.reve.reed.solomon.matrix.Matrix
Returns the number of rows in this matrix.
getRows() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
 
getShardLen() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getSliceSequence() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getStartSequence() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getSubSlices() - Method in class com.reve.reed.solomon.shard.Shard
 
getTotalShardCount() - Method in class com.reve.reed.solomon.ReedSolomon
Returns the total number of shards.
getTotalShardsCount() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
getTotalSlices() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 

I

identity(int) - Static method in class com.reve.reed.solomon.matrix.Matrix
Returns an identity matrix of the given size.
identity(int) - Static method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns an identity matrix of the given size.
InputByteOutputExpCodingLoop - Class in com.reve.reed.solomon.coding
 
InputByteOutputExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.InputByteOutputExpCodingLoop
 
InputByteOutputTableCodingLoop - Class in com.reve.reed.solomon.coding
 
InputByteOutputTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.InputByteOutputTableCodingLoop
 
InputOutputByteExpCodingLoop - Class in com.reve.reed.solomon.coding
 
InputOutputByteExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.InputOutputByteExpCodingLoop
 
InputOutputByteTableCodingLoop - Class in com.reve.reed.solomon.coding
 
InputOutputByteTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.InputOutputByteTableCodingLoop
 
invert() - Method in class com.reve.reed.solomon.matrix.Matrix
Returns the inverse of this matrix.
invert() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns the inverse of this matrix.
invert(MatrixOptimized, MatrixOptimized, MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns the inverse of this matrix.
isDecodable() - Method in class com.reve.reed.solomon.shard.Shard
Decide if there are enough presence shard to decode this slice.
isMegaShard() - Method in class com.reve.reed.solomon.shard.Shard
 
isParityCorrect(byte[][], int, int) - Method in class com.reve.reed.solomon.ReedSolomon
Returns true if the parity shards contain the right data.
isParityCorrect(byte[][], int, int, byte[]) - Method in class com.reve.reed.solomon.ReedSolomon
Returns true if the parity shards contain the right data.
isParityCorrect(byte[][], int, int, int, int) - Method in class com.reve.reed.solomon.ReedSolomonOptimized
Returns true if the parity shards contain the right data.

L

LOG_TABLE - Static variable in class com.reve.reed.solomon.matrix.Galois
Mapping from members of the Galois Field to their integer logarithms.

M

main(String[]) - Static method in class com.reve.reed.solomon.sample.ReedSolomonBenchmark
 
main(String[]) - Static method in class com.reve.reed.solomon.sample.SampleDecoder
 
main(String[]) - Static method in class com.reve.reed.solomon.sample.SampleEncoder
 
Matrix - Class in com.reve.reed.solomon.matrix
A matrix over the 8-bit Galois field.
Matrix(byte[][]) - Constructor for class com.reve.reed.solomon.matrix.Matrix
Initializes a matrix with the given row-major data.
Matrix(int, int) - Constructor for class com.reve.reed.solomon.matrix.Matrix
Initialize a matrix of zeros.
MatrixOptimized - Class in com.reve.reed.solomon.matrix
A matrix over the 8-bit Galois field.
MatrixOptimized() - Constructor for class com.reve.reed.solomon.matrix.MatrixOptimized
Initialize a matrix of zeros.
MatrixOptimized(byte[][]) - Constructor for class com.reve.reed.solomon.matrix.MatrixOptimized
Initializes a matrix with the given row-major data.
MatrixOptimized(int, int) - Constructor for class com.reve.reed.solomon.matrix.MatrixOptimized
Initialize a matrix of zeros.
MAX_DATA_SHARD_COUNT - Static variable in class com.reve.reed.solomon.ReveReedSolomon
Max value of the array above.
MAX_LENGTH - Static variable in class com.reve.reed.solomon.matrix.MatrixOptimized
 
MAX_LOSS_PERCENTAGE_FOR_MAX_SIZE - Static variable in class com.reve.reed.solomon.ReveReedSolomon
 
MAX_SHARD_SIZE - Static variable in class com.reve.reed.solomon.ReveReedSolomon
Maximum number of bytes for each row of shards [][] array.
mergeData(byte[], int) - Method in class com.reve.reed.solomon.shard.Shard
Get all the data shards value into one single output array.
MULTIPLICATION_TABLE - Static variable in class com.reve.reed.solomon.matrix.Galois
A multiplication table for the Galois field.
multiply(byte, byte) - Static method in class com.reve.reed.solomon.matrix.Galois
Multiplies two elements of the field.

O

OutputByteInputExpCodingLoop - Class in com.reve.reed.solomon.coding
 
OutputByteInputExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.OutputByteInputExpCodingLoop
 
OutputByteInputTableCodingLoop - Class in com.reve.reed.solomon.coding
 
OutputByteInputTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.OutputByteInputTableCodingLoop
 
OutputInputByteExpCodingLoop - Class in com.reve.reed.solomon.coding
 
OutputInputByteExpCodingLoop() - Constructor for class com.reve.reed.solomon.coding.OutputInputByteExpCodingLoop
 
OutputInputByteTableCodingLoop - Class in com.reve.reed.solomon.coding
 
OutputInputByteTableCodingLoop() - Constructor for class com.reve.reed.solomon.coding.OutputInputByteTableCodingLoop
 

P

PARITY_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleDecoder
 
PARITY_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleEncoder
 
parityShardsCount - Variable in class com.reve.reed.solomon.ReedSolomonOptimized
 

R

ReedSolomon - Class in com.reve.reed.solomon
Reed-Solomon Coding over 8-bit values.
ReedSolomon(int, int, CodingLoop) - Constructor for class com.reve.reed.solomon.ReedSolomon
Initializes a new encoder/decoder, with a chosen coding loop.
ReedSolomonBenchmark - Class in com.reve.reed.solomon.sample
Benchmark of Reed-Solomon encoding.
ReedSolomonBenchmark() - Constructor for class com.reve.reed.solomon.sample.ReedSolomonBenchmark
 
ReedSolomonOptimized - Class in com.reve.reed.solomon
 
ReedSolomonOptimized(int, int, CodingLoop) - Constructor for class com.reve.reed.solomon.ReedSolomonOptimized
Initializes a new encoder/decoder, with a chosen coding loop.
reset() - Method in class com.reve.reed.solomon.shard.Shard
Reset all the values so that the instance can become reusable again.
reset() - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
ReveReedSolomon - Class in com.reve.reed.solomon
 
run() - Method in class com.reve.reed.solomon.sample.ReedSolomonBenchmark
 

S

SampleDecoder - Class in com.reve.reed.solomon.sample
Command-line program that decodes a file using Reed-Solomon 4+2.
SampleDecoder() - Constructor for class com.reve.reed.solomon.sample.SampleDecoder
 
SampleEncoder - Class in com.reve.reed.solomon.sample
Command-line program encodes one file using Reed-Solomon 4+2.
SampleEncoder() - Constructor for class com.reve.reed.solomon.sample.SampleEncoder
 
set(int, int, byte) - Method in class com.reve.reed.solomon.matrix.Matrix
Sets the value at row r, column c.
set(int, int, byte) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Sets the value at row r, column c.
setColumns(int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
 
setDataShardCount(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setLossPercentage(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setMaxAllowedShardSize(int) - Static method in class com.reve.reed.solomon.ReveReedSolomon
 
setMegaShard(boolean) - Method in class com.reve.reed.solomon.shard.Shard
 
setPaddingLen(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setParityShardCount(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setPresence(int) - Method in class com.reve.reed.solomon.shard.Shard
Set the presence of given index to true.
setRows(int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
 
setShardLen(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setSliceSequence(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setStartSequence(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
setSubSlices(ArrayList<Shard>) - Method in class com.reve.reed.solomon.shard.Shard
 
setTotalSlices(int) - Method in class com.reve.reed.solomon.shard.ShardMetadata
 
Shard - Class in com.reve.reed.solomon.shard
A slice is a fully independent unit that can be decoded in decoder side.
ShardMetadata - Class in com.reve.reed.solomon.shard
 
ShardMetadata() - Constructor for class com.reve.reed.solomon.shard.ShardMetadata
 
splitData(byte[], int, int) - Method in class com.reve.reed.solomon.shard.Shard
Split the given byte array into shards.
submatrix(int, int, int, int) - Method in class com.reve.reed.solomon.matrix.Matrix
Returns a part of this matrix.
submatrix(int, int, int, int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns a part of this matrix.
submatrix(int, int, int, int, MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns a part of this matrix.
subtract(byte, byte) - Static method in class com.reve.reed.solomon.matrix.Galois
Inverse of addition.
swapRows(int, int) - Method in class com.reve.reed.solomon.matrix.Matrix
Exchanges two rows in the matrix.
swapRows(int, int) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Exchanges two rows in the matrix.

T

times(Matrix) - Method in class com.reve.reed.solomon.matrix.Matrix
Multiplies this matrix (the one on the left) by another matrix (the one on the right).
times(MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Multiplies this matrix (the one on the left) by another matrix (the one on the right).
times(MatrixOptimized, MatrixOptimized) - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Multiplies this matrix (the one on the left) by another matrix (the one on the right).
toBigString() - Method in class com.reve.reed.solomon.matrix.Matrix
Returns a human-readable string of the matrix contents.
toBigString() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns a human-readable string of the matrix contents.
toString() - Method in class com.reve.reed.solomon.matrix.Matrix
Returns a human-readable string of the matrix contents.
toString() - Method in class com.reve.reed.solomon.matrix.MatrixOptimized
Returns a human-readable string of the matrix contents.
toString() - Method in class com.reve.reed.solomon.shard.Shard
 
TOTAL_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleDecoder
 
TOTAL_SHARDS - Static variable in class com.reve.reed.solomon.sample.SampleEncoder
 
A B C D E F G I L M O P R S T 
All Classes and Interfaces|All Packages|Constant Field Values