Returns row as List&lt;InlineKeyboardButtons&gt;
@return list of keyboard buttons
@see InlineMenuButton#toKeyboardButton()
10481
public List<InlineKeyboardButton> toButtons() {
        return buttons.stream()
                .map(InlineMenuButton::toKeyboardButton)
                .collect(Collectors.toList());
    }
671423
public List<T> keySetSorted() {
        List<T> result = new ArrayList<>();

        PriorityQueue<Pair<T, Double>> pq = asPriorityQueue();
        while (!pq.isEmpty()) {
            result.add(pq.poll().getFirst());
        }

        return result;
    }
471377
public List<CmsPushButton> getButtons() {

        List<CmsPushButton> result = new ArrayList<CmsPushButton>();
        result.add(m_backButton);
        result.add(m_cancelButton);
        m_actionButtons.clear();
        if (m_actions != null) {
            for (final CmsWorkflowAction action : m_actions) {
                CmsPushButton actionButton = new CmsPushButton();
                actionButton.setText(action.getLabel());
                actionButton.setUseMinWidth(true);
                actionButton.addClickHandler(new ClickHandler() {

                    public void onClick(ClickEvent event) {

                        executeAction(action);
                    }
                });
                m_actionButtons.add(actionButton);
            }
        }
        result.addAll(m_actionButtons);
        return result;
    }
359118
public Object[] getRowData() throws SQLException {
        Object[] row = new Object[columnCount];
        for (int i = 1; i < columnCount + 1; i++) {
            row[i - 1] = getObject(i);
        }
        return row;
    }
424443
@Override
  public List<String> listKeys() {
    lock.lock();
    try {
      List<String> keys = new ArrayList<>(this.items.size());
      for (Map.Entry<String, ApiType> entry : this.items.entrySet()) {
        keys.add(entry.getKey());
      }
      return keys;
    } finally {
      lock.unlock();
    }
  }
1329768
private int[] getSelectedRows() {
        int iMin = model.getMinSelectionIndex();
        int iMax = model.getMaxSelectionIndex();

        if( (iMin == -1) || (iMax == -1) ) {
            return new int[0];
        }

        int[] rvTmp = new int[1 + (iMax - iMin)];
        int n = 0;
        for( int i = iMin; i <= iMax; i++ ) {
            if( model.isSelectedIndex(i) ) {
                rvTmp[n++] = i;
            }
        }
        int[] rv = new int[n];
        System.arraycopy(rvTmp, 0, rv, 0, n);
        return rv;
    }
324953
public String getList() {
    String result = "";
    int i = 1;

    for (String s : mReps.keySet()) {
      result += (i++) + ". key='" + s + "', value='" + mReps.get(s) + "'\n";
    }

    return result;
  }
552078
protected List<Object> getRowCells(int row) {
		List<Object> cells = new ArrayList<>();
		for (int col = 0; col < getTable().getColumnCount(); col++) {
			Object value = getTable().getValueAt(row, col);
			cells.add(value == null ? "" : value.toString());
		}
		return cells;
	}
497925
public final List<T> toList() {
        List<T> list = new ArrayList<T>();
        return into(list);
    }
309893
public java.util.List<String> getTagKeys() {
        if (tagKeys == null) {
            tagKeys = new com.ibm.cloud.objectstorage.internal.SdkInternalList<String>();
        }
        return tagKeys;
    }
1296785
def list_bindings
      # what about users wanting 32 and ENTER to also go to next row automatically
      # should make that optional, TODO
      bind_key($row_selector || 32, 'toggle selection') { toggle_row_selection }
      # 2013-03-24 - 14:46 added condition so single select does not get these
      if @selection_mode == :multiple
        bind_key(0, 'range select') { add_to_selection }
        bind_key(?+, :ask_select) # --> calls select_values
        bind_key(?-, :ask_unselect) # please implement FIXME TODO
        bind_key(?a, :select_all)
        bind_key(?*, :invert_selection)
        bind_key(?u, :clear_selection)
      end
      @_header_adjustment ||= 0 #  incase caller does not use
      @_events << :LIST_SELECTION_EVENT unless @_events.include? :LIST_SELECTION_EVENT
    end
1197074
public Set<?> getSelectedRows() {
		Set<?> keys = getComponentModel().selectedRows;
		if (keys == null) {
			return Collections.emptySet();
		} else {
			return Collections.unmodifiableSet(keys);
		}
	}
309672
public List<Row> getRowsCopy()
    {
        final List<Row> rows = new ArrayList<>(this.getRowsCount());

        for (Row cells : this)
        {
            rows.add(cells);
        }

        return rows;
    }
127471
public final String[] keys()
  {
    String [] keysArr = new String[m_firstFree];

    for (int i = 0; i < m_firstFree; i++)
    {
      keysArr[i] = m_map[i];
    }

    return keysArr;
  }
1083671
protected List<CmsPushButton> getButtons() {

        CmsPushButton workplaceButton = new CmsPushButton();
        workplaceButton.setText(getMessage(Messages.GUI_CONFIRMATION_WORKPLACE_BUTTON_0));
        workplaceButton.addClickHandler(new ClickHandler() {

            @SuppressWarnings("synthetic-access")
            public void onClick(ClickEvent e) {

                Window.Location.assign(m_closeLink);
            }
        });
        List<CmsPushButton> result = new ArrayList<CmsPushButton>();
        if (m_isWorkplaceUser) {
            result.add(workplaceButton);
        }
        return result;
    }
624232
@Override
  public List<String> listKeys() {
    lock.readLock().lock();
    try {
      List<String> keyList = new ArrayList<>(items.size());
      for (Map.Entry<String, Deque<MutablePair<DeltaType, Object>>> entry : items.entrySet()) {
        keyList.add(entry.getKey());
      }
      return keyList;
    } finally {
      lock.readLock().unlock();
    }
  }
139886
public java.lang.String getBodyrows() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.bodyrows);

    }