Transactional implementation of :func:`List.add(item) <hazelcast.proxy.list.List.add>`

        :param item: (object), the new item to be added.
        :return: (bool), ``true`` if the item is added successfully, ``false`` otherwise.
179069
def add(self, item):
        
        check_not_none(item, "item can't be none")
        return self._encode_invoke(transactional_list_add_codec, item=self._to_data(item))
1259297
def Append(self, item):
    
    if self._index >= self._size:
      self._index = self._index % self._size

    try:
      self._list[self._index] = item
    except IndexError:
      self._list.append(item)
    self._index += 1
1184825
function(item) {
      var self = this;
      var items = Array.isArray(item) ? item : [item];
      var added = false;
      _.each(items, function(item) {
        if(!_.contains(self.items, item)) {
          self.items.push(item);
          if(item && item.klass == 'Instance') {
            item.once('delete', function() {
              self.remove(item);
            });
          };
          added = true;
        }
      });
      if(added) {
        self.emit('add');
        self.emit('change:size');
        self.emit('change');
      }
      return self;
    }
161201
def add(self, item):
        
        if not item.startswith(self.prefix):
            item = os.path.join(self.base, item)
        self.files.add(os.path.normpath(item))
1220206
public static <E, T extends E> void add(List<E> list, int index, T item){
        if(index<list.size())
            list.add(index, item);
        else
            list.add(item);
    }
840351
def handleTagChange( self, item ):
        
        # :note PySide == operator not defined for QListWidgetItem.  In this
        #       in this case, we're just checking if the object is the exact
        #       same, so 'is' works just fine.
        create_item = self.createItem()
        if item is create_item:
            self.addTag(create_item.text())
        
        elif self.isTagValid(item.text()):
            item.setText(item.text())
923390
def add(self, item, value):
        
        if item in self.__dict__[self.ATTRIBUTES].keys():
            raise AttributeError('%s already exists' % item)
        setattr(self, item, value)
230207
public synchronized void put(byte[] item)
   {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "put", item);

      checkValid();
      getCurrentByteBuffer(item.length).put(item);

      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "put");
   }
775570
def addItem( self, item ):
        
        result = super(XCalendarScene, self).addItem(item)
        
        if ( isinstance(item, XCalendarItem) ):
            item.rebuild()
        
        return result
1205463
def push(self, item):
        
        if item in self.pushed:
            return
        frame = (item, iter(item[1]))
        self.stack.append(frame)
        self.pushed.add(item)
1324110
def append(self, item, select=False):
        
        if item in self:
            raise ValueError("item %s already in list" % item)
        modeliter = self.model.append((item,))
        self._id_to_iter[id(item)] = modeliter
        if select:
            self.selected_item = item
        self.emit('item-added', item)
643664
def append(self, item):
        
        self.check_insertion(item)

        self.real_list.append(item)
        self._items |= {item}
78651
def append(self, item):
        
        self.real_list.append(item)
        self.observer(UpdateType.CREATED, item, len(self.real_list) - 1)
885092
def insert(self, index, item):
        # type: (int, Any) -> None
        
        return list.insert(self, index, self.ref(item))
1246689
def do(self, fn, message=None, *args, **kwargs):
        
        self.items.put(ChainItem(fn, self.do, message, *args, **kwargs))
        return self
283403
def add_item(self, item, **options):
        
        export_item = {
            "item": item.url,
        }
        export_item.update(options)
        self.items.append(export_item)
        return self
929762
def append(self, item):
    
    if self.should_flush():
      self.flush()
    self.items.append(item)