Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java @ 6528:735df49affd1
Antidoc: Strip "This method" from short doc strings.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 02 Jul 2013 09:57:17 +0200 |
parents | a0078e5e3b39 |
children | da0249ddcba7 |
comparison
equal
deleted
inserted
replaced
6527:e1e04db79e3c | 6528:735df49affd1 |
---|---|
176 return d != null ? d.indexOf("Oracle") >= 0 : false; | 176 return d != null ? d.indexOf("Oracle") >= 0 : false; |
177 } | 177 } |
178 | 178 |
179 | 179 |
180 /** | 180 /** |
181 * This method returns an WQ_MODE enum which is based on the parameters | 181 * Returns an WQ_MODE enum which is based on the parameters |
182 * stored in <i>flys</i> Artifact. If there is no <i>wq_isq</i> parameter | 182 * stored in <i>flys</i> Artifact. If there is no <i>wq_isq</i> parameter |
183 * existing, WQ_MODE.NONE is returned. | 183 * existing, WQ_MODE.NONE is returned. |
184 * | 184 * |
185 * @param flys The D4EArtifact that stores wq mode relevant parameters. | 185 * @param flys The D4EArtifact that stores wq mode relevant parameters. |
186 * | 186 * |
695 return url; | 695 return url; |
696 } | 696 } |
697 | 697 |
698 | 698 |
699 /** | 699 /** |
700 * This method returns the description for a given <i>km</i> for a specific | 700 * Returns the description for a given <i>km</i> for a specific |
701 * river. The river is provided by the D4EArtifact <i>flys</i>. | 701 * river. The river is provided by the D4EArtifact <i>flys</i>. |
702 * | 702 * |
703 * @param flys The D4EArtifact that provides a river. | 703 * @param flys The D4EArtifact that provides a river. |
704 * @param km The kilometer. | 704 * @param km The kilometer. |
705 * | 705 * |
716 return LocationProvider.getLocation(river, km); | 716 return LocationProvider.getLocation(river, km); |
717 } | 717 } |
718 | 718 |
719 | 719 |
720 /** | 720 /** |
721 * This method returns the differences for a w-differences calculation. | 721 * Returns the differences for a w-differences calculation. |
722 * | 722 * |
723 * @param winfo The WINFOArtifact. | 723 * @param winfo The WINFOArtifact. |
724 * @param context The context. | 724 * @param context The context. |
725 * | 725 * |
726 * @return The differences as string separated by semicolon and linebreak. | 726 * @return The differences as string separated by semicolon and linebreak. |
804 } | 804 } |
805 } | 805 } |
806 | 806 |
807 | 807 |
808 /** | 808 /** |
809 * This method transform a string into an int array. Therefore, the string | 809 * Transform a string into an int array. Therefore, the string |
810 * <i>raw</i> must consist of int values separated by a <i>';'</i>. | 810 * <i>raw</i> must consist of int values separated by a <i>';'</i>. |
811 * | 811 * |
812 * @param raw The raw integer array as string separated by a ';'. | 812 * @param raw The raw integer array as string separated by a ';'. |
813 * | 813 * |
814 * @return an array of int values. | 814 * @return an array of int values. |
835 return integers.toNativeArray(); | 835 return integers.toNativeArray(); |
836 } | 836 } |
837 | 837 |
838 | 838 |
839 /** | 839 /** |
840 * This method transform a string into a long array. Therefore, the string | 840 * Transform a string into a long array. Therefore, the string |
841 * <i>raw</i> must consist of int values separated by a <i>';'</i>. | 841 * <i>raw</i> must consist of int values separated by a <i>';'</i>. |
842 * | 842 * |
843 * @param raw The raw long array as string separated by a ';'. | 843 * @param raw The raw long array as string separated by a ';'. |
844 * | 844 * |
845 * @return an array of int values. | 845 * @return an array of int values. |
866 return longs.toNativeArray(); | 866 return longs.toNativeArray(); |
867 } | 867 } |
868 | 868 |
869 | 869 |
870 /** | 870 /** |
871 * This method transform a string into an double array. Therefore, the | 871 * Transform a string into an double array. Therefore, the |
872 * string <i>raw</i> must consist of double values separated by a | 872 * string <i>raw</i> must consist of double values separated by a |
873 * <i>';'</i>. | 873 * <i>';'</i>. |
874 * | 874 * |
875 * @param raw The raw double array as string separated by a ';'. | 875 * @param raw The raw double array as string separated by a ';'. |
876 * | 876 * |