Lombok.ast - v0.2

lombok.ast
Interface StrictListAccessor<T extends Node,P extends Node>

All Superinterfaces:
Iterable<T>

public interface StrictListAccessor<T extends Node,P extends Node>
extends Iterable<T>


Method Summary
 P addAfter(Node ref, T... node)
           
 P addBefore(Node ref, T... node)
           
 P addToEnd(T... node)
           
 P addToStart(T... node)
           
 RawListAccessor<T,P> asRawAccessor()
           
 void clear()
           
 boolean contains(Node source)
           
 T first()
           
 boolean isEmpty()
           
 T last()
           
 P migrateAllFrom(StrictListAccessor<? extends T,?> otherList)
           
 Node owner()
           
 void remove(Node source)
           
 void replace(Node source, T replacement)
           
 int size()
           
 P up()
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

up

P up()

owner

Node owner()

clear

void clear()

isEmpty

boolean isEmpty()

size

int size()

first

T first()

last

T last()

contains

boolean contains(Node source)

migrateAllFrom

P migrateAllFrom(StrictListAccessor<? extends T,?> otherList)

addToStart

P addToStart(T... node)

addToEnd

P addToEnd(T... node)

addBefore

P addBefore(Node ref,
            T... node)

addAfter

P addAfter(Node ref,
           T... node)

replace

void replace(Node source,
             T replacement)
             throws NoSuchElementException
Throws:
NoSuchElementException

remove

void remove(Node source)
            throws NoSuchElementException
Throws:
NoSuchElementException

asRawAccessor

RawListAccessor<T,P> asRawAccessor()

Lombok.ast - v0.2

Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.