edu.ucla.util
Class Maps

Object
  extended by Maps

public class Maps
extends Object


Constructor Summary
Maps()
           
 
Method Summary
static HashMap bijectiveInverse(List vals)
           
static HashMap bijectiveInverse(Map orig)
           
static void bijectiveInverse(Map orig, Map result)
           
static HashMap compose(Function f, Map m1)
           
static void compose(Function f, Map m1, Map result)
           
static HashMap compose(Map m2, Map m1)
           
static void compose(Map m2, Map m1, Map result)
           
static HashMap elementsContaining(Map orig)
           
static HashMap fixPoint(Map map)
           
static HashMap identityMap(Collection t)
           
static HashMap inverse(Map orig)
           
static void inverse(Map orig, Map result)
           
static Function makeComposite(Function f2, Function f1)
           
static void map(Map map, Collection s, Collection result)
           
static HashSet map(Map m1, Set s)
           
static Comparable max(Collection vals)
           
static Comparable min(Collection vals)
           
static HashMap setCompose(Map m2, Map m1)
           
static void setCompose(Map m2, Map m1, Map result)
           
static HashMap subMap(Map map, Collection sub)
           
static HashMap toMap(List vals)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maps

public Maps()
Method Detail

inverse

public static void inverse(Map orig,
                           Map result)

inverse

public static HashMap inverse(Map orig)

bijectiveInverse

public static void bijectiveInverse(Map orig,
                                    Map result)

elementsContaining

public static HashMap elementsContaining(Map orig)

bijectiveInverse

public static HashMap bijectiveInverse(Map orig)

max

public static Comparable max(Collection vals)

min

public static Comparable min(Collection vals)

toMap

public static HashMap toMap(List vals)

bijectiveInverse

public static HashMap bijectiveInverse(List vals)

compose

public static void compose(Map m2,
                           Map m1,
                           Map result)

setCompose

public static void setCompose(Map m2,
                              Map m1,
                              Map result)

compose

public static HashMap compose(Map m2,
                              Map m1)

setCompose

public static HashMap setCompose(Map m2,
                                 Map m1)

compose

public static void compose(Function f,
                           Map m1,
                           Map result)

compose

public static HashMap compose(Function f,
                              Map m1)

fixPoint

public static HashMap fixPoint(Map map)

identityMap

public static HashMap identityMap(Collection t)

map

public static void map(Map map,
                       Collection s,
                       Collection result)

map

public static HashSet map(Map m1,
                          Set s)

makeComposite

public static Function makeComposite(Function f2,
                                     Function f1)

subMap

public static HashMap subMap(Map map,
                             Collection sub)


Copyright 2010 UCLA Automated Reasoning Group