Java BitSet shiftRight(BitSet bitset, int n)

Here you can find the source of shiftRight(BitSet bitset, int n)

Description

shift Right

License

Open Source License

Declaration

public static BitSet shiftRight(BitSet bitset, int n) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.BitSet;

public class Main {
    public static BitSet shiftRight(BitSet bitset, int n) {
        return bitset.get(n, Math.max(n, bitset.length()));
    }//from  w w w.ja v  a 2 s. c  o  m
}

Related

  1. setBits(BitSet bitSet, Iterable indexes)
  2. setBitSet(BitSet bitSet, int x1, int x2, int y, int width)
  3. shiftLeft(BitSet bs, int n)
  4. shiftLeft(BitSet s, int length)
  5. shiftLeft(BitSet src, int offset)
  6. storeCharSet(BitSet stored, String... validCharStrings)
  7. strArrToBitSet(String stringArray)
  8. stringToBitSet(String sbits)
  9. stripToCommonChars(char[] ac, BitSet commonChars)