public class Arrays
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Constructor and Description |
---|
Arrays() |
Modifier and Type | Method and Description |
---|---|
static int |
add(int[] data) |
static boolean |
contains(byte[] source,
int srcoffset,
byte[] key,
int keyoffset,
int length) |
static byte[] |
convert(java.lang.String s) |
static Member[] |
diff(Membership complete,
Membership local,
Member ignore) |
static boolean |
equals(byte[] o1,
byte[] o2) |
static boolean |
equals(java.lang.Object[] o1,
java.lang.Object[] o2) |
static Member[] |
extract(Member[] all,
Member[] remove) |
static void |
fill(Membership mbrship,
Member[] m) |
static byte[] |
fromString(java.lang.String value) |
static UniqueId |
getUniqudId(byte[] data) |
static UniqueId |
getUniqudId(ChannelMessage msg) |
static int |
hashCode(byte[] a) |
static int |
indexOf(Member member,
Member[] members) |
static Member[] |
merge(Member[] m1,
Member[] m2) |
static int |
nextIndex(Member member,
Member[] members) |
static Member[] |
remove(Member[] all,
Member remove) |
static boolean |
sameMembers(Member[] m1,
Member[] m2) |
static java.lang.String |
toNameString(Member[] data) |
static java.lang.String |
toNameString(Member[] data,
int offset,
int length) |
static java.lang.String |
toString(byte[] data) |
static java.lang.String |
toString(byte[] data,
int offset,
int length) |
static java.lang.String |
toString(byte[] data,
int offset,
int length,
boolean unsigned) |
static java.lang.String |
toString(java.lang.Object[] data) |
static java.lang.String |
toString(java.lang.Object[] data,
int offset,
int length) |
protected static final StringManager sm
public static boolean contains(byte[] source, int srcoffset, byte[] key, int keyoffset, int length)
public static java.lang.String toString(byte[] data)
public static java.lang.String toString(byte[] data, int offset, int length)
public static java.lang.String toString(byte[] data, int offset, int length, boolean unsigned)
public static java.lang.String toString(java.lang.Object[] data)
public static java.lang.String toString(java.lang.Object[] data, int offset, int length)
public static java.lang.String toNameString(Member[] data)
public static java.lang.String toNameString(Member[] data, int offset, int length)
public static int add(int[] data)
public static UniqueId getUniqudId(ChannelMessage msg)
public static UniqueId getUniqudId(byte[] data)
public static boolean equals(byte[] o1, byte[] o2)
public static boolean equals(java.lang.Object[] o1, java.lang.Object[] o2)
public static void fill(Membership mbrship, Member[] m)
public static Member[] diff(Membership complete, Membership local, Member ignore)
public static int hashCode(byte[] a)
public static byte[] fromString(java.lang.String value)
public static byte[] convert(java.lang.String s)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.