Int32List
Inheritance: java.lang.Object, com.aspose.ms.System.Collections.Generic.List, com.aspose.barcode.common.generic.list.NumericValueList
public class Int32List extends NumericValueList<Integer>
Constructors
Constructor | Description |
---|---|
Int32List() | |
Int32List(System.Collections.Generic.IGenericEnumerable |
|
Int32List(int[] values) | |
Int32List(Integer[] values) |
Methods
Int32List()
public Int32List()
Int32List(System.Collections.Generic.IGenericEnumerable values)
public Int32List(System.Collections.Generic.IGenericEnumerable<Integer> values)
Parameters:
Parameter | Type | Description |
---|---|---|
values | com.aspose.ms.System.Collections.Generic.IGenericEnumerable<java.lang.Integer> |
Int32List(int[] values)
public Int32List(int[] values)
Parameters:
Parameter | Type | Description |
---|---|---|
values | int[] |
Int32List(Integer[] values)
public Int32List(Integer[] values)
Parameters:
Parameter | Type | Description |
---|---|---|
values | java.lang.Integer[] |
fromJava(List arg0)
public static System.Collections.Generic.List<T> <T>fromJava(List<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.List |
Returns: List
toArray(T[] arg0)
public T[] <T>toArray(T[] arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T[] |
Returns: T[]
toJava(System.Collections.Generic.List arg0)
public static List<T> <T>toJava(System.Collections.Generic.List<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Collections.Generic.List |
Returns: List
convertAll(System.Converter<T,TOutput> arg0)
public System.Collections.Generic.List<TOutput> <TOutput>convertAll(System.Converter<T,TOutput> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Converter<T,TOutput> |
Returns: List
Clone()
public Int32List Clone()
Returns: Int32List
add(T arg0)
public boolean add(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: boolean
add(int arg0, T arg1)
public void add(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
addAll(int arg0, Collection<? extends T> arg1)
public boolean addAll(int arg0, Collection<? extends T> arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | java.util.Collection<? extends T> |
Returns: boolean
addAll(Collection<? extends T> arg0)
public boolean addAll(Collection<? extends T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.Collection<? extends T> |
Returns: boolean
addItem(T arg0)
public void addItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
addRange(T[] arg0)
public void addRange(T[] arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T[] |
addRange(System.Collections.Generic.IGenericEnumerable arg0)
public void addRange(System.Collections.Generic.IGenericEnumerable<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
addRange(int[] ints)
public void addRange(int[] ints)
Parameters:
Parameter | Type | Description |
---|---|---|
ints | int[] |
asReadOnly()
public System.Collections.ObjectModel.ReadOnlyCollection<T> asReadOnly()
Returns:
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection
average()
public float average()
Returns: float
average(float threshold)
public float average(float threshold)
Parameters:
Parameter | Type | Description |
---|---|---|
threshold | float |
Returns: float
binarySearch(T arg0)
public int binarySearch(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: int
binarySearch(T arg0, Comparator arg1)
public int binarySearch(T arg0, Comparator<T> arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T | |
arg1 | java.util.Comparator |
Returns: int
binarySearch(int arg0, int arg1, T arg2, Comparator arg3)
public int binarySearch(int arg0, int arg1, T arg2, Comparator<T> arg3)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int | |
arg2 | T | |
arg3 | java.util.Comparator |
Returns: int
clear()
public void clear()
clone_Int32List_New()
public Int32List clone_Int32List_New()
Returns: Int32List
contains(Object arg0)
public boolean contains(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
containsAll(Collection> arg0)
public boolean containsAll(Collection<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.Collection> |
Returns: boolean
containsItem(T arg0)
public boolean containsItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: boolean
copyTo(T[] arg0)
public void copyTo(T[] arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T[] |
copyTo(System.Array arg0, int arg1)
public void copyTo(System.Array arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Array | |
arg1 | int |
copyTo(int arg0, T[] arg1, int arg2, int arg3)
public void copyTo(int arg0, T[] arg1, int arg2, int arg3)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T[] | |
arg2 | int | |
arg3 | int |
copyToTArray(T[] arg0, int arg1)
public void copyToTArray(T[] arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T[] | |
arg1 | int |
countValue(T value)
public int countValue(T value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | T |
Returns: int
deepClone()
public System.Collections.Generic.List<T> deepClone()
Returns: List
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
equalsToList(Int32List list)
public boolean equalsToList(Int32List list)
Compare to Int32list instance
Parameters:
Parameter | Type | Description |
---|---|---|
list | Int32List | Input list for compare |
Returns: boolean -
even()
public Int32List even()
Extracts a list with even elements only.
Returns: Int32List -
exists(System.Predicate arg0)
public boolean exists(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: boolean
find(System.Predicate arg0)
public T find(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: T
findAll(System.Predicate arg0)
public System.Collections.Generic.List<T> findAll(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: List
findIndex(System.Predicate arg0)
public int findIndex(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: int
findIndex(int arg0, System.Predicate arg1)
public int findIndex(int arg0, System.Predicate<T> arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | com.aspose.ms.System.Predicate |
Returns: int
findIndex(int arg0, int arg1, System.Predicate arg2)
public int findIndex(int arg0, int arg1, System.Predicate<T> arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int | |
arg2 | com.aspose.ms.System.Predicate |
Returns: int
findLast(System.Predicate arg0)
public T findLast(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: T
findLastIndex(System.Predicate arg0)
public int findLastIndex(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: int
findLastIndex(int arg0, System.Predicate arg1)
public int findLastIndex(int arg0, System.Predicate<T> arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | com.aspose.ms.System.Predicate |
Returns: int
findLastIndex(int arg0, int arg1, System.Predicate arg2)
public int findLastIndex(int arg0, int arg1, System.Predicate<T> arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int | |
arg2 | com.aspose.ms.System.Predicate |
Returns: int
forEach(System.Action arg0)
public void forEach(System.Action<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Action |
get(int arg0)
public T get(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: T
getCapacity()
public int getCapacity()
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getRange(int arg0, int arg1)
public System.Collections.Generic.List<T> getRange(int arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int |
Returns: List
getSyncRoot()
public Object getSyncRoot()
Returns: java.lang.Object
get_Item(int arg0)
public T get_Item(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: T
hashCode()
public native int hashCode()
Returns: int
indexOf(T arg0, int arg1)
public int indexOf(T arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T | |
arg1 | int |
Returns: int
indexOf(T arg0, int arg1, int arg2)
public int indexOf(T arg0, int arg1, int arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T | |
arg1 | int | |
arg2 | int |
Returns: int
indexOf(Object arg0)
public int indexOf(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: int
indexOfItem(T arg0)
public int indexOfItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: int
insertItem(int arg0, T arg1)
public void insertItem(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
insertRange(int arg0, System.Collections.Generic.IGenericEnumerable arg1)
public void insertRange(int arg0, System.Collections.Generic.IGenericEnumerable<T> arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
isEmpty()
public boolean isEmpty()
Returns: boolean
isFixedSize()
public boolean isFixedSize()
Returns: boolean
isReadOnly()
public boolean isReadOnly()
Returns: boolean
isSynchronized()
public boolean isSynchronized()
Returns: boolean
iterator()
public System.Collections.Generic.List.Enumerator<T> iterator()
Returns:
com.aspose.ms.System.Collections.Generic.List.Enumerator
lastIndexOf(T arg0, int arg1)
public int lastIndexOf(T arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T | |
arg1 | int |
Returns: int
lastIndexOf(T arg0, int arg1, int arg2)
public int lastIndexOf(T arg0, int arg1, int arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T | |
arg1 | int | |
arg2 | int |
Returns: int
lastIndexOf(Object arg0)
public int lastIndexOf(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: int
listIterator()
public ListIterator listIterator()
Returns: java.util.ListIterator
listIterator(int arg0)
public ListIterator listIterator(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: java.util.ListIterator
maxValue()
public Integer maxValue()
Returns: java.lang.Integer
maxValue(T upperLimit)
public abstract T maxValue(T upperLimit)
Parameters:
Parameter | Type | Description |
---|---|---|
upperLimit | T |
Returns: T
maxValue(int upperLimit)
public int maxValue(int upperLimit)
Parameters:
Parameter | Type | Description |
---|---|---|
upperLimit | int |
Returns: int
maxValue(int upperLimit, int[] maxIndex, int[] asManyTimes)
public int maxValue(int upperLimit, int[] maxIndex, int[] asManyTimes)
Return the largest element of list.
Parameters:
Parameter | Type | Description |
---|---|---|
upperLimit | int | upper limit |
maxIndex | int[] | the first index of max value |
asManyTimes | int[] | the number of repeats |
Returns: int - the largest elemet of list.
maxValue(int[] maxIndex, int[] asManyTimes)
public int maxValue(int[] maxIndex, int[] asManyTimes)
Return the largest element of list.
Parameters:
Parameter | Type | Description |
---|---|---|
maxIndex | int[] | the first index of max value |
asManyTimes | int[] | the number of repeats |
Returns: int -
maxValue(Integer upperLimit)
public Integer maxValue(Integer upperLimit)
Parameters:
Parameter | Type | Description |
---|---|---|
upperLimit | java.lang.Integer |
Returns: java.lang.Integer
minValue()
public Integer minValue()
Returns: java.lang.Integer
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
odd()
public Int32List odd()
Extracts a list with odd elements only.
Returns: Int32List -
oddEven(Int32List[] odd, Int32List[] even)
public void oddEven(Int32List[] odd, Int32List[] even)
Splits in odd and even lists
Parameters:
Parameter | Type | Description |
---|---|---|
odd | Int32List[] | an odd list |
even | Int32List[] | an even list |
remove(int arg0)
public T remove(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: T
remove(Object arg0)
public boolean remove(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
removeAll(System.Predicate arg0)
public int removeAll(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: int
removeAll(Collection> arg0)
public boolean removeAll(Collection<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.Collection> |
Returns: boolean
removeAt(int arg0)
public void removeAt(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
removeItem(T arg0)
public boolean removeItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: boolean
removeRange(int arg0, int arg1)
public void removeRange(int arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int |
retainAll(Collection> arg0)
public boolean retainAll(Collection<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.Collection> |
Returns: boolean
reverse()
public void reverse()
reverse(int arg0, int arg1)
public void reverse(int arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int |
set(int arg0, T arg1)
public T set(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
Returns: T
setCapacity(int arg0)
public void setCapacity(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
set_Item(int arg0, T arg1)
public void set_Item(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
size()
public int size()
Returns: int
sort()
public void sort()
sort(System.Comparison arg0)
public void sort(System.Comparison<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Comparison |
sort(int arg0, int arg1, Comparator arg2)
public void sort(int arg0, int arg1, Comparator<T> arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int | |
arg2 | java.util.Comparator |
sort(Comparator arg0)
public void sort(Comparator arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.util.Comparator |
subList(int arg0, int arg1)
public List<T> subList(int arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | int |
Returns: List
subset(int startIndex, int endIndex)
public Int32List subset(int startIndex, int endIndex)
Parameters:
Parameter | Type | Description |
---|---|---|
startIndex | int | |
endIndex | int |
Returns: Int32List
subset_Int32List_New(int startIndex, int endIndex)
public Int32List subset_Int32List_New(int startIndex, int endIndex)
Parameters:
Parameter | Type | Description |
---|---|---|
startIndex | int | |
endIndex | int |
Returns: Int32List
sum()
public Integer sum()
Returns: java.lang.Integer
sum(int startIndex, int endIndex)
public Integer sum(int startIndex, int endIndex)
Parameters:
Parameter | Type | Description |
---|---|---|
startIndex | int | |
endIndex | int |
Returns: java.lang.Integer
toArray()
public Integer[] toArray()
Returns: java.lang.Integer[]
toByteArray()
public byte[] toByteArray()
Returns: byte[]
toIntArray()
public int[] toIntArray()
Returns: int[]
toString()
public String toString()
Returns: java.lang.String
trimExcess()
public void trimExcess()
trueForAll(System.Predicate arg0)
public boolean trueForAll(System.Predicate<T> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Predicate |
Returns: boolean
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |