RandomStringGenerator
public class RandomStringGenerator
源码Source
io/agentscope/runtime/sandbox/manager/utils/RandomStringGenerator.java:23–40Random String Generator,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.sandbox.manager.utils 包。核心成员包括 generateRandomString。
Random string generator
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static String generateRandomString(int length)static | 设置该参数。 Generate random string of specified length |
方法详情Method Detail
generateRandomString
public static String generateRandomString(int length)
static
设置该参数。
Generate random string of specified length
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
length | int | 长度(类型 `int`)。string length |
String返回字符串结果。random string
源码Source
io/agentscope/runtime/sandbox/manager/utils/RandomStringGenerator.java:33–39