New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create interfaces for MultiReader collections. #705
Comments
canthonyl
added a commit
to canthonyl/eclipse-collections
that referenced
this issue
May 1, 2019
Closed
canthonyl
added a commit
to canthonyl/eclipse-collections
that referenced
this issue
May 2, 2019
Signed-off-by canthonyl
canthonyl
added a commit
to canthonyl/eclipse-collections
that referenced
this issue
May 2, 2019
Signed-off-by: canthonyl <cheung.yi.lung@gmail.com>
canthonyl
added a commit
to canthonyl/eclipse-collections
that referenced
this issue
May 3, 2019
Signed-off-by: canthonyl <cheung.yi.lung@gmail.com>
donraab
added a commit
that referenced
this issue
May 6, 2019
#705 Add interfaces for MultiReader List/Set/Bag
Fixed by @canthonyl in #719 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The three MultiReader collections do not currently have interfaces with any specialized APIs. This means you cannot call methods like
withReadLockAndDelegate
andwithWriteLockAndDelegate
unless you have the implementation class in your code. This requires you to construct the implementation classes explicitly, and means you cannot use the factory methods for creating the classes.MutableList<Integer> list = Lists.multiReader.with(1, 2, 3);
// no access to withReadLockAndDelegate or withWriteLockAndDelegate
vs.
MultiReaderFastList<Integer> list = MultiReaderFastList.newListWith(1, 2, 3);
// access to withReadLockAndDelegate or withWriteLockAndDelegate
The text was updated successfully, but these errors were encountered: