text stringlengths 7 1.01M |
|---|
package com.cyrus.permissionscheckerdemo;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {
... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v7.widget;
public class LinearLayoutManager$LayoutChunkResult
{
void resetInternal()
{
mConsumed = 0;
// 0 0:aload_0 ... |
package org.yzl.java.frame.activemq;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.ActiveMQMessageProducer;
import org.apache.activemq.AsyncCallback;
import org.apache.activemq.ScheduledMessage;
import javax.jms.*;
import java.util.UUID;
/**
* @author yangzl 2020.07.24
* @version... |
package br.com.hmv.repositories;
import br.com.hmv.models.entities.Especialidade;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface EspecialidadeRepository extends JpaRepository<Especialidade, Long> {
}
|
/*
* 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 ... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.xunqi.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xunqi.common.utils.PageUtils;
import com.xunqi.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.xunqi.gulimall.product.vo.AttrGroupRelationVo;
import java.util.List;
import java.util.Map;
... |
// This is a generated file. Not intended for manual editing.
package org.intellij.sdk.language.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface VLayoutComplexPropertyDeclaration extends PsiElement {
@NotNull
List<VLayoutPropertyDeclaration> get... |
package org.seasar.doma.message;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.text.MessageFormat;
/** Defines messages that are sent to application developers. */
public enum Message implements MessageResource {
// doma
DOMA0001("The parameter \"{0}\" is null"),
DOMA0002("The parameter ... |
package org.knowm.xchange.blockchain.service.utils;
import lombok.experimental.UtilityClass;
@UtilityClass
public class BlockchainConstants {
public static final String URL_ACCOUNT = "/v3/exchange/accounts";
public static final String URL_DEPOSITS = "/v3/exchange/deposits";
public static final String URL_... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright (c) 2018, Lotto <https://github.com/devLotto>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, th... |
package com.yqboots.social.facebook;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
package org.lwjgl.system;
import java.util.*;
import static org.lwjgl.system.APIUtil.*;
/** Java 9 version of {@code {@link StackWalkUtil}}. */
final class StackWalkUtil {
static {
apiLog("Java 9 stack walker... |
package com.denizenscript.denizen.scripts.commands.entity;
import com.denizenscript.denizen.utilities.Utilities;
import com.denizenscript.denizen.utilities.debugging.Debug;
import com.denizenscript.denizen.objects.EntityTag;
import com.denizenscript.denizencore.exceptions.InvalidArgumentsException;
import com.de... |
package com.atguigu.gmall.sms.controller;
import java.util.List;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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/LICE... |
/*
* Copyright (c) 2016 Uber Technologies, Inc. (hoodie-dev-group@uber.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
*
... |
package ro.ase.csie.cts.g1092.dp.factorymethod;
import ro.ase.csie.cts.g1092.dp.simplefactory.AbstractWeapon;
import ro.ase.csie.cts.g1092.dp.simplefactory.SuperHero;
import ro.ase.csie.cts.g1092.dp.simplefactory.WeaponType;
import ro.ase.csie.cts.g1092.dp.simplefactory.WeaponsFactory;
public class TestFactoryMethod ... |
/*
* Copyright (C) 2012-2020 Zach Melamed
*
* Latest version available online at https://github.com/zach-m/jonix
* Contact me at zach@tectonica.co.il
*
* 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 ... |
package io.sitoolkit.wt.domain.testclass;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.apache.commons.io.FileUtils;
import org.apache.velo... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package io.renren;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
... |
package org.gbif.ipt.utils;
import org.gbif.ipt.config.IPTModule;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class PBEEncryptTest {
/**
* Since we're using symmetric encryption with a fixed salt (defined in IPTModule),
* the hash below can be used to reset a forgotten admin p... |
package com.zlm.hp.ui;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.content.res.AssetManager;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import com.zlm.hp.constants.PreferencesConstants;
import ... |
package link.mc.currency;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import link.mc.util.CommandConstruct;
import link.mc.util.PlayerUtil;
public class BalanceCommand extends Command {
... |
/*
* Copyright 2017 Vandolf Estrellado
*
* 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 ... |
package de.blau.android.dialogs;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.Alert... |
/*
* JaamSim Discrete Event Simulation
* Copyright (C) 2014 Ausenco Engineering Canada Inc.
* Copyright (C) 2019 JaamSim Software 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
... |
package net.gripps.ccn.churn;
import net.gripps.ccn.core.CCNRouter;
import net.gripps.ccn.fibrouting.BaseRouting;
import java.util.HashMap;
/**
* Created by Hidehiro Kanemitsu on 2018/12/18.
*/
public class NoChurnAlgorithm extends BaseChurnResilienceAlgorithm {
public NoChurnAlgorithm(BaseRouting routing) {... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache Lice... |
package com.huobi.api.client.domain.event;
import lombok.Getter;
import lombok.Setter;
/**
* created by jacky. 2018/7/26 6:05 PM
*/
@Getter
@Setter
public class TradeDetailEvent implements WsEvent {
private String symbol;
@Override
public String toSubscribe() {
String sub = "{\n" +
... |
/*
* 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")... |
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
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 TurnDiskLocatorLedOffRequestT... |
package org.archivemanager.services.search.parsing.date;
/**
* Created by babar on 1/1/14.
*/
public final class TryResult<ResultType>{
private final ResultType value;
public TryResult(ResultType value){
this.value =value;
}
public TryResult() {
value = null;
}
... |
package headfirst.strategy;
/**
* Created by Gavin on 2017/2/10.
*/
public class Squeak implements QuackBehavior {
@Override
public void quack() {
System.out.println("Squeak");
}
}
|
package com.elderbyte.kafka;
|
package com.example.construct360deg.model;
import java.util.Date;
public class Order {
private int orderid;
private int productid;
private int userid;
private float quantity;
private String district;
private String houseno;
private String street;
private String city;
private String... |
/*
* #%L
* BigDataViewer core classes with minimal dependencies.
* %%
* Copyright (C) 2012 - 2022 BigDataViewer developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source c... |
package coop.ekologia.presentation.controller.cms;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.ejb.EJB;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletReque... |
/**
* 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... |
package io.swagger.api.impl;
import io.swagger.api.*;
import io.swagger.model.*;
import org.apache.cxf.jaxrs.ext.multipart.Attachment;
import io.swagger.model.Pet;
import io.swagger.model.ModelApiResponse;
import java.io.File;
import java.util.List;
import java.io.InputStream;
import javax.enterprise.context.Requ... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.integrationTests;
import com.yahoo.concurrent.classlock.ClassLocking;
import com.yahoo.metrics.simple.MetricReceiver;
import com.yahoo.vespa.hosted.dockerapi.... |
/*
* All content copyright http://www.j2eefast.com, unless
* otherwise indicated. All rights reserved.
* No deletion without permission
*/
package com.j2eefast.framework.sys.service;
import java.util.List;
import java.util.Map;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONUtil;
import com.alibaba.fas... |
/**
* @author : Paul Taylor
* @author : Eric Farng
*
* Version @version:$Id$
*
* MusicTag Copyright (C)2003,2004
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either ver... |
package com.github.davidcarboni.cryptolite;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
import java.security.Key;
import java.util.Arrays;
/**
* This class provides password hashing and verification. The returned hashes
* consist of the password hash, prepended with a ran... |
package org.fluentjava.iwant.core;
import java.io.IOException;
interface ContentDescriptionCache {
String retrieveContentDescription(Target<?> target) throws IOException;
void cacheContentDescription(Target<?> target) throws IOException;
}
|
package io.deephaven.util.metrics;
public class LongCounterLog2HistogramMetric implements LongMetric {
private final int id;
public LongCounterLog2HistogramMetric(final String name) {
id = MetricsManager.instance.registerLongCounterLog2HistogramMetric(name);
}
@Override
public void sample... |
package com.atg.openssp.core.cache.broker.remote;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.atg.openssp.common.cache.dto.Website;
import com.atg.openssp.common.exception.EmptyHostException;
import com.atg.openssp.core.cache.type.WebsiteDataCache;
import com.atg.open... |
package com.telephony;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.telephony.CellIdentityCdma;
import android.telephony.CellIdentityGsm;
import android.telephony.CellI... |
/*
* Copyright 2020 OPPO ESA Stack Project
*
* 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... |
package ice.apkmgr;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.objects.ServiceHelper;
import anywheresoftware.b4a.debug.*;
public class starter extends android.app.Service {
public static class starter_BR extends android.content.BroadcastReceiver {
@Override
public void onReceive(an... |
/*
* THIS MAIN SETS CHARACTERISTICS FOR MOVIEONE AND OUTPUTS RESULTS.
* ALSO, THE MODIFIER SETS NEW ATTRIBUTES FOR THE MOVIE ONE.
* COMMENT OUT THE MODIFY(MOVIEONE); ON LINE__27__ TO PLAY ORIGINAL
* MOVIE TITLE AND DISPLAY IT'S INFORMATION.
*/
package cse1301_10_SmallProject;
/**
*
* @author jameswilliams
*/... |
copyright ibm corporation rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors ibm corporation initial api implementation enums to annotation toannotation |
/*
* Copyright 2012, 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 agreed... |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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") + yo... |
package rocks.zipcode.atm.bank;
import javafx.scene.control.Alert;
import javafx.scene.control.TextInputDialog;
import java.util.Optional;
public class Loan {
private Double lnAmount;
private Double creditScore;
private Double intRate;
private Boolean loanStatus=true;
private Boolean shouldRun ... |
package com.perosa.avatarbot.core.model;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.Map;
@Service
public class SessionStore {
private static Map<String, Session> map = new HashMap<>();
public void addTo(Session session) {
map.put(session.getId(), sessi... |
/*
* Copyright 2016 Santanu Sinha <santanu.sinha@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
*
* Unless required by appl... |
/*
* Copyright (c) 2005-2020 Radiance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* th... |
package com.xceptance.common.csvutils.tuned501;
import java.util.ArrayList;
import java.util.List;
/**
* The {@link CsvUtilsDecode} class provides helper methods to encode and decode values to/from the CSV format. Note that we
* define the "C" in "CSV" to stand for "comma", so other characters are not allowed as fi... |
package com.cubic.util.exception;
public class CantDoException extends Exception{
public CantDoException() {
super();
}
public CantDoException(String msg) {
super(msg+"[不能执行此操作]");
}
}
|
package com.vbrazhnikdev.bottomdatepicker;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import com.vbrazhnikdev.bottomdatepicker.datepicker.CalendarDate;
import com.vbrazhnikdev.bottomd... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... |
package eu.cloudnetservice.cloudnet.v2.master.command;
import eu.cloudnetservice.cloudnet.v2.command.Command;
import eu.cloudnetservice.cloudnet.v2.command.CommandSender;
import eu.cloudnetservice.cloudnet.v2.master.CloudNet;
import org.jline.reader.ParsedLine;
import java.util.ArrayList;
import java.util.List;
publ... |
class Pattern_67
{
public static void main(String args[])
{
int i;
int j;
int k;
for (i = 0; i < 5; i++)
{
for (k = 4; k >= i; k--)
{
System.out.print(" ");
}
for (j = 0; j <= i; j++)
{
System.out.print((char)(i + 65... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.editor.simple.components;
/**
* H... |
/*
* The MIT License
*
* Copyright (c) 2016, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
package io.cattle.platform.iaas.api.auth;
import io.cattle.platform.archaius.util.ArchaiusUtil;
import io.cattle.platform.iaas.api.auth.integration.azure.AzureConstants;
import io.cattle.platform.iaas.api.auth.integration.ldap.OpenLDAP.OpenLDAPConstants;
import io.cattle.platform.iaas.api.auth.integration.local.LocalA... |
package ru.mydesignstudio.microprofile;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
@QuarkusTest
public class HelloResourceTest {
@Test
@Disable... |
package b.l.a.c.f.e;
import android.os.Parcel;
import android.os.Parcelable;
import b.l.a.c.b.a;
public final class kd implements Parcelable.Creator<jd> {
public final Object createFromParcel(Parcel parcel) {
int C0 = a.C0(parcel);
String str = null;
while (parcel.dataPosition() < C0) {
... |
package org.jentrata.ebms.rest.internal.routes;
import com.google.common.collect.ImmutableMap;
import org.apache.camel.EndpointInject;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apach... |
package miltos.diploma;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import miltos.diploma.characteristics.Characteristic;
import miltos.diploma.characteristics.CharacteristicSet;
import miltos.diploma.characteristics.Tqi;
import org.jdom2.Element;
import org.jdom2.output.Format;... |
/*
*- @TestCaseID:rc/stress/Memory_stressTestCase29.java
*- @TestCaseName:MyselfClassName
*- @RequirementName:[运行时需求]支持自动内存管理
*- @Title/Destination:
*- @Condition: no
* -#c1
*- @Brief:functionTest
* -#step1
*- @Expect:
*- @Priority: High
*- @Source: Memory_stressTestCase29.java
*- @ExecuteClass: M... |
/**
* 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... |
package wisematches.server.web.servlet.sdo;
import wisematches.playground.GameMessageSource;
import java.util.Locale;
/**
* @author Sergey Klimenko (smklimenko@gmail.com)
*/
public abstract class InternationalisedInfo {
protected final Locale locale;
protected final GameMessageSource messageSource;
... |
/*
* Copyright 2009 Denys Pavlov, Igor Azarnyi
*
* 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 r... |
package com.trashmelody;
import com.badlogic.ashley.core.Engine;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.... |
/*
* Copyright 2006-2021 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... |
/*
* 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 n... |
package org.datacontract.schemas._2004._07.tekla_gis;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Per... |
package com.github.lany192.cropper.utils;
import android.content.ContentResolver;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapRegionDecoder;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.R... |
/****************************************************************
* 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... |
package com.ziroom.ziroomcustomer.newrepair.utils;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View.MeasureSpec;
import android.widget.ListView;
public class ListViewForScrollView
extends ListView
{
public ListViewForScrollView(Context paramContext)
{
super(paramCon... |
package org.togglz.core.repository;
import org.junit.jupiter.api.Test;
import org.togglz.core.Feature;
import org.togglz.core.activation.UsernameActivationStrategy;
import java.util.Arrays;
import static org.junit.jupiter.api.Assertions.*;
class FeatureStateTest {
@Test
void testSimpleFeatureState() {
... |
package xyz.iotips.iotips_android;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import a... |
package com.seifernet.wissen.controller;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.HttpStatus;
import org.spr... |
package mysh.cluster;
import mysh.collect.Colls;
import mysh.util.Asserts;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import ... |
package com.example.diploma.persistence.entity;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax... |
package com.simibubi.create.content.logistics.block.mechanicalArm;
import java.util.function.Supplier;
import javax.annotation.Nullable;
import com.google.common.collect.ImmutableMap;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.AllBlocks;
impo... |
import java.sql.DriverManager;
import javax.swing.JOptionPane;
import java.awt.Color;
import java.awt.Toolkit;
import java.awt.event.WindowEvent;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;
import java.awt.event.KeyEvent;
import java.sql.ResultSet;
/*
* To change this license header, choose L... |
package org.cimsbioko.forms.widgets;
import androidx.annotation.NonNull;
import android.widget.CheckBox;
import org.javarosa.core.model.data.IAnswerData;
import org.javarosa.core.model.data.StringData;
import org.junit.Test;
import org.cimsbioko.forms.widgets.base.QuestionWidgetTest;
import static org.junit.Assert.a... |
package fi.nls.oskari.control.statistics.plugins.pxweb.json;
/**
* Created by JacksonGenerator on 28.3.2018.
*/
import com.fasterxml.jackson.annotation.JsonProperty;
import fi.nls.oskari.control.statistics.data.IdNamePair;
import java.util.Collections;
import java.util.List;
public class PxTableItem {
@JsonP... |
/**
* 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... |
/*
* This file is part of BlueMap, licensed under the MIT License (MIT).
*
* Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package com.xiaohu_zheng.simpletodo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public... |
/**
* 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... |
package com.jetlight.amine_smahi.inssen;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import ... |
package theMarked.powers;
import basemod.interfaces.CloneablePowerInterface;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.megacrit.cardcrawl.actions.common.GainBlockAction;
import com.megacrit.cardcrawl.actions.common.ReducePowerAction;
import com.megacrit.car... |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.