why reservoir sampling vs just picking a random segment?
Also, if only one class is using this class, just define it as a private class in the one class that needs this class