Simple API for different algorithm implementations in java like sorting .