Package org.asciidoctor.jruby.internal
Class RubyBlockListDecorator<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- org.asciidoctor.jruby.internal.RubyBlockListDecorator<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
public class RubyBlockListDecorator<T> extends java.util.AbstractList<T>
-
-
Constructor Summary
Constructors Constructor Description RubyBlockListDecorator(org.jruby.RubyArray rubyBlockList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T element)
boolean
add(T abstractBlock)
void
clear()
boolean
contains(java.lang.Object o)
boolean
equals(java.lang.Object o)
T
get(int index)
int
hashCode()
int
indexOf(java.lang.Object o)
int
lastIndexOf(java.lang.Object o)
T
remove(int index)
boolean
remove(java.lang.Object o)
T
set(int index, T element)
int
size()
-
Methods inherited from class java.util.AbstractList
addAll, iterator, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
size
public int size()
-
contains
public boolean contains(java.lang.Object o)
-
add
public boolean add(T abstractBlock)
-
remove
public boolean remove(java.lang.Object o)
-
clear
public void clear()
-
equals
public boolean equals(java.lang.Object o)
-
hashCode
public int hashCode()
-
get
public T get(int index)
-
add
public void add(int index, T element)
-
remove
public T remove(int index)
-
indexOf
public int indexOf(java.lang.Object o)
-
-