خرید بک لینک

Vote count: 0

Can anybody help me with recursion logic. I have a iterator object, on which I am iterating using while loop. Then in each iterated object I again have to iterate and so on.

private void handleRecursiveMethod(someMethod) {
                    Iterator<Sometype> methods=doingSomething(someMethod));
                    while(methods.hasNext()){
                        printingDetailsAboutThisMethod(methods.next())
                            // Again with each method I have to do same operation untill methods.hasNext becomes false.Please help here.
            handleRecursiveMethod(methods.next());

// By calling this, It doesnot complete while loop first time. } }}

Please help me asap. Thanks in advance.

asked 49 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 17 تير 1395 ساعت: 2:35

صفحه بندی