LimeWire Consolidated API

org.limewire.collection
Class IntPair

java.lang.Object
  extended by org.limewire.collection.IntPair

public class IntPair
extends Object

Provides the storage of two integers. No mutators or accessor methods needed.

    IntPair p = new IntPair(1,2);
    System.out.println("Pair is " + p.a + " & " + p.b);

    Output:
        Pair is 1 & 2


Field Summary
 int a
           
 int b
           
 
Constructor Summary
IntPair(int a, int b)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public int a

b

public int b
Constructor Detail

IntPair

public IntPair(int a,
               int b)

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.