X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fgeneral%2FPair.java;h=dd78180f6b6fbd8446fe58d59ca2b24e810ac51c;hb=26805fc0810098c4bd8009a35c8719478e74153e;hp=e041729bea3d38b72b4fc4a1150f7bf937d645df;hpb=f4d446b84fa1a38ed83cd157f79fdb8233822145;p=utils diff --git a/support/general/src/main/java/org/wamblee/general/Pair.java b/support/general/src/main/java/org/wamblee/general/Pair.java index e041729b..dd78180f 100644 --- a/support/general/src/main/java/org/wamblee/general/Pair.java +++ b/support/general/src/main/java/org/wamblee/general/Pair.java @@ -1,12 +1,12 @@ /* - * Copyright 2005 the original author or authors. - * + * Copyright 2005-2010 the original author or authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -15,16 +15,15 @@ */ package org.wamblee.general; - /** * Represents a pair of objects. This is inspired on the C++ Standard Template * Library pair template. - * + * * @param * Type of the first object. * @param * Type of the second object. - * + * * @author Erik Brakkee */ public class Pair { @@ -33,7 +32,7 @@ public class Pair { /** * Constructs the pair. - * + * * @param aT * First object. * @param aU @@ -46,7 +45,7 @@ public class Pair { /** * Copies a pair. - * + * * @param aPair * Pair to copy. */ @@ -57,7 +56,7 @@ public class Pair { /** * Gets the first object of the pair. - * + * * @return First object. */ public T getFirst() { @@ -66,7 +65,7 @@ public class Pair { /** * Gets the second object of the pair. - * + * * @return Second object. */ public U getSecond() {