Skip to content
landawn edited this page Apr 29, 2018 · 8 revisions

User Guide

AbacusUtil is a general programming library/framework in Java. It's simple, powerful and easy to use with concise APIs. To provide the unmatchable programming experiences and high performance solutions, We think the API design and implementation again and again. First, let's take a quick look:

  • Most daily used methods: range/repeat/concat/stringOf/valueOf/as/...
int[] a = Array.range(1, 3);
int[] b = Array.rangeClosed(3, 7);
int[] c = N.concat(a, b);
String str = N.stringOf(c);
N.println(str); // [1, 2, 3, 4, 5, 6, 7]
int[] d = N.valueOf(int[].class, str);
assertTrue(N.equals(c, d));

List<String> list = N.asList("abc", "1", "2", "3");
Map<String, Integer> map = N.asMap("a", 1, "b", 2, "c", 3);
ImmutableSet<String> set = ImmutableSet.of("abc", "1", "2", "3");