private Set<StoragePort> andStoragePortSets(Set<StoragePort> a,Set<StoragePort> b){
  Set<StoragePort> result=new HashSet<StoragePort>();
  for (  StoragePort port : a) {
    if (b.contains(port)) {
      result.add(port);
    }
  }
  return result;
}

private Set < StoragePort > andStoragePortSets ( Set < StoragePort > a , Set < StoragePort > b ) { Set < StoragePort > result = new HashSet < StoragePort > ( ) ; for ( StoragePort port : a ) { if ( b . contains ( port ) ) { result . add ( port ) ; } } return result ; }
logical and of a and b
