com.eliad.util
Class LinearPointSet.Factory

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

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

A factory to clone LinearPoint objects, and create default ones


Constructor Summary
LinearPointSet.Factory()
           
 
Method Summary
static LinearPointSet copy(LinearPointSet intervals)
          Provides a public, exception free, type-safe way of copying an Intervals object.
static LinearPointSet 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

LinearPointSet.Factory

public LinearPointSet.Factory()
Method Detail

copy

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

createDefault

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