public static SiliCompressor with ( Context context ) { if ( singleton == null ) { synchronized ( SiliCompressor . class ) { if ( singleton == null ) { singleton = new Builder ( context ) . build ( ) ; } } } return singleton ; }
initialise the class and set the context