Get the already parsed parts.

@return the parts that were parsed
169773
@Deprecated
    public Collection<Part> getParsedParts() {
        if (_parts == null)
            return Collections.emptyList();

        Collection<List<Part>> values = _parts.values();
        List<Part> parts = new ArrayList<>();
        for (List<Part> o : values) {
            List<Part> asList = LazyList.getList(o, false);
            parts.addAll(asList);
        }
        return parts;
    }
1253534
def get_parts(self):
        
        return self.find_path(lambda x: isinstance(x[1], DictCell), on_targets=True)
940321
public function getAllParts()
    {
        if (!$this->kqb) {
            throw new KendoQbParserException('First use setupFilters()');
        }

        return $this->kqb->getAllParts().$this->kqb->getLimitOffset();
    }
511894
public java.util.List<String> getPartitions() {
        if (partitions == null) {
            partitions = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return partitions;
    }
1090920
public function parse() : array
    {
        $buffer = $this->routing_rule;
        
        $section_list_set = [];
        $current_list = [];
        do
        {
            $pos = strpos(substr($buffer,1),'/');
            $section = $pos !== false ? substr($buffer, 1, $pos) : substr($buffer, 1);
            $buffer = $pos !== false ? substr($buffer, $pos + 1) : '';
            
            $length = strlen($section);
            if ($length === 0){
                $current_list[] = new class implements EmptyRoutingPathInterface {};
                if (!empty($buffer)){
                    throw new RoutingRuleParseException($this->routing_rule, "Empty routing section is allowed only for last element");
                }
                break;
            }
            $first = $section[0];
            $last = $section[$length - 1];
            if ($first === '[' && $last === ']'){
                // push current list
                $section_list_set[] = $current_list + ['()'];
                // add optional part to current list
                $inside = substr($section, 1, $length - 2);
                if ($inside[0] === ':') {
                    $current_list[] = self::parseVariablePattern($inside);
                }
                else {
                    $current_list[] = $inside;
                }
            }
            else if ($first === ':') {
                $current_list[] = self::parseVariablePattern($section);
            }
            else {
                $current_list[] = $section;
            }
        }
        while(!empty($buffer));
        
        $section_list_set[] = $current_list;
        return $section_list_set;
    }
688076
def sections(self):
    """"""
    if not self._is_parsed:
      self._Parse()
      self._is_parsed = True

    return self._sections
948754
public function getParts()
    {
        if (is_null($this->value)) {
            return [];
        } elseif (is_array($this->value)) {
            return $this->value;
        } else {
            return [$this->value];
        }
    }
529605
def get_parts(self):
        
        parts = []
        start_b = 0
        end_byte = start_b + PartSize.DOWNLOAD_MINIMUM_PART_SIZE - 1
        for i in range(self.total):
            parts.append([start_b, end_byte])
            start_b = end_byte + 1
            end_byte = start_b + PartSize.DOWNLOAD_MINIMUM_PART_SIZE - 1
        return parts
1210272
public String[] getPreReleaseParts() {
        if (this.preReleaseParts.length == 0) {
            return EMPTY_ARRAY;
        }
        return Arrays.copyOf(this.preReleaseParts, this.preReleaseParts.length);
    }
1224296
public List<String> getSelected() {

        List<String> result = new ArrayList<String>();
        result.add(m_singleResult);
        return result;
    }
893979
public Part getPart(String partLabel)
  {
    if (m_parts!=null)
    {
        for (Object m_part : m_parts) {
            Part p = (Part) m_part;
            //if (p.getLabel().equals(partLabel)
            //	|| p.getLabel().equals(""+partLabel.charAt(0))) {
            if (p.getLabel().charAt(0) == partLabel.charAt(0)) {
                if (partLabel.length() > 1) {
                    p.setLabel(partLabel);
                }
                return p;
            }
        }
    	return null;
    }
    else
      return null;
  }
1142566
public String[][] getList() throws MtasParserException {
    String[][] result = new String[(tokenCollection.size() + 1)][];
    result[0] = new String[] { "id", "start real offset", "end real offset",
        "provide real offset", "start offset", "end offset", "provide offset",
        "start position", "end position", "multiple positions", "parent",
        "provide parent", "payload", "prefix", "postfix" };
    int number = 1;
    Iterator<MtasToken> it = this.iterator();
    while (it.hasNext()) {
      MtasToken token = it.next();
      String[] row = new String[15];
      row[0] = token.getId().toString();
      if (token.getRealOffsetStart() != null) {
        row[1] = token.getRealOffsetStart().toString();
        row[2] = token.getRealOffsetEnd().toString();
        row[3] = token.getProvideRealOffset() ? "1" : null;
      }
      if (token.getOffsetStart() != null) {
        row[4] = token.getOffsetStart().toString();
        row[5] = token.getOffsetEnd().toString();
        row[6] = token.getProvideOffset() ? "1" : null;
      }
      if (token.getPositionLength() != null) {
        if (token.getPositionStart().equals(token.getPositionEnd())) {
          row[7] = token.getPositionStart().toString();
          row[8] = token.getPositionEnd().toString();
          row[9] = null;
        } else if ((token.getPositions() == null)
            || (token.getPositions().length == (1 + token.getPositionEnd()
                - token.getPositionStart()))) {
          row[7] = token.getPositionStart().toString();
          row[8] = token.getPositionEnd().toString();
          row[9] = null;
        } else {
          row[7] = null;
          row[8] = null;
          row[9] = Arrays.toString(token.getPositions());
        }
      }
      if (token.getParentId() != null) {
        row[10] = token.getParentId().toString();
        row[11] = token.getProvideParentId() ? "1" : null;
      }
      if (token.getPayload() != null) {
        BytesRef payload = token.getPayload();
        row[12] = Float.toString(PayloadHelper.decodeFloat(Arrays.copyOfRange(
            payload.bytes, payload.offset, (payload.offset + payload.length))));
      }
      row[13] = token.getPrefix();
      row[14] = token.getPostfix();
      result[number] = row;
      number++;
    }
    return result;
  }
1324184
public String getSubstring(Part part) {
        int index=part.index;
        return msg.substring(index, index+part.length);
    }
276293
public List<T> tokenize() {
    // System.out.println("tokenize called");
    List<T> result = new ArrayList<T>();
    while (hasNext()) {
      result.add(next());
    }
    return result;
  }
1331757
public void deleteParts() {
        if (!_parsed)
            return;

        Collection<Part> parts;
        try {
            parts = getParts();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }

        MultiException err = null;
        for (Part p : parts) {
            try {
                ((MultiPart) p).cleanUp();
            } catch (Exception e) {
                if (err == null)
                    err = new MultiException();
                err.add(e);
            }
        }
        _parts.clear();

        if (err != null)
            err.ifExceptionThrowRuntime();
    }
410391
public List<Duplet<String, ArrayList<WComponent>>> getTerms() {
		Map<String, Duplet<String, ArrayList<WComponent>>> componentsByTerm = new HashMap<>();
		List<Duplet<String, ArrayList<WComponent>>> result = new ArrayList<>();

		List<WComponent> childList = content.getComponentModel().getChildren();

		if (childList != null) {
			for (int i = 0; i < childList.size(); i++) {
				WComponent child = childList.get(i);
				String term = child.getTag();

				Duplet<String, ArrayList<WComponent>> termComponents = componentsByTerm.get(term);

				if (termComponents == null) {
					termComponents = new Duplet<>(term,
							new ArrayList<WComponent>());
					componentsByTerm.put(term, termComponents);
					result.add(termComponents);
				}

				termComponents.getSecond().add(child);
			}
		}

		return result;
	}
772501
public List<String> getValueList() {
        if (tokensList == null) {
            return null;
        }
        if (tokensList.isEmpty()) {
            return new ArrayList<>();
        } else {
            List<String> list = new ArrayList<>(tokensList.size());
            for (Token[] tokens : tokensList) {
                list.add(TokenParser.toString(tokens));
            }
            return list;
        }
    }