repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
java-design-patterns | java-design-patterns-master/observer/src/test/java/com/iluwatar/observer/generic/OrcsTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,088 | 36.303571 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/test/java/com/iluwatar/observer/generic/GWeatherTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 3,423 | 32.242718 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/test/java/com/iluwatar/observer/generic/GHobbitsTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,114 | 36.767857 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/test/java/com/iluwatar/observer/generic/ObserverTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 3,001 | 31.630435 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/test/java/com/iluwatar/observer/utils/InMemoryAppender.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,194 | 33.84127 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/WeatherObserver.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,429 | 39.857143 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 3,028 | 39.932432 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/WeatherType.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,718 | 32.057692 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/Orcs.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,584 | 38.625 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/Hobbits.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,589 | 38.75 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/Weather.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,308 | 31.985714 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/GenHobbits.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,650 | 39.268293 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/Observable.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,161 | 33.31746 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/GenOrcs.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,641 | 39.04878 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/GenWeather.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,923 | 36 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/Race.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,458 | 41.911765 | 140 | java |
java-design-patterns | java-design-patterns-master/observer/src/main/java/com/iluwatar/observer/generic/Observer.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,549 | 39.789474 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/test/java/com/iluwatar/presentationmodel/ViewTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,905 | 35.325 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/test/java/com/iluwatar/presentationmodel/AlbumTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,156 | 33.790323 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/test/java/com/iluwatar/presentationmodel/PresentationTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 4,171 | 34.058824 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/test/java/com/iluwatar/presentationmodel/DisplayedAlbumsTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,937 | 40.234043 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/test/java/com/iluwatar/presentationmodel/AppTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,766 | 39.159091 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/main/java/com/iluwatar/presentationmodel/Album.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,855 | 32.142857 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/main/java/com/iluwatar/presentationmodel/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,769 | 33.038462 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/main/java/com/iluwatar/presentationmodel/View.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 5,286 | 26.680628 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/main/java/com/iluwatar/presentationmodel/PresentationModel.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 5,613 | 28.861702 | 140 | java |
java-design-patterns | java-design-patterns-master/presentation-model/src/main/java/com/iluwatar/presentationmodel/DisplayedAlbums.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,398 | 33.271429 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/test/java/GuardTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,583 | 38.6 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/test/java/ThiefTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,632 | 39.825 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/test/java/AppTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,555 | 38.897436 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/main/java/Thief.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,551 | 36.853659 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/main/java/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,969 | 41.428571 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/main/java/Permission.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,403 | 45.8 | 140 | java |
java-design-patterns | java-design-patterns-master/marker/src/main/java/Guard.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,470 | 38.756757 | 140 | java |
java-design-patterns | java-design-patterns-master/guarded-suspension/src/test/java/com/iluwatar/guarded/suspension/GuardedQueueTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,165 | 33.935484 | 140 | java |
java-design-patterns | java-design-patterns-master/guarded-suspension/src/main/java/com/iluwatar/guarded/suspension/GuardedQueue.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,586 | 33.039474 | 143 | java |
java-design-patterns | java-design-patterns-master/guarded-suspension/src/main/java/com/iluwatar/guarded/suspension/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,905 | 38.808219 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/test/java/com/iluwatar/proxy/WizardTowerProxyTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,482 | 33.486111 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/test/java/com/iluwatar/proxy/WizardTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,655 | 38.428571 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/test/java/com/iluwatar/proxy/IvoryTowerTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,451 | 33.055556 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/test/java/com/iluwatar/proxy/AppTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,584 | 37.658537 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/test/java/com/iluwatar/proxy/utils/InMemoryAppender.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,240 | 34.015625 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/main/java/com/iluwatar/proxy/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,509 | 43.035088 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/main/java/com/iluwatar/proxy/WizardTowerProxy.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,893 | 33.436364 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/main/java/com/iluwatar/proxy/IvoryTower.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,535 | 37.4 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/main/java/com/iluwatar/proxy/Wizard.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,515 | 34.255814 | 140 | java |
java-design-patterns | java-design-patterns-master/proxy/src/main/java/com/iluwatar/proxy/WizardTower.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,410 | 40.5 | 140 | java |
java-design-patterns | java-design-patterns-master/component/src/test/java/com/iluwatar/component/GameObjectTest.java | package com.iluwatar.component;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.awt.event.KeyEvent;
import lombok.extern.slf4j.Slf4j;
/**
* Tests GameObject class.
* src/main/java/com/iluwatar/component/GameObject.j... | 2,187 | 29.388889 | 84 | java |
java-design-patterns | java-design-patterns-master/component/src/test/java/com/iluwatar/component/AppTest.java | package com.iluwatar.component;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
/**
* Tests App class : src/main/java/com/iluwatar/component/App.java
* General execution test of the application.
*/
class AppTest {
@Test
void shouldExecuteComponentWith... | 405 | 21.555556 | 66 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/App.java | package com.iluwatar.component;
import java.awt.event.KeyEvent;
import lombok.extern.slf4j.Slf4j;
/**
* The component design pattern is a common game design structure. This pattern is often
* used to reduce duplication of code as well as to improve maintainability.
* In this implementation, component design patter... | 1,413 | 35.25641 | 94 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/GameObject.java | package com.iluwatar.component;
import com.iluwatar.component.component.graphiccomponent.GraphicComponent;
import com.iluwatar.component.component.graphiccomponent.ObjectGraphicComponent;
import com.iluwatar.component.component.inputcomponent.DemoInputComponent;
import com.iluwatar.component.component.inputcomponent.I... | 2,695 | 27.378947 | 80 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/physiccomponent/PhysicComponent.java | package com.iluwatar.component.component.physiccomponent;
import com.iluwatar.component.GameObject;
/**
* Generic PhysicComponent interface.
*/
public interface PhysicComponent {
void update(GameObject gameObject);
}
| 223 | 19.363636 | 57 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/physiccomponent/ObjectPhysicComponent.java | package com.iluwatar.component.component.physiccomponent;
import com.iluwatar.component.GameObject;
import lombok.extern.slf4j.Slf4j;
/**
* Take this component class to update the x coordinate for the Game Object instance.
*/
@Slf4j
public class ObjectPhysicComponent implements PhysicComponent {
/**
* The met... | 635 | 26.652174 | 94 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/graphiccomponent/GraphicComponent.java | package com.iluwatar.component.component.graphiccomponent;
import com.iluwatar.component.GameObject;
/**
* Generic GraphicComponent interface.
*/
public interface GraphicComponent {
void update(GameObject gameObject);
}
| 226 | 19.636364 | 58 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/graphiccomponent/ObjectGraphicComponent.java | package com.iluwatar.component.component.graphiccomponent;
import com.iluwatar.component.GameObject;
import lombok.extern.slf4j.Slf4j;
/**
* ObjectGraphicComponent class mimics the graphic component of the Game Object.
*/
@Slf4j
public class ObjectGraphicComponent implements GraphicComponent {
/**
* The metho... | 594 | 26.045455 | 91 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/inputcomponent/PlayerInputComponent.java | package com.iluwatar.component.component.inputcomponent;
import com.iluwatar.component.GameObject;
import java.awt.event.KeyEvent;
import lombok.extern.slf4j.Slf4j;
/**
* PlayerInputComponent is used to handle user key event inputs,
* and thus it implements the InputComponent interface.
*/
@Slf4j
public class Play... | 1,214 | 30.153846 | 96 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/inputcomponent/InputComponent.java | package com.iluwatar.component.component.inputcomponent;
import com.iluwatar.component.GameObject;
/**
* Generic InputComponent interface.
*/
public interface InputComponent {
void update(GameObject gameObject, int e);
}
| 227 | 19.727273 | 56 | java |
java-design-patterns | java-design-patterns-master/component/src/main/java/com/iluwatar/component/component/inputcomponent/DemoInputComponent.java | package com.iluwatar.component.component.inputcomponent;
import com.iluwatar.component.GameObject;
import lombok.extern.slf4j.Slf4j;
/**
* Take this component class to control player or the NPC for demo mode.
* and implemented the InputComponent interface.
*
* <p>Essentially, the demo mode is utilised during a ga... | 867 | 28.931034 | 87 | java |
bitcoinj | bitcoinj-master/tools/src/main/java/org/bitcoinj/tools/BuildCheckpoints.java | /*
* Copyright 2013 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 11,225 | 43.371542 | 168 | java |
bitcoinj | bitcoinj-master/tools/src/main/java/org/bitcoinj/tools/PaymentProtocolTool.java | /*
* Copyright 2014 The bitcoinj team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 5,052 | 43.716814 | 146 | java |
bitcoinj | bitcoinj-master/tools/src/main/java/org/bitcoinj/tools/TestFeeLevel.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 4,619 | 43 | 140 | java |
bitcoinj | bitcoinj-master/tools/src/main/java/org/bitcoinj/tools/BlockImporter.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 2,773 | 36.486486 | 122 | java |
bitcoinj | bitcoinj-master/tools/src/main/java/org/bitcoinj/tools/WatchMempool.java | /*
* Copyright 2013 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 3,596 | 38.097826 | 102 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/HDPathTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 6,894 | 35.871658 | 154 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/ChildKeyDerivationTest.java | /*
* Copyright 2013 Matija Mazi.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 20,015 | 61.161491 | 401 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/EncodedPrivateKeyTest.java | /*
* Copyright 2014 bitcoinj project
* Copyright 2019 Tim Strasser
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 1,353 | 33.717949 | 101 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/X509UtilsTest.java | /*
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1,480 | 35.121951 | 109 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/KeyCrypterScryptTest.java | /*
* Copyright 2013 Jim Burton.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the MIT license (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/mit-license.php
*
* Unless required by appl... | 6,344 | 41.019868 | 193 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/HDUtilsTest.java | /*
* Copyright 2013 Matija Mazi
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 5,527 | 42.873016 | 122 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/BIP32Test.java | /*
* Copyright 2013 Matija Mazi.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 13,006 | 58.392694 | 196 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/MnemonicCodeTest.java | /*
* Copyright 2013 Ken Sedgwick
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 3,421 | 32.223301 | 140 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/BIP38PrivateKeyTest.java | /*
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 7,376 | 45.396226 | 110 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/HDKeyDerivationTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 8,373 | 48.845238 | 129 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/DumpedPrivateKeyTest.java | /*
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 4,021 | 39.22 | 118 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/ECKeyTest.java | /*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 29,602 | 46.82391 | 578 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/MnemonicCodeVectorsTest.java | /*
* Copyright 2013 Ken Sedgwick
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 16,245 | 65.581967 | 214 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/crypto/utils/MessageVerifyUtilsTest.java | package org.bitcoinj.crypto.utils;
import org.bitcoinj.base.AddressParser;
import org.bitcoinj.base.DefaultAddressParser;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.params.MainNetParams;
import org.bitcoinj.params.TestNet3Params;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.j... | 17,831 | 142.806452 | 1,249 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/MessageTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 915 | 29.533333 | 75 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/TransactionWitnessTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 4,280 | 43.59375 | 248 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/BuffersTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2,626 | 33.565789 | 89 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/BitcoindComparisonTool.java | /*
* Copyright 2012 Matt Corallo.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 19,323 | 52.827298 | 176 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/AddressV2MessageTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 5,420 | 44.175 | 120 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/PartialMerkleTreeTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2,216 | 34.190476 | 81 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/ChainSplitTest.java | /*
* Copyright 2012 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 31,774 | 46.567365 | 168 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/TxConfidenceTableTest.java | /*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 5,963 | 40.706294 | 133 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/SendHeadersMessageTest.java | /*
* Copyright 2017 Anton Kumaigorodski
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 2,255 | 47 | 137 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/BlockChainTest.java | /*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 24,112 | 46.65415 | 159 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/ProtocolVersionTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 1,530 | 27.886792 | 80 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/ServicesTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2,555 | 32.631579 | 108 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/FullBlockTestGenerator.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 96,323 | 50.48263 | 175 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/BloomFilterTest.java | /*
* Copyright 2012 Matt Corallo
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 4,867 | 46.262136 | 299 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/MemoryFullPrunedBlockChainTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 1,330 | 32.275 | 112 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/TransactionInputTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 5,582 | 35.253247 | 112 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/AddressV1MessageTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 4,422 | 43.676768 | 117 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/FeeFilterMessageTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2,173 | 34.064516 | 120 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/TransactionOutputTest.java | /*
* Copyright by the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 5,927 | 36.518987 | 123 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/TransactionTest.java | /*
* Copyright 2014 Google Inc.
* Copyright 2016 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 40,739 | 50.309824 | 1,321 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/ParseByteCacheTest.java | /*
* Copyright 2011 Steve Coughlan.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 16,494 | 39.628079 | 580 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/PeerAddressTest.java | /*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 5,438 | 44.705882 | 195 | java |
bitcoinj | bitcoinj-master/core/src/test/java/org/bitcoinj/core/BitcoinSerializerTest.java | /*
* Copyright 2011 Noa Resare
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 12,647 | 48.992095 | 144 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.