blob: 2325e1b1957d5964c3c84acefcabf22e4d9623c5 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package io.v.baku.toolkit.bind;
import com.google.common.collect.ImmutableList;
public interface ListAccumulator<T> {
boolean containsRow(String rowName);
int getCount();
T getRowAt(int position);
/**
* @return the row index, or a negative index if not present. The negative value (and whether or
* not it has meaning) may vary by implementation.
*/
int getRowIndex(String rowName);
ImmutableList<T> getListSnapshot();
}