Last change
on this file since 13601 was 10600, checked in by Don-vip, 8 years ago |
see #11390 - sonar - squid:S1609 - Java 8: @FunctionalInterface annotation should be used to flag Single Abstract Method interfaces
|
-
Property svn:eol-style
set to
native
|
File size:
689 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.projection.proj;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * A {@link Proj} implements this interface, if it derives the scale factor
|
---|
6 | * value from it's other input parameters.
|
---|
7 | *
|
---|
8 | * (Normally the scale factor is projection input parameter and the Proj
|
---|
9 | * class does not deal with it.)
|
---|
10 | *
|
---|
11 | * @see Proj
|
---|
12 | * @since 9565 (creation)
|
---|
13 | * @since 10600 (functional interface)
|
---|
14 | */
|
---|
15 | @FunctionalInterface
|
---|
16 | public interface IScaleFactorProvider {
|
---|
17 | /**
|
---|
18 | * Get the scale factor.
|
---|
19 | * Will be multiplied by the scale factor parameter, if supplied by the user
|
---|
20 | * explicitly.
|
---|
21 | * @return the scale factor
|
---|
22 | */
|
---|
23 | double getScaleFactor();
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.