MCPcopy Create free account
hub / github.com/DiUS/java-faker / Currency

Class Currency

src/main/java/com/github/javafaker/Currency.java:3–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.github.javafaker;
2
3public class Currency {
4
5 private final Faker faker;
6
7 public Currency(Faker faker) {
8 this.faker = faker;
9 }
10
11 public String name() {
12 return faker.fakeValuesService().resolve("currency.name", this, faker);
13 }
14
15 public String code() {
16 return faker.fakeValuesService().resolve("currency.code", this, faker);
17 }
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected