Custom View - Property Animation

ViewPropertyAnimator package com.zhoujian.retrofit.activity; import android.animation.Animator; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; imp ...

Posted on Sat, 22 Feb 2020 06:35:05 -0800 by Jabop

size() method of ConcurrentHashMap (1.7 and 1.8)

In versions 1.7 and 1.8, the calculation size() method is written differently. The implementation of version 1.7 is introduced first. 1.7 version In version 1.7, there is an important class Segment, which is used to implement segmented lock static final class Segment<K,V> extends ReentrantLock implements Serializable { private s ...

Posted on Sat, 22 Feb 2020 01:07:10 -0800 by wenquxing

Working at home, re recognizing Class and re reading java programming ideas

I have been learning java for some time. When I think of learning java before, I am afraid to see such symbols as class <? > and I don't understand their meaning. I reread Chapter 14 of Java programming ideas, and I will take advantage of this time to sort them out and face the fear at that time.                                 ...

Posted on Thu, 20 Feb 2020 23:28:22 -0800 by apacheguy

jQuery-JQuery attribute operation - jQuery text attribute value - jQuery element operation - jQuery size, location operation - Recommended collection!

jQuery Learning objectives: Ability to manipulate jQuery properties Ability to manipulate jQuery elements Be able to operate jQuery element size and position 1.1. jQuery attribute operation There are three kinds of common attribute operations in jQuery: prop() / attr() / data(); 1.1.1 element int ...

Posted on Wed, 19 Feb 2020 23:53:55 -0800 by noobh

Ajax request parameter delivery method, request parameter format, JSON.stringify()

1, How to request parameter passing 1. GET request mode The GET request mode parameter is placed in the request address for delivery. xhr.open('get', 'http://www.example.com?name=zhangsan&age=20'); Pass GET request parameter code example: <!DOCTYPE html> <html lang="en"> <head&gt ...

Posted on Wed, 19 Feb 2020 21:05:04 -0800 by werlop

The problem of jq scroll bar

1. Scroll bar to specified position In jquery, it is very simple for us to operate the scroll bar to scroll to the specified position, as follows: $("html,body").scrollTop($("#aijquery2").offset().top); The above code means to operate the scroll bar of the window, and scroll to the location of the element with ID of aijque ...

Posted on Wed, 19 Feb 2020 10:46:50 -0800 by beermaker74

Zookeeper-01-common commands and creating nodes

Use the client of ZooKeeper to connect to the ZooKeeper cluster to view the node status in the current cluster: ./zkCli.sh -server 127.0.0.1:2181 Execute the following command to query the Znode node under the current root node: ls / It can be found that the current node zookeeper cluster currently has only "/ zookeeper" one Zno ...

Posted on Tue, 18 Feb 2020 04:29:22 -0800 by hoyo

Web Front End - Introduction to 04jQuery

Article Directory Introduction to jQuery 1. Introduction 2. jQuery Loading 2. jQuery selector 1. jquery Usage Thought 1 2. jquery Usage Ideas 2 3. jQuery Property Operation 1. Set up html content 2. Setting attribute values 4. Application Cases 1. Implement movie charts based on jqurey: 2. Tab ...

Posted on Mon, 17 Feb 2020 18:19:08 -0800 by Pavel_Nedved

Deep understanding of JDK8 HashMap

The author wrote in the last article, " Deep understanding of JDK7 HashMap HashMap's implementation principle in JDK7 is explained in detail, mainly around its put, get, resize, transfer methods. This paper will continue to analyze the specific implementation of HashMap in JDK8. Starting with put, ...

Posted on Mon, 17 Feb 2020 16:32:48 -0800 by rrhody

How to use the flex direction property of CSS?

The flex direction attribute is a child of the Flexible Box Layout module. It establishes the spindle, which defines the direction in which the flex item is placed in the flex container. Note: the flex direction attribute does not work if the element is not an element of the elastic box object.   ...

Posted on Mon, 17 Feb 2020 03:01:55 -0800 by Vasudhevan