我有一个很奇怪的问题,我似乎无法弄清楚。不幸的是,我甚至不确定如何描述它,而没有描述我的整个应用程序。我想要做的是:
1) read a byte from the serial port
2) store each char into tagBuffer as they are read
3) run a query using tagBuffer to see what type of
在python中,您可以在格式化的打印语句中使用元组,并在格式化的字符串中的指定位置使用元组值。例如: >>> a = (1,"Hello",7.2)
>>> print "these are the values %d, %s, %f" % a
these are the values 1, Hello, 7.200000
是否有某种方式用在Java printf语句任何数组或集合以类似