All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.sinri.keel.poi.excel.entity.KeelSheetMatrixRowTemplate Maven / Gradle / Ivy

Go to download

A website framework with VERT.X for ex-PHP-ers, exactly Ark Framework Users.

The newest version!
package io.github.sinri.keel.poi.excel.entity;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;

/**
 * The columns definition of rows in a templated matrix.
 * @since 3.0.13
 * @since 3.0.18 Finished Technical Preview.
 */
public interface KeelSheetMatrixRowTemplate {
    static KeelSheetMatrixRowTemplate create(@Nonnull List headerRow) {
        return new KeelSheetMatrixRowTemplateImpl(headerRow);
    }

    /**
     * @param i Column index start from 0.
     * @return Column name at index.
     * @throws RuntimeException if index is out of bound
     */
    @Nonnull
    String getColumnName(int i);

    /**
     * @param name the column name to seek.
     * @return The first met (or by customized logic) index of the given column name, and null if not found.
     */
    @Nullable
    Integer getColumnIndex(String name);

    @Nonnull
    List getColumnNames();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy