text stringlengths 7 1.01M |
|---|
/**
* Base classes for a simple glTF viewer
*/
package de.javagl.jgltf.viewer;
|
/*
* 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 org.telegram.messenger.voip;
import android.annotation.TargetApi;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.LinkAddress;
import android.net.LinkProperties;
import android.net.Network;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import ... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.userinterface.uichassis.springboot.service;
import org.odpi.openmetadata.accessservices.assetcatalog.AssetCatalog;
import org.odpi.openmetadata.accessservices.assetcatalog.model.AssetDescrip... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.common.model;
import io.fabric8.kubernetes.api.model.HasMetadata;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import j... |
package payment;
import dataModel.Invoice;
import dataModel.InvoicePayment;
import dataModel.Partner;
import dataModel.Payment;
import db.DataSource;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.c... |
package org.infinispan.persistence.keymappers;
import org.infinispan.commons.util.Base64;
import org.infinispan.util.logging.Log;
import org.infinispan.util.logging.LogFactory;
/**
* Default implementation for {@link TwoWayKey2StringMapper} that knows how to handle all primitive
* wrapper keys and Strings.
*
* @a... |
import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.io.File;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.OutputStream;
import jav... |
package org.mybatis.generator.xsili.plugins.testplugins;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.mybatis.generator.api.GeneratedJavaFile;
import org.mybatis.generator.api.IntrospectedColumn;
import org.mybatis.generator.api.IntrospectedTable;
import o... |
package martinbzdqsm.com.parallaxscrollimageview_master;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.Log;
import android.view.ViewG... |
package aQute.libg.clauses;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import aQute.libg.log.Logger;
import aQute.libg.qtokens.QuotedTokenizer;
public class Clauses extends LinkedHashMap<String,Map<String,String>> {
private sta... |
/* Generated By:JJTree: Do not edit this line. AST_EvalExpr.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.everdata.parser;
public
class AST_EvalExpr extends SimpleNo... |
import ij.CompositeImage;
import ij.IJ;
import ij.ImagePlus;
import ij.WindowManager;
import ij.process.LUT;
import imagescience.image.Image;
import imagescience.utility.I5DResource;
import imagescience.utility.ImageScience;
import java.awt.image.ColorModel;
public final class RJ {
private static final String NAME =... |
// 60. Permutation Sequence
// By Ratna Priya
class Solution {
public String getPermutation(int n, int k) {
int fact = 1;
List<Integer> numbers = new ArrayList<>();
for(int i=1;i<n;i++){
fact = fact*i;
numbers.add(i);
}
numbers.add(n);
k = k-1... |
/*
* Copyright 2002-2007 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... |
package thread;
import java.util.concurrent.TimeUnit;
/**
* Created by on 2017/8/29.
*
* 死锁测试,线程1获得A锁(monitor)之后尝试获得B锁,线程2获得B锁后尝试获得A锁,线程1和线程2即产生死锁。
*/
public class DeadlockTest {
public static void main(String[] args) {
Object lockA = new Object();
Object lockB = new Object();
new Th... |
/*
* Copyright (C) 2004-2015 Volker Bergmann (volker.bergmann@bergmann-it.de).
* 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/lic... |
/**
* 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 br.com.zupacademy.frederico.microservice_transacoes.annotations;
import br.com.zupacademy.frederico.microservice_transacoes.annotations.validator.IsBase64Validator;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;
@Documented
@Constraint(validatedBy = IsBas... |
package org.lumongo.server.rest;
import com.cedarsoftware.util.io.JsonWriter;
import com.mongodb.util.JSONSerializers;
import org.bson.Document;
import org.lumongo.LumongoConstants;
import org.lumongo.cluster.message.Lumongo;
import org.lumongo.server.index.LumongoIndexManager;
import org.lumongo.util.ResultHelper;
i... |
/*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 l... |
package cz.metacentrum.perun.cabinet.bl.impl;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import cz.metacentrum.perun.cabinet.bl.CabinetException;
import cz.metacentrum.perun.cabinet.bl.CabinetManagerBl;
import cz.metacent... |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... |
/*
* (C) Copyright IBM Corp. 2019, 2020.
*
* 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 eu.neoteric.starter.clock;
import eu.neoteric.starter.StarterConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configur... |
// Copyright 2021 Courville Software
//
// 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 agree... |
/**
* Copyright 2017 Confluent 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 ... |
/**
* 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.notayessir.common.spring.definition.bean.base;
import com.notayessir.serialize.api.Serialization;
/**
* 服务消费者使用的序列化配置
*/
public class SerializeConfig {
private Serialization.Type serialization;
public SerializeConfig() {
this.serialization = Serialization.Type.FASTJSON;
}
pub... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package at.aau.itec.esop17.lesson06;
class Time {
int h, m, s;
public void set(int sec) {
h = sec / 3600;
m = (sec % 3600) / 60;
s = sec % 60;
}
public String toString() {
return h + ":" + m + ":" + s;
}
}
class TimeProgram {
/**
* Converts seconds into s... |
// Copyright (C) 2009 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 applicable ... |
/*
* Copyright 2019 WeBank
*
* 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... |
/*******************************************************************************
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* whi... |
/* MacIceland.java -- Charset implementation for the MacIceland character set.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 So... |
package com.scj.beilu.app.mvp.home;
import android.content.Context;
import androidx.annotation.NonNull;
import com.mx.pro.lib.mvp.network.callback.ObserverCallback;
import com.mx.pro.lib.mvp.network.config.BaseMvpPresenter;
import com.mx.pro.lib.mvp.network.config.ShowConfig;
import com.scj.beilu.app.base.BaseRespons... |
package otf.model.text;
import bt.io.text.impl.BaseTextLoader;
import bt.types.Singleton;
/**
* @author ⋈
*
*/
public class Texts extends BaseTextLoader
{
public static Texts get()
{
return Singleton.of(Texts.class);
}
} |
package lesson2;
import java.util.Arrays;
public class MagicMatrix {
private int[][] mas = {{2,7,6},{9,5,1},{4,3,8}};
private int f_sum;
public MagicMatrix() {
f_sum = sum(Arrays.copyOf(mas[0], mas[0].length));
}
//метод генерации рандомной матрицы
public void gen_matrix(int str, i... |
package com.pioneercoders.DSarray;
class ArrayBoundCustomException extends Exception {
ArrayBoundCustomException(String ExceptionMsg) {
super(ExceptionMsg);
}
}
public class StackArrayEx {
int Stack[] = new int[4];
int currentposition = 0;
public static void main(String args[]) {
StackArrayEx Array = new St... |
package com.andreasogeirik.master_frontend.data;
import com.andreasogeirik.master_frontend.model.User;
/**
* Created by eirikstadheim on 07/02/16.
*/
public class CurrentUser {
private static CurrentUser instance;
private User user = new User();
private boolean initialized;
protected CurrentUser() ... |
/*
* Portions of this software was developed by employees of the National Institute
* of Standards and Technology (NIST), an agency of the Federal Government and is
* being made available as a public service. Pursuant to title 17 United States
* Code Section 105, works of NIST employees are not subject to copyright... |
package com.foo.webapp.controller;
/**
* Marker interface for specifying the packages to scan for annotated services
* in type-safe manner.
*
* @author kristjanveskimae
*
*/
public interface ControllerPackageMarker {}
|
/*******************************************************************************
* Copyright C 2016, Roche pREDi (Roche Innovation Center Munich)
*
* 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 t... |
package com.github.cc3002.citricjuice.controller.state;
public class InvalidTransitionException extends Exception {
public InvalidTransitionException(String message) {
super(message);
}
}
|
/*
* Copyright 2019 Alfresco, Inc. and/or its affiliates.
*
* 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 ... |
/*
* Copyright 2003-2004 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 b... |
/*
* 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
* distribut... |
/**
* Demo of logging using Logback.
*/
package ru.job4j.logging; |
/**
* Copyright (C) 2015 Fernando Cejas 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... |
/*
* 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.iglooproject.test.business.nullables.dao;
import org.iglooproject.jpa.business.generic.dao.GenericEntityDaoImpl;
import org.iglooproject.test.business.nullables.model.EntityNullable;
import org.springframework.stereotype.Repository;
@Repository("entityNullableDao")
public class EntityNullableDaoImpl exten... |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
private void showLabel() {
int width = getCompoundDrawablesWidth();
int height = mLabel.getHeight();
mLabel.setVisibility(View.VISIBLE);
mLabel.setAlpha(0f);
mLabel.setTranslationY(height);
mLabel.setTranslationX(width);
mLabel.animate()
.alpha(1... |
package com.yahoo.labs.samoa.tasks;
/*
* #%L
* SAMOA
* %%
* Copyright (C) 2013 Yahoo! 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/licens... |
package gg.projecteden.nexus.features.commands.staff;
import gg.projecteden.nexus.features.chat.Chat.Broadcast;
import gg.projecteden.nexus.framework.commands.models.CustomCommand;
import gg.projecteden.nexus.framework.commands.models.annotations.Path;
import gg.projecteden.nexus.framework.commands.models.annotations.... |
/*
* Copyright [2013-2021], Alibaba Group Holding 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 requir... |
// This file is part of the AMPII Project. It is subject to the copyright and license terms in the top-level LICENSE file.
package org.ampii.xd.data.abstractions;
import org.ampii.xd.application.ApplicationPolicy;
import org.ampii.xd.application.Bindings;
import org.ampii.xd.application.Policy;
import org.ampii.xd.bin... |
package com.example.administrator.magemata.activity.publishes;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
impor... |
package com.linroid.java;
/**
* Created by linroid on 4/12/15.
*/
public class SingleInstanceTest {
static {
System.out.println("SingleInstanceTest static");
}
private SingleInstanceTest() {
System.out.println("SingleInstance构造了");
}
public static SingleInstanceTest getInstance() ... |
/*
* 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.mm.remote.service;
import com.mm.remote.dto.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
/**
* hello
*
* @author lwl
*/
@FeignClient(name = "producer", path = "/producer/hello")
public interface HelloRemoteService {
@GetMapping... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 1... |
package com.github.lazyboyl.websocket.server.channel.entity;
/**
* @author linzf
* @since 2020/7/14
* 类描述: socket的请求返回response
*/
public class SocketResponse {
public SocketResponse() {
super();
}
public SocketResponse(int code, String msg) {
this.msg = msg;
this.code = code;
... |
package com.stripe.samplestore.service;
import android.support.annotation.NonNull;
import android.support.annotation.Size;
import com.stripe.android.EphemeralKeyProvider;
import com.stripe.android.EphemeralKeyUpdateListener;
import com.stripe.samplestore.RetrofitFactory;
import java.io.IOException;
import java.util.... |
package com.sandy.tests.common.util.http;
import java.util.Vector;
public class HttpRespons {
String urlString;
int defaultPort;
String file;
String host;
String path;
int port;
String protocol;
String query;... |
package com.realmo.utils;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Environment;
import android.os.Looper;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
import java.io.P... |
package ru.nsu.ccfit.zuev.osu;
import android.app.Activity;
import android.widget.Toast;
import androidx.annotation.StringRes;
import java.util.ArrayList;
import ru.nsu.ccfit.zuev.osu.helper.StringTable;
public class ToastLogger {
private static ToastLogger instance = null;
Activity activity;
String me... |
/**
*
* Copyright 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... |
/*-
* -\-\-
* bigtable-autoscaler
* --
* Copyright (C) 2018 Spotify AB
* --
* 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
*
* U... |
package ui.master;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.swing.JComboBox;
import ui.main.MainFrame;
/**
*
* @author Bhuwan Prasad Upadhyay
*/
public class FetchMasterData {
private PreparedStatement ps;
private ... |
package com.dercio.algonated_scales_service.verticles.scales;
import com.dercio.algonated_scales_service.response.Response;
import com.dercio.algonated_scales_service.verticles.ConsumerVerticle;
import com.dercio.algonated_scales_service.verticles.VerticleAddresses;
import com.dercio.algonated_scales_service.verticles... |
package com.github.scribejava.apis.examples;
import com.github.scribejava.apis.NaverApi;
import com.github.scribejava.core.builder.ServiceBuilder;
import com.github.scribejava.core.model.OAuth2AccessToken;
import com.github.scribejava.core.model.OAuthRequest;
import com.github.scribejava.core.model.Response;
import co... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
package com.zozotintin.dodgydot;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import ... |
package com.eugeneupston.spotistics.dao;
import com.eugeneupston.spotistics.entity.SpotifyArtist;
import org.hibernate.Session;
import org.hibernate.query.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import javax.persistence.EntityManager;
imp... |
/*
* Copyright 2018 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... |
package com.boot.dao;
import com.boot.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
@Mapper
@Repository
public interface UserMapper {
//通过用户名查询密码
String selectPasswordByuserN... |
package org.apache.solr.cloud;
/*
* 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... |
package uk.gov.hmcts.reform.wataskconfigurationapi.services;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.reform.wataskconfigurationapi.controllers.response.ConfigureTaskResponse;
import uk.gov.hmcts.reform.wataskconfigurationapi.domain.entities.camunda.CamundaTask;
import uk.gov.hmcts.reform.w... |
/*
* Copyright 2019 IIT Software GmbH
*
* IIT Software GmbH 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... |
/*
* Copyright 2012-2019 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... |
package com.musurveys.demo;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
pub... |
package com.hortonworks.faas.nfaas.core.helper;
import org.apache.nifi.web.api.dto.*;
import org.apache.nifi.web.api.entity.FlowEntity;
import org.apache.nifi.web.api.entity.ProcessGroupEntity;
import org.apache.nifi.web.api.entity.TemplateEntity;
import org.apache.nifi.web.api.entity.TemplatesEntity;
import org.slf4j... |
package question1.adressManagement;
public interface Adress {
public String toString();
}
|
package org.globsframework.utils.exceptions;
public class UnexpectedApplicationState extends GlobsException {
public UnexpectedApplicationState(Exception e) {
super(e);
}
public UnexpectedApplicationState(String message) {
super(message);
}
public UnexpectedApplicationState(Strin... |
/*
* Copyright (C) 2022 Steve Jrong
*
* GitHub Homepage: https://www.github.com/SteveJrong
* Gitee Homepage: https://gitee.com/stevejrong1024
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
package com.waspring.wasservice.net.model.comm;
import java.util.ArrayList;
import java.util.List;
import com.waspring.wasservice.net.model.Base;
public class SearchUserRepMessage extends Base {
/**
*
*/
private static final long serialVersionUID = 1L;
public String RTN_FLAG, RTN_MSG;
pub... |
package com.refinitiv.eta.examples.common;
import java.io.IOException;
import java.nio.channels.CancelledKeyException;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.Iterator;
import java.util.Set;
import com.refinitiv.eta.co... |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... |
/**
* 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... |
/*
* This file is part of Mixin, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... |
package com.oxchains.themis.repo.dao;
import com.oxchains.themis.repo.entity.Organization;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
/**
* @author ccl
* @time 2018-07-12 11:48
* @name OrganizationRepo
* @desc:
*/
@Repository
public interface Orga... |
package com.chenhd.selfbdrpp;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor;
... |
/*
* Written by Gil Tene and Martin Thompson, and released to the public domain,
* as explained at http://creativecommons.org/publicdomain/zero/1.0/
*/
package org.ObjectLayout;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.... |
package com.springboot.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
/**
* Created by duyuqiang on 2019/9/4.
*/
@RestController
public class MainController {
@RequestM... |
/*
* Copyright 2014 Stefan Domnanovits
*
* 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 gov.nih.nci.evs;
import java.util.Vector;
public class ValueSetReport {
private String name;
private String uri;
private Vector<String> sources = new Vector<String>();
private Vector<String> ftpLocations = new Vector<String>();
// private final String ftpSite = new String("ftp://ftp1.nci.nih.go... |
package org.ovirt.engine.api.restapi.security.auth;
import java.util.List;
import javax.servlet.http.HttpSession;
import javax.ws.rs.ext.Provider;
import org.jboss.resteasy.annotations.interception.Precedence;
import org.jboss.resteasy.annotations.interception.ServerInterceptor;
import org.jboss.resteasy.core.Server... |
package com.dranawhite.study.pattern.observer;
/**
* @author dranawhite 2018/3/20
*/
public interface Subject {
/**
* 增加订阅者
*
* @param observer
*/
void attach(Observer observer);
/**
* 删除订阅者
*
* @param observer
*/
void detach(Observer observer);
/**
* 通知订阅者更新消息
*/
void notify(String mess... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.