io.qt.core.QtGlobal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* File includes an assortment of other headers
* Java wrapper for Qt namespace QtGlobal
*/
public final class QtGlobal
{
static {
QtJambi_LibraryUtilities.initialize();
}
private QtGlobal() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtGlobal."); }
/**
* See qAbs(T)
*/
public native static double qAbs(double t);
/**
* See qAbs(T)
*/
public native static float qAbs(float t);
/**
* See qAbs(T)
*/
public native static short qAbs(short t);
/**
* See qAbs(T)
*/
public native static int qAbs(int t);
/**
* See qAbs(T)
*/
public native static long qAbs(long t);
/**
* See qAbs(T)
*/
public native static byte qAbs(byte t);
/**
* See qBound(T, T, T)
*/
public native static double qBound(double min, double val, double max);
/**
* See qBound(T, T, T)
*/
public native static float qBound(float min, float val, float max);
/**
* See qBound(T, T, T)
*/
public native static short qBound(short min, short val, short max);
/**
* See qBound(T, T, T)
*/
public native static int qBound(int min, int val, int max);
/**
* See qBound(T, T, T)
*/
public native static long qBound(long min, long val, long max);
/**
* See qBound(T, T, T)
*/
public native static byte qBound(byte min, byte val, byte max);
/**
* See qFuzzyCompare(double, double)
*/
public native static boolean qFuzzyCompare(double p1, double p2);
/**
* See qFuzzyCompare(float, float)
*/
public native static boolean qFuzzyCompare(float p1, float p2);
/**
*
*/
public native static boolean qFuzzyIsNull(double d);
/**
*
*/
public native static boolean qFuzzyIsNull(float f);
/**
* See qIntCast(double)
*/
public native static int qIntCast(double f);
/**
* See qIntCast(float)
*/
public native static int qIntCast(float f);
/**
* See qIsNull(double)
*/
public native static boolean qIsNull(double d);
/**
* See qIsNull(float)
*/
public native static boolean qIsNull(float f);
/**
* See qMax(T, T)
*/
public native static double qMax(double a, double b);
/**
* See qMax(T, T)
*/
public native static float qMax(float a, float b);
/**
* See qMax(T, T)
*/
public native static short qMax(short a, short b);
/**
* See qMax(T, T)
*/
public native static int qMax(int a, int b);
/**
* See qMax(T, T)
*/
public native static long qMax(long a, long b);
/**
* See qMax(T, T)
*/
public native static byte qMax(byte a, byte b);
/**
* See qMin(T, T)
*/
public native static double qMin(double a, double b);
/**
* See qMin(T, T)
*/
public native static float qMin(float a, float b);
/**
* See qMin(T, T)
*/
public native static short qMin(short a, short b);
/**
* See qMin(T, T)
*/
public native static int qMin(int a, int b);
/**
* See qMin(T, T)
*/
public native static long qMin(long a, long b);
/**
* See qMin(T, T)
*/
public native static byte qMin(byte a, byte b);
/**
* See qRound(double)
*/
public native static int qRound(double d);
/**
* See qRound(float)
*/
public native static int qRound(float d);
/**
* See qRound64(double)
*/
public native static long qRound64(double d);
/**
* See qRound64(float)
*/
public native static long qRound64(float d);
/**
* See qHash(T,0)
*/
public static long qHash(T object) throws UnsupportedOperationException {
return qHash(object, 0);
}
/**
* See qHash(T,long)
*/
public static native long qHash(T object, long seed) throws UnsupportedOperationException;
/**
*
*/
public static native long qHashMulti(long seed, Object... objects) throws UnsupportedOperationException;
/**
*
*/
public static native long qHashMultiCommutative(long seed, Object... objects) throws UnsupportedOperationException;
}