Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ random
Method
random
src/main/java/com/github/javafaker/Internet.java:305–307 ·
view source on GitHub ↗
(T[] src)
Source
from the content-addressed store, hash-verified
303
}
304
305
private
<T> T random(T[] src) {
306
return
src[faker.random().nextInt(src.length)];
307
}
308
309
public
String userAgent(UserAgent userAgent) {
310
UserAgent agent = userAgent;
Callers
9
privateIpV4Address
Method · 0.95
password
Method · 0.45
macAddress
Method · 0.45
ipV4Address
Method · 0.45
publicIpV4Address
Method · 0.45
ipV4Cidr
Method · 0.45
ipV6Address
Method · 0.45
ipV6Cidr
Method · 0.45
any
Method · 0.45
Calls
1
nextInt
Method · 0.80
Tested by
no test coverage detected