Proxy pattern: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
ValterVBot (discussione | contributi)
m tag source deprecati, replaced: <source lang= → <syntaxhighlight lang= (3), </source> → </syntaxhighlight> (3)
Sistemata indentazione nell'esempio
Riga 44:
System.out.println("Loading "+filename);
 
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
 
Riga 78:
image2.displayImage(); // no loading necessary; already done
image3.displayImage(); // loading necessary
 
}
}