java2dx by
jTEM

de.jtem.java2dx
Class Point2DList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<Point2DDouble>
                  extended by de.jtem.java2dx.Point2DList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Point2DDouble>, Collection<Point2DDouble>, Deque<Point2DDouble>, List<Point2DDouble>, Queue<Point2DDouble>
Direct Known Subclasses:
Polygon2D

public class Point2DList
extends LinkedList<Point2DDouble>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Point2DList()
           
Point2DList(Collection<Point2DDouble> p)
          Makes copies of all the points.
Point2DList(double[][] d)
           
 
Method Summary
 void assign(Collection<Point2DDouble> p)
           
 void assign(double[][] d)
           
 boolean equals(Object o)
          Instance of this class are equal only if they are identical.
 int hashCode()
          Instances of this class return the same hashCode throughout their lifetime.
 double[][] toDoubleArray()
           
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, 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, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

Point2DList

public Point2DList()

Point2DList

public Point2DList(Collection<Point2DDouble> p)
Makes copies of all the points.

Parameters:
points -

Point2DList

public Point2DList(double[][] d)
Method Detail

assign

public void assign(Collection<Point2DDouble> p)

assign

public void assign(double[][] d)

equals

public boolean equals(Object o)
Instance of this class are equal only if they are identical.

Specified by:
equals in interface Collection<Point2DDouble>
Specified by:
equals in interface List<Point2DDouble>
Overrides:
equals in class AbstractList<Point2DDouble>

hashCode

public int hashCode()
Instances of this class return the same hashCode throughout their lifetime. Hence they are usable as keys in HashMaps.

Specified by:
hashCode in interface Collection<Point2DDouble>
Specified by:
hashCode in interface List<Point2DDouble>
Overrides:
hashCode in class AbstractList<Point2DDouble>

toDoubleArray

public double[][] toDoubleArray()

java2dx by
jTEM

jTEM