What is the equivalent of C# CollectionBase in Java?
Java – Collection base
c++collectionsjava
Related Question
- Java – Is Java “pass-by-reference” or “pass-by-value”
- Java – How to efficiently iterate over each entry in a Java Map
- Java – the difference between public, protected, package-private and private in Java
- Java – Avoiding NullPointerException in Java
- Java – When to use LinkedList over ArrayList in Java
- Java – How to create a memory leak in Java
- Java – Why is subtracting these two times (in 1927) giving a strange result
- Java – Why is processing a sorted array faster than processing an unsorted array
Best Solution
AbstractCollection
is probably the closest; but sinceCollectionBase
implementsIList
, you might wantAbstractList
instead.