repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
qianhk/KaiPractice
app/src/main/java/com/njnu/kai/practice/image/shadow/ShadowImageFragment.java
1150
package com.njnu.kai.practice.image.shadow; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.njnu.kai.practice.R; import com.njnu....
apache-2.0
cymcsg/UltimateRecyclerView
UltimateRecyclerView/ultimaterecyclerview/src/main/java/com/marshalchen/ultimaterecyclerview/ui/divideritemdecoration/VerticalDividerItemDecoration.java
4956
package com.marshalchen.ultimaterecyclerview.ui.divideritemdecoration; import android.content.Context; import android.graphics.Rect; import android.graphics.drawable.Drawable; import androidx.annotation.DimenRes; import androidx.core.view.ViewCompat; import androidx.recyclerview.widget.RecyclerView; import android.vie...
apache-2.0
moreus/hadoop
hadoop-0.23.10/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
34861
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
pubudu91/docker-registry
src/gen/java/org/eclipse/packagedrone/dockerregistry/api/ApiOriginFilter.java
797
package org.eclipse.packagedrone.dockerregistry.api; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpServletResponse; public class ApiOriginFilter implements javax.servlet.Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain ch...
apache-2.0
igorbolic/memcached-spring-boot
memcached-spring-boot-autoconfigure/src/main/java/io/sixhours/memcached/cache/SpyMemcachedClient.java
2060
/* * Copyright 2016-2021 Sixhours * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
rwl/requestfactory-addon
addon/src/main/java/org/springframework/roo/addon/requestfactory/account/AccountOperations.java
840
package org.springframework.roo.addon.requestfactory.account; import org.springframework.roo.model.JavaPackage; import org.springframework.roo.model.JavaType; /** * Interface of operations this add-on offers. Typically used by a command type or an external add-on. * * @since 1.1 */ public interface AccountOperati...
apache-2.0
XiaoMi/galaxy-sdk-java
galaxy-thrift-api/src/main/thrift-java/com/xiaomi/infra/galaxy/sds/thrift/CommittedOffset.java
23954
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.xiaomi.infra.galaxy.sds.thrift; import libthrift091.scheme.IScheme; import libthrift091.scheme.SchemeFactory; import libthrift091.scheme.StandardScheme; import libthrif...
apache-2.0
rwoodley/Team10182
archive/2015-16/ComputerVision/CVApp03/app/src/main/java/com/noblenetwork/drwcollegeprep/cvapp03/Utilities.java
3749
package com.noblenetwork.drwcollegeprep.cvapp03; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Environment; import android.util.Log; import org.opencv.android.Utils; import org.opencv.core.Core; import org.opencv.core.Mat; impo...
apache-2.0
michaelmosmann/wicket-in-3-days
src/main/java/de/mosmann/topics/basics/forms/TripleAValidator.java
585
package de.mosmann.topics.basics.forms; import org.apache.wicket.behavior.Behavior; import org.apache.wicket.validation.IValidatable; import org.apache.wicket.validation.IValidator; import org.apache.wicket.validation.ValidationError; public class TripleAValidator extends Behavior implements IValidator<String> { @O...
apache-2.0
adligo/tests4j.adligo.org
src/org/adligo/tests4j/models/shared/reference_groups/jse/v1_6/JSE_1_6_Math.java
1850
package org.adligo.tests4j.models.shared.reference_groups.jse.v1_6; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.adligo.tests4j.models.shared.association.I_PackageConstantLookupModel; import org.adligo.tests4j.shared.asserts.reference.NameOnlyReferenceGroup; import org.adli...
apache-2.0
BrentDouglas/chainlink
core/src/main/java/io/machinecode/chainlink/core/jsl/fluent/Jsl.java
5622
/* * Copyright 2015 Brent Douglas and other contributors * as indicated by the @author tags. All rights reserved. * * 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.or...
apache-2.0
brandt/GridSphere
src/org/gridsphere/portlet/impl/PortletConfigImpl.java
8233
package org.gridsphere.portlet.impl; import org.gridsphere.portletcontainer.impl.descriptor.InitParam; import org.gridsphere.portletcontainer.impl.descriptor.PortletDefinition; import org.gridsphere.portletcontainer.impl.descriptor.PortletInfo; import org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale; i...
apache-2.0
banq/jdonframework
src/main/java/com/jdon/container/interceptor/ProxyFactory.java
1535
/* * Copyright 2003-2009 the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain event copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
apache-2.0
viydaag/vaadin-fluent-api
src/main/java/com/vaadin/fluent/api/FluentSlider.java
2472
package com.vaadin.fluent.api; import com.vaadin.shared.ui.slider.SliderOrientation; import com.vaadin.ui.Slider; /** * The base interface for fluent versions of {@link Slider} * * @see Slider * * @param <THIS> Self-referential generic THIS */ public interface FluentSlider<THIS extends FluentSlide...
apache-2.0
Emerjoin/Hi-Framework
Web/src/main/java/org/emerjoin/hi/web/events/sse/WebEventsController.java
6891
package org.emerjoin.hi.web.events.sse; import org.emerjoin.hi.web.ActiveUser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.enterprise.context.ApplicationScoped; import javax.servlet.AsyncContext; import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** * @author Mario Junior....
apache-2.0
prashant003/interimage-2
interimage-datamining/src/main/java/br/puc_rio/ele/lvc/interimage/datamining/udf/DecisionTreeClassifier.java
1696
package br.puc_rio.ele.lvc.interimage.datamining.udf; import java.io.IOException; import java.lang.Exception; import org.apache.pig.EvalFunc; import org.apache.pig.data.DataType; import org.apache.pig.data.Tuple; import org.apache.pig.impl.logicalLayer.schema.Schema; import br.puc_rio.ele.lvc.interimage.da...
apache-2.0
hgani/androlib
ganilib/src/main/java/com/gani/lib/http/PostDelegate.java
1116
package com.gani.lib.http; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; final class PostDelegate extends HttpDelegate { private static final long serialVersionUID = 1L; private HttpMethod method; private GImmutableParams params; PostDelegate(String na...
apache-2.0
nezihyigitbasi/presto
presto-spi/src/main/java/com/facebook/presto/spi/connector/ConnectorContext.java
1845
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
makohill/VerticalMarquee
app/src/main/java/com/marquee/MainActivity.java
2071
package com.marquee; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.Toast; import java.util.ArrayList; import java.util.List; import com.marquee.R; public class MainActivity extends AppCompatActivity { private VerticalMarqueeView marqueeView; private VerticalMarqu...
apache-2.0
anttribe/vigor-framework
vigor/vigor-defensor/vigor-defensor-auth/src/main/java/org/anttribe/vigor/defensor/auth/realm/DefensorAuthorizingRealm.java
10006
/* * 文 件 名: DefensorAuthorizingRealm.java * 版 本 : vigor-defensor-auth © 2016 Anttribe. All rights reserved. * 描 述 : <描述> * 修 改 人: zhaoyong * 修改时间: 2016年2月29日 */ package org.anttribe.vigor.defensor.auth.realm; import java.util.ArrayList; import java.util.HashMap; import java.util.List; impor...
apache-2.0
nextreports/nextreports-designer
src/ro/nextreports/designer/datasource/TagsDialog.java
2002
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
kevinx701/SeLion
codegen/src/main/java/com/paypal/selion/elements/AndroidSeLionElementList.java
6149
/*-------------------------------------------------------------------------------------------------------------------*\ | Copyright (C) 2015-2016 PayPal | | ...
apache-2.0
googleads/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202111/TargetingValue.java
5195
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
apache-2.0
michaelvandeweerd/sensor
src/net/michaelvandeweerd/sensor/data/Axis.java
1871
package net.michaelvandeweerd.sensor.data; /** * An connection between two nodes. * * @author Michaël van de Weerd */ public class Axis { /** * The name of the current axis. */ private String name; /** * The lower node of the current axis. */ private Extreme lower; /** * The hi...
apache-2.0
yuananf/presto
presto-main/src/test/java/com/facebook/presto/operator/TestExchangeOperator.java
16654
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
ayltai/Newspaper
app/src/main/java/com/github/ayltai/newspaper/view/ModelPresenter.java
659
package com.github.ayltai.newspaper.view; import javax.annotation.Nonnull; import androidx.annotation.CallSuper; import androidx.annotation.NonNull; import androidx.annotation.UiThread; import lombok.Getter; import lombok.Setter; public abstract class ModelPresenter<M, V extends Presenter.View> extends BasePresente...
apache-2.0
ontop/ontop
db/rdb/src/main/java/it/unibz/inf/ontop/generation/serializer/impl/HSQLDBSelectFromWhereSerializer.java
1125
package it.unibz.inf.ontop.generation.serializer.impl; import com.google.inject.Inject; import com.google.inject.Singleton; import it.unibz.inf.ontop.generation.algebra.SelectFromWhereWithModifiers; import it.unibz.inf.ontop.generation.serializer.SelectFromWhereSerializer; import it.unibz.inf.ontop.dbschema.DBParamete...
apache-2.0
cgs1999/mybams
src/common/com/pinhuba/common/pages/PagerHelper.java
2632
package com.pinhuba.common.pages; import java.util.List; public class PagerHelper { protected static Pager getPager(String pageSize,String currentPage,int totalRows,String pageMethod) { // 定义pager对象,用于传到页面 Pager pager = null; if(pageSize != null){ pager = new Pager(totalRows,Integer.parseInt(pageSize)); ...
apache-2.0
k21/buck
src/com/facebook/buck/artifact_cache/ThriftArtifactCache.java
15258
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
reportportal/commons-dao
src/main/java/com/epam/ta/reportportal/dao/IntegrationTypeRepository.java
1809
/* * Copyright 2019 EPAM Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
apache-2.0
state-hiu/geowave
geowave-raster/src/main/java/mil/nga/giat/geowave/raster/Resolution.java
2056
package mil.nga.giat.geowave.raster; import java.nio.ByteBuffer; import java.util.Arrays; import mil.nga.giat.geowave.index.Persistable; public class Resolution implements Comparable<Resolution>, Persistable { private double[] resolutionPerDimension; protected Resolution() {} public Resolution( final dou...
apache-2.0
fossamagna/liquibase
liquibase-core/src/main/java/liquibase/ui/ConsoleUIService.java
1986
package liquibase.ui; import liquibase.AbstractExtensibleObject; import java.io.PrintStream; /** * {@link UIService} implementation that sends messages to stdout and stderr. */ public class ConsoleUIService extends AbstractExtensibleObject implements UIService { private PrintStream outputStream = System.out; ...
apache-2.0
wmm387/wmm
app/src/main/java/com/wangyuanwmm/wmm/entity/ZhihuDailyNews.java
1061
package com.wangyuanwmm.wmm.entity; import java.util.ArrayList; public class ZhihuDailyNews { private String date; private ArrayList<Question> stories; public String getDate() { return date; } public void setDate(String date) { this.date = date; } public ArrayList<Quest...
apache-2.0
spring-cloud/spring-cloud-commons
spring-cloud-commons/src/main/java/org/springframework/cloud/client/circuitbreaker/AbstractCircuitBreakerFactory.java
2180
/* * Copyright 2013-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
fppt/jedis-mock
src/test/java/com/github/fppt/jedismock/comparisontests/connection/ConnectionOperationsTest.java
1122
package com.github.fppt.jedismock.comparisontests.connection; import com.github.fppt.jedismock.comparisontests.ComparisonBase; import org.junit.jupiter.api.TestTemplate; import org.junit.jupiter.api.extension.ExtendWith; import redis.clients.jedis.Client; import redis.clients.jedis.Jedis; import static org.junit.jupi...
apache-2.0
nature2014/nature
src/actions/backend/BackendVolunteerInterviewAction.java
2652
/** * */ package actions.backend; import bl.beans.SourceCodeBean; import vo.table.TableHeaderVo; import vo.table.TableInitVo; import vo.table.TableQueryVo; import bl.beans.VolunteerBean; import java.util.List; /** * @author gudong * @since $Date:2014-02-10$ */ public class BackendVolunteerInterviewAction exten...
apache-2.0
cojen/Cojen
src/main/java/org/cojen/util/QuickConstructorGenerator.java
8592
/* * Copyright 2007-2010 Brian S O'Neill * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
drisoftie/EasyFragments
easyfrags/EasyFragments/src/main/java/com/drisoftie/frags/IFragManagedMenu.java
2119
/* * Copyright [2015] [Alexander Dridiger - drisoftie@gmail.com] * * 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 ...
apache-2.0
UnquietCode/Flapi
src/main/java/unquietcode/tools/flapi/DescriptorBuilderException.java
1061
/********************************************************************* Copyright 2014 the Flapi authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICEN...
apache-2.0
moparisthebest/beehive
beehive-netui-core/src/main/java/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java
11520
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
shufudong/bboss
bboss-util/src/org/frameworkset/util/SerialException.java
536
package org.frameworkset.util; public class SerialException extends RuntimeException { public SerialException() { // TODO Auto-generated constructor stub } public SerialException(String message) { super(message); // TODO Auto-generated constructor stub } public SerialException(Throwable caus...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/SubscriptionCategoryNotFoundExceptionUnmarshaller.java
1666
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
fortitudetec/hdfs-backup
s3-backup/s3-backup-store/src/test/java/backup/store/s3/S3BackupStoreUtil.java
2570
/* * Copyright 2016 Fortitude Technologies LLC * * 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...
apache-2.0
rkapsi/daap
src/main/java/org/ardverk/daap/chunks/impl/SongSampleRate.java
1399
/* * Digital Audio Access Protocol (DAAP) Library * Copyright (C) 2004-2010 Roger Kapsi * * 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....
apache-2.0
Notronix/JaLAPI
src/main/java/com/notronix/lw/api/model/RefundError.java
955
package com.notronix.lw.api.model; import java.time.Instant; import java.util.UUID; public class RefundError { private UUID RefundRowId; private String ErrorMessage; private Instant DateStamp; private Boolean Acknowledged; public UUID getRefundRowId() { return RefundRowId; ...
apache-2.0
PATRIC3/p3_solr
solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java
36795
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
openwide-java/owsi-core-parent
owsi-core/owsi-core-components/owsi-core-component-jpa-security/src/test/java/fr/openwide/core/test/jpa/security/config/spring/JpaSecurityTestApplicationPropertyConfig.java
616
package fr.openwide.core.test.jpa.security.config.spring; import fr.openwide.core.jpa.more.business.parameter.dao.ParameterDaoImpl; import fr.openwide.core.spring.config.spring.AbstractApplicationPropertyConfig; import fr.openwide.core.spring.property.dao.IMutablePropertyDao; import fr.openwide.core.spring.property.se...
apache-2.0
spring-projects/spring-ldap
core/src/test/java/org/springframework/ldap/filter/NotFilterTest.java
1683
/* * Copyright 2005-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/transform/SendEmailRequestMarshaller.java
4054
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/CreateLoadBalancerRequestProtocolMarshaller.java
2746
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/transform/ListCoverageStatisticsRequestMarshaller.java
2756
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
Intera/urlaubsverwaltung
src/main/java/org/synyx/urlaubsverwaltung/restapi/vacationoverview/VacationOverviewController.java
1744
package org.synyx.urlaubsverwaltung.restapi.vacationoverview; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMa...
apache-2.0
nocuous/genworld
src/main/java/com/nocuous/genworld/GenWorldCommand.java
8678
package com.nocuous.genworld; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.util.ChunkCoordinates; import net.minecraft.world.WorldServer; import net.minecraftforge.common.Dimens...
apache-2.0
cbeams-archive/spring-framework-2.5.x
sandbox/src/org/springframework/osgi/context/ContextLoaderBundleActivator.java
12168
/* * Copyright 2002-2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
apache-2.0
dawutao/MyCoolWeather
app/src/main/java/com/mycoolweather/android/db/City.java
853
package com.mycoolweather.android.db; import org.litepal.crud.DataSupport; /** * Created by wutao on 2017/05/23. */ public class City extends DataSupport { private int id; private String cityName; public int getId() { return id; } public void setId(int id) { this.id = id; ...
apache-2.0
IvanBelyaev/ibelyaev
chapter_002/src/main/java/ru/job4j/chess/FigureNotFoundException.java
451
package ru.job4j.chess; /** * FigureNotFoundException. * The exception is thrown when the specified cell has no figure. * @author Ivan Belyaev * @since 16.11.2017 * @version 1.0 */ public class FigureNotFoundException extends ChessException { /** * The constructor creates the object FigureNotFoundExcept...
apache-2.0
Tfancy/coolweather
app/src/main/java/com/jm/zuikuweather/gson/AQI.java
214
package com.jm.zuikuweather.gson; /** * Created by t_jm on 2017/9/15. */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
apache-2.0
jiyilanzhou/coolweather
app/src/main/java/com/example/coolweather/db/CoolWeatherOpenHelper.java
1383
package com.example.coolweather.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by Administrator on 2016/4/5. */ public class CoolWeatherOpenHelper extends SQLiteOpenHelper { public static final String CREATE_PROV...
apache-2.0
EMResearch/EMB
jdk_11_gradle/cs/graphql/patio-api/src/main/java/patio/group/graphql/GetGroupInput.java
2728
/* * Copyright (C) 2019 Kaleidos Open Source SL * * This file is part of PATIO. * PATIO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
apache-2.0
retoomey/WG3
org.wg3.core/src/org/wg3/storage/Array2D.java
1493
package org.wg3.storage;; /** Array2D hides the internals of storage of a 2D array. * This way we can store it sparse, full, off to disk, etc... * * FIXME: add iterators so that sparse data can be accessed * without scanning an entire grid... * * * @author Robert Toomey */ public interface Array2...
apache-2.0
objectos/way
way-code-testing/src/test/resources/code/MethodThrows.java
507
package br.com.objectos.way.code.fakes; import java.io.IOException; import java.util.concurrent.ExecutionException; import br.com.objectos.way.code.Testing; @Testing public abstract class MethodThrows { public void doNotThrow() { } public void throwsUnchecked() throws NullPointerException { throw new N...
apache-2.0
torrances/swtk-commons
commons-dict-wordnet-indexbyname/src/main/java/org/swtk/commons/dict/wordnet/indexbyname/instance/m/e/f/WordnetNounIndexNameInstanceMEF.java
1430
package org.swtk.commons.dict.wordnet.indexbyname.instance.m.e.f; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
apache-2.0
daisy/pipeline-issues
libs/dotify/dotify.formatter.impl/src/org/daisy/dotify/formatter/impl/row/AbstractBlockContentManager.java
4706
package org.daisy.dotify.formatter.impl.row; import org.daisy.dotify.api.formatter.Marker; import org.daisy.dotify.formatter.impl.common.FormatterCoreContext; import org.daisy.dotify.formatter.impl.search.DefaultContext; import java.util.List; import java.util.Optional; /** * TODO: Write java doc. */ public abstra...
apache-2.0
TapCard/TapCard
tapcard/src/test/java/io/github/tapcard/emvnfccard/utils/AtrTest.java
1170
package io.github.tapcard.emvnfccard.utils; import org.fest.assertions.Assertions; import org.junit.Test; import java.util.Arrays; @SuppressWarnings("ArraysAsListWithZeroOrOneArgument") public class AtrTest { @Test public void testDescriptionFromATR() { Assertions.assertThat(AtrUtils.getDescription("3B 02 14 5...
apache-2.0
marcosoliveirasilva/web_application_mobile
src/br/edu/ifba/wmobile/huehue/produtos/sala/Televisao.java
466
package br.edu.ifba.wmobile.huehue.produtos.sala; import java.util.ArrayList; import java.util.List; import br.edu.ifba.wmobile.huehue.produtos.IProdutos; public class Televisao implements IProdutos { @Override public String getCessao() { return "SALA"; } @Override public List<String> getNome() { List<Str...
apache-2.0
adam-roughton/Concentus
Service/src/main/java/com/adamroughton/concentus/clienthandler/ActionCollectorAllocationStrategy.java
255
package com.adamroughton.concentus.clienthandler; import org.javatuples.Pair; import com.adamroughton.concentus.messaging.SocketIdentity; interface ActionCollectorAllocationStrategy { Pair<Integer, SocketIdentity> allocateClient(long clientId); }
apache-2.0
Notronix/JaLAPI
src/main/java/com/notronix/lw/impl/method/orders/ProcessOrdersInBatchMethod.java
1852
package com.notronix.lw.impl.method.orders; import com.google.api.client.http.HttpContent; import com.google.gson.Gson; import com.notronix.lw.api.model.ProcessOrderResult; import com.notronix.lw.impl.method.AbstractLinnworksAPIMethod; import java.util.*; import static com.notronix.lw.impl.method.MethodUtil...
apache-2.0
bounswe/bounswe2016group7
utopic/api-client/src/main/java/com/bounswe/group7/api/client/CommentServiceClient.java
1565
/* * 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 com.bounswe.group7.api.client; import com.bounswe.group7.model.Comments; import com.bounswe.group7.model.VotedComments; import...
apache-2.0
mpaladin/skeleton-flume-extra
src/test/java/ch/cern/skeleton/flume/sink/TestDummySink.java
1333
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
google/paco
Paco-Server/src/com/google/sampling/experiential/cloudsql/columns/DataTypeColumns.java
457
package com.google.sampling.experiential.cloudsql.columns; public class DataTypeColumns { public static final String TABLE_NAME = "data_type"; public static final String DATA_TYPE_ID = "data_type_id"; public static final String NAME = "name"; public static final String IS_NUMERIC = "is_numeric"; public st...
apache-2.0
Echo19890615/feign
benchmark/src/main/java/feign/benchmark/RealRequestBenchmarks.java
2723
package feign.benchmark; import okhttp3.OkHttpClient; import okhttp3.Request; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org.ope...
apache-2.0
UweTrottmann/QuickDic-Dictionary
src/com/hughes/android/dictionary/engine/NormalizeComparator.java
1351
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
apache-2.0
mrluo735/cas-5.1.0
core/cas-server-core-audit/src/main/java/org/apereo/cas/audit/spi/config/CasCoreAuditConfiguration.java
11120
package org.apereo.cas.audit.spi.config; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.cas.audit.spi.CredentialsAsFirstParameterResourceResolver; import org.apereo.cas.audit.spi.DefaultDeleg...
apache-2.0
paulnguyen/data
nosql/mapdb/src/main/java/org/mapdb/UnsafeStuff.java
29307
package org.mapdb; import java.io.DataInput; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Arrays; import java.util.concurrent.locks.ReentrantLock; import java.util.logging.Level; import java.util.logging.Logger; import static java.lang.Long....
apache-2.0
fnkhan/second
src/main/java/org/openflow/protocol/statistics/OFVendorStatistics.java
2798
/******************************************************************************* * Copyright 2014 Open Networking Laboratory * * 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 * * htt...
apache-2.0
p473lr/i-urge-mafia-gear
UCF HSPT Team/src/y2007/roboto.java
3189
import java.io.*; // Import input and output libraries import java.util.*; // Import utility libraries (for Scanner) class roboto { // Create "infinity" constant to be a very large number, with regard to the // problem. The maximum junction resistance in this problem is 500, so one // billion effectiv...
apache-2.0
nigelsmall/geoff
src/test/java/com/nigelsmall/geoff/reader/GeoffReaderTest.java
838
package com.nigelsmall.geoff.reader; import org.junit.Test; import java.io.StringReader; import static org.junit.Assert.assertEquals; /** * @author mh * @since 16.01.14 */ public class GeoffReaderTest { @Test public void testReadInvalidData() throws Exception { try { new GeoffReader(n...
apache-2.0
madjam/copycat-1
server/src/main/java/io/atomix/copycat/server/Commit.java
5010
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
apache-2.0
graphium-project/graphium
api/src/main/java/at/srfg/graphium/api/controller/GlobalExceptionController.java
5859
/** * Copyright © 2017 Salzburg Research Forschungsgesellschaft (graphium@salzburgresearch.at) * * 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...
apache-2.0
willemsrb/simple-jmx
src/test/java/nl/futureedge/simple/jmx/client/ClientProviderTest.java
774
package nl.futureedge.simple.jmx.client; import java.net.MalformedURLException; import javax.management.remote.JMXConnector; import javax.management.remote.JMXServiceURL; import nl.futureedge.simple.jmx.SimpleJmx; import org.junit.Assert; import org.junit.Test; public class ClientProviderTest { @Test public ...
apache-2.0
subchen/jetbrick-template-1x
src/main/java/jetbrick/template/JetEngine.java
11248
/** * jetbrick-template * http://subchen.github.io/jetbrick-template/ * * Copyright 2010-2014 Guoqiang Chen. All rights reserved. * Email: subchen@gmail.com * * 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 ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/DisableStageTransitionResultJsonUnmarshaller.java
1710
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
wgcv/Programacion-Distribuida
Graficos Paradigma Cliente Servidor/KnockKnock/src/knock2/ClientViewer.java
382
package knock2; import javax.swing.JFrame; public class ClientViewer { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub JFrame frame = new ClientFrame(); frame.setTitle("Client Knock Knock"); frame.setDefaultCloseOperation(JFra...
apache-2.0
tomzhang/clocker
docker/src/main/java/brooklyn/networking/sdn/SdnProviderImpl.java
13424
/* * Copyright 2014-2015 by Cloudsoft Corporation Limited * * 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...
apache-2.0
ruebot/fcrepo4
fcrepo-http-commons/src/main/java/org/fcrepo/http/commons/exceptionhandlers/NodeNotFoundExceptionMapper.java
1544
/* * Copyright 2015 DuraSpace, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
apache-2.0
Esri/arcgis-runtime-samples-java
map/display-map/src/main/java/com/esri/samples/display_map/DisplayMapSample.java
2471
/* * Copyright 2017 Esri. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
apache-2.0
jahlborn/sqlbuilder
src/main/java/com/healthmarketscience/sqlbuilder/dbspec/RejoinTable.java
3880
/* Copyright (c) 2008 Health Market Science, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
sundevin/PicturePicker
picturepicker/src/main/java/devin/com/picturepicker/view/photoview/PhotoView.java
5235
/** * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * 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 appli...
apache-2.0
consulo/consulo-tasks
tasks-core/src/main/java/com/intellij/tasks/jira/CachedIconLoader.java
2332
/** * Copyright (C) 2008 Atlassian * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
apache-2.0
ceylon/ceylon
model/src/org/eclipse/ceylon/model/loader/model/FieldValue.java
1193
/******************************************************************************** * Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apach...
apache-2.0
agileowl/tapestry-5
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ApplicationGlobalsImpl.java
1311
// Copyright 2006, 2007, 2008 The Apache Software Foundation // // 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 ...
apache-2.0
riftsaw/riftsaw-ode
bpel-dao/src/main/java/org/apache/ode/dao/bpel/ActivityRecoveryDAO.java
1234
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
CloudBPM/SwinFlowCloud-CloudSide
core.runtime/src/main/java/com/cloudibpm/core/runtime/util/json/FormDataLoader.java
10187
/** * */ package com.cloudibpm.core.runtime.util.json; import com.cloudibpm.core.TreeNode; import com.cloudibpm.core.buildtime.wfprocess.WfProcess; import com.cloudibpm.core.data.*; import com.cloudibpm.core.data.variable.ArrayDataVariable; import com.cloudibpm.core.data.variable.DataVariable; import org.json.JSONAr...
apache-2.0
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsConfigurationProviderBuilder.java
1730
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.riskfactors; import org.fudgemsg.FudgeField; import org.fudgemsg.FudgeMsg; import org.fudgemsg.MutableFudgeMsg; import org.fudgemsg.mapping...
apache-2.0
dbarentine/totalconnect
totalconnect/src/main/java/com/barentine/totalconnect/ws/PanelMetadataAndStatusResultsExV1.java
1849
package com.barentine.totalconnect.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for PanelMetadataAndStatusResultsEx_V1 complex type. * * <p>The foll...
apache-2.0
ThoughtsLive/jira-steps
src/main/java/org/thoughtslive/jenkins/plugins/jira/api/EmailTo.java
1116
package org.thoughtslive.jenkins.plugins.jira.api; import java.io.Serializable; import java.util.List; import org.kohsuke.stapler.DataBoundConstructor; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPrope...
apache-2.0
Ariah-Group/Finance
af_webapp/src/main/java/org/kuali/kfs/gl/batch/service/BatchSortService.java
846
/* * Copyright 2008-2009 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by...
apache-2.0
teatrove/teatrove
teaservlet/src/main/java/org/teatrove/teaservlet/assets/UrlAssetFactory.java
2794
package org.teatrove.teaservlet.assets; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import org.teatrove.trove.log.Log; import org.teatrove.trove.util.PropertyMap; public class UrlAssetFactory extends AbstractAssetFactory { private URL baseU...
apache-2.0
bjorndm/prebake
code/third_party/bdb/src/com/sleepycat/je/txn/TxnAbort.java
1008
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * * $Id: TxnAbort.java,v 1.30 2010/01/04 15:50:52 cwl Exp $ */ package com.sleepycat.je.txn; import com.sleepycat.je.log.Loggable; /** * This class writes out a transaction commit or transactio...
apache-2.0
HuangLS/neo4j
community/function/src/main/java/org/neo4j/function/primitive/FunctionToPrimitiveLong.java
999
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
apache-2.0