Standard Interfaces

前端 未结 8 845
眼角桃花
眼角桃花 2021-02-06 03:09

I\'ve used Java for some time and I keep hearing about interfaces such as Cloneable, Iterable and other X-ables.

I was wondering

8条回答
  •  攒了一身酷
    2021-02-06 03:36

    From the API docs:

    AccessibleStreamable
    AdapterActivatorOperations
    Callable
    Cloneable
    Closeable
    Comparable
    Compilable
    Destroyable
    Externalizable
    Flushable
    Formattable
    Invocable
    ItemSelectable
    Iterable
    JMXAddressable
    Joinable
    Pageable
    Printable
    Readable
    Referenceable
    Refreshable
    Runnable
    Scrollable
    Serializable
    StateEditable
    Streamable
    Transferable
    TypeVariable
    TypeVariable
    VM_TRUNCATABLE
    

    I use Cloneable, Comparable, Iterable, Runnable and of course Throwable :-)

提交回复
热议问题