Class VBStyleCollection<E,K>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- org.jetbrains.java.decompiler.util.VBStyleCollection<E,K>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.List<E>,java.util.RandomAccess
public class VBStyleCollection<E,K> extends java.util.ArrayList<E>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VBStyleCollection()VBStyleCollection(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanadd(E element)booleanaddAll(java.util.Collection<? extends E> c)voidaddAllWithKey(java.util.Collection<E> elements, java.util.Collection<K> keys)voidaddWithKey(E element, K key)voidaddWithKeyAndIndex(int index, E element, K key)voidclear()VBStyleCollection<E,K>clone()booleancontainsKey(K key)intgetIndexByKey(K key)KgetKey(int index)EgetLast()java.util.ArrayList<K>getLstKeys()EgetWithKey(K key)EputWithKey(E element, K key)Eremove(int index)booleanremove(java.lang.Object element)voidremoveWithKey(K key)voidsetLstKeys(java.util.ArrayList<K> lstKeys)voidsetMap(java.util.HashMap<K,java.lang.Integer> map)java.lang.StringtoStringVb()-
Methods inherited from class java.util.ArrayList
addAll, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
add
public boolean add(E element)
-
remove
public boolean remove(java.lang.Object element)
-
addAll
public boolean addAll(java.util.Collection<? extends E> c)
-
addAllWithKey
public void addAllWithKey(java.util.Collection<E> elements, java.util.Collection<K> keys)
-
add
public void add(int index, E element)
-
removeWithKey
public void removeWithKey(K key)
-
remove
public E remove(int index)
-
getIndexByKey
public int getIndexByKey(K key)
-
getLast
public E getLast()
-
containsKey
public boolean containsKey(K key)
-
clear
public void clear()
-
clone
public VBStyleCollection<E,K> clone()
- Overrides:
clonein classjava.util.ArrayList<E>
-
setMap
public void setMap(java.util.HashMap<K,java.lang.Integer> map)
-
getKey
public K getKey(int index)
-
getLstKeys
public java.util.ArrayList<K> getLstKeys()
-
setLstKeys
public void setLstKeys(java.util.ArrayList<K> lstKeys)
-
toStringVb
public java.lang.String toStringVb()
-
-