• Modules
    • By category
    • By name
    • Most popular
    • Most downloaded
    • Repository
  • Register
  • Log in
  • Help
    • Start using Ceylon Herd
    • Publish your first module
    • Module publishing guidelines
    • All about Ceylon
    • Keyboard Shortcuts

    • s Focus search module bar
      ? Open this information panel
      j Move selection down
      k Move selection up
      enter Open current selection
Module info
Name
quintesse / ceylon.interop.java / 1.3.0
Ceylon / Java Interoperability Platform Module
Category SDK

The Ceylon SDK

Backends JVM
Maven coordinates
Compatible Ceylon release JVM: 1.2.x, 1.3.x (latest)
Published Sep 15, 2016
Stats Downloads (JVM): 695
Source downloads: 342
Authors The Ceylon Team
Description

A set of adaptors for types belonging to the Java language or Java SDK. Includes:

  • a set of functions for instantiating Java array types given a stream of values, for example, createJavaIntArray, createJavaFloatArray, createJavaByteArray, createJavaBooleanArray, createJavaObjectArray, and createJavaStringArray,
  • a set of functions for converting between Ceylon's Array class and Java array types, for example, javaIntArray, javaFloatArray, javaByteArray, javaBooleanArray, javaObjectArray, and javaStringArray,
  • classes adapting Java collection types to Ceylon collection interfaces: CeylonList, CeylonSet, CeylonMap,
  • classes adapting Ceylon collection types to Java collection interfaces: JavaList, JavaSet, JavaMap, and
  • CeylonIterable and JavaIterable which adapt between Java's [[java.lang::Iterable]] interface and Ceylon's Iterable interface,
  • CeylonStringIterable, CeylonIntegerIterable, CeylonFloatIterable, CeylonByteIterable, and CeylonBooleanIterable, which adapt Java [[java.lang::Iterable]]s of primitive types,
  • [[CeylonStringList]], CeylonStringMap, [[JavaStringList]], and JavaStringMap, which adapt maps and lists containing strings, and
  • JavaRunnable and JavaThread which adapt Ceylon functions to Java's [[java.lang::Runnable]] and [[java.lang::Thread]].

In addition, the functions javaClass and javaClassFromInstance allow Ceylon programs to obtain an instance of [[java.lang::Class]].

Dependencies
ceylon.collection/1.3.0 shared
ceylon.language/1.3.0
java.base/7 JDK shared
Usage
  • Import
 import ceylon.interop.java "1.3.0";
Module links Members
Imported By
Home
Code repository
Issue tracker
Browse
Download .car
No .js archive
Download source archive
Download module documentation
View API documentation

Ceylon Herd v1.24 Copyright 2012-2019 Red Hat. About