public class Todo extends AbstractQueue<Env<AttrContext>>
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Field and Description |
---|---|
protected static Context.Key<Todo> |
todoKey
The context key for the todo list.
|
Modifier | Constructor and Description |
---|---|
protected |
Todo(Context context)
Create a new todo list.
|
Modifier and Type | Method and Description |
---|---|
void |
append(Env<AttrContext> env) |
Queue<Queue<Env<AttrContext>>> |
groupByFile() |
static Todo |
instance(Context context)
Get the Todo instance for this context.
|
Iterator<Env<AttrContext>> |
iterator() |
boolean |
offer(Env<AttrContext> e) |
Env<AttrContext> |
peek() |
Env<AttrContext> |
poll() |
int |
size() |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
protected static final Context.Key<Todo> todoKey
protected Todo(Context context)
public void append(Env<AttrContext> env)
public Iterator<Env<AttrContext>> iterator()
iterator
in interface Iterable<Env<AttrContext>>
iterator
in interface Collection<Env<AttrContext>>
iterator
in class AbstractCollection<Env<AttrContext>>
public int size()
size
in interface Collection<Env<AttrContext>>
size
in class AbstractCollection<Env<AttrContext>>
public boolean offer(Env<AttrContext> e)
public Env<AttrContext> poll()
public Env<AttrContext> peek()
public Queue<Queue<Env<AttrContext>>> groupByFile()
Copyright © 2015. All rights reserved.