Skip to content

Commit

Permalink
1.更新 HandlerUtils#post 为 postRunnable
Browse files Browse the repository at this point in the history
Former-commit-id: c31ce0c
Former-commit-id: 9e7a89e
  • Loading branch information
Ttt committed Sep 15, 2020
1 parent 4ac5065 commit 4faa004
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/DevApp/src/main/java/dev/utils/app/HandlerUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static void clearRunnableMaps() {
}

/**
* 判断 Map 是否存储了 key Runnable
* 判断 Map 是否存储 key Runnable
* @param key key
* @return {@code true} yes, {@code false} no
*/
Expand Down Expand Up @@ -212,7 +212,7 @@ public static boolean remove(final String key) {
* @param key key
* @param delayMillis 延迟时间
*/
public static void post(final String key, final long delayMillis) {
public static void postRunnable(final String key, final long delayMillis) {
Runnable runnable = sRunnableMaps.get(key);
if (runnable != null) {
removeRunnable(runnable);
Expand Down
4 changes: 2 additions & 2 deletions lib/DevApp/src/main/java/dev/utils/common/MapUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ public static <K, V> boolean isNullToValue(final Map<K, V> map, final K key) {
}

/**
* 判断 Map 是否存储了 key
* 判断 Map 是否存储 key
* @param map {@link Map}
* @param key key
* @param <K> key
Expand All @@ -943,7 +943,7 @@ public static <K, V> boolean containsKey(final Map<K, V> map, final K key) {
}

/**
* 判断 Map 是否存储了 value
* 判断 Map 是否存储 value
* @param map {@link Map}
* @param value value
* @param <K> key
Expand Down
4 changes: 2 additions & 2 deletions lib/DevJava/src/main/java/dev/utils/common/MapUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ public static <K, V> boolean isNullToValue(final Map<K, V> map, final K key) {
}

/**
* 判断 Map 是否存储了 key
* 判断 Map 是否存储 key
* @param map {@link Map}
* @param key key
* @param <K> key
Expand All @@ -943,7 +943,7 @@ public static <K, V> boolean containsKey(final Map<K, V> map, final K key) {
}

/**
* 判断 Map 是否存储了 value
* 判断 Map 是否存储 value
* @param map {@link Map}
* @param value value
* @param <K> key
Expand Down

0 comments on commit 4faa004

Please sign in to comment.