分岐情報取得

@return 分岐情報
170096
public Map<Integer, BranchCoverageState> getBranchStatus() {
		Map<Integer, BranchCoverageState> map = new HashMap<>();
		passed.forEach((r, s) -> map.put(r.getStart(), s));
		return Collections.unmodifiableMap(map);
	}
546221
public function getNext()
    {
        reset($this->groups);
        while ($key = key($this->groups)) {
            $nextGroup = next($this->groups);

            if ($this->groups[$key] === $this->group && $nextGroup) {
                return $nextGroup;
            }
        }

        return $this->group;
    }
55620
public function group_by()
	{
		$columns = func_get_args();

		$this->group_by = array_merge($this->group_by, $columns);

		return $this;
	}
472477
public function getHeaders()
    {
        $headers = $this->response->getHeaders();
        $result = array();
        if(!is_array($headers)) {
            return $result;
        }
        foreach ($headers as $part) {
            $middle=explode(": ",$part,2);
            if(count($middle) == 2){
                $result[trim($middle[0])] = trim($middle[1]);
            }
        }
        return $result;
    }
45622
public long order() {
        // A group may have a size larger than Integer.MAX_INTEGER
        // (2 ** 32 - 1) - for example sym(13) is larger.
        long total = 1;
        for (int i = 0; i < size; i++) {
            int sum = 0;
            for (int j = 0; j < size; j++) {
                if (this.permutations[i][j] != null) {
                    sum++;
                }
            }
            total *= sum;
        }
        return total;
    }
1122878
public function get_value() {
		if ( $this->group && null === $this->value ) {
			return $this->value = $this->get_value_in_group();
		}

		return $this->value;
	}
703347
public Map<String, String> toMap() {
		Element root = doc.getDocumentElement();
		Map<String, String> params = new HashMap<String, String>();

		// 将节点封装成map形式
		NodeList list = root.getChildNodes();
		for (int i = 0; i < list.getLength(); i++) {
			Node node = list.item(i);
			params.put(node.getNodeName(), node.getTextContent());
		}
		// 含有空白符会生成一个#text参数
		params.remove("#text");
		return params;
	}
325287
private function groupResults()
    {
        $result = array();
        foreach ($this->nodes as $node => $component) {
            if (array_key_exists($component, $result)) {
                $result[$component][] = $node;
            } else {
                $result[$component] = array($node);
            }
        }

        return $result;
    }
1014410
public function getGroup()
    {
        /** @var Request $request */
        $request = $this->container->get('request');

        $groupInfo = $request->getSession()->get(CustomerGroup::getModuleCode());

        return $groupInfo;
    }
645473
@Group
   public final String getGroup()
   {
      if (fullGroupName != null)
      {
         return fullGroupName;
      }
      StringBuilder sb = new StringBuilder();
      if (ownerId != null)
      {
         sb.append(ownerId).append('-');
      }
      return fullGroupName = sb.append(group == null ? id : group).toString();
   }
1224280
public function groupBy()
    {
        foreach (func_get_args() as $arg) {
            $this->groups = array_merge((array) $this->groups, is_array($arg) ? $arg : [$arg]);
        }

        return $this;
    }
440670
public function group()
    {
        if (func_num_args() > 0) {
            $types = func_get_args();
            $this->groupForRender = array();
            foreach ($types as $type) {
                $this->addToGrouping($type);
            }
        }

        return $this;
    }
597216
private int getCommonPart(List<AggregationGroup> groups) {
		if(groups.size() < 2) return 0;
		
		for(int i = 0; i < groups.size(); i++) {
			if(groups.get(i).filter != null) return 0;
		}
		
		int itemsCount = groups.get(0).items.size() - 1;
		for(int i = 1; i < groups.size(); i++) {
			itemsCount = Math.min(itemsCount, groups.get(i).items.size() - 1);
		}
		if(itemsCount <= 0) return 0;
		
		int itemIndex = 0;
		for(; itemIndex < itemsCount; itemIndex++) {
			boolean eq = true;
			AggregationGroupItem item = groups.get(0).items.get(itemIndex);
			if(item.xlinkContext != null) break;
			for(int i = 1; i < groups.size(); i++) {
				AggregationGroupItem item2 = groups.get(i).items.get(itemIndex);
				if(!item.equals(item2) || item.xlinkContext != null) {
					eq = false;
					break;
				}
			}
			if(!eq) break;
		}
		if(itemIndex > 0) {
			LOG.info("Found common path for groups: " + itemIndex);
		}
		return itemIndex;
	}
918814
public byte[] getData() {
		// this.count不可能==0
		int classInfoLength = writeDependClasses();
		if (classInfoLength > 0) {
			byteArray.writeInt4(classInfoLength);
		}
		byte[] data = byteArray.toBytes();
		if (classInfoLength > 0) {
			data[this.offsetLength] = XsonConst.HEAD_1;
		}
		byteArray = null;
		return data;
	}
110827
public int sum() {
        int total = 0;
        int N = getNumElements();
        for (int i = 0; i < N; i++) {
            if( data[i] )
                total += 1;
        }
        return total;
    }
739259
public java.util.List<GroupDetail> getGroupDetailList() {
        if (groupDetailList == null) {
            groupDetailList = new com.amazonaws.internal.SdkInternalList<GroupDetail>();
        }
        return groupDetailList;
    }
956829
public function getGroupBy()
    {
        $template = "GROUP BY %s";
        $groupBy = null;
        if (!is_null($this->_sql->groupBy)) {
            $groupBy = trim(sprintf($template, $this->_sql->getGroupBy()));
        }
        return $groupBy;
    }