2009-09-07 03:44:18 -07:00
|
|
|
|
/*
|
|
|
|
|
* VsqBPPair.cs
|
|
|
|
|
* Copyright (c) 2009 kbinani
|
|
|
|
|
*
|
|
|
|
|
* This file is part of Boare.Lib.Vsq.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.Vsq is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the BSD License.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.Vsq is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
*/
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if JAVA
|
|
|
|
|
package org.kbinani.vsq;
|
|
|
|
|
|
|
|
|
|
import java.io.*;
|
|
|
|
|
#else
|
2009-09-07 03:44:18 -07:00
|
|
|
|
using System;
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
|
|
|
|
namespace Boare.Lib.Vsq {
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if JAVA
|
|
|
|
|
public class VsqBPPair implements Cloneable, Serializable {
|
|
|
|
|
#else
|
2009-09-07 03:44:18 -07:00
|
|
|
|
[Serializable]
|
2009-07-30 08:02:59 -07:00
|
|
|
|
public struct VsqBPPair {
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|
2009-07-30 08:02:59 -07:00
|
|
|
|
public int value;
|
2009-09-07 03:44:18 -07:00
|
|
|
|
public long id;
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
2009-09-07 03:44:18 -07:00
|
|
|
|
public VsqBPPair( int value_, long id_ ) {
|
2009-07-30 08:02:59 -07:00
|
|
|
|
value = value_;
|
|
|
|
|
id = id_;
|
|
|
|
|
}
|
2010-03-16 20:14:08 -07:00
|
|
|
|
|
|
|
|
|
#if JAVA
|
|
|
|
|
public Object clone(){
|
|
|
|
|
return new VsqBPPair( value, id );
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2009-07-30 08:02:59 -07:00
|
|
|
|
}
|
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if !JAVA
|
2009-07-30 08:02:59 -07:00
|
|
|
|
}
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|