/** * Insert a new node * * @param elem */ public void insert(E elem, int x, int y) { root = insert_internal(root, new Node(elem, x, y), lowerBoundOfX, upperBoundOfX); }
@Override protected Deque<Value> newValueChain() { return new ArrayDeque<Value>(); }
public static void copy(File source, File dest) throws IOException { copy(source, dest, new CopyConfig()); }
/** * Remove the specified node * * @param elem */ public void remove(E elem, int x, int y) { root = remove_internal(root, new Node(elem, x, y), lowerBoundOfX, upperBoundOfX); }
/** * Finds the {@link URL} of the resource * * @param resourceFileName * the resource file name, relative to the root package * @return the URL of the specified resource */ public static URL find(String resourceFileName) { return find("", resourceFileName); }
public String getNaturalParamName() { if (naturalParamName == null) naturalParamName = StringUtil.varNameToNaturalName(paramName); return naturalParamName; }
public DSNumber parent() { if (index.length <= 1) return null; int[] newIndex = new int[index.length - 1]; for (int i = 0; i < index.length - 1; ++i) newIndex[i] = index[i]; return new DSNumber(newIndex); }
public static void copy(InputStream input, File dest) throws IOException { copy(input, dest, new CopyConfig()); }