---
title: "JAVA一些用于作标志位的一些接口"
author: "SilenceGG"
date: "2015-10-11T13:18:49Z"
tags: []
categories: ["企业架构"]
slug: "java"
draft: false
lastmod: "2015-10-11T15:34:13Z"
id: 2248338
url: "https://silencegg.iteye.com/blog/2248338"
---

Java 中 有很多接口内容为空的 ,基本上是用来做标志位的, 比如 RandomAccess  ,   Serializable

 

   基本都是配合  instanceof*一起使用*