Returns the member which last matched a message
@param preferedKey
@return
514446
public ConsumableKey getMatchingMember(ConsumableKey preferedKey)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getMatchingMember");

    ConsumableKey key = null;

    // The last move of the getCursor found a match
    if(currentMatch)
    {
      // There was a general waiter so we'll try to use the preferred
      // member
      if(currentMatchingMember == null)
      {
        // We can only choose the preferred member if they are not specific
        if(!preferedKey.isSpecific())
          key = preferedKey;
        else if(generalMemberCount > 0)
          key = resolvedKey();
      }
      // The match was to a specific member, we much choose then
      else
        key = currentMatchingMember;
    }
    else
    {
      // There was no match
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getMatchingMember", "SIErrorException");
        throw new SIErrorException(
          nls.getFormattedMessage(
            "INTERNAL_MESSAGING_ERROR_CWSIP0001",
            new Object[] {
              "com.ibm.ws.sib.processor.impl.LocalQPConsumerKeyGroup",
              "1:982:1.6.1.14" },
            null));
    }

    // We shouldn't be here if we didn't get a match
    if(key == null)
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getMatchingMember", "SIErrorException");
        throw new SIErrorException(
          nls.getFormattedMessage(
            "INTERNAL_MESSAGING_ERROR_CWSIP0001",
            new Object[] {
              "com.ibm.ws.sib.processor.impl.LocalQPConsumerKeyGroup",
              "1:995:1.6.1.14" },
            null));
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getMatchingMember", key);

    return key;
  }
1369300
public String getIssueKey() {
        Issue issue = getAnnotation(Issue.class);
        return issue == null ? null : issue.value();
    }
904867
@Deprecated
    public List<Membership> getMemberships(String projectKey)
            throws RedmineException {
        return transport.getChildEntries(Project.class, projectKey, Membership.class);
    }
870975
private synchronized String createDelimitedList(String preferred) {
		StringBuffer listBuf = new StringBuffer();
		int prefIndex = order.indexOf(preferred);
		// remove preferred and add it back at the end to ensure it is not
		// duplicated in the list returned
		if (prefIndex != -1) {
			listBuf.append(preferred);
		}

		for (int i = 0; i < order.size(); i++) {
			if (prefIndex == i) {
				continue;
			}
			listBuf.append("," + (String) order.elementAt(i));
		}

		if (prefIndex == -1 && listBuf.length() > 0) {
			return listBuf.toString().substring(1);
		}
		return listBuf.toString();
	}
840168
protected SortKey getSortKey(String column) {

        if (column == null) {
            return null;
        }
        if (column.equals(LIST_COLUMN_EMAIL)) {
            return SortKey.email;
        } else if (column.equals(LIST_COLUMN_LOGIN)) {
            return SortKey.loginName;
        } else if (column.equals(LIST_COLUMN_NAME)) {
            return SortKey.fullName;
        }
        return null;
    }
504404
public MailAccount lookupUsedMailAccountForCurrentThread(final String accountReservationKey) {
		lock.lock();
		try {
			Map<MailAccount, ThreadReservationKeyWrapper> usedAccountsForThread = filterValues(usedAccounts, new CurrentThreadWrapperPredicate());
			if (!usedAccountsForThread.isEmpty()) {
				for (Entry<MailAccount, ThreadReservationKeyWrapper> entry : usedAccountsForThread.entrySet()) {
					if (entry.getValue().accountReservationKey.equals(accountReservationKey)) {
						return entry.getKey();
					}
				}
			}

			return null;
		} finally {
			lock.unlock();
		}
	}
1028253
public long getLastCompleted() {
    // If there are any queued events, return the index prior to the first event in the queue.
    EventHolder event = events.peek();
    if (event != null && event.eventIndex > completeIndex) {
      return event.eventIndex - 1;
    }
    // If no events are queued, return the highest index applied to the session.
    return lastApplied;
  }
232190
private GBSNode lastInList(
    GBSNode       p)
  {
    GBSNode q = p;
    p = p.rightChild();
    while (p != null)
    {
      q = p;
      p = p.rightChild();
    }
    return q;
  }
423341
public StringBuffer getMessageKey(StringBuffer sb)
    {
        if (sb == null)
            sb = new StringBuffer();
        if (m_messageDataDescChildren != null)
        {
            for (String strKey : m_messageDataDescChildren.keySet())
            {
                MessageDataDesc messageDataDesc = m_messageDataDescChildren.get(strKey);
                messageDataDesc.getMessageKey(sb);
            }
        }
        return sb;
    }
1340740
private final int getRoundKey(final int key, final boolean upORdown, final boolean acceptEqual) {
		if (isEmpty())
			return NULL_VALUE;
		int slot = findSlotByKey(key);
		if (upORdown) {
			// ceiling / higher
			slot = ((slot < 0) ? (-slot) - 1 : (acceptEqual ? slot : slot + 1));
			if (slot >= allocated) {
				return NULL_VALUE;
			}
		} else {
			// floor / lower
			slot = ((slot < 0) ? (-slot) - 2 : (acceptEqual ? slot : slot - 1));
			if (slot < 0) {
				return NULL_VALUE;
			}
		}
		return keys[slot];
	}
384073
public java.lang.String getRendezvousKey() {
    java.lang.Object ref = rendezvousKey_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      rendezvousKey_ = s;
      return s;
    }
  }
1280213
private String chooseClientAliasForKey(String preferredAlias, String keyType, Principal[] issuers, Socket socket)
	{
		String[] aliases = getClientAliases(keyType, issuers);

		if (aliases != null && aliases.length > 0) {
			for (int i=0; i<aliases.length;i++) {
				if (preferredAlias.equals(aliases[i])) {
					return aliases[i];
				}
			}
		}
		return null;
	}
477768
private E getBest(Locale... preferredLocales) {
    long bestGoodness = 0;
    Locale bestKey = null;
    for (Locale locale : preferredLocales) {
      for (Locale key : values.keySet()) {
        long goodness = computeGoodness(locale, key);
        if (goodness > bestGoodness)
          bestKey = key;
      }
    }
    if (bestKey != null)
      return exactGet(bestKey);
    return null;
  }
294445
public static String getPrefixedKey(String preferenceContainerID, String preferenceName) {
		return getXtextKey(getPropertyPrefix(preferenceContainerID), preferenceName);
	}
589063
@Override
   public long getLastModified()
   {
      try
      {
         if (!connected)
         {
            connect();
         }

         return nodeRepresentation.getLastModified();
      }
      catch (IOException e)
      {
         if (LOG.isTraceEnabled())
         {
            LOG.trace("An exception occurred: " + e.getMessage());
         }
      }
      catch (RepositoryException e)
      {
         if (LOG.isTraceEnabled())
         {
            LOG.trace("An exception occurred: " + e.getMessage());
         }
      }
      return 0;
   }
57110
public static String get(MessageKey key) {
        return data.getProperty(key.toString(), key.toString());
    }
928266
public int last() {
    assertNonEmpty();
    short lastKey = keys[size - 1];
    Container container = values[size - 1];
    return lastKey << 16 | container.last();
  }