MCPcopy Index your code
hub / github.com/datafaker-net/datafaker / field

Method field

src/main/java/net/datafaker/transformations/Field.java:13–13  ·  view source on GitHub ↗
(
        String name, Function<MyObject, MyType> transform)

Source from the content-addressed store, hash-verified

11 OUT transform(IN input);
12
13 static <MyObject, MyType> SimpleField<MyObject, MyType> field(
14 String name, Function<MyObject, MyType> transform) {
15 return new SimpleField<>(name, transform);
16 }

Callers 15

csvMethod · 0.95
toCsvMethod · 0.65
toJsonMethod · 0.65
toNestedJsonMethod · 0.65
testCsvFilesCreatedMethod · 0.65
toCsvMethod · 0.65
toJsonMethod · 0.65
toNestedJsonMethod · 0.65

Calls

no outgoing calls

Tested by 15

toCsvMethod · 0.52
toJsonMethod · 0.52
toNestedJsonMethod · 0.52
testCsvFilesCreatedMethod · 0.52
toCsvMethod · 0.52
toJsonMethod · 0.52
toNestedJsonMethod · 0.52