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.
An asterisk is a star-shaped symbol (*) that has a few uses in writing. It is most commonly used to signal a footnote, but it is sometimes also used to clarify a statement or to censor inappropriate language.
An asterisk is a star-shaped symbol (*) primarily used to call attention to a footnote, indicate an omission, point to disclaimers (which often appear in advertisements), and dress up company logos. An asterisk is also often placed in front of constructions that are ungrammatical.
Asterisks in regular expression refers to match each and everything. It means that all the classes of the given package will be imported. Like java.
Asterisks and Other Punctuation Marks Well, it turns out the dash is an exception: according to the U.S. Government Printing Office Style Manual, the asterisk goes before the dash, but after every other punctuation mark. The asterisk goes before the dash, but after every other punctuation mark.
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());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With