二进制

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;

//线程就是一个单独的资源类
public class Main {

    // 资源类

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;

import javax.swing.border.LineBorder;
import java.util.*;


public class Main {

   

    public static void main(String[] args) {
        BitSet bitset = new BitSet(66);//66 设置size 二进制的位数
        bitset.set(11, true);
        bitset.set(10, true);
        bitset.set(8, true);
        for (int i = 0; i < 16; i++) {
            if (bitset.get(i)) {
                System.out.println(i);
            }
        }
        System.out.println(bitset);//{8,10,11}
        System.out.println(bitset.size());//128 默认64
        System.out.println(bitset.length());//12
    }
    // https://blog.csdn.net/weixin_34124577/article/details/92613660
    // https://blog.csdn.net/weixin_43067762/article/details/105637469
}

 

上一篇:LeetCode-123. 买卖股票的最佳时机 III


下一篇:Vue 项目中引入 tinymce 富文本编辑器