Browse Source

Initial source import.

Ondřej Hruška 7 years ago
commit
400ee6a079
100 changed files with 63 additions and 0 deletions
  1. 6 0
      .classpath
  2. 17 0
      .project
  3. 11 0
      .settings/org.eclipse.jdt.core.prefs
  4. 23 0
      LICENSE.txt
  5. 6 0
      README.md
  6. BIN
      bin/mightypork/utils/Convert.class
  7. BIN
      bin/mightypork/utils/MapSort$1.class
  8. BIN
      bin/mightypork/utils/MapSort.class
  9. BIN
      bin/mightypork/utils/Reflect.class
  10. BIN
      bin/mightypork/utils/Support$IterableEnumerationWrapper$1.class
  11. BIN
      bin/mightypork/utils/Support$IterableEnumerationWrapper.class
  12. BIN
      bin/mightypork/utils/Support.class
  13. BIN
      bin/mightypork/utils/annotations/Alias.class
  14. BIN
      bin/mightypork/utils/annotations/DefaultImpl.class
  15. BIN
      bin/mightypork/utils/annotations/FactoryMethod.class
  16. BIN
      bin/mightypork/utils/eventbus/BusAccess.class
  17. BIN
      bin/mightypork/utils/eventbus/BusEvent.class
  18. BIN
      bin/mightypork/utils/eventbus/EventBus$DelayQueueEntry.class
  19. BIN
      bin/mightypork/utils/eventbus/EventBus$QueuePollingThread.class
  20. BIN
      bin/mightypork/utils/eventbus/EventBus.class
  21. BIN
      bin/mightypork/utils/eventbus/EventChannel.class
  22. BIN
      bin/mightypork/utils/eventbus/clients/BusNode.class
  23. BIN
      bin/mightypork/utils/eventbus/clients/ClientHub.class
  24. BIN
      bin/mightypork/utils/eventbus/clients/ClientList.class
  25. BIN
      bin/mightypork/utils/eventbus/clients/DelegatingClient.class
  26. BIN
      bin/mightypork/utils/eventbus/clients/DelegatingList.class
  27. BIN
      bin/mightypork/utils/eventbus/clients/RootBusNode.class
  28. BIN
      bin/mightypork/utils/eventbus/clients/ToggleableClient.class
  29. BIN
      bin/mightypork/utils/eventbus/events/DestroyEvent.class
  30. BIN
      bin/mightypork/utils/eventbus/events/UpdateEvent.class
  31. BIN
      bin/mightypork/utils/eventbus/events/flags/DelayedEvent.class
  32. BIN
      bin/mightypork/utils/eventbus/events/flags/DirectEvent.class
  33. BIN
      bin/mightypork/utils/eventbus/events/flags/NonConsumableEvent.class
  34. BIN
      bin/mightypork/utils/eventbus/events/flags/NonRejectableEvent.class
  35. BIN
      bin/mightypork/utils/eventbus/events/flags/NotLoggedEvent.class
  36. BIN
      bin/mightypork/utils/eventbus/events/flags/SingleReceiverEvent.class
  37. BIN
      bin/mightypork/utils/exceptions/CorruptDataException.class
  38. BIN
      bin/mightypork/utils/exceptions/IllegalValueException.class
  39. BIN
      bin/mightypork/utils/exceptions/KeyAlreadyExistsException.class
  40. BIN
      bin/mightypork/utils/files/FileSuffixFilter.class
  41. BIN
      bin/mightypork/utils/files/FileTreeDiff$1.class
  42. BIN
      bin/mightypork/utils/files/FileTreeDiff$NotEqualException.class
  43. BIN
      bin/mightypork/utils/files/FileTreeDiff$Tuple.class
  44. BIN
      bin/mightypork/utils/files/FileTreeDiff.class
  45. BIN
      bin/mightypork/utils/files/FileUtils.class
  46. BIN
      bin/mightypork/utils/files/InstanceLock$1.class
  47. BIN
      bin/mightypork/utils/files/InstanceLock.class
  48. BIN
      bin/mightypork/utils/files/OsUtils$EnumOS.class
  49. BIN
      bin/mightypork/utils/files/OsUtils.class
  50. BIN
      bin/mightypork/utils/files/config/Property.class
  51. BIN
      bin/mightypork/utils/files/config/PropertyManager$BooleanProperty.class
  52. BIN
      bin/mightypork/utils/files/config/PropertyManager$DoubleProperty.class
  53. BIN
      bin/mightypork/utils/files/config/PropertyManager$IntegerProperty.class
  54. BIN
      bin/mightypork/utils/files/config/PropertyManager$StringProperty.class
  55. BIN
      bin/mightypork/utils/files/config/PropertyManager.class
  56. BIN
      bin/mightypork/utils/files/config/SimpleConfig.class
  57. BIN
      bin/mightypork/utils/files/config/SortedProperties.class
  58. BIN
      bin/mightypork/utils/files/zip/ZipBuilder.class
  59. BIN
      bin/mightypork/utils/files/zip/ZipUtils.class
  60. BIN
      bin/mightypork/utils/interfaces/Destroyable.class
  61. BIN
      bin/mightypork/utils/interfaces/Enableable.class
  62. BIN
      bin/mightypork/utils/interfaces/Pauseable.class
  63. BIN
      bin/mightypork/utils/interfaces/Pollable.class
  64. BIN
      bin/mightypork/utils/interfaces/Updateable.class
  65. BIN
      bin/mightypork/utils/ion/Ion.class
  66. BIN
      bin/mightypork/utils/ion/IonBundle.class
  67. BIN
      bin/mightypork/utils/ion/IonInput.class
  68. BIN
      bin/mightypork/utils/ion/IonMapWrapper.class
  69. BIN
      bin/mightypork/utils/ion/IonObjBinary.class
  70. BIN
      bin/mightypork/utils/ion/IonObjBundled.class
  71. BIN
      bin/mightypork/utils/ion/IonOutput.class
  72. BIN
      bin/mightypork/utils/ion/IonSequenceWrapper.class
  73. BIN
      bin/mightypork/utils/logging/Log.class
  74. BIN
      bin/mightypork/utils/logging/monitors/LogMonitor.class
  75. BIN
      bin/mightypork/utils/logging/monitors/LogMonitorStdout.class
  76. BIN
      bin/mightypork/utils/logging/writers/ArchivingLog$1.class
  77. BIN
      bin/mightypork/utils/logging/writers/ArchivingLog$2.class
  78. BIN
      bin/mightypork/utils/logging/writers/ArchivingLog.class
  79. BIN
      bin/mightypork/utils/logging/writers/LogWriter.class
  80. BIN
      bin/mightypork/utils/logging/writers/SimpleLog$LogFormatter.class
  81. BIN
      bin/mightypork/utils/logging/writers/SimpleLog.class
  82. BIN
      bin/mightypork/utils/math/Calc.class
  83. BIN
      bin/mightypork/utils/math/Polar$1.class
  84. BIN
      bin/mightypork/utils/math/Polar.class
  85. BIN
      bin/mightypork/utils/math/Range.class
  86. BIN
      bin/mightypork/utils/math/algo/Coord.class
  87. BIN
      bin/mightypork/utils/math/algo/Move.class
  88. BIN
      bin/mightypork/utils/math/algo/Moves.class
  89. BIN
      bin/mightypork/utils/math/algo/floodfill/FloodFill.class
  90. BIN
      bin/mightypork/utils/math/algo/pathfinding/Heuristic.class
  91. BIN
      bin/mightypork/utils/math/algo/pathfinding/PathFinder$FComparator.class
  92. BIN
      bin/mightypork/utils/math/algo/pathfinding/PathFinder$Node.class
  93. BIN
      bin/mightypork/utils/math/algo/pathfinding/PathFinder.class
  94. BIN
      bin/mightypork/utils/math/algo/pathfinding/PathFinderProxy.class
  95. BIN
      bin/mightypork/utils/math/algo/pathfinding/heuristics/DiagonalHeuristic.class
  96. BIN
      bin/mightypork/utils/math/algo/pathfinding/heuristics/ManhattanHeuristic.class
  97. BIN
      bin/mightypork/utils/math/angles/Angles.class
  98. BIN
      bin/mightypork/utils/math/angles/Deg.class
  99. BIN
      bin/mightypork/utils/math/angles/Rad.class
  100. 0 0
      bin/mightypork/utils/math/animation/Animator.class

