-
Notifications
You must be signed in to change notification settings - Fork 2
PrimitiveList
landawn edited this page Jul 27, 2019
·
1 revision
PrimitiveList implements the functions in List for primitive types: BooleanList, CharList, ByteList, ShortList, IntList, LongList, FloatList, DoubleList and ObjectList. It's first time for developers to keep efficiency of primitive types while obtain the flexibility provided by Object/Collection/Stream. It becomes incredible easy/convenient to program with primitive array/list or convert among different types. Additionally, Stream/Lambda are fully supported for primitive types. Here is a simple sample:
@Test
public void test_CharList() {
CharList charList = CharList.of('1', '2', '3', 'a', 'b', 'c');
assertTrue(charList.contains('b'));
charList.remove('b');
assertFalse(charList.contains('b'));
CharList letters = charList.filter(e -> e >= 'a');
assertEquals(2, letters.size());
}
- How to Learn/Use the APIs correctly and efficiently
- Programming in RDBMS with Jdbc/PreparedQuery/SQLExecutor/Mapper/Dao
- JSON/XML Parser
- SQLite Executor
- SQL Executor
- SQL Builder
- SQL Mapper
- DataSet
- JdbcUtil/CSVUtil
- IOUtil
- PrimitiveList
- Profiler
- Http Client
- Web Services
- Programming in Android
- Parse/Analyze/Operate (Big) Data (on N servers in parallel)
- Code Generation
- Introduction to JDBC
- Naming Convention
- Partitioning/Distribution
- SQL/NoSQL
- Model/Entity