public Collection < StarSelectItem > getQualifiedStarSelectItems ( ) { Collection < StarSelectItem > result = new LinkedList <> ( ) ; for ( SelectItem each : items ) { if ( each instanceof StarSelectItem && ( ( StarSelectItem ) each ) . getOwner ( ) . isPresent ( ) ) { result . add ( ( StarSelectItem ) each ) ; } } return result ; }
Get qualified star select items .