public class NBoundAffixList extends Object
| Constructor and Description |
|---|
NBoundAffixList() |
public Comparator<NBoundAffix> orderComparator()
public NBoundAffixList orderComparator(Comparator<NBoundAffix> orderComparator)
public Predicate<NBoundAffix> filter()
public NBoundAffixList setFilter(Predicate<NBoundAffix> filter)
public NBoundAffixList filterAcceptAnchors(NAffixAnchor... anchors)
public NBoundAffixList filter(Predicate<NBoundAffix> filter)
public List<NBoundAffix> list()
public List<NElementComment> comments()
public NBoundAffixList clearComments()
public List<NElementComment> trailingComments()
public List<NElementComment> leadingComments()
public NBoundAffixList addAnnotations(List<NElementAnnotation> annotations)
public NBoundAffixList addAffixes(List<NBoundAffix> affixes)
public NBoundAffixList addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
public NBoundAffixList addAffix(NAffix affix, NAffixAnchor anchor)
public NBoundAffixList addAffix(NBoundAffix affix)
public NBoundAffixList addAnnotation(String name, NElement... args)
public NBoundAffixList addAnnotation(NElementAnnotation annotation)
public NBoundAffixList addAffixNewLine(int index, NNewLineMode newLineMode, NAffixAnchor anchor)
public NBoundAffixList addAffix(int index, NBoundAffix affix)
public NBoundAffixList removeAnnotation(NElementAnnotation annotation)
public NBoundAffixList removeAffix(int index)
public NBoundAffixList removeAffix(NAffix affix)
public NBoundAffixList removeAffix(NBoundAffix affix)
public NBoundAffixList clearAnnotations()
public NBoundAffixList clearAffixes()
public List<NElementAnnotation> annotations()
public NBoundAffixList setAffix(int index, NBoundAffix affix)
public NBoundAffixList addAffix(int index, NAffix affix, NAffixAnchor anchor)
public NBoundAffixList setAffix(int index, NAffix affix, NAffixAnchor anchor)
public NBoundAffixList removeAffixes(NAffixType type, NAffixAnchor anchor)
public NBoundAffixList addLeadingComment(NElementComment comment)
public NBoundAffixList addLeadingComments(NElementComment... comments)
public NBoundAffixList addTrailingComment(NElementComment comment)
public NBoundAffixList addTrailingComments(NElementComment... comments)
public NBoundAffixList addAffixSpace(String space, NAffixAnchor anchor)
public NBoundAffixList addAffixNewLine(NNewLineMode newLineMode, NAffixAnchor anchor)
public NBoundAffixList addAffixSeparator(String separator, NAffixAnchor anchor)
public NBoundAffixList addAffixSpace(int index, String space, NAffixAnchor anchor)
public NBoundAffixList addAffixSeparator(int index, String separator, NAffixAnchor anchor)
public static List<NBoundAffix> filter(List<NBoundAffix> list, NAffixAnchor anchor, NAffixType... acceptableTypes)
public void removeAffixIf(Predicate<NBoundAffix> predicate)
public void setAffixes(List<NBoundAffix> affixes)
Copyright © 2026 vpc open source initiative. All rights reserved.