java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<Object>
com.google.common.collect.ForwardingList<Object>
com.hubspot.jinjava.objects.collections.PyList
All Implemented Interfaces:
PyWrapper, Iterable<Object>, Collection<Object>, List<Object>, SequencedCollection<Object>
Direct Known Subclasses:
SizeLimitingPyList

public class PyList extends com.google.common.collect.ForwardingList<Object> implements PyWrapper
  • Constructor Details

  • Method Details

    • toList

      public List<Object> toList()
    • append

      public boolean append(Object e)
    • insert

      public void insert(int i, Object e)
    • extend

      public boolean extend(PyList e)
    • pop

      public Object pop()
    • pop

      public Object pop(int index)
    • count

      public long count(Object o)
    • reverse

      public void reverse()
    • copy

      public PyList copy()
    • index

      public int index(Object o)
    • get

      public Object get(int index)
      Specified by:
      get in interface List<Object>
      Overrides:
      get in class com.google.common.collect.ForwardingList<Object>
    • index

      public int index(Object o, int begin, int end)
    • hashCode

      public int hashCode()
      This is not thread-safe
      Specified by:
      hashCode in interface Collection<Object>
      Specified by:
      hashCode in interface List<Object>
      Overrides:
      hashCode in class com.google.common.collect.ForwardingList<Object>
      Returns:
      hashCode, preventing recursion