Imported Upstream version 58.1
[platform/upstream/icu.git] / source / layoutex / LXUtilities.h
1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4  **********************************************************************
5  *   Copyright (C) 2003, International Business Machines
6  *   Corporation and others.  All Rights Reserved.
7  **********************************************************************
8  */
9
10 #ifndef __LXUTILITIES_H
11
12 #define __LXUTILITIES_H
13
14 #include "layout/LETypes.h"
15
16 U_NAMESPACE_BEGIN
17
18 class LXUtilities
19 {
20 public:
21     static le_int8 highBit(le_int32 value);
22     static le_int32 search(le_int32 value, const le_int32 array[], le_int32 count);
23     static void reverse(le_int32 array[], le_int32 count);
24     static void reverse(float array[], le_int32 count);
25 };
26
27 U_NAMESPACE_END
28 #endif