Gets a list of all channel information.

@return list of all channel informations
556532
public List<ChannelInformation> listChannels() {
        LinkedList<ChannelInformation> entries = new LinkedList<ChannelInformation>();
        Collection<Broadcaster> broadcasters = BroadcasterFactory.getDefault().lookupAll();
        String name;
        for (Broadcaster broadcaster : broadcasters) {
            if (broadcaster instanceof BounceProxyBroadcaster) {
                name = ((BounceProxyBroadcaster) broadcaster).getName();
            } else {
                name = broadcaster.getClass().getSimpleName();
            }

            Integer cachedSize = null;
            entries.add(new ChannelInformation(name, broadcaster.getAtmosphereResources().size(), cachedSize));
        }

        return entries;
    }
960601
public java.util.List<java.util.Map<String, String>> getEntries() {
        if (entries == null) {
            entries = new com.amazonaws.internal.SdkInternalList<java.util.Map<String, String>>();
        }
        return entries;
    }
1043259
public List<WikiParameter> toList()
    {
        List<WikiParameter> result = new ArrayList<WikiParameter>(fList);
        return result;
    }
25889
def get_channels(self):
        
        selectedItems = self.idx_chan.selectedItems()
        selected_chan = [x.text() for x in selectedItems]
        chan_in_order = []
        for chan in self.chan:
            if chan in selected_chan:
                chan_in_order.append(chan)

        return chan_in_order
489360
public List<T> toList() {
		final String sourceMethod = "toList"; //$NON-NLS-1$
		SignalUtil.lock(rwl.readLock(), sourceClass, sourceMethod);
		List<T> result = null;
		try {
			result = Arrays.asList(Arrays.copyOf(items, index.get()));
		} finally {
			rwl.readLock().unlock();
		}
		return result;
	}
1284297
@GET
    @Produces("application/json")
    public GenericEntity<List<ChannelInformation>> listChannels() {
        try {
            return new GenericEntity<List<ChannelInformation>>(channelService.listChannels()) {
            };
        } catch (Exception e) {
            log.error("GET channels listChannels: error: {}", e.getMessage(), e);
            throw new WebApplicationException(Status.INTERNAL_SERVER_ERROR);
        }
    }
520587
public List<Listener<Listeners<T>>> getAllListener()
   {
      List<Listener<Listeners<T>>> list = new ArrayList<Listener<Listeners<T>>>();
      List<Node> nodeList = childNode.get("listener");
      for(Node node: nodeList)
      {
         Listener<Listeners<T>>  type = new ListenerImpl<Listeners<T>>(this, "listener", childNode, node);
         list.add(type);
      }
      return list;
   }
872829
public List<Entry> getEntries() {
		if(_sortedEntries == null) {
			this._sortedEntries = Lists.newArrayListWithCapacity(entries.size());
			for(Map.Entry<Term, Entry> e:entries.entrySet())
				this._sortedEntries.add(e.getValue());
			Collections.sort(this._sortedEntries);
		}
		return _sortedEntries;
	}
709623
public List<T> getResults() {
        return values().stream().filter(rsp -> rsp.wasReceived() && rsp.getValue() != null)
          .collect(() -> new ArrayList<>(size()), (list,rsp) -> list.add(rsp.getValue()), (l,r) -> {});
    }
74835
public java.util.List<StackResourceSummary> getStackResourceSummaries() {
        if (stackResourceSummaries == null) {
            stackResourceSummaries = new com.amazonaws.internal.SdkInternalList<StackResourceSummary>();
        }
        return stackResourceSummaries;
    }
938428
public List<CmsDetailPageInfo> toList() {

        List<CmsDetailPageInfo> result = new ArrayList<CmsDetailPageInfo>();
        for (String key : m_map.keySet()) {
            for (CmsDetailPageInfo info : m_map.get(key)) {
                result.add(info);
            }
        }
        return result;
    }
617114
public java.util.List<Topic> getTopics() {
        if (topics == null) {
            topics = new com.amazonaws.internal.SdkInternalList<Topic>();
        }
        return topics;
    }
1026384
public List<ODataHoleInfo> getHolesList() {
    acquireSharedLock();
    try {

      final List<ODataHoleInfo> holes = new ArrayList<ODataHoleInfo>();

      final int tot = holeSegment.getHoles();
      for (int i = 0; i < tot; ++i) {
        final ODataHoleInfo h = holeSegment.getHole(i);
        if (h != null)
          holes.add(h);
      }

      return holes;

    } finally {
      releaseSharedLock();
    }
  }
195786
public ChannelLayout[] getSupportedChannelLayouts() {
		LongPointer layoutsPointer = avCodec.channel_layouts();

		if (getType() != MediaType.AUDIO || layoutsPointer == null)
			return null;

		List<ChannelLayout> layouts = new ArrayList<ChannelLayout>();

		long layout;
		int index = 0;
		while ((layout = layoutsPointer.get(index++)) != 0)
			layouts.add(ChannelLayout.byId(layout));

		return layouts.toArray(new ChannelLayout[0]);
	}
1245531
public java.util.List<IpRouteInfo> getIpRoutesInfo() {
        if (ipRoutesInfo == null) {
            ipRoutesInfo = new com.amazonaws.internal.SdkInternalList<IpRouteInfo>();
        }
        return ipRoutesInfo;
    }
110993
@Override
    public List<Channel> getChannels()
    {
        List<Channel> channels = new LinkedList<>();
        if (_acceptingParty != null)
            channels.add(_acceptingParty);
        if (_originatingParty != null)
            channels.add(_originatingParty);
        if (_transferTargetParty != null)
            channels.add(_transferTargetParty);
        return channels;
    }
1289179
public List<GVRAtlasInformation> getAtlasInformation()
    {
        if ((mImage != null) && (mImage instanceof GVRImageAtlas))
        {
            return ((GVRImageAtlas) mImage).getAtlasInformation();
        }
        return null;
    }