public final class NeighbourList extends java.lang.Object implements ListOfHash
| Constructor and Description | 
|---|
| NeighbourList(int depth) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | arraycopy(int srcPos,
         long[] dest,
         int destPos,
         int length)Similar to  System.arraycopy(Object, int, Object, int, int)except that the source
 is the internal list. | 
| void | clear() | 
| boolean | contains(CompassPoint.MainWind mainWind) | 
| long | get(CompassPoint.MainWind mainWind) | 
| long | get(int i)Returns the element at the given index  iin the list. | 
| CompassPoint.MainWind | getDirection(int i) | 
| FlatHashIterator | iterator() | 
| int | size()Returns the current number of elements in the flat list. | 
| void | sortByHashAsc() | 
public void clear()
public boolean contains(CompassPoint.MainWind mainWind)
public long get(CompassPoint.MainWind mainWind)
public void sortByHashAsc()
public int size()
ListOfHashsize in interface ListOfHashpublic long get(int i)
ListOfHashi in the list.get in interface ListOfHashi - index in the list of the element to be returned.i in the list.public CompassPoint.MainWind getDirection(int i)
public void arraycopy(int srcPos,
                      long[] dest,
                      int destPos,
                      int length)
ListOfHashSystem.arraycopy(Object, int, Object, int, int) except that the source
 is the internal list.arraycopy in interface ListOfHashsrcPos - see System.arraycopy(Object, int, Object, int, int)dest - see System.arraycopy(Object, int, Object, int, int)destPos - see System.arraycopy(Object, int, Object, int, int)length - see System.arraycopy(Object, int, Object, int, int)public FlatHashIterator iterator()
iterator in interface FlatHashIterableCopyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.