uk.ac.ed.inf.ogsaconfig.garm.util
Class ArrayUtils

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.util.ArrayUtils

public class ArrayUtils
extends java.lang.Object

A set of static utility functions to make working with arrays of the types defined in the garm package more straightforward


Method Summary
static VFile[] merge(VFile[] a, VFile[] b)
          merge takes a pair of VFile arrays and returns a new VFile[] containing both of them.
static FileCollection[] subtract(FileCollection[] a, FileCollection[] b)
          subtract returns the its first argument with any elements present in the second argument removed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

merge

public static VFile[] merge(VFile[] a,
                            VFile[] b)
merge takes a pair of VFile arrays and returns a new VFile[] containing both of them.


subtract

public static FileCollection[] subtract(FileCollection[] a,
                                        FileCollection[] b)
subtract returns the its first argument with any elements present in the second argument removed