jet.runtime
Class Intrinsics

java.lang.Object
  extended by jet.runtime.Intrinsics

public class Intrinsics
extends Object

Author:
alex.tkachman

Nested Class Summary
static class Intrinsics.SpreadBuilder
           
 
Method Summary
static int compare(boolean thisVal, boolean anotherVal)
           
static int compare(int thisVal, int anotherVal)
           
static int compare(long thisVal, long anotherVal)
           
static
<T> Class<T>
getJavaClass(T self)
           
static String stringPlus(String self, Object other)
           
static
<R> R
stupidSync(Object lock, Function0<R> block)
           
static void throwNpe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stringPlus

public static String stringPlus(String self,
                                Object other)

throwNpe

public static void throwNpe()

getJavaClass

public static <T> Class<T> getJavaClass(T self)

compare

public static int compare(long thisVal,
                          long anotherVal)

compare

public static int compare(int thisVal,
                          int anotherVal)

compare

public static int compare(boolean thisVal,
                          boolean anotherVal)

stupidSync

public static <R> R stupidSync(Object lock,
                               Function0<R> block)


Copyright © 2012. All Rights Reserved.