Home | History | Annotate | Download | only in collect

Lines Matching refs:Cell

37   abstract Cell<R, C, V> getCell(int iterationIndex);
40 final ImmutableSet<Cell<R, C, V>> createCellSet() {
41 return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet();
44 private final class CellSet extends ImmutableSet<Cell<R, C, V>> {
51 public UnmodifiableIterator<Cell<R, C, V>> iterator() {
56 ImmutableList<Cell<R, C, V>> createAsList() {
57 return new ImmutableAsList<Cell<R, C, V>>() {
59 public Cell<R, C, V> get(int index) {
64 ImmutableCollection<Cell<R, C, V>> delegateCollection() {
72 if (object instanceof Cell) {
73 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) object;
74 Object value = get(cell.getRowKey(), cell.getColumnKey());
75 return value != null && value.equals(cell.getValue());
111 List<Cell<R, C, V>> cells,
123 Comparator<Cell<R, C, V>> comparator = new Comparator<Cell<R, C, V>>() {
124 @Override public int compare(Cell<R, C, V> cell1, Cell<R, C, V> cell2) {
140 Iterable<Cell<R, C, V>> cells) {
149 forCellsInternal(Iterable<Cell<R, C, V>> cells,
154 ImmutableList<Cell<R, C, V>> cellList = ImmutableList.copyOf(cells);
155 for (Cell<R, C, V> cell : cellList) {
156 rowSpaceBuilder.add(cell.getRowKey());
157 columnSpaceBuilder.add(cell.getColumnKey());