英文: textviewArray[i].setText(stringArray[i]); is null 问题 以下是翻译好的代码部分: public class dizilisActivity e...
Error: put(java.lang.string, list<string>) in hashmap cannot be applied to (java.util.list<java.lang.string>)
英文: Error: put(java.lang.string, list<string>) in hashmap cannot be applied to (java.util.list...
获取两个位置之间的路径
英文: Getting path between two positions 问题 给定一个位置: class Position { private int x, y; public Position...
change one Array list item order relative to another
英文: change one Array list item order relative to another 问题 Ive got 2 Array lists ArrayList<Strin...
如何找到一个对象的长度
英文: how to find length of an object 问题 以下是翻译好的部分: 我正在努力寻找消息对象的长度。给定的任务如下:练习模板带有一个预定义的 Message 类,可用于创...
如何在Java方法中创建并返回枚举。
英文: How to create and return a enum in a method in java 问题 我有一个应该返回枚举的方法,但是我不太确定如何编写代码(这是我论文中的一个活动)。...
文本文件的最后一行未正确存储到二维数组中。
英文: Last line of textfile not storing correctly into 2D array 问题 我的扫描仪未能正确访问文本文件的最后一行,因此将文本文件的最后一行存储...
通过一个二维数组移动,而不使用for循环,怎么做呢?
英文: How do you move through a 2D array without for loops? 问题 我正在尝试使用我得到的测试文件来构建一个寻宝游戏。这些文本文件包含字符S、W、...
使用多维数组进行计数
英文: Counting using a multidimension array 问题 我想创建一个多维数组来进行计数。 这是我目前拥有的代码,但我不知道接下来该怎么做。当我将其打印出来时,我希望它...
修复两个方法,这些方法应该移除重复和反向顺序的成对。
英文: Fixing 2 methods that are supposed to remove duplicate and reverse order pairs 问题 只学习并希望转行职业...我...
233