package com.skyline.electricity.pojo;
|
|
import java.util.*;
|
|
public class Positions
|
{
|
private List<Double> cartographicDegrees;
|
|
public Positions() {
|
this.cartographicDegrees = new ArrayList<Double>();
|
}
|
|
public List<Double> getCartographicDegrees() {
|
return this.cartographicDegrees;
|
}
|
|
public void setCartographicDegrees(final List<Double> cartographicDegrees) {
|
this.cartographicDegrees = cartographicDegrees;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof Positions)) {
|
return false;
|
}
|
final Positions other = (Positions)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$cartographicDegrees = this.getCartographicDegrees();
|
final Object other$cartographicDegrees = other.getCartographicDegrees();
|
if (this$cartographicDegrees == null) {
|
if (other$cartographicDegrees == null) {
|
return true;
|
}
|
}
|
else if (this$cartographicDegrees.equals(other$cartographicDegrees)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Positions;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $cartographicDegrees = this.getCartographicDegrees();
|
result = result * 59 + (($cartographicDegrees == null) ? 43 : $cartographicDegrees.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "Positions(cartographicDegrees=" + this.getCartographicDegrees() + ")";
|
}
|
}
|