• 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.2.2
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 Mar 11, 2016
Stats Downloads (JVM): 1323
Source downloads: 598
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 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,
  • JavaRunnable and JavaThread which adapt Ceylon functions to Java's [[java.lang::Runnable]] and [[java.lang::Thread]], and
  • JavaCloseable and CeylonDestroyable which adapt between [[java.lang::AutoCloseable]] and Destroyable.

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

Dependencies
ceylon.collection/1.2.2 shared
ceylon.language/1.2.2
java.base/7 JDK shared
Usage
  • Import
 import ceylon.interop.java "1.2.2";
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-2023 Red Hat. About