Skip to content

Commit

Permalink
add new functiona interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Mar 1, 2018
1 parent 203d46f commit 7abc620
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions processor/src/main/resources/headerD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ type bytearray = [char];
type Runnable = () => void ;

type Func<T,R> = ( t:T ) => R ;
type BiFunc<T,U,R> = ( t:T, u:U ) => R ;

type Supplier<T> = () => T ;

type Consumer<T> = ( v:T ) => void ;
type BiConsumer<T,U> = ( t:T, u:U ) => void ;

type UnaryOperator<T> = ( v:T ) => T ;
type BinaryOperator<T> = ( t:T, u:T ) => T ;

type Predicate<T> = ( v:T ) => boolean ;
type BiPredicate<T,U> = ( t:T, u:U ) => boolean ;

type Comparator<T> = ( o1:T, o2:T ) => int ;

Expand Down

0 comments on commit 7abc620

Please sign in to comment.