Package org.apache.catalina.tribes.util
Class Arrays
java.lang.Object
org.apache.catalina.tribes.util.Arrays
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
add
(int[] data) static boolean
contains
(byte[] source, int srcoffset, byte[] key, int keyoffset, int length) static byte[]
static Member[]
diff
(Membership complete, Membership local, Member ignore) static boolean
equals
(byte[] o1, byte[] o2) static boolean
static Member[]
static void
fill
(Membership mbrship, Member[] m) static byte[]
fromString
(String value) static UniqueId
getUniqudId
(byte[] data) static UniqueId
static int
hashCode
(byte[] a) static int
static Member[]
static int
static Member[]
static boolean
sameMembers
(Member[] m1, Member[] m2) static String
toNameString
(Member[] data) static String
toNameString
(Member[] data, int offset, int length) static String
toString
(byte[] data) static String
toString
(byte[] data, int offset, int length) static String
toString
(byte[] data, int offset, int length, boolean unsigned) static String
static String
-
Field Details
-
sm
-
-
Constructor Details
-
Arrays
public Arrays()
-
-
Method Details
-
contains
public static boolean contains(byte[] source, int srcoffset, byte[] key, int keyoffset, int length) -
toString
-
toString
-
toString
-
toString
-
toString
-
toNameString
-
toNameString
-
add
public static int add(int[] data) -
getUniqudId
-
getUniqudId
-
equals
public static boolean equals(byte[] o1, byte[] o2) -
equals
-
sameMembers
-
merge
-
fill
-
diff
-
remove
-
extract
-
indexOf
-
nextIndex
-
hashCode
public static int hashCode(byte[] a) -
fromString
-
convert
-