-3
我有一种方向,(北,西,西,东,LOCAL)。我选择分别将它们编码为3位(000,001,010,011,100)。所以我想将这些代码存储在Vector类型的数组中。我希望获得的阵列的结构看起来像:在java中存储3位数据Vector
[0][3bits of data her]
[1][3bits of data her]
[2][3bits of data her]
[3][3bits of data her]
[4][3bits of data her]
[5][.................]
那么我如何实现这个想法?
与好运。当你有问题时回来。 – Mena 2014-08-28 09:17:29
问题在哪里? – 2014-08-28 09:20:06
你如何获得方向?它们是否来自String类似String s =“000,001,010,011,100”;'?数组?什么? – qbit 2014-08-28 09:21:54