mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-23 19:22:02 -08:00
48 lines
992 B
C#
48 lines
992 B
C#
/*
|
|
* 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.
|
|
*/
|
|
#if JAVA
|
|
package org.kbinani.vsq;
|
|
|
|
import java.io.*;
|
|
#else
|
|
using System;
|
|
|
|
namespace Boare.Lib.Vsq {
|
|
#endif
|
|
|
|
#if JAVA
|
|
public class VsqBPPair implements Cloneable, Serializable {
|
|
#else
|
|
[Serializable]
|
|
public struct VsqBPPair {
|
|
#endif
|
|
public int value;
|
|
public long id;
|
|
|
|
public VsqBPPair( int value_, long id_ ) {
|
|
value = value_;
|
|
id = id_;
|
|
}
|
|
|
|
#if JAVA
|
|
public Object clone(){
|
|
return new VsqBPPair( value, id );
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !JAVA
|
|
}
|
|
#endif
|