Get the unknown rule at the specified index.

@param nIndex
The index to be resolved. Should be &ge; 0 and &lt;
{@link #getUnknownRuleCount()}.
@return <code>null</code> if an invalid index was specified.
@since 3.7.4
328294
@Nullable
  public CSSUnknownRule getUnknownRuleAtIndex (@Nonnegative final int nIndex)
  {
    return m_aRules.getAtIndexMapped (r -> r instanceof CSSUnknownRule, nIndex, r -> (CSSUnknownRule) r);
  }
556088
@Nullable
  public CSSKeyframesRule getKeyframesRuleAtIndex (@Nonnegative final int nIndex)
  {
    return m_aRules.getAtIndexMapped (r -> r instanceof CSSKeyframesRule, nIndex, r -> (CSSKeyframesRule) r);
  }
860625
@Nullable
  private String getWordAfterEnumerationOrNull(List<String> words, int idx) {
    for (int i = idx; i < words.size(); i++) {
      String word = words.get(i);
      if (!(word.endsWith("-") || StringUtils.equalsAny(word, ",", "und", "oder", "sowie") || word.trim().isEmpty())) {
        return word;
      }
    }
    return null;
  }
314073
public synchronized int chooseGetCursorIndex(int previous)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "chooseGetCursorIndex", new Object[] {Integer.valueOf(previous)});
    
    // The zeroth index represents the default cursor for non-classified messages.
    int classPos = 0;
    if(classifications.getNumberOfClasses()>0)
    {
      // Need to determine the class of message to process
      if(previous == -1)
      {
        // First time through, get the initial weightings table
        weightMap = classifications.getWeightings();
      }
      else
      {
        // Need to remove previous entries from the weightMap
        weightMap.remove(Integer.valueOf(previous));
      }

      if(!weightMap.isEmpty())
      {
        classPos = classifications.findClassIndex(weightMap);
      } // eof non-empty weightmap
      else if(unitTestOperation)
      {
        // In a production environment we'd return zero in this case so that the
        // default cursor would be used. In a Unit test environment, where we are
        // classifying messages and where we have configured the test so that a
        // cursor associated with a specific classification should be used then
        // we'll alert the test to an error by throwing this exception.
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "chooseGetCursorIndex", "SIErrorException");        
        throw new SIErrorException();
      }
    }
   
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "chooseGetCursorIndex", classPos);
    
    return classPos;
  }
440078
@Override
    public LogRepositoryBrowser findNext(RepositoryPointerImpl location,
                                         long timelimit) {
        String[] instanceIds = location.getInstanceIds();
        if (instanceIds.length == 0) {
            logger.logp(Level.SEVERE, className, "findNext", "HPEL_NotRepositoryLocation");
            return null;
        }

        return findNext(parseTimeStamp(instanceIds[0]), timelimit);
    }
1047017
public <T> T get(int index) {
        if (size() <= index) {
            return null;
        }
        return (T) args.get(index);
    }
1074466
@Nullable
  public static <ENUMTYPE extends Enum <ENUMTYPE> & IHasIntID> ENUMTYPE getFromIDOrNull (@Nonnull final Class <ENUMTYPE> aClass,
                                                                                         final int nID)
  {
    return getFromIDOrDefault (aClass, nID, null);
  }
936948
public function getOrderNumber($orderIndex = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('orderNumber', $orderStatuses[$orderIndex])
            ? $orderStatuses[$orderIndex]['orderNumber'] : null;
    }
630830
public Object get(int index) {
    try {
      return getValue(index);
    } catch (JMFUninitializedAccessException ex) {
      // No FFDC code needed
      // This is an expected exception which just means the field is unset, so we return null.
    } catch (JMFException ex) {
      FFDCFilter.processException(ex, "com.ibm.ws.sib.mfp.jmf.impl.JSListImpl.get", "215", this);
    }
    return null;
  }
392919
public LogEntry getLogEntry(long entryIndex) {
        if (entryIndex < 1) {
            throw new IllegalArgumentException("Illegal index: " + entryIndex + ". Index starts from 1.");
        }
        if (!containsLogEntry(entryIndex)) {
            return null;
        }

        LogEntry logEntry = logs.read(toSequence(entryIndex));
        assert logEntry.index() == entryIndex : "Expected: " + entryIndex + ", Entry: " + logEntry;
        return logEntry;
    }
1286310
public int getBeginning(int index) {
		if (this.beginpos == null)
			throw new IllegalStateException("A result is not set.");
		if (index < 0 || this.nofgroups <= index)
			throw new IllegalArgumentException(
					"The parameter must be less than " + this.nofgroups + ": "
							+ index);
		return this.beginpos[index];
	}
466929
public MatchRule getMatchRule(int index) {
		if (index < rules.size()) {
			return rules.get(index);
		}
		return null;
	}
51198
@Nullable
  public CSSPageRule getPageRuleAtIndex (@Nonnegative final int nIndex)
  {
    return m_aRules.getAtIndexMapped (r -> r instanceof CSSPageRule, nIndex, r -> (CSSPageRule) r);
  }
652796
@Nullable
  public CSSViewportRule getViewportRuleAtIndex (@Nonnegative final int nIndex)
  {
    return m_aRules.getAtIndexMapped (r -> r instanceof CSSViewportRule, nIndex, r -> (CSSViewportRule) r);
  }
834407
private int getNonEmptyParentIndex() {
        return parent == null
                ? -1
                : parent.effectiveKeys().isEmpty() ? parent.getNonEmptyParentIndex() : parent.currentIndex;
    }
1078274
public int getCostRateTableIndex()
   {
      Integer value = (Integer) getCachedValue(AssignmentField.COST_RATE_TABLE);
      return value == null ? 0 : value.intValue();
   }
353755
@Nullable
  public CSSMediaRule getMediaRuleAtIndex (@Nonnegative final int nIndex)
  {
    return m_aRules.getAtIndexMapped (r -> r instanceof CSSMediaRule, nIndex, r -> (CSSMediaRule) r);
  }