public FriendGroup getGroup ( ) { final Collection < RosterGroup > groups = get ( ) . getGroups ( ) ; if ( groups . size ( ) > 0 ) { return new FriendGroup ( api , con , get ( ) . getGroups ( ) . iterator ( ) . next ( ) ) ; } return null ; }
Gets the FriendGroup that contains this friend .