Giter VIP home page Giter VIP logo

Comments (5)

CPColin avatar CPColin commented on June 30, 2024 1

I might be able to tackle this one. This would be just for classes in the ceylon.collection module, right? So, ArrayList, HashMap, HashSet, LinkedList, TreeMap, and TreeSet?

from ceylon-sdk.

CPColin avatar CPColin commented on June 30, 2024 1

Here are my changes so far, as compared to the 1.3.2 tag, which I branched from:

1.3.2...CPColin:36-fail-safe-iterators

from ceylon-sdk.

FroMage avatar FroMage commented on June 30, 2024

Moving to M6.

from ceylon-sdk.

CPColin avatar CPColin commented on June 30, 2024

I think it'd be good if somebody looked at what I have so far, before I use the same strategy on the other classes. Specifically, I'm not satisfied with the new class names, but using stuff like MutableIterator seems misleading.

from ceylon-sdk.

CPColin avatar CPColin commented on June 30, 2024

I went ahead and did the other classes in ceylon.collection. The two maps got a little interesting, because they need to provide fail-fast iterators for their keys and items views, too.

I chose to have each class satisfy the new interfaces, instead of having MutableList, etc., do it, to avoid breaking other classes people have written, hopefully. I'm also not thrilled that the new mutationCount attribute has to be shared, but that's the only way FailOnMutationIterator can get at it. Maybe eclipse-archived/ceylon#4234 can help here.

from ceylon-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.