Created
May 28, 2016 15:21
-
-
Save boldijar/7f5ea311f44b37bada04cb53b34d9ac6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bolnizar.sda; | |
/** | |
* Created by Paul on 5/28/2016. | |
*/ | |
public class Iterator { | |
private Dictionary mDictionary; | |
public Iterator(Dictionary dictionary) { | |
mDictionary = dictionary; | |
} | |
/* returns the first element from the iterator*/ | |
public Place first() { | |
return null; | |
} | |
/* returns true if the iterator has a valid current element */ | |
public boolean valid() { | |
return false; | |
} | |
/* moves the iterator one step */ | |
public void next() { | |
} | |
/* returns the current element from the iterator */ | |
public Place current() { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment