LUCENE-7167:

Make solid variants package private

More public->package private
This commit is contained in:
Karl Wright 2016-04-03 09:43:11 -04:00
parent 1040fcbf42
commit 0843e95f0c
32 changed files with 35 additions and 35 deletions

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public abstract class BaseXYZSolid extends BasePlanetObject implements XYZSolid {
abstract class BaseXYZSolid extends BasePlanetObject implements XYZSolid {
/** Unit vector in x */
protected static final Vector xUnitVector = new Vector(1.0, 0.0, 0.0);

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public abstract class GeoBaseBBox extends GeoBaseMembershipShape implements GeoBBox {
abstract class GeoBaseBBox extends GeoBaseMembershipShape implements GeoBBox {
/** Construct, given planet model.
*@param planetModel is the planet model.

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.experimental
*/
public abstract class GeoBaseCircle extends GeoBaseDistanceShape implements GeoCircle {
abstract class GeoBaseCircle extends GeoBaseDistanceShape implements GeoCircle {
/** Constructor.
*@param planetModel is the planet model to use.

View File

@ -19,9 +19,9 @@ package org.apache.lucene.spatial3d.geom;
/**
* GeoBasePolygon objects are the base class of most GeoPolygon objects.
*
* @lucene.experimental
* @lucene.internal
*/
public abstract class GeoBasePolygon extends GeoBaseMembershipShape implements GeoPolygon {
abstract class GeoBasePolygon extends GeoBaseMembershipShape implements GeoPolygon {
/** Constructor.
*@param planetModel is the planet model to use.

View File

@ -28,9 +28,9 @@ import java.util.Map;
* a maximum extent larger than PI. Violating either one of these limits will
* cause the logic to fail.
*
* @lucene.experimental
* @lucene.internal
*/
public class GeoConcavePolygon extends GeoBasePolygon {
class GeoConcavePolygon extends GeoBasePolygon {
/** The list of polygon points */
protected final List<GeoPoint> points;
/** A bitset describing, for each edge, whether it is internal or not */

View File

@ -28,9 +28,9 @@ import java.util.Map;
* a maximum extent no larger than PI. Violating either one of these limits will
* cause the logic to fail.
*
* @lucene.experimental
* @lucene.internal
*/
public class GeoConvexPolygon extends GeoBasePolygon {
class GeoConvexPolygon extends GeoBasePolygon {
/** The list of polygon points */
protected final List<GeoPoint> points;
/** A bitset describing, for each edge, whether it is internal or not */

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoDegenerateHorizontalLine extends GeoBaseBBox {
class GeoDegenerateHorizontalLine extends GeoBaseBBox {
/** Latitude of horizontal line */
protected final double latitude;
/** Left bounding longitude of line */

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoDegenerateLatitudeZone extends GeoBaseBBox {
class GeoDegenerateLatitudeZone extends GeoBaseBBox {
/** The latitude */
protected final double latitude;
/** Sine of the latitude */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoDegenerateLongitudeSlice extends GeoBaseBBox {
class GeoDegenerateLongitudeSlice extends GeoBaseBBox {
/** The longitude of the slice */
protected final double longitude;

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoDegeneratePoint extends GeoPoint implements GeoBBox, GeoCircle {
class GeoDegeneratePoint extends GeoPoint implements GeoBBox, GeoCircle {
/** Current planet model, since we don't extend BasePlanetObject */
protected final PlanetModel planetModel;
/** Edge point is an area containing just this */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoLatitudeZone extends GeoBaseBBox {
class GeoLatitudeZone extends GeoBaseBBox {
/** The top latitude of the zone */
protected final double topLat;
/** The bottom latitude of the zone */

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoLongitudeSlice extends GeoBaseBBox {
class GeoLongitudeSlice extends GeoBaseBBox {
/** The left longitude of the slice */
protected final double leftLon;
/** The right longitude of the slice */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoNorthLatitudeZone extends GeoBaseBBox {
class GeoNorthLatitudeZone extends GeoBaseBBox {
/** The bottom latitude of the zone */
protected final double bottomLat;
/** Cosine of the bottom latitude of the zone */

View File

@ -24,7 +24,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoNorthRectangle extends GeoBaseBBox {
class GeoNorthRectangle extends GeoBaseBBox {
/** The bottom latitude of the rectangle */
protected final double bottomLat;
/** The left longitude */

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoRectangle extends GeoBaseBBox {
class GeoRectangle extends GeoBaseBBox {
/** The top latitude of the rect */
protected final double topLat;
/** The bottom latitude of the rect */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoSouthLatitudeZone extends GeoBaseBBox {
class GeoSouthLatitudeZone extends GeoBaseBBox {
/** The top latitude of the zone */
protected final double topLat;
/** The cosine of the top latitude of the zone */

View File

@ -24,7 +24,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoSouthRectangle extends GeoBaseBBox {
class GeoSouthRectangle extends GeoBaseBBox {
/** The top latitude of the rect */
protected final double topLat;
/** The left longitude of the rect */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.experimental
*/
public class GeoStandardCircle extends GeoBaseCircle {
class GeoStandardCircle extends GeoBaseCircle {
/** Center of circle */
protected final GeoPoint center;
/** Cutoff angle of circle (not quite the same thing as radius) */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWideDegenerateHorizontalLine extends GeoBaseBBox {
class GeoWideDegenerateHorizontalLine extends GeoBaseBBox {
/** The latitude of the line */
protected final double latitude;
/** The left longitude cutoff of the line */

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWideLongitudeSlice extends GeoBaseBBox {
class GeoWideLongitudeSlice extends GeoBaseBBox {
/** The left longitude */
protected final double leftLon;
/** The right longitude */

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWideNorthRectangle extends GeoBaseBBox {
class GeoWideNorthRectangle extends GeoBaseBBox {
/** Bottom latitude */
protected final double bottomLat;
/** Left longitude */

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWideRectangle extends GeoBaseBBox {
class GeoWideRectangle extends GeoBaseBBox {
/** The top latitude */
protected final double topLat;
/** The bottom latitude */

View File

@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWideSouthRectangle extends GeoBaseBBox {
class GeoWideSouthRectangle extends GeoBaseBBox {
/** Top latitude of rect */
protected final double topLat;
/** Left longitude of rect */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class GeoWorld extends GeoBaseBBox {
class GeoWorld extends GeoBaseBBox {
/** No points on the edge of the shape */
protected final static GeoPoint[] edgePoints = new GeoPoint[0];
/** Point in the middle of the world */

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class StandardXYZSolid extends BaseXYZSolid {
class StandardXYZSolid extends BaseXYZSolid {
/** Whole world? */
protected final boolean isWholeWorld;

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class XYdZSolid extends BaseXYZSolid {
class XYdZSolid extends BaseXYZSolid {
/** Min-X plane */
protected final SidedPlane minXPlane;

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class XdYZSolid extends BaseXYZSolid {
class XdYZSolid extends BaseXYZSolid {
/** Min-X plane */
protected final SidedPlane minXPlane;

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class XdYdZSolid extends BaseXYZSolid {
class XdYdZSolid extends BaseXYZSolid {
/** The points in this figure on the planet surface; also doubles for edge points */
protected final GeoPoint[] surfacePoints;

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class dXYZSolid extends BaseXYZSolid {
class dXYZSolid extends BaseXYZSolid {
/** X plane */
protected final Plane xPlane;

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class dXYdZSolid extends BaseXYZSolid {
class dXYdZSolid extends BaseXYZSolid {
/** The points in this figure on the planet surface; also doubles for edge points */
protected final GeoPoint[] surfacePoints;

View File

@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class dXdYZSolid extends BaseXYZSolid {
class dXdYZSolid extends BaseXYZSolid {
/** The points in this figure on the planet surface; also doubles for edge points */
protected final GeoPoint[] surfacePoints;

View File

@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
*
* @lucene.internal
*/
public class dXdYdZSolid extends BaseXYZSolid {
class dXdYdZSolid extends BaseXYZSolid {
/** On surface? */
protected final boolean isOnSurface;