public class SassList extends ArrayList<Object> implements SassValue
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
modCount| Constructor and Description |
|---|
SassList()
Create an empty list.
|
SassList(Collection<?> collection)
Create a list from an existing values.
|
SassList(Collection<?> collection,
Separator separator)
Create a list from an existing values, with a specific separator character.
|
SassList(int initialCapacity) |
SassList(int initialCapacity,
Separator separator) |
SassList(Separator separator)
Create an empty list with a specific separator character.
|
| Modifier and Type | Method and Description |
|---|---|
Separator |
getSeparator()
Return the item separator.
|
void |
setSeparator(Separator separator)
Set the item separator.
|
String |
toString()
Return a libsass compatible (..) string representation.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final int TYPE
public SassList()
public SassList(Collection<?> collection)
collection - The existing values collection.public SassList(Separator separator)
separator - The item separator.public SassList(Collection<?> collection, Separator separator)
separator - The item separator.collection - The existing values collection.public SassList(int initialCapacity)
public SassList(int initialCapacity,
Separator separator)
public Separator getSeparator()
public void setSeparator(Separator separator)
separator - The item separator.public String toString()
toString in class AbstractCollection<Object>Copyright © 2016 bit3. All rights reserved.