Mercurial > dive4elements > river
view flys-aft/src/main/java/de/intevation/aft/IdPair.java @ 4902:e1566938d04c
Added new functions to datacage templating language.
* get minimum of location/distance:
dc:fromValue($ld_mode, $ld_locations, $ld_from)
- returns -Double.MAX_VALUE if no min exists.
* get maximum of location/distance:
dc:toValue($ld_mode, $ld_locations, $ld_to)
- returns Double.MAX_VALUE if no max exists.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 29 Jan 2013 17:11:26 +0100 |
parents | a310aceb2e51 |
children |
line wrap: on
line source
package de.intevation.aft; public class IdPair { protected int id1; protected int id2; public IdPair() { } public IdPair(int id1) { this.id1 = id1; } public IdPair(int id1, int id2) { this(id1); this.id2 = id2; } public int getId1() { return id1; } public void setId1(int id1) { this.id1 = id1; } public int getId2() { return id2; } public void setId2(int id2) { this.id2 = id2; } public String toString() { return "[IdPair: id1=" + id1 + ", id2=" + id2 + "]"; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :