public MaterialAccount getAccountByTitle ( String title ) { for ( MaterialAccount account : accountManager ) if ( currentAccount . getTitle ( ) . equals ( title ) ) return account ; return null ; }
Get the account knowing his title