Java Reference

Java Reference

SparsePermutationProtoOrBuilder

Detailed Description

Definition at line 6 of file SparsePermutationProtoOrBuilder.java.

Public Member Functions

java.util.List< java.lang.Integer > getSupportList ()
 
int getSupportCount ()
 
int getSupport (int index)
 
java.util.List< java.lang.Integer > getCycleSizesList ()
 repeated int32 cycle_sizes = 2; More...
 
int getCycleSizesCount ()
 repeated int32 cycle_sizes = 2; More...
 
int getCycleSizes (int index)
 repeated int32 cycle_sizes = 2; More...
 

Member Function Documentation

◆ getCycleSizes()

int getCycleSizes ( int  index)

repeated int32 cycle_sizes = 2;

Parameters
indexThe index of the element to return.
Returns
The cycleSizes at the given index.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.

◆ getCycleSizesCount()

int getCycleSizesCount ( )

repeated int32 cycle_sizes = 2;

Returns
The count of cycleSizes.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.

◆ getCycleSizesList()

java.util.List<java.lang.Integer> getCycleSizesList ( )

repeated int32 cycle_sizes = 2;

Returns
A list containing the cycleSizes.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.

◆ getSupport()

int getSupport ( int  index)
Each cycle is listed one after the other in the support field.
The size of each cycle is given (in order) in the cycle_sizes field.

repeated int32 support = 1;

Parameters
indexThe index of the element to return.
Returns
The support at the given index.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.

◆ getSupportCount()

int getSupportCount ( )
Each cycle is listed one after the other in the support field.
The size of each cycle is given (in order) in the cycle_sizes field.

repeated int32 support = 1;

Returns
The count of support.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.

◆ getSupportList()

java.util.List<java.lang.Integer> getSupportList ( )
Each cycle is listed one after the other in the support field.
The size of each cycle is given (in order) in the cycle_sizes field.

repeated int32 support = 1;

Returns
A list containing the support.

Implemented in SparsePermutationProto.Builder, and SparsePermutationProto.


The documentation for this interface was generated from the following file: