Lines Matching refs:email1

746      * The common part of <code>email1</code> and <code>email2</code> is
747 * added to the union <code>union</code>. If <code>email1</code> and
750 * @param email1 Email address constraint 1.
754 private void unionEmail(String email1, String email2, Set union)
756 // email1 is a particular address
757 if (email1.indexOf('@') != -1)
759 String _sub = email1.substring(email1.indexOf('@') + 1);
763 if (email1.equalsIgnoreCase(email2))
765 union.add(email1);
769 union.add(email1);
782 union.add(email1);
795 union.add(email1);
800 // email1 specifies a domain
801 else if (email1.startsWith("."))
805 String _sub = email2.substring(email1.indexOf('@') + 1);
806 if (withinDomain(_sub, email1))
808 union.add(email1);
812 union.add(email1);
819 if (withinDomain(email1, email2)
820 || email1.equalsIgnoreCase(email2))
824 else if (withinDomain(email2, email1))
826 union.add(email1);
830 union.add(email1);
836 if (withinDomain(email2, email1))
838 union.add(email1);
842 union.add(email1);
852 String _sub = email2.substring(email1.indexOf('@') + 1);
853 if (_sub.equalsIgnoreCase(email1))
855 union.add(email1);
859 union.add(email1);
866 if (withinDomain(email1, email2))
872 union.add(email1);
879 if (email1.equalsIgnoreCase(email2))
881 union.add(email1);
885 union.add(email1);
892 private void unionURI(String email1, String email2, Set union)
894 // email1 is a particular address
895 if (email1.indexOf('@') != -1)
897 String _sub = email1.substring(email1.indexOf('@') + 1);
901 if (email1.equalsIgnoreCase(email2))
903 union.add(email1);
907 union.add(email1);
920 union.add(email1);
933 union.add(email1);
938 // email1 specifies a domain
939 else if (email1.startsWith("."))
943 String _sub = email2.substring(email1.indexOf('@') + 1);
944 if (withinDomain(_sub, email1))
946 union.add(email1);
950 union.add(email1);
957 if (withinDomain(email1, email2)
958 || email1.equalsIgnoreCase(email2))
962 else if (withinDomain(email2, email1))
964 union.add(email1);
968 union.add(email1);
974 if (withinDomain(email2, email1))
976 union.add(email1);
980 union.add(email1);
990 String _sub = email2.substring(email1.indexOf('@') + 1);
991 if (_sub.equalsIgnoreCase(email1))
993 union.add(email1);
997 union.add(email1);
1004 if (withinDomain(email1, email2))
1010 union.add(email1);
1017 if (email1.equalsIgnoreCase(email2))
1019 union.add(email1);
1023 union.add(email1);
1107 * The most restricting part from <code>email1</code> and
1110 * @param email1 Email address constraint 1.
1114 private void intersectEmail(String email1, String email2, Set intersect)
1116 // email1 is a particular address
1117 if (email1.indexOf('@') != -1)
1119 String _sub = email1.substring(email1.indexOf('@') + 1);
1123 if (email1.equalsIgnoreCase(email2))
1125 intersect.add(email1);
1133 intersect.add(email1);
1141 intersect.add(email1);
1146 else if (email1.startsWith("."))
1150 String _sub = email2.substring(email1.indexOf('@') + 1);
1151 if (withinDomain(_sub, email1))
1159 if (withinDomain(email1, email2)
1160 || email1.equalsIgnoreCase(email2))
1162 intersect.add(email1);
1164 else if (withinDomain(email2, email1))
1171 if (withinDomain(email2, email1))
1177 // email1 specifies a host
1183 if (_sub.equalsIgnoreCase(email1))
1191 if (withinDomain(email1, email2))
1193 intersect.add(email1);
1199 if (email1.equalsIgnoreCase(email2))
1201 intersect.add(email1);
1284 private void intersectURI(String email1, String email2, Set intersect)
1286 // email1 is a particular address
1287 if (email1.indexOf('@') != -1)
1289 String _sub = email1.substring(email1.indexOf('@') + 1);
1293 if (email1.equalsIgnoreCase(email2))
1295 intersect.add(email1);
1303 intersect.add(email1);
1311 intersect.add(email1);
1316 else if (email1.startsWith("."))
1320 String _sub = email2.substring(email1.indexOf('@') + 1);
1321 if (withinDomain(_sub, email1))
1329 if (withinDomain(email1, email2)
1330 || email1.equalsIgnoreCase(email2))
1332 intersect.add(email1);
1334 else if (withinDomain(email2, email1))
1341 if (withinDomain(email2, email1))
1347 // email1 specifies a host
1353 if (_sub.equalsIgnoreCase(email1))
1361 if (withinDomain(email1, email2))
1363 intersect.add(email1);
1369 if (email1.equalsIgnoreCase(email2))
1371 intersect.add(email1);