/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public enum ServiceSource
{
NONE( "no_value" ),
FILE( "file" );
public boolean isURL(){
}
}
{
ServiceSource one
= ServiceSource.
URL; ServiceSource two = ServiceSource.FILE;
System.
out.
println(one.
isURL()); System.
out.
println(two.
isURL()); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCQoJcHVibGljIGVudW0gU2VydmljZVNvdXJjZQp7CiAgICBOT05FKCAgICJub192YWx1ZSIgICksCiAgICBVUkwoICAgICJ1cmwiICAgICAgICksCiAgICBGSUxFKCAgICJmaWxlIiAgICAgICk7CiAgICBTZXJ2aWNlU291cmNlKFN0cmluZyBzKXt9CiAgICBwdWJsaWMgYm9vbGVhbiBpc1VSTCgpewogICAgCXJldHVybiAoVVJMID09IHRoaXMpOwogICAgfQp9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNlcnZpY2VTb3VyY2Ugb25lID0gU2VydmljZVNvdXJjZS5VUkw7CgkJU2VydmljZVNvdXJjZSB0d28gPSBTZXJ2aWNlU291cmNlLkZJTEU7CgkJU3lzdGVtLm91dC5wcmludGxuKG9uZS5pc1VSTCgpKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4odHdvLmlzVVJMKCkpOwoJfQp9