Java android.util ArraySet fields, constructors, methods, implement or subclass

Example usage for Java android.util ArraySet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.util ArraySet.

The text is from its open source code.

Constructor

ArraySet()
Create a new empty ArraySet.
ArraySet(int capacity)
Create a new ArraySet with a given initial capacity.
ArraySet(ArraySet set)
Create a new ArraySet with the mappings from the given ArraySet.
ArraySet(Collection set)

Method

booleanadd(E value)
Adds the specified object to this set.
voidaddAll(ArraySet array)
Perform a #add(Object) of all values in array
booleanaddAll(Collection collection)
Perform an #add(Object) of all values in collection
voidclear()
Make the array map empty.
booleancontains(Object key)
Check whether a value exists in the set.
booleanremove(Object object)
Removes the specified object from this set.