Returns the active indices (as seen by the given context/session).

@return the active tab indices (may be an empty list).
424248
public List<Integer> getActiveIndices() {
		TabSetModel model = getOrCreateComponentModel(); // this model may be updated
		List<Integer> activeTabs = model.activeTabs;

		// Remove invisible tabs from the active tab list
		if (activeTabs != null) {
			for (Iterator<Integer> i = activeTabs.iterator(); i.hasNext();) {
				if (!isTabVisible(i.next())) {
					i.remove();
				}
			}

			if (activeTabs.isEmpty()) {
				activeTabs = null;
				model.activeTabs = null;
			}
		}

		if (activeTabs == null) {
			// If no tabs or is type accordian then no tabs are open by default
			if (getTotalTabs() == 0 || getType() == TYPE_ACCORDION) {
				return Collections.emptyList();
			} else {
				// If there are no active tabs, then the first visible tab will be returned as the active tab.
				int idx = findFirstVisibleTab();
				activeTabs = new ArrayList<>(1);
				activeTabs.add(idx);
			}
		}

		return Collections.unmodifiableList(activeTabs);
	}
1151697
protected List<String> getPages() {

        if (m_pages == null) {
            m_pages = Arrays.asList(getPageArray());
        }
        return m_pages;
    }
318431
def selected_indexes(self, ):
        
        i = self.model().index(self.currentIndex(), 0, self.rootModelIndex())
        return [i]
521205
public ArrayList<Integer> getAllIndices() {
    ArrayList<Integer> res = new ArrayList<Integer>(this.realTSindex.size());
    res.addAll(this.realTSindex.keySet());
    Collections.sort(res);
    return res;
  }
882882
protected final SessionState getSessionState() {
        if (sessionTracker != null) {
            Session currentSession = sessionTracker.getSession();
            return (currentSession != null) ? currentSession.getState() : null;
        }
        return null;
    }
1254780
public java.lang.String getTabindex() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.tabindex);

    }
77647
@Override
    public List<HostConnectionPool<CL>> getActivePools() {
        return ImmutableList.copyOf(topology.getAllPools().getPools());
    }
357861
def get_active_terms_list():
        """"""

        active_terms_list = cache.get('tandc.active_terms_list')
        if active_terms_list is None:
            active_terms_list = TermsAndConditions.objects.filter(id__in=TermsAndConditions.get_active_terms_ids()).order_by('slug')
            cache.set('tandc.active_terms_list', active_terms_list, TERMS_CACHE_SECONDS)

        return active_terms_list
622958
public List<SessionConfigType<WebFragmentDescriptor>> getAllSessionConfig()
   {
      List<SessionConfigType<WebFragmentDescriptor>> list = new ArrayList<SessionConfigType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("session-config");
      for(Node node: nodeList)
      {
         SessionConfigType<WebFragmentDescriptor>  type = new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, node);
         list.add(type);
      }
      return list;
   }
264878
def getActiveAxes(self):
        """"""
        active = []
        for i in range(len(self._axisId)):
            if self._menu.IsChecked(self._axisId[i]):
                active.append(i)
        return active
519301
def current_index(self):
        """"""
        i = self._parent.proxy_model.mapToSource(self._parent.currentIndex())
        return i
193851
def getActiveScans(self, login, tserver):
    
    self.send_getActiveScans(login, tserver)
    return self.recv_getActiveScans()
994800
def active(self):
        
        projects = []
        r = requests.get(self.api,
                         params={'action': 'query', 'list': 'categorymembers', 'cmpageid': self.active_id,
                                 'cmtype': 'page', 'cmlimit': '500', 'format': 'json'},
                         headers=self.header)
        if r.status_code == 200:
            jsd = r.json()
            projects.append([(x['title'], x['pageid']) for x in jsd['query']['categorymembers']])
            if 'query-continue' in jsd:
                while True:
                    r = requests.get(self.api,
                                     params={'action': 'query', 'list': 'categorymembers',
                                             'cmpageid': self.active_id, 'cmtype': 'page', 'cmlimit': '500',
                                             'cmcontinue': jsd['query-continue']['categorymembers']['cmcontinue'],
                                             'format': 'json'},
                                     headers=self.header)
                    if r.status_code == 200:
                        jsd = r.json()
                        projects.append([(x['title'], x['pageid']) for x in jsd['query']['categorymembers']])
                        if 'query-continue' not in jsd:
                            break
                    else:
                        break
        return projects[0]
1283499
public Map<String, IndexStats> getAllIndicesStats() {
        IndicesStatsRequestBuilder indicesStatsRequestBuilder =
                admin().indices().prepareStats().all();
        return JMElasticsearchUtil
                .logRequestQueryAndReturn("getAllIndicesStats",
                        indicesStatsRequestBuilder,
                        indicesStatsRequestBuilder.execute()).getIndices();
    }
1103145
public java.util.List<Session> getSessions() {
        if (sessions == null) {
            sessions = new com.amazonaws.internal.SdkInternalList<Session>();
        }
        return sessions;
    }
389998
public List<String> getIndexNames() {

        List<String> indexNames = new ArrayList<String>();
        for (int i = 0, n = m_indexes.size(); i < n; i++) {
            indexNames.add((m_indexes.get(i)).getName());
        }

        return indexNames;
    }
71319
public boolean isActive(final WComponent tab) {
		int activeIndex = getActiveIndex();
		List<WTab> tabs = getTabs();
		int idx = tabs.indexOf(tab);

		return activeIndex == idx;
	}