public class ArrayFront extends Object implements Front
| Constructor and Description |
|---|
ArrayFront()
Constructor
|
ArrayFront(Front front)
Copy Constructor
|
ArrayFront(int numberOfPoints,
int dimensions)
Constructor
|
ArrayFront(List<? extends Solution> solutionList)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
createInputStream(String fileName) |
boolean |
equals(Object o) |
int |
getNumberOfPoints() |
Point |
getPoint(int index) |
int |
getPointDimensions() |
int |
hashCode() |
void |
readFrontFromFile(String fileName) |
void |
setPoint(int index,
Point point) |
void |
sort(Comparator<Point> comparator) |
public ArrayFront()
public ArrayFront(Front front)
public ArrayFront(int numberOfPoints,
int dimensions)
public void readFrontFromFile(String fileName) throws FileNotFoundException
readFrontFromFile in interface FrontFileNotFoundExceptionpublic InputStream createInputStream(String fileName)
public int getNumberOfPoints()
getNumberOfPoints in interface Frontpublic int getPointDimensions()
getPointDimensions in interface Frontpublic void sort(Comparator<Point> comparator)
Copyright © 2015. All rights reserved.