+ 6 - 0
.classpath View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" path="src"/>
4
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
5
+	<classpathentry kind="output" path="bin"/>
6
+</classpath>

+ 17 - 0
.project View File

@@ -0,0 +1,17 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>mighty_utils</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+	</buildSpec>
14
+	<natures>
15
+		<nature>org.eclipse.jdt.core.javanature</nature>
16
+	</natures>
17
+</projectDescription>

+ 11 - 0
.settings/org.eclipse.jdt.core.prefs View File

@@ -0,0 +1,11 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5
+org.eclipse.jdt.core.compiler.compliance=1.7
6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
8
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11
+org.eclipse.jdt.core.compiler.source=1.7

+ 23 - 0
LICENSE.txt View File

@@ -0,0 +1,23 @@
1
+Copyright (c) 2014, Ondřej Hruška (MightyPork), <ondra@ondrovo.com>
2
+All rights reserved.
3
+
4
+Redistribution and use in source and binary forms, with or without 
5
+modification, are permitted provided that the following conditions are met:
6
+
7
+1. Redistributions of source code must retain the above copyright notice, this 
8
+   list of conditions and the following disclaimer.
9
+
10
+2. Redistributions in binary form must reproduce the above copyright notice, 
11
+   this list of conditions and the following disclaimer in the documentation 
12
+   and/or other materials provided with the distribution.
13
+
14
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
15
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
16
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
17
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
18
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
19
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
20
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
21
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
22
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
23
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 6 - 0
README.md View File

