jpicedt.graphic.model
Class EditPointConstraintCollator
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet
jpicedt.graphic.model.EditPointConstraintCollator
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set, EditPointConstraint
public class EditPointConstraintCollator
- extends java.util.HashSet
- implements EditPointConstraint
Collates several constraints together, ensuring there is no duplicate constraints.
- Since:
- jPicEdt 1.3.3
- Version:
- $Id: EditPointConstraintCollator.java,v 1.3.2.1 2007/09/02 11:56:26 reynal Exp $
- Author:
- $Author: reynal $
- See Also:
- Serialized Form
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
EditPointConstraintCollator
public EditPointConstraintCollator()
EditPointConstraintCollator
public EditPointConstraintCollator(EditPointConstraint c)
EditPointConstraintCollator
public EditPointConstraintCollator(EditPointConstraint c1,
EditPointConstraint c2)
and
public EditPointConstraint and(EditPointConstraint c)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.AbstractCollection
imposes
public boolean imposes(EditPointConstraint c)
- Description copied from interface:
EditPointConstraint
- Returns true if this constraint imposes the given constraint. This is useful for constraints which
may contain several AND'd constraints at once.
- Specified by:
imposes
in interface EditPointConstraint
Submit a bug : syd@jpicedt.org