B
B
baddev2019-05-06 13:22:55
Java
baddev, 2019-05-06 13:22:55

What name to give to the interface in this case?

Hello.
Please help with the naming of interface-repositories in android.
There are two kinds of entities - users and books. I would like to write something like this:

interface IUsersRepository {}
class UsersRepository implements IUsersRepository {}

interface IBooksRepository {}
class BooksRepository implements IBooksRepository {}

But as far as I understand, in java it is not customary to add the prefix "I" to the names of interfaces. What names would you use in this case? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UNy, 2019-05-06
@baddev

Interfaces: BooksRepository and UserRepository
Classes: BooksRepositoryImpl and UserRepositoryImpl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question