public static Status getStatus ( Account account , String authority , boolean create ) { Map < Account , Status > map = syncableAccounts . get ( authority ) ; if ( map == null ) { map = new HashMap <> ( ) ; syncableAccounts . put ( authority , map ) ; } Status status = map . get ( account ) ; if ( status == null && create ) { status = new Status ( ) ; map . put ( account , status ) ; } return status ; }
Retrieve information on the status of the given account .