Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はjavafxアプリにImageViewsを備えたHBoxを持っています。今、このHBoxを反復処理する方法が必要ですが、その方法をアルゴリズムで見つけることができません。次のようなことをしようとしました:
Object[] stack = stackWrapp.getChildren().toArray();
stack は私のHBoxですが、このように ImageViews が複製されます。これは望ましくありません。理由がわからないので、どうすればいいですか..