ormfux-common-utils

A small collection of Java utilities for every-day use

License

License

Categories

Categories

ORM Data
GroupId

GroupId

com.github.orm-fux
ArtifactId

ArtifactId

common-utils
Last Version

Last Version

1.5
Release Date

Release Date

Type

Type

jar
Description

Description

ormfux-common-utils
A small collection of Java utilities for every-day use
Project URL

Project URL

https://github.com/orm-fux/ormfux-common-util
Source Code Management

Source Code Management

https://github.com/orm-fux/ormfux-common-util.git

Download common-utils

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.orm-fux/common-utils/ -->
<dependency>
    <groupId>com.github.orm-fux</groupId>
    <artifactId>common-utils</artifactId>
    <version>1.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.orm-fux/common-utils/
implementation 'com.github.orm-fux:common-utils:1.5'
// https://jarcasting.com/artifacts/com.github.orm-fux/common-utils/
implementation ("com.github.orm-fux:common-utils:1.5")
'com.github.orm-fux:common-utils:jar:1.5'
<dependency org="com.github.orm-fux" name="common-utils" rev="1.5">
  <artifact name="common-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.orm-fux', module='common-utils', version='1.5')
)
libraryDependencies += "com.github.orm-fux" % "common-utils" % "1.5"
[com.github.orm-fux/common-utils "1.5"]

Dependencies

test (3)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.7
junit : junit jar 4.11
org.assertj : assertj-core jar 3.12.0

Project Modules

There are no modules declared in this project.

Description

A collection of utilities. There are, for example, "every day" utilities for operating on collections, working with nullable values, or date values. Some of the more rarely used ones are the reflection utilities for class and property analysis and invocations.

Available on MavenCentral.

Dependency Declaration

Maven dependency:

<dependency>
  <groupId>com.github.orm-fux</groupId>
  <artifactId>ormfux-common-util</artifactId>
  <version>1.6.2</version>
</dependency>

Gradle dependency:

compile group: 'com.github.orm-fux', name: 'ormfux-common-util', version: '1.6.2'

Version History

1.6.2

Extended Stream API:

  • Added final operation consume as more precisely named version of the standard Stream's forEach.
  • Added initialization method to "convert" an Optional containing a collection into a Stream of Optionals of the collection content.

1.6.1

Extended Stream API:

  • Create Stream from Map.
  • Create Stream from java.util.stream.Stream.
  • forEach is not a terminal operation anymore.
  • Added terminal operation that filters and directly creates a Map - i.e. combination of filter and map operations.

Versions

Version
1.5