Black Dynamite
Black Dynamite

Reputation: 4147

Java - Asterisk, what does it mean

I'm looking through the Alexa SDK. In the documentation here, they have the following:

directivesServices.enqueue(SendDirectiveRequest.\*builder\*().build());

What on earth does that asterisk do? I have never seen one in my life, and I'm curious as to what I've been missing out on.

Upvotes: 6

Views: 1400

Answers (1)

Mureinik
Mureinik

Reputation: 311528

The asterisks (*) aren't part of Java's syntax.

It's a botched attempt in that page to emphasize the call to SendDirectiveRequest.builder. That line of code should read:

directivesServices.enqueue(SendDirectiveRequest.builder().build());

Upvotes: 1

Related Questions