2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2003-05-19 21:50:48 +00:00
|
|
|
/*
|
|
|
|
**********************************************************************
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (C) 2003, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
2003-05-19 21:50:48 +00:00
|
|
|
**********************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LXUTILITIES_H
|
|
|
|
|
|
|
|
#define __LXUTILITIES_H
|
|
|
|
|
|
|
|
#include "layout/LETypes.h"
|
|
|
|
|
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
class LXUtilities
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static le_int8 highBit(le_int32 value);
|
|
|
|
static le_int32 search(le_int32 value, const le_int32 array[], le_int32 count);
|
|
|
|
static void reverse(le_int32 array[], le_int32 count);
|
|
|
|
static void reverse(float array[], le_int32 count);
|
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
#endif
|