This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sandbox | |
import android.os.Bundle | |
import android.util.Log | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.compose.foundation.Text | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.remember | |
import androidx.compose.ui.platform.setContent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _applyChanges(changes: IterableChanges<T>) { | |
let singleAddIndex: number|undefined = undefined; | |
let singleRemoveIndex: number|undefined = undefined; | |
let hasMultipleMutations: boolean = false; | |
let singleMutatedItem: T|undefined = undefined; | |
changes.forEachOperation((item: IterableChangeRecord<any>, adjustedPreviousIndex: number | null, currentIndex: number | null) => { | |
if (! hasMultipleMutations) { | |
if (adjustedPreviousIndex === null && currentIndex !== null) { | |
if (! singleAddIndex) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let Promise = require('es6-promise').Promise; | |
function iterateStreamAsync(nextOpFn) { | |
function loop(prior) { | |
if (! prior) { | |
return; | |
} | |
return prior.then(() => loop(nextOpFn())); | |
} | |
return loop(nextOpFn()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: ehcache-core/src/main/java/net/sf/ehcache/distribution/ConfigurableRMIClientSocketFactory.java | |
=================================================================== | |
--- ehcache-core/src/main/java/net/sf/ehcache/distribution/ConfigurableRMIClientSocketFactory.java (revision 10517) | |
+++ ehcache-core/src/main/java/net/sf/ehcache/distribution/ConfigurableRMIClientSocketFactory.java (working copy) | |
@@ -101,22 +101,12 @@ | |
} | |
/** | |
- * Return the JVM-level configured {@code RMISocketFactory}. | |
- * <p> |