slidewindow.java

来自「短信平台CMPP30 的JAVA程序,(含SQL数据库)」· Java 代码 · 共 54 行

JAVA
54
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   SlideWindow.java

package com.SMGP13.sharearea;

import java.util.Vector;

public class SlideWindow
{

    public static Vector data;
    private static SlideWindow instance = null;
    private static int length;

    protected SlideWindow()
    {
    }

    public static SlideWindow Instance()
    {
        if(instance == null)
            instance = new SlideWindow();
        return instance;
    }

    public static int getLength()
    {
        Integer integer = new Integer(length);
        JVM INSTR monitorenter ;
        return length;
        Exception exception;
        exception;
        integer;
        JVM INSTR monitorexit ;
        throw exception;
    }

    public static void setLength(int wl)
    {
        synchronized(new Integer(length))
        {
            length = wl;
        }
    }

    static 
    {
        length = 1000;
        data = new Vector(length, 0);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?