net.refractions.udig.tools.edit.support
Class CoordResolvingList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Coordinate>
          extended by net.refractions.udig.tools.edit.support.CoordResolvingList
All Implemented Interfaces:
java.lang.Iterable<Coordinate>, java.util.Collection<Coordinate>, java.util.List<Coordinate>

public class CoordResolvingList
extends java.util.AbstractList<Coordinate>

A list that will wraps a List and resolves the LazyCoords into coordinate when requested.

Since:
1.1.0
Author:
jones

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
CoordResolvingList(java.util.List<LazyCoord> list2, Point current2)
           
 
Method Summary
 Coordinate get(int index)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

CoordResolvingList

public CoordResolvingList(java.util.List<LazyCoord> list2,
                          Point current2)
Method Detail

get

public Coordinate get(int index)
Specified by:
get in interface java.util.List<Coordinate>
Specified by:
get in class java.util.AbstractList<Coordinate>

size

public int size()
Specified by:
size in interface java.util.Collection<Coordinate>
Specified by:
size in interface java.util.List<Coordinate>
Specified by:
size in class java.util.AbstractCollection<Coordinate>