public interface SerialFieldTag extends Tag, Comparable<Object>
The class parses and stores the three serialField tag parameters: - field name - field type name (fully-qualified or visible from the current import context) - description of the valid values for the fieldこのタグは、特別なメンバーであるserialPersistentFieldsに対するjavadocの中でだけ使用できます。
ObjectStreamField
修飾子と型 | メソッドと説明 |
---|---|
int |
compareTo(Object obj)
このオブジェクトと指定されたオブジェクトの順序を比較します。
|
String |
description()
フィールドのコメントを返します。
|
String |
fieldName()
Serializableフィールドの名前を返します。
|
String |
fieldType()
フィールドの型を表す文字列を返します。
|
ClassDoc |
fieldTypeDoc()
フィールド型のClassDocを返します。
|
firstSentenceTags, holder, inlineTags, kind, name, position, text, toString
String fieldName()
String fieldType()
ClassDoc fieldTypeDoc()
String description()
int compareTo(Object obj)
SerialFieldTagの項目がjava.lang.Comparableとなるようにするために使用します。
compareTo
、インタフェース: Comparable<Object>
obj
- 比較対象のObject
。ClassCastException
- 指定されたオブジェクトの型が、このオブジェクトと比較できない型の場合。 バグまたは機能を送信
Java は米国ならびにその他の国における Oracle Corporation およびその関連企業の商標または登録商標です。
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.