@@ -0,0 +1,6 @@
1
+MightyPork's Utils Library
2
+==========================
3
+
4
+This is a library of general-purpose utilities.
5
+
6
+Can be used as a library, or individual parts alone. Feel free to contribute or use it at will.

BIN
bin/mightypork/utils/Convert.class View File


BIN
bin/mightypork/utils/MapSort$1.class View File


BIN
bin/mightypork/utils/MapSort.class View File


BIN
bin/mightypork/utils/Reflect.class View File


BIN
bin/mightypork/utils/Support$IterableEnumerationWrapper$1.class View File


BIN
bin/mightypork/utils/Support$IterableEnumerationWrapper.class View File


BIN
bin/mightypork/utils/Support.class View File


BIN
bin/mightypork/utils/annotations/Alias.class View File


BIN
bin/mightypork/utils/annotations/DefaultImpl.class View File


BIN
bin/mightypork/utils/annotations/FactoryMethod.class View File


BIN
bin/mightypork/utils/eventbus/BusAccess.class View File


BIN
bin/mightypork/utils/eventbus/BusEvent.class View File


BIN
bin/mightypork/utils/eventbus/EventBus$DelayQueueEntry.class View File


BIN
bin/mightypork/utils/eventbus/EventBus$QueuePollingThread.class View File


BIN
bin/mightypork/utils/eventbus/EventBus.class View File


BIN
bin/mightypork/utils/eventbus/EventChannel.class View File


BIN
bin/mightypork/utils/eventbus/clients/BusNode.class View File


BIN
bin/mightypork/utils/eventbus/clients/ClientHub.class View File


BIN
bin/mightypork/utils/eventbus/clients/ClientList.class View File


BIN
bin/mightypork/utils/eventbus/clients/DelegatingClient.class View File


BIN
bin/mightypork/utils/eventbus/clients/DelegatingList.class View File


BIN
bin/mightypork/utils/eventbus/clients/RootBusNode.class View File


BIN
bin/mightypork/utils/eventbus/clients/ToggleableClient.class View File


BIN
bin/mightypork/utils/eventbus/events/DestroyEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/UpdateEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/DelayedEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/DirectEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/NonConsumableEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/NonRejectableEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/NotLoggedEvent.class View File


BIN
bin/mightypork/utils/eventbus/events/flags/SingleReceiverEvent.class View File


BIN
bin/mightypork/utils/exceptions/CorruptDataException.class View File


BIN
bin/mightypork/utils/exceptions/IllegalValueException.class View File


BIN
bin/mightypork/utils/exceptions/KeyAlreadyExistsException.class View File


BIN
bin/mightypork/utils/files/FileSuffixFilter.class View File


BIN
bin/mightypork/utils/files/FileTreeDiff$1.class View File


BIN
bin/mightypork/utils/files/FileTreeDiff$NotEqualException.class View File


