Gets the fighter with the full data
This method can be long as it will query each fighter page

@return the list of fighters
493922
public List<Fighter> getFightersWithCompleteData() {

        return dryFighters.stream()
                .map(f -> {
                    try {
                        return sherdog.getFighter(f.getSherdogUrl());
                    } catch (IOException | ParseException | SherdogParserException e) {
                        return null;
                    }
                })
                .filter(Objects::nonNull)
                .collect(Collectors.toList());
    }
27909
public function getCriteriaData()
    {
        $criteriaData = [
            'object_list_type' => self::LIST_TYPE_FULL,
        ];

        if (!empty($this->publicationState)) {
            $criteriaData['show_type'] = $this->publicationState;
        }

        if (!empty($this->channels)) {
            $criteriaData['rubric_list'] = implode(',', $this->channels);
        }

        if (!is_null($this->limit)) {
            $criteriaData['videosperpage'] = $this->limit;
        }

        if (!is_null($this->page)) {
            $criteriaData['page'] = $this->page;
        }

        if (!is_null($this->sortColumn)) {
            if ($this->sortColumn == 'views') {
                $criteriaData['sort'] = 2; // Sort by 'most popular'
            } else {
                $criteriaData['sort_by_column'] = $this->sortColumn;

                if (!is_null($this->sortByColumnOrder)) {
                    // Put this here because providing this field doesn't
                    // do anything if you don't provide 'sort_by_column'
                    if (!in_array($this->sortByColumnOrder, array(self::SORT_ORDER_ASC, self::SORT_ORDER_DESC))) {
                        throw new \Exception('Invalid sort order provided.');
                    }

                    $criteriaData['sort_by_column_order'] = $this->sortByColumnOrder;
                }
            }
        }

        if (!is_null($this->searchTerm)) {
            $criteriaData['searchstring'] = $this->searchTerm;
        }

        if (!is_null($this->page)) {
            $criteriaData['page'] = $this->page;
        } elseif (!is_null($this->offset)) {
            if (is_null($this->limit)) {
                throw new \Exception('Criteria \'offset\' can only be used in conjunction with \'limit\'.');
            }

            $criteriaData['page'] = ceil($this->offset / $this->limit) + 1;
        }

        return $criteriaData;
    }
854055
public function getData()
    {
        $data = [];

        // Paginator is better if the query uses ManyToMany associations
        $result = $this->qb->getMaxResults() !== NULL || $this->qb->getFirstResult() !== NULL
            ? new Paginator($this->getQuery())
            : $this->qb->getQuery()->getResult();

        foreach ($result as $item) {
            // Return only entity itself
            $data[] = is_array($item)
                ? $item[0]
                : $item;
        }

        return $data;
    }
857602
private List<Fight> getFights(Elements trs, Fighter fighter) throws ArrayIndexOutOfBoundsException {
        List<Fight> fights = new ArrayList<>();

        logger.info("{} TRs to parse through", trs.size());


        SherdogBaseObject sFighter = new SherdogBaseObject();
        sFighter.setName(fighter.getName());
        sFighter.setSherdogUrl(fighter.getSherdogUrl());


        // removing header row...
        if (trs.size() > 0) {
            trs.remove(0);

            trs.forEach(tr -> {
                Fight fight = new Fight();
                fight.setFighter1(sFighter);

                Elements tds = tr.select("td");
                fight.setResult(getFightResult(tds.get(COLUMN_RESULT)));
                fight.setFighter2(getOpponent(tds.get(COLUMN_OPPONENT)));
                fight.setEvent(getEvent(tds.get(COLUMN_EVENT)));
                fight.setDate(getDate(tds.get(COLUMN_EVENT)));
                fight.setWinMethod(getWinMethod(tds.get(COLUMN_METHOD)));
                fight.setWinRound(getWinRound(tds.get(COLUMN_ROUND)));
                fight.setWinTime(getWinTime(tds.get(COLUMN_TIME)));
                fights.add(fight);
                logger.info("{}", fight);
            });
        }

        return fights;
    }
324953
public String getList() {
    String result = "";
    int i = 1;

    for (String s : mReps.keySet()) {
      result += (i++) + ". key='" + s + "', value='" + mReps.get(s) + "'\n";
    }

    return result;
  }
1306391
public String getDatabase() {
        int indexSlash = url.indexOf("/", url.indexOf("://") + 3);
        int questionMarkIndex = url.indexOf("?");
        if (questionMarkIndex != -1) {
            return url.substring(indexSlash + 1, questionMarkIndex);
        } else {
            return url.substring(indexSlash + 1);
        }
    }
540631
public java.util.List<Record> getRecords() {
        if (records == null) {
            records = new com.amazonaws.internal.SdkInternalList<Record>();
        }
        return records;
    }
1343135
@Pure
	public Collection<Object> getAllUserData() {
		if (this.userData == null) {
			return Collections.emptyList();
		}
		return Collections.unmodifiableCollection(this.userData);
	}
581254
private SherdogBaseObject getFighter(Element td) {

        Elements name1 = td.select("span[itemprop=\"name\"]");

        if (name1.size() > 0) {

            String name = name1.get(0).html();

            Elements select = td.select("a[itemprop=\"url\"]");

            if (select.size() > 0) {
                String url = select.get(0).attr("abs:href");

                SherdogBaseObject fighter = new SherdogBaseObject();
                fighter.setSherdogUrl(url);
                fighter.setName(name);
                return fighter;
            }
        }

        return null;
    }
