• 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.0.0
Ceylon / Java Interoperability Platform Module
Category SDK

The Ceylon SDK

Backends JVM
Maven coordinates
Compatible Ceylon release JVM: 1.0.0 (outdated)
Published Nov 11, 2013
Stats Downloads (JVM): 1649
Source downloads: 711
Authors The Ceylon Team
Description

A selection of utility methods to improve Java interoperability.

The following methods and types exist:

  • javaString(String string) - takes a Ceylon String and turns it into a Java String
  • JavaIterator<T>(Iterator<T> iter) - takes a Ceylon Iterator and turns it into a Java Iterator
  • JavaIterable<T>(Iterable<T> iter) - takes a Ceylon Iterable and turns it into a Java Iterable
  • CeylonIterator<T>(JIterator<T> iter) - takes a Java Iterator and turns it into a Ceylon Iterator
  • CeylonIterable<T>(JIterable<T> iter) - takes a Java Iterable and turns it into a Ceylon Iterable
  • JavaCollection({T*} items) - takes a Ceylon list of items and turns them into a Java Collection
  • javaClass<T>() - returns the Java Class reference for type T
  • javaClass(Object obj) - takes a class instance and returns a Java Class reference for its type
Dependencies
java.base/7 JDK shared
Usage
  • Import
 import ceylon.interop.java "1.0.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-2023 Red Hat. About