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
public class AnonInnerClass { | |
private final List<Job> jobsCache = new ArrayList<>(); | |
private Class<? extends Job> getClass(final String s) { | |
final Job job = new Job() { | |
@Override | |
public void execute(JobExecutionContext context) throws JobExecutionException { | |
System.out.println(s); | |
} | |
}; |
NewerOlder