Example usage for android.support.v4.util IntSet IntSet

List of usage examples for android.support.v4.util IntSet IntSet

Introduction

In this page you can find the example usage for android.support.v4.util IntSet IntSet.

Prototype

public IntSet(int initialCapacity) 

Source Link

Document

Creates a new ResArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.

Usage

From source file:com.telly.mrvector.MrVector.java

public static void register(@DrawableRes int... resources) {
    if (resources == null || resources.length < 1) {
        return;//  w ww  . j  av  a  2 s .  com
    }
    if (sVectorResources == null) {
        sVectorResources = new IntSet(resources.length);
    }
    sVectorResources.addAll(resources);
}