pnerg / java-scala-util-converter   1.2.0

Apache License 2.0 GitHub

Converts the types from java-scala-util to Scala and vice versa

Scala versions: 2.13 2.12 2.11

java-scala-util-converter

Build & Test codecov.io Maven Central Scaladoc

Introduction

This library provides the mechanisms to convert between types provided by java-scala-util to their Scala equivalence and vice-versa.
One can either perform explicit conversions by using a specific converter method or do implicit conversions using the decorator pattern provided by Scalas implicit method declaration

This allows you to seamlessly traverse between Java and Scala using core functionality such as Try/Success/Failure, Option/None/Some, Either/Left/Right and non-blocking Futures and having these types automatically translated to/from Java/Scala.

Documentation

For further reading on usage refer to the Wiki

Requirements

Java 8 (or higher) is required as the java-scala-utils builds heavily on Lambda.

Download

SBT

"org.dmonix.functional" % "java-scala-utils-converter" % [version]

LICENSE

Copyright 2015 Peter Nerg.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.