Example usage for com.google.common.collect Table interface-usage

List of usage examples for com.google.common.collect Table interface-usage

Introduction

In this page you can find the example usage for com.google.common.collect Table interface-usage.

Usage

From source file Guava.tabla_guava.java

/**
 *
 * @author Duglas
 */
public class tabla_guava implements Table {

From source file net.roddrim.number5.tools.collect.FluentTable.java

@AllArgsConstructor(access = AccessLevel.PRIVATE)
public final class FluentTable<R, C, V> implements Table<R, C, V> {

    private final Table<R, C, V> delegate;

    public V getOrPutDefault(final R rowKey, final C columnKey, @NonNull final Supplier<V> defaultValues) {

From source file de.brands4friends.daleq.core.TableBuilder.java

final class TableBuilder implements Table {

    private final TableTypeReference tableRef;
    private final List<Row> rows;

    TableBuilder(final TableTypeReference tableRef) {

From source file org.lenskit.util.table.TableImpl.java

/**
 * In-memory table implementation.
 *
 * @author <a href="http://www.grouplens.org">GroupLens Research</a>
 */
@Immutable

From source file org.grouplens.lenskit.util.table.TableImpl.java

/**
 * In-memory table implementation.
 *
 * @author <a href="http://www.grouplens.org">GroupLens Research</a>
 */
@Immutable

From source file com.yammer.collections.transforming.TransformingTable.java

@SuppressWarnings({ "ClassWithTooManyFields", "ClassWithTooManyMethods" })
public class TransformingTable<R, C, V, R1, C1, V1> implements Table<R, C, V> {
    private final Function<Cell<R, C, V>, Cell<R1, C1, V1>> toBackingCellFunction = new Function<Cell<R, C, V>, Cell<R1, C1, V1>>() {
        @Override
        public Cell<R1, C1, V1> apply(Cell<R, C, V> input) {
            return Tables.immutableCell(toRowFunction.apply(input.getRowKey()),

From source file com.yammer.collections.azure.BaseAzureTable.java

@SuppressWarnings("ClassWithTooManyMethods")
public class BaseAzureTable implements Table<Bytes, Bytes, Bytes> {
    private static final Function<AzureEntity, Bytes> COLUMN_KEY_EXTRACTOR = new Function<AzureEntity, Bytes>() {
        @Override
        public Bytes apply(AzureEntity input) {
            return decode(input.getRowKey());

From source file no.ssb.jsonstat.v2.support.DatasetTableView.java

/**
 * An implementation of a {@link Table} that uses a {@link Dataset}
 * as data source.
 */
public class DatasetTableView implements Table<List<String>, List<String>, Number> {

From source file com.haulmont.cuba.desktop.gui.components.DesktopAbstractTable.java

public abstract class DesktopAbstractTable<C extends JXTable, E extends Entity>
        extends DesktopAbstractActionsHolderComponent<C>
        implements Table<E>, LookupComponent.LookupSelectionChangeNotifier {

    protected static final int DEFAULT_ROW_MARGIN = 4;