Is there a Java interface that only have `get` `set` methods?

The get, set methods refer to array-like APIs, not getters or setters.

I’ve googled “java interface get set” and didn’t get useful results — it gives me information like getters or setters.

I’ve implemented a boolean array using bit compression, and I want know if there’s an interface that only have get(int) and set(int, boolean).