To learn about the framework, read https://github.com/JetBrains/mapper/wiki/JetBrains-Mapper
Take a look at samples in the samples dir.
- todo - a simple todo application
JetBrains Mapper MVC Framework
License: Apache License 2.0
To learn about the framework, read https://github.com/JetBrains/mapper/wiki/JetBrains-Mapper
Take a look at samples in the samples dir.
Is it possible to have a tutorial on usage?
I have a service that returns ValueProperty<A>
and another service that returns ValueProperty<B>
.
I want to create a service that returns ValueProperty<C>
that takes as inputs ValueProperty<A>
and ValueProperty<B>
.
So the method signature looks like:
ValueProperty<C> blah(ValueProperty<A>a , ValueProperty<B> b);
Whats the best way to implement this such that events propagate from the sources a
and b
, and when disposing c
all listeners are cleaned up.
Thanks!
ps.
also the simpler case of mapping an ValueProperty<A>
to ValueProperty<C>
, is there anything like a map function built in?
ValueProperty<C> c = a.map(theA -> aToC(theA))
Hi,
We find that there are several ArrayList objects which are not manipulated by random access. Due to the memory reallocation triggered in the successive insertions, the time complexity of add method of ArrayList is amortized O(1). We notice that these objects are only used for traversal, the retrieval, and removal of the first or the last element.
This functionality can be implemented by LinkedList. Moreover, the insertion of LinkedList is strictly O(1) time complexity because no memory reallocation occurs.
Meanwhile, we also found several TreeMap objects which are not necessary to maintain the key order relation. To achieve the same functionality, HashHap is enough. The replacement can also reduce the time cost in the modification of the map objects.
We discovered the above inefficient usage of containers by our tool Ditto. The patch is submitted in #219. Could you please check and accept it? We have tested the patch on our PC. The patched program works well.
Bests
Ditto
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.