![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
com.ochumak:mset-core
Advanced tools
Mathematical sets in java.
Creating MSet
MSet<Long> longSet = MSet.of(1L, 2L, 3L); //from array
ArrayList<String> strings = new ArrayList<>(); //from collection
strings.add("v1");
strings.add("v2");
MSet<String> stringSet = MSet.of(strings);
MSet<Integer> integerSet = IntStream.range(0, 10) //from stream
.boxed()
.collect(MSet.toMSet());
Iterating through set :
for (Integer value : set) { //foreach loop
//...
}
set.stream() //stream
.forEach(value -> { /* ... */});
Iterator<Integer> iterator = set.iterator(); //iterator
while (iterator.hasNext()) {
Integer value = iterator.next();
// ...
}
Some set operations:
MSet.of(1, 2, 3).union(MSet.of(2, 3, 4)); //union {1,2,3,4}
MSet.of(1, 2, 3).intersection(MSet.of(2, 3, 4)); //intersection {2,3}
MSet.of(1, 2, 3).contains(1); // true
MSet.of(1, 2, 3).intersection(MSet.of(2, 3, 4)).contains(1); // false
Universal set bounded operations:
MSet.of(1, 2, 3)
.complement()
.contains(4, MSet.of(1, 2, 3, 4)) //true
MSet.of(1, 2, 3)
.complement()
.contains(1, MSet.of(1, 2, 3, 4)) //false
This project is licensed under Apache License, version 2.0
Releases are available in Maven Central
Add this snippet to the pom.xml dependencies
section:
<dependency>
<groupId>com.ochumak</groupId>
<artifactId>mset-core</artifactId>
<version>1.4</version>
</dependency>
Add this snippet to the build.gradle dependencies
section:
compile 'com.ochumak:mset-core:1.4'
Pull requests are welcome.
FAQs
Mathematical sets in java.
We found that com.ochumak:mset-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.