178092
public function getList()
    {
        /** @var Select|QueryObjectInterface $query */
        $query = $this->getRepository()->find();
        $this->getFilters()->apply($query);
        $this->getPagination()->setTotal($query->count());
        $query->order($this->getOrder());
        $query->limit(
            $this->getPagination()->rowsPerPage,
            $this->getPagination()->offset
        );
        return $query->all();
    }
579646
protected static function getFightersWithByes(FightersGroup $group)
    {
        if ($group == null) {
            return;
        }
        $fighters = $group->getFightersWithBye();
        $fighterType = $group->getFighterType();
        if (count($fighters) == 0) {
            $fighters->push(new $fighterType());
            $fighters->push(new $fighterType());
        } elseif (count($fighters) % 2 != 0) {
            $fighters->push(new $fighterType());
        }

        return $fighters;
    }
986472
public List<Long> getExtraDataFields() {
        if (mExtraDataFields.getClass().isInstance(UNMODIFIABLE_LIST_OF_LONG)) {
            return mExtraDataFields;
        }
        else {
            return Collections.unmodifiableList(mExtraDataFields);
        }
    }
873424
private function getAllInfo()
    {
        $data = [
            'id'           => $this->getId(),
            'image'        => $this->getImage(),
            'nickname'     => $this->getNickname(),
            'name'         => $this->getName(),
            'name_kanji'   => $this->getName(true),
            'favorite'     => $this->getFavorite(),
            'about'        => $this->getAbout(),
            'animeography' => $this->getMedia('anime'),
            'mangaography' => $this->getMedia('manga'),
            'va'           => $this->getVa(),
        ];

        return $data;
    }
817881
@SuppressWarnings("unchecked")
    @Override
    public final Collection<V> getAll() {
        final Query builtQuery; // Query created from the query data

        // Builds the query
        builtQuery = getEntityManager().createQuery(getAllValuesQuery());

        // Processes the query
        return builtQuery.getResultList();
    }
1186050
public static List<IndexDefinition> get()
        throws EFapsException
    {
        final List<IndexDefinition> ret = new ArrayList<>();

        final QueryBuilder queryBldr = new QueryBuilder(CIAdminIndex.IndexDefinition);
        final MultiPrintQuery multi = queryBldr.getPrint();
        final SelectBuilder selUUID = SelectBuilder.get().linkto(CIAdminIndex.IndexDefinition.TypeLink)
                        .attribute(CIAdminDataModel.Type.UUID);
        multi.addSelect(selUUID);
        multi.execute();
        while (multi.next()) {
            final UUID uuidTmp = UUID.fromString(multi.getSelect(selUUID));
            final Set<Type> types = getChildTypes(Type.get(uuidTmp));
            for (final Type type : types) {
                final IndexDefinition indexDef = IndexDefinition.get(type.getUUID());
                if (!type.isAbstract()) {
                    ret.add(indexDef);
                }
            }
        }
        return ret;
    }
447999
public function getAll()
    {
        if ($this->isRequestGet()) {
            try {
                $format   = $this->getRequestParameter('format');
                $search   = $this->hasRequestParameter('search') ? $this->getRawParameter('search') : '';
                $limit    = $this->hasRequestParameter('limit') ? $this->getRequestParameter('limit') : 30;
                $offset   = $this->hasRequestParameter('offset') ? $this->getRequestParameter('offset') : 0;
                $selectedUris = [];

                if(! empty($search) ){
                    $decodedSearch = json_decode($search, true);
                    if(is_array($decodedSearch) && count($decodedSearch) > 0){
                        $search = $decodedSearch;
                    }
                }
                if($this->hasRequestParameter('selectedUri')){
                    $selectedUri = $this->getRequestParameter('selectedUri');
                    if (!empty($selectedUri)) {
                        $selectedUris = [$selectedUri];
                    }
                }

                $class = $this->getClassParameter();
                if ($this->hasRequestParameter('classOnly')) {
                    $resources = $this->getResourceService()->getClasses($class, $format, $selectedUris, $search, $offset, $limit);
                } else {
                    $resources = $this->getResourceService()->getResources($class, $format, $selectedUris, $search, $offset, $limit);
                }

                $user = \common_Session_SessionManager::getSession()->getUser();
                if(isset($resources['nodes'])){
                    $permissions = $this->getResourceService()->getResourcesPermissions($user, $resources['nodes']);
                } else {
                    $permissions = $this->getResourceService()->getResourcesPermissions($user, $resources);
                }

                $this->returnSuccess([
                    'resources' => $resources,
                    'permissions' => $permissions
                ]);

            } catch (common_Exception $e) {
                $this->returnFailure($e);
            }
        }
    }
770700
private function getAllInfo()
    {
        $data = [];
        $offset = 0;
        while (true) {
            $url = $this->_myAnimeListUrl.'/'.$this->_type.'list/'.$this->_user.'/load.json?offset='.$offset.'&status='.$this->_status;

            $content = json_decode(file_get_contents($url), true);

            if ($content) {
                $count = count($content);
                for ($i = 0; $i < $count; $i++) {
                    if (!empty($content[$i]['anime_image_path'])) {
                        $content[$i]['anime_image_path'] = Helper::imageUrlCleaner($content[$i]['anime_image_path']);
                    } else {
                        $content[$i]['manga_image_path'] = Helper::imageUrlCleaner($content[$i]['manga_image_path']);
                    }
                }

                $data = array_merge($data, $content);

                $offset += 300;
            } else {
                break;
            }
        }

        return $data;
    }