BIN
bin/mightypork/utils/files/FileTreeDiff$Tuple.class View File


BIN
bin/mightypork/utils/files/FileTreeDiff.class View File


BIN
bin/mightypork/utils/files/FileUtils.class View File


BIN
bin/mightypork/utils/files/InstanceLock$1.class View File


BIN
bin/mightypork/utils/files/InstanceLock.class View File


BIN
bin/mightypork/utils/files/OsUtils$EnumOS.class View File


BIN
bin/mightypork/utils/files/OsUtils.class View File


BIN
bin/mightypork/utils/files/config/Property.class View File


BIN
bin/mightypork/utils/files/config/PropertyManager$BooleanProperty.class View File


BIN
bin/mightypork/utils/files/config/PropertyManager$DoubleProperty.class View File


BIN
bin/mightypork/utils/files/config/PropertyManager$IntegerProperty.class View File


BIN
bin/mightypork/utils/files/config/PropertyManager$StringProperty.class View File


BIN
bin/mightypork/utils/files/config/PropertyManager.class View File


BIN
bin/mightypork/utils/files/config/SimpleConfig.class View File


BIN
bin/mightypork/utils/files/config/SortedProperties.class View File


BIN
bin/mightypork/utils/files/zip/ZipBuilder.class View File


BIN
bin/mightypork/utils/files/zip/ZipUtils.class View File


BIN
bin/mightypork/utils/interfaces/Destroyable.class View File


BIN
bin/mightypork/utils/interfaces/Enableable.class View File


BIN
bin/mightypork/utils/interfaces/Pauseable.class View File


BIN
bin/mightypork/utils/interfaces/Pollable.class View File


BIN
bin/mightypork/utils/interfaces/Updateable.class View File


BIN
bin/mightypork/utils/ion/Ion.class View File


BIN
bin/mightypork/utils/ion/IonBundle.class View File


BIN
bin/mightypork/utils/ion/IonInput.class View File


BIN
bin/mightypork/utils/ion/IonMapWrapper.class View File


BIN
bin/mightypork/utils/ion/IonObjBinary.class View File


BIN
bin/mightypork/utils/ion/IonObjBundled.class View File


BIN
bin/mightypork/utils/ion/IonOutput.class View File


BIN
bin/mightypork/utils/ion/IonSequenceWrapper.class View File


BIN
bin/mightypork/utils/logging/Log.class View File


BIN
bin/mightypork/utils/logging/monitors/LogMonitor.class View File


BIN
bin/mightypork/utils/logging/monitors/LogMonitorStdout.class View File


BIN
bin/mightypork/utils/logging/writers/ArchivingLog$1.class View File


BIN
bin/mightypork/utils/logging/writers/ArchivingLog$2.class View File


BIN
bin/mightypork/utils/logging/writers/ArchivingLog.class View File


BIN
bin/mightypork/utils/logging/writers/LogWriter.class View File


BIN
bin/mightypork/utils/logging/writers/SimpleLog$LogFormatter.class View File


BIN
bin/mightypork/utils/logging/writers/SimpleLog.class View File


BIN
bin/mightypork/utils/math/Calc.class View File


BIN
bin/mightypork/utils/math/Polar$1.class View File


BIN
bin/mightypork/utils/math/Polar.class View File


BIN
bin/mightypork/utils/math/Range.class View File


BIN
bin/mightypork/utils/math/algo/Coord.class View File


BIN
bin/mightypork/utils/math/algo/Move.class View File


BIN
bin/mightypork/utils/math/algo/Moves.class View File


BIN
bin/mightypork/utils/math/algo/floodfill/FloodFill.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/Heuristic.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/PathFinder$FComparator.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/PathFinder$Node.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/PathFinder.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/PathFinderProxy.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/heuristics/DiagonalHeuristic.class View File


BIN
bin/mightypork/utils/math/algo/pathfinding/heuristics/ManhattanHeuristic.class View File


BIN
bin/mightypork/utils/math/angles/Angles.class View File


BIN
bin/mightypork/utils/math/angles/Deg.class View File


BIN
bin/mightypork/utils/math/angles/Rad.class View File


+ 0 - 0
bin/mightypork/utils/math/animation/Animator.class View File


Some files were not shown because too many files changed in this diff