Class SassMap

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<K,​V>
java.util.LinkedHashMap<java.lang.String,​SassValue>
io.bit3.jsass.type.SassMap
All Implemented Interfaces:
SassValue, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​SassValue>

public class SassMap
extends java.util.LinkedHashMap<java.lang.String,​SassValue>
implements SassValue
A sass value list.
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.util.AbstractMap

    java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int TYPE  
  • Constructor Summary

    Constructors 
    Constructor Description
    SassMap()  
    SassMap​(int initialCapacity)  
    SassMap​(int initialCapacity, float loadFactor)  
    SassMap​(int initialCapacity, float loadFactor, boolean accessOrder)  
    SassMap​(java.util.Map<? extends java.lang.String,​? extends SassValue> map)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()
    Return a libsass compatible (key: value) string representation.

    Methods inherited from class java.util.LinkedHashMap

    clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values

    Methods inherited from class java.util.HashMap

    clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size

    Methods inherited from class java.util.AbstractMap

    equals, hashCode

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Map

    compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
  • Field Details

  • Constructor Details

    • SassMap

      public SassMap()
    • SassMap

      public SassMap​(java.util.Map<? extends java.lang.String,​? extends SassValue> map)
    • SassMap

      public SassMap​(int initialCapacity)
    • SassMap

      public SassMap​(int initialCapacity, float loadFactor)
    • SassMap

      public SassMap​(int initialCapacity, float loadFactor, boolean accessOrder)
  • Method Details

    • toString

      public java.lang.String toString()
      Return a libsass compatible (key: value) string representation.
      Overrides:
      toString in class java.util.AbstractMap<java.lang.String,​SassValue>
      Returns:
      A libsass compatible (key: value) string representation.