import java.sql.SQLException;
import java.sql.SQLWarning;
import java.text.MessageFormat;
+import java.util.Collections;
+import java.util.HashMap;
import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import org.mxchange.jcore.BaseFrameworkSystem;
public final int size () {
return this.result.size();
}
+
+ @Override
+ public Set<? extends Storeable> resultSet () {
+ // Return it
+ return Collections.unmodifiableSet(this.result);
+ }
}
import java.sql.SQLWarning;
import java.util.Iterator;
+import java.util.Set;
import org.mxchange.jcore.FrameworkInterface;
import org.mxchange.jcore.database.storage.Storeable;
* @return Size of result
*/
public int size ();
+
+ /**
+ * Getter for a whole unmodifiable result set from this result. The id number is used as key
+ *
+ * @return A map from this result
+ */
+ public Set<? extends Storeable> resultSet ();
}