Arrays (Apache Tomcat 6.0.53 API Documentation)
Keywords: org.apache.catalina.tribes.util.Arrays class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Apache Tomcat 6.0.53
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.catalina.tribes.util
Class Arrays

    java.lang.Object
      org.apache.catalina.tribes.util.Arrays

    public class Arrays

extends java.lang.Object

Version:
  1.0
Author:
  Filip Hanik

Field Summary
`protected static Log` | `log`

Constructor Summary
`Arrays()`

Method Summary
`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, MemberImpl 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)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    protected static Log log

Constructor Detail

### Arrays

    public Arrays()

Method Detail

### contains

    public static boolean contains(byte[] source,
                                   int srcoffset,
                                   byte[] key,
                                   int keyoffset,
                                   int length)

### toString

    public static java.lang.String toString(byte[] data)

### toString

    public static java.lang.String toString(byte[] data,
                                            int offset,
                                            int length)

### toString

    public static java.lang.String toString(byte[] data,
                                            int offset,
                                            int length,
                                            boolean unsigned)

### toString

    public static java.lang.String toString(java.lang.Object[] data)

### toString

    public static java.lang.String toString(java.lang.Object[] data,
                                            int offset,
                                            int length)

### toNameString

    public static java.lang.String toNameString(Member[] data)

### toNameString

    public static java.lang.String toNameString(Member[] data,
                                                int offset,
                                                int length)

### add

    public static int add(int[] data)

### getUniqudId

    public static UniqueId getUniqudId(ChannelMessage msg)

### getUniqudId

    public static UniqueId getUniqudId(byte[] data)

### equals

    public static boolean equals(byte[] o1,
                                 byte[] o2)

### equals

    public static boolean equals(java.lang.Object[] o1,
                                 java.lang.Object[] o2)

### sameMembers

    public static boolean sameMembers(Member[] m1,
                                      Member[] m2)

### merge

    public static Member[] merge(Member[] m1,
                                 Member[] m2)

### fill

    public static void fill(Membership mbrship,
                            Member[] m)

### diff

    public static Member[] diff(Membership complete,
                                Membership local,
                                MemberImpl ignore)

### remove

    public static Member[] remove(Member[] all,
                                  Member remove)

### extract

    public static Member[] extract(Member[] all,
                                   Member[] remove)

### indexOf

    public static int indexOf(Member member,
                              Member[] members)

### nextIndex

    public static int nextIndex(Member member,
                                Member[] members)

### hashCode

    public static int hashCode(byte[] a)

### fromString

    public static byte[] fromString(java.lang.String value)

### convert

    public static byte[] convert(java.lang.String s)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Apache Tomcat 6.0.53
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.