Method slashSlashComments(boolean flag)
Return type: void
Member of:
java.io.StreamTokenizer
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
st.slashSlashComments(true);
2
st.slashSlashComments(true);
3
input.slashSlashComments(true);
4
tok.slashSlashComments(true);
5
st.slashSlashComments(true);
6
input.slashSlashComments(true); // allow // as a comment delimiter
7
st.slashSlashComments(true);
8
st.slashSlashComments(false);
9
st.slashSlashComments(true);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.