File: //lib/fm-agent/dependencies/linux/python3.9/jpype/__pycache__/_jcollection.cpython-39.pyc
a
��i� � @ s" d dl Z ddlmZ ddlmZ ddlmZ d dlmZmZm Z ej
Z
e�d�G dd � d e��Z
e�d
�G dd� de��Zd
d� Ze�d�G dd� de��Ze�d�G dd� de��Ze�d�G dd� de��Ze�d�G dd� de��Ze�d�G dd� de��Ze�d�G dd � d e��ZdS )!� N� )�_jclass)�types)�_jcustomizer)�Mapping�Sequence�MutableSequencezjava.lang.Iterablec @ s e Zd ZdZdd� ZdS )�
_JIterablez� Customizer for ``java.util.Iterable``
This customizer adds the Python iterator syntax to classes that
implement Java Iterable.
c C s | � � S �N)�iterator��self� r �D/usr/lib/fm-agent/dependencies/linux/python3.9/jpype/_jcollection.py�__iter__# s z_JIterable.__iter__N)�__name__�
__module__�__qualname__�__doc__r r r r r r s r zjava.util.Collectionc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_JCollectionz� Customizer for ``java.util.Collection``
This customizer adds the Python functions ``len()`` and ``del`` to
Java Collions to allow for Python syntax.
c C s | � � S r
��sizer r r r �__len__/ s z_JCollection.__len__c C s t dt| �j ��d S )Nz8'%s' does not support item deletion, use remove() method)� TypeError�typer �r
�ir r r �__delitem__2 s �z_JCollection.__delitem__c C s&