Java List First Item replace(int codePoint, int firstCharacterInGroup, List referenceList)

Here you can find the source of replace(int codePoint, int firstCharacterInGroup, List referenceList)

Description

replace

License

Apache License

Declaration

private static String replace(int codePoint, int firstCharacterInGroup, List<String> referenceList) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    private static String replace(int codePoint, int firstCharacterInGroup, List<String> referenceList) {
        int relative = codePoint - firstCharacterInGroup;
        int taget = relative % referenceList.size();
        return referenceList.get(taget);
    }//from  www.ja  va  2s.c o  m
}

Related

  1. removeFirst(final List list)
  2. removeFirst(List list)
  3. removeFirst(List list)
  4. removeFirstElement(List l)
  5. removeFirstHalfElements(final List list)
  6. swap(List list, int firstIndex, int secondIndex)