browser.find_element_by_id("your_element_id").click() @RestController
@RequestMapping("/process")
public class ActivitiController {
@PostMapping(value = "/start")
public String startProcess(@RequestParam("processName") String processName, @RequestBody Map<String, String> params ) {
...
}
}this.stateService.fetch(this.reports_id).subscribe((data: State[]) => {
console.log(data)
stateConfig.data = data.map(item => item.state_time)
stateConfig.labels = data.map(item => item.density)
const stateCtx = this.stateRef.nativeElement.getContext('2d')
stateCtx.canvas.height = '300px'
new Chart(stateCtx, createChartConfig(stateConfig))
}
)ngOnInit() {
const stateConfig: any = {
label: 'Статистика',
color: 'rgb(255, 99, 132)'
}
this.chart = {};
this.stateService.fetch(this.reports_id).subscribe((data: State[]) => {
console.log(data)
stateConfig.data = data.map(item => item.state_time)
stateConfig.labels = data.map(item => item.density)
const stateCtx = this.stateRef.nativeElement.getContext('2d')
stateCtx.canvas.height = '300px'
this.chart = new Chart(stateCtx, createChartConfig(stateConfig))
}
)}<canvas #state>{{ chart }}</canvas> hostnameusing System;
using System.Numerics;
public class Program
{
public static void Main()
{
BigInteger hugeInt = BigInteger.Parse("91948102834320102834715231012347");
Console.WriteLine(hugeInt);
}
}либо создать массив и через foreach перебирать все поступившие данные, что будет быстрее?
const a = (1 + 2)