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.
For further reading on usage refer to the Wiki
Java 8 (or higher) is required as the java-scala-utils builds heavily on Lambda.
SBT
"org.dmonix.functional" % "java-scala-utils-converter" % [version]
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.