Gets the read-only list of all {@link Computer}s.
169042
public Computer[] getComputers() {
        Computer[] r = computers.values().toArray(new Computer[0]);
        Arrays.sort(r,new Comparator<Computer>() {
            @Override public int compare(Computer lhs, Computer rhs) {
                if(lhs.getNode()==Jenkins.this)  return -1;
                if(rhs.getNode()==Jenkins.this)  return 1;
                return lhs.getName().compareTo(rhs.getName());
            }
        });
        return r;
    }
512129
public String[] list()
    {
        String[] list =_file.list();
        if (list==null)
            return null;
        for (int i=list.length;i-->0;)
        {
            if (new File(_file,list[i]).isDirectory() &&
                !list[i].endsWith("/"))
                list[i]+="/";
        }
        return list;
    }
774649
public static List<String> osLibs() {
		String OS = System.getProperty("os.name").toLowerCase();
		if (OS.indexOf("win") >= 0){
			return WINDOWS_DYNAMIC_LIBS;
		} else if (OS.indexOf("mac") >= 0) {
			return MAC_DYNAMIC_LIBS;
		} else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 ) {
			return UNIX_DYNAMIC_LIBS;
		} else {
			throw new AsperaLibraryLoadException("OS is not supported for Aspera");
		}
	}
884332
public List<E> getBuffered() {
        List<E> temp = new ArrayList<>(buff);
        clear();
        return temp;
    }
746451
public List<List<String>> getAllScopes() {
    this.checkInitialized();
    final ImmutableList.Builder<List<String>> builder = ImmutableList.<List<String>>builder();
    final Consumer<Integer> _function = (Integer it) -> {
      List<String> _get = this.scopes.get(it);
      StringConcatenation _builder = new StringConcatenation();
      _builder.append("No scopes are available for index: ");
      _builder.append(it);
      builder.add(Preconditions.<List<String>>checkNotNull(_get, _builder));
    };
    this.scopes.keySet().forEach(_function);
    return builder.build();
  }
995053
public java.util.List<String> getInstancesList() {
        if (instancesList == null) {
            instancesList = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return instancesList;
    }
955899
public List<MapRow> readTable(Class<? extends TableReader> readerClass) throws IOException
   {
      TableReader reader;

      try
      {
         reader = readerClass.getConstructor(StreamReader.class).newInstance(this);
      }
      catch (Exception ex)
      {
         throw new RuntimeException(ex);
      }

      return readTable(reader);
   }
263705
@Override
	public List<EcodDomain> getAllDomains() throws IOException {
		domainsFileLock.readLock().lock();
		logger.trace("LOCK readlock");
		try {
			while( allDomains == null) {
				// unlock to allow ensureDomainsFileInstalled to get the write lock
				logger.trace("UNLOCK readlock");
				domainsFileLock.readLock().unlock();
				ensureDomainsFileInstalled();
				domainsFileLock.readLock().lock();
				logger.trace("LOCK readlock");
			}
			return allDomains;
		} finally {
			logger.trace("UNLOCK readlock");
			domainsFileLock.readLock().unlock();
		}

	}
79612
public java.util.List<String> getCcAddresses() {
        if (ccAddresses == null) {
            ccAddresses = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return ccAddresses;
    }
409006
public List<Address> getClusterMembers() {
		if (currentView != null) {
			return Collections.unmodifiableList(currentView);
		}
		else {
			final Address localAddress = getLocalAddress();
			if (localAddress == null) {
				return Collections.emptyList();
			}
			else {
				final List<Address> list = new ArrayList<Address>();
				list.add(localAddress);
				return Collections.unmodifiableList(list);
			}
		}
	}
1290146
public List<IncomingPacket> read() {
    // We record the start time to avoid spending too much time on readings
    long startOfCycle = System.nanoTime();
    long bytesRead = 0;

    long nPacketsRead = 0;

    List<IncomingPacket> ret = new ArrayList<IncomingPacket>();

    // We would stop reading when:
    // 1. We spent too much time
    // 2. We have read large enough data
    while ((System.nanoTime() - startOfCycle - readReadBatchTime.toNanos()) < 0
        && (bytesRead < readBatchSize.asBytes())) {
      int readState = incomingPacket.readFromChannel(socketChannel, maximumPacketSize.asBytes());

      if (readState > 0) {
        // Partial Read, just break, and read next time when the socket is readable
        break;
      } else if (readState < 0) {
        LOG.severe("Something bad happened while reading from channel: "
            + socketChannel.socket().getRemoteSocketAddress());
        selectHandler.handleError(socketChannel);

        // Clear the list of Incoming Packet to avoid bad state is used externally
        ret.clear();
        break;
      } else {
        // readState == 0, we fully read a incomingPacket
        nPacketsRead++;
        bytesRead += incomingPacket.size();
        ret.add(incomingPacket);
        incomingPacket = new IncomingPacket();
      }
    }

    totalPacketsRead += nPacketsRead;
    totalBytesRead += bytesRead;

    return ret;
  }
338539
public List<RegisteredService> getAll() {
        val scan = new ScanRequest(dynamoDbProperties.getTableName());
        LOGGER.debug("Scanning table with request [{}]", scan);
        val result = this.amazonDynamoDBClient.scan(scan);
        LOGGER.debug("Scanned table with result [{}]", scan);
        return result.getItems()
            .stream()
            .map(this::deserializeServiceFromBinaryBlob)
            .filter(Objects::nonNull)
            .sorted(Comparator.comparingInt(RegisteredService::getEvaluationOrder))
            .collect(Collectors.toList());
    }
394691
public List<CmsListItem> getCurrentPageItems() {

        if (getSize() == 0) {
            return Collections.emptyList();
        }
        if (m_metadata.isSelfManaged()) {
            return getContent();
        }
        return Collections.unmodifiableList(getContent().subList(displayedFrom() - 1, displayedTo()));
    }
1242465
public java.util.List<SMBFileShareInfo> getSMBFileShareInfoList() {
        if (sMBFileShareInfoList == null) {
            sMBFileShareInfoList = new com.amazonaws.internal.SdkInternalList<SMBFileShareInfo>();
        }
        return sMBFileShareInfoList;
    }
502405
@Override
    public List<T> getList() {
        if (isCacheEnabled) {
            if (cachedResult == null) {
                cachedResult = makeUnmodifiableUniqueList();
            }
            return cachedResult;
        } else {
            return makeUnmodifiableUniqueList();
        }
    }
1089311
public List<String> toList() {
        ArrayList<String> list = new ArrayList<String>();
        for (StringGrabber sg : mSgList) {
            list.add(sg.toString());
        }
        return list;

    }
186616
public synchronized List<E> getAll() {
		ArrayList<E> list = new ArrayList<E>();

		for (E element : listElements) {
			if (element != null) {
				list.add(element);
			}
		}

		return list;
	}