@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
return groupTypeBuilder.build();
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }