// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) deadcode 
// Source File Name:   Todo.java

package com.sun.tools.javac.v8.comp;

import com.sun.tools.javac.v8.util.Context;
import com.sun.tools.javac.v8.util.ListBuffer;

// Referenced classes of package com.sun.tools.javac.v8.comp:
//            Env

public class Todo extends ListBuffer
{

    private Todo(Context context)
    {
        context.put(todoKey, this);
    }

    public Object first()
    {
        return super.first();
    }

    public Object next()
    {
        return super.next();
    }

    public boolean contains(Object obj)
    {
        return super.contains((Env)obj);
    }

    public static Todo instance(Context context)
    {
        Todo todo = (Todo)context.get(todoKey);
        if(todo == null)
            todo = new Todo(context);
        return todo;
    }

    public ListBuffer append(Object obj)
    {
        return super.append((Env)obj);
    }

    public ListBuffer prepend(Object obj)
    {
        return super.prepend((Env)obj);
    }

    public ListBuffer appendArray(Object aobj[])
    {
        return super.appendArray((Env[])aobj);
    }

    public Object[] toArray(Object aobj[])
    {
        return super.toArray((Env[])aobj);
    }

    private static final com.sun.tools.javac.v8.util.Context.Key todoKey = new com.sun.tools.javac.v8.util.Context.Key();

}
