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 |
|---|---|---|---|---|---|---|---|---|
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/Param.java | config-magic/src/main/java/org/skife/config/Param.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/DataAmountUnit.java | config-magic/src/main/java/org/skife/config/DataAmountUnit.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/TimeSpan.java | config-magic/src/main/java/org/skife/config/TimeSpan.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/Description.java | config-magic/src/main/java/org/skife/config/Description.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/DefaultCoercibles.java | config-magic/src/main/java/org/skife/config/DefaultCoercibles.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/config-magic/src/main/java/org/skife/config/ConfigSource.java | config-magic/src/main/java/org/skife/config/ConfigSource.java | /*
* Copyright 2020-2021 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/TestClockMock.java | clock/src/test/java/org/killbill/clock/TestClockMock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/ClockMock.java | clock/src/test/java/org/killbill/clock/ClockMock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/TestClockMockBase.java | clock/src/test/java/org/killbill/clock/TestClockMockBase.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/TestClockUtil.java | clock/src/test/java/org/killbill/clock/TestClockUtil.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/TestDistributedClockMock.java | clock/src/test/java/org/killbill/clock/TestDistributedClockMock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/test/java/org/killbill/clock/DistributedClockMock.java | clock/src/test/java/org/killbill/clock/DistributedClockMock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/main/java/org/killbill/clock/ClockUtil.java | clock/src/main/java/org/killbill/clock/ClockUtil.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/main/java/org/killbill/clock/Clock.java | clock/src/main/java/org/killbill/clock/Clock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/clock/src/main/java/org/killbill/clock/DefaultClock.java | clock/src/main/java/org/killbill/clock/DefaultClock.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/metrics/TestResourceTimer.java | skeleton/src/test/java/org/killbill/commons/skeleton/metrics/TestResourceTimer.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/metrics/TestTimedResourceInterceptor.java | skeleton/src/test/java/org/killbill/commons/skeleton/metrics/TestTimedResourceInterceptor.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/HelloFilter.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/HelloFilter.java | /*
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/AbstractBaseServerModuleTest.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/AbstractBaseServerModuleTest.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/SomeGuiceyDependency.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/SomeGuiceyDependency.java | /*
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/TestJerseyBaseServerModule.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/TestJerseyBaseServerModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2022 Equinix, Inc
* Copyright 2014-2022 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/HelloResource.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/HelloResource.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/test/java/org/killbill/commons/skeleton/modules/TestBaseServerModule.java | skeleton/src/test/java/org/killbill/commons/skeleton/modules/TestBaseServerModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/servlets/LogInvalidResourcesServlet.java | skeleton/src/main/java/org/killbill/commons/skeleton/servlets/LogInvalidResourcesServlet.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/metrics/ResourceTimer.java | skeleton/src/main/java/org/killbill/commons/skeleton/metrics/ResourceTimer.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/metrics/TimedResourceInterceptor.java | skeleton/src/main/java/org/killbill/commons/skeleton/metrics/TimedResourceInterceptor.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/ConfigModule.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/ConfigModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/JMXModule.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/JMXModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/JerseyBaseServerModule.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/JerseyBaseServerModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/BaseServerModuleBuilder.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/BaseServerModuleBuilder.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/GuiceServletContainer.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/GuiceServletContainer.java | /*
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/BaseServerModule.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/BaseServerModule.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/modules/TimedInterceptionService.java | skeleton/src/main/java/org/killbill/commons/skeleton/modules/TimedInterceptionService.java | /*
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/listeners/GuiceServletContextListener.java | skeleton/src/main/java/org/killbill/commons/skeleton/listeners/GuiceServletContextListener.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
killbill/killbill-commons | https://github.com/killbill/killbill-commons/blob/9239f88b55d9255c172143bab180b7aa042fcd36/skeleton/src/main/java/org/killbill/commons/skeleton/listeners/JULServletContextListener.java | skeleton/src/main/java/org/killbill/commons/skeleton/listeners/JULServletContextListener.java | /*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... | java | Apache-2.0 | 9239f88b55d9255c172143bab180b7aa042fcd36 | 2026-01-05T02:38:41.530814Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/app/src/test/java/com/dmallcott/dismissibleimageview/ExampleUnitTest.java | app/src/test/java/com/dmallcott/dismissibleimageview/ExampleUnitTest.java | package com.dmallcott.dismissibleimageview;
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
... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/app/src/test/java/com/dmallcott/dismissibleimageview/example/ExampleUnitTest.java | app/src/test/java/com/dmallcott/dismissibleimageview/example/ExampleUnitTest.java | package com.dmallcott.dismissibleimageview.example;
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 {
@... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/app/src/main/java/com/dmallcott/dismissibleimageview/example/MainActivity.java | app/src/main/java/com/dmallcott/dismissibleimageview/example/MainActivity.java | package com.dmallcott.dismissibleimageview.example;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.dmallcott.dismissibleimageview.DismissibleImageView;
import com.squareup.picasso.Picasso;
public class MainActivity extends AppCompatActivity {
@Override
protected void o... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/app/src/androidTest/java/com/dmallcott/dismissibleimageview/ExampleInstrumentedTest.java | app/src/androidTest/java/com/dmallcott/dismissibleimageview/ExampleInstrumentedTest.java | package com.dmallcott.dismissibleimageview;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/app/src/androidTest/java/com/dmallcott/dismissibleimageview/example/ExampleInstrumentedTest.java | app/src/androidTest/java/com/dmallcott/dismissibleimageview/example/ExampleInstrumentedTest.java | package com.dmallcott.dismissibleimageview.example;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/test/java/com/dmallcott/dismissibleimageview/ExampleUnitTest.java | library/src/test/java/com/dmallcott/dismissibleimageview/ExampleUnitTest.java | package com.dmallcott.dismissibleimageview;
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
... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleOnDragListener.java | library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleOnDragListener.java | package com.dmallcott.dismissibleimageview;
import android.support.annotation.NonNull;
import android.view.DragEvent;
import android.view.View;
class DismissibleOnDragListener implements View.OnDragListener {
abstract static class OnDropListener {
abstract void onDragStarted();
abstract void onDr... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleImageView.java | library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleImageView.java | package com.dmallcott.dismissibleimageview;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.CallSuper;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
im... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleDragShadowBuilder.java | library/src/main/java/com/dmallcott/dismissibleimageview/DismissibleDragShadowBuilder.java | package com.dmallcott.dismissibleimageview;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
class DismissibleDragShadowBui... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/FullScreenImageFragment.java | library/src/main/java/com/dmallcott/dismissibleimageview/FullScreenImageFragment.java | package com.dmallcott.dismissibleimageview;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.ColorDrawable;
import android.graphics.d... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/FastBlur.java | library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/FastBlur.java | package com.dmallcott.dismissibleimageview.blur_transformation;
import android.graphics.Bitmap;
/**
* Copyright (C) 2017 Wasabeef
*
* 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
*
* ... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/RsBlur.java | library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/RsBlur.java | package com.dmallcott.dismissibleimageview.blur_transformation;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Build;
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RSRuntimeException;
impo... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/BlurTransformation.java | library/src/main/java/com/dmallcott/dismissibleimageview/blur_transformation/BlurTransformation.java | package com.dmallcott.dismissibleimageview.blur_transformation;
/**
* Copyright (C) 2017 Wasabeef
*
* 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/LI... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
dmallcott/DismissibleImageView | https://github.com/dmallcott/DismissibleImageView/blob/f6a970d614c7d9725f2dfb702dfded8651126846/library/src/androidTest/java/com/dmallcott/dismissibleimageview/ExampleInstrumentedTest.java | library/src/androidTest/java/com/dmallcott/dismissibleimageview/ExampleInstrumentedTest.java | package com.dmallcott.dismissibleimageview;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute... | java | Apache-2.0 | f6a970d614c7d9725f2dfb702dfded8651126846 | 2026-01-05T02:38:47.877787Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/test/java/id/web/ard/springbootwebfluxjjwt/SpringBootWebfluxJjwtApplicationTests.java | src/test/java/id/web/ard/springbootwebfluxjjwt/SpringBootWebfluxJjwtApplicationTests.java | package id.web.ard.springbootwebfluxjjwt;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class DemoApplicationTests {
@Test
void contextLoads() {
}
}
| java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/SpringBootWebfluxJjwtApplication.java | src/main/java/com/ard333/springbootwebfluxjjwt/SpringBootWebfluxJjwtApplication.java | package com.ard333.springbootwebfluxjjwt;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringBootWebfluxJjwtApplication {
public static void main(String[] args) {
SpringApplication.run(SpringBoo... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/service/UserService.java | src/main/java/com/ard333/springbootwebfluxjjwt/service/UserService.java | package com.ard333.springbootwebfluxjjwt.service;
import com.ard333.springbootwebfluxjjwt.model.User;
import com.ard333.springbootwebfluxjjwt.model.security.Role;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import org.springframework.stereotype.Ser... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/model/Message.java | src/main/java/com/ard333/springbootwebfluxjjwt/model/Message.java | package com.ard333.springbootwebfluxjjwt.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message {
private String content;
}
| java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/model/User.java | src/main/java/com/ard333/springbootwebfluxjjwt/model/User.java | package com.ard333.springbootwebfluxjjwt.model;
import com.ard333.springbootwebfluxjjwt.model.security.Role;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.aut... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/model/security/AuthRequest.java | src/main/java/com/ard333/springbootwebfluxjjwt/model/security/AuthRequest.java | package com.ard333.springbootwebfluxjjwt.model.security;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuthRequest {
private String username;
private String password;
}
| java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/model/security/AuthResponse.java | src/main/java/com/ard333/springbootwebfluxjjwt/model/security/AuthResponse.java | package com.ard333.springbootwebfluxjjwt.model.security;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuthResponse {
private String token;
}
| java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/model/security/Role.java | src/main/java/com/ard333/springbootwebfluxjjwt/model/security/Role.java | package com.ard333.springbootwebfluxjjwt.model.security;
public enum Role {
ROLE_USER, ROLE_ADMIN
} | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/WebSecurityConfig.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/WebSecurityConfig.java | package com.ard333.springbootwebfluxjjwt.security;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.security.config.annotation.method.configuration.EnableReactiveMethodSecurity;
import org.springframew... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/JWTUtil.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/JWTUtil.java | package com.ard333.springbootwebfluxjjwt.security;
import com.ard333.springbootwebfluxjjwt.model.User;
import java.security.Key;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebt... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/PBKDF2Encoder.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/PBKDF2Encoder.java | package com.ard333.springbootwebfluxjjwt.security;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.Base64;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import org.springframework.beans.factory.annotation.Value;
import org.... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/AuthenticationManager.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/AuthenticationManager.java | package com.ard333.springbootwebfluxjjwt.security;
import io.jsonwebtoken.Claims;
import lombok.AllArgsConstructor;
import org.springframework.security.authentication.ReactiveAuthenticationManager;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.secur... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/CORSFilter.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/CORSFilter.java | package com.ard333.springbootwebfluxjjwt.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.config.CorsRegistry;
import org.springframework.web.reactive.config.EnableWebFlux;
import org.springframework.web.reactive.config.WebFluxConfigurer;
@Configuration
@E... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/SecurityContextRepository.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/SecurityContextRepository.java | package com.ard333.springbootwebfluxjjwt.security;
import org.springframework.http.HttpHeaders;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.s... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/model/AuthRequest.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/model/AuthRequest.java | package com.ard333.springbootwebfluxjjwt.security.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
*
* @author ard333
*/
@Data @NoArgsConstructor @AllArgsConstructor @ToString
public class AuthRequest {
private String username;
priva... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/model/AuthResponse.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/model/AuthResponse.java | package com.ard333.springbootwebfluxjjwt.security.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
*
* @author ard333
*/
@Data @NoArgsConstructor @AllArgsConstructor @ToString
public class AuthResponse {
private String token;
}
| java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/security/model/Role.java | src/main/java/com/ard333/springbootwebfluxjjwt/security/model/Role.java | package com.ard333.springbootwebfluxjjwt.security.model;
/**
*
* @author ard333
*/
public enum Role {
ROLE_USER, ROLE_ADMIN
} | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/rest/AuthenticationREST.java | src/main/java/com/ard333/springbootwebfluxjjwt/rest/AuthenticationREST.java | package com.ard333.springbootwebfluxjjwt.rest;
import com.ard333.springbootwebfluxjjwt.model.security.AuthRequest;
import com.ard333.springbootwebfluxjjwt.model.security.AuthResponse;
import com.ard333.springbootwebfluxjjwt.security.JWTUtil;
import com.ard333.springbootwebfluxjjwt.security.PBKDF2Encoder;
import com.ar... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
ard333/spring-boot-webflux-jjwt | https://github.com/ard333/spring-boot-webflux-jjwt/blob/8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51/src/main/java/com/ard333/springbootwebfluxjjwt/rest/ResourceREST.java | src/main/java/com/ard333/springbootwebfluxjjwt/rest/ResourceREST.java | package com.ard333.springbootwebfluxjjwt.rest;
import com.ard333.springbootwebfluxjjwt.model.Message;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotatio... | java | Apache-2.0 | 8a9dabc6e1e00ff93176aaa2c6fcc109e1c1dc51 | 2026-01-05T02:39:38.144815Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/CircleView.java | circularview/src/main/java/rjsv/circularview/CircleView.java | package rjsv.circularview;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.os.Build;
import ... | java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/CircleViewChangeListener.java | circularview/src/main/java/rjsv/circularview/CircleViewChangeListener.java | package rjsv.circularview;
public interface CircleViewChangeListener {
void onPointsChanged(CircleView circleView, float points);
void onStartTracking(CircleView circleView);
void onStopTracking(CircleView circleView);
}
| java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/CircleViewAnimation.java | circularview/src/main/java/rjsv/circularview/CircleViewAnimation.java | package rjsv.circularview;
import android.os.Handler;
import android.view.animation.Animation;
import android.view.animation.Interpolator;
import android.view.animation.LinearInterpolator;
import android.view.animation.Transformation;
import rjsv.circularview.enumerators.AnimationStyle;
import rjsv.circularview.utils... | java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/utils/Disposable.java | circularview/src/main/java/rjsv/circularview/utils/Disposable.java | package rjsv.circularview.utils;
/**
* Description
*
* @author <a href="mailto:ricardo.vieira@xpand-it.com">RJSV</a>
* @version $Revision : 1 $
*/
public interface Disposable {
void disposeData();
}
| java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/utils/CircleViewAnimationListener.java | circularview/src/main/java/rjsv/circularview/utils/CircleViewAnimationListener.java | package rjsv.circularview.utils;
import android.view.animation.Animation;
import java.util.ArrayList;
import java.util.List;
/**
* Description
*
* @author <a href="mailto:ricardo.vieira@xpand-it.com">RJSV</a>
* @version $Revision : 1 $
*/
public class CircleViewAnimationListener implements Animation.AnimationL... | java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/utils/GeneralUtils.java | circularview/src/main/java/rjsv/circularview/utils/GeneralUtils.java | package rjsv.circularview.utils;
import android.content.Context;
import android.content.res.AssetManager;
import java.io.IOException;
import java.io.InputStream;
/**
* Description
*
* @author <a href="mailto:ricardo.vieira@xpand-it.com">RJSV</a>
* @version $Revision : 1 $
*/
public class GeneralUtils {
//... | java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
rjsvieira/circularView | https://github.com/rjsvieira/circularView/blob/2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3/circularview/src/main/java/rjsv/circularview/enumerators/AnimationStyle.java | circularview/src/main/java/rjsv/circularview/enumerators/AnimationStyle.java | package rjsv.circularview.enumerators;
/**
* Description
*
* @author <a href="mailto:ricardo.vieira@xpand-it.com">RJSV</a>
* @version $Revision : 1 $
*/
public enum AnimationStyle {
CONTINUOUS,
PERIODIC
}
| java | Apache-2.0 | 2c8b3b8cb2e2fefbc19a891d5c4ae73532b846b3 | 2026-01-05T02:39:38.864843Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/Main.java | data_struct_study/src/Main.java |
/**
* 数据结构地图:
* 1、线性结构:动态数组、普通队列、栈、链表、哈希表。
* 2、树形结构:二分搜索树、AVL 树、红黑树
* 堆、线段树
* 多叉树:Trie、并查集
* 3、图结构:邻接表(与链地址法的哈希表很像,它是一个有 n 个链表的数组,
* arr[i] 存储的就是和 i 这个顶点相连接的其它顶点或和 i 这个顶点相连接的边。
* 邻接矩阵(一个 n * n 的二维数组,G(i,j) 表示从 i 到 j 有一个边)。
* 4、抽象数据结构:
* 线性... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution167.java | data_struct_study/src/array_problem/Solution167.java | package array_problem;
import java.util.Arrays;
/**
* 给定一个已按照升序排列 的有序数组,找到两个数使得它们相加之和等于目标数。
* 函数应该返回这两个下标值 index1 和 index2,其中 index1 必须小于 index2。
*
* 说明:
* 返回的下标值(index1 和 index2)不是从零开始的。
* 你可以假设每个输入只对应唯一的答案,而且你不可以重复使用相同的元素。
* 示例:
*
* 输入: numbers = [2, 7, 11, 15], target = 9
* 输出: [1,2]
* 解释: 2 与 7 之和等于目标... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution674.java | data_struct_study/src/array_problem/Solution674.java | package array_problem;
public class Solution674 {
}
| java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution26.java | data_struct_study/src/array_problem/Solution26.java | package array_problem;
public class Solution26 {
}
| java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution33.java | data_struct_study/src/array_problem/Solution33.java | package array_problem;
/**
* 搜索旋转排序数组:先二分查找旋转点(迭代或者递推),
* 再二分查找目标(递推)。二分查找可以用递归/循环,
* 是很常见的写法。需注意分段和索引范围问题
* (没有必要为了排除某个别索引把分段弄得特别严谨)。
*/
public class Solution33 {
public int search(int[] nums, int target) {
int len = nums.length;
if (len==0) return -1;
if (len==1) return nums[0]==ta... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution167_2.java | data_struct_study/src/array_problem/Solution167_2.java | package array_problem;
import java.util.Arrays;
/**
* 二分查找
* O(nlogn)
* O(1)
*/
public class Solution167_2 {
// 2、循环 + 二分查找:在有序数组中查找 target - arr[i], 时间复杂度O(nlogn)
public int[] twoSum(int[] arr, int target) {
// 1、异常边界处理
int n = arr.length;
if (n < 2) {
throw new Illeg... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution167_3.java | data_struct_study/src/array_problem/Solution167_3.java | package array_problem;
import java.util.Arrays;
/**
* 对撞指针
* O(n)
* O(1)
*/
public class Solution167_3 {
// 3、对撞指针:使用左右边界索引,使用这2个索引不断往中间靠拢,时间复杂度O(n), 空间复杂度O(1)
public int[] twoSum(int[] arr, int target) {
// 1、异常边界处理
int n = arr.length;
if (n < 2) {
throw new IllegalAr... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution56.java | data_struct_study/src/array_problem/Solution56.java | package array_problem;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
/**
* 首先根据左端点排序,这样只需比较每一次合并后区间的右端点和一个区间的左端点即可。
*
* 输入: intervals = [[1,3],[2,6],[8,10],[15,18]]
* 输出: [[1,6],[8,10],[15,18]]
* 解释: 区间 [1,3] 和 [2,6] 重叠, 将它们合并为 [1,6].
*/
public class So... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution11.java | data_struct_study/src/array_problem/Solution11.java | package array_problem;
/**
* 给你 n 个非负整数 a1,a2,...,an,每个数代表坐标中的一个点 (i, ai) 。
* 在坐标内画 n 条垂直线,垂直线 i 的两个端点分别为 (i, ai) 和 (i, 0)。
* 找出其中的两条线,使得它们与 x 轴共同构成的容器可以容纳最多的水。
*
* 说明:你不能倾斜容器,且 n 的值至少为 2。
* 图中垂直线代表输入数组 [1,8,6,2,5,4,8,3,7]。在此情况下,
* 容器能够容纳水(表示为蓝色部分)的最大值为 49。
*
* 示例:
* 输入:[1,8,6,2,5,4,8,3,7]
* 输出:49
*/
publ... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution567.java | data_struct_study/src/array_problem/Solution567.java | package array_problem;
public class Solution567 {
}
| java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution75.java | data_struct_study/src/array_problem/Solution75.java | package array_problem;
//https://leetcode-cn.com/problems/sort-colors/:颜色分类
/**
* 给定一个包含红色、白色和蓝色,一共 n 个元素的数组,原地对它们进行排序,使得相同颜色的元素相邻,并按照红色、白色、蓝色顺序排列。
*
* 此题中,我们使用整数 0、 1 和 2 分别表示红色、白色和蓝色。
*
* 注意:
* 不能使用代码库中的排序函数来解决这道题。
*
* 示例:
*
* 输入: [2,0,2,1,1,0]
* 输出: [0,0,1,1,2,2]
* 进阶:
*
* 一个直观的解决方案是使用计数排序的两趟扫描算法。
* ... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution344.java | data_struct_study/src/array_problem/Solution344.java | package array_problem;
/**
* 编写一个函数,其作用是将输入的字符串反转过来。输入字符串以字符数组 char[] 的形式给出。
* 不要创建另外的数组分配额外的空间,你必须原地修改输入数组、使用 O(1) 的额外空间解决这一问题。
* 你可以假设数组中的所有字符都是 ASCII 码表中的可打印字符。
*
* 示例 1:
* 输入:["h","e","l","l","o"]
* 输出:["o","l","l","e","h"]
*
* 示例 2:
* 输入:["H","a","n","n","a","h"]
* 输出:["h","a","n","n","a","H"]
*/
pub... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution125.java | data_struct_study/src/array_problem/Solution125.java | package array_problem;
//https://leetcode-cn.com/problems/valid-palindrome/:验证回文串
/**
* 给定一个字符串,验证它是否是回文串,只考虑字母和数字字符,可以忽略字母的大小写。
*
* 说明:本题中,我们将空字符串定义为有效的回文串。
*
* 示例 1:
*
* 输入: "A man, a plan, a canal: Panama"
* 输出: true
* 示例 2:
*
* 输入: "race a car"
* 输出: false
*
* 1、空字符串如何看?
* 2、字符的定义。
* 3、大小写问题。
* 4、... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution42.java | data_struct_study/src/array_problem/Solution42.java | package array_problem;
/**
* 每一个柱子的高度方向可以接的雨水的数量 =
* min(从当前柱子向左看的最高柱子高度, 从当前柱子向右看的最高柱子高度) - 当前柱子高度
* 1)两个数组left、right分别保存:从左往右遍历时下标i最高柱子高度,和从右往左遍历时下标i最高柱子高度。
* 2)再遍历一遍每个位置,只有当height[i]的高度,比left[i]和right[i]都要小的时候才能接住雨水(否则总有一边会漏,接不到雨水)
* 3)将所有可以接到雨水的柱子的数量加起来
*/
public class Solution42 {
public int trap(int[]... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution80.java | data_struct_study/src/array_problem/Solution80.java | package array_problem;
//https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii/:删除排序数组中的重复项 II
/**
* 给定一个排序数组,你需要在原地删除重复出现的元素,使得每个元素最多出现两次,返回移除后数组的新长度。
*
* 不要使用额外的数组空间,你必须在原地修改输入数组并在使用 O(1) 额外空间的条件下完成。
*
* 示例 1:
*
* 给定 nums = [1,1,1,2,2,3],
*
* 函数应返回新长度 length = 5, 并且原数组的前五个元素被修改为 1, 1, 2, 2... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution283_2.java | data_struct_study/src/array_problem/Solution283_2.java | package array_problem;
/**
* O(n)
* O(1)
*/
public class Solution283_2 {
public void moveZeroes(int[] nums) {
// [0,k)中的元素都用来保存原地的非零元素
int k = 0;
for (int i = 0; i < nums.length; i++) {
if (nums[i] != 0) {
nums[k++] = nums[i];
}
}
... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution438.java | data_struct_study/src/array_problem/Solution438.java | package array_problem;
import java.util.ArrayList;
import java.util.List;
/**
* 438:
* 1、字符集范围?英文小写字母。
* 2、返回的解的顺序?任意。
*
* 找到字符串中所有字母异位词:【滑动窗口】。
*/
public class Solution438 {
public List<Integer> findAnagrams(String s, String p) {
if(p==null||s==null||p.length()==0||s.length()==0
... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution283_4.java | data_struct_study/src/array_problem/Solution283_4.java | package array_problem;
public class Solution283_4 {
public void moveZeroes(int[] nums) {
int k = 0;
for (int i = 0; i < nums.length; i++) {
if (nums[i] != 0) {
if (i != k) {
swap(nums, k++, i);
} else {
k++;
... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/BinarySearch2.java | data_struct_study/src/array_problem/BinarySearch2.java | package array_problem;
/**
* 对于有序数列,才能使用二分查找法(排序的作用)。
* 100 万的数据量只需零点几秒。
* 注意搜索开闭区间的设定,例如 [0, n - 1] 或 [0, n)。
* 1962 才意识到的 bug:mid = (l + r) / 2 可能会产生整形溢出,推荐使用减法:l + (r-l)/2。
*
* 如何写出正确的程序?
* 1、明确变量的含义。
* 2、循环不变量。
* 3、小数据量调试。
* 4、大数据量测试。
*/
public class BinarySearch2 {
public stati... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution128.java | data_struct_study/src/array_problem/Solution128.java | package array_problem;
import java.util.HashMap;
public class Solution128 {
public int longestConsecutive(int[] nums) {
// 1、创建 值:频率 哈希表
HashMap<Integer, Integer> countForNum = new HashMap<>();
for (int num:nums) {
countForNum.put(num, 1);
}
// 2、求出哈希表中每一个值对应的... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution_1.java | data_struct_study/src/array_problem/Solution_1.java | package array_problem;
/**
* 数组中只出现一次的数字:一个整型数组里除了两个数字之外,
* 其他的数字都出现了两次,找出这两个数。
*/
public class Solution_1 {
// 1、哈希法:遍历数组,用map记录所有元素出现的次数,然后再遍历数组,找出只出现一次的数。
// 时间复杂度:O(n), 空间复杂度:O(n)
// 2、位运算:两个不相等的元素在位级表示上必定会有一位存在不同,将数组的所有元素异或得到的结果
// 为不存在重复的两个元素异或的结果。
// diff &= -diff 得出 diff 最低位的1,也就是不存在重复的... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution43.java | data_struct_study/src/array_problem/Solution43.java | package array_problem;
public class Solution43 {
}
| java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution547.java | data_struct_study/src/array_problem/Solution547.java | package array_problem;
public class Solution547 {
private int n;
public int findCircleNNum(int[][] M) {
n = M.length;
boolean[] visited = new boolean[n];
int max = 0;
for (int i = 0; i < n; i++) {
if (!visited[i]) {
dfs(M, i, visited);
... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution283_3.java | data_struct_study/src/array_problem/Solution283_3.java | package array_problem;
/**
* O(n)
* O(1)
*/
public class Solution283_3 {
public void moveZeroes(int[] nums) {
int k = 0;
for (int i = 0; i < nums.length; i++) {
if (nums[i] != 0) {
swap(nums, k++, i);
}
}
}
private void swap(int[] nums,... | java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
JsonChao/Awesome-Algorithm-Study | https://github.com/JsonChao/Awesome-Algorithm-Study/blob/f1c886eabf744b69e72a0b0a64b348032b439037/data_struct_study/src/array_problem/Solution76.java | data_struct_study/src/array_problem/Solution76.java | package array_problem;
/**
* 1、字符集范围
* 2、若没有解?返回""
* 3、若有多个解?保证只有一个解
* 4、什么叫包含所有字符?S="a",T="aa"
*/
public class Solution76 {
}
| java | Apache-2.0 | f1c886eabf744b69e72a0b0a64b348032b439037 | 2026-01-05T02:39:40.141219Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.