repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/AuthorizationException.java
deepl-java/src/main/java/com/deepl/api/AuthorizationException.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api; /** Exception thrown when the specified authentication key was invalid. */ public class AuthorizationException extends DeepLException { public A...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/Language.java
deepl-java/src/main/java/com/deepl/api/Language.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api; import org.jetbrains.annotations.Nullable; /** * A language supported by DeepL translation. The {@link Translator} class provides functions to ...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/GlossaryLanguagePair.java
deepl-java/src/main/java/com/deepl/api/GlossaryLanguagePair.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api; import com.google.gson.annotations.*; /** * Information about a language pair supported for glossaries. * * @see Translator#getGlossaryLanguag...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/IGlossary.java
deepl-java/src/main/java/com/deepl/api/IGlossary.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api; /** Interface representing a glossary. */ public interface IGlossary { /** @return Unique ID assigned to the glossary. */ String getGlossaryId...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/StyleRuleListResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/StyleRuleListResponse.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.StyleRuleInfo; import java.util.List; /** * Class representing v3 style_rules list response by the DeepL API. * *...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/GlossaryLanguagesResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/GlossaryLanguagesResponse.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.*; import com.google.gson.annotations.*; import java.util.List; /** * Class representing glossary-languages respons...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryDictionaryEntriesResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryDictionaryEntriesResponse.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.GlossaryEntries; import com.deepl.api.MultilingualGlossaryDictionaryEntries; import com.google.gson.annotations.Seria...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/WriteResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/WriteResponse.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.WriteResult; import java.util.List; /** * Class representing text rephrase responses from the DeepL API. * * <p>T...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/WriteResultDeserializer.java
deepl-java/src/main/java/com/deepl/api/parsing/WriteResultDeserializer.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.WriteResult; import com.google.gson.*; import java.lang.reflect.Type; /** * Utility class for deserializing text re...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/TextResultDeserializer.java
deepl-java/src/main/java/com/deepl/api/parsing/TextResultDeserializer.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.TextResult; import com.google.gson.*; import java.lang.reflect.Type; /** * Utility class for deserializing text tra...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryListResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryListResponse.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.MultilingualGlossaryInfo; import java.util.List; /** * Class representing v3 list-glossaries response by the DeepL ...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/UsageDeserializer.java
deepl-java/src/main/java/com/deepl/api/parsing/UsageDeserializer.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.*; import com.google.gson.*; import java.lang.reflect.*; import org.jetbrains.annotations.*; /** * Class representi...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/GlossaryListResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/GlossaryListResponse.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.*; import java.util.List; /** * Class representing list-glossaries response by the DeepL API. * * <p>This class i...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/TextResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/TextResponse.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.TextResult; import java.util.List; /** * Class representing text translation responses from the DeepL API. * * <p...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryDictionaryListResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/MultilingualGlossaryDictionaryListResponse.java
// Copyright 2025 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import java.util.List; /** * Class representing v3 list-glossaries response by the DeepL API. * * <p>This class is internal; you shoul...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/ErrorResponse.java
deepl-java/src/main/java/com/deepl/api/parsing/ErrorResponse.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import org.jetbrains.annotations.Nullable; /** * Class representing error messages returned by the DeepL API. * * <p>This class is int...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/LanguageDeserializer.java
deepl-java/src/main/java/com/deepl/api/parsing/LanguageDeserializer.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.Language; import com.google.gson.*; import java.lang.reflect.Type; /** * Utility class for deserializing language c...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/parsing/Parser.java
deepl-java/src/main/java/com/deepl/api/parsing/Parser.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.parsing; import com.deepl.api.*; import com.google.gson.*; import com.google.gson.reflect.*; import java.lang.reflect.*; import java.util.*; import...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/utils/BackoffTimer.java
deepl-java/src/main/java/com/deepl/api/utils/BackoffTimer.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.utils; import java.time.Duration; import java.time.Instant; import java.util.concurrent.ThreadLocalRandom; public class BackoffTimer { private ...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/utils/StreamUtil.java
deepl-java/src/main/java/com/deepl/api/utils/StreamUtil.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.utils; import java.io.*; import java.nio.charset.*; public class StreamUtil { public static final int DEFAULT_BUFFER_SIZE = 1024; public stat...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/utils/NamedStream.java
deepl-java/src/main/java/com/deepl/api/utils/NamedStream.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.utils; import java.io.*; public class NamedStream { private final String fileName; private final InputStream inputStream; public NamedStrea...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/utils/KeyValuePair.java
deepl-java/src/main/java/com/deepl/api/utils/KeyValuePair.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.utils; import java.util.AbstractMap; public class KeyValuePair<K, V> extends AbstractMap.SimpleEntry<K, V> { public KeyValuePair(K key, V value...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/http/HttpResponse.java
deepl-java/src/main/java/com/deepl/api/http/HttpResponse.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.http; public class HttpResponse { private final int code; private final String body; public HttpResponse(int code, String body) { this...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/http/HttpContent.java
deepl-java/src/main/java/com/deepl/api/http/HttpContent.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.http; import com.deepl.api.*; import com.deepl.api.utils.*; import java.io.*; import java.net.*; import java.nio.charset.*; import java.util.*; imp...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/deepl-java/src/main/java/com/deepl/api/http/HttpResponseStream.java
deepl-java/src/main/java/com/deepl/api/http/HttpResponseStream.java
// Copyright 2022 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.api.http; import com.deepl.api.*; import com.deepl.api.utils.*; import java.io.*; import org.jetbrains.annotations.*; public class HttpResponseStream ...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/examples/maven/deepl-test-app/src/test/java/com/deepl/deepltestapp/DeepLIntegrationTest.java
examples/maven/deepl-test-app/src/test/java/com/deepl/deepltestapp/DeepLIntegrationTest.java
// Copyright 2023 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.deepltestapp; import com.deepl.api.*; import com.deepl.deepltestapp.*; import com.deepl.deepltestapp.annotation.IntegrationTest; import junit.framework...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/examples/maven/deepl-test-app/src/main/java/com/deepl/deepltestapp/App.java
examples/maven/deepl-test-app/src/main/java/com/deepl/deepltestapp/App.java
// Copyright 2023 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.deepltestapp; import com.deepl.api.*; import java.lang.System.*; /** * Hello world translation example * */ public class App { /** * Hello ...
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
DeepLcom/deepl-java
https://github.com/DeepLcom/deepl-java/blob/e91115a0cee340d8770210352bc08144dce1fbe8/examples/maven/deepl-test-app/src/main/java/com/deepl/deepltestapp/annotation/IntegrationTest.java
examples/maven/deepl-test-app/src/main/java/com/deepl/deepltestapp/annotation/IntegrationTest.java
// Copyright 2023 DeepL SE (https://www.deepl.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. package com.deepl.deepltestapp.annotation; /** * Marks tests as Integration tests, used for DeepLs internal CI pipeline. */ public interface IntegrationTest {}
java
MIT
e91115a0cee340d8770210352bc08144dce1fbe8
2026-01-05T02:40:38.272108Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/MainActivity2.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/MainActivity2.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/MainActivity.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/MainActivity.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/RecyclerViewUtils.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/RecyclerViewUtils.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/CityUtils.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/CityUtils.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/HelpUtils.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/HelpUtils.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
rylexr/android-show-hide-toolbar
https://github.com/rylexr/android-show-hide-toolbar/blob/5497b9d88846564732db8073c77b8fc676da121e/app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/AndroidUtils.java
app/src/main/java/com/tinbytes/samples/showhidetoolbar/util/AndroidUtils.java
/* * Copyright 2015, Randy Saborio & Tinbytes, 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 applic...
java
Apache-2.0
5497b9d88846564732db8073c77b8fc676da121e
2026-01-05T02:40:38.492956Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderTest.java
spigui-v2/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderTest.java
package com.samjakob.spigui.toolbar; import com.samjakob.spigui.item.ItemBuilder; import org.bukkit.Material; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.assertEquals; @ExtendWi...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/test/java/com/samjakob/spigui/item/ModernItemBuilderTest.java
spigui-v2/src/test/java/com/samjakob/spigui/item/ModernItemBuilderTest.java
package com.samjakob.spigui.item; import org.bukkit.Material; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; class ModernItemBuilderTe...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/test/java/com/samjakob/spigui/standalone/SpiGUIInitializeTest.java
spigui-v2/src/test/java/com/samjakob/spigui/standalone/SpiGUIInitializeTest.java
package com.samjakob.spigui.standalone; import com.samjakob.spigui.SpiGUI; import com.samjakob.spigui.item.ItemBuilder; import com.samjakob.spigui.menu.SGMenuListenerBase; import com.samjakob.spigui.toolbar.SGDefaultToolbarBuilderFactory; import org.bukkit.Material; import org.bukkit.Server; import org.bukkit.plugin.P...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/main/java/com/samjakob/spigui/InitializeSpiGUI.java
spigui-v2/src/main/java/com/samjakob/spigui/InitializeSpiGUI.java
package com.samjakob.spigui; import com.samjakob.spigui.item.ModernItemBuilder; import com.samjakob.spigui.toolbar.SGDefaultToolbarBuilder; /** Internal helper class used to automatically initialize factories required for SpiGUI. */ final class InitializeSpiGUI { static { ModernItemBuilder.register(); ...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilder.java
spigui-v2/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilder.java
package com.samjakob.spigui.toolbar; import javax.annotation.Nonnull; import org.bukkit.Material; import com.samjakob.spigui.item.ItemBuilder; public class SGDefaultToolbarBuilder extends SGDefaultToolbarBuilderBase { /** * Ensures that the {@link SGDefaultToolbarBuilder} has been registered on the *...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/main/java/com/samjakob/spigui/item/ModernItemBuilder.java
spigui-v2/src/main/java/com/samjakob/spigui/item/ModernItemBuilder.java
package com.samjakob.spigui.item; import java.util.Arrays; import java.util.List; import java.util.Objects; import java.util.UUID; import java.util.stream.Collectors; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; i...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui-v2/src/main/java/com/samjakob/spigui/menu/SGMenuListener.java
spigui-v2/src/main/java/com/samjakob/spigui/menu/SGMenuListener.java
package com.samjakob.spigui.menu; import javax.annotation.Nonnull; import com.samjakob.spigui.SpiGUI; /** * The listener for SpiGUI inventory events. * * @see SGMenuListenerBase */ public final class SGMenuListener extends SGMenuListenerBase { /** * Initialize an SGBaseMenuListener for the specified {@...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderTest.java
spigui/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderTest.java
package com.samjakob.spigui.toolbar; import com.samjakob.spigui.item.ItemBuilder; import org.bukkit.Material; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.assertEquals; @ExtendWi...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/test/java/com/samjakob/spigui/standalone/SpiGUIInitializeTest.java
spigui/src/test/java/com/samjakob/spigui/standalone/SpiGUIInitializeTest.java
package com.samjakob.spigui.standalone; import com.samjakob.spigui.SpiGUI; import com.samjakob.spigui.item.ItemBuilder; import com.samjakob.spigui.menu.SGMenuListenerBase; import com.samjakob.spigui.toolbar.SGDefaultToolbarBuilderFactory; import org.bukkit.Material; import org.bukkit.Server; import org.bukkit.plugin.P...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/main/java/com/samjakob/spigui/InitializeSpiGUI.java
spigui/src/main/java/com/samjakob/spigui/InitializeSpiGUI.java
package com.samjakob.spigui; import com.samjakob.spigui.item.LegacyItemBuilder; import com.samjakob.spigui.toolbar.SGDefaultToolbarBuilder; /** Internal helper class used to automatically initialize factories required for SpiGUI. */ final class InitializeSpiGUI { static { LegacyItemBuilder.register(); ...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilder.java
spigui/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilder.java
package com.samjakob.spigui.toolbar; import javax.annotation.Nonnull; import org.bukkit.Material; import com.samjakob.spigui.item.ItemBuilder; public class SGDefaultToolbarBuilder extends SGDefaultToolbarBuilderBase { /** * Ensures that the {@link SGDefaultToolbarBuilder} has been registered on the *...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/main/java/com/samjakob/spigui/item/LegacyItemBuilder.java
spigui/src/main/java/com/samjakob/spigui/item/LegacyItemBuilder.java
package com.samjakob.spigui.item; import java.util.*; import java.util.stream.Collectors; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemFl...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/main/java/com/samjakob/spigui/item/LegacyItemDataColor.java
spigui/src/main/java/com/samjakob/spigui/item/LegacyItemDataColor.java
package com.samjakob.spigui.item; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * Items such as glass panes can have variable color. This color is set using durability values which is understandable ...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/spigui/src/main/java/com/samjakob/spigui/menu/SGMenuListener.java
spigui/src/main/java/com/samjakob/spigui/menu/SGMenuListener.java
package com.samjakob.spigui.menu; import javax.annotation.Nonnull; import com.samjakob.spigui.SpiGUI; /** * The listener for SpiGUI inventory events. * * @see SGMenuListenerBase */ public final class SGMenuListener extends SGMenuListenerBase { /** * Initialize an SGBaseMenuListener for the specified {@...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/test/java/com/samjakob/spigui/MockItemBuilder.java
core/src/test/java/com/samjakob/spigui/MockItemBuilder.java
package com.samjakob.spigui; import com.samjakob.spigui.item.ItemBuilder; import com.samjakob.spigui.item.ItemBuilderBase; import com.samjakob.spigui.item.ItemColor; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemFlag; import org.bukkit.inventory.ItemStack; impo...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/test/java/com/samjakob/spigui/buttons/SGButtonTest.java
core/src/test/java/com/samjakob/spigui/buttons/SGButtonTest.java
package com.samjakob.spigui.buttons; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class SGButtonTest { final ItemStack dirt = new ItemStack(Material.DIRT); ...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/test/java/com/samjakob/spigui/toolbar/SGToolbarButtonTypeTest.java
core/src/test/java/com/samjakob/spigui/toolbar/SGToolbarButtonTypeTest.java
package com.samjakob.spigui.toolbar; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class SGToolbarButtonTypeTest { @Test void testGetDefaultForSlot() { assertEquals(SGToolbarButtonType.PREV_BUTTON, SGToolbarButtonType.getDefaultForSlot(3)); a...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderBaseTest.java
core/src/test/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderBaseTest.java
package com.samjakob.spigui.toolbar; import com.samjakob.spigui.MockItemBuilder; import com.samjakob.spigui.buttons.SGButton; import com.samjakob.spigui.item.ItemBuilder; import com.samjakob.spigui.menu.SGMenu; import org.bukkit.Material; import org.bukkit.entity.HumanEntity; import org.bukkit.event.Event; import org....
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/test/java/com/samjakob/spigui/menu/SGOpenMenuTest.java
core/src/test/java/com/samjakob/spigui/menu/SGOpenMenuTest.java
package com.samjakob.spigui.menu; import org.bukkit.entity.Player; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.*...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/package-info.java
core/src/main/java/package-info.java
/** * A comprehensive GUI API for Spigot with pages support. * * <p><a href="https://github.com/SamJakob/SpiGUI">https://github.com/SamJakob/SpiGUI</a> * * @since 1.0.0 * @version 1.3.0 */
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/SpiGUI.java
core/src/main/java/com/samjakob/spigui/SpiGUI.java
package com.samjakob.spigui; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import java.util.Objects; import javax.annotation.Nonnull; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.plugin.java...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/buttons/package-info.java
core/src/main/java/com/samjakob/spigui/buttons/package-info.java
/** * Clickable elements for SpiGUI menus ({@link com.samjakob.spigui.menu.SGMenu}). * * <p>Presently, only a button is implemented: {@link com.samjakob.spigui.buttons.SGButton}. * * @since 1.0.0 * @version 1.3.0 */ package com.samjakob.spigui.buttons;
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/buttons/SGButton.java
core/src/main/java/com/samjakob/spigui/buttons/SGButton.java
package com.samjakob.spigui.buttons; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; /** * An SGButton represents a clickable item in an SGMenu (GUI). It consists of an icon ({@link ItemStack}) and a list...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/buttons/SGButtonListener.java
core/src/main/java/com/samjakob/spigui/buttons/SGButtonListener.java
package com.samjakob.spigui.buttons; import javax.annotation.Nonnull; import org.bukkit.event.inventory.InventoryClickEvent; /** Holds the event handler for an SGButton. */ public interface SGButtonListener { /** * The event handler that should be executed when an SGButton is clicked. Implement this with a...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/toolbar/SGToolbarBuilder.java
core/src/main/java/com/samjakob/spigui/toolbar/SGToolbarBuilder.java
package com.samjakob.spigui.toolbar; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.samjakob.spigui.buttons.SGButton; import com.samjakob.spigui.menu.SGMenu; /** * An interface for a toolbar button builder. * * <p>The toolbar button builder is responsible for ...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/toolbar/package-info.java
core/src/main/java/com/samjakob/spigui/toolbar/package-info.java
/** * The Toolbar API. * * <p>Used to override the pagination buttons, or to add fixed toolbar items. * * <p>This contains the {@link com.samjakob.spigui.toolbar.SGToolbarBuilder} interface, responsible for delegating the * building of each toolbar button. * * <p>For usage, see: * * <ul> * <li>{@link com.s...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderFactory.java
core/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderFactory.java
package com.samjakob.spigui.toolbar; import java.util.Objects; import java.util.function.Supplier; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.samjakob.spigui.SpiGUI; public final class SGDefaultToolbarBuilderFactory { static { // See ItemBuilderFactory. FACTORY...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderBase.java
core/src/main/java/com/samjakob/spigui/toolbar/SGDefaultToolbarBuilderBase.java
package com.samjakob.spigui.toolbar; import java.util.Arrays; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.annotation.concurrent.Immutable; import org.bukkit.event.Event; import com.samjakob.spigui.SpiGUI; import com.samjakob.spigui.buttons.SGButton; impor...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/toolbar/SGToolbarButtonType.java
core/src/main/java/com/samjakob/spigui/toolbar/SGToolbarButtonType.java
package com.samjakob.spigui.toolbar; import java.util.*; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * Represents pre-defined types for toolbar buttons. These can be used to easily re-define the buttons used in a * toolbar, without creating an entirely custom toolbar implementation. */ p...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/ItemBuilderFactory.java
core/src/main/java/com/samjakob/spigui/item/ItemBuilderFactory.java
package com.samjakob.spigui.item; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import com.samjakob.spigui.SpiGUI; /** * A factory for {@link ItemBuilderBase}. * * <p>This factory is used to auto-reg...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/package-info.java
core/src/main/java/com/samjakob/spigui/item/package-info.java
/** * The {@link com.samjakob.spigui.item.ItemBuilder} API (and friends). * * <p>This holds the ItemBuilder API class and other classes (or enums) used to implement it. */ package com.samjakob.spigui.item;
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/ItemBuilder.java
core/src/main/java/com/samjakob/spigui/item/ItemBuilder.java
package com.samjakob.spigui.item; import java.util.List; import java.util.UUID; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemFlag; import org.bukkit.inventory.ItemStack; import org.bukkit.inve...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/ItemBuilderBase.java
core/src/main/java/com/samjakob/spigui/item/ItemBuilderBase.java
package com.samjakob.spigui.item; import java.util.List; import java.util.UUID; import java.util.function.Consumer; import java.util.function.Predicate; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.enchantments.Enchantmen...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/ItemBuilderConstructors.java
core/src/main/java/com/samjakob/spigui/item/ItemBuilderConstructors.java
package com.samjakob.spigui.item; import javax.annotation.Nonnull; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; /** * Constructors that can be used by the {@link ItemBuilderFactory}. * * <p>These can be registered dynamically on the factory depending on which {@link ItemBuilderBase} implemen...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/item/ItemColor.java
core/src/main/java/com/samjakob/spigui/item/ItemColor.java
package com.samjakob.spigui.item; /** * Items such as glass panes can have variable color. Historically, Minecraft (and the Bukkit/Spigot APIs) represented * these colors with data/durability values. * * <p>This was unclear when working with the items so SpiGUI's (and its predecessor's) item API has always had a t...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/menu/package-info.java
core/src/main/java/com/samjakob/spigui/menu/package-info.java
/** * Menu definitions, including the listener (which handles user events). * * @see com.samjakob.spigui.menu.SGMenu */ package com.samjakob.spigui.menu;
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/menu/SGOpenMenu.java
core/src/main/java/com/samjakob/spigui/menu/SGOpenMenu.java
package com.samjakob.spigui.menu; import java.util.Objects; import java.util.StringJoiner; import javax.annotation.Nonnull; import org.bukkit.entity.Player; /** Used to refer to a player's "viewing session" of a given menu. */ public class SGOpenMenu { /** The {@link SGMenu} that is currently open. */ priva...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/menu/SGMenuListenerBase.java
core/src/main/java/com/samjakob/spigui/menu/SGMenuListenerBase.java
package com.samjakob.spigui.menu; import java.util.Objects; import java.util.Optional; import java.util.Set; import java.util.function.Consumer; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.event.Event; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/core/src/main/java/com/samjakob/spigui/menu/SGMenu.java
core/src/main/java/com/samjakob/spigui/menu/SGMenu.java
package com.samjakob.spigui.menu; import java.util.*; import java.util.function.Consumer; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.HumanEntity; import org.bukkit.event.inventory.ClickType; import org.bukkit.event...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
SamJakob/SpiGUI
https://github.com/SamJakob/SpiGUI/blob/9244f5c484bc09a5eb01a084aecf83899959eccf/demo/src/main/java/com/samjakob/spiguitest/SpiGUITest.java
demo/src/main/java/com/samjakob/spiguitest/SpiGUITest.java
package com.samjakob.spiguitest; import java.util.*; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; import java.util.stream.IntStream; import javax.annotation.Nonnull; import org.bukkit.ChatColor; import org.bukkit.Material; imp...
java
MIT
9244f5c484bc09a5eb01a084aecf83899959eccf
2026-01-05T02:40:39.874653Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/BFTNode.java
src/bft/BFTNode.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft; import bft.util.BFTCommon; import bft.util.MSPManager; import bft.util.BlockCutter; import bft.util.ECDSAKeyLoader; impor...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
true
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/BFTProxy.java
src/bft/BFTProxy.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft; import bft.util.ProxyReplyListener; import bft.util.BFTCommon; import bft.util.ECDSAKeyLoader; import bftsmart.communicat...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/OUIdentifier.java
src/bft/util/OUIdentifier.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import java.io.Serializable; import org.apache.commons.codec.binary.Hex; /** * * @author joao */ class OUIdentif...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/MSPManager.java
src/bft/util/MSPManager.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import bft.util.BFTCommon.BFTException; import com.google.protobuf.ByteString; import com.google.protobuf.InvalidPro...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
true
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/ECDSAKeyLoader.java
src/bft/util/ECDSAKeyLoader.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import bftsmart.tom.util.KeyLoader; import java.io.IOException; import java.security.NoSuchAlgorithmException; impor...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/BlockCutter.java
src/bft/util/BlockCutter.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import ja...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/ProxyReplyListener.java
src/bft/util/ProxyReplyListener.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import bftsmart.reconfiguration.views.View; import bftsmart.tom.AsynchServiceProxy; import bftsmart.tom.core.message...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/FabricVMServices.java
src/bft/util/FabricVMServices.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import bftsmart.reconfiguration.VMServices; import bftsmart.tom.util.KeyLoader; import java.security.Provider; imp...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/util/BFTCommon.java
src/bft/util/BFTCommon.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.util; import bftsmart.tom.MessageContext; import bftsmart.tom.util.TOMUtil; import com.google.protobuf.ByteString; import ...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
true
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/test/WorkloadClient.java
src/bft/test/WorkloadClient.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.test; import bft.util.BFTCommon; import bft.util.ECDSAKeyLoader; import bft.util.ProxyReplyListener; import bftsmart.commu...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
bft-smart/fabric-orderingservice
https://github.com/bft-smart/fabric-orderingservice/blob/8e1c9dd7226793efbbee791357f196ea507a9a49/src/bft/test/TestSignatures.java
src/bft/test/TestSignatures.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package bft.test; import com.google.protobuf.ByteString; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import j...
java
Apache-2.0
8e1c9dd7226793efbbee791357f196ea507a9a49
2026-01-05T02:40:27.346805Z
false
9001/party-up
https://github.com/9001/party-up/blob/d2e1d7c32ac02f7f663a02f28c0020e3c3b35557/app/src/test/java/me/ocv/partyup/ExampleUnitTest.java
app/src/test/java/me/ocv/partyup/ExampleUnitTest.java
package me.ocv.partyup; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void additio...
java
MIT
d2e1d7c32ac02f7f663a02f28c0020e3c3b35557
2026-01-05T02:40:42.627768Z
false
9001/party-up
https://github.com/9001/party-up/blob/d2e1d7c32ac02f7f663a02f28c0020e3c3b35557/app/src/main/java/me/ocv/partyup/MainActivity.java
app/src/main/java/me/ocv/partyup/MainActivity.java
package me.ocv.partyup; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity ...
java
MIT
d2e1d7c32ac02f7f663a02f28c0020e3c3b35557
2026-01-05T02:40:42.627768Z
false
9001/party-up
https://github.com/9001/party-up/blob/d2e1d7c32ac02f7f663a02f28c0020e3c3b35557/app/src/main/java/me/ocv/partyup/XferActivity.java
app/src/main/java/me/ocv/partyup/XferActivity.java
package me.ocv.partyup; import static java.lang.String.format; import android.Manifest; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.DialogInterface; import android.co...
java
MIT
d2e1d7c32ac02f7f663a02f28c0020e3c3b35557
2026-01-05T02:40:42.627768Z
false
9001/party-up
https://github.com/9001/party-up/blob/d2e1d7c32ac02f7f663a02f28c0020e3c3b35557/app/src/main/java/me/ocv/partyup/SettingsActivity.java
app/src/main/java/me/ocv/partyup/SettingsActivity.java
package me.ocv.partyup; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.InputType; import android.view.MenuItem; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import android.widget.Toast; ...
java
MIT
d2e1d7c32ac02f7f663a02f28c0020e3c3b35557
2026-01-05T02:40:42.627768Z
false
9001/party-up
https://github.com/9001/party-up/blob/d2e1d7c32ac02f7f663a02f28c0020e3c3b35557/app/src/androidTest/java/me/ocv/partyup/ExampleInstrumentedTest.java
app/src/androidTest/java/me/ocv/partyup/ExampleInstrumentedTest.java
package me.ocv.partyup; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Andro...
java
MIT
d2e1d7c32ac02f7f663a02f28c0020e3c3b35557
2026-01-05T02:40:42.627768Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-transport/src/main/java/org/tinylcy/RpcResponse.java
buddha-transport/src/main/java/org/tinylcy/RpcResponse.java
package org.tinylcy; /** * Created by chenyangli. */ public class RpcResponse implements BasicMessage { private Long requestId; private Throwable error; private Object result; public Long getRequestId() { return requestId; } public void setRequestId(Long requestId) { this.re...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-transport/src/main/java/org/tinylcy/RpcRequest.java
buddha-transport/src/main/java/org/tinylcy/RpcRequest.java
package org.tinylcy; import java.util.Arrays; import java.util.concurrent.atomic.AtomicLong; /** * Created by chenyangli. */ public class RpcRequest implements BasicMessage { private static final AtomicLong REQUEST_ID = new AtomicLong(1L); private Long requestId; private String className; private ...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-transport/src/main/java/org/tinylcy/BasicMessage.java
buddha-transport/src/main/java/org/tinylcy/BasicMessage.java
package org.tinylcy; /** * Created by chenyangli. */ public interface BasicMessage { }
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/test/java/org/tinylcy/fastjson/FastJsonSerializerTest.java
buddha-serialization/src/test/java/org/tinylcy/fastjson/FastJsonSerializerTest.java
package org.tinylcy.fastjson; import org.junit.Test; import org.tinylcy.RpcRequest; import java.util.Arrays; /** * Created by chenyangli. */ public class FastJsonSerializerTest { @Test public void fastJsonTest() { RpcRequest request = new RpcRequest("org.tinylcy.services.IHelloService", "hello", ...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/test/java/org/tinylcy/kryo/KryoSerializerTest.java
buddha-serialization/src/test/java/org/tinylcy/kryo/KryoSerializerTest.java
package org.tinylcy.kryo; import org.junit.Test; import org.tinylcy.RpcRequest; import java.util.Arrays; /** * Created by chenyangli. */ public class KryoSerializerTest { @Test public void kryoTest() { RpcRequest request = new RpcRequest("org.tinylcy.services.IHelloService", "hello", ...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/main/java/org/tinylcy/SerializerFactory.java
buddha-serialization/src/main/java/org/tinylcy/SerializerFactory.java
package org.tinylcy; import java.util.ServiceLoader; /** * Created by chenyangli. */ public class SerializerFactory { /** * SPI * * @return */ public static Serializer load() { return ServiceLoader.load(Serializer.class).iterator().next(); } }
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/main/java/org/tinylcy/Serializer.java
buddha-serialization/src/main/java/org/tinylcy/Serializer.java
package org.tinylcy; /** * Created by chenyangli. */ public interface Serializer { byte[] serialize(Object object); <T> T deserialize(byte[] bytes, Class<T> clazz); }
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/main/java/org/tinylcy/fastjson/FastJsonSerializer.java
buddha-serialization/src/main/java/org/tinylcy/fastjson/FastJsonSerializer.java
package org.tinylcy.fastjson; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.parser.Feature; import com.alibaba.fastjson.serializer.SerializerFeature; import org.tinylcy.Serializer; /** * Created by chenyangli. */ public class FastJsonSerializer implements Serializer { public byte[] serialize(O...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-serialization/src/main/java/org/tinylcy/kryo/KryoSerializer.java
buddha-serialization/src/main/java/org/tinylcy/kryo/KryoSerializer.java
package org.tinylcy.kryo; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; import org.tinylcy.Serializer; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; /** * Created by chenyangli. ...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false
tinylcy/buddha
https://github.com/tinylcy/buddha/blob/60b868ab565dcfb9f1c22e0776388bac20d8cea5/buddha-codec/src/main/java/org/tinylcy/RpcRequestCodec.java
buddha-codec/src/main/java/org/tinylcy/RpcRequestCodec.java
package org.tinylcy; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageCodec; import java.util.List; /** * Created by chenyangli. */ public class RpcRequestCodec extends ByteToMessageCodec<RpcRequest> { @Override protected void encode...
java
MIT
60b868ab565dcfb9f1c22e0776388bac20d8cea5
2026-01-05T02:40:43.558810Z
false