package com.google.android.gms.maps.model.internal; import android.os.RemoteException; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.PolylineOptions; import java.util.Collections; import java.util.List; /** * TODO */ public class PolylineImpl extends IPolylineDelegate.Stub { private List points; private float zIndex; private boolean geodesic; private boolean visible; private String id; private float width; private int color; public PolylineImpl(PolylineOptions options) { } @Override public void remove() throws RemoteException { } @Override public String getId() throws RemoteException { return id; } @Override public void setPoints(List points) throws RemoteException { this.points = points; } @Override public List getPoints() throws RemoteException { return points == null ? Collections.emptyList() : points; } @Override public void setWidth(float width) throws RemoteException { this.width = width; } @Override public float getWidth() throws RemoteException { return width; } @Override public void setColor(int color) throws RemoteException { this.color = color; } @Override public int getColor() throws RemoteException { return color; } @Override public void setZIndex(float zIndex) throws RemoteException { this.zIndex = zIndex; } @Override public float getZIndex() throws RemoteException { return zIndex; } @Override public void setVisible(boolean visible) throws RemoteException { this.visible = visible; } @Override public boolean isVisible() throws RemoteException { return visible; } @Override public void setGeodesic(boolean geod) throws RemoteException { this.geodesic = geod; } @Override public boolean isGeodesic() throws RemoteException { return geodesic; } @Override public boolean equalsRemote(IPolylineDelegate other) throws RemoteException { if (other.getId().equals(getId())) { return true; } return false; } @Override public int hashCodeRemote() throws RemoteException { return id.hashCode(); } }