Code example for HashSet

Methods: size

0
        if (services.size() > 0) {
            pw.print(prefix); pw.print("services="); pw.println(services);
        } 
        if (executingServices.size() > 0) {
            pw.print(prefix); pw.print("executingServices="); pw.println(executingServices);
        } 
        if (connections.size() > 0) {
            pw.print(prefix); pw.print("connections="); pw.println(connections);
        } 
        if (pubProviders.size() > 0) {
            pw.print(prefix); pw.print("pubProviders="); pw.println(pubProviders);
        } 
        if (conProviders.size() > 0) {
            pw.print(prefix); pw.print("conProviders="); pw.println(conProviders);
        } 
        if (receivers.size() > 0) {
            pw.print(prefix); pw.print("receivers="); pw.println(receivers);
        } 
    } 
     
    ProcessRecord(BatteryStatsImpl.Uid.Proc _batteryStats, IApplicationThread _thread,