MCPcopy Create free account
hub / github.com/cschanck/single-file-java / style

Method style

src/main/java/org/sfj/DrawDot.java:247–247  ·  view source on GitHub ↗
(NodeStyle style, Color... colorlist)

Source from the content-addressed store, hash-verified

245 @SuppressWarnings("unchecked")
246 interface NodeStyled<E> extends Attributable<E> {
247 default E style(NodeStyle style, Color... colorlist) {
248 style(style);
249 if (colorlist.length > 0) {
250 String clist = Arrays.stream(colorlist).map(Object::toString).collect(Collectors.joining(":"));

Callers 1

testNodesMethod · 0.65

Calls

no outgoing calls

Tested by 1

testNodesMethod · 0.52