An open API service indexing awesome lists of open source software.

https://github.com/paganini2008/devtools

A Java basic tool library, which provides a large amounts of useful and cool utility methods and APIs to optimize your code, making your code more efficient and elegant.
https://github.com/paganini2008/devtools

java javacore utilities

Last synced: 11 months ago
JSON representation

A Java basic tool library, which provides a large amounts of useful and cool utility methods and APIs to optimize your code, making your code more efficient and elegant.

Awesome Lists containing this project

README

          

# Devtools Series
*A Java basic tool library, which provides a large amounts of useful and cool utility methods and APIs to optimize your code, making your code more efficient and elegant.*

### Install

``` xml

com.github.paganini2008
devtools
2.0.5

```

### Compatibility
Jdk1.8 (or later)

### Modules
* devtools-lang
* devtools-objectpool
* devtools-cron4j
* devtools-beans-streaming
* devtools-db4j

## 1. devtools-lang

devtools-lang provides enrich utility method to manipulate Java core classes. It optimize operations about Basic data type, Collection, Date, IO, Reflection and other class libraries. It also provides high level APIs to do programming about Multithreading, JDBC, Logger .etc, which can help developer decrease repeat basic code and focus on business logical developing, making project code have more readability and maintainability

#### Install
``` xml

com.github.paganini2008
devtools-lang
2.0.5

```

#### Core API

Utility class for java.lang.*

* StringUtils
* ObjectUtils
* ArrayUtils
* NumericUtils
* CharsetUtils
* ClassUtils

Utility class for primitive data types

* Booleans
* Chars
* Bytes
* Shorts
* Ints
* Longs
* Floats
* Doubles

Utility class for mathematics

* BigDecimalUtils
* BigIntegerUtils

Utility class for java.lang.Random

* RandomUtils
* RandomStringUtils
* RandomDateUtils

Utility class for java.util.Date

* CalendarUtils
* DateUtils
* LocalDateUtils
* LocalDateTimeUtils
* LocalTimeUtils

Utility class for java.util.collection

* CollectionUtils
* ListUtils
* SetUtils
* MapUtils
* LruMap
* LruList
* LruSet
* MultiDequeMap
* MultiKeyMap
* MultiListMap
* MultiMappedMap
* MultiSetMap
* CaseInsensitiveMap
* CamelCaseInsensitiveMap

Utility class for java.io.*

* IOUtils
* FileUtils
* PathUtils
* TreeUtils
* PropertiesUtils
* ResourceUtils
* ImageUtils
* SerializationUtils
* RecursiveDirectoryWalker
* ForkJoinDirectoryWalker
* FileMonitor
* FileComparator
* LogicalFileFilter

Utility class for java.lang.Thread

* ExecutorUtils
* ThreadsUtils
* Clock
* GenericThreadPool
* Jdk14ThreadPool
* ConcurrentTimer
* ThreadFactoryBuilder
* AtomicIntegerSequence
* AtomicLongSequence
* Latch

Utility class for java.lang.reflect.*

* ConstructorUtils
* FieldUtils
* MethodUtils
* BeanUtils
* PropertyUtils
* EqualsBuilder
* HashCodeBuilder
* ToStringBuilder

Utility class for data type conversion operations

* ConvertUtils
* StandardTypeConverter

Utility class for java.sql.*

* JdbcUtils
* ResultSetSlice
* ConnectionFactory
* DataSourceFactory
* PageableQuery
* Cursor
* JdbcDumpTemplate

Utility class for java.util.logging.*

* Log
* LogFactory

## 2. devtools-objectpool

devtools-objectpool is a high performance implementation of object pool, including a generic object pool and jdbc connection pool.

#### Install

``` xml

com.github.paganini2008
devtools-objectpool
2.0.5

```

#### Core API

* ObjectPool
* ObjectFactory
* Jdk14ObjectPool
* GenericObjectPool
* ConnectionPool
* GenericDataSource

## 3. devtools-cron4j

devtools-cron4j is a small and practical Java scheduling toolkit that provides:

* Defining cron expressions by object-oriented way
* Providing strong cron expression parser
* Executing job class at a certain time by multiple provided TaskExecutor
* Easily embedding any system in a lightweight way without relying on external components

#### Install
``` xml

com.github.paganini2008
devtools-cron4j
2.0.5

```

#### Core API

* CronExpression
* TaskExecutor
* ThreadPoolTaskExecutor
* TimerTaskExecutor
* ClockTaskExecutor

## 4. devtools-beans-streaming

devtools-beans-streaming provide a approach like SQL query to tackle a Java object list. For example, searching specific attribute value, counting or aggregating some objects by attribute value (Similar to LINQ in C#)

#### Install

``` xml

com.github.paganini2008
devtools-beans-streaming
2.0.5

```

#### Core API

* Selector
* Restriction
* Group
* Sorter
* BeanSorter

## 5. devtools-db4j

devtools-db4j is a simple and practical JDBC tool library, which provides varied high level API to operation database, thereby increasing developing efficiency

#### Install

``` xml

com.github.paganini2008
devtools-db4j
2.0.5

```

#### Core API

* SqlPlus
* SqlRunner
* ParsedSqlRunner
* TypeHandler
* TypeHandlerRegistry
* ResultSetExtractor
* RowMapper