Home | History | Annotate | Download | only in api
      1 package androidx.collection {
      2 
      3   public class ArrayMap<K, V> extends androidx.collection.SimpleArrayMap implements java.util.Map {
      4     ctor public ArrayMap();
      5     ctor public ArrayMap(int);
      6     ctor public ArrayMap(androidx.collection.SimpleArrayMap);
      7     method public boolean containsAll(java.util.Collection<?>);
      8     method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
      9     method public java.util.Set<K> keySet();
     10     method public void putAll(java.util.Map<? extends K, ? extends V>);
     11     method public boolean removeAll(java.util.Collection<?>);
     12     method public boolean retainAll(java.util.Collection<?>);
     13     method public java.util.Collection<V> values();
     14   }
     15 
     16   public final class ArraySet<E> implements java.util.Collection java.util.Set {
     17     ctor public ArraySet();
     18     ctor public ArraySet(int);
     19     ctor public ArraySet(androidx.collection.ArraySet<E>);
     20     ctor public ArraySet(java.util.Collection<E>);
     21     method public boolean add(E);
     22     method public void addAll(androidx.collection.ArraySet<? extends E>);
     23     method public boolean addAll(java.util.Collection<? extends E>);
     24     method public void clear();
     25     method public boolean contains(java.lang.Object);
     26     method public boolean containsAll(java.util.Collection<?>);
     27     method public void ensureCapacity(int);
     28     method public int indexOf(java.lang.Object);
     29     method public boolean isEmpty();
     30     method public java.util.Iterator<E> iterator();
     31     method public boolean remove(java.lang.Object);
     32     method public boolean removeAll(androidx.collection.ArraySet<? extends E>);
     33     method public boolean removeAll(java.util.Collection<?>);
     34     method public E removeAt(int);
     35     method public boolean retainAll(java.util.Collection<?>);
     36     method public int size();
     37     method public java.lang.Object[] toArray();
     38     method public <T> T[] toArray(T[]);
     39     method public E valueAt(int);
     40   }
     41 
     42   public final class CircularArray<E> {
     43     ctor public CircularArray();
     44     ctor public CircularArray(int);
     45     method public void addFirst(E);
     46     method public void addLast(E);
     47     method public void clear();
     48     method public E get(int);
     49     method public E getFirst();
     50     method public E getLast();
     51     method public boolean isEmpty();
     52     method public E popFirst();
     53     method public E popLast();
     54     method public void removeFromEnd(int);
     55     method public void removeFromStart(int);
     56     method public int size();
     57   }
     58 
     59   public final class CircularIntArray {
     60     ctor public CircularIntArray();
     61     ctor public CircularIntArray(int);
     62     method public void addFirst(int);
     63     method public void addLast(int);
     64     method public void clear();
     65     method public int get(int);
     66     method public int getFirst();
     67     method public int getLast();
     68     method public boolean isEmpty();
     69     method public int popFirst();
     70     method public int popLast();
     71     method public void removeFromEnd(int);
     72     method public void removeFromStart(int);
     73     method public int size();
     74   }
     75 
     76   public class LongSparseArray<E> implements java.lang.Cloneable {
     77     ctor public LongSparseArray();
     78     ctor public LongSparseArray(int);
     79     method public void append(long, E);
     80     method public void clear();
     81     method public androidx.collection.LongSparseArray<E> clone();
     82     method public void delete(long);
     83     method public E get(long);
     84     method public E get(long, E);
     85     method public int indexOfKey(long);
     86     method public int indexOfValue(E);
     87     method public boolean isEmpty();
     88     method public long keyAt(int);
     89     method public void put(long, E);
     90     method public void remove(long);
     91     method public void removeAt(int);
     92     method public void setValueAt(int, E);
     93     method public int size();
     94     method public E valueAt(int);
     95   }
     96 
     97   public class LruCache<K, V> {
     98     ctor public LruCache(int);
     99     method protected V create(K);
    100     method public final synchronized int createCount();
    101     method protected void entryRemoved(boolean, K, V, V);
    102     method public final void evictAll();
    103     method public final synchronized int evictionCount();
    104     method public final V get(K);
    105     method public final synchronized int hitCount();
    106     method public final synchronized int maxSize();
    107     method public final synchronized int missCount();
    108     method public final V put(K, V);
    109     method public final synchronized int putCount();
    110     method public final V remove(K);
    111     method public void resize(int);
    112     method public final synchronized int size();
    113     method protected int sizeOf(K, V);
    114     method public final synchronized java.util.Map<K, V> snapshot();
    115     method public final synchronized java.lang.String toString();
    116     method public void trimToSize(int);
    117   }
    118 
    119   public class SimpleArrayMap<K, V> {
    120     ctor public SimpleArrayMap();
    121     ctor public SimpleArrayMap(int);
    122     ctor public SimpleArrayMap(androidx.collection.SimpleArrayMap<K, V>);
    123     method public void clear();
    124     method public boolean containsKey(java.lang.Object);
    125     method public boolean containsValue(java.lang.Object);
    126     method public void ensureCapacity(int);
    127     method public V get(java.lang.Object);
    128     method public int indexOfKey(java.lang.Object);
    129     method public boolean isEmpty();
    130     method public K keyAt(int);
    131     method public V put(K, V);
    132     method public void putAll(androidx.collection.SimpleArrayMap<? extends K, ? extends V>);
    133     method public V remove(java.lang.Object);
    134     method public V removeAt(int);
    135     method public V setValueAt(int, V);
    136     method public int size();
    137     method public V valueAt(int);
    138   }
    139 
    140   public class SparseArrayCompat<E> implements java.lang.Cloneable {
    141     ctor public SparseArrayCompat();
    142     ctor public SparseArrayCompat(int);
    143     method public void append(int, E);
    144     method public void clear();
    145     method public androidx.collection.SparseArrayCompat<E> clone();
    146     method public void delete(int);
    147     method public E get(int);
    148     method public E get(int, E);
    149     method public int indexOfKey(int);
    150     method public int indexOfValue(E);
    151     method public boolean isEmpty();
    152     method public int keyAt(int);
    153     method public void put(int, E);
    154     method public void remove(int);
    155     method public void removeAt(int);
    156     method public void removeAtRange(int, int);
    157     method public void setValueAt(int, E);
    158     method public int size();
    159     method public E valueAt(int);
    160   }
    161 
    162 }
    163 
    164