interface IOIterator
< E
> extends Iterator < E
> {
public E next ( ) throws IOIteratorException ; // this line is not necessary
}
{
{
super ( cause ) ;
this . cause = cause ;
}
@ Override
{
return cause ;
}
}
class Main
{
public static void main
( String [ ] args
) {
}
}
CmltcG9ydCBqYXZhIC4gaW8gLiBJT0V4Y2VwdGlvbiA7CmltcG9ydCBqYXZhIC4gdXRpbCAuIEl0ZXJhdG9yIDsKCmludGVyZmFjZSBJT0l0ZXJhdG9yIDwgRSA+IGV4dGVuZHMgSXRlcmF0b3IgPCBFID4KewoJcHVibGljIEUgbmV4dCAoICkgdGhyb3dzIElPSXRlcmF0b3JFeGNlcHRpb24gOwkvLyB0aGlzIGxpbmUgaXMgbm90IG5lY2Vzc2FyeQp9CgpjbGFzcyBJT0l0ZXJhdG9yRXhjZXB0aW9uIGV4dGVuZHMgUnVudGltZUV4Y2VwdGlvbgp7Cglwcml2YXRlIGZpbmFsIElPRXhjZXB0aW9uIGNhdXNlIDsKCglJT0l0ZXJhdG9yRXhjZXB0aW9uICggSU9FeGNlcHRpb24gY2F1c2UgKQoJewoJCXN1cGVyICggY2F1c2UgKSA7CgkJdGhpcyAuIGNhdXNlID0gY2F1c2UgOwoJfQoKCUAgT3ZlcnJpZGUKCXB1YmxpYyBJT0V4Y2VwdGlvbiBnZXRDYXVzZSAoICkKCXsKCQlyZXR1cm4gY2F1c2UgOwoJfQp9CgoKY2xhc3MgTWFpbgp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoIFN0cmluZyBbIF0gYXJncyApCgl7Cgl9Cn0=