1 19 20 25 26 27 package soot.util; 28 29 import java.util.*; 30 import soot.*; 31 import java.io.*; 32 33 35 public interface Chain extends Collection, Serializable 36 { 37 38 public void insertBefore(List toInsert, Object point); 39 40 public void insertAfter(List toInsert, Object point); 41 42 public void insertAfter(Object toInsert, Object point); 43 44 public void insertBefore(Object toInsert, Object point); 45 47 public void insertBefore(Chain toInsert, Object point); 48 50 public void insertAfter(Chain toInsert, Object point); 51 52 53 54 public void swapWith(Object out, Object in); 55 56 57 public boolean remove(Object u); 58 59 60 public void addFirst(Object u); 61 62 63 public void addLast(Object u); 64 65 66 public void removeFirst(); 67 68 public void removeLast(); 69 70 71 public boolean follows(Object someObject, Object someReferenceObject); 72 73 74 public Object getFirst(); 75 76 77 public Object getLast(); 78 79 80 public Object getSuccOf(Object point); 81 82 83 public Object getPredOf(Object point); 84 85 90 public Iterator snapshotIterator(); 91 92 93 public Iterator iterator(); 94 95 96 public Iterator iterator(Object u); 97 98 99 public Iterator iterator(Object head, Object tail); 100 101 102 public int size(); 103 } 104 105 | Popular Tags |