Javaã§ã³ã¬ã¯ã·ã§ã³ã¯ã©ã¹ãä½ã£ã¦ãã®ã¤ãã¬ã¼ã¿ãå®è£ ããå ´åãJavaã«ã¯ã¯ãã¼ã¸ã£ãç¡ãã®ã§ãå¤é¨ã¤ãã¬ã¼ã¿ã使ããã¨ãã»ã¨ãã©ã ã¨æãã¾ãã ä¾ãã°intå¤ã®ã³ã¬ã¯ã·ã§ã³ã¨ã¤ãã¬ã¼ã¿ãèªä½ããã¨ãã¯ãã¾ã以ä¸ã®ããã«IntIteratorã¨IntIterableãç¨æã㦠public interface IntIterator { boolean hasNext(); int next(); } public interface IntIterable { IntIterator iterator(); } 以ä¸ã®ããã«å®è£ ãã¾ãã public class IntArray implements IntIterable { private int[] array; private int length; public IntArray(int[] array) { this.a
{{#tags}}- {{label}}
{{/tags}}