/** * Returns the single instance of this class. * * @return Single instance of this class. */ public synchronized static TopShadowOverlayPainter getInstance() { if (INSTANCE == null) INSTANCE = new TopShadowOverlayPainter(); return INSTANCE; }
/** * Returns the single instance of this class. * * @return Single instance of this class. */ public synchronized static TopShadowOverlayPainter getInstance() { if (INSTANCE == null) INSTANCE = new TopShadowOverlayPainter(); return INSTANCE; }