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
import java.lang.reflect.Array; | |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* | |
* This class serves as a generic approach to create list containing related key value tuples | |
* represented within a list while offering the functionality to be able to dynamically filter out (don't add) | |
* entries where the value would be null as need for some use cases. | |
* |
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
import Foundation | |
typealias WeightedElement<T> = (element: T, weight: Float) | |
enum Efficiency : CaseIterable { | |
case low | |
case normal | |
case high | |
case perfect | |
} |
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
$IPAdresse = @IPAddress1 | |
$Port = 4662 | |
TCPStartup() | |
$ServerSocket = TCPConnect($IPAdresse,$Port) | |
While 1 | |
$Nachricht = Inputbox("","","") | |
TCPSend($ServerSocket,$Nachricht) | |
WEnd |