Returns all <code>welcome-file-list</code> elements
@return list of <code>welcome-file-list</code>
192549
public List<WelcomeFileListType<WebFragmentDescriptor>> getAllWelcomeFileList()
   {
      List<WelcomeFileListType<WebFragmentDescriptor>> list = new ArrayList<WelcomeFileListType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("welcome-file-list");
      for(Node node: nodeList)
      {
         WelcomeFileListType<WebFragmentDescriptor>  type = new WelcomeFileListTypeImpl<WebFragmentDescriptor>(this, "welcome-file-list", model, node);
         list.add(type);
      }
      return list;
   }
1195545
public ArrayList<BoxCollaboration.Role> getAllowedInviteeRoles() {
        if (mCachedAllowedInviteeRoles != null){
            return mCachedAllowedInviteeRoles;
        }
        ArrayList<String> roles = getPropertyAsStringArray(FIELD_ALLOWED_INVITEE_ROLES);
        if (roles == null){
            return null;
        }
        mCachedAllowedInviteeRoles = new ArrayList<BoxCollaboration.Role>(roles.size());
        for (String role : roles){
            mCachedAllowedInviteeRoles.add(BoxCollaboration.Role.fromString(role));
        }
        return mCachedAllowedInviteeRoles;
    }
100392
def filelists
      fl = []
      @repomd.xpath("/xmlns:repomd/xmlns:data[@type=\"filelists\"]/xmlns:location").each do |f|
       fl << File.join(@url, f['href'])
      end
      fl
    end
622614
public List<T> elementList() {

        if (m_cache != null) {
            return m_cache;
        }
        if (m_relativeOrdered) {
            List<T> objectList = new ArrayList<T>();
            Iterator<CmsIdObjectElement<T>> itObjs = m_orderedObjectList.iterator();
            while (itObjs.hasNext()) {
                CmsIdObjectElement<T> object = itObjs.next();
                objectList.add(object.getObject());
            }
            m_cache = Collections.unmodifiableList(objectList);
        } else {
            m_cache = Collections.unmodifiableList(m_objectList);
        }
        return m_cache;
    }
820158
public static File[] listFile(File director) {
        String basePath = director.getAbsolutePath() + ValueConsts.SEPARATOR;
        String[] filePath = director.list();
        File[] files = null;
        if (Checker.isNotNull(filePath)) {
            files = new File[filePath.length];
            int i = 0;
            for (String s : filePath) {
                files[i++] = new File(basePath + s);
            }
        }
        return files;
    }
432583
public List<T> pollAll() {
    List<T> retList = new ArrayList<T>(size);
    for (int i = 0; i < entries.length; i++) {
      LinkedElement<T> current = entries[i];
      while (current != null) {
        retList.add(current.element);
        current = current.next;
      }
    }
    this.clear();
    return retList;
  }
152043
public List<File> getAllFiles() {
		List<File> files = new ArrayList<File>();
		collectFiles(folder, files);
		Collections.sort(files, LastModifiedFileComparator.INSTANCE);
		return files;
	}
1195029
public String[] list() throws IOException {
    FileStatus[] fileStatus =
        fs.listStatus(directory, LuceneIndexFileNameFilter.getFilter());
    String[] result = new String[fileStatus.length];
    for (int i = 0; i < fileStatus.length; i++) {
      result[i] = fileStatus[i].getPath().getName();
    }
    return result;
  }
286384
public List<Include<ExceptionClassFilter<T>>> getAllInclude()
   {
      List<Include<ExceptionClassFilter<T>>> list = new ArrayList<Include<ExceptionClassFilter<T>>>();
      List<Node> nodeList = childNode.get("include");
      for(Node node: nodeList)
      {
         Include<ExceptionClassFilter<T>>  type = new IncludeImpl<ExceptionClassFilter<T>>(this, "include", childNode, node);
         list.add(type);
      }
      return list;
   }
656442
public function getFiles()
    {
        $files = [];
        //import z elementów File
        foreach ($this->getElements() as $element) {
            if (!($element instanceof \Mmi\Form\Element\File)) {
                continue;
            }
            /* @var $element \Mmi\Form\Element\File */
            if (!$element->isUploaded()) {
                continue;
            }
            $files[$element->getName()] = $element->getFiles();
        }
        return $files;
    }
378035
public static List<File> listFiles(File srcPath) throws IOException
   {
      List<File> result = new ArrayList<File>();

      if (!srcPath.isDirectory())
      {
         throw new IOException(srcPath.getAbsolutePath() + " is a directory");
      }

      for (File subFile : srcPath.listFiles())
      {
         result.add(subFile);
         if (subFile.isDirectory())
         {
            result.addAll(listFiles(subFile));
         }
      }

      return result;
   }
172848
def files(self):
        
        # maybe replace with a trie at some point? see has_file FIXME
        already_seen = set()
        filenames = []

        for el in self.xml.xpath("//class"):
            filename = el.attrib['filename']
            if filename in already_seen:
                continue
            already_seen.add(filename)
            filenames.append(filename)

        return filenames
667430
protected List getFilesFromServer() {

        List retVal = new ArrayList();
        Iterator i = getFileListFromServer(true).iterator();
        while (i.hasNext()) {
            String fileName = (String)i.next();
            retVal.add(new CmsSelectWidgetOption(fileName));
        }
        return retVal;
    }
209992
public function getFileList()
	{
		$list	= array();
		foreach( $this->files as $file )
			$list[$file['name']]	= $file['size'];
		return $list;
	}
396853
@NonNull
  public static File[] listAllFiles(File directory) {
    if (directory == null) {
      return new File[0];
    }
    File[] files = directory.listFiles();
    return files != null ? files : new File[0];
  }
712188
public List<ISO9660File> getFiles() {
        List<ISO9660File> files = new ArrayList<ISO9660File>();

        if (publisher instanceof ISO9660File) {
            files.add((ISO9660File) publisher);
        }
        if (dataPreparer instanceof ISO9660File) {
            files.add((ISO9660File) dataPreparer);
        }
        if (app instanceof ISO9660File) {
            files.add((ISO9660File) app);
        }

        files.add(abstractFile);
        files.add(bibFile);
        files.add(copyrightFile);

        return files;
    }
580265
public static List<String> getClasses() {
    ArrayList<String> names = new ArrayList<String>();
    if(_init._h2oJar != null) {
      for( Enumeration<ZipEntry> e = (Enumeration) _init._h2oJar.entries(); e.hasMoreElements(); ) {
        String name = e.nextElement().getName();
        if( name.endsWith(".class") )
          names.add(name);
      }
    } else
      findClasses(new File(CLASSES), names);

    for( int i = 0; i < names.size(); i++ ) {
      String n = names.get(i);
      names.set(i, Utils.className(n));
    }
    return names;
  }