Skip to content
Snippets Groups Projects
Select Git revision
  • 777505434ca565d510c99df3079067b3a6eaaff7
  • master default
  • copilot/fix-776
  • vcpkg_cache
  • cmake_fixes
  • pulls/1772757862/750
  • copilot/fix-770
  • windows_ci_static
  • c_link
  • cpack
  • windows_ci
  • cert_pk_id
  • proxy_push_result
  • cnode_put_id
  • update-windows-build
  • proxy
  • resubscribe_on_token_change
  • actions
  • client_mode
  • llhttp
  • search_node_add
  • v3.5.0rc4
  • v3.5.0rc3
  • v3.5.0rc2
  • v3.5.0rc1
  • v3.4.0
  • v3.3.1
  • v3.3.1rc1
  • v3.3.1rc2
  • v3.3.0
  • v3.2.0
  • v3.1.11
  • v3.1.10
  • v3.1.9
  • v3.1.8.2
  • v3.1.8.1
  • v3.1.8
  • v3.1.7
  • v3.1.6
  • v3.1.5
  • v3.1.4
41 results

tools_common.h

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    IntegerMap.java 1.84 KiB
    /* ----------------------------------------------------------------------------
     * This file was automatically generated by SWIG (http://www.swig.org).
     * Version 2.0.11
     *
     * Do not make changes to this file unless you know what you are doing--modify
     * the SWIG interface file instead.
     * ----------------------------------------------------------------------------- */
    
    package org.sflphone.service;
    
    public class IntegerMap {
      private long swigCPtr;
      protected boolean swigCMemOwn;
    
      protected IntegerMap(long cPtr, boolean cMemoryOwn) {
        swigCMemOwn = cMemoryOwn;
        swigCPtr = cPtr;
      }
    
      protected static long getCPtr(IntegerMap obj) {
        return (obj == null) ? 0 : obj.swigCPtr;
      }
    
      protected void finalize() {
        delete();
      }
    
      public synchronized void delete() {
        if (swigCPtr != 0) {
          if (swigCMemOwn) {
            swigCMemOwn = false;
            SFLPhoneserviceJNI.delete_IntegerMap(swigCPtr);
          }
          swigCPtr = 0;
        }
      }
    
      public IntegerMap() {
        this(SFLPhoneserviceJNI.new_IntegerMap__SWIG_0(), true);
      }
    
      public IntegerMap(IntegerMap arg0) {
        this(SFLPhoneserviceJNI.new_IntegerMap__SWIG_1(IntegerMap.getCPtr(arg0), arg0), true);
      }
    
      public long size() {
        return SFLPhoneserviceJNI.IntegerMap_size(swigCPtr, this);
      }
    
      public boolean empty() {
        return SFLPhoneserviceJNI.IntegerMap_empty(swigCPtr, this);
      }
    
      public void clear() {
        SFLPhoneserviceJNI.IntegerMap_clear(swigCPtr, this);
      }
    
      public int get(String key) {
        return SFLPhoneserviceJNI.IntegerMap_get(swigCPtr, this, key);
      }
    
      public void set(String key, int x) {
        SFLPhoneserviceJNI.IntegerMap_set(swigCPtr, this, key, x);
      }
    
      public void del(String key) {
        SFLPhoneserviceJNI.IntegerMap_del(swigCPtr, this, key);
      }
    
      public boolean has_key(String key) {
        return SFLPhoneserviceJNI.IntegerMap_has_key(swigCPtr, this, key);
      }
    
    }