pl.edu.pw.elka.pszt.inteligraph.model
Class SubjectCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Subject>
              extended by pl.edu.pw.elka.pszt.inteligraph.model.SubjectCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SubjectCollection>, java.lang.Iterable<Subject>, java.util.Collection<Subject>, java.util.List<Subject>, java.util.RandomAccess

public class SubjectCollection
extends java.util.ArrayList<Subject>
implements java.lang.Comparable<SubjectCollection>

Klasa reprezentująca zbiór osobników

See Also:
Serialized Form

Field Summary
private  java.lang.Integer quality
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SubjectCollection()
           
 
Method Summary
 int compareTo(SubjectCollection anotherSubjectCollection)
           
 java.awt.Point getPoint(VertexName first)
           
 java.lang.Integer getQuality()
           
 void setQuality(java.lang.Integer quality)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

quality

private java.lang.Integer quality
Constructor Detail

SubjectCollection

public SubjectCollection()
Method Detail

getQuality

public java.lang.Integer getQuality()

setQuality

public void setQuality(java.lang.Integer quality)

getPoint

public java.awt.Point getPoint(VertexName first)

compareTo

public int compareTo(SubjectCollection anotherSubjectCollection)
Specified by:
compareTo in interface java.lang.Comparable<SubjectCollection>