You could use a bidirectional map. In Java syntax this would be: BidiMap<Type, Type> superior = new BidiMap<>(); superior.put(EARTH, ...
確定! 回上一頁