com.sun.electric.technology
Class Layer.Function.Set

java.lang.Object
  extended by com.sun.electric.technology.Layer.Function.Set
Enclosing class:
Layer.Function

public static class Layer.Function.Set
extends java.lang.Object

A set of Layer.Functions


Field Summary
static Layer.Function.Set ALL
          Set if all Layer.Functions
 
Constructor Summary
Layer.Function.Set(java.util.Collection<Layer.Function> funs)
          Constructs Function.Set from a collection of Functions.
Layer.Function.Set(Layer.Function... funs)
          Constructs Function.Set from varargs Functions.
Layer.Function.Set(Layer.Function f, int extraB)
          Constructs Function.Set from a Function plus extra bits
 
Method Summary
 boolean contains(Layer.Function f, int extraFunction)
          Returns true if specified Functions is in this Set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final Layer.Function.Set ALL
Set if all Layer.Functions

Constructor Detail

Layer.Function.Set

public Layer.Function.Set(Layer.Function f,
                          int extraB)
Constructs Function.Set from a Function plus extra bits

Parameters:
f - Function
extraB - extra bits to check

Layer.Function.Set

public Layer.Function.Set(Layer.Function... funs)
Constructs Function.Set from varargs Functions.

Parameters:
funs - variable list of Functions.

Layer.Function.Set

public Layer.Function.Set(java.util.Collection<Layer.Function> funs)
Constructs Function.Set from a collection of Functions.

Parameters:
funs - a Collection of Functions.
Method Detail

contains

public boolean contains(Layer.Function f,
                        int extraFunction)
Returns true if specified Functions is in this Set.

Parameters:
f - Function to test.
extraFunction -
Returns:
true if specified Functions is in this Set.