PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/facebook-java-api/src/main/java/com/google/code/facebookapi/IPair.java

http://facebook-java-api.googlecode.com/
Java | 39 lines | 7 code | 6 blank | 26 comment | 0 complexity | 336deb18e2ac968bedb003a73505de1e MD5 | raw file
 1/*
 2 * Copyright 2007, BigTribe Corporation. All rights reserved.
 3 *
 4 * This software is an unpublished work subject to a confidentiality agreement
 5 * and protected by copyright and trade secret law.  Unauthorized copying,
 6 * redistribution or other use of this work is prohibited.  All copies must
 7 * retain this copyright notice.  Any use or exploitation of this work without
 8 * authorization could subject the perpetrator to criminal and civil liability.
 9 *
10 * The information in this software is subject to change without notice
11 * and should not be construed as a commitment by BigTribe Corporation.
12 *
13 * The above copyright notice does not indicate actual or intended publication
14 * of this source code.
15 *
16 * $Id: bigtribetemplates.xml 5524 2006-04-06 09:40:52 -0700 (Thu, 06 Apr 2006) greening $
17 */
18package com.google.code.facebookapi;
19
20/**
21 * This interface provides backwards compatibility between Pair<URL, URL> and IFeedImage instances used in feed.* API calls, so that code that was written using the
22 * former method is not forced to be rewritten in order to conform to the latter.
23 * 
24 * @param <N>
25 *            The type of the first object in the pair.
26 * @param <V>
27 *            The type of the second object in the pair.
28 */
29public interface IPair<N,V> {
30
31	public void setFirst( N first );
32
33	public N getFirst();
34
35	public void setSecond( V second );
36
37	public V getSecond();
38
39}