text stringlengths 7 995k |
|---|
package fr.javatronic.blog.massive.annotation2;
import fr.javatronic.blog.processor.Annotation_002;
@Annotation_002
public class Class_342 {
} |
/*
* Copyright 2003 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 applic... |
/*******************************************************************************
* Copyright (C) 2019 Boodskap Inc
*
* This program 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 version 3... |
/*
* 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 edu.eci.pdsw.samples.persistence.mybatis;
import java.util.List;
import com.google.inject.Inject;
import edu.eci.pdsw.samples.... |
package fr.cg44.plugin.facettes.policyfilter;
import java.util.TreeSet;
import org.apache.log4j.Logger;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.StringField;
import com.jalios.jcms.Publication;
import com.jalios.jcms.policy.BasicLuceneSear... |
/**
* @author Katherine Van Dyk
* @author susiechoi
* Object that returns the value of a field with a specified name from an object
* Useful in populating sliders, dropdowns, and textboxes with user input that is currently held in objects
*/
package authoring.factory;
import java.util.HashMap;
import java.util.L... |
/*
* Copyright (c) 2020 Expedia, 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 agre... |
package com.hurley.codehub.di.component;
import android.app.Activity;
import android.content.Context;
import com.hurley.codehub.di.module.ActivityModule;
import com.hurley.codehub.di.scope.ActivityScope;
import com.hurley.codehub.di.scope.ContextLifeCycle;
import com.hurley.codehub.module.readhub.core.main.MainActiv... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
/*
* Copyright 2014 Soichiro Kashima
* Modifications Copyright 2015 Fred Grott(GrottWorkShop)
*
* 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... |
package com.mapbox.mapboxsdk.testapp.model.other;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import timber.log.Timber;
import com.mapbo... |
/*
* Copyright 2018 Artem Labazin
*
* 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... |
package org.ohdsi.webapi.report;
import java.util.List;
/**
* Created by taa7016 on 10/4/2016.
*/
public class CDMObservationPeriod {
private List<ConceptDistributionRecord> ageAtFirst;
private List<ConceptDistributionRecord> observationLength;
private List<ConceptDistributionRecord> personsWithContinuo... |
package com.vaadin.tutorial.crm.service.storage;
import com.vaadin.tutorial.crm.entity.storage.MaterialInfoEntity;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Класс интерфейс содержащий методы для доступа к таблице materialinfo
*/
@Service
public interface MaterialInfoService {
... |
/*******************************************************************************
* Copyright (c) 2005, 2009 Versant Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribu... |
/*
* 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.ansorgit.plugins.bash.editor.inspections.inspections;
import com.ansorgit.plugins.bash.settings.BashProjectSettings;
import org.junit.Test;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* @author jansorg
*/
public class MissingIncludeFileInspectionTest extends A... |
package com.mrheadshot62.api.types;
/**
* Created by Роман on 11.01.2017.
*/
public class TypeAnswerReport {
public static final byte OK = 1;
public static final byte NOTPERMISSION = 2;
public static final byte REPORTREADY = 3;
} |
package pe.edu.upeu.appsales.rest;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.filter.GenericFilterBean;
import pe.edu.upeu.appsales.model.User;
import pe.edu.upeu.appsales... |
package resources;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
import simulation.AbstractSimulation;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
impo... |
package com.gulf.async.gateway.spi.ha;
import com.google.common.collect.ImmutableList;
import com.gulf.async.gateway.spi.Service;
import lombok.Data;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by xubai on 2019/10/11 2:49 PM.
*/
@Data
public abstract class ServiceNodes {
p... |
package edu.coldserenity.tij.ch06.ex03;
/**
* Exercise 3: (2)
* <p/>
* Prove the nex sentence:
* Even if you don’t create a constructor for Cartoon( ),
* the compiler will synthesize a default constructor for you that
* calls the base class constructor.
*/
class Art {
Art() {
System.out.println("Art... |
package com.yin.springboot.mybatis.generatormodel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
public class UmsIntegrationChangeHistory implements Serializable {
private Long id;
private Long memberId;
private Date createTime;
@ApiModelPropert... |
package aplicaclases;
public class Alumno
{
private String nombre;
private Double n1, n2, n3;
private Double prom;
public Alumno(String nombre, Double n1, Double n2, Double n3)
{
this.nombre = nombre;
this.n1 = n1;
this.n2 = n2;
this.n3 = n3;
this.prom =... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.monitoring.exporter.local;
import ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE89_SQL_Injection__connect_tcp_executeQuery_42.java
Label Definition File: CWE89_SQL_Injection.label.xml
Template File: sources-sinks-42.tmpl.java
*/
/*
* @description
* CWE: 89 SQL Injection
* BadSource: connect_tcp Read data using an outbound tcp connection
* GoodSo... |
/**
* 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.cnews.guji.smart.ui.adapter;
import android.content.Context;
import android.graphics.Typeface;
import android.text.TextUtils;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.cnews.guji.smart.R;
import com.cnews.... |
/*
* Copyright (c) 2004-2021, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
// This file was generated by Mendix Modeler.
//
// WARNING: Only the following code will be retained when actions are regenerated:
// - the import list
// - the code between BEGIN USER CODE and END USER CODE
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
// Other code you write will be lost the next time yo... |
/*
* Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz>
*
* Bullet Continuous Collision Detection and Physics Library
* Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be ... |
/*
* Copyright 2016 DiffPlug
*
* 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 ... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_1986 {
} |
package seedu.address.logic.commands;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess;
import static seedu.address.logic.commands.CommandTestUtil.deleteFirstPdf;
import static seedu.address.testutil.Typical... |
package ru.stqa.pft.addressbook.model;
import com.google.common.collect.ForwardingSet;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public class Contacts extends ForwardingSet<ContactData> {
private Set<ContactData> delegate;
public Contacts(Contacts contacts) {
this... |
/*
* 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... |
/*
* 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
... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, 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:/... |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package com.ruoyi.quartz.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.constant.ScheduleConstants;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.StringUti... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
package wikibinator105.impls.marklar105b.evalers;
import java.util.HashMap;
import java.util.Map;
import wikibinator105.impls.marklar105b.fn;
/** func param return caching, like in https://en.wikipedia.org/wiki/Continuation but more stateless than that,
though you could derive continuations from this by including a tr... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: zero.status.proto
package io.vertx.tp.ipc.eon;
/**
* Protobuf type {@code io.vertx.tp.ipc.eon.RetryInfo}
*/
public final class RetryInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_imple... |
package org.apache.maven.it;
/*
* 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, Versio... |
package nowcoder;
import java.util.Arrays;
/**
* 给定一个数组A[0,1,...,n-1],请构建一个数组B[0,1,...,n-1],其中B中的元素B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]*...*A[n-1]。不能使用除法。
*/
public class BuildingAProductArray {
public int[] multiply(int[] A) {
if (A == null || A.length == 0) return A;
int len = A.length;
in... |
package jstat.parallel.tasks;
import java.util.List;
import java.util.concurrent.CyclicBarrier;
public class SumSqrDiffTask<ContainerType extends List> extends SumSqrTask<ContainerType> {
public SumSqrDiffTask(final List data, double val){
super(data);
this.val = val;
}
public SumSqrDiff... |
package net.parseltounge.entities.wall_ents;
import net.parseltounge.components.graph_comp.ImgManager;
import net.parseltounge.components.phys_comp.Hitbox;
import java.awt.image.BufferedImage;
import java.awt.*;
import java.util.ArrayList;
/**
* Created by Jack on 9/14/2014.
*/
public class TileEntity extends Wall... |
package ws.dyt.recyclerviewadapter.main;
/**
* Created by yangxiaowei on 16/6/20.
*/
public class FragmentEntity {
public String showName;
public Class<?> clazz;
public FragmentEntity(String showName, Class<?> clazz) {
this.showName = showName;
this.clazz = clazz;
}
} |
public class MyClass {
} |
/*
* Copyright 2013-2018 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... |
/*
* Copyright (c) 2004-2013 Acroquest Technology Co., Ltd. All Rights Reserved.
* Please read the associated COPYRIGHTS file for more details.
*
* THE SOFTWARE IS PROVIDED BY Acroquest Technology Co., Ltd., WITHOUT WARRANTY OF
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIE... |
package org.deeplearning4j.datasets.canova;
import org.canova.api.records.reader.RecordReader;
import org.canova.api.records.reader.SequenceRecordReader;
import org.canova.api.records.reader.impl.CSVRecordReader;
import org.canova.api.records.reader.impl.CSVSequenceRecordReader;
import org.canova.api.split.FileSplit;
... |
// Template Source: BaseMethodParameterSet.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------... |
/*******************************************************************************
* Copyright (c) 2015 - 2018
* <p/>
* 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, incl... |
package com.troy.weatherapp.ui.dashboard;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.N... |
/*
* 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... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.glfw;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.APIUtil.*;
import static org.lwj... |
package org.fluentlenium.core.filter.matcher;
import java.util.regex.Pattern;
/**
* Matcher checking that actual doesn't end with input value.
*/
public class NotEndsWithMatcher extends AbstractMatcher {
/**
* Creates a not ends with matcher.
*
* @param value input value
*/
public NotEn... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/**
* 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 und... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
This part of the code uses orginal Carrot2 APIs which can be downloaded from http://download.carrot2.org/stable/javadoc/org/carrot2/core/Cluster.htm
*/
package org.carrot2.examples.clustering;
/**
*
* @author rohit
*/
p... |
package org.study.mq.utils;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Properties;
public class DBUtil {
private static Properties props;
static {
try {
InputStream in = DBUtil.class.getClassLoader().getResourceAsStream("application.properties");... |
package com.twu.biblioteca;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import java.util.HashMap;
import static com.twu.biblioteca.EntryPoint.*;
import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class U... |
/*
* 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 ... |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2018 wcm.io
* %%
* 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 ap... |
package org.baeldung.spring.cloud;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.task.configuration.EnableTask;
@EnableTask
@... |
package co.com.ibm.acmebank.service;
import co.com.ibm.acmebank.domain.Authority;
import co.com.ibm.acmebank.domain.User;
import co.com.ibm.acmebank.repository.AuthorityRepository;
import co.com.ibm.acmebank.config.Constants;
import co.com.ibm.acmebank.repository.UserRepository;
import co.com.ibm.acmebank.security.Aut... |
package org.codehaus.mojo.buildhelper;
/*
* The MIT License
*
* Copyright (c) 2004, The Codehaus
*
* 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 witho... |
package ink.ptms.cronus.builder.task.block;
import ink.ptms.cronus.builder.task.TaskEntry;
import ink.ptms.cronus.builder.task.data.Action;
import ink.ptms.cronus.builder.task.data.Block;
import ink.ptms.cronus.builder.task.data.Count;
import ink.ptms.cronus.builder.task.data.Location;
import ink.ptms.cronus.builder.t... |
package ddev.lightsoff;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
/**
* ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WordpressAutomation;
namespace WordpressTests
{
[TestClass]
public class PageTests : WordpressTest
{
[TestMethod]
public void Can_Edit_A_Page()
{
ListPostsPage.GoTo(PostType.Page);
ListPostsPage.Selec... |
package org.tat.fni.api.dto.shortTermEndowmentLifeDTO;
import java.util.Date;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.tat.fni.api.configuration.DateHandler;
... |
package org.opengauss.mppdbide.test.bl.windows;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.attribute.AclEntryPermission;
import java.util.ArrayList;
im... |
/**
* Copyright (C) 2019-2029 Braisdom Wang (www.joowing.com)
* wangyonghe@msn.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... |
package controllers;
import models.Brand;
import fr.watchnext.utils.controllers.*;
import play.mvc.Controller;
import play.mvc.Security;
public class Brands extends Controller {
public static Crud<Brand, Brand> crud = Crud.of(
Brand.of(),
null,
views.html.admin.brand_form.ref(),
views.html.admin.brands.r... |
package org.buildmlearn.toolkit.flashcardtemplate.data;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Anupam (opticod) on 10/8/16.
*/
/**
* @brief Model used to save flash entries in database for flash card template's simulator.
*/
public class FlashModel implements Parcelable {
pu... |
package com.example.java.weatherapps.CoolWeather.db.fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import... |
package com.chenxt.bootdemo.entity;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.time.LocalTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.... |
/*
* Copyright 2000-2009 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... |
/*
* 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 ... |
/*
* 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
* distributed u... |
package com.ucsb.integration.MainPage.Profile;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Shader;
import com.squareup.picasso.Transformation;
public class CircleTransform implements Transformation {
... |
/**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/*
* Copyright (C) 2013 The Android Open Source 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 app... |
// This file was generated by Mendix Modeler.
//
// WARNING: Only the following code will be retained when actions are regenerated:
// - the import list
// - the code between BEGIN USER CODE and END USER CODE
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
// Other code you write will be lost the next time yo... |
package com.hyphenate.chatuidemo.circle.utils;
import android.content.Context;
import android.util.DisplayMetrics;
/**
* @ClassName: DensityUtil
* @Description: TODO(这里用一句话描述这个类的作用)
* @author yiw
* @date 2015-12-28 下午4:17:01
*/
public class DensityUtil {
public static int dip2px(Context context, float dpValue) ... |
package com.summer.service.impl;
import com.summer.entity.SysMenu;
import com.summer.repository.SysMenuRepository;
import com.summer.service.SysMenuService;
import com.summer.utils.tree.TreeBo;
import com.summer.utils.tree.TreeBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
package jp.ka.controller;
import jp.ka.service.DetailsService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Re... |
/*
* 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 org.squirrelframework.foundation.fsm.annotation;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.la... |
package de.thm.algo.routeplanning.helper;
/**
* Represents a priority queue, implemented as a binary heap.
* TODO: provide a real implementation!
*/
public class PQueue<E extends AbstractPQueueElement<E>> {
public E deleteMin() {
return null;
}
public void insert(E e) {
}
public void decreaseKey(E e) {
... |
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class DescribeClusterResourcesResponseBody extends TeaModel {
@NameInMap("instance_id")
@Validation(required = true)
public String instanceId;
@NameInMap("resource_type")
@... |
/*
* Copyright (C) 2011 The Android Open Source 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 app... |
// Copyright 2015-2020 SWIM.AI 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 (c) 2003-present, Jodd Team (http://jodd.org)
// 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.williamspires.acnhapi.Repositories;
import com.williamspires.acnhapi.Model.NhSeasonal;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface ... |
/*
* Copyright 2008-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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 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 expressions.terms;
import java.util.Map;
import java.util.Set;
public class Mul extends ArithmeticBinaryOperator {
public Mul(Term left, Term right) {
super(left, right, Mul.class.getSimpleName(), "*");
}
@Override
public Term replaceFreeVariables(Map<String, Term> rep, Set<String> 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... |
package com.planet_ink.coffee_mud.Abilities.Skills;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.