|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.runtime.OrderedObjectCollection
public class OrderedObjectCollection
| Constructor Summary | |
|---|---|
OrderedObjectCollection()
|
|
| Method Summary | |
|---|---|
void |
add(IObject object,
int fileIndex)
Add the specified command node to the collection |
OrderedObject |
get(int index)
Retrieve the IObject at the specified index |
int |
getFloorFileIndex(int fileIndex,
int offset)
Return the file index of the object at or just before the specified file index and offset |
IObject |
getFloorObject(int fileIndex,
int offset)
Return the object at or just before the specified file index and offset |
void |
remove(int index)
Remove the OrderedObject at the specified index |
void |
remove(int fileIndex,
int offset)
Remove the command node at the specified file index and offset. |
int |
size()
Get the number of command nodes in this collection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderedObjectCollection()
| Method Detail |
|---|
public OrderedObject get(int index)
index - The index to retrieve from this collection
public int size()
public void add(IObject object,
int fileIndex)
object - The new node to add to this collectionfileIndex - The file index
public IObject getFloorObject(int fileIndex,
int offset)
fileIndex - The file indexoffset - The offset within the file
public int getFloorFileIndex(int fileIndex,
int offset)
fileIndex - The file indexoffset - The offset within the file
public void remove(int index)
index - The index of the element to remove from this collection
public void remove(int fileIndex,
int offset)
fileIndex - The file indexoffset - The file offset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||