com.eliad.util
Class CellsSet.Factory

java.lang.Object
  |
  +--com.eliad.util.CellsSet.Factory

public static class CellsSet.Factory
extends java.lang.Object

A factory to clone CellsSet objects, and create default ones


Constructor Summary
CellsSet.Factory()
           
 
Method Summary
static CellsSet copy(CellsSet set)
          Provides a public, exception free, type-safe way of copying an CellsSet object.
static CellsSet createDefault()
          Creates a default implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellsSet.Factory

public CellsSet.Factory()
Method Detail

copy

public static CellsSet copy(CellsSet set)
Provides a public, exception free, type-safe way of copying an CellsSet object.
Preconditions:
set != null
Postconditions:
return != null
return.equals(set)

createDefault

public static CellsSet createDefault()
Creates a default implementation.
Postconditions:
return != null
return.isEmpty()