public void finish(FieldFormatter[] fieldFormatters) { // find all other affixes that are in use Set<PeriodFieldAffix> prefixesToIgnore = new HashSet<PeriodFieldAffix>(); Set<PeriodFieldAffix> suffixesToIgnore = new HashSet<PeriodFieldAffix>(); for (FieldFormatter fieldFormatter : fieldFormatters) { if (fieldFormatter != null && !this.equals(fieldFormatter)) { prefixesToIgnore.add(fieldFormatter.iPrefix); suffixesToIgnore.add(fieldFormatter.iSuffix); } } // if we have a prefix then allow ignore behaviour if (iPrefix != null) { iPrefix.finish(prefixesToIgnore); } // if we have a suffix then allow ignore behaviour if (iSuffix != null) { iSuffix.finish(suffixesToIgnore); } }
public void finish(FieldFormatter[] fieldFormatters) { // find all other affixes that are in use Set<PeriodFieldAffix> prefixesToIgnore = new HashSet<PeriodFieldAffix>(); Set<PeriodFieldAffix> suffixesToIgnore = new HashSet<PeriodFieldAffix>(); for (FieldFormatter fieldFormatter : fieldFormatters) { if (fieldFormatter != null && !this.equals(fieldFormatter)) { prefixesToIgnore.add(fieldFormatter.iPrefix); suffixesToIgnore.add(fieldFormatter.iSuffix); } } // if we have a prefix then allow ignore behaviour if (iPrefix != null) { iPrefix.finish(prefixesToIgnore); } // if we have a suffix then allow ignore behaviour if (iSuffix != null) { iSuffix.finish(suffixesToIgnore); } }
public void finish(FieldFormatter[] fieldFormatters) { // find all other affixes that are in use Set<PeriodFieldAffix> prefixesToIgnore = new HashSet<PeriodFieldAffix>(); Set<PeriodFieldAffix> suffixesToIgnore = new HashSet<PeriodFieldAffix>(); for (FieldFormatter fieldFormatter : fieldFormatters) { if (fieldFormatter != null && !this.equals(fieldFormatter)) { prefixesToIgnore.add(fieldFormatter.iPrefix); suffixesToIgnore.add(fieldFormatter.iSuffix); } } // if we have a prefix then allow ignore behaviour if (iPrefix != null) { iPrefix.finish(prefixesToIgnore); } // if we have a suffix then allow ignore behaviour if (iSuffix != null) { iSuffix.finish(suffixesToIgnore); } }
public void finish(FieldFormatter[] fieldFormatters) { // find all other affixes that are in use Set<PeriodFieldAffix> prefixesToIgnore = new HashSet<PeriodFieldAffix>(); Set<PeriodFieldAffix> suffixesToIgnore = new HashSet<PeriodFieldAffix>(); for (FieldFormatter fieldFormatter : fieldFormatters) { if (fieldFormatter != null && !this.equals(fieldFormatter)) { prefixesToIgnore.add(fieldFormatter.iPrefix); suffixesToIgnore.add(fieldFormatter.iSuffix); } } // if we have a prefix then allow ignore behaviour if (iPrefix != null) { iPrefix.finish(prefixesToIgnore); } // if we have a suffix then allow ignore behaviour if (iSuffix != null) { iSuffix.finish(suffixesToIgnore); } }