Package Exports
- langx-js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (langx-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JavaScript language extensions, a replacement or a supplement of the lodash. Write JavaScript using Java API for a javaer, javascripter, typescripter.
Versions
Overwrite lodash
- Array utilities
Migrate Java API
All java collection written in Iterables.ts module
TypeScript Class or Module | Java Class |
---|---|
Collection | java.util.Collection |
List | java.util.List |
ArrayList | java.util.ArrayList |
LinkedList | java.util.LinkedList |
LikeJavaSet | java.util.Set |
LikeJavaMap | java.util.Map |
HashSet | java.util.HashSet |
LinkedHashSet | java.util.LinkedHashSet |
TreeSet | java.util.TreeSet |
HashMap | java.util.HashMap |
LinkedHashMap | java.util.LinkedHashMap |
TreeMap | java.util.TreeMap |
logger | Logger |
Exceptions | some java.lang.RuntimeException (s) |
Migrate langx-java Utilities
TypeScript Class or Module | langx-java Class |
---|---|
Emptys | Emptys |
Objects | Objects |
Numbers | Numbers |
Booleans | Booleans |
Dates | Dates |
Preconditions | Preconditions |
Collects | Collects |
Functions | Function,Consumer,Predicate,Supplier ... |
Pipeline | Pipeline [Like Java8 Stream API ] |