Return the indexes of the <i>ones</i> of this bit-chromosome as stream.

@since 3.0

@return the indexes of the <i>ones</i> of this bit-chromosome
977230
public IntStream ones() {
		return IntStream.range(0, length())
			.filter(index -> bit.get(_genes, index));
	}
1248540
public List<R> getRuns() {
        List<R> resultList = new ArrayList<>();
        for (IndexedRun run : runs) {
            resultList.add(run.getRun());
        }
        return resultList;
    }
1064454
public int[] getTenors() {
		Set<Integer> setTenors	= new HashSet<>();

		for(int moneyness : getGridNodesPerMoneyness().keySet()) {
			setTenors.addAll(Arrays.asList((IntStream.of(keyMap.get(moneyness)[1]).boxed().toArray(Integer[]::new))));
		}
		return setTenors.stream().sorted().mapToInt(Integer::intValue).toArray();
	}
1044037
public Iterator<PtoPMessageItemStream> getXmitQueueIterator()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getXmitQueueIterator");

    Iterator<PtoPMessageItemStream> itr = null;

    synchronized(_xmitQueuePoints)
    {
      itr = ((HashMap)_xmitQueuePoints.clone()).values().iterator();
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getXmitQueueIterator", itr);

    return itr;
  }
763174
public java.util.List<IndexFieldStatus> getIndexFields() {
        if (indexFields == null) {
            indexFields = new com.amazonaws.internal.SdkInternalList<IndexFieldStatus>();
        }
        return indexFields;
    }
913589
public List<CmsSolrIndex> getAllSolrIndexes() {

        List<CmsSolrIndex> result = new ArrayList<CmsSolrIndex>();
        for (String indexName : getIndexNames()) {
            CmsSolrIndex index = getIndexSolr(indexName);
            if (index != null) {
                result.add(index);
            }
        }
        return result;
    }
850860
function indexOfBits (char) {
  var index = ALPHABET.indexOf(char);
  if (index < 0) throw new Error('baseURL#indexOfBits: Need valid baseURL char');
  return bitString.pad(index.toString(2), 6) ;
}
1245973
public final CharSequence[] getSelectedEntries() {
        List<Integer> indices = indicesOf(values);
        Collections.sort(indices);

        if (!indices.isEmpty()) {
            CharSequence[] selectedEntries = new CharSequence[indices.size()];
            int currentIndex = 0;

            for (int index : indices) {
                selectedEntries[currentIndex] = getEntries()[index];
                currentIndex++;
            }

            return selectedEntries;
        }

        return null;
    }
680148
@Override
    public List<String> getTokens() {
        //List<String> tokens = new ArrayList<>();
        if (!tokens.isEmpty())
            return tokens;

        log.info("Starting prebuffering...");
        while (streamHasMoreTokens()) {
            tokens.add(nextTokenFromStream());
        }
        log.info("Tokens prefetch finished. Tokens size: [" + tokens.size() + "]");
        return tokens;
    }
521205
public ArrayList<Integer> getAllIndices() {
    ArrayList<Integer> res = new ArrayList<Integer>(this.realTSindex.size());
    res.addAll(this.realTSindex.keySet());
    Collections.sort(res);
    return res;
  }
215658
private int[] getIndexes() {
    int[] res = new int[this.indexes.size()];
    int i = 0;
    for (Integer idx : this.indexes) {
      res[i] = idx;
      i++;
    }
    return res;
  }
510777
public static SortedSet<String> getAll() {
		SortedSet<String> representatives = new TreeSet<String>();

		try {

			URL u = new URL(allUrl);

			InputStream stream = URLConnectionTools.getInputStream(u, 60000);

			if (stream != null) {
				BufferedReader reader = new BufferedReader(
						new InputStreamReader(stream));

				String line = null;

				while ((line = reader.readLine()) != null) {
					int index = line.lastIndexOf("structureId=");
					if (index > 0) {
						representatives.add(line.substring(index + 13, index + 17));
					}
				}
			}

		} catch (Exception e) {
			e.printStackTrace();
		}

		return representatives;
	}
308271
public final int[] getIndexRootsArray() {

        PersistentStore store =
            database.persistentStoreCollection.getStore(this);
        int[] roots = new int[getIndexCount()];

        for (int i = 0; i < getIndexCount(); i++) {
            CachedObject accessor = store.getAccessor(indexList[i]);

            roots[i] = accessor == null ? -1
                                        : accessor.getPos();
        }

        return roots;
    }
194262
public String[] getIndexArr() {
		String[] indexArr = new String[this.from.size()];
		for (int i = 0; i < indexArr.length; i++) {
			indexArr[i] = this.from.get(i).getIndex();
		}
		return indexArr;
	}
680636
public int[] get() {
        int includedHashes = Math.min(m_hashCount, MAX_HASHES_COUNT);
        int[] retval = new int[includedHashes + HEADER_OFFSET];
        System.arraycopy(m_hashes, 0, retval, HEADER_OFFSET, includedHashes);

        m_inputCRC.update(m_hashCount);
        m_inputCRC.update(m_catalogVersion);
        retval[0] = (int) m_inputCRC.getValue();
        retval[1] = m_catalogVersion;
        retval[2] = m_hashCount;
        return retval;
    }
648727
public int getIndexForPosition(int position) {
        int nSections = 0;

        Set<Entry<String, Integer>> entrySet = mSections.entrySet();
        for(Entry<String, Integer> entry : entrySet) {
            if(entry.getValue() < position) {
                nSections++;
            }
        }

        return position - nSections;
    }
1039567
public int[] indices(Collection<E> elems) {
    int[] indices = new int[elems.size()];
    int i = 0;
    for (E elem : elems) {
      indices[i++] = indexOf(elem);
    }
    return indices;
  }