Skip to content

jextract: support all other functional interfaces (Supplier and friends)  #101

Open
@ktoso

Description

@ktoso

Similar how we did Runnable in #100 we should be able to import various shapes of functions like (Int) -> Int and others into the various j.u.f. interfaces

  • BiConsumer<T,U>
  • BiFunction<T,U,R>
  • BinaryOperator
  • BiPredicate<T,U>
  • BooleanSupplier
  • Consumer
  • DoubleBinaryOperator
  • DoubleConsumer
  • DoubleFunction
  • DoublePredicate
  • DoubleSupplier
  • DoubleToIntFunction
  • DoubleToLongFunction
  • DoubleUnaryOperator
  • Function<T,R>
  • IntBinaryOperator
  • IntConsumer
  • IntFunction
  • IntPredicate
  • IntSupplier
  • IntToDoubleFunction
  • IntToLongFunction
  • IntUnaryOperator
  • LongBinaryOperator
  • LongConsumer
  • LongFunction
  • LongPredicate
  • LongSupplier
  • LongToDoubleFunction
  • LongToIntFunction
  • LongUnaryOperator
  • ObjDoubleConsumer
  • ObjIntConsumer
  • ObjLongConsumer
  • Predicate
  • Supplier
  • ToDoubleBiFunction<T,U>
  • ToDoubleFunction
  • ToIntBiFunction<T,U>
  • ToIntFunction
  • ToLongBiFunction<T,U>
  • ToLongFunction
  • UnaryOperator  

we can do the non generic ones first

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededjextractIssues related to jextract-swift

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions