Retrieves the index of a link with a specified ID.

<p>Link indexes are consecutive integers starting from 1.

@param id link ID label.
@return the link index.
@throws EpanetException
261
public int ENgetlinkindex( String id ) throws EpanetException {
        int[] index = new int[1];
        int error = epanet.ENgetlinkindex(id, index);
        checkError(error);
        return index[0];
    }
572350
public OvhModuleList moduleList_id_GET(Long id) throws IOException {
		String qPath = "/hosting/web/moduleList/{id}";
		StringBuilder sb = path(qPath, id);
		String resp = execN(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhModuleList.class);
	}
531732
public static String parentResourceIdFromResourceId(String id) {
        if (id == null) {
            return null;
        }
        ResourceId resourceId = ResourceId.fromString(id);
        if (resourceId != null && resourceId.parent() != null) {
            return ResourceId.fromString(id).parent().id();
        }

        return null;
    }
711605
public static Application get(final String id) throws Exception {
        assert(id != null);

        final BandwidthClient client = BandwidthClient.getInstance();
        return Application.get(client ,id);
    }
483947
public static String domain2ns(String id) {
		int at = id.indexOf('@');
		if (at >= 0) {
			String[] domain = id.substring(at + 1).split("\\.");
			StringBuilder ns = new StringBuilder(id.length());
			boolean first = true;
			for (int i = domain.length - 1; i >= 0; --i) {
				if (first) {
					first = false;
				} else {
					ns.append('.');
				}
				ns.append(domain[i]);
			}
			return ns.toString();
		} else {
			return "";
		}

	}
497625
public HashSet<String> getDataById(String id) throws IOException {
    if (idToVersion.containsKey(id)) {
      return get(id);
    } else {
      return null;
    }
  }
776778
public AbstractRelationship getRelationship(final String id) {

		if (id == null) {
			return null;
		}

		final SecurityContext securityContext = getWebSocket().getSecurityContext();
		final App app = StructrApp.getInstance(securityContext);

		try (final Tx tx = app.tx()) {

			final AbstractRelationship rel = (AbstractRelationship) app.getRelationshipById(id);

			tx.success();

			return rel;

		} catch (FrameworkException fex) {
			logger.warn("Unable to get relationship", fex);
		}

		return null;
	}
261133
public static linkset_interface_binding[] get(nitro_service service, String id) throws Exception{
		linkset_interface_binding obj = new linkset_interface_binding();
		obj.set_id(id);
		linkset_interface_binding response[] = (linkset_interface_binding[]) obj.get_resources(service);
		return response;
	}
1188119
public String ENgetlinkid( int index ) throws EpanetException {
        ByteBuffer bb = ByteBuffer.allocate(64);
        int errcode = epanet.ENgetlinkid(index, bb);
        checkError(errcode);

        String label;
        label = byteBuffer2String(bb);
        return label;
    }
998068
protected void indexNode(int expandedTypeID, int identity)
  {

    ExpandedNameTable ent = m_expandedNameTable;
    short type = ent.getType(expandedTypeID);

    if (DTM.ELEMENT_NODE == type)
    {
      int namespaceID = ent.getNamespaceID(expandedTypeID);
      int localNameID = ent.getLocalNameID(expandedTypeID);

      ensureSizeOfIndex(namespaceID, localNameID);

      int[] index = m_elemIndexes[namespaceID][localNameID];

      index[index[0]] = identity;

      index[0]++;
    }
  }
311329
public Versioned<E> getVersionedById(int id) {
        Versioned<VListNode<E>> listNode = getListNode(id);
        if(listNode == null)
            throw new IndexOutOfBoundsException();
        return new Versioned<E>(listNode.getValue().getValue(), listNode.getVersion());
    }
146034
@Nullable
    public Relationship getRelationship(@Nonnull String id) {
        if (id == null || id.trim().length() == 0) {
            throw new IllegalArgumentException("A relationship ID must be specified.");
        }

        return relationshipsById.get(id);
    }
75909
public View getView(int id, int index){
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "getView("+id+", "+index+")");
		}
		
		View viewToReturn = getter.getView(id, index);
		if(viewToReturn == null) {
			String resourceName = "";
			try {
				resourceName = instrumentation.getTargetContext().getResources().getResourceEntryName(id);
			} catch (Exception e) {
				Log.d(config.commandLoggingTag, "unable to get resource entry name for ("+id+")");
			}

			int match = index + 1;
			if(match > 1){
				Assert.fail(match + " Views with id: '" + id + "', resource name: '" + resourceName + "' are not found!");
			}
			else {
				Assert.fail("View with id: '" + id + "', resource name: '" + resourceName + "' is not found!");
			}
		}
		return viewToReturn;
	}
610152
public int ENgetpatternindex( String id ) throws EpanetException {
        int[] index = new int[1];
        int error = epanet.ENgetpatternindex(id, index);
        checkError(error);
        return index[0];
    }
154388
public synchronized SICoreConnection get(int id) {
        if (tc.isEntryEnabled())
            SibTr.entry(tc, "get", "" + id);
        SICoreConnection retValue = (SICoreConnection) map.get(id);
        if (tc.isEntryEnabled())
            SibTr.exit(tc, "get", retValue);
        return retValue;
    }
82340
public String getItemValue(String id) {
        Item item = getItem(id);
        if (item != null)
            return item.getValue();
        return null;
    }
16594
public int indexOf(IESigType eSigType, String id) {
        return items.indexOf(new ESigItem(eSigType, id));
    }