@NotThreadSafe public class CSSExpressionMemberMath extends Object implements ICSSExpressionMember, ICSSExpressionMathMember, ICSSSourceLocationAware
| Constructor and Description |
|---|
CSSExpressionMemberMath() |
CSSExpressionMemberMath(Iterable<? extends ICSSExpressionMathMember> aMembers) |
| Modifier and Type | Method and Description |
|---|---|
CSSExpressionMemberMath |
addMember(ICSSExpressionMathMember aMember) |
CSSExpressionMemberMath |
addMember(int nIndex,
ICSSExpressionMathMember aMember) |
boolean |
equals(Object o) |
com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMathMember> |
getAllMembers() |
String |
getAsCSSString(ICSSWriterSettings aSettings,
int nIndentLevel)
Get the contents of this object as a serialized CSS string for writing to
an output.
|
CSSExpressionMemberMath |
getClone() |
int |
getMemberCount() |
ECSSVersion |
getMinimumCSSVersion() |
CSSSourceLocation |
getSourceLocation() |
int |
hashCode() |
com.helger.commons.state.EChange |
removeAllMembers()
Remove all members.
|
com.helger.commons.state.EChange |
removeMember(ICSSExpressionMathMember aMember) |
com.helger.commons.state.EChange |
removeMember(int nMemberIndex) |
void |
setSourceLocation(CSSSourceLocation aSourceLocation)
Set the source location of the object, determined while parsing.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAsCSSString, getAsCSSStringpublic CSSExpressionMemberMath()
public CSSExpressionMemberMath(@Nonnull Iterable<? extends ICSSExpressionMathMember> aMembers)
@Nonnull public CSSExpressionMemberMath addMember(@Nonnull ICSSExpressionMathMember aMember)
@Nonnull public CSSExpressionMemberMath addMember(@Nonnegative int nIndex, @Nonnull ICSSExpressionMathMember aMember)
@Nonnull public com.helger.commons.state.EChange removeMember(@Nonnull ICSSExpressionMathMember aMember)
@Nonnull public com.helger.commons.state.EChange removeMember(@Nonnegative int nMemberIndex)
@Nonnull public com.helger.commons.state.EChange removeAllMembers()
EChange.CHANGED if any member was removed,
EChange.UNCHANGED otherwise. Never null.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMathMember> getAllMembers()
@Nonnegative public int getMemberCount()
@Nonnull public CSSExpressionMemberMath getClone()
getClone in interface com.helger.commons.lang.ICloneable<ICSSExpressionMember>@Nonnull @Nonempty public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
ICSSWriteablegetAsCSSString in interface ICSSWriteableaSettings - The settings to be used to format the output. May not be
null.nIndentLevel - The current indentation levelnull.@Nonnull public ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.@Nullable public final CSSSourceLocation getSourceLocation()
getSourceLocation in interface ICSSSourceLocationAwarenull if an object was not read but manually
created.public final void setSourceLocation(@Nullable CSSSourceLocation aSourceLocation)
ICSSSourceLocationAwaresetSourceLocation in interface ICSSSourceLocationAwareaSourceLocation - The source location to use. May be null.Copyright © 2014–2022 Philip Helger. All rights reserved.