| Package | Description |
|---|---|
| org.boon | |
| org.boon.primitive |
| Modifier and Type | Method and Description |
|---|---|
static <V> void |
Lists.add(List<V> list,
V... values) |
static <V> void |
Lists.add(List<V> list,
V value) |
static <K,V> void |
Maps.add(Map<K,V> map,
Entry<K,V> entry) |
static <V> void |
Sets.add(Set<V> set,
V value) |
static String |
Str.add(String... strings)
Add many strings together to another
|
static String |
Str.add(String str,
char c)
Add a char to a string
|
static String |
Str.add(String str,
String str2)
Add one string to another
|
static <K,V> V |
Maps.after(NavigableMap<K,V> map,
K index)
Grabs the value after this key from a tree map (Navigable map).
|
static <T> T |
Lists.atIndex(List<T> list,
int index) |
static <V> void |
Lists.atIndex(List<V> list,
int index,
V v) |
static <K,V> V |
Maps.atIndex(Map<K,V> map,
K k) |
static char |
Str.atIndex(String str,
int index)
Gets character at index
|
static String |
Str.atIndex(String str,
int index,
char c)
Puts character at index
|
static <K,V> V |
Maps.before(NavigableMap<K,V> map,
K index)
Grabs the value before this key from a tree map (Navigable map).
|
static <V> List<V> |
Lists.copy(ArrayList<V> list) |
static <V> NavigableSet<V> |
Sets.copy(ConcurrentSkipListSet<V> collection) |
static <V> List<V> |
Lists.copy(CopyOnWriteArrayList<V> list) |
static <V> Set<V> |
Sets.copy(CopyOnWriteArraySet<V> collection) |
static <V> Set<V> |
Sets.copy(HashSet<V> collection) |
static <V> List<V> |
Lists.copy(LinkedList<V> list) |
static <V> List<V> |
Lists.copy(List<V> list) |
static <K,V> Map<K,V> |
Maps.copy(Map<K,V> map) |
static <V> NavigableSet<V> |
Sets.copy(NavigableSet<V> collection) |
static <V> Set<V> |
Sets.copy(Set<V> collection) |
static <K,V> SortedMap<K,V> |
Maps.copy(SortedMap<K,V> map) |
static <V> NavigableSet<V> |
Sets.copy(TreeSet<V> collection) |
static <V> List<V> |
Lists.deepCopy(List<V> list)
Clones each list item into a new instance with copied fields.
|
static <V> Set<V> |
Sets.deepCopy(Set<V> set) |
static <V> List<V> |
Lists.endSliceOf(List<V> list,
int endIndex) |
static <K,V> SortedMap<K,V> |
Maps.endSliceOf(NavigableMap<K,V> map,
K fromKey) |
static String |
Str.endSliceOf(String str,
int end)
Gets end slice of a string.
|
static <K,V> V |
Maps.first(NavigableMap<K,V> map)
Grabs the first value from a tree map (Navigable map).
|
static <T> T |
Lists.idx(List<T> list,
int index) |
static <V> void |
Lists.idx(List<V> list,
int index,
V v) |
static <K,V> V |
Maps.idx(Map<K,V> map,
K k) |
static <K,V> void |
Maps.idx(Map<K,V> map,
K k,
V v) |
static <T> T |
Sets.idx(NavigableSet<T> set,
T index) |
static <T> T |
Sets.idx(Set<T> set,
T index) |
static char |
Str.idx(String str,
int index)
Gets character at index
|
static String |
Str.idx(String str,
int index,
char c)
Puts character at index
|
static boolean |
Str.in(char[] chars,
String str)
See if chars is in another string
|
static boolean |
Str.in(char c,
int offset,
int end,
String str)
See if a char is in a string but in a certain bounds of string
|
static boolean |
Str.in(char c,
int offset,
String str)
See if a char is in a string
|
static boolean |
Str.in(char c,
String str)
See if a char is in another string
|
static <K,V> boolean |
Maps.in(K key,
Map<K,V> map) |
static boolean |
Str.in(String value,
String str) |
static <V> boolean |
Lists.in(V value,
List<?> list) |
static <V> boolean |
Sets.in(V value,
Set<?> set) |
static <V> void |
Lists.insert(List<V> list,
int index,
V v) |
static boolean |
Str.isEmpty(String str) |
static <K,V> V |
Maps.last(NavigableMap<K,V> map)
Grabs the last value from a tree map (Navigable map).
|
static int |
Lists.len(List<?> list)
Universal methods
|
static int |
Maps.len(Map<?,?> map)
Universal methods.
|
static int |
Sets.len(Set<?> set) |
static int |
Str.len(String str)
gets length
|
static int |
Lists.lengthOf(List<?> list) |
static int |
Maps.lengthOf(Map<?,?> map) |
static int |
Str.lengthOf(String str)
gets length
|
static <V> List<V> |
Lists.slc(List<V> list,
int startIndex) |
static <V> List<V> |
Lists.slc(List<V> list,
int startIndex,
int endIndex) |
static <K,V> SortedMap<K,V> |
Maps.slc(NavigableMap<K,V> map,
K toKey) |
static <K,V> SortedMap<K,V> |
Maps.slc(NavigableMap<K,V> map,
K startIndex,
K endIndex) |
static <V> SortedSet<V> |
Sets.slc(NavigableSet<V> set,
V toIndex) |
static <V> SortedSet<V> |
Sets.slc(NavigableSet<V> set,
V startIndex,
V endIndex) |
static String |
Str.slc(String str,
int start)
Gets slice of a string.
|
static String |
Str.slc(String str,
int start,
int end)
Get slice of string
|
static <V> List<V> |
Lists.slcEnd(List<V> list,
int endIndex) |
static <K,V> SortedMap<K,V> |
Maps.slcEnd(NavigableMap<K,V> map,
K fromKey) |
static <V> SortedSet<V> |
Sets.slcEnd(NavigableSet<V> set,
V fromIndex) |
static String |
Str.slcEnd(String str,
int end)
Gets end slice of a string.
|
static <V> List<V> |
Lists.sliceOf(List<V> list,
int startIndex) |
static <V> List<V> |
Lists.sliceOf(List<V> list,
int startIndex,
int endIndex) |
static <K,V> SortedMap<K,V> |
Maps.sliceOf(NavigableMap<K,V> map,
K startIndex,
K endIndex) |
static String |
Str.sliceOf(String str,
int start)
Gets slice of a string.
|
static String |
Str.sliceOf(String str,
int start,
int end)
Get slice of string
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Byt.add(byte[] array,
byte v) |
static byte[] |
Byt.add(byte[] array,
byte[] array2) |
static char[] |
Chr.add(char[] array,
char v) |
static char[] |
Chr.add(char[] array,
char[] array2) |
static char[] |
Chr.add(char[] array,
String str) |
static char[] |
Chr.add(char[] array,
StringBuilder stringBuilder) |
static double[] |
Dbl.add(double[] array,
double v) |
static double[] |
Dbl.add(double[] array,
double[] array2) |
static float[] |
Flt.add(float[] array,
float v) |
static float[] |
Flt.add(float[] array,
float[] array2) |
static int[] |
Int.add(int[] array,
int v)
Adds an int to the array.
|
static int[] |
Int.add(int[] array,
int[] array2)
adds two array together and returns the results.
|
static long[] |
Lng.add(long[] array,
long v) |
static long[] |
Lng.add(long[] array,
long[] array2) |
static short[] |
Shrt.add(short[] array,
short v) |
static short[] |
Shrt.add(short[] array,
short[] array2) |
static <V> V[] |
Arry.add(V[] array,
V v) |
static <V> V[] |
Arry.add(V[] array,
V[] array2) |
static byte[] |
Byt.array(byte... array) |
static char[] |
Chr.array(char... array) |
static <V> V[] |
Arry.array(Class<V> clasz,
int size) |
static double[] |
Dbl.array(double... array) |
static float[] |
Flt.array(float... array) |
static int[] |
Int.array(int... array) |
static long[] |
Lng.array(long... array) |
static short[] |
Shrt.array(short... array) |
static byte |
Byt.atIndex(byte[] array,
int index) |
static void |
Byt.atIndex(byte[] array,
int index,
byte value) |
static char |
Chr.atIndex(char[] array,
int index) |
static void |
Chr.atIndex(char[] array,
int index,
char value) |
static void |
Chr.atIndex(char[] array,
int index,
char[] input) |
static float |
Flt.atIndex(float[] array,
int index) |
static void |
Flt.atIndex(float[] array,
int index,
float value) |
static int |
Int.atIndex(int[] array,
int index)
Returns the value at the given index.
|
static void |
Int.atIndex(int[] array,
int index,
int value)
Sets the value at the given index.
|
static long |
Lng.atIndex(long[] array,
int index) |
static void |
Lng.atIndex(long[] array,
int index,
long value) |
static <V> V |
Arry.atIndex(V[] array,
int index) |
static <V> void |
Arry.atIndex(V[] array,
int index,
V value) |
static byte[] |
Byt.bytes(byte... array) |
static byte[] |
Byt.bytes(String str) |
static char[] |
Chr.chars(String array) |
static byte[] |
Byt.copy(byte[] array) |
static byte[] |
Byt.copy(byte[] array,
int offset,
int length) |
static char[] |
Chr.copy(char[] array) |
static char[] |
Chr.copy(char[] array,
int offset,
int length) |
static double[] |
Dbl.copy(double[] array) |
static float[] |
Flt.copy(float[] array) |
static int[] |
Int.copy(int[] array)
Copies an array.
|
static long[] |
Lng.copy(long[] array) |
static short[] |
Shrt.copy(short[] array) |
static <V> V[] |
Arry.copy(V[] array) |
static float[] |
Flt.endOfSlice(float[] array,
int endIndex) |
static byte[] |
Byt.endSliceOf(byte[] array,
int endIndex) |
static char[] |
Chr.endSliceOf(char[] array,
int endIndex) |
static double[] |
Dbl.endSliceOf(double[] array,
int endIndex) |
static int[] |
Int.endSliceOf(int[] array,
int endIndex)
Grabs a slice of this array
|
static long[] |
Lng.endSliceOf(long[] array,
int endIndex) |
static short[] |
Shrt.endSliceOf(short[] array,
int endIndex) |
static <V> V[] |
Arry.endSliceOf(V[] array,
int endIndex) |
static Object |
Arry.fastIndex(Object array,
int index) |
static byte |
Byt.idx(byte[] array,
int index) |
static void |
Byt.idx(byte[] array,
int index,
byte value) |
static char |
Chr.idx(char[] array,
int index) |
static void |
Chr.idx(char[] array,
int index,
char value) |
static void |
Chr.idx(char[] array,
int index,
char[] input) |
static double |
Dbl.idx(double[] array,
int index) |
static void |
Dbl.idx(double[] array,
int index,
double value) |
static float |
Flt.idx(float[] array,
int index) |
static void |
Flt.idx(float[] array,
int index,
float value) |
static int |
Int.idx(int[] array,
int index)
Returns the value at the given index.
|
static void |
Int.idx(int[] array,
int index,
int value)
Sets the value at the given index.
|
static long |
Lng.idx(long[] array,
int index) |
static void |
Lng.idx(long[] array,
int index,
long value) |
static Object |
Arry.idx(Object array,
int index) |
static short |
Shrt.idx(short[] array,
int index) |
static void |
Shrt.idx(short[] array,
int index,
short value) |
static <V> V |
Arry.idx(V[] array,
int index) |
static <V> void |
Arry.idx(V[] array,
int index,
V value) |
static boolean |
Chr.in(char[] values,
char[] array) |
static boolean |
Chr.in(char value,
char[] array) |
static boolean |
Chr.in(char value,
int offset,
char[] array) |
static boolean |
Chr.in(char value,
int offset,
int end,
char[] array) |
static boolean |
Dbl.in(double value,
double[] array) |
static boolean |
Flt.in(float value,
float[] array) |
static boolean |
Byt.in(int value,
byte... array) |
static boolean |
Chr.in(int value,
char[] array) |
static boolean |
Int.in(int value,
int[] array)
Checks to see if a value is in the array.
|
static boolean |
Byt.in(int value,
int offset,
byte[] array) |
static boolean |
Byt.in(int value,
int offset,
int end,
byte[] array) |
static boolean |
Lng.in(long value,
long[] array) |
static boolean |
Shrt.in(short value,
short[] array) |
static <V> boolean |
Arry.in(V value,
V[] array) |
static boolean |
Byt.inIntArray(byte value,
int[] array) |
static byte[] |
Byt.insert(byte[] array,
int idx,
byte v) |
static byte[] |
Byt.insert(byte[] array,
int fromIndex,
byte[] values) |
static char[] |
Chr.insert(char[] array,
int idx,
char v) |
static char[] |
Chr.insert(char[] array,
int fromIndex,
char[] values) |
static char[] |
Chr.insert(char[] array,
int fromIndex,
String values) |
static char[] |
Chr.insert(char[] array,
int fromIndex,
StringBuilder values) |
static double[] |
Dbl.insert(double[] array,
int idx,
double v) |
static double[] |
Dbl.insert(double[] array,
int fromIndex,
double[] values) |
static float[] |
Flt.insert(float[] array,
int idx,
float v) |
static float[] |
Flt.insert(float[] array,
int fromIndex,
float[] values) |
static int[] |
Int.insert(int[] array,
int idx,
int v)
Inserts a value in the midst of another array.
|
static int[] |
Int.insert(int[] array,
int fromIndex,
int[] values)
Inserts an array in the midst of another array.
|
static long[] |
Lng.insert(long[] array,
int idx,
long v) |
static long[] |
Lng.insert(long[] array,
int fromIndex,
long[] values) |
static short[] |
Shrt.insert(short[] array,
int idx,
short v) |
static short[] |
Shrt.insert(short[] array,
int fromIndex,
short[] values) |
static <V> V[] |
Arry.insert(V[] array,
int index,
V v) |
static int |
Byt.len(byte[] array) |
static int |
Chr.len(char[] array) |
static int |
Dbl.len(double[] array) |
static int |
Flt.len(float[] array) |
static int |
Int.len(int[] array)
Returns the lengthOf an array.
|
static int |
Lng.len(long[] array) |
static int |
Shrt.len(short[] array) |
static <V> int |
Arry.len(V[] array) |
static int |
Byt.lengthOf(byte[] array) |
static int |
Chr.lengthOf(char[] array) |
static int |
Flt.lengthOf(float[] array) |
static int |
Int.lengthOf(int[] array)
Returns the lengthOf an array.
|
static int |
Lng.lengthOf(long[] array) |
static int |
Shrt.lengthOf(short[] array) |
static <V> int |
Arry.lengthOf(V[] array) |
static byte[] |
Byt.slc(byte[] array,
int startIndex) |
static byte[] |
Byt.slc(byte[] array,
int startIndex,
int endIndex) |
static char[] |
Chr.slc(char[] array,
int startIndex) |
static char[] |
Chr.slc(char[] array,
int startIndex,
int endIndex) |
static double[] |
Dbl.slc(double[] array,
int startIndex) |
static double[] |
Dbl.slc(double[] array,
int startIndex,
int endIndex) |
static float[] |
Flt.slc(float[] array,
int startIndex) |
static float[] |
Flt.slc(float[] array,
int startIndex,
int endIndex) |
static int[] |
Int.slc(int[] array,
int startIndex)
Grabs a slice of this array
|
static int[] |
Int.slc(int[] array,
int startIndex,
int endIndex)
Grabs a slice of this array
|
static long[] |
Lng.slc(long[] array,
int startIndex) |
static long[] |
Lng.slc(long[] array,
int startIndex,
int endIndex) |
static short[] |
Shrt.slc(short[] array,
int startIndex) |
static short[] |
Shrt.slc(short[] array,
int startIndex,
int endIndex) |
static <V> V[] |
Arry.slc(V[] array,
int startIndex) |
static <V> V[] |
Arry.slc(V[] array,
int startIndex,
int endIndex) |
static byte[] |
Byt.slcEnd(byte[] array,
int endIndex) |
static char[] |
Chr.slcEnd(char[] array,
int endIndex) |
static double[] |
Dbl.slcEnd(double[] array,
int endIndex) |
static float[] |
Flt.slcEnd(float[] array,
int endIndex) |
static int[] |
Int.slcEnd(int[] array,
int endIndex)
Grabs a slice of this array
|
static long[] |
Lng.slcEnd(long[] array,
int endIndex) |
static short[] |
Shrt.slcEnd(short[] array,
int endIndex) |
static <V> V[] |
Arry.slcEnd(V[] array,
int endIndex) |
static byte[] |
Byt.sliceOf(byte[] array,
int startIndex) |
static byte[] |
Byt.sliceOf(byte[] array,
int startIndex,
int endIndex) |
static char[] |
Chr.sliceOf(char[] array,
int startIndex) |
static char[] |
Chr.sliceOf(char[] array,
int startIndex,
int endIndex) |
static double[] |
Dbl.sliceOf(double[] array,
int startIndex,
int endIndex) |
static float[] |
Flt.sliceOf(float[] array,
int startIndex) |
static float[] |
Flt.sliceOf(float[] array,
int startIndex,
int endIndex) |
static int[] |
Int.sliceOf(int[] array,
int startIndex)
Grabs a slice of this array
|
static int[] |
Int.sliceOf(int[] array,
int startIndex,
int endIndex)
Grabs a slice of this array
|
static long[] |
Lng.sliceOf(long[] array,
int startIndex) |
static long[] |
Lng.sliceOf(long[] array,
int startIndex,
int endIndex) |
static short[] |
Shrt.sliceOf(short[] array,
int startIndex) |
static short[] |
Shrt.sliceOf(short[] array,
int startIndex,
int endIndex) |
static <V> V[] |
Arry.sliceOf(V[] array,
int startIndex) |
static <V> V[] |
Arry.sliceOf(V[] array,
int startIndex,
int endIndex) |
Copyright © 2014. All rights reserved.