My reallisation of some classificators in Java