FileDocCategorySizeDatePackage
NamedCounter.javaAPI DocAndroid 5.1 API1096Thu Mar 12 22:22:42 GMT 2015com.android.systemui.recents.misc

NamedCounter

public class NamedCounter extends Object
Used to generate successive incremented names.

Fields Summary
int
mCount
String
mPrefix
String
mSuffix
Constructors Summary
public NamedCounter(String prefix, String suffix)


         
        mPrefix = prefix;
        mSuffix = suffix;
    
Methods Summary
public java.lang.StringnextName()
Returns the next name.

        String name = mPrefix + mCount + mSuffix;
        mCount++;
        return name;