⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 queuesample.java

📁 jdk-6u10-docs java开发宝典
💻 JAVA
字号:
/** * QueueSample.java - Java type representing a snapshot of a given queue. * It bundles together the instant time the snapshot was taken, the queue * size and the queue head. */package com.example.mxbeans;import java.beans.ConstructorProperties;import java.util.Date;public class QueueSample {        private final Date date;    private final int size;    private final String head;        @ConstructorProperties({"date", "size", "head"})    public QueueSample(Date date, int size, String head) {        this.date = date;        this.size = size;        this.head = head;    }        public Date getDate() {        return date;    }        public int getSize() {        return size;    }        public String getHead() {        return head;    }}

⌨️ 快捷键